{"version":3,"file":"js/webpack-bundle-9f11a999580aca46ad94.js","mappings":";+EAAA,IAAIA,EAAM,CACT,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,KACX,aAAc,KACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,MACd,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,KACR,UAAW,KACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,KACX,aAAc,KACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,OAAQ,KACR,UAAW,KACX,OAAQ,KACR,UAAW,KACX,OAAQ,IACR,UAAW,IACX,OAAQ,MACR,UAAW,MACX,QAAS,MACT,WAAY,MACZ,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MACX,aAAc,MACd,UAAW,MACX,aAAc,MACd,UAAW,MACX,OAAQ,MACR,UAAW,MACX,OAAQ,MACR,UAAW,MAC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,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,gvBC7GK,IAqBMC,GAAgB,SAACljB,GAC5B,MAAmB,KAAfA,EACKA,EAGF+iB,EACT,EAEaI,GAAuB,SAACnjB,GAAU,OAAKkjB,GAAcljB,GAAY1mG,QAAQ,KAAM,IAAK,EAEpF8pH,GAAsB,SAACpjB,GAClC,MAAmB,KAAfA,EACK8iB,GAGH,CAAE9iB,GAAU9sG,OAAK4vH,GACzB,EAEaO,GAAkC,SAACC,GAC9C,GAAIA,IAAqBL,GAAMA,GAAMnxH,OAAS,GAC5C,OAAOmxH,GAAM,GAGf,IAAMp0G,EAAQo0G,GAAMjrD,QAAQsrD,GAE5B,OAAe,IAAXz0G,EACKy0G,EAGFL,GAAMp0G,EAAQ,EACvB,EAEa00G,GAAiB,WAC5B,IAAMC,EAAUxqG,OACVyqG,EAAUD,EAAQC,UAExB,OADAD,EAAQC,QAAQA,EAAWA,EAAU,IAC9BD,EAAQjoG,OAAO,UACxB,EAEamoG,GAAgB,SAAC3jB,EAAU4jB,GACtC,IAAKA,EACH,OAAO,EAGT,IAAMC,EAAQ7jB,EAASlyG,MAAM,KAEzBkhE,EAAQ,EAQZ,OANA60D,EAAM31H,SAAQ,SAAC41H,GACTA,EAAKtgH,cAAcugH,MAAM,UAAYH,GACvC50D,GAEJ,IAEOA,CACT,EAEag1D,GAAe,SAAChkB,EAAU4jB,G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CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6wB,MAAO,WAET,CACE7wB,MAAO,KACP6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B,CAClBjub,0BAA0B,EAC1BtoD,KAAM,GACNy2e,WAAY,MAEdoB,YAAa,CACXh1b,mBAAmB,EACnBr3C,QAAS,KACTyhO,cAAe,MAGnB4/T,WAAYt9hB,EAAMs9hB,WAClBC,aAAcv9hB,EAAMu9hB,cAExB,C64EAuDC,CAAmBx9hB,GAAU,EAClF8tf,2BAA4B,SAAC9tf,GAAK,OAAKJ,EAAAA,cAAC69hB,IAA+Bz9hB,EAAS,EAChF09hB,SAAU,SAAC19hB,GAAK,OAAKJ,EAAAA,cAAC+9hB,IAAa39hB,EAAS,EAC5C29f,eAAAA,IACAqG,mBAAAA,IACAmB,gBAAAA,IACAy4B,wBAAAA,IACAC,iBAAAA,GACAC,echLF,WACE,IAAMpsgB,GAAQC,EAAAA,EAAAA,UAAQ,kBAAMvvB,aAAawvB,SAAS,cAAc,GAAE,IAClE,OACEhyB,EAAAA,cAACiyB,GAAAA,SAAQ,CAACH,MAAOA,GACf9xB,EAAAA,cAACm+hB,IAAW,MAGjB,Ed0KCjkK,gBAAAA,IACAkkK,sBAAAA,IACAh2I,cAAe,SAAChoZ,GAAK,OAAKJ,EAAAA,cAACq+hB,IAAqBj+hB,EAAS,EACzDk+hB,WAAAA","sources":["webpack://rtlb/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://rtlb/./client/app/bundles/reducers/contactMergeReducer/selectors.js","webpack://rtlb/./client/app/bundles/shared/v1/WebComponents/Tooltip/index.js","webpack://rtlb/./client/app/bundles/Transactions/models/Address.js","webpack://rtlb/./client/app/bundles/Transactions/models/Agent.js","webpack://rtlb/./client/app/bundles/Transactions/utils/helpers.js","webpack://rtlb/./client/app/bundles/Transactions/models/Listing.js","webpack://rtlb/./client/app/bundles/shared/Utilities.js","webpack://rtlb/./client/app/bundles/Transactions/apiAdapters.js","webpack://rtlb/./client/app/bundles/shared/v2/utils.js","webpack://rtlb/./client/app/bundles/shared/v2/Button/Button.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Button/Button.jsx","webpack://rtlb/./client/app/bundles/shared/v2/caseTransformingAxios.js","webpack://rtlb/./client/app/bundles/shared/phoneDncStatusApi.js","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icon.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icon.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AcornSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AddUser.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AngleDownRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AngleDownSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AngleRightSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ApartmentSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AreaProCustomv6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowDown.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowDownToBracketSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowLeft.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowLeftSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowRightLongSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowRightSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowTrendUpSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowTurnDownRightSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowTurnUpSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowUp.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowUpRightFromSquareRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowUpRightFromSquareSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowsRepeatRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ArrowsRotateSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/AtRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BarsSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BathRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BedEmptyRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Bolt.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BoltLightningSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BookBlankSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BookmarkRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BoxArchiveSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BriefcaseSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BuildingSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BuildingsRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Bullhorn.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BullhornRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BullhornSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/BullseyeArrowRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Calendar.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CalendarCheckRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CalendarCheckSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CalendarClockSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CalendarDaySolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CalendarDaysSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CalendarRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Cancel.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CaretDown.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CaretDownSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CaretUp.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChartBarRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChartColumnSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChartLine.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChartLineRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChartPieSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Chat.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Check.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CheckCircleRegularV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CheckSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronDown.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronDownSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronDownSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronLeft.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronLeftSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronRight.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronRightSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronUp.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ChevronUpSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleCheckSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleExclamationRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleExclamationSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleInfoRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleInfoSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CirclePlaySolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleQuestionRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CircleSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ClockFiveRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ClockFiveSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CloneRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Close.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CloudArrowUpSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentDotsRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentDotsSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentSlashRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentsSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CopyRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CopySolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Create.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/DesktopRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/DesktopSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/DollarSignRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/DollarSignSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Download.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/DownloadSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/DropletSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Edit.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EllipsisSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EmailDeliveryInvalid.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Envelope.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EnvelopeRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EnvelopeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ExpandSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EyeRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EyeSlashSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EyeSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/EyeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/FacebookCircleSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/FileArrowUpRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/FileLinesSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/FileSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/FishSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/FishSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/GaugeHighSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/GearSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/GraduationCapSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Grid2RegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Grid2SolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/GridSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HandHoldingDollarSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HandshakeRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HeartFilled.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HeartOutline.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HeartRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HeartSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Home.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HouseChimneySolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HouseCircleXmarkSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HouseFlagSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HouseRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HouseSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/HouseUserSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Image.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ImageSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/InboxRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/InboxSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Info.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/InfoCircleSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/KeySolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LightbulbOnSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Link.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LinkSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LinkedinRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ListCheckRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ListCheckSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ListRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ListUlSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LocationArrowSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LockOpenSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LockSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/LogOut.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MagnetSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MagnifyingGlassSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MapLocationSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MapSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MergeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Message.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MessageSmileSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Minus.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MinusSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MobilePhone.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MobileRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MobileScreenSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MobileSignalOutSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MultiUser.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PaperclipSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Pause.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PauseSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Pdf.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PenSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PenToSquareRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PenToSquareSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PencilSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PercentSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Phone.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneArrowDownLeftSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneArrowUpRightSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneHangupSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneMissedSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhonePlusSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneVolumeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PlaceCustomv6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Play.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PlaySolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Plus.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PlusSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/QuestionCircleRegularV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Report.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Reset.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/RightFromBracketSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/RightToBracketSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/RocketSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/RotateRightSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Search.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ShareFromSquareSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ShareNodesSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ShareSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SolidWindowSlash.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SortDownSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SortUpSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SparklesSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Spinner.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SpinnerSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SpinnerSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SpinnerThirdSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SquareCheckSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SquarePenSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/StarFilled.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/StarOutline.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/StarRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/StarSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/StopSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/SuitcaseSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Table.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Tasks.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Templates.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ThumbsUpSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ThumbtackRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ThumbtackSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TintSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ToggleOffSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/ToggleOnSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Trash.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TrashAltSolidV3.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TrashCanSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TrashSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TreeDeciduousSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TriangleExclamationRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/TriangleExclamationSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Upload.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UploadSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/User.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UserGraduateSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UserGroupSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UserLargeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UserPlusRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UserPlusSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/UserSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VerticalDots.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VideoSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VisibilityHidden.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VisibilityVisible.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VolumeHighSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VolumeSlashSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/VolumeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/WandMagicSparklesSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/WindowSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/Word.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/XSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/XmarkLargeSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/XmarkRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/XmarkSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/models/Communications/viewPhoneIcons/CallStatusIcon.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/PhoneXmarkSolidV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/MobileXMark.jsx","webpack://rtlb/./client/app/bundles/shared/models/Communications/viewPhoneIcons/PhoneWarningIcon.jsx","webpack://rtlb/./client/app/bundles/shared/v2/twilioErrorCodes.js","webpack://rtlb/./client/app/bundles/Inbox/components/PreTooltipContent.jsx","webpack://rtlb/./client/app/bundles/shared/models/Communications/viewPhoneIcons/SmsStatusIcon.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Icomoon/Icons/CommentXmarkRegularV6.jsx","webpack://rtlb/./client/app/bundles/shared/FormatPhoneNumber.js","webpack://rtlb/./client/app/bundles/shared/models/Communications/viewPhone.js","webpack://rtlb/./client/app/bundles/shared/v2/Tooltip/Tooltip.jsx","webpack://rtlb/./client/app/bundles/shared/Sms/DncFlag.jsx","webpack://rtlb/./client/app/bundles/shared/Sms/Contact.jsx","webpack://rtlb/./client/app/bundles/shared/Sms/HelperText.jsx","webpack://rtlb/./client/app/bundles/shared/Sms/LastSeen.jsx","webpack://rtlb/./client/app/bundles/shared/Sms/placeholderContent.js","webpack://rtlb/./client/app/bundles/Dialer/utils/states.js","webpack://rtlb/./client/app/bundles/PersonDetail/actions/helper.js","webpack://rtlb/./client/app/bundles/reducers/helpers.js","webpack://rtlb/./client/app/bundles/PersonDetail/actions/apiAdapters.js","webpack://rtlb/./client/app/bundles/PersonDetail/actions/personDetailActionCreators.jsx","webpack://rtlb/./client/app/bundles/reducers/dialerReducer/dialerReducer.jsx","webpack://rtlb/./client/app/bundles/Dialer/AutoDialerButton.jsx","webpack://rtlb/./client/app/bundles/reducers/reportsReducer.js","webpack://rtlb/./client/app/bundles/reducers/assignedPlans.js","webpack://rtlb/./client/app/bundles/reducers/autoPlans.js","webpack://rtlb/./client/app/bundles/AutoPlans/actions/autoPlansActionCreators.jsx","webpack://rtlb/./client/app/bundles/reducers/autoPlanEdit.js","webpack://rtlb/./client/app/bundles/BusinessSettings/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/businessSettingsReducer.js","webpack://rtlb/./client/app/bundles/reducers/triggers.js","webpack://rtlb/./client/app/bundles/reducers/milestonesReducer.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/addMarketReportReducer.js","webpack://rtlb/./client/app/bundles/Financials/actions/account.jsx","webpack://rtlb/./client/app/bundles/shared/formatters.js","webpack://rtlb/./client/app/bundles/Financials/components/shared/FinancialViewHelpers.jsx","webpack://rtlb/./client/app/bundles/reducers/accountFinancialReducer.js","webpack://rtlb/./client/app/bundles/reducers/transactionFinancialReducer.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpAutoPlansReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpDatesReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/actions/creators.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/NavigationListings/action/creators.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/actions/crossCreators.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpDetailsReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpDocumentsReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpFinancialsReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpTimelineReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/actions/creators.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/api/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/actions/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/actions/helpers.js","webpack://rtlb/./client/app/bundles/reducers/tdpTasksReducer/constants.js","webpack://rtlb/./client/app/bundles/reducers/tdpTasksReducer/index.js","webpack://rtlb/./client/app/bundles/reducers/tdpTasksReducer/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpMarketingReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpFeedbackReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpPeopleReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpInteractionsReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpNotesReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpTitleAndEscrowReducer.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Modals/ThumbnailSelector/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/tdpThumbnailSelectorReducer.js","webpack://rtlb/./client/app/bundles/shared/hookHelpers.jsx","webpack://rtlb/./client/app/bundles/reducers/personalDetailReducer/personDetailReducer.js","webpack://rtlb/./client/app/bundles/LeadPonds/actions/actionTypes.js","webpack://rtlb/./client/app/bundles/reducers/leadPondsReducer.js","webpack://rtlb/./client/app/bundles/LeadIndex/actions/default.js","webpack://rtlb/./client/app/bundles/reducers/leadIndexReducer.js","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/leadRouteReducer.js","webpack://rtlb/./client/app/bundles/Transactions/components/Notes/helpers/helper.js","webpack://rtlb/./client/app/bundles/Transactions/components/Notes/actions/notesActionCreators.jsx","webpack://rtlb/./client/app/bundles/reducers/notesReducer.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/actions/actionTypes.js","webpack://rtlb/./client/app/bundles/Settings/Users/api/index.js","webpack://rtlb/./client/app/bundles/Settings/Users/actions/default.js","webpack://rtlb/./client/app/bundles/reducers/userSettingsReducer.js","webpack://rtlb/./client/app/bundles/shared/externalApi.js","webpack://rtlb/./client/app/bundles/reducers/contactsReducer/helpers.js","webpack://rtlb/./client/app/bundles/shared/fractals.js","webpack://rtlb/./client/app/bundles/reducers/contactsReducer/contactsReducer.js","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/superUsersBrandingReducer.js","webpack://rtlb/./client/app/bundles/PartnerSearch/actions/creators.js","webpack://rtlb/./client/app/bundles/reducers/partnerSearchReducer.js","webpack://rtlb/./client/app/bundles/reducers/index.js","webpack://rtlb/./client/app/bundles/store/configureStore.js","webpack://rtlb/./client/app/bundles/shared/v1/Alert/CloseButton.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Alert/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Button/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/CancelButton.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Checkbox/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Clearfix.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Col.jsx","webpack://rtlb/./client/app/bundles/shared/v1/DeleteButton.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Dropdown/utils.js","webpack://rtlb/./client/app/bundles/shared/v1/Dropdown/styles.js","webpack://rtlb/./client/app/bundles/shared/v1/Dropdown/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/FormGroup.jsx","webpack://rtlb/./client/app/bundles/shared/v1/form/FormControl.jsx","webpack://rtlb/./client/app/bundles/shared/v1/form/Input.jsx","webpack://rtlb/./client/app/bundles/shared/v1/LoadMoreButton.jsx","webpack://rtlb/./client/app/bundles/shared/v1/form/TextArea.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Radio/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Portal/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/ModalContext.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/Backdrop.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/ModalBody.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/ModalHeader.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/ModalFooter.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/ModalTitle.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Modal/animationStyles.js","webpack://rtlb/./client/app/bundles/shared/v1/Modal/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/PanelContext.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/PanelHeading.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/PanelTitle.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/PanelTrigger.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/PanelCollapse.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/PanelBody.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Panel/index.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Row.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Label.jsx","webpack://rtlb/./client/app/bundles/shared/v1/Overlay.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Expense/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/TransactionGCI.jsx","webpack://rtlb/./client/app/bundles/Financials/shared/helpers.js","webpack://rtlb/./client/app/bundles/Financials/components/shared/IncomeExpenseForm/customHook.js","webpack://rtlb/./client/app/bundles/Financials/components/shared/IncomeExpenseForm/handlers.js","webpack://rtlb/./client/app/bundles/Financials/components/shared/IncomeExpenseForm/fractals.jsx","webpack://rtlb/./client/app/bundles/Financials/components/shared/ExpenseInput.jsx","webpack://rtlb/./client/app/bundles/Financials/components/shared/IncomeExpenseForm/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/IconButton/IconButton.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/IconButton/IconButton.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Alert/Alert.jsx","webpack://rtlb/./client/app/bundles/shared/Error.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/AddExpenseModal.jsx","webpack://rtlb/./client/app/bundles/Financials/components/shared/DragHandle.jsx","webpack://rtlb/./client/app/bundles/Financials/components/shared/TransactionInput.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Company/helpers.js","webpack://rtlb/./client/app/bundles/Financials/components/account/TransactionGCIForm.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Split/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Expenses/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Avatar/Avatar.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Avatar/Avatar.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Agent/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Agents/index.jsx","webpack://rtlb/./client/app/bundles/shared/Input.jsx","webpack://rtlb/./client/app/bundles/shared/DatePicker.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/SplitForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/ExpenseForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/AgentForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/AgentForm/helpers.js","webpack://rtlb/./client/app/bundles/Financials/components/account/AgentForm/handlers.js","webpack://rtlb/./client/app/bundles/Financials/components/account/AgentsForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Company/Company.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/Company/CompanyForm.jsx","webpack://rtlb/./client/app/bundles/Financials/components/account/AccountFinancial.jsx","webpack://rtlb/./client/app/bundles/Financials/containers/AccountFinancialContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/FieldError/FieldError.jsx","webpack://rtlb/./client/app/bundles/shared/v2/FieldHelper/FieldHelper.jsx","webpack://rtlb/./client/app/bundles/shared/v2/FieldLabel/FieldLabel.jsx","webpack://rtlb/./client/app/bundles/shared/v2/TextInput/TextInput.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TextInput/TextInput.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldSearchText.jsx","webpack://rtlb/./client/app/bundles/shared/v2/TextToggle/TextToggle.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TextToggle/TextToggle.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/ActiveUsersSwitchFilter.jsx","webpack://rtlb/./client/app/bundles/reducers/layoutReducer/selectors.js","webpack://rtlb/./client/app/bundles/Settings/Users/UsersFilter.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/animationStyles.js","webpack://rtlb/./client/app/bundles/shared/v2/Modal/ModalContext.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/Modal.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Modal/Backdrop.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/ModalBody.jsx","webpack://rtlb/./client/app/bundles/shared/v2/ErrorBanner/ErrorBanner.jsx","webpack://rtlb/./client/app/bundles/shared/v2/ErrorBanner/ErrorBanner.helpers.js","webpack://rtlb/./client/app/bundles/shared/v2/Modal/ModalHeader.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/ModalFooter.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/Modal.jsx","webpack://rtlb/./client/app/bundles/shared/v2/TextButton/TextButton.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TextButton/TextButton.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/utils.js","webpack://rtlb/./client/app/bundles/shared/v2/Modal/FloatingForm.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Modal/Prompt.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/CannotReActivateUserModal.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/helper/index.js","webpack://rtlb/./client/app/bundles/Settings/Users/helper/hookHelper.js","webpack://rtlb/./client/app/bundles/shared/UtilsV1/ErrorAlert.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/CrmAccessModal/CrmAccessModal.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/actions/apiActions.js","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FolderTab.jsx","webpack://rtlb/./client/app/bundles/shared/v2/TextComboInput/TextComboInput.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TextComboInput/Input.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TextComboInput/TextComboInput.jsx","webpack://rtlb/./client/app/bundles/shared/styles.js","webpack://rtlb/./client/app/bundles/shared/serviceHelpers.js","webpack://rtlb/./client/app/bundles/shared/agentOrPondHookHelpers.js","webpack://rtlb/./client/app/bundles/shared/DropDownSelectOption/index.jsx","webpack://rtlb/./client/app/bundles/shared/FormAgentOrPondSelect/index.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldLabelV1.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Toggle/Toggle.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Toggle/Toggle.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/UserImageButton.jsx","webpack://rtlb/./client/app/bundles/Contacts/UploadPersonAvatarField.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldStyle.js","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldSelect.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/styles.js","webpack://rtlb/./client/app/bundles/reducers/contactsReducer/selectors.js","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/GeneralView.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/utils.js","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/SelectContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/Control.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/ValueContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/SingleValue.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/MultiValue.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/MultiValueContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/MultiValueLabel.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/MultiValueRemove.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/Input.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/IndicatorSeparator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/DropdownIndicator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/Menu.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/MenuList.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/GroupHeading.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/Option.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/ClearIndicator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom-wrappers/NoOptionsMessage.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/SelectContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/Control.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/ValueContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/SingleValue.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/MultiValue.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/MultiValueContainer.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/MultiValueLabel.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/MultiValueRemove.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/Input.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/IndicatorSeparator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/DropdownIndicator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/Menu.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/MenuList.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/GroupHeading.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/Option.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/ClearIndicator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/NoOptionsMessage.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/default/Control.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/default/MultiValueRemove.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/default/SearchableInput.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/default/DropdownIndicator.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/default/VirtualMenuList.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/DropdownMultiValues.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/Dropdown.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/Dropdown.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/helpers.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldTextV1.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldRadioV1/Radio.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldRadioV1/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/utils/constants.js","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/utils/helpers.js","webpack://rtlb/./client/app/bundles/shared/v2/DatePicker/utils/helpers.js","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/DateSelector.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/PeriodNavigation.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/TimePicker.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/CalendarDay.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/CalendarMonth.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/MonthSelector.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/utils/reducer.js","webpack://rtlb/./client/app/bundles/shared/v2/DateSelector/DateSelector.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DatePicker/DatePicker.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/DatePicker/DatePicker.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldDateV1.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/TagV1.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldSearchLabelsV1.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldSelectLabelsWithCheckboxOptions.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldEmailV1.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldTextAreaV1.jsx","webpack://rtlb/./client/app/bundles/shared/v2/RemoveFieldButton/RemoveFieldButton.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/RemoveFieldButton/RemoveFieldButton.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/helpers.js","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddMLSSection/MLSFieldView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddMLSSection/index.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/AddSponsorModal.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/RevenuePartnerSearchableDropdown.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/AddRevenuePartnerModal.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/CertificationsAndDesignationsSection.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/Title/Title.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/LicenseNumber/LicenseNumber.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/UserDetailsView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddEmailSection/EmailView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddEmailSection/index.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldPhoneV1.jsx","webpack://rtlb/./client/app/bundles/Contacts/PhoneNumberModal.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddPhoneSection/PhoneView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddPhoneSection/index.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldSelectWithCategoryOptionsWithSearchableDropdown.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddAddressSection/AddressView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AddAddressSection/index.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/ContactInfoView.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DropdownDatePicker.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/TagsSection.jsx","webpack://rtlb/./client/app/bundles/shared/UtilsV1/FieldTextWithIconV1.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/PersonalDetailsView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/CustomDatesView.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/Subdomain/Subdomain.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/DefaultLinks/DefaultLinks.jsx","webpack://rtlb/./client/app/bundles/shared/IconPickerModal/constants.js","webpack://rtlb/./client/app/bundles/reducers/layoutReducer/layoutReducer.js","webpack://rtlb/./client/app/bundles/shared/IconPickerModal/AvailableIcon.jsx","webpack://rtlb/./client/app/bundles/shared/IconPickerModal/IconPickerModal.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/CustomLinks/CustomLinks.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalSections/AboutMe/AboutMe.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/WebsiteInfoView.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Checkbox/Checkbox.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Checkbox/Checkbox.jsx","webpack://rtlb/./client/app/bundles/shared/v2/RadioButton/RadioButton.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/RadioButton/RadioButton.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Typography/Typography.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Typography/Typography.jsx","webpack://rtlb/./client/app/bundles/shared/FormElement.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/DeactivateUserModal.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/ActivateUserModal.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/OptionsSection.jsx","webpack://rtlb/./client/app/bundles/Contacts/ModalViews/AccountSettingsView.jsx","webpack://rtlb/./client/app/bundles/Contacts/hooks/usePersonDetailsModal.js","webpack://rtlb/./client/app/bundles/Contacts/PdpLink.jsx","webpack://rtlb/./client/app/bundles/Contacts/PersonDetailsModal.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UsersTable/UsersTableHeader.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UsersTable/TableMessage.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UsersTable/OktaInviteButton.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UserActions/EditUserBtn.jsx","webpack://rtlb/./client/app/bundles/shared/DropdownPopUp/DropdownPopUp.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UserActions/AdminUserBtn.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UserActions/UserActions.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/SuspendUserModal/SuspendUserModal.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/UsersTable/UsersTableBody.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/Error.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/SuspendError/SuspendError.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/Users.jsx","webpack://rtlb/./client/app/bundles/shared/v2/TextLink/TextLink.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TextLink/TextLink.jsx","webpack://rtlb/./client/app/bundles/Goals/components/HeadingSelect.jsx","webpack://rtlb/./client/app/bundles/Goals/components/Loader.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Section.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/helpers/colors.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/DashTooltip.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/CardLabel.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/StatCard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/services/api.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/services/useTransactionSnapshot.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/TransactionSnapshot.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Tab/Tab.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Tab/Tab.jsx","webpack://rtlb/./client/app/bundles/shared/v2/TabBar/TabBar.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/TabBar/TabBar.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/BasicStat.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Dot.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/helpers/setCheck.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/helpers/renderCustomTooltip.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/services/useMonthlyOverview.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/hooks/useFullscreen.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Table/Table.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/TableModal/TableHead.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/TableModal/TableModal.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Dropdown/CustomControl.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Dropdown/CustomSingleValue.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Dropdown/CustomValueContainer.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/helpers/getDateDropdownOptions.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Dropdown/CustomDropdownIndicator.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/MonthlyOverview.jsx","webpack://rtlb/./client/app/bundles/Goals/components/NumberField.jsx","webpack://rtlb/./client/app/bundles/Goals/services/useGoals.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/GoalModal.jsx","webpack://rtlb/./client/app/bundles/shared/v2/RingChart/RingChartTooltip.jsx","webpack://rtlb/./client/app/bundles/shared/v2/RingChart/RingChart.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/RingChartCard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/services/useGoals.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/GoalsSection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/helpers/createLeadSourceChartOptions.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/helpers/getChartTextAlignment.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/services/useBusinessByLeadSource.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/transforms/businessByLeadSource.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/Dropdown/CustomOption.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/Loader.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/BusinessByLeadSource.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/services/useClosingsBreakdown.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/ClosingsBreakdown.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/services/useAgentProduction.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/AgentProduction.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/services/useRecruitingPipeline.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/PipelineStat.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/RecruitingPipelineSection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/SingleStatCard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/services/useTransactionSummary.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/TransactionSummary.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/services/useSalesFunnel.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/SalesFunnel.jsx","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/helpers/goToLeadView.js","webpack://rtlb/./client/app/bundles/Reports/components/BusinessDashboard/BusinessDashboard.jsx","webpack://rtlb/./client/app/bundles/shared/axiosHelpers.js","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/services.js","webpack://rtlb/./client/app/bundles/Settings/Phone/services.js","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/shared.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/Divider.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/AddBrivityPhone.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/NameWithAvatar.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/RoutingNumbersDropdown.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/helpers/recordingOptions.js","webpack://rtlb/./client/app/bundles/Settings/Phone/CallRecordingDropdown.jsx","webpack://rtlb/./client/app/bundles/reducers/layoutReducer/phoneSettingsReducer.js","webpack://rtlb/./client/app/bundles/Settings/Phone/AgentRow.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/helpers/recordingNotificationOptions.js","webpack://rtlb/./client/app/bundles/Settings/Phone/PlayMessage.jsx","webpack://rtlb/./client/app/bundles/shared/v2/ShadowScroll/ShadowScroll.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/NoticeTwoPartyConsent.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/TeamCallRecordingSettingsModal.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/PhoneSettings.jsx","webpack://rtlb/./client/app/bundles/Settings/Phone/PhoneSettingsApp.jsx","webpack://rtlb/./client/app/bundles/Goals/components/Section.jsx","webpack://rtlb/./client/app/bundles/shared/v2/ButtonToggle/ButtonToggleOption.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/ButtonToggle/ButtonToggleOption.jsx","webpack://rtlb/./client/app/bundles/shared/v2/ButtonToggle/ButtonToggle.jsx","webpack://rtlb/./client/app/bundles/Goals/components/DeleteGoalTypeModal.jsx","webpack://rtlb/./client/app/bundles/Goals/components/Goal.jsx","webpack://rtlb/./client/app/bundles/Goals/components/SectionHeader.jsx","webpack://rtlb/./client/app/bundles/Goals/components/TeamBusinessGoals.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/PlusIcon.jsx","webpack://rtlb/./client/app/bundles/Goals/components/CustomActivityGoalModal.jsx","webpack://rtlb/./client/app/bundles/Goals/components/DefaultableGoals.jsx","webpack://rtlb/./client/app/bundles/Goals/components/CustomDropdownComponents.jsx","webpack://rtlb/./client/app/bundles/Goals/components/TeamActivityGoals.jsx","webpack://rtlb/./client/app/bundles/Goals/services/useProductionGoals.js","webpack://rtlb/./client/app/bundles/Goals/components/TeamDefaultsProductionModal.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditor/CancelConfirm.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditor/CancelConfirm.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditor/Display.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditor/DisplayEditorToggleBase/DisplayEditorToggleBase.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/InlineEditingInput.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/FlatPercent/Toggle.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/FlatPercent/Toggle.jsx","webpack://rtlb/./client/app/bundles/shared/v2/inputFormatUtils.js","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/FlatPercent/FlatPercent.jsx","webpack://rtlb/./client/app/bundles/Goals/components/RecommendedGoals.jsx","webpack://rtlb/./client/app/bundles/Goals/services/useWizard.js","webpack://rtlb/./client/app/bundles/Goals/components/TeamProductionWizardModal.jsx","webpack://rtlb/./client/app/bundles/Goals/components/ReportingGoals.jsx","webpack://rtlb/./client/app/bundles/Goals/components/ReportingGoalsApp.jsx","webpack://rtlb/./client/app/bundles/shared/hooks/useEventListenerAction.js","webpack://rtlb/./client/app/bundles/Filters/shared/constants.js","webpack://rtlb/./client/app/bundles/Filters/components/AgreementFilters/AgreementDateSelect.jsx","webpack://rtlb/./client/app/bundles/shared/v2/FilterPill/FilterPill.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/FilterPill/FilterPill.jsx","webpack://rtlb/./client/app/bundles/Filters/components/AgreementFilters/AgreementStatusSelect.jsx","webpack://rtlb/./client/app/bundles/Filters/components/AgreementFilters/AgreementTypeSelect.jsx","webpack://rtlb/./client/app/bundles/Filters/components/AgreementFilters/AgreementFilters.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/icons.module.css?a603","webpack://rtlb/./client/app/bundles/PersonDetail/components/button.module.css?1f86","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/listing_alerts.module.css?79a7","webpack://rtlb/./client/app/bundles/PersonDetail/components/person-detail-styles.module.css?741b","webpack://rtlb/./client/app/bundles/PersonDetail/components/modal.module.css?0033","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/HeaderTitle.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/AlertStatus.jsx","webpack://rtlb/./client/app/bundles/shared/ListingAlertHelpers.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewAllListingAlertsModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/form.module.css?1640","webpack://rtlb/./client/app/bundles/PersonDetail/components/transitions.module.css?aa9c","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/AdvancedOptions.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/AddCCEmails.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/CCEmail.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/MatchingResults.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/Map.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/TemplateSelect.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/SearchTermResults.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/SearchTermBubble.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/SearchAutocomplete.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/service.js","webpack://rtlb/./client/app/bundles/SearchListings/components/helpers.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/ListingAlert.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/AddListingAlertModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/EditListingAlertModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/AllListingAlertPreview.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlanRow.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/helpers.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/DeleteActionModal.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/DeletePlanModal.jsx","webpack://rtlb/./client/app/bundles/shared/Circle.jsx","webpack://rtlb/./client/app/bundles/shared/TimeHelpers.js","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlanDetailHelpers.js","webpack://rtlb/./client/app/bundles/AssignedPlans/components/InteractionDetail.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/RecurringDetail.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/TaskDetail.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlanDetail.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/AssignedPlanIconButtons.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/PlanModal.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlanDetailPreview.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/PlanModalPreview.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/actions/assignedPlansCreators.jsx","webpack://rtlb/./client/app/bundles/shared/AddAutoPlanModal/AddAutoPlanModal.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlanForm.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/ModalHelpers.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlansTable.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/containers/AssignedPlansContainer.js","webpack://rtlb/./client/app/bundles/AssignedPlans/startup/AssignedPlansApp.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlansCard.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/components/AssignedPlansPreview.jsx","webpack://rtlb/./client/app/bundles/AssignedPlans/containers/AssignedPlansPreviewContainer.js","webpack://rtlb/./client/app/bundles/AssignedPlans/startup/AssignedPlansPreviewApp.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AutoPlanNameForm.jsx","webpack://rtlb/./client/app/bundles/shared/hooks/useSubjectLineLimitError.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/actions/autoPlanActionCreators.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/helpers.js","webpack://rtlb/./client/app/bundles/AutoPlans/components/CCSearchResults.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/CCFor.jsx","webpack://rtlb/./client/app/bundles/shared/AiAssistant/hooks/useAiToken.js","webpack://rtlb/./client/app/bundles/shared/AiAssistant/AiAssistant.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionFormHelpers.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TaskForm.jsx","webpack://rtlb/./client/app/bundles/shared/BrivityTextEditor.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/EmailForm.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TextForm.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/Action.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/styles.js","webpack://rtlb/./client/app/bundles/AutoPlans/helpers.js","webpack://rtlb/./client/app/bundles/AutoPlans/components/Actions.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AddNewActions/AddNewActions.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionV2/TimeStamp.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionV2/Icon.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionV2/PriorityIndicator.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionV2/ActionHeader.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionV2/ActionDescriptor.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ActionV2/ActionV2.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/SpecificDates/SpecificDatesActions.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/SpecificDates/SpecificDates.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AutoPauseOnCondition.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AssignToDropdown/AssignToDropdown.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TaskActionModal/TaskDetailField.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/DateTime/DateTime.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/PriorityRadio/PriorityRadio.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/BtnToggle/BtnToggle.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TaskActionModal/TaskInputToggle.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TaskToggles/TaskToggles.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/hooks.js","webpack://rtlb/./client/app/bundles/AutoPlans/components/ErrorInModal/ErrorInModal.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TaskActionModal/TaskActionModal.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/EmailActionModal/EmailSubjectField.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/EmailActionModal/EmailTemplateDropdown.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/constants.js","webpack://rtlb/./client/app/bundles/AutoPlans/components/EmailActionModal/CCRadioButtons.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/EmailActionModal/BCCField.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/EmailActionModal/EmailActionModal.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingSelect/InlineEditingSelect.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TextActionModal/TextField.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/TextActionModal/TextActionModal.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AutoPlanEdit.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/containers/AutoPlanContainer.js","webpack://rtlb/./client/app/bundles/Filters/components/AutoPlans/AutoPlanStateSelect.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Dropdown/custom/MultiComponents.jsx","webpack://rtlb/./client/app/bundles/shared/DropdownWithMultiCtrlledRemovable/DropdownWithMultiCtrlledRemovable.jsx","webpack://rtlb/./client/app/bundles/Filters/components/AutoPlans/AutoPlanNameSelect.jsx","webpack://rtlb/./client/app/bundles/Filters/components/AutoPlans/AutoPlanFilters.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AutoPlan.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/SharedEmail.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/ShareAutoPlanModal.jsx","webpack://rtlb/./client/app/bundles/shared/DismissibleAlert.jsx","webpack://rtlb/./client/app/bundles/Triggers/components/helpers.js","webpack://rtlb/./client/app/bundles/Triggers/components/Trigger.jsx","webpack://rtlb/./client/app/bundles/Triggers/components/TriggerForm.jsx","webpack://rtlb/./client/app/bundles/Triggers/components/Triggers.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AutoPlansForm.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/modals/NewAutoPlanModal.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/modals/DeleteAutoPlanModal.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/modals/PreviewAutoPlanModal.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/SortCarets.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/components/AutoPlans.jsx","webpack://rtlb/./client/app/bundles/Triggers/actions/triggersActionCreators.js","webpack://rtlb/./client/app/bundles/AutoPlans/containers/AutoPlansContainer.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/services.js","webpack://rtlb/./client/app/bundles/BusinessSettings/actions/api.js","webpack://rtlb/./client/app/bundles/BusinessSettings/components/Card.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/UploadImage/helpers.js","webpack://rtlb/./client/app/bundles/shared/AWSUploader.js","webpack://rtlb/./client/app/bundles/BusinessSettings/components/ActionImage.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/UploadImage/index.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/BrandingCard.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/helpers.js","webpack://rtlb/./client/app/bundles/BusinessSettings/components/TextInputWrap.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/NewOfficeModal.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/OfficeRemovalModal.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/DisplayRow.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/EditableTitle.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/OfficeCard.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/OfficeCards.jsx","webpack://rtlb/./client/app/bundles/shared/v2/LinkField/LinkField.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/UrlInputWrap.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/ReviewCard.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/SocialCard.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/components/TeamCard.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/Main.jsx","webpack://rtlb/./client/app/bundles/BusinessSettings/startup/BusinessSettings.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/ResultsBanner.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/CreateReports.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/NoMLSModal.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/SpinnerModal.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/UpdateFrequency.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/UpdateOrCreateConfirmModal.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsOptionsModal/BulkReportsOptionsModal.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkMarketReports.module.css?d468","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkReportsNoPlatformModal.jsx","webpack://rtlb/./client/app/bundles/shared/HubspotRequestDemoModal.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkApplyMarketReports.jsx","webpack://rtlb/./client/app/bundles/MarketReports/BulkApplyMarketReports/BulkApplyMarketReportsApp.jsx","webpack://rtlb/./client/app/bundles/ListingAlerts/components/cc_emails.jsx","webpack://rtlb/./client/app/bundles/Interactions/PhoneCall/components/DncBanner.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/ConfirmationModal.jsx","webpack://rtlb/./client/app/bundles/shared/mentions/MentionInputStyles.js","webpack://rtlb/./client/app/bundles/shared/mentions/mentionable_person.module.css?ebd3","webpack://rtlb/./client/app/bundles/shared/mentions/MentionablePersonTextArea.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/PillButton.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/CallOutcomeAndNotes.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/IntentDropdown.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/IntentDetails.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/UpNext/UpNext.jsx","webpack://rtlb/./client/app/bundles/shared/StatusDropdown/statusIntentDropdown.module.css?c9a4","webpack://rtlb/./client/app/bundles/shared/StatusDropdown/colors.module.css?e774","webpack://rtlb/./client/app/bundles/shared/StatusDropdown/StatusDropdown.jsx","webpack://rtlb/./client/app/bundles/shared/StagesDropDown/StageOption.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Popover/Popover.jsx","webpack://rtlb/./client/app/bundles/shared/StagesDropDown/StagesDropDown.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/Flat/Flat.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/Percent/Percent.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingInput/index.js","webpack://rtlb/./client/app/bundles/Tasks/components/RescheduleModal.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/DeleteModal.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/ReassignModal.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/NewModalHeader.jsx","webpack://rtlb/./client/app/bundles/shared/ProfileIcon.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/Details.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskIndexModalHelpers.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskDetailsInformation.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskInstructions.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskNotes.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/PrioritySelection.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/Errors.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/AppointmentTypeSelection.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/AssignTaskToSelection.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskFor.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskableAssignment.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/ContingencyRuleSelection.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/LocationInput.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/OutcomeSelection.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/CalendarOptions.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/EventDropdown.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskFormFooter.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/services.js","webpack://rtlb/./client/app/bundles/Tasks/components/TaskForm.jsx","webpack://rtlb/./client/app/bundles/shared/HOCs/withRedux/withRedux.jsx","webpack://rtlb/./client/app/bundles/shared/HOCs/withRedux/index.jsx","webpack://rtlb/./client/app/bundles/shared/reduxRoutes/tdpDetailsRoutes.js","webpack://rtlb/./client/app/bundles/shared/HOCs/withDispatch/withDispatch.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/api/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/actions/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameDateSelector/TimeFrameDateSelector.jsx","webpack://rtlb/./client/app/bundles/shared/AddTaskPane/AddTaskPane.jsx","webpack://rtlb/./client/app/bundles/shared/CallStatusBar/CallStatusBar.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/ConferenceCallForm.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/ConferenceModal.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/ConferenceCall.jsx","webpack://rtlb/./client/app/bundles/Interactions/ConferenceCall/startup/ConferenceCallApp.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/QuickStat.jsx","webpack://rtlb/./client/app/bundles/Dashboard/services/useQuickStats.js","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadQuickStats.jsx","webpack://rtlb/./client/app/bundles/Dashboard/services/useLeadGenActivities.js","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadGenActivities/LeadGenActivityCard.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadGenActivities/FormRow.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadGenActivities/NewLeadGenActivityModal.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadGenActivities/ActivityHistoryRow.jsx","webpack://rtlb/./client/app/bundles/Dashboard/services/useActivityHistory.js","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadGenActivities/ViewActivityHistoryModal.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/LeadGenActivities/LeadGenActivities.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/Checkbox.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/ScrollButton.jsx","webpack://rtlb/./client/app/bundles/People/components/OtherInteract.jsx","webpack://rtlb/./client/app/bundles/Dashboard/utils/events.js","webpack://rtlb/./client/app/bundles/Dashboard/components/OfferDetails.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/EventDetails.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/EventItem.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/AutoPlanEvent.jsx","webpack://rtlb/./client/app/bundles/Dashboard/services/useRecentActivity.js","webpack://rtlb/./client/app/bundles/shared/EmptySmsHistory/EmptySmsHistory.jsx","webpack://rtlb/./client/app/bundles/shared/AiAssistant/AiSummary.jsx","webpack://rtlb/./client/app/bundles/shared/MmsMediaModal.jsx","webpack://rtlb/./client/app/bundles/shared/LinkTextRender/LinkTextRender.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/SmsMessage.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/ConversationMessage.jsx","webpack://rtlb/./client/app/bundles/reducers/messagingReducer/messagingReducer.js","webpack://rtlb/./client/app/bundles/LeadIndex/api/index.js","webpack://rtlb/./client/app/bundles/SmsConversation/components/SmsConversation.jsx","webpack://rtlb/./client/app/bundles/Inbox/helpers/transformSms.js","webpack://rtlb/./client/app/bundles/SmsModal/components/SmsModal.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/RecentActivity/RecentActivity.jsx","webpack://rtlb/./client/app/bundles/reducers/dashboardReducer/selectors.js","webpack://rtlb/./client/app/bundles/Dashboard/components/CustomCheckboxOption.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/Dashboard.jsx","webpack://rtlb/./client/app/bundles/Filters/components/PlatformCTA.jsx","webpack://rtlb/./client/app/bundles/Filters/components/DisabledHistoryFields.jsx","webpack://rtlb/./client/app/bundles/EnableTextForwarding/EnableTextForwarding.jsx","webpack://rtlb/./client/app/bundles/Filters/components/ExcludeTagFilter.jsx","webpack://rtlb/./client/app/bundles/shared/RemovableBubbles/RemovableBubbles.jsx","webpack://rtlb/./client/app/bundles/shared/DropdownWithRemovable/DropdownWithRemovable.jsx","webpack://rtlb/./client/app/bundles/Filters/components/StageFilter.jsx","webpack://rtlb/./client/app/bundles/Filters/components/SourceFilter.jsx","webpack://rtlb/./client/app/bundles/shared/v2/useMediaQuery.js","webpack://rtlb/./client/app/bundles/shared/AiAssistant/AiAskPlace.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Snackbar/Snackbar.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Snackbar/Snackbar.jsx","webpack://rtlb/./client/app/bundles/Layout/Popover.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/HelpDropdown.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/FeatureToggle.jsx","webpack://rtlb/./client/app/bundles/Layout/GlobalStatus.jsx","webpack://rtlb/./client/app/bundles/Layout/SuperUser.jsx","webpack://rtlb/./client/app/bundles/Layout/MetaUser.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/UserDropdown.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Logo.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/hooks/useMobileMenu.js","webpack://rtlb/./client/app/bundles/Layout/Header/MobileHamburger.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/constants.js","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/helpers.js","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/ResourceBtn.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/ResourceLauncher.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/ResourceLaunchers.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/PlaceResources.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/AppsResources.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/ResourcesDropdown.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Resources/Resources.jsx","webpack://rtlb/./client/app/bundles/QuickSearch/components/QuickSearch.module.css?ae9a","webpack://rtlb/./client/app/bundles/QuickSearch/components/Result.jsx","webpack://rtlb/./client/app/bundles/QuickSearch/components/Results.jsx","webpack://rtlb/./client/app/bundles/Dashboard/services/useQuickSearch.js","webpack://rtlb/./client/app/bundles/QuickSearch/components/QuickSearch.jsx","webpack://rtlb/./client/app/bundles/shared/v2/IntersectionObserverNode.jsx","webpack://rtlb/./client/app/bundles/shared/v2/ErrorBoundary.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/shared.js","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/ActivityContainer.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/Header.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/CategoryContainer.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/GroupTextActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/TextActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/PipedElements/PipedElements.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/DataField.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/shared/ActivityBtns.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/ShowingRequestActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/HomeValueActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/ViewedPropertyActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/QuestionsActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/FavPropertyActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/SavedSearchActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/ReturnSiteActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/NewLeadActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/LeadTransferActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/NoteMentionActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/NewTaskActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/SubmittedFormActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/SellingPageVisitedActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesV2/ListingInquiryActivity.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/api.js","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/hooks/useActivities.js","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/EmptyState.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/DropdownSelectMultiAgents/CustomOptionMultiAgent.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/DropdownSelectMultiAgents/DropdownSelectMultiAgents.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ActivitiesFeed/ActivitiesFeed.jsx","webpack://rtlb/./client/app/bundles/reducers/snackbarReducer.js","webpack://rtlb/./client/app/bundles/Layout/Header/ReferAFriend.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ReferFriend/ReferFriendBtn.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ReferFriend/ReferFriendModal.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/ReferFriend/ReferFriend.jsx","webpack://rtlb/./client/app/bundles/Dialer/hooks/useDialer.js","webpack://rtlb/./client/app/bundles/Dialer/shared/propTypes.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/CallBar.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/SinglePerson.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/CallRecordingMessaging.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/CallRecordingTooltip.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/CallButton.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/CallOutcome.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/DncHelperText.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/CallNotes.jsx","webpack://rtlb/./client/app/bundles/Dialer/components/PlatformMessage.jsx","webpack://rtlb/./client/app/bundles/reducers/dialerReducer/selectors.js","webpack://rtlb/./client/app/bundles/Dialer/SingleDialerModal.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/Header.jsx","webpack://rtlb/./client/app/bundles/Layout/Header/HeaderApp.jsx","webpack://rtlb/./client/app/bundles/Account/ImageSizeErrorModal.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Tag/Tag.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Tag/Tag.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Interactions/IconDropdown.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Interactions/PhoneStatusOption.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/PhoneValue.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/CustomDropdownComponents.jsx","webpack://rtlb/./client/app/bundles/reducers/messagingReducer/selectors.js","webpack://rtlb/./client/app/bundles/Inbox/hooks/useRecipientNumbers.js","webpack://rtlb/./client/app/bundles/Inbox/components/RecipientNumberDropdown.jsx","webpack://rtlb/./client/app/bundles/Inbox/hooks/useLeadSearch.js","webpack://rtlb/./client/app/bundles/Inbox/helpers/defaults.js","webpack://rtlb/./client/app/bundles/Inbox/hooks/useDraftConversationMessage.js","webpack://rtlb/./client/app/bundles/Inbox/components/ConversationMessages.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/FilterAgentsList.jsx","webpack://rtlb/./client/app/bundles/Inbox/hooks/useMessaging.js","webpack://rtlb/./client/app/bundles/shared/v2/Avatar/AvatarPlaceholder.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/AvatarCluster.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/Conversation.jsx","webpack://rtlb/./client/app/bundles/Inbox/hooks/useUnreadCounts.js","webpack://rtlb/./client/app/bundles/Inbox/components/Inbox.jsx","webpack://rtlb/./client/app/bundles/shared/RemoveablePill/index.jsx","webpack://rtlb/./client/app/bundles/Filters/components/PondOrAgentFilter/hookHelpers.js","webpack://rtlb/./client/app/bundles/Filters/components/PondOrAgentFilter/index.jsx","webpack://rtlb/./client/app/bundles/Filters/components/IncludeTagFilter.jsx","webpack://rtlb/./client/app/bundles/LeadDNA/components/LeadDNA.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/actions/default.js","webpack://rtlb/./client/app/bundles/LeadPonds/components/Button.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/PageHeader.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/UserListing.jsx","webpack://rtlb/./client/app/bundles/shared/v2/AvatarGroup/AvatarGroup.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/AvatarGroup/AvatarGroup.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/UserCollectionListing.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/PondTableRow.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/api/index.js","webpack://rtlb/./client/app/bundles/LeadPonds/actions/apiActions.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/PondTable.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/helpers.js","webpack://rtlb/./client/app/bundles/LeadPonds/components/FormLabel.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/RemoveableUser.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/UserSelect.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/DeleteConfirm.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/components/PondModal.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/pages/LeadPonds.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/SelectButton.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/SelectOption.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/SelectAll.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/LeadHeaders.jsx","webpack://rtlb/./client/app/bundles/SmsModal/components/SmsModalButton.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskFormLogAppointment.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/LastInteractions.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/NewTask.jsx","webpack://rtlb/./client/app/bundles/shared/AgentOrPondSelect/index.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/MilestoneDate.jsx","webpack://rtlb/./client/app/bundles/HomeApp/components/HomeAppLink.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Banner/Banner.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity/ActivityHelpers.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity/Colors.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity/properties.module.css?5ffd","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity/Properties.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/ButtonDropDown.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity/PropertyFilters.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity/Activity.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewWebActivityModal.jsx","webpack://rtlb/./client/app/bundles/shared/WebActivityHelpers.jsx","webpack://rtlb/./client/app/bundles/People/components/FavoritesOrViews.jsx","webpack://rtlb/./client/app/bundles/shared/MarketReport/MarketReportMenu.jsx","webpack://rtlb/./client/app/bundles/shared/MarketReport/index.jsx","webpack://rtlb/./client/app/bundles/MarketReports/MarketReportPreview.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/colors.module.css?6244","webpack://rtlb/./client/app/bundles/PersonDetail/components/statusIntentDropdown.module.css?a937","webpack://rtlb/./client/app/bundles/LeadIndex/components/Status.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/TagTooltip.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/CMALink.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/actions/updatePerson.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/SearchInteraction/PersonResult.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/SearchInteraction/PeopleResults.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/SearchInteraction/index.jsx","webpack://rtlb/./client/app/bundles/shared/EmailError.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/actions/useEmailPlaceholders.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonInteractionEmailForm.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/EmailModal.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/EmailButton.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/EmailInteraction.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/Intent.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/Name.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/Address.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/AutoHideMessage/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/services.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Panel1/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/actions/api.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/HousePin/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/SummaryTitle/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/ContactEmailInput/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/RadiusSelector/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/SearchAreaInput/helpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/SearchAreaInput/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/SearchAreaInput/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/PropertyTypesSelector/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/PropertyTypesSelector/button.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/ShowMoreLess/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/helpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/PropertyTypesSelector/list.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/PropertyTypesSelector/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Slider/helpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Slider/multi.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Slider/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/PriceSelector/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/RangeButtons/helpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/RangeButtons/styles.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/RangeButtons/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/RangeButtons/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/BedsSelector/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/BathsSelector/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/SqFeet/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/LotSize/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/YearBuilt/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Map/helpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Map/hookHelpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Map/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/HomeEstimateValue/HomeEstimateValue.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/api.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Panel2/helpers.js","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Panel1/HomeValueEstimate.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Panel1/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/EmailMessageInput/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/DripInput/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/DripFrequency/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Panel2/form.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/components/Panel2/index.jsx","webpack://rtlb/./client/app/bundles/AddMarketReportModal/index.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/Stage.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/LeadRows.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/pages/LeadIndex.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/ContactCard.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/ContactContainer.jsx","webpack://rtlb/./client/app/bundles/reducers/contactMergeReducer/contactMergeReducer.js","webpack://rtlb/./client/app/bundles/ContactMergeModal/ChooseContact.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DetailSelector/DetailSelector.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/ContactSelectorButton.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/helpers/constants.js","webpack://rtlb/./client/app/bundles/ContactMergeModal/hooks/useMergeContact.js","webpack://rtlb/./client/app/bundles/ContactMergeModal/MergeContacts.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/ContactMergeModal.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/LeadIndexButton.jsx","webpack://rtlb/./client/app/bundles/ContactMergeModal/LeadIndexButtonApp.jsx","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/helpers/services.js","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/actions/thunks.js","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/components/AgentSelector.jsx","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/components/PondSelector.jsx","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/helpers/hooks.js","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/components/TargetSelector.jsx","webpack://rtlb/./client/app/bundles/Filters/components/MarketReports/MarketReportPresenceSelect.jsx","webpack://rtlb/./client/app/bundles/Filters/components/MarketReports/LastViewedMarketReportSelect.jsx","webpack://rtlb/./client/app/bundles/Filters/components/MarketReports/MarketReportFilters.jsx","webpack://rtlb/./client/app/bundles/ListingAlerts/components/MassSendListingAlerts.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/MassUpdateStageModal.jsx","webpack://rtlb/./client/app/bundles/Milestones/components/Milestone.jsx","webpack://rtlb/./client/app/bundles/Milestones/components/DeleteMilestoneModal.jsx","webpack://rtlb/./client/app/bundles/Milestones/components/MilestonesForm.jsx","webpack://rtlb/./client/app/bundles/Milestones/components/Milestones.jsx","webpack://rtlb/./client/app/bundles/Milestones/components/ModalHelpers.jsx","webpack://rtlb/./client/app/bundles/Milestones/actions/milestonesActionCreators.jsx","webpack://rtlb/./client/app/bundles/Milestones/containers/MilestonesContainer.jsx","webpack://rtlb/./client/app/bundles/ManageAccess/components/RadioButton.jsx","webpack://rtlb/./client/app/bundles/ManageAccess/components/ManageAccessModal.jsx","webpack://rtlb/./client/app/bundles/ManageAccess/components/SuccessModal.jsx","webpack://rtlb/./client/app/bundles/ManageAccess/components/ManageAccess.jsx","webpack://rtlb/./client/app/bundles/Projects/NewProjectModal.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/services.js","webpack://rtlb/./client/app/bundles/PartnerSearch/components/LocationSearch.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/Header.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/actions/thunks.js","webpack://rtlb/./client/app/bundles/PartnerSearch/components/EmptyStates/NoResults.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/EmptyStates/NoSearch.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/ResultRow.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/animationStyles.js","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/FlyoutContext.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/Flyout.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/Backdrop.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/FlyoutHeader.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/FlyoutBody.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Flyout/Flyout.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/Card.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/DataLabel.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/SpecialSection.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/DetailsModal.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/ResultsTable.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/components/Results.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/view.jsx","webpack://rtlb/./client/app/bundles/PartnerSearch/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/useSimpleNavigation.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/person_interactions.module.css?cf3c","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonOtherInteractionForm.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonInteractionsNoteForm.jsx","webpack://rtlb/./client/app/bundles/Dialer/SingleDialer.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonInteractions.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/IntentDropdown/IntentButton.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/IntentDropdown/IntentDropdown.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/DropdownOptions.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/FrequencyDropdown.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/shared/useIsEditable.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonInfo.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/RolesRow.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ManageAccessModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/assigned_to/assigned_to.module.css?6aa6","webpack://rtlb/./client/app/bundles/PersonDetail/components/assigned_to/NonPrimaryTeamMembers.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/CollapsibleElement.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/assigned_to/AssignedTo.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/AddTag.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonDetailError.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/EditableElement.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/EditableDate.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Details.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/EditableElementWithAdd.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/SocialIcon.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/EditSocialMediaForm.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/EditSocialMediaModal.jsx","webpack://rtlb/./client/app/bundles/shared/AddressView/AddressView.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/shared/constants.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/EditAddressesModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/DuplicateLeadCard.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/AreaPro.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/ContactInfo.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/documents.module.css?d3b7","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/DocumentRow.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/DeleteAgreementModal/DeleteAgreementModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewAllDocumentsModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/cards.module.css?0c3c","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/UploadAgreement.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/CreateTransaction.jsx","webpack://rtlb/./client/app/bundles/shared/v2/FlatPercentToggle/FlatPercentToggle.jsx","webpack://rtlb/./client/app/bundles/shared/v2/FlatPercentInput/FlatPercentInput.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/BuyerorSellerTransactionsField.jsx","webpack://rtlb/./client/app/bundles/Transactions/ClientIntentTextButtons/ClientIntentTextBtn.styles.js","webpack://rtlb/./client/app/bundles/Transactions/ClientIntentTextButtons/ClientIntentTextButtons.jsx","webpack://rtlb/./client/app/bundles/Transactions/DropdownTeamMembers/hooks.js","webpack://rtlb/./client/app/bundles/Transactions/DropdownTeamMembers/DropdownTeamMembers.jsx","webpack://rtlb/./client/app/bundles/QuickSearch/components/SearchPeople.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/ReferralTransactionsField.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/TransactionsField.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/AssociatedTransaction.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/SignedorExpirationDate.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AddAgreementModal/AddAgreementModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/SelectDocTypeModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Documents.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/EditAddRelationship.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/AddRelationshipModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Relationships.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewAllTransactionsModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/TypeCell.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/transactions.module.css?d68d","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/helpers.js","webpack://rtlb/./client/app/bundles/Transactions/components/shared/ThumbnailIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/SortIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/EditIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/CloseIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/TriangleDownIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/TriangleUpIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/TrashIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/InlineEditIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/ArchiveIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/LeftCaret.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/RightCaret.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/GripIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/AngleDownIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/icons/EllipsisIcon.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/ImageCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/RoleForTransaction.jsx","webpack://rtlb/./client/app/bundles/Transactions/ListingPreviewCard.jsx","webpack://rtlb/./client/app/bundles/Transactions/TransactionAutocomplete.jsx","webpack://rtlb/./client/app/bundles/Transactions/ListingTransactionModal.jsx","webpack://rtlb/./client/app/bundles/shared/DateSelectorWithOptions.jsx","webpack://rtlb/./client/app/bundles/Transactions/CustomTimeFrameDateSelector.jsx","webpack://rtlb/./client/app/bundles/Transactions/BuyerReferralModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/SellerLandlordReferralModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/TenantReferralModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/ReferralTransactionModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/AddTransactionModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Transactions.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/WebActivity.jsx","webpack://rtlb/./client/app/bundles/reducers/personalDetailReducer/selectors.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/HomeApp.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/AddAutoPlanModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/DeleteAssignedPlanModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/auto_plans.module.css?6944","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/PreviewAutoPlan.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/PlanDetails.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/DeleteAction.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/auto_plans/AutoPlans.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/DeleteListingAlertModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/listing_alerts/ListingAlertCard.jsx","webpack://rtlb/./client/app/bundles/shared/MarketReport/EstimatedValChart.jsx","webpack://rtlb/./client/app/bundles/shared/MarketReport/MarketReportCard.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/MarketReports.jsx","webpack://rtlb/./client/app/bundles/CmaReport/cmaReportMenu.jsx","webpack://rtlb/./client/app/bundles/CmaReport/index.jsx","webpack://rtlb/./client/app/bundles/CmaReport/cmaReportPreview.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/CmaReports.jsx","webpack://rtlb/./client/app/bundles/shared/CheckBox.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskSettings.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/People/Task.jsx","webpack://rtlb/./client/app/bundles/shared/SelectAll.jsx","webpack://rtlb/./client/app/bundles/shared/Pagination.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/tasks.module.css?1006","webpack://rtlb/./client/app/bundles/Tasks/components/People/Grid.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/People/Tasks.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewAllTasksModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/CardTask.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/PersonTaskForm.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/TaskModal.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/People/Delete.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/People/Reassign.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/People/Reschedule.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/CardTasks.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/appointments.module.css?507a","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/CardAppointment.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewAllAppointmentsModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/tasks/CardAppointments.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/projects.module.css?cf3e","webpack://rtlb/./client/app/bundles/PersonDetail/components/Projects.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/AddTransactionModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/FinancingStagesDropDown/FinancingStagesDropDown.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/RemoveTransactionModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/AddCoBorrowerModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/RemoveCoBorrowerModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/MortgageLoanMenu.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/MortgageCard/MortgageCard.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Mortgage/Mortgage.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Notes/helpers/forms.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/notes/NoteCard.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/modals/ViewAllNotes.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/notes/CardNotes.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/PersonTimelineFilter.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/person_detail_skeleton.module.css?50c9","webpack://rtlb/./client/app/bundles/Timelines/components/LoadingSkeleton.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/LoadingFailure.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/PageGap.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/ArrowLink.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/Pagination.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/NumberedLink.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/NumberedLink.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/helpers.js","webpack://rtlb/./client/app/bundles/shared/v2/Pagination/Pagination.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/Pdf.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/BaseEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineLeadCreateEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineLeadCreateUserNotificationEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineLeadUpdateEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineFailedLeadCreateEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineLeadTransferEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/HomeInfoOverlay.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineSubmittedFormEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineQualificationFormEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineContactFormEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineTaggingEvent.jsx","webpack://rtlb/./client/app/bundles/shared/AiAssistant/AiCallSummary.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineTrackingNumberEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PropertyFavoriteEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityMessageEvent.jsx","webpack://rtlb/./client/app/bundles/Inbox/components/MessageErrorTooltip.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/SmsStatus.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivitySmsEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityNoteEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityAppointmentEvent.jsx","webpack://rtlb/./client/app/bundles/Interactions/PhoneCall/components/phone_call_detail_styles.module.css?f981","webpack://rtlb/./client/app/bundles/Interactions/PhoneCall/components/PhoneCallDetails.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityCallEvent.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/actions/updateInteraction.js","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityLoginEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PublicActivityOtherEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/GmailMessage.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/GmailThread.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/GmailInteraction.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TaskEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/AssignedPlanEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/MarketReportSentEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/MarketReportViewedEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/MarketReportFrequencyUpdatedEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineDocumentEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/ListingAlertFrequencyEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/KwklyPropertyView.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineValidationUpdateEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/DirectToTimelineEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/CmaReportCreatedEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/getContactName.js","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/Skeleton.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelineSmsHardUnsubscribeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelineSmsHardResubscribeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelineCallHardUnsubscribeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelineCallHardResubscribeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelineSmsHardUntextableEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelineSoftStatusChangeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineGroupSmsEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineLeadPondDeleteEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineAgreementEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/phones/TimelinePhoneNumbersArchivedConvesrations.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/EnvoyReferralCreated.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/HomeValueReportEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/AddressStatusChangeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/OpenHouseEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineAgreementDocumentEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineAgreementAddendumEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineMakeOfferEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/PersonMergeEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/TimelineGetPrequalifiedEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/RecruiterUploadEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/events/BrivityAdsEvent.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/EventComponentSelector.jsx","webpack://rtlb/./client/app/bundles/Timelines/components/TimelinesApp.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/AgreementsConfirmModal/AgreementsConfirmModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/Agreementbtn.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/FileInformation.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/Menubtn.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/UploadDocContainer.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/EditAgreement.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/Addendum.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/Addendums.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/EditAgreementBody.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/EditAgreementModal/EditAgreementModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/AgreementSection.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/Agreements/Agreements.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/shared/api.js","webpack://rtlb/./client/app/bundles/shared/constants.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/ReferLenderModal/FilterStatesModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/ReferLenderModal/hooks.js","webpack://rtlb/./client/app/bundles/PersonDetail/components/ReferLenderModal/CallLeadOption.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/ReferLenderModal/ReferLenderModal.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/components/PersonDetail.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/PolymorphicTask.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/PolymorphicGrid.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/PolymorphicTasks.jsx","webpack://rtlb/./client/app/bundles/Reports/components/reportHelpers.js","webpack://rtlb/./client/app/bundles/Reports/components/appointmentsReportHelper.jsx","webpack://rtlb/./client/app/bundles/Reports/components/ReportHeader.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentActivityHeaders.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentCallsHeaders.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentTextsHeaders.jsx","webpack://rtlb/./client/app/bundles/Reports/components/LeadSourcesHeaders.jsx","webpack://rtlb/./client/app/bundles/Reports/components/ReportHeaderSortContainer.jsx","webpack://rtlb/./client/app/bundles/Reports/components/TasksHeaders.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentCallsRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentcallsTotalRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentCallsHolder.jsx","webpack://rtlb/./client/app/bundles/Reports/components/report-styles.module.css?3c17","webpack://rtlb/./client/app/bundles/Reports/components/StatusFilter.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentReportRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentReportTotalRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/LeadSourceRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/LeadSourceTotalRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/LeadSourcesHolder.jsx","webpack://rtlb/./client/app/bundles/Reports/components/UserDataRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/TaskTotalsRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/UserTaskHolder.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AllOrDateRangeRadios.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentTextsRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentTextsTotalRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentTextsHolder.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AppointmentsStatCards.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AppointmentsRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AppointmentsContainer.jsx","webpack://rtlb/./client/app/bundles/Reports/components/ApptTypeFilter.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentDashboard/services/useAgentSummary.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/ProgressBar.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/TooltipDotRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentDashboard/AgentSummary.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentDashboard/services/useAgentTransactions.js","webpack://rtlb/./client/app/bundles/Reports/components/AgentDashboard/AgentTransactions.jsx","webpack://rtlb/./client/app/bundles/Reports/components/AgentDashboard/AgentDashboard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/RollupStatCard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/services/useSummary.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/SummarySection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/Metric.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/MetricsGrid.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/services/useTotalByType.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/TotalAgentsStaffSection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/utils/chart.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/services/useRecruiting.js","webpack://rtlb/./client/app/bundles/shared/v2/IconToggle/IconToggle.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/IconToggle/IconToggle.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/utils/GoalLinePlugin.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/helpers/StatCard.js","webpack://rtlb/./client/app/bundles/Reports/components/DashboardShared/DashIcon.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/RecruitingSection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/services/usePerAgentProduction.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/PerAgentProductionSection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/services/useProductionStats.js","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/ProductionStatsSection.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OperatorDashboard/OperatorDashboard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/Dash.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/helpers.js","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/TeamLeaderboard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/UsersDropdown.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/GlobalLeaderboard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/ActivitiesDropdown.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/TeamTable.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/Header.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/BigQueryWarning.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/hooks/useStateWithPersistence.js","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/hooks/useLeaderboard.js","webpack://rtlb/./client/app/bundles/Reports/components/Leaderboards/Leaderboards.jsx","webpack://rtlb/./client/app/bundles/Reports/components/FinancialDashboard/SecondAuthForm.jsx","webpack://rtlb/./client/app/bundles/Reports/hooks/usePowerBi.js","webpack://rtlb/./client/app/bundles/Reports/components/FinancialDashboard/PowerBIReport.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OverviewCard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useOpenHouseDashboardOverview.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OpenHouseOverview.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useOpenHouseDashboardList.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useOpenHouseDetails.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/LeadRow.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useOpenHouseLeads.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/helpers/openLeadIndexFromTagName.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useSignInSheet.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/SignInSheetDropdown.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OpenHouseDeleteModal.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OpenHouseFlyout.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useUpcomingCount.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OpenHouseDashboardList.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useTimeFrameOptions.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useOpenHouseDashboardHosts.js","webpack://rtlb/./client/app/bundles/shared/MlsListingDropdown/useMlsListingSearch.js","webpack://rtlb/./client/app/bundles/shared/MlsListingDropdown/MlsListingDropdown.jsx","webpack://rtlb/./client/app/bundles/shared/MlsListingDropdown/useMlsListingDetails.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/HorizontalRule.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useTimeOptions.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useTags.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/hooks/useOpenHouseFormOptions.js","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OpenHouseModal.jsx","webpack://rtlb/./client/app/bundles/Reports/components/OpenHouseDashboard/OpenHouseDashboard.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Referrals.jsx","webpack://rtlb/./client/app/bundles/Reports/components/Reports.jsx","webpack://rtlb/./client/app/bundles/Reports/actions/reportActions.jsx","webpack://rtlb/./client/app/bundles/Reports/containers/ReportsContainer.jsx","webpack://rtlb/./client/app/bundles/Reports/startup/ReportsApp.jsx","webpack://rtlb/./client/app/bundles/Dialer/SingleDialerApp.jsx","webpack://rtlb/./client/app/bundles/TwilioSupport/UnAssignModal/UnAssignModal.jsx","webpack://rtlb/./client/app/bundles/TwilioSupport/TwilioManageNumbers.jsx","webpack://rtlb/./client/app/bundles/TwilioTollFree/components/userName.js","webpack://rtlb/./client/app/bundles/TwilioTollFree/components/TollFreeAssignForm.jsx","webpack://rtlb/./client/app/bundles/TwilioTollFree/components/TollFreeTable.jsx","webpack://rtlb/./client/app/bundles/TwilioTollFree/components/TwilioTollFree.jsx","webpack://rtlb/./client/app/bundles/TwilioSupport/TwilioSubaccountSid.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ToggleableButton.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/styleHelpers.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Filters/StatusOptions.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Filters/PriceInput.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Filters/PropertyTypeOptions.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Filters/FeatureSection.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Button.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Filters/Filters.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingStatus.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingImages.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingDetails/BuyerMatches.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingDetails/ListingDetails.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingDetails/ListingDetailsModal.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/AgentListingFilters.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/AgentStats.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/MlsListingCell.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/AgentListingRow.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/HeaderCell.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/AgentListingsTable.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/CustomOverlay.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/ListingsMap.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/customHooks.js","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/DateDropdown.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/AgentDetails.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SearchModel.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/service.js","webpack://rtlb/./client/app/bundles/SearchListings/components/AgentDetails/AgentDetailsModal.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SearchEmptyState.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailAutocomplete.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailAutocompleteResults.jsx","webpack://rtlb/./client/app/bundles/shared/RemovableBubble.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailTemplates/EmailBodyBlockSeparator.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailTemplates/EmailBodyProperty.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailTemplates/EmailBodySeparator.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailTemplates/EmailBodyProperties.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailTemplates/emailBody.js","webpack://rtlb/./client/app/bundles/SearchListings/components/EmailModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Pagination.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/PageBar.jsx","webpack://rtlb/./client/app/bundles/Transactions/utils/dynamicRow.js","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Checkbox.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/MlsListingRow.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SearchListingsTable.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingCard.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SearchMap.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ListingGrid.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Listings.jsx","webpack://rtlb/./client/app/bundles/shared/ListingsAutocomplete/ListingsAutocomplete.jsx","webpack://rtlb/./client/app/bundles/shared/ListingsAutocomplete/ListingsAutocompleteResults.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SearchAutocomplete.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SortMenu.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/Filters/FilterBubbles.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/ViewToggle.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/OptionsBar.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SavedSearches/SaveSearchModal.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SavedSearches/DeleteSearchModal.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/SearchListings.jsx","webpack://rtlb/./client/app/bundles/SearchListings/startup/SearchListingsApp.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/HoverButton.jsx","webpack://rtlb/./client/app/bundles/Layout/helpers/menu.js","webpack://rtlb/./client/app/bundles/Layout/Sidebar/helpers/icons.js","webpack://rtlb/./client/app/bundles/Layout/Sidebar/ActionModals.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/MenuOption.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/SmartFilterModal.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/BackButton.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/hooks/useCounts.js","webpack://rtlb/./client/app/bundles/Layout/Sidebar/Menu.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/IntegrationButton.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/HubSpotModal.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/ZapierWidgetModal.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/IntegrationModal.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/AppsMenu.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/PanelIcon.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/MobileSidebar.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/Sidebar.jsx","webpack://rtlb/./client/app/bundles/Layout/Sidebar/SidebarApp.jsx","webpack://rtlb/./client/app/bundles/SharedAutoPlans/components/SharedAutoPlan.jsx","webpack://rtlb/./client/app/bundles/SharedAutoPlans/components/AcceptSharedPlanModal.jsx","webpack://rtlb/./client/app/bundles/SharedAutoPlans/components/NoSharedPlan.jsx","webpack://rtlb/./client/app/bundles/SharedAutoPlans/components/SharedAutoPlans.jsx","webpack://rtlb/./client/app/bundles/SharedAutoPlans/components/SharedAutoPlansApp.jsx","webpack://rtlb/./client/app/bundles/Sources/components/Source.jsx","webpack://rtlb/./client/app/bundles/Sources/components/SourceModal.jsx","webpack://rtlb/./client/app/bundles/Sources/hooks/useSources.js","webpack://rtlb/./client/app/bundles/Sources/components/DeleteSourceModal.jsx","webpack://rtlb/./client/app/bundles/Sources/components/Sources.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/SuperUsersTable.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/FormErrors.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/FormWrapper.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/EmailInput.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/PasswordInput.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/RoleSelectInput.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/NewSuperUserForm.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/ChangePasswordCheckboxInput.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/EditSuperUserForm.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/SuperUserRequests.js","webpack://rtlb/./client/app/bundles/Support/SuperUsers/form_controls/SearchInput.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/HeaderControls.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/PaginationWrapper.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/index.jsx","webpack://rtlb/./client/app/bundles/Support/Account/Features.jsx","webpack://rtlb/./client/app/bundles/Support/Account/Financials/BrokerageExpenses.jsx","webpack://rtlb/./client/app/bundles/Support/Account/Financials/ExpenseFinder.jsx","webpack://rtlb/./client/app/bundles/Support/Account/Financials/TransactionFinancials.jsx","webpack://rtlb/./client/app/bundles/Support/Users/jobs.js","webpack://rtlb/./client/app/bundles/Support/Users/JobRunner.jsx","webpack://rtlb/./client/app/bundles/Support/Users/OktaStatus.jsx","webpack://rtlb/./client/app/bundles/Support/Users/UserTable.jsx","webpack://rtlb/./client/app/bundles/Support/Users/index.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskTaskable.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/Task.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/dashboard-styles.module.css?5143","webpack://rtlb/./client/app/bundles/Tasks/components/TaskGrid.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/Tasks.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskCount.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskCounts.jsx","webpack://rtlb/./client/app/bundles/Filters/components/Transactions/AgentDropdown.jsx","webpack://rtlb/./client/app/bundles/Filters/components/Transactions/DateRangeDropdown.jsx","webpack://rtlb/./client/app/bundles/Filters/components/Transactions/TransactionFilterModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Containers/Header/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Containers/Main/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Containers/Side/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Containers/Nav/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Containers/Widget/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/actionNames.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/orderHelpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/transactionExtraOperations.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/teamMemberOperations.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/companyOperations.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/uiChangeMerger.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/ImagePlaceHolder/Photo.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/ImagePlaceHolder/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/AddressInfo/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/AddressInfo/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/ClosePriceLabel/ClosePriceLabel.jsx","webpack://rtlb/./client/app/bundles/shared/reduxRoutes/tdpFinancialsRoutes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/ClosePriceVal/ClosePriceVal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/ClosePrice/ClosePrice.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/PricesInfo/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/styles.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/PrimaryPerson/PrimaryPerson.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/PrimaryAgentInfo/index.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/OptionsStatusCell/OptionsStatusCell.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/TDPOptionsStatusCell/TDPOptionsStatusCell.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/Status/Status.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/EditTitleModal/states.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/EditTitleModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/ConfirmDeleteModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/Summary/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/TransactionTypeBox/TransactionTypeBox.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralTypeBox/ReferralTypeBox.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/PropertyType/PropertyType.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralPropertyType/ReferralPropertyType.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/TransactionTitle/TransactionTitle.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralTitle/ReferralTitle.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/AddValueTxtBtn/AddValueTxtBtn.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralDesiredAddressAdd/ReferralDesiredAddressAdd.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/HOCs/withPencilVisibleStates.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/TextBtnWithPencil/TextBtnWithPencil.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralDesiredAddressRead/ReferralDesiredAddressRead.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralDesiredAddressVal/ReferralDesiredAddressVal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralDesiredAddressEdit/ReferralDesiredAddressEdit.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralDesiredAddress/ReferralDesiredAddress.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralPropertyAddress/ReferralPropertyAddress.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralAddress/ReferralAddress.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameEdit/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameEdit/TimeFrameEdit.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameValRead/TimeFrameValRead.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameAdd/TimeFrameAdd.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameVal/TimeFrameVal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrameEditVal/TimeFrameEditVal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TimeFrame/TimeFrame.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TransactionSummary/TransactionSummary.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/shared/HeaderFinancial/HeaderFinancial.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TransactionAmt/TransactionAmt.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralFee/ReferralFee.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/FinancialDetails/FinancialDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralPartner/ReferralPartner.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralStatus/ReferralStatus.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/SpecificDetails/SpecificDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/api/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/EllipsesDropdown/EllipsesDropdown.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/EllipsesComponents/EllipsesComponents.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/TransactionDetails/TransactionDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ModalRename/ModalRename.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/ReferralHeader/ReferralHeader.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Header/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Navigation/fixtures.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Navigation/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/HeaderTitle/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Header/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/HeaderWrapper/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/Filters/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/FilterButton/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/Filters/Filters.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/FiltersWrapper/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/api/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventsHeaders/index.jsx","webpack://rtlb/./client/app/bundles/shared/reduxRoutes/tdpTimelinesRoutes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventIcon/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventAction/fractal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventAction/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/Rating/Rating.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/LinkifyNotes/LinkifyNotes.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventDescription/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventDescription/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/EventVisibility/EventVisibility.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/Event/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/Events/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/LoadingEvents/LoadingEvents.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/MainWrapper/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Timeline/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/api/apiClient.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/api/payloadBuilders.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/HOCs/withTaskSelectionMode/withTaskSelectionMode.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Drawer/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Drawer/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TeamMembersInModal/fractal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TeamMembersInModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/handlrs.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalSecondaryFilterMember/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/AutoPlansInModal/fractal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/AutoPlansInModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalSecondaryFilterAutoPlans /index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Drawer/fixtures.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Drawer/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTask/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTask/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/HOCs/withFilters/withFilters.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTaskButtons/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTaskButtons/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/propTypes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditInputs/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditInputs/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditInputs/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditPriorityRadios/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditPriorityRadios/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditViewToggle/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditViewToggle/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/HoverInfoTxt/HoverInfoTxt.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTaskToggles/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTaskToggles/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTaskDate/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditContingentElements/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditContingentElements/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditRecurringElements/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditRecurringElements/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditRecurringElements/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTaskFooter/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditDropdowns/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditDropdowns/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTask/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalAddEditTask/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/HeaderOptions/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Filter/fixtures.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Filter/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Filters/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/HOCs/withSelectedTasks/withSelectedTasks.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskSelections/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskSelections/TaskSelections.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskSelectAll/TaskSelectAll.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Label/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Task/constants.js","webpack://rtlb/./client/app/bundles/shared/reduxRoutes/tdpTasksRoutes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskAvatar/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalShowTask/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskItemAssignedPlanIcon/TaskItemAssignedPlanIcon.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalShowTask/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalShowTask/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalDeleteTask/ModalDeleteTask.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskItemName/TaskItemName.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskItemNameFrame/TaskItemNameFrame.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Task/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Task/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalBulkRescheduleTask/ModalBulkRescheduleTask.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/ModalBulkReassignTask/ModalBulkReassignTask.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TaskList/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/EmptyStates/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/EmptyStates/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/EmptyStates/EmptyStates.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/Main/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TasksHeader/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/TasksHeader/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Tasks/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/HeaderOptions/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/FooterOptions/index.jsx","webpack://rtlb/./client/app/bundles/shared/reduxRoutes/tdpNotesRoutes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/DeleteNoteConfirmationModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/EllipsisDropDown/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/api/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/SingleNote/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/Filter/FilterNotes.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/EditNoteModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/AllNotes/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Notes/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/api/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/api/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/shared/styles.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailSectionHeader/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingDatePicker/InlineEditingDatePicker.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailFieldLabel/DetailFieldLabel.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailInput/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailDropdown/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/shared/DetailStatus/DetailStatus.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/TransactionDetails/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/BACDetailInput/BACModalBody.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/BACDetailInput/AddEditBACModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/BACDetailInput/BACDetailInput.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailSourceDropdown/DetailSourceDropdown.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingUuid.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingDetails/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalPropertyDetail/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/ModalField/ModalField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalEditLabel/ModalEditLabel.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/PropertyDetails/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralBrokerageField/ReferralBrokerageField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/shared/DetailLinkField/DetailLinkField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/shared/DetailTxtNonEditField/DetailTxtNonEditField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralPartnerField/ReferralPartnerField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralTeamField/ReferralTeamField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralPartnerDetails/ReferralPartnerDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralTitle/ReferralTitle.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralTransactionAmount/ReferralTransactionAmount.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReferralFee/ReferralFee.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/RefDetails/RefDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ClientNameField/ClientNameField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ClientIntentField/ClientIntentField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/FinancingField/FinancingField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DesiredLocationsField/DesiredLocationsField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ClientIntentDetails/ClientIntentDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/RefPropertyDetails/RefPropertyDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/EarnestMoneyDropdown/EarnestMoneyDropdown.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailDateDropdown/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/EarnestMoneyDateDropdown/EarnestMoneyDateDropdown.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/EarnestMoney/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailsSpecific/DetailsSpecific.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/model/listingData.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImportListingDetailsModal/ListingDetailsField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImportListingDetailsModal/ReviewImportListingDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImportListingDetailsModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImportListingDetailsBtn/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DetailsWrapper/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditor/CancelConfirmMultiline.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditor/stringManipulation.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingTextArea/TextArea/TextArea.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingTextArea/TextArea/TextArea.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingTextArea/InlineEditingTextArea.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingDescription/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/EditBtnCirc/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/DescriptionWrapper/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/LinkPeople/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/LinkMain/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalEditLink/ModalEditLink.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/LinkGroup/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalAddLink/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/LinksWrapper/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImage/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImageOption/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImgPreviewCtrls/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImgPreviewCtrls/fractals.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImgPreviewCtrls/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalPreviewImg/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalPreviewImg/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalDeleteImage/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImageOptions/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImage/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/UploadImage/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/UploadImage/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImages/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImagesActionButtons/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ModalDeleteImages/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImagesActionButtons/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImagesOptions/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ReplaceMLSPhotoModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ListingImagesWrapper/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/LoadingOverlay/LoadingOverlay.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/Links.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/actions/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/ListingLink.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/Share.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/ProfileIcon/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/SiteInput.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/actions/hooks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/Rows.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/Headers.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/DeleteAdPlan.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/model/error.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Error/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AdSite/Sitebody.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AdSite/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/Footer.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/adSorting.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/AdPlan.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/PlanModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AdvertisingPlan/plansorsites.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AdApplyPlan/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AdvertisingPlan/emptystate.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/HeaderOptions/AdHeaderOptions.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AdvertisingPlan/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/api/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/CardsCount.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/CollapsibleCards.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/MailerCards.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/Cards.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/ListingCards.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/NoCards.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/StatCardIcon.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/SocialAds.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/AssetsCards/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/HouseSearchingIcon.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/SearchTermResults.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/ImportSearch.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/HomeSearch.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/NoListing.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/HeaderOptions/MarketingHeaderOptions.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/MarketingMaterials/Bars.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/MarketingMaterials/TrackLabel.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/MarketingMaterials/TrackProgressBar.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/MarketingMaterials/EditListingBody.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/MarketingMaterials/EditListing.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/MarketingMaterials/ListingViews.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/Cards/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Marketing/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/error.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/changeVisibility.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/feedback.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/formData.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/pagination.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/meta.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/promptData.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/Error/Error.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/DeleteFeedbackPrompt/DeleteFeedbackPrompt.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/constants.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/showingTypes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackVisibility/FeedbackVisibility.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackMenuDropdown/FeedbackMenuDropdown.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackCard/FeedbackCard.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackBody/FeedbackBody.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/model/interestLevel.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/RatingDropdownOption/RatingDropdownOption.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/RatingDropdownSingleValue/RatingDropdownSingleValue.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/ShowingTypeDropdownMenu/ShowingTypeDropdownMenu.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackForm/FeedbackForm.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackHeader/FeedbackHeader.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackInfiniteScroll/FeedbackInfiniteScroll.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/Feedback/Feedback.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/FeedbackWrapper/FeedbackWrapper.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Feedback/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/SearchUpload/Search.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/SearchUpload/Upload.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/SearchUpload/SearchUpload.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/DocumentCheckbox.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/UploadedBy.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/TimeUploaded.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/Context.styles.js","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/Context.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/InlineContext.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/DocumentListItem/DocumentListItem.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/propTypes.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/Table.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Pagination/Pagination.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Documents.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/utils.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TeamMember/TeamMember.jsx","webpack://rtlb/./client/app/bundles/shared/v2/DragHandle/DragHandle.styles.js","webpack://rtlb/./client/app/bundles/shared/v2/DragHandle/DragHandle.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/ExpenseIncomeLineItem/ExpenseIncomeLineItem.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/ExpenseIncomeLineItem/DraggableExpenseIncomeLineItems.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TeamMember/TeamMembersWithLineItems.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/AddTeamMemberModal/MemberMultiValue.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/AddTeamMemberModal/MemberMultiValueLabel.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/AddTeamMemberModal/MemberMultiValueRemove.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/AddTeamMemberModal/MemberOption.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/AddTeamMemberModal/AddTeamMemberModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/AddEditExpenseIncomeModal/AddEditExpenseIncomeModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/DeleteExpenseIncomeModal/DeleteExpenseIncomeModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/EditAmountModal/EditAmountModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TeamMemberSection/TeamMemberSection.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TransactionGCI/ExpensesIncomeLineItems.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TransactionGCI/TransactionGCI.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TransactionGCI/TransactionGCIWithLineItems.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TransactionGCI/helperData.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/TransactionSection/TransactionSection.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/FeatureBanner/FeatureBanner.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/CDAdoc/Upload.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/CDAdoc/UploadedDocHeader.jsx","webpack://rtlb/./client/app/bundles/shared/OverlayDropdown/OverlayDropdown.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/CDAdoc/UploadedDoc.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/CDAdoc/UploadedDocs.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/CDAdoc/CDAdoc.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/Company/Company.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/Company/CompanyWithLineItems.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/components/CompanySection/CompanySection.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Financials/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Divider/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/AccessViewer/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/SubscribeClient/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/PrimaryAgentCheckbox/PrimaryAgentCheckbox.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/AddModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/AddModal/hooks.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/ToolTip/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/EditModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/DeleteModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/api/helpers.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/Other/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Interactions/Email/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/Person/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/PeopleSubCategories/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/EllipsisDropdown/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/People/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/ModalDeleteDocuments/ModalDeleteDocuments.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/DocumentCheckbox.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/FileInformation.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/UploadedBy.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/TimeUploaded.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/Context.styles.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/Context.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/InlineContext.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Table/DocumentListItem/DocumentListItem.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Documents/SidebarTable.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/Documents/Documents.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideLeft/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/ApplyAutoPlanCallToAction.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/AssignedPlanDeletionConfirmationModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/AssignedPlanStateLabel.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionDetails/helpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionDetails/ActionDetailField.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionDetails/ActionRunAtFields.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionDetails/TaskActionDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionDetails/EmailOrTextActionDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionDeletionConfirmationModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/ActionList.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/PlanDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/AssignedPlanDetailsModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/AssignedPlanRow.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/CollapsibleCategory.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/AssignedPlansByState.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/AutoPlanApplyModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/PlanDetails/AutoPlanPreviewModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/Components/Header.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/AutoPlans/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/model/error.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Error/index.jsx","webpack://rtlb/./client/app/bundles/shared/v2/InlineEditingDatePickerPortal/InlineEditingDatePickerPortal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/ModifyDate.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/TimeFrame.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/CustomDates/CustomDates.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/HeaderOptions/DateHeaderOptions.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/actions/helper.js","webpack://rtlb/./client/app/bundles/shared/reduxRoutes/tdpDatesRoutes.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/Expiration.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/DateListed.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/ReferralExpiration.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/CloseDate.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/MutualAcceptanceDate.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/Date/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Dates/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Marketing/MarketingBody/MarketingBody.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Marketing/MarketingLoadError/MarketingLoadError.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Marketing/MarketingHeader/MarketingHeader.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Marketing/MarketingSubheader/MarketingSubheader.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Marketing/Marketing/Marketing.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/Marketing/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/model/error.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/api/apiAdapters.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/BlueprintAccessModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/TitleAndEscrowCard.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/TitleAndEscrow/TitleAndEscrow.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/SideRight/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/NavigationListings/api/apiWrappers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/NavigationListings/action/thunks.js","webpack://rtlb/./client/app/bundles/Transactions/components/shared/AgentCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Switcher.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/TextCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/utils/Currency.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/CurrencyCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/DatePicker.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/DateCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/actions.js","webpack://rtlb/./client/app/bundles/Transactions/apiWrapper.js","webpack://rtlb/./client/app/bundles/shared/NotifyError.js","webpack://rtlb/./client/app/bundles/Transactions/reducer.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/AppliedFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/AppliedFiltersWithSave.jsx","webpack://rtlb/./client/app/bundles/Transactions/utils/useOnClickOutside.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/ColumnsDropdown.jsx","webpack://rtlb/./client/app/bundles/shared/v2/Cluster/styleHelpers.js","webpack://rtlb/./client/app/bundles/shared/v2/Cluster/Cluster.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/SortingMenu.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Headings.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/TotalsBreakdown.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/TransactionsTable.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/ClearIndicator.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/AgentsFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/CloseDateRangeFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/SourceFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/StatusChangeDateFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/InlineFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/FilterInlineOptions.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/Filters/SearchFilter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/FiltersModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/stubs/filterStubs.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/stubs/closeDateOptions.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/BoardManipulation.js","webpack://rtlb/./client/app/bundles/Transactions/components/shared/OptionsInlineCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/ListingCard/ListingCardBody.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/ListingCard/ListingCardFooter.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/ListingCard/ListingCardHeader.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/ListingCard/ListingCard.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/Item.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/ItemsList.module.css?1ec7","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/ItemsList.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/Column.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/CardsView/Board.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/WrapperAddTransactionModal/WrapperAddTransactionModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/apiHelper.js","webpack://rtlb/./client/app/bundles/Transactions/UpdatePipelineStatusModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/TDIUpdatePipelineStatusModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImportModal/ImportDetailModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/ImportListingModal.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Wrapper.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/TDIOptionsStatusCell.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/shared/FadeOut.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Transaction.jsx","webpack://rtlb/./client/app/bundles/Transactions/utils/urlHelpers.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/NavigationListings/NavigationDirection/NavigationDirection.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/NavigationListings/NavigationListings.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/TransactionsNavigation/TransactionsNavigation.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Modals/ThumbnailSelector/services.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Modals/ThumbnailSelector/actions/thunks.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Modals/ThumbnailSelector/components/ThumbnailSelector.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/UI/Modals/ThumbnailSelector/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/TDPPipelineStatusModal/TDPPipelineStatusModal.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/UploadTable.jsx","webpack://rtlb/./client/app/bundles/shared/ModalUpload/ModalUpload.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/DocModalUpload/DocModalUpload.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/shared/CDAUploadModal/CDAUploadModal.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/utils.js","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewNavigator/PreviewPlaceholder.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewNavigator/PreviewPdf.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewNavigator/PreviewImage.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewNavigator/PreviewNavigator.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewDetails/PreviewDetailsHeader.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewDetails/common.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewDetails/PreviewUploadedBy.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/PreviewDetails/PreviewDetails.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Docs/Preview/Preview.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/Main/Details/ImportModal/index.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/App.jsx","webpack://rtlb/./client/app/bundles/TransactionDetailsPage/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/ClosedVolumeForm/customHooks.js","webpack://rtlb/./client/app/bundles/Financials/components/transaction/ClosedVolumeForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/actions/apiAdapter.js","webpack://rtlb/./client/app/bundles/Financials/actions/transaction.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/TeamMemberSplit.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/TeamMemberExpense.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/TransactionFinancialDetail.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/AddAgentModal.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/AddIncomeExpenseModal.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/ExpenseModal.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/TransactionAdditionalIncomeSortable.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/AgentsDetailForm/customHooks.js","webpack://rtlb/./client/app/bundles/Financials/components/transaction/AgentAdditionalIncomeSortable.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/SortableTeamMemberSplitInput/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/SortableTeamMemberExpenseInput/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/AgentDetailForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/AgentsDetailForm/index.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/CollaboratorExpense.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/CollaboratorExpenseModal.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/TransactionFinancialDetailForm.jsx","webpack://rtlb/./client/app/bundles/Financials/components/transaction/TransactionFinancial.jsx","webpack://rtlb/./client/app/bundles/Financials/containers/TransactionFinancialContainer.jsx","webpack://rtlb/./client/app/bundles/Filters/components/LocationResults.jsx","webpack://rtlb/./client/app/bundles/Filters/components/WebsiteSearchHistoryFilter.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/TabButton.jsx","webpack://rtlb/./client/app/bundles/reducers/websiteReducer/websiteReducer.js","webpack://rtlb/./client/app/bundles/reducers/websiteReducer/selectors.js","webpack://rtlb/./client/app/bundles/Website/Post/SharePostModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/ArchivePostModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/FirstPostModal.jsx","webpack://rtlb/./client/app/bundles/Website/WebsiteIndex.jsx","webpack://rtlb/./client/app/bundles/Website/hooks/usePostCountForCategoryTag.js","webpack://rtlb/./client/app/bundles/Website/Blog/CategoryTagModal.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/CategoryTagItem.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/DeleteCategoryTagModal.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/BlogSettingsModal.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/PostStatus.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/PostRow.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/CreatePostModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/DuplicatePostModal.jsx","webpack://rtlb/./client/app/bundles/Website/Blog/BlogIndex.jsx","webpack://rtlb/./client/app/bundles/Website/Post/CollapsiblePostCard.jsx","webpack://rtlb/./client/app/bundles/Website/Post/ImageDropTarget.jsx","webpack://rtlb/./client/app/bundles/Website/Post/FeaturedImageHelpModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/SeoHelpModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/UnsavedChangesModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/EditingSlugsModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/PublishDateModal.jsx","webpack://rtlb/./client/app/bundles/Website/Post/PostIndex.jsx","webpack://rtlb/./client/app/bundles/Website/WebsiteApp.jsx","webpack://rtlb/./client/app/bundles/SearchListings/components/IndexSendListings.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Notes/components/NotesIndex.jsx","webpack://rtlb/./client/app/bundles/Transactions/components/Notes/startup/NotesApp.jsx","webpack://rtlb/./client/app/bundles/TwilioTrustHub/components/TwilioTrustHub.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/helpers/normalizer.js","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/helpers/services.js","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/actions/thunks.js","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/FormElement.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/RadioOptions.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/AvatarControl.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/AvatarOption.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/DisplayPerson.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/TransactionReportAccess.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/components/CommOnlyOperator.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/page.jsx","webpack://rtlb/./client/app/bundles/Support/SuperUsers/Branding/index.jsx","webpack://rtlb/./client/app/bundles/Support/DeleteAutoPlans/DeleteAutoPlans.jsx","webpack://rtlb/./client/app/bundles/OktaPasswordReset/services.js","webpack://rtlb/./client/app/bundles/OktaPasswordReset/index.jsx","webpack://rtlb/./client/app/bundles/OktaError/index.jsx","webpack://rtlb/./client/app/bundles/reducers/interactionTemplatesReducer.js","webpack://rtlb/./client/app/bundles/reducers/dashboardReducer/dashboardReducer.js","webpack://rtlb/./client/app/bundles/store/layoutStore.js","webpack://rtlb/./client/app/bundles/LeadIndex/components/AppliedFilters.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/AppliedFiltersApp.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/components/EmailAllModal/hooks/useAttachments.js","webpack://rtlb/./client/app/bundles/LeadIndex/components/EmailAllModal/hooks/useMassEmail.js","webpack://rtlb/./client/app/bundles/LeadIndex/components/EmailAllModal/EmailAllModal.jsx","webpack://rtlb/./client/app/bundles/InteractionTemplates/AvatarLink.jsx","webpack://rtlb/./client/app/bundles/InteractionTemplates/InteractionTemplateModal.jsx","webpack://rtlb/./client/app/bundles/InteractionTemplates/DeleteInteractionTemplateModal.jsx","webpack://rtlb/./client/app/bundles/InteractionTemplates/InteractionTemplates.jsx","webpack://rtlb/./client/app/bundles/InteractionTemplates/InteractionTemplatesApp.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/ConfirmTrackingNumber.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/NumberSelection.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/ConfirmDeleteTrackingNumber.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/UsersDropdown.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/SourcesDropdown.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/LeadAssignType.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/FirstToClaim.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/RoundRobin.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/LeadCreation.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/DeleteTrackingNumber.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/VoicemailRecorder.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/CallRecording.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/TrackingNumberDetailsModal.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/TrackingNumberModal.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/TrackingNumbers.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/services.js","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/TableHeader.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/TableCell.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Arrows.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/helpers.js","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/LogFilters.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/ReportsFilters.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/TrackingNumbersStats.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/TrackingNumbersActivity.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/TrackingNumbersLogs.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/Settings/useTrackingNumberSettings.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/useTrackingNumberActivity.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/TrackingNumbers/useTrackingNumberLogs.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/PhoneSystem.jsx","webpack://rtlb/./client/app/bundles/ListingAlertTemplates/service.js","webpack://rtlb/./client/app/bundles/ListingAlertTemplates/ListingAlertTemplates.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Dnc.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/helpers.js","webpack://rtlb/./client/app/bundles/Opportunities/components/PhoneType.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Table.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/services.js","webpack://rtlb/./client/app/bundles/Opportunities/components/Map/GoogleMap.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Map/PropertyCard.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/ResultsCount.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Map/Map.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/filters.js","webpack://rtlb/./client/app/bundles/Opportunities/components/FiltersModal.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/useAutocomplete.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Search.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Options.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/EmptyState.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/ZillowLogo.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/CallInfo.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/PropertyDetails.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Dialer/PropertyInfoBlock.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Dialer/PropertyDialerModal.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/useDialerWrapper.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Dialer/ProspectDialer.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/SaveSearch.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/DeleteSearch.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/LinkBar.jsx","webpack://rtlb/./client/app/bundles/Opportunities/components/Opportunities.jsx","webpack://rtlb/./client/app/bundles/Opportunities/startup/OpportunitiesApp.jsx","webpack://rtlb/./client/app/packs/webpack-bundle.jsx","webpack://rtlb/./client/app/bundles/Financials/startup/AccountFinancialApp.jsx","webpack://rtlb/./client/app/bundles/Settings/Users/index.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/startup/AutoPlanEditApp.jsx","webpack://rtlb/./client/app/bundles/AutoPlans/startup/AutoPlansApp.jsx","webpack://rtlb/./client/app/bundles/Dashboard/components/DashboardApp.jsx","webpack://rtlb/./client/app/bundles/Inbox/startup/InboxApp.jsx","webpack://rtlb/./client/app/bundles/LeadPonds/index.jsx","webpack://rtlb/./client/app/bundles/LeadIndex/index.jsx","webpack://rtlb/./client/app/bundles/LeadRoutingTargetSelector/index.jsx","webpack://rtlb/./client/app/bundles/Milestones/startup/MilestonesApp.jsx","webpack://rtlb/./client/app/bundles/PersonDetail/startup/PersonDetailApp.jsx","webpack://rtlb/./client/app/bundles/Tasks/components/TaskApp.jsx","webpack://rtlb/./client/app/bundles/Financials/startup/TransactionFinancialApp.jsx","webpack://rtlb/./client/app/bundles/PhoneSystem/PhoneSystemApp.jsx"],"sourcesContent":["var map = {\n\t\"./af\": 25177,\n\t\"./af.js\": 25177,\n\t\"./ar\": 61509,\n\t\"./ar-dz\": 41488,\n\t\"./ar-dz.js\": 41488,\n\t\"./ar-kw\": 58676,\n\t\"./ar-kw.js\": 58676,\n\t\"./ar-ly\": 42353,\n\t\"./ar-ly.js\": 42353,\n\t\"./ar-ma\": 24496,\n\t\"./ar-ma.js\": 24496,\n\t\"./ar-ps\": 6947,\n\t\"./ar-ps.js\": 6947,\n\t\"./ar-sa\": 82682,\n\t\"./ar-sa.js\": 82682,\n\t\"./ar-tn\": 89756,\n\t\"./ar-tn.js\": 89756,\n\t\"./ar.js\": 61509,\n\t\"./az\": 95533,\n\t\"./az.js\": 95533,\n\t\"./be\": 28959,\n\t\"./be.js\": 28959,\n\t\"./bg\": 47777,\n\t\"./bg.js\": 47777,\n\t\"./bm\": 54903,\n\t\"./bm.js\": 54903,\n\t\"./bn\": 61290,\n\t\"./bn-bd\": 17357,\n\t\"./bn-bd.js\": 17357,\n\t\"./bn.js\": 61290,\n\t\"./bo\": 31545,\n\t\"./bo.js\": 31545,\n\t\"./br\": 11470,\n\t\"./br.js\": 11470,\n\t\"./bs\": 44429,\n\t\"./bs.js\": 44429,\n\t\"./ca\": 7306,\n\t\"./ca.js\": 7306,\n\t\"./cs\": 56464,\n\t\"./cs.js\": 56464,\n\t\"./cv\": 73635,\n\t\"./cv.js\": 73635,\n\t\"./cy\": 64226,\n\t\"./cy.js\": 64226,\n\t\"./da\": 93601,\n\t\"./da.js\": 93601,\n\t\"./de\": 77853,\n\t\"./de-at\": 26111,\n\t\"./de-at.js\": 26111,\n\t\"./de-ch\": 54697,\n\t\"./de-ch.js\": 54697,\n\t\"./de.js\": 77853,\n\t\"./dv\": 60708,\n\t\"./dv.js\": 60708,\n\t\"./el\": 54691,\n\t\"./el.js\": 54691,\n\t\"./en-au\": 53872,\n\t\"./en-au.js\": 53872,\n\t\"./en-ca\": 28298,\n\t\"./en-ca.js\": 28298,\n\t\"./en-gb\": 56195,\n\t\"./en-gb.js\": 56195,\n\t\"./en-ie\": 66584,\n\t\"./en-ie.js\": 66584,\n\t\"./en-il\": 65543,\n\t\"./en-il.js\": 65543,\n\t\"./en-in\": 9033,\n\t\"./en-in.js\": 9033,\n\t\"./en-nz\": 79402,\n\t\"./en-nz.js\": 79402,\n\t\"./en-sg\": 43004,\n\t\"./en-sg.js\": 43004,\n\t\"./eo\": 32934,\n\t\"./eo.js\": 32934,\n\t\"./es\": 97650,\n\t\"./es-do\": 20838,\n\t\"./es-do.js\": 20838,\n\t\"./es-mx\": 17730,\n\t\"./es-mx.js\": 17730,\n\t\"./es-us\": 56575,\n\t\"./es-us.js\": 56575,\n\t\"./es.js\": 97650,\n\t\"./et\": 3035,\n\t\"./et.js\": 3035,\n\t\"./eu\": 3508,\n\t\"./eu.js\": 3508,\n\t\"./fa\": 119,\n\t\"./fa.js\": 119,\n\t\"./fi\": 90527,\n\t\"./fi.js\": 90527,\n\t\"./fil\": 95995,\n\t\"./fil.js\": 95995,\n\t\"./fo\": 52477,\n\t\"./fo.js\": 52477,\n\t\"./fr\": 85498,\n\t\"./fr-ca\": 26435,\n\t\"./fr-ca.js\": 26435,\n\t\"./fr-ch\": 37892,\n\t\"./fr-ch.js\": 37892,\n\t\"./fr.js\": 85498,\n\t\"./fy\": 37071,\n\t\"./fy.js\": 37071,\n\t\"./ga\": 41734,\n\t\"./ga.js\": 41734,\n\t\"./gd\": 70217,\n\t\"./gd.js\": 70217,\n\t\"./gl\": 77329,\n\t\"./gl.js\": 77329,\n\t\"./gom-deva\": 32124,\n\t\"./gom-deva.js\": 32124,\n\t\"./gom-latn\": 93383,\n\t\"./gom-latn.js\": 93383,\n\t\"./gu\": 95050,\n\t\"./gu.js\": 95050,\n\t\"./he\": 11713,\n\t\"./he.js\": 11713,\n\t\"./hi\": 43861,\n\t\"./hi.js\": 43861,\n\t\"./hr\": 26308,\n\t\"./hr.js\": 26308,\n\t\"./hu\": 90609,\n\t\"./hu.js\": 90609,\n\t\"./hy-am\": 17160,\n\t\"./hy-am.js\": 17160,\n\t\"./id\": 74063,\n\t\"./id.js\": 74063,\n\t\"./is\": 89374,\n\t\"./is.js\": 89374,\n\t\"./it\": 88383,\n\t\"./it-ch\": 21827,\n\t\"./it-ch.js\": 21827,\n\t\"./it.js\": 88383,\n\t\"./ja\": 23827,\n\t\"./ja.js\": 23827,\n\t\"./jv\": 89722,\n\t\"./jv.js\": 89722,\n\t\"./ka\": 41794,\n\t\"./ka.js\": 41794,\n\t\"./kk\": 27088,\n\t\"./kk.js\": 27088,\n\t\"./km\": 96870,\n\t\"./km.js\": 96870,\n\t\"./kn\": 84451,\n\t\"./kn.js\": 84451,\n\t\"./ko\": 63164,\n\t\"./ko.js\": 63164,\n\t\"./ku\": 98174,\n\t\"./ku-kmr\": 6181,\n\t\"./ku-kmr.js\": 6181,\n\t\"./ku.js\": 98174,\n\t\"./ky\": 78474,\n\t\"./ky.js\": 78474,\n\t\"./lb\": 79680,\n\t\"./lb.js\": 79680,\n\t\"./lo\": 15867,\n\t\"./lo.js\": 15867,\n\t\"./lt\": 45766,\n\t\"./lt.js\": 45766,\n\t\"./lv\": 69532,\n\t\"./lv.js\": 69532,\n\t\"./me\": 58076,\n\t\"./me.js\": 58076,\n\t\"./mi\": 41848,\n\t\"./mi.js\": 41848,\n\t\"./mk\": 30306,\n\t\"./mk.js\": 30306,\n\t\"./ml\": 73739,\n\t\"./ml.js\": 73739,\n\t\"./mn\": 99053,\n\t\"./mn.js\": 99053,\n\t\"./mr\": 86169,\n\t\"./mr.js\": 86169,\n\t\"./ms\": 73386,\n\t\"./ms-my\": 92297,\n\t\"./ms-my.js\": 92297,\n\t\"./ms.js\": 73386,\n\t\"./mt\": 77075,\n\t\"./mt.js\": 77075,\n\t\"./my\": 72264,\n\t\"./my.js\": 72264,\n\t\"./nb\": 22274,\n\t\"./nb.js\": 22274,\n\t\"./ne\": 8235,\n\t\"./ne.js\": 8235,\n\t\"./nl\": 92572,\n\t\"./nl-be\": 43784,\n\t\"./nl-be.js\": 43784,\n\t\"./nl.js\": 92572,\n\t\"./nn\": 54566,\n\t\"./nn.js\": 54566,\n\t\"./oc-lnc\": 69330,\n\t\"./oc-lnc.js\": 69330,\n\t\"./pa-in\": 29849,\n\t\"./pa-in.js\": 29849,\n\t\"./pl\": 94418,\n\t\"./pl.js\": 94418,\n\t\"./pt\": 79834,\n\t\"./pt-br\": 48303,\n\t\"./pt-br.js\": 48303,\n\t\"./pt.js\": 79834,\n\t\"./ro\": 24457,\n\t\"./ro.js\": 24457,\n\t\"./ru\": 82271,\n\t\"./ru.js\": 82271,\n\t\"./sd\": 1221,\n\t\"./sd.js\": 1221,\n\t\"./se\": 33478,\n\t\"./se.js\": 33478,\n\t\"./si\": 17538,\n\t\"./si.js\": 17538,\n\t\"./sk\": 5784,\n\t\"./sk.js\": 5784,\n\t\"./sl\": 46637,\n\t\"./sl.js\": 46637,\n\t\"./sq\": 86794,\n\t\"./sq.js\": 86794,\n\t\"./sr\": 45719,\n\t\"./sr-cyrl\": 3322,\n\t\"./sr-cyrl.js\": 3322,\n\t\"./sr.js\": 45719,\n\t\"./ss\": 56000,\n\t\"./ss.js\": 56000,\n\t\"./sv\": 41011,\n\t\"./sv.js\": 41011,\n\t\"./sw\": 40748,\n\t\"./sw.js\": 40748,\n\t\"./ta\": 11025,\n\t\"./ta.js\": 11025,\n\t\"./te\": 11885,\n\t\"./te.js\": 11885,\n\t\"./tet\": 28861,\n\t\"./tet.js\": 28861,\n\t\"./tg\": 86571,\n\t\"./tg.js\": 86571,\n\t\"./th\": 55802,\n\t\"./th.js\": 55802,\n\t\"./tk\": 59527,\n\t\"./tk.js\": 59527,\n\t\"./tl-ph\": 29231,\n\t\"./tl-ph.js\": 29231,\n\t\"./tlh\": 31052,\n\t\"./tlh.js\": 31052,\n\t\"./tr\": 85096,\n\t\"./tr.js\": 85096,\n\t\"./tzl\": 79846,\n\t\"./tzl.js\": 79846,\n\t\"./tzm\": 81765,\n\t\"./tzm-latn\": 97711,\n\t\"./tzm-latn.js\": 97711,\n\t\"./tzm.js\": 81765,\n\t\"./ug-cn\": 48414,\n\t\"./ug-cn.js\": 48414,\n\t\"./uk\": 16618,\n\t\"./uk.js\": 16618,\n\t\"./ur\": 57777,\n\t\"./ur.js\": 57777,\n\t\"./uz\": 57609,\n\t\"./uz-latn\": 72475,\n\t\"./uz-latn.js\": 72475,\n\t\"./uz.js\": 57609,\n\t\"./vi\": 21135,\n\t\"./vi.js\": 21135,\n\t\"./x-pseudo\": 64051,\n\t\"./x-pseudo.js\": 64051,\n\t\"./yo\": 82218,\n\t\"./yo.js\": 82218,\n\t\"./zh-cn\": 52648,\n\t\"./zh-cn.js\": 52648,\n\t\"./zh-hk\": 1632,\n\t\"./zh-hk.js\": 1632,\n\t\"./zh-mo\": 31541,\n\t\"./zh-mo.js\": 31541,\n\t\"./zh-tw\": 50304,\n\t\"./zh-tw.js\": 50304\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 35358;","const { useSelector } = require(\"react-redux\");\n\nexport const useContactMergePotentialDuplicates = () =>\n useSelector((state) => state.contactMerge.potentialDuplicates);\nexport const useContactMergeLoading = () => useSelector((state) => state.contactMerge.loading);\nexport const useContactMergeModalIsOpen = () => useSelector((state) => state.contactMerge.modalIsOpen);\nexport const useContactMergePrimaryContact = () => useSelector((state) => state.contactMerge.primaryContact);\nexport const useContactMergeOtherContact = () => useSelector((state) => state.contactMerge.otherContact);\nexport const useContactMergeKeepContact = () => useSelector((state) => state.contactMerge.keepContact);\nexport const useContactMergeError = () => useSelector((state) => state.contactMerge.error);\nexport const useContactMergeHasDuplicates = () => useSelector((state) => state.contactMerge.hasDuplicates);\nexport const useContactMergePrimaryContactSlug = () =>\n useSelector((state) => state.contactMerge.primaryContactSlug);\nexport const useContactMergeOtherContactSlug = () =>\n useSelector((state) => state.contactMerge.otherContactSlug);\nexport const useContactMergePage = () => useSelector((state) => state.contactMerge.page);\n","/* eslint-disable no-underscore-dangle */\n\n// TODO: Remove when no longer needed (e.g. when usage in haml is replaced with React)\n\nimport { createPopper } from \"@popperjs/core\";\nimport classes from \"./classes.json\";\n\nconst getOrCreateTooltipPortal = () => {\n let tooltipPortal = document.querySelector(\"#tooltip-portal\");\n\n if (!tooltipPortal) {\n // Create portal and append into document body\n tooltipPortal = document.createElement(\"div\");\n tooltipPortal.setAttribute(\"id\", \"tooltip-portal\");\n tooltipPortal.setAttribute(\"class\", \"tw-relative\");\n\n document.body.appendChild(tooltipPortal);\n }\n\n return tooltipPortal;\n};\n\nconst addClassesFromString = (element, classesString) => {\n classesString\n .split(\" \")\n .filter((value) => value.trim() !== \"\")\n .forEach((value) => element.classList.add(value.trim()));\n};\n\nconst tooltipTemplate = document.createElement(\"template\");\ntooltipTemplate.innerHTML = `\n \n \n`;\n\nconst defaultMultiline = \"false\";\nconst defaultMaxWidthClass = \"tw-max-w-200px\";\nconst defaultTooltipClass = classes.baseClasses;\nconst defaultArrowClass = classes.baseArrowClasses;\nconst defaultInnerClass = classes.inner.baseClasses;\n\nconst defaultPlacement = \"bottom\";\nconst availablePlacements = [\"top\", \"right\", \"left\", \"bottom\"];\n\nconst showEvents = [\"mouseenter\", \"focus\"];\nconst hideEvents = [\"mouseleave\", \"blur\"];\n\nconst transitionDuration = 150;\n\nclass CRMTooltip extends HTMLElement {\n static get observedAttributes() {\n return [\"placement\", \"multiline\", \"deprecatedoverridemaxwidthclass\"];\n }\n\n constructor() {\n super();\n\n // Event handlers that are not attached to this element need to be bound\n // if they need access to `this`.\n this._onSlotChange = this._onSlotChange.bind(this);\n this._onShowTooltip = this._onShowTooltip.bind(this);\n this._onHideTooltip = this._onHideTooltip.bind(this);\n this._onContentChanged = this._onContentChanged.bind(this);\n\n this.attachShadow({\n mode: \"open\",\n });\n\n this.shadowRoot.appendChild(tooltipTemplate.content.cloneNode(true));\n\n this._triggerSlot = this.shadowRoot.querySelector(\"slot[name=trigger]\");\n this._contentSlot = this.shadowRoot.querySelector(\"slot[name=content]\");\n\n // Create the tooltip DOM\n this._arrow = document.createElement(\"div\");\n addClassesFromString(this._arrow, defaultArrowClass);\n\n this._inner = document.createElement(\"div\");\n addClassesFromString(this._inner, `${defaultInnerClass} ${defaultMaxWidthClass}`);\n\n this._tooltip = document.createElement(\"div\");\n this._tooltip.appendChild(this._arrow);\n this._tooltip.appendChild(this._inner);\n addClassesFromString(this._tooltip, defaultTooltipClass);\n\n this._popper = document.createElement(\"div\");\n this._popper.classList.add(\"tw-z-3000\");\n this._popper.style.display = \"none\";\n this._popper.appendChild(this._tooltip);\n\n getOrCreateTooltipPortal().appendChild(this._popper);\n\n this._triggerSlot.addEventListener(\"slotchange\", this._onSlotChange);\n this._contentSlot.addEventListener(\"slotchange\", this._onSlotChange);\n this._contentObserver = new MutationObserver(this._onContentChanged);\n }\n\n get placement() {\n return this.getAttribute(\"placement\");\n }\n\n set placement(value) {\n if (!value || !availablePlacements.includes(value)) {\n this.setAttribute(\"placement\", defaultPlacement);\n return;\n }\n\n this.setAttribute(\"placement\", value);\n }\n\n get multiline() {\n if (this.getAttribute(\"multiline\") === null) {\n return defaultMultiline;\n }\n\n return this.getAttribute(\"multiline\");\n }\n\n set multiline(value) {\n if (typeof value !== \"boolean\") {\n return;\n }\n\n this.setAttribute(\"multiline\", value);\n }\n\n get deprecatedOverrideMaxWidthClass() {\n if (this.getAttribute(\"deprecatedoverridemaxwidthclass\") === null) {\n return defaultMultiline;\n }\n\n return this.getAttribute(\"deprecatedoverridemaxwidthclass\");\n }\n\n set deprecatedOverrideMaxWidthClass(value) {\n if (!value) {\n this.setAttribute(\"deprecatedoverridemaxwidthclass\", defaultMaxWidthClass);\n return;\n }\n\n this.setAttribute(\"deprecatedoverridemaxwidthclass\", value);\n }\n\n get tooltipClass() {\n if (this.getAttribute(\"tooltipclass\") === null) {\n return \"\";\n }\n\n return this.getAttribute(\"tooltipclass\");\n }\n\n set tooltipClass(value) {\n if (!value) {\n this.setAttribute(\"tooltipclass\", \"\");\n return;\n }\n\n this.setAttribute(\"tooltipclass\", value);\n }\n\n get arrowClass() {\n if (this.getAttribute(\"arrowclass\") === null) {\n return \"\";\n }\n\n return this.getAttribute(\"arrowclass\");\n }\n\n set arrowClass(value) {\n if (!value) {\n this.setAttribute(\"arrowclass\", \"\");\n return;\n }\n\n this.setAttribute(\"arrowclass\", value);\n }\n\n get innerClass() {\n if (this.getAttribute(\"innerclass\") === null) {\n return \"\";\n }\n\n return this.getAttribute(\"innerclass\");\n }\n\n set innerClass(value) {\n if (!value) {\n this.setAttribute(\"innerclass\", \"\");\n return;\n }\n\n this.setAttribute(\"innerclass\", value);\n }\n\n connectedCallback() {\n this._updateInnerClasses();\n\n if (!this.placement) {\n // Attribute changed callback already calls internal methods to update placement and tooltip\n this.placement = defaultPlacement;\n } else {\n this._updateTooltip();\n }\n }\n\n disconnectedCallback() {\n this._releaseResources();\n }\n\n attributeChangedCallback(name) {\n switch (name) {\n case \"placement\":\n this._updateTooltip();\n break;\n\n case \"multiline\":\n this._updateInnerClasses();\n break;\n\n case \"deprecatedoverridemaxwidthclass\":\n this._updateInnerClasses();\n break;\n\n case \"tooltipclass\":\n this._updateTooltipClasses();\n break;\n\n case \"arrowclass\":\n this._updatePlacement();\n break;\n\n case \"innerclass\":\n this._updateInnerClasses();\n break;\n\n default:\n break;\n }\n }\n\n _onSlotChange(event) {\n switch (event.target.name) {\n case \"trigger\":\n this._triggerSlotChanged();\n break;\n case \"content\":\n this._contentSlotChanged();\n break;\n default:\n // Unsupported slot\n break;\n }\n }\n\n _triggerSlotChanged() {\n // If trigger is not undefined, we must re-create the popper instance from scratch\n if (this._trigger) {\n // Detach event listeners\n this._clearEventListeners(this._trigger);\n\n // Delete popper instance\n this._destroyPopperInstance();\n }\n\n if (this._triggerSlot.assignedElements().length === 0) {\n this._trigger = undefined;\n return;\n }\n\n [this._trigger] = this._triggerSlot.assignedElements();\n\n // Attach event listeners\n this._registerEventListeners(this._trigger);\n }\n\n _contentSlotChanged() {\n // Clear popper's inner content\n this._inner.innerHTML = \"\";\n\n // Stop watching previous content element\n this._contentObserver.disconnect();\n\n if (this._contentSlot.assignedElements().length === 0) {\n this._content = undefined;\n return;\n }\n\n [this._content] = this._contentSlot.assignedElements();\n\n // Move new content element into popper's inner div\n this._inner.appendChild(this._content.cloneNode(true));\n\n // Hide content\n this._content.style.display = \"none\";\n\n // Configure the observer to watch for content updates to reflect into the inner content\n this._contentObserver.observe(this._content, {\n attributes: true,\n childList: true,\n subtree: true,\n characterData: true,\n });\n }\n\n _onShowTooltip() {\n this._clearTimeout();\n\n this._popper.style.display = \"block\";\n\n if (!this._popperInstance) {\n // Create popper instance only when the tooltip is shown and only if it hasn't been created yet\n this._createPopperInstance(this._trigger, this._popper);\n }\n\n // Enable the revertPlacementUpdate and updatePlacement modifiers, and event listeners\n this._popperInstance.setOptions((options) => ({\n ...options,\n modifiers: [\n ...options.modifiers,\n { name: \"revertPlacementUpdate\", enabled: true },\n { name: \"updatePlacement\", enabled: true },\n { name: \"eventListeners\", enabled: true },\n ],\n }));\n\n // Request async update\n this._popperInstance.update();\n }\n\n _onHideTooltip() {\n // Use `setTimeout` to mimic Bootstrap's tooltip fade effect\n this._clearTimeout();\n\n this._onHideTimeout = setTimeout(() => {\n this._onHideTimeout = undefined;\n\n this._popper.style.display = \"none\";\n\n if (!this._popperInstance) {\n return;\n }\n\n // Disable the revertPlacementUpdate and updatePlacement modifiers, and event listeners\n this._popperInstance.setOptions((options) => ({\n ...options,\n modifiers: [\n ...options.modifiers,\n { name: \"revertPlacementUpdate\", enabled: false },\n { name: \"updatePlacement\", enabled: false },\n { name: \"eventListeners\", enabled: false },\n ],\n }));\n\n // Request async update\n this._popperInstance.update();\n }, transitionDuration);\n }\n\n _clearTimeout() {\n if (this._onHideTimeout) {\n clearTimeout(this._onHideTimeout);\n this._onHideTimeout = undefined;\n }\n }\n\n _onContentChanged() {\n // Since content styled as display none, we remove it before replacing\n const content = this._content.cloneNode(true);\n content.style.removeProperty(\"display\");\n\n // Move new content element into popper's inner div\n this._inner.innerHTML = \"\";\n this._inner.appendChild(content);\n }\n\n _createPopperInstance(reference, popper) {\n // Create popper instance and register event listeners\n this._popperInstance = createPopper(reference, popper, {\n modifiers: [\n {\n name: \"offset\",\n options: {\n offset: [0, 10],\n },\n },\n {\n name: \"arrow\",\n options: {\n padding: 5,\n element: this._arrow,\n },\n },\n // TODO: find a way to prevent placement update until the reference element is fully visible\n {\n name: \"revertPlacementUpdate\",\n enabled: true,\n phase: \"main\",\n options: {\n element: this,\n },\n requires: [\"flip\", \"hide\"],\n fn({ state, options }) {\n const { modifiersData, placement } = state;\n const { element } = options;\n\n if (modifiersData?.hide?.isReferenceHidden && placement !== element.placement) {\n // Revert placement update since the reference element is hidden\n // eslint-disable-next-line no-param-reassign\n state.placement = element.placement;\n }\n },\n },\n {\n name: \"updatePlacement\",\n enabled: true,\n phase: \"main\",\n options: {\n element: this,\n },\n requires: [\"revertPlacementUpdate\"],\n fn({ state, options }) {\n const { placement } = state;\n const { element } = options;\n if (placement !== element.placement) {\n element.placement = placement;\n\n // eslint-disable-next-line no-param-reassign\n state.reset = true;\n }\n },\n },\n ],\n placement: this.placement,\n });\n }\n\n _destroyPopperInstance() {\n if (!this._popperInstance) {\n return;\n }\n\n // Destroy popper instance\n this._popperInstance.destroy();\n this._popperInstance = undefined;\n }\n\n _updatePopperInstance() {\n if (!this._popperInstance) {\n return;\n }\n\n // Update placement via `setOptions`\n this._popperInstance.setOptions((options) => ({\n ...options,\n modifiers: [...options.modifiers],\n placement: this.placement,\n }));\n\n // Request async update\n this._popperInstance.update();\n }\n\n _updateTooltip() {\n // Conditionally add the popper to tooltip portal\n const tooltipPortal = getOrCreateTooltipPortal();\n if (!tooltipPortal.contains(this._popper)) {\n tooltipPortal.appendChild(this._popper);\n }\n\n this._updateTooltipClasses();\n this._updatePlacement();\n this._createOrUpdatePopperInstance();\n }\n\n _updateTooltipClasses() {\n // Clear class list\n this._tooltip.className = \"\";\n\n // Update classes that style the tooltip container\n addClassesFromString(this._tooltip, `${defaultTooltipClass} ${this.tooltipClass}`);\n }\n\n _updatePlacement() {\n // Clear class list\n this._arrow.className = \"\";\n\n // Update classes that style tooltip based on the placement\n addClassesFromString(\n this._arrow,\n `${defaultArrowClass} ${this.arrowClass} ${classes.placementClasses[this.placement]}`,\n );\n }\n\n _updateInnerClasses() {\n // Clear class list\n this._inner.className = \"\";\n\n // Update classes that style the tooltip inner container\n addClassesFromString(\n this._inner,\n `${defaultInnerClass} ${this.innerClass} ${this.deprecatedOverrideMaxWidthClass} ${\n this.multiline === \"true\" ? classes.inner.multiLineClasses : classes.inner.singleLineClasses\n }`,\n );\n }\n\n _createOrUpdatePopperInstance() {\n if (this._popperInstance) {\n this._updatePopperInstance();\n return;\n }\n\n // Do nothing while trigger instance is not defined\n if (!this._trigger) {\n return;\n }\n\n // Create popper instance\n this._createPopperInstance(this._trigger, this._popper);\n\n // Attach event listeners\n this._registerEventListeners(this._trigger);\n }\n\n _releaseResources() {\n // Clear event listeners\n this._clearEventListeners(this._trigger);\n\n this._destroyPopperInstance();\n\n // Conditionally remove the popper from tooltip portal\n const tooltipPortal = getOrCreateTooltipPortal();\n if (tooltipPortal.contains(this._popper)) {\n tooltipPortal.removeChild(this._popper);\n }\n }\n\n _registerEventListeners(reference) {\n if (!reference) {\n return;\n }\n\n // Attach event listeners\n showEvents.forEach((event) => {\n reference.addEventListener(event, this._onShowTooltip);\n });\n\n hideEvents.forEach((event) => {\n reference.addEventListener(event, this._onHideTooltip);\n });\n }\n\n _clearEventListeners(reference) {\n if (!reference) {\n return;\n }\n\n // Detach event listeners\n showEvents.forEach((event) => reference.removeEventListener(event, this._onShowTooltip));\n hideEvents.forEach((event) => reference.removeEventListener(event, this._onHideTooltip));\n\n // Stop watching\n this._contentObserver.disconnect();\n }\n}\n\n// Define crm-tooltip element only once\nif (customElements.get(\"crm-tooltip\") === undefined) {\n customElements.define(\"crm-tooltip\", CRMTooltip);\n}\n","/* eslint-disable camelcase */\nclass Address {\n constructor(properties) {\n this.locality = properties?.locality || \"\";\n this.postalCode = properties?.postalCode || \"\";\n this.streetAddress = properties?.streetAddress || \"\";\n this.city = properties?.city || \"\";\n }\n\n get firstLine() {\n return this.streetAddress;\n }\n\n get secondLine() {\n const partOne = this.city;\n const partTwo = [this.locality, this.postalCode].filter((x) => !!x).join(\" \");\n\n return [partOne, partTwo].filter((x) => !!x).join(\", \");\n }\n\n get fullAddress() {\n return [this.firstLine, this.secondLine];\n }\n}\n\nexport default Address;\n","/* eslint-disable camelcase */\nclass Agent {\n constructor({ first_name, last_name, avatar, id, photo_url, show_url }) {\n this.firstName = first_name;\n this.lastName = last_name;\n this.avatar = avatar;\n this.id = id;\n this.photo_url = photo_url;\n this.photoURL = photo_url;\n this.showURL = show_url;\n this.first_name = first_name;\n this.last_name = last_name;\n }\n\n get name() {\n if (this.firstName || this.lastName) {\n return [this.firstName, this.lastName].join(\" \");\n }\n return \"N/A\";\n }\n\n get title() {\n return this.name;\n }\n\n get initials() {\n if (this.firstName || this.lastName) {\n return [this.firstName, this.lastName]\n .filter((f) => !!f)\n .map((s) => s.toUpperCase()[0])\n .join(\"\")\n .slice(0, 2);\n }\n return \"N/A\";\n }\n}\n\nexport default Agent;\n","/* eslint-disable no-underscore-dangle, no-bitwise */\nimport queryString from \"query-string\";\nimport toUSString from \"./Currency\";\n\nconst _pipe = (a, b) => (arg) => b(a(arg));\nexport const pipe = (...ops) => ops.reduce(_pipe);\nexport const adjustSeparator = (valueString) => valueString.replace(/,/g, \"\");\nexport const numberify = (valueString) => Number(valueString);\nexport const round = (number) => Math.round(number);\n\nexport const formatNumber = (value) => pipe(adjustSeparator, numberify, round)(value);\nexport const formatNumberRaw = (value) => pipe(adjustSeparator, Number)(value);\nexport const formatUSD = (value) => pipe(formatNumber, toUSString)(value);\nexport const formatUSDDecimal = (value) => pipe(formatNumberRaw, toUSString)(value);\nexport const formatDecimal = (value) => pipe(adjustSeparator, numberify)(value);\nexport const usdOrEmpty = (value) => (formatUSD(value) === \"$NaN\" ? \"\" : `${formatUSD(value)}`);\nexport const deciamlUsdOrEmpty = (value) =>\n formatUSDDecimal(value) === \"$NaN\" ? \"\" : `${formatUSDDecimal(value)}`;\nexport const numberOrEmpty = (value) => (Number.isNaN(value) ? \"\" : `${formatNumber(value)}`);\nexport const percentageOrEmpty = (value) => (Number.isNaN(value) ? \"\" : `${formatDecimal(value)}%`);\n\nexport const getRandomNumber = (min, max) => {\n const cryptoObj = window.crypto || window.msCrypto; // Browser compatibility\n const randomBytes = new Uint32Array(1);\n cryptoObj.getRandomValues(randomBytes);\n const randomNumber = randomBytes[0];\n if (min || max) {\n return min + (randomNumber % (max - min + 1));\n }\n return randomNumber;\n};\n\nexport const uuidv4 = () => {\n let d = new Date().getTime(); // Timestamp\n let d2 = (typeof performance !== \"undefined\" && performance.now && performance.now() * 1000) || 0; // Time in microseconds since page-load or 0 if unsupported\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, (c) => {\n let r = getRandomNumber(0, 16); // random number between 0 and 16\n if (d > 0) {\n // Use timestamp until depleted\n r = (d + r) % 16 | 0;\n d = Math.floor(d / 16);\n } else {\n // Use microseconds since page-load if supported\n r = (d2 + r) % 16 | 0;\n d2 = Math.floor(d2 / 16);\n }\n return (c === \"x\" ? r : (r & 0x3) | 0x8).toString(16);\n });\n};\n\nexport const sortBy = (array, key, inverse = false) =>\n [...array].sort((a, b) => {\n if (inverse) {\n return b[key] - a[key];\n }\n return a[key] - b[key];\n });\nexport const titleize = (string) =>\n string\n // insert a space before all caps\n .replace(/([A-Z])/g, \" $1\")\n // uppercase the first character\n .replace(/^./, (str) => str.toUpperCase());\n\nexport const newUrlBuilder = (filters, currentUrl) => {\n const { origin } = new URL(currentUrl);\n const basePath = \"listings\";\n const singleStatus = filters.status.length === 1;\n const queryFilters = singleStatus ? { ...filters, status: [] } : filters;\n const pathStatus = singleStatus ? filters.status[0].replace(\" \", \"_\").replace(\"draft\", \"drafts\") : \"\";\n if (!queryFilters.search) {\n delete queryFilters.search;\n }\n\n const targetUrl = [origin, basePath, pathStatus].join(\"/\");\n const newQuery = queryString.stringify(queryFilters, { arrayFormat: \"bracket\" });\n\n return `${targetUrl}?${newQuery}`;\n};\n\nexport const intFormatUSD = (valueString) =>\n new Intl.NumberFormat(\"en-US\", { style: \"currency\", currency: \"USD\" }).format(valueString);\nexport const pureFormatUSD = (valueString) => intFormatUSD(valueString).slice(1);\nexport const range = (smaller, greater) =>\n Array(greater - smaller + 1)\n .fill(smaller)\n .map((n, i) => n + i);\n\nconst inRange = (min, max, item) => item >= min && item <= max;\nconst paginationLeftBlock = (currentPage, maxEdgeSize, maxDistance) =>\n range(1, maxEdgeSize).filter((item) => item < currentPage - maxDistance + 1 && item > 0);\nconst paginationCentralBlock = (currentPage, maxDistance, totalPages) =>\n range(currentPage - maxDistance, currentPage + maxDistance).filter((item) => inRange(1, totalPages, item));\nconst paginationRightBlock = (currentPage, maxEdgeSize, maxDistance, totalPages) =>\n range(totalPages - maxEdgeSize + 1, totalPages).filter(\n (item) => item > currentPage - maxDistance && item <= totalPages,\n );\nconst paginationBlocks = (currentPage, maxEdgeSize, maxDistance, totalPages) => [\n paginationLeftBlock(currentPage, maxEdgeSize, maxDistance),\n paginationCentralBlock(currentPage, maxDistance, totalPages),\n paginationRightBlock(currentPage, maxEdgeSize, maxDistance, totalPages),\n];\n\nconst inSequence = (smaller, greater, step = 1) => smaller === greater - step;\nconst uniqueArray = (array) => Array.from(new Set(array));\n\nexport const paginationOptions = ({ totalPages, currentPage, maxDistance = 4, maxEdgeSize = 2 }) =>\n uniqueArray(paginationBlocks(currentPage, maxEdgeSize, maxDistance, totalPages).flat());\n\nexport const paginationOptionsWithExplicitGaps = ({\n totalPages,\n currentPage,\n maxDistance = 4,\n maxEdgeSize = 2,\n}) =>\n paginationOptions({ totalPages, currentPage, maxDistance, maxEdgeSize })\n .map((item, index, array) => (inSequence(array[index - 1] || 0, item) ? item : [null, item]))\n .flat();\n\nexport const reorderNotesBasedOnStarred = (notes) => {\n const starredNotes = notes.filter((note) => note.starred);\n const unstarredNotes = notes.filter((note) => !note.starred);\n const sortedStarredNotes = starredNotes.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));\n const sortedUnstarredNotes = unstarredNotes.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));\n return [...sortedStarredNotes, ...sortedUnstarredNotes];\n};\n\nconst baseFieldsToLock = [\n \"dom\",\n \"lastUpdated\",\n \"newMilestones\",\n \"photo\",\n \"statusChangedAt\",\n \"mutualAcceptanceDate\",\n];\n\nconst fieldsToLock = {\n default: new Set([...baseFieldsToLock]),\n buyer: new Set([...baseFieldsToLock, \"dateExpired\", \"expiration\"]),\n referral: new Set([\n ...baseFieldsToLock,\n \"closePrice\",\n \"dateListed\",\n \"listingPrice\",\n \"mls\",\n \"mlsNumber\",\n \"price\",\n ]),\n};\n\nconst financialsFields = new Set([\"closePrice\", \"gci\"]);\n\nexport const isFinancial = (property) => financialsFields.has(property);\n\nconst pipelineFields = new Set([\"closePrice\", \"gci\"]);\n\nexport const isEditableAt = (transaction, property, canEditFinancials = false) => {\n const columns = fieldsToLock[transaction.type] || fieldsToLock.default;\n if (columns.has(property)) {\n return false;\n }\n\n if (transaction.status === \"pipeline\") {\n return !pipelineFields.has(property);\n }\n\n return !isFinancial(property) || canEditFinancials;\n};\n","// eslint-disable-next-line import/no-cycle\nimport { Agent, Address } from \"./index\";\n\nclass Listing {\n constructor({\n id,\n uuid,\n title,\n address,\n closeDate,\n closePrice,\n canceledDate,\n dateListed,\n dateExpired,\n mutualAcceptanceDate,\n dom,\n grossCommission,\n lastUpdated,\n listingPrice,\n mlsNumber,\n newMilestones,\n status,\n statusChangedAt,\n photoURL,\n sourceId,\n agent,\n type,\n useCustomTitle,\n showUrl,\n editUrl,\n showURL,\n editURL,\n failedAt,\n }) {\n this.id = id;\n this.uuid = uuid;\n this.title = title;\n this.address = new Address(address);\n this.closeDate = closeDate;\n this.closePrice = closePrice;\n this.canceledDate = canceledDate;\n this.dateListed = dateListed;\n this.dateExpired = dateExpired;\n this.mutualAcceptanceDate = mutualAcceptanceDate;\n this.dom = dom;\n this.grossCommission = grossCommission;\n this.lastUpdated = lastUpdated;\n this.listingPrice = listingPrice;\n this.newMilestones = newMilestones;\n this.mlsNumber = mlsNumber;\n this.status = status;\n this.statusChangedAt = statusChangedAt;\n this.photoURL = photoURL;\n this.sourceId = sourceId;\n this.type = type;\n this.useCustomTitle = useCustomTitle;\n\n this.agent = new Agent(agent);\n this.showURL = showUrl || showURL;\n this.editURL = editUrl || editURL;\n this.isDeletable = this.status === \"archived\";\n this.failedAt = failedAt;\n }\n}\n\nexport default Listing;\n","import { isArray, isObject, camelCase, transform, snakeCase, get, set, startCase } from \"lodash\";\n\nconst isString = (value) => {\n return typeof value === \"string\" || value instanceof String;\n};\n\nexport const sortByKey = (data, sortKey) => {\n const list = [...data];\n const multiplier = 1;\n\n return list.sort((a, b) => {\n let aVal = a[sortKey];\n let bVal = b[sortKey];\n\n if (isString(aVal) && isString(bVal)) {\n aVal = aVal ? aVal.toLowerCase() : 0;\n bVal = bVal ? bVal.toLowerCase() : 0;\n } else {\n aVal = aVal ? aVal : 0;\n bVal = bVal ? bVal : 0;\n }\n\n return aVal > bVal ? multiplier : aVal < bVal ? -multiplier : 0;\n });\n};\n\nexport const stripHtml = (text) => {\n let tmpDoc, htmlStrippedText;\n //Strip HTML tags from text\n tmpDoc = document.implementation.createHTMLDocument(\"New\").body;\n tmpDoc.innerHTML = text;\n htmlStrippedText = tmpDoc.innerText || tmpDoc.textContent || \"\";\n return htmlStrippedText;\n};\n\nexport const toTitleCase = (str) => {\n if (!str) {\n return \"\";\n }\n\n return str.replace(/\\w\\S*/g, (text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase());\n};\n\nexport const tryCatchHandlr = async (promise) => {\n try {\n const data = await promise;\n return [data, null];\n } catch (err) {\n return [null, err];\n }\n};\n\nexport const promiseDebounce = (inner, ms = 500) => {\n let timer = null;\n let resolves = [];\n return function (...args) {\n clearTimeout(timer);\n timer = setTimeout(() => {\n let result = inner(...args);\n resolves.forEach((r) => r(result));\n resolves = [];\n }, ms);\n return new Promise((r) => resolves.push(r));\n };\n};\n\nexport const getLetters = (name) => {\n if (!name) return \"\";\n const nameParts = name.split(\" \");\n return (nameParts[0][0] + (nameParts[1] ? nameParts[1][0] : nameParts[0][1])).toUpperCase();\n};\n\nexport const range = (smaller, greater, step = 1) =>\n Array(greater - smaller + 1)\n .fill(smaller)\n .map((n, i) => n + i * step);\n\nexport const inRange = (min, max, item) => item >= min && item <= max;\nexport const inSequence = (smaller, greater, step = 1) => smaller === greater - step;\nexport const uniqueArray = (array) => Array.from(new Set(array));\nexport const numericalCompare = (a, b) => a - b;\n\n/**\n * Recursively transforms the given object's keys from snake_case to camelCase.\n * @param {object} obj - The object to transform.\n * @example\n * // returns {\n * // exampleKey: [1, 2, 3],\n * // anotherKey: {\n * // innerKey: \"example_value\",\n * // }\n * // }\n * camelizeKeys({\n * example_key: [1, 2, 3],\n * another_key: {\n * inner_key: \"example_value\"\n * }\n * })\n */\nexport const camelizeKeys = (obj) => {\n if (!obj) return;\n\n return transform(obj, (acc, value, key, target) => {\n const camelKey = isArray(target) ? key : camelCase(key);\n acc[camelKey] = isObject(value) ? camelizeKeys(value) : value;\n });\n};\n\n/**\n * Recursively transforms the given object's keys from camelCase to snake_case.\n * @param {object} obj - The object to transform.\n * @example\n * // returns {\n * // example_key: [1, 2, 3],\n * // another_key: {\n * // inner_key: \"example_value\",\n * // }\n * // }\n * snakefyKeys({\n * exampleKey: [1, 2, 3],\n * anotherKey: {\n * innerKey: \"example_value\"\n * }\n * })\n */\nexport const snakefyKeys = (obj) =>\n transform(obj, (acc, value, key, target) => {\n const snakeKey = isArray(target) ? key : snakeCase(key);\n acc[snakeKey] = isObject(value) ? snakefyKeys(value) : value;\n });\n\n/**\n * Logs a deprecation warning only if not in production.\n *\n * Warnings are prefixed with `[DEPRECATION WARNING]`.\n *\n * @param {string} warning\n */\nexport const deprecationWarning = (warning) => {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(`[DEPRECATION WARNING] ${warning}`);\n }\n};\n\n/**\n * Accepts a string or number and returns a number.\n *\n * @param {string | number} value\n * @returns {number}\n */\nexport const toNumber = (value) => (typeof value === \"number\" ? value : Number(value.replaceAll(\",\", \"\")));\n\n/**\n * Uses lodash's get/set to assign a value to a path in an object only if different than the current value.\n *\n * @param {Record} obj\n * @param {string} path\n * @param {unknown} value\n * @returns {boolean} `true` if assigned, `false` if not.\n */\nexport const assignIfDifferent = (obj, path, value) => {\n const currentValue = get(obj, path);\n\n if (currentValue !== value) {\n set(obj, path, value);\n return true;\n }\n\n return false;\n};\n\nexport const removeAllSpacesFromString = (str) => str.replace(/\\s/g, \"\");\n\n//Splits strings by seperator\nexport const strSplitter = (str = \"\", serpator = \".\") => str.split(serpator);\n\n//Creates shallow copy of an object\nexport const shallowCopy = (iterable = {}) => JSON.parse(JSON.stringify(iterable));\n\n// Retrieves the the last string splits by seperator (default .)\nexport const propsKey = (str = \"\", serpator = \".\") => {\n const seperateStr = strSplitter(str, serpator);\n return seperateStr[seperateStr.length - 1];\n};\n\n//Scrolls page to either targetted element or page\nexport const scrollElementToTop = (elementById, top = 0, behavior = \"instant\") => {\n const element = document.getElementById(elementById);\n\n const scrollThis = elementById ? element : window;\n\n scrollThis.scrollTo({\n top,\n behavior,\n });\n};\n\n// Changes string into PascalCase;\nexport const pascalCase = (str) => startCase(str).replace(/ /g, '');\n\n// Returns true if theme is Place;\nexport const isPlace = (theme) => theme === 'place-theme';\n\nexport const homeAppTxt = ({\n recipientFirstName = '', \n recipientEmailAddress = '',\n teamName = '',\n primaryAgentName= '',\n brivityAppLink = '',\n}) => `Hi ${recipientFirstName}, this is ${primaryAgentName} with ${teamName}. You can download my Brivity Home app to search for homes here: ${brivityAppLink}.\\n\\nTo log in, use the email address I have on file for you: ${recipientEmailAddress}.`","import { Listing, Agent } from \"./models\";\nimport { camelizeKeys } from \"../shared/Utilities\";\n\nconst currencyToNumber = (value) =>\n value ? value?.toString()?.replace(/,/g, \"\")?.replace(/\\$/g, \"\") : value;\n\nexport const listingFromAPI = (listingData) => ({\n id: listingData.id,\n uuid: listingData.uuid,\n title: listingData.title,\n address: camelizeKeys(listingData.address),\n agent: listingData.agent,\n closeDate: listingData.close_date,\n closePrice: currencyToNumber(listingData.close_price),\n canceledDate: listingData.canceled_date,\n dateListed: listingData.date_listed,\n dateExpired: listingData.expiration_date,\n mutualAcceptanceDate: listingData.mutual_acceptance_date,\n\n grossCommission: currencyToNumber(listingData.gross_commission),\n dom: listingData.dom === \"n/a\" ? null : listingData.dom,\n lastUpdated: listingData.last_update,\n listingPrice: currencyToNumber(listingData.price),\n mlsNumber: listingData.mls_number,\n photoURL: listingData.photo_without_placeholder,\n\n sourceId: listingData.source_id,\n status: listingData.status?.toLowerCase()?.replace(\"coming soon\", \"comingsoon\"),\n statusChangedAt: listingData.status_changed_at,\n type: listingData.type,\n useCustomTitle: listingData.use_custom_title,\n\n showUrl: listingData.show_url,\n editUrl: listingData.edit_url,\n\n newMilestones: listingData.new_milestones,\n});\n\nexport const listingToAPI = (listing) => ({\n // Only a small subset is directly updated\n close_date: listing.closeDate,\n canceled_date: listing.canceledDate,\n date_listed: listing.dateListed,\n expiration_date: listing.dateExpired,\n\n price: listing.listingPrice,\n mls_number: listing.mlsNumber,\n\n source_id: listing.sourceId,\n status: listing.status?.replace(\"comingsoon\", \"coming soon\"),\n});\n\nconst financialAdditionalToAPI = (additional) => {\n const base = {\n name: additional.name,\n percentage: additional.byPercentage,\n value: currencyToNumber(additional.value),\n notes: additional.notes,\n position: Number(additional.order) + 1,\n line_total: currencyToNumber(additional.previousTotal),\n // eslint-disable-next-line no-underscore-dangle\n _destroy: additional._destroy,\n };\n\n if (additional.id) base.id = additional.id;\n if (additional.isRevenue) {\n base.income_amount = additional.subtotal;\n } else {\n base.expense_amount = additional.subtotal;\n base.transaction_expense_type_id = additional.transaction_expense_type_id;\n }\n\n return base;\n};\n\nconst financialAdditionalFromAPI = (additional) => {\n const maybeValue = currencyToNumber(additional.value);\n const value = maybeValue ? Math.abs(Number(maybeValue)) : maybeValue;\n const type = Object.keys(additional).indexOf(\"expense_amount\") === -1 ? \"revenue\" : \"expense\";\n const base = {\n name: additional.name,\n amountValue: value,\n amountType: additional.percentage ? \"percent\" : \"flat\",\n type,\n notes: additional.notes,\n order: Number(additional.position) - 1,\n };\n\n if (additional.id) base.id = additional.id;\n if (type === \"expense\") base.transaction_expense_type_id = additional.transaction_expense_type_id;\n\n return base;\n};\n\nexport const financialDetailFromAPI = (detail, additionals, template, listing) => ({\n id: detail.id,\n closePrice: detail.closed_volume,\n commissionValue: detail.commission,\n commissionType: detail.commission_percentage ? \"percent\" : \"flat\",\n notes: detail.commission_notes,\n additionals: additionals.map(financialAdditionalFromAPI),\n financialTemplate: camelizeKeys(template),\n listing,\n});\n\nexport const financialDetailToAPI = (detail) => ({\n closed_volume: currencyToNumber(detail.closePrice),\n commission: currencyToNumber(detail.commissionValue),\n commission_percentage: detail.commissionType === \"percent\",\n commission_notes: detail.notes,\n gci: currencyToNumber(detail.gci),\n gross_income: currencyToNumber(detail.subtotal),\n\n custom_transaction_revenues_attributes: detail.additionals\n .filter((a) => a.isRevenue)\n .map(financialAdditionalToAPI),\n custom_transaction_expenses_attributes: detail.additionals\n .filter((a) => !a.isRevenue)\n .map(financialAdditionalToAPI),\n});\n\nexport const serverPropsAdapter = (props) => {\n const adaptedListingData = props.initialState.listings.data.map(listingFromAPI);\n // eslint-disable-next-line no-underscore-dangle\n const _listings = { ...props.initialState.listings };\n _listings.entries = adaptedListingData.map((l) => new Listing(l));\n _listings.data = adaptedListingData;\n _listings.totals = {\n buyers: _listings.totals.buyers,\n sellers: _listings.totals.sellers,\n landlords: _listings.totals.landlords,\n tenants: _listings.totals.tenants,\n referrals: _listings.totals.referrals,\n count: _listings.totals.buyers + _listings.totals.sellers,\n closedVolume: _listings.totals.closed_volume,\n estimatedClosedVolume: _listings.totals.estimated_closed_volume,\n actualClosedVolume: _listings.totals.actual_closed_volume,\n grossCommission: _listings.totals.gross_commission,\n estimatedGrossCommission: _listings.totals.estimated_gross_commission,\n actualGrossCommission: _listings.totals.actual_gross_commission,\n listingPrice: _listings.totals.price,\n };\n const pagination = props.initialState.pagination ? camelizeKeys(props.initialState.pagination) : null;\n const adaptedStatusFilters = props.initialState.filters.status.map((s) =>\n s.replace(/coming[ _]soon/, \"coming-soon\").replace(\"drafts\", \"draft\"),\n );\n\n return {\n ...props,\n agents: props.agents.map((data) => new Agent(data)),\n initialState: {\n ...props.initialState,\n filters: {\n ...props.initialState.filters,\n status: adaptedStatusFilters,\n },\n listings: _listings,\n pagination,\n updateAddressModal: {\n isUpdateAddressModalOpen: false,\n uuid: \"\",\n tempStatus: null,\n },\n importModal: {\n isImportModalOpen: false,\n listing: null,\n updatedStatus: \"\",\n },\n },\n userTeamId: props.userTeamId,\n userFullName: props.userFullName,\n };\n};\n\nconst numberifyAggregations = (data) => {\n Object.keys(data).forEach((key) => {\n data[key] = Number(data[key]); // eslint-disable-line no-param-reassign\n });\n};\n\nexport const aggregationsByStatus = (data) => {\n const newData = { ...data };\n if (data.coming_soon) {\n newData.comingsoon = { ...newData.coming_soon };\n delete newData.coming_soon;\n }\n\n Object.keys(newData).forEach((status) => {\n numberifyAggregations(newData[status]);\n });\n\n return newData;\n};\n","/* eslint-disable no-param-reassign */\n\nconst collapseSchemaProps = (schema) =>\n Object.keys(schema)\n .map((state) => schema[state])\n .flat()\n .join(\" \");\n\n/**\n * Concatenates properties of each state for each schema into an array of classNames.\n * @param {object} dictionary - An object with the schemas, each being an object with states (ie: default, hover, focus, active, checked, etc) as key and and array of classNames as values.\n * @example\n * // returns {\n * // regular: \"a b c\"\n * // hover: \"d e f\",\n * // }\n * schemaGenerator({\n * regular: {\n * default: [\"a\", \"b\"],\n * hover: [\"c\"],\n * },\n * error: {\n * default: [\"d\"],\n * hover: [\"e\", \"f\"],\n * }\n * })\n */\nexport const schemaGenerator = (dictionary) =>\n Object.keys(dictionary).reduce((acc, schema) => {\n acc[schema] = collapseSchemaProps(dictionary[schema]);\n return acc;\n }, {});\n\nexport default schemaGenerator;\n\n/*\n * Measure text using Canvas.measureText method.\n * @param {HTMLElement} element - HTML element to get the font configuration\n * @param {string} text - The text string to measure\n * @return a TextMetrics object or null if Canvas 2D context is not supported.\n * See https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/measureText\n * and https://developer.mozilla.org/docs/Web/API/Canvas_API/Tutorial/Basic_usage#checking_for_support\n * and https://stackoverflow.com/a/21015393/4011478\n */\nexport const measureText = (element, text) => {\n const context = document.createElement(\"canvas\")?.getContext(\"2d\");\n if (!context) {\n return null;\n }\n // Get font properties from `element`\n const fontWeight = window.getComputedStyle(element, null).getPropertyValue(\"font-weight\") || \"normal\";\n const fontSize = window.getComputedStyle(element, null).getPropertyValue(\"font-size\") || \"16px\";\n const fontFamily =\n window.getComputedStyle(element, null).getPropertyValue(\"font-family\") || \"Times New Roman\";\n context.font = `${fontWeight} ${fontSize} ${fontFamily}`;\n return context.measureText(text);\n};\n\n/**\n * Resizes input element based on value length.\n * @param {HTMLInputElement} input - The input element to resize\n * @param {string} value - The value to use for measuring the length\n */\nexport const resizeInputBasedOnValue = (input, value) => {\n if (!input) {\n return;\n }\n\n if (value === \"\") {\n input.style.width = \"initial\";\n input.style.boxSizing = \"border-box\";\n return;\n }\n\n const metrics = measureText(input, value);\n\n if (!metrics) {\n // Using the `ch` unit approach, when Canvas.measureText method is not supported\n // See https://developer.mozilla.org/en-US/docs/Web/CSS/length#ch\n input.style.width = `${value.length + 1}ch`;\n } else {\n input.style.width = `${metrics.width}px`;\n }\n\n input.style.boxSizing = \"content-box\";\n};\n\nexport const getInitials = (text) => {\n const words = text.split(\" \");\n const firstWord = words[0];\n const lastWord = words.length > 1 ? words[words.length - 1] : \"\";\n\n return [firstWord, lastWord].map((word) => word[0]?.toUpperCase() || \"\").join(\"\");\n};\n","/* eslint-disable no-param-reassign */\nimport { schemaGenerator } from \"../utils\";\n\nconst borderDictionary = {\n secondary: {\n medium:\n \"tw-border-theme-button-medium hover:tw-border-theme-button-medium-hover active:tw-border-theme-button-medium-active disabled:tw-border-theme-button-medium\",\n small:\n \"tw-border-theme-button-small hover:tw-border-theme-button-small-hover active:tw-border-theme-button-small-active disabled:tw-border-theme-button-small\",\n },\n other: {\n medium: \"tw-border-2px active:tw-border-3px disabled:tw-border-2px\",\n small: \"tw-border-[1.5px] active:tw-border-2px disabled:tw-border-[1.5px]\",\n },\n};\nexport const border = (schema, size) => {\n const schemaKey = schema === \"secondary\" ? schema : \"other\";\n return borderDictionary[schemaKey][size];\n};\n\nconst paddingDictionary = {\n secondary: {\n medium: [\n \"tw-px-theme-button-horizontal-medium\",\n \"tw-py-theme-button-vertical-medium\",\n \"hover:tw-px-theme-button-horizontal-medium-hover\",\n \"hover:tw-py-theme-button-vertical-medium-hover\",\n \"active:tw-px-theme-button-horizontal-medium-active\",\n \"active:tw-py-theme-button-vertical-medium-active\",\n \"disabled:tw-px-theme-button-horizontal-medium\",\n \"disabled:tw-py-theme-button-vertical-medium\",\n ].join(\" \"),\n small: [\n \"tw-px-theme-button-horizontal-small\",\n \"tw-py-theme-button-vertical-small\",\n \"hover:tw-px-theme-button-horizontal-small-hover\",\n \"hover:tw-py-theme-button-vertical-small-hover\",\n \"active:tw-px-theme-button-horizontal-small-active\",\n \"active:tw-py-theme-button-vertical-small-active\",\n \"disabled:tw-px-theme-button-horizontal-small\",\n \"disabled:tw-py-theme-button-vertical-small\",\n ].join(\" \"),\n },\n other: {\n medium:\n \"tw-px-18px tw-py-6px active:tw-px-[17px] active:tw-py-[5px] disabled:tw-px-18px disabled:tw-py-6px\",\n small:\n \"tw-px-[6.5px] tw-py-[2.5px] active:tw-px-6px active:tw-py-2px disabled:tw-px-[6.5px] disabled:tw-py-[2.5px]\",\n },\n};\nexport const padding = (schema, size) => {\n const schemaKey = schema === \"secondary\" ? schema : \"other\";\n return paddingDictionary[schemaKey][size];\n};\n\nconst fontSizeDictionary = {\n medium: \"tw-text-14d\",\n small: \"tw-text-11d\",\n};\nexport const font = (size) => fontSizeDictionary[size] || fontSizeDictionary.small;\n\nconst heightDictionary = {\n medium: \"tw-h-36px\",\n small: \"tw-h-24px\",\n};\n\nexport const height = (size) => heightDictionary[size] || heightDictionary.small;\n\nexport const schemaClasses = {\n primary: {\n default: [\"tw-text-white\", \"tw-bg-theme-button-primary\", \"tw-border-theme-button-primary\"],\n hover: [\"hover:tw-bg-theme-button-primary-hover\", \"hover:tw-border-theme-button-primary-hover\"],\n active: [\"active:tw-bg-theme-button-primary-active\", \"active:tw-border-theme-button-primary-active\"],\n loading: [\"loading:tw-bg-theme-button-primary-active\", \"loading:tw-border-theme-button-primary-active\"],\n disabled: [\n \"disabled:tw-bg-theme-button-primary-disabled\",\n \"disabled:tw-border-theme-button-primary-disabled\",\n ],\n },\n secondary: {\n default: [\"tw-text-theme-button-secondary\", \"tw-bg-transparent\", \"tw-border-theme-button-secondary\"],\n hover: [\"hover:tw-bg-theme-button-secondary-hover\", \"hover:tw-border-theme-button-secondary-hover\"],\n active: [\n \"active:tw-text-theme-button-secondary-active\",\n \"active:tw-bg-theme-button-secondary-active\",\n \"active:tw-border-theme-button-secondary-active\",\n ],\n loading: [\n \"loading:tw-text-theme-button-secondary-active\",\n \"loading:tw-bg-theme-button-secondary-active\",\n \"loading:tw-border-theme-button-secondary-active\",\n ],\n disabled: [\n \"disabled:tw-bg-transparent\",\n \"disabled:tw-border-theme-button-secondary-disabled\",\n \"disabled:tw-text-theme-button-secondary-disabled\",\n ],\n },\n tertiary: {\n default: [\"tw-text-neutral-gray-75\", \"tw-bg-neutral-gray-10\", \"tw-border-neutral-gray-10\"],\n hover: [\"hover:tw-bg-neutral-gray-15\", \"hover:tw-border-neutral-gray-15\"],\n active: [\"active:tw-bg-neutral-gray-30\", \"active:tw-border-neutral-gray-30\"],\n loading: [\n \"loading:tw-bg-neutral-gray-30\",\n \"loading:tw-border-neutral-gray-30\",\n \"loading:tw-text-neutral-gray-75\",\n ],\n disabled: [\n \"disabled:tw-bg-neutral-gray-10\",\n \"disabled:tw-border-neutral-gray-10\",\n \"disabled:tw-text-neutral-gray-30\",\n ],\n },\n warning: {\n default: [\"tw-text-semantic-red-100\", \"tw-bg-transparent\", \"tw-border-semantic-red-100\"],\n hover: [\"hover:tw-bg-semantic-red-5\", \"hover:tw-border-semantic-red-100\"],\n active: [\"active:tw-bg-semantic-red-5\", \"active:tw-border-semantic-red-100\"],\n loading: [\n \"loading:tw-bg-semantic-red-5\",\n \"loading:tw-border-semantic-red-100\",\n \"loading:tw-text-semantic-red-100\",\n ],\n disabled: [\n \"disabled:tw-bg-transparent\",\n \"disabled:tw-border-semantic-red-10\",\n \"disabled:tw-text-semantic-red-10\",\n ],\n },\n \"transparent-primary\": {\n default: [\"tw-text-white\", \"tw-bg-transparent\", \"tw-border-white\"],\n hover: [\n \"hover:tw-bg-theme-button-transparent-primary-hover\",\n \"hover:tw-border-theme-button-transparent-primary-hover\",\n ],\n active: [\n \"active:tw-bg-theme-button-transparent-primary-active\",\n \"active:tw-border-theme-button-transparent-primary-active\",\n ],\n loading: [\n \"loading:tw-bg-theme-button-transparent-primary-active\",\n \"loading:tw-border-theme-button-transparent-primary-active\",\n \"loading:tw-text-white\",\n ],\n disabled: [\n \"disabled:tw-bg-transparent\",\n \"disabled:tw-border-neutral-gray-30\",\n \"disabled:tw-text-neutral-gray-30\",\n ],\n },\n \"transparent-secondary\": {\n default: [\"tw-text-white\", \"tw-bg-transparent\", \"tw-border-white\"],\n hover: [\"hover:tw-bg-black\", \"hover:tw-bg-opacity-50\"],\n active: [\"active:tw-bg-black\", \"active:tw-bg-opacity-75\"],\n loading: [\"loading:tw-bg-black\", \"loading:tw-bg-opacity-75\"],\n disabled: [\n \"disabled:tw-bg-transparent\",\n \"disabled:tw-border-neutral-gray-30\",\n \"disabled:tw-text-neutral-gray-30\",\n ],\n },\n \"semantic-blue\": {\n default: [\"tw-bg-white\", \"tw-border-semantic-blue-100\", \"tw-text-semantic-blue-100\"],\n hover: [\"hover:tw-bg-semantic-blue-5\"],\n active: [\"active:tw-bg-semantic-blue-10\"],\n loading: [\"loading:tw-bg-semantic-blue-10\"],\n disabled: [\n \"disabled:tw-bg-white\",\n \"disabled:tw-border-semantic-blue-10\",\n \"disabled:tw-text-semantic-blue-10\",\n ],\n },\n \"semantic-yellow\": {\n default: [\"tw-bg-transparent\", \"tw-border-[#E5941B]\", \"tw-text-[#E5941B]\", \"tw-border-[2px]\"],\n hover: [\"hover:tw-bg-semantic-yellow-10\"],\n active: [\"active:tw-bg-semantic-yellow-15\"],\n loading: [\"loading:tw-bg-semantic-yellow-15\"],\n disabled: [\n \"disabled:tw-bg-white\",\n \"disabled:tw-border-semantic-yellow-10\",\n \"disabled:tw-text-semantic-yellow-10\",\n ],\n },\n \"solid-green\": {\n default: [\"tw-text-white\", \"tw-bg-semantic-green-100\", \"tw-border-semantic-green-100\"],\n hover: [\"hover:tw-bg-semantic-green-110\", \"hover:tw-border-semantic-green-110\"],\n active: [\"active:tw-bg-semantic-green-120\", \"active:tw-border-semantic-green-120\"],\n disabled: [\"disabled:tw-bg-neutral-gray-30\", \"disabled:tw-border-neutral-gray-30\"],\n },\n \"solid-red\": {\n default: [\"tw-text-white\", \"tw-bg-semantic-red-100\", \"tw-border-semantic-red-100\"],\n hover: [\"hover:tw-bg-semantic-red-110\", \"hover:tw-border-semantic-red-110\"],\n active: [\"active:tw-bg-semantic-red-120\", \"active:tw-border-semantic-red-120\"],\n disabled: [\"disabled:tw-bg-neutral-gray-30\", \"disabled:tw-border-neutral-gray-30\"],\n },\n};\n\nexport const availableSchema = Object.keys(schemaClasses);\n\nexport const schemaDictionary = schemaGenerator(schemaClasses);\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\n\nimport { border, padding, font, height, schemaDictionary, availableSchema } from \"./Button.styles\";\n\nconst schemaBasedClasses = (schemaName) => schemaDictionary[schemaName];\n\nconst Button = forwardRef(\n ({ className, children, onClick, disabled, size, schema, isLoading, ...otherProps }, ref) => (\n \n {isLoading\n ? // When we turn on `isLoading`, we want to keep the button exactly the\n // same size to avoid layout shifts, which means we can't just stop\n // rendering `children`. Instead, we turn `children` invisible and\n // render an absolutely-positioned spinner over it.\n React.Children.map(children, (child) => {\n if (typeof child === \"object\") {\n return React.cloneElement(child, {\n className: [child.props?.className, \"tw-invisible\"].filter(Boolean).join(\" \"),\n });\n }\n\n return {child};\n })\n : children}\n\n {isLoading && (\n \n \n \n )}\n \n ),\n);\n\nButton.displayName = \"Button\";\n\nexport const buttonPropTypes = {\n className: PropTypes.string,\n children: PropTypes.node,\n onClick: PropTypes.func,\n disabled: PropTypes.bool,\n size: PropTypes.oneOf([\"medium\", \"small\"]),\n schema: PropTypes.oneOf(availableSchema),\n isLoading: PropTypes.bool,\n};\n\nexport const buttonDefaultProps = {\n className: \"\",\n children: null,\n onClick: null,\n disabled: false,\n size: \"small\",\n schema: \"primary\",\n isLoading: false,\n};\n\nButton.propTypes = buttonPropTypes;\n\nButton.defaultProps = buttonDefaultProps;\n\nexport default Button;\n","import axios from \"axios\";\nimport {\n camelCase,\n isArray,\n isObjectLike,\n isPlainObject,\n keys,\n map,\n replace,\n set,\n snakeCase,\n startsWith,\n transform,\n} from \"lodash\";\n\n// modified version of https://github.com/cape-io/lodash-humps\nfunction createIteratee(converter, self) {\n return (result, value, key) =>\n // custom bit to not convert keys that start with an underscore\n set(result, startsWith(key, \"_\") ? key : converter(key), isObjectLike(value) ? self(value) : value);\n}\n\nfunction createHumps(keyConverter) {\n return function humps(node) {\n if (isArray(node)) return map(node, humps);\n if (isPlainObject(node)) return transform(node, createIteratee(keyConverter, humps));\n return node;\n };\n}\n// end modified lodash-humps\n\n/**\n * this regex is 3 capturing groups (), the two on the ends (r1 and r3) capture the brackets\n * if any, and the center group (r2) captures the text to be snake_cased if any and applies\n * it globally to the string, capturing each set of groups and replacing each portion of the\n * string with the updated snakified value until there are no longer any matching sets\n */\nconst snakifyParamKey = (key) =>\n replace(key, /(\\[?)(\\w*)(\\]?)/g, (m, r1, r2, r3) => `${r1}${snakeCase(r2)}${r3}`);\n\n// converts camelCase params preserving nested key format\nconst snakifyParams = (params) =>\n keys(params).reduce((o, key) => ({ ...o, [snakifyParamKey(key)]: params[key] }), {});\n\n/**\n * This is an axios instance with request and response transforms that\n * can make dev life easier when working with a snake_case backend api.\n *\n * Simply put all data keys passed to a POST/PUT/PATCH request will be\n * converted to snake_case. All response data keys from any request will\n * be converted to camelCase no matter how deeply nested they may be.\n */\n\nconst caseTransformingAxios = axios.create();\n\nconst requestDataToSnakeCase = (data) => data && createHumps(snakeCase)(data);\nconst responseDataToCamelCase = (data) => data && createHumps(camelCase)(data);\n\ncaseTransformingAxios.interceptors.request.use(\n ({ data, headers, params, ...config }) => ({\n ...config,\n data: requestDataToSnakeCase(data),\n headers: { ...headers, \"x-csrf-token\": ReactOnRails.authenticityToken() },\n params: snakifyParams(params),\n }),\n (error) => Promise.reject(error),\n);\n\ncaseTransformingAxios.interceptors.response.use(\n ({ data, ...response }) => ({ ...response, data: responseDataToCamelCase(data) }),\n (error) => Promise.reject(error),\n);\n\n// We want to make this as obvious as possible when importing\nexport { caseTransformingAxios, createHumps, requestDataToSnakeCase, responseDataToCamelCase, snakifyParams };\n","import axios from \"axios\";\nimport axiosRetry from \"axios-retry\";\n\n// Creates a new instance to avoid global cascade of retries\nconst client = axios.create();\n\naxiosRetry(client, {\n retryDelay: (retryCount) => {\n return retryCount * 500;\n },\n retries: 2,\n});\n\nconst api = {\n index: (phoneNumbers, signal) => {\n const commaSeparatedNumbers = phoneNumbers.join(\",\");\n const path = \"/api/v4/dnc_phones\";\n return client.get(path, { params: { phone_numbers: commaSeparatedNumbers }, signal });\n },\n isDnc: (phoneNumber, dncStatuses) => {\n return Boolean(dncStatuses[phoneNumber]);\n },\n};\n\nexport default api;\n","const sizeDictionary = {\n s: \"tw-w-8px tw-h-8px\",\n m: \"tw-w-12px tw-h-12px\",\n l: \"tw-w-16px tw-h-16px\",\n xl: \"tw-w-20px tw-h-20px\",\n xxl: \"tw-w-24px tw-h-24px\",\n xxxl: \"tw-w-32px tw-h-32px\",\n xxxxl: \"tw-w-48px tw-h-48px\",\n // Sizes should be defined by the caller, through the `className` prop\n custom: \"\",\n\n // Should generally be avoided, in favor of the design system sizes above\n legacyInherit: \"tw-w-1em tw-h-1em\",\n};\n\nexport const availableSizes = Object.keys(sizeDictionary);\n\nexport const sizeClasses = (size) => sizeDictionary[size] || \"\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { availableSizes, sizeClasses } from \"./Icon.styles\";\n\nconst Icon = ({ className, size, name, children, ...otherProps }) => (\n \n {children}\n \n);\n\nIcon.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf(availableSizes),\n name: PropTypes.string.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nIcon.defaultProps = {\n className: \"\",\n size: \"m\",\n};\n\nexport default Icon;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AcornSolidV6 = (props) => (\n \n \n \n);\n\nexport default AcornSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AddUser = (props) => (\n \n \n \n);\n\nexport default AddUser;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AngleDownRegularV6 = (props) => (\n \n \n \n);\n\nexport default AngleDownRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AngleDownSolidV6 = (props) => (\n \n \n \n);\n\nexport default AngleDownSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AngleRightSolidV6 = (props) => (\n \n \n \n);\n\nexport default AngleRightSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ApartmentSolidV6 = (props) => (\n \n \n \n);\n\nexport default ApartmentSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AreaProCustomv6 = (props) => (\n \n \n \n);\n\nexport default AreaProCustomv6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowDown = (props) => (\n \n \n \n);\n\nexport default ArrowDown;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowDownToBracketSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowDownToBracketSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowLeft = (props) => (\n \n \n \n);\n\nexport default ArrowLeft;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowLeftSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowLeftSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowRightLongSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowRightLongSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowRightSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowRightSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowTrendUpSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowTrendUpSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowTurnDownRightSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowTurnDownRightSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowTurnUpSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowTurnUpSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowUp = (props) => (\n \n \n \n);\n\nexport default ArrowUp;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowUpRightFromSquareRegularV6 = (props) => (\n \n \n \n);\n\nexport default ArrowUpRightFromSquareRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowUpRightFromSquareSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowUpRightFromSquareSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowsRepeatRegularV6 = (props) => (\n \n \n \n);\n\nexport default ArrowsRepeatRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ArrowsRotateSolidV6 = (props) => (\n \n \n \n);\n\nexport default ArrowsRotateSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst AtRegularV6 = (props) => (\n \n \n \n);\n\nexport default AtRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BarsSolidV6 = (props) => (\n \n \n \n);\n\nexport default BarsSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BathRegularV6 = (props) => (\n \n \n \n);\n\nexport default BathRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BedEmptyRegularV6 = (props) => (\n \n \n \n);\n\nexport default BedEmptyRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Bolt = (props) => (\n \n \n \n);\n\nexport default Bolt;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BoltLightningSolidV6 = (props) => (\n \n \n \n);\n\nexport default BoltLightningSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BookBlankSolidV6 = (props) => (\n \n \n \n);\n\nexport default BookBlankSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BookmarkRegularV6 = (props) => (\n \n \n \n);\n\nexport default BookmarkRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BoxArchiveSolidV6 = (props) => (\n \n \n \n);\n\nexport default BoxArchiveSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BriefcaseSolidV6 = (props) => (\n \n \n \n);\n\nexport default BriefcaseSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BuildingSolidV6 = (props) => (\n \n \n \n);\n\nexport default BuildingSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BuildingsRegularV6 = (props) => (\n \n \n \n);\n\nexport default BuildingsRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Bullhorn = (props) => (\n \n \n \n);\n\nexport default Bullhorn;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BullhornRegularV6 = (props) => (\n \n \n \n);\n\nexport default BullhornRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BullhornSolidV6 = (props) => (\n \n \n \n);\n\nexport default BullhornSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst BullseyeArrowRegularV6 = (props) => (\n \n \n \n);\n\nexport default BullseyeArrowRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Calendar = (props) => (\n \n \n \n);\n\nexport default Calendar;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CalendarCheckRegularV6 = (props) => (\n \n \n \n);\n\nexport default CalendarCheckRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CalendarCheckSolidV6 = (props) => (\n \n \n \n);\n\nexport default CalendarCheckSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CalendarClockSolidV6 = (props) => (\n \n \n \n);\n\nexport default CalendarClockSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CalendarDaySolidV6 = (props) => (\n \n \n \n);\n\nexport default CalendarDaySolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CalendarDaysSolidV6 = (props) => (\n \n \n \n);\n\nexport default CalendarDaysSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CalendarRegularV6 = (props) => (\n \n \n \n);\n\nexport default CalendarRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Cancel = (props) => (\n \n \n \n);\n\nexport default Cancel;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CaretDown = (props) => (\n \n \n \n);\n\nexport default CaretDown;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CaretDownSolidV6 = (props) => (\n \n \n \n);\n\nexport default CaretDownSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CaretUp = (props) => (\n \n \n \n);\n\nexport default CaretUp;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChartBarRegularV6 = (props) => (\n \n \n \n);\n\nexport default ChartBarRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChartColumnSolidV6 = (props) => (\n \n \n \n);\n\nexport default ChartColumnSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChartLine = (props) => (\n \n \n \n);\n\nexport default ChartLine;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChartLineRegularV6 = (props) => (\n \n \n \n);\n\nexport default ChartLineRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChartPieSolidV6 = (props) => (\n \n \n \n);\n\nexport default ChartPieSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Chat = (props) => (\n \n \n \n);\n\nexport default Chat;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Check = (props) => (\n \n \n \n);\n\nexport default Check;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CheckCircleRegularV3 = (props) => (\n \n \n \n);\n\nexport default CheckCircleRegularV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CheckSolidV6 = (props) => (\n \n \n \n);\n\nexport default CheckSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronDown = (props) => (\n \n \n \n);\n\nexport default ChevronDown;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronDownSolidV3 = (props) => (\n \n \n \n);\n\nexport default ChevronDownSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronDownSolidV6 = (props) => (\n \n \n \n);\n\nexport default ChevronDownSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronLeft = (props) => (\n \n \n \n);\n\nexport default ChevronLeft;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronLeftSolidV6 = (props) => (\n \n \n \n);\n\nexport default ChevronLeftSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronRight = (props) => (\n \n \n \n);\n\nexport default ChevronRight;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronRightSolidV6 = (props) => (\n \n \n \n);\n\nexport default ChevronRightSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronUp = (props) => (\n \n \n \n);\n\nexport default ChevronUp;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ChevronUpSolidV6 = (props) => (\n \n \n \n);\n\nexport default ChevronUpSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleCheckSolidV6 = (props) => (\n \n \n \n);\n\nexport default CircleCheckSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleExclamationRegularV6 = (props) => (\n \n \n \n);\n\nexport default CircleExclamationRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleExclamationSolidV6 = (props) => (\n \n \n \n);\n\nexport default CircleExclamationSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleInfoRegularV6 = (props) => (\n \n \n \n);\n\nexport default CircleInfoRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleInfoSolidV6 = (props) => (\n \n \n \n);\n\nexport default CircleInfoSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CirclePlaySolidV6 = (props) => (\n \n \n \n);\n\nexport default CirclePlaySolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleQuestionRegularV6 = (props) => (\n \n \n \n);\n\nexport default CircleQuestionRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CircleSolidV6 = (props) => (\n \n \n \n);\n\nexport default CircleSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ClockFiveRegularV6 = (props) => (\n \n \n \n);\n\nexport default ClockFiveRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ClockFiveSolidV6 = (props) => (\n \n \n \n);\n\nexport default ClockFiveSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CloneRegularV6 = (props) => (\n \n \n \n);\n\nexport default CloneRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Close = (props) => (\n \n \n \n);\n\nexport default Close;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CloudArrowUpSolidV6 = (props) => (\n \n \n \n);\n\nexport default CloudArrowUpSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentDotsRegularV6 = (props) => (\n \n \n \n);\n\nexport default CommentDotsRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentDotsSolidV6 = (props) => (\n \n \n \n);\n\nexport default CommentDotsSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentSlashRegularV6 = (props) => (\n \n \n \n);\n\nexport default CommentSlashRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentSolidV6 = (props) => (\n \n \n \n);\n\nexport default CommentSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentsSolidV6 = (props) => (\n \n \n \n);\n\nexport default CommentsSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CopyRegularV6 = (props) => (\n \n \n \n);\n\nexport default CopyRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CopySolidV6 = (props) => (\n \n \n \n);\n\nexport default CopySolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Create = (props) => (\n \n \n \n);\n\nexport default Create;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst DesktopRegularV6 = (props) => (\n \n \n \n);\n\nexport default DesktopRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst DesktopSolidV6 = (props) => (\n \n \n \n);\n\nexport default DesktopSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst DollarSignRegularV6 = (props) => (\n \n \n \n);\n\nexport default DollarSignRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst DollarSignSolidV6 = (props) => (\n \n \n \n);\n\nexport default DollarSignSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Download = (props) => (\n \n \n \n);\n\nexport default Download;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst DownloadSolidV6 = (props) => (\n \n \n \n);\n\nexport default DownloadSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst DropletSolidV6 = (props) => (\n \n \n \n);\n\nexport default DropletSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Edit = (props) => (\n \n \n \n);\n\nexport default Edit;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EllipsisSolidV6 = (props) => (\n \n \n \n);\n\nexport default EllipsisSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EmailDeliveryInvalid = (props) => (\n \n \n \n \n);\n\nexport default EmailDeliveryInvalid;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Envelope = (props) => (\n \n \n \n);\n\nexport default Envelope;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EnvelopeRegularV6 = (props) => (\n \n \n \n);\n\nexport default EnvelopeRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EnvelopeSolidV6 = (props) => (\n \n \n \n);\n\nexport default EnvelopeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ExpandSolidV6 = (props) => (\n \n \n \n);\n\nexport default ExpandSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EyeRegularV6 = (props) => (\n \n \n \n);\n\nexport default EyeRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EyeSlashSolidV6 = (props) => (\n \n \n \n);\n\nexport default EyeSlashSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EyeSolidV3 = (props) => (\n \n \n \n);\n\nexport default EyeSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst EyeSolidV6 = (props) => (\n \n \n \n);\n\nexport default EyeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst FacebookCircleSolidV6 = (props) => (\n \n \n \n);\n\nexport default FacebookCircleSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst FileArrowUpRegularV6 = (props) => (\n \n \n \n);\n\nexport default FileArrowUpRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst FileLinesSolidV6 = (props) => (\n \n \n \n);\n\nexport default FileLinesSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst FileSolidV3 = (props) => (\n \n \n \n);\n\nexport default FileSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst FishSolidV3 = (props) => (\n \n \n \n);\n\nexport default FishSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst FishSolidV6 = (props) => (\n \n \n \n);\n\nexport default FishSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst GaugeHighSolidV6 = (props) => (\n \n \n \n);\n\nexport default GaugeHighSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst GearSolidV6 = (props) => (\n \n \n \n);\n\nexport default GearSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst GraduationCapSolidV6 = (props) => (\n \n \n \n);\n\nexport default GraduationCapSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Grid2RegularV6 = (props) => (\n \n \n \n);\n\nexport default Grid2RegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Grid2SolidV6 = (props) => (\n \n \n \n);\n\nexport default Grid2SolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst GridSolidV6 = (props) => (\n \n \n \n);\n\nexport default GridSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HandHoldingDollarSolidV6 = (props) => (\n \n \n \n);\n\nexport default HandHoldingDollarSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HandshakeRegularV6 = (props) => (\n \n \n \n);\n\nexport default HandshakeRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HeartFilled = (props) => (\n \n \n \n);\n\nexport default HeartFilled;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HeartOutline = (props) => (\n \n \n \n);\n\nexport default HeartOutline;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HeartRegularV6 = (props) => (\n \n \n \n);\n\nexport default HeartRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HeartSolidV6 = (props) => (\n \n \n \n);\n\nexport default HeartSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Home = (props) => (\n \n \n \n);\n\nexport default Home;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HouseChimneySolidV6 = (props) => (\n \n \n \n);\n\nexport default HouseChimneySolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HouseCircleXmarkSolidV6 = (props) => (\n \n \n \n);\n\nexport default HouseCircleXmarkSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HouseFlagSolidV6 = (props) => (\n \n \n \n);\n\nexport default HouseFlagSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HouseRegularV6 = (props) => (\n \n \n \n);\n\nexport default HouseRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HouseSolidV6 = (props) => (\n \n \n \n);\n\nexport default HouseSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst HouseUserSolidV6 = (props) => (\n \n \n \n);\n\nexport default HouseUserSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Image = (props) => (\n \n \n \n);\n\nexport default Image;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ImageSolidV6 = (props) => (\n \n \n \n);\n\nexport default ImageSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst InboxRegularV6 = (props) => (\n \n \n \n);\n\nexport default InboxRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst InboxSolidV6 = (props) => (\n \n \n \n);\n\nexport default InboxSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Info = (props) => (\n \n \n \n);\n\nexport default Info;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst InfoCircleSolidV3 = (props) => (\n \n \n \n);\n\nexport default InfoCircleSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst KeySolidV6 = (props) => (\n \n \n \n);\n\nexport default KeySolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LightbulbOnSolidV6 = (props) => (\n \n \n \n);\n\nexport default LightbulbOnSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Link = (props) => (\n \n \n \n);\n\nexport default Link;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LinkSolidV6 = (props) => (\n \n \n \n);\n\nexport default LinkSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LinkedinRegularV6 = (props) => (\n \n \n \n);\n\nexport default LinkedinRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ListCheckRegularV6 = (props) => (\n \n \n \n);\n\nexport default ListCheckRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ListCheckSolidV6 = (props) => (\n \n \n \n);\n\nexport default ListCheckSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ListRegularV6 = (props) => (\n \n \n \n);\n\nexport default ListRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ListUlSolidV6 = (props) => (\n \n \n \n);\n\nexport default ListUlSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LocationArrowSolidV6 = (props) => (\n \n \n \n);\n\nexport default LocationArrowSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LockOpenSolidV6 = (props) => (\n \n \n \n);\n\nexport default LockOpenSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LockSolidV6 = (props) => (\n \n \n \n);\n\nexport default LockSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst LogOut = (props) => (\n \n \n \n);\n\nexport default LogOut;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MagnetSolidV6 = (props) => (\n \n \n \n);\n\nexport default MagnetSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MagnifyingGlassSolidV6 = (props) => (\n \n \n \n);\n\nexport default MagnifyingGlassSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MapLocationSolidV6 = (props) => (\n \n \n \n);\n\nexport default MapLocationSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MapSolidV6 = (props) => (\n \n \n \n);\n\nexport default MapSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MergeSolidV6 = (props) => (\n \n \n \n);\n\nexport default MergeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Message = (props) => (\n \n \n \n);\n\nexport default Message;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MessageSmileSolidV6 = (props) => (\n \n \n \n);\n\nexport default MessageSmileSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Minus = (props) => (\n \n \n \n);\n\nexport default Minus;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MinusSolidV6 = (props) => (\n \n \n \n);\n\nexport default MinusSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MobilePhone = (props) => (\n \n \n \n);\n\nexport default MobilePhone;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MobileRegularV6 = (props) => (\n \n \n \n);\n\nexport default MobileRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MobileScreenSolidV6 = (props) => (\n \n \n \n);\n\nexport default MobileScreenSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MobileSignalOutSolidV6 = (props) => (\n \n \n \n);\n\nexport default MobileSignalOutSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MultiUser = (props) => (\n \n \n \n);\n\nexport default MultiUser;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PaperclipSolidV6 = (props) => (\n \n \n \n);\n\nexport default PaperclipSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Pause = (props) => (\n \n \n \n);\n\nexport default Pause;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PauseSolidV6 = (props) => (\n \n \n \n);\n\nexport default PauseSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Pdf = (props) => (\n \n \n \n);\n\nexport default Pdf;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PenSolidV6 = (props) => (\n \n \n \n);\n\nexport default PenSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PenToSquareRegularV6 = (props) => (\n \n \n \n);\n\nexport default PenToSquareRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PenToSquareSolidV6 = (props) => (\n \n \n \n);\n\nexport default PenToSquareSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PencilSolidV6 = (props) => (\n \n \n \n);\n\nexport default PencilSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PercentSolidV6 = (props) => (\n \n \n \n);\n\nexport default PercentSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Phone = (props) => (\n \n \n \n);\n\nexport default Phone;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneArrowDownLeftSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneArrowDownLeftSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneArrowUpRightSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneArrowUpRightSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneHangupSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneHangupSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneMissedSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneMissedSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhonePlusSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhonePlusSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneRegularV6 = (props) => (\n \n \n \n);\n\nexport default PhoneRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneVolumeSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneVolumeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PlaceCustomv6 = (props) => (\n \n \n \n);\n\nexport default PlaceCustomv6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Play = (props) => (\n \n \n \n);\n\nexport default Play;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PlaySolidV6 = (props) => (\n \n \n \n);\n\nexport default PlaySolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Plus = (props) => (\n \n \n \n);\n\nexport default Plus;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PlusSolidV6 = (props) => (\n \n \n \n);\n\nexport default PlusSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst QuestionCircleRegularV3 = (props) => (\n \n \n \n);\n\nexport default QuestionCircleRegularV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Report = (props) => (\n \n \n \n);\n\nexport default Report;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Reset = (props) => (\n \n \n \n);\n\nexport default Reset;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst RightFromBracketSolidV6 = (props) => (\n \n \n \n);\n\nexport default RightFromBracketSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst RightToBracketSolidV6 = (props) => (\n \n \n \n);\n\nexport default RightToBracketSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst RocketSolidV6 = (props) => (\n \n \n \n);\n\nexport default RocketSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst RotateRightSolidV6 = (props) => (\n \n \n \n);\n\nexport default RotateRightSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Search = (props) => (\n \n \n \n);\n\nexport default Search;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ShareFromSquareSolidV6 = (props) => (\n \n \n \n);\n\nexport default ShareFromSquareSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ShareNodesSolidV6 = (props) => (\n \n \n \n);\n\nexport default ShareNodesSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ShareSolidV6 = (props) => (\n \n \n \n);\n\nexport default ShareSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SolidWindowSlash = (props) => (\n \n \n \n);\n\nexport default SolidWindowSlash;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SortDownSolidV6 = (props) => (\n \n \n \n);\n\nexport default SortDownSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SortUpSolidV6 = (props) => (\n \n \n \n);\n\nexport default SortUpSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SparklesSolidV6 = (props) => (\n \n \n \n);\n\nexport default SparklesSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Spinner = (props) => (\n \n \n \n);\n\nexport default Spinner;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SpinnerSolidV3 = (props) => (\n \n \n \n);\n\nexport default SpinnerSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SpinnerSolidV6 = (props) => (\n \n \n \n);\n\nexport default SpinnerSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SpinnerThirdSolidV6 = (props) => (\n \n \n \n);\n\nexport default SpinnerThirdSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SquareCheckSolidV6 = (props) => (\n \n \n \n);\n\nexport default SquareCheckSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SquarePenSolidV6 = (props) => (\n \n \n \n);\n\nexport default SquarePenSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst StarFilled = (props) => (\n \n \n \n);\n\nexport default StarFilled;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst StarOutline = (props) => (\n \n \n \n);\n\nexport default StarOutline;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst StarRegularV6 = (props) => (\n \n \n \n);\n\nexport default StarRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst StarSolidV6 = (props) => (\n \n \n \n);\n\nexport default StarSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst StopSolidV6 = (props) => (\n \n \n \n);\n\nexport default StopSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst SuitcaseSolidV6 = (props) => (\n \n \n \n);\n\nexport default SuitcaseSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Table = (props) => (\n \n \n \n);\n\nexport default Table;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Tasks = (props) => (\n \n \n \n);\n\nexport default Tasks;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Templates = (props) => (\n \n \n \n);\n\nexport default Templates;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ThumbsUpSolidV6 = (props) => (\n \n \n \n);\n\nexport default ThumbsUpSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ThumbtackRegularV6 = (props) => (\n \n \n \n);\n\nexport default ThumbtackRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ThumbtackSolidV6 = (props) => (\n \n \n \n);\n\nexport default ThumbtackSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TintSolidV3 = (props) => (\n \n \n \n);\n\nexport default TintSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ToggleOffSolidV6 = (props) => (\n \n \n \n);\n\nexport default ToggleOffSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst ToggleOnSolidV6 = (props) => (\n \n \n \n);\n\nexport default ToggleOnSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Trash = (props) => (\n \n \n \n);\n\nexport default Trash;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TrashAltSolidV3 = (props) => (\n \n \n \n);\n\nexport default TrashAltSolidV3;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TrashCanSolidV6 = (props) => (\n \n \n \n);\n\nexport default TrashCanSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TrashSolidV6 = (props) => (\n \n \n \n);\n\nexport default TrashSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TreeDeciduousSolidV6 = (props) => (\n \n \n \n);\n\nexport default TreeDeciduousSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TriangleExclamationRegularV6 = (props) => (\n \n \n \n);\n\nexport default TriangleExclamationRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst TriangleExclamationSolidV6 = (props) => (\n \n \n \n);\n\nexport default TriangleExclamationSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Upload = (props) => (\n \n \n \n);\n\nexport default Upload;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UploadSolidV6 = (props) => (\n \n \n \n);\n\nexport default UploadSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst User = (props) => (\n \n \n \n);\n\nexport default User;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UserGraduateSolidV6 = (props) => (\n \n \n \n);\n\nexport default UserGraduateSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UserGroupSolidV6 = (props) => (\n \n \n \n);\n\nexport default UserGroupSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UserLargeSolidV6 = (props) => (\n \n \n \n);\n\nexport default UserLargeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UserPlusRegularV6 = (props) => (\n \n \n \n);\n\nexport default UserPlusRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UserPlusSolidV6 = (props) => (\n \n \n \n);\n\nexport default UserPlusSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst UserSolidV6 = (props) => (\n \n \n \n);\n\nexport default UserSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VerticalDots = (props) => (\n \n \n \n);\n\nexport default VerticalDots;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VideoSolidV6 = (props) => (\n \n \n \n);\n\nexport default VideoSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VisibilityHidden = (props) => (\n \n \n \n);\n\nexport default VisibilityHidden;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VisibilityVisible = (props) => (\n \n \n \n);\n\nexport default VisibilityVisible;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VolumeHighSolidV6 = (props) => (\n \n \n \n);\n\nexport default VolumeHighSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VolumeSlashSolidV6 = (props) => (\n \n \n \n);\n\nexport default VolumeSlashSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst VolumeSolidV6 = (props) => (\n \n \n \n);\n\nexport default VolumeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst WandMagicSparklesSolidV6 = (props) => (\n \n \n \n);\n\nexport default WandMagicSparklesSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst WindowSolidV6 = (props) => (\n \n \n \n);\n\nexport default WindowSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst Word = (props) => (\n \n \n \n);\n\nexport default Word;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst XSolidV6 = (props) => (\n \n \n \n);\n\nexport default XSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst XmarkLargeSolidV6 = (props) => (\n \n \n \n);\n\nexport default XmarkLargeSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst XmarkRegularV6 = (props) => (\n \n \n \n);\n\nexport default XmarkRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst XmarkSolidV6 = (props) => (\n \n \n \n);\n\nexport default XmarkSolidV6;\n","import React from \"react\";\n\nimport { PhoneSolidV6, PhoneXmarkSolidV6, MobileRegularV6, MobileXMark } from \"@icons\";\n\nconst CALL_STATUS_ICONS = {\n valid: PhoneSolidV6,\n unsubscribed: PhoneXmarkSolidV6,\n};\n\nexport const STATUS_ICON_MODIFIERS = {\n valid: \"tw-text-neutral-gray-75\",\n unsubscribed: \"tw-text-brivity-coral-110\",\n};\n\nexport const CALL_STATUS_DESCRIPTIONS = {\n valid: \"Can Be Called\",\n unsubscribed: \"Opted-out\",\n};\n\nexport const CALL_STATUS_TOOLTIPS = {\n valid: \"Can Be Called\",\n unsubscribed: \"This number has opted out of phone communication and cannot be called\",\n};\n\nexport const callStatusIcon = (status) => {\n const UsedIcon = CALL_STATUS_ICONS[status] || CALL_STATUS_ICONS.valid;\n const tooltip = CALL_STATUS_TOOLTIPS[status] || CALL_STATUS_TOOLTIPS.valid;\n const iconModifiers = STATUS_ICON_MODIFIERS[status] || STATUS_ICON_MODIFIERS.valid;\n return {\n icon: ({ size = \"l\" }) => ,\n tooltip,\n status,\n };\n};\nexport const callStatusIconForPhone = (phone) => callStatusIcon(phone.callStatus);\n\nconst MOBILE_CALL_STATUS_ICONS = {\n valid: MobileRegularV6,\n unsubscribed: MobileXMark,\n};\n\nexport const mobileCallStatusIcon = (status) => {\n const UsedIcon = MOBILE_CALL_STATUS_ICONS[status] || MOBILE_CALL_STATUS_ICONS.valid;\n const tooltip = CALL_STATUS_TOOLTIPS[status] || CALL_STATUS_TOOLTIPS.valid;\n const iconModifiers = STATUS_ICON_MODIFIERS[status] || STATUS_ICON_MODIFIERS.valid;\n return {\n icon: ({ size }) => ,\n tooltip,\n };\n};\n\nexport default { callStatusIconForPhone, mobileCallStatusIcon };\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst PhoneXmarkSolidV6 = (props) => (\n \n \n \n);\n\nexport default PhoneXmarkSolidV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst MobileXMark = (props) => (\n \n \n \n);\n\nexport default MobileXMark;\n","import React from \"react\";\nimport { CommentSlashRegularV6, PhoneVolumeSolidV6 } from \"@icons\";\n\nconst SHARED_ICON_PROPERTIES = { size: \"l\", className: \"tw-text-semantic-yellow-100\" };\n\nconst nullWarningIcon = () => ({\n icon: null,\n tooltip: null,\n});\n\nconst nonTextableIcon = {\n // eslint-disable-next-line react/jsx-props-no-spreading\n icon: ({ size = \"l\" }) => ,\n tooltip:\n \"This number may be unreachable via text message (landline or VOIP)\\nYour account may be liable for SMS failures.\",\n};\n\nconst nonCallableIcon = {\n // eslint-disable-next-line react/jsx-props-no-spreading\n icon: ({ size = \"l\" }) => ,\n tooltip:\n \"This number is on a DNC (Do Not Call) list. You may still choose to contact this number if you have a personal relationship with them.\",\n};\n\nconst waringIconForPhone = (phone) => {\n let base = nullWarningIcon();\n\n if (!phone.textable) {\n base = { ...base, ...nonTextableIcon };\n }\n if (!phone.callable) {\n base = { ...base, ...nonCallableIcon };\n }\n\n return base;\n};\n\nexport default waringIconForPhone;\n","export default {\n 30006: `Phone number cannot be texted because it is a landline or the carrier is unreachable. (30006)\n\nTo protect your texting reputation, you should stop texting this phone number.`,\n 21614: `Phone number cannot be texted because it is a landline or invalid. (21614)\n\nTo protect your texting reputation, you should stop texting this phone number.`,\n 30011: `Phone number cannot be texted because it cannot receive media messages. (30011)\n\nTo protect your texting reputation, you should stop texting this phone number.`,\n 30005: `Phone number cannot be texted because it is a landline, no longer in service, or out of service range. (30005)\n\nTo protect your texting reputation, you should stop texting this phone number.`,\n 21211: `Phone number cannot be texted because it is incorrectly formatted or invalid. (21211)\n\nTo protect your texting reputation, you should stop texting this number and check to make sure it is valid before retrying.`,\n 21610: `Phone number cannot be texted because this contact has opted out of text communication and cannot be texted. (21610)\n\nThis contact must opt in by texting “start”, “yes”, or “unstop” to resubscribe.`,\n 30003: `Text message cannot be delivered because the contact’s phone my be off or out of service. Please try again later. (30003)\n\nIf problem persists, you may want to discontinue texting this number.`,\n 30007: `Text message cannot be delivered because the content may be out of compliance with carrier guidelines or marked as spam. You can write a new message and attempt to resend. (30007)\n\nLearn more about Messaging Best Practices to avoid compliance blockages and protect your texting reputation.`,\n 11200: `Text message cannot be delivered because we were unable to connect to the messaging service at this time. (11200)\n\nPlease try to resend your message. If problem persists, contact support.`,\n 30008: `Text message cannot be delivered because we were unable to connect to the phone carrier at this time. (30008)\n\nPlease try to resend your message. If problem persists, contact support.`,\n 30019: `Text message cannot be delivered because is too big! We recommend sending a message that is less than 320 characters or smaller than 600KB. (30019)`,\n 30023: `Text messages cannot be delivered because you have reached your daily message cap. You can send messages again tomorrow. (30023)\n\nContact support to learn more about your daily texting limit.`,\n 30033: `Text message cannot be delivered because texting and calling have been suspended due to a high rate of failed messages or spam. (30033)\n\nContact support to learn how to restore text and calling for this account.`,\n 30410: `Text message cannot be delivered due to a timeout error. Please try resending later. (30410)`,\n 30500: `Text message cannot be delivered because of a temporary service disruption. Please try again later. (30500)`,\n 30034: `Text messages cannot be delivered because your account has not completed Application to Person (A2P) registration. You must register your business on the account settings SMS Registration page in order to send texts through Brivity. (30034)`,\n 30035: `Text messages cannot be delivered because your Application to Person (A2P) registration is being processed and should be resolved soon. (30035)\n\nPlease contact support if the issue does not resolve.`,\n 30038: `Text message cannot be delivered because you cannot send one time password links. Try sending something else. (30038)`,\n 30039: `Text message cannot be delivered because it may be responding to an auto-generated text. When two computers try to text, it can spiral into an infinite feedback loop. (30039)\n\nYou probably shouldn’t text this number, but you could try again later.`,\n 30024: `Text message cannot be delivered because the numeric sender ID is not provisioned. Please contact support. (30024)`,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst PreTooltipContent = ({ children }) => (\n
\n    {children}\n  
\n);\n\nPreTooltipContent.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default PreTooltipContent;\n","import React from \"react\";\nimport { CommentRegularV6, CommentSlashRegularV6, CommentXmarkRegularV6 } from \"@icons\";\nimport twilioErrorCodes from \"@shared/v2/twilioErrorCodes\";\nimport PreTooltipContent from \"../../../../Inbox/components/PreTooltipContent\";\n\nconst SMS_STATUS_ICONS = {\n valid: CommentRegularV6,\n invalid: CommentSlashRegularV6,\n unsubscribed: CommentXmarkRegularV6,\n};\n\nconst SMS_STATUS_ICON_MODIFIERS = {\n valid: \"tw-text-neutral-gray-75\",\n invalid: \"tw-text-semantic-yellow-100\",\n unsubscribed: \"tw-text-brivity-coral-110\",\n};\n\nexport const SMS_STATUS_DESCRIPTIONS = {\n valid: \"Can Be Texted\",\n invalid: \"Cannot Be Texted\",\n unsubscribed: \"Opted-out\",\n};\n\nexport const SMS_STATUS_TOOLTIPS = {\n valid: \"Can Be Texted\",\n invalid:\n \"This number may be unreachable via text message (landline or VOIP)\\nYour account may be liable for SMS failures.\",\n unsubscribed: \"This number has opted out of text communication and cannot be texted\",\n};\n\nconst smsStatusIconForStatus = (status, errorCode) => {\n const UsedIcon = SMS_STATUS_ICONS[status];\n return {\n icon: ({ size = \"l\" }) => ,\n tooltip: (\n {twilioErrorCodes[errorCode] || SMS_STATUS_TOOLTIPS[status]}\n ),\n status,\n };\n};\n\nexport default smsStatusIconForStatus;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentRegularV6 = (props) => (\n \n \n \n);\n\nexport default CommentRegularV6;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport Icon from \"../Icon\";\n\nconst CommentXmarkRegularV6 = (props) => (\n \n \n \n);\n\nexport default CommentXmarkRegularV6;\n","const formatPhoneNumber = (phoneNumberString) => {\n const cleaned = ('' + phoneNumberString).replace(/\\D/g, '');\n if (cleaned.length > 10) {\n return `+${cleaned.slice(0, -10)} (${cleaned.slice(-10, -7)}) ${cleaned.slice(-7, -4)}-${cleaned.slice(-4)}`;\n } else if (cleaned.length === 10) {\n return `(${cleaned.slice(0, 3)}) ${cleaned.slice(3, 6)}-${cleaned.slice(6, 10)}`;\n } else if (cleaned.length === 7) {\n return `${cleaned.slice(0, 3)}-${cleaned.slice(3)}`;\n } else {\n return phoneNumberString;\n }\n}\nexport default formatPhoneNumber\n","import PropTypes from \"prop-types\";\n\nimport { camelizeKeys } from \"@shared/Utilities\";\nimport { callStatusIconForPhone, mobileCallStatusIcon } from \"./viewPhoneIcons/CallStatusIcon\";\nimport warningIconForPhone from \"./viewPhoneIcons/PhoneWarningIcon\";\nimport smsStatusIconForStatus from \"./viewPhoneIcons/SmsStatusIcon\";\nimport formatPhoneNumber from \"../../FormatPhoneNumber\";\n\nconst aiStatus = (phone) => {\n if (!phone.textable) return \"untextable\";\n if (phone.smsUnsubscribed || phone.smsAccountUnsubscribed) return \"hard-opt-out\";\n if (phone.smsSoftUnsubscribed) return \"soft-opt-out\";\n if (!phone.isPrimary) return \"non-primary\";\n return \"valid\";\n};\n\nconst textableStatus = (phone) => {\n if (phone.smsUnsubscribed) {\n return \"unsubscribed\";\n }\n return phone.textable ? \"valid\" : \"invalid\";\n};\n\nconst viewPhone = (data) => {\n const originalData = data.raw ? data.raw : data;\n const source = camelizeKeys(originalData);\n const { attributes } = source;\n const base = {\n // Used mostly for debugging purposes while we normalize the data.\n raw: originalData.raw ? originalData.raw : { ...originalData },\n\n // We want to avoid using `value` directly when possible, so that the display\n // of the phone number can be controlled by the `formattedNumber` property.\n // Value is still accessible, but it has to be made extra conciously.\n rawValue: attributes.value,\n id: source.id,\n formattedNumber: formatPhoneNumber(attributes.value),\n category: attributes.category,\n unsubscribed: attributes.unsubscribed,\n textable: attributes.smsTextable,\n valid: !!attributes.canonicalValue,\n callable: attributes.callCallable,\n callUnsubscribed:\n attributes.callUnsubscribed || attributes.callSoftUnsubscribed || attributes.callAccountUnsubscribed,\n smsUnsubscribed:\n attributes.smsUnsubscribed || attributes.smsSoftUnsubscribed || attributes.smsAccountUnsubscribed,\n isPrimary: attributes.position === 1,\n position: attributes.position,\n\n callStatus: \"valid\",\n isMobile: attributes.category === \"mobile\",\n };\n\n // We remove this check, as there is no UI for invalid phones, but it soon will exist\n // if (!base.valid) {\n // base.callStatus = \"invalid\";\n // } else\n if (base.callUnsubscribed) {\n base.callStatus = \"unsubscribed\";\n } else if (!base.textable) {\n base.callStatus = \"voiceOnly\";\n }\n\n base.icon = callStatusIconForPhone(base);\n base.warning = warningIconForPhone(base);\n\n base.smsStatus = textableStatus(base);\n base.smsIcon = smsStatusIconForStatus(base.smsStatus, attributes.errorCode);\n base.smsEditable = base.smsStatus !== \"unsubscribed\";\n base.aiStatus = aiStatus(base);\n\n base.callIcon = callStatusIconForPhone(base);\n base.mobileCallIcon = mobileCallStatusIcon(base.callStatus);\n base.callEditable = !base.callUnsubscribed;\n\n return base;\n};\n\nviewPhone.propTypes = {\n id: PropTypes.number.isRequired,\n type: PropTypes.string.isRequired,\n attributes: {\n account_id: PropTypes.number,\n call_account_unsubscribed: PropTypes.bool,\n call_callable: PropTypes.bool,\n call_soft_unsubscribed: PropTypes.bool,\n canonical_value: PropTypes.string,\n category: PropTypes.string.isRequired,\n created_at: PropTypes.string,\n detailable_id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n detailable_type: PropTypes.string,\n error_code: PropTypes.number,\n id: PropTypes.number,\n name: PropTypes.string.isRequired,\n position: PropTypes.number,\n sms_account_unsubscribed: PropTypes.bool,\n sms_soft_unsubscribed: PropTypes.bool,\n sms_textable: PropTypes.bool,\n updated_at: PropTypes.string,\n value: PropTypes.string.isRequired,\n dnc: PropTypes.bool,\n },\n};\n\nviewPhone.defaultValues = {\n attributes: {\n account_id: null,\n call_account_unsubscribed: false,\n call_callable: true,\n call_soft_unsubscribed: false,\n canonical_value: null,\n created_at: null,\n detailable_id: null,\n detailable_type: null,\n id: null,\n position: null,\n sms_account_unsubscribed: false,\n sms_soft_unsubscribed: false,\n sms_textable: true,\n updated_at: null,\n dnc: null,\n },\n};\n\nexport const viewPhoneShape = {\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n raw: PropTypes.object.isRequired,\n rawValue: PropTypes.string,\n formattedNumber: PropTypes.string.isRequired,\n category: PropTypes.string.isRequired,\n unsubscribed: PropTypes.bool.isRequired,\n textable: PropTypes.bool.isRequired,\n valid: PropTypes.bool.isRequired,\n callable: PropTypes.bool.isRequired,\n status: PropTypes.oneOf([\"valid\", \"invalid\", \"unsubscribed\", \"voiceOnly\"]).isRequired,\n icon: {\n icon: PropTypes.func.isRequired,\n tooltip: PropTypes.string,\n },\n warning: {\n icon: PropTypes.func.isRequired,\n tooltip: PropTypes.string,\n },\n smsIcon: {\n icon: PropTypes.func.isRequired,\n tooltip: PropTypes.string,\n },\n};\n\nexport const possibleStatuses = [\"valid\", \"voiceOnly\", \"invalid\", \"unsubscribed\"];\n\n// Standardizes the shape we initially use to build a phone.\nexport const flatToNonFlatAdapter = (flatPhoneData) => ({\n id: flatPhoneData.id,\n type: \"phone_detail\",\n attributes: { ...flatPhoneData },\n});\n\n// Helpers to incentivize building phones with pre-defined structures. If _not_\n// coming from one of the default serializers, it will produce issues.\nexport const viewPhoneFromFastJsonApi = (phoneData) => viewPhone(phoneData);\nexport const viewPhoneFromFlat = (phoneData) => viewPhone(flatToNonFlatAdapter(phoneData));\n\nexport default viewPhone;\n","import React, { forwardRef, useRef, useState } from \"react\";\nimport { Transition } from \"react-transition-group\";\nimport PropTypes from \"prop-types\";\nimport { createPortal } from \"react-dom\";\nimport {\n FloatingArrow,\n arrow,\n autoUpdate,\n flip,\n offset,\n useDismiss,\n useFloating,\n useFocus,\n useHover,\n useInteractions,\n useMergeRefs,\n useRole,\n} from \"@floating-ui/react\";\nimport classes from \"./classes.json\";\n\nconst Tooltip = forwardRef(\n (\n {\n trigger,\n content,\n placement,\n multiline,\n className,\n tooltipClassName,\n arrowClassName,\n innerClassName,\n ...otherProps\n },\n ref,\n ) => {\n const tooltipPortal = document.getElementById(\"tooltip-portal-v2\") || document.createElement(\"div\");\n if (!tooltipPortal.id) {\n tooltipPortal.id = \"tooltip-portal-v2\";\n tooltipPortal.className = \"tw-relative\";\n document.body.appendChild(tooltipPortal);\n }\n const [show, setShow] = useState(false);\n const arrowRef = useRef(null);\n const { context, floatingStyles, refs } = useFloating({\n placement,\n open: show,\n onOpenChange: setShow,\n middleware: [\n offset(10),\n flip({ crossAxis: placement.includes(\"-\"), fallbackAxisSideDirection: \"end\" }),\n arrow({ element: arrowRef }),\n ],\n whileElementsMounted: autoUpdate,\n ...otherProps,\n });\n const dismiss = useDismiss(context);\n const focus = useFocus(context);\n const hover = useHover(context, { move: false });\n const role = useRole(context, { role: \"tooltip\" });\n useInteractions([dismiss, focus, hover, role]);\n\n const tooltipRef = useMergeRefs([refs.setReference, ref]);\n\n const triggerClone = (\n \n {trigger}\n \n );\n\n return (\n <>\n {triggerClone}\n {createPortal(\n \n {(transitionState) => (\n \n \n {content}\n \n \n \n )}\n ,\n tooltipPortal,\n )}\n \n );\n },\n);\n\nTooltip.displayName = \"Tooltip\";\n\nTooltip.propTypes = {\n trigger: PropTypes.node.isRequired,\n content: PropTypes.node.isRequired,\n placement: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]),\n multiline: PropTypes.bool,\n className: PropTypes.string,\n tooltipClassName: PropTypes.string,\n arrowClassName: PropTypes.string,\n innerClassName: PropTypes.string,\n};\n\nTooltip.defaultProps = {\n placement: \"top\",\n multiline: false,\n className: \"\",\n tooltipClassName: \"\",\n arrowClassName: \"\",\n innerClassName: \"\",\n};\n\nexport default Tooltip;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst DncFlag = ({ show }) => {\n if (!show) return null;\n return (\n
\n DNC\n
\n );\n};\n\nDncFlag.propTypes = {\n value: PropTypes.bool,\n};\n\nexport default DncFlag;\n","import PropTypes from \"prop-types\";\nimport React, { useMemo } from \"react\";\n\nimport { viewPhoneShape } from \"@shared/models/Communications/viewPhone\";\nimport Tooltip from \"@shared/v2/Tooltip/Tooltip\";\nimport DncFlag from \"./DncFlag\";\n\nconst Contact = ({ phone, isDnc, personName }) => {\n const flagged = phone && (phone.smsUnsubscribed || !phone.textable);\n const flaggedClasses = phone?.smsUnsubscribed ? \"tw-text-semantic-red-100\" : \"tw-text-semantic-yellow-100\";\n\n const warningIcon = phone?.smsIcon?.icon || null;\n const warningTooltip = phone?.smsIcon?.tooltip || null;\n const phoneNumber = phone?.formattedNumber;\n\n return (\n \n );\n};\n\nContact.propTypes = {\n phone: PropTypes.shape(viewPhoneShape).isRequired,\n personName: PropTypes.string.isRequired,\n isDnc: PropTypes.bool,\n};\n\nContact.defaultProps = {\n isDnc: false,\n};\nexport default Contact;\n","import React from \"react\";\n\nconst HelperText = ({ isDnc }) => {\n const dncHelperText = (\n

\n The number you are contacting might be on the Do Not Call registry.\n \n Click here to learn more\n \n

\n );\n\n return isDnc && dncHelperText;\n};\n\nexport default HelperText;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport moment from \"moment\";\n\nconst LastSeen = ({ smsHistory }) => {\n if (smsHistory.length === 0) {\n return null;\n }\n\n const lastInteraction = smsHistory[smsHistory.length - 1];\n const lastSeen = moment(lastInteraction.interacted_at || lastInteraction.dateCreated);\n const formattedTime = lastSeen.fromNow();\n\n return (\n
\n
Last seen
\n
{formattedTime}
\n
\n );\n};\n\nconst interactionShape = { interacted_at: PropTypes.string, dateCreated: PropTypes.string };\n\nLastSeen.propTypes = {\n smsHistory: PropTypes.arrayOf(PropTypes.shape(interactionShape)).isRequired,\n};\n\nexport default LastSeen;\n","const placeholderContent = (viewPhone) => {\n if (!viewPhone) { return \"Compose message\" }\n const messageable = !viewPhone?.smsUnsubscribed;\n return messageable ? \"Compose message\" : viewPhone.smsIcon.tooltip;\n};\n\nexport default placeholderContent;\n","const CALL_STATES = {\n Init: \"init\",\n Started: \"started\",\n Ringing: \"ringing\",\n Connected: \"connected\",\n Ended: \"ended\",\n};\n\nexport default CALL_STATES;\n","export const updateStageAttribute = (editablePerson) => {\n const { type_name, stage } = editablePerson.data.attributes;\n\n if (type_name !== \"lead\") {\n editablePerson.data.attributes.stage = \"\";\n editablePerson.data.attributes.stage_type = \"\";\n } else if (type_name === \"lead\" && stage === \"\") {\n editablePerson.data.attributes.stage = \"New lead\";\n editablePerson.data.attributes.stage_type = \"lead\";\n }\n};\n\nexport const formatFileSize = (bytes) => {\n if (bytes === 0) return \"0 KB\";\n\n const k = 1024;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\"];\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + \" \" + sizes[i];\n};\n","/* \n This file is used to help standardizing action creators.\n\n Each action should be namespaced to the reducer they are intended to be used at. \n This will be accomplished using the namespace function along with setting the \n reducer name atop the actions file.\n*/\nimport { snakeCase } from \"lodash\";\nimport moment from \"moment\";\n\nimport { pipe } from \"../Transactions/utils/helpers\";\n\nconst upCase = (string) => string.toUpperCase();\nconst adjustReducerName = pipe(snakeCase, upCase);\n\nconst prefix = (reducerName, actionType) => `[${reducerName}]_${actionType}`;\n\n/**\n * Transforms the action's name to apply upper-case, underscore-separated, square-bracket-enclosed reducerName as prefix.\n * @example\n * // return \"[TDP_REDUCER]_ADD_IMG\"\n * namespaceType(\"ADD_IMG\", \"tdpReducer\")\n * @param {string} actionType\n * @param {string} reducerName\n * @returns {string}\n */\nconst namespaceType = (reducerName, actionType) => prefix(adjustReducerName(reducerName), actionType);\n\n/**\n * Returns an action with namespaced type property. Used to apply reducer namespacing.\n * @example\n * // return { type: \"[TDP_REDUCER]_ADD_IMG\" }\n * namespaceAction(\"tdpReducer\", { type: \"ADD_IMG\" });\n * @param {string} reducerName\n * @param {object} action - Reducer action's, with `type` as the identifier\n * @returns {object} - Action with namespaced `type` property\n */\nconst namespaceAction = (reducerName, action) => ({\n ...action,\n type: namespaceType(reducerName, action.type),\n});\n\n/**\n * Curries namespace action in order to provide namespace once and apply it to multiple actions\n * @param {string} reducerName\n * @returns {function} a function that applies namespaceAction with the provided action and curried reducerName\n */\nconst curriedNamespaceAction = (reducerName) => (action) => namespaceAction(reducerName, action);\n\nexport default curriedNamespaceAction;\n\n// Returns a string calculated by timeframe created\n// const exactDateHelper = (days) => moment().add(days, \"days\").format(\"MM/DD/YYYY\");\n\nconst IMMEDIATE_UNKNOWN = [\"Immediate\", \"Unknown\"];\n\nconst formatExactDateToRead = (dateString) => {\n // Edge case... if dropdown option chosen is Immediate || Unknown don't format\n if (IMMEDIATE_UNKNOWN.includes(dateString)) return dateString;\n\n return moment(dateString, \"MM/DD/YYYY\").format(\"MMM DD, YYYY\");\n};\n\nconst TIMEFRAME_PREFIX_DICTIONARY = {\n Immediate: null,\n Unknown: null,\n \"Within 90 days\": \"By\",\n \"Within a year\": \"By\",\n \"After a year\": \"After\",\n Custom: \"\",\n};\n\n// Gets a easy to read date for FE ex: By Mar 15, 2023 || After Mar 20, 2023 || Unknown\nexport const timeframeReadHelper = (timeframe, exactDate) => {\n if (IMMEDIATE_UNKNOWN.includes(timeframe)) return timeframe;\n\n const pref = TIMEFRAME_PREFIX_DICTIONARY[timeframe];\n\n return `${pref} ${formatExactDateToRead(exactDate)}`;\n};\n","const createAgreement = (rawAgreement) => ({\n agreementType: rawAgreement?.agreement_type,\n id: rawAgreement?.id,\n signedDate: rawAgreement?.signed_at,\n expirationDate: rawAgreement?.expired_at,\n cancellationDate: rawAgreement?.cancelled_at,\n isCompleted: rawAgreement?.completed,\n isCanceled: rawAgreement?.cancelled,\n listing: rawAgreement?.listing\n ? { label: rawAgreement?.listing?.name, value: rawAgreement?.listing?.id }\n : null,\n status: rawAgreement?.status,\n document: createDocument(rawAgreement?.document),\n addendums: createAddendums(rawAgreement?.addendums || []),\n});\n\nconst createDocument = (rawDoc) => ({\n fileExtension: `.${rawDoc?.file_name.split(\".\").pop()}`,\n url: rawDoc?.url,\n uploadedById: rawDoc?.uploaded_by_id,\n uploadedByImageUrl: rawDoc?.uploaded_by_image_url,\n uploadedByImage: rawDoc?.uploaded_by_image,\n uploadedByName: rawDoc?.uploaded_by_name,\n uploadedByUrl: rawDoc?.uploaded_by_url,\n fileName: rawDoc?.file_name,\n fileType: rawDoc?.file_type,\n humanReadableSize: rawDoc?.human_readable_size,\n id: rawDoc?.id,\n nakedName: rawDoc?.naked_name,\n imageIcon: rawDoc?.image_icon,\n size: rawDoc?.size,\n uploadedAt: rawDoc?.uploaded_at,\n addedAgo: rawDoc?.added_ago,\n dateAdded: rawDoc?.date_added,\n expiringUrl: rawDoc?.expiring_url,\n documentSubType: rawDoc?.document_sub_type,\n canRename: true,\n});\n\nexport const createAgreements = (rawAgreements) =>\n rawAgreements.map((rawAgreement) => createAgreement(rawAgreement));\n\nexport const createAddendums = (rawAddendums) =>\n rawAddendums.map((rawAddendum) => createDocument(rawAddendum));\n\nexport const formattedStages = (rawFinancingStages) =>\n rawFinancingStages.map((stage) => ({\n label: stage.toUpperCase(),\n value: stage,\n }));\n","import axios from \"axios\";\nimport { produce } from \"immer\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { updateStageAttribute } from \"./helper\";\nimport namespaceAction from \"../../reducers/helpers\";\nimport { createAgreements, createAddendums, formattedStages } from \"./apiAdapters\";\n\nconst REDUCER_NAME = \"AgreementReducer\";\nconst wrap = namespaceAction(REDUCER_NAME);\n\nexport const agreementUploaded = (data) => wrap({ type: \"AGREEMENT_UPLOADED\", data });\n\nexport const agreementUpdated = (data, id) => wrap({ type: \"AGREEMENT_UPDATED\", data, id });\n\nexport const loanUpdated = (data, id) => wrap({ type: \"LOAN_UPDATED\", data, id });\n\nexport const agreementReplaced = (data, agreementId) =>\n wrap({ type: \"AGREEMENT_REPLACED\", data, agreementId });\n\nexport const removeDeletedAgreement = (id) => wrap({ type: \"DELETE_AGREEMENT\", id });\n\nexport const toggleSuccessToastMsg = (data) => wrap({ type: \"TOGGLE_SUCCESS_TOAST_MSG\", data });\n\nexport const storeFetchedAgreements = (data) => wrap({ type: \"FETCH_AGREEMENTS\", data });\n\nexport const storeFetchedLoans = (data) => wrap({ type: \"FETCH_LOANS\", data });\n\nexport const storeFetchedLoansFinancingStages = (data) =>\n wrap({ type: \"FETCH_LOANS_FINANCING_STAGES\", data });\n\nexport const storeFetchedAvailableTransactions = (data) =>\n wrap({ type: \"FETCH_AVAILABLE_TRANSACTIONS\", data });\n\nexport const storeFetchedAvailableTransactionsForLoan = (data) =>\n wrap({ type: \"FETCH_AVAILABLE_TRANSACTIONS_LOAN\", data });\n\nexport const storeFetchedAddendums = (data) => wrap({ type: \"FETCH_ADDENDUMS\", data });\n\nconst updatePersonSuccess = (data) => {\n return {\n type: \"UPDATE_PERSON_SUCCESS\",\n person: data,\n };\n};\n\nconst togglePersonError = (value) => {\n return {\n type: \"TOGGLE_PERSON_ERROR\",\n value,\n };\n};\n\nexport const updatePersonValues = (name, value) => {\n return {\n type: \"UPDATE_PERSON_VALUES\",\n name,\n value,\n };\n};\n\nexport const openEditPersonModal = () => {\n return {\n type: \"OPEN_EDIT_PERSON_MODAL\",\n };\n};\n\nexport const closeEditPersonModal = () => {\n return {\n type: \"CLOSE_EDIT_PERSON_MODAL\",\n };\n};\n\nconst fetchInitialTimeline = (data) => {\n return {\n type: \"FETCH_INITIAL_TIMELINE\",\n data: data,\n };\n};\n\nconst fetchTimelineError = (data) => {\n return {\n type: \"FETCH_TIMELINE_ERROR\",\n data: data,\n };\n};\n\nconst fetchingTimeline = () => {\n return {\n type: \"FETCHING_TIMELINE\",\n };\n};\n\nexport const updateTimeline = (data, type) => {\n return {\n type: type,\n data: data,\n };\n};\n\nconst updateTimelineEvent = (data) => {\n return {\n type: \"SUBMIT_UPDATE_TIMELINE_EVENT\",\n data: data,\n };\n};\n\nconst deleteTimelineNote = (id) => {\n return {\n type: \"DELETE_TIMELINE_NOTE\",\n id,\n };\n};\n\nconst submitSendEmail = (data) => {\n return {\n type: \"SUBMIT_SEND_EMAIL\",\n data: data,\n };\n};\n\nconst clearEmailState = (bool) => {\n return {\n type: \"CLEAR_EMAIL_STATE\",\n bool: bool,\n };\n};\n\nconst submitEmailError = (data) => {\n return {\n type: \"SUBMIT_ERROR_EMAIL\",\n data: data,\n };\n};\n\nconst submitAddAppointment = (data) => {\n return {\n type: \"SUBMIT_ADD_APPOINTMENT\",\n data: data,\n };\n};\n\nexport const submitNoteSuccess = (note) => ({\n type: \"SUBMIT_NOTE_SUCCESS\",\n note,\n});\n\nexport const updateNoteSuccess = (note) => ({\n type: \"UPDATE_NOTE_SUCCESS\",\n note,\n});\n\nexport const deleteNoteSuccess = (note) => ({\n type: \"DELETE_NOTE_SUCCESS\",\n note,\n});\n\n// use to reload person Detail after Edit Contact modal close\nexport const reloadPerson = (personId) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/person_detail/show/${personId}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updatePersonSuccess(res.data));\n });\n };\n};\nexport const updatePerson = (editablePerson) => {\n const updatedPerson = produce(editablePerson, (draft) => {\n updateStageAttribute(draft);\n });\n\n return (dispatch) => {\n axios\n .patch(`/api/v4/person_detail/${updatedPerson.data.id}`, {\n person: updatedPerson,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n console.log(res.data);\n dispatch(updatePersonSuccess(res.data));\n });\n };\n};\n\nexport const updatePersonData = (updatedPersonData) => {\n return (dispatch) => {\n dispatch(updatePersonSuccess(updatedPersonData));\n };\n};\n\nexport const uploadPersonAvatar = (event, person) => {\n return (dispatch) => {\n const fileUploaded = event.target.files[0];\n const url = \"/api/v4/person_detail/upload_avatar/\" + person.data.attributes.slug;\n let form_data = new FormData();\n form_data.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n form_data.append(\"person[avatar]\", fileUploaded);\n axios\n .post(url, form_data)\n .then((res) => {\n dispatch(updatePersonSuccess(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const addTagToPerson = (tag, person) => {\n return (dispatch) => {\n const url = \"/api/v4/person_detail/create_tag/\" + person.data.attributes.id;\n axios\n .post(url, { tag_name: tag, authenticity_token: ReactOnRails.authenticityToken() })\n .then((res) => {\n dispatch(updatePersonSuccess(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const deleteTagFromPerson = (tag_id, person) => {\n return (dispatch) => {\n const url = \"/api/v4/person_detail/destroy_tag/\" + person.data.attributes.id;\n axios\n .delete(url, { data: { tag_id: tag_id, authenticity_token: ReactOnRails.authenticityToken() } })\n .then((res) => {\n dispatch(updatePersonSuccess(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const submitNote = (note) => {\n return (dispatch) => {\n axios\n .post(`/people/${note.notable_id}/notes`, {\n note: { ...note },\n person_details_page: \"true\",\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(submitNoteSuccess(res.data));\n dispatch(closeAddNoteModal());\n dispatch(updateTimeline(res.data.timeline, \"UPDATE_PUBLIC_ACTIVITY_EVENTS\"));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nexport const updateNote = (note) => {\n return (dispatch) => {\n axios\n .patch(`/people/${note.notable_id}/notes/${note.id}`, {\n note,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateNoteSuccess(res.data));\n dispatch(updateTimelineEvent(res.data.timeline, \"UPDATE_PUBLIC_ACTIVITY_EVENTS\"));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nexport const getNotes = (person) => {\n return (dispatch) => {\n axios\n .get(`/people/${person.data.id}/notes.json`)\n .then((res) => {\n dispatch(getNotesSuccess(res.data));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nexport const deleteNote = (note) => {\n return (dispatch) => {\n axios\n .delete(`/people/${note.notable_id}/notes/${note.id}`, {\n data: {\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n })\n .then((res) => {\n dispatch(deleteNoteSuccess(note));\n dispatch(deleteTimelineNote(note.id));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nexport const submitUpdateNote = (value, event) => {\n return (dispatch) => {\n axios\n .patch(`/people/${event.object_attributes.notable_id}/notes/${event.object_attributes.id}`, {\n note: { content: value },\n person_details_page: \"true\",\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateTimelineEvent(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const submitUpdateInteraction = (interaction) => {\n return (dispatch) => {\n dispatch(updateTimelineEvent(interaction));\n };\n};\n\nexport const submitEmail = (sentEmailData, appInviteNeedsUpdating = null, homeAppRecipientId = null) => {\n return (dispatch) => {\n dispatch(submitSendEmail(sentEmailData));\n\n if (appInviteNeedsUpdating) {\n dispatch(touchHomeAppInviteSent(homeAppRecipientId));\n }\n\n setTimeout(function () {\n dispatch(clearEmailState(false));\n }, 5000);\n };\n};\n\nexport const handleSubmitEmailError = (err) => {\n return (dispatch) => {\n const data = err?.response?.data;\n let errors = data?.content || data?.error || \"Whoops something went wrong! Try again later.\";\n if (typeof data?.errors === \"object\") {\n const firstKey = Object.keys(data.errors)[0];\n errors = `${firstKey} ${data.errors[firstKey].join(\", \")}`;\n }\n dispatch(submitEmailError({ errors, isSupportError: data?.content?.startsWith(\"We apologize\") }));\n };\n};\n\nexport const submitAppointment = (data) => {\n return (dispatch) => {\n dispatch(submitAddAppointment(data));\n };\n};\n\nexport const openAddAppointmentModal = () => {\n return {\n type: \"OPEN_ADD_APPOINTMENT_MODAL\",\n };\n};\n\nexport const closeAddAppointmentModal = () => {\n return {\n type: \"CLOSE_ADD_APPOINTMENT_MODAL\",\n };\n};\n\nexport const addSmsToTimeline = (smsEvent) => {\n return (dispatch) => {\n dispatch(updateTimeline(smsEvent, \"UPDATE_PUBLIC_ACTIVITY_EVENTS\"));\n };\n};\n\nexport const submitOtherInteraction = (url, brivityOtherInteractionWrapper) => {\n return (dispatch) => {\n axios\n .post(url, brivityOtherInteractionWrapper)\n .then((res) => {\n dispatch(updateTimeline(res.data, \"UPDATE_PUBLIC_ACTIVITY_EVENTS\"));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const openManageAccessModal = () => ({ type: \"OPEN_MANAGE_ACCESS_MODAL\" });\n\nexport const closeManageAccessModal = () => ({ type: \"CLOSE_MANAGE_ACCESS_MODAL\" });\n\nexport const fetchTimeline = (slug) => {\n return (dispatch) => {\n dispatch(fetchingTimeline());\n axios\n .get(`/people/${slug}/timeline?remote=true&person_details_page=true`, {\n validateStatus: function (status) {\n return status < 400; // Resolve only if the status code is less than 400\n },\n })\n .then((res) => {\n dispatch(fetchInitialTimeline(res.data));\n })\n .catch((err) => {\n dispatch(fetchTimelineError(err));\n });\n };\n};\n\nexport const openAddRelationShipModal = () => ({ type: \"OPEN_ADD_RELATIONSHIP_MODAL\" });\n\nexport const closeAddRelationShipModal = () => ({ type: \"CLOSE_ADD_RELATIONSHIP_MODAL\" });\n\nexport const openAddNoteModal = () => ({ type: \"OPEN_ADD_NOTE_MODAL\" });\n\nexport const closeAddNoteModal = () => ({ type: \"CLOSE_ADD_NOTE_MODAL\" });\n\nconst uploadingDocument = (bool) => {\n return {\n type: \"UPLOADING_DOCUMENT\",\n bool,\n };\n};\n\nconst documentUploaded = (data) => {\n return {\n type: \"DOCUMENT_UPLOADED\",\n data: data,\n };\n};\n\nconst storeFetchedDocments = (data) => {\n return {\n type: \"FETCH_DOCUMENTS\",\n data: data,\n };\n};\n\nconst removeDeletedDocument = (id) => {\n return {\n type: \"DELETE_DOCUMENT\",\n id,\n };\n};\n\nexport const removeDocAgreement = (id) => {\n return {\n type: \"DELETE_DOCUMENT_AGREEMENT\",\n id,\n };\n};\n\nexport const renameDocument = (id, newName) => {\n return {\n type: \"RENAME_DOCUMENT\",\n id,\n newName,\n };\n};\n\nexport const createTransactions = (transactionData) => {\n return async (dispatch) => {\n try {\n const {\n selectedAgreementName,\n propertyType,\n closePrice,\n transactionTitle,\n source,\n client_id,\n clientIntent,\n referringAgent,\n referralFee,\n primaryAgent,\n commission,\n commission_percentage,\n referralFeeIsPercentage,\n personId,\n personRoleId,\n } = transactionData;\n\n const AGREEMENT_NAME_HASH = {\n buyer: \"BuyerListing\",\n seller: \"SellerListing\",\n referral: \"ReferralListing\",\n };\n\n const formData = new FormData();\n\n formData.append(\"utf8\", \"✓\");\n formData.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n formData.append(\"listing[type]\", AGREEMENT_NAME_HASH[selectedAgreementName]);\n\n formData.append(\n \"listing[status]\",\n selectedAgreementName === \"buyer\" || selectedAgreementName === \"seller\" ? \"pipeline\" : \"active\",\n );\n formData.append(\"listing[title]\", transactionTitle);\n formData.append(`listing[viewers_attributes][${personId}][person_id]`, personId);\n formData.append(`listing[viewers_attributes][${personId}][role_id]`, personRoleId);\n formData.append(`listing[viewers_attributes][${personId}][visible_to_public]`, true);\n formData.append(`listing[viewers_attributes][${personId}][collaborator]`, false);\n formData.append(`listing[viewers_attributes][${personId}][gets_updates]`, false);\n if (selectedAgreementName === \"buyer\" || selectedAgreementName === \"seller\") {\n formData.append(\"listing[est_close_price]\", closePrice);\n formData.append(\"listing[commission]\", commission);\n formData.append(\"listing[commission_percentage]\", commission_percentage);\n formData.append(\"listing[source_id]\", source?.value);\n\n formData.append(\n `listing[team_members_attributes][${primaryAgent.value}${0}][person_id]`,\n primaryAgent.value,\n );\n formData.append(\n `listing[team_members_attributes][${primaryAgent.value}${0}][role_id]`,\n primaryAgent.roleId,\n );\n formData.append(\n `listing[team_members_attributes][${primaryAgent.value}${0}][visible_to_public]`,\n primaryAgent.visible,\n );\n formData.append(\n `listing[team_members_attributes][${primaryAgent.value}${0}][primary]`,\n primaryAgent.primary,\n );\n formData.append(\"listing[address_attributes][address_type]\", \"listing\");\n formData.append(\"property_type\", propertyType.value);\n } else {\n formData.append(\"listing[referral_attributes][client_id]\", client_id);\n formData.append(\"listing[referral_attributes][client_intent]\", clientIntent);\n formData.append(\"listing[referral_attributes][referring_agent_id]\", referringAgent);\n\n if (referralFee.length) {\n formData.append(\"listing[referral_attributes][referral_fee]\", referralFee);\n }\n formData.append(\"listing[referral_attributes][is_fee_percentage]\", referralFeeIsPercentage);\n // seller\n if (clientIntent === \"seller\") {\n formData.append(\"property_type\", propertyType.value);\n formData.append(\"listing[address_attributes][address_type]\", \"listing\");\n }\n }\n\n if (selectedAgreementName === \"buyer\") {\n formData.append(\"listing[only_pending_info]\", \"true\");\n }\n formData.append(\"return_listing_details\", \"true\");\n const res = await axios.post(\"/listings\", formData);\n\n return res.data?.id;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return null;\n }\n };\n};\n\nexport const loadRoles = async (selectedAgreementName, currentUserID) => {\n const path =\n selectedAgreementName === \"buyer\"\n ? \"/roles/pending_transaction_roles\"\n : \"/roles/listing_transaction_roles\";\n\n const response = await axios.get(path, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n\n let defaultRoles = response.data.default_roles;\n const { roles } = response.data;\n\n // Reorder listing or buyer's agent role to be first\n if (selectedAgreementName === \"buyer\") {\n const buyersAgentRole = roles.find((role) => role.label === \"Buyer's Agent\");\n defaultRoles = [buyersAgentRole];\n } else {\n const listingAgentRole = roles.find((role) => role.label === \"Listing Agent\");\n defaultRoles = [listingAgentRole];\n }\n\n // Undefined shows up if the account doesn't have \"Buyer's Agent\" or \"Listing Agent\"\n defaultRoles = defaultRoles.filter((defaultRole) => defaultRole !== undefined);\n\n return {\n agentsOnTransaction: defaultRoles.map((role, index) => {\n const matchedAgent = role.agents.find((agent) => String(agent.value) === String(currentUserID));\n return {\n ...(matchedAgent ? { label: matchedAgent.label, value: matchedAgent.value } : {}),\n roleId: role.value,\n visible: \"false\",\n primary: index === 0 ? \"true\" : \"false\",\n };\n }),\n roles,\n };\n};\nexport const loadAllAvailableRoles = async () => {\n const response = await axios.get(\"/api/v4/transactions/allAvailableRoles/people/roles\");\n return response.data?.client || [];\n};\n\nexport const loadSources = async () => {\n const response = await axios.get(\"/sources\");\n return response.data.sources.map((source) => ({ label: source.text, value: source.id }));\n};\n\nexport const loadPropertyTypes = async () => {\n const response = await axios.get(\"/transaction_property_types\");\n return response.data.property_types.map((propertyType) => ({\n label: propertyType.name,\n value: propertyType.id,\n }));\n};\n\nexport const fetchDocuments = (person) => {\n return (dispatch) => {\n axios\n .get(`/people/${person.id}/documents`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedDocments(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const fetchAddendums = (uuid, agreementId) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/people/${uuid}/agreements/${agreementId}/documents`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedAddendums(createAddendums(res.data)));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const fetchAgreements = (person) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/people/${person.attributes.uuid}/agreements`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedAgreements(createAgreements(res.data)));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const fetchLoans = (personId) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/contact_people/${personId}/loans`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedLoans(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const fetchLoansFinancingStages = (personId) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/contact_people/${personId}/loans/form_options`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedLoansFinancingStages(formattedStages(res.data?.financing_stages)));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const fetchAvailableTransactions = (uuid) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/people/${uuid}/agreements/available_transactions`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedAvailableTransactions(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const fetchAvailableTransactionsForLoan = (uuid) => {\n return (dispatch) => {\n axios\n .get(`/api/v4/people/${uuid}/agreements/available_transactions`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedAvailableTransactionsForLoan(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const handleAgreementCreate = (uuid, agreementData) => {\n return (dispatch) => {\n axios\n .post(`/api/v4/people/${uuid}/agreements`, {\n agreement: agreementData,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(agreementUploaded(createAgreements([res.data])));\n dispatch(uploadingDocument(false));\n if (res.data?.document?.id) {\n dispatch(documentUploaded(res.data?.document));\n }\n const toastData = {\n show: true,\n msg: `${agreementData.agreement_type} Agreement added`,\n ...(agreementData.isCreateTransaction &&\n agreementData.listing_id && { transactionMsg: \"Transaction created\" }),\n };\n dispatch(toggleSuccessToastMsg(toastData));\n\n setTimeout(() => {\n dispatch(toggleSuccessToastMsg({ show: false, msg: \"\", transactionMsg: \"\" }));\n }, 7000);\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const handleAgreementUpdate = (person, agreementData, agreement_id) => {\n return async (dispatch) => {\n try {\n const res = await axios.put(`/api/v4/people/${person.uuid}/agreements/${agreement_id}`, {\n agreement: agreementData,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n dispatch(agreementUpdated(createAgreements([res.data]), agreement_id));\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\n\nexport const handleLoanUpdate = (personId, loanData, loan_id) => {\n return async (dispatch) => {\n try {\n const res = await axios.put(`/api/v4/contact_people/${personId}/loans/${loan_id}`, {\n ...loanData,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n dispatch(loanUpdated([res.data], loan_id));\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\n\nexport const handleDocumentUpload = (fileObj, person, isAgreement, payloadData, isCreatingAgreementDoc) => {\n return async (dispatch) => {\n try {\n dispatch(uploadingDocument(true));\n const fileUploaded = fileObj;\n const url = \"/people/\" + person.slug + \"/documents\";\n let form_data = new FormData();\n form_data.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n form_data.append(\"document[object]\", fileUploaded);\n form_data.append(\"person_details_page\", \"true\");\n if (isCreatingAgreementDoc) {\n form_data.append(\"document[document_type]\", \"agreement\");\n form_data.append(\"document[document_sub_type]\", payloadData.agreement_type);\n }\n const res = await axios.post(url, form_data);\n\n if (isAgreement) {\n const agreementData = {\n ...payloadData,\n agreement_type: payloadData.agreement_type,\n document_id: res.data.id,\n listing_id: payloadData.listing_id,\n isCreateTransaction: payloadData.isCreateTransaction,\n };\n dispatch(handleAgreementCreate(person.uuid, agreementData));\n } else {\n dispatch(documentUploaded(res.data));\n dispatch(uploadingDocument(false));\n }\n\n return { CreatedDocID: res.data.id };\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n dispatch(uploadingDocument(false));\n return { errors: err?.response?.data?.errors };\n }\n };\n};\n\nexport const handleAddendumUpload = (fileObj, person, agreement_id) => {\n return async (dispatch) => {\n try {\n dispatch(uploadingDocument(true));\n const fileUploaded = fileObj;\n const url = `/api/v4/people/${person.uuid}/agreements/${agreement_id}/documents`;\n let form_data = new FormData();\n form_data.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n form_data.append(\"document[object]\", fileUploaded);\n form_data.append(\"person_details_page\", \"true\");\n form_data.append(\"document[document_type]\", \"addendum\");\n const res = await axios.post(url, form_data);\n dispatch(documentUploaded(res.data));\n dispatch(uploadingDocument(false));\n\n dispatch(toggleSuccessToastMsg({ show: true, msg: \"Addendum uploaded\" }));\n\n setTimeout(() => {\n dispatch(toggleSuccessToastMsg({ show: false, msg: \"\" }));\n }, 7000);\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\n\nexport const handleDocumentRename = (person, document_id, newName) => {\n return async (dispatch) => {\n try {\n const res = await axios.patch(`/people/${person.id}/documents/${document_id}/rename`, {\n file_name: newName,\n person_details_page: \"true\",\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n dispatch(renameDocument(document_id, newName));\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\nexport const handleAddendumRename = (person, agreement_id, document_id, newName) => {\n return async (dispatch) => {\n try {\n const res = await axios.patch(\n `/api/v4/people/${person.uuid}/agreements/${agreement_id}/documents/${document_id}/rename`,\n {\n file_name: newName,\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n );\n\n dispatch(renameDocument(document_id, newName));\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\n\nexport const handleDocumentDelete = (person, document_id) => {\n return async (dispatch) => {\n try {\n const path = `/people/${person.id}/documents/${document_id}`;\n const res = await axios.delete(path, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n\n dispatch(removeDeletedDocument(document_id));\n dispatch(removeDocAgreement(document_id));\n\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\n\nexport const handleAddendumDelete = (person, agreement_id, document_id) => {\n return async (dispatch) => {\n try {\n const path = `/api/v4/people/${person.uuid}/agreements/${agreement_id}/documents/${document_id}`;\n\n const res = await axios.delete(path, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n\n dispatch(removeDeletedDocument(document_id));\n return res.data;\n } catch (err) {\n // TODO: Handle error\n console.log(err);\n return err;\n }\n };\n};\n\nexport const handleAgreementDelete = (person, agreement_id) => {\n return (dispatch) => {\n const path = `/api/v4/people/${person.data.attributes.uuid}/agreements/${agreement_id}`;\n axios\n .delete(path, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then((res) => {\n dispatch(removeDeletedAgreement(agreement_id));\n\n dispatch(toggleSuccessToastMsg({ show: true, msg: \"Agreement deleted\" }));\n\n setTimeout(() => {\n dispatch(toggleSuccessToastMsg({ show: false, msg: \"\" }));\n }, 7000);\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nconst storeFetchedRelationships = (data) => {\n return {\n type: \"FETCH_RELATIONSHIPS\",\n data: data,\n };\n};\n\nexport const fetchRelationships = (person) => {\n return (dispatch) => {\n axios\n .get(`/people/${person.id}/relationships?view_type=new`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedRelationships(res.data));\n });\n };\n};\n\nconst relationshipAdded = (data) => {\n return {\n type: \"RELATIONSHIP_ADDED\",\n data: data,\n };\n};\n\nconst relationshipEdited = (data) => {\n return {\n type: \"RELATIONSHIP_EDITED\",\n data: data,\n };\n};\n\nexport const addRelationship = (relationship) => {\n return (dispatch) => {\n dispatch(relationshipAdded(relationship));\n };\n};\n\nexport const saveRelationship = (person, relationshipId, primaryPersonLabel, relatedPersonLabel) => {\n return (dispatch) => {\n let editRelationshipUrl = `/people/${person.slug}/relationships/${relationshipId}.json`;\n let form_data = new FormData();\n form_data.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n form_data.append(\"_method\", \"patch\");\n if (primaryPersonLabel) {\n form_data.append(\"relationship[primary_person_label]\", primaryPersonLabel);\n }\n if (relatedPersonLabel) {\n form_data.append(\"relationship[related_person_label]\", relatedPersonLabel);\n }\n form_data.append(\"person_details_page\", \"true\");\n axios\n .post(editRelationshipUrl, form_data)\n .then((res) => {\n dispatch(relationshipEdited(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nconst storeFetchedTransactions = (desc) => {\n return {\n type: \"STORE_FETCHED_TRANSACTIONS\",\n data: desc,\n };\n};\n\nexport const getPerson = (slug) => (dispatch) => {\n dispatch(togglePersonError());\n axios\n .get(`/api/v4/person/${slug}/details`)\n .then(({ data }) => dispatch(updatePersonSuccess(data)))\n .catch(() => dispatch(togglePersonError(true)));\n};\n\nexport const getNavLinks = (slug) => (dispatch) =>\n caseTransformingAxios\n .get(`/api/v4/person/${slug}/nav_links`)\n .then(({ data }) => dispatch({ type: \"GET_NAV_LINKS\", data }))\n .catch(console.log);\n\nexport const fetchTransactions = (person_id) => {\n return (dispatch) => {\n axios\n .get(`/people/${person_id}/transactions/quick_view`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(storeFetchedTransactions(res.data));\n });\n };\n};\n\nexport const openTaskModal = () => ({ type: \"OPEN_TASK_MODAL\" });\n\nexport const openAppointmentModal = () => ({ type: \"OPEN_APPOINTMENT_MODAL\" });\n\nexport const closeAppointmentModal = () => ({ type: \"CLOSE_APPOINTMENT_MODAL\" });\n\nexport const closeTaskModal = () => ({ type: \"CLOSE_TASK_MODAL\" });\n\nexport const openAddListingAlertModal = () => ({ type: \"OPEN_ADD_LISTING_ALERT_MODAL\" });\n\nexport const closeAddListingAlertModal = () => ({ type: \"CLOSE_ADD_LISTING_ALERT_MODAL\" });\n\nexport const deleteRelationship = (person, relationshipId) => {\n return (dispatch) => {\n const path = `/people/${person.slug}/relationships/${relationshipId}?view_type=new`;\n axios\n .delete(path, {\n params: { person_details_page: true, authenticity_token: ReactOnRails.authenticityToken() },\n })\n .then((res) => {\n dispatch(relationShipDestroyed(relationshipId));\n })\n .catch((error) => {\n console.log(error);\n });\n };\n};\n\nconst relationShipDestroyed = (relationshipId) => {\n return {\n type: \"RELATIONSHIP_DELETED\",\n data: relationshipId,\n };\n};\n\nexport const openEditSocialMediaModal = () => {\n return {\n type: \"OPEN_EDIT_SOCIAL_MEDIA_MODAL\",\n };\n};\n\nexport const closeEditSocialMediaModal = () => {\n return {\n type: \"CLOSE_EDIT_SOCIAL_MEDIA_MODAL\",\n };\n};\n\nexport const openWebActivityModal = () => ({ type: \"OPEN_WEB_ACTIVITY_MODAL\" });\nexport const closeWebActivityModal = () => ({ type: \"CLOSE_WEB_ACTIVITY_MODAL\" });\n\nexport const openAddAutoPlanModal = () => ({ type: \"OPEN_ADD_AUTO_PLAN_MODAL\" });\n\nexport const closeAddAutoPlanModal = () => ({ type: \"CLOSE_ADD_AUTO_PLAN_MODAL\" });\n\nexport const closeDeleteAssignedPlanModal = () => ({ type: \"CLOSE_DELETE_ASSIGNED_PLAN_MODAL\" });\n\nconst fetchAssignedPlansSuccess = (assignedPlans) => {\n return {\n type: \"FETCH_ASSIGNED_PLANS\",\n data: assignedPlans,\n };\n};\n\nconst assignedPlanSuccess = (assignedPlan) => {\n return {\n type: \"CREATE_ASSIGNED_PLAN\",\n data: assignedPlan,\n };\n};\n\nconst updateAssignedPlanSuccess = (assignedPlan) => {\n return {\n type: \"UPDATE_ASSIGNED_PLAN\",\n data: assignedPlan,\n };\n};\n\nexport const getAssignedPlans = (assignable_id) => {\n return (dispatch) => {\n // dispatch(fetchAssignedPlansPending());\n\n axios\n .get(\"/assigned_plans\", {\n responseType: \"json\",\n contentType: \"application/json\",\n params: { assignable_type: \"Person\", assignable_id },\n })\n .then((results) => {\n dispatch(fetchAssignedPlansSuccess(results.data));\n })\n .catch((err) => {\n console.log(\"error\", err);\n // dispatch(fetchAssignedPlansFailure());\n });\n };\n};\n\nexport const fetchAutoPlans = (autoPlansPath, type, page = null) => {\n const path = `${autoPlansPath}.json?plan_type=${type}&page=${page}`;\n return (dispatch) => {\n // dispatch(fetchAutoPlans())\n axios\n .get(path)\n .then((results) => {\n dispatch(autoPlansSuccess(results.data));\n })\n .catch((err) => {\n dispatch({ type: \"AUTO_PLANS_FAILURE\", isFetchingAutoPlans: false });\n });\n };\n};\n\nexport const submitApplyPlan = (plan, assignableId) => {\n const form = { ...plan, assignable_id: assignableId, assignable_type: \"Person\", auto_plan_id: plan.id };\n\n return (dispatch) => {\n axios\n .post(\"/assigned_plans\", {\n assigned_plan: form,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((results) => {\n dispatch(assignedPlanSuccess(results.data));\n });\n };\n};\n\nexport const updateAssignedPlan = (assignedPlanPath, form) => {\n const formWithToken = { ...form, authenticity_token: ReactOnRails.authenticityToken() };\n\n return (dispatch) => {\n axios\n .patch(assignedPlanPath, formWithToken)\n .then((results) => {\n dispatch(updateAssignedPlanSuccess(results.data.assigned_plan));\n })\n .catch((err) => console.log(\"ERROR UPDATING PLAN\", err));\n };\n};\n\nexport const openDeleteAssignedPlanModal = (planToDelete) => {\n return (dispatch) => {\n dispatch({\n type: \"OPEN_DELETE_ASSIGNED_PLAN_MODAL\",\n planToDelete,\n });\n };\n};\n\nexport const openEditAppointmentModal = () => ({ type: \"OPEN_EDIT_APPOINTMENT_MODAL\" });\nexport const closeEditAppointmentModal = () => ({ type: \"CLOSE_EDIT_APPOINTMENT_MODAL\" });\nexport const updateAppointment = (data) => {\n return (dispatch) => {\n dispatch(updateAppointmentState(data));\n };\n};\n\nconst updateAppointmentState = (data) => {\n return {\n type: \"UPDATE_APPOINTMENT\",\n data: data,\n };\n};\n\nexport const deleteAppointment = ({ id, person_id }) => {\n return (dispatch) => {\n axios\n .delete(`/people/${person_id}/interactions/${id}`, {\n params: {\n person_details_page: \"true\",\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n })\n .then((res) => {\n dispatch(removeAppointment(id));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nconst removeAppointment = (id) => {\n return {\n type: \"REMOVE_APPOINTMENT\",\n id,\n };\n};\n\nexport const getTasks = (person_id) => {\n return (dispatch) => {\n axios\n .get(`/tasks/quick_view?id=${person_id}`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(getTasksSuccess(res.data));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nexport const getAppointments = (person_id) => {\n return (dispatch) => {\n axios\n .get(`/tasks/appointments?id=${person_id}&limit=3`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n dispatch(getAppointmentsSuccess(res.data));\n })\n .catch((err) => {\n console.log(err);\n });\n };\n};\n\nconst getTasksSuccess = (data) => {\n return {\n type: \"GET_TASKS\",\n data,\n };\n};\n\nconst getAppointmentsSuccess = (data) => {\n return {\n type: \"GET_APPOINTMENTS\",\n data,\n };\n};\n\nexport const updateTasks = () => {\n return {\n type: \"UPDATE_TASKS\",\n };\n};\n\nexport const updateCardTasks = (task) => {\n return {\n type: \"UPDATE_CARD_TASKS\",\n task,\n };\n};\n\nconst getNotesSuccess = (data) => {\n return {\n type: \"GET_NOTES\",\n data,\n };\n};\n\nexport const openEditAddressModal = () => ({ type: \"OPEN_EDIT_ADDRESS_MODAL\" });\n\nexport const closeEditAddressModal = () => ({ type: \"CLOSE_EDIT_ADDRESS_MODAL\" });\n\nexport const showAutoPlanPreview = (auto_plan_id) => {\n return (dispatch) => {\n axios\n .get(`/auto_plans/${auto_plan_id}/preview`)\n .then((res) => dispatch({ type: \"SHOW_AUTO_PLAN_PREVIEW\", autoPlan: res.data.auto_plan }))\n .catch((err) => {\n console.log(\"Failed to preview auto plan\");\n });\n };\n};\n\nexport const previewAction = (actionId) => {\n return (dispatch) => {\n dispatch({\n type: \"PREVIEW_ACTION\",\n actionId,\n });\n };\n};\n\nexport const closeAutoPlanPreview = () => {\n return {\n type: \"CLOSE_AUTO_PLAN_PREVIEW\",\n };\n};\n\nexport const showPlanDetails = (planId) => {\n return (dispatch) => {\n axios\n .get(`/assigned_plans/${planId}`, {\n responseType: \"json\",\n contentType: \"application/json\",\n })\n .then((results) => {\n dispatch({ type: \"SHOW_PLAN_DETAILS\", assignedPlan: results.data.assigned_plan });\n })\n .catch((err) => {\n console.log(\"Can't show assigned plan modal\");\n });\n };\n};\n\nexport const closePlanDetails = () => {\n return {\n type: \"CLOSE_PLAN_DETAIL\",\n };\n};\n\nexport const assignedActionPreview = (assignedAction) => {\n return (dispatch) => {\n dispatch({\n type: \"ASSIGNED_ACTION_PREVIEW\",\n assignedAction,\n });\n };\n};\n\nexport const showAssignedActionDeleteModal = (actionToDelete) => {\n return (dispatch) => {\n dispatch({\n type: \"SHOW_ASSIGNED_ACTION_DELETE_MODAL\",\n actionToDelete,\n });\n };\n};\n\nexport const closeAssignedActionDeleteModal = () => {\n return {\n type: \"CLOSE_ASSIGNED_ACTION_DELETE_MODAL\",\n };\n};\n\nexport const deleteAction = (id, assignedActionPath, callback) => {\n return (dispatch) => {\n axios\n .delete(assignedActionPath, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then((results) => {\n dispatch({\n type: \"DELETE_ACTION_SUCCESS\",\n assignedActionId: id,\n });\n // TODO: is this used?\n debugger;\n if (callback) {\n dispatch(callback);\n }\n })\n .catch((err) => {\n dispatch({\n type: \"DELETE_ACTION_FAILURE\",\n error: err.response.data.message,\n });\n });\n };\n};\n\nexport const updateAction = (assignedActionPath, form = {}) => {\n const formWithToken = { ...form, authenticity_token: ReactOnRails.authenticityToken() };\n\n return (dispatch) => {\n dispatch(updateActionPending());\n\n axios\n .patch(assignedActionPath, formWithToken)\n .then((results) => {\n dispatch(updateActionSuccess(results.data));\n })\n .catch((err) => {\n dispatch(updateActionFailure());\n });\n };\n};\n\nconst updateActionPending = () => {\n return {\n type: \"UPDATE_ACTION_PENDING\",\n };\n};\n\nconst updateActionSuccess = (assignedAction) => {\n return {\n type: \"UPDATE_ACTION_SUCCESS\",\n assignedAction,\n };\n};\n\nconst updateActionFailure = (assignedAction) => {\n return {\n type: \"UPDATE_ACTION_FAILURE\",\n };\n};\n\nexport const openDeleteCloseActionsModal = (planToDelete) => {\n return (dispatch) => {\n dispatch({\n type: \"OPEN_DELETE_CLOSE_ACTIONS_MODAL\",\n planToDelete,\n });\n };\n};\n\nexport const setInteractionTab = (tabIndex) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_INTERACTION_TAB\",\n tabIndex,\n });\n };\n};\n\nexport const setGmailReplyThread = (\n gmailReplyThreadId,\n gmailReplyThreadSubject,\n additionalRecipientsVal,\n CCval,\n BCCval,\n) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_GMAIL_REPLY_THREAD\",\n gmailReplyThreadId,\n gmailReplyThreadSubject,\n additionalRecipientsVal,\n CCval,\n BCCval,\n });\n };\n};\n\nexport const setInteractionTabWithHomeAppContent = (defaultHomeAppTabContent, tabIndex) => {\n return {\n type: \"SET_INTERACTION_TAB_WITH_CONTENT\",\n defaultHomeAppTabContent,\n tabIndex,\n };\n};\n\nexport const clearInteractionTabContent = () => {\n return {\n type: \"CLEAR_INTERACTION_TAB_CONTENT\",\n };\n};\n\nexport const touchHomeAppInviteSent = (personId) => {\n return (dispatch) => {\n axios\n .patch(`/api/v4/person_detail/${personId}/touch_home_app_invite_sent`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateHomeAppInviteSent(res.data));\n });\n };\n};\n\nconst updateHomeAppInviteSent = (personData) => {\n return {\n type: \"UPDATE_HOME_APP_INVITE_SENT\",\n id: personData.data.attributes.id,\n inviteSent: personData.data.attributes.home_app_invite_sent,\n };\n};\n\nexport const toggleTransactionModal = (value) => {\n return {\n type: \"TOGGLE_TRANSACTION_MODAL\",\n value,\n };\n};\n\nexport const toggleLenderModal = () =>\n wrap({\n type: \"TOGGLE_LENDER_MODAL\",\n });\n\nexport const toggleSuccessReferLoanToast = () =>\n wrap({\n type: \"TOGGLE_SUCCESS_REFER_LOAN_TOAST\",\n });\n\nexport const setLastRefferedDateTime = (dateTime) =>\n wrap({\n type: \"SET_LAST_REFERRED_DATE_TIME\",\n data: dateTime,\n });\n\nexport const toggleStarred = (note) => {\n return async (dispatch) => {\n axios\n .patch(`/people/${note.notable_id}/notes/${note.id}`, {\n note: { ...note, starred: !note.starred },\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateNoteSuccess(res.data));\n dispatch(updateTimelineEvent(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n console.log(err);\n });\n };\n};\n\nexport const toggleExternallyVisible = (note) => {\n return async (dispatch) => {\n axios\n .patch(`/people/${note.notable_id}/notes/${note.id}`, {\n note: { ...note, externallyVisible: !note.externallyVisible },\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateNoteSuccess(res.data));\n dispatch(updateTimelineEvent(res.data));\n })\n .catch((err) => {\n // TODO: Handle error\n conssole.log(err);\n });\n };\n};\n\nexport const fetchProjects = (slug) => (dispatch) =>\n axios\n .get(`/api/v4/person/${slug}/projects`)\n .then(({ data }) => dispatch({ type: \"FETCH_PROJECTS\", data }))\n .catch(console.log);\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment-timezone\";\nimport { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport {\n caseTransformingAxios,\n responseDataToCamelCase,\n requestDataToSnakeCase,\n} from \"@shared/v2/caseTransformingAxios\";\nimport dncApi from \"@shared/phoneDncStatusApi\";\nimport { upperFirst } from \"lodash\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\nimport { STATUS_ICON_MODIFIERS } from \"@shared/models/Communications/viewPhoneIcons/CallStatusIcon\";\nimport { DncFlag } from \"@shared/Sms\";\nimport CALL_STATES from \"../../Dialer/utils/states\";\nimport { updateTimeline } from \"../../PersonDetail/actions/personDetailActionCreators\";\n\nexport const DIALER_NAME = \"dialer\";\nexport const DIALER_INLINE_NAME = \"dialerInline\";\n\nexport const initialState = {\n callState: CALL_STATES.Init,\n isRecording: false,\n isRecordingConsentRequired: false,\n comment: \"\",\n conference: null,\n duration: null,\n error: null,\n leadUuids: null,\n loading: false,\n outcome: null,\n person: {},\n phoneNumber: null,\n phoneNumbers: [],\n session: null,\n validLeads: {},\n};\n\nconst PhoneNumberOption = ({ viewPhone, isDnc }) => {\n const icon = viewPhone.isMobile ? viewPhone.mobileCallIcon : viewPhone.callIcon;\n const phoneColor = STATUS_ICON_MODIFIERS[viewPhone.callStatus];\n\n return (\n
\n {icon.icon({ size: \"m\" })}\n {`${upperFirst(viewPhone.category)}: ${viewPhone.formattedNumber}`}\n {isDnc && }\n
\n );\n};\n\nPhoneNumberOption.propTypes = {\n viewPhone: PropTypes.shape().isRequired,\n isDnc: PropTypes.bool.isRequired,\n};\n\nconst checkValidLeads = (name) =>\n createAsyncThunk(`${name}/checkValidLeads`, (leadUuids) =>\n caseTransformingAxios.post(\"/dialer/check_valid_leads\", { leadUuids }),\n );\n\nconst createTemporaryTimelineEvent = ({ currentUser, outcome, comment, duration }) => {\n const unixTime = moment().unix();\n return {\n agent_person: {\n first_name: currentUser.firstName,\n last_name: currentUser.lastName,\n },\n id: `public_activity_${unixTime}`,\n interaction_type: \"call\",\n interacted_at_epoch: unixTime,\n interacted_at_absolute: moment.tz(\"America/Los_Angeles\").format(\"MM/DD/YY [at] h:mm a z\"),\n object_attributes: {\n duration,\n interaction_type: \"call\",\n outcome,\n markdown_comment: comment,\n },\n };\n};\n\nconst getPersonAndNumbers = (name) =>\n createAsyncThunk(`${name}/getPerson`, (uuid, thunkApi) =>\n caseTransformingAxios\n .get(`/api/v4/person/${uuid}/dialer_details`, { signal: thunkApi.signal })\n .then(({ data: person }) => {\n const dialablePhoneNumbers = person?.dialablePhoneNumbers || [];\n return dncApi\n .index(\n dialablePhoneNumbers.map((x) => x.value),\n thunkApi.signal,\n )\n .catch(() => ({ data: {} }))\n .then(({ data: dncMap }) => {\n const phoneNumbers = dialablePhoneNumbers.map((phone) => {\n const viewPhone = viewPhoneFromFlat(phone);\n const isDnc = dncMap[phone.value];\n return {\n label: ,\n value: phone.value,\n meta: { ...viewPhone, isDnc },\n };\n });\n const phoneNumber = phoneNumbers.find((i) => i.meta.position === 1) || phoneNumbers[0] || null;\n return {\n person: {\n id: person.id,\n fullName: person.fullName,\n primaryPhoneNumber: phoneNumber?.value,\n uuid: person.uuid,\n slug: person.slug,\n },\n phoneNumbers,\n phoneNumber,\n };\n });\n }),\n );\n\nconst createDialerSession = (name) =>\n createAsyncThunk(`${name}/createDialerSession`, (_, thunkApi) => {\n const {\n [name]: { leadUuids, person, listingUuid, callSource },\n layout: {\n apiUrls: { dialerServiceUrl },\n },\n } = thunkApi.getState();\n\n return caseTransformingAxios\n .post(\n \"/dialer/create_dialer_session\",\n { leadUuids, person, listingUuid, callSource },\n { signal: thunkApi.signal },\n )\n .then(({ data: session }) =>\n caseTransformingAxios\n .post(`${dialerServiceUrl}/dialer/start_dialer_session`, { token: session.token })\n .then(() => session),\n )\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n });\n\nconst endCall = (name) =>\n createAsyncThunk(`${name}/dialer/endCall`, (_, thunkApi) => {\n const {\n [name]: { person, session },\n layout: {\n apiUrls: { dialerServiceUrl },\n },\n } = thunkApi.getState();\n const token = session?.token;\n return caseTransformingAxios\n .post(`${dialerServiceUrl}/dialer/end_current_call`, { token }, { signal: thunkApi.signal })\n .catch(console.log)\n .finally(() => {\n if (person) {\n return caseTransformingAxios\n .post(`${dialerServiceUrl}/dialer/end_dialer_session`, { token })\n .catch(console.log);\n }\n return undefined;\n });\n });\n\nconst logCall = (name) =>\n createAsyncThunk(`${name}/logCall`, ({ listingId, listingUuid } = {}, thunkApi) => {\n const {\n [name]: { outcome, comment, conference, duration, person, session },\n layout: {\n currentUser,\n apiUrls: { dialerServiceUrl },\n },\n } = thunkApi.getState();\n const token = session?.token;\n\n if (!token || !conference?.currentParticipant?.id) {\n return caseTransformingAxios\n .post(`/people/${person.id}/interactions`, {\n interaction: {\n listingId,\n userId: currentUser.id,\n personId: person.id,\n interactionType: \"call\",\n comment,\n outcome,\n },\n personDetailsPage: \"true\",\n })\n .then((res) =>\n thunkApi.dispatch(\n updateTimeline(requestDataToSnakeCase(res.data), \"UPDATE_PUBLIC_ACTIVITY_EVENTS\"),\n ),\n );\n }\n\n return caseTransformingAxios\n .post(`${dialerServiceUrl}/dialer/save_outcome`, {\n outcome,\n comment,\n listingUuid,\n participantId: conference?.currentParticipant.id,\n token,\n })\n .then(() => {\n thunkApi.dispatch(\n updateTimeline(\n createTemporaryTimelineEvent({ currentUser, outcome, comment, duration }),\n \"UPDATE_PUBLIC_ACTIVITY_EVENTS\",\n ),\n );\n });\n });\n\nconst startRecording = (name) =>\n createAsyncThunk(`${name}/startRecording`, (recordingConsent, thunkApi) => {\n const {\n [name]: { session },\n layout: {\n apiUrls: { dialerServiceUrl },\n },\n } = thunkApi.getState();\n const token = session?.token;\n return caseTransformingAxios\n .post(`${dialerServiceUrl}/dialer/start_recording`, { token, recording_consent: recordingConsent })\n .then(() => recordingConsent)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n });\n\nconst stopRecording = (name) =>\n createAsyncThunk(`${name}/stopRecording`, (_, thunkApi) => {\n const {\n [name]: { session },\n layout: {\n apiUrls: { dialerServiceUrl },\n },\n } = thunkApi.getState();\n const token = session?.token;\n return caseTransformingAxios.post(`${dialerServiceUrl}/dialer/stop_recording`, { token });\n });\n\nconst sharedSlice = (name = DIALER_NAME) => ({\n name,\n initialState,\n reducers: {\n clearSession: (state) => {\n state.session = null;\n },\n setCallState: (state, action) => {\n state.callState = action.payload;\n },\n setPhoneNumber: (state, action) => {\n state.phoneNumber = action.payload;\n state.person.primaryPhoneNumber = action.payload.value;\n },\n actionCableUpdateReceived: (state, action) => {\n const conference = responseDataToCamelCase(action.payload.conference);\n if (conference.currentParticipant?.humanizedCallStatus === \"Ringing\") {\n state.callState = CALL_STATES.Ringing;\n }\n if (conference.currentParticipant?.humanizedCallStatus === \"In-progress\") {\n state.callState = CALL_STATES.Connected;\n }\n if (\n conference.totalParticipants === 1 &&\n (conference.currentParticipant?.humanizedCallStatus === \"Completed\" ||\n conference.agentParticipant?.humanizedCallStatus === \"Completed\")\n ) {\n state.callState = CALL_STATES.Ended;\n }\n if (conference.agentParticipant?.humanizedCallStatus === \"Canceled\") {\n state.callState = CALL_STATES.Init;\n state.session = null;\n }\n state.conference = conference;\n },\n setCallOutcome: (state, action) => {\n state.outcome = action.payload;\n },\n setComment: (state, action) => {\n state.comment = action.payload;\n },\n setDuration: (state, action) => {\n state.duration = action.payload;\n },\n setCallParams: (state, action) => {\n if (action.payload) {\n state.leadUuids = action.payload.leadUuids;\n state.callSource = action.payload.callSource;\n state.listingUuid = action.payload.listingUuid;\n } else {\n state.leadUuids = null;\n state.callSource = undefined;\n state.listingUuid = undefined;\n }\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(checkValidLeads(name).pending, (state) => {\n state.loading = true;\n })\n .addCase(checkValidLeads(name).fulfilled, (state, action) => {\n state.loading = false;\n state.validLeads = action.payload;\n })\n .addCase(checkValidLeads(name).rejected, (state) => {\n state.loading = false;\n });\n\n builder\n .addCase(getPersonAndNumbers(name).pending, (state) => {\n state.error = null;\n state.loading = true;\n })\n .addCase(getPersonAndNumbers(name).fulfilled, (state, action) => {\n state.callState = CALL_STATES.Init;\n state.loading = false;\n state.person = action.payload.person;\n state.phoneNumbers = action.payload.phoneNumbers;\n state.phoneNumber = action.payload.phoneNumber;\n })\n .addCase(getPersonAndNumbers(name).rejected, (state) => {\n state.loading = false;\n state.error = \"Failed to fetch person and phone numbers. Please try again later.\";\n });\n\n builder\n .addCase(createDialerSession(name).pending, (state) => {\n state.error = null;\n })\n .addCase(createDialerSession(name).fulfilled, (state, action) => {\n state.session = action.payload;\n })\n .addCase(createDialerSession(name).rejected, (state, action) => {\n state.callState = CALL_STATES.Init;\n if (action.payload?.status === 422) {\n state.error = \"Number is not valid\";\n } else {\n state.error = \"Dialer session could not be created, try again later.\";\n }\n })\n .addCase(startRecording(name).pending, (state) => {\n state.isRecording = true;\n state.isRecordingConsentRequired = false;\n })\n .addCase(startRecording(name).rejected, (state, action) => {\n state.isRecording = false;\n if (action.payload?.error === \"Recording consent is required\") {\n state.isRecordingConsentRequired = true;\n }\n })\n .addCase(startRecording(name).fulfilled, (state) => {\n state.isRecording = true;\n state.isRecordingConsentRequired = false;\n })\n .addCase(stopRecording(name).pending, (state) => {\n state.isRecording = false;\n });\n\n builder\n .addCase(logCall(name).fulfilled, (state) => {\n state.outcome = null;\n state.comment = \"\";\n state.callState = CALL_STATES.Init;\n state.session = null;\n })\n .addCase(logCall(name).rejected, (state, action) => {\n console.log(action.error);\n state.error = \"Call outcome could not be saved.\";\n });\n },\n});\n\nconst dialerSlice = createSlice(sharedSlice());\n\nconst dialerInlineSlice = createSlice(sharedSlice(DIALER_INLINE_NAME));\n\nexport {\n checkValidLeads,\n createDialerSession,\n endCall,\n getPersonAndNumbers,\n logCall,\n startRecording,\n stopRecording,\n};\n\nexport const {\n actionCableUpdateReceived,\n setCallOutcome,\n setCallState,\n setDuration,\n setComment,\n setPhoneNumber,\n clearSession,\n setInline,\n setCallParams,\n} = dialerSlice.actions;\n\nexport const {\n actionCableUpdateReceived: actionCableUpdateReceivedInline,\n setCallOutcome: setCallOutcomeInline,\n setCallState: setCallStateInline,\n setDuration: setDurationInline,\n setComment: setCommentInline,\n setPhoneNumber: setPhoneNumberInline,\n clearSession: clearSessionInline,\n setInline: setInlineInline,\n setCallParams: setCallParamsInline,\n} = dialerInlineSlice.actions;\n\nexport const dialer = dialerSlice.reducer;\nexport const dialerInline = dialerInlineSlice.reducer;\n","import Button from \"@shared/v2/Button\";\nimport React, { useMemo } from \"react\";\nimport { useDispatch, Provider } from \"react-redux\";\nimport { setCallParams } from \"../reducers/dialerReducer/dialerReducer\";\n\nconst getLeadUuids = () =>\n Array.from(\n document.querySelectorAll(\"table.leads-table input:checked,table.all-people-table input:checked\"),\n ).map((node) => node.closest(\"tr\").dataset.personUuid);\n\nconst AutoDialerButton = () => {\n const dispatch = useDispatch();\n return (\n \n );\n};\n\nconst AutoDialerButtonApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n \n \n \n );\n};\n\nexport default AutoDialerButtonApp;\n","export const sort = (data, sortKey, sortDesc) => {\n const multiplier = sortDesc ? -1 : 1;\n return data.sort((a, b) => {\n const aVal = a[sortKey]\n ? [\"last_login\", \"agent_last_login\", \"admin_last_login\"].includes(sortKey)\n ? new Date(a[sortKey])\n : a[sortKey]\n : 0;\n const bVal = b[sortKey]\n ? [\"last_login\", \"agent_last_login\", \"admin_last_login\"].includes(sortKey)\n ? new Date(b[sortKey])\n : b[sortKey]\n : 0;\n return aVal > bVal ? multiplier : aVal < bVal ? -multiplier : 0;\n });\n};\n\nconst sourceDefaults = {\n total_leads: 0,\n new: 0,\n unqualified: 0,\n watch: 0,\n nurture: 0,\n hot: 0,\n past: 0,\n inactive: 0,\n archived: 0,\n trash: 0,\n};\n\nconst defaultBrivitySources = [\n {\n source: \"Brivity CRM\",\n ...sourceDefaults,\n },\n {\n source: \"Brivity CMA\",\n ...sourceDefaults,\n },\n {\n source: \"Brivity Connect\",\n ...sourceDefaults,\n },\n {\n source: \"Brivity IDX\",\n ...sourceDefaults,\n },\n {\n source: \"Brivity Leads\",\n ...sourceDefaults,\n },\n {\n source: \"Brivity Valuations\",\n ...sourceDefaults,\n },\n {\n source: \"Kwkly\",\n ...sourceDefaults,\n },\n];\n\nconst initialState = {\n agents: [],\n callData: [],\n textData: [],\n appointmentData: [],\n dateRange: localStorage.getItem(\"date_range\") || \"last_seven_days\",\n customRange: false,\n isAllLeadsInRange: false,\n isAllTasksInRange: false,\n isAllAppointmentsInRange: false,\n customDates: {},\n sortDesc: false,\n leadTotal: 0,\n activeFilters: [],\n emailTotal: 0,\n callTotal: 0,\n textTotal: 0,\n contactedTotal: 0,\n adminTasks: [],\n agentTasks: [],\n adminTotalTasks: 0,\n adminTotalCompletedTasks: 0,\n adminTotalOnTimeTasks: 0,\n agentTotalTasks: 0,\n agentTotalCompletedTasks: 0,\n agentTotalOnTimeTasks: 0,\n agentTotalLateTasks: 0,\n brivitySources: [],\n isActivityReportLoaded: false,\n isFetching: true,\n};\n\nconst reportsReducer = (state = initialState, action) => {\n const defaultState = { ...initialState, ...state };\n switch (action.type) {\n case \"CALL_REPORT\":\n return {\n ...state,\n total_calls: action.total_calls,\n dateRange: action.dateRange.toLowerCase(),\n callData: sort(action.agents, state.sortKey, state.sortDesc),\n };\n\n case \"TEXT_REPORT\":\n return {\n ...state,\n total_texts: action.total_texts,\n dateRange: action.dateRange.toLowerCase(),\n textData: sort(action.agents, state.sortKey, state.sortDesc),\n };\n\n case \"FETCH_REPORTS\":\n return {\n ...state,\n agents: actions.agents,\n };\n\n case \"APPOINTMENT_REPORT\":\n return {\n ...state,\n total_calls: action.total_calls,\n dateRange: action.dateRange.toLowerCase(),\n appointmentData: sort(action.agents, state.sortKey, state.sortDesc),\n };\n\n case \"SET_ACTIVE_FILTERS\":\n const { selectedFilter, isChecked } = action;\n const currentFilters = state.activeFilters || [];\n const activeFilters = isChecked\n ? currentFilters.concat(selectedFilter)\n : currentFilters.filter((filter) => filter !== selectedFilter);\n\n return {\n ...state,\n activeFilters,\n };\n\n case \"SORT_REPORT\":\n const sortKey = action.sortKey;\n const sortDesc = state.sortKey === action.sortKey ? !state.sortDesc : false;\n const sorted = sort(state.agents, sortKey, sortDesc);\n const otherSources = state.otherSources ? sort(state.otherSources, sortKey, sortDesc) : [];\n return {\n ...state,\n dateRange: state.dateRange.toLowerCase(),\n sortKey,\n sortDesc,\n agents: sorted,\n callData: sort(state.callData, sortKey, sortDesc),\n textData: sort(state.textData, sortKey, sortDesc),\n brivitySources: sort(state.brivitySources, sortKey, sortDesc),\n otherSources: otherSources,\n appointmentData: sort(state.appointmentData, sortKey, sortDesc),\n adminTasks: sort(state.adminTasks.filter(Boolean), sortKey, sortDesc),\n agentTasks: sort(state.agentTasks.filter(Boolean), sortKey, sortDesc),\n };\n case \"FILTER_REPORT\":\n const { total_leads, total_emails, total_calls, total_texts, total_contacted } = action;\n return {\n ...state,\n total_leads,\n total_emails,\n total_calls,\n total_texts,\n total_contacted,\n isActivityReportLoaded: true,\n dateRange: action.dateRange.toLowerCase(),\n agents: sort(action.agents, state.sortKey, state.sortDesc),\n };\n\n case \"FILTER_SOURCE_REPORT\":\n return {\n ...state,\n dateRange: action.dateRange.toLowerCase(),\n brivitySources: sort(\n defaultBrivitySources.map((s) => action.brivitySources.find((a) => a.source == s.source) || s),\n state.sortKey,\n state.sortDesc,\n ),\n userId: action.userId,\n otherSources: sort(action.otherSources, state.sortKey, state.sortDesc),\n brivityTotalLeadSourceCount: action.brivityTotalLeadSourceCount,\n brivityStatusCounts: action.brivityStatusCounts,\n otherTotalLeadSourceCount: action.otherTotalLeadSourceCount,\n otherStatusCounts: action.otherStatusCounts,\n };\n\n case \"FILTER_TASK_REPORT\":\n const {\n adminTotalTasks,\n adminTotalCompletedTasks,\n adminTotalOnTimeTasks,\n adminTotalLateTasks,\n agentTotalTasks,\n agentTotalCompletedTasks,\n agentTotalOnTimeTasks,\n agentTotalLateTasks,\n } = action;\n\n return {\n ...state,\n dateRange: action.dateRange.toLowerCase(),\n adminTasks: sort(action.adminTasks.filter(Boolean), state.sortKey, state.sortDesc),\n agentTasks: sort(action.agentTasks.filter(Boolean), state.sortKey, state.sortDesc),\n adminTotalTasks,\n adminTotalCompletedTasks,\n adminTotalOnTimeTasks,\n adminTotalLateTasks,\n agentTotalTasks,\n agentTotalCompletedTasks,\n agentTotalOnTimeTasks,\n agentTotalLateTasks,\n };\n\n case \"IS_CUSTOM_RANGE_ACTIVE\":\n return {\n ...state,\n customRange: action.customRangeVisible,\n dateRange: action.dateRange || state.dateRange,\n customDates: action.customDates || {},\n };\n\n case \"SET_CUSTOM_RANGE\":\n return {\n ...state,\n customDates: action.range,\n };\n\n case \"SET_LEADS_CONSTRAINT\":\n return {\n ...state,\n isAllLeadsInRange: action.isAllLeadsInRange,\n };\n\n case \"SET_TASKS_CONSTRAINT\":\n return {\n ...state,\n isAllTasksInRange: action.isAllTasksInRange,\n };\n\n case \"SET_APPOINTMENTS_CONSTRAINT\":\n return {\n ...state,\n isAllAppointmentsInRange: action.isAllAppointmentsInRange,\n };\n\n case \"IS_FETCHING\":\n return {\n ...state,\n isFetching: action.isFetching,\n };\n case \"SET_ERROR\":\n return {\n ...state,\n error: action.error,\n };\n default:\n return defaultState;\n }\n};\nexport default reportsReducer;\n","const modalsClosed = {\n isApplyModalOpen: false,\n isPlanModalOpen: false,\n isPlansModalOpen: false,\n isPlanPreviewModalOpen: false,\n isModalSubmitting: false,\n isDeleteAssignedActionModalOpen: false,\n isDeletePlanModalOpen: false,\n}\n\nconst defaultState = {\n ...modalsClosed,\n isFetchingAssignedPlans: false,\n isModalSubmitting: false,\n showCompletedPlans: true,\n showDeletedPlans: false,\n assignedPlans: [],\n assignedPlanForm: {},\n hasError: false,\n errorMessage: null,\n isAssignedActionUpdating: false,\n};\n\nconst assignedPlans = (currentState = {}, payload) => {\n const state = {...defaultState, ...currentState};\n\n switch (payload.type) {\n case \"FETCH_ASSIGNED_PLANS_PENDING\":\n return {\n ...state,\n isFetchingAssignedPlans: true\n };\n case \"FETCH_ASSIGNED_PLANS_SUCCESS\":\n return {\n ...state,\n isFetchingAssignedPlans: false,\n assignedPlans: payload.assignedPlans\n };\n case \"FETCH_ASSIGNED_PLANS_FAILURE\":\n return {\n ...state,\n isFetchingAssignedPlans: false\n };\n case \"FETCH_ASSIGNED_PLAN_PENDING\":\n return {\n ...state,\n isFetchingAssignedPlan: true\n };\n case \"FETCH_ASSIGNED_PLAN_SUCCESS\":\n return {\n ...state,\n isFetchingAssignedPlan: false,\n assignedPlan: payload.assignedPlan\n };\n case \"FETCH_ASSIGNED_PLAN_FAILURE\":\n return {\n ...state,\n isFetchingAssignedPlan: false\n };\n case \"CREATE_ASSIGNED_PLAN_PENDING\":\n return {\n ...state,\n isModalSubmitting: true\n };\n case \"CREATE_ASSIGNED_PLAN_SUCCESS\":\n return {\n ...state,\n ...modalsClosed,\n isModalSubmitting: false,\n assignedPlanForm: {},\n assignedPlans: [payload.assignedPlan, ...state.assignedPlans],\n hasError: false,\n errorMessage: null\n };\n case \"CREATE_ASSIGNED_PLAN_FAILURE\":\n return {\n ...state,\n isModalSubmitting: false,\n hasError: true,\n errorMessage: payload.errors\n };\n case \"SHOW_APPLY_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n isApplyModalOpen: true,\n };\n case \"CLOSE_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n actionToDelete: null,\n activeAssignedActionId: null,\n activeAutoPlanActionId: null,\n errorMessage: null,\n hasError: false,\n assignedPlanForm: {},\n };\n case \"SHOW_PLANS_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n showCompletedPlans: true,\n showDeletedPlans: false,\n isPlansModalOpen: true,\n };\n case \"SHOW_PLAN_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n isPlanModalOpen: true,\n assignedPlan: payload.assignedPlan,\n };\n case \"SHOW_PLAN_PREVIEW_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n isPlanPreviewModalOpen: true,\n autoPlanPreview: payload.autoPlan,\n };\n case \"SHOW_DELETE_ASSIGNED_ACTION_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n isDeleteAssignedActionModalOpen: true,\n actionToDelete: payload.actionToDelete\n }\n case \"SHOW_DELETE_ASSIGNED_PLAN_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n isDeletePlanModalOpen: true,\n planToDelete: payload.planToDelete,\n errorMessage: null,\n hasError: false,\n }\n case \"UPDATE_VALUES\":\n return {\n ...state,\n assignedPlanForm: {\n ...state.assignedPlanForm,\n [payload.name]: payload.value\n }\n };\n case \"UPDATE_ASSIGNED_PLAN_SUCCESS\":\n return {\n ...state,\n errorMessage: null,\n hasError: false,\n isDeletePlanModalOpen: false,\n assignedPlans: state.assignedPlans.map(\n plan =>\n plan.id === payload.assignedPlan.id\n ? { ...plan, ...payload.assignedPlan }\n : plan\n )\n };\n case \"UPDATE_ASSIGNED_PLAN_FAILURE\":\n return {\n ...state,\n errorMessage: payload.errors,\n hasError: true,\n }\n\n case \"UPDATE_ASSIGNED_ACTION_PENDING\":\n return {\n ...state,\n isAssignedActionUpdating: true\n }\n\n case \"UPDATE_ASSIGNED_ACTION_FAILURE\":\n return {\n ...state,\n isAssignedActionUpdating: false\n }\n\n case \"UPDATE_ASSIGNED_ACTION_SUCCESS\":\n return {\n ...state,\n isAssignedActionUpdating: false,\n assignedPlan: {\n ...state.assignedPlan,\n assigned_actions: state.assignedPlan.assigned_actions.map(\n a => (a.id === payload.assignedAction.id ? { ...a, ...payload.assignedAction } : a)\n )\n },\n };\n\n case \"DELETE_ASSIGNED_ACTION_SUCCESS\":\n return {\n ...state,\n assignedPlan: {\n ...state.assignedPlan,\n assigned_actions: state.assignedPlan.assigned_actions.filter(a => a.id != payload.assignedActionId),\n },\n activeAssignedActionId: null,\n isPlanModalOpen: payload.isPlanModalOpen,\n isDeleteAssignedActionModalOpen: null,\n actionToDelete: null,\n hasError: false,\n errorMessage: null\n };\n case \"DELETE_ASSIGNED_ACTION_FAILURE\":\n return {\n ...state,\n hasError: true,\n errorMessage: payload.error\n }\n case \"TOGGLE_COMPLETED_PLANS\":\n return {\n ...state,\n showCompletedPlans: !state.showCompletedPlans\n };\n case \"TOGGLE_DELETED_PLANS\":\n return {\n ...state,\n showDeletedPlans: !state.showDeletedPlans\n };\n\n case \"PREVIEW_ASSIGNED_ACTION\":\n return {\n ...state,\n activeAssignedActionId: payload.assignedAction.id,\n }\n\n case \"PREVIEW_AUTO_PLAN_ACTION\":\n return {\n ...state,\n activeAutoPlanActionId: payload.actionId,\n }\n\n default:\n return state;\n }\n};\n\nexport default assignedPlans;\n","const modalsClosed = {\n isModalOpen: false,\n isAutoPlanDeleteModalOpen: false,\n isAutoPlanPreviewModalOpen: false,\n isAutoPlanShareModalOpen: false,\n};\n\nconst initialState = {\n ...modalsClosed,\n isFetchingAutoPlans: false,\n isCloningAutoPlan: false,\n displayAlert: false,\n};\n\nconst autoPlans = (state = initialState, action) => {\n switch (action.type) {\n case \"FETCH_AUTO_PLANS\":\n return {\n ...state,\n isFetchingAutoPlans: action.isFetchingAutoPlans,\n };\n case \"AUTO_PLANS_SUCCESS\":\n return {\n ...state,\n isFetchingAutoPlans: false,\n autoPlans: action.autoPlans,\n };\n case \"AUTO_PLANS_FAILURE\":\n return {\n ...state,\n isFetchingAutoPlans: false,\n };\n case \"OPEN_AUTO_PLAN_DELETE_MODAL\":\n return {\n ...state,\n isAutoPlanDeleteModalOpen: true,\n activeAutoPlanId: action.activeAutoPlanId,\n };\n\n case \"OPEN_AUTO_PLAN_SHARE_MODAL\":\n return {\n ...state,\n isAutoPlanShareModalOpen: true,\n activeAutoPlanId: action.activeAutoPlanId,\n };\n\n case \"CLOSE_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n activeAutoPlanId: null,\n };\n\n case \"CLOSE_AUTO_PLAN_DELETE_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n activeAutoPlanId: null,\n };\n\n case \"CLOSE_AUTO_PLAN_SHARE_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n activeAutoPlanId: null,\n emailErrors: null,\n };\n\n case \"CLOSE_AUTO_PLAN_SHARED_ALERT\":\n return {\n ...state,\n displayAlert: false,\n };\n\n case \"SHOW_NEW_AUTO_PLAN_MODAL\":\n return {\n ...state,\n isModalOpen: true,\n };\n\n case \"SHOW_AUTO_PLAN_PREVIEW_MODAL\":\n return {\n ...state,\n isAutoPlanPreviewModalOpen: true,\n autoPlanPreview: action.autoPlan,\n };\n\n case \"PREVIEW_AUTO_PLAN_ACTION\":\n return {\n ...state,\n activeAutoPlanActionId: action.actionId,\n };\n\n case \"AUTO_PLAN_FORM_UPDATE\":\n return {\n ...state,\n autoPlanForm: {\n ...state.autoPlanForm,\n [action.name]: action.value,\n type: \"AutoPlan\",\n },\n };\n case \"AUTO_PLAN_CREATE_FAILURE\":\n return {\n ...state,\n modalErrorMessage: action.errors,\n modalHasError: true,\n isModalSubmitting: false,\n };\n case \"AUTO_PLAN_CREATE_PENDING\":\n return {\n ...state,\n modalErrorMessage: null,\n modalHasError: false,\n isModalSubmitting: true,\n };\n\n case \"CLOSE_NEW_AUTO_PLAN_MODAL\":\n return {\n ...state,\n ...modalsClosed,\n modalHasError: false,\n modalErrorMessage: false,\n autoPlanForm: {},\n };\n\n case \"DELETE_AUTO_PLAN_PENDING\":\n return {\n ...state,\n isDeletingAutoPlan: true,\n };\n\n case \"DELETE_AUTO_PLAN_SUCCESS\":\n return {\n ...state,\n ...modalsClosed,\n isDeletingAutoPlan: false,\n autoPlans: state.autoPlans.filter((a) => a.id != state.activeAutoPlanId),\n activeAutoPlanId: null,\n };\n\n case \"DELETE_AUTO_PLAN_FAILURE\":\n return {\n ...state,\n isDeletingAutoPlan: false,\n activeAutoPlanId: null,\n };\n\n case \"CLONE_AUTO_PLAN_PENDING\":\n return {\n ...state,\n isCloningAutoPlan: true,\n errorMessage: null,\n hasError: false,\n };\n case \"CLONE_AUTO_PLAN_SUCCESS\":\n return {\n ...state,\n isCloningAutoPlan: false,\n };\n case \"CLONE_AUTO_PLAN_FAILURE\":\n return {\n ...state,\n isCloningAutoPlan: false,\n hasError: true,\n errorMessage: action.errorMessage,\n };\n\n case \"SHARE_AUTO_PLAN_PENDING\":\n return {\n ...state,\n };\n case \"SHARE_AUTO_PLAN_SUCCESS\":\n return {\n ...state,\n ...modalsClosed,\n activeAutoPlanId: null,\n emailErrors: null,\n displayAlert: true,\n sharedPlanName: action.sharedPlanName,\n numberShared: action.numberShared,\n };\n case \"SHARE_AUTO_PLAN_FAILURE\":\n return {\n ...state,\n emailErrors: action.errors,\n };\n\n default:\n return state;\n }\n};\n\nexport default autoPlans;\n","import axios from \"axios\";\n\nconst fetchAutoPlans = () => ({\n type: \"FETCH_AUTO_PLANS\",\n isFetchingAutoPlans: true,\n});\n\nconst autoPlansSuccess = (autoPlans) => ({\n type: \"AUTO_PLANS_SUCCESS\",\n autoPlans,\n});\n\nexport const openAutoPlanDeleteModal = (id) => ({\n type: \"OPEN_AUTO_PLAN_DELETE_MODAL\",\n activeAutoPlanId: id,\n});\n\nexport const openAutoPlanShareModal = (id) => ({\n type: \"OPEN_AUTO_PLAN_SHARE_MODAL\",\n activeAutoPlanId: id,\n});\n\nexport const closeAutoPlanDeleteModal = () => ({ type: \"CLOSE_AUTO_PLAN_DELETE_MODAL\" });\n\nexport const closeAutoPlanShareModal = () => ({ type: \"CLOSE_AUTO_PLAN_SHARE_MODAL\" });\n\nexport const handleDismissAutoPlanSharedAlert = () => ({ type: \"CLOSE_AUTO_PLAN_SHARED_ALERT\" });\n\nexport const closeModal = () => ({ type: \"CLOSE_MODAL\" });\n\nexport const showNewAutoPlanModal = () => (dispatch) => {\n dispatch({ type: \"SHOW_NEW_AUTO_PLAN_MODAL\" });\n};\n\nexport const showAutoPlanPreviewModal = (autoPlanId) => (dispatch) => {\n axios\n .get(`/auto_plans/${autoPlanId}/preview`)\n .then((res) => dispatch({ type: \"SHOW_AUTO_PLAN_PREVIEW_MODAL\", autoPlan: res.data.auto_plan }))\n .catch();\n};\n\nexport const previewAutoPlanAction = (actionId) => (dispatch) => {\n dispatch({\n type: \"PREVIEW_AUTO_PLAN_ACTION\",\n actionId,\n });\n};\n\nexport const closeNewAutoPlanModal = () => (dispatch) => {\n dispatch({ type: \"CLOSE_NEW_AUTO_PLAN_MODAL\" });\n};\n\nexport const cloneAutoPlanPending = () => ({ type: \"CLONE_AUTO_PLAN_PENDING\" });\n\nexport const cloneAutoPlanSuccess = () => ({ type: \"CLONE_AUTO_PLAN_SUCCESS\" });\n\nexport const cloneAutoPlanFailure = (errorMessage) => ({\n type: \"CLONE_AUTO_PLAN_FAILURE\",\n errorMessage,\n});\n\nconst deleteAutoPlanFailure = () => ({ type: \"DELETE_AUTO_PLAN_FAILURE\" });\n\nconst deleteAutoPlanSuccess = () => ({ type: \"DELETE_AUTO_PLAN_SUCCESS\" });\n\nconst deleteAutoPlanPending = () => ({ type: \"DELETE_AUTO_PLAN_PENDING\" });\n\nexport const getAutoPlans = (autoPlansPath, type) => {\n const path = `${autoPlansPath}.json?plan_type=${type}&page=null`;\n return (dispatch) => {\n dispatch(fetchAutoPlans());\n axios\n .get(path)\n .then((res) => {\n dispatch(autoPlansSuccess(res.data));\n })\n .catch(() => {\n dispatch({ type: \"AUTO_PLANS_FAILURE\", isFetchingAutoPlans: false });\n });\n };\n};\n\nexport const handleClone = (path) => (dispatch) => {\n dispatch(cloneAutoPlanPending());\n axios\n .post(path, { authenticity_token: ReactOnRails.authenticityToken() })\n .then((res) => {\n dispatch(cloneAutoPlanSuccess());\n window.location = `/auto_plans/${res.data.auto_plan.id}`;\n })\n .catch((err) => {\n dispatch(cloneAutoPlanFailure(err.response.data.message));\n });\n};\n\nexport const deleteAutoPlan = (path) => (dispatch) => {\n dispatch(deleteAutoPlanPending());\n axios\n .delete(path, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then(() => {\n dispatch(deleteAutoPlanSuccess());\n })\n .catch(() => {\n dispatch(deleteAutoPlanFailure());\n });\n};\n\nexport const shareAutoPlan = (autoPlanId, autoPlanName, ownerEmails) => (dispatch) => {\n dispatch({ type: \"SHARE_AUTO_PLAN_PENDING\" });\n axios\n .post(`/auto_plans/${autoPlanId}/share`, {\n auto_plan_id: autoPlanId,\n emails: ownerEmails,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then(() => {\n dispatch({\n type: \"SHARE_AUTO_PLAN_SUCCESS\",\n sharedPlanName: autoPlanName,\n numberShared: ownerEmails.length,\n });\n })\n .catch((err) => {\n dispatch({ type: \"SHARE_AUTO_PLAN_FAILURE\", errors: err.response.data.errors });\n });\n};\n\nexport const autoPlanFormUpdate = (name, value) => ({\n type: \"AUTO_PLAN_FORM_UPDATE\",\n name,\n value,\n});\n\nexport const submitNewAutoPlan = (autoPlanCreatePath, autoPlan) => (dispatch) => {\n dispatch({ type: \"AUTO_PLAN_CREATE_PENDING\" });\n\n axios\n .post(autoPlanCreatePath, { auto_plan: autoPlan, authenticity_token: ReactOnRails.authenticityToken() })\n .then((res) => {\n window.location = `/auto_plans/${res.data.auto_plan.id}`;\n })\n .catch((err) => {\n dispatch({ type: \"AUTO_PLAN_CREATE_FAILURE\", errors: err.response.data.errors });\n });\n};\n\nexport const toggleTaskActionModal = (bool, action = \"post\", form = {}) => ({\n type: \"AUTO_PLAN_TOGGLE_TASK_ACTION_MODAL\",\n bool,\n action,\n form,\n});\n\nexport const toggleEmailActionModal = (bool, action = \"post\", form = {}) => ({\n type: \"AUTO_PLAN_TOGGLE_EMAIL_ACTION_MODAL\",\n bool,\n action,\n form,\n});\n\nexport const toggleTextActionModal = (bool, action = \"post\", form = {}) => ({\n type: \"AUTO_PLAN_TOGGLE_TEXT_ACTION_MODAL\",\n bool,\n action,\n form,\n});\n\nexport const setPeopleGroups = (generalRoles, teamRoles, userId) => ({\n type: \"AUTO_PLAN_EDIT_SET_PEOPLE_GROUP\",\n generalRoles,\n teamRoles,\n userId,\n});\n","import { useSelector } from \"react-redux\";\nimport { toggleTaskActionModal, toggleEmailActionModal, toggleTextActionModal, setPeopleGroups } from \"../AutoPlans/actions/autoPlansActionCreators\";\nimport { produce } from \"immer\";\nimport { keyBy, mapValues } from \"lodash\";\n\nconst defaultState = {\n autoPlan: {\n name: \"\",\n actions: [],\n plan_type: \"\",\n },\n autoPlanForm: {\n name: \"\"\n },\n autoPlanPreferencesForm: {\n auto_pause_on_reply: '',\n auto_pause_on_expired: '',\n auto_pause_for_status: '',\n status_on_complete: '',\n },\n autoPlanPath: '',\n hasError: false,\n isEditingPreferences: false,\n isEditingName: false,\n isFetching: false,\n isSubmitting: false,\n isModalOpen: false,\n isTaskActionModalOpen: false,\n isEmailActionModalOpen: false,\n isTextActionModalOpen: false,\n isDeleteActionModalOpen: false,\n showInstructions: false,\n isDeletingAction: false,\n actionForm: {\n name: \"\",\n type: \"Task\",\n delay: 0,\n delay_unit: 'seconds',\n delay_factor: 1,\n },\n specificActionForm: {},\n specificActionSubmit: 'post',\n generalRolesById: {},\n teamRolesById: {},\n userById: {},\n errorMessage: []\n};\n\nconst autoPlanEdit = (currentState = {}, payload) => {\n const state = {...defaultState, ...currentState};\n\n switch (payload.type) {\n case \"FETCH_AUTO_PLAN\":\n return {\n ...state,\n isFetching: true,\n };\n\n case \"FETCH_AUTO_PLAN_SUCCESS\":\n return {\n ...state,\n autoPlan: payload.autoPlan,\n timeline: payload.timeline,\n autoPlanForm: {\n name: payload.autoPlan.name\n },\n autoPlanPreferencesForm: {\n auto_pause_on_reply: payload.autoPlan.auto_pause_on_reply,\n auto_pause_for_status: payload.autoPlan.auto_pause_for_status,\n status_on_complete: payload.autoPlan.status_on_complete,\n auto_pause_on_expired: payload.autoPlan.auto_pause_on_expired,\n },\n activeActionId: null,\n isFetching: false,\n isTaskActionModalOpen: false,\n isEmailActionModalOpen: false,\n isTextActionModalOpen: false,\n actionForm: {\n name: \"\",\n type: \"Task\",\n delay: 0,\n delay_unit: 'seconds',\n delay_factor: 1,\n },\n };\n\n case \"UPDATE_AUTO_PLAN_VALUE\":\n return {\n ...state,\n autoPlanForm: { ...state.autoPlanForm, [payload.name]: payload.value }\n };\n\n case \"IS_EDITING_NAME\":\n return {\n ...state,\n isEditingName: !state.isEditingName,\n autoPlanForm: {\n name: state.autoPlan.name\n },\n };\n\n case \"SHOW_INSTRUCTIONS\":\n return {\n ...state,\n showInstructions: !state.showInstructions,\n actionForm: {\n ...state.actionForm,\n instructions: !state.showInstructions\n ? state.actionForm.instructions\n : \"\"\n }\n };\n\n case \"SHOW_TASK_NOTE\":\n return {\n ...state,\n showNote: !state.showNote,\n actionForm: {\n ...state.actionForm,\n note: !state.showNote\n ? state.actionForm.showNote\n : \"\"\n }\n }\n\n case \"IS_SUBMITTING\":\n return {\n ...state,\n isSubmitting: true\n };\n\n case \"OPEN_DELETE_ACTION_MODAL\":\n return {\n ...state,\n isDeleteActionModalOpen: true,\n activeActionId: payload.activeActionId\n }\n\n case \"CLOSE_DELETE_ACTION_MODAL\":\n return {\n ...state,\n isDeletingAction: false,\n isDeleteActionModalOpen: false,\n activeActionId: null,\n actionForm: defaultState.actionForm\n }\n\n case \"OPEN_NEW_ACTION_MODAL\":\n return {\n ...state,\n isModalOpen: true,\n actionForm: payload.actionForm\n };\n\n case \"CLOSE_NEW_ACTION_MODAL\":\n return {\n ...state,\n isModalOpen: false,\n showInstructions: false,\n hasError: false,\n errorMessage: undefined,\n actionForm: defaultState.actionForm\n };\n\n case \"OPEN_EDIT_ACTION_MODAL\":\n return {\n ...state,\n isModalOpen: true,\n actionForm: {\n ...state.actionForm,\n ...payload.actionForm,\n delay_factor: (payload.actionForm.delay < 0 ? -1 : 1),\n },\n showInstructions: payload.actionForm.instructions && payload.actionForm.instructions.length > 0,\n showNote: payload.actionForm.note && payload.actionForm.note.length > 0\n };\n case \"CLOSE_EDIT_ACTION_MODAL\":\n return {\n ...state,\n hasError: false,\n errorMessage: undefined,\n isModalOpen: false\n };\n case \"UPDATE_ACTION_VALUES\":\n return {\n ...state,\n actionForm: { ...state.actionForm, [payload.name]: payload.value }\n };\n case \"UPDATE_ACTION_FORM_MULTIPLE_VALUES\":\n return {\n ...state,\n actionForm: { ...state.actionForm, ...payload.formUpdates }\n };\n case \"AUTO_PLAN_EDIT_ACTION_PENDING\":\n return {\n ...state,\n isSubmitting: true,\n hasError: false,\n errorMessage: undefined\n };\n\n case \"ACTION_FAILURE\":\n return {\n ...state,\n isSubmitting: false,\n hasError: true,\n errorMessage: payload.errorMessage,\n };\n\n case \"FETCH_ACTION_SUCCESS\":\n return {\n ...state,\n activeAction: payload.activeAction\n };\n\n case \"ACTION_CREATE_SUCCESS\":\n return produce(state, (draft) => {\n draft.isModalOpen = false;\n draft.isSubmitting = false;\n draft.hasError = false;\n draft.errorMessage = undefined;\n draft.actionForm = defaultState.actionForm;\n draft.isTaskActionModalOpen = false;\n draft.isEmailActionModalOpen = false;\n draft.isTextActionModalOpen = false;\n })\n case \"ACTION_UPDATE_SUCCESS\":\n return {\n ...state,\n isModalOpen: false,\n isSubmitting: false,\n hasError: false,\n errorMessage: undefined,\n actionForm: defaultState.actionForm,\n // TODO: re-enable before testing\n isTaskActionModalOpen: false,\n IsEmailActionModalOpen: false,\n isTextActionModalOpen: false,\n };\n case \"AUTO_PLAN_UPDATE_SUCCESS\":\n return {\n ...state,\n autoPlan: { ...state.autoPlan, ...payload.autoPlan },\n isSubmitting: false,\n isEditingName: false,\n hasError: false,\n errorMessage: undefined\n };\n\n case \"AUTO_PLAN_PREFERENCES_UPDATE_SUCCESS\":\n return {\n ...state,\n autoPlan: { ...state.autoPlan, ...payload.autoPlan },\n isEditingPreferences: false\n };\n\n case \"ACTION_DELETE_PENDING\":\n return {\n ...state,\n isDeletingAction: true\n };\n\n case \"ACTION_DELETE_SUCCESS\":\n return {\n ...state,\n isDeletingAction: false,\n isDeleteActionModalOpen: false,\n activeActionId: null,\n actionForm: defaultState.actionForm\n };\n\n case 'AUTO_PLAN_PREFERENCES_FORM_UPDATE':\n return {\n ...state,\n autoPlanPreferencesForm: { ...state.autoPlanPreferencesForm, [payload.name]: payload.value },\n isEditingPreferences: true\n };\n\n case 'AUTO_PLAN_PREFERENCES_FORM_RESET':\n return {\n ...state,\n autoPlanPreferencesForm: {\n auto_pause_on_reply: state.autoPlan.auto_pause_on_reply,\n auto_pause_for_status: state.autoPlan.auto_pause_for_status,\n status_on_complete: state.autoPlan.status_on_complete,\n auto_pause_on_expired: state.autoPlan.auto_pause_on_expired,\n },\n isEditingPreferences: false\n };\n case toggleTaskActionModal().type:\n return produce(state, (draft) => {\n draft.isTaskActionModalOpen = payload.bool;\n draft.specificActionSubmit = payload.action;\n draft.errorMessage = undefined;\n draft.hasError= false,\n draft.actionForm = {...payload.form};\n });\n case toggleEmailActionModal().type:\n return produce(state, (draft) => {\n draft.isEmailActionModalOpen = payload.bool;\n draft.specificActionSubmit = payload.action;\n draft.errorMessage = undefined;\n draft.hasError= false,\n draft.actionForm = {...payload.form};\n })\n case toggleTextActionModal().type:\n return produce(state, (draft) => {\n draft.isTextActionModalOpen = payload.bool;\n draft.specificActionSubmit = payload.action;\n draft.errorMessage = undefined;\n draft.hasError= false,\n draft.actionForm = {...payload.form};\n })\n case setPeopleGroups().type:\n return produce(state, (draft) => {\n const hashMapIt = (array) => mapValues(keyBy(array, 'value'), 'label');\n\n draft.generalRolesById = hashMapIt(payload.generalRoles?.options);\n draft.teamRolesById = hashMapIt(payload.teamRoles?.options);\n draft.userById = hashMapIt(payload.userId?.options);\n })\n default:\n return state;\n }\n};\n\nexport default autoPlanEdit;\n\nexport const useAutoPlanId = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.autoPlan.id);\n\nexport const useIsTaskActionModalOpen = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.isTaskActionModalOpen);\n\nexport const useIsEmailActionModalOpen = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.isEmailActionModalOpen);\n\nexport const useIsTextActionModalOpen = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.isTextActionModalOpen)\n\nexport const useActionForm = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.actionForm)\n\nexport const useSpecificActionSubmit = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.specificActionSubmit)\n\nexport const useAutoPlanType = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.autoPlan.plan_type)\n\nexport const useIsSubmitting = () =>\n useSelector(({ autoPlanEdit}) => autoPlanEdit.isSubmitting)\n\nexport const useGeneralRolesById = () =>\n useSelector(({ autoPlanEdit}) => autoPlanEdit.generalRolesById)\n\nexport const useTeamRolesById = () =>\nuseSelector(({ autoPlanEdit}) => autoPlanEdit.teamRolesById)\n\nexport const useUserById = () =>\nuseSelector(({ autoPlanEdit}) => autoPlanEdit.userById)\n\nexport const useTimeline = () =>\n useSelector(({autoPlanEdit }) => autoPlanEdit.timeline)\n\nexport const useActions = () =>\n useSelector(({autoPlanEdit }) => autoPlanEdit.autoPlan.actions)\n\nexport const useErrorMessages = () =>\n useSelector(({ autoPlanEdit }) => autoPlanEdit.errorMessage)\n","import namespaceAction from \"../../reducers/helpers\";\n\nconst REDUCER_NAME = \"BusinessSettingsReducer\";\nconst wrap = namespaceAction(REDUCER_NAME);\n\nexport const getBusinessSettings = () => wrap({ type: \"GET_BUSINESS_SETTINGS\" });\nexport const getBusinessSettingsSuccess = (data) => wrap({ type: \"GET_BUSINESS_SETTINGS_SUCCESS\", data });\nexport const getBusinessSettingsError = (error) => wrap({ type: \"GET_BUSINESS_SETTINGS_ERROR\", error });\n\nexport const saveBusinessSettings = () => wrap({ type: \"SAVE_BUSINESS_SETTINGS\" });\nexport const saveBusinessSettingsSuccess = (data) => wrap({ type: \"SAVE_BUSINESS_SETTINGS_SUCCESS\", data });\nexport const saveBusinessSettingsError = (error) => wrap({ type: \"SAVE_BUSINESS_SETTINGS_ERROR\", error });\n\nexport const removeBusinessImage = () => wrap({ type: \"DELETE_BUSINESS_IMAGE\" });\nexport const removeBusinessImageSuccess = (data) => wrap({ type: \"DELETE_BUSINESS_IMAGE_SUCCESS\", data });\nexport const removeBusinessImageError = (error) => wrap({ type: \"DELETE_BUSINESS_IMAGE_ERROR\", error });\n\nexport const addOffice = () => wrap({ type: \"ADD_OFFICE\" });\nexport const addOfficeSuccess = (data) => wrap({ type: \"ADD_OFFICE_SUCCESS\", data });\nexport const addOfficeError = (error) => wrap({ type: \"ADD_OFFICE_ERROR\", error });\n\nexport const setValue = (key, value) => wrap({ type: \"SET_BUSINESS_VALUE\", key, value });\n\nexport const addImage = (key, value) => wrap({ type: \"ADD_IMAGE\", key, value });\n\nexport const setOfficeValue = (key, value) => wrap({ type: \"SET_OFFICE_VALUE\", key, value });\nexport const resetOffice = () => wrap({ type: \"RESET_OFFICE\" });\n","import { produce } from \"immer\";\nimport * as actionCreators from \"../BusinessSettings/actions/creators\";\n\nconst DEFAULT_OFFICE = {\n name: \"\",\n phone: \"\",\n fax: \"\",\n address_attributes: {\n street_address: \"\",\n city: \"\",\n locality: \"\",\n postal_code: \"\",\n country: \"\",\n },\n};\n\nconst defaultState = {\n isLoading: true,\n hasError: false,\n model: {},\n newOfficeModel: { ...DEFAULT_OFFICE },\n timezones: null,\n states: null,\n awsDirectPost: null,\n};\n\nconst businessSettingsReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case \"@@INIT\":\n return { ...defaultState, ...state };\n case actionCreators.getBusinessSettings().type:\n return produce(state, (draft) => {\n draft.isLoading = true;\n });\n case actionCreators.getBusinessSettingsError().type:\n return produce(state, (draft) => {\n draft.isLoading = false;\n draft.hasError = true;\n });\n case actionCreators.getBusinessSettingsSuccess().type:\n return produce(state, (draft) => {\n draft.isLoading = false;\n draft.model = payload.data?.data;\n });\n case actionCreators.setValue().type:\n return produce(state, (draft) => {\n draft.model[payload.key] = payload.value;\n });\n case actionCreators.setOfficeValue().type:\n return produce(state, (draft) => {\n draft.newOfficeModel[payload.key] = payload.value;\n });\n case actionCreators.resetOffice().type:\n return produce(state, (draft) => {\n draft.newOfficeModel = { ...DEFAULT_OFFICE };\n });\n case actionCreators.addOfficeSuccess().type:\n return produce(state, (draft) => {\n draft.model = payload.data?.data;\n });\n default:\n return state;\n }\n};\n\nexport default businessSettingsReducer;\n","const defaultState = {\n isTriggerModalOpen: false,\n isTriggerDeleteModalOpen: false,\n triggerForm: null,\n hasError: false,\n errorMessage: null,\n isTriggerSubmitting: false,\n};\n\nconst triggers = (currentState = {}, payload) => {\n const state = {...defaultState, ...currentState};\n\n switch (payload.type) {\n case 'FETCH_TRIGGERS':\n return {\n ...state,\n isFetchingTriggers: true\n }\n\n case 'FETCH_TRIGGERS_SUCCESS':\n return {\n ...state,\n isFetchingTriggers: false,\n triggers: payload.triggers\n }\n\n case 'CREATE_TRIGGER_SUCCESS':\n return {\n ...state,\n isTriggerModalOpen: false,\n isTriggerSubmitting: false,\n triggerForm: null,\n hasError: false,\n errorMessage: null,\n }\n\n case 'UPDATE_TRIGGER_SUCCESS':\n return {\n ...state,\n isTriggerModalOpen: false,\n isTriggerSubmitting: false,\n triggerForm: null,\n hasError: false,\n errorMessage: null,\n }\n\n case 'SAVE_TRIGGER_PENDING':\n return {\n ...state,\n isTriggerSubmitting: true,\n hasError: false,\n errorMessage: null,\n }\n\n case 'SAVE_TRIGGER_FAILURE':\n return {\n ...state,\n hasError: true,\n errorMessage: payload.errorMessage,\n isTriggerSubmitting: false,\n }\n\n case 'OPEN_TRIGGER_MODAL':\n return {\n ...state,\n isTriggerModalOpen: true,\n isTriggerSubmitting: false,\n triggerForm: payload.triggerForm,\n hasError: false,\n errorMessage: null,\n }\n\n case 'CLOSE_TRIGGER_MODAL':\n return {\n ...state,\n isTriggerModalOpen: false,\n triggerForm: null,\n hasError: false,\n errorMessage: null,\n }\n\n case 'OPEN_TRIGGER_DELETE_MODAL':\n return {\n ...state,\n isTriggerDeleteModalOpen: true,\n isTriggerDeleting: false,\n triggerToDelete: payload.triggerToDelete,\n hasError: false,\n errorMessage: null,\n }\n\n case 'DELETE_TRIGGER_SUCCESS':\n return {\n ...state,\n triggers: state.triggers.filter(trigger => trigger.id != payload.triggerId),\n isTriggerDeleting: true,\n hasError: false,\n errorMessage: null,\n isTriggerDeleteModalOpen: false,\n }\n\n case 'DELETE_TRIGGER_PENDING':\n return {\n ...state,\n hasError: false,\n message: null,\n isTriggerDeleting: true,\n }\n\n case 'DELETE_TRIGGER_FAILURE':\n return {\n ...state,\n hasError: true,\n errorMessage: payload.errors,\n isTriggerDeleting: false,\n }\n\n case 'CLOSE_TRIGGER_DELETE_MODAL':\n return {\n ...state,\n isTriggerDeleteModalOpen: false,\n isTriggerDeleting: false,\n triggerToDelete: null,\n }\n\n case 'UPDATE_TRIGGER_VALUE':\n return {\n ...state,\n triggerForm: { ...state.triggerForm, [payload.name]: payload.value }\n }\n\n default:\n return state;\n }\n}\n\nexport default triggers;\n","const initialModalsState = {\n isNewMilestoneModalOpen: false,\n isEditMilestoneModalOpen: false,\n isDeleteMilestoneModalOpen: false,\n modalErrorMessage: null,\n modalHasError: false,\n isModalSubmitting: false\n}\n\nconst initialState = {\n ...initialModalsState,\n milestoneForm: {}\n}\n\nconst milestonesReducer = (currentState = initialState, payload) => {\n const state = {...initialState, ...currentState }\n\n switch (payload.type) {\n // Index\n\n case 'FETCH_MILESTONES':\n return {\n ...state,\n isFetchingMilestones: payload.isFetchingMilestones\n }\n\n case 'MILESTONES_SUCCESS':\n return {\n ...state,\n isFetchingMilestones: false,\n milestones: payload.milestones\n }\n\n case 'MILESTONES_FAILURE':\n return {\n ...state,\n isFetchingMilestones: false\n }\n\n // New\n\n case 'MILESTONE_SHOW_NEW_MODAL':\n return {\n ...state,\n isNewMilestoneModalOpen: true,\n milestoneForm: {\n milestonable_type: \"Person\",\n visible: 'true'\n }\n }\n\n case 'MILESTONE_CLOSE_NEW_MODAL':\n return {\n ...state,\n ...initialModalsState\n }\n\n case 'MILESTONE_CREATE_PENDING':\n return {\n ...state,\n modalErrorMessage: null,\n modalHasError: false,\n isModalSubmitting: true\n }\n\n case 'MILESTONE_CREATE_SUCCESS':\n return {\n ...state,\n ...initialModalsState,\n }\n\n case 'MILESTONE_FORM_UPDATE':\n return {\n ...state,\n milestoneForm: {\n ...state.milestoneForm,\n [payload.name]: payload.value,\n type: 'Milestone'\n }\n }\n\n case 'MILESTONE_CREATE_FAILURE':\n return {\n ...state,\n modalErrorMessage: payload.errors,\n modalHasError: true,\n isModalSubmitting: false\n }\n\n\n // Edit\n\n case 'MILESTONE_SHOW_EDIT_MODAL':\n return {\n ...state,\n isEditMilestoneModalOpen: true,\n milestoneForm: payload.milestone\n }\n\n case 'MILESTONE_CLOSE_EDIT_MODAL':\n return {\n ...state,\n ...initialModalsState\n }\n\n case 'MILESTONE_UPDATE_PENDING':\n return {\n ...state,\n modalErrorMessage: null,\n modalHasError: false,\n isModalSubmitting: true\n }\n\n case 'MILESTONE_UPDATE_SUCCESS':\n return {\n ...state,\n ...initialModalsState,\n }\n\n case 'MILESTONE_UPDATE_FAILURE':\n return {\n ...state,\n modalErrorMessage: payload.errors,\n modalHasError: true,\n isModalSubmitting: false\n }\n\n\n // Delete\n\n case \"MILESTONE_SHOW_DELETE_MODAL\":\n return {\n ...state,\n ...initialModalsState,\n isDeleteMilestoneModalOpen: true,\n milestoneToDelete: payload.milestone,\n errorMessage: null,\n hasError: false,\n }\n\n case 'MILESTONE_CLOSE_DELETE_MODAL':\n return {\n ...state,\n ...initialModalsState\n }\n\n case 'DELETE_MILESTONE_PENDING':\n return {\n ...state,\n isDeletingMilestone: true,\n }\n\n case 'DELETE_MILESTONE_SUCCESS':\n return {\n ...state,\n ...initialModalsState,\n isDeletingMilestone: false,\n milestones: state.milestones.filter(a => a.id != state.milestoneToDelete.id),\n milestoneToDelete: null\n }\n\n case 'DELETE_MILESTONE_FAILURE':\n return {\n ...state,\n isDeletingMilestone: false,\n activeMilestoneId: null,\n modalHasError: true,\n modalErrorMessage: payload.errors\n }\n\n default:\n return state;\n }\n}\n\nexport default milestonesReducer;\n","export const saveMarketReport = (data) => ({ type: \"SAVE_MARKET_REPORT\", ...data });\nexport const saveMarketReportSuccess = (data, tab = 1) => ({\n type: \"SAVE_MARKET_REPORT_SUCCESS\",\n ...data,\n tab,\n});\nexport const saveMarketReportError = (data) => ({ type: \"SAVE_MARKET_REPORT_ERROR\", ...data });\nexport const sendMarketReport = (data) => ({ type: \"SEND_MARKET_REPORT\", ...data });\nexport const sendMarketReportSuccess = (data) => ({ type: \"SEND_MARKET_REPORT_SUCCESS\", ...data });\nexport const sendMarketReportError = (data) => ({ type: \"SEND_MARKET_REPORT_ERROR\", ...data });\n\nexport const getMarketReport = (data) => ({ type: \"GET_MARKET_REPORT\", ...data });\nexport const getMarketReportSuccess = (data, tab = 0) => ({\n type: \"GET_MARKET_REPORT_SUCCESS\",\n ...data,\n tab,\n});\nexport const getMarketReportError = (data) => ({ type: \"GET_MARKET_REPORT_ERROR\", ...data });\n\nexport const updateMarketReport = (data) => ({ type: \"UPDATE_MARKET_REPORT\", ...data });\nexport const updateMarketReportSuccess = (data, tab = 1) => ({\n type: \"UPDATE_MARKET_REPORT_SUCCESS\",\n ...data,\n tab,\n});\nexport const updateMarketReportError = (data) => ({ type: \"UPDATE_MARKET_REPORT_ERROR\", ...data });\n\nexport const setTab = (data) => ({ type: \"SET_TAB\", data });\nexport const setDrawing = (data) => ({ type: \"SET_DRAW\", data });\nexport const setFormData = (data) => ({ type: \"SET_FORM1\", data });\nexport const setContactData = (data) => ({ type: \"SET_CONTACT\", data });\nexport const setForm2Data = (data) => ({ type: \"SET_FORM2\", data });\nexport const setFormError = (data) => ({ type: \"SET_FORM_ERROR\", data });\n\nexport const setLatLon = (data) => ({ type: \"SET_COORDS\", data });\nexport const setBrowserLatLon = (data) => ({ type: \"SET_B_COORDS\", data });\n\nexport const clearMessage = (data) => ({ type: \"CLEAR_MSG\", data });\nexport const setMessage = (data) => ({ type: \"SET_MSG\", data });\nexport const resetForms = () => ({ type: \"CLEAR_FORMS\" });\n\nexport const setLocationData = (data) => ({ type: \"SET_LOCATION_DATA\", data });\nexport const setPerson = (data) => ({ type: \"SET_PERSON\", data });\nexport const setSearching = (data) => ({ type: \"SET_SEARCHING\", data });\nexport const setMLSPropertyTypes = (data) => ({ type: \"SET_MLS_PROP_TYPES\", data });\n","import * as actionCreators from \"../AddMarketReportModal/actions/creators\";\n\nconst defaultModel = {\n street_address: null, // \"Bellingham, WA, USA\",\n city: null, // \"Bellingham\",\n county: null, // \"Whatcom County\",\n district: null,\n postal_code: null,\n state_abbreviation: \"\", // \"WA\",\n geo_json: null,\n boundry_coordinates: null,\n lat_lng: [],\n\n min_price: \"0\",\n max_price: null,\n min_area: null,\n max_area: null,\n min_baths: null,\n max_baths: null,\n min_beds: null,\n max_beds: null,\n min_lot: null,\n max_lot: null,\n min_year_built: null,\n max_year_built: null,\n\n name: \"\",\n\n radius: \"0.5\",\n search_type: \"radius\",\n property_type: { Residential: true },\n mls_country: \"USA\",\n created_by_brivity_agent_uuid: null,\n searchLocation: null,\n\n contact: {\n email: \"\",\n address: \"\",\n city: \"\",\n state: \"\",\n zip_code: \"\",\n },\n isHomeAdjPositive: true,\n home_value_adjustment: null,\n home_value_adjustment_as_percentage: false,\n};\n\nconst defaultModel2 = {\n email_message:\n \"Check out this Market Report I created for you that shows what's going on in the real estate market in your area.\",\n drip_enabled: true,\n name: \"\",\n recurring_frequency: \"every_2_weeks\",\n};\n\nconst defaultState = {\n tab: null,\n isSearching: false,\n isSaving: false,\n isLoading: false,\n isSending: false,\n form1: { ...defaultModel },\n isDrawing: false,\n browserLatLon: null,\n formErrors: {\n property_type: false,\n contact_email: true,\n lat_lng: false,\n },\n form2: { ...defaultModel2 },\n savedMarketReport: null,\n showSuccess: false,\n showError: false,\n person: null,\n mlsToPropertyTypes: null,\n};\n\nconst newMarketReport = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionCreators.setTab().type:\n return {\n ...state,\n tab: payload.data,\n };\n case actionCreators.setDrawing().type:\n return {\n ...state,\n isDrawing: payload.data,\n form1: { ...state.form1, geo_json: payload.data ? state.form1.geo_json : null },\n };\n case actionCreators.setLatLon().type:\n return {\n ...state,\n form1: { ...state.form1, lat_lng: payload.data },\n };\n case actionCreators.setBrowserLatLon().type:\n return {\n ...state,\n browserLatLon: payload.data,\n };\n case actionCreators.setLocationData().type:\n return {\n ...state,\n locationData: payload.data,\n isSearching: false,\n };\n case actionCreators.setFormData().type:\n return {\n ...state,\n form1: { ...state.form1, ...payload.data },\n hasSavingError: false,\n };\n case actionCreators.setContactData().type:\n return {\n ...state,\n form1: { ...state.form1, contact: { ...state.form1.contact, ...payload.data } },\n };\n case actionCreators.setForm2Data().type:\n return {\n ...state,\n form2: { ...state.form2, ...payload.data },\n };\n case actionCreators.setFormError().type:\n return {\n ...state,\n formErrors: { ...state.formErrors, ...payload.data },\n };\n case actionCreators.saveMarketReport().type:\n return {\n ...state,\n showError: false,\n isSaving: true,\n };\n case actionCreators.saveMarketReportSuccess().type:\n return {\n ...state,\n isSaving: false,\n tab: payload.tab,\n savedMarketReport: payload.data,\n form2: { ...state.form2, name: payload.data.name },\n };\n case actionCreators.saveMarketReportError().type:\n return {\n ...state,\n isSaving: false,\n showError: true,\n tab: 0, // comment out to disable advancing to the next panel\n };\n case actionCreators.sendMarketReport().type:\n return {\n ...state,\n showError: false,\n isSending: true,\n };\n case actionCreators.sendMarketReportSuccess().type:\n return {\n ...state,\n isSending: false,\n showError: false,\n showSuccess: true,\n };\n case actionCreators.sendMarketReportError().type:\n return {\n ...state,\n isSending: false,\n showError: true,\n };\n case actionCreators.updateMarketReport().type:\n return {\n ...state,\n showError: false,\n isSaving: true,\n };\n case actionCreators.updateMarketReportSuccess().type:\n return {\n ...state,\n isSaving: false,\n tab: payload.tab,\n savedMarketReport: payload.data,\n form2: { ...state.form2, name: payload.data.name },\n };\n case actionCreators.updateMarketReportError().type:\n return {\n ...state,\n isSaving: false,\n showError: true,\n tab: 0, // comment out to disable advancing to the next panel\n };\n\n case actionCreators.getMarketReport().type:\n return {\n ...state,\n showError: false,\n isLoading: true,\n };\n case actionCreators.getMarketReportSuccess().type:\n const pTypes = {};\n payload.data?.property_type?.split(\"|\").forEach((t) => {\n pTypes[t] = true;\n });\n const location =\n payload.data.location && payload.data.location !== \" , , \" ? payload.data.location : null;\n const geoJ = payload.data.geo_json;\n delete payload.data.geo_json;\n delete payload.data.location;\n delete payload.data.created_by_brivity_agent_uuid;\n delete payload.data.created_by;\n return {\n ...state,\n isLoading: false,\n showError: false,\n // this is key\n tab: payload.tab,\n savedMarketReport: payload.data,\n form1: {\n ...state.form1,\n ...payload.data,\n street_address: payload.data.street_address,\n property_type: pTypes,\n min_beds: payload.data.min_beds === null ? null : payload.data.min_beds,\n min_baths:\n payload.data.min_baths === null || payload.data.min_baths === \"0.0\"\n ? null\n : payload.data.min_baths,\n min_price: payload.data.min_price === null ? \"0\" : payload.data.min_price?.toString(),\n max_price: payload.data.max_price?.toString(),\n boundry_coordinates: geoJ ? JSON.parse(geoJ) : null,\n search_type: geoJ ? \"area\" : \"radius\",\n searchLocation: location && {\n label: location,\n value: location,\n source: payload.data.search_type === \"radius\" ? \"GoogleAPI\" : \"LocationAPI\",\n },\n },\n form2: {\n ...state.form2,\n name: payload.data.name,\n recurring_frequency: payload.data.recurring_frequency,\n },\n };\n case actionCreators.getMarketReportError().type:\n return {\n ...state,\n isLoading: false,\n showError: true,\n };\n\n case actionCreators.clearMessage().type:\n return {\n ...state,\n showSuccess: false,\n showError: false,\n };\n case actionCreators.setSearching().type:\n return {\n ...state,\n isSearching: payload.data,\n };\n case actionCreators.setMessage().type:\n return {\n ...state,\n showSuccess: payload.data.showSuccess ? payload.data.showSuccess : false,\n showError: payload.data.showError ? payload.data.showError : false,\n };\n case actionCreators.resetForms().type:\n return {\n ...state,\n form1: { ...defaultModel },\n form2: { ...defaultModel2 },\n showSuccess: false,\n showError: false,\n tab: null,\n isDrawing: false,\n person: null,\n savedMarketReport: null,\n };\n case actionCreators.setPerson().type:\n return {\n ...state,\n person: payload.data,\n };\n case actionCreators.setMLSPropertyTypes().type:\n const allPropertyTypes = new Set();\n payload.data?.forEach((e) => {\n if (!e.propertyTypes?.length) return;\n e.propertyTypes.forEach((p) => allPropertyTypes.add(p));\n });\n return {\n ...state,\n mlsToPropertyTypes: Array.from(allPropertyTypes),\n };\n default:\n return state;\n }\n};\n\nexport default newMarketReport;\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../../shared/Utilities\";\n\nexport const destroyAgentExpense = (agentPosition, expPosition) => ({\n type: \"DESTROY_AGENT_EXPENSE_DATA\",\n agentPosition,\n expPosition,\n});\n\nexport const setAgentExpenseData = (attr, data, agentPosition, expPosition) => ({\n type: \"SET_AGENT_EXPENSE_DATA\",\n attr,\n data,\n agentPosition,\n expPosition,\n});\n\nexport const setAgentBrokerageData = (attr, data, agentPosition) => ({\n type: \"SET_AGENT_BROKERAGE_DATA\",\n attr,\n data,\n agentPosition,\n});\n\nexport const openNewExpenseModal = () => {\n return (dispatch) => {\n dispatch({ type: \"OPEN_NEW_EXPENSE_MODAL\" });\n };\n};\n\nexport const openNewExpenseModal0 = () => ({ type: \"OPEN_NEW_EXPENSE_MODAL\" });\n\nexport const setAgentExpenseList = (agentExpenseList) => {\n return {\n type: \"SET_AGENT_EXPENSE_LIST\",\n agentExpenseList,\n };\n};\n\nexport const setCompanyExpenseList = (companyExpenseList) => {\n return {\n type: \"SET_COMPANY_EXPENSE_LIST\",\n companyExpenseList,\n };\n};\n\nexport const setCompanyRevenueList = (companyRevenueList) => {\n return {\n type: \"SET_COMPANY_REVENUE_LIST\",\n companyRevenueList,\n };\n};\n\nexport const setTransactionExpenseList = (transactionExpenseList) => {\n return {\n type: \"SET_TRANSACTION_EXPENSE_LIST\",\n transactionExpenseList,\n };\n};\n\nexport const closeNewExpenseModal = () => {\n return (dispatch) => {\n dispatch({ type: \"CLOSE_NEW_EXPENSE_MODAL\" });\n };\n};\n\nexport const hideAlert = () => {\n return (dispatch) => {\n dispatch({ type: \"HIDE_ALERT\" });\n };\n};\n\nexport const hideDangerAlert = () => {\n return (dispatch) => {\n dispatch({ type: \"HIDE_DANGER_ALERT\" });\n };\n};\n\nexport const setAgentExpense = () => {\n return (dispatch) => {\n dispatch({ type: \"EXPENSE_TYPE_AGENT\" });\n };\n};\nexport const setCompanyExpense = () => {\n return (dispatch) => {\n dispatch({ type: \"EXPENSE_TYPE_COMPANY\" });\n };\n};\n\nexport const setAgentExpense0 = () => ({ type: \"EXPENSE_TYPE_AGENT\" });\n\nexport const unsetAgentExpense = () => {\n return (dispatch) => {\n dispatch({ type: \"EXPENSE_TYPE_OFFICE\" });\n };\n};\n\nexport const setActiveAgentExpense = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"ACTIVE_AGENT_EXPENSE\",\n data,\n });\n };\n};\n\nexport const setActiveAgentExpense0 = (data) => ({\n type: \"ACTIVE_AGENT_EXPENSE\",\n data,\n});\n\nexport const setAccountData = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"ACCOUNT_DATA\",\n data,\n });\n };\n};\n\nexport const setAccountData0 = (data) => ({\n type: \"ACCOUNT_DATA\",\n data,\n});\n\nexport const showEdit = () => {\n return (dispatch) => {\n dispatch({ type: \"SHOW_EDIT\" });\n };\n};\n\nexport const hideEdit = () => {\n return (dispatch) => {\n dispatch({ type: \"HIDE_EDIT\" });\n };\n};\n\nexport const submitTransactionData = (transactionData) => {\n return async (dispatch) => {\n const req = axios.put(\"/financials/\" + transactionData.account_financial_template.id, {\n ...transactionData,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch({\n type: \"ERR_DATA\",\n errors: err.response.data.errors,\n });\n dispatch({ type: \"SHOW_DANGER_ALERT\" });\n return;\n }\n\n dispatch({ type: \"SHOW_ALERT\" });\n dispatch({ type: \"HIDE_EDIT\" });\n const { data } = res;\n\n dispatch({\n type: \"ACCOUNT_DATA\",\n data,\n });\n setTimeout(function () {\n dispatch({ type: \"HIDE_ALERT\" });\n }, 2500);\n };\n};\n","const formatNumber = (number, decimals = 0) => {\n const defaultOptions = {\n style: \"decimal\",\n minimumFractionDigits: decimals,\n maximumFractionDigits: decimals\n }\n return new Intl.NumberFormat('en-US',\n { ...defaultOptions }).format(number)\n};\n\nconst formatCurrency = (number, decimals = 2) => {\n const defaultOptions = {\n style: \"currency\",\n currency: \"USD\",\n minimumFractionDigits: decimals,\n maximumFractionDigits: decimals\n }\n\n return new Intl.NumberFormat('en-US', defaultOptions).format(number)\n};\n\nconst apiNumber = (value, digits, comma=true) => Number(\n formatNumber(value, digits)\n .replace((comma ? '':/,/g), '')\n);\n\nconst format = {\n number: (number, decimals) => formatNumber(number, decimals),\n currency: (number, decimals) => formatCurrency(number, decimals),\n apiNumber: (value, digits, comma) => apiNumber(value, digits, comma),\n}\n\nexport default format;\n","import { sortBy } from \"lodash\";\nimport format from \"../../../shared/formatters\";\n\nconst formatValToDecimal = (val) => (Math.floor(val * 100) / 100).toFixed(2);\n\nconst formatValue = (value, isPercent) => {\n if (!!value) {\n if (!!isPercent) {\n return `${value}%`;\n } else {\n value = format.apiNumber(value, 2, false);\n var str = value.toString().split(\".\");\n if (str[0].length >= 4) {\n str[0] = str[0].toLocaleString();\n }\n return \"$\" + str.join(\".\");\n }\n } else {\n return \"\";\n }\n};\n\nconst formatSubtotal = (val) => (val * 1 === 0 ? 0 : `$${formatValToDecimal(val)}`);\n\nconst formatExpense = (expenseAmount) => {\n if (!!expenseAmount) {\n return \"(-\" + expenseAmount + \")\";\n } else {\n return \"\";\n }\n};\n\nconst formatCompanyExpense = (expenseAmount, name) => {\n if (!!expenseAmount) {\n return `${name.includes(\"Income\") ? \"(+\" : \"(-\"}${expenseAmount})`;\n } else {\n return \"\";\n }\n};\n\nconst createSortedExpensesPointer = (pseudoIncome) =>\n sortBy(\n [\n pseudoIncome,\n ...pseudoIncome.custom_team_member_expenses_attributes,\n ...pseudoIncome.custom_team_member_revenues_attributes,\n ],\n \"position\",\n );\n\nconst createFinancialsSortedExpensesPointer = (pseudoIncome) => {\n const expensesKey = pseudoIncome.hasOwnProperty(\"custom_team_member_expenses_attributes\")\n ? \"custom_team_member_expenses_attributes\"\n : \"custom_agent_expenses_attributes\";\n\n if (!pseudoIncome[expensesKey].length) return [pseudoIncome];\n\n const expPointer = [pseudoIncome].concat(pseudoIncome[expensesKey]);\n expPointer.sort((exp1, exp2) => exp1.position - exp2.position);\n return expPointer;\n};\n\nconst reAssignExpensePositions = (income) => {\n const { position: splitPosition } = income;\n const expensesKey = income.hasOwnProperty(\"custom_team_member_expenses_attributes\")\n ? \"custom_team_member_expenses_attributes\"\n : \"custom_agent_expenses_attributes\";\n let tracker = 1;\n\n income[expensesKey].forEach((exp) => {\n if (exp._destroy) return;\n\n if (splitPosition === tracker) {\n exp.position = tracker + 1;\n tracker = tracker + 2;\n return;\n }\n\n exp.position = tracker;\n tracker = tracker + 1;\n });\n};\n\nconst reconcileGCI = ({ pseudoListing, incomes, gci, isCompany, company_income }) => {\n if (isCompany) {\n const agentsGCI = format.apiNumber(company_income.gross_income, 2, false);\n\n if (agentsGCI > gci)\n pseudoListing.company_income.gross_income = pseudoListing.company_income.gross_income - 0.01;\n } else {\n const agentsGCI = format.apiNumber(\n incomes.reduce((p, c) => p + c.gross_income, 0),\n 2,\n false,\n );\n\n if (agentsGCI > gci)\n pseudoListing.team_member_incomes.incomes[incomes.length - 1].gross_income =\n pseudoListing.team_member_incomes.incomes[incomes.length - 1].gross_income - 0.01;\n }\n};\n\n//TODO: This needs refactoring, discussion around this? maybe abstract this into redux after action call\nconst reCalculateAgentExpenses = (income, listingData, parentIndex, setFinancial, isCompany) => {\n const pseudoIncome = { ...income };\n const { agent_gci_percentage, agent_gci } = pseudoIncome;\n const pseudoListing = { ...listingData };\n const {\n transaction_income: { gci },\n team_member_incomes: { incomes },\n company_income,\n } = listingData;\n\n let subtotalTracker = agent_gci_percentage\n ? format.apiNumber(agent_gci * 0.01 * gci, 2, false)\n : agent_gci * 1;\n pseudoIncome.gross_income = format.apiNumber(subtotalTracker, 2, false);\n\n const expPointer = createSortedExpensesPointer(pseudoIncome);\n\n expPointer.forEach((exp) => {\n if (exp === undefined) return;\n if (exp._destroy) return;\n if (exp.hasOwnProperty(\"agent_gci\")) {\n if (exp.brokerage_split_percentage) {\n exp.brokerage_split_amount = format.apiNumber(exp.brokerage_split * subtotalTracker * 0.01, 2, false);\n exp.brokerage_split_line_total = (subtotalTracker - exp.brokerage_split_amount).toFixed(2) * 1;\n subtotalTracker = exp.brokerage_split_line_total;\n pseudoIncome.net_income = subtotalTracker;\n } else {\n exp.brokerage_split_amount = exp.brokerage_split * 1;\n exp.brokerage_split_line_total = subtotalTracker - exp.brokerage_split;\n subtotalTracker = exp.brokerage_split_line_total;\n pseudoIncome.net_income = subtotalTracker;\n }\n\n if (exp.royalty_percentage) {\n exp.royalty_amount = format.apiNumber(\n (exp.brokerage_split_line_total + exp.brokerage_split_amount) * exp.royalty * 0.01,\n 2,\n false,\n );\n exp.royalty_line_total = (subtotalTracker - exp.royalty_amount).toFixed(2) * 1;\n subtotalTracker = exp.royalty_line_total;\n pseudoIncome.net_income = subtotalTracker;\n } else {\n exp.royalty_amount = exp.royalty * 1;\n exp.royalty_line_total = subtotalTracker - exp.royalty;\n subtotalTracker = exp.royalty_line_total;\n pseudoIncome.net_income = subtotalTracker;\n }\n return;\n }\n\n const financialType = exp.hasOwnProperty(isCompany ? \"company_expense_type_id\" : \"agent_expense_type_id\")\n ? \"expense_amount\"\n : \"revenue_amount\";\n\n if (exp.percentage) {\n if (exp.position < pseudoIncome.position) {\n exp[financialType] = format.apiNumber(pseudoIncome.gross_income * exp.value * 0.01, 2, false);\n } else {\n exp[financialType] = format.apiNumber(pseudoIncome.royalty_line_total * exp.value * 0.01, 2, false);\n }\n } else {\n exp[financialType] = exp.value;\n }\n\n const multiplier = () =>\n financialType === \"revenue_amount\" ? exp[financialType] * 1 : exp[financialType] * -1;\n\n exp.line_total = format.apiNumber(subtotalTracker + multiplier(), 2, false);\n\n subtotalTracker = exp.line_total;\n pseudoIncome.net_income = format.apiNumber(subtotalTracker, 2, false);\n });\n\n if (isCompany) {\n pseudoListing.company_income = { ...pseudoIncome };\n } else {\n pseudoListing.team_member_incomes.incomes[parentIndex] = { ...pseudoIncome };\n }\n\n reconcileGCI({ pseudoListing, incomes, gci, isCompany, company_income });\n setFinancial(pseudoListing);\n};\n\nconst calculateGrossIncome = (listingData) =>\n (listingData.transaction_income.gross_income = listingData.transaction_income.commission_percentage\n ? format.apiNumber(\n listingData.transaction_income.closed_volume * (listingData.transaction_income.commission / 100),\n 2,\n false,\n )\n : listingData.transaction_income.commission);\n\nconst calculateGCI = (listingData) => {\n const pseudoListing = { ...listingData };\n let {\n transaction_income: { gross_income: gci },\n } = pseudoListing;\n\n pseudoListing.transaction_income.additionalIncome.forEach((exp) => {\n if (exp._destroy) return;\n let { value, type } = exp;\n\n if (type === \"expense\") {\n exp.expense_amount = exp.percentage ? format.apiNumber(gci * 0.01 * value, 2, false) : value * 1;\n gci = format.apiNumber(gci - exp.expense_amount, 2, false);\n } else {\n exp.revenue_amount = exp.percentage ? format.apiNumber(gci * 0.01 * value, 2, false) : value * 1;\n gci = format.apiNumber(gci + exp.revenue_amount, 2, false);\n }\n\n exp.line_total = gci;\n });\n\n pseudoListing.transaction_income.gci = gci;\n listingData = pseudoListing;\n};\n\nconst fullRecalculation = ({ ...listingData }, setFinancial) => {\n calculateGrossIncome(listingData);\n calculateGCI(listingData);\n\n if (!listingData.team_member_incomes.incomes.length && !listingData.company_income) {\n setFinancial(listingData);\n return;\n }\n if (listingData.team_member_incomes.incomes.length) {\n listingData.team_member_incomes.incomes.forEach((income, i) => {\n reCalculateAgentExpenses(income, listingData, i, setFinancial);\n });\n }\n if (listingData.company_income) {\n reCalculateAgentExpenses(listingData.company_income, listingData, false, setFinancial, true);\n }\n};\n\nconst moveExpense = (expenses, oldIndex, newIndex) => {\n const [expense] = expenses.splice(oldIndex, 1);\n expenses.splice(newIndex, 0, expense);\n};\n\nconst shiftSplitPosition = (income, deletedPosition) =>\n income.position > deletedPosition && --income.position;\n\nconst reorderExpenses = (expPointer, oldIndex, newIndex) => {\n moveExpense(expPointer, oldIndex, newIndex);\n let tracker = 1;\n expPointer.forEach((exp) => {\n exp.position = tracker;\n tracker++;\n });\n};\n\nconst moveDeletedExpenseToEnd = (expenses) => expenses.sort((exp1, exp2) => exp2.position - exp1.position);\n\nexport {\n moveDeletedExpenseToEnd,\n formatValue,\n formatExpense,\n formatCompanyExpense,\n reCalculateAgentExpenses,\n reorderExpenses,\n createSortedExpensesPointer,\n createFinancialsSortedExpensesPointer,\n reAssignExpensePositions,\n shiftSplitPosition,\n formatSubtotal,\n fullRecalculation,\n};\n","import * as actionCreators from \"../Financials/actions/account\";\nimport {\n reAssignExpensePositions,\n shiftSplitPosition,\n} from \"../Financials/components/shared/FinancialViewHelpers\";\n\nconst defaultState = {\n expenseType: \"\",\n isModalOpen: false,\n isShowAlert: false,\n isShowDangerAlert: false,\n accountData: {},\n activeAgentExpense: {},\n errors: \"\",\n isShowEdit: false,\n};\n\nconst accountFinancialReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionCreators.destroyAgentExpense().type:\n const agentsWithExpToDestroy = state.accountData.agent_expense_templates.agent_expenses;\n const agentWithExpToDestroy = agentsWithExpToDestroy[payload.agentPosition];\n const expenses = agentWithExpToDestroy.custom_agent_expenses_attributes;\n const idxToDestroy = expenses.findIndex((exp) => exp.position == payload.expPosition);\n\n expenses.push(expenses.splice(idxToDestroy, 1)[0]);\n expenses[expenses.length - 1]._destroy = \"1\";\n delete expenses[expenses.length - 1].position;\n\n shiftSplitPosition(agentWithExpToDestroy, payload.expPosition);\n reAssignExpensePositions(agentWithExpToDestroy);\n\n return {\n ...state,\n accountData: {\n ...state.accountData,\n agent_expense_templates: {\n ...state.accountData.agent_expense_templates,\n agent_expenses: agentsWithExpToDestroy,\n },\n },\n };\n\n case actionCreators.setAgentExpenseData().type:\n const agents = state.accountData.agent_expense_templates.agent_expenses;\n const expense = agents[payload.agentPosition].custom_agent_expenses_attributes.find(\n (exp) => exp.position == payload.expPosition,\n );\n expense[payload.attr] = payload.data;\n\n return {\n ...state,\n accountData: {\n ...state.accountData,\n agent_expense_templates: {\n ...state.accountData.agent_expense_templates,\n agent_expenses: agents,\n },\n },\n };\n\n case actionCreators.setAgentBrokerageData().type:\n const agents_expenses = state.accountData.agent_expense_templates.agent_expenses;\n agents_expenses[payload.agentPosition][payload.attr] = payload.data;\n\n return {\n ...state,\n accountData: {\n ...state.accountData,\n agent_expense_templates: {\n ...state.accountData.agent_expense_templates,\n agents_expenses,\n },\n },\n };\n\n case \"OPEN_NEW_EXPENSE_MODAL\":\n return {\n ...state,\n isModalOpen: true,\n };\n\n case \"CLOSE_NEW_EXPENSE_MODAL\":\n return {\n ...state,\n isModalOpen: false,\n showInstructions: false,\n hasError: false,\n errorMessage: undefined,\n };\n\n case \"SHOW_ALERT\":\n return {\n ...state,\n isShowAlert: true,\n isShowDangerAlert: false,\n errors: null,\n };\n\n case \"HIDE_ALERT\":\n return {\n ...state,\n isShowAlert: false,\n };\n\n case \"SHOW_DANGER_ALERT\":\n return {\n ...state,\n isShowDangerAlert: true,\n };\n\n case \"HIDE_DANGER_ALERT\":\n return {\n ...state,\n isShowDangerAlert: false,\n };\n\n case \"EXPENSE_TYPE_AGENT\":\n return {\n ...state,\n expenseType: \"agent\",\n };\n\n case \"EXPENSE_TYPE_OFFICE\":\n return {\n ...state,\n expenseType: \"office\",\n };\n\n case \"EXPENSE_TYPE_COMPANY\":\n return {\n ...state,\n expenseType: \"company\",\n };\n\n case \"ACCOUNT_DATA\":\n return {\n ...state,\n accountData: { ...payload.data },\n };\n\n case \"ERR_DATA\":\n return {\n ...state,\n errors: payload.errors,\n };\n\n case \"ACTIVE_AGENT_EXPENSE\":\n return {\n ...state,\n activeAgentExpense: { ...payload.data },\n };\n\n case \"SHOW_EDIT\":\n return {\n ...state,\n isShowEdit: true,\n };\n\n case \"HIDE_EDIT\":\n return {\n ...state,\n isShowEdit: false,\n };\n\n default:\n return state;\n }\n};\n\nexport default accountFinancialReducer;\n","const defaultState = {\n isShowTransactionDetail: false,\n isEditTransactionDetail: false,\n isOpenAddAgentModal: false,\n isOpenNewIncomeModal: false,\n isExpenseModal: false,\n isShowAlert: false,\n isShowDangerAlert: false,\n errors: null,\n listingData: {},\n modalIndex: null,\n agentList: [],\n closedVolume: 0,\n collaboratorModalIndex: null,\n isCollaboratorExpenseModalOpen: false\n};\n\nconst transactionFinancialReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n\n case \"SET_IS_SHOW_TR_DETAIL\":\n return {\n ...state,\n isShowTransactionDetail: payload.data\n };\n\n case \"SET_IS_EDIT_TR_DETAIL\":\n return {\n ...state,\n isEditTransactionDetail: payload.data,\n listingData: {\n ...state.listingData,\n removed_income_ids: [],\n removed_collaborator_ids: []\n }\n };\n\n case \"SET_IS_OPEN_ADD_AGENT_MODAL\":\n return {\n ...state,\n isOpenAddAgentModal: payload.data\n };\n\n case \"SET_IS_OPEN_NEW_INCOME_MODAL\":\n return {\n ...state,\n isOpenNewIncomeModal: payload.data\n };\n\n case \"SET_IS_EXPENSE_MODAL\":\n return {\n ...state,\n isExpenseModal: payload.data\n };\n\n case \"SET_ALERT\":\n return {\n ...state,\n isShowAlert: payload.data,\n isShowDangerAlert: false,\n errors: null\n };\n\n case \"SET_DANGER_ALERT\":\n return {\n ...state,\n isShowDangerAlert: payload.data\n };\n\n case \"SET_FINANCIAL_DATA\":\n return {\n ...state,\n listingData: { ...payload.data }\n };\n\n case \"ERR_DATA\":\n return {\n ...state,\n errors: payload.errors\n };\n\n case \"SET_MODAL_INDEX\":\n return {\n ...state,\n modalIndex: payload.data\n };\n\n case \"SET_AGENT_LIST\":\n return {\n ...state,\n agentList: payload.data\n };\n\n case 'SET_CLOSED_VOLUME':\n return {\n ...state,\n closedVolume: payload.data\n }\n\n case \"REMOVE_INCOME\":\n return {\n ...state,\n listingData: {\n ...state.listingData,\n team_member_incomes: {\n incomes: state.listingData.team_member_incomes.incomes.filter(income => income.id !== payload.data)\n },\n removed_income_ids: [...state.listingData.removed_income_ids, payload.data]\n }\n }\n\n case \"REMOVE_COLLABORATOR_EXPENSE\":\n return {\n ...state,\n listingData: {\n ...state.listingData,\n collaborator_expenses: {\n expenses: state.listingData.collaborator_expenses.expenses.filter(expense => expense.id !== payload.data)\n },\n removed_collaborator_ids: [...state.listingData.removed_collaborator_ids, payload.data]\n }\n }\n\n case \"SET_IS_COLLABORATOR_EXPENSE_MODAL_OPEN\":\n return {\n ...state,\n isCollaboratorExpenseModalOpen: payload.data\n };\n\n case \"SET_COLLABORATOR_MODAL_INDEX\":\n return {\n ...state,\n collaboratorModalIndex: payload.data\n };\n\n default:\n return state;\n }\n};\n\nexport default transactionFinancialReducer;\n","//\n// Fetch AssignedPlans\n//\nexport const fetchAssignedPlansStarted = () => ({ type: \"ASSIGNED_PLANS_FETCH_STARTED\" });\n\nexport const fetchAssignedPlansSuccess = (data) => ({ type: \"ASSIGNED_PLANS_FETCH_SUCCESS\", data });\n\nexport const fetchAssignedPlansFailure = (error) => ({\n type: \"ASSIGNED_PLANS_FETCH_FAILURE\",\n data: error,\n});\n\n//\n// Show/hide the preview modal for a plan\n//\nexport const setShowPreviewModalForAutoPlan = (assignedPlanId) => ({\n type: \"AUTO_PLAN_SHOW_PREVIEW_MODAL_FOR_ID\",\n data: assignedPlanId,\n});\n\n//\n// Fetch data for a plan preview\n//\nexport const autoPlanPreview = (status, result) => ({\n type: \"AUTO_PLAN_PREVIEW\",\n data: { status, result },\n});\n\n//\n// Show/hide the details modal for an AssignedPlan\n//\nexport const setShowDetailsModalForAssignedPlan = (assignedPlanId) => ({\n type: \"ASSIGNED_PLAN_SHOW_DETAILS_MODAL_FOR_ID\",\n data: assignedPlanId,\n});\n\n//\n// Fetch data about a single AssignedPlan\n//\nexport const fetchAssignedPlanDetailsStarted = (assignedPlanId) => ({\n type: \"ASSIGNED_PLAN_DETAILS_FETCH_STARTED\",\n data: assignedPlanId,\n});\n\nexport const fetchAssignedPlanDetailsSuccess = (data) => ({\n type: \"ASSIGNED_PLAN_DETAILS_FETCH_SUCCESS\",\n data,\n});\n\nexport const fetchAssignedPlanDetailsFailure = (error) => ({\n type: \"ASSIGNED_PLAN_DETAILS_FETCH_FAILURE\",\n data: error,\n});\n\n//\n// Confirm deletion of an action within an AssignedPlan\n//\nexport const confirmAssignedActionDeletion = (assignedPlanId, assignedActionId) => ({\n type: \"ASSIGNED_ACTION_CONFIRM_DELETION\",\n data: assignedPlanId && assignedActionId ? { assignedPlanId, assignedActionId } : null,\n});\n\nexport const assignedActionDeletion = (status, result) => ({\n type: \"ASSIGNED_ACTION_DELETION\",\n data: { status, result },\n});\n\n//\n// Mark an action as completed within an AssignedPlan\n//\nexport const assignedActionRestartOrMarkAsComplete = (status, result) => ({\n type: \"ASSIGNED_ACTION_RESTART_OR_MARK_AS_COMPLETE\",\n data: { status, result },\n});\n\n//\n// Confirm deletion of an AssignedPlan\n//\nexport const confirmAssignedPlanDeletion = (assignedPlanId) => ({\n type: \"ASSIGNED_PLAN_CONFIRM_DELETION\",\n data: assignedPlanId,\n});\n\n//\n// Update State\n//\nexport const updateAssignedPlanStateStarted = (assignedPlanId) => ({\n type: \"ASSIGNED_PLAN_UPDATE_STATE_STARTED\",\n data: assignedPlanId,\n});\n\nexport const updateAssignedPlanStateSuccess = (updatedPlan) => ({\n type: \"ASSIGNED_PLAN_UPDATE_STATE_SUCCESS\",\n data: updatedPlan,\n});\n\nexport const updateAssignedPlanStateFailure = (error, assignedPlanId) => ({\n type: \"ASSIGNED_PLAN_UPDATE_STATE_FAILURE\",\n data: { error, assignedPlanId },\n});\n\n//\n// Fetch available AutoPlans\n//\nexport const fetchAvailableAutoPlansStarted = () => ({ type: \"AUTO_PLANS_FETCH_AVAILABLE_STARTED\" });\n\nexport const fetchAvailableAutoPlansSuccess = (autoPlans) => ({\n type: \"AUTO_PLANS_FETCH_AVAILABLE_SUCCESS\",\n data: autoPlans,\n});\n\nexport const fetchAvailableAutoPlansFailure = (error) => ({\n type: \"AUTO_PLANS_FETCH_AVAILABLE_FAILURE\",\n data: error,\n});\n\n//\n// Apply AutoPlan\n//\nexport const applyAutoPlanStarted = () => ({ type: \"AUTO_PLAN_APPLY_STARTED\" });\n\nexport const applyAutoPlanSuccess = () => ({ type: \"AUTO_PLAN_APPLY_SUCCESS\" });\n\nexport const applyAutoPlanFailure = (errors) => ({ type: \"AUTO_PLAN_APPLY_FAILURE\", data: errors });\n\nexport const setApplyAutoPlanModalVisible = (visible) => ({\n type: \"AUTO_PLAN_SET_APPLY_MODAL_VISIBLE\",\n data: visible,\n});\n\nexport const setApplyAutoPlanSelectedPlan = (autoPlanId) => ({\n type: \"AUTO_PLAN_APPLY_MODAL_SET_SELECTED_PLAN\",\n data: autoPlanId,\n});\n","// Assignment to parameters in this file are in the context of immer, which\n// automatically produces new objects for us without mutating existing state.\n/* eslint-disable no-param-reassign */\nimport { produce } from \"immer\";\nimport { merge } from \"lodash\";\n\nimport {\n applyAutoPlanFailure,\n applyAutoPlanStarted,\n applyAutoPlanSuccess,\n assignedActionDeletion,\n assignedActionRestartOrMarkAsComplete,\n autoPlanPreview,\n confirmAssignedActionDeletion,\n confirmAssignedPlanDeletion,\n fetchAssignedPlanDetailsFailure,\n fetchAssignedPlanDetailsStarted,\n fetchAssignedPlanDetailsSuccess,\n fetchAssignedPlansFailure,\n fetchAssignedPlansStarted,\n fetchAssignedPlansSuccess,\n fetchAvailableAutoPlansFailure,\n fetchAvailableAutoPlansStarted,\n fetchAvailableAutoPlansSuccess,\n setApplyAutoPlanModalVisible,\n setApplyAutoPlanSelectedPlan,\n setShowDetailsModalForAssignedPlan,\n setShowPreviewModalForAutoPlan,\n updateAssignedPlanStateFailure,\n updateAssignedPlanStateStarted,\n updateAssignedPlanStateSuccess,\n} from \"../TransactionDetailsPage/SideRight/AutoPlans/actions/creators\";\n\nexport const defaultState = {\n uuid: \"\",\n\n // Plans that are already assigned to the Transaction.\n assignedPlans: {\n plans: [],\n\n meta: {\n isLoading: true,\n error: null,\n\n // For when a plan is being paused/resumed, to stop the user from clicking\n // on the button multiple times while the request is being processed.\n idsBeingUpdated: new Set(),\n },\n },\n\n // For showing a plan's details.\n planDetails: {\n plan: null,\n\n meta: {\n showDetailsModalForId: null,\n\n isLoading: true,\n error: null,\n },\n },\n\n planPreview: {\n plan: null,\n showModalForId: null,\n\n meta: {\n status: \"idle\",\n error: null,\n },\n },\n\n // For confirming the deletion of an action within an assigned plan.\n assignedActionDelete: {\n status: \"idle\",\n error: null,\n showModalFor: null,\n },\n\n // For marking an action as complete, or restarting it.\n assignedActionRestartOrMarkAsComplete: {\n status: \"idle\",\n error: null,\n },\n\n // For confirming the deletion of an assigned plan.\n assignedPlanDelete: {\n showModalForId: null,\n },\n\n // Available Transaction auto plans.\n availableAutoPlans: {\n plans: [],\n\n meta: {\n isLoading: true,\n error: null,\n },\n },\n\n // For applying an AutoPlan to the Transaction.\n autoPlanApply: {\n showModal: false,\n selectedPlanOption: null,\n // \"null\" is the default \"settled\" state, \"applying\" means waiting on the\n // request, \"success\" means the plan was applied and we can close out of the\n // modal.\n status: null,\n errors: null,\n },\n};\n\nexport const tdpAutoPlansReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n //\n // Fetching AssignedPlans\n //\n case fetchAssignedPlansStarted().type:\n return produce(state, (draft) => {\n draft.assignedPlans.meta.isLoading = true;\n draft.assignedPlans.meta.error = null;\n });\n\n case fetchAssignedPlansSuccess().type:\n return produce(state, (draft) => {\n draft.assignedPlans.plans = payload.data;\n draft.assignedPlans.meta.isLoading = false;\n draft.assignedPlans.meta.error = null;\n });\n\n case fetchAssignedPlansFailure().type:\n return produce(state, (draft) => {\n draft.assignedPlans.plans = [];\n draft.assignedPlans.meta.isLoading = false;\n draft.assignedPlans.meta.error = payload.data;\n });\n\n //\n // Previewing an AutoPlan\n //\n case setShowPreviewModalForAutoPlan().type:\n return produce(state, (draft) => {\n draft.planPreview.showModalForId = payload.data;\n });\n\n case autoPlanPreview().type:\n return produce(state, (draft) => {\n const { status, result } = payload.data;\n draft.planPreview.meta.status = status;\n\n switch (status) {\n case \"loading\":\n draft.planPreview.meta.error = null;\n break;\n\n case \"succeeded\":\n draft.planPreview.plan = result;\n break;\n\n case \"failed\":\n draft.planPreview.meta.error = result;\n break;\n\n default:\n break;\n }\n });\n\n //\n // Show/hide the AssignedPlan Details Modal for the given ID - no ID implies\n // we should hide the modal\n //\n case setShowDetailsModalForAssignedPlan().type:\n return produce(state, (draft) => {\n draft.planDetails.meta.showDetailsModalForId = payload.data;\n });\n\n //\n // Fetching data about a single AssignedPlan\n //\n case fetchAssignedPlanDetailsStarted().type:\n return produce(state, (draft) => {\n draft.planDetails.meta.isLoading = true;\n draft.planDetails.meta.error = null;\n });\n\n case fetchAssignedPlanDetailsSuccess().type:\n return produce(state, (draft) => {\n draft.planDetails.meta.isLoading = false;\n draft.planDetails.meta.error = null;\n\n draft.planDetails.plan = payload.data;\n });\n\n case fetchAssignedPlanDetailsFailure().type:\n return produce(state, (draft) => {\n draft.planDetails.meta.isLoading = false;\n draft.planDetails.meta.error = payload.data;\n\n draft.planDetails.plan = null;\n });\n\n //\n // Deletion of an action within an AssignedPlan\n //\n case confirmAssignedActionDeletion().type:\n return produce(state, (draft) => {\n draft.assignedActionDelete.showModalFor = payload.data;\n\n if (payload.data === null) {\n // When closing the modal, clear out any data from it.\n draft.assignedActionDelete.status = \"idle\";\n draft.assignedActionDelete.error = null;\n }\n });\n\n case assignedActionDeletion().type:\n return produce(state, (draft) => {\n const { status, result } = payload.data;\n draft.assignedActionDelete.status = status;\n\n switch (status) {\n case \"loading\":\n draft.assignedActionDelete.error = null;\n break;\n\n case \"succeeded\":\n // Close out of the confirmation modal.\n draft.assignedActionDelete.showModalFor = null;\n break;\n\n case \"failed\":\n draft.assignedActionDelete.error = result;\n break;\n\n default:\n break;\n }\n });\n\n //\n // Restarting an action or marking it as complete\n //\n case assignedActionRestartOrMarkAsComplete().type:\n return produce(state, (draft) => {\n const { status, result } = payload.data;\n draft.assignedActionRestartOrMarkAsComplete.status = status;\n\n switch (status) {\n case \"loading\":\n draft.assignedActionRestartOrMarkAsComplete.error = null;\n break;\n\n case \"failed\":\n draft.assignedActionRestartOrMarkAsComplete.error = result;\n break;\n\n default:\n break;\n }\n });\n\n //\n // Confirm deletion of an AssignedPlan\n //\n case confirmAssignedPlanDeletion().type:\n return produce(state, (draft) => {\n draft.assignedPlanDelete.showModalForId = payload.data;\n });\n\n //\n // State Update\n //\n case updateAssignedPlanStateStarted().type:\n return produce(state, (draft) => {\n const assignedPlanId = payload.data;\n draft.assignedPlans.meta.idsBeingUpdated.add(assignedPlanId);\n });\n\n case updateAssignedPlanStateSuccess().type:\n return produce(state, (draft) => {\n const updatedPlan = payload.data;\n const index = draft.assignedPlans.plans.findIndex((plan) => plan.id === updatedPlan.id);\n draft.assignedPlans.plans[index] = merge(draft.assignedPlans.plans[index], updatedPlan);\n draft.assignedPlans.meta.idsBeingUpdated.delete(updatedPlan.id);\n\n // If the state update was a deletion, close the \"really delete this\n // auto plan?\" confirmation modal.\n if (updatedPlan.state === \"deleted\") {\n draft.assignedPlanDelete.showModalForId = null;\n }\n });\n\n case updateAssignedPlanStateFailure().type:\n return produce(state, (draft) => {\n draft.assignedPlans.meta.error = payload.data.error;\n\n // Close the \"really delete this auto plan?\" confirmation modal if the\n // state update failed, so the user knows something went wrong.\n draft.assignedPlanDelete.showModalForId = null;\n\n // If a failure happens during a state update, we're better off clearing\n // out local state completely and offering a client refresh, otherwise\n // we risk inconsistent server vs. client state.\n draft.assignedPlans.meta.idsBeingUpdated = new Set();\n draft.assignedPlans.plans = [];\n });\n\n //\n // Fetching available Transaction AutoPlans\n //\n case fetchAvailableAutoPlansStarted().type:\n return produce(state, (draft) => {\n draft.availableAutoPlans.meta.isLoading = true;\n draft.availableAutoPlans.meta.error = null;\n });\n\n case fetchAvailableAutoPlansSuccess().type:\n return produce(state, (draft) => {\n draft.availableAutoPlans.plans = payload.data;\n draft.availableAutoPlans.meta.isLoading = false;\n draft.availableAutoPlans.meta.error = null;\n });\n\n case fetchAvailableAutoPlansFailure().type:\n return produce(state, (draft) => {\n draft.availableAutoPlans.plans = [];\n draft.availableAutoPlans.meta.isLoading = false;\n draft.availableAutoPlans.meta.error = payload.data;\n });\n\n //\n // Apply an AutoPlan\n //\n case applyAutoPlanStarted().type:\n return produce(state, (draft) => {\n draft.autoPlanApply.status = \"applying\";\n draft.autoPlanApply.errors = null;\n });\n\n case applyAutoPlanSuccess().type:\n return produce(state, (draft) => {\n draft.autoPlanApply.status = \"success\";\n draft.autoPlanApply.errors = null;\n });\n\n case applyAutoPlanFailure().type:\n return produce(state, (draft) => {\n draft.autoPlanApply.status = null;\n draft.autoPlanApply.errors = payload.data;\n });\n\n case setApplyAutoPlanModalVisible().type:\n return produce(state, (draft) => {\n const isVisible = payload.data;\n draft.autoPlanApply.showModal = isVisible;\n\n // Reset any internal state (e.g. currently selected option) when\n // closing the modal.\n if (!isVisible) {\n draft.autoPlanApply.status = null;\n draft.autoPlanApply.errors = null;\n draft.autoPlanApply.selectedPlanOption = null;\n }\n });\n\n case setApplyAutoPlanSelectedPlan().type:\n return produce(state, (draft) => {\n draft.autoPlanApply.selectedPlanOption = payload.data;\n });\n\n default:\n return state;\n }\n};\n\nexport default tdpAutoPlansReducer;\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_DATES = \"tdpDates\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_DATES);\n\nexport const saveAllDates = (dates) =>\n wrap({\n type: \"DATES_FETCH_SUCCESS\",\n dates,\n });\n\nexport const fetchAllDatesFailure = (error) =>\n wrap({\n type: \"DATES_FETCH_FAILURE\",\n error,\n });\n\nexport const updateDateFailure = (updateError) =>\n wrap({\n type: \"DATES_UPDATE_FAILURE\",\n updateError,\n });\n\nexport const showCustomDates = (isOpen) =>\n wrap({\n type: \"SHOW_CUSTOM_DATE\",\n isOpen,\n });\n\nexport const updateDates = (isUpdate, tasksPayload) =>\n wrap({\n type: \"UPDATE_DATES\",\n isUpdate,\n tasksPayload,\n });\n","import {\n saveAllDates,\n fetchAllDatesFailure,\n showCustomDates,\n updateDates,\n updateDateFailure,\n} from \"../TransactionDetailsPage/SideRight/Dates/actions/creators\";\n\nexport const defaultState = {\n uuid: \"\",\n dates: {\n available_dates: [],\n },\n error: null,\n updateError: null,\n isOpen: false,\n isUpdate: false,\n};\n\nexport const tdpDatesReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case saveAllDates().type:\n return {\n ...state,\n dates: payload.dates,\n error: null,\n updateError: null,\n isOpen: false,\n isUpdate: false,\n };\n case fetchAllDatesFailure().type:\n return {\n ...state,\n error: payload.error,\n updateError: null,\n isOpen: false,\n isUpdate: false,\n };\n case updateDateFailure().type:\n return {\n ...state,\n error: null,\n updateError: payload.updateError,\n isOpen: false,\n isUpdate: false,\n };\n case showCustomDates().type:\n return {\n ...state,\n error: null,\n updateError: null,\n isOpen: payload.isOpen,\n isUpdate: false,\n };\n case updateDates().type:\n return {\n ...state,\n error: null,\n updateError: null,\n isOpen: false,\n isUpdate: true,\n };\n default:\n return state;\n }\n};\n\nexport default tdpDatesReducer;\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_MARKETING = \"tdpDetails\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_MARKETING);\n\nexport const saveAllDetails = (details, uuid) => wrap({ type: \"SAVE_ALL_DETAILS\", details, uuid });\n\nexport const saveDetail = (key, value, group) => wrap({ type: \"SAVE_DETAIL\", key, value, group });\nexport const saveDetails = (details) => wrap({ type: \"SAVE_DETAILS\", details });\nexport const saveLinks = (value) => wrap({ type: \"SAVE_LINKS\", value });\n\nexport const showDetailsFailure = (error) => wrap({ type: \"SHOW_DETAILS_FAILURE\", error });\nexport const clearDetailsFailure = () => wrap({ type: \"CLEAR_DETAILS_FAILURE\" });\n\nexport const checkAllImgs = () => wrap({ type: \"CHECK_ALL_IMGS\" });\n\nexport const toggleChecked = (id) => wrap({ type: \"TOGGLE_CHECKED\", id });\n\nexport const deleteImg = (id) => wrap({ type: \"DELETE_IMG\", id });\n\nexport const addImg = (image) => wrap({ type: \"ADD_IMG\", image });\nexport const addError = (error) => wrap({ type: \"ADD_ERROR\", error });\nexport const clearError = (error) => wrap({ type: \"CLEAR_ERROR\", error });\nexport const updateImg = (image) => wrap({ type: \"UPDATE_IMG\", image });\nexport const setAccountSources = (sources = []) => wrap({ type: \"SET_ACCOUNT_SOURCES\", sources });\nexport const setAccountPropertyTypes = (propertyTypes = []) =>\n wrap({\n type: \"SET_ACCOUNT_PROPERTY_TYPES\",\n propertyTypes,\n });\n\nexport const setRefPartnerDetailsTeam = (team) =>\n wrap({\n type: \"SET_REF_PARTNER_DETAILS_TEAM\",\n team,\n });\n\nexport const setRefPartnerDetailsBrokerage = (brokerage) =>\n wrap({\n type: \"SET_REF_PARTNER_DETAILS_BROKERAGE\",\n brokerage,\n });\nexport const setRefTitle = (title) =>\n wrap({\n type: \"SET_REF_TITLE\",\n title,\n });\nexport const setRefStatus = (status) =>\n wrap({\n type: \"SET_REF_STATUS\",\n status,\n });\nexport const setTransactionAmount = (amount) =>\n wrap({\n type: \"SET_TRANSACTION_AMOUNT\",\n amount,\n });\nexport const setReferralFee = (referralFee) =>\n wrap({\n type: \"SET_REFERRAL_FEE\",\n referralFee,\n });\nexport const setClientDetailsFinancing = (financing) =>\n wrap({\n type: \"SET_FINANCING\",\n financing,\n });\nexport const updatePropertyDetail = (payload) =>\n wrap({\n type: \"UPDATE_PROPERTY_DETAIL\",\n ...payload,\n });\n","/* eslint-disable import/prefer-default-export */\nimport curriedNamespaceAction from \"../../../reducers/helpers\";\n\nconst REDUCER_TDP_TASK = \"tdpNavigation\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_TASK);\n\nexport const saveNavigationListings = (navigationListings) =>\n wrap({ type: \"SAVE_PREV_NEXT_LISTINGS\", navigationListings });\n","const saveTitleCrossDetail = (title) => ({\n ...title,\n type: \"SAVE_DETAIL_TITLE\",\n});\n\nexport default saveTitleCrossDetail;\n","import curriedNamespaceAction from \"../../../reducers/helpers\";\n\nconst REDUCER_NAME = \"TDP_HEADER\";\nconst wrap = curriedNamespaceAction(REDUCER_NAME);\n\nexport const saveDetailsFromHeader = (details) => ({ type: \"SAVE_DETAILS_FROM_HEADER\", details });\n\nexport const saveAllDetails = (details, uuid) => wrap({ type: \"SAVE_ALL_DETAILS\", details, uuid });\n\nexport const saveDetailFromHeader = (key, value, group) =>\n wrap({\n type: \"SAVE_DETAIL_FROM_HEADER\",\n key,\n value,\n group,\n });\n\nexport const setImportModalOpen = (isImportModalOpen, preStatus) =>\n wrap({ type: \"SET_IMPORT_MODAL_OPEN\", isImportModalOpen, preStatus });\n\nexport const saveDetail = (key, value, group) => wrap({ type: \"SAVE_DETAIL\", key, value, group });\n\nexport const saveDetails = (details) => wrap({ type: \"SAVE_DETAILS\", details });\n\nexport const deleteListing = (id) => wrap({ type: \"DELETE_LISTING\", id });\n\nexport const archiveListing = (id) => wrap({ type: \"ARCHIVE_LISTING\", id });\n\nexport const referralDesiredAddressEditOn = () => wrap({ type: \"SET_REF_DESIRED_ADDRESS_EDIT_ON\" });\n\nexport const referralEditTitleModalOn = () => wrap({ type: \"SET_REF_MODAL_TITLE_RENAME_ON\" });\n\nexport const referralEditTitleModalOff = () => wrap({ type: \"SET_REF_MODAL_TITLE_RENAME_OFF\" });\n\nexport const referralDesiredAddressEditOff = () => wrap({ type: \"SET_REF_DESIRED_ADDRESS_EDIT_OFF\" });\n\nexport const referralTimeFrameEditOn = () => wrap({ type: \"SET_REF_TIMEFRAME_EDIT_ON\" });\n\nexport const referralCalendarEditOn = (option) => wrap({ type: \"SET_REF_CALENDAR_EDIT_ON\", option });\n\nexport const referralCalendarEditCancel = (option) => wrap({ type: \"SET_REF_CALENDAR_EDIT_CANCEL\", option });\n\nexport const editReferralDesiredAddress = (address) => wrap({ type: \"REF_DESIRED_ADDRESS_EDIT\", address });\n\nexport const editIsReferralFeePercentage = (bool) => wrap({ type: \"REF_IS_REF_FEE_PERC_EDIT\", bool });\n\nexport const editTimeframeExact = (option, exactDate) =>\n wrap({\n type: \"SET_TIMEFRAME_EXACT\",\n option,\n exactDate,\n });\n\nexport const editReferralTransactionAmt = (transactionAmt) =>\n wrap({\n type: \"EDIT_REF_TRANSACTION_AMT\",\n transactionAmt,\n });\n\nexport const editReferralFee = (payload) =>\n wrap({\n type: \"EDIT_REF_REFERRAL_FEE\",\n ...payload,\n });\n\nexport const editReferralStatus = (status) =>\n wrap({\n type: \"EDIT_REF_STATUS\",\n status,\n });\n\nexport const editReferralTitle = (title) =>\n wrap({\n type: \"EDIT_REF_TITLE\",\n title,\n });\n\nexport const isUpdateAddressModal = (boolean, tempUpdatedStatus, tempPreStatus) =>\n wrap({\n type: \"OPEN_UPDATE_ADDRESS_MODAL\",\n boolean,\n tempUpdatedStatus,\n tempPreStatus,\n });\n\nexport const editAddressFromPipeline = (details) =>\n wrap({\n type: \"EDIT_ADDRESS_FROM_PIPELINE\",\n details,\n });\n","import { produce } from \"immer\";\nimport format from \"../shared/formatters\";\n\nimport {\n saveAllDetails,\n checkAllImgs,\n toggleChecked,\n deleteImg,\n updateImg,\n addImg,\n addError,\n clearError,\n saveDetail,\n saveLinks,\n setAccountSources,\n setAccountPropertyTypes,\n showDetailsFailure,\n clearDetailsFailure,\n setRefPartnerDetailsTeam,\n setRefPartnerDetailsBrokerage,\n setRefTitle,\n setRefStatus,\n setTransactionAmount,\n setClientDetailsFinancing,\n updatePropertyDetail,\n} from \"../TransactionDetailsPage/Main/Details/actions/creators\";\nimport { saveNavigationListings } from \"../TransactionDetailsPage/NavigationListings/action/creators\";\nimport saveTitleCrossDetail from \"../TransactionDetailsPage/Main/Tasks/actions/crossCreators\";\nimport {\n editReferralDesiredAddress,\n referralDesiredAddressEditOn,\n referralDesiredAddressEditOff,\n saveDetailsFromHeader,\n referralTimeFrameEditOn,\n editTimeframeExact,\n referralCalendarEditOn,\n referralCalendarEditCancel,\n editReferralTransactionAmt,\n editReferralFee,\n editReferralStatus,\n editReferralTitle,\n referralEditTitleModalOn,\n referralEditTitleModalOff,\n isUpdateAddressModal,\n saveDetails as saveDetailsFromHeaderUpdate,\n editIsReferralFeePercentage,\n editAddressFromPipeline,\n setImportModalOpen,\n} from \"../TransactionDetailsPage/Header/actions/creators\";\nimport { trim } from \"lodash\";\nimport { timeframeReadHelper } from \"./helpers\";\n\nexport const defaultState = {\n uuid: \"\",\n awsDirectPost: null,\n notableId: \"\",\n currentUserId: \"\",\n isAdmin: null,\n currentUser: null,\n slug: null,\n person: null,\n smsEnabled: false,\n accountUUID: \"\",\n transactionDetails: {\n title: \"\",\n use_custom_title: false,\n published: \"\",\n status: \"active\",\n est_close_price: \"\",\n estimated_commission: \"\",\n type: \"\",\n },\n listingDetails: {\n date_listed: \"\",\n expiration_date: \"\",\n price: \"\",\n mls_number: \"\",\n valid_mls_number: false,\n source: \"\",\n description: \"\",\n buyers_agent_commission: {\n id: \"\",\n percentage: true,\n value: \"\",\n cooperative_compensation: false,\n exclude_from_commissions: false,\n status: \"\",\n },\n deposit: {\n id: null,\n hold_earnest_money: null,\n amount: null,\n additional_amount: null,\n deposit_due: {\n id: \"\",\n date: \"\",\n name: \"\",\n include_time: null,\n display_time: \"\",\n },\n additional_earnest_money_due: {\n id: \"\",\n date: \"\",\n name: \"\",\n include_time: null,\n display_time: \"\",\n },\n },\n },\n propertyDetails: {\n street_address: \"\",\n city: \"\",\n state: \"\",\n zip: \"\",\n property_type: {},\n beds: \"\",\n baths: \"\",\n sqft: \"\",\n neighborhood: \"\",\n county: \"\",\n year_built: \"\",\n parking: \"\",\n foundation: \"\",\n },\n referralPartner: {\n name: null,\n pdpLink: null,\n },\n noteDetails: {\n notes: [],\n },\n referralDetails: {\n clientIntent: null,\n addressField: null,\n timeframe: null,\n timeframeExact: null,\n timeframeRead: null,\n transactionAmt: null,\n referralFee: null,\n isReferralFeePercentage: true,\n status: null,\n isModalRenameTitleOpen: false,\n isReferralDesiredAddressEdit: false,\n isTimeFrameEdit: false,\n isReferralCalendarOpen: false,\n brokerage: null,\n team: null,\n },\n clientDetails: {\n clientName: null,\n pdpLink: null,\n financing: null,\n },\n meta: {\n accountPropertyTypes: [],\n accountSources: [],\n },\n primaryAgentDetails: {\n agent: null,\n agent_id: null,\n agent_avatar: null,\n primaryAgentRole: null,\n },\n headerDetails: {\n type: null,\n published: null,\n },\n additionalDetails: {},\n propertyPagePath: \"\",\n links: [],\n useMLSphotos: false,\n blossorId: \"\",\n listingImgs: [],\n listingImgErrors: [],\n peopleListed: [],\n checkAll: false,\n navigationListing: {\n previousSlug: null,\n nextSlug: null,\n previousSlugUuid: null,\n nextSlugUuid: null,\n },\n error: null,\n isUpdateAddressModalOpen: false,\n tempUpdatedStatus: null,\n tempPreStatus: null,\n isImportModalOpen: false,\n preStatus: null,\n};\n\nexport const tdpDetailsReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case setAccountPropertyTypes().type: {\n return produce(state, (draft) => {\n draft.meta.accountPropertyTypes = payload.propertyTypes.map((s) => ({ label: s.name, value: s.id }));\n });\n }\n case setAccountSources().type: {\n return produce(state, (draft) => {\n draft.meta.accountSources = payload.sources.map((s) => ({ label: s.name, value: s.id }));\n });\n }\n case saveAllDetails().type:\n return produce(state, (draft) => {\n draft.transactionDetails.title = payload.details.transactionDetails.title;\n draft.transactionDetails.use_custom_title = payload.details.transactionDetails.use_custom_title;\n draft.transactionDetails.published = payload.details.transactionDetails.published;\n draft.transactionDetails.est_close_price = payload.details.transactionDetails.est_close_price;\n draft.transactionDetails.estimated_commission =\n payload.details.transactionDetails.estimated_commission;\n draft.transactionDetails.status = payload.details.transactionDetails.status;\n draft.listingDetails = payload.details.listingDetails;\n draft.propertyDetails = payload.details.propertyDetails;\n\n draft.referralDetails.team = payload.details.referralPartnerDetails.team;\n draft.referralDetails.brokerage = payload.details.referralPartnerDetails.brokerage;\n draft.referralDetails.transactionAmt = payload.details.referralDetails.transactionAmt;\n draft.referralDetails.referralFee = payload.details.referralDetails.referralFee;\n draft.propertyDetails.property_type = payload.details.propertyDetails.property_type;\n\n draft.referralDetails.addressField = payload.details.clientDetails.addressField;\n\n draft.additionalDetails = payload.details.additionalDetails;\n draft.propertyPagePath = payload.details.propertyPagePath;\n draft.links = payload.details.links;\n draft.useMLSphotos = payload.details.useMLSphotos;\n draft.blossorId = payload.details.blossorId;\n draft.listingImgs = payload.details.listingImgs;\n draft.peopleListed = payload.details.peopleListed;\n draft.checkAll = payload.details.checkAll;\n draft.referralPartner.name = payload.details.referralPartnerDetails.name;\n draft.referralPartner.pdpLink = payload.details.referralPartnerDetails.pdpLink;\n\n draft.clientDetails.financing = payload.details.clientDetails.financing;\n draft.clientDetails.name = payload.details.clientDetails.name;\n draft.clientDetails.pdpLink = payload.details.clientDetails.pdpLink;\n });\n case saveDetailsFromHeader().type:\n return produce(state, (draft) => {\n draft.transactionDetails.title = payload.details.transactionDetails.title;\n draft.transactionDetails.use_custom_title = payload.details.transactionDetails.use_custom_title;\n draft.transactionDetails.publishedState = payload.details.transactionDetails.publishedState;\n draft.transactionDetails.status = payload.details.transactionDetails.status;\n draft.transactionDetails.est_close_price = payload.details.transactionDetails.est_close_price;\n draft.transactionDetails.type = payload.details.transactionDetails.type;\n draft.listingDetails.source = payload.details.listingDetails.source;\n draft.listingDetails.price = payload.details.listingDetails.price;\n draft.listingDetails.mls_number = payload.details.listingDetails.mls_number;\n draft.listingDetails.valid_mls_number = payload.details.listingDetails.valid_mls_number;\n draft.primaryAgentDetails.agent = payload.details.primaryAgentDetails?.agent;\n draft.primaryAgentDetails.agentAvatar = payload.details.primaryAgentDetails?.agent_avatar;\n draft.primaryAgentDetails.agentId = payload.details.primaryAgentDetails?.agent_id;\n draft.primaryAgentDetails.primaryAgentRole = payload.details.primaryAgentDetails?.primaryAgentRole;\n\n draft.propertyDetails.street_address = payload.details.propertyDetails.street_address;\n draft.propertyDetails.city = payload.details.propertyDetails.city;\n draft.propertyDetails.state = payload.details.propertyDetails.state;\n draft.propertyDetails.zip = payload.details.propertyDetails.zip;\n draft.propertyDetails.beds = payload.details.propertyDetails.beds;\n draft.propertyDetails.baths = payload.details.propertyDetails.baths;\n draft.propertyDetails.sqft = payload.details.propertyDetails.sqft;\n draft.propertyDetails.property_type = payload.details.propertyDetails.property_type;\n draft.headerDetails.days_on_market = payload.details.headerDetails.days_on_market;\n draft.headerDetails.photo = payload.details.headerDetails.photo;\n draft.headerDetails.type = payload.details.headerDetails.type;\n draft.headerDetails.listing_id = payload.details.headerDetails.listing_id;\n draft.headerDetails.published = payload.details.headerDetails.published;\n draft.headerDetails.address_id = payload.details.headerDetails.address_id;\n draft.headerDetails.statusCode = payload.details.headerDetails.statusCode;\n draft.headerDetails.error = payload.details.headerDetails.error;\n draft.propertyDetails.beds = payload.details.propertyDetails.beds;\n draft.propertyDetails.baths = payload.details.propertyDetails.baths;\n draft.propertyDetails.sqft = payload.details.propertyDetails.sqft;\n\n draft.referralDetails.clientIntent = payload.details.referralDetails.clientIntent;\n draft.referralDetails.addressField = payload.details.referralDetails.addressField;\n draft.referralDetails.transactionAmt = payload.details.referralDetails.transactionAmt;\n draft.referralDetails.referralFee = payload.details.referralDetails.referralFee;\n (draft.referralDetails.isReferralFeePercentage =\n payload.details.referralDetails.isReferralFeePercentage),\n (draft.referralDetails.timeframe = payload.details.referralDetails.timeframe);\n draft.referralDetails.timeframeExact = payload.details.referralDetails.timeframeExact;\n draft.referralDetails.timeframeRead = payload.details.referralDetails.timeframeRead;\n draft.referralDetails.team = payload.details.referralDetails.team;\n draft.referralPartner.name = payload.details.referralPartner.name;\n draft.referralPartner.avatar = payload.details.referralPartner.avatar;\n draft.referralDetails.brokerage = payload.details.referralDetails.brokerage;\n });\n case saveTitleCrossDetail().type:\n return produce(state, (draft) => {\n draft.transactionDetails.tiztle = payload.title;\n });\n case saveDetail().type:\n return produce(state, (draft) => {\n draft[payload.group][payload.key] = payload.value;\n });\n case saveDetailsFromHeaderUpdate().type:\n return produce(state, (draft) => {\n payload.details.forEach((detail) => {\n draft[detail.group][detail.key] = detail.value;\n });\n });\n case showDetailsFailure().type:\n return produce(state, (draft) => {\n draft.error = payload.error;\n });\n case clearDetailsFailure().type:\n return produce(state, (draft) => {\n draft.error = null;\n });\n case saveLinks().type:\n return produce(state, (draft) => {\n draft.links = payload.value;\n });\n case checkAllImgs().type:\n return produce(state, (draft) => {\n const checked = !state.checkAll;\n\n draft.listingImgs = state.listingImgs.map((img) => ({\n ...img,\n checked,\n }));\n draft.checkAll = checked;\n });\n case toggleChecked().type:\n return produce(state, (draft) => {\n const idx = state.listingImgs.findIndex(({ id }) => id === payload.id);\n draft.listingImgs[idx].checked = !state.listingImgs[idx].checked;\n });\n case deleteImg().type:\n return produce(state, (draft) => {\n const imgs = [...state.listingImgs];\n const idx = imgs.findIndex(({ id }) => id === payload.id);\n imgs.splice(idx, 1);\n draft.listingImgs = imgs;\n });\n case updateImg().type:\n return produce(state, (draft) => {\n const imgs = [...state.listingImgs];\n const idx = imgs.findIndex(({ id }) => id === payload.image.tmpId);\n imgs[idx] = payload.image;\n draft.listingImgs = imgs;\n });\n case addImg().type:\n return produce(state, (draft) => {\n draft.listingImgs = [...state.listingImgs, payload.image];\n });\n case addError().type:\n return produce(state, (draft) => {\n draft.listingImgErrors = [...state.listingImgErrors, payload.error];\n });\n case clearError().type:\n return produce(state, (draft) => {\n const listingImgErrors = [...state.listingImgErrors];\n const idx = listingImgErrors.findIndex(({ id }) => id === payload.id);\n listingImgErrors.splice(idx, 1);\n draft.listingImgErrors = listingImgErrors;\n });\n case saveNavigationListings().type:\n return produce(state, (draft) => {\n draft.navigationListing = payload.navigationListings;\n });\n case referralDesiredAddressEditOn().type:\n return produce(state, (draft) => {\n draft.referralDetails.isReferralDesiredAddressEdit = true;\n });\n case referralDesiredAddressEditOff().type:\n return produce(state, (draft) => {\n draft.referralDetails.isReferralDesiredAddressEdit = false;\n });\n case referralTimeFrameEditOn().type: {\n return produce(state, (draft) => {\n draft.referralDetails.isTimeFrameEdit = true;\n });\n }\n case editReferralDesiredAddress().type:\n return produce(state, (draft) => {\n draft.referralDetails.addressField = trim(payload.address);\n draft.referralDetails.isReferralDesiredAddressEdit = false;\n });\n case editTimeframeExact().type:\n return produce(state, (draft) => {\n draft.referralDetails.isReferralCalendarOpen = false;\n draft.referralDetails.isTimeFrameEdit = false;\n\n draft.referralDetails.timeframe = payload.option;\n draft.referralDetails.timeframeExact = payload.exactDate;\n draft.referralDetails.timeframeRead = timeframeReadHelper(payload.option.label, payload.exactDate);\n });\n case referralCalendarEditOn().type:\n return produce(state, (draft) => {\n draft.referralDetails.timeframe = payload.option;\n draft.referralDetails.isReferralCalendarOpen = true;\n });\n case referralCalendarEditCancel().type:\n return produce(state, (draft) => {\n draft.referralDetails.timeframe = payload.option;\n draft.referralDetails.timeframeRead = timeframeReadHelper(payload.option?.value);\n\n draft.referralDetails.isReferralCalendarOpen = false;\n draft.referralDetails.isTimeFrameEdit = false;\n });\n case editReferralTransactionAmt().type:\n return produce(state, (draft) => {\n draft.referralDetails.transactionAmt = payload.transactionAmt;\n });\n case editReferralFee().type:\n return produce(state, (draft) => {\n draft.referralDetails.isReferralFeePercentage = payload.isFeePercentage;\n const changeAmtToValidNumber = format.number(\n payload.referralFee,\n 2,\n payload.isFeePercentage ? false : true,\n );\n draft.referralDetails.referralFee = changeAmtToValidNumber;\n });\n case editIsReferralFeePercentage().type:\n return produce(state, (draft) => {\n draft.referralDetails.isReferralFeePercentage = payload.bool;\n draft.referralDetails.referralFee = null;\n });\n case editReferralStatus().type:\n return produce(state, (draft) => {\n draft.referralDetails.status = payload.status;\n });\n case editReferralTitle().type:\n return produce(state, (draft) => {\n draft.transactionDetails.title = payload.title;\n draft.referralDetails.isModalRenameTitleOpen = false;\n });\n case referralEditTitleModalOn().type:\n return produce(state, (draft) => {\n draft.referralDetails.isModalRenameTitleOpen = true;\n });\n case referralEditTitleModalOff().type:\n return produce(state, (draft) => {\n draft.referralDetails.isModalRenameTitleOpen = false;\n });\n case setRefPartnerDetailsTeam().type:\n return produce(state, (draft) => {\n draft.referralDetails.team = payload.team;\n });\n case setRefPartnerDetailsBrokerage().type: {\n return produce(state, (draft) => {\n draft.referralDetails.brokerage = payload.brokerage;\n });\n }\n case setRefTitle().type: {\n return produce(state, (draft) => {\n draft.transactionDetails.title = payload.title;\n });\n }\n case setRefStatus().type: {\n return produce(state, (draft) => {\n draft.transactionDetails.status = payload.status;\n });\n }\n case setTransactionAmount().type: {\n return produce(state, (draft) => {\n draft.referralDetails.transactionAmt = payload.amount;\n });\n }\n case setClientDetailsFinancing().type: {\n return produce(state, (draft) => {\n draft.clientDetails.financing = payload.financing;\n });\n }\n case isUpdateAddressModal().type: {\n return produce(state, (draft) => {\n draft.isUpdateAddressModalOpen = payload.boolean;\n draft.tempUpdatedStatus = null || payload.tempUpdatedStatus;\n draft.tempPreStatus = null || payload.tempPreStatus;\n });\n }\n case setImportModalOpen().type: {\n return produce(state, (draft) => {\n draft.isImportModalOpen = payload.isImportModalOpen;\n draft.preStatus = payload.preStatus;\n });\n }\n case updatePropertyDetail().type: {\n return produce(state, (draft) => {\n const additionalDetails = { ...state.additionalDetails };\n const [keyToUpdate] = Object.entries(additionalDetails).find(\n ([_key, value]) => value.id === payload.id,\n );\n\n const { [keyToUpdate]: labelName, ...restOfAdditionalDetails } = additionalDetails;\n const newAdditionalDetails = {\n [payload.name]: { ...labelName },\n ...restOfAdditionalDetails,\n };\n\n draft.additionalDetails = payload[\"_destroy\"] ? restOfAdditionalDetails : newAdditionalDetails;\n });\n }\n case editAddressFromPipeline().type: {\n return produce(state, (draft) => {\n const { city, locality, postal_code, street_address } = payload.details.find(\n (item) => item.key === \"address_attributes\",\n ).value;\n\n const status = payload.details.find((item) => item.key === \"status\").value;\n const title = payload.details.find((item) => item.key === \"title\")?.value;\n\n draft.propertyDetails.city = city;\n draft.propertyDetails.state = locality;\n draft.propertyDetails.street_address = street_address;\n draft.propertyDetails.zip = postal_code;\n\n draft.transactionDetails.status = status === \"coming soon\" ? \"comingsoon\" : status;\n if (title) {\n draft.transactionDetails.title = title;\n }\n draft.transactionDetails.use_custom_title = title ? true : false;\n\n draft.isUpdateAddressModalOpen = false;\n });\n }\n default:\n return state;\n }\n};\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_NAMESPACE = \"tdpDocs\";\nconst wrap = curriedNamespaceAction(REDUCER_NAMESPACE);\n\nexport const getDocuments = (documents, meta, uuid) => wrap({ type: \"GET_DOCUMENTS\", documents, meta, uuid });\nexport const getCDAdocument = (CDAdocuments) => wrap({ type: \"GET_CDA_DOCUMENTS\", CDAdocuments });\nexport const getDocumentsStart = () => wrap({ type: \"GET_DOCUMENTS_START\" });\nexport const getDocumentsError = (errors) => wrap({ type: \"GET_DOCUMENTS_ERROR\", errors });\nexport const getSidebarDocuments = (documents, meta) =>\n wrap({ type: \"GET_SIDEBAR_DOCUMENTS\", documents, meta });\nexport const getSidebarDocumentsStart = () => wrap({ type: \"GET_SIDEBAR_DOCUMENTS_START\" });\nexport const getSidebarDocumentsError = (errors) => wrap({ type: \"GET_SIDEBAR_DOCUMENTS_ERROR\", errors });\nexport const getDocumentsFromSearch = (documents, meta, search) =>\n wrap({ type: \"GET_DOCUMENTS_FROM_SEARCH\", documents, meta, search });\nexport const searchDocumentsError = (search, errors) =>\n wrap({ type: \"SEARCH_DOCUMENTS_ERROR\", search, errors });\nexport const getDocumentsFromSort = (documents, meta, orderBy, orderDir) =>\n wrap({ type: \"GET_DOCUMENTS_FROM_SORT\", documents, meta, orderBy, orderDir });\nexport const sortDocumentsError = (orderBy, orderDir, errors) =>\n wrap({ type: \"SORT_DOCUMENTS_ERROR\", orderBy, orderDir, errors });\nexport const getAllDocumentViewers = (documentId, viewers) =>\n wrap({ type: \"GET_ALL_DOCUMENT_VIEWERS\", documentId, viewers });\nexport const renameDocumentSuccess = (documentId, data) =>\n wrap({ type: \"RENAME_DOCUMENT_SUCCESS\", documentId, data });\nexport const renameDocumentError = (context, documentId, errors) =>\n wrap({ type: \"RENAME_DOCUMENT_ERROR\", context, documentId, errors });\nexport const toggleUploadModal = (isModalOpen) => wrap({ type: \"TOGGLE_UPLOAD_MODAL\", isModalOpen });\nexport const uploadDocumentStart = (data) => wrap({ type: \"UPLOAD_DOCUMENT_START\", data });\nexport const uploadDocumentSuccess = (data, uploadKey) =>\n wrap({ type: \"UPLOAD_DOCUMENT_SUCCESS\", data, uploadKey });\nexport const uploadCDADocSuccess = (data, uploadKey) =>\n wrap({ type: \"UPLOAD_CDA_DOC_SUCCESS\", data, uploadKey });\n\nexport const uploadDocumentError = (isFinancialsCDA, uploadKey, errors) =>\n wrap({ type: \"UPLOAD_DOCUMENT_ERROR\", uploadKey, errors, isFinancialsCDA });\nexport const toggleDeleteModal = (documentIdsToDelete, isFinancialsCDA) =>\n wrap({ type: \"TOGGLE_DELETE_MODAL\", documentIdsToDelete, isFinancialsCDA });\nexport const deleteDocumentsSuccess = (documentIds) =>\n wrap({ type: \"DELETE_DOCUMENTS_SUCCESS\", documentIds });\nexport const deleteDocumentsError = (errors) => wrap({ type: \"DELETE_DOCUMENTS_ERROR\", errors });\nexport const setDocumentIndex = (context, index) => wrap({ type: \"SET_DOCUMENT_INDEX\", context, index });\nexport const toggleDocumentsSelected = (context, documentIds, isSelected) =>\n wrap({ type: \"TOGGLE_DOCUMENTS_SELECTED\", context, documentIds, isSelected });\nexport const toggleCDAUploadModal = (bool) => wrap({ type: \"TOGGLE_CDA_UPLOAD_MODAL\", bool });\nexport const sortByCDAType = (sortType) => wrap({ type: \"SORT_BY_CDA_NAME\", sortType });\n","/* eslint-disable no-param-reassign */\nimport { produce } from \"immer\";\n\nimport {\n getDocuments,\n getDocumentsStart,\n getDocumentsError,\n getSidebarDocuments,\n getSidebarDocumentsStart,\n getSidebarDocumentsError,\n getDocumentsFromSearch,\n searchDocumentsError,\n getDocumentsFromSort,\n sortDocumentsError,\n getAllDocumentViewers,\n renameDocumentSuccess,\n renameDocumentError,\n toggleUploadModal,\n uploadDocumentStart,\n uploadDocumentSuccess,\n uploadDocumentError,\n toggleDeleteModal,\n deleteDocumentsSuccess,\n deleteDocumentsError,\n setDocumentIndex,\n toggleDocumentsSelected,\n getCDAdocument,\n toggleCDAUploadModal,\n uploadCDADocSuccess,\n sortByCDAType,\n} from \"../TransactionDetailsPage/Main/Docs/actions/creators\";\n\nexport const defaultState = {\n uuid: \"\",\n documents: [],\n CDAdocuments: [],\n sidebarDocuments: [],\n sidebarDocumentsCount: 5,\n isUploadModalOpen: false,\n isCDAUploadModalOpen: false,\n uploadedDocuments: [],\n isDeleteModalOpen: false,\n documentIdsToDelete: [],\n isCDA: false,\n deleteErrors: [],\n search: \"\",\n orderBy: \"\",\n orderDir: \"\",\n errors: [],\n sidebarErrors: [],\n meta: {\n pagination: {\n current: 0,\n next: 0,\n previous: 0,\n totalPages: 1,\n totalCount: 0,\n countPerPage: 25,\n },\n viewerCounts: {},\n permissions: {},\n updatedAtMs: 0,\n },\n sidebarMeta: {\n pagination: {\n current: 0,\n next: 0,\n previous: 0,\n totalPages: 1,\n totalCount: 0,\n countPerPage: 25,\n },\n viewerCounts: {},\n permissions: {},\n updatedAtMs: 0,\n },\n preview: {\n currentDocumentContext: null,\n currentDocumentIndex: null,\n renameErrors: [],\n },\n isFetchingDocuments: false,\n isFetchingSidebarDocuments: false,\n sortByCDA: null,\n sortCDADirection: null,\n};\n\nconst canUseForSidebar = (state) =>\n (!state.meta.pagination.current || state.meta.pagination.current === 1) &&\n !state.search &&\n !state.orderBy &&\n !state.orderDir;\n\nconst areSidebarDocumentsLoaded = (state) => state.sidebarMeta.pagination.current > 0;\n\nconst normalizeDocumentIndex = (index, numDocuments) => (index < 0 || index >= numDocuments ? null : index);\n\nexport const tdpDocumentsReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case getDocuments().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = false;\n draft.errors = [];\n draft.uuid = payload.uuid;\n draft.documents = payload.documents;\n draft.meta = payload.meta;\n\n if (canUseForSidebar(draft)) {\n draft.isFetchingSidebarDocuments = false;\n draft.sidebarErrors = [];\n draft.sidebarDocuments = payload.documents.slice(0, draft.sidebarDocumentsCount);\n draft.sidebarMeta = payload.meta;\n }\n });\n case getCDAdocument().type:\n return produce(state, (draft) => {\n draft.CDAdocuments = payload.CDAdocuments;\n });\n case getDocumentsStart().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = true;\n\n if (canUseForSidebar(draft) && !areSidebarDocumentsLoaded(draft)) {\n draft.isFetchingSidebarDocuments = true;\n }\n });\n case getDocumentsError().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = false;\n draft.errors = payload.errors;\n\n if (canUseForSidebar(draft) && !areSidebarDocumentsLoaded(draft)) {\n draft.isFetchingSidebarDocuments = false;\n draft.sidebarErrors = payload.errors;\n }\n });\n case getSidebarDocuments().type:\n return produce(state, (draft) => {\n draft.isFetchingSidebarDocuments = false;\n draft.sidebarErrors = [];\n draft.sidebarDocuments = payload.documents.slice(0, draft.sidebarDocumentsCount);\n draft.sidebarMeta = payload.meta;\n });\n case getSidebarDocumentsStart().type:\n return produce(state, (draft) => {\n draft.isFetchingSidebarDocuments = true;\n });\n case getSidebarDocumentsError().type:\n return produce(state, (draft) => {\n draft.isFetchingSidebarDocuments = false;\n draft.sidebarErrors = payload.errors;\n });\n case getDocumentsFromSearch().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = false;\n draft.search = payload.search;\n draft.errors = [];\n draft.documents = payload.documents;\n draft.meta = payload.meta;\n });\n case searchDocumentsError().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = false;\n draft.search = payload.search;\n draft.errors = payload.errors;\n });\n case getDocumentsFromSort().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = false;\n draft.orderBy = payload.orderBy;\n draft.orderDir = payload.orderDir;\n draft.errors = [];\n draft.documents = payload.documents;\n draft.meta = payload.meta;\n });\n case sortDocumentsError().type:\n return produce(state, (draft) => {\n draft.isFetchingDocuments = false;\n draft.orderBy = payload.orderBy;\n draft.orderDir = payload.orderDir;\n draft.errors = payload.errors;\n });\n case getAllDocumentViewers().type:\n return produce(state, (draft) => {\n const draftDoc = draft.documents.find((doc) => doc.id === payload.documentId);\n\n if (draftDoc) {\n draftDoc.uploadedByRole =\n payload.viewers.find((viewer) => viewer.id === draftDoc.uploadedById)?.role ?? \"\";\n draftDoc.viewers = payload.viewers;\n }\n\n const draftSidebarDoc = draft.sidebarDocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftSidebarDoc) {\n draftSidebarDoc.uploadedByRole =\n payload.viewers.find((viewer) => viewer.id === draftSidebarDoc.uploadedById)?.role ?? \"\";\n draftSidebarDoc.viewers = payload.viewers;\n }\n });\n case renameDocumentSuccess().type:\n return produce(state, (draft) => {\n const draftDoc = draft.documents.find((doc) => doc.id === payload.documentId);\n\n if (draftDoc) {\n draftDoc.fileName = payload.data.document.fileName;\n draftDoc.nakedName = payload.data.document.nakedName;\n draftDoc.expiringUrl = payload.data.document.expiringUrl;\n draftDoc.renameErrors = [];\n }\n\n const draftSidebarDoc = draft.sidebarDocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftSidebarDoc) {\n draftSidebarDoc.fileName = payload.data.document.fileName;\n draftSidebarDoc.nakedName = payload.data.document.nakedName;\n draftSidebarDoc.expiringUrl = payload.data.document.expiringUrl;\n draftSidebarDoc.renameErrors = [];\n }\n\n const draftUploadedDoc = draft.uploadedDocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftUploadedDoc) {\n draftUploadedDoc.fileName = payload.data.document.fileName;\n draftUploadedDoc.nakedName = payload.data.document.nakedName;\n draftUploadedDoc.expiringUrl = payload.data.document.expiringUrl;\n draftUploadedDoc.renameErrors = [];\n }\n\n const draftCDADoc = draft.CDAdocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftCDADoc) {\n draftCDADoc.fileName = payload.data.document.fileName;\n draftCDADoc.nakedName = payload.data.document.nakedName;\n draftCDADoc.expiringUrl = payload.data.document.expiringUrl;\n draftCDADoc.renameErrors = [];\n }\n\n draft.preview.renameErrors = [];\n });\n case renameDocumentError().type:\n return produce(state, (draft) => {\n switch (payload.context) {\n case \"CDA-document\": {\n const draftDoc = draft.CDAdocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftDoc) {\n draftDoc.renameErrors = payload.errors;\n }\n\n break;\n }\n\n case \"documents-table\": {\n const draftDoc = draft.documents.find((doc) => doc.id === payload.documentId);\n\n if (draftDoc) {\n draftDoc.renameErrors = payload.errors;\n }\n\n break;\n }\n\n case \"documents-sidebar\": {\n const draftSidebarDoc = draft.sidebarDocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftSidebarDoc) {\n draftSidebarDoc.renameErrors = payload.errors;\n }\n\n break;\n }\n\n case \"documents-upload\": {\n const draftUploadedDoc = draft.uploadedDocuments.find((doc) => doc.id === payload.documentId);\n\n if (draftUploadedDoc) {\n draftUploadedDoc.renameErrors = payload.errors;\n }\n\n break;\n }\n\n case \"documents-preview\":\n draft.preview.renameErrors = payload.errors;\n break;\n\n default:\n break;\n }\n });\n case toggleUploadModal().type:\n return produce(state, (draft) => {\n draft.isUploadModalOpen = payload.isModalOpen;\n draft.uploadedDocuments = [];\n });\n case uploadDocumentStart().type:\n return produce(state, (draft) => {\n draft.uploadedDocuments.push(payload.data);\n });\n case uploadDocumentSuccess().type:\n return produce(state, (draft) => {\n draft.documents.unshift(payload.data.document);\n draft.sidebarDocuments.unshift(payload.data.document);\n\n if (draft.sidebarDocuments.length > draft.sidebarDocumentsCount) {\n draft.sidebarDocuments = draft.sidebarDocuments.slice(0, draft.sidebarDocumentsCount);\n }\n\n const uploadedDocIndex = draft.uploadedDocuments.findIndex(\n (doc) => doc.uploadKey === payload.uploadKey,\n );\n\n if (uploadedDocIndex !== -1) {\n draft.uploadedDocuments[uploadedDocIndex] = payload.data.document;\n }\n\n draft.meta.pagination.totalCount += 1;\n draft.meta.viewerCounts[payload.data.document.id] = 0;\n draft.meta.permissions[payload.data.document.id] = payload.data.meta.permissions;\n\n draft.sidebarMeta.pagination.totalCount += 1;\n draft.sidebarMeta.viewerCounts[payload.data.document.id] = 0;\n draft.sidebarMeta.permissions[payload.data.document.id] = payload.data.meta.permissions;\n });\n case uploadDocumentError().type:\n return produce(state, (draft) => {\n if (payload.isFinancialsCDA) {\n draft.CDAuploadErrors = payload.errors;\n } else {\n const draftUploadedDoc = draft.uploadedDocuments.find((doc) => doc.uploadKey === payload.uploadKey);\n\n if (draftUploadedDoc) {\n draftUploadedDoc.uploadErrors = payload.errors;\n }\n }\n });\n case toggleDeleteModal().type:\n return produce(state, (draft) => {\n draft.isDeleteModalOpen = payload.documentIdsToDelete.length > 0;\n draft.documentIdsToDelete = payload.documentIdsToDelete;\n draft.isCDA = payload.isFinancialsCDA;\n draft.deleteErrors = [];\n });\n case deleteDocumentsSuccess().type:\n return produce(state, (draft) => {\n draft.uploadedDocuments = draft.uploadedDocuments.filter(\n (doc) => !payload.documentIds.includes(doc.id),\n );\n if (draft.isCDA) {\n draft.CDAdocuments = draft.CDAdocuments.filter((doc) => !payload.documentIds.includes(doc.id));\n draft.isCDA = false;\n } else {\n draft.documents = draft.documents.filter((doc) => !payload.documentIds.includes(doc.id));\n\n // Necessary to avoid a duplicate request when we can grab the sidebar documents from `documents`\n if (canUseForSidebar(draft)) {\n draft.sidebarDocuments = draft.documents.slice(0, draft.sidebarDocumentsCount);\n } else {\n draft.sidebarDocuments = draft.sidebarDocuments.filter(\n (doc) => !payload.documentIds.includes(doc.id),\n );\n }\n\n draft.meta.pagination.totalCount -= payload.documentIds.length;\n draft.sidebarMeta.pagination.totalCount -= payload.documentIds.length;\n }\n\n draft.isDeleteModalOpen = false;\n draft.documentIdsToDelete = [];\n\n draft.deleteErrors = [];\n });\n case deleteDocumentsError().type:\n return produce(state, (draft) => {\n draft.deleteErrors = payload.errors;\n });\n case setDocumentIndex().type:\n return produce(state, (draft) => {\n draft.preview.currentDocumentContext = payload.context;\n draft.preview.currentDocumentIndex = normalizeDocumentIndex(payload.index);\n });\n case toggleDocumentsSelected().type:\n return produce(state, (draft) => {\n switch (payload.context) {\n case \"documents-table\":\n draft.documents = draft.documents.map((doc) => {\n if (payload.documentIds.includes(doc.id)) {\n return {\n ...doc,\n isSelected: payload.isSelected,\n };\n }\n\n return doc;\n });\n\n break;\n case \"CDA-document\":\n draft.CDAdocuments = draft.CDAdocuments.map((doc) => {\n if (payload.documentIds.includes(doc.id)) {\n return {\n ...doc,\n isSelected: payload.isSelected,\n };\n }\n\n return doc;\n });\n\n break;\n\n case \"documents-upload\":\n draft.uploadedDocuments = draft.uploadedDocuments.map((doc) => {\n if (payload.documentIds.includes(doc.id)) {\n return {\n ...doc,\n isSelected: payload.isSelected,\n };\n }\n\n return doc;\n });\n\n break;\n\n default:\n break;\n }\n });\n case toggleCDAUploadModal().type:\n return produce(state, (draft) => {\n draft.isCDAUploadModalOpen = payload.bool;\n draft.isUploadModalOpen = payload.isModalOpen;\n draft.uploadedDocuments = [];\n });\n case uploadCDADocSuccess().type:\n return produce(state, (draft) => {\n const uploadedDocIndex = draft.uploadedDocuments.findIndex(\n (doc) => doc.uploadKey === payload.uploadKey,\n );\n\n if (uploadedDocIndex !== -1) {\n draft.uploadedDocuments[uploadedDocIndex] = payload.data.document;\n }\n\n draft.meta.pagination.totalCount += 1;\n draft.meta.viewerCounts[payload.data.document.id] = 0;\n draft.meta.permissions[payload.data.document.id] = payload.data.meta.permissions;\n });\n case sortByCDAType().type:\n return produce(state, (draft) => {\n draft.sortCDADirection =\n !draft.sortCDADirection || draft.sortCDADirection === \"ASCENDING_SORT\"\n ? \"DESCENDING_SORT\"\n : \"ASCENDING_SORT\";\n\n draft.sortByCDA = payload.sortType;\n\n // Sort CDA documents based on the sort direction\n const sortedCDADocs = [...state.CDAdocuments];\n\n if (payload.sortType === \"fileName\") {\n sortedCDADocs.sort((b, a) => {\n if (draft.sortCDADirection === \"DESCENDING_SORT\") {\n return b[payload.sortType].localeCompare(a.fileName);\n }\n\n return a[payload.sortType].localeCompare(b.fileName);\n });\n } else {\n sortedCDADocs.sort((a, b) => {\n if (draft.sortCDADirection === \"DESCENDING_SORT\") {\n return Date.parse(b[payload.sortType]) - Date.parse(a[payload.sortType]);\n }\n\n return Date.parse(a[payload.sortType]) - Date.parse(b[payload.sortType]);\n });\n }\n\n draft.CDAdocuments = sortedCDADocs;\n });\n default:\n return state;\n }\n};\n","export const financialsFetchStarted = () => ({\n type: \"TDP_FINANCIALS_FETCH_STARTED\",\n});\n\nexport const financialsFetchSuccess = (data) => ({\n type: \"TDP_FINANCIALS_FETCH_SUCCESS\",\n data,\n});\n\nexport const financialsFetchFailure = (errors) => ({\n type: \"TDP_FINANCIALS_FETCH_FAILURE\",\n data: { errors },\n});\n\nexport const financialsCreateStarted = () => ({\n type: \"TDP_FINANCIALS_CREATE_STARTED\",\n});\n\nexport const financialsCreateSuccess = (data) => ({\n type: \"TDP_FINANCIALS_CREATE_SUCCESS\",\n data,\n});\n\nexport const financialsCreateFailure = (errors) => ({\n type: \"TDP_FINANCIALS_CREATE_FAILURE\",\n data: { errors },\n});\n\nexport const financialsUpdateStarted = () => ({\n type: \"TDP_FINANCIALS_UPDATE_STARTED\",\n});\n\nexport const financialsUpdateCanceled = () => ({\n type: \"TDP_FINANCIALS_UPDATE_CANCELED\",\n});\n\nexport const financialsUpdateSuccess = (data) => ({\n type: \"TDP_FINANCIALS_UPDATE_SUCCESS\",\n data,\n});\n\nexport const financialsUpdateProgress = (data) => ({\n type: \"TDP_FINANCIALS_UPDATE_PROGRESS\",\n data,\n});\n\nexport const financialsUpdateFailure = (errors, isInModal) => ({\n type: \"TDP_FINANCIALS_UPDATE_FAILURE\",\n data: { errors, isInModal },\n});\n\nexport const financialsFetchSelectableTeamMembersSuccess = (data) => ({\n type: \"TDP_FINANCIALS_FETCH_SELECTABLE_TEAM_MEMBERS_SUCCESS\",\n data,\n});\n\nexport const financialsRemoveTeamMemberSuccess = (data) => ({\n type: \"TDP_FINANCIALS_REMOVE_TEAM_MEMBER_SUCCESS\",\n data,\n});\n\nexport const financialsRemoveTeamMemberFailure = (errors) => ({\n type: \"TDP_FINANCIALS_REMOVE_TEAM_MEMBER_FAILURE\",\n data: { errors },\n});\n\nexport const financialsSetClosedPrice = (closedPrice) => ({\n type: \"TDP_FINANCIALS_SET_CLOSED_PRICE\",\n closedPrice,\n});\n","// Assignment to parameters in this file are in the context of immer, which\n// automatically produces new objects for us without mutating existing state.\n/* eslint-disable no-param-reassign */\nimport { produce } from \"immer\";\n\nimport {\n financialsCreateFailure,\n financialsCreateStarted,\n financialsCreateSuccess,\n financialsFetchFailure,\n financialsFetchSelectableTeamMembersSuccess,\n financialsFetchStarted,\n financialsFetchSuccess,\n financialsRemoveTeamMemberFailure,\n financialsRemoveTeamMemberSuccess,\n financialsUpdateCanceled,\n financialsUpdateFailure,\n financialsUpdateProgress,\n financialsUpdateStarted,\n financialsUpdateSuccess,\n financialsSetClosedPrice,\n} from \"../TransactionDetailsPage/Main/Financials/actions/creators\";\n\nexport const defaultState = {\n transactionSlug: null,\n financials: {\n rawData: {\n transaction_income: {\n closed_volume: null,\n },\n },\n adaptedData: {\n transaction: null,\n teamMembers: null,\n company: null,\n collaborators: null,\n CDAdocument: null,\n },\n lineItemTypeOptions: {\n transactionExpense: [],\n transactionIncome: [],\n agent: [],\n company: [],\n },\n selectableTeamMembers: [],\n meta: {\n errors: [],\n modalErrors: [],\n isLoading: true,\n isUpdating: false,\n },\n },\n closedPrice: null,\n};\n\nexport const tdpFinancialsReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case financialsFetchStarted().type:\n case financialsCreateStarted().type:\n return produce(state, (draft) => {\n draft.financials.meta.errors = [];\n draft.financials.meta.isLoading = true;\n });\n\n case financialsFetchSuccess().type:\n return produce(state, (draft) => {\n const { rawData, adaptedData, lineItemTypeOptions } = payload.data;\n\n draft.financials.rawData = rawData;\n draft.financials.adaptedData = adaptedData;\n draft.financials.lineItemTypeOptions = lineItemTypeOptions;\n draft.financials.meta.errors = [];\n draft.financials.meta.isLoading = false;\n draft.financials.isReferral = !!payload.data.rawData.for_referral;\n\n return draft;\n });\n case financialsCreateSuccess().type:\n return produce(state, (draft) => {\n const { rawData, adaptedData, lineItemTypeOptions } = payload.data;\n\n draft.financials.rawData = rawData;\n draft.financials.adaptedData = adaptedData;\n draft.financials.lineItemTypeOptions = lineItemTypeOptions;\n draft.financials.meta.errors = [];\n draft.financials.meta.isLoading = false;\n });\n\n case financialsFetchFailure().type:\n case financialsCreateFailure().type:\n return produce(state, (draft) => {\n const { errors } = payload.data;\n\n draft.financials.meta.errors = errors;\n draft.financials.meta.isLoading = false;\n });\n\n case financialsUpdateStarted().type:\n return produce(state, (draft) => {\n draft.financials.meta.isUpdating = true;\n });\n\n case financialsUpdateCanceled().type:\n return produce(state, (draft) => {\n draft.financials.meta.modalErrors = [];\n draft.financials.meta.isUpdating = false;\n });\n\n case financialsUpdateProgress().type:\n return produce(state, (draft) => {\n const { rawData, adaptedData, lineItemTypeOptions } = payload.data;\n\n draft.financials.rawData = rawData;\n draft.financials.adaptedData = adaptedData;\n draft.financials.lineItemTypeOptions = lineItemTypeOptions;\n });\n\n case financialsUpdateSuccess().type:\n return produce(state, (draft) => {\n const { rawData, adaptedData, lineItemTypeOptions } = payload.data;\n\n draft.financials.rawData = rawData;\n draft.financials.adaptedData = adaptedData;\n draft.financials.lineItemTypeOptions = lineItemTypeOptions;\n draft.financials.meta.errors = [];\n draft.financials.meta.modalErrors = [];\n draft.financials.meta.isUpdating = false;\n });\n\n case financialsUpdateFailure().type:\n return produce(state, (draft) => {\n const { errors, isInModal } = payload.data;\n\n if (isInModal) {\n draft.financials.meta.modalErrors = errors;\n } else {\n draft.financials.meta.errors = errors;\n }\n draft.financials.meta.isUpdating = false;\n });\n\n case financialsFetchSelectableTeamMembersSuccess().type:\n return produce(state, (draft) => {\n const { selectableTeamMembers } = payload.data;\n\n draft.financials.selectableTeamMembers = selectableTeamMembers;\n });\n\n case financialsRemoveTeamMemberSuccess().type:\n return produce(state, (draft) => {\n const { rawData, adaptedData } = payload.data;\n\n draft.financials.rawData = rawData;\n draft.financials.adaptedData = adaptedData;\n draft.financials.meta.errors = [];\n });\n\n case financialsRemoveTeamMemberFailure().type:\n return produce(state, (draft) => {\n const { errors } = payload.data;\n\n draft.financials.meta.errors = errors;\n });\n\n case financialsSetClosedPrice().type:\n return produce(state, (draft) => {\n draft.closedPrice = payload.closedPrice;\n });\n default:\n return state;\n }\n};\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_NAME = \"TDP_TIMELINE_REDUCER\";\nconst wrap = curriedNamespaceAction(REDUCER_NAME);\n\nexport const saveTimeline = (timeline, tags) => wrap({ type: \"SAVE_TIMELINE\", timeline, tags });\n\nexport const setActiveFilter = (tagName) => wrap({ type: \"SET_ACTIVE_FILTER\", tagName });\n\nexport const setEventsLoadingOn = () => wrap({ type: \"SET_EVENTS_LOADING_ON\" });\n\nexport const setEventsLoadingOff = () => wrap({ type: \"SET_EVENTS_LOADING_OFF\" });\n","import { produce } from \"immer\";\nimport { saveTimeline, setActiveFilter, setEventsLoadingOff, setEventsLoadingOn } from \"../TransactionDetailsPage/Main/Timeline/actions/creators\";\n\nexport const defaultState = {\n uuid: '',\n timeline: {\n byId: {}\n },\n activeEvents: [],\n tags: {\n byName: {\n Tasks: { count: 0, eventsById: [] },\n Emails: { count: 0, eventsById: [] },\n 'Phone Calls': { count: 0, eventsById: [] },\n Texts: { count: 0, eventsById: [] },\n Appointments: { count: 0, eventsById: [] },\n Notes: { count: 0, eventsById: [] },\n Documents: { count: 0, eventsById: [] },\n 'Transaction Activity': { count: 0, eventsById: [] },\n }\n },\n areEventsLoading: true,\n}\n\nexport const tdpTimelineReducer = ( state = defaultState, payload ) => {\n switch( payload.type ){\n case saveTimeline().type:\n return produce( state, draft => {\n draft.timeline = {...payload.timeline};\n draft.activeEvents = Object.entries(payload.timeline.byId).map(([_,event]) => event);\n draft.tags.byName = {...state.tags.byName, ...payload.tags.byName}\n draft.areEventsLoading = false;\n });\n case setActiveFilter().type:\n return produce( state, draft => {\n const { tagName } = payload;\n const eventIdByTagName = state.tags.byName[tagName]?.eventsById;\n\n draft.activeEvents = tagName == 'All' ?\n Object.entries(state.timeline.byId).map(([_,event]) => event) :\n eventIdByTagName.map(id => state.timeline.byId[id]);\n });\n case setEventsLoadingOn().type:\n return produce(state, draft => {\n draft.areEventsLoading = true;\n })\n case setEventsLoadingOff().type:\n return produce(state, draft => {\n draft.areEventsLoading = false;\n })\n default:\n return state;\n }\n};\n\nexport default tdpTimelineReducer;\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_TASK = \"tdpTask\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_TASK);\n\nexport const saveAllTasksAndFilters = (data) => wrap({ type: \"SAVE_ALL_TASKS_AND_FILTERS\", data });\n\nexport const saveMoreTasks = (moreTasks) =>\n wrap({\n type: \"SAVE_MORE_TASKS\",\n moreTasks,\n });\n\nexport const saveSpecificTasks = (tasks, countOfActiveTasks, urlParams) =>\n wrap({\n type: \"SAVE_SPECIFIC_TASKS\",\n tasks,\n urlParams,\n countOfActiveTasks,\n });\n\nexport const filterTasksByPrimaryFilter = (primaryFilters) =>\n wrap({\n type: \"FILTER_TASKS\",\n primaryFilters,\n });\n\nexport const filterTasksByTeamMembers = (member) =>\n wrap({\n type: \"FILTER_TASKS_BY_TEAM_MEMBERS\",\n member,\n });\n\nexport const filterTasksByAutoPlans = (autoPlan) =>\n wrap({\n type: \"FILTER_TASKS_BY_AUTO_PLANS\",\n autoPlan,\n });\n\nexport const createTasksByTeamMemberFilter = () =>\n wrap({\n type: \"CREATE_TASKS_BY_TEAM_MEMBERS_FILTER\",\n });\n\nexport const createTasksByAutoPlansFilter = () =>\n wrap({\n type: \"CREATE_TASKS_BY_AUTO_PLAN_FILTER\",\n });\n\nexport const createTasksByUnassignedFilter = () =>\n wrap({\n type: \"CREATE_TASKS_BY_UNASSIGNED_FILTER\",\n });\n\nexport const clearTeamMemberFilter = () =>\n wrap({\n type: \"CLEAR_TEAM_MEMBER_FILTER\",\n });\n\nexport const clearAutoPlanFilter = () =>\n wrap({\n type: \"CLEAR_AUTO_PLAN_FILTER\",\n });\n\nexport const setBackFilterByTeamMembers = () =>\n wrap({\n type: \"SET_BACK_TEAM_MEMBERS\",\n });\n\nexport const setBackFilterByAutoPlans = () =>\n wrap({\n type: \"SET_BACK_AUTO_PLANS\",\n });\n\nexport const clearSecondaryFilter = () =>\n wrap({\n type: \"CLEAR_SECONDARY_FILTER\",\n });\n\nexport const togglePrimaryFilter = (primaryFilter) =>\n wrap({\n type: \"TOGGLE_PRIMARY_FILTER\",\n primaryFilter,\n });\n\nexport const saveTeam = (team) =>\n wrap({\n type: \"SAVE_TEAM\",\n team,\n });\n\nexport const addCreatedTasks = (task) =>\n wrap({\n type: \"ADD_CREATED_TASK\",\n task,\n });\n\nexport const deleteTask = (ids) =>\n wrap({\n type: \"DELETE_TASK\",\n ids,\n });\n\nexport const editTasks = (tasks) =>\n wrap({\n type: \"EDIT_TASK\",\n tasks,\n });\n\nexport const toggleModalAddTaskOpen = (bl) =>\n wrap({\n type: \"TOGGLE_MODAL_ADD_TASK\",\n bl,\n });\n\nexport const toggleTasksSelectionMode = () =>\n wrap({\n type: \"TOGGLE_TASKS_SELECTION_MODE\",\n });\n\nexport const taskSelect = (taskId) =>\n wrap({\n type: \"TASK_SELECT\",\n taskId,\n });\n\nexport const selectAllTasks = () =>\n wrap({\n type: \"SELECT_ALL_TASKS\",\n });\n\nexport const clearSelectedTasks = () =>\n wrap({\n type: \"CLEAR_SELECTED_TASKS\",\n });\n\nexport const setTaskModalBulkDelete = () =>\n wrap({\n type: \"SET_TASK_MODAL_BULK_DELETE\",\n });\n\nexport const setModalBulkRescheduleTaskOpen = () =>\n wrap({\n type: \"SET_TASK_MODAL_BULK_RESCHEDULE\",\n });\n\nexport const setModalBulkReassignTaskOpen = () =>\n wrap({\n type: \"SET_TASK_MODAL_BULK_REASSIGN\",\n });\n\nexport const clearTasksAndFilters = () =>\n wrap({\n type: \"CLEAR_ACTIVE_TASKS\",\n });\n","export const RECURRING_WEEKDAYS = [\n \"Mondays\",\n \"Tuesdays\",\n \"Wednesdays\",\n \"Thursdays\",\n \"Fridays\",\n \"Saturdays\",\n \"Sundays\",\n];\n\nexport const CONTINGENT_RECURRING = {\n contingent: \"contingent\",\n recurring: \"recurring\",\n};\n\nexport const EVENTS = [\n \"To-Do\",\n \"Appointment\",\n \"Call\",\n \"Text\",\n \"Email\",\n \"Mail\",\n \"Social Media\",\n \"Door Knock\",\n].map((event) => ({ label: event, value: event }));\n\nexport const DEFAULT_FILTERS = {\n primaryFilters: {\n byName: {\n overdue: {\n count: 0,\n tasks: [],\n },\n due_today: {\n count: 0,\n tasks: [],\n },\n upcoming: {\n count: 0,\n tasks: [],\n },\n contingent: {\n count: 0,\n tasks: [],\n },\n completed_at: {\n count: 0,\n tasks: [],\n },\n },\n },\n secondaryFilters: {\n byTeamMember: {},\n byAutoPlans: {},\n byUnAssigned: {\n count: 0,\n tasks: [],\n },\n },\n byContingentId: {},\n};\n","/* eslint-disable camelcase */\nimport moment from \"moment\";\n\nconst createPerson = ({ first_name, last_name, avatar_url, uuid, id }) => ({\n fullName: `${first_name} ${last_name}`,\n avatar: avatar_url,\n uuid,\n id,\n});\n\nconst createContingent = (contingencyRule) => !!Object.keys(contingencyRule).length && contingencyRule;\n\nexport const createDate = (date) => {\n const momentDate = moment(date, \"YYYY-MM-DD\").format(\"MM/DD/YY\");\n\n return momentDate === \"Invalid date\" ? null : momentDate;\n};\n\nexport const createTask = (task) => ({\n id: task.id,\n name: task.name,\n assignedPlan: task.assigned_plan,\n assigned_person: task.assigned_person && createPerson(task.assigned_person),\n completed_by: task.completed_by && createPerson(task.completed_by),\n priority: task.priority,\n type: task.type,\n due_on: createDate(task.due_on),\n recurringFrequency: task.recurring ? task.recurring_frequency : null,\n recurringDayOfWeek: task.recurring ? task.recurring_day_of_week : null,\n recurringEverySoManyDays: task.recurring ? task.recurring_every_so_many_days : null,\n externally_visible: task.externally_visible,\n dueness: task.dueness,\n completed_at: createDate(task.completed_at),\n state: task.state,\n contingent: task.contingent && createContingent(task.contingency_rule),\n contingentEventId: task.contingency_event_id,\n instructions: task.instructions,\n note: task.note,\n});\n\nexport const adaptPostDueOn = (date) =>\n date ? moment(date, \"MM/DD/YYYY\").format(\"YYYY-MM-DD\") : moment().format(\"YYYY-MM-DD\");\n\nexport const adaptRecurringDays = (payload) =>\n payload.recurring?.frequency?.value === \"number\"\n ? payload.recurring?.recurring_every_so_many_days * 1\n : null;\n\nexport const adaptRecurringDayOfWeek = (payload) =>\n payload.recurring?.frequency?.value === \"weekly\" ? payload.recurring?.recurring_day_of_week.value : null;\n\nexport const adaptContingentRule = (payload) =>\n payload.contingent\n ? {\n days: payload.contingent?.numOfDays * 1,\n position: payload.contingent?.next,\n event: payload.contingent?.event?.value,\n }\n : null;\n\nexport const createFilters = (fl, tasks) => {\n const filters = JSON.parse(JSON.stringify(fl));\n\n tasks.forEach(\n ({ assigned_plan, assigned_person, completed_at, contingent, contingentEventId, due_on }, idx) => {\n if (completed_at) {\n filters.primaryFilters.byName.completed_at.count += 1;\n filters.primaryFilters.byName.completed_at.tasks.push(idx);\n return;\n }\n if (contingent && !due_on) {\n // contingent tasks with due_on TBD.\n filters.primaryFilters.byName.contingent.count += 1;\n filters.primaryFilters.byName.contingent.tasks.push(idx);\n if (!filters.byContingentId[contingentEventId]) {\n filters.byContingentId[contingentEventId] = { tasks: [idx] };\n } else {\n filters.byContingentId[contingentEventId].tasks.push(idx);\n }\n\n return;\n }\n\n if (due_on && moment(due_on, \"MM/DD/YY\").isAfter(moment(), \"day\")) {\n filters.primaryFilters.byName.upcoming.count += 1;\n filters.primaryFilters.byName.upcoming.tasks.push(idx);\n }\n\n if (due_on && moment(due_on, \"MM/DD/YY\").isSame(moment(), \"day\")) {\n filters.primaryFilters.byName.due_today.count += 1;\n filters.primaryFilters.byName.due_today.tasks.push(idx);\n }\n\n if (due_on && moment(due_on, \"MM/DD/YY\").isBefore(moment(), \"day\")) {\n filters.primaryFilters.byName.overdue.count += 1;\n filters.primaryFilters.byName.overdue.tasks.push(idx);\n }\n\n if (!assigned_person && !assigned_plan) {\n filters.secondaryFilters.byUnAssigned.count += 1;\n filters.secondaryFilters.byUnAssigned.tasks.push(idx);\n }\n\n if (assigned_person) {\n if (assigned_person.id in filters.secondaryFilters.byTeamMember) {\n filters.secondaryFilters.byTeamMember[assigned_person.id].count += 1;\n filters.secondaryFilters.byTeamMember[assigned_person.id].tasks.push(idx);\n } else {\n filters.secondaryFilters.byTeamMember = {\n ...filters.secondaryFilters.byTeamMember,\n [assigned_person.id]: {\n count: 1,\n tasks: [idx],\n id: assigned_person.id,\n fullName: assigned_person.fullName,\n avatar: assigned_person.avatar,\n },\n };\n }\n }\n },\n );\n\n return filters;\n};\n","import {\n togglePrimaryFilter,\n createTasksByTeamMemberFilter,\n createTasksByUnassignedFilter,\n} from \"./creators\";\n\nexport default {\n primary: togglePrimaryFilter,\n teamMembers: createTasksByTeamMemberFilter,\n unassigned: createTasksByUnassignedFilter,\n};\n","/* eslint-disable dot-notation */\n/* eslint-disable no-prototype-builtins */\n/* eslint-disable no-param-reassign */\nimport { orderBy } from \"lodash\";\n\nimport { editTasks, deleteTask } from \"./creators\";\n\nimport FILTER_CALLBACKS from \"./constants\";\n\nexport const sortTasks = (tasksData) => {\n const tasks = [...tasksData];\n\n let completedTasks = [];\n let allOtherTasks = [];\n tasks.each((task) => (task.completed_at ? completedTasks.push(task) : allOtherTasks.push(task)));\n\n const properties = (dateProperty) => [\n (task) => new Date(task[dateProperty]),\n \"assignedPlan.id\",\n \"assignedPlan.position\",\n \"assigned_person.fullName\",\n \"priority\",\n ];\n\n completedTasks = orderBy(completedTasks, properties(\"completed_at\"), [\"desc\", \"asc\", \"desc\"]);\n allOtherTasks = orderBy(allOtherTasks, properties(\"due_on\"), [\"asc\", \"desc\", \"asc\", \"asc\", \"desc\"]);\n\n return allOtherTasks.concat(completedTasks);\n};\n\nexport const resetFilters = (draft) => {\n draft.primaryActiveList = [];\n draft.filtered = false;\n draft.secondaryFilters.activeTeamMembers = [];\n draft.secondaryFilters.activeUnassigned = false;\n draft.secondaryFilters.savedStateTeamMembers = [];\n};\n\nexport const dispatchEditedTasks = (dispatch, payload) => (adaptedEditedTasks, filtered) => {\n const action = payload[\"_destroy\"]\n ? deleteTask(adaptedEditedTasks.map(({ id }) => id))\n : editTasks(adaptedEditedTasks);\n\n dispatch(action);\n\n if (filtered) {\n dispatch(FILTER_CALLBACKS[filtered]());\n }\n};\n","export default [\"contingent\", \"completed_at\"];\n","import { produce } from \"immer\";\nimport { findIndex, remove } from \"lodash\";\nimport {\n saveAllTasksAndFilters,\n filterTasksByTeamMembers,\n filterTasksByAutoPlans,\n createTasksByTeamMemberFilter,\n createTasksByAutoPlansFilter,\n clearTeamMemberFilter,\n clearAutoPlanFilter,\n setBackFilterByTeamMembers,\n setBackFilterByAutoPlans,\n clearSecondaryFilter,\n createTasksByUnassignedFilter,\n togglePrimaryFilter,\n saveTeam,\n addCreatedTasks,\n deleteTask,\n editTasks,\n taskSelect,\n toggleModalAddTaskOpen,\n toggleTasksSelectionMode,\n selectAllTasks,\n clearSelectedTasks,\n setTaskModalBulkDelete,\n setModalBulkRescheduleTaskOpen,\n setModalBulkReassignTaskOpen,\n clearTasksAndFilters,\n} from \"../../TransactionDetailsPage/Main/Tasks/actions/creators\";\nimport { DEFAULT_FILTERS } from \"../../TransactionDetailsPage/Main/Tasks/constants\";\nimport { createFilters } from \"../../TransactionDetailsPage/Main/Tasks/api/helpers\";\nimport { sortTasks, resetFilters } from \"../../TransactionDetailsPage/Main/Tasks/actions/helpers\";\nimport { updateDueOn } from \"./helpers\";\nimport EXCLUSIVE_PRIMARY_FILTERS from \"./constants\";\nimport { updateDates } from \"../../TransactionDetailsPage/SideRight/Dates/actions/creators\";\n\nconst filterObj = {\n count: 0,\n tasks: [],\n};\n\nexport const defaultState = {\n tasks: [],\n uuid: \"\",\n activeTasks: [],\n primaryActiveList: [],\n filtered: false,\n assignableAgents: [],\n primaryFilters: {\n byName: {\n overdue: {\n ...filterObj,\n },\n due_today: {\n ...filterObj,\n },\n upcoming: {\n ...filterObj,\n },\n contingent: {\n ...filterObj,\n },\n completed_at: {\n ...filterObj,\n },\n },\n },\n secondaryFilters: {\n byTeamMember: {},\n byAutoPlans: {},\n byUnAssigned: {\n ...filterObj,\n },\n activeTeamMembers: [],\n activeUnassigned: false,\n savedStateTeamMembers: [],\n activeAutoPlans: [],\n savedStateAutoPlans: [],\n },\n byContingentId: {},\n isModalAddTaskOpen: false,\n isModalBulkDeleteOpen: false,\n isTasksSelectionMode: false,\n selectedTasks: [],\n isSelectedAllTaskChecked: false,\n isModalRescheduleTaskOpen: false,\n isModalReassignTaskOpen: false,\n};\n\nexport const tdpTasksReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case updateDates().type:\n const {id: contingentId, date: eventDate} = payload.tasksPayload;\n const updatableTaskId = state.byContingentId?.[contingentId]?.tasks;\n\n return produce(state, (draft) => {\n if(updatableTaskId){\n updatableTaskId.forEach((taskId) => {\n const task = draft.tasks[taskId];\n const updatedDueOn = updateDueOn(task.contingent, eventDate);\n task.due_on = updatedDueOn;\n\n // Since there's 2 sources of truth, activeTasks and tasks, we need to modify both sources. This probably needs a rework to have one source(pref tasks);\n const activeTaskIdx = state.activeTasks.findIndex((tsk) => task.id === tsk.id);\n if(activeTaskIdx > -1) {\n draft.activeTasks[activeTaskIdx].due_on = updatedDueOn;\n }\n })\n }\n });\n case saveAllTasksAndFilters().type:\n const { adaptedTasks, adaptedFilters } = payload.data;\n return produce(state, (draft) => {\n draft.tasks = adaptedTasks;\n draft.primaryFilters = adaptedFilters.primaryFilters;\n draft.secondaryFilters = {\n ...state.secondaryFilters,\n ...adaptedFilters.secondaryFilters,\n };\n draft.byContingentId = adaptedFilters.byContingentId;\n });\n case togglePrimaryFilter().type: {\n return produce(state, (draft) => {\n let pFilters = [...state.primaryActiveList];\n\n if (!payload.primaryFilter) {\n null;\n } else if (!EXCLUSIVE_PRIMARY_FILTERS.includes(payload.primaryFilter)) {\n pFilters = pFilters\n .filter((filter) => filter !== \"contingent\")\n .filter((filter) => filter !== \"completed_at\");\n pFilters = pFilters.includes(payload.primaryFilter)\n ? pFilters.filter((el) => el !== payload.primaryFilter)\n : pFilters.concat([payload.primaryFilter]);\n } else {\n pFilters = pFilters[0] === payload.primaryFilter ? [] : [payload.primaryFilter];\n }\n\n draft.primaryActiveList = pFilters;\n\n draft.activeTasks = pFilters.length\n ? pFilters\n .map((filter) => state.primaryFilters.byName[filter].tasks)\n .flat()\n .sort((a, b) => a - b)\n .map((taskIdx) => state.tasks[taskIdx])\n : [];\n\n if (pFilters.length) {\n draft.secondaryFilters.activeTeamMembers = [];\n draft.secondaryFilters.activeUnassigned = false;\n draft.secondaryFilters.savedStateTeamMembers = [];\n draft.secondaryFilters.activeAutoPlans = [];\n draft.secondaryFilters.savedStateAutoPlans = [];\n draft.filtered = false;\n }\n });\n }\n case filterTasksByTeamMembers().type: {\n return produce(state, (draft) => {\n const teamMemberFilters = [...state.secondaryFilters.activeTeamMembers];\n\n teamMemberFilters.includes(payload.member)\n ? teamMemberFilters.splice(teamMemberFilters.indexOf(payload.member), 1)\n : teamMemberFilters.push(payload.member);\n\n draft.secondaryFilters.activeTeamMembers = teamMemberFilters;\n });\n }\n case filterTasksByAutoPlans().type: {\n return produce(state, (draft) => {\n const autoPlanFilters = [...state.secondaryFilters.activeAutoPlans];\n\n autoPlanFilters.includes(payload.autoPlan)\n ? autoPlanFilters.splice(autoPlanFilters.indexOf(payload.autoPlan), 1)\n : autoPlanFilters.push(payload.autoPlan);\n\n draft.secondaryFilters.activeAutoPlans = autoPlanFilters;\n });\n }\n case setBackFilterByTeamMembers().type: {\n return produce(state, (draft) => {\n draft.secondaryFilters.activeTeamMembers = state.secondaryFilters.savedStateTeamMembers;\n });\n }\n case setBackFilterByAutoPlans().type: {\n return produce(state, (draft) => {\n draft.secondaryFilters.activeAutoPlans = state.secondaryFilters.savedStateAutoPlans;\n });\n }\n case createTasksByTeamMemberFilter().type: {\n return produce(state, (draft) => {\n draft.primaryActiveList = [];\n draft.secondaryFilters.activeUnassigned = false;\n draft.secondaryFilters.activeAutoPlans = [];\n draft.selectedTasks = [];\n draft.isSelectedAllTaskChecked = false;\n const teamMembersKeys = Object.keys(state.secondaryFilters.byTeamMember);\n const activeTeamMembers = state.secondaryFilters.activeTeamMembers.filter((id) =>\n teamMembersKeys.includes(id),\n );\n\n draft.secondaryFilters.activeTeamMembers = activeTeamMembers;\n draft.filtered = !!activeTeamMembers.length;\n draft.secondaryFilters.savedStateTeamMembers = activeTeamMembers;\n\n draft.activeTasks = !activeTeamMembers.length\n ? []\n : activeTeamMembers\n .map((teamMember) => state.secondaryFilters.byTeamMember[teamMember].tasks)\n .flat()\n .sort((a, b) => a - b)\n .map((taskIdx) => state.tasks[taskIdx]);\n });\n }\n case createTasksByAutoPlansFilter().type: {\n return produce(state, (draft) => {\n draft.primaryActiveList = [];\n draft.secondaryFilters.activeUnassigned = false;\n draft.secondaryFilters.activeTeamMembers = [];\n draft.selectedTasks = [];\n draft.isSelectedAllTaskChecked = false;\n draft.secondaryFilters.savedStateAutoPlans = state.secondaryFilters.activeAutoPlans;\n draft.filtered = !!state.secondaryFilters.activeAutoPlans.length;\n draft.activeTasks = !state.secondaryFilters.activeAutoPlans.length\n ? state.tasks\n : state.secondaryFilters.activeAutoPlans\n .map((autoPlan) => state.secondaryFilters.byAutoPlans[autoPlan].tasks)\n .flat()\n .sort((a, b) => a - b)\n .map((taskIdx) => state.tasks[taskIdx]);\n });\n }\n case createTasksByUnassignedFilter().type: {\n return produce(state, (draft) => {\n const unAssignedTasks = state.secondaryFilters.byUnAssigned.tasks.length;\n draft.primaryActiveList = [];\n draft.selectedTasks = [];\n draft.filtered = true;\n draft.isSelectedAllTaskChecked = false;\n draft.secondaryFilters.activeUnassigned = true;\n draft.secondaryFilters.activeTeamMembers = [];\n draft.secondaryFilters.activeAutoPlans = [];\n draft.activeTasks = !unAssignedTasks\n ? []\n : state.secondaryFilters.byUnAssigned.tasks.map((idx) => state.tasks[idx]);\n });\n }\n case clearTeamMemberFilter().type: {\n return produce(state, (draft) => {\n draft.secondaryFilters.activeTeamMembers = [];\n });\n }\n case clearAutoPlanFilter().type: {\n return produce(state, (draft) => {\n draft.secondaryFilters.activeAutoPlans = [];\n });\n }\n case clearSecondaryFilter().type: {\n return produce(state, (draft) => {\n draft.activeTasks = state.tasks;\n draft.isSelectedAllTaskChecked = false;\n resetFilters(draft);\n });\n }\n case saveTeam().type: {\n return produce(state, (draft) => {\n draft.assignableAgents = payload.team;\n });\n }\n case addCreatedTasks().type: {\n const tasks = [...state.tasks].concat(payload.task);\n\n const sortedTasks = sortTasks(tasks);\n const updatedFilters = createFilters({ ...DEFAULT_FILTERS }, sortedTasks);\n\n return produce(state, (draft) => {\n draft.tasks = sortedTasks;\n\n draft.primaryFilters = updatedFilters.primaryFilters;\n draft.secondaryFilters = {\n ...state.secondaryFilters,\n ...updatedFilters.secondaryFilters,\n };\n draft.byContingentId = updatedFilters.byContingentId\n });\n }\n case deleteTask().type: {\n const delTasks = [...state.tasks];\n\n //Deletes either one or more tasks from FE\n payload.ids.forEach((id) => {\n const idx = findIndex(delTasks, [\"id\", id]);\n delTasks.splice(idx, 1);\n });\n\n const delSortedTasks = sortTasks(delTasks);\n const delUpdatedFilters = createFilters({ ...DEFAULT_FILTERS }, delSortedTasks);\n\n return produce(state, (draft) => {\n draft.tasks = delSortedTasks;\n\n draft.primaryFilters = delUpdatedFilters.primaryFilters;\n draft.secondaryFilters = {\n ...state.secondaryFilters,\n ...delUpdatedFilters.secondaryFilters,\n };\n draft.byContingentId = delUpdatedFilters.byContingentId;\n draft.isSelectedAllTaskChecked = false;\n });\n }\n case editTasks().type: {\n const editTasks = [...state.tasks];\n\n payload.tasks.forEach((task) => {\n const { id } = task;\n const taskIdx = findIndex(editTasks, [\"id\", id]);\n editTasks[taskIdx] = task;\n });\n\n const sortedEditedTasks = sortTasks(editTasks);\n const updatedEditedFilters = createFilters({ ...DEFAULT_FILTERS }, sortedEditedTasks);\n\n return produce(state, (draft) => {\n draft.tasks = sortedEditedTasks;\n draft.primaryFilters = updatedEditedFilters.primaryFilters;\n\n draft.secondaryFilters = {\n ...state.secondaryFilters,\n ...updatedEditedFilters.secondaryFilters,\n };\n draft.byContingentId = updatedEditedFilters.byContingentId\n draft.isSelectedAllTaskChecked = false;\n });\n }\n case toggleModalAddTaskOpen().type: {\n return {\n ...state,\n isModalAddTaskOpen: payload.bl,\n };\n }\n case toggleTasksSelectionMode().type: {\n return produce(state, (draft) => {\n draft.selectedTasks = [];\n draft.isTasksSelectionMode = !state.isTasksSelectionMode;\n if (!state.isTasksSelectionMode) draft.isSelectedAllTaskChecked = false;\n });\n }\n case taskSelect().type: {\n const { taskId } = payload;\n\n return produce(state, (draft) => {\n const selectedTasks = [...state.selectedTasks];\n //Task checked will add into a collection of selected task and vice-versa\n selectedTasks.includes(taskId)\n ? remove(selectedTasks, (id) => id === taskId)\n : selectedTasks.push(taskId);\n\n draft.selectedTasks = selectedTasks;\n });\n }\n case selectAllTasks().type: {\n return produce(state, (draft) => {\n draft.isSelectedAllTaskChecked = !state.isSelectedAllTaskChecked;\n draft.selectedTasks = !state.isSelectedAllTaskChecked ? state.activeTasks.map(({ id }) => id) : [];\n });\n }\n case clearSelectedTasks().type: {\n return {\n ...state,\n selectedTasks: [],\n };\n }\n case setTaskModalBulkDelete().type: {\n return {\n ...state,\n isModalBulkDeleteOpen: !state.isModalBulkDeleteOpen,\n };\n }\n case setModalBulkRescheduleTaskOpen().type: {\n return {\n ...state,\n isModalRescheduleTaskOpen: !state.isModalRescheduleTaskOpen,\n };\n }\n case setModalBulkReassignTaskOpen().type: {\n return {\n ...state,\n isModalReassignTaskOpen: !state.isModalReassignTaskOpen,\n };\n }\n case clearTasksAndFilters().type: {\n return produce(state, (draft) => {\n draft.primaryActiveList = [];\n draft.activeTasks = [];\n draft.secondaryFilters.activeTeamMembers = [];\n draft.secondaryFilters.activeUnassigned = false;\n });\n }\n default:\n return state;\n }\n};\n","import moment from \"moment\";\n\nexport default (tasksData) => {\n const tasks = [...tasksData];\n\n tasks.sort((task1, task2) => {\n if (moment(task1.due_on).format(\"X\") * 1 > moment(task2.due_on).format(\"X\") * 1) return 1;\n if (moment(task1.due_on).format(\"X\") * 1 < moment(task2.due_on).format(\"X\") * 1) return -1;\n if (task1.assigned_person?.fullName < task2.assigned_person?.fullName) return 1;\n if (task1.assigned_person?.fullName > task2.assigned_person?.fullName) return -1;\n\n if (task1.priority > task2.priority) return -1;\n return 1;\n });\n\n return tasks;\n};\n\nexport const updateDueOn = (contingent, date) => { \n if(!date) return null;\n\n const {days, position} = contingent\n \n const originalDate = moment(date, \"YYYY-MM-DD\");\n const newDate = position === 'after' ? originalDate.add(days, 'days') : originalDate.subtract(days, 'days');\n\n return newDate.format('MM/DD/YY');\n};\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_MARKETING = \"tdpMarketing\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_MARKETING);\n\nexport const saveAllAdvertisingPlan = (advertisingplans) =>\n wrap({ type: \"SAVE_ALL_ADVERTISING_PLAN\", advertisingplans });\n\nexport const saveAllAvailablePlan = (availablePlan) =>\n wrap({ type: \"SAVE_ALL_AVAILABLE_PLAN\", availablePlan });\n\nexport const saveAllAdsitesPlan = (adsites) => wrap({ type: \"SAVE_ALL_AD_SITES\", adsites });\n\nexport const saveAllListingViews = (listingViews) => wrap({ type: \"SAVE_ALL_LISTING_VIEWS\", listingViews });\n\nexport const saveAllAssetsCardViews = (assetsCardViews) =>\n wrap({ type: \"SAVE_ALL_ASSETS_CARD_VIEWS\", assetsCardViews });\n\nexport const getListingFromSearch = (homelisting) => wrap({ type: \"GET_LISTING_FROM_SEARCH\", homelisting });\n\nexport const saveImportedListing = (importedListing) =>\n wrap({ type: \"SAVE_IMPORTED_LISTING\", importedListing });\n\nexport const updateMLS = (mlsID) => wrap({ type: \"UPDATE_MLS_ID\", mlsID });\n\nexport const saveViewReportURL = (viewReportURL) => wrap({ type: \"UPDATE_VIEW_REPORT_URL\", viewReportURL });\n\nexport const fetchAutoCompleteFailure = (autoCompleteError) =>\n wrap({\n type: \"FETCH_AUTOCOMPLETE_FAILURE\",\n autoCompleteError,\n });\n\nexport const importSearchListingFailure = (importSearchError) =>\n wrap({\n type: \"IMPORT_SEARCH_FAILURE\",\n importSearchError,\n });\n\nexport const fetchAssetsCardFailure = (getAssetCardError) =>\n wrap({\n type: \"GET_ASSETS_CARD_FAILURE\",\n getAssetCardError,\n });\n\nexport const fetchEditListingURLFailure = (getEditListingURLError) =>\n wrap({\n type: \"GET_EDIT_LISTING_URL_FAILURE\",\n getEditListingURLError,\n });\n\nexport const fetchMetricsViewFailure = (getMetricsError) =>\n wrap({\n type: \"FETCH_METRICS_FAILURE\",\n getMetricsError,\n });\n\nexport const fetchAdvertisingPlanFailure = (getAdvertisingPlanError) =>\n wrap({\n type: \"FETCH_ADVERTISING_PLAN_FAILURE\",\n getAdvertisingPlanError,\n });\n\nexport const fetchAvailablePlanFailure = (getAvailablePlanError) =>\n wrap({\n type: \"FETCH_AVAILABLE_PLAN_FAILURE\",\n getAvailablePlanError,\n });\n\nexport const fetchAdSiteFailure = (submitAdSiteError) =>\n wrap({\n type: \"SUBMIT_AD_SITE_FAILURE\",\n submitAdSiteError,\n });\n\nexport const fetchManagePlanFailure = (getManagePlanError) =>\n wrap({\n type: \"FETCH_MANAGE_PLAN_FAILURE\",\n getManagePlanError,\n });\n\nexport const destroyPlanFailure = (getDeletePlanError) =>\n wrap({\n type: \"DELETE_PLAN_FAILURE\",\n getDeletePlanError,\n });\n\nexport const loadData = (isLoading) =>\n wrap({\n type: \"FETCH_FOR_DATA\",\n isLoading,\n });\n\nexport const loadMarketingData = (isMarketingLoading) =>\n wrap({\n type: \"FETCH_FOR_MARKETING_DATA\",\n isMarketingLoading,\n });\n\nexport const loadMlsId = ({ loaded, mlsID = null, mlsNumber = null }) =>\n wrap({\n type: \"FETCH_FOR_MLS_ID\",\n loaded,\n mlsID,\n mlsNumber,\n });\n\nexport const setSearchKeyword = (search) => wrap({ type: \"SAVE_SEARCH_KEYWORD\", search });\n\nexport const setIsSearched = (isSearched) => wrap({ type: \"SAVE_IS_SEARCH\", isSearched });\n","import {\n saveAllAdvertisingPlan,\n saveAllAvailablePlan,\n saveAllAdsitesPlan,\n saveAllListingViews,\n saveAllAssetsCardViews,\n getListingFromSearch,\n saveImportedListing,\n fetchAutoCompleteFailure,\n importSearchListingFailure,\n fetchAssetsCardFailure,\n fetchEditListingURLFailure,\n fetchMetricsViewFailure,\n fetchAdvertisingPlanFailure,\n fetchAvailablePlanFailure,\n fetchAdSiteFailure,\n fetchManagePlanFailure,\n destroyPlanFailure,\n loadData,\n loadMarketingData,\n updateMLS,\n saveViewReportURL,\n setSearchKeyword,\n setIsSearched,\n loadMlsId,\n} from \"../TransactionDetailsPage/Main/Marketing/actions/creators\";\n\nexport const defaultState = {\n advertisingplans: [],\n availablePlan: [],\n homelisting: [],\n importedListing: null,\n adsites: null,\n getMetricsError: null,\n autoCompleteError: null,\n importSearchError: null,\n getAssetCardError: null,\n getAdvertisingPlanError: null,\n submitAdSiteError: null,\n getManagePlanError: null,\n getAvailablePlanError: null,\n getDeletePlanError: null,\n getEditListingURLError: null,\n isLoading: false,\n isSearched: false,\n viewReportURL: \"\",\n mlsID: \"\",\n search: \"\",\n isMarketingLoading: false,\n listingViews: {\n views: {\n total: 0,\n breakdown: {\n brivity: 0,\n zillow: 0\n },\n },\n },\n assetsCardViews: {\n ads: [],\n social_media: [],\n mailers: [],\n print_media: [],\n videos: [],\n empty_states: {\n mailers: {\n image_url: \"\",\n },\n ads: {\n image_url: \"\",\n },\n social_media: {\n image_url: \"\",\n },\n print_media: {\n image_url: \"\",\n },\n videos: {\n image_url: \"\",\n },\n },\n external_interactions: {\n sites: {\n zillow: {\n url: \"\",\n },\n },\n blossor_id: \"\",\n },\n },\n};\n\nexport const tdpMarketingReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case saveAllAdvertisingPlan().type:\n return {\n ...state,\n advertisingplans: payload.advertisingplans,\n getManagePlanError: null,\n submitAdSiteError: null,\n getDeletePlanError: null,\n getAdvertisingPlanError: null,\n getAvailablePlanError: null,\n };\n case saveAllAvailablePlan().type:\n return {\n ...state,\n availablePlan: payload.availablePlan,\n getAvailablePlanError: null,\n };\n case saveAllAdsitesPlan().type:\n return {\n ...state,\n advertisingplans: state.advertisingplans.map((advertisingplan) => {\n if (advertisingplan.id === payload.adsites.plan.id) {\n return {\n ...advertisingplan,\n ...payload.adsites.plan,\n };\n }\n\n return advertisingplan;\n }),\n adsites: payload.adsites,\n getManagePlanError: null,\n submitAdSiteError: null,\n };\n case fetchAdvertisingPlanFailure().type:\n return {\n ...state,\n getAdvertisingPlanError: payload.getAdvertisingPlanError,\n };\n case fetchAvailablePlanFailure().type:\n return {\n ...state,\n getAvailablePlanError: payload.getAvailablePlanError,\n };\n case fetchAdSiteFailure().type:\n return {\n ...state,\n submitAdSiteError: payload.submitAdSiteError,\n };\n case fetchManagePlanFailure().type:\n return {\n ...state,\n getManagePlanError: payload.getManagePlanError,\n };\n case destroyPlanFailure().type:\n return {\n ...state,\n getDeletePlanError: payload.getDeletePlanError,\n };\n case loadData().type:\n return {\n ...state,\n isLoading: payload.isLoading,\n };\n case saveAllListingViews().type:\n return {\n ...state,\n listingViews: payload.listingViews.data,\n getMetricsError: null,\n };\n case saveAllAssetsCardViews().type:\n return {\n ...state,\n assetsCardViews: payload.assetsCardViews.data,\n getEditListingURLError: null,\n getAssetCardError: null,\n viewReportURL: payload.assetsCardViews.data.view_report_link\n };\n case saveImportedListing().type:\n return {\n ...state,\n importedListing: payload.importedListing,\n autoCompleteError: null,\n };\n case updateMLS().type:\n return {\n ...state,\n mlsID: payload.mlsID,\n autoCompleteError: null,\n importSearchError: null,\n };\n case saveViewReportURL().type:\n return {\n ...state,\n viewReportURL: payload.viewReportURL,\n };\n case getListingFromSearch().type:\n return {\n ...state,\n homelisting: payload.homelisting,\n autoCompleteError: null,\n getAssetCardError: null,\n };\n case fetchAutoCompleteFailure().type:\n return {\n ...state,\n autoCompleteError: payload.autoCompleteError,\n };\n case importSearchListingFailure().type:\n return {\n ...state,\n importSearchError: payload.importSearchError,\n };\n case fetchAssetsCardFailure().type:\n return {\n ...state,\n getAssetCardError: payload.getAssetCardError,\n };\n case fetchEditListingURLFailure().type:\n return {\n ...state,\n getEditListingURLError: payload.getEditListingURLError,\n };\n\n case fetchMetricsViewFailure().type:\n return {\n ...state,\n getMetricsError: payload.getMetricsError,\n };\n\n case loadMarketingData().type:\n return {\n ...state,\n isMarketingLoading: payload.isMarketingLoading,\n };\n case loadMlsId({}).type:\n return {\n ...state,\n fetchedMlsId: payload.loaded,\n mlsID: payload.mlsID,\n mlsNumber: payload.mlsNumber,\n };\n case setSearchKeyword().type:\n return {\n ...state,\n search: payload.search,\n };\n case setIsSearched().type:\n return {\n ...state,\n isSearched: payload.isSearched,\n };\n default:\n return state;\n }\n};\n\nexport default tdpMarketingReducer;\n","export const fetchAllFeedbacksStarted = () => ({\n type: \"FEEDBACKS_FETCH_STARTED\",\n});\n\nexport const fetchAllFeedbacksSuccess = (feedbacks, meta) => ({\n type: \"FEEDBACKS_FETCH_SUCCESS\",\n feedbacks,\n meta,\n});\n\nexport const fetchAllFeedbacksFailure = (error) => ({\n type: \"FEEDBACKS_FETCH_FAILURE\",\n error,\n});\n\nexport const loadMoreFeedbacksStarted = () => ({\n type: \"FEEDBACKS_LOAD_MORE_STARTED\",\n});\n\nexport const loadMoreFeedbacksSuccess = (feedbacks, meta) => ({\n type: \"FEEDBACKS_LOAD_MORE_SUCCESS\",\n feedbacks,\n meta,\n});\n\nexport const loadMoreFeedbacksFailure = (error) => ({\n type: \"FEEDBACKS_LOAD_MORE_FAILURE\",\n error,\n});\n\nexport const updateAllFeedbacksStats = (meta) => ({\n type: \"FEEDBACKS_UPDATE_STATS\",\n meta,\n});\n\nexport const setFeedbackFormData = (formData) => ({\n type: \"FEEDBACKS_SET_FORM_DATA\",\n formData,\n});\n\nexport const createFeedbackStarted = () => ({\n type: \"FEEDBACKS_CREATE_STARTED\",\n});\n\nexport const createFeedbackSuccess = (feedback) => ({\n type: \"FEEDBACKS_CREATE_SUCCESS\",\n feedback,\n});\n\nexport const createFeedbackFailure = (error) => ({\n type: \"FEEDBACKS_CREATE_FAILURE\",\n error,\n});\n\nexport const updateFeedbackStarted = () => ({\n type: \"FEEDBACKS_UPDATE_STARTED\",\n});\n\nexport const updateFeedbackSuccess = (feedback) => ({\n type: \"FEEDBACKS_UPDATE_SUCCESS\",\n feedback,\n});\n\nexport const updateFeedbackFailure = (error) => ({\n type: \"FEEDBACKS_UPDATE_FAILURE\",\n error,\n});\n\nexport const changeFeedbackVisibilityStarted = (feedbackId) => ({\n type: \"FEEDBACKS_CHANGE_VISIBILITY_STARTED\",\n feedbackId,\n});\n\nexport const changeFeedbackVisibilitySuccess = (feedbackId, externallyVisible) => ({\n type: \"FEEDBACKS_CHANGE_VISIBILITY_SUCCESS\",\n feedbackId,\n externallyVisible,\n});\n\nexport const changeFeedbackVisibilityFailure = (feedbackId, error) => ({\n type: \"FEEDBACKS_CHANGE_VISIBILITY_FAILURE\",\n feedbackId,\n error,\n});\n\nexport const clearChangeFeedbackVisibilityFailure = (feedbackId) => ({\n type: \"FEEDBACKS_CHANGE_VISIBILITY_CLEAR_FAILURE\",\n feedbackId,\n});\n\nexport const setDeleteFeedbackPromptData = (promptData) => ({\n type: \"FEEDBACKS_SET_DELETE_PROMPT_DATA\",\n promptData,\n});\n\nexport const destroyFeedbackStarted = () => ({\n type: \"FEEDBACKS_DESTROY_STARTED\",\n});\n\nexport const destroyFeedbackSuccess = (feedbackId) => ({\n type: \"FEEDBACKS_DESTROY_SUCCESS\",\n feedbackId,\n});\n\nexport const destroyFeedbackFailure = (error) => ({\n type: \"FEEDBACKS_DESTROY_FAILURE\",\n error,\n});\n","import {\n fetchAllFeedbacksSuccess,\n fetchAllFeedbacksFailure,\n fetchAllFeedbacksStarted,\n setFeedbackFormData,\n createFeedbackStarted,\n createFeedbackSuccess,\n createFeedbackFailure,\n updateFeedbackStarted,\n updateFeedbackFailure,\n updateFeedbackSuccess,\n destroyFeedbackSuccess,\n destroyFeedbackStarted,\n destroyFeedbackFailure,\n setDeleteFeedbackPromptData,\n changeFeedbackVisibilityStarted,\n changeFeedbackVisibilitySuccess,\n changeFeedbackVisibilityFailure,\n clearChangeFeedbackVisibilityFailure,\n updateAllFeedbacksStats,\n loadMoreFeedbacksStarted,\n loadMoreFeedbacksSuccess,\n loadMoreFeedbacksFailure,\n} from \"../TransactionDetailsPage/Main/Feedback/actions/creators\";\n\nexport const defaultState = {\n uuid: \"\",\n feedbacks: [],\n meta: {\n averageRating: 0.0,\n pagination: {\n totalPages: 0,\n totalCount: 0,\n },\n },\n error: null,\n isLoading: false,\n formData: {\n action: \"new\",\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n promptData: {\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n};\n\nexport const tdpFeedbackReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case fetchAllFeedbacksStarted().type:\n return {\n ...state,\n error: null,\n isLoading: true,\n };\n case fetchAllFeedbacksSuccess().type:\n return {\n ...state,\n feedbacks: payload.feedbacks,\n meta: payload.meta,\n error: null,\n isLoading: false,\n };\n case fetchAllFeedbacksFailure().type:\n return {\n ...state,\n error: payload.error,\n isLoading: false,\n };\n case loadMoreFeedbacksStarted().type:\n return {\n ...state,\n error: null,\n isLoading: true,\n };\n case loadMoreFeedbacksSuccess().type: {\n // Since users can add/edit/delete showing feedback while viewing the paginated results, the\n // next page could deliver duplicated items. For this reason, we remove all duplicated items.\n // Note that the pagination (meta object) is also updated here, so there won't be issues\n // about missing items on the last page.\n const existingIds = state.feedbacks.reduce((acc, element) => {\n acc[element.id] = element.id;\n return acc;\n }, {});\n // Remove duplicates in the payload array\n const fetchedFeedbacks = payload.feedbacks.filter((element) => !(element.id in existingIds));\n return {\n ...state,\n feedbacks: [...state.feedbacks, ...fetchedFeedbacks],\n meta: payload.meta,\n error: null,\n isLoading: false,\n };\n }\n case loadMoreFeedbacksFailure().type:\n return {\n ...state,\n error: payload.error,\n isLoading: false,\n };\n case updateAllFeedbacksStats().type:\n return {\n ...state,\n // Only update averageRating and totalCount to avoid interfering with pagination\n meta: {\n ...state.meta,\n averageRating: payload.meta.averageRating,\n pagination: {\n ...state.meta.pagination,\n totalCount: payload.meta.pagination.totalCount,\n },\n },\n };\n case setFeedbackFormData().type:\n return {\n ...state,\n formData: payload.formData,\n };\n case createFeedbackStarted().type:\n case updateFeedbackStarted().type:\n return {\n ...state,\n formData: {\n ...state.formData,\n isLoading: true,\n },\n };\n case createFeedbackSuccess().type:\n return {\n ...state,\n feedbacks: [payload.feedback, ...state.feedbacks],\n meta: {\n ...state.meta,\n pagination: {\n ...state.meta.pagination,\n totalCount: state.meta.pagination.totalCount + 1,\n },\n },\n formData: {\n ...state.formData,\n isLoading: false,\n },\n };\n case createFeedbackFailure().type:\n case updateFeedbackFailure().type:\n return {\n ...state,\n formData: {\n ...state.formData,\n error: payload.error,\n isLoading: false,\n },\n };\n case updateFeedbackSuccess().type: {\n const { feedbacks } = state;\n\n const index = feedbacks.findIndex((feedback) => feedback.id === payload.feedback.id);\n\n if (index !== -1) {\n feedbacks[index] = payload.feedback;\n }\n\n return {\n ...state,\n feedbacks: [...feedbacks],\n formData: {\n ...state.formData,\n isLoading: false,\n },\n };\n }\n case changeFeedbackVisibilityStarted().type: {\n const { feedbacks } = state;\n\n const index = feedbacks.findIndex((feedback) => feedback.id === payload.feedbackId);\n const feedback = feedbacks[index];\n\n if (feedback) {\n feedbacks[index] = {\n ...feedback,\n meta: {\n ...feedback.meta,\n changeVisibility: {\n isLoading: true,\n error: null,\n },\n },\n };\n }\n\n return {\n ...state,\n feedbacks: [...feedbacks],\n };\n }\n case changeFeedbackVisibilitySuccess().type: {\n const { feedbacks } = state;\n\n const index = feedbacks.findIndex((feedback) => feedback.id === payload.feedbackId);\n const feedback = feedbacks[index];\n\n if (feedback) {\n feedbacks[index] = {\n ...feedback,\n externallyVisible: payload.externallyVisible,\n meta: {\n ...feedback.meta,\n changeVisibility: {\n isLoading: false,\n error: null,\n },\n },\n };\n }\n\n return {\n ...state,\n feedbacks: [...feedbacks],\n };\n }\n case changeFeedbackVisibilityFailure().type: {\n const { feedbacks } = state;\n\n const index = feedbacks.findIndex((feedback) => feedback.id === payload.feedbackId);\n const feedback = feedbacks[index];\n\n if (feedback) {\n feedbacks[index] = {\n ...feedback,\n meta: {\n ...feedback.meta,\n changeVisibility: {\n isLoading: false,\n error: payload.error,\n },\n },\n };\n }\n\n return {\n ...state,\n feedbacks: [...feedbacks],\n };\n }\n case clearChangeFeedbackVisibilityFailure().type: {\n const { feedbacks } = state;\n\n const index = feedbacks.findIndex((feedback) => feedback.id === payload.feedbackId);\n const feedback = feedbacks[index];\n\n if (feedback) {\n feedbacks[index] = {\n ...feedback,\n meta: {\n ...feedback.meta,\n changeVisibility: {\n isLoading: false,\n error: null,\n },\n },\n };\n }\n\n return {\n ...state,\n feedbacks: [...feedbacks],\n };\n }\n case setDeleteFeedbackPromptData().type:\n return {\n ...state,\n promptData: payload.promptData,\n };\n case destroyFeedbackStarted().type:\n return {\n ...state,\n promptData: {\n ...state.promptData,\n isLoading: true,\n },\n };\n case destroyFeedbackSuccess().type: {\n const { feedbacks } = state;\n\n const index = feedbacks.findIndex((feedback) => feedback.id === payload.feedbackId);\n\n if (index !== -1) {\n feedbacks.splice(index, 1);\n }\n\n return {\n ...state,\n feedbacks: [...feedbacks],\n meta: {\n ...state.meta,\n pagination: {\n ...state.meta.pagination,\n totalCount: state.meta.pagination.totalCount - 1,\n },\n },\n promptData: {\n ...state.promptData,\n isLoading: false,\n },\n };\n }\n case destroyFeedbackFailure().type:\n return {\n ...state,\n promptData: {\n ...state.promptData,\n error: payload.error,\n isLoading: false,\n },\n };\n default:\n return state;\n }\n};\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_PEOPLE = \"tdpPeople\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_PEOPLE);\n\nexport const saveAllPeople = (details, uuid) => wrap({ type: \"SAVE_ALL_PEOPLE\", details, uuid });\n\nexport const postPerson = (person, uuid, category) => wrap({ type: \"POST_PERSON\", person, uuid, category });\n\nexport const patchPerson = (id, category, person) => wrap({ type: \"PATH_PERSON\", id, category, person });\n\nexport const deletePerson = (personId, category) => wrap({ type: \"DELETE_PERSON\", personId, category });\n\nexport const getAvailablePeople = (availablePeople) =>\n wrap({ type: \"GET_AVAILABLE_PEOPLE\", availablePeople });\n\nexport const errorHandler = (error) => wrap({ type: \"ERROR_HANDLER\", error });\n\nexport const closeModal = (bool) => wrap({ type: \"CLOSE_MODAL\", bool });\n\nexport const clearError = () => wrap({ type: \"CLEAR_ERROR\" });\n","import { produce } from \"immer\";\nimport {\n saveAllPeople,\n deletePerson,\n postPerson,\n patchPerson,\n getAvailablePeople,\n errorHandler,\n closeModal,\n clearError,\n} from \"../TransactionDetailsPage/SideLeft/People/actions/creators\";\n\nexport const defaultState = {\n uuid: \"\",\n people: {},\n searchResults: {},\n error: [],\n availablePeople: {},\n closeModal: false,\n};\n\nexport const tdpPeopleReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case saveAllPeople().type:\n return {\n ...state,\n ...payload.details,\n uuid: payload.uuid,\n };\n case patchPerson().type:\n return produce(state, (draft) => {\n const editedPerson = state.people[payload.category].find((person) => person.id === payload.id);\n const index = state.people[payload.category].indexOf(editedPerson);\n if(payload.person?.primary) {\n const members = state.people[payload.category].map(teamMember => ({\n ...teamMember,\n primary: false\n }));\n draft.people[payload.category] = members;\n }\n draft.people[payload.category][index] = payload.person;\n });\n case postPerson().type:\n return produce(state, (draft) => {\n const listingPerson = payload.person\n const addedPerson = Object.assign({}, listingPerson.person, {\n role: listingPerson.role, viewer_portal_access: listingPerson.viewer_portal_access,\n email_updates: listingPerson.email_updates, listing_person_id: listingPerson.id\n });\n draft.people[payload.category].push(addedPerson);\n });\n\n case deletePerson().type:\n return produce(state, (draft) => {\n const deletedPerson = state.people[payload.category].find(({ id }) => id === payload.personId);\n const index = state.people[payload.category].indexOf(deletedPerson);\n draft.people[payload.category].splice(index, 1);\n });\n\n case getAvailablePeople().type:\n return {\n ...state,\n availablePeople: payload.availablePeople,\n };\n\n case errorHandler().type:\n return {\n ...state,\n error: payload.error,\n };\n\n case closeModal().type:\n return {\n ...state,\n error: [],\n closeModal: payload.bool,\n };\n\n case clearError().type:\n return produce(state, (draft) => {\n draft.error = [];\n });\n default:\n return state;\n }\n};\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_INTERACTIONS = \"tdpInteractions\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_INTERACTIONS);\n\nexport const getSMSHistory = (smsHistory) => wrap({ type: \"GET_SMS_HISTORY\", smsHistory });\n\nexport const closeModal = (bool) => wrap({ type: \"CLOSE_MODAL\", bool });\n\nexport const errorHandler = (error) => wrap({ type: \"ERROR_HANDLER\", error });\n\nexport const sendingMessage = (bool) => wrap({ type: \"SENDING_MESSAGE\", bool });\n\nexport const fetchingMessages = (bool) => wrap({ type: \"FETCHING_MESSAGES\", bool });\n\nexport const conversationLoaded = (bool) => wrap({ type: \"CONVERSATION_LOADED\", bool });\n\nexport const moreSmsToLoad = (bool) => wrap({ type: \"MORE_SMS_TO_LOAD\", bool });\n\nexport const isEmailSent = (bool) => wrap({ type: \"IS_EMAIL_SENT\", bool });\n\nexport const sendEmailError = (error) => wrap({ type: \"SEND_EMAIL_ERROR\", error });\n\nexport const emailTemplates = (templates) => wrap({ type: \"EMAIL_TEMPLATES\", templates });\n\nexport const parsedTemplate = (template) => wrap({ type: \"PARSED_TEMPLATE\", template });\n\nexport const interactableEmails = (term) => wrap({ type: \"GET_INTERACTABLE_EMAILS\", term });\n\nexport const clearEmailError = () => wrap({ type: \"ClEAR_EMAIL_ERROR\" });\n\nexport const setConversation = (conversation) => wrap({ type: \"SET_CONVERSATION\", conversation });\n","import {\n errorHandler,\n closeModal,\n getSMSHistory,\n sendingMessage,\n fetchingMessages,\n conversationLoaded,\n moreSmsToLoad,\n isEmailSent,\n sendEmailError,\n emailTemplates,\n parsedTemplate,\n interactableEmails,\n clearEmailError,\n setConversation,\n} from \"../TransactionDetailsPage/SideLeft/Interactions/actions/creators\";\n\nexport const defaultState = {\n error: [],\n closeModal: false,\n smsHistory: [],\n sendingMessage: false,\n fetchingMessages: true,\n conversationLoaded: false,\n moreSmsToLoad: true,\n isEmailSent: false,\n sendEmailError: null,\n emailTemplates: [],\n parsedTemplate: null,\n interactableEmails: [],\n};\n\nexport const tdpInteractionsReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case errorHandler().type:\n return {\n ...state,\n error: payload.error,\n };\n case closeModal().type:\n return {\n ...state,\n closeModal: payload.bool,\n };\n case getSMSHistory().type:\n return {\n ...state,\n smsHistory: payload.smsHistory,\n };\n case sendingMessage().type:\n return {\n ...state,\n sendingMessage: payload.bool,\n };\n case fetchingMessages().type:\n return {\n ...state,\n fetchingMessages: payload.bool,\n };\n case conversationLoaded().type:\n return {\n ...state,\n conversationLoaded: payload.bool,\n };\n case moreSmsToLoad().type:\n return {\n ...state,\n moreSmsToLoad: payload.bool,\n };\n case isEmailSent().type:\n return {\n ...state,\n isEmailSent: payload.bool,\n };\n case sendEmailError().type:\n return {\n ...state,\n sendEmailError: payload.error,\n };\n case emailTemplates().type:\n return {\n ...state,\n emailTemplates: payload.templates,\n };\n case parsedTemplate().type:\n return {\n ...state,\n parsedTemplate: payload.template,\n };\n case interactableEmails().type:\n return {\n ...state,\n interactableEmails: payload.term,\n };\n case clearEmailError().type:\n return {\n ...state,\n sendEmailError: null,\n };\n case setConversation().type:\n return {\n ...state,\n conversation: payload.conversation,\n };\n default:\n return state;\n }\n};\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst TDP_NOTES = \"TDP_NOTES\";\nconst wrap = curriedNamespaceAction(TDP_NOTES);\n\nexport const saveAllNotes = (notes) => wrap({ type: \"SAVE_ALL_NOTES\", notes });\n\nexport const addNote = (note) => wrap({ type: \"ADD_NOTE\", note });\n\nexport const saveError = (error) => wrap({ type: \"SAVE_ERROR\", error });\n\nexport const saveErrors = (errors = [], status = \"\") => wrap({ type: \"SAVE_ERRORS\", errors, status });\n\nexport const updateNote = (note) => wrap({ type: \"UPDATE_NOTE\", note });\n\nexport const setEditNoteModal = (bool, note) => wrap({ type: \"CLOSE_EDIT_NOTE_MODAL\", bool, note });\n\nexport const deleteNote = (noteId) => wrap({ type: \"DELETE_NOTE\", noteId });\n","import { produce } from \"immer\";\nimport { map, remove } from \"lodash\";\n\nimport { saveAllNotes, addNote, saveErrors, updateNote, setEditNoteModal, deleteNote } from \"../TransactionDetailsPage/Main/Notes/actions/creators\";\n\nexport const defaultState = {\n notes: [],\n status: null,\n notableId: null,\n errors: [],\n isEditNoteModalOpen: false,\n editNote: null\n};\n\nexport const tdpNotesReducer = (state = defaultState, payload) => {\n const updatedNotes = [...state.notes];\n\n switch (payload.type) {\n case saveAllNotes().type: {\n return produce(state, (draft) => {\n draft.notes = payload.notes\n });\n }\n case addNote().type: {\n return produce(state, (draft) => {\n updatedNotes.unshift(payload.note)\n draft.notes = updatedNotes\n });\n }\n case saveErrors().type: {\n return produce(state, (draft) => {\n draft.status = payload.status;\n draft.errors = payload.errors;\n });\n };\n case updateNote().type: {\n return produce(state, (draft) => {\n const { note: newNote } = payload\n const { id: newNoteId } = newNote;\n\n draft.notes = map(updatedNotes, (note) => note.id === newNoteId ? newNote : note);\n draft.isEditNoteModalOpen = false;\n });\n };\n case setEditNoteModal().type: {\n return produce(state, (draft) => {\n draft.isEditNoteModalOpen = payload.bool;\n draft.editNote = payload.bool ? payload.note : null\n });\n }\n case deleteNote().type: {\n return produce(state, (draft) => {\n remove(updatedNotes, ({id}) => id === payload.noteId);\n draft.notes = updatedNotes;\n });\n }\n default:\n return state;\n\n }\n};\n\nexport default tdpNotesReducer;\n\n\n\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_TDP_TITLE_AND_ESCROW = \"tdpTitleAndEscrowReducer\";\nconst wrap = curriedNamespaceAction(REDUCER_TDP_TITLE_AND_ESCROW);\n\nexport const sentBlueprintRequest = () =>\n wrap({\n type: \"SENT_BLUEPRINT_REQ_SUCCESS\",\n });\n\nexport const fetchSendBlueprintRequestFailure = (error) =>\n wrap({\n type: \"SEND_BLUEPRINT_REQ_FAILURE\",\n error,\n });\n\nexport const showSuccessToast = (data) =>\n wrap({\n type: \"SHOW_SUCCESS_TOAST\",\n data,\n });\n","import {\n sentBlueprintRequest,\n fetchSendBlueprintRequestFailure,\n showSuccessToast,\n} from \"../TransactionDetailsPage/SideRight/TitleAndEscrow/actions/creators\";\n\nexport const defaultState = {\n uuid: \"\",\n error: null,\n toastState: {\n show: false,\n msg: \"\",\n },\n};\n\nexport const tdpTitleAndEscrowReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case sentBlueprintRequest().type:\n return {\n ...state,\n error: null,\n };\n case fetchSendBlueprintRequestFailure().type:\n return {\n ...state,\n error: payload.error,\n };\n case showSuccessToast().type: {\n return {\n ...state,\n toastState: payload.data,\n };\n }\n default:\n return state;\n }\n};\n\nexport default tdpTitleAndEscrowReducer;\n","import namespaceAction from \"../../../../../reducers/helpers\";\nimport { saveDetail } from \"../../../../Header/actions/creators\";\n\nconst REDUCER_NAME = \"tdpThumbnailSelector\";\nconst wrap = namespaceAction(REDUCER_NAME);\n\nexport const showModal = (show) => wrap({ type: \"SHOW_MODAL\", show });\nexport const reset = () => wrap({ type: \"RESET\" });\n\nexport const setSaving = () => wrap({ type: \"SAVING\" });\nexport const setSaved = () => wrap({ type: \"SAVED\" });\nexport const setSaveError = (error) => wrap({ type: \"SAVE_ERROR\", error });\n\nexport const setAvailablePhotos = (availablePhotos) => wrap({ type: \"SET_PHOTOS\", availablePhotos });\nexport const selectPhoto = (photo) => wrap({ type: \"SELECT_PHOTO\", photo });\nexport const setThumnail = saveDetail;\n","import * as actionCreators from \"../TransactionDetailsPage/UI/Modals/ThumbnailSelector/actions/creators\";\n\nconst defaultState = {\n availablePhotos: null,\n show: false,\n\n isSaving: false,\n isSaved: false,\n hasSaveError: false,\n\n selectedPhoto: null,\n};\n\nconst tdpThumbnailSelector = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionCreators.reset().type:\n return {\n ...state,\n selectedPhoto: null,\n availablePhotos: null,\n show: false,\n isSaving: false,\n isSaved: false,\n hasSaveError: false,\n };\n case actionCreators.showModal().type:\n return {\n ...state,\n show: payload.show,\n };\n case actionCreators.setSaving().type:\n return {\n ...state,\n isSaving: true,\n isSaved: false,\n hasSaveError: false,\n };\n case actionCreators.setSaved().type:\n return {\n ...state,\n isSaving: false,\n isSaved: true,\n hasSaveError: false,\n };\n case actionCreators.setSaveError().type:\n return {\n ...state,\n isSaving: false,\n isSaved: false,\n hasSaveError: true,\n };\n\n case actionCreators.setAvailablePhotos().type:\n return {\n ...state,\n availablePhotos: payload.availablePhotos,\n };\n case actionCreators.selectPhoto().type:\n return {\n ...state,\n selectedPhoto: payload.photo,\n };\n\n default:\n return state;\n }\n};\n\nexport default tdpThumbnailSelector;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { createSelector } from \"@reduxjs/toolkit\";\nimport { uniqueId } from \"lodash\";\nimport { Spinner } from \"./v2/Icomoon\";\n\nexport const useClickOutside = (ref, callback, includeFocus = false) => {\n useEffect(() => {\n function handleClickOutside(event) {\n if (ref.current && !ref.current.contains(event.target)) {\n callback();\n }\n }\n document.addEventListener(\"mousedown\", handleClickOutside);\n if (includeFocus) document.addEventListener(\"keyup\", handleClickOutside);\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n document.removeEventListener(\"keyup\", handleClickOutside);\n };\n }, [ref, callback]);\n};\n\n// See https://usehooks.com/useDebounce for hook refrence\nexport function useDebounce(value, delay) {\n // State and setters for debounced value\n const [debouncedValue, setDebouncedValue] = useState(value);\n useEffect(\n () => {\n // Update debounced value after delay\n const handler = setTimeout(() => {\n setDebouncedValue(value);\n }, delay);\n // Cancel the timeout if value changes (also on delay change or unmount)\n // This is how we prevent debounced value from updating if value is changed ...\n // .. within the delay period. Timeout gets cleared and restarted.\n return () => {\n clearTimeout(handler);\n };\n },\n [value, delay], // Only re-call effect if value or delay changes\n );\n return debouncedValue;\n}\n\n/**\n * Component API consumers shouldn't have to worry about internal `id` usage,\n * so this hook generates one if not given.\n *\n * @param {string} prefix Prefix to add to the id (gets appended with \"-\").\n * @param {string} givenId Given id.\n * @returns {string} Given id or generated id.\n */\nexport const useGivenOrGeneratedId = (prefix, givenId) =>\n useMemo(() => givenId || uniqueId(`${prefix}-`), [prefix, givenId]);\n\nexport const useInput = (initialValue, useTargetOnChange = true) => {\n const [value, setValue] = useState(initialValue);\n\n return {\n value,\n setValue,\n reset: () => setValue(\"\"),\n bind: {\n value,\n onChange: (event) => {\n setValue(useTargetOnChange ? event.target.value : event);\n },\n },\n };\n};\n\n// Generic useState//useEffect combo we see and use everyday.\nexport const useDependencyWithCleanUp = (dependency, initState = \"\") => {\n const [something, setSomething] = useState(initState);\n\n useEffect(() => {\n setSomething(dependency);\n\n return () => {\n setSomething(initState);\n };\n }, [dependency]);\n\n return [something, setSomething];\n};\n\nexport const useIsLoadingIcon = (OtherIcon, loadingIconSize = \"m\", loadingIconClassName = \"\") => {\n const [isLoading, setIsLoading] = useState(false);\n\n const Icon = useMemo(\n () =>\n isLoading ? (\n \n ) : (\n OtherIcon\n ),\n [isLoading, OtherIcon],\n );\n\n return {\n Icon,\n isLoading,\n setIsLoading,\n };\n};\n\n// Creates a custom selector function that combines a reducer callback and a state callback, which can be used with the useSelector hook to retrieve a specific value from the Redux store.\n// i.e.\n// const useCreateSelector = createCustomSelector(({ personalSettings }) => personalSettings);\n// export const useEmail = () => useCreateSelector((state) => state.user.email);\nexport const createCustomSelector = (reducerCallback) => (stateCallback) => {\n const selectCustom = createSelector(reducerCallback, stateCallback);\n\n // Using useSelector with the created selector\n return useSelector(selectCustom);\n};\n\nexport const useLocalStorage = (key, initialValue) => {\n const [storedValue, setStoredValue] = useState(() => {\n if (typeof window === \"undefined\") {\n return initialValue;\n }\n try {\n const item = window.localStorage.getItem(key);\n return item ? JSON.parse(item) : initialValue;\n } catch (error) {\n return initialValue;\n }\n });\n\n const setValue = (valueOrFunction) => {\n try {\n const valueToStore =\n valueOrFunction instanceof Function ? valueOrFunction(storedValue) : valueOrFunction;\n setStoredValue(valueToStore);\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n } catch (error) {\n // eslint-disable-next-line no-console\n console.error(error);\n }\n };\n\n return [storedValue, setValue];\n}","import { createCustomSelector } from \"@shared/hookHelpers\";\nimport { isArray, mergeWith } from \"lodash\";\n\nimport {\n storeFetchedAgreements,\n storeFetchedLoans,\n storeFetchedLoansFinancingStages,\n storeFetchedAvailableTransactions,\n storeFetchedAvailableTransactionsForLoan,\n storeFetchedAddendums,\n agreementUploaded,\n loanUpdated,\n agreementUpdated,\n removeDeletedAgreement,\n renameDocument,\n removeDocAgreement,\n toggleSuccessToastMsg,\n agreementReplaced,\n toggleLenderModal,\n toggleSuccessReferLoanToast,\n setLastRefferedDateTime,\n} from \"../../PersonDetail/actions/personDetailActionCreators\";\n\nconst initialState = {\n error: false,\n person: {},\n timeline: {\n public_activity_events: [],\n timeline_events: [],\n task_events: [],\n gmail_events: [],\n },\n timeline_loading: true,\n timeline_loading_success: null,\n editPersonModalOpen: false,\n addAppointmentModalOpen: false,\n manageAccessModalOpen: false,\n addRelationshipModalOpen: false,\n addNoteModalOpen: false,\n relationships: [],\n documents: [],\n agreements: [],\n loansData: [],\n loansFinancingStages: [],\n available_transactions: [],\n available_transactions_for_loan: [],\n addendums: [],\n displayToast: {\n show: false,\n msg: \"\",\n },\n transactions: [],\n taskModalOpen: false,\n appointmentModalOpen: false,\n addListingAlertModalOpen: false,\n uploadingDocument: false,\n editSocialMediaModalOpen: false,\n webActivityModalOpen: false,\n assignedPlans: [],\n addAutoPlanModalOpen: false,\n deleteActionSuccess: false,\n editAppointmentModalOpen: false,\n lenderModalOpen: false,\n transactionCount: 0,\n tasks: [],\n appointments: [],\n notes: [],\n allTaskCount: 0,\n editAddressModalOpen: false,\n activeActionId: null,\n autoPlanPreviewModalOpen: false,\n planPreview: null,\n autoPlanDetailsOpen: false,\n assignedPlan: null,\n assignedActionId: null,\n deleteAssignedActionModalOpen: false,\n actionToDelete: null,\n hasActionError: false,\n actionErrorMessage: null,\n currentAction: null,\n isActionUpdating: false,\n selectedInteractionTab: 0,\n gmailReplyThreadId: null,\n gmailReplyThreadSubject: null,\n additionalRecipientsVal: [],\n CCval: [],\n BCCval: [],\n sendEmailError: null,\n isEmailSent: false,\n defaultHomeAppTabContent: null,\n transactionModalOpen: false,\n starred: false,\n externallyVisible: false,\n successMessageOpen: false,\n lastReferredDateTime: null,\n};\nconst personDetail = (state = initialState, payload) => {\n const defaultState = { ...initialState, ...state };\n\n switch (payload.type) {\n case \"UPDATE_PERSON_SUCCESS\":\n return {\n ...state,\n person: mergeWith({}, { ...state.person }, { ...payload.person }, (objValue, srcValue) => {\n if (isArray(objValue)) return srcValue;\n }),\n updateErrors: [],\n };\n case \"TOGGLE_PERSON_ERROR\":\n return { ...state, error: payload.value || false };\n case \"OPEN_EDIT_PERSON_MODAL\":\n return {\n ...state,\n editPersonModalOpen: true,\n };\n case \"CLOSE_EDIT_PERSON_MODAL\":\n return {\n ...state,\n editPersonModalOpen: false,\n updateErrors: [],\n };\n case \"UPDATE_PERSON_VALUES\":\n return {\n ...state,\n person: {\n ...state.person,\n [payload.name]: payload.value,\n },\n };\n case \"UPDATE_PUBLIC_ACTIVITY_EVENTS\":\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: [...state.timeline.public_activity_events, payload.data],\n },\n };\n case \"SUBMIT_UPDATE_TIMELINE_EVENT\":\n const elementsIndex = state.timeline.public_activity_events.findIndex(\n (element) => element.id == payload.data.id,\n );\n let newArray = [...state.timeline.public_activity_events];\n newArray[elementsIndex] = payload.data;\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: newArray,\n },\n };\n case \"DELETE_TIMELINE_NOTE\":\n const index = state.timeline.public_activity_events.findIndex((element) => element.id == payload.id);\n const newArray2 = [...state.timeline.public_activity_events];\n newArray2.splice(index, 1);\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: newArray2,\n },\n };\n case \"SUBMIT_SEND_EMAIL\":\n return {\n ...state,\n isEmailSent: true,\n timeline: {\n ...state.timeline,\n public_activity_events: [...state.timeline.public_activity_events, payload.data],\n },\n };\n\n case \"CLEAR_EMAIL_STATE\":\n return {\n ...state,\n isEmailSent: payload.bool,\n sendEmailError: null,\n };\n\n case \"SUBMIT_ADD_APPOINTMENT\":\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: [...state.timeline.public_activity_events, payload.data],\n },\n };\n case \"OPEN_ADD_APPOINTMENT_MODAL\":\n return {\n ...state,\n addAppointmentModalOpen: true,\n };\n case \"CLOSE_ADD_APPOINTMENT_MODAL\":\n return {\n ...state,\n addAppointmentModalOpen: false,\n };\n case \"OPEN_MANAGE_ACCESS_MODAL\":\n return {\n ...state,\n manageAccessModalOpen: true,\n };\n\n case \"CLOSE_MANAGE_ACCESS_MODAL\":\n return {\n ...state,\n manageAccessModalOpen: false,\n };\n\n case \"FETCH_INITIAL_TIMELINE\":\n return {\n ...state,\n timeline: payload.data,\n timeline_loading: false,\n timeline_loading_success: true,\n };\n\n case \"FETCH_TIMELINE_ERROR\":\n return {\n ...state,\n timeline_loading: false,\n timeline_loading_success: false,\n };\n\n case \"FETCHING_TIMELINE\":\n return {\n ...state,\n timeline_loading: true,\n timeline_loading_success: null,\n };\n\n case \"OPEN_ADD_RELATIONSHIP_MODAL\":\n return {\n ...state,\n addRelationshipModalOpen: true,\n };\n\n case \"CLOSE_ADD_RELATIONSHIP_MODAL\":\n return {\n ...state,\n addRelationshipModalOpen: false,\n };\n case \"TOGGLE_NOTE_MODAL\":\n return {\n ...state,\n addNoteModalOpen: !state.addNoteModalOpen,\n };\n case \"OPEN_ADD_NOTE_MODAL\":\n return {\n ...state,\n addNoteModalOpen: true,\n };\n case \"CLOSE_ADD_NOTE_MODAL\":\n return {\n ...state,\n addNoteModalOpen: false,\n };\n case \"FETCH_DOCUMENTS\":\n return {\n ...state,\n documents: payload.data,\n };\n case storeFetchedAgreements().type:\n return {\n ...state,\n agreements: payload.data,\n };\n case storeFetchedLoans().type:\n return {\n ...state,\n loansData: payload.data,\n };\n case storeFetchedLoansFinancingStages().type:\n return {\n ...state,\n loansFinancingStages: payload.data,\n };\n case storeFetchedAvailableTransactions().type:\n return {\n ...state,\n available_transactions: payload.data,\n };\n case storeFetchedAvailableTransactionsForLoan().type:\n return {\n ...state,\n available_transactions_for_loan: payload.data,\n };\n case storeFetchedAddendums().type:\n return {\n ...state,\n addendums: payload.data,\n };\n case agreementUploaded().type:\n return {\n ...state,\n agreements: [...state.agreements, payload.data[0]],\n };\n case agreementUpdated().type:\n return {\n ...state,\n agreements: state.agreements.map((agreement) =>\n agreement.id === payload.id ? { ...payload.data[0] } : agreement,\n ),\n };\n case loanUpdated().type:\n return {\n ...state,\n loansData: state.loansData.map((loan) => (loan.id === payload.id ? { ...payload.data[0] } : loan)),\n };\n case agreementReplaced().type:\n return {\n ...state,\n agreements: state.agreements.map((agreement) =>\n agreement.id === payload.agreementId ? { ...agreement, ...payload.data } : agreement,\n ),\n };\n case \"DOCUMENT_UPLOADED\":\n return {\n ...state,\n documents: [...state.documents, payload.data],\n };\n case \"DELETE_DOCUMENT\":\n return {\n ...state,\n documents: state.documents.filter((document) => document.id !== payload.id),\n };\n case removeDocAgreement().type:\n return {\n ...state,\n agreements: state.agreements.map((agreement) => {\n // Check if the payload.id matches the agreement's document's id\n if (agreement.document?.id === payload.id) {\n return { ...agreement, document: null };\n }\n // Filter out the addendum with the matching id\n const filteredAddendums = agreement.addendums.filter((addendum) => addendum.id !== payload.id);\n\n // Return the updated agreement\n return { ...agreement, addendums: filteredAddendums };\n }),\n };\n case renameDocument().type:\n return {\n ...state,\n documents: state.documents.map((doc) =>\n doc.id === payload.id\n ? { ...doc, file_name: payload.newName, naked_name: `${payload.newName.split(\".\")[0]}` }\n : doc,\n ),\n };\n case removeDeletedAgreement().type:\n return {\n ...state,\n agreements: state.agreements.filter((agreement) => agreement.id !== payload.id),\n };\n case \"FETCH_RELATIONSHIPS\":\n return {\n ...state,\n relationships: payload.data,\n };\n case \"RELATIONSHIP_ADDED\":\n return {\n ...state,\n relationships: [...state.relationships, payload.data],\n };\n case \"RELATIONSHIP_EDITED\":\n const relationshipIndex = state.relationships.findIndex((element) => element.id === payload.data.id);\n let adjustedRelationshipArray = [...state.relationships];\n adjustedRelationshipArray[relationshipIndex] = payload.data;\n return {\n ...state,\n relationships: adjustedRelationshipArray,\n };\n case \"RELATIONSHIP_DELETED\":\n return {\n ...state,\n relationships: state.relationships.filter((relationship) => relationship.id !== payload.data),\n };\n case \"STATUS_UPDATED\":\n return {\n ...state,\n person: {\n ...state.person,\n status: payload.data.status,\n },\n };\n case \"INTENT_UPDATED\":\n return {\n ...state,\n person: {\n ...state.person,\n lead_type: payload.data.lead_type,\n },\n };\n case \"IS_LEAD_UPDATED\":\n return {\n ...state,\n person: {\n ...state.person,\n is_lead: payload.data,\n },\n };\n case \"STORE_FETCHED_TRANSACTIONS\":\n return {\n ...state,\n transactions: payload.data.listings || [],\n transactionCount: payload.data.meta.count,\n };\n\n case \"OPEN_TASK_MODAL\":\n return {\n ...state,\n taskModalOpen: true,\n };\n\n case \"OPEN_APPOINTMENT_MODAL\":\n return {\n ...state,\n appointmentModalOpen: true,\n };\n\n case \"CLOSE_APPOINTMENT_MODAL\":\n return {\n ...state,\n appointmentModalOpen: false,\n };\n case \"CLOSE_TASK_MODAL\":\n return {\n ...state,\n taskModalOpen: false,\n };\n\n case \"OPEN_ADD_LISTING_ALERT_MODAL\":\n return {\n ...state,\n addListingAlertModalOpen: true,\n };\n\n case \"CLOSE_ADD_LISTING_ALERT_MODAL\":\n return {\n ...state,\n addListingAlertModalOpen: false,\n };\n case \"UPLOADING_DOCUMENT\":\n return {\n ...state,\n uploadingDocument: payload.bool,\n };\n case \"OPEN_EDIT_SOCIAL_MEDIA_MODAL\":\n return {\n ...state,\n editSocialMediaModalOpen: true,\n };\n case \"CLOSE_EDIT_SOCIAL_MEDIA_MODAL\":\n return {\n ...state,\n editSocialMediaModalOpen: false,\n };\n case \"OPEN_WEB_ACTIVITY_MODAL\":\n return {\n ...state,\n webActivityModalOpen: true,\n };\n case \"CLOSE_WEB_ACTIVITY_MODAL\":\n return {\n ...state,\n webActivityModalOpen: false,\n };\n\n case \"FETCH_ASSIGNED_PLANS\":\n return {\n ...state,\n assignedPlans: payload.data,\n };\n\n case \"CREATE_ASSIGNED_PLAN\":\n return {\n ...state,\n assignedPlans: [...state.assignedPlans, payload.data],\n addAutoPlanModalOpen: false,\n };\n\n case \"UPDATE_ASSIGNED_PLAN\":\n return {\n ...state,\n assignedPlans: state.assignedPlans.map((plan) =>\n plan.id === payload.data.id ? { ...plan, ...payload.data } : plan,\n ),\n };\n\n case \"OPEN_ADD_AUTO_PLAN_MODAL\":\n return {\n ...state,\n addAutoPlanModalOpen: true,\n };\n\n case \"CLOSE_ADD_AUTO_PLAN_MODAL\":\n return {\n ...state,\n addAutoPlanModalOpen: false,\n };\n\n case \"OPEN_DELETE_ASSIGNED_PLAN_MODAL\":\n return {\n ...state,\n deleteAssignedPlanModalOpen: true,\n planToDelete: payload.planToDelete,\n };\n\n case \"CLOSE_DELETE_ASSIGNED_PLAN_MODAL\":\n return {\n ...state,\n deleteAssignedPlanModalOpen: false,\n planToDelete: {},\n };\n\n case \"OPEN_EDIT_APPOINTMENT_MODAL\":\n return {\n ...state,\n editAppointmentModalOpen: true,\n };\n case \"CLOSE_EDIT_APPOINTMENT_MODAL\":\n return {\n ...state,\n editAppointmentModalOpen: false,\n };\n case \"UPDATE_APPOINTMENT\":\n const appointmentIndex = state.timeline.public_activity_events.findIndex(\n (element) => element.id == payload.data.id,\n );\n let newAppointmentArray = [...state.timeline.public_activity_events];\n newAppointmentArray[appointmentIndex] = payload.data;\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: newAppointmentArray,\n },\n };\n\n case \"UPDATE_TASKS\":\n const taskIndex = state.timeline.public_activity_events.findIndex(\n (element) => element.id == payload.data.id,\n );\n let newTaskArray = [...state.timeline.public_activity_events];\n newTaskArray[taskIndex] = payload.data;\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: newTaskArray,\n },\n };\n case \"REMOVE_APPOINTMENT\":\n const appointmentArrayMinusAppointment = state.timeline.public_activity_events.filter(\n (element) => element.object_attributes.id !== payload.id,\n );\n return {\n ...state,\n timeline: {\n ...state.timeline,\n public_activity_events: appointmentArrayMinusAppointment,\n },\n };\n case \"GET_TASKS\":\n return {\n ...state,\n tasks: payload.data.tasks,\n allTaskCount: payload.data.meta.all_task_count,\n };\n case \"GET_APPOINTMENTS\":\n return {\n ...state,\n appointments: payload.data.tasks,\n allAppointmentCount: payload.data.meta.all_task_count,\n };\n case \"UPDATE_CARD_TASKS\":\n const updatedAppointments = state.appointments.map((task) =>\n task.id === payload.task.id ? payload.task : task,\n );\n const updatedTasks = state.tasks.map((task) => (task.id === payload.task.id ? payload.task : task));\n return {\n ...state,\n appointments: updatedAppointments,\n tasks: updatedTasks,\n };\n case \"GET_NOTES\":\n return {\n ...state,\n notes: payload.data,\n };\n\n case \"OPEN_EDIT_ADDRESS_MODAL\":\n return {\n ...state,\n editAddressModalOpen: true,\n };\n\n case \"CLOSE_EDIT_ADDRESS_MODAL\":\n return {\n ...state,\n editAddressModalOpen: false,\n };\n\n case \"SHOW_AUTO_PLAN_PREVIEW\":\n return {\n ...state,\n autoPlanPreviewModalOpen: true,\n planPreview: payload.autoPlan,\n };\n\n case \"PREVIEW_ACTION\":\n return {\n ...state,\n activeActionId: payload.actionId,\n };\n\n case \"CLOSE_AUTO_PLAN_PREVIEW\":\n return {\n ...state,\n addAutoPlanModalOpen: true,\n autoPlanPreviewModalOpen: false,\n planPreview: null,\n };\n\n case \"SHOW_PLAN_DETAILS\":\n return {\n ...state,\n autoPlanDetailsOpen: true,\n assignedPlan: payload.assignedPlan,\n };\n\n case \"CLOSE_PLAN_DETAIL\":\n return {\n ...state,\n autoPlanDetailsOpen: false,\n currentAction: null,\n assignedActionId: null,\n assignedPlan: null,\n };\n\n case \"ASSIGNED_ACTION_PREVIEW\":\n return {\n ...state,\n assignedActionId: payload.assignedAction.id,\n currentAction: payload.assignedAction,\n };\n\n case \"SHOW_ASSIGNED_ACTION_DELETE_MODAL\":\n return {\n ...state,\n deleteAssignedActionModalOpen: true,\n autoPlanDetailsOpen: false,\n actionToDelete: payload.actionToDelete,\n };\n\n case \"CLOSE_ASSIGNED_ACTION_DELETE_MODAL\":\n return {\n ...state,\n autoPlanDetailsOpen: true,\n deleteAssignedActionModalOpen: false,\n };\n\n case \"DELETE_ACTION_SUCCESS\":\n return {\n ...state,\n assignedPlan: {\n ...state.assignedPlan,\n assigned_actions: state.assignedPlan.assigned_actions.filter(\n (a) => a.id != payload.assignedActionId,\n ),\n },\n assignedActionId: null,\n deleteAssignedActionModalOpen: false,\n actionToDelete: null,\n hasActionError: false,\n actionErrorMessage: null,\n currentAction: null,\n };\n\n case \"DELETE_ACTION_FAILURE\":\n return {\n ...state,\n hasActionError: true,\n actionErrorMessage: payload.error,\n };\n\n case \"UPDATE_ACTION_PENDING\":\n return {\n ...state,\n isActionUpdating: true,\n };\n\n case \"UPDATE_ACTION_SUCCESS\":\n return {\n ...state,\n isActionUpdating: false,\n assignedPlan: {\n ...state.assignedPlan,\n assigned_actions: state.assignedPlan.assigned_actions.map((a) =>\n a.id === payload.assignedAction.id ? { ...a, ...payload.assignedAction } : a,\n ),\n },\n };\n\n case \"UPDATE__ACTION_FAILURE\":\n return {\n ...state,\n isActionUpdating: false,\n };\n\n case \"OPEN_DELETE_CLOSE_ACTIONS_MODAL\":\n return {\n ...state,\n autoPlanDetailsOpen: false,\n deleteAssignedPlanModalOpen: true,\n planToDelete: payload.planToDelete,\n actionErrorMessage: null,\n hasActionError: false,\n };\n\n case \"SET_INTERACTION_TAB\":\n return {\n ...state,\n selectedInteractionTab: payload.tabIndex,\n };\n\n case \"SET_INTERACTION_TAB_WITH_CONTENT\":\n return {\n ...state,\n defaultHomeAppTabContent: payload.defaultHomeAppTabContent,\n selectedInteractionTab: payload.tabIndex,\n };\n\n case \"CLEAR_INTERACTION_TAB_CONTENT\":\n return {\n ...state,\n defaultHomeAppTabContent: null,\n };\n\n case \"SET_GMAIL_REPLY_THREAD\":\n return {\n ...state,\n gmailReplyThreadId: payload.gmailReplyThreadId,\n gmailReplyThreadSubject: payload.gmailReplyThreadSubject,\n additionalRecipientsVal: payload.additionalRecipientsVal,\n CCval: payload.CCval,\n BCCval: payload.BCCval,\n };\n\n case \"SUBMIT_ERROR_EMAIL\":\n return {\n ...state,\n sendEmailError: payload.data,\n };\n\n case \"UPDATE_HOME_APP_INVITE_SENT\":\n if (!state.person.data) return state;\n return {\n ...state,\n person: {\n ...state.person,\n data: {\n ...state.person.data,\n attributes: {\n ...state.person.data.attributes,\n home_app_invite_sent: payload.inviteSent,\n },\n },\n },\n };\n\n case \"TOGGLE_TRANSACTION_MODAL\":\n return {\n ...state,\n transactionModalOpen: payload.value || !state.transactionModalOpen,\n };\n case \"EXTERNALLY_VISIBLE\":\n return {\n ...state,\n externallyVisible: payload.bool,\n };\n case \"STARRED\":\n return {\n ...state,\n starred: payload.bool,\n };\n case \"SUBMIT_NOTE_SUCCESS\":\n return {\n ...state,\n notes: [payload.note, ...state.notes],\n };\n case \"UPDATE_NOTE_SUCCESS\":\n return {\n ...state,\n notes: state.notes.map((note) => {\n return note.id === payload.note.id ? payload.note : note;\n }),\n };\n case \"DELETE_NOTE_SUCCESS\":\n return {\n ...state,\n notes: state.notes.filter((note) => note.id !== payload.note.id),\n };\n case \"GET_NAV_LINKS\":\n return {\n ...state,\n ...payload.data,\n };\n case toggleLenderModal().type: {\n return {\n ...state,\n lenderModalOpen: !state.lenderModalOpen,\n };\n }\n case toggleSuccessReferLoanToast().type: {\n return {\n ...state,\n successMessageOpen: !state.successMessageOpen,\n };\n }\n case toggleSuccessToastMsg().type: {\n return {\n ...state,\n displayToast: payload.data,\n };\n }\n case setLastRefferedDateTime().type: {\n return {\n ...state,\n lastReferredDateTime: payload.data,\n };\n }\n default:\n return defaultState;\n }\n};\n\nexport default personDetail;\n\nconst useCreateSelector = createCustomSelector(({ personDetail }) => personDetail);\n\nexport const useLenderModalOpen = () => useCreateSelector((state) => state.lenderModalOpen);\nexport const usePerson = () => useCreateSelector((state) => state.person);\nexport const useSuccessMessageOpen = () => useCreateSelector((state) => state.successMessageOpen);\nexport const useLastReferredDateTime = () => useCreateSelector((state) => state.lastReferredDateTime);\n","// eslint-disable-next-line import/prefer-default-export\nexport const actionTypes = {\n openPondModal: \"OPEN_POND_MODAL\",\n closePondModal: \"CLOSE_POND_MODAL\",\n\n createPond: \"CREATE_POND\",\n createPondSuccess: \"CREATE_POND_SUCCESS\",\n createPondError: \"CREATE_POND_ERROR\",\n\n updatePond: \"UPDATE_POND\",\n updatePondSuccess: \"UPDATE_POND_SUCCESS\",\n updatePondError: \"UPDATE_POND_ERROR\",\n\n removePond: \"REMOVE_POND\",\n removePondSuccess: \"REMOVE_POND_SUCCESS\",\n removePondError: \"REMOVE_POND_ERROR\",\n\n duplicateCheck: \"DUPLICATE_CHECK\",\n duplicateCheckSuccess: \"DUPLICATE_CHECK_SUCCESS\",\n duplicateCheckError: \"DUPLICATE_CHECK_ERROR\",\n duplicateCheckClear: \"DUPLICATE_CHECK_CLEAR\",\n\n loadMorePonds: \"LOAD_MORE_DATA\",\n loadMorePondsSuccess: \"LOAD_MORE_DATA_SUCCESS\",\n loadMorePondsError: \"LOAD_MORE_DATA_ERROR\",\n\n getAssignableUsers: \"ASSIGNABLE_USERS\",\n getAssignableUsersSuccess: \"ASSIGNABLE_USERS_SUCCESS\",\n getAssignableUsersError: \"ASSIGNABLE_USERS_ERROR\",\n\n showAlert: \"SHOW_ALERT\",\n hideAlert: \"HIDE_ALERT\",\n};\n","import { actionTypes } from \"../LeadPonds/actions/actionTypes\";\n\nconst defaultState = {\n isModalOpen: false,\n alerts: false,\n isAdmin: false,\n leadPondsCollection: [],\n usersCollection: [],\n pageSize: 40,\n totalPages: 0,\n isSaving: 0,\n hasSaveError: 0,\n isLoadingMore: 0,\n hasLoadingMoreError: 0,\n isCheckingDuplicate: 0,\n page: 1,\n pondData: null,\n errors: \"\",\n leadPondsNotificationsOn: false,\n maximumPondsReached: false,\n};\n\nconst leadPondsReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionTypes.openPondModal:\n return {\n ...state,\n isModalOpen: true,\n pondData: payload.pond,\n };\n case actionTypes.closePondModal:\n return {\n ...state,\n isModalOpen: false,\n hasDuplicate: 0,\n pondData: null,\n hasError: false,\n errorMessage: undefined,\n };\n\n case actionTypes.showAlert:\n return {\n ...state,\n alert: payload,\n errors: null,\n };\n case actionTypes.hideAlert:\n return {\n ...state,\n alert: false,\n };\n\n case actionTypes.createPond:\n return {\n ...state,\n isSaving: 1,\n hasSaveError: 0,\n };\n case actionTypes.createPondSuccess:\n return {\n ...state,\n isSaving: 0,\n leadPondsCollection: [...state.leadPondsCollection, payload.leadPond],\n hasSaveError: 0,\n };\n case actionTypes.createPondError:\n return {\n ...state,\n isSaving: 0,\n hasSaveError: 1,\n };\n\n case actionTypes.updatePond:\n return {\n ...state,\n isSaving: 1,\n hasSaveError: 0,\n };\n case actionTypes.updatePondSuccess:\n // update the passed back model\n return {\n ...state,\n leadPondsCollection: [...state.leadPondsCollection].map((lp) => {\n if (lp.id === payload.leadPond.id) {\n return payload.leadPond;\n }\n return lp;\n }),\n isSaving: 0,\n hasSaveError: 0,\n };\n case actionTypes.updatePondError:\n return {\n ...state,\n isSaving: 0,\n hasSaveError: 1,\n };\n\n case actionTypes.removePond:\n return {\n ...state,\n hasSaveError: 0,\n };\n case actionTypes.removePondSuccess:\n // update the passed back model\n return {\n ...state,\n leadPondsCollection: [...state.leadPondsCollection].filter((lp) => lp.id !== payload.id),\n hasSaveError: 0,\n };\n case actionTypes.removePondError:\n return {\n ...state,\n hasSaveError: 1,\n };\n\n case actionTypes.loadMorePonds:\n return {\n ...state,\n isLoadingMore: 1,\n hasLoadingMoreError: 0,\n };\n case actionTypes.loadMorePondsSuccess:\n return {\n ...state,\n page: state.page + 1, // increment to the next page\n isLoadingMore: 0,\n leadPondsCollection: [...state.leadPondsCollection, ...payload.page],\n totalPages: payload.total_pages,\n };\n case actionTypes.loadMorePondsError:\n return {\n ...state,\n isLoadingMore: 0,\n hasLoadingMoreError: 1,\n };\n\n case actionTypes.getAssignableUsers:\n return {\n ...state,\n isLoadingUsers: 1,\n hasLoadingUsersError: 0,\n };\n case actionTypes.getAssignableUsersSuccess:\n return {\n ...state,\n isLoadingUsers: 0,\n hasLoadingUsersError: 0,\n usersCollection: [...payload.users],\n };\n case actionTypes.getAssignableUsersError:\n return {\n ...state,\n isLoadingUsers: 0,\n hasLoadingUsersError: 1,\n };\n case actionTypes.duplicateCheck:\n return {\n ...state,\n isCheckingDuplicate: 1,\n hasDuplicate: 0,\n duplicateError: 0,\n };\n case actionTypes.duplicateCheckClear:\n return {\n ...state,\n isCheckingDuplicate: 0,\n hasDuplicate: 0,\n duplicateError: 0,\n };\n case actionTypes.duplicateCheckSuccess:\n return {\n ...state,\n isCheckingDuplicate: 0,\n hasDuplicate: (() => {\n // check if this is the pond were editing or if it's new\n const fnd = state.pondData ? payload.results.filter((r) => r.id === state.pondData.id) : [];\n const dup = payload.results.length > 0 && fnd.length === 0; // we ignore duplicates if its the same pond were editing\n return dup;\n })(),\n duplicateError: 0,\n };\n case actionTypes.duplicateCheckError:\n return {\n ...state,\n isCheckingDuplicate: 0,\n hasDuplicate: 0,\n duplicateError: 1,\n };\n\n default:\n return state;\n }\n};\n\nexport default leadPondsReducer;\n","export const submitEmailError = (data) => {\n let errors = data?.content || data?.error || \"Whoops something went wrong! Try again later.\";\n if (typeof data?.errors === \"object\") {\n const firstKey = Object.keys(data.errors)[0];\n errors = `${firstKey} ${data.errors[firstKey].join(\", \")}`;\n }\n return {\n type: \"SUBMIT_ERROR_EMAIL\",\n errors,\n isSupportError: errors?.startsWith(\"We apologize\"),\n };\n};\n\nexport const submitSendEmail = () => ({ type: \"SUBMIT_SEND_EMAIL\" });\n\nexport const updateHomeAppInviteSent = (data) => ({\n type: \"UPDATE_HOME_APP_INVITE_SENT\",\n ...data,\n});\n\nexport const clearEmailState = () => ({ type: \"CLEAR_EMAIL_STATE\" });\n","import {\n submitEmailError,\n clearEmailState,\n submitSendEmail,\n updateHomeAppInviteSent,\n} from \"../LeadIndex/actions/default\";\n\nconst defaultState = {\n isEmailSent: false,\n sendEmailError: null,\n};\n\nconst leadIndexReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case submitEmailError().type:\n return {\n ...state,\n sendEmailError: {\n errors: payload.errors,\n isSupportError: payload.isSupportError,\n },\n };\n case clearEmailState().type:\n return {\n ...state,\n isEmailSent: false,\n sendEmailError: null,\n };\n case submitSendEmail().type:\n return {\n ...state,\n isEmailSent: true,\n };\n case updateHomeAppInviteSent().type:\n if (!state.people) return state;\n return {\n ...state,\n people: state.people.map((p) =>\n p.id === payload.id ? { ...p, home_app_invite_sent: payload.inviteSent } : p,\n ),\n };\n default:\n return state;\n }\n};\n\nexport default leadIndexReducer;\n","import namespaceAction from \"../../reducers/helpers\";\n\nconst REDUCER_NAME = \"leadRoutingReducer\";\nconst wrap = namespaceAction(REDUCER_NAME);\n\nexport const setModalData = (data) => wrap({ type: \"SET_DATA\", data });\nexport const showModal = (show) => wrap({ type: \"SHOW_MODAL\", show });\nexport const selectTab = (tab) => wrap({ type: \"SET_TAB\", tab });\n\nexport const selectAgents = (agents) => wrap({ type: \"SELECT_AGENTS\", agents });\nexport const selectPond = (pond) => wrap({ type: \"SELECT_POND\", pond });\n\nexport const reset = () => wrap({ type: \"RESET\" });\n\nexport const setSaving = () => wrap({ type: \"SAVING\" });\nexport const setSaved = () => wrap({ type: \"SAVED\" });\nexport const setSaveError = (error) => wrap({ type: \"SAVE_ERROR\", error });\n","import * as actionCreators from \"../LeadRoutingTargetSelector/actions/creators\";\n\nconst defaultState = {\n availableAgents: [],\n availablePonds: [],\n\n unavailableAgents: [],\n unavailablePonds: [],\n\n show: false,\n tab: \"agents\",\n\n isSaving: false,\n isSaved: false,\n hasSaveError: false,\n\n selectedAgents: null,\n selectedPond: null,\n};\n\nconst leadRouting = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionCreators.setModalData().type:\n return {\n ...state,\n leadRuleId: payload.data.leadRuleId,\n tab: \"agents\",\n unavailableAgents: payload.data.unavailableAgents,\n unavailablePonds: payload.data.unavailablePonds,\n };\n case actionCreators.showModal().type:\n return {\n ...state,\n show: payload.show,\n };\n case actionCreators.selectTab().type:\n return {\n ...state,\n tab: payload.tab,\n };\n\n case actionCreators.setSaving().type:\n return {\n ...state,\n isSaving: true,\n isSaved: false,\n hasSaveError: false,\n };\n case actionCreators.setSaved().type:\n return {\n ...state,\n isSaving: false,\n isSaved: true,\n hasSaveError: false,\n };\n case actionCreators.setSaveError().type:\n return {\n ...state,\n isSaving: false,\n isSaved: false,\n hasSaveError: true,\n };\n\n case actionCreators.selectAgents().type:\n return {\n ...state,\n selectedAgents: [...payload.agents],\n };\n case actionCreators.selectPond().type:\n return {\n ...state,\n selectedPond: payload.pond,\n };\n case actionCreators.reset().type:\n return {\n ...state,\n selectedPond: null,\n selectedAgents: null,\n tab: \"agents\",\n show: false,\n };\n default:\n return state;\n }\n};\n\nexport default leadRouting;\n","// eslint-disable-next-line import/prefer-default-export\nexport const tryCatchHandlr = async (promise) => {\n try {\n const data = await promise;\n return [data, null];\n } catch (err) {\n return [null, err];\n }\n};\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../helpers/helper\";\n\nexport const setNotes = (notes) => ({\n type: \"SET_NOTES\",\n notes,\n});\n\nexport const toggleShowCreateForm = (bool) => ({\n type: \"TOGGLE_SHOW_FORM\",\n bool,\n});\n\nexport const toggleShowEditForm = (bool) => ({\n type: \"TOGGLE_SHOW_EDIT_FORM\",\n bool,\n});\n\nexport const toggleShowDeleteForm = (bool) => ({\n type: \"TOGGLE_SHOW_DELETE_FORM\",\n bool,\n});\n\nexport const toggleHasError = (bool) => ({\n type: \"TOGGLE_HAS_ERROR\",\n bool,\n});\n\nexport const setErrorMessage = (message) => ({\n type: \"ERROR_MESSAGE\",\n message,\n});\n\nexport const toggleExternallyVisibleAction = (bool) => ({\n type: \"EXTERNALLY_VISIBLE\",\n bool,\n});\n\nexport const toggleStarredAction = (bool) => ({\n type: \"STARRED\",\n bool,\n});\n\nexport const submitNote = (note) => ({\n type: \"SUBMIT_NOTE\",\n note,\n});\n\nexport const deleteNoteSuccess = (note) => ({\n type: \"DELETE_NOTE\",\n note,\n});\n\nexport const updateNoteSuccess = (note) => ({\n type: \"UPDATE_NOTE\",\n note,\n});\n\nconst noteUrlHelper = (note) => {\n // eslint-disable-next-line default-case\n switch (note.notable_type.toLowerCase()) {\n case \"listing\":\n return `/listings/${note.notable_id}/notes`;\n case \"project\":\n return `/projects/${note.notable_id}/notes`;\n case \"person\":\n return `/people/${note.notable_id}/notes`;\n }\n return \"\";\n};\n\nexport const createNote = (note) => {\n let req;\n return async (dispatch) => {\n req = axios.post(noteUrlHelper(note), {\n note,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(toggleHasError(true));\n dispatch(setErrorMessage(err.response.data.content));\n return;\n }\n dispatch(toggleShowCreateForm(false));\n dispatch(submitNote(res.data));\n dispatch(toggleStarredAction(false));\n dispatch(toggleExternallyVisibleAction(true));\n dispatch(toggleHasError(false));\n dispatch(setErrorMessage(\"\"));\n };\n};\n\nexport const updateNote = (note) => {\n let req;\n return async (dispatch) => {\n req = axios.patch(`${noteUrlHelper(note)}/${note.id}`, {\n note: { ...note },\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n const [, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(toggleHasError(true));\n dispatch(setErrorMessage(err.response.data.content));\n return;\n }\n dispatch(updateNoteSuccess(note));\n dispatch(toggleHasError(false));\n dispatch(setErrorMessage(\"\"));\n };\n};\n\nexport const deleteNote = (note) => async (dispatch) => {\n axios\n .delete(`${noteUrlHelper(note)}/${note.id}`, {\n data: {\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n })\n .then(() => {\n dispatch(deleteNoteSuccess(note));\n })\n .catch((err) => {\n dispatch(toggleHasError(true));\n dispatch(setErrorMessage(err.response.data.content));\n });\n};\n\nexport const toggleExternallyVisible = (note) => async (dispatch) => {\n axios\n .patch(`${noteUrlHelper(note)}/${note.id}`, {\n note: { ...note, externally_visible: !note.externally_visible },\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateNoteSuccess(res.data));\n dispatch(toggleExternallyVisibleAction(!note.externally_visible));\n })\n .catch((err) => {\n dispatch(toggleHasError(true));\n dispatch(setErrorMessage(err.response.data.content));\n });\n};\n\nexport const toggleStarred = (note) => async (dispatch) => {\n axios\n .patch(`${noteUrlHelper(note)}/${note.id}`, {\n note: { ...note, starred: !note.starred },\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(updateNoteSuccess(res.data));\n dispatch(toggleStarredAction(!note.starred));\n })\n .catch((err) => {\n dispatch(toggleHasError(true));\n dispatch(setErrorMessage(err.response.data.content));\n });\n};\n","import { toggleShowCreateForm, toggleShowEditForm, toggleShowDeleteForm, toggleHasError, setErrorMessage, toggleStarredAction, toggleExternallyVisibleAction, submitNote, deleteNoteSuccess, updateNoteSuccess } from \"../Transactions/components/Notes/actions/notesActionCreators\";\n\nconst initialState = {\n showCreateForm: false,\n showEditForm: false,\n hasError: false,\n errorMessage: null,\n current_user: {},\n notableId: null,\n notableType: '',\n notes: [],\n starred:false,\n externallyVisible:false\n}\n\nconst notesReducer= ( state = initialState, payload ) =>{\n switch (payload.type) {\n case toggleShowCreateForm().type:\n return {\n ...state,\n showCreateForm: payload.bool\n }\n case toggleShowEditForm().type:\n return {\n ...state,\n showEditForm: payload.bool\n }\n case toggleShowDeleteForm().type:\n return {\n ...state,\n showDeleteForm: payload.bool\n }\n \n case toggleHasError().type:\n return {\n ...state,\n hasError: payload.bool\n }\n case setErrorMessage().type:\n return {\n ...state,\n errorMessage: payload.message\n }\n case toggleStarredAction().type:\n return {\n ...state,\n starred: payload.bool\n }\n case toggleExternallyVisibleAction().type:\n return {\n ...state,\n externallyVisible: payload.bool\n }\n case submitNote().type:\n return {\n ...state,\n notes: [ payload.note, ...state.notes ]\n }\n case deleteNoteSuccess().type:\n return {\n ...state,\n notes: state.notes.filter(note => note.id !== payload.note.id)\n }\n case updateNoteSuccess().type:\n return {\n ...state,\n notes: state.notes.map(note => {\n return note.id === payload.note.id ? payload.note : note;\n })\n }\n default:\n return state;\n }\n}\n\nexport default notesReducer;\n","export const actionTypes = {\n GET_USER_TABLE_DATA: \"GET_USER_TABLE_DATA\",\n GET_CURRENT_USER_AND_FORM_OPTIONS: \"GET_CURRENT_USER_AND_FORM_OPTIONS\",\n GET_SOURCE_OPTIONS: \"GET_SOURCE_OPTIONS\",\n\n EDIT_USER_MODAL_TOGGLE: \"EDIT_USER_MODAL_TOGGLE\",\n EDIT_USER: \"EDIT_USER\",\n\n LOAD_EDITING_USER: \"LOAD_EDITING_USER\",\n UPDATE_EDITING_PERSON: \"UPDATE_EDITING_PERSON\",\n UPDATE_USER_SUCCESS: \"UPDATE_USER_SUCCESS\",\n SET_USERS_TABLE_ERRORS: \"SET_USERS_TABLE_ERRORS\",\n SET_USER_MODAL_ERRORS: \"SET_USER_MODAL_ERRORS\",\n CLEAR_USER_MODAL_ERRORS: \"CLEAR_USER_MODAL_ERRORS\",\n SET_IS_TABLE_DATA_LOADING: \"SET_IS_TABLE_DATA_LOADING\",\n UPDATE_SORT_ON_TABLE_COLUMN: \"UPDATE_SORT_ON_TABLE_COLUMN\",\n SET_IS_DELETING: \"SET_IS_DELETING\",\n SET_ICON_PICKER_MODAL: \"SET_ICON_PICKER_MODAL\",\n UPDATE_EDITING_PERSON_LOGIN: \"UPDATE_EDITING_PERSON_LOGIN\",\n SUSPEND_USER: \"SUSPEND_USER\",\n};\n\nconst failErrorMessage = \"unsuccessfully. Please try to refresh page or contact engineers.\";\nexport const userSettingsErrorMessages = {\n FAIL_ON_LOAD_USER_DATA: `This user Data fetching ${failErrorMessage}`,\n FAIL_ON_LOAD_TABLE_USERS_DATA: `Users Data fetching ${failErrorMessage}`,\n FAIL_ON_LOAD_SOURCES: `Source options fetching ${failErrorMessage}`,\n FAIL_ON_LOAD_FORM_OPTIONS: `Options fetching ${failErrorMessage}`,\n FAIL_ON_UPLOAD_AVATAR: `Avatar Image uploaded ${failErrorMessage}`,\n};\n\nexport default actionTypes;\n","/* eslint-disable camelcase */\nimport axios from \"axios\";\nimport ReactOnRails from \"react-on-rails\";\n\n// get city and zipcode by search input\nexport const getServiceAreaOptionsByInput = (term) =>\n axios.get(`/api/v4/account_people/service_area_search?q=${term}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n\n// get user settings table data\nexport const getUsersForAccountSettingApiFn = () =>\n axios.get(`/api/v4/account_people/`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const patchSuspendUserApiFn = (userId, action) =>\n axios.patch(`/users/${userId}/${action}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\n// search for revenue partner\nexport const getRevenuePartnerOptions = (searchText) =>\n axios.get(`/api/v4/account_people/revenue_partner_person_search?q=${searchText}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const sendInviteEmail = (userId) => axios.patch(`/users/${userId}/invite_to_okta`);\n","import { actionTypes, userSettingsErrorMessages } from \"./actionTypes\";\nimport { tryCatchHandlr } from \"../../../shared/Utilities\";\n\nimport { getUsersForAccountSettingApiFn } from \"../api\";\n\nexport const getUserTableData = () => async (dispatch) => {\n const [res, err] = await tryCatchHandlr(getUsersForAccountSettingApiFn());\n if (err) {\n dispatch({\n type: actionTypes.SET_USERS_TABLE_ERRORS,\n errors: [\n userSettingsErrorMessages.FAIL_ON_LOAD_TABLE_USERS_DATA,\n `Description: ${err.response.data.message}`,\n ],\n });\n } else {\n const updatedUsersData = res.data.map(\n ({\n avatar,\n first_name: firstName,\n last_name: lastName,\n login_user: {\n active,\n email,\n suspended,\n last_seen: lastActiveDate,\n okta: isOktaUser,\n role: agentType,\n sign_in_count: signInCount,\n okta_invited_at: oktaInvitedAt,\n okta_last_sign_in_at: oktaLastSignInAt,\n id: userId,\n show_agent_profile_page: showAgentProfilePage,\n show_on_website_roster: showOnWebsiteRoster,\n users_mlses: usersMls,\n crm_access: crmAccess,\n },\n id,\n milestones: { organization_start_date: startDate },\n position: position,\n date_added: dateAdded,\n }) => ({\n avatar,\n id,\n active,\n userId,\n fullName: `${firstName} ${lastName}`,\n lastActiveDate,\n agentType,\n position,\n isOktaUser,\n signInCount,\n oktaInvitedAt,\n oktaLastSignInAt,\n startDate,\n dateAdded,\n email,\n showAgentProfilePage,\n showOnWebsiteRoster,\n mlsAgentId: usersMls?.length ? usersMls[0].mls_agent_id : null,\n crmAccess,\n suspended,\n }),\n );\n const activeUsers = updatedUsersData.filter((user) => user.active);\n const archiveUsers = updatedUsersData.filter((user) => !user.active);\n dispatch({ type: actionTypes.GET_USER_TABLE_DATA, activeUsers, archiveUsers });\n }\n};\n\nexport const toggleUserModal = (editPersonId) => (dispatch) => {\n dispatch({ type: actionTypes.EDIT_USER_MODAL_TOGGLE, editPersonId });\n};\n\nexport const setUsersTableErrors = (errors) => (dispatch) => {\n dispatch({ type: actionTypes.SET_USERS_TABLE_ERRORS, errors });\n};\nexport const setUserModalErrors = (errors) => (dispatch) => {\n dispatch({ type: actionTypes.SET_USER_MODAL_ERRORS, errors });\n};\nexport const clearUserModalErrors = () => (dispatch) => {\n dispatch({ type: actionTypes.CLEAR_USER_MODAL_ERRORS });\n};\n\nexport const setIsTableDataLoading = (isTableDataLoading) => (dispatch) => {\n dispatch({ type: actionTypes.SET_IS_TABLE_DATA_LOADING, isTableDataLoading });\n};\nexport const updateSortOnTableColumn = (key) => (dispatch) => {\n dispatch({ type: actionTypes.UPDATE_SORT_ON_TABLE_COLUMN, key });\n};\n\nexport const updateEditedUserAllProps = (editedUser) => ({\n type: \"USER_SETTINGS_SET_EDITED_USER\",\n editedUser,\n});\n\nexport const setCrmAccessModal = (bool, userId, personId) => ({\n type: \"USER_SETTINGS_SET_CRM_ACCESS_MODAL\",\n bool,\n userId,\n personId,\n});\n\nexport const setLoadingOktaBtn = (userId) => ({\n type: \"USER_SETTINGS_SET_LOADING_OKTA_BTN\",\n userId,\n});\n\nexport const setSuccessOktaBtn = (userId) => ({\n type: \"USER_SETTINGS_SET_SUCCESS_OKTA_BTN\",\n userId,\n});\n\nexport const setErrorOktaBtn = (userId) => ({\n type: \"USER_SETTINGS_SET_ERROR_OKTA_BTN\",\n userId,\n});\n\nexport const clearOktaBtn = () => ({\n type: \"USER_SETTINGS_CLEAR_OKTA_BTN\",\n});\n\nexport const setSuspendUser = (editedUser, bool) => ({\n type: \"SET_SUSPEND_USER\",\n editedUser,\n bool,\n});\n\nexport const setSuspendError = (bool) => ({\n type: \"SET_SUSPEND_ERROR\",\n bool,\n});\n","import { produce } from \"immer\";\nimport { actionTypes } from \"../Settings/Users/actions/actionTypes\";\nimport {\n setCrmAccessModal,\n setLoadingOktaBtn,\n setSuccessOktaBtn,\n setErrorOktaBtn,\n clearOktaBtn,\n setSuspendError,\n setSuspendUser,\n} from \"../Settings/Users/actions/default\";\nimport { createCustomSelector } from \"@shared/hookHelpers\";\n\nconst initialState = {\n activeUsers: [],\n archiveUsers: [],\n isSeatsAvailable: false,\n editPersonId: null,\n isUserModalOpen: false,\n showSuspendUserError: null,\n isTableDataLoading: false,\n tableSortColumn: { key: \"fullName\", isAsc: true },\n usersTableErrors: [],\n isCrmAccessModalOpen: false,\n crmAccessUserId: null,\n loadingCrmUserIdAccess: null,\n successCrmUserIdAccess: null,\n errorCrmUserIdAccess: null,\n};\n\nconst userSettings = (state = initialState, payload) => {\n const defaultState = { ...initialState, ...state };\n\n switch (payload.type) {\n case actionTypes.GET_USER_TABLE_DATA:\n const { key: title, isAsc: ascOrder } = state.tableSortColumn;\n\n const sortByTitleAndOrder = (a, b, title, ascOrder) => {\n if (a[title] < b[title] || (!a[title] && b[title])) {\n return ascOrder ? -1 : 1;\n }\n if (a[title] > b[title] || (a[title] && !b[title])) {\n return ascOrder ? 1 : -1;\n }\n\n return 0;\n };\n return {\n ...state,\n activeUsers: payload.activeUsers.sort((a, b) => sortByTitleAndOrder(a, b, title, ascOrder)),\n archiveUsers: payload.archiveUsers.sort((a, b) => sortByTitleAndOrder(a, b, title, ascOrder)),\n isTableDataLoading: false,\n };\n\n case actionTypes.SUSPEND_USER:\n return {\n ...state,\n editingUser: payload.person,\n };\n case actionTypes.SET_USERS_TABLE_ERRORS:\n return {\n ...state,\n usersTableErrors: payload.errors.length === 0 ? [] : state.usersTableErrors.concat(payload.errors),\n };\n\n case actionTypes.SET_IS_TABLE_DATA_LOADING:\n return {\n ...state,\n isTableDataLoading: payload.isTableDataLoading,\n };\n\n case actionTypes.UPDATE_SORT_ON_TABLE_COLUMN:\n if (state.tableSortColumn.key === payload.key) {\n return {\n ...state,\n tableSortColumn: { key: payload.key, isAsc: !state.tableSortColumn.isAsc },\n };\n } else {\n return {\n ...state,\n tableSortColumn: { key: payload.key, isAsc: true },\n };\n }\n case actionTypes.EDIT_USER_MODAL_TOGGLE:\n return produce(state, (draft) => {\n draft.isUserModalOpen = !state.isUserModalOpen;\n draft.editPersonId = payload.editPersonId;\n });\n case setCrmAccessModal().type:\n return produce(state, (draft) => {\n draft.isCrmAccessModalOpen = payload.bool;\n draft.crmAccessUserId = payload.userId;\n });\n case setLoadingOktaBtn().type:\n return produce(state, (draft) => {\n draft.loadingCrmUserIdAccess = payload.userId;\n });\n case setSuccessOktaBtn().type:\n return produce(state, (draft) => {\n draft.loadingCrmUserIdAccess = null;\n });\n case setErrorOktaBtn().type:\n return produce(state, (draft) => {\n draft.loadingCrmUserIdAccess = null;\n draft.errorCrmUserIdAccess = payload.userId;\n });\n case clearOktaBtn().type:\n return produce(state, (draft) => {\n draft.errorCrmUserIdAccess = null;\n });\n case setSuspendUser().type:\n return {\n ...state,\n activeUsers: state.activeUsers.map((user) => {\n if (user.userId === payload.editedUser) {\n return { ...user, suspended: payload.bool };\n }\n return user;\n }),\n };\n case setSuspendError().type:\n return produce(state, (draft) => {\n draft.showSuspendUserError = payload.bool;\n });\n default:\n return defaultState;\n }\n};\n\nexport default userSettings;\n\n// Selectors\nconst useCreateSelector = createCustomSelector(({ userSettings }) => userSettings);\n\nexport const useIsCrmAccessModalOpenSelector = () => useCreateSelector((state) => state.isCrmAccessModalOpen);\nexport const useCrmAccessUserId = () => useCreateSelector((state) => state.crmAccessUserId);\nexport const useLoadingCrmUserIdAccess = () => useCreateSelector((state) => state.loadingCrmUserIdAccess);\nexport const useSuccessCrmUserIdAcccess = () => useCreateSelector((state) => state.successCrmUserIdAccess);\nexport const useErrorCrmUserIdAccess = () => useCreateSelector((state) => state.errorCrmUserIdAccess);\nexport const useSuspendedUserError = () => useCreateSelector((state) => state.showSuspendUserError);\n","import axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst cache = {};\n\nconst cachedToken = () => {\n const exp = JSON.parse(atob(cache.data?.token?.split(\".\")[1] || \"e30=\")).exp || 0;\n return (exp - 30) * 1000 > Date.now() ? cache.data.token : \"\";\n};\n\nconst getAiToken = async () => {\n const token = cachedToken();\n if (!token && !cache.promise) {\n cache.promise = caseTransformingAxios\n .post(\"/api/v4/ai_assist/token\")\n .then((res) => {\n cache.promise = null;\n cache.data = res.data;\n return res.data;\n })\n .catch(() => ({ apiUrl: \"\", token: \"\" }));\n }\n return (token && cache.data) || cache.promise;\n};\n\nconst authInterceptor = async (config) => {\n const { token } = await getAiToken();\n return {\n ...config,\n paramsSerializer: { indexes: null },\n headers: { ...config.headers, Authorization: `Bearer ${token}` },\n };\n};\n\nconst getExternalApi = (apiUrl) => {\n if (cache[apiUrl]) return cache[apiUrl];\n\n cache[apiUrl] = axios.create({ baseURL: apiUrl });\n cache[apiUrl].interceptors.request.use(authInterceptor);\n return cache[apiUrl];\n};\n\nexport { getAiToken, getExternalApi };\n","import { responseDataToCamelCase } from \"@shared/v2/caseTransformingAxios\";\nimport { isEmpty, startCase } from \"lodash\";\n\nconst IS_REQUIRED = \"is a required field.\";\n\nconst validateBirthdate = (detail, birthdate) => {\n if (!birthdate) return;\n const [year, month, day] = birthdate.split(\"-\");\n if (!month) detail.birthdate = \"Cannot save without a month\";\n if (!day) detail.birthdate = \"Cannot save without a day\";\n if (year && !month && !day) detail.birthdate = \"Cannot save without a month and day\";\n};\n\nexport const validateLeadForm = (person) => {\n const detail = {};\n if (!(person.firstName || \"\").trim()) detail[\"First Name\"] = IS_REQUIRED;\n if (!(person.lastName || \"\").trim()) detail[\"Last Name\"] = IS_REQUIRED;\n if (!person.sourceId) detail.Source = IS_REQUIRED;\n validateBirthdate(detail, person.milestones.birthdate);\n\n return { errors: isEmpty(detail) ? [] : [{ detail }] };\n};\n\nexport const validateUserForm = (person) => {\n const detail = {};\n const isOperator = person.displayedPosition === \"Operator\";\n if (!(person.firstName || \"\").trim()) detail[\"First Name\"] = IS_REQUIRED;\n if (!(person.lastName || \"\").trim()) detail[\"Last Name\"] = IS_REQUIRED;\n validateBirthdate(detail, person.milestones.birthdate);\n if (!(person.emailDetailsAttributes?.find((e) => e.position === 1)?.value || \"\").trim()) {\n detail.Email = IS_REQUIRED;\n }\n if (!person.position && !isOperator) detail.Position = IS_REQUIRED;\n if (!person.agentStatus) detail[\"Production Status\"] = IS_REQUIRED;\n if (!person.id && typeof person.loginUserAttributes?.inviteToOkta === \"undefined\") {\n detail[\"Invite User selection\"] = IS_REQUIRED;\n }\n if (person.isRealEstateLlc && !person.individualRealEstateLlcName) {\n detail[\"Real Estate LLC Name\"] = IS_REQUIRED;\n }\n\n person.loginUserAttributes?.customLinksAttributes?.forEach((customLink) => {\n if (!customLink.title) detail[\"Custom Link Title\"] = \"is missing\";\n if (!customLink.url) detail[\"Custom Link URL\"] = \"is missing\";\n });\n\n if (person.agentStatus && person.agentStatus !== \"Unlicensed\") {\n person.loginUserAttributes?.usersMlsesAttributes?.forEach((mls) => {\n if (!mls.mlsId) detail[\"Licensed Agent \"] = \"is missing MLS ID\";\n if (!mls.mlsAgentId) detail[\"Licensed Agent\"] = \"is missing MLS Agent ID\";\n });\n }\n\n return { errors: isEmpty(detail) ? [] : [{ detail }] };\n};\n\nexport const transformFormOptions = (formOptions) => ({\n ...formOptions,\n brokerageOptions: formOptions.brokerageOptions?.map((option) => ({\n label: option,\n value: option,\n })),\n militaryStatusOptions: formOptions.militaryStatusOptions?.map((option) => ({\n label: option,\n value: option,\n })),\n positionOptions: formOptions.positionOptions?.map((option) => ({\n label: option,\n value: option,\n })),\n mlsOptions: formOptions.mlsOptions?.map((option) => ({\n label: option.name,\n value: option.id,\n description: option.description,\n })),\n maritalStatusOptions: formOptions.maritalStatusOptions.map((option) => ({\n label: option.displayName || option,\n value: option.value || option,\n })),\n militaryStatusOptions: formOptions.militaryStatusOptions?.map((option) => ({\n label: option,\n value: option,\n })),\n tagsOptions: formOptions.tagsOptions.map((option) => ({\n label: option.name,\n value: option.name,\n })),\n timezoneOptions: formOptions.timezoneOptions.map((option) => ({\n label: option.displayName,\n value: option.value,\n })),\n stateOptions: Object.entries(formOptions.stateOptions).map(([category, options]) => ({\n category: startCase(category),\n options: options.map(({ name, code }) => ({\n label: `${name} (${code})`,\n value: code,\n })),\n })),\n primaryAgentOptions: formOptions.primaryAgentOptions?.map((option) => ({\n label: option.fullName,\n value: option.id,\n })),\n statusOptions: formOptions.statusOptions?.map((option) => ({\n label: option.displayName,\n value: option.value,\n })),\n customDateOptions: formOptions.milestonesOptions\n .reduce((result, item) => {\n if (!item.default) result.push(item);\n return result;\n }, [])\n .sort((a, b) => a.displayName.localeCompare(b.displayName)),\n leadStageOptions: [\n {\n label: \"Lead Stages\",\n value: \"Lead Stages\",\n header: \"Lead Stages\",\n },\n ].concat(\n formOptions.stageOptions?.map((option) => ({\n label: option,\n value: option,\n type: \"lead\",\n })),\n ),\n candidateStageOptions: [\n {\n label: \"Candidate/Recruit Stages\",\n value: \"Candidate/Recruit Stages\",\n header: \"Candidate/Recruit Stages\",\n },\n ].concat(\n formOptions.candidateStageOptions?.map((option) => ({\n label: option,\n value: option,\n type: \"candidate\",\n })),\n ),\n leadTypeOptions: formOptions.leadTypeOptions?.map((option) => ({\n label: option.displayName,\n value: option.value,\n })),\n typeNameOptions: formOptions.typeNameOptions?.map((option) => ({\n label: option.displayName,\n value: option.value,\n })),\n});\n\nexport const transformSources = (sources) =>\n sources.map((source) => ({\n label: source.text,\n value: source.id,\n }));\n\nconst transformLoginUser = (loginUser) => {\n if (!loginUser) return null;\n const { customLinks, usersMlses, ...loginUserAttributes } = loginUser;\n return {\n customLinksAttributes: customLinks,\n usersMlsesAttributes: usersMlses,\n ...loginUserAttributes,\n };\n};\n\nexport const transformPerson = (rawPerson) => {\n if (!rawPerson) return null;\n const { addresses, emailDetails, loginUser, milestones, phoneDetails, ...person } =\n responseDataToCamelCase(rawPerson);\n return {\n addressesAttributes: addresses,\n emailDetailsAttributes: emailDetails,\n loginUserAttributes: transformLoginUser(loginUser),\n phoneDetailsAttributes: phoneDetails,\n milestones: rawPerson.milestones,\n ...person,\n };\n};\n","export const linkFractal = (url = '', name = '') => `${name}` \n\nexport const messageFractal = (count = 0, type = 'Email', earlyBreak = false) => `${type} is already in use for ${count}${earlyBreak ? \"
\" : ' '} contact(s):
`\n","import axios from \"axios\";\nimport { differenceWith, fromPairs, isEqual, set, startCase, toPairs } from \"lodash\";\nimport { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { caseTransformingAxios, requestDataToSnakeCase } from \"@shared/v2/caseTransformingAxios\";\nimport { getExternalApi } from \"@shared/externalApi\";\nimport {\n transformFormOptions,\n transformPerson,\n transformSources,\n validateLeadForm,\n validateUserForm,\n} from \"./helpers\";\nimport { linkFractal, messageFractal } from \"@shared/fractals\";\n\nconst INIT_USER = {\n addressesAttributes: [],\n agentStatus: null,\n emailDetailsAttributes: [],\n isLead: false,\n loginUserAttributes: {\n active: true,\n role: \"Agent\",\n licenseId: null,\n showAgentProfilePage: false,\n showOnWebsiteRoster: false,\n bio: null,\n customLinksAttributes: [],\n subdomain: null,\n },\n phoneDetailsAttributes: [],\n exportToRoster: \"true\",\n};\n\nconst initialState = {\n customDateOptions: {},\n formOptions: {},\n formOptionsLoading: true,\n loading: false,\n originalPerson: {},\n person: {},\n errors: [],\n showPhoneContext: null,\n};\n\nconst validOrderFinder = (order) => (customLink) => customLink.order === order && !(\"_destroy\" in customLink);\n\nconst getFormData = createAsyncThunk(\n \"contacts/getFormOptions\",\n ({ modalType, personId, person }, thunkApi) => {\n const messagingServiceUrl = thunkApi.getState().messaging.messagingServiceUrl;\n const messagingApi = getExternalApi(messagingServiceUrl);\n const getTotalConversationCount = (personUuid, phoneNumber) =>\n messagingApi\n .get(`/Conversation/SmsAndGroupSmsCountForPersonAddressPair/${personUuid}/${phoneNumber}`, {\n signal: thunkApi.signal,\n })\n .then((res) => res.data.total)\n .catch(() => 0);\n const personPromise = personId\n ? axios.get(`/api/v4/${modalType === \"lead\" ? \"contact_people\" : \"account_people\"}/${personId}`, {\n signal: thunkApi.signal,\n })\n : Promise.resolve({ data: modalType === \"user\" ? INIT_USER : person });\n const augmentedPhoneDetailsPersonPromise = personPromise\n .then((res) => transformPerson(res.data))\n .then(async (person) => {\n if (!person) return person;\n const { phoneDetailsAttributes = [] } = person;\n const modifiedDetailsAttributes = await Promise.all(\n phoneDetailsAttributes.map((phone) =>\n getTotalConversationCount(person.uuid, phone.value).then((archiveConversationsCount) => ({\n ...phone,\n archiveConversationsCount,\n })),\n ),\n ).catch(() => phoneDetailsAttributes);\n return { ...person, phoneDetailsAttributes: modifiedDetailsAttributes };\n });\n return Promise.all([\n augmentedPhoneDetailsPersonPromise,\n caseTransformingAxios\n .get(\n modalType === \"lead\"\n ? \"/api/v4/contact_people/form_options\"\n : \"/api/v4/account_people/form_options\",\n { signal: thunkApi.signal },\n )\n .then((res) => transformFormOptions(modalType === \"user\" ? res.data.formOptions : res.data)),\n caseTransformingAxios.get(\"/sources\").then((res) => transformSources(res.data.sources)),\n ])\n .then(([person, formOptions, sourceOptions]) => ({\n person,\n formOptions: {\n ...formOptions,\n sourceOptions,\n },\n }))\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n },\n);\n\nconst upsertPerson = createAsyncThunk(\"contacts/savePerson\", ({ modalType }, thunkApi) => {\n const { originalPerson, person } = thunkApi.getState().contactsReducer;\n const response = modalType === \"lead\" ? validateLeadForm(person) : validateUserForm(person);\n if (response.errors.length > 0) return Promise.reject(thunkApi.rejectWithValue(response));\n\n const savePerson = originalPerson.id\n ? fromPairs(differenceWith(toPairs(person), toPairs(originalPerson), isEqual))\n : person;\n\n const phoneChanges = originalPerson.id\n ? differenceWith(\n person.phoneDetailsAttributes,\n originalPerson.phoneDetailsAttributes,\n (a, b) => (a.value || \"\").replace(/\\D/g, \"\") === (b.value || \"\").replace(/\\D/g, \"\"),\n )\n : [];\n\n const changedPhoneDetailsAttributes = phoneChanges.filter((phone) => phone.archiveConversationsCount > 0);\n if (!person.phoneRemovalAck && changedPhoneDetailsAttributes.length > 0) {\n const changedNumbers = changedPhoneDetailsAttributes.map((phone) => {\n return {\n currentNumber: phone._destroy ? null : phone.value,\n previousNumber: originalPerson.phoneDetailsAttributes?.find(\n (originalPhone) => originalPhone.id === phone.id,\n )?.value,\n };\n });\n\n const conversationCount = changedPhoneDetailsAttributes.reduce(\n (acc, phone) => acc + phone.archiveConversationsCount,\n 0,\n );\n\n return Promise.reject(\n thunkApi.rejectWithValue({\n type: \"showPhoneContext\",\n changedNumbers,\n conversationCount,\n }),\n );\n }\n\n return axios[person.id ? \"put\" : \"post\"](\n `/api/v4/${modalType === \"lead\" ? \"contact_people\" : \"account_people\"}${person.id ? `/${person.id}` : \"\"}`,\n {\n person: {\n ...requestDataToSnakeCase({\n ...savePerson,\n phoneDetailsAttributes: person.phoneDetailsAttributes,\n phoneRemovalAck: person.phoneRemovalAck || person.phoneDetailsAttributes?.some((d) => d._destroy),\n }),\n milestones: savePerson.milestones,\n },\n },\n {\n headers: {\n \"x-csrf-token\": ReactOnRails.authenticityToken(),\n },\n signal: thunkApi.signal,\n },\n )\n .then((res) => transformPerson(res.data))\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst uploadAvatar = createAsyncThunk(\"contacts/uploadAvatar\", ({ file, personId }, thunkApi) => {\n const formData = new FormData();\n formData.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n formData.append(\"person[avatar]\", file);\n return caseTransformingAxios\n .post(`/api/v4/person_detail/upload_avatar/${personId}`, formData, { signal: thunkApi.signal })\n .then((res) => res.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst contactsReducer = createSlice({\n initialState,\n name: \"contacts\",\n reducers: {\n setErrors: (state, { payload = [] }) => {\n state.errors = payload;\n },\n setPersonValue: (state, { payload }) => {\n set(state.person, payload.key, payload.value);\n },\n setShowPhoneContext: (state, { payload }) => {\n state.showPhoneContext = payload;\n },\n addCustomLink: (state, { payload }) => {\n const { customLinksAttributes } = state.person.loginUserAttributes;\n customLinksAttributes.push({\n icon: \"fa6 fa6-link\",\n order: customLinksAttributes.filter((customLink) => !customLink._destroy).length + 1,\n category: \"social\",\n });\n },\n setCustomLink: (state, { payload }) => {\n const { customLinksAttributes } = state.person.loginUserAttributes;\n const customLinkIndex = customLinksAttributes.findIndex(validOrderFinder(payload.order));\n customLinksAttributes[customLinkIndex] = { ...customLinksAttributes[customLinkIndex], ...payload };\n },\n deleteCustomLink: (state, { payload }) => {\n const { customLinksAttributes } = state.person.loginUserAttributes;\n const customLinkIndex = customLinksAttributes.findIndex(validOrderFinder(payload.order));\n customLinksAttributes[customLinkIndex]._destroy = true;\n customLinksAttributes\n .filter((customLink) => customLink._destroy)\n .forEach((customLink, i) => {\n customLink.order = -i - 1;\n });\n customLinksAttributes\n .filter((customLink) => !customLink._destroy)\n .forEach((customLink, i) => {\n customLink.order = i + 1;\n });\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(getFormData.pending, (state) => {\n state.formOptionsLoading = true;\n state.errors = [];\n })\n .addCase(getFormData.fulfilled, (state, { payload }) => {\n if (payload.person) {\n state.originalPerson = payload.person;\n state.person = payload.person;\n }\n state.formOptions = payload.formOptions;\n state.formOptionsLoading = false;\n })\n .addCase(getFormData.rejected, (state) => {\n state.errors = [\"Failed to load form options. Please try again later.\"];\n state.formOptionsLoading = false;\n });\n\n builder\n .addCase(upsertPerson.pending, (state) => {\n state.errors = [];\n state.loading = true;\n })\n .addCase(upsertPerson.fulfilled, (state, { payload }) => {\n state.originalPerson = payload;\n state.person = payload;\n state.loading = false;\n })\n .addCase(upsertPerson.rejected, (state, { payload, ...props }) => {\n if (payload?.type === \"showPhoneContext\") {\n state.showPhoneContext = payload;\n state.loading = false;\n return;\n }\n\n const errBody = payload?.errors?.[0] || {};\n let errors = [];\n\n let phoneValidations = payload?.errors?.[0]?.context?.phone_validations;\n let emailValidations = payload?.errors?.[0]?.context?.email_validations;\n\n if (phoneValidations?.length > 0) {\n const messageError = messageFractal(phoneValidations.length, \"Mobile phone number\");\n const linksError = phoneValidations\n .map((validation) => linkFractal(validation.url, validation.name))\n .join(\", \");\n\n errors.push(`${messageError}${linksError}`);\n }\n\n if (emailValidations?.length > 0) {\n const acctDupes = Object.entries(emailValidations[0]);\n const messageError = messageFractal(acctDupes.length, \"Email\");\n const linksError = acctDupes\n .map(([slug, fullName]) => linkFractal(`/people/${slug}`, fullName))\n .join(\", \");\n\n errors.push(`${messageError}${linksError}`);\n }\n\n Object.entries(errBody?.detail).forEach(([key, value]) =>\n errors.push(`${startCase(key.split(\".\")?.[0])}: ${value}`),\n );\n\n if (errors.length === 0) errors = [\"Failed to save person. Please try again later.\"];\n\n state.errors = errors;\n state.loading = false;\n });\n\n builder\n .addCase(uploadAvatar.pending, (state) => {\n state.loading = true;\n })\n .addCase(uploadAvatar.fulfilled, (state, { payload }) => {\n state.person.avatarUrl = payload.data.attributes.avatarUrl;\n state.loading = false;\n })\n .addCase(uploadAvatar.rejected, (state, { payload }) => {\n let errors = [];\n Object.entries(payload.errors?.[0]?.detail || {}).forEach(([key, value]) =>\n errors.push(`${startCase(key.split(\".\")?.[0])}: ${value}`),\n );\n if (errors.length === 0) errors = [\"Failed to upload profile photo. Please try again later.\"];\n\n state.errors = errors;\n state.loading = false;\n });\n },\n});\n\nexport { getFormData, upsertPerson, uploadAvatar };\n\nexport const {\n addCustomLink,\n setCustomLink,\n deleteCustomLink,\n setErrors,\n setPersonValue,\n setShowPhoneContext,\n} = contactsReducer.actions;\n\nexport default contactsReducer.reducer;\n","import curriedNamespaceAction from \"../../../../reducers/helpers\";\n\nconst REDUCER_BRANDING = \"superUserBranding\";\nconst wrap = curriedNamespaceAction(REDUCER_BRANDING);\n\nexport const setFormData = (keyValue) => wrap({ type: \"SET_FORM_VALUE\", keyValue });\nexport const addOperationalPartner = () => wrap({ type: \"ADD_PARTNER\" });\nexport const updateOperationalPartner = (data) => wrap({ type: \"UPDATE_PARTNER\", ...data });\nexport const removeOperationalPartner = (data) => wrap({ type: \"REMOVE_PARTNER\", ...data });\n\nexport const addCommOnlyOperationalPartner = () => wrap({ type: \"ADD_COMM_PARTNER\" });\nexport const updateCommOnlyOperationalPartner = (data) => wrap({ type: \"UPDATE_COMM_PARTNER\", ...data });\nexport const removeCommOnlyOperationalPartner = (data) => wrap({ type: \"REMOVE_COMM_PARTNER\", ...data });\n\nexport const addTransactionReportAccess = () => wrap({ type: \"ADD_TRANSACTION_REPORT_ACCESS\" });\nexport const updateTransactionReportAccess = (data) => wrap({ type: \"UPDATE_TRANSACTION_REPORT_ACCESS\", ...data });\nexport const removeTransactionReportAccess = (data) => wrap({ type: \"REMOVE_TRANSACTION_REPORT_ACCESS\", ...data });\n\nexport const saveForm = (data) => wrap({ type: \"SAVE_FORM\", ...data });\nexport const saveFormError = (data) => wrap({ type: \"SAVE_FORM_ERROR\", ...data });\nexport const saveFormSuccess = (data) => wrap({ type: \"SAVE_FORM_SUCCESS\", ...data });\n","import { produce } from \"immer\";\nimport * as actionCreators from \"../Support/SuperUsers/Branding/actions/creators\";\n\nexport const defaultState = {\n isSaving: false,\n saveError: null,\n iSearchingUsers: false,\n id: null,\n brands: [],\n brokerages: [],\n partners: [],\n placeBrandedAccounts: [],\n activePlaceTeams: [],\n formData: {},\n dbBrandData: null,\n};\n\nexport const superUsersBranding = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionCreators.setFormData().type:\n return produce(state, (draft) => {\n draft.formData = { ...state.formData, ...payload.keyValue };\n });\n case actionCreators.addOperationalPartner().type:\n const newPartners = state.formData?.operationalPartners ? [...state.formData.operationalPartners] : [];\n\n return produce(state, (draft) => {\n draft.formData.operationalPartners = [...newPartners, { value: null }];\n });\n case actionCreators.updateOperationalPartner().type:\n return produce(state, (draft) => {\n const updatedPartners = draft.formData.operationalPartners\n ? [...draft.formData.operationalPartners]\n : [];\n if (updatedPartners[payload.index]) {\n updatedPartners[payload.index].value = payload.value;\n }\n draft.formData.operationalPartners = updatedPartners;\n });\n case actionCreators.removeOperationalPartner().type:\n const reducedPartners = state.formData.operationalPartners\n ? [...state.formData.operationalPartners]\n : [];\n reducedPartners.splice(payload.index, 1);\n\n return produce(state, (draft) => {\n draft.formData.operationalPartners = reducedPartners;\n });\n case actionCreators.addCommOnlyOperationalPartner().type:\n return produce(state, (draft) => {\n const newPartners = state.formData?.commOnlyOperationalPartners\n ? [...state.formData.commOnlyOperationalPartners]\n : [];\n draft.formData.commOnlyOperationalPartners = [...newPartners, { value: null }];\n });\n case actionCreators.updateCommOnlyOperationalPartner().type:\n return produce(state, (draft) => {\n const updatedPartners = draft.formData.commOnlyOperationalPartners\n ? [...draft.formData.commOnlyOperationalPartners]\n : [];\n if (updatedPartners[payload.index]) {\n updatedPartners[payload.index].value = payload.value;\n }\n draft.formData.commOnlyOperationalPartners = updatedPartners;\n });\n case actionCreators.removeCommOnlyOperationalPartner().type:\n return produce(state, (draft) => {\n const reducedPartners = state.formData.commOnlyOperationalPartners\n ? [...state.formData.commOnlyOperationalPartners]\n : [];\n reducedPartners.splice(payload.index, 1);\n\n draft.formData.commOnlyOperationalPartners = reducedPartners;\n });\n case actionCreators.addTransactionReportAccess().type:\n return produce(state, (draft) => {\n const newPeople = state.formData?.transactionReportAccessUsers\n ? [...state.formData.transactionReportAccessUsers]\n : [];\n draft.formData.transactionReportAccessUsers = [...newPeople, { value: null }];\n });\n case actionCreators.updateTransactionReportAccess().type:\n return produce(state, (draft) => {\n const updatedPeople = draft.formData.transactionReportAccessUsers\n ? [...draft.formData.transactionReportAccessUsers]\n : [];\n if (updatedPeople[payload.index]) {\n updatedPeople[payload.index].value = payload.value;\n }\n draft.formData.transactionReportAccessUsers = updatedPeople;\n });\n case actionCreators.removeTransactionReportAccess().type:\n return produce(state, (draft) => {\n const reducedPeople = state.formData.transactionReportAccessUsers\n ? [...state.formData.transactionReportAccessUsers]\n : [];\n reducedPeople.splice(payload.index, 1);\n\n draft.formData.transactionReportAccessUsers = reducedPeople;\n });\n case actionCreators.saveForm().type:\n return produce(state, (draft) => {\n draft.isSaving = true;\n draft.saveError = null;\n });\n case actionCreators.saveFormSuccess().type:\n return produce(state, (draft) => {\n draft.isSaving = false;\n });\n case actionCreators.saveFormError().type:\n const newState = produce(state, (draft) => {\n draft.isSaving = false;\n draft.saveError = payload.error;\n });\n return newState;\n default:\n return state;\n }\n};\n","import curriedNamespaceAction from \"../../reducers/helpers\";\n\nconst REDUCER_PSEARCH = \"partnerSearch\";\nconst wrap = curriedNamespaceAction(REDUCER_PSEARCH);\n\nexport const changeSearchTab = (tab) => wrap({ type: \"SET_SEARCH_TAB\", tab });\nexport const changeSearchTerm = (term) => wrap({ type: \"SET_SEARCH_TERM\", term });\nexport const changePlaceOnlySearch = (checked) => wrap({ type: \"SET_PLACE_SEARCH\", checked });\nexport const changeIsSearching = (searching) => wrap({ type: \"SET_IS_SEARCHING\", searching });\nexport const setDetailsId = (id) => wrap({ type: \"OPEN_DETAILS\", id });\n\nexport const getDetails = () => wrap({ type: \"GET_DETAILS\" });\nexport const getDetailsError = (error) => wrap({ type: \"GET_DETAILS_ERROR\", error });\nexport const getDetailsSuccess = (data) => wrap({ type: \"GET_DETAILS_SUCCESS\", data });\n\nexport const searchPartners = () => wrap({ type: \"SEARCH_PARTNERS\" });\nexport const searchPartnersError = (error) => wrap({ type: \"SEARCH_PARTNERS_ERROR\", error });\nexport const searchPartnersSuccess = (results) => wrap({ type: \"SEARCH_PARTNERS_SUCCESS\", results });\n","import { produce } from \"immer\";\nimport * as actionCreators from \"../PartnerSearch/actions/creators\";\n\nexport const defaultState = {\n newSourceId: null,\n searchTab: \"google_place\",\n searchTerm: \"\",\n searchPlaceOnly: true,\n results: [],\n isSearching: false,\n hasSearchingError: false,\n hasOtherPartnersInSearch: false,\n detailsId: null,\n loadingDetails: false,\n partnerDetails: null,\n hasLoadingError: false,\n};\n\nconst partnerSearchReducer = (state = defaultState, payload) => {\n switch (payload.type) {\n case actionCreators.changeSearchTab().type:\n return produce(state, (draft) => {\n draft.searchTab = payload.tab;\n draft.searchTerm = \"\";\n });\n case actionCreators.changeSearchTerm().type:\n return produce(state, (draft) => {\n draft.searchTerm = payload.term;\n });\n case actionCreators.changePlaceOnlySearch().type:\n return produce(state, (draft) => {\n draft.searchPlaceOnly = payload.checked;\n });\n case actionCreators.changeIsSearching().type:\n return produce(state, (draft) => {\n draft.isSearching = payload.searching;\n if (payload.searching) {\n draft.results = [];\n }\n });\n case actionCreators.setDetailsId().type:\n return produce(state, (draft) => {\n draft.detailsId = payload.id;\n });\n\n case actionCreators.getDetails().type:\n return produce(state, (draft) => {\n draft.loadingDetails = true;\n draft.hasLoadingError = false;\n });\n case actionCreators.getDetailsError().type:\n return produce(state, (draft) => {\n draft.loadingDetails = false;\n draft.hasLoadingError = true;\n });\n case actionCreators.getDetailsSuccess().type:\n return produce(state, (draft) => {\n draft.loadingDetails = false;\n draft.hasLoadingError = false;\n draft.partnerDetails = payload?.data?.data;\n });\n\n case actionCreators.searchPartners().type:\n return produce(state, (draft) => {\n draft.isSearching = true;\n draft.hasSearchingError = false;\n draft.hasOtherPartnersInSearch = false;\n });\n case actionCreators.searchPartnersError().type:\n return produce(state, (draft) => {\n draft.isSearching = false;\n draft.results = [];\n draft.hasSearchingError = true;\n draft.hasOtherPartnersInSearch = false;\n });\n case actionCreators.searchPartnersSuccess().type:\n return produce(state, (draft) => {\n draft.isSearching = false;\n draft.hasSearchingError = false;\n draft.results = payload.results?.people;\n });\n default:\n return state;\n }\n};\n\nexport default partnerSearchReducer;\n","import { enableMapSet } from \"immer\";\nimport reports from \"./reportsReducer\";\nimport assignedPlans from \"./assignedPlans\";\nimport autoPlans from \"./autoPlans\";\nimport autoPlanEdit from \"./autoPlanEdit\";\nimport businessSettings from \"./businessSettingsReducer\";\nimport triggers from \"./triggers\";\nimport milestones from \"./milestonesReducer\";\nimport addMarketReport from \"./addMarketReportReducer\";\nimport accountFinancial from \"./accountFinancialReducer\";\nimport transactionFinancial from \"./transactionFinancialReducer\";\nimport { tdpAutoPlansReducer } from \"./tdpAutoPlansReducer\";\nimport { tdpDatesReducer } from \"./tdpDatesReducer\";\nimport { tdpDetailsReducer } from \"./tdpDetailsReducer\";\nimport { tdpDocumentsReducer } from \"./tdpDocumentsReducer\";\nimport { tdpFinancialsReducer } from \"./tdpFinancialsReducer\";\nimport { tdpTimelineReducer } from \"./tdpTimelineReducer\";\nimport { tdpTasksReducer } from \"./tdpTasksReducer\";\nimport { tdpMarketingReducer } from \"./tdpMarketingReducer\";\nimport { tdpFeedbackReducer } from \"./tdpFeedbackReducer\";\nimport { tdpPeopleReducer } from \"./tdpPeopleReducer\";\nimport { tdpInteractionsReducer } from \"./tdpInteractionsReducer\";\nimport { tdpNotesReducer } from \"./tdpNotesReducer\";\nimport { tdpTitleAndEscrowReducer } from \"./tdpTitleAndEscrowReducer\";\nimport tdpThumbnailSelector from \"./tdpThumbnailSelectorReducer\";\nimport personDetail from \"./personalDetailReducer/personDetailReducer\";\nimport leadPonds from \"./leadPondsReducer\";\nimport LeadIndex from \"./leadIndexReducer\";\nimport leadRouting from \"./leadRouteReducer\";\nimport notesData from \"./notesReducer\";\nimport userSettings from \"./userSettingsReducer\";\nimport contactsReducer from \"./contactsReducer\";\nimport { superUsersBranding } from \"./superUsersBrandingReducer\";\nimport partnerSearch from \"./partnerSearchReducer\";\n\nenableMapSet();\n\nexport default {\n accountFinancial,\n addMarketReport,\n assignedPlans,\n autoPlanEdit,\n autoPlans,\n businessSettings,\n contactsReducer,\n LeadIndex,\n leadPonds,\n leadRouting,\n milestones,\n notesData,\n partnerSearch,\n personDetail,\n reports,\n superUsersBranding,\n tdpAutoPlansReducer,\n tdpDatesReducer,\n tdpDetailsReducer,\n tdpDocumentsReducer,\n tdpFeedbackReducer,\n tdpFinancialsReducer,\n tdpInteractionsReducer,\n tdpMarketingReducer,\n tdpNotesReducer,\n tdpPeopleReducer,\n tdpTasksReducer,\n tdpThumbnailSelector,\n tdpTimelineReducer,\n tdpTitleAndEscrowReducer,\n transactionFinancial,\n triggers,\n userSettings,\n};\n","import { configureStore as reduxConfigureStore } from \"@reduxjs/toolkit\";\nimport rootReducer from \"../reducers\";\n\nconst configureStore = (preloadedState) =>\n reduxConfigureStore({\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({ immutableCheck: false, serializableCheck: false }),\n preloadedState,\n reducer: rootReducer,\n });\n\nexport default configureStore;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst CloseButton = ({ children, className, onClick, ...props }) => (\n \n {children}\n \n);\nCloseButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n onClick: PropTypes.func.isRequired,\n};\nCloseButton.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport default CloseButton;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport CloseButton from \"./CloseButton\";\n\nconst BASE_CLASSES = \"tw-p-15px tw-border tw-border-solid tw-rounded-4px\";\n\nconst ALERT_VARIANTS_STYLE_CLASSES = {\n success: \"tw-text-color-3c763d tw-bg-color-dff0d8 tw-border-color-d6e9c6\",\n info: \"tw-text-color-31708f tw-bg-color-d9edf7 tw-border-color-bce8f1\",\n warning: \"tw-text-color-8a6d3b tw-bg-color-fcf8e3 tw-border-color-faebcc\",\n danger: \"tw-text-color-a94442 tw-bg-color-f2dede tw-border-color-ebccd1\",\n};\n\nconst variantClasses = (variant) => {\n if (variant in ALERT_VARIANTS_STYLE_CLASSES) {\n return ALERT_VARIANTS_STYLE_CLASSES[variant];\n }\n\n return \"tw-border-transparent\";\n};\n\nconst marginClasses = (deprecatedOverrideMarginClasses) => {\n if (deprecatedOverrideMarginClasses !== null) {\n return deprecatedOverrideMarginClasses;\n }\n\n return \"tw-mb-20px\";\n};\n\nexport const Alert = ({ variant, deprecatedOverrideMarginClasses, children, className, ...props }) => {\n const classes = `\n ${BASE_CLASSES}\n ${variantClasses(variant)}\n ${marginClasses(deprecatedOverrideMarginClasses)}\n ${className}\n `;\n\n return (\n
\n {children}\n
\n );\n};\nAlert.propTypes = {\n variant: PropTypes.oneOf([\"success\", \"info\", \"warning\", \"danger\"]).isRequired,\n deprecatedOverrideMarginClasses: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n};\nAlert.defaultProps = {\n deprecatedOverrideMarginClasses: null,\n children: null,\n className: \"\",\n};\n\nAlert.CloseButton = CloseButton;\n\nexport default Alert;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CLASSES from \"./classes.json\";\n\nconst {\n BACKGROUND_COLOR_CLASSES,\n INTERACTION_BACKGROUND_COLOR_CLASSES,\n\n BORDER_COLOR_CLASSES,\n INVERTED_BORDER_COLOR_CLASSES,\n DISABLED_BORDER_COLOR_CLASSES,\n\n TEXT_CLASSES_CLASSES,\n TEXT_COLOR_CLASSES,\n\n ADDITIONAL_CLASSES,\n SIZE_CLASSES,\n DISPLAY_CLASSES,\n\n BASE_CLASSES,\n} = CLASSES;\n\nconst sizeClasses = (size) => SIZE_CLASSES[size];\n\nconst displayClasses = (display) => DISPLAY_CLASSES[display];\n\nconst backgroundColorClasses = ({ variant, invert }) => {\n const bgColorVariant = invert ? \"inverted\" : variant;\n\n let interactionBgColorVariant = bgColorVariant;\n\n // Edge case. \"default\" variant does not respect the usual inverted\n // background color behavior but instead overrides their own.\n if (invert && variant === \"default\") {\n interactionBgColorVariant = \"invertedDefault\";\n }\n\n return [\n BACKGROUND_COLOR_CLASSES[bgColorVariant],\n INTERACTION_BACKGROUND_COLOR_CLASSES[interactionBgColorVariant],\n ].join(\" \");\n};\n\nconst borderColorClasses = ({ variant, invert }) => {\n // No border.\n if (variant === \"simple\") {\n return \"\";\n }\n\n // Again, the \"default\" variant does not respect the usual inverted border\n // color behavior but instead overrides their own.\n if (invert && variant === \"default\") {\n return BORDER_COLOR_CLASSES[variant];\n }\n\n if (invert) {\n return INVERTED_BORDER_COLOR_CLASSES[variant];\n }\n\n return [BORDER_COLOR_CLASSES[variant], DISABLED_BORDER_COLOR_CLASSES[variant]].join(\" \");\n};\n\nconst textColorClasses = ({ variant, invert }) => {\n if (invert) {\n // And again, \"default\" variant does not respect the usual inverted text\n // styles.\n if (variant === \"default\") {\n return TEXT_COLOR_CLASSES.invertedDefault;\n }\n\n return TEXT_COLOR_CLASSES.inverted;\n }\n\n if ([\"primary\", \"success\", \"info\", \"warning\", \"danger\"].includes(variant)) {\n return TEXT_COLOR_CLASSES.common;\n }\n\n return TEXT_COLOR_CLASSES[variant];\n};\n\nconst textStyleClasses = (variant) => {\n if (variant === \"link\") {\n return TEXT_CLASSES_CLASSES[variant];\n }\n\n return TEXT_CLASSES_CLASSES.common;\n};\n\nconst additionalClasses = (variant) => {\n if (variant in ADDITIONAL_CLASSES) {\n return ADDITIONAL_CLASSES[variant];\n }\n\n return \"\";\n};\n\nconst variantClasses = ({ variant, invert }) =>\n [\n backgroundColorClasses({ variant, invert }),\n borderColorClasses({ variant, invert }),\n textColorClasses({ variant, invert }),\n textStyleClasses(variant),\n additionalClasses(variant),\n ].join(\" \");\n\nexport const Button = React.forwardRef(\n ({ children, className, size, display, variant, invert, ...props }, ref) => {\n const classes = `\n ${BASE_CLASSES}\n ${className}\n ${variantClasses({ variant, invert })}\n ${sizeClasses(size)}\n ${displayClasses(display)}\n `;\n\n return (\n \n );\n },\n);\nButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf([\"large\", \"small\", \"extraSmall\", \"default\"]),\n display: PropTypes.oneOf([\"inline\", \"block\"]),\n variant: PropTypes.oneOf([\n \"default\",\n \"info\",\n \"primary\",\n \"success\",\n \"warning\",\n \"danger\",\n \"link\",\n \"inverted\",\n ]),\n invert: PropTypes.bool,\n disabled: PropTypes.bool,\n};\nButton.defaultProps = {\n children: null,\n className: \"\",\n size: \"default\",\n display: \"inline\",\n variant: null,\n invert: false,\n disabled: false,\n};\n\nexport default Button;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BACKGROUND_COLOR_CLASSES =\n \"tw-bg-gray enabled:focus:tw-bg-gray-light enabled:hover:tw-bg-gray enabled:active:tw-bg-gray-light enabled:active:hover:tw-bg-gray\";\n\nconst BORDER_COLOR_CLASSES =\n \"enabled:tw-border-gray-base enabled:focus:tw-border-color-8c8c8c enabled:hover:tw-border-gray-base enabled:active:tw-border-color-adadad enabled:active:hover:tw-border-gray-base disabled:tw-border-gray-base\";\n\nconst TEXT_COLOR_CLASSES =\n \"tw-text-gray-base focus:tw-text-brand-primary hover:tw-text-brand-primary active:tw-text-brand-primary\";\n\nconst SIZE_CLASSES = {\n large: \"tw-leading-1.3333333 tw-rounded-6px\",\n small: \"tw-leading-normal tw-rounded-3px\",\n extraSmall: \"tw-leading-normal tw-rounded-3px\",\n default: \"tw-leading-1.428571429 tw-rounded-4px\",\n};\n\nconst BASE_CLASSES =\n \"tw-inline-block tw-font-semibold hover:tw-no-underline focus:tw-no-underline tw-border tw-border-solid tw-border-r-3px tw-border-b-3px tw-uppercase tw-py-0.3em tw-px-0.8em tw-text-15px tw-text-center tw-align-middle tw-inline-block tw-mb-0 tw-whitespace-nowrap tw-touch-action-manipulation tw-select-none tw-bg-none focus:tw-outline-bootstrap active:tw-outline-0 enabled:tw-cursor-pointer enabled:active:tw-shadow-bootstrap-15 disabled:!tw-cursor-not-allowed disabled:tw-opacity-65 disabled:tw-shadow-none\";\n\nconst sizeClasses = (size) => SIZE_CLASSES[size];\n\nexport const CancelButton = React.forwardRef(({ className, size, onClick, ...props }, ref) => {\n const classes = `\n ${BASE_CLASSES}\n ${BACKGROUND_COLOR_CLASSES}\n ${BORDER_COLOR_CLASSES}\n ${TEXT_COLOR_CLASSES}\n\t\t${sizeClasses(size)}\n ${className}\n `;\n\n return (\n \n );\n});\n\nCancelButton.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"large\", \"small\", \"extraSmall\", \"default\"]),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n};\n\nCancelButton.defaultProps = {\n className: \"\",\n size: \"default\",\n disabled: false,\n onClick: null,\n};\n\nexport default CancelButton;\n","/* eslint-disable react/prop-types */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport CLASSES from \"./classes.json\";\n\nconst {\n BASE_CLASSES,\n INLINE_CLASSES,\n NORMAL_CLASSES,\n INLINE_MARGIN_CLASSES,\n NORMAL_MARGIN_CLASSES,\n BASE_LABEL_CLASSES,\n INLINE_LABEL_CLASSES,\n NORMAL_LABEL_CLASSES,\n INLINE_LABEL_PADDING_CLASSES,\n NORMAL_LABEL_PADDING_CLASSES,\n BASE_LABEL_TEXT_CLASSES,\n INLINE_LABEL_TEXT_CLASSES,\n NORMAL_LABEL_TEXT_CLASSES,\n CHECKED_COLOR_CLASSES,\n UNCHECKED_COLOR_CLASSES,\n BASE_CHECKBOX_CLASSES,\n INLINE_CHECKBOX_CLASSES,\n NORMAL_CHECKBOX_CLASSES,\n INLINE_CHECKBOX_MARGIN_CLASSES,\n NORMAL_CHECKBOX_MARGIN_CLASSES,\n} = CLASSES;\n\nexport const Checkbox = React.forwardRef(\n (\n {\n id: idFromProps,\n className,\n labelClassName,\n checkboxClassName,\n labelTextClassName,\n name,\n inline,\n deprecatedOverrideMarginClasses,\n deprecatedOverrideLabelPaddingClasses,\n deprecatedOverrideCheckboxMarginClasses,\n checkedColor,\n uncheckedColor,\n children,\n ...props\n },\n ref,\n ) => {\n const id = useGivenOrGeneratedId(\"checkbox\", idFromProps);\n\n const classes = `\n ${BASE_CLASSES}\n ${inline ? INLINE_CLASSES : NORMAL_CLASSES}\n ${deprecatedOverrideMarginClasses || (inline ? INLINE_MARGIN_CLASSES : NORMAL_MARGIN_CLASSES)}\n ${className}\n `;\n\n const labelClasses = `\n ${BASE_LABEL_CLASSES}\n ${inline ? INLINE_LABEL_CLASSES : NORMAL_LABEL_CLASSES}\n ${\n deprecatedOverrideLabelPaddingClasses ||\n (inline ? INLINE_LABEL_PADDING_CLASSES : NORMAL_LABEL_PADDING_CLASSES)\n }\n ${labelClassName}\n `;\n\n const labelTextBeforeContent = inline\n ? \"\"\n : String.raw`before:tw-content-[\"\\f096\"] peer-checked:before:tw-content-[\"\\f14a\"]`;\n\n const labelTextClasses = `\n ${BASE_LABEL_TEXT_CLASSES}\n ${CHECKED_COLOR_CLASSES[checkedColor]}\n ${UNCHECKED_COLOR_CLASSES[uncheckedColor]}\n ${inline ? INLINE_LABEL_TEXT_CLASSES : NORMAL_LABEL_TEXT_CLASSES}\n ${labelTextBeforeContent}\n ${labelTextClassName}\n `;\n\n const checkboxClasses = `\n ${BASE_CHECKBOX_CLASSES}\n ${inline ? INLINE_CHECKBOX_CLASSES : NORMAL_CHECKBOX_CLASSES}\n ${\n deprecatedOverrideCheckboxMarginClasses ||\n (inline ? INLINE_CHECKBOX_MARGIN_CLASSES : NORMAL_CHECKBOX_MARGIN_CLASSES)\n }\n ${checkboxClassName}\n `;\n\n return (\n
\n \n
\n );\n },\n);\n\nCheckbox.propTypes = {\n id: PropTypes.string,\n className: PropTypes.string,\n labelClassName: PropTypes.string,\n checkboxClassName: PropTypes.string,\n labelTextClassName: PropTypes.string,\n name: PropTypes.string.isRequired,\n inline: PropTypes.bool,\n deprecatedOverrideMarginClasses: PropTypes.string,\n deprecatedOverrideLabelPaddingClasses: PropTypes.string,\n deprecatedOverrideCheckboxMarginClasses: PropTypes.string,\n checkedColor: PropTypes.oneOf([\"default\", \"info\"]),\n uncheckedColor: PropTypes.oneOf([\"default\", \"info\"]),\n children: PropTypes.node,\n};\n\nCheckbox.defaultProps = {\n id: \"\",\n className: \"\",\n labelClassName: \"\",\n checkboxClassName: \"\",\n labelTextClassName: \"\",\n inline: false,\n deprecatedOverrideMarginClasses: \"\",\n deprecatedOverrideLabelPaddingClasses: \"\",\n deprecatedOverrideCheckboxMarginClasses: \"\",\n checkedColor: \"default\",\n uncheckedColor: \"default\",\n children: null,\n};\n\nexport default Checkbox;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BASE_CLASSES = `\n before:tw-table\n before:tw-content-['_']\n after:tw-table\n after:tw-content-['_']\n after:tw-clear-both\n`;\n\nexport const Clearfix = ({ className, children, ...props }) => (\n \n {children}\n \n);\n\nClearfix.propTypes = {\n className: PropTypes.string,\n children: PropTypes.node,\n};\n\nClearfix.defaultProps = {\n className: \"\",\n children: null,\n};\n\nexport default Clearfix;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BASE_CLASSES = \"tw-relative tw-min-h-1px\";\n\nconst BASE_DICTIONARY = {\n xs: \"tw-float-left\",\n sm: \"bs-sm:tw-float-left\",\n md: \"bs-md:tw-float-left\",\n lg: \"bs-lg:tw-float-left\",\n};\n\nconst SIZE_DICTIONARY = {\n xs: {\n 1: \"tw-w-1/12\",\n 2: \"tw-w-2/12\",\n 3: \"tw-w-3/12\",\n 4: \"tw-w-4/12\",\n 5: \"tw-w-5/12\",\n 6: \"tw-w-6/12\",\n 7: \"tw-w-7/12\",\n 8: \"tw-w-8/12\",\n 9: \"tw-w-9/12\",\n 10: \"tw-w-10/12\",\n 11: \"tw-w-11/12\",\n 12: \"tw-w-full\",\n },\n sm: {\n 1: \"bs-sm:tw-w-1/12\",\n 2: \"bs-sm:tw-w-2/12\",\n 3: \"bs-sm:tw-w-3/12\",\n 4: \"bs-sm:tw-w-4/12\",\n 5: \"bs-sm:tw-w-5/12\",\n 6: \"bs-sm:tw-w-6/12\",\n 7: \"bs-sm:tw-w-7/12\",\n 8: \"bs-sm:tw-w-8/12\",\n 9: \"bs-sm:tw-w-9/12\",\n 10: \"bs-sm:tw-w-10/12\",\n 11: \"bs-sm:tw-w-11/12\",\n 12: \"bs-sm:tw-w-full\",\n },\n md: {\n 1: \"bs-md:tw-w-1/12\",\n 2: \"bs-md:tw-w-2/12\",\n 3: \"bs-md:tw-w-3/12\",\n 4: \"bs-md:tw-w-4/12\",\n 5: \"bs-md:tw-w-5/12\",\n 6: \"bs-md:tw-w-6/12\",\n 7: \"bs-md:tw-w-7/12\",\n 8: \"bs-md:tw-w-8/12\",\n 9: \"bs-md:tw-w-9/12\",\n 10: \"bs-md:tw-w-10/12\",\n 11: \"bs-md:tw-w-11/12\",\n 12: \"bs-md:tw-w-full\",\n },\n lg: {\n 1: \"bs-lg:tw-w-1/12\",\n 2: \"bs-lg:tw-w-2/12\",\n 3: \"bs-lg:tw-w-3/12\",\n 4: \"bs-lg:tw-w-4/12\",\n 5: \"bs-lg:tw-w-5/12\",\n 6: \"bs-lg:tw-w-6/12\",\n 7: \"bs-lg:tw-w-7/12\",\n 8: \"bs-lg:tw-w-8/12\",\n 9: \"bs-lg:tw-w-9/12\",\n 10: \"bs-lg:tw-w-10/12\",\n 11: \"bs-lg:tw-w-11/12\",\n 12: \"bs-lg:tw-w-full\",\n },\n};\n\nconst OFFSET_DICTIONARY = {\n xs: {\n 1: \"tw-ml-1/12\",\n 2: \"tw-ml-2/12\",\n 3: \"tw-ml-3/12\",\n 4: \"tw-ml-4/12\",\n 5: \"tw-ml-5/12\",\n 6: \"tw-ml-6/12\",\n 7: \"tw-ml-7/12\",\n 8: \"tw-ml-8/12\",\n 9: \"tw-ml-9/12\",\n 10: \"tw-ml-10/12\",\n 11: \"tw-ml-11/12\",\n 12: \"tw-ml-full\",\n },\n sm: {\n 1: \"bs-sm:tw-ml-1/12\",\n 2: \"bs-sm:tw-ml-2/12\",\n 3: \"bs-sm:tw-ml-3/12\",\n 4: \"bs-sm:tw-ml-4/12\",\n 5: \"bs-sm:tw-ml-5/12\",\n 6: \"bs-sm:tw-ml-6/12\",\n 7: \"bs-sm:tw-ml-7/12\",\n 8: \"bs-sm:tw-ml-8/12\",\n 9: \"bs-sm:tw-ml-9/12\",\n 10: \"bs-sm:tw-ml-10/12\",\n 11: \"bs-sm:tw-ml-11/12\",\n 12: \"bs-sm:tw-ml-full\",\n },\n md: {\n 1: \"bs-md:tw-ml-1/12\",\n 2: \"bs-md:tw-ml-2/12\",\n 3: \"bs-md:tw-ml-3/12\",\n 4: \"bs-md:tw-ml-4/12\",\n 5: \"bs-md:tw-ml-5/12\",\n 6: \"bs-md:tw-ml-6/12\",\n 7: \"bs-md:tw-ml-7/12\",\n 8: \"bs-md:tw-ml-8/12\",\n 9: \"bs-md:tw-ml-9/12\",\n 10: \"bs-md:tw-ml-10/12\",\n 11: \"bs-md:tw-ml-11/12\",\n 12: \"bs-md:tw-ml-full\",\n },\n lg: {\n 1: \"bs-lg:tw-ml-1/12\",\n 2: \"bs-lg:tw-ml-2/12\",\n 3: \"bs-lg:tw-ml-3/12\",\n 4: \"bs-lg:tw-ml-4/12\",\n 5: \"bs-lg:tw-ml-5/12\",\n 6: \"bs-lg:tw-ml-6/12\",\n 7: \"bs-lg:tw-ml-7/12\",\n 8: \"bs-lg:tw-ml-8/12\",\n 9: \"bs-lg:tw-ml-9/12\",\n 10: \"bs-lg:tw-ml-10/12\",\n 11: \"bs-lg:tw-ml-11/12\",\n 12: \"bs-lg:tw-ml-full\",\n },\n};\n\nconst paddingClasses = (deprecatedOverridePaddingClasses) => {\n if (deprecatedOverridePaddingClasses !== null) {\n return deprecatedOverridePaddingClasses;\n }\n\n return \"tw-px-10px\";\n};\n\nconst baseClasses = (sizeObj) =>\n Object.keys(sizeObj)\n .map((breakpoint) => BASE_DICTIONARY[breakpoint])\n .join(\" \");\n\nconst sizeClasses = (sizeObj) =>\n Object.entries(sizeObj)\n .map(([breakpoint, size]) => SIZE_DICTIONARY[breakpoint][size])\n .join(\" \");\n\nconst offsetClasses = (offsetObj) =>\n Object.entries(offsetObj)\n .map(([breakpoint, offset]) => OFFSET_DICTIONARY[breakpoint][offset])\n .join(\" \");\n\nexport const Col = ({ size, offset, deprecatedOverridePaddingClasses, children, className, ...props }) => {\n const sizeObj = typeof size === \"number\" ? { xs: size } : size;\n const offsetObj = typeof offset === \"number\" ? { xs: offset } : offset;\n\n const classes = `\n ${BASE_CLASSES}\n ${baseClasses(sizeObj)}\n ${sizeClasses(sizeObj)}\n ${offsetObj ? offsetClasses(offsetObj) : \"\"}\n ${paddingClasses(deprecatedOverridePaddingClasses)}\n ${className}\n `;\n\n return (\n
\n {children}\n
\n );\n};\nCol.propTypes = {\n size: PropTypes.oneOf([\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n PropTypes.shape({\n xs: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n sm: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n md: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n lg: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n }),\n ]),\n offset: PropTypes.oneOf([\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 9,\n 10,\n 11,\n 12,\n PropTypes.shape({\n xs: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n sm: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n md: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n lg: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n }),\n null,\n ]),\n deprecatedOverridePaddingClasses: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n};\nCol.defaultProps = {\n size: 12,\n offset: null,\n deprecatedOverridePaddingClasses: null,\n children: null,\n className: \"\",\n};\n\nexport default Col;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BACKGROUND_COLOR_CLASSES =\n \"tw-bg-white enabled:hover:tw-bg-gray-lighter enabled:active:hover:tw-bg-gray-lighter disabled:tw-bg-gray-lighter\";\n\nconst BORDER_COLOR_CLASSES =\n \"enabled:tw-border-brand-danger enabled:focus:tw-border-color-8c8c8c enabled:hover:tw-border-color-adadad enabled:active:tw-border-color-adadad enabled:active:hover:tw-border-color-8c8c8c disabled:tw-border-brand-danger disabled:hover:tw-border-color-ccc\";\n\nconst TEXT_COLOR_CLASSES =\n \"tw-text-gray-darker focus:tw-text-gray-darker hover:!tw-text-gray-darker active:tw-text-gray-darker active:hover:!tw-text-color-333\";\n\nconst SIZE_CLASSES = {\n large: \"tw-leading-1.3333333 tw-rounded-6px\",\n small: \"tw-leading-normal tw-rounded-3px\",\n extraSmall: \"tw-leading-normal tw-rounded-3px\",\n default: \"tw-leading-1.428571429 tw-rounded-4px\",\n};\n\nconst BASE_CLASSES =\n \"tw-inline-block tw-font-semibold hover:tw-no-underline focus:tw-no-underline tw-border tw-border-solid tw-border-r-3px tw-border-b-3px tw-uppercase tw-py-0.3em tw-px-0.8em tw-text-15px tw-text-center tw-align-middle tw-inline-block tw-mb-0 tw-whitespace-nowrap tw-touch-action-manipulation tw-select-none tw-bg-none focus:tw-outline-bootstrap active:tw-outline-0 enabled:tw-cursor-pointer enabled:active:tw-shadow-bootstrap-15 disabled:!tw-cursor-not-allowed disabled:tw-opacity-65 disabled:tw-shadow-none\";\n\nconst sizeClasses = (size) => SIZE_CLASSES[size];\n\nexport const DeleteButton = React.forwardRef(({ className, size, onClick, ...props }, ref) => {\n const classes = `\n ${BASE_CLASSES}\n ${BACKGROUND_COLOR_CLASSES}\n ${BORDER_COLOR_CLASSES}\n ${TEXT_COLOR_CLASSES}\n\t\t${sizeClasses(size)}\n ${className}\n `;\n\n return (\n \n );\n});\n\nDeleteButton.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"large\", \"small\", \"extraSmall\", \"default\"]),\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n};\n\nDeleteButton.defaultProps = {\n className: \"\",\n size: \"default\",\n disabled: false,\n onClick: null,\n};\n\nexport default DeleteButton;\n","/**\n * Assigns `val` to `obj[key]`, if `obj[key]` is `undefined`.\n * @param {object} obj Object to assign to.\n * @param {object} val Value to be assigned to `key`.\n * @param {object} key Key to assign to inside `obj`.\n */\nconst assignValueToIfUndefined = (obj, val, key) => {\n if (obj[key] === undefined) {\n // eslint-disable-next-line no-param-reassign\n obj[key] = val;\n }\n};\n\nconst makeRenamedPropsCompatible = (originalProps) => {\n const {\n clearable,\n closeOnSelect,\n disabled,\n onClose,\n scrollMenuIntoView,\n searchable,\n\n ...props\n } = originalProps;\n\n assignValueToIfUndefined(props, clearable, \"isClearable\");\n assignValueToIfUndefined(props, closeOnSelect, \"closeMenuOnSelect\");\n assignValueToIfUndefined(props, disabled, \"isDisabled\");\n assignValueToIfUndefined(props, onClose, \"onMenuClose\");\n assignValueToIfUndefined(props, scrollMenuIntoView, \"menuShouldScrollIntoView\");\n assignValueToIfUndefined(props, searchable, \"isSearchable\");\n\n return props;\n};\n\nconst buildValueCompatibleWithLegacyOnUpdateCallback = (evt, nameFromProps) => ({\n target: { value: evt ? evt.value : undefined, name: nameFromProps },\n ...evt,\n});\n\nconst makeCallbacksCompatibleInPlace = (props) => {\n // There used to be a DropdownSelect component, which was extremely similar to\n // the current Dropdown component but had a different API for handling user\n // selection (it had an `onUpdate` instead of `onChange`, and the callback\n // received a custom-made object instead of the original event). This adapter\n // makes it possible the use this component in both cases with no changes to\n // any callbacks/handlers.\n if (!props.onChange && props.onUpdate) {\n // eslint-disable-next-line no-param-reassign\n props.onChange = (evt) => props.onUpdate(buildValueCompatibleWithLegacyOnUpdateCallback(evt, props.name));\n }\n\n return props;\n};\n\nconst recursivelyFindOptionByValue = (options, value) => {\n // Option groups are built by nesting `options` objects inside an existing\n // `option`, so to find a full `option` value based on its `value` we need to\n // recursively traverse the original `options` object.\n let result = options.find?.((opt) => opt.value === value);\n if (result) {\n return result;\n }\n\n // eslint-disable-next-line no-restricted-syntax\n for (const option of options) {\n if (option.options) {\n result = recursivelyFindOptionByValue(option.options, value);\n if (result) {\n return result;\n }\n }\n }\n\n return undefined;\n};\n\nconst makeValuePropCompatibleInPlace = (props) => {\n // As of react-select v2, passing anything other than a `{ label, value }`\n // shaped object means we need to implement a bunch of handlers for the Select\n // component to behave as expected. This function standardizes every usage\n // style seen (so far...) across the codebase.\n\n // Need to specifically test against `undefined` and `null` because other\n // falsy values are valid and must still be handled (e.g.: `false`, `0`).\n if (props.value === undefined || props.value === null) {\n // No value yet - nothing to do.\n return;\n }\n\n if (typeof props.value === \"object\") {\n // Already received an object - nothing to do.\n return;\n }\n\n // Otherwise, we need to convert to the appropiate shape. First...\n if (props.options) {\n // ...try to match the value we got to something in the options list, which\n // was the old react-select behaviour.\n const option = recursivelyFindOptionByValue(props.options, props.value);\n if (option) {\n // Success! Assign to props and bail.\n props.value = option; // eslint-disable-line no-param-reassign\n return;\n }\n }\n\n // Couldn't find a suitable value in the options array, assume label is the\n // same as value (default behavior back in react-select v1 AFAICT), and build\n // the value object by hand.\n // eslint-disable-next-line no-param-reassign\n props.value = { label: props.value, value: props.value };\n};\n\n/**\n * Takes `originalProps`, which were meant to be used with react-select v1 or\n * the legacy `DropdownSelect` component, and converts them to make as much as\n * we can compatible with the new `Dropdown` component.\n *\n * @param {object} originalProps Original props.\n * @returns The updated props, compatible with the new `Dropdown`.\n */\nexport const makePropsCompatible = (originalProps) => {\n const props = makeRenamedPropsCompatible(originalProps);\n makeValuePropCompatibleInPlace(props);\n makeCallbacksCompatibleInPlace(props);\n\n // For consistency with react-select v1.\n if (props.noOptionsMessage === undefined) {\n props.noOptionsMessage = () => \"No results found\";\n }\n\n // Again, to keep behavior consistent with react-select v1. Currently defaults\n // to `true` but used to default to `false` on v1.\n if (props.menuShouldScrollIntoView === undefined) {\n props.menuShouldScrollIntoView = false;\n }\n\n // For use in test helpers, so we can interact with Dropdowns programatically.\n if (props.classNamePrefix === undefined) {\n // Value should be kept in sync with the one in `react_select_helpers.rb`.\n props.classNamePrefix = \"react-select\";\n }\n\n return props;\n};\n\nexport default makePropsCompatible;\n","import { merge } from \"lodash\";\n\nconst getBoxShadowForWhen = (menuIsOpen) => (menuIsOpen ? \"rgba(0, 0, 0, 0.125) 0px 3px 5px inset\" : \"none\");\n\nconst getFillForWhen = (isDisabled) => (isDisabled ? \"rgba(0, 0, 0, 0.15)\" : \"rgb(51, 51, 51)\");\n\nconst dropdownIndicatorSharedStyles = {\n \":hover\": { fill: \"rgb(102, 102, 102)\" },\n \":active\": { fill: \"rgb(153, 153, 153)\" },\n};\n\nexport const sharedStyles = {\n container: (provided) => ({ ...provided, width: \"100%\" }),\n\n indicatorSeparator: () => ({ display: \"none\" }),\n\n menu: (provided) => ({\n ...provided,\n\n marginTop: 0,\n zIndex: 3,\n\n boxShadow: \"none\",\n borderRadius: 0,\n borderStyle: \"solid\",\n borderWidth: \"1px\",\n borderColor: \"rgb(230, 230, 230) rgb(204, 204, 204) rgb(204, 204, 204)\",\n }),\n\n menuList: (provided) => ({\n ...provided,\n\n paddingTop: 0,\n paddingBottom: 0,\n maxHeight: \"200px\",\n }),\n\n option: (provided, { isSelected, isFocused, isDisabled }) => {\n let textColor = \"inherit\";\n if (isSelected) {\n textColor = \"black\";\n } else if (isFocused) {\n textColor = \"rgb(51, 51, 51)\";\n } else if (isDisabled) {\n textColor = \"var(--neutral-gray-30)\";\n }\n\n return {\n ...provided,\n cursor: \"pointer\",\n padding: \"3px 10px\",\n\n backgroundColor: isSelected || isFocused ? \"rgb(245, 245, 245)\" : \"transparent\",\n color: textColor,\n\n \":hover\": {\n backgroundColor: isDisabled ? \"transparent\" : \"rgb(245, 245, 245)\",\n color: isDisabled ? \"var(--neutral-gray-30)\" : \"rgb(51, 51, 51)\",\n },\n };\n },\n\n clearIndicator: (provided) => ({\n ...provided,\n cursor: \"pointer\",\n padding: 0,\n transform: \"scale(0.7)\",\n\n \":hover\": { color: \"red\" },\n }),\n};\n\nexport const variantStyles = {\n outlined: {\n container: (provided, { selectProps: { variantOverrides = {} } }) =>\n merge(provided, { width: variantOverrides.containerWidth }),\n menu: (provided, { selectProps: { variantOverrides = {} } }) =>\n merge(provided, { width: variantOverrides.menuWidth, marginTop: \"-2px\", borderRadius: 0 }),\n menuPortal: (provided) => ({ ...provided, zIndex: 9999 }),\n control: (provided, { menuIsOpen, isFocused, selectProps: { variantOverrides = {} } }) => {\n let borderColor = \"#E0E0E0\";\n if (isFocused && !menuIsOpen) {\n borderColor = \"var(--dropdown-border-hover)\";\n }\n\n if (variantOverrides.hasError) {\n borderColor = \"#FA9996\";\n }\n\n return merge(provided, {\n boxShadow: getBoxShadowForWhen(menuIsOpen),\n\n height: variantOverrides.height || \"36px\",\n width: variantOverrides.controlWidth,\n minHeight: variantOverrides.minHeight || \"34px\",\n\n backgroundColor: \"#F5F7F7\",\n borderColor,\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n borderRadius: variantOverrides.disableBorderRadius ? 0 : \"2px\",\n\n \":hover\": { borderColor },\n });\n },\n\n indicatorsContainer: (provided, { selectProps: { variantOverrides = {} } }) =>\n variantOverrides.showIndicator ? { ...provided } : { display: \"none\" },\n\n singleValue: (provided, { selectProps: { variantOverrides = {} } }) => ({\n ...provided,\n color: variantOverrides.singleValueColor || \"#999\",\n }),\n input: (provided, { selectProps: { variantOverrides = {} } }) =>\n merge(provided, { paddingLeft: variantOverrides.inputPaddingLeft }),\n valueContainer: (provided, { selectProps: { variantOverrides = {} } }) =>\n merge(provided, { paddingRight: 0, paddingLeft: variantOverrides.valueContainerPaddingLeft }),\n },\n\n transparent: {\n control: (provided, { menuIsOpen, isDisabled }) => {\n let backgroundColor = menuIsOpen ? \"rgb(230, 230, 230)\" : \"transparent\";\n if (isDisabled) {\n backgroundColor = \"#F9F9F9\";\n }\n\n return {\n ...provided,\n\n boxShadow: getBoxShadowForWhen(menuIsOpen),\n\n border: \"none\",\n borderRadius: 0,\n backgroundColor,\n\n minHeight: 0,\n height: \"30px\",\n };\n },\n\n placeholder: (provided, { isDisabled }) => ({\n ...provided,\n\n color: getFillForWhen(isDisabled),\n textAlign: \"right\",\n paddingBottom: \"6px\",\n whiteSpace: \"nowrap\",\n }),\n\n dropdownIndicator: (provided, { isDisabled }) => ({\n ...provided,\n ...dropdownIndicatorSharedStyles,\n fill: getFillForWhen(isDisabled),\n padding: \"6px 6px 6px 0\",\n }),\n\n valueContainer: (provided) => ({ ...provided, height: \"30px\" }),\n },\n\n default: {\n control: (provided, { menuIsOpen, isDisabled, isFocused }) => {\n let backgroundColor = menuIsOpen ? \"rgb(230, 230, 230)\" : \"#FFF\";\n if (isDisabled) {\n backgroundColor = \"rgb(249, 249, 249)\";\n }\n\n let borderColor = menuIsOpen ? \"rgb(173, 173, 173)\" : \"rgb(204, 204, 204)\";\n if (isFocused && !menuIsOpen) {\n borderColor = \"var(--dropdown-border-hover)\";\n }\n\n return {\n ...provided,\n\n boxShadow: getBoxShadowForWhen(menuIsOpen),\n\n borderColor,\n borderRadius: 0,\n\n color: isDisabled ? \"rgba(0, 0, 0, 0.15)\" : \"rgb(51, 51, 51)\",\n backgroundColor,\n\n minHeight: 0,\n height: \"30px\",\n\n \":hover\": { borderColor },\n };\n },\n\n dropdownIndicator: (provided, { isDisabled }) => ({\n ...provided,\n ...dropdownIndicatorSharedStyles,\n fill: getFillForWhen(isDisabled),\n padding: \"5px 5px 5px 0\",\n }),\n\n menuList: (provided, args) => {\n const {\n selectProps: { variantOverrides = {} },\n } = args;\n\n if (!variantOverrides.menuListMaxHeight) {\n return sharedStyles.menuList(provided);\n }\n return { ...sharedStyles.menuList(provided), maxHeight: variantOverrides.menuListMaxHeight };\n },\n\n indicatorsContainer: (provided) => ({ ...provided, height: \"30px\" }),\n valueContainer: (provided) => ({ ...provided, paddingRight: 0, paddingTop: 0 }),\n placeholder: (provided, args) => {\n const {\n selectProps: { variantOverrides = {} },\n } = args;\n\n return {\n ...provided,\n whiteSpace: \"nowrap\",\n color: \"rgb(170, 170, 170)\",\n paddingBottom: variantOverrides.placeholderPaddingBottom || provided.paddingBottom,\n };\n },\n },\n\n flatGray: {\n control: (provided, { menuIsOpen }) => ({\n ...provided,\n\n boxShadow: getBoxShadowForWhen(menuIsOpen),\n\n border: \"none\",\n borderRadius: 0,\n backgroundColor: \"rgb(240, 241, 241)\",\n\n minHeight: \"30px\",\n }),\n\n dropdownIndicator: (provided, { isDisabled }) => ({\n ...provided,\n ...dropdownIndicatorSharedStyles,\n fill: getFillForWhen(isDisabled),\n padding: \"5px 5px 5px 0\",\n }),\n\n valueContainer: (provided) => ({ ...provided, padding: \"0 0 0 8px\" }),\n },\n\n flatBlueishGray: {\n singleValue: (provided) => ({ ...provided, fontSize: \"14px\" }),\n\n control: (provided, { menuIsOpen }) => ({\n ...provided,\n\n boxShadow: getBoxShadowForWhen(menuIsOpen),\n\n border: \"none\",\n borderRadius: \"2px\",\n backgroundColor: \"rgb(236, 239, 239)\",\n minHeight: \"29px\",\n }),\n\n dropdownIndicator: (provided, args) => {\n const { isDisabled, variantOverrides = {} } = args;\n\n return {\n ...provided,\n ...dropdownIndicatorSharedStyles,\n fill: getFillForWhen(isDisabled),\n padding: variantOverrides.dropdownIndicatorPadding || \"5px 5px 5px 0\",\n };\n },\n\n indicatorsContainer: (provided) => ({ ...provided, height: \"29px\" }),\n valueContainer: (provided) => ({ ...provided, padding: \"0 0 0 8px\" }),\n\n placeholder: (provided, { isDisabled }) => ({\n ...provided,\n color: isDisabled ? \"rgba(0, 0, 0, 0.05)\" : \"rgb(170, 170, 170)\",\n }),\n },\n\n timepicker: {\n input: (provided) => ({\n ...provided,\n color: \"var(--neutral-gray-75)\",\n }),\n menu: (provided) => ({\n ...provided,\n borderRadius: \"2px\",\n marginTop: \"4px\",\n boxShadow: \"0px 6px 20px 2px #33333329\",\n border: \"1px solid var(--neutral-gray-15)\",\n }),\n menuList: (provided) => ({\n ...provided,\n color: \"var(--neutral-gray-75)\",\n \"::-webkit-scrollbar\": {\n width: \"6px\",\n height: \"0px\",\n },\n \"::-webkit-scrollbar-track\": {\n background: \"transparent\",\n },\n \"::-webkit-scrollbar-thumb\": {\n background: \"var(--neutral-gray-30)\",\n borderRadius: \"20px\",\n },\n \"::-webkit-scrollbar-thumb:hover\": {\n background: \"var(--neutral-gray-50)\",\n },\n }),\n singleValue: (provided) => ({\n ...provided,\n color: \"var(--neutral-gray-75)\",\n }),\n control: (provided, { menuIsOpen, isFocused }) => {\n const focusBorderStyles = \"1px solid var(--text-input-border-active)\";\n\n return {\n ...provided,\n borderRadius: \"2px\",\n minHeight: \"35px\",\n backgroundColor: menuIsOpen ? \"rgb(255 255 255 / var(--tw-bg-opacity))\" : \"var(--text-input-bg)\",\n boxShadow: isFocused\n ? \"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)\"\n : \"none\",\n border: isFocused ? focusBorderStyles : \"1px solid var(--neutral-gray-15)\",\n ...(isFocused && {\n outline: \"2px solid transparent\",\n \"box-shadow\": \"rgb(255,255,255) 0 0 0 0, rgb(230, 237, 250) 0 0 0 1.5px, rgba(0,0,0,0) 0 0 0 0\",\n }),\n\n \":hover\": { border: isFocused ? focusBorderStyles : \"1px solid var(--text-input-border-hover)\" },\n };\n },\n\n dropdownIndicator: (provided) => ({\n ...provided,\n ...dropdownIndicatorSharedStyles,\n fill: \"var(--neutral-gray-75)\",\n padding: \"7px 5px 5px 0\",\n }),\n\n indicatorsContainer: (provided) => ({ ...provided, height: \"35px\" }),\n\n valueContainer: (provided) => ({ ...provided, padding: \"0 0 0 8px\" }),\n\n placeholder: (provided, { isDisabled }) => ({\n ...provided,\n color: isDisabled ? \"rgba(0, 0, 0, 0.05)\" : \"rgb(170, 170, 170)\",\n }),\n\n // TODO keep this for internal discussion\n // should we create a disabled option style here (first occurrence) or should we add a disabled style on sharedStyles? The latter makes more.\n //\n // option: (provided, state) => ({\n // ...sharedStyles.option(provided, state),\n // color: state.isDisabled ? \"var(--neutral-gray-30)\" : sharedStyles.option.textColor,\n // \":hover\": {\n // backgroundColor: state.isDisabled\n // ? \"transparent\"\n // : sharedStyles.option(provided, state)[\":hover\"].backgroundColor,\n // },\n // }),\n },\n};\n","/* eslint-disable react/jsx-props-no-spreading, react/prop-types */\nimport React from \"react\";\nimport Select, { components as SelectComponents } from \"react-select\";\nimport Creatable from \"react-select/creatable\";\nimport { makePropsCompatible } from \"./utils\";\nimport { sharedStyles, variantStyles } from \"./styles\";\n\nconst DownChevron = ({ menuIsOpen, ...props }) => (\n \n \n \n);\n\nconst DefaultDropdownIndicator = ({ selectProps: { menuIsOpen }, ...props }) => {\n const { className = \"\", ...otherProps } = props;\n\n return (\n \n \n \n );\n};\n\nconst getStylesFor = (variant, stylesFromProps) =>\n stylesFromProps || {\n ...sharedStyles,\n ...variantStyles[variant],\n };\n\nconst getComponentsFor = (componentsFromProps) => ({\n ...componentsFromProps,\n DropdownIndicator: componentsFromProps?.DropdownIndicator || DefaultDropdownIndicator,\n});\n\nconst AbstractSelect = (props, ConcreteSelectImplementation) => {\n const {\n components: componentsFromProps,\n styles: stylesFromProps,\n className,\n variant,\n ...otherProps\n } = props;\n\n const classNameWithPrefix = `react-select__container ${className}`;\n const components = getComponentsFor(componentsFromProps);\n const styles = getStylesFor(variant, stylesFromProps);\n const adaptedProps = makePropsCompatible(otherProps);\n\n return (\n \n );\n};\n\nconst Dropdown = (props) => AbstractSelect(props, Select);\nDropdown.defaultProps = { className: \"\", variant: \"default\" };\n\nDropdown.Creatable = (props) => AbstractSelect(props, Creatable);\nDropdown.Creatable.defaultProps = Dropdown.defaultProps;\n\nexport { Dropdown };\nexport default Dropdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst HORIZONTAL_FORM_GROUP_STYLE_CLASSES =\n \"before:tw-table before:tw-content-['_'] after:tw-table after:tw-content-['_'] after:tw-clear-both\";\n\nconst HORIZONTAL_MARGIN_CLASSES = \"tw--mx-10px\";\n\nexport const FormGroup = ({ children, className, horizontal, deprecatedOverrideMarginClasses, ...props }) => {\n const classes = `\n tw-mb-15px\n ${deprecatedOverrideMarginClasses || (horizontal ? HORIZONTAL_MARGIN_CLASSES : \"\")}\n ${horizontal ? HORIZONTAL_FORM_GROUP_STYLE_CLASSES : \"\"}\n ${className}\n `;\n\n return (\n
\n {children}\n
\n );\n};\nFormGroup.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n horizontal: PropTypes.bool,\n deprecatedOverrideMarginClasses: PropTypes.string,\n};\nFormGroup.defaultProps = {\n children: null,\n className: \"\",\n horizontal: false,\n deprecatedOverrideMarginClasses: \"\",\n};\n\nexport default FormGroup;\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CLASSES from \"./classes.json\";\n\nconst {\n FORM_CONTROL_BASE_CLASSES,\n FORM_CONTROL_VARIANT_CLASSES,\n FORM_CONTROL_SIZE_CLASSES,\n FORM_CONTROL_PADDING_CLASSES,\n} = CLASSES;\n\nexport const FormControl = forwardRef(\n (\n { className, componentClass: Component, size, variant, deprecatedOverridePaddingClasses, ...props },\n ref,\n ) => {\n const classes = `\n ${FORM_CONTROL_BASE_CLASSES}\n ${FORM_CONTROL_VARIANT_CLASSES[variant]}\n ${FORM_CONTROL_SIZE_CLASSES[size]}\n ${deprecatedOverridePaddingClasses || FORM_CONTROL_PADDING_CLASSES[size]}\n ${className}\n `;\n\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n );\n },\n);\n\nFormControl.propTypes = {\n className: PropTypes.string,\n componentClass: PropTypes.string,\n size: PropTypes.oneOf([\"default\", \"small\", \"large\", \"auto\"]),\n variant: PropTypes.oneOf([\"default\", \"unstyled\"]),\n deprecatedOverridePaddingClasses: PropTypes.string,\n};\n\nFormControl.defaultProps = {\n className: \"\",\n componentClass: \"input\",\n size: \"default\",\n variant: \"default\",\n deprecatedOverridePaddingClasses: \"\",\n};\n\nexport default FormControl;\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormControl } from \"./FormControl\";\n\nexport const Input = forwardRef((props, ref) => (\n \n));\n\nInput.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"default\", \"small\", \"large\", \"auto\"]),\n variant: PropTypes.oneOf([\"default\", \"unstyled\"]),\n deprecatedOverridePaddingClasses: PropTypes.string,\n};\n\nInput.defaultProps = {\n className: \"\",\n size: \"default\",\n variant: \"default\",\n deprecatedOverridePaddingClasses: \"\",\n};\n\nexport default Input;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BACKGROUND_COLOR_CLASSES =\n \"tw-bg-color-eee disabled:tw-bg-gray enabled:focus:tw-bg-gray-light enabled:hover:tw-bg-gray-light enabled:active:tw-bg-gray-light enabled:active:hover:tw-bg-color-d4d4d4 disabled:hover:tw-bg-gray\";\n\nconst BORDER_COLOR_CLASSES =\n \"enabled:tw-border-gray-light enabled:focus:tw-border-color-8c8c8c enabled:hover:tw-border-color-adadad enabled:active:tw-border-color-adadad enabled:active:hover:tw-border-color-8c8c8c disabled:tw-border-gray-light disabled:hover:tw-border-color-ccc\";\n\nconst TEXT_COLOR_CLASSES =\n \"tw-text-color-333 focus:tw-text-color-333 hover:tw-text-color-333 active:tw-text-color-333\";\n\nconst SIZE_CLASSES = {\n large: \"tw-leading-1.3333333 tw-rounded-6px\",\n small: \"tw-leading-normal tw-rounded-3px\",\n extraSmall: \"tw-leading-normal tw-rounded-3px\",\n default: \"tw-leading-1.428571429 tw-rounded-4px\",\n};\n\nconst BASE_CLASSES =\n \"tw-block tw-w-2/4 tw-h-[50px] tw-font-semibold hover:tw-no-underline focus:tw-no-underline tw-border tw-border-solid tw-p-[10px] tw-text-15px tw-text-center tw-align-middle tw-inline-block tw-m-[5px] tw-whitespace-nowrap tw-touch-action-manipulation tw-select-none tw-bg-none focus:tw-outline-bootstrap active:tw-outline-0 enabled:tw-cursor-pointer enabled:active:tw-shadow-bootstrap-15 disabled:!tw-cursor-not-allowed disabled:tw-opacity-65 disabled:tw-shadow-none\";\n\nconst sizeClasses = (size) => SIZE_CLASSES[size];\n\nexport const LoadMoreButton = React.forwardRef(({ className, size, loading, onClick, ...props }, ref) => {\n const classes = `\n ${BASE_CLASSES}\n ${BACKGROUND_COLOR_CLASSES}\n ${BORDER_COLOR_CLASSES}\n ${TEXT_COLOR_CLASSES}\n\t\t${sizeClasses(size)}\n ${className}\n `;\n\n return (\n \n );\n});\n\nLoadMoreButton.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"large\", \"small\", \"extraSmall\", \"default\"]),\n disabled: PropTypes.bool,\n loading: PropTypes.bool,\n onClick: PropTypes.func,\n};\n\nLoadMoreButton.defaultProps = {\n className: \"\",\n size: \"default\",\n disabled: false,\n loading: false,\n onClick: null,\n};\n\nexport default LoadMoreButton;\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormControl } from \"./FormControl\";\n\nexport const TextArea = forwardRef((props, ref) => (\n \n));\n\nTextArea.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"default\", \"small\", \"large\", \"auto\"]),\n variant: PropTypes.oneOf([\"default\", \"unstyled\"]),\n};\n\nTextArea.defaultProps = {\n className: \"\",\n size: \"default\",\n variant: \"default\",\n};\n\nexport default TextArea;\n","/* eslint-disable react/prop-types */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport CLASSES from \"./classes.json\";\n\nconst {\n BASE_CLASSES,\n INLINE_CLASSES,\n NORMAL_CLASSES,\n INLINE_MARGIN_CLASSES,\n NORMAL_MARGIN_CLASSES,\n BASE_LABEL_CLASSES,\n BASE_LABEL_PADDING_CLASSES,\n INLINE_LABEL_CLASSES,\n NORMAL_LABEL_CLASSES,\n BASE_LABEL_TEXT_CLASSES,\n BASE_RADIO_CLASSES,\n BASE_RADIO_MARGIN_CLASSES,\n} = CLASSES;\n\nexport const Radio = React.forwardRef(\n (\n {\n id: idFromProps,\n className,\n labelClassName,\n radioClassName,\n labelTextClassName,\n name,\n inline,\n deprecatedOverrideMarginClasses,\n deprecatedOverrideLabelPaddingClasses,\n deprecatedOverrideRadioMarginClasses,\n children,\n ...props\n },\n ref,\n ) => {\n const id = useGivenOrGeneratedId(\"radio\", idFromProps);\n\n const classes = `\n ${BASE_CLASSES}\n ${inline ? INLINE_CLASSES : NORMAL_CLASSES}\n ${deprecatedOverrideMarginClasses || (inline ? INLINE_MARGIN_CLASSES : NORMAL_MARGIN_CLASSES)}\n ${className}\n `;\n\n const labelClasses = `\n ${BASE_LABEL_CLASSES}\n ${deprecatedOverrideLabelPaddingClasses || BASE_LABEL_PADDING_CLASSES}\n ${inline ? INLINE_LABEL_CLASSES : NORMAL_LABEL_CLASSES}\n ${labelClassName}\n `;\n\n const labelTextClasses = `\n ${BASE_LABEL_TEXT_CLASSES}\n ${labelTextClassName}\n `;\n\n const radioClasses = `\n ${BASE_RADIO_CLASSES}\n ${deprecatedOverrideRadioMarginClasses || BASE_RADIO_MARGIN_CLASSES}\n ${radioClassName}\n `;\n\n return (\n
\n \n
\n );\n },\n);\n\nRadio.propTypes = {\n id: PropTypes.string,\n className: PropTypes.string,\n labelClassName: PropTypes.string,\n radioClassName: PropTypes.string,\n labelTextClassName: PropTypes.string,\n name: PropTypes.string.isRequired,\n inline: PropTypes.bool,\n deprecatedOverrideMarginClasses: PropTypes.string,\n deprecatedOverrideLabelPaddingClasses: PropTypes.string,\n deprecatedOverrideRadioMarginClasses: PropTypes.string,\n children: PropTypes.node,\n};\n\nRadio.defaultProps = {\n id: \"\",\n className: \"\",\n labelClassName: \"\",\n radioClassName: \"\",\n labelTextClassName: \"\",\n inline: false,\n deprecatedOverrideMarginClasses: \"\",\n deprecatedOverrideLabelPaddingClasses: \"\",\n deprecatedOverrideRadioMarginClasses: \"\",\n children: null,\n};\n\nexport default Radio;\n","import { useEffect, useState, useMemo } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport PropTypes from \"prop-types\";\n\nconst Portal = ({ children, portalId }) => {\n const [hasMounted, setHasMounted] = useState(false);\n\n const portalRoot = useMemo(() => {\n const portal = document.createElement(\"div\");\n portal.setAttribute(\"data-portal\", portalId);\n return portal;\n }, []);\n\n useEffect(() => {\n setHasMounted(true);\n }, []);\n\n useEffect(() => {\n const target = document.body;\n const existingPortal = document.querySelector(`[data-portal=\"${portalId}\"]`);\n\n if (!existingPortal) {\n target.appendChild(portalRoot);\n }\n }, [portalRoot]);\n\n if (!hasMounted) {\n return null;\n }\n\n return ReactDOM.createPortal(children, document.querySelector(`[data-portal=\"${portalId}\"]`));\n};\n\nPortal.propTypes = {\n children: PropTypes.node,\n portalId: PropTypes.string,\n};\n\nPortal.defaultProps = {\n children: null,\n portalId: \"common-portal\",\n};\n\nexport default Portal;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const ModalContext = React.createContext({});\n\nconst ModalContextProvider = ({ show, onHide, size, variant, children }) => {\n const [isShown, setIsShown] = React.useState(show);\n\n const onModalHide = () => {\n setIsShown(false);\n if (onHide) onHide();\n };\n\n const onEscapeKeyPress = (e) => {\n if (e.key === \"Escape\") onModalHide();\n };\n\n useEffect(() => {\n if (!document) return;\n\n const addListener = () => {\n document.addEventListener(\"keyup\", onEscapeKeyPress);\n document.body.classList.add(\"tw-overflow-hidden\");\n };\n\n const removeListener = () => {\n document.removeEventListener(\"keyup\", onEscapeKeyPress);\n document.body.classList.remove(\"tw-overflow-hidden\");\n };\n\n if (isShown) {\n addListener();\n } else {\n removeListener();\n }\n\n // We only need to return a cleanup function once we actually attach the event listener\n // eslint-disable-next-line consistent-return\n return removeListener;\n }, [isShown]);\n\n useEffect(() => {\n setIsShown(show);\n }, [show]);\n\n return (\n \n {children}\n \n );\n};\nModalContextProvider.propTypes = {\n show: PropTypes.bool,\n onHide: PropTypes.func,\n size: PropTypes.oneOf([\"small\", \"sm\", \"large\", \"lg\", \"default\"]).isRequired,\n variant: PropTypes.oneOf([\"classic\", \"modern\"]).isRequired,\n children: PropTypes.node,\n};\nModalContextProvider.defaultProps = {\n show: false,\n onHide: null,\n children: null,\n};\n\nexport default ModalContextProvider;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ModalContext } from \"./ModalContext\";\nimport CLASSES from \"./classes.json\";\n\nconst { MODAL_BACKDROP_CLASSES } = CLASSES;\n\nconst Backdrop = ({ children, className, shouldCloseOnClick }) => {\n const { onHide } = React.useContext(ModalContext);\n\n return (\n <>\n {/* This component is meant to be rendered inside a ModalContext, which */}\n {/* already provides the keyboard listeners so we silence the linter here */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n {\n if (shouldCloseOnClick) {\n onHide();\n }\n }}\n className={`${MODAL_BACKDROP_CLASSES} ${className}`}\n >\n {children}\n \n \n );\n};\nBackdrop.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n shouldCloseOnClick: PropTypes.bool,\n};\nBackdrop.defaultProps = {\n children: null,\n className: \"\",\n shouldCloseOnClick: false,\n};\n\nexport default Backdrop;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { ModalContext } from \"./ModalContext\";\nimport CLASSES from \"./classes.json\";\n\nconst { MODAL_BODY_CLASSES } = CLASSES;\n\nconst ModalBody = ({\n className,\n children,\n variant: variantFromProps,\n deprecatedOverridePaddingClasses,\n ...props\n}) => {\n const { variant: variantFromContext } = React.useContext(ModalContext);\n const variant = variantFromProps || variantFromContext;\n\n return (\n <>\n {/* This component is meant to be rendered inside a ModalContext, which */}\n {/* already provides the keyboard listeners so we silence the linter here */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n e.stopPropagation()}\n className={`\n ${MODAL_BODY_CLASSES.common}\n ${deprecatedOverridePaddingClasses || MODAL_BODY_CLASSES[variant]}\n ${className}\n `}\n {...props}\n >\n {children}\n \n \n );\n};\nModalBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"classic\", \"modern\"]),\n deprecatedOverridePaddingClasses: PropTypes.string,\n};\nModalBody.defaultProps = {\n children: null,\n className: \"\",\n variant: null,\n deprecatedOverridePaddingClasses: \"\",\n};\n\nexport default ModalBody;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { ModalContext } from \"./ModalContext\";\nimport CLASSES from \"./classes.json\";\n\nconst { MODAL_HEADER_CLASSES, MODAL_HEADER_BUTTON_CLASSES, SR_ONLY_CLASSES } = CLASSES;\n\nconst CloseButton = ({ onClick, className, variant: variantFromProps, ...props }) => {\n const { variant: variantFromContext } = React.useContext(ModalContext);\n const variant = variantFromProps || variantFromContext;\n\n return (\n \n ×\n Close\n \n );\n};\nCloseButton.propTypes = {\n className: PropTypes.string,\n onClick: PropTypes.func.isRequired,\n variant: PropTypes.oneOf([\"classic\", \"modern\"]),\n};\nCloseButton.defaultProps = {\n className: \"\",\n variant: null,\n};\n\nconst ModalHeader = ({\n closeButton,\n className,\n variant: variantFromProps,\n deprecatedOverridePaddingClasses,\n children,\n ...props\n}) => {\n const { onHide, variant: variantFromContext } = React.useContext(ModalContext);\n const variant = variantFromProps || variantFromContext;\n\n const classes = `\n ${MODAL_HEADER_CLASSES.common}\n ${deprecatedOverridePaddingClasses || MODAL_HEADER_CLASSES[variant]}\n ${className}\n `;\n\n return (\n
\n {closeButton && }\n {children}\n
\n );\n};\nModalHeader.propTypes = {\n closeButton: PropTypes.bool,\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"classic\", \"modern\"]),\n deprecatedOverridePaddingClasses: PropTypes.string,\n children: PropTypes.node,\n};\nModalHeader.defaultProps = {\n closeButton: false,\n className: \"\",\n variant: null,\n deprecatedOverridePaddingClasses: \"\",\n children: null,\n};\n\nModalHeader.CloseButton = CloseButton;\n\nexport default ModalHeader;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CLASSES from \"./classes.json\";\n\nconst { MODAL_FOOTER_CLASSES } = CLASSES;\n\nconst ModalFooter = ({ children, className, ...props }) => (\n
\n {children}\n
\n);\nModalFooter.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\nModalFooter.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport default ModalFooter;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { ModalContext } from \"./ModalContext\";\nimport CLASSES from \"./classes.json\";\n\nconst { MODAL_TITLE_CLASSES } = CLASSES;\n\nconst ModalTitle = ({ children, className, variant: variantFromProps, ...props }) => {\n const { variant: variantFromContext } = React.useContext(ModalContext);\n const variant = variantFromProps || variantFromContext;\n\n const classes = `\n ${MODAL_TITLE_CLASSES.common}\n ${MODAL_TITLE_CLASSES[variant]}\n ${className}\n `;\n\n return (\n

\n {children}\n

\n );\n};\nModalTitle.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"classic\", \"modern\"]),\n};\nModalTitle.defaultProps = {\n children: null,\n className: \"\",\n variant: null,\n};\n\nexport default ModalTitle;\n","export const MODAL_ANIMATION_DURATION_MS = 300;\n\nexport const containerAnimationStyles = (duration) => ({\n transition: `opacity ${duration}ms ease-in-out`,\n opacity: 0,\n});\n\nexport const modalAnimationStyles = (duration) => ({\n transition: `transform ${duration}ms ease-in-out`,\n transform: \"translateY(-100px)\",\n});\n\nexport const containerTransitionStyles = {\n entering: { opacity: 0 },\n entered: { opacity: 1 },\n exiting: { opacity: 0 },\n exited: { opacity: 0 },\n};\n\nexport const modalTransitionStyles = {\n entering: { transform: \"translateY(-100px)\" },\n entered: { transform: \"translateY(0px)\" },\n exiting: { transform: \"translateY(-100px)\" },\n exited: { transform: \"translateY(-100px)\" },\n};\n","import React, { useMemo, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Transition } from \"react-transition-group\";\nimport Portal from \"../Portal\";\nimport Backdrop from \"./Backdrop\";\nimport ModalContextProvider, { ModalContext } from \"./ModalContext\";\nimport ModalBody from \"./ModalBody\";\nimport ModalHeader from \"./ModalHeader\";\nimport ModalFooter from \"./ModalFooter\";\nimport ModalTitle from \"./ModalTitle\";\n\nimport {\n MODAL_ANIMATION_DURATION_MS,\n containerAnimationStyles,\n containerTransitionStyles,\n modalAnimationStyles,\n modalTransitionStyles,\n} from \"./animationStyles\";\nimport CLASSES from \"./classes.json\";\n\nconst { MODAL_CONTAINER_CLASSES, MODAL_DIALOG_CLASSES, MODAL_CONTENT_CLASSES, MODAL_SIZES } = CLASSES;\n\nconst dictKeyFromSizeString = (size) => {\n switch (size) {\n case \"sm\":\n return \"small\";\n case \"lg\":\n return \"large\";\n default:\n return size;\n }\n};\n\nconst getModalMarginClasses = (size) => MODAL_SIZES.MARGIN_CLASSES[dictKeyFromSizeString(size)];\n\nconst getModalWidthClasses = (size, overrideWidthClasses) => {\n if (overrideWidthClasses !== null) {\n return overrideWidthClasses;\n }\n\n return MODAL_SIZES.WIDTH_CLASSES[dictKeyFromSizeString(size)];\n};\n\nconst Modal = ({\n show = false,\n onHide,\n children,\n className,\n size,\n dialogClassName,\n contentClassName,\n variant,\n backdrop,\n deprecatedOverrideDialogWidthClasses,\n ...props\n}) => {\n const nodeRef = useRef(null);\n\n const shouldCloseOnClick = useMemo(() => backdrop !== \"static\", [backdrop]);\n\n const renderModalContainer = (context) => {\n const dialogSizeClasses = `\n ${getModalMarginClasses(context.size)}\n ${getModalWidthClasses(context.size, deprecatedOverrideDialogWidthClasses)}\n `;\n\n return (\n \n \n {(modalContainerState) => (\n \n {backdrop && }\n {/* Both of these are rendered inside the ModalContext which already provides the keyboard listeners */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n {\n if (shouldCloseOnClick) {\n context.onHide();\n }\n }}\n data-js-modal-component\n {...props}\n >\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n evt.stopPropagation()}\n className={`${MODAL_DIALOG_CLASSES} ${dialogSizeClasses} ${dialogClassName}`}\n >\n \n {(modalState) => (\n \n {children}\n \n )}\n \n \n \n \n )}\n \n \n );\n };\n\n return (\n \n {(value) => renderModalContainer(value)}\n \n );\n};\n\nModal.propTypes = {\n show: PropTypes.bool,\n onHide: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n size: PropTypes.oneOf([\"small\", \"sm\", \"large\", \"lg\", \"default\"]),\n dialogClassName: PropTypes.string,\n contentClassName: PropTypes.string,\n variant: PropTypes.oneOf([\"classic\", \"modern\"]),\n backdrop: PropTypes.oneOf([true, false, \"static\"]),\n deprecatedOverrideDialogWidthClasses: PropTypes.string,\n};\n\nModal.defaultProps = {\n show: false,\n onHide: null,\n children: null,\n className: \"\",\n size: \"default\",\n dialogClassName: \"\",\n contentClassName: \"\",\n variant: \"classic\",\n backdrop: true,\n deprecatedOverrideDialogWidthClasses: null,\n};\n\nModal.Body = ModalBody;\nModal.Footer = ModalFooter;\nModal.Header = ModalHeader;\nModal.Title = ModalTitle;\nModal.Context = ModalContext;\n\nexport { Modal };\nexport default Modal;\n","import React, { createContext, useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const PanelContext = createContext({});\n\nconst PanelContextProvider = ({ variant, collapsed, children }) => {\n const [isCollapsed, setIsCollapsed] = useState(collapsed);\n\n const toggleCollapsed = (e) => {\n e.preventDefault();\n\n setIsCollapsed((prevIsCollapsed) => !prevIsCollapsed);\n };\n\n useEffect(() => {\n setIsCollapsed(collapsed);\n }, [collapsed]);\n\n return (\n \n {children}\n \n );\n};\n\nPanelContextProvider.propTypes = {\n variant: PropTypes.oneOf([\"default\", \"primary\", \"success\", \"info\", \"warning\", \"danger\"]),\n collapsed: PropTypes.bool,\n children: PropTypes.node,\n};\n\nPanelContextProvider.defaultProps = {\n variant: null,\n collapsed: null,\n children: null,\n};\n\nexport default PanelContextProvider;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CLASSES from \"./classes.json\";\n\nconst { PANEL_HEADING_CLASSES, PANEL_HEADING_BORDER_CLASSES } = CLASSES;\n\nconst PanelHeading = ({ className, deprecatedOverrideBorderClasses, children, ...props }) => {\n const classes = `\n ${PANEL_HEADING_CLASSES}\n ${deprecatedOverrideBorderClasses || PANEL_HEADING_BORDER_CLASSES}\n ${className}\n `;\n\n return (\n
\n {children}\n
\n );\n};\n\nPanelHeading.propTypes = {\n className: PropTypes.string,\n deprecatedOverrideBorderClasses: PropTypes.string,\n children: PropTypes.node,\n};\n\nPanelHeading.defaultProps = {\n className: \"\",\n deprecatedOverrideBorderClasses: \"\",\n children: null,\n};\n\nexport default PanelHeading;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CLASSES from \"./classes.json\";\n\nconst { PANEL_TITLE_CLASSES, PANEL_TITLE_TEXT_CLASSES } = CLASSES;\n\nconst PanelTitle = ({ className, deprecatedOverrideTextClasses, children, ...props }) => {\n const classes = `\n ${PANEL_TITLE_CLASSES}\n ${deprecatedOverrideTextClasses || PANEL_TITLE_TEXT_CLASSES}\n ${className}\n `;\n\n return (\n

\n {children}\n

\n );\n};\n\nPanelTitle.propTypes = {\n className: PropTypes.string,\n deprecatedOverrideTextClasses: PropTypes.string,\n children: PropTypes.node,\n};\n\nPanelTitle.defaultProps = {\n className: \"\",\n deprecatedOverrideTextClasses: \"\",\n children: null,\n};\n\nexport default PanelTitle;\n","import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { PanelContext } from \"./PanelContext\";\nimport CLASSES from \"./classes.json\";\n\nconst { PANEL_TRIGGER_CLASSES } = CLASSES;\n\nconst PanelTrigger = ({ className, id, children, ...props }) => {\n const { collapsed, toggleCollapsed } = useContext(PanelContext);\n\n const classes = `\n ${PANEL_TRIGGER_CLASSES}\n ${className}\n `;\n\n return (\n \n {children}\n \n );\n};\n\nPanelTrigger.propTypes = {\n className: PropTypes.string,\n id: PropTypes.string,\n children: PropTypes.node,\n};\n\nPanelTrigger.defaultProps = {\n className: \"\",\n id: \"\",\n children: null,\n};\n\nexport default PanelTrigger;\n","import React, { useContext, useState } from \"react\";\nimport { Transition } from \"react-transition-group\";\nimport PropTypes from \"prop-types\";\n\nimport { PanelContext } from \"./PanelContext\";\n\nconst PANEL_ANIMATION_DURATION_MS = 300;\n\nconst containerAnimationStyles = (duration) => ({\n transition: `max-height ${duration}ms ease-in-out`,\n});\n\nconst containerTransitionStyles = (nodeHeight) => ({\n entering: { maxHeight: `${nodeHeight}px`, overflow: \"hidden\" },\n entered: { maxHeight: `${nodeHeight}px` },\n exiting: { maxHeight: \"0\", overflow: \"hidden\" },\n exited: { maxHeight: \"0\" },\n});\n\nconst PanelCollapse = ({\n className,\n collapsed: collapsedFromProps,\n children,\n transitionDuration,\n ...props\n}) => {\n const [nodeHeight, setNodeHeight] = useState(0);\n const { collapsed: collapsedFromContext } = useContext(PanelContext);\n const collapsed = typeof collapsedFromProps === \"boolean\" ? collapsedFromProps : collapsedFromContext;\n\n return (\n \n {(panelContainerState) => (\n setNodeHeight(node?.scrollHeight || 0)}\n className={className}\n data-js-collapsed={collapsed}\n style={{\n ...containerAnimationStyles(transitionDuration),\n ...containerTransitionStyles(nodeHeight)[panelContainerState],\n }}\n >\n {children}\n \n )}\n \n );\n};\n\nPanelCollapse.propTypes = {\n className: PropTypes.string,\n collapsed: PropTypes.bool,\n children: PropTypes.node,\n transitionDuration: PropTypes.number,\n};\n\nPanelCollapse.defaultProps = {\n className: \"\",\n collapsed: null,\n children: null,\n transitionDuration: PANEL_ANIMATION_DURATION_MS,\n};\n\nexport default PanelCollapse;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport CLASSES from \"./classes.json\";\n\nconst { PANEL_BODY_CLASSES, PANEL_BODY_PADDING_CLASSES } = CLASSES;\n\nconst PanelBody = ({ className, deprecatedOverridePaddingClasses, children, ...props }) => {\n const classes = `\n ${PANEL_BODY_CLASSES}\n ${deprecatedOverridePaddingClasses || PANEL_BODY_PADDING_CLASSES}\n ${className}\n `;\n\n return (\n
\n {children}\n
\n );\n};\n\nPanelBody.propTypes = {\n className: PropTypes.string,\n deprecatedOverridePaddingClasses: PropTypes.string,\n children: PropTypes.node,\n};\n\nPanelBody.defaultProps = {\n className: \"\",\n deprecatedOverridePaddingClasses: \"\",\n children: null,\n};\n\nexport default PanelBody;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport PanelContextProvider, { PanelContext } from \"./PanelContext\";\nimport PanelHeading from \"./PanelHeading\";\nimport PanelTitle from \"./PanelTitle\";\nimport PanelTrigger from \"./PanelTrigger\";\nimport PanelCollapse from \"./PanelCollapse\";\nimport PanelBody from \"./PanelBody\";\nimport CLASSES from \"./classes.json\";\n\nconst { PANEL_CONTAINER_CLASSES, PANEL_CONTAINER_MARGIN_CLASSES, PANEL_BORDER_CLASSES } = CLASSES;\n\nexport const Panel = ({\n className,\n variant,\n collapsed,\n children,\n deprecatedOverrideMarginClasses,\n ...props\n}) => {\n const classes = `\n ${PANEL_CONTAINER_CLASSES}\n ${deprecatedOverrideMarginClasses || PANEL_CONTAINER_MARGIN_CLASSES}\n ${PANEL_BORDER_CLASSES[variant] || PANEL_BORDER_CLASSES.fallback}\n ${className}\n `;\n\n return (\n \n \n {() => (\n
\n {children}\n
\n )}\n
\n
\n );\n};\n\nPanel.propTypes = {\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"default\", \"primary\", \"success\", \"info\", \"warning\", \"danger\"]),\n collapsed: PropTypes.bool,\n deprecatedOverrideMarginClasses: PropTypes.string,\n children: PropTypes.node,\n};\n\nPanel.defaultProps = {\n className: \"\",\n variant: null,\n collapsed: true,\n deprecatedOverrideMarginClasses: \"\",\n children: null,\n};\n\nPanel.Heading = PanelHeading;\nPanel.Title = PanelTitle;\nPanel.Trigger = PanelTrigger;\nPanel.Collapse = PanelCollapse;\nPanel.Body = PanelBody;\n\nexport default Panel;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BASE_CLASSES =\n \"before:tw-table before:tw-content-['_'] after:tw-table after:tw-content-['_'] after:tw-clear-both\";\n\nconst marginClasses = (deprecatedOverrideMarginClasses) => {\n if (deprecatedOverrideMarginClasses !== null) {\n return deprecatedOverrideMarginClasses;\n }\n\n return \"tw--mx-10px\";\n};\n\nexport const Row = ({ children, deprecatedOverrideMarginClasses, className, ...props }) => {\n const classes = `\n ${BASE_CLASSES}\n ${marginClasses(deprecatedOverrideMarginClasses)}\n ${className}\n `;\n\n return (\n
\n {children}\n
\n );\n};\nRow.propTypes = {\n children: PropTypes.node,\n deprecatedOverrideMarginClasses: PropTypes.string,\n className: PropTypes.string,\n};\nRow.defaultProps = {\n children: null,\n deprecatedOverrideMarginClasses: null,\n className: \"\",\n};\n\nexport default Row;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst LABEL_CLASSES = `\n bs-print:tw-border bs-print:tw-border-solid bs-print:tw-border-black\n tw-inline tw-p-0 tw-text-10px tw-font-bold tw-leading-none\n tw-text-gray-base tw-text-center tw-whitespace-nowrap tw-align-baseline tw-rounded-0.25em\n tw-uppercase tw-temp-label-font-family\n`;\n\nconst LABEL_B_CLASSES =\n \"tw-uppercase tw-text-gray-base tw-text-10px tw-leading-none tw-temp-label-font-family\";\n\nexport const Label = ({ children, className, bold, htmlFor, ...props }) =>\n bold ? (\n \n ) : (\n \n );\nLabel.propTypes = {\n children: PropTypes.node,\n bold: PropTypes.bool,\n className: PropTypes.string,\n htmlFor: PropTypes.string,\n};\nLabel.defaultProps = {\n children: null,\n bold: false,\n className: \"\",\n htmlFor: null,\n};\n\nexport default Label;\n","import React, { useEffect, useState, useRef } from \"react\";\nimport { Transition } from \"react-transition-group\";\nimport PropTypes from \"prop-types\";\n\nconst defaultStyle = (duration) => ({\n transition: `opacity ${duration}ms ease-in-out`,\n opacity: 0,\n});\n\nconst transitionStyles = {\n entering: { opacity: 1 },\n entered: { opacity: 1 },\n exiting: { opacity: 0 },\n exited: { opacity: 0 },\n};\n\nconst clickOnTarget = (e, targetRef) =>\n targetRef && targetRef.current && targetRef.current.contains(e.target);\nconst clickOnContainer = (e, containerRef) => containerRef.current && containerRef.current.contains(e.target);\n\nexport const Overlay = React.forwardRef(\n ({ show, children, className, rootClose, onHide, duration, zIndex, ...props }, targetRef) => {\n const [showOverlay, setShowOverlay] = useState(show);\n const containerRef = useRef(null);\n\n const handleClick = (e) => {\n if (clickOnTarget(e, targetRef) || clickOnContainer(e, containerRef)) {\n return;\n }\n\n if (rootClose) {\n if (onHide) {\n onHide();\n }\n setShowOverlay(false);\n }\n };\n\n useEffect(() => {\n setShowOverlay(show);\n }, [show]);\n\n useEffect(() => {\n if (showOverlay) {\n document.addEventListener(\"mousedown\", handleClick);\n } else {\n document.removeEventListener(\"mousedown\", handleClick);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClick);\n };\n }, [showOverlay]);\n\n return (\n \n {(state) => (\n \n {React.Children.map(children, (child) => React.cloneElement(child, { ref: containerRef }))}\n \n )}\n \n );\n },\n);\n\nOverlay.propTypes = {\n show: PropTypes.bool,\n rootClose: PropTypes.bool,\n onHide: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n duration: PropTypes.number,\n zIndex: PropTypes.string,\n};\n\nOverlay.defaultProps = {\n show: false,\n rootClose: false,\n onHide: null,\n children: null,\n className: \"\",\n duration: 100,\n zIndex: \"tw-z-10\",\n};\n\nexport default Overlay;\n","import React from \"react\";\nimport { Col, Row, FormGroup } from \"../../../../shared/v1\";\nimport { formatValue, formatExpense, formatCompanyExpense } from \"../../shared/FinancialViewHelpers\";\n\nexport const Expense = (props) => {\n const { expense, showBorder, expenseType } = props;\n\n const { name, percentage, value, notes } = expense;\n return (\n \n \n \n \n \n {percentage\n ? formatValue(value, percentage)\n : expenseType === \"company\"\n ? formatCompanyExpense(formatValue(value, percentage), name)\n : formatExpense(formatValue(value, percentage))}\n \n \n \n {notes && (\n \n \n \n {notes}\n \n \n )}\n \n );\n};\n","import React from \"react\";\nimport { Col, Row, Clearfix, FormGroup } from \"../../../shared/v1\";\nimport { Expense } from \"./Expense\";\nimport { formatValue } from \"../shared/FinancialViewHelpers\";\n\nconst TransactionGCI = ({ accountData }) => {\n const { transaction_expense_types } = accountData;\n\n return (\n \n
\n \n

Office Commission

\n
\n\n
\n \n \n \n \n \n {formatValue(\n accountData.account_financial_template?.listing_commission,\n accountData.account_financial_template?.listing_commission_percentage,\n )}\n \n \n \n\n \n \n \n \n {formatValue(\n accountData.account_financial_template?.selling_commission,\n accountData.account_financial_template?.selling_commission_percentage,\n )}\n \n \n \n \n
\n
\n\n {!!accountData.account_financial_template?.custom_account_expenses_attributes.length && (\n
\n \n

Transaction Expenses

\n
\n\n
\n {accountData.account_financial_template.custom_account_expenses_attributes.map((expense, i) => {\n return (\n !expense._destroy && (\n \n )\n );\n })}\n
\n
\n )}\n
\n );\n};\n\nexport default TransactionGCI;\n","export const removeKeyPair = (obj, key) => {\n const newObj = { ...obj };\n delete newObj[key];\n return newObj;\n};\nexport const removeKeys = (obj, keysToRemove) => {\n const newObj = { ...obj }; // Create a shallow copy of the original object\n\n keysToRemove.forEach((key) => {\n delete newObj[key]; // Delete the specified key from the copied object\n });\n\n return newObj;\n};\n","import { useEffect, useState } from \"react\";\n\nexport const useExpenseList = (expList) => {\n const [expenseList, setExpenseList] = useState([]);\n\n useEffect(() => {\n setExpenseList(expenseEntries(expList));\n }, [setExpenseList, expList]);\n\n return { expenseList };\n};\n\nconst expenseEntries = (expList) =>\n Object.entries(expList).map(([label, value]) => {\n return { label, value };\n });\n","import _ from \"lodash\";\n\nexport const expenseInputHandlr = (opt, modalThis, setExpenseValue, expenseType, invertedExpList) => {\n const { label: name, value } = opt;\n\n const iscompanyLineItemTypeIncome =\n expenseType === \"company\" && invertedExpList[value] && invertedExpList[value] !== \"Custom Expense\";\n\n if (invertedExpList[value] === \"Custom\") {\n modalThis.setState({\n name: \"\",\n [expTypeId(expenseType, iscompanyLineItemTypeIncome)]: value,\n });\n return setExpenseValue({ value, label: \"\" });\n }\n\n modalThis.setState({\n name,\n [expTypeId(expenseType, iscompanyLineItemTypeIncome)]: value,\n });\n\n setExpenseValue(opt);\n};\n\nexport const expenseBtnHandlr = (e, modalThis, setExpenseValue) => {\n setExpenseValue(\"\");\n modalThis.setState({\n type: e.target.value,\n });\n};\n\nexport const incomeBtnHandlr = (e, modalThis) =>\n modalThis.setState({\n type: e.target.value,\n name: \"\",\n });\n\nexport const incomeExpenseInputTxtHandlr = (e, modalThis, expenseValue, expenseType, invertedExpList) => {\n const { type } = modalThis.state;\n const { value } = expenseValue;\n\n if (type === \"revenue\") {\n return modalThis.setState({ name: e.target.value });\n }\n const iscompanyLineItemTypeIncome =\n expenseType === \"company\" &&\n invertedExpList[expenseValue.value] &&\n invertedExpList[expenseValue.value] !== \"Custom Expense\";\n\n modalThis.setState({\n name: e.target.value,\n [expTypeId(expenseType, iscompanyLineItemTypeIncome)]: value,\n });\n};\n\nconst expTypeId = (expenseType, iscompanyLineItemTypeIncome) =>\n expenseType === \"transaction\"\n ? \"transaction_expense_type_id\"\n : expenseType === \"company\"\n ? iscompanyLineItemTypeIncome\n ? \"company_revenue_type_id\"\n : \"company_expense_type_id\"\n : \"agent_expense_type_id\";\n","import React from \"react\";\nimport {Radio} from 'react-bootstrap';\nimport {incomeBtnHandlr, expenseBtnHandlr} from './handlers';\n\nexport const IncomeExpenseRadio = props => {\n const { modalThis, setExpenseValue } = props;\n\n return (\n\t<>\n\t incomeBtnHandlr(e, modalThis)}\n\t\tchecked={modalThis.state.type === 'revenue'}>\n\t\tIncome\n\t \n\t expenseBtnHandlr(e, modalThis, setExpenseValue)}\n\t\t checked={modalThis.state.type === 'expense'}>\n\t\t Expense\n\t\t\n\t\n )\n}; \n","import React from \"react\";\nimport { Radio, FormGroup, Input } from \"../../../shared/v1\";\n\nclass ExpenseInput extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n isPercentage: !!props.isPercentage,\n disableFlip: !!props.disableFlip,\n inputSymbol: !!props.isPercentage ? \"%\" : \"$\",\n inputClass: !!props.isPercentage ? \"percentage-input\" : \"flat-input\",\n };\n }\n\n setInputType = (isPercentage) => {\n this.setState({\n ...this.state,\n isPercentage: isPercentage,\n inputSymbol: !!isPercentage ? \"%\" : \"$\",\n inputClass: !!isPercentage ? \"percentage-input\" : \"flat-input\",\n });\n };\n\n componentWillReceiveProps = (newProps, newContext) => {\n this.setInputType(!!newProps.isPercentage);\n };\n\n render() {\n const { label, value, name, onValueUpdate, onRadioUpdate } = this.props;\n\n return (\n \n {!!label && }\n\n
\n onValueUpdate(e)} />\n {this.state.inputSymbol}\n
\n\n {!this.state.disableFlip && (\n
\n {\n this.setInputType(true);\n onRadioUpdate(e);\n }}\n >\n Percent\n \n\n {\n this.setInputType(false);\n onRadioUpdate(e);\n }}\n >\n Flat\n \n
\n )}\n
\n );\n }\n}\n\nexport default ExpenseInput;\n","import React, { useState, useMemo } from \"react\";\nimport { Button, FormGroup, Col, Input, CancelButton } from \"../../../../shared/v1\";\nimport { useExpenseList } from \"./customHook\";\nimport { expenseInputHandlr, incomeExpenseInputTxtHandlr } from \"./handlers\";\nimport { IncomeExpenseRadio } from \"./fractals\";\nimport _ from \"lodash\";\nimport { Dropdown } from \"../../../../shared/v1\";\nimport ExpenseInput from \"../../shared/ExpenseInput\";\n\nexport const IncomeExpenseForm = (props) => {\n const { modalThis, setIsOpenNewIncomeModal, addIncome, expList, expenseType } = props;\n\n const { expenseList } = useExpenseList(expList);\n const invertedExpList = useMemo(() => _.invert(expList));\n const [expenseValue, setExpenseValue] = useState(\"\");\n\n return (\n
\n \n \n {addIncome && }\n \n \n \n
\n {modalThis.state.type === \"expense\" &&\n invertedExpList[expenseValue.value] !== \"Custom\" &&\n invertedExpList[expenseValue.value] !== \"Custom Income\" &&\n invertedExpList[expenseValue.value] !== \"Custom Expense\" ? (\n \n expenseInputHandlr(opt, modalThis, setExpenseValue, expenseType, invertedExpList)\n }\n options={expenseList}\n isSearchable={false}\n isClearable={false}\n placeholder={\n expenseType === \"company\" ? \"Select an expense/income\" : \"Select new expense category\"\n }\n className=\"tw-mb-4\"\n // For some reason, the placeholder is vertically off-center\n // _just_ for this instance, so we force some extra padding here\n // to fix that.\n variantOverrides={{ placeholderPaddingBottom: \"2px\" }}\n />\n ) : (\n {\n incomeExpenseInputTxtHandlr(e, modalThis, expenseValue, expenseType, invertedExpList);\n }}\n />\n )}\n {modalThis.state.type === \"income\" && textInput}\n
\n \n\n \n
\n {\n if (!!modalThis.state.percentage) {\n modalThis.setState({ value: e.target.value });\n } else {\n modalThis.setState({ value: e.target.value });\n }\n }}\n onRadioUpdate={(e) => {\n modalThis.setState({ percentage: e.target.value === \"true\" });\n }}\n />\n
\n \n
\n \n \n setIsOpenNewIncomeModal(false)}\n />\n modalThis.saveExpenseData()}\n >\n Save\n \n \n \n
\n );\n};\n","import { schemaClasses as schemaClassesFromRegularButton } from \"../Button/Button.styles\";\n\nimport { schemaGenerator } from \"../utils\";\n\nconst tertiary = {\n ...schemaClassesFromRegularButton.tertiary,\n disabled: [\n \"disabled:tw-bg-neutral-gray-5\",\n \"disabled:tw-border-neutral-gray-5\",\n \"disabled:tw-text-neutral-gray-30\",\n ],\n};\n\n// A _lot_ of the styles seen in the IconButton are exactly the same as ones\n// seen in the regular Button component, and in the past they've changed\n// together pretty often. As such, we opted to use the Button's styles as a base\n// here and just override whatever is different between them.\nconst schemaClasses = {\n ...schemaClassesFromRegularButton,\n tertiary,\n transparent: {\n default: [\"tw-text-neutral-gray-75\", \"tw-bg-black\", \"tw-border-transparent\", \"tw-bg-opacity-0\"],\n hover: [\"enabled:hover:tw-bg-opacity-5\"],\n active: [\"enabled:active:tw-bg-opacity-30\"],\n disabled: [\"disabled:tw-text-neutral-gray-30\"],\n },\n \"dark-tertiary\": {\n default: [\"tw-text-neutral-gray-30\", \"tw-bg-neutral-gray-100\", \"tw-border-transparent\"],\n hover: [\"hover:tw-text-neutral-gray-15\", \"enabled:hover:tw-bg-neutral-gray-75\"],\n active: [\"active:tw-text-neutral-gray-100\", \"enabled:active:tw-bg-neutral-gray-30\"],\n disabled: [\"disabled:tw-text-neutral-gray-75\", \"disabled:tw-bg-neutral-gray-100\"],\n },\n \"starred-yellow\": {\n default: [\"tw-text-white\", \"tw-bg-yellow-50\", \"tw-border-yellow-50\"],\n hover: [\"hover:tw-bg-yellow-100\", \"hover:tw-border-yellow-100\"],\n active: [\"active:tw-bg-yellow-50\", \"active:tw-border-yellow-50\"],\n disabled: [\"disabled:tw-bg-neutral-gray-30\", \"disabled:tw-border-neutral-gray-30\"],\n },\n \"misc-trash\": {\n default: [\"tw-text-neutral-gray-75\", \"tw-bg-neutral-gray-10\", \"tw-border-neutral-gray-10\"],\n hover: [\"hover:tw-bg-semantic-red-5\", \"hover:tw-border-semantic-red-5\", \"hover:tw-text-semantic-red-100\"],\n active: [\"active:tw-bg-semantic-red-100\", \"active:tw-border-semantic-red-100\", \"active:tw-text-white\"],\n disabled: [\n \"disabled:tw-bg-neutral-gray-5\",\n \"disabled:tw-border-neutral-gray-5\",\n \"disabled:tw-text-neutral-gray-30\",\n ],\n },\n};\n\nconst schemaDictionary = schemaGenerator(schemaClasses);\nexport const schemaBasedClasses = (schemaName) => schemaDictionary[schemaName];\nexport const validSchemas = Object.keys(schemaDictionary);\n\nconst dimensionsFor = {\n medium: \"tw-w-[32px] tw-h-[32px]\",\n small: \"tw-w-[24px] tw-h-[24px]\",\n xsmall: \"tw-w-[16px] tw-h-[16px]\",\n};\n\nconst fontSizeFor = {\n medium: \"tw-text-14d\",\n small: \"tw-text-11d\",\n};\n\nexport const sizeBasedClasses = (size) => `${fontSizeFor[size]} ${dimensionsFor[size]}`;\n\nexport { border as borderFor } from \"../Button/Button.styles\";\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { borderFor, schemaBasedClasses, validSchemas, sizeBasedClasses } from \"./IconButton.styles\";\n\nconst IconButton = forwardRef(({ children, className, onClick, schema, size, type, ...otherProps }, ref) => (\n \n {children}\n \n));\n\nIconButton.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n onClick: PropTypes.func,\n schema: PropTypes.oneOf(validSchemas),\n size: PropTypes.oneOf([\"xsmall\", \"small\", \"medium\", \"custom\"]),\n type: PropTypes.string,\n};\n\nIconButton.defaultProps = {\n children: null,\n className: \"\",\n onClick: null,\n schema: \"primary\",\n size: \"medium\",\n type: \"button\",\n};\n\nexport default IconButton;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"../IconButton\";\nimport { XmarkSolidV6 } from \"../Icomoon\";\n\nconst VARIANT_STYLES = {\n success: \"tw-bg-semantic-green-5 tw-text-semantic-green-120\",\n error: \"tw-bg-semantic-red-5 tw-text-semantic-red-120\",\n warning: \"tw-bg-semantic-yellow-5 tw-text-semantic-yellow-120\",\n info: \"tw-bg-semantic-blue-5 tw-text-semantic-blue-120\",\n brivity: \"tw-bg-[#EEF9F9] tw-text-[#336E7B] tw-border-solid tw-border-[1px] tw-border-[#DEF3F3]\",\n gray: \"tw-bg-gray-5 tw-text-gray-120 tw-border-solid tw-border-[1px] tw-border-gray-10\",\n};\n\nconst Alert = ({ title, text, onClose, variant, containerClass }) => (\n \n {title &&

{title}

}\n
{text}
\n {onClose && (\n \n \n \n )}\n \n);\n\nAlert.propTypes = {\n title: PropTypes.string,\n containerClass: PropTypes.string,\n text: PropTypes.node,\n onClose: PropTypes.func,\n variant: PropTypes.oneOf(Object.keys(VARIANT_STYLES)),\n};\n\nAlert.defaultProps = {\n title: \"\",\n containerClass: \"\",\n text: \"\",\n onClose: null,\n variant: \"info\",\n};\n\nexport default Alert;\n","import React from \"react\";\nimport isString from \"lodash/isString\";\nimport Alert from \"./v2/Alert\";\n\nconst Error = ({ errorMessage }) => {\n const messages = isString(errorMessage) ? errorMessage.split() : errorMessage;\n\n return messages.map((err, i) => (\n } />\n ));\n};\n\nError.defaultProps = {\n errorMessage: \"\",\n};\nexport default Error;\n","import React from \"react\";\nimport { Col, Row, Modal } from \"../../../shared/v1\";\nimport { removeKeys } from \"../../shared/helpers\";\nimport { moveDeletedExpenseToEnd } from \"../shared/FinancialViewHelpers\";\nimport { IncomeExpenseForm } from \"../shared/IncomeExpenseForm\";\nimport Error from \"../../../shared/Error\";\n\nclass AddExpenseModal extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n name: \"\",\n value: \"\",\n percentage: true,\n position: \"\",\n isNotValid: false,\n agent_expense_type_id: \"\",\n transaction_expense_type_id: \"\",\n company_expense_type_id: \"\",\n company_revenue_type_id: \"\",\n type: \"expense\",\n errMsg: \"\",\n };\n }\n\n saveExpenseData = () => {\n if (this.state.percentage) {\n if (this.state.value >= 0 && this.state.value <= 100) {\n this.saveData();\n } else {\n this.setState({\n isNotValid: true,\n errMsg: \"Please enter value between 0 and 100\",\n });\n }\n } else {\n this.saveData();\n }\n };\n\n saveData = () => {\n if ((this.state.name != \"\" || this.state.value != \"\") && this.state.name && this.state.value) {\n if (this.props.expenseType === \"office\") {\n this.state.position =\n this.props.accountData.account_financial_template.custom_account_expenses_attributes.length + 1;\n const customState = removeKeys(this.state, [\n \"agent_expense_type_id\",\n \"company_expense_type_id\",\n \"company_revenue_type_id\",\n ]);\n this.props.accountData.account_financial_template.custom_account_expenses_attributes.push(\n customState,\n );\n }\n if (this.props.expenseType === \"company\") {\n this.state.position =\n this.props.accountData.company_expense_template.custom_agent_expenses_attributes.length + 1;\n const customState = removeKeys(this.state, [\"agent_expense_type_id\", \"transaction_expense_type_id\"]);\n this.props.accountData.company_expense_template.custom_agent_expenses_attributes.push(customState);\n }\n\n if (this.props.expenseType === \"agent\") {\n const data = this.props.accountData.agent_expense_templates.agent_expenses.find(\n this.props.activeAgentExpense,\n );\n const index = this.props.accountData.agent_expense_templates.agent_expenses.indexOf(data);\n this.state.position =\n this.props.accountData.agent_expense_templates.agent_expenses[\n index\n ].custom_agent_expenses_attributes.filter((exp) => !exp._destroy).length + 2;\n const customState = removeKeys(this.state, [\n \"transaction_expense_type_id\",\n \"company_expense_type_id\",\n \"company_revenue_type_id\",\n ]);\n this.props.accountData.agent_expense_templates.agent_expenses[\n index\n ].custom_agent_expenses_attributes.push(customState);\n moveDeletedExpenseToEnd(\n this.props.accountData.agent_expense_templates.agent_expenses[index]\n .custom_agent_expenses_attributes,\n );\n }\n\n this.props.setAccountData(this.props.accountData);\n this.props.closeNewExpenseModal();\n } else {\n this.setState({\n isNotValid: true,\n errMsg: \"Please enter name and value\",\n });\n }\n };\n\n render() {\n const {\n isModalOpen,\n closeNewExpenseModal,\n agentExpenseList,\n transactionExpenseList,\n companyList,\n expenseType,\n } = this.props;\n return (\n \n \n \n {this.props.expenseType === \"company\" ? \"New Expense/Income\" : \"New Expense\"}\n \n \n\n \n
\n {this.state.isNotValid && }\n \n \n

This is standardized for all transactions.

\n \n
\n \n
\n \n
\n );\n }\n}\n\nexport default AddExpenseModal;\n","import React from \"react\";\nimport { sortableHandle } from \"react-sortable-hoc\";\nimport { Col } from \"../../../shared/v1\";\n\nconst DragHandle = sortableHandle(() => (\n \n \n \"Drag\n \n \n));\n\nexport default DragHandle;\n","import React from \"react\";\nimport { Radio, FormGroup, Input } from \"../../../shared/v1\";\n\nclass TransactionInput extends React.Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n isPercentage: !!props.isPercentage,\n disableFlip: !!props.disableFlip,\n inputSymbol: !!props.isPercentage ? \"%\" : \"$\",\n inputClass: !!props.isPercentage ? \"percentage-input\" : \"flat-input\",\n };\n }\n\n setInputType = (isPercentage) => {\n this.setState({\n ...this.state,\n isPercentage: isPercentage,\n inputSymbol: !!isPercentage ? \"%\" : \"$\",\n inputClass: !!isPercentage ? \"percentage-input\" : \"flat-input\",\n });\n };\n\n componentWillReceiveProps = (newProps, newContext) => {\n this.setInputType(!!newProps.isPercentage);\n };\n\n render() {\n const { label, value, name, onValueUpdate, onRadioUpdate, addClassradio1, addClassradio2 } = this.props;\n\n return (\n \n {!!label && }\n\n
\n onValueUpdate(e)} />\n {this.state.inputSymbol}\n
\n\n {!this.state.disableFlip && (\n
\n {\n this.setInputType(true);\n onRadioUpdate(e);\n }}\n >\n Percent\n \n\n {\n this.setInputType(false);\n onRadioUpdate(e);\n }}\n >\n Flat\n \n
\n )}\n
\n );\n }\n}\n\nexport default TransactionInput;\n","const keyMapping = (keyMapp, data) => {\n const newData = Object.keys(data).reduce((acc, key) => {\n acc[keyMapp[key] || key] = data[key];\n return acc;\n }, {});\n return newData;\n};\n\nexport const companyOptions = (companyExpenseList, companyRevenueList) => {\n const keyMappExpense = {\n Custom: \"Custom Expense\",\n };\n const keyMappIncome = {\n Custom: \"Custom Income\",\n };\n const companyList = {\n ...keyMapping(keyMappIncome, companyRevenueList),\n ...keyMapping(keyMappExpense, companyExpenseList),\n };\n return companyList;\n};\n","import React from \"react\";\nimport { Col, Row, FormGroup, TextArea, Clearfix, Button } from \"../../../shared/v1\";\nimport { sortableContainer, sortableElement, arrayMove } from \"react-sortable-hoc\";\nimport AddExpenseModal from \"./AddExpenseModal\";\nimport DragHandle from \"../shared/DragHandle\";\nimport TransactionInput from \"../shared/TransactionInput\";\nimport { companyOptions } from \"./Company/helpers\";\n\nconst SortableItem = sortableElement(({ value, sortIndex, accountData, setAccountData }) => {\n const { name, transaction_expense_type_id: t_id } = value;\n\n const { transaction_expense_types } = accountData;\n\n return (\n
\n \n \n\n \n {\n if (!!value.percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n value.value = e.target.value;\n setAccountData(accountData);\n }\n } else {\n value.value = e.target.value;\n setAccountData(accountData);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && value.value > 100) {\n value.value = \"\";\n }\n value.percentage = e.target.value === \"true\";\n setAccountData(accountData);\n }}\n />\n \n\n \n \n \n\n {\n value.notes = e.target.value;\n setAccountData(accountData);\n }}\n />\n \n \n\n
\n {\n accountData.account_financial_template.custom_account_expenses_attributes[sortIndex]._destroy =\n \"1\";\n let position = 0;\n accountData.account_financial_template.custom_account_expenses_attributes.map((obj) => {\n if (obj._destroy) {\n if (obj.position) {\n delete obj[\"position\"];\n }\n } else {\n obj.position = position + 1;\n position = position + 1;\n }\n });\n setAccountData(accountData);\n }}\n >\n \n \n
\n
\n
\n );\n});\n\nconst SortableContainer = sortableContainer(({ items, accountData, setAccountData }) => {\n return (\n \n {items.map(\n (value, index) =>\n !value._destroy && (\n \n ),\n )}\n \n );\n});\n\nclass TransactionGCIForm extends React.Component {\n constructor(props, context) {\n super(props, context);\n }\n\n onAddExpense = () => {\n this.props.openNewExpenseModal();\n this.props.unsetAgentExpense();\n };\n\n onSortEnd = ({ oldIndex, newIndex }) => {\n this.props.accountData.account_financial_template.custom_account_expenses_attributes = arrayMove(\n this.props.accountData.account_financial_template.custom_account_expenses_attributes,\n oldIndex,\n newIndex,\n );\n let position = 0;\n this.props.accountData.account_financial_template.custom_account_expenses_attributes.map((obj) => {\n if (obj._destroy) {\n if (obj.position) {\n delete obj[\"position\"];\n }\n } else {\n obj.position = position + 1;\n position = position + 1;\n }\n });\n this.props.setAccountData(this.props.accountData);\n };\n\n render() {\n const { isModalOpen, accountData, setAccountData } = this.props;\n\n return (\n \n
\n
\n

Office Commission

\n
\n\n
\n \n \n {\n if (!!accountData.account_financial_template.listing_commission_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n accountData.account_financial_template.listing_commission = e.target.value;\n setAccountData(accountData);\n }\n } else {\n accountData.account_financial_template.listing_commission = e.target.value;\n setAccountData(accountData);\n }\n }}\n onRadioUpdate={(e) => {\n if (\n e.target.value === \"true\" &&\n accountData.account_financial_template.listing_commission > 100\n ) {\n accountData.account_financial_template.listing_commission = \"\";\n }\n accountData.account_financial_template.listing_commission_percentage =\n e.target.value === \"true\";\n setAccountData(accountData);\n }}\n />\n \n\n \n {\n if (!!accountData.account_financial_template.selling_commission_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n accountData.account_financial_template.selling_commission = e.target.value;\n setAccountData(accountData);\n }\n } else {\n accountData.account_financial_template.selling_commission = e.target.value;\n setAccountData(accountData);\n }\n }}\n onRadioUpdate={(e) => {\n if (\n e.target.value === \"true\" &&\n accountData.account_financial_template.selling_commission > 100\n ) {\n accountData.account_financial_template.selling_commission = \"\";\n }\n accountData.account_financial_template.selling_commission_percentage =\n e.target.value === \"true\";\n setAccountData(accountData);\n }}\n />\n \n \n
\n
\n\n
\n
\n

Transaction Expenses

\n \n Add Expense\n \n
\n\n \n
\n\n {isModalOpen && this.renderModal()}\n
\n );\n }\n\n renderModal() {\n const {\n isModalOpen,\n closeNewExpenseModal,\n accountData,\n setAccountData,\n expenseType,\n activeAgentExpense,\n } = this.props;\n\n const {\n agent_expense_types: agentExpenseList,\n transaction_expense_types: transactionExpenseList,\n company_expense_types: companyExpenseList,\n company_revenue_types: companyRevenueList,\n } = accountData;\n return (\n \n );\n }\n}\n\nexport default TransactionGCIForm;\n","import React from \"react\";\nimport { Col, Row, FormGroup } from \"../../../../shared/v1\";\nimport { formatValue } from \"../../shared/FinancialViewHelpers\";\nimport { kebabCase } from \"lodash\";\nimport format from \"../../../../shared/formatters\";\n\nexport const Split = (props) => {\n const { agentData } = props;\n const { brokerage_split_percentage, royalty_percentage } = agentData;\n\n return (\n \n \n \n \n \n {brokerage_split_percentage\n ? formatValue(agentData.brokerage_split, agentData.brokerage_split_percentage)\n : format.currency(agentData.brokerage_split)}\n \n \n \n \n \n \n \n {format.currency(agentData.brokerage_cap)}\n \n \n \n \n \n \n \n {agentData.brokerage_cap_reset_month || \"\"}-{agentData.brokerage_cap_reset_day || \"\"}\n \n \n \n \n \n \n \n {royalty_percentage\n ? formatValue(agentData.royalty, agentData.royalty_percentage)\n : format.currency(agentData.royalty)}\n \n \n \n \n \n \n \n {format.currency(agentData.royalty_cap)}\n \n \n \n \n \n \n \n {agentData.royalty_cap_reset_month || \"\"}-{agentData.royalty_cap_reset_day || \"\"}\n \n \n \n \n );\n};\n","import React from \"react\";\nimport { Expense } from \"../Expense\";\nimport { Split } from \"../Split\";\nimport { createFinancialsSortedExpensesPointer } from \"../../shared/FinancialViewHelpers\";\nimport { getRandomNumber } from \"../../../../Transactions/utils/helpers\";\n\nexport const Expenses = (props) => {\n const { agentPosition, agent } = props;\n const expenses = createFinancialsSortedExpensesPointer(agent);\n\n return (\n
\n
\n

Agent Expenses

\n
\n\n
\n {expenses.map((exp, j) =>\n exp.hasOwnProperty(\"royalty\") ? (\n \n ) : (\n \n ),\n )}\n
\n
\n );\n};\n","const dimensionsDictionary = {\n \"extra-large\": \"tw-w-96px tw-h-96px\",\n large: \"tw-w-48px tw-h-48px\",\n medium: \"tw-w-36px tw-h-36px\",\n \"medium-small\": \"tw-w-32px tw-h-32px\",\n small: \"tw-w-24px tw-h-24px\",\n};\n\nexport const availableSizes = Object.keys(dimensionsDictionary);\n\nexport const dimensionsValue = (size) => dimensionsDictionary[size];\n\nconst fontDictionary = {\n \"extra-large\": \"tw-font-normal tw-text-28d\",\n large: \"tw-font-normal tw-text-18d\",\n medium: \"tw-font-semibold tw-text-14d\",\n \"medium-small\": \"tw-font-semibold tw-text-14d\",\n small: \"tw-font-semibold tw-text-12d\",\n};\n\nexport const fontValue = (size) => fontDictionary[size];\n\nexport const sizeBasedClasses = (size) =>\n size === \"none\" ? \"\" : `${dimensionsValue(size)} ${fontValue(size)}`;\n\nconst borderDictionary = {\n neutral: \"tw-border tw-border-solid tw-border-neutral-gray-15\",\n tinted: \"tw-border tw-border-solid tw-border-tinted-gray-50\",\n};\n\nexport const borderValue = (border) => (border === \"none\" ? \"\" : borderDictionary[border]);\n\nconst iconSizeDictionary = {\n \"extra-large\": \"xxxl\",\n large: \"xl\",\n medium: \"l\",\n \"medium-small\": \"l\",\n small: \"m\",\n};\n\nexport const iconSizeValue = (size) => iconSizeDictionary[size];\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { User as UserIcon } from \"../Icomoon\";\nimport { sizeBasedClasses, borderValue, iconSizeValue, availableSizes } from \"./Avatar.styles\";\nimport { getInitials } from \"../utils\";\n\nconst Avatar = ({ className, size, border, alt, src, ...otherProps }) => {\n const [imgSrc, setImgSrc] = useState(\"\");\n\n useEffect(() => {\n // Make sure that `src` is a valid image URL\n\n if (!src) {\n setImgSrc(\"\");\n\n return;\n }\n\n setImgSrc(\"\");\n\n const img = document.createElement(\"img\");\n img.onload = () => {\n setImgSrc(img.src);\n };\n img.src = src;\n }, [src]);\n\n let children;\n\n // The variant to render is decided based on the props:\n //\n // * `alt` and `src` are provided:\n // * `src` is a valid image URL: renders image\n // * `src` is not a valid image URL: renders text in `alt`\n // * `children` is provided:\n // * renders text in `children`\n // * nothing is provided:\n // * renders user icon\n if (alt && src && imgSrc) {\n children = (\n \n );\n } else if (otherProps.children || alt) {\n const text = otherProps.children || alt;\n\n children = {getInitials(text)};\n } else {\n children = (\n \n );\n }\n\n return (\n \n {children}\n \n );\n};\n\nAvatar.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([...availableSizes, \"none\"]),\n border: PropTypes.oneOf([\"neutral\", \"tinted\", \"none\"]),\n alt: PropTypes.string,\n src: PropTypes.string,\n children: PropTypes.string,\n};\n\nAvatar.defaultProps = {\n className: \"\",\n size: \"small\",\n border: \"neutral\",\n alt: \"\",\n src: \"\",\n children: \"\",\n};\n\nexport default Avatar;\n","import React from \"react\";\nimport { Panel } from \"@shared/v1\";\nimport { Expenses } from \"../Expenses\";\nimport { kebabCase } from \"lodash\";\nimport Avatar from \"@shared/v2/Avatar\";\n\nexport const Agent = (props) => {\n const { idx, agent } = props;\n\n const { id, name, custom_agent_expenses_attributes: expenses } = agent;\n const avatar = /^http/.test(agent.avatar) ? agent.avatar : null;\n\n return (\n
\n \n \n \n \n \n {name}\n \n \n \n\n \n \n \n \n \n \n
\n );\n};\n","import React from \"react\";\nimport { Agent } from \"../Agent\";\nimport { connect } from \"react-redux\";\n\nconst mapStateToProps = (state) => ({\n agents: state.accountFinancial.accountData?.agent_expense_templates.agent_expenses,\n});\n\nexport const Agents = connect(\n mapStateToProps,\n null,\n)((props) => {\n const { agents } = props;\n\n return (\n
\n {agents.map((agent, i) => (\n \n ))}\n
\n );\n});\n","import React, { forwardRef } from 'react';\nimport PropTypes from 'prop-types';\n\nconst Input = forwardRef((props, ref) => {\n const { icon, ...rest } = props;\n const iconType = icon ? : null\n \n return(\n
\n \n {iconType}\n
\n )\n});\n\nInput.propTypes = {\n icon: PropTypes.string,\n}\n\nInput.defaultProps = {\n type: 'text',\n className: 'form-control input-sm'\n}\n\nexport default Input;\n","import React from 'react';\nimport Datetime from 'react-datetime';\nimport Input from './Input';\nimport moment from 'moment';\n\nexport const QUERY_DATE_FORMAT = \"YYYY-MM-DD\";\n\nclass DatePicker extends React.Component {\n handleDateOnChange = (e) => {\n const value = e;\n if(moment(value, ['MM-DD-YYYY', 'YYYY-MM-DD'], true).isValid()) {\n this.props.onChange(e);\n }\n }\n\n handleDateOnBlur= (e) => {\n const value = e;\n if(!moment(value, ['MM-DD-YYYY', 'YYYY-MM-DD'], true).isValid()) {\n this.props.onChange('');\n }\n }\n\n handleDateOnFocus= () => {\n if(!moment(this.props.value, ['MM-DD-YYYY', 'YYYY-MM-DD'], true).isValid()) {\n this.props.onChange(moment().format('YYYY-MM-DD'));\n }\n }\n\n showCalendar = (props, openCalendar) => {\n return(\n \n )\n }\n\n clear = () => {\n this.refs.datetime.value = '';\n }\n\n formatValue = () => {\n if (this.props.dateFormat != undefined && this.props.dateFormat == 'MM-DD') {\n return moment(this.props.value, 'MM-DD');\n }\n else if(moment(this.props.value, 'YYYY-MM-DD', true).isValid()) {\n return moment(this.props.value, 'YYYY-MM-DD');\n }\n else {\n return '';\n }\n }\n\n render() {\n const {style,className,inputProps } = this.props;\n return (\n \n )\n }\n}\n\nexport default DatePicker;\n","import React from \"react\";\nimport { Col, FormGroup } from \"../../../../shared/v1\";\nimport TransactionInput from \"../../shared/TransactionInput\";\nimport * as actionCreators from \"../../../actions/account\";\nimport { connect } from \"react-redux\";\nimport DatePicker from \"../../../../shared/DatePicker\";\nimport DragHandle from \"../../shared/DragHandle\";\nimport { kebabCase } from \"lodash\";\n\nconst mapDispatchToProps = (dispatch) => ({\n setAgentBrokerageData: (attr, data, agentPosition) =>\n dispatch(actionCreators.setAgentBrokerageData(attr, data, agentPosition)),\n});\n\nconst mapStateToProps = (state) => ({\n agents: state.accountFinancial.accountData?.agent_expense_templates.agent_expenses,\n});\n\nexport const SplitForm = connect(\n mapStateToProps,\n mapDispatchToProps,\n)((props) => {\n const { agentPosition, setAgentBrokerageData, agents } = props;\n const agent = agents[agentPosition];\n\n return (\n
\n
\n
\n \n \n
\n {\n if (!!agent.brokerage_split_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n setAgentBrokerageData(\"brokerage_split\", e.target.value, agentPosition);\n }\n } else {\n setAgentBrokerageData(\"brokerage_split\", e.target.value, agentPosition);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && agent.brokerage_split > 100) {\n setAgentBrokerageData(\"brokerage_split\", \"\", agentPosition);\n }\n setAgentBrokerageData(\n \"brokerage_split_percentage\",\n e.target.value === \"true\",\n agentPosition,\n );\n }}\n />\n
\n \n \n
\n {\n setAgentBrokerageData(\"brokerage_cap\", e.target.value, agentPosition);\n }}\n />\n
\n \n \n \n \n
\n {\n const [month, day] = moment(e).format(\"MM-DD\").split(\"-\");\n setAgentBrokerageData(\"brokerage_cap_reset_day\", day, agentPosition);\n setAgentBrokerageData(\"brokerage_cap_reset_month\", month, agentPosition);\n }}\n />\n
\n
\n \n \n
\n {\n if (!!agent.royalty_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n setAgentBrokerageData(\"royalty\", e.target.value, agentPosition);\n }\n } else {\n setAgentBrokerageData(\"royalty\", e.target.value, agentPosition);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && agent.royalty > 100) {\n setAgentBrokerageData(\"royalty\", \"\", agentPosition);\n }\n setAgentBrokerageData(\"royalty_percentage\", e.target.value === \"true\", agentPosition);\n }}\n />\n
\n \n \n
\n {\n setAgentBrokerageData(\"royalty_cap\", e.target.value, agentPosition);\n }}\n />\n
\n \n \n \n \n
\n {\n const [month, day] = moment(e).format(\"MM-DD\").split(\"-\");\n setAgentBrokerageData(\"royalty_cap_reset_day\", day, agentPosition);\n setAgentBrokerageData(\"royalty_cap_reset_month\", month, agentPosition);\n }}\n />\n
\n
\n \n
\n
\n
\n );\n});\n","import React from \"react\";\nimport TransactionInput from \"../../shared/TransactionInput\";\nimport { Row, Col, FormGroup, TextArea } from \"../../../../shared/v1\";\nimport DragHandle from \"../../shared/DragHandle\";\nimport { connect } from \"react-redux\";\nimport * as actionCreators from \"../../../actions/account\";\n\nconst mapDispatchToProps = (dispatch) => ({\n setAgentExpenseData: (attr, data, agentPosition, expPosition) =>\n dispatch(actionCreators.setAgentExpenseData(attr, data, agentPosition, expPosition)),\n destroyAgentExpense: (agentPosition, expPosition) =>\n dispatch(actionCreators.destroyAgentExpense(agentPosition, expPosition)),\n});\n\nexport const ExpenseForm = connect(\n null,\n mapDispatchToProps,\n)((props) => {\n const { value, destroyAgentExpense, agentPosition, sortIndex: expPosition, setAgentExpenseData } = props;\n\n return (\n
\n
\n \n \n\n \n {\n if (!!value.percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n setAgentExpenseData(\"value\", e.target.value, agentPosition, value.position);\n }\n } else {\n setAgentExpenseData(\"value\", e.target.value, agentPosition, value.position);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && value.value > 100) {\n setAgentExpenseData(\"value\", \"\", agentPosition, value.position);\n }\n setAgentExpenseData(\"percentage\", e.target.value === \"true\", agentPosition, value.position);\n }}\n />\n \n\n \n \n \n {\n setAgentExpenseData(\"notes\", e.target.value, agentPosition, value.position);\n }}\n />\n \n \n\n
\n {\n destroyAgentExpense(agentPosition, value.position);\n }}\n data-cy=\"financial-settings-destroy-expense-anchor\"\n >\n \n \n
\n
\n
\n
\n );\n});\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { sortableContainer, sortableElement, arrayMove } from \"react-sortable-hoc\";\nimport {\n openNewExpenseModal0,\n setAgentExpense0,\n setActiveAgentExpense0,\n setAccountData0,\n} from \"../../../actions/account\";\nimport { Panel, Button } from \"../../../../shared/v1\";\nimport { SplitForm } from \"../SplitForm\";\nimport { ExpenseForm } from \"../ExpenseForm\";\nimport { expensePointers } from \"./helpers\";\nimport { onAddExpense, onSortEnd } from \"./handlers\";\nimport { kebabCase } from \"lodash\";\nimport Avatar from \"../../../../shared/v2/Avatar\";\n\nconst SortableItem = sortableElement(({ value, sortIndex, accountData, setAccountData, agentPosition }) => {\n return value.hasOwnProperty(\"royalty\") ? (\n \n ) : (\n \n );\n});\n\nconst SortableContainer = sortableContainer(({ items, accountData, setAccountData, agentPosition }) => {\n return (\n
\n {items.map(\n (value, index) =>\n !value._destroy && (\n \n ),\n )}\n
\n );\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n openNewExpenseModal: () => dispatch(openNewExpenseModal0()),\n setAgentExpense: () => dispatch(setAgentExpense0()),\n setActiveAgentExpense: (agent) => dispatch(setActiveAgentExpense0(agent)),\n setAccountData: (accountData) => dispatch(setAccountData0(accountData)),\n});\n\nconst mapStateToProps = (state) => ({\n accountData: state.accountFinancial.accountData,\n});\n\nexport const AgentForm = connect(\n mapStateToProps,\n mapDispatchToProps,\n)((props) => {\n const { openNewExpenseModal, setAgentExpense, setActiveAgentExpense, setAccountData, agentPosition } =\n props;\n\n const agent = { ...props.agent };\n const avatar = /^http/.test(agent.avatar) ? agent.avatar : null;\n const accountData = { ...props.accountData };\n let expensesPositionPointer = expensePointers(agent);\n\n return (\n
\n \n \n \n \n \n {agent.name}\n \n \n \n\n \n \n
\n
\n

Agent Expenses

\n {\n onAddExpense(agent, { openNewExpenseModal, setAgentExpense, setActiveAgentExpense });\n }}\n >\n Add Expense\n \n
\n \n onSortEnd(\n indexes,\n agentPosition,\n expensesPositionPointer,\n accountData,\n setAccountData,\n agent,\n )\n }\n accountData={accountData}\n agentPosition={agentPosition}\n useDragHandle\n />\n
\n \n \n
\n
\n );\n});\n","import { reAssignExpensePositions, createFinancialsSortedExpensesPointer } from \"../../shared/FinancialViewHelpers\";\n\nexport const expensePointers = agent => {\n reAssignExpensePositions(agent) \n return createFinancialsSortedExpensesPointer(agent);\n}\n","import { arrayMove } from \"react-sortable-hoc\";\n\nexport const onAddExpense = (agent, {openNewExpenseModal, setAgentExpense, setActiveAgentExpense}) => {\n openNewExpenseModal();\n setAgentExpense();\n setActiveAgentExpense(agent);\n}\n\nexport const onSortEnd = (indexes, agentPosition, expensesPositionPointer, accountData, setAccountData, agent) => {\n const { \n oldIndex, \n newIndex\n } = indexes; \n const newExpPointer = arrayMove([...expensesPositionPointer].filter(exp => !exp.hasOwnProperty('_destroy')), oldIndex, newIndex);\n\n let position = 1;\n for(let exp of newExpPointer){\n exp.position = position;\n position = position + 1;\n }\n accountData.agent_expense_templates.agent_expenses[agentPosition] = agent;\n\n setAccountData(accountData);\n};\n","import React from \"react\";\nimport { AgentForm } from \"../AgentForm\";\nimport { connect } from \"react-redux\";\n\nconst mapStateToProps = (state) => ({\n agents: state.accountFinancial.accountData?.agent_expense_templates.agent_expenses,\n});\n\nexport const AgentsForm = connect(\n mapStateToProps,\n null,\n)((props) => {\n const { agents } = props;\n\n return (\n
\n {agents.map((agent, i) => (\n \n ))}\n
\n );\n});\n","import React from \"react\";\nimport { kebabCase } from \"lodash\";\nimport { Col, Row, Clearfix, FormGroup, Panel } from \"../../../../shared/v1\";\nimport { Expense } from \"../Expense\";\nimport Tooltip from \"../../../../shared/v2/Tooltip\";\nimport { Info } from \"../../../../shared/v2/Icomoon\";\n\nconst Company = ({ accountData }) => {\n const { company_expense_template: company_expense, company_expense_types } = accountData;\n const { id, name, custom_agent_expenses_attributes: expenses } = company_expense;\n\n return (\n
\n \n \n \n \n {name}\n \n \n \n\n \n \n \n
\n \n

Details

\n
\n\n
\n \n \n \n
\n }\n trigger={}\n />\n \n {name}\n \n \n \n
\n
\n {!!company_expense?.custom_agent_expenses_attributes.length && (\n
\n \n

Company Expenses/Income

\n
\n\n
\n {expenses.map((expense, i) => {\n return (\n !expense._destroy && (\n \n )\n );\n })}\n
\n
\n )}\n \n \n \n \n \n );\n};\n\nexport default Company;\n","import React from \"react\";\nimport { kebabCase } from \"lodash\";\nimport { Col, Row, FormGroup, TextArea, Panel, Clearfix, Input } from \"../../../../shared/v1\";\nimport { sortableContainer, sortableElement, arrayMove } from \"react-sortable-hoc\";\nimport AddExpenseModal from \"../AddExpenseModal\";\nimport Tooltip from \"../../../../shared/v2/Tooltip\";\nimport { Info, Plus } from \"../../../../shared/v2/Icomoon\";\nimport DragHandle from \"../../shared/DragHandle\";\nimport TransactionInput from \"../../shared/TransactionInput\";\nimport Button from \"../../../../shared/v2/Button\";\nimport { companyOptions } from \"./helpers\";\n\nconst SortableItem = sortableElement(({ value, sortIndex, accountData, setAccountData }) => {\n const { name } = value;\n return (\n
\n \n \n\n \n {\n if (!!value.percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n value.value = e.target.value;\n setAccountData(accountData);\n }\n } else {\n value.value = e.target.value;\n setAccountData(accountData);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && value.value > 100) {\n value.value = \"\";\n }\n value.percentage = e.target.value === \"true\";\n setAccountData(accountData);\n }}\n />\n \n\n \n \n \n\n {\n value.notes = e.target.value;\n setAccountData(accountData);\n }}\n />\n \n \n\n
\n {\n accountData.company_expense_template.custom_agent_expenses_attributes[sortIndex]._destroy = \"1\";\n let position = 0;\n accountData.company_expense_template.custom_agent_expenses_attributes.map((obj) => {\n if (obj._destroy) {\n if (obj.position) {\n delete obj[\"position\"];\n }\n } else {\n obj.position = position + 1;\n position = position + 1;\n }\n });\n setAccountData(accountData);\n }}\n >\n \n \n
\n
\n
\n );\n});\n\nconst SortableContainer = sortableContainer(({ items, accountData, setAccountData }) => {\n return (\n \n {items.map(\n (value, index) =>\n !value._destroy && (\n \n ),\n )}\n \n );\n});\n\nconst CompanyForm = ({\n isModalOpen,\n openNewExpenseModal,\n setCompanyExpense,\n accountData,\n setAccountData,\n closeNewExpenseModal,\n expenseType,\n activeAgentExpense,\n}) => {\n const {\n company_expense_template: company_expense,\n company_expense_types,\n company_revenue_types,\n transaction_expense_types,\n agent_expense_types,\n } = accountData;\n const { id, name, custom_agent_expenses_attributes: expenses } = company_expense;\n const onAddExpense = () => {\n openNewExpenseModal();\n setCompanyExpense();\n };\n\n const onSortEnd = ({ oldIndex, newIndex }) => {\n accountData.company_expense_template.custom_agent_expenses_attributes = arrayMove(\n accountData.company_expense_template.custom_agent_expenses_attributes,\n oldIndex,\n newIndex,\n );\n let position = 0;\n accountData.company_expense_template.custom_agent_expenses_attributes.map((obj) => {\n if (obj._destroy) {\n if (obj.position) {\n delete obj[\"position\"];\n }\n } else {\n obj.position = position + 1;\n position = position + 1;\n }\n });\n setAccountData(accountData);\n };\n\n return (\n
\n \n \n \n \n {name}\n \n \n \n\n \n \n \n
\n
\n

Details

\n
\n\n
\n \n \n \n
\n }\n trigger={}\n />\n \n {\n accountData.company_expense_template.name = e.target.value;\n accountData.company_name = e.target.value;\n setAccountData(accountData);\n }}\n />\n \n \n \n
\n
\n\n
\n
\n

Company Expenses/Income

\n \n \n ADD\n \n
\n\n \n
\n \n \n \n \n {isModalOpen && (\n \n )}\n \n );\n};\nexport default CompanyForm;\n","import React from \"react\";\nimport { Col, Row, Alert, Button } from \"../../../shared/v1\";\nimport TransactionGCI from \"./TransactionGCI\";\nimport TransactionGCIForm from \"./TransactionGCIForm\";\nimport { Agents } from \"./Agents\";\nimport { AgentsForm } from \"./AgentsForm\";\nimport Error from \"../../../shared/Error\";\n\nimport \"../shared/Financials.sass\";\nimport Company from \"./Company\";\nimport CompanyForm from \"./Company/CompanyForm\";\n\nclass AccountFinancial extends React.Component {\n constructor(props, context) {\n super(props, context);\n }\n\n saveData = () => {\n this.props.submitTransactionData(this.props.accountData);\n };\n\n showEdit = () => {\n this.props.showEdit();\n };\n\n hideAlertMsg = () => {\n this.props.hideAlert();\n };\n\n componentDidUpdate() {\n const {\n setAgentExpenseList,\n setTransactionExpenseList,\n setCompanyExpenseList,\n setCompanyRevenueList,\n accountData: {\n agent_expense_types,\n transaction_expense_types,\n company_expense_types,\n company_revenue_types,\n },\n } = this.props;\n\n setTransactionExpenseList(transaction_expense_types);\n setAgentExpenseList(agent_expense_types);\n setCompanyExpenseList(company_expense_types);\n setCompanyRevenueList(company_revenue_types);\n }\n\n render() {\n const {\n isModalOpen,\n accountData,\n openNewExpenseModal,\n closeNewExpenseModal,\n setAccountData,\n unsetAgentExpense,\n setAgentExpense,\n setCompanyExpense,\n expenseType,\n setActiveAgentExpense,\n activeAgentExpense,\n isShowAlert,\n isShowDangerAlert,\n errors,\n isShowEdit,\n } = this.props;\n\n if (!!accountData.account_financial_template?.custom_account_expenses_attributes) {\n accountData.account_financial_template.custom_account_expenses_attributes.sort(function (a, b) {\n return a.position - b.position;\n });\n }\n if (!!accountData.company_expense_template?.custom_agent_expenses_attributes) {\n accountData.company_expense_template.custom_agent_expenses_attributes.sort(function (a, b) {\n return a.position - b.position;\n });\n }\n if (!!accountData.agent_expense_templates?.agent_expenses) {\n accountData.agent_expense_templates.agent_expenses.forEach((element) => {\n element.custom_agent_expenses_attributes.sort(function (a, b) {\n return a.position - b.position;\n });\n });\n }\n\n return (\n
\n {isShowAlert && (\n \n Successfully updated.\n \n )}\n {isShowDangerAlert && }\n
\n

Transactions GCI

\n \n \n

\n Set the default values to populate upon creating a new transaction. These figures can be\n adjusted in the transaction details if they become unique to the deal. The order of\n calculation for each expense is top to bottom and can be changed by dragging and dropping.\n

\n \n \n
\n \n {isShowEdit && (\n {\n this.saveData();\n }}\n >\n SAVE\n \n )}\n\n {!isShowEdit && (\n {\n this.showEdit();\n }}\n >\n EDIT\n \n )}\n \n
\n \n
\n
\n\n {!isShowEdit && }\n\n {isShowEdit && (\n \n )}\n
\n

Company Financials

\n
\n {!isShowEdit && }\n {isShowEdit && (\n \n )}\n
\n

Agent's Expenses

\n
\n\n {!isShowEdit && }\n\n {isShowEdit && (\n \n )}\n
\n );\n }\n}\n\nexport default AccountFinancial;\n","import { connect } from 'react-redux';\nimport AccountFinancial from '../components/account/AccountFinancial';\nimport * as actions from '../actions/account';\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({ ...state.accountFinancial });\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, actions)(AccountFinancial);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst FieldError = ({ error, className }) => (\n
\n {error}\n
\n);\n\nFieldError.propTypes = {\n error: PropTypes.string.isRequired,\n className: PropTypes.string,\n};\n\nFieldError.defaultProps = {\n className: \"\",\n};\n\nexport default FieldError;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst FieldHelper = ({ helperText, isDisabled, className }) => (\n \n {helperText}\n \n);\n\nFieldHelper.propTypes = {\n helperText: PropTypes.string.isRequired,\n isDisabled: PropTypes.bool,\n className: PropTypes.string,\n};\n\nFieldHelper.defaultProps = {\n isDisabled: false,\n className: \"\",\n};\n\nexport default FieldHelper;\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"../Tooltip\";\nimport { Info } from \"../Icomoon\";\n\nconst FieldLabel = forwardRef(\n (\n { label, isRequired, isDisabled, className, toolTipInfoContent, toolTipPlacement, ...otherProps },\n ref,\n ) => (\n \n {label}\n {isRequired && *}\n {toolTipInfoContent && (\n }\n placement={toolTipPlacement}\n />\n )}\n \n ),\n);\n\nFieldLabel.propTypes = {\n label: PropTypes.node.isRequired,\n isRequired: PropTypes.bool,\n isDisabled: PropTypes.bool,\n className: PropTypes.string,\n toolTipInfoContent: PropTypes.node,\n toolTipPlacement: PropTypes.string,\n};\n\nFieldLabel.defaultProps = {\n isRequired: false,\n isDisabled: false,\n className: \"\",\n toolTipInfoContent: null,\n toolTipPlacement: null,\n};\n\nexport default FieldLabel;\n","import { schemaGenerator } from \"../utils\";\n\nconst base = {\n default: [\n \"tw-font-regular\",\n \"tw-border-solid\",\n \"tw-border\",\n \"tw-rounded-[2px]\",\n \"tw-text-left\",\n \"tw-text-14px\",\n \"tw-placeholder-[#999999]\",\n \"tw-px-14px\",\n \"tw-py-7px\",\n \"tw-text-neutral-gray-75\",\n \"tw-bg-theme-text-input\",\n ],\n hover: [\"hover:tw-bg-theme-text-input-hover\"],\n focus: [\n \"focus:tw-bg-white\",\n \"focus:tw-outline-none\",\n \"focus:tw-ring-[1.5px]\",\n \"focus:tw-ring-theme-text-input-active\",\n ],\n disabled: [\"disabled:tw-text-neutral-gray-15\", \"disabled:tw-bg-theme-text-input-disabled\"],\n};\n\nconst dictionary = {\n regular: {\n default: [...base.default, \"tw-border-theme-text-input\"],\n hover: [...base.hover, \"hover:tw-border-theme-text-input-hover\"],\n focus: [...base.focus, \"focus:tw-border-theme-text-input-active\", \"tw-ring-offset-0\"],\n disabled: [...base.disabled, \"disabled:tw-border-theme-text-input-disabled\"],\n },\n error: {\n default: [...base.default, \"tw-border-semantic-red-25\"],\n hover: [...base.hover, \"hover:tw-border-semantic-red-50\"],\n focus: [\"focus:tw-border-semantic-red-100\", \"focus:tw-ring-semantic-red-10\", \"tw-ring-offset-0\"],\n disabled: [...base.disabled, \"disabled:tw-border-neutral-gray-15\"],\n },\n readonly: {\n default: [...base.default, \"tw-border-theme-text-input-disabled\", \"tw-cursor-default\"],\n disabled: [...base.disabled, \"disabled:tw-border-theme-text-input-disabled\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport FieldError from \"../FieldError\";\nimport FieldHelper from \"../FieldHelper\";\nimport FieldLabel from \"../FieldLabel\";\n\nimport styleSchema from \"./TextInput.styles\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nconst TextInput = React.forwardRef(\n (\n {\n id: idFromProps,\n multiline,\n className,\n containerClassName,\n error,\n readOnly,\n helperText,\n label,\n disabled,\n isRequired,\n ...otherProps\n },\n ref,\n ) => {\n let schemaKey = readOnly ? \"readonly\" : \"regular\";\n if (error) {\n schemaKey = \"error\";\n }\n\n const id = useGivenOrGeneratedId(\"text-input\", idFromProps);\n\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n\n return (\n
\n {label && (\n \n )}\n {multiline ? (\n \n ) : (\n \n )}\n {helperText && }\n {error && }\n
\n );\n },\n);\n\nTextInput.defaultProps = {\n className: \"\",\n containerClassName: \"\",\n error: null,\n readOnly: false,\n multiline: false,\n disabled: false,\n isRequired: false,\n helperText: null,\n label: null,\n id: null,\n};\n\nTextInput.propTypes = {\n className: PropTypes.string,\n containerClassName: PropTypes.string,\n error: PropTypes.string,\n readOnly: PropTypes.bool,\n multiline: PropTypes.bool,\n disabled: PropTypes.bool,\n isRequired: PropTypes.bool,\n helperText: PropTypes.node,\n label: PropTypes.node,\n id: PropTypes.string,\n};\n\nexport default TextInput;\n","import React, { useState } from \"react\";\nimport TextInput from \"../v2/TextInput/TextInput\";\nimport { Search } from \"../v2/Icomoon\";\n\nfunction FieldSearchText({\n className = \"\",\n placeholder = \"\",\n onChange,\n value = \"\",\n flexStyle = \"tw-flex-1\",\n disabled = false,\n}) {\n const [isOnFocus, setIsOnFocus] = useState(false);\n\n return (\n
\n setIsOnFocus(true)}\n onBlur={() => setIsOnFocus(false)}\n onChange={(e) => {\n onChange(e.target.value);\n }}\n className={className}\n />\n\n \n
\n );\n}\n\nexport default FieldSearchText;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n default: {\n default: [\n \"tw-text-neutral-gray-50\",\n \"tw-font-semibold\",\n \"tw-rounded-[30px]\",\n \"tw-border-[1.5px]\",\n \"tw-border-solid\",\n \"tw-border-transparent\",\n ],\n peerChecked: [\n \"peer-checked:tw-text-theme-text-toggle-color-checked\",\n \"peer-checked:tw-border-theme-text-toggle-border-checked\",\n ],\n peerFocusVisible: [\"peer-focus-visible:tw-outline-theme\"],\n },\n small: {\n default: [\"tw-font-12d\", \"tw-px-[12px]\", \"tw-py-[2px]\"],\n },\n medium: {\n default: [\"tw-font-14d\", \"tw-px-[16px]\", \"tw-py-[8px]\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport styleSchema from \"./TextToggle.styles\";\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nconst containerHeight = (size) => (size === \"small\" ? \"tw-h-[24px]\" : \"tw-h-[36px]\");\n\nconst TextToggleOption = ({ name, value, label, checked, size, labelClassName, ...otherProps }) => (\n \n);\n\nTextToggleOption.propTypes = {\n name: PropTypes.string,\n value: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n checked: PropTypes.bool.isRequired,\n labelClassName: PropTypes.string,\n size: PropTypes.oneOf([\"small\", \"medium\"]).isRequired,\n};\n\nTextToggleOption.defaultProps = {\n name: null,\n labelClassName: \"\",\n};\n\nconst TextToggle = ({\n name: nameFromProps,\n options,\n value,\n size,\n onChange,\n className,\n labelClassName,\n containerClassName,\n ...otherProps\n}) => {\n const name = useGivenOrGeneratedId(\"text-toggle\", nameFromProps);\n\n return (\n \n \n {options.map((option) => (\n \n ))}\n \n \n );\n};\n\nconst createOptionsCustomPropType = (isRequired) => (props, propName, componentName) => {\n const { options } = props;\n\n if (options === null || options === undefined) {\n return isRequired ? new Error(`Prop \\`${propName}\\` is required by \\`${componentName}\\`.`) : null;\n }\n\n if (!Array.isArray(options)) {\n return new Error(`Invalid prop \\`${propName}\\` supplied to \\`${componentName}\\`. It must be an array.`);\n }\n\n if (options.length < 2) {\n return new Error(\n `Invalid prop \\`${propName}\\` supplied to \\`${componentName}\\`. It must be an array with at least two elements.`,\n );\n }\n\n options.forEach((element) =>\n // Disabling `react/forbid-foreign-prop-types` here since we maintain the TextToggle.Option.propTypes\n // eslint-disable-next-line react/forbid-foreign-prop-types\n PropTypes.checkPropTypes(\n {\n value: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n },\n element,\n \"prop\",\n \"TextToggle.Option\",\n ),\n );\n\n return null;\n};\n\nconst optionsCustomPropType = createOptionsCustomPropType(false);\noptionsCustomPropType.isRequired = createOptionsCustomPropType(true);\n\nTextToggle.propTypes = {\n name: PropTypes.string,\n options: optionsCustomPropType.isRequired,\n value: PropTypes.string.isRequired,\n size: PropTypes.oneOf([\"small\", \"medium\"]),\n onChange: PropTypes.func,\n className: PropTypes.string,\n labelClassName: PropTypes.string,\n containerClassName: PropTypes.string,\n};\n\nTextToggle.defaultProps = {\n name: null,\n size: \"medium\",\n onChange: null,\n className: \"\",\n labelClassName: \"\",\n containerClassName: \"\",\n};\n\nexport default TextToggle;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextToggle from \"../../shared/v2/TextToggle\";\n\nfunction ActiveUsersSwitchFilter({ setIsFilterActiveUsers, isFilterActiveUsers }) {\n const options = [\n {\n value: \"user_seats\",\n label: \"User Seats\",\n },\n {\n value: \"archived\",\n label: \"Archived Users\",\n },\n ];\n return (\n setIsFilterActiveUsers(e.target.value !== \"archived\")}\n />\n );\n}\n\nActiveUsersSwitchFilter.propTypes = {\n setIsFilterActiveUsers: PropTypes.func.isRequired,\n isFilterActiveUsers: PropTypes.bool.isRequired,\n};\n\nexport default ActiveUsersSwitchFilter;\n","import { useSelector } from \"react-redux\";\n\nexport const useCurrentUser = () => useSelector((state) => state.layout.currentUser);\nexport const useCurrentSuperUser = () => useSelector((state) => state.layout?.currentSuperUser);\nexport const useFeatureFlags = () => useSelector((state) => state.layout.featureFlags);\nexport const useTheme = () => useSelector((state) => state.layout.theme);\nexport const useDialerServiceUrl = () => useSelector((state) => state.layout.apiUrls.dialerServiceUrl);\nexport const useCallRecordingSettings = () =>\n useSelector((state) => state.layout.currentUser?.callRecordingSettings);\nexport const useAccountCallRecordingLoading = () =>\n useSelector((state) => state.layout.accountCallRecordingLoading);\nexport const useAccountCallRecordingSettings = () =>\n useSelector((state) => state.layout.currentUser.account?.callRecordingSettings);\nexport const useIsPlace = () =>\n useSelector((state) => state.phoneSettings?.placeBrand);\nexport const useIsTwoPartyState = () =>\n useSelector((state) => state.phoneSettings?.twoPartyState);\nexport const useIsTwoPartyStateCurrentUser = () =>\n useSelector((state) => state.layout.currentUser.account?.twoPartyState);\nexport const useIsAdmin = () => useSelector((state) => state.layout.currentUser.account?.isAdmin);\nexport const useAcccountUuid = () => useSelector((state) => state.layout.currentUser.account?.uuid);\n\nexport const useOutboundCallRecordingSetting = () => {\n const callRecordingSettings = useCallRecordingSettings();\n const accountCallRecordingSettings = useAccountCallRecordingSettings();\n const outboundRecording =\n accountCallRecordingSettings?.outboundRecording === \"by_number\"\n ? callRecordingSettings?.outboundRecording || \"disabled\"\n : accountCallRecordingSettings?.outboundRecording;\n const outboundNotificationMessage = accountCallRecordingSettings?.outboundNotificationMessage ?? false;\n\n return { outboundRecording, outboundNotificationMessage };\n};\n\nexport const useMessagingServiceUrl = () => useSelector((state) => state.layout.apiUrls.messagingServiceUrl);\nexport const useSupportPhoneNumber = () => useSelector((state) => state.layout.support.phoneNumber);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldSearchText from \"../../shared/UtilsV1/FieldSearchText\";\nimport ActiveUsersSwitchFilter from \"./ActiveUsersSwitchFilter\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nfunction UsersFilter({ setIsFilterActiveUsers, isFilterActiveUsers, setFilterSearchText, filterSearchText }) {\n const currentUser = useCurrentUser();\n return (\n
\n {currentUser.account.isAdmin && (\n \n )}\n setFilterSearchText(value)}\n value={filterSearchText}\n placeholder=\"Search by user name or email\"\n className=\"settings-users-search-text-filter-input\"\n flexStyle=\"tw-w-[360px]\"\n />\n
\n );\n}\n\nUsersFilter.propTypes = {\n setIsFilterActiveUsers: PropTypes.func.isRequired,\n isFilterActiveUsers: PropTypes.bool.isRequired,\n setFilterSearchText: PropTypes.func.isRequired,\n filterSearchText: PropTypes.string.isRequired,\n};\n\nexport default UsersFilter;\n","export const MODAL_ANIMATION_DURATION_MS = 400;\n\nexport const containerAnimationStyles = (duration) => ({\n transition: `opacity ${duration}ms ease-in-out`,\n});\n\nexport const modalAnimationStyles = (duration) => ({\n transition: `transform ${duration}ms ease-out`,\n});\n\nexport const containerTransitionStyles = {\n entering: { opacity: 1 },\n entered: { opacity: 1 },\n exiting: { opacity: 0 },\n exited: { opacity: 0 },\n};\n\nexport const modalTransitionStyles = {\n entering: { transform: \"translate3d(0, 0, 0)\" },\n entered: { transform: \"translate3d(0, 0, 0)\" },\n exiting: { transform: \"translate3d(0, 100vh, 0)\" },\n exited: { transform: \"translate3d(0, 100vh, 0)\" },\n};\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const ModalContext = React.createContext({});\n\nconst ModalContextProvider = ({ show, onHide, children, closeOnEscape }) => {\n const onModalHide = () => {\n if (onHide) onHide();\n };\n\n const onEscapeKeyPress = (e) => {\n if (closeOnEscape && e.key === \"Escape\") onModalHide();\n };\n\n useEffect(() => {\n if (!document) return;\n\n const addListener = () => {\n document.addEventListener(\"keyup\", onEscapeKeyPress);\n document.body.classList.add(\"tw-overflow-hidden\");\n };\n\n const removeListener = () => {\n document.removeEventListener(\"keyup\", onEscapeKeyPress);\n document.body.classList.remove(\"tw-overflow-hidden\");\n };\n\n if (show) {\n addListener();\n } else {\n removeListener();\n }\n\n // We only need to return a cleanup function once we actually attach the event listener\n // eslint-disable-next-line consistent-return\n return removeListener;\n }, [show]);\n\n return (\n \n {children}\n \n );\n};\nModalContextProvider.propTypes = {\n show: PropTypes.bool,\n onHide: PropTypes.func,\n children: PropTypes.node,\n closeOnEscape: PropTypes.bool,\n};\nModalContextProvider.defaultProps = {\n show: false,\n onHide: null,\n children: null,\n closeOnEscape: true,\n};\n\nexport default ModalContextProvider;\n","export const MODAL_CONTAINER_CLASSES =\n \"tw-fixed tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-z-1050 tw-overflow-hidden tw-overflow-scrolling-touch tw-outline-0 tw-transition\";\nexport const MODAL_BACKDROP_CLASSES =\n \"tw-fixed tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-z-1040 tw-bg-black tw-opacity-50\";\nexport const MODAL_DIALOG_CLASSES = \"tw-relative tw-w-auto tw-p-10px\";\nexport const MODAL_CONTENT_CLASSES =\n \"tw-relative tw-bg-white tw-bg-clip-padding tw-border tw-border-solid tw-border-black tw-border-opacity-20 tw-rounded-8px tw-shadow-bootstrap-2 tw-outline-0 bs-sm:tw-shadow-bootstrap-3 bs-md:tw-shadow-bootstrap-3 bs-lg:tw-shadow-bootstrap-3 tw-p-[32px]\";\nexport const SR_ONLY_CLASSES =\n \"tw-absolute tw-w-px tw-h-px tw-p-0 tw--m-px tw-overflow-hidden tw-clip-rect-0 tw-border-0\";\n\nexport const MODAL_TITLE_CLASSES = {\n medium: \"tw-text-28px tw-m-0 tw-p-0 tw-font-normal\",\n small: \"tw-text-18px tw-m-0 tw-p-0 tw-font-normal\",\n};\n\nexport const MODAL_DESCRIPTION_CLASSES = {\n medium: \"tw-text-14px tw-font-normal\",\n small: \"tw-text-12px tw-font-normal\",\n};\n\nexport const MODAL_CONTENT_WIDTH_CLASSES = {\n none: \"\",\n small: \"tw-w-[440px]\",\n medium: \"tw-w-[616px]\",\n large: \"tw-w-[800px]\",\n};\n\nexport const availableHeaderSizes = Object.keys(MODAL_TITLE_CLASSES);\n\nexport const availableContentSizes = Object.keys(MODAL_CONTENT_WIDTH_CLASSES);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ModalContext } from \"./ModalContext\";\nimport { MODAL_BACKDROP_CLASSES } from \"./Modal.styles\";\n\n/**\n * @summary Creates the background behind the modal content\n * @description This component is meant to be rendered inside a ModalContext and provide\n * a background-color for the dropdown.\n * */\n\nconst Backdrop = ({ children, className }) => {\n const { onHide } = React.useContext(ModalContext);\n\n return (\n <>\n {/* ModalContext already provides the keyboard listeners so we silence the linter here */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n
onHide()} className={`${MODAL_BACKDROP_CLASSES} ${className}`}>\n {children}\n
\n \n );\n};\nBackdrop.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\nBackdrop.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport default Backdrop;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst ModalBody = ({ className, children, ...props }) => (\n <>\n \n {children}\n \n \n);\nModalBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\nModalBody.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport default ModalBody;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"../Button\";\nimport IconButton from \"../IconButton\";\nimport { ChevronLeft, ChevronRight } from \"../Icomoon\";\n\n// eslint-disable-next-line react/prop-types\nconst MinimalIconButton = ({ disabled, onClick, iconComponent }) => (\n \n {iconComponent()}\n \n);\n\n// eslint-disable-next-line react/prop-types\nconst HiddenRangeInput = ({ className, onNewValue, ...otherProps }) => (\n onNewValue(Number(evt.target.value))}\n {...otherProps}\n />\n);\n\n// TODO: Investigate why we need to handle these separatedly depending on\n// whether `render` is a function or a node/string. Theoretically this should\n// be transparent to us.\nconst getRenderedError = (currentError) => {\n if (!currentError) {\n return null;\n }\n // eslint-disable-next-line no-nested-ternary\n return typeof currentError.render === \"function\"\n ? currentError.render()\n : currentError.render !== undefined\n ? currentError.render\n : currentError;\n};\n\nconst ErrorBanner = ({ errors, ...otherProps }) => {\n // If no errors were received, hide the component.\n if (!errors || !errors.length) {\n return null;\n }\n\n // Component has two main states - an initial state and a \"reviewing errors\"\n // state.\n const [isReviewingErrors, setIsReviewingErrors] = useState(false);\n\n const [totalErrors, setTotalErrors] = useState(errors.length);\n const [currentErrorIndex, setCurrentErrorIndex] = useState(0);\n const [currentError, setCurrentError] = useState(errors[0]);\n const [renderedError, setRenderedError] = useState(getRenderedError(errors[0]));\n\n // Reset component back to initial state if errors are updated\n useEffect(() => {\n setIsReviewingErrors(false);\n setCurrentErrorIndex(0);\n\n if (!errors || !errors.length) {\n setTotalErrors(0);\n setCurrentError(null);\n setRenderedError(null);\n return;\n }\n\n setTotalErrors(errors.length);\n\n const newError = errors[0];\n setCurrentError(newError);\n setRenderedError(getRenderedError(newError));\n }, [errors]);\n\n const onNavigateTo = (newErrorIndex) => {\n setCurrentErrorIndex(newErrorIndex);\n\n const newError = errors[newErrorIndex];\n\n setCurrentError(newError);\n setRenderedError(getRenderedError(newError));\n\n if (newError?.onShow) {\n newError.onShow();\n }\n };\n\n const onStartReviewingErrors = () => {\n setIsReviewingErrors(true);\n\n if (currentError?.onShow) {\n currentError.onShow();\n }\n };\n\n const errorCounterOrReviewErrorsButton = isReviewingErrors ? (\n <>\n {currentErrorIndex + 1} / {totalErrors}\n \n ) : (\n \n Review Error{totalErrors > 1 ? \"s\" : \"\"}\n \n );\n\n const errorNavigationButtons =\n totalErrors > 1 && isReviewingErrors ? (\n <>\n onNavigateTo(val - 1)}\n />\n \n onNavigateTo(currentErrorIndex - 1)}\n iconComponent={ChevronLeft}\n />\n\n onNavigateTo(currentErrorIndex + 1)}\n iconComponent={ChevronRight}\n />\n \n \n ) : null;\n\n const renderError = (error) => {\n const htmlRegex = /<[a-z][\\s\\S]*>/i;\n\n return htmlRegex.test(error) ?
: error;\n };\n\n return (\n \n \n {isReviewingErrors\n ? renderError(renderedError)\n : `Oops, something wasn't right. ${totalErrors} error${totalErrors > 1 ? \"s\" : \"\"} found.`}\n \n \n {errorCounterOrReviewErrorsButton}\n {errorNavigationButtons}\n \n
\n );\n};\n\nexport const errorShapeForErrorBanner = PropTypes.shape({\n render: PropTypes.oneOfType([PropTypes.func, PropTypes.node]).isRequired,\n onShow: PropTypes.func,\n});\n\nErrorBanner.propTypes = {\n errors: PropTypes.arrayOf(errorShapeForErrorBanner),\n};\n\nErrorBanner.defaultProps = {\n errors: [],\n};\n\nexport default ErrorBanner;\n","/**\n * Helper that creates an error object to be displayed inside of an `ErrorBanner`.\n *\n * @param {React.ReactNode} message The error message to render. Can be a\n * component or anything usually returned from a render function (e.g. a\n * string).\n * @param {function} [onShow] Optional callback, will get called when this error\n * is selected on the error banner. Useful to focus a specific field causing\n * an error in a form submission, for example.\n * @returns An object for use in an `ErrorBanner`'s `errors` array prop.\n */\nexport const errorForBanner = (message, onShow = null) => ({ render: message, onShow });\n\nexport default errorForBanner;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport ErrorBanner, { errorShapeForErrorBanner } from \"../ErrorBanner\";\nimport IconButton from \"../IconButton\";\n\nimport { Close as CloseIcon } from \"../Icomoon\";\n\nimport { ModalContext } from \"./ModalContext\";\n\nimport {\n SR_ONLY_CLASSES,\n MODAL_TITLE_CLASSES,\n MODAL_DESCRIPTION_CLASSES,\n availableHeaderSizes,\n} from \"./Modal.styles\";\n\nexport const CloseButton = ({ onClick }) => (\n \n \n Close\n \n);\nCloseButton.propTypes = {\n onClick: PropTypes.func.isRequired,\n};\n\nconst ModalHeader = ({\n title,\n description,\n errors,\n closeButton,\n className,\n titleClassName,\n wrapperClassName,\n children,\n size,\n ...props\n}) => {\n const { onHide } = React.useContext(ModalContext);\n\n return (\n // Arbitrary props might be passed to header\n // eslint-disable-next-line react/jsx-props-no-spreading\n
\n \n {title ? (\n

\n {title}\n

\n ) : (\n \n )}\n {closeButton && (\n
\n \n
\n )}\n
\n {description &&
{description}
}\n \n {children}\n \n );\n};\n\nModalHeader.propTypes = {\n closeButton: PropTypes.bool,\n className: PropTypes.string,\n children: PropTypes.node,\n title: PropTypes.string,\n wrapperClassName: PropTypes.string,\n titleClassName: PropTypes.string,\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]),\n errors: PropTypes.arrayOf(errorShapeForErrorBanner),\n size: PropTypes.oneOf(availableHeaderSizes),\n};\n\nModalHeader.defaultProps = {\n closeButton: false,\n className: \"\",\n children: null,\n title: null,\n titleClassName: \"\",\n wrapperClassName: \"\",\n description: null,\n errors: [],\n size: \"medium\",\n};\n\nModalHeader.CloseButton = CloseButton;\n\nexport default ModalHeader;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst ModalFooter = ({ children, ...props }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n
{children}
\n);\n\nModalFooter.propTypes = {\n children: PropTypes.node,\n};\n\nModalFooter.defaultProps = {\n children: null,\n};\n\nexport default ModalFooter;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Transition } from \"react-transition-group\";\n\nimport {\n MODAL_ANIMATION_DURATION_MS,\n containerAnimationStyles,\n containerTransitionStyles,\n modalAnimationStyles,\n modalTransitionStyles,\n} from \"./animationStyles\";\n\nimport Portal from \"../../v1/Portal\";\nimport Backdrop from \"./Backdrop\";\nimport ModalContextProvider, { ModalContext } from \"./ModalContext\";\nimport ModalBody from \"./ModalBody\";\nimport ModalHeader from \"./ModalHeader\";\nimport ModalFooter from \"./ModalFooter\";\n\nimport {\n MODAL_CONTAINER_CLASSES,\n MODAL_DIALOG_CLASSES,\n MODAL_CONTENT_CLASSES,\n MODAL_CONTENT_WIDTH_CLASSES,\n availableContentSizes,\n} from \"./Modal.styles\";\n\n/**\n * @summary A Generic Modal interface, binding state, portal, listeners and allowing any content, including Header, Body and Footer.\n * @param {func} onHide - function for what happens clicking outside, cancel or close button.\n * @param {node} children - elements within the body\n * @param {string} className - arbitrary classNames for the outrmost component.\n * @param {string} contentClassName - classNames for the content wrapper.\n * @param {string} dialogClassName - classNames for the content wrapper's wrapper, mostly for layout.\n * */\n\nconst Modal = ({\n show,\n onHide,\n children,\n className,\n dialogClassName,\n contentClassName,\n contentSize,\n closeOnEscape,\n closeOnClickOutside,\n containerClassName,\n ...props\n}) => {\n const nodeRef = useRef(null);\n const renderModalContainer = (context) => (\n \n \n {(modalContainerState) => (\n \n \n {/* Both of these are rendered inside the ModalContext which already provides the keyboard listeners */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n {\n if (closeOnClickOutside) {\n context.onHide();\n }\n }}\n // Allow arbitrary attributes, mostly for data\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n >\n \n \n {(modalState) => (\n /* This component is meant to be rendered inside a ModalContext, which */\n /* already provides the keyboard listeners so we silence the linter here */\n /* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n e.stopPropagation()}\n >\n {children}\n \n )}\n \n \n \n \n )}\n \n \n );\n\n return (\n \n {(value) => renderModalContainer(value)}\n \n );\n};\nModal.propTypes = {\n show: PropTypes.bool,\n onHide: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n dialogClassName: PropTypes.string,\n contentClassName: PropTypes.string,\n contentSize: PropTypes.oneOf(availableContentSizes),\n closeOnEscape: PropTypes.bool,\n closeOnClickOutside: PropTypes.bool,\n containerClassName: PropTypes.string,\n};\nModal.defaultProps = {\n show: false,\n onHide: null,\n children: null,\n className: \"\",\n dialogClassName: \"\",\n contentClassName: \"\",\n contentSize: \"none\",\n closeOnEscape: true,\n closeOnClickOutside: false,\n containerClassName: \"\",\n};\n\nModal.Body = ModalBody;\nModal.Footer = ModalFooter;\nModal.Header = ModalHeader;\n\nexport default Modal;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n default: {\n default: [\"tw-text-theme-text-button-color\", \"tw-uppercase\"],\n active: [\"active:tw-text-theme-text-button-color-focus\"],\n hover: [\"hover:tw-text-theme-text-button-color-hover\"],\n disabled: [\"disabled:tw-text-theme-text-button-color-disabled\"],\n },\n sentence: {\n default: [\"tw-text-theme-text-button-color\"],\n active: [\"active:tw-text-theme-text-button-color-focus\"],\n hover: [\"hover:tw-text-theme-text-button-color-hover\"],\n disabled: [\"disabled:tw-text-theme-text-button-color-disabled\"],\n },\n warning: {\n default: [\"!tw-text-semantic-red-100\", \"tw-uppercase\"],\n active: [\"active:!tw-text-semantic-red-120\"],\n hover: [\"hover:!tw-text-semantic-red-110\"],\n disabled: [\"disabled:!tw-text-semantic-red-10\"],\n },\n success: {\n default: [\"!tw-text-semantic-green-100\", \"tw-uppercase\"],\n active: [\"active:!tw-text-semantic-green-120\"],\n hover: [\"hover:!tw-text-semantic-green-110\"],\n disabled: [\"disabled:!tw-text-semantic-green-10\"],\n },\n remove: {\n default: [\"!tw-text-neutral-gray-50\", \"tw-uppercase\"],\n active: [\"active:!tw-text-semantic-red-120\"],\n hover: [\"hover:!tw-text-semantic-red-110\"],\n disabled: [\"disabled:!tw-text-neutral-gray-15\"],\n },\n};\n\nexport const availableSchema = Object.keys(dictionary);\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport styleSchema, { availableSchema } from \"./TextButton.styles\";\n\nconst fontSizeDictionary = {\n \"sentence-medium\": \"tw-text-12d\",\n small: \"tw-text-11d\",\n medium: \"tw-text-14d\",\n};\n\nconst fontWeightDictionary = {\n \"sentence-medium\": \"tw-font-semibold\",\n \"sentence-small\": \"tw-font-normal\",\n fallback: \"tw-font-bold\",\n};\n\nconst fontSizeClass = (schema, size) => fontSizeDictionary[`${schema}-${size}`] || fontSizeDictionary[size];\n\nconst fontWeightClass = (schema, size) =>\n fontWeightDictionary[`${schema}-${size}`] || fontWeightDictionary.fallback;\n\nconst TextButton = ({ size, disabled, onClick, className, children, schema, ...otherProps }) => (\n \n {children}\n \n);\n\nexport const textButtonPropTypes = {\n schema: PropTypes.oneOf(availableSchema),\n disabled: PropTypes.bool,\n size: PropTypes.oneOf([\"small\", \"medium\"]),\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n onClick: PropTypes.func,\n className: PropTypes.string,\n};\n\nexport const textButtonDefaultProps = {\n schema: \"default\",\n disabled: false,\n size: \"small\",\n children: null,\n onClick: null,\n className: \"\",\n};\n\nTextButton.propTypes = textButtonPropTypes;\n\nTextButton.defaultProps = textButtonDefaultProps;\n\nexport default TextButton;\n","import PropTypes from \"prop-types\";\nimport { omit } from \"lodash\";\n\nimport { deprecationWarning } from \"../../Utilities\";\nimport { buttonDefaultProps, buttonPropTypes } from \"../Button/Button\";\nimport { textButtonDefaultProps, textButtonPropTypes } from \"../TextButton/TextButton\";\n\n// Props that should not be able to be overridden in the modal,\n// due to design system-imposed constraints\nconst hardcodedButtonProps = [\"size\", \"onClick\", \"children\"];\nconst hardcodedCancelButtonProps = [...hardcodedButtonProps, \"schema\"];\n\nexport const primaryPropTypes = PropTypes.shape(omit(buttonPropTypes, hardcodedButtonProps));\nexport const secondaryPropTypes = PropTypes.shape(omit(textButtonPropTypes, hardcodedButtonProps));\nexport const cancelPropTypes = PropTypes.shape(omit(buttonPropTypes, hardcodedCancelButtonProps));\n\nexport const primaryDefaultProps = omit(buttonDefaultProps, hardcodedButtonProps);\nexport const secondaryDefaultProps = omit(textButtonDefaultProps, hardcodedButtonProps);\nexport const cancelDefaultProps = omit(buttonDefaultProps, hardcodedCancelButtonProps);\n\n/**\n * Takes `optionProps`, which should have `primaryProps` and `secondaryProps`,\n * and optionally `primarySchema` and `secondarySchema`,\n * and returns props compatible with the new API, by moving `primarySchema` to `primaryProps.schema` if provided,\n * and `secondarySchema` to `secondaryProps.schema` if provided.\n *\n * @param {Record} optionProps Option props.\n * @returns {{\n * primaryProps: Record;\n * secondaryProps: Record;\n * }} The updated props, compatible with the new API.\n */\nexport const makeOptionPropsCompatible = (optionProps) => {\n // Clone props so we don't mutate the default props\n const primaryProps = { ...optionProps.primaryProps };\n const secondaryProps = { ...optionProps.secondaryProps };\n\n if (optionProps.primarySchema) {\n deprecationWarning(\n \"FloatingForm/Prompt: `primarySchema` is deprecated, use `primaryOptions.schema` instead.\",\n );\n primaryProps.schema = optionProps.primarySchema;\n }\n\n if (optionProps.secondarySchema) {\n deprecationWarning(\n \"FloatingForm/Prompt: `secondarySchema` is deprecated, use `secondaryProps.schema` instead.\",\n );\n secondaryProps.schema = optionProps.secondarySchema;\n }\n\n return { primaryProps, secondaryProps };\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Modal from \"./Modal\";\nimport Button from \"../Button\";\nimport TextButton from \"../TextButton\";\nimport { errorShapeForErrorBanner } from \"../ErrorBanner\";\nimport { availableContentSizes, availableHeaderSizes } from \"./Modal.styles\";\nimport {\n cancelDefaultProps,\n cancelPropTypes,\n makeOptionPropsCompatible,\n primaryDefaultProps,\n primaryPropTypes,\n secondaryDefaultProps,\n secondaryPropTypes,\n} from \"./utils\";\n\nconst SCROLL_PROP_TO_CLASS_MAP = {\n true: \"tw-overflow-auto\",\n false: \"tw-overflow-hidden\",\n};\n\nconst DefaultFooter = ({\n primaryOption,\n primaryProps,\n onPrimary,\n isPrimaryLoading,\n secondaryOption,\n secondaryProps,\n onSecondary,\n isSecondaryLoading,\n cancelProps,\n onCancel,\n error,\n}) => {\n const isSomethingLoading = isPrimaryLoading || isSecondaryLoading;\n\n return (\n
\n {error && (\n
\n {error}\n
\n )}\n
\n \n Cancel\n \n
\n {secondaryOption && (\n \n {secondaryOption}\n \n )}\n \n {primaryOption}\n \n
\n
\n
\n );\n};\n\n/**\n * @summary Extends GenericModal to offer a medium sized modal for title, 1-liner, arbitrary body and up to 2 CTAs.\n * @param {string} title - the modal's title.\n * @param {(string|JSX.Element|object)} description - subtitle for the modal.\n * @param {object[]} errors - errors to show below the description, if any. Use the `errorForBanner` helper from `v2/ErrorBanner` to create elements for this array.\n * @param {string} primaryOption - content for the primary button.\n * @param {string} primaryProps - props to be passed to the primary button. Check Button for available props.\n * @param {func} onPrimary - function for what happens clicking on primary button.\n * @param {bool} isPrimaryLoading - helper to mark the primary button as loading and disable others.\n * @param {string} secondaryOption - content for the secondary button.\n * @param {string} secondaryProps - props to be passed to the secondary button. Check Text Button for available props.\n * @param {func} onSecondary - function for what happens clicking on secondary button.\n * @param {bool} isSecondaryLoading - helper to mark the secondary button as loading and disable others.\n * @param {string} cancelProps - props to be passed to the cancel button. Check Button for available props.\n * @param {func} onCancel - function for what happens clicking outside, cancel or close button.\n * @param {node} children - elements within the body\n * @param {bool} scroll - defines if component is scrollable.\n * @param {bool} show - defines if modal is visible.\n * @param {JSX.Element} header - the modal's header\n * @param {JSX.Element} footer - the modal's footer\n * @param {string} contentSize - defines the width of the modal's content.\n * @param {string} headerSize - defines the size of the header.\n * @param {bool} closeOnEscape - Close modal when press ESC\n * @param {bool} closeOnClickOutside - Close modal when click outside\n * */\nconst FloatingForm = ({\n title,\n description,\n errors,\n primaryOption,\n onPrimary,\n isPrimaryLoading,\n secondaryOption,\n onSecondary,\n isSecondaryLoading,\n cancelProps,\n onCancel,\n show,\n children,\n scroll,\n header,\n footer,\n footerError,\n contentSize,\n headerSize,\n closeOnEscape,\n closeOnClickOutside,\n modalBodyClassName,\n ...optionProps\n}) => {\n const { primaryProps, secondaryProps } = makeOptionPropsCompatible(optionProps);\n\n // Hack for the _very specific use case_ of using a Dropdown inside of a tiny\n // FloatingForm Modal: in that case, the scroll=\"false\" behavior is not\n // desirable (because the options menu becomes invisible), but neither is\n // scroll=\"true\", because then the user only has a _tiny_ window to scroll\n // through the options. In this case, we want the default behavior of letting\n // the contents overflow the modal, so this is an escape hatch for just that:\n // if an \"invalid\" value is passed in to the `scroll` prop, we don't mess with\n // the overflow property at all.\n const overflow = SCROLL_PROP_TO_CLASS_MAP[scroll] || \"\";\n\n return (\n \n {header ? (\n {header}\n ) : (\n \n )}\n {children}\n \n {footer || (\n \n )}\n \n \n );\n};\n\nDefaultFooter.propTypes = {\n primaryOption: PropTypes.string,\n primaryProps: primaryPropTypes,\n onPrimary: PropTypes.func,\n isPrimaryLoading: PropTypes.bool,\n secondaryOption: PropTypes.string,\n secondaryProps: secondaryPropTypes,\n onSecondary: PropTypes.func,\n isSecondaryLoading: PropTypes.bool,\n cancelProps: cancelPropTypes,\n onCancel: PropTypes.func,\n error: PropTypes.string,\n};\n\nDefaultFooter.defaultProps = {\n primaryOption: null,\n primaryProps: primaryDefaultProps,\n onPrimary: null,\n isPrimaryLoading: false,\n secondaryOption: null,\n secondaryProps: secondaryDefaultProps,\n onSecondary: null,\n isSecondaryLoading: false,\n cancelProps: cancelDefaultProps,\n onCancel: null,\n error: null,\n};\n\nFloatingForm.propTypes = {\n children: PropTypes.node,\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]),\n errors: PropTypes.arrayOf(errorShapeForErrorBanner),\n primaryOption: PropTypes.string,\n primaryProps: primaryPropTypes,\n onPrimary: PropTypes.func,\n isPrimaryLoading: PropTypes.bool,\n secondaryOption: PropTypes.string,\n secondaryProps: secondaryPropTypes,\n onSecondary: PropTypes.func,\n isSecondaryLoading: PropTypes.bool,\n cancelProps: primaryPropTypes,\n onCancel: PropTypes.func,\n scroll: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n show: PropTypes.bool,\n title: PropTypes.string,\n header: PropTypes.node,\n footer: PropTypes.node,\n footerError: PropTypes.string,\n contentSize: PropTypes.oneOf(availableContentSizes),\n headerSize: PropTypes.oneOf(availableHeaderSizes),\n closeOnEscape: PropTypes.bool,\n closeOnClickOutside: PropTypes.bool,\n modalBodyClassName: PropTypes.string,\n};\n\nFloatingForm.defaultProps = {\n children: null,\n description: null,\n errors: [],\n primaryOption: null,\n primaryProps: primaryDefaultProps,\n onPrimary: null,\n isPrimaryLoading: false,\n secondaryOption: null,\n secondaryProps: secondaryDefaultProps,\n onSecondary: null,\n isSecondaryLoading: false,\n cancelProps: cancelDefaultProps,\n onCancel: null,\n scroll: true,\n show: false,\n title: null,\n header: null,\n footer: null,\n footerError: null,\n contentSize: \"medium\",\n headerSize: \"medium\",\n closeOnEscape: false,\n closeOnClickOutside: false,\n modalBodyClassName: \"\",\n};\n\nexport default FloatingForm;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Modal from \"./Modal\";\nimport Button from \"../Button\";\nimport TextButton from \"../TextButton\";\nimport { availableContentSizes, availableHeaderSizes } from \"./Modal.styles\";\nimport {\n cancelDefaultProps,\n cancelPropTypes,\n makeOptionPropsCompatible,\n primaryDefaultProps,\n primaryPropTypes,\n secondaryDefaultProps,\n secondaryPropTypes,\n} from \"./utils\";\n\n/**\n * @summary Extends GenericModal to offer a small modal for title, 1-liner and up to 2 CTAs.\n * @param {string} title - the modal's title.\n * @param {(string|JSX.Element|object)} description - subtitle for the modal.\n * @param {string} primaryOption - content for the primary button.\n * @param {string} primaryProps - props to be passed to the primary button. Check Button for available props.\n * @param {func} onPrimary - function for what happens clicking on primary button.\n * @param {bool} isPrimaryLoading - helper to mark the primary button as loading and disable others.\n * @param {string} secondaryOption - content for the secondary button.\n * @param {string} secondaryProps - props to be passed to the secondary button. Check Text Button for available props.\n * @param {func} onSecondary - function for what happens clicking on secondary button.\n * @param {bool} isSecondaryLoading - helper to mark the secondary button as loading and disable others.\n * @param {string} cancelProps - props to be passed to the cancel button. Check Button for available props.\n * @param {func} onCancel - function for what happens clicking outside, cancel or close button.\n * @param {bool} show - defines if modal is visible.\n * @param {string} contentSize - defines the width of the modal's content.\n * @param {string} headerSize - defines the size of the header.\n * @param {bool} closeOnEscape - Close modal when press ESC\n * @param {bool} closeOnClickOutside - Close modal when click outside\n * */\n\nconst Prompt = ({\n title,\n description,\n primaryOption,\n onPrimary,\n isPrimaryLoading,\n secondaryOption,\n onSecondary,\n isSecondaryLoading,\n cancelProps,\n onCancel,\n show,\n contentSize,\n headerSize,\n closeOnEscape,\n closeOnClickOutside,\n containerClassName,\n ...optionProps\n}) => {\n const { primaryProps, secondaryProps } = makeOptionPropsCompatible(optionProps);\n const isSomethingLoading = isPrimaryLoading || isSecondaryLoading;\n\n return (\n \n \n \n \n Cancel\n \n
\n {secondaryOption && (\n \n {secondaryOption}\n \n )}\n \n {primaryOption}\n \n
\n
\n \n );\n};\n\nPrompt.propTypes = {\n title: PropTypes.string,\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]),\n primaryOption: PropTypes.string,\n primaryProps: primaryPropTypes,\n onPrimary: PropTypes.func,\n isPrimaryLoading: PropTypes.bool,\n secondaryOption: PropTypes.string,\n secondaryProps: secondaryPropTypes,\n onSecondary: PropTypes.func,\n isSecondaryLoading: PropTypes.bool,\n cancelProps: cancelPropTypes,\n onCancel: PropTypes.func,\n show: PropTypes.bool,\n contentSize: PropTypes.oneOf(availableContentSizes),\n headerSize: PropTypes.oneOf(availableHeaderSizes),\n closeOnEscape: PropTypes.bool,\n closeOnClickOutside: PropTypes.bool,\n containerClassName: PropTypes.string,\n};\n\nPrompt.defaultProps = {\n title: null,\n description: null,\n primaryOption: null,\n primaryProps: primaryDefaultProps,\n onPrimary: null,\n isPrimaryLoading: false,\n secondaryOption: null,\n secondaryProps: secondaryDefaultProps,\n onSecondary: null,\n isSecondaryLoading: false,\n cancelProps: cancelDefaultProps,\n onCancel: null,\n show: false,\n contentSize: \"small\",\n headerSize: \"medium\",\n closeOnEscape: true,\n closeOnClickOutside: true,\n containerClassName: \"\",\n};\n\nexport default Prompt;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Prompt } from \"../../shared/v2/Modal\";\n\nfunction CannotReActivateUserModal({ show, onClose }) {\n return (\n \n There are no additional seats available on your team. Please contact a Brivity support\n representative at 855-427-4848 to add additional users.\n \n }\n onCancel={onClose}\n primaryOption=\"OK\"\n onPrimary={onClose}\n show={show}\n title=\"Cannot Add/Activate User\"\n />\n );\n}\n\nCannotReActivateUserModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n};\n\nexport default CannotReActivateUserModal;\n","// for setting > users > header column sort\n// eslint-disable-next-line import/prefer-default-export\nexport const sortListByKey = (title, setList, ascOrder = true) => {\n setList((prev) => [\n ...prev.sort((a, b) => {\n if (a[title] < b[title] || (!a[title] && b[title])) {\n return ascOrder ? -1 : 1;\n }\n if (a[title] > b[title] || (a[title] && !b[title])) {\n return ascOrder ? 1 : -1;\n }\n\n return 0;\n }),\n ]);\n};\n","import { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { sortListByKey } from \".\";\nimport { getServiceAreaOptionsByInput } from \"../api\";\nimport { setCrmAccessModal } from \"../actions/default\";\n\n// UserWithoutFeatureFlag > Users > helper for isFilterActiveUsers\nexport const useIsFilterActiveUsers = (isFilterActiveUsers, setAgents, activeAgents, deactiveAgents) => {\n useEffect(() => {\n if (isFilterActiveUsers) {\n setAgents(activeAgents);\n } else {\n setAgents(deactiveAgents);\n }\n }, [isFilterActiveUsers]);\n};\n// UserWithoutFeatureFlag > Users > helper for filterSearchText\nexport const useFilterSearchText = (\n filterSearchText,\n setAgents,\n isFilterActiveUsers,\n activeAgents,\n deactiveAgents,\n) => {\n useEffect(() => {\n if (filterSearchText === \"\") {\n setAgents(isFilterActiveUsers ? activeAgents : deactiveAgents);\n } else {\n const lowerCaseSearchText = filterSearchText.toLowerCase();\n setAgents(() => {\n const curAgents = isFilterActiveUsers ? activeAgents : deactiveAgents;\n return curAgents.filter(\n (agent) =>\n agent.fullName.toLowerCase().includes(lowerCaseSearchText) ||\n agent.email.includes(lowerCaseSearchText),\n );\n });\n }\n }, [filterSearchText]);\n};\n// for user Table sort column\nexport const useCurrentSortListByKey = (currentSort, setAgents) => {\n useEffect(() => {\n sortListByKey(currentSort.key, setAgents, currentSort.isAsc);\n }, [currentSort]);\n};\n\n// use for serviceArea\nexport const useGetServiceAreaOptions = (serviceAreaInput, setServiceAreaOptions) => {\n useEffect(() => {\n // Update debounced function after 500 ms\n const handler = setTimeout(() => {\n if (serviceAreaInput.length > 0) {\n getServiceAreaOptionsByInput(serviceAreaInput).then((res) =>\n setServiceAreaOptions(res.data ? res.data : []),\n );\n } else {\n setServiceAreaOptions([]);\n }\n }, 500);\n // Cancel the timeout if value changes (also on delay change or unmount)\n return () => {\n clearTimeout(handler);\n };\n }, [serviceAreaInput]);\n};\n\n// use for Address, email, and Phone category options\nexport const useFilterListOptions = (typeOptions, setOptions, triggerList, matchKeyName) => {\n useEffect(() => {\n setOptions(\n typeOptions.map((option) => {\n const newOption = {};\n if (\n triggerList.find((item, index) => {\n // eslint-disable-next-line no-underscore-dangle\n if (item._destroy) return false;\n if (item[matchKeyName] === option.value) {\n newOption.index = index;\n newOption.isTaken = option.value !== \"other\";\n }\n return item[matchKeyName] === option.value;\n })\n ) {\n return { ...option, ...newOption };\n }\n return option;\n }),\n );\n }, [triggerList]);\n};\n\nexport const useSetCrmModal = () => {\n const dispatch = useDispatch();\n\n return (bool, userId = null, personId = null) => dispatch(setCrmAccessModal(bool, userId, personId));\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Alert } from \"react-bootstrap\";\nimport Button from \"../v2/Button/Button\";\n\nconst ErrorAlert = ({ errorMessages, onClose }) => (\n \n
\n {errorMessages?.map((msg) =>\n typeof msg === \"object\" ? (\n
\n \n Email is already in use for an{\" \"}\n \n existing contact\n \n \n window.location.assign(`/people/${msg.existing_person_slug}`)}\n >\n View Contact\n \n
\n ) : (\n
\n ),\n )}\n
\n \n);\nErrorAlert.propTypes = {\n errorMessages: PropTypes.arrayOf(PropTypes.string),\n onClose: PropTypes.func,\n};\n\nErrorAlert.defaultProps = {\n errorMessages: [],\n onClose: () => { },\n};\n\nexport default ErrorAlert;\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\n\nconst CrmAccessModal = ({ show, onHide, onSave }) => (\n \n \n \n
\n This user will not have access to the Brivity CRM but will have access to all other apps associated\n with their account. Contact support at 855-427-4848 if you want this user to have access to Brivity.\n
\n
\n \n \n \n \n \n);\n\nexport default CrmAccessModal;\n\nCrmAccessModal.propTypes = {\n show: bool,\n onHide: func,\n onSave: func,\n};\n\nCrmAccessModal.defaultProps = {\n show: false,\n onHide: () => {},\n onSave: () => {},\n};\n","import { useDispatch } from \"react-redux\";\nimport { sendInviteEmail, patchSuspendUserApiFn } from \"../api\";\nimport { tryCatchHandlr } from \"../../../Transactions/components/Notes/helpers/helper\";\nimport { setErrorOktaBtn, setLoadingOktaBtn, setSuccessOktaBtn, clearOktaBtn } from \"./default\";\n\nexport const saveSuspendingPerson = async (\n userId,\n action,\n onSuccess = () => {},\n onError = () => {},\n onLoading = () => {},\n) => {\n onLoading();\n const [res, err] = await tryCatchHandlr(patchSuspendUserApiFn(userId, action));\n if (res) {\n onSuccess(res.data);\n return;\n }\n\n onError(err);\n};\n\n// eslint-disable-next-line import/prefer-default-export\nexport const useSendInviteEmail = () => {\n const dispatch = useDispatch();\n\n return async (userId) => {\n dispatch(setLoadingOktaBtn(userId));\n const [res] = await tryCatchHandlr(sendInviteEmail(userId));\n\n const dispatchedAction = res ? setSuccessOktaBtn : setErrorOktaBtn;\n dispatch(dispatchedAction(userId));\n\n setTimeout(() => dispatch(clearOktaBtn()), 5000);\n };\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst FolderTab = ({ tabName, isActive, onClick }) => (\n \n
\n \n
{tabName}
\n
\n
\n);\n\nFolderTab.propTypes = {\n tabName: PropTypes.string.isRequired,\n isActive: PropTypes.bool.isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nexport default FolderTab;\n","import { schemaGenerator } from \"../utils\";\n\nconst base = {\n default: [\n \"tw-font-regular\",\n \"tw-border-solid\",\n \"tw-border\",\n \"tw-rounded-[4px]\",\n \"tw-text-left\",\n \"tw-text-14px\",\n \"tw-px-12px\",\n \"tw-text-neutral-gray-75\",\n \"tw-bg-theme-text-input\",\n ],\n hover: [\"hover:tw-bg-theme-text-input-hover\"],\n focusWithin: [\n \"focus-within:tw-bg-white\",\n \"focus-within:hover:tw-bg-white\",\n \"focus-within:tw-outline-none\",\n \"focus-within:tw-ring-[1.5px]\",\n \"focus-within:tw-ring-theme-text-input-active\",\n ],\n disabled: [\"disabled:tw-text-neutral-gray-30\", \"disabled:tw-bg-theme-text-input-disabled\"],\n};\n\nconst dictionary = {\n regular: {\n default: [...base.default, \"tw-border-theme-text-input\"],\n hover: [...base.hover, \"hover:tw-border-theme-text-input-hover\"],\n focusWithin: [\n ...base.focusWithin,\n \"focus-within:tw-border-theme-text-input-active\",\n \"focus-within:hover:tw-border-theme-text-input-active\",\n \"focus-within:tw-ring-offset-0\",\n ],\n disabled: [...base.disabled, \"disabled:tw-border-theme-text-input-disabled\"],\n },\n error: {\n default: [...base.default, \"tw-border-semantic-red-25\"],\n hover: [...base.hover, \"hover:tw-border-semantic-red-50\"],\n focusWithin: [\n ...base.focusWithin,\n \"focus-within:tw-border-semantic-red-100\",\n \"focus-within:tw-ring-semantic-red-10\",\n \"tw-ring-offset-0\",\n ],\n disabled: [...base.disabled, \"disabled:tw-border-neutral-gray-15\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n\nconst spacingDictionary = {\n 0: \" \",\n 1: \"tw-space-x-[1px]\",\n 2: \"tw-space-x-[2px]\",\n 3: \"tw-space-x-[3px]\",\n 4: \"tw-space-x-[4px]\",\n 5: \"tw-space-x-[5px]\",\n 6: \"tw-space-x-[6px]\",\n 7: \"tw-space-x-[7px]\",\n 8: \"tw-space-x-[8px]\",\n 9: \"tw-space-x-[9px]\",\n 10: \"tw-space-x-[10px]\",\n 11: \"tw-space-x-[11px]\",\n 12: \"tw-space-x-[12px]\",\n 13: \"tw-space-x-[13px]\",\n 14: \"tw-space-x-[14px]\",\n};\n\nexport const spacingValue = (spacing) => spacingDictionary[spacing] || spacingDictionary[14];\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\"tw-bg-transparent\", \"tw-border-0\", \"tw-outline-none\", \"tw-placeholder-neutral-gray-50\"],\n focus: [\"focus:tw-outline-none\"],\n disabled: [\"disabled:tw-placeholder-neutral-gray-30\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n\nconst inputSizeDictionary = {\n min: \" \",\n full: \"tw-flex-grow\",\n};\n\nexport const inputSizeValue = (inputSize) => inputSizeDictionary[inputSize] || inputSizeDictionary.full;\n","import React, { useRef, useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport FieldLabel from \"../FieldLabel\";\nimport FieldError from \"../FieldError\";\nimport FieldHelper from \"../FieldHelper\";\n\nimport { range } from \"../../Utilities\";\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport styleSchema, { spacingValue } from \"./TextComboInput.styles\";\nimport inputStyleSchema, { inputSizeValue } from \"./Input.styles\";\n\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nconst TextComboInput = ({\n id: idFromProps,\n leading,\n trailing,\n disabled,\n error,\n inputRef,\n onFieldClick,\n onFocusIn,\n onFocusOut,\n spacing,\n inputSize,\n className,\n labelClassName,\n containerClassName,\n isRequired,\n label,\n helperText,\n toolTipInfoContent,\n toolTipPlacement,\n ...otherProps\n}) => {\n const fieldsetRef = useRef();\n const inputElementRef = inputRef || useRef();\n const fieldLabelRef = useRef(null);\n\n const [enableHoverOnInput, setEnableHoverOnInput] = useState(false);\n\n const id = useGivenOrGeneratedId(\"text-combo-input\", idFromProps);\n\n const classes = `\n ${schemaBasedClasses(error ? \"error\" : \"regular\")}\n ${className}\n `;\n\n const handleOnMouseDown = (e) => {\n if (!fieldsetRef.current || !inputElementRef.current) {\n return;\n }\n\n // Allow the input element handle the mousedown event\n if (inputElementRef.current === e.target) {\n return;\n }\n\n // Prevent this mouse down event to continue since the current target is the fieldset element\n if (fieldsetRef.current === e.currentTarget) {\n e.preventDefault();\n }\n };\n\n const handleOnBlur = (e) => {\n const { currentTarget } = e;\n\n // Give browser time to focus the next element\n window.requestAnimationFrame(() => {\n // Check if the new focused element is a child of the original container\n if (!currentTarget.contains(document.activeElement)) {\n onFocusOut();\n }\n });\n };\n\n // In this specific case, the focused border style needs to be applied on the fieldset element instead of the input,\n // and as such, hovering over the label doesn't automatically apply the hover style on it as it does on the other components,\n // so we need this workaround for consistency\n useEffect(() => {\n const fieldLabelEl = fieldLabelRef.current;\n\n if (!fieldLabelEl) return;\n\n fieldLabelEl.addEventListener(\"mouseover\", () => {\n setEnableHoverOnInput(true);\n });\n\n fieldLabelEl.addEventListener(\"mouseout\", () => {\n setEnableHoverOnInput(false);\n });\n }, [fieldLabelRef]);\n\n return (\n \n {/* Using fieldset to leverage the disabled attribute feature */}\n {label && (\n \n )}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions */}\n \n \n {leading && {leading}}\n \n {trailing && {trailing}}\n \n \n {helperText && }\n {error && }\n \n );\n};\n\nTextComboInput.defaultProps = {\n id: null,\n leading: null,\n trailing: null,\n disabled: false,\n error: null,\n inputRef: null,\n onFieldClick: null,\n onFocusIn: null,\n onFocusOut: null,\n spacing: 14,\n inputSize: \"full\",\n className: \"\",\n containerClassName: \"\",\n isRequired: false,\n label: null,\n helperText: null,\n toolTipInfoContent: null,\n labelClassName: \"\",\n toolTipPlacement: null,\n};\n\nTextComboInput.propTypes = {\n id: PropTypes.string,\n leading: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]),\n trailing: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]),\n disabled: PropTypes.bool,\n error: PropTypes.string,\n onFieldClick: PropTypes.func,\n onFocusIn: PropTypes.func,\n onFocusOut: PropTypes.func,\n // See https://github.com/facebook/prop-types/issues/240#issue-384666636\n inputRef: PropTypes.oneOfType([\n PropTypes.func, // for legacy refs\n PropTypes.shape({ current: PropTypes.instanceOf(Element) }),\n ]),\n spacing: PropTypes.oneOf(range(0, 14)),\n inputSize: PropTypes.oneOf([\"min\", \"full\"]),\n className: PropTypes.string,\n containerClassName: PropTypes.string,\n isRequired: PropTypes.bool,\n label: PropTypes.string,\n helperText: PropTypes.string,\n toolTipInfoContent: PropTypes.node,\n labelClassName: PropTypes.string,\n toolTipPlacement: PropTypes.string,\n};\n\nexport default TextComboInput;\n","const STYLES = {\n headline2: 'tw-font-bold tw-text-18d',\n headline3: 'tw-text-18d tw-text-gray-50',\n subtleM: 'tw-text-14d tw-font-bold',\n bodyS: \"tw-text-12d tw-text-gray-50\",\n primaryDisabled: 'tw-text-[#C2C2C2]',\n primaryLight: 'tw-text-[#999999]'\n}\n\nexport default STYLES;\n\nexport const { \n headline2,\n headline3,\n subtleM,\n bodyS,\n primaryDisabled,\n primaryLight\n} = STYLES;","import axios from \"axios\";\nimport { tryCatchHandlr } from \"./Utilities\";\n\nconst service_cache = {};\n\nconst cacheHandler = (response) => {\n if (response.request.statusText == \"OK\") {\n service_cache[response.config.url] = response;\n }\n return response;\n};\n\nconst cacheChecker = (url) => {\n let ret = null;\n if (service_cache[url]) {\n ret = service_cache[url];\n }\n return ret;\n};\n\nexport const setUserAgentOrPond = (params, callback, errorCallback) => {\n const url = \"/person_permissions\";\n axios\n .post(url, params, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then(callback)\n .catch(errorCallback);\n};\n\nexport const getAssignableAgents = (callback, errorCallback, config = {}) => {\n const url = \"/account_active_agents\";\n const cachedData = cacheChecker(url);\n if (cachedData && !config.skipCache) {\n return callback(cachedData);\n }\n axios\n .get(url, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then(cacheHandler)\n .then(callback)\n .catch(errorCallback);\n};\n\nexport const getAssignablePonds = (page, pageSize, callback, errorCallback, config = {}) => {\n const url = `/lead_ponds.json?per_page=${pageSize}&page=${page}`;\n const cachedData = cacheChecker(url);\n if (cachedData && !config.skipCache) {\n return callback(cachedData);\n }\n axios\n .get(url, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then(cacheHandler)\n .then(callback)\n .catch(errorCallback);\n};\n\nexport const getMLSOptions = (callback, errorCallback, config = {}) => {\n const url = \"/bulk_market_reports/mlses\";\n const cachedData = cacheChecker(url);\n if (cachedData && !config.skipCache) {\n return callback(cachedData);\n }\n axios\n .get(url, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then(cacheHandler)\n .then(callback)\n .catch(errorCallback);\n};\n\nexport const updatePrimaryAgentOrPond = async ({ data, errorCb, successCb }) => {\n const url = \"/people/agent_pond\";\n const [resData, err] = await tryCatchHandlr(\n axios.patch(url, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n \"x-csrf-token\": ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n if (successCb) {\n successCb(resData);\n }\n};\n\nexport const getPrimaryAgentOrPond = async ({ allpeopleIdsStr, successCb }) => {\n const url = `/people_permissions.json?${allpeopleIdsStr}`;\n const [resData, err] = await tryCatchHandlr(\n axios.get(url, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n }),\n );\n if (successCb) {\n successCb(resData);\n }\n};\n\nexport const deleteMarketReportApi = async ({ data, successCb, errorCb }) => {\n const url = `/market_reports/delete_report`;\n const [resData, err] = await tryCatchHandlr(\n axios.post(url, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const deleteCmaReportApi = async ({ id, successCb, errorCb }) => {\n const url = `/cma_reports/${id}`;\n const [resData, err] = await tryCatchHandlr(\n axios.delete(url, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n","import { useEffect, useState } from \"react\";\nimport { getAssignableAgents, getAssignablePonds } from \"./serviceHelpers\";\n\nexport const useGetAssignableAgents = ({ setState, shouldRun }) => {\n useEffect(() => {\n if (!shouldRun) return;\n getAssignableAgents(\n ({ data }) => {\n setState((state) => ({\n ...state,\n allAssignableAgents: data,\n filteredAssignableAgents: data,\n }));\n },\n (error) => {\n console.log(\"error\", error);\n },\n { skipCache: false },\n );\n }, [shouldRun]);\n};\n\nexport const useGetAssignablePonds = ({ setState, pageSize = 25, shouldRun }) => {\n const [page, setPage] = useState(1);\n const [runOnce, setRunOnce] = useState(false);\n\n useEffect(() => {\n if (shouldRun) setRunOnce(true);\n }, [shouldRun]);\n\n useEffect(() => {\n if (!runOnce) return;\n getAssignablePonds(\n page,\n pageSize,\n (response) => {\n const results = response.data.page || [];\n setState((state) => ({\n ...state,\n allAssignablePonds: [...state.allAssignablePonds, ...results],\n filteredAssignablePonds: [...state.filteredAssignablePonds, ...results],\n }));\n if (response.data.page?.length === pageSize) {\n // auto load the next page until we do not have a complete set returned\n setPage((page) => page + 1);\n }\n },\n (error) => {\n console.log(\"error\", error);\n },\n { skipCache: false },\n );\n }, [page, runOnce]);\n};\n\nexport const useGetAgentState = (enableLeadPonds, loadFirst) => {\n const [state, setState] = useState({\n allAssignableAgents: [],\n allAssignablePonds: [],\n filter: \"\",\n filteredAssignableAgents: [],\n filteredAssignablePonds: [],\n show: false,\n });\n\n useGetAssignableAgents({ setState, shouldRun: state.show || loadFirst });\n useGetAssignablePonds({ setState, shouldRun: enableLeadPonds && (state.show || loadFirst) });\n\n const handleChange = (e) => {\n const searchString = e.target.value;\n const regex = RegExp(searchString, \"gi\");\n setState((state) => ({\n ...state,\n filter: searchString,\n filteredAssignableAgents: state.allAssignableAgents.filter((agent) => regex.test(agent.name)),\n filteredAssignablePonds: state.allAssignablePonds.filter((pond) => regex.test(pond.name)),\n }));\n };\n return [state, setState, handleChange];\n};\n","import React from \"react\";\nimport Avatar from \"../v2/Avatar\";\nimport { getLetters } from \"../Utilities\";\n\nconst DropDownSelectOption = ({\n handleSelect = () => {},\n isSelected = false,\n option = {},\n showCheckIcon = true,\n}) => (\n {\n e.preventDefault();\n handleSelect(option);\n }}\n >\n {showCheckIcon && (\n \n )}\n \n {option.name}\n \n);\n\nexport default DropDownSelectOption;\n","import React, { useState, useRef, useEffect } from \"react\";\nimport { Overlay } from \"react-bootstrap\";\nimport { useClickOutside } from \"../hookHelpers\";\nimport { useGetAgentState } from \"../agentOrPondHookHelpers\";\nimport DropDownSelectOption from \"../DropDownSelectOption\";\nimport \"../../Filters/components/PondOrAgentFilter/styles.scss\";\n\nconst FormAgentOrPondSelect = ({\n enableLeadPonds = false,\n primaryAgent,\n leadPond,\n onChange = (params) => {},\n placeholder = \"\",\n}) => {\n const target = useRef(null);\n const [state, setState, handleChange] = useGetAgentState(enableLeadPonds, true);\n const [primaryAgentModel, setPrimaryAgent] = useState(null);\n const [leadPondModel, setLeadPond] = useState(leadPond);\n\n useClickOutside(target, () => setState((state) => ({ ...state, show: false })));\n\n useEffect(() => {\n if (!state?.allAssignableAgents.length) return;\n\n if (!primaryAgentModel) {\n const agent = state.allAssignableAgents.find((a) => a.id === primaryAgent);\n if (agent) setPrimaryAgent(agent);\n }\n }, [primaryAgent, state.allAssignableAgents]);\n\n const handleAgentSelect = (agent) => {\n const params = {\n primary_agent: agent.id,\n };\n setLeadPond(null);\n setPrimaryAgent(agent);\n setState((state) => ({ ...state, show: false }));\n onChange(params);\n };\n\n const handlePondSelect = (leadPond) => {\n const params = {\n lead_pond: leadPond.id,\n };\n setState((state) => ({ ...state, show: false }));\n setLeadPond(leadPond);\n setPrimaryAgent(null);\n onChange(params);\n };\n\n const setShowDropdown = (show) => setState((state) => ({ ...state, show }));\n\n const { filter, filteredAssignableAgents, filteredAssignablePonds } = state;\n\n return (\n
\n setShowDropdown(true)}\n >\n
\n {leadPondModel ? leadPondModel.name : primaryAgentModel ? primaryAgentModel.name : placeholder}\n
\n \n \n \n setShowDropdown(false)}\n placement=\"bottom\"\n container={target.current}\n target={target.current}\n >\n \n
\n \n
\n\n {filteredAssignablePonds.length > 0 && (\n

Pond

\n )}\n {filteredAssignablePonds?.map((pond) => (\n handlePondSelect(pond)}\n />\n ))}\n\n {filteredAssignableAgents.length > 0 && (\n

Team

\n )}\n {filteredAssignableAgents?.map((agent) => (\n handleAgentSelect(agent)}\n />\n ))}\n
\n \n \n );\n};\n\nexport default FormAgentOrPondSelect;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ToolTip from \"../../shared/v2/Tooltip\";\nimport { Info } from \"../v2/Icomoon\";\n\nfunction FieldLabelV1({ label, required, toolTipInfoContent, toolTipPlacement, title }) {\n return (\n
\n \n {label}\n
\n {required &&
*
}\n {toolTipInfoContent && (\n }\n placement={toolTipPlacement}\n />\n )}\n \n );\n}\nFieldLabelV1.propTypes = {\n toolTipPlacement: PropTypes.string,\n toolTipInfoContent: PropTypes.element,\n label: PropTypes.string,\n required: PropTypes.bool,\n};\n\nFieldLabelV1.defaultProps = {\n toolTipInfoContent: null,\n toolTipPlacement: \"top\",\n label: \"\",\n required: false,\n};\n\nexport default FieldLabelV1;\n","import { schemaGenerator } from \"../utils\";\n\nconst dotBase = {\n default: [\"tw-absolute\", \"tw-bg-white\", \"tw-rounded-full\", \"tw-translate-x-0\", \"tw-transition\"],\n peerChecked: [\"peer-checked:tw-translate-x-full\"],\n};\n\nconst dotDictionary = {\n small: {\n default: [...dotBase.default, \"tw-w-[16px]\", \"tw-h-[16px]\", \"tw-left-[2px]\", \"tw-top-[2px]\"],\n peerChecked: [...dotBase.peerChecked, \"peer-checked:tw-left-[6px]\"],\n },\n large: {\n default: [...dotBase.default, \"tw-w-[24px]\", \"tw-h-[24px]\", \"tw-left-[3px]\", \"tw-top-[3px]\"],\n peerChecked: [...dotBase.peerChecked, \"peer-checked:tw-left-[9px]\"],\n },\n};\n\nconst trackBase = {\n default: [\"tw-block\", \"tw-rounded-full\", \"tw-bg-neutral-gray-50\"],\n peerChecked: [\"peer-checked:tw-bg-theme-simple-toggle-color\"],\n peerDisabled: [\n \"peer-disabled:tw-bg-neutral-gray-15\",\n \"peer-disabled:peer-checked:tw-bg-theme-simple-toggle-color-disabled\",\n ],\n peerFocusVisible: [\"peer-focus-visible:tw-outline-theme\", \"peer-focus-visible:tw-outline-theme-offset-1px\"],\n};\n\nconst trackDictionary = {\n small: {\n default: [...trackBase.default, \"tw-w-[40px]\", \"tw-h-[20px]\"],\n peerChecked: trackBase.peerChecked,\n peerDisabled: trackBase.peerDisabled,\n peerFocusVisible: trackBase.peerFocusVisible,\n },\n large: {\n default: [...trackBase.default, \"tw-w-[60px]\", \"tw-h-[30px]\"],\n peerChecked: trackBase.peerChecked,\n peerDisabled: trackBase.peerDisabled,\n peerFocusVisible: trackBase.peerFocusVisible,\n },\n};\n\nconst dotSchema = schemaGenerator(dotDictionary);\nconst trackSchema = schemaGenerator(trackDictionary);\n\nconst schemas = {\n dotSchema,\n trackSchema,\n};\n\nexport default schemas;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport styles from \"./Toggle.styles\";\n\nconst { dotSchema, trackSchema } = styles;\n\nconst Dot = ({ className, size }) =>
;\n\nDot.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"small\", \"large\"]).isRequired,\n};\n\nDot.defaultProps = {\n className: \"\",\n};\n\nconst Track = ({ className, size }) => (\n
\n);\n\nTrack.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([\"small\", \"large\"]).isRequired,\n};\n\nTrack.defaultProps = {\n className: \"\",\n};\n\nconst Toggle = ({\n id: idFromProps,\n checked,\n disabled,\n labelClassName,\n onChange,\n size,\n dotClassName,\n trackClassName,\n textClassName,\n text,\n labelPlacement,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"toggle\", idFromProps);\n const textContent = text ? {text} : null;\n\n return (\n \n {labelPlacement === \"start\" && textContent}\n
\n \n \n \n
\n {labelPlacement === \"end\" && textContent}\n \n );\n};\n\nToggle.propTypes = {\n id: PropTypes.string,\n checked: PropTypes.bool.isRequired,\n disabled: PropTypes.bool,\n labelClassName: PropTypes.string,\n textClassName: PropTypes.string,\n onChange: PropTypes.func,\n size: PropTypes.oneOf([\"small\", \"large\"]),\n dotClassName: PropTypes.string,\n trackClassName: PropTypes.string,\n text: PropTypes.string,\n labelPlacement: PropTypes.oneOf([\"start\", \"end\"]),\n};\n\nToggle.defaultProps = {\n id: null,\n disabled: false,\n labelClassName: \"\",\n textClassName: \"\",\n onChange: null,\n size: \"small\",\n dotClassName: \"\",\n trackClassName: \"\",\n text: \"\",\n labelPlacement: \"end\",\n};\n\nexport default Toggle;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Upload, User } from \"../v2/Icomoon\";\nimport Avatar from \"../v2/Avatar\";\n\nfunction UserImageButton({ imgUrl, firstName, lastName, onClick }) {\n const [isOnHover, setIsOnHover] = useState(false);\n return (\n setIsOnHover(true)}\n onMouseOut={() => setIsOnHover(false)}\n onClick={onClick}\n className={`tw-w-[96px] tw-h-[96px] tw-rounded-full tw-bg-neutral-gray-10 tw-text-neutral-gray-75 tw-border-none tw-flex tw-justify-center tw-items-center tw-overflow-hidden hover:tw-bg-white hover:tw-text-black hover:tw-border hover:tw-border-solid hover:tw-border-black active:tw-bg-black active:tw-text-white`}\n >\n {imgUrl && !imgUrl.includes(\"user-default.svg\") ? (\n \"avatar\n ) : (\n <>\n {isOnHover ? (\n \n ) : !!firstName && !!lastName ? (\n \n {firstName + \" \" + lastName}\n \n ) : (\n \n )}\n \n )}\n \n );\n}\n\nUserImageButton.propTypes = {\n imgUrl: PropTypes.string,\n firstName: PropTypes.string,\n lastName: PropTypes.string,\n userName: PropTypes.string,\n onClick: PropTypes.func,\n};\n\nUserImageButton.defaultProps = {\n firstName: \"\",\n lastName: \"\",\n imgUrl: \"\",\n userName: \"\",\n onClick: () => {},\n};\n\nexport default UserImageButton;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport UserImageButton from \"../shared/UtilsV1/UserImageButton\";\nimport Button from \"../shared/v2/Button\";\n\nfunction UploadPersonAvatarField({ person, onUpdate, onRemove }) {\n const uploadInput = useRef();\n\n return (\n \n
\n uploadInput.current.click()}\n firstName={person?.firstName}\n lastName={person?.lastName}\n />\n {!person?.avatarUrl || person?.avatarUrl.includes(\"user-default.svg\") ? (\n
\n \n
\n ) : (\n
\n \n\n \n
\n )}\n onUpdate(e.target.files?.[0])}\n style={{ display: \"none\" }}\n ref={uploadInput}\n />\n
\n
\n );\n}\n\nUploadPersonAvatarField.propTypes = {\n person: PropTypes.shape().isRequired,\n onUpdate: PropTypes.func.isRequired,\n onRemove: PropTypes.func.isRequired,\n};\n\nexport default UploadPersonAvatarField;\n","import schemaGenerator from \"../v2/utils\";\n\nconst base = {\n default: [\n \"tw-font-regular\",\n \"tw-border-solid\",\n \"tw-border\",\n \"tw-rounded-[2px]\",\n \"tw-text-left\",\n \"tw-text-14px\",\n \"tw-placeholder-[#999999]\",\n \"tw-px-14px\",\n \"tw-py-8px\",\n \"tw-text-neutral-gray-75\",\n \"tw-bg-theme-text-input\",\n \"tw-w-full\",\n ],\n hover: [\"hover:tw-bg-theme-text-input-hover\"],\n focus: [\n \"focus:tw-bg-white\",\n \"focus:tw-outline-none\",\n \"focus:tw-ring-[1.5px]\",\n \"focus:tw-ring-theme-text-input-active\",\n ],\n disabled: [\"disabled:tw-text-neutral-gray-15\", \"disabled:tw-bg-theme-text-input-disabled\"],\n};\n\nconst dictionary = {\n regular: {\n default: [...base.default, \"tw-border-theme-text-input\"],\n hover: [...base.hover, \"hover:tw-border-theme-text-input-hover\"],\n focus: [...base.focus, \"focus:tw-border-theme-text-input-active\", \"tw-ring-offset-0\"],\n disabled: [...base.disabled, \"disabled:tw-border-theme-text-input-disabled\"],\n },\n error: {\n default: [...base.default, \"tw-border-semantic-red-25\"],\n hover: [...base.hover, \"hover:tw-border-semantic-red-50\"],\n focus: [\"focus:tw-border-semantic-red-100\", \"focus:tw-ring-semantic-red-10\", \"tw-ring-offset-0\"],\n disabled: [...base.disabled, \"disabled:tw-border-neutral-gray-15\"],\n },\n disabled: {\n default: [...base.default, \"tw-border-theme-text-input-disabled\", \"tw-cursor-default\"],\n disabled: [...base.disabled, \"disabled:tw-border-theme-text-input-disabled\"],\n },\n};\n\nconst styleSchema = schemaGenerator(dictionary);\n\nexport default styleSchema;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldError from \"@shared/v2/FieldError\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport styleSchema from \"./FieldStyle\";\nimport { CaretUp, CaretDown } from \"../v2/Icomoon\";\nimport IconButton from \"../v2/IconButton\";\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nfunction FieldSelect({\n placeholder,\n options,\n value,\n onChange,\n className,\n disabled,\n label,\n required,\n flexStyle,\n defaultValue,\n toolTipPlacement,\n toolTipInfoContent,\n isInputSearchable,\n isDropdownSearchable,\n dropdownWidth,\n error,\n isAddNotFound,\n fieldSelect,\n ...otherProps\n}) {\n let schemaKey = disabled ? \"disabled\" : \"regular\";\n schemaKey = error ? \"error\" : schemaKey;\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n const [searchText, setSearchText] = useState(\"\");\n\n const [filteredSearchOption, setFilteredSearchOption] = useState(options);\n\n const ref = useRef();\n useEffect(() => {\n const checkIfClickedOutside = (e) => {\n if (isDropdownOpen && ref.current && !ref.current.contains(e.target)) {\n setIsDropdownOpen(false);\n\n if (isDropdownSearchable) {\n setSearchText(\"\");\n }\n\n if (isInputSearchable)\n setSearchText(() => {\n const targetValue = options.find((option) => option.value === value);\n return targetValue ? targetValue.label : \"\";\n });\n }\n };\n document.addEventListener(\"mousedown\", checkIfClickedOutside);\n\n return () => {\n document.removeEventListener(\"mousedown\", checkIfClickedOutside);\n };\n }, [isDropdownOpen]);\n\n useEffect(() => {\n if (isInputSearchable)\n setSearchText(() => {\n const targetValue = options.find((option) => option.value === value);\n return targetValue ? targetValue.label : \"\";\n });\n }, [value]);\n\n useEffect(() => {\n if (defaultValue && !value) {\n onChange(defaultValue);\n }\n }, []);\n\n useEffect(() => {\n if (searchText.length > 0) {\n setFilteredSearchOption(() => {\n const optionsFilteredWithInput = options.filter((option) =>\n `${option.label}${option.description ? ` (${option.description})` : \"\"}`\n .toLowerCase()\n .includes(searchText.toLowerCase()),\n );\n return optionsFilteredWithInput;\n });\n } else {\n setFilteredSearchOption(options);\n }\n }, [searchText, options]);\n\n return (\n
\n {label && }\n
\n {isInputSearchable && (\n {\n setSearchText(e.target.value);\n }}\n onFocus={() => {\n setIsDropdownOpen(true);\n }}\n {...otherProps}\n />\n )}\n\n {!isInputSearchable && (\n option.value === value)\n ? options.find((option) => option.value === value)?.label\n : placeholder\n }\n className={`${classes} ${!value ? \"tw-text-neutral-gray-50\" : \"\"}`}\n onClick={() => {\n setIsDropdownOpen((prev) => !prev);\n }}\n disabled={disabled}\n {...otherProps}\n aria-hidden\n />\n )}\n {error && }\n \n {isDropdownOpen ? : }\n
\n\n {isDropdownOpen && (\n \n {isDropdownSearchable && (\n
\n setSearchText(e.target.value)}\n placeholder=\"Search\"\n className={`${classes} tw-h-[24px]`}\n data-cy={`${label}_search_input`}\n disabled={disabled}\n />\n
\n )}\n {filteredSearchOption.length <= 0 ? (\n isAddNotFound ? (\n
\n
Create tag \"{searchText}\"
\n {\n onChange(searchText);\n setSearchText(\"\");\n setIsDropdownOpen(false);\n }}\n >\n \n \n
\n ) : (\n
no matches
\n )\n ) : (\n filteredSearchOption.map((option) => {\n return (\n {\n if (option.value === value && isInputSearchable) {\n setSearchText(option.label);\n } else {\n onChange(fieldSelect ? option : option.value);\n if (isDropdownSearchable) setSearchText(\"\");\n }\n setIsDropdownOpen(false);\n }}\n data-cy={`option_${option.label}`}\n >\n {`${option.label}${option.description ? ` (${option.description})` : \"\"}`}\n
\n );\n })\n )}\n
\n )}\n \n \n );\n}\n\nFieldSelect.propTypes = {\n placeholder: PropTypes.string,\n label: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n description: PropTypes.string,\n header: PropTypes.string,\n }),\n ),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n isInputSearchable: PropTypes.bool,\n isDropdownSearchable: PropTypes.bool,\n onChange: PropTypes.func.isRequired,\n dropdownWidth: PropTypes.string,\n error: PropTypes.string,\n};\n\nFieldSelect.defaultProps = {\n placeholder: \"Select\",\n label: \"\",\n options: [\n { label: \"Option1\", value: \"Option1\" },\n { label: \"Option2\", value: \"Option2\" },\n ],\n value: \"\",\n required: false,\n flexStyle: \"tw-flex-1\",\n className: \"\",\n disabled: false,\n isInputSearchable: false,\n isDropdownSearchable: false,\n dropdownWidth: \"\",\n error: \"\",\n};\n\nexport default FieldSelect;\n","import { bodyS } from \"@shared/styles\";\n\nconst STYLES = {\n containerView: \"tw-flex tw-flex-col tw-gap-[24px]\",\n borderHr: \"tw-w-full tw-border-gray-10 tw-m-0\",\n inputDescription: `${bodyS} tw-mt-4`,\n defaultLink: \"tw-w-[254px]\",\n};\n\nexport default STYLES;\n\nexport const { containerView, borderHr, inputDescription, defaultLink } = STYLES;\n","import { useSelector } from \"react-redux\";\n\nexport const useContactFormOptions = () => useSelector((state) => state.contactsReducer.formOptions);\nexport const useContactPerson = () => useSelector((state) => state.contactsReducer.person);\nexport const useShowPhoneContext = () => useSelector((state) => state.contactsReducer.showPhoneContext);\n","import React, { useEffect, useMemo } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport { headline2 } from \"@shared/styles\";\nimport FormAgentOrPondSelect from \"@shared/FormAgentOrPondSelect\";\nimport FieldLabelV1 from \"../../shared/UtilsV1/FieldLabelV1\";\nimport Toggle from \"../../shared/v2/Toggle\";\nimport UploadPersonAvatarField from \"../UploadPersonAvatarField\";\nimport FieldSelect from \"../../shared/UtilsV1/FieldSelect\";\nimport { containerView } from \"./styles\";\nimport { setPersonValue, uploadAvatar } from \"../../reducers/contactsReducer\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport { useContactFormOptions, useContactPerson } from \"../../reducers/contactsReducer/selectors\";\n\nconst INTENT_OPTIONS = [\n { label: \"N/A\", value: \"n/a\" },\n { label: \"Buyer\", value: \"buyer\" },\n { label: \"Seller\", value: \"seller\" },\n];\n\nfunction GeneralView({ modalType }) {\n const dispatch = useDispatch();\n const formOptions = useContactFormOptions();\n const person = useContactPerson();\n const stageOptions = useMemo(\n () => [...(formOptions?.leadStageOptions || []), ...(formOptions?.candidateStageOptions || [])],\n [formOptions],\n );\n\n const featureFlags = useFeatureFlags();\n\n useEffect(() => {\n if (person.id) return;\n if (person.typeName === \"lead\") {\n dispatch(setPersonValue({ key: \"stage\", value: \"New lead\" }));\n dispatch(setPersonValue({ key: \"stageType\", value: \"lead\" }));\n } else {\n dispatch(setPersonValue({ key: \"stage\", value: \"\" }));\n dispatch(setPersonValue({ key: \"stageType\", value: \"\" }));\n }\n }, [person.typeName]);\n\n return (\n
\n
General
\n
\n dispatch(setPersonValue({ key: \"firstName\", value: e.target.value }))}\n data-cy=\"first_name\"\n />\n\n dispatch(setPersonValue({ key: \"lastName\", value: e.target.value }))}\n data-cy=\"last_name\"\n />\n\n {modalType === \"lead\" && (\n dispatch(setPersonValue({ key: \"typeName\", value }))}\n value={person.typeName}\n />\n )}\n\n dispatch(setPersonValue({ key: \"sourceId\", value }))}\n required={modalType === \"lead\"}\n isInputSearchable\n />\n\n {modalType === \"lead\" && person.typeName === \"lead\" && (\n {\n dispatch(setPersonValue({ key: \"stage\", value: option.value }));\n dispatch(setPersonValue({ key: \"stageType\", value: option.type }));\n }}\n value={person.stage}\n data-cy=\"stage_field\"\n />\n )}\n\n {modalType === \"lead\" && (\n dispatch(setPersonValue({ key: \"status\", value }))}\n value={person.status}\n />\n )}\n\n dispatch(setPersonValue({ key: \"leadType\", value }))}\n value={person.leadType}\n />\n {person.typeName === \"lead\" &&
}\n
\n\n {modalType === \"lead\" && !person.id && (\n
\n \n {\n dispatch(setPersonValue({ key: \"leadPondId\", value: params.lead_pond }));\n dispatch(setPersonValue({ key: \"primaryAgentId\", value: params.primary_agent }));\n }}\n />\n
\n )}\n\n {person.id && (\n
\n
\n \n For an ideal experience on your Brivity website, please upload an image that is cropped\n square and is under 1MB in size. 5MB limit.\n
\n }\n toolTipPlacement=\"top\"\n />\n dispatch(uploadAvatar({ file, personId: person.id }))}\n onRemove={() => dispatch(setPersonValue({ key: \"avatarUrl\", value: null }))}\n />\n
\n
\n
\n )}\n
\n dispatch(setPersonValue({ key: \"isLead\", value: !person.isLead }))}\n text=\"Show in Leads Index\"\n />\n {featureFlags.userUpdate && (\n // TODO: this is currently hardcoded, but probably shouldn't be?\n <>\n \n dispatch(\n setPersonValue({\n key: \"loginUser.showOnWebsiteRoster\",\n value: !person.loginUserAttributes?.showOnWebsiteRoster,\n }),\n )\n }\n text=\"Display on Website Roster\"\n />\n \n dispatch(\n setPersonValue({\n key: \"loginUser.showAgentProfilePage\",\n value: !person.loginUserAttributes?.showAgentProfilePage,\n }),\n )\n }\n text=\"Website Profile Page\"\n />\n \n )}\n
\n
\n );\n}\n\nGeneralView.propTypes = { modalType: PropTypes.string.isRequired };\n\nexport default GeneralView;\n","import PropTypes from \"prop-types\";\n\nexport const extractData = (componentProps) => {\n if (componentProps.data) {\n return componentProps.data;\n }\n\n const selectedValues = componentProps.getValue();\n\n // Automatically change the data type based on whether multiple values are enabled or not\n return componentProps.isMulti ? selectedValues || [] : selectedValues[0] || {};\n};\n\nexport const optionShape = PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n meta: PropTypes.object,\n});\n\nexport const groupedOptionShape = PropTypes.shape({\n label: PropTypes.string.isRequired,\n options: PropTypes.arrayOf(optionShape).isRequired,\n});\n\nexport const option = PropTypes.oneOfType([optionShape, groupedOptionShape]);\n\nexport const data = PropTypes.oneOfType([optionShape, PropTypes.arrayOf(optionShape), PropTypes.shape({})]);\n\nexport const customPropTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.object,\n data,\n children: PropTypes.node,\n};\n\nexport const customDefaultProps = {\n componentProps: {},\n data: null,\n children: null,\n};\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst SelectContainer = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.SelectContainer;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nSelectContainer.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n SelectContainer: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nSelectContainer.defaultProps = {\n selectProps: {\n custom: {\n SelectContainer: null,\n },\n },\n children: null,\n};\n\nexport default SelectContainer;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst Control = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.Control;\n\n if (!Component) {\n return null;\n }\n\n const [ValueContainer, IndicatorsContainer] = children;\n\n return (\n \n {ValueContainer}\n\n {componentProps.selectProps?.inputTrailing && (\n \n {componentProps.selectProps.inputTrailing}\n
\n )}\n\n {IndicatorsContainer}\n
\n );\n};\n\nControl.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n Control: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nControl.defaultProps = {\n selectProps: {\n custom: {\n Control: null,\n },\n },\n children: null,\n};\n\nexport default Control;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst ValueContainer = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.ValueContainer;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nValueContainer.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n ValueContainer: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nValueContainer.defaultProps = {\n selectProps: {\n custom: {\n ValueContainer: null,\n },\n },\n children: null,\n};\n\nexport default ValueContainer;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst SingleValue = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.SingleValue;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nSingleValue.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n SingleValue: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nSingleValue.defaultProps = {\n selectProps: {\n custom: {\n SingleValue: null,\n },\n },\n children: null,\n};\n\nexport default SingleValue;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst MultiValue = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.MultiValue;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValue.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n MultiValue: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nMultiValue.defaultProps = {\n selectProps: {\n custom: {\n MultiValue: null,\n },\n },\n children: null,\n};\n\nexport default MultiValue;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst MultiValueContainer = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.MultiValueContainer;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValueContainer.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n MultiValueContainer: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nMultiValueContainer.defaultProps = {\n selectProps: {\n custom: {\n MultiValueContainer: null,\n },\n },\n children: null,\n};\n\nexport default MultiValueContainer;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst MultiValueLabel = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.MultiValueLabel;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValueLabel.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n MultiValueLabel: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nMultiValueLabel.defaultProps = {\n selectProps: {\n custom: {\n MultiValueLabel: null,\n },\n },\n children: null,\n};\n\nexport default MultiValueLabel;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst MultiValueRemove = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.MultiValueRemove;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValueRemove.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n MultiValueRemove: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nMultiValueRemove.defaultProps = {\n selectProps: {\n custom: {\n MultiValueRemove: null,\n },\n },\n children: null,\n};\n\nexport default MultiValueRemove;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst Input = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.Input;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nInput.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n Input: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nInput.defaultProps = {\n selectProps: {\n custom: {\n Input: null,\n },\n },\n children: null,\n};\n\nexport default Input;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst IndicatorSeparator = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.IndicatorSeparator;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nIndicatorSeparator.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n IndicatorSeparator: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nIndicatorSeparator.defaultProps = {\n selectProps: {\n custom: {\n IndicatorSeparator: null,\n },\n },\n children: null,\n};\n\nexport default IndicatorSeparator;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst DropdownIndicator = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.DropdownIndicator;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nDropdownIndicator.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n DropdownIndicator: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nDropdownIndicator.defaultProps = {\n selectProps: {\n custom: {\n DropdownIndicator: null,\n },\n },\n children: null,\n};\n\nexport default DropdownIndicator;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst Menu = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.Menu;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nMenu.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n Menu: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nMenu.defaultProps = {\n selectProps: {\n custom: {\n Menu: null,\n },\n },\n children: null,\n};\n\nexport default Menu;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst MenuList = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.MenuList;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nMenuList.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n MenuList: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nMenuList.defaultProps = {\n selectProps: {\n custom: {\n MenuList: null,\n },\n },\n children: null,\n};\n\nexport default MenuList;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst GroupHeading = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.GroupHeading;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nGroupHeading.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n GroupHeading: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nGroupHeading.defaultProps = {\n selectProps: {\n custom: {\n GroupHeading: null,\n },\n },\n children: null,\n};\n\nexport default GroupHeading;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst Option = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.Option;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nOption.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n Option: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nOption.defaultProps = {\n selectProps: {\n custom: {\n Option: null,\n },\n },\n children: null,\n};\n\nexport default Option;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst ClearIndicator = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.ClearIndicator;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nClearIndicator.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n ClearIndicator: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nClearIndicator.defaultProps = {\n selectProps: {\n custom: {\n ClearIndicator: null,\n },\n },\n children: null,\n};\n\nexport default ClearIndicator;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { extractData } from \"../utils\";\n\nconst NoOptionsMessage = ({ children, ...componentProps }) => {\n const Component = componentProps.selectProps?.custom?.NoOptionsMessage;\n\n if (!Component) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nNoOptionsMessage.propTypes = {\n selectProps: PropTypes.shape({\n custom: PropTypes.shape({\n NoOptionsMessage: PropTypes.func,\n }),\n }),\n children: PropTypes.node,\n};\n\nNoOptionsMessage.defaultProps = {\n selectProps: {\n custom: {\n NoOptionsMessage: null,\n },\n },\n children: null,\n};\n\nexport default NoOptionsMessage;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst SelectContainer = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nSelectContainer.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nSelectContainer.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default SelectContainer;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst Control = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nControl.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nControl.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default Control;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst ValueContainer = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nValueContainer.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nValueContainer.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default ValueContainer;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst SingleValue = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nSingleValue.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nSingleValue.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default SingleValue;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst MultiValue = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValue.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nMultiValue.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default MultiValue;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst MultiValueContainer = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValueContainer.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nMultiValueContainer.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default MultiValueContainer;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst MultiValueLabel = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValueLabel.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nMultiValueLabel.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default MultiValueLabel;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst MultiValueRemove = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nMultiValueRemove.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nMultiValueRemove.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default MultiValueRemove;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst Input = ({ className, isHidden, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nInput.propTypes = {\n className: PropTypes.string,\n isHidden: PropTypes.bool,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nInput.defaultProps = {\n className: \"\",\n isHidden: false,\n preserveStyle: false,\n children: null,\n};\n\nexport default Input;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst IndicatorSeparator = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nIndicatorSeparator.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nIndicatorSeparator.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default IndicatorSeparator;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst DropdownIndicator = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nDropdownIndicator.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nDropdownIndicator.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default DropdownIndicator;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst Menu = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nMenu.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nMenu.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default Menu;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst MenuList = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nMenuList.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nMenuList.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default MenuList;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst GroupHeading = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nGroupHeading.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nGroupHeading.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default GroupHeading;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst Option = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nOption.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nOption.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default Option;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst ClearIndicator = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nClearIndicator.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nClearIndicator.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default ClearIndicator;\n","/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { components } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nconst NoOptionsMessage = ({ className, preserveStyle, children, ...otherProps }) => {\n if (!preserveStyle) {\n // So that the default styles aren't applied, for full customization\n otherProps.getStyles = () => ({});\n }\n\n return (\n \n {children}\n \n );\n};\n\nNoOptionsMessage.propTypes = {\n className: PropTypes.string,\n preserveStyle: PropTypes.bool,\n children: PropTypes.node,\n};\n\nNoOptionsMessage.defaultProps = {\n className: \"\",\n preserveStyle: false,\n children: null,\n};\n\nexport default NoOptionsMessage;\n","import React from \"react\";\nimport CustomControl from \"../custom/Control\";\nimport { customDefaultProps, customPropTypes } from \"../utils\";\n\n// This default Control is identical to the native Control,\n// but it's necessary because we're modifying the children for the Control at the custom wrapper,\n// so we need it to behave as if it was a custom component to render the modified children\n\nconst Control = ({ componentProps, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {children}\n \n);\n\nControl.propTypes = customPropTypes;\n\nControl.defaultProps = customDefaultProps;\n\nexport default Control;\n","import React from \"react\";\nimport { Close as CloseIcon } from \"../../Icomoon\";\nimport CustomMultiValueRemove from \"../custom/MultiValueRemove\";\nimport { customDefaultProps, customPropTypes } from \"../utils\";\n\nconst MultiValueRemove = ({ componentProps }) =>\n componentProps.data.meta?.isDisabled ? null : (\n \n \n \n );\n\nMultiValueRemove.propTypes = customPropTypes;\n\nMultiValueRemove.defaultProps = customDefaultProps;\n\nexport default MultiValueRemove;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport CustomInput from \"../custom/Input\";\nimport { customDefaultProps, customPropTypes } from \"../utils\";\n\nconst SearchableInput = ({ componentProps, children }) => {\n const handleMouseUp = (e) => {\n if (componentProps.selectProps?.wasSearchTextSelected?.current) {\n // If the user clicked on the input to open the menu,\n // we prevent it from changing the selection range,\n // so that the search text will always be selected at first\n e.preventDefault();\n\n // eslint-disable-next-line no-param-reassign\n componentProps.selectProps.wasSearchTextSelected.current = false;\n }\n };\n\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {children}\n \n );\n};\n\nSearchableInput.propTypes = {\n ...customPropTypes,\n componentProps: PropTypes.shape({\n selectProps: PropTypes.shape({\n // eslint-disable-next-line react/forbid-prop-types\n wasSearchTextSelected: PropTypes.object,\n }),\n }),\n};\n\nSearchableInput.defaultProps = {\n ...customDefaultProps,\n componentProps: {\n selectProps: {\n wasSearchTextSelected: null,\n },\n },\n};\n\nexport default SearchableInput;\n","import React from \"react\";\nimport { CaretDown as CaretDownIcon } from \"../../Icomoon\";\nimport CustomDropdownIndicator from \"../custom/DropdownIndicator\";\nimport { customDefaultProps, customPropTypes } from \"../utils\";\n\nconst DropdownIndicator = ({ componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n \n \n);\n\nDropdownIndicator.propTypes = customPropTypes;\n\nDropdownIndicator.defaultProps = customDefaultProps;\n\nexport default DropdownIndicator;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useVirtualizer } from \"@tanstack/react-virtual\";\n\nconst VirtualMenuList = ({ children }) => {\n const ref = useRef(null);\n\n const rowVirtualizer = useVirtualizer({\n count: React.Children.count(children),\n getScrollElement: () => ref.current,\n estimateSize: () => 32,\n overscan: 5,\n });\n\n if (!Array.isArray(children)) return children;\n\n const virtualItems = rowVirtualizer.getVirtualItems();\n\n return (\n
\n \n \n {virtualItems.map(({ key, index }) => (\n
\n {children[index] || null}\n
\n ))}\n
\n \n \n );\n};\n\nVirtualMenuList.propTypes = {\n children: PropTypes.node,\n};\n\nVirtualMenuList.defaultProps = {\n children: null,\n};\n\nexport default VirtualMenuList;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ClearIndicator } from \"./custom-wrappers\";\nimport { optionShape } from \"./utils\";\n\n// This component essentially replicates the native react-select behavior,\n// so it's basically a copy-paste from react-select,\n// adapted so that the components render correctly when called manually\n\nconst DropdownMultiValue = ({ selectRef, optionKey, optionIndex, option, className, removablePrefix }) => {\n const components = selectRef.current?.getComponents?.();\n\n const handleMouseDown = (e) => {\n e.preventDefault();\n };\n\n const removeValue = () => {\n const selectValue = selectRef.current?.state?.selectValue ?? [];\n const newSelectValue = selectValue.filter((currentOption) => currentOption.value !== option.value);\n\n selectRef.current?.props?.onChange?.(newSelectValue, {\n action: \"remove-value\",\n removedValue: option,\n });\n\n if (!selectRef.current?.props?.blurInputOnSelect) {\n selectRef.current?.focusInput?.();\n }\n };\n\n const handleKeyDown = (e) => {\n if (e.key === \"Backspace\" && selectRef.current?.props?.backspaceRemovesValue) {\n removeValue();\n }\n };\n\n return components.MultiValue({\n ...(selectRef.current?.commonProps ?? {}),\n components: {\n Container: components.MultiValueContainer,\n Label: components.MultiValueLabel,\n Remove: components.MultiValueRemove,\n },\n isFocused: false,\n isDisabled: selectRef.current?.props?.isDisabled ?? false,\n key: optionKey,\n index: optionIndex,\n removeProps: {\n // For accessibility\n tabIndex: 0,\n\n onMouseDown: handleMouseDown,\n onClick: removeValue,\n onTouchEnd: removeValue,\n onKeyDown: handleKeyDown,\n },\n data: option,\n children:\n `${removablePrefix}${selectRef.current?.formatOptionLabel?.(option, \"value\")}` ??\n `${removablePrefix}${option.label}`,\n className,\n });\n};\n\nDropdownMultiValue.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n selectRef: PropTypes.object.isRequired,\n optionKey: PropTypes.string.isRequired,\n optionIndex: PropTypes.number.isRequired,\n option: optionShape.isRequired,\n removablePrefix: PropTypes.string,\n};\n\nDropdownMultiValue.defaultProps = {\n // eslint-disable-next-line react/forbid-prop-types\n selectRef: PropTypes.object.isRequired,\n optionKey: PropTypes.string.isRequired,\n optionIndex: PropTypes.number.isRequired,\n option: optionShape.isRequired,\n removablePrefix: \"\",\n};\n\nconst DropdownClearIndicator = ({ selectRef }) => {\n const isClearable = selectRef.current?.isClearable?.() ?? false;\n const hasValue = selectRef.current?.hasValue?.() ?? false;\n const { isDisabled, isLoading } = selectRef.current?.props ?? {\n isDisabled: false,\n isLoading: false,\n };\n\n if (!isClearable || isDisabled || !hasValue || isLoading) {\n return null;\n }\n\n const { commonProps } = selectRef.current;\n const { isFocused } = selectRef.current?.state ?? { isFocused: false };\n\n const innerProps = {\n onMouseDown: selectRef.current?.onClearIndicatorMouseDown,\n onTouchEnd: selectRef.current?.onClearIndicatorTouchEnd,\n \"aria-hidden\": \"true\",\n };\n\n return (\n \n );\n};\n\nDropdownClearIndicator.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n selectRef: PropTypes.object.isRequired,\n};\n\nconst DropdownMultiValues = ({ selectRef, dropdownMultiValueClassName, removablePrefix }) => {\n const selectValue = selectRef.current?.state?.selectValue ?? [];\n\n return (\n \n {selectValue.map((option, optionIndex) => {\n const optionKey = [\n selectRef.current?.getOptionLabel?.(option) ?? option.label,\n selectRef.current?.getOptionValue?.(option) ?? option.value,\n ].join(\" \");\n\n return (\n \n );\n })}\n {selectValue.length > 0 && }\n \n );\n};\n\nDropdownMultiValues.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n selectRef: PropTypes.object.isRequired,\n dropdownMultiValueClassName: PropTypes.string,\n removablePrefix: PropTypes.string,\n};\n\nDropdownMultiValues.defaultProps = {\n dropdownMultiValueClassName: null,\n removablePrefix: \"\",\n};\n\nexport default DropdownMultiValues;\n","const getControlBoxShadowColor = (state) => {\n if (state.selectProps.error) {\n return \"var(--semantic-red-10)\";\n }\n\n return \"var(--dropdown-box-shadow-focus)\";\n};\n\nconst getControlBorderColor = (state, isHover, isPipeline) => {\n if (isHover) {\n if (state.isDisabled) {\n return null;\n }\n\n if (state.selectProps.error) {\n return \"var(--semantic-red-50)\";\n }\n\n if (state.isFocused) {\n return null;\n }\n\n return \"var(--dropdown-border-hover)\";\n }\n\n if (state.isDisabled) {\n return \"var(--neutral-gray-10)\";\n }\n\n if (state.selectProps.error && state.isFocused) {\n return \"var(--semantic-red-100)\";\n }\n\n if (state.selectProps.error) {\n return \"var(--semantic-red-25)\";\n }\n\n if (state.isFocused) {\n return \"var(--dropdown-border-focus)\";\n }\n\n if (state.hasValue) {\n return isPipeline ? \"var(--text-input-border)\" : \"var(--neutral-gray-30)\";\n }\n\n return \"var(--neutral-gray-15)\";\n};\n\nconst getControlBackgroundColor = (state, isPipeline) => {\n if (state.isDisabled) {\n return \"var(--neutral-gray-2_5)\";\n }\n\n if (state.isFocused) {\n return \"var(--white)\";\n }\n\n return isPipeline ? \"var(--text-input-bg)\" : \"var(--tinted-gray-50)\";\n};\n\nconst getPlaceholderColor = (state) => {\n if (state.isDisabled) {\n return \"var(--neutral-gray-30)\";\n }\n\n return \"var(--neutral-gray-50)\";\n};\n\nconst getSingleValueColor = (state) => {\n if (state.isDisabled) {\n return \"var(--neutral-gray-30)\";\n }\n\n return \"var(--neutral-gray-75)\";\n};\n\nconst getMultiValueRemoveColor = (state, isHover) => {\n if (isHover || state.isFocused) {\n return \"var(--semantic-red-100)\";\n }\n\n return \"var(--neutral-gray-75)\";\n};\n\nconst getInputColor = (state) => {\n if (state.isDisabled) {\n return \"var(--neutral-gray-30)\";\n }\n\n return \"var(--neutral-gray-75)\";\n};\n\nconst getInputSelectionColor = (state) => {\n if (state.selectProps.error) {\n return \"var(--semantic-red-5)\";\n }\n\n return \"var(--dropdown-input-selection)\";\n};\n\nconst getIndicatorColor = (state) => {\n if (state.isDisabled) {\n return \"var(--neutral-gray-30)\";\n }\n\n return \"var(--neutral-gray-75)\";\n};\n\nconst getOptionBackgroundColor = (state, isHover, isActive) => {\n if (state.isDisabled) {\n return \"var(--white)\";\n }\n\n if (isActive || state.isSelected) {\n return \"var(--tinted-gray-100)\";\n }\n\n if (isHover || state.isFocused) {\n return \"var(--tinted-gray-50)\";\n }\n\n return \"var(--white)\";\n};\n\nconst getOptionColor = (state) => {\n if (state.isDisabled) {\n return \"var(--neutral-gray-30)\";\n }\n\n return \"var(--neutral-gray-75)\";\n};\n\nconst styles = (isPipeline = false) => ({\n control: (provided, state) => ({\n ...provided,\n minHeight: \"36px\",\n boxShadow: state.isFocused ? `0 0 0 1.5px ${getControlBoxShadowColor(state)}` : \"none\",\n borderColor: getControlBorderColor(state, false, isPipeline),\n borderRadius: isPipeline ? \"4px\" : \"2px\",\n backgroundColor: getControlBackgroundColor(state, isPipeline),\n padding: \"7px 12px 7px 10px\",\n gap: \"8px\",\n\n \"&:hover\": {\n borderColor: getControlBorderColor(state, true),\n },\n }),\n\n valueContainer: (provided, state) => ({\n ...provided,\n padding: 0,\n gap: state.selectProps.isMulti ? \"8px\" : null,\n lineHeight: \"20px\",\n fontSize: \"14px\",\n fontWeight: \"400\",\n }),\n\n placeholder: (provided, state) => ({\n ...provided,\n padding: 0,\n color: getPlaceholderColor(state),\n }),\n\n singleValue: (provided, state) => ({\n ...provided,\n color: getSingleValueColor(state),\n }),\n\n multiValue: (provided) => ({\n ...provided,\n margin: 0,\n borderRadius: \"9999px\",\n backgroundColor: \"var(--neutral-gray-10)\",\n padding: \"4px 8px\",\n gap: \"8px\",\n }),\n\n multiValueLabel: (provided) => ({\n ...provided,\n borderRadius: 0,\n backgroundColor: \"transparent\",\n padding: 0,\n paddingLeft: 0,\n color: \"var(--neutral-gray-75)\",\n lineHeight: \"20px\",\n fontSize: \"14px\",\n fontWeight: \"600\",\n }),\n\n multiValueRemove: (provided, state) => ({\n ...provided,\n borderRadius: 0,\n backgroundColor: \"transparent\",\n paddingRight: 0,\n paddingLeft: 0,\n color: getMultiValueRemoveColor(state, false),\n\n \"&:hover\": {\n backgroundColor: \"transparent\",\n color: getMultiValueRemoveColor(state, true),\n },\n\n \"&:focus-visible\": {\n outline: \"none\",\n color: getMultiValueRemoveColor(state, true),\n },\n }),\n\n input: (provided, state) => ({\n ...provided,\n marginTop: 0,\n marginBottom: 0,\n padding: 0,\n color: getInputColor(state),\n\n \"input::selection\": {\n backgroundColor: getInputSelectionColor(state),\n },\n }),\n\n dropdownIndicator: (provided, state) => ({\n ...provided,\n padding: 0,\n color: getIndicatorColor(state),\n transform: state.selectProps.menuIsOpen ? \"rotate(-180deg)\" : null,\n cursor: \"pointer\",\n\n \"&:hover\": {\n color: getIndicatorColor(state),\n },\n }),\n\n menuPortal: (provided) => ({\n ...provided,\n zIndex: 9999,\n }),\n\n menu: (provided) => ({\n ...provided,\n marginTop: \"4px\",\n boxShadow: \"0px 6px 20px 2px rgba(51, 51, 51, 0.16)\",\n border: \"1px solid var(--neutral-gray-15)\",\n borderRadius: \"2px\",\n }),\n\n menuList: (provided) => ({\n ...provided,\n padding: 0,\n }),\n\n group: (provided) => ({\n ...provided,\n padding: 0,\n }),\n\n groupHeading: (provided) => ({\n ...provided,\n display: \"flex\",\n alignItems: \"center\",\n minHeight: \"32px\",\n marginBottom: 0,\n backgroundColor: \"var(--tinted-gray-50)\",\n padding: \"4px 12px\",\n color: \"var(--neutral-gray-75)\",\n lineHeight: \"16px\",\n fontSize: \"12px\",\n fontWeight: \"600\",\n textTransform: \"none\",\n }),\n\n option: (provided, state) => ({\n ...provided,\n minHeight: \"32px\",\n backgroundColor: getOptionBackgroundColor(state, false, false),\n padding: \"6px 12px\",\n color: getOptionColor(state),\n lineHeight: \"20px\",\n fontSize: \"14px\",\n fontWeight: !state.isDisabled && state.isSelected ? \"600\" : \"400\",\n cursor: state.isDisabled ? \"not-allowed\" : \"pointer\",\n\n \"&:hover\": {\n backgroundColor: getOptionBackgroundColor(state, true, false),\n },\n\n \"&:active\": {\n backgroundColor: getOptionBackgroundColor(state, false, true),\n },\n }),\n});\n\nexport default styles;\n","import React, { forwardRef, useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport ReactSelect, { createFilter } from \"react-select\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport * as customComponentsWrappers from \"./custom-wrappers\";\nimport * as customComponents from \"./custom\";\n\nimport DefaultControl from \"./default/Control\";\nimport DefaultMultiValueRemove from \"./default/MultiValueRemove\";\nimport DefaultSearchableInput from \"./default/SearchableInput\";\nimport DefaultDropdownIndicator from \"./default/DropdownIndicator\";\nimport DefaultVirtualMenuList from \"./default/VirtualMenuList\";\n\nimport FieldLabel from \"../FieldLabel\";\nimport FieldHelper from \"../FieldHelper\";\nimport FieldError from \"../FieldError\";\n\nimport DropdownMultiValues from \"./DropdownMultiValues\";\n\nimport styles from \"./Dropdown.styles\";\nimport { option } from \"./utils\";\n\nexport const CLASS_NAME_PREFIX = \"react-select\";\n\nconst Dropdown = forwardRef((props, ref) => {\n if (props.isSearchable) {\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n }\n\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n});\n\nconst DropdownBase = forwardRef(\n (\n {\n id: idFromProps,\n className,\n containerClassName,\n label,\n loadingMessage: initialLoadingMessage,\n noOptionsMessage: initialNoOptionsMessage,\n isRequired,\n multiShouldRenderBelowSelect,\n menuShouldComeToFront,\n maxVisibleOptions,\n helperText,\n error,\n leading,\n labelClassName,\n trailing,\n defaultComponents,\n components: initialComponents,\n toolTipInfoContent,\n toolTipPlacement,\n dropdownMultiValueClassName,\n removablePrefix,\n \"data-cy\": dataCy,\n ...otherProps\n },\n ref,\n ) => {\n const id = useGivenOrGeneratedId(\"dropdown\", idFromProps);\n\n const internalRef = ref || useRef(null);\n\n // We need to re-render the component once the ref is populated,\n // so we need to keep a separate state for it\n const [selectRef, setSelectRef] = useState({ current: null });\n\n const loadingMessage = useCallback(() => initialLoadingMessage, [initialLoadingMessage]);\n\n const noOptionsMessage = useCallback(() => initialNoOptionsMessage, [initialNoOptionsMessage]);\n\n const closeMenuOnScroll = useCallback(\n (e) =>\n // Do not close the menu if it's already closed,\n // or if we're scrolling inside of it\n selectRef.current?.props?.menuIsOpen &&\n e.target?.classList &&\n !e.target.classList.contains(`${CLASS_NAME_PREFIX}__menu-list`),\n [selectRef.current],\n );\n\n const custom = useMemo(\n () => ({\n ...defaultComponents,\n ...initialComponents,\n }),\n [defaultComponents, initialComponents],\n );\n\n const components = useMemo(\n () =>\n Object.fromEntries(\n Object.entries(custom).map(([componentName, Component]) => {\n if (componentName === \"ClearIndicator\" && otherProps.isMulti && multiShouldRenderBelowSelect) {\n // When the options should be rendered below the select we must remove the\n // ClearIndicator component from the components object to render it inside the\n // DropdownMultiValues component.\n return [componentName, null];\n }\n\n return [componentName, Component && customComponentsWrappers[componentName]];\n }),\n ),\n [custom],\n );\n\n const selectStyles = () => styles(otherProps.isPipeline);\n\n useEffect(() => {\n setSelectRef(internalRef);\n }, [internalRef.current]);\n\n return (\n
\n {label && (\n \n )}\n
\n {leading}\n \n \n
\n {trailing}\n
\n {helperText && (\n \n )}\n {error && }\n {otherProps.isMulti && multiShouldRenderBelowSelect && selectRef.current?.state?.selectValue && (\n \n )}\n \n );\n },\n);\n\nconst BasicDropdown = forwardRef((props, ref) => (\n \n));\n\nconst SearchableDropdown = forwardRef((props, ref) => {\n const selectRef = ref || useRef(null);\n const wasSearchTextSelected = useRef(false);\n const hasInputValueChanged = useRef(false);\n const wasOptionSelected = useRef(false);\n\n const [inputValue, setInputValue] = useState(\"\");\n useEffect(() => setInputValue(props.inputValue), [props.inputValue]);\n\n const filter = useMemo(() => props.customFilter || createFilter(), []);\n\n const filterOption = useCallback(\n (currentOption, currentInputValue) =>\n // If the user opened the menu and hasn't changed the input value,\n // we should not filter the options so that all options appear at first\n props.shouldFilterOptions && hasInputValueChanged.current\n ? filter(currentOption, currentInputValue)\n : true,\n [filter, props.shouldFilterOptions],\n );\n\n const handleInputChange = (newValue, event) => {\n switch (event.action) {\n case \"input-change\":\n props.onInputChange?.(newValue, event);\n setInputValue(newValue);\n\n if (props.emptyInputRemovesValue && !newValue && !props.isMulti) {\n // Clear the selected option if multiple values are disabled and the input value is empty\n props.onChange(null, {\n action: \"clear\",\n removedValues: selectRef.current?.state?.selectValue ?? [],\n });\n }\n\n hasInputValueChanged.current = true;\n break;\n\n case \"set-value\":\n // Selecting an option triggers an input change with `set-value` action,\n // so we need to keep track of this to prevent reverting the value on blur\n wasOptionSelected.current = true;\n break;\n\n case \"input-blur\":\n if (!wasOptionSelected.current) {\n if (props.isMulti) {\n // If multiple values are enabled, clear the input value\n setInputValue(\"\");\n } else if (props.selectInputOnMenuOpen && newValue !== props.value?.label) {\n // If no option was selected and the input value is different than the previously selected option,\n // revert the input value back to the previously selection option\n setInputValue(props.value?.label || \"\");\n }\n }\n\n hasInputValueChanged.current = false;\n wasOptionSelected.current = false;\n break;\n\n default:\n break;\n }\n };\n\n const isSearchTextSelected = (input) => Math.abs(input.selectionStart - input.selectionEnd) > 0;\n\n const selectSearchText = () => {\n if (!props.isMulti && selectRef.current?.inputRef) {\n selectRef.current.inputRef.select();\n\n // We need to keep track of when the search text was selected\n // to make sure that the selection is preserved if the user clicked on the input to open the menu\n wasSearchTextSelected.current = true;\n\n // We give it just enough time to be used by `SearchableInput`,\n // because any subsequent clicks shouldn't be prevented\n window.setTimeout(() => {\n wasSearchTextSelected.current = false;\n }, 100);\n }\n };\n\n const unselectSearchText = () => {\n if (!props.isMulti && selectRef.current?.inputRef && isSearchTextSelected(selectRef.current.inputRef)) {\n selectRef.current.inputRef.setSelectionRange(0, 0);\n }\n };\n\n const handleMenuOpen = () => {\n selectSearchText();\n\n if (props.onMenuOpen) {\n props.onMenuOpen();\n }\n };\n\n const handleMenuClose = () => {\n unselectSearchText();\n\n if (props.onMenuClose) {\n props.onMenuClose();\n }\n };\n\n useEffect(() => {\n // Update the input value to match the selected option\n if (props.preventOptionUpdate) return;\n setInputValue((props.selectInputOnMenuOpen && !props.isMulti && props.value?.label) || \"\");\n }, [props.selectInputOnMenuOpen, props.isMulti, props.value]);\n\n return (\n \n );\n});\n\nconst commonPropTypes = {\n className: PropTypes.string,\n containerClassName: PropTypes.string,\n id: PropTypes.string,\n label: PropTypes.string,\n labelClassName: PropTypes.string,\n placeholder: PropTypes.node,\n loadingMessage: PropTypes.string,\n noOptionsMessage: PropTypes.string,\n options: PropTypes.arrayOf(option).isRequired,\n value: PropTypes.oneOfType([option, PropTypes.arrayOf(option)]),\n isMulti: PropTypes.bool,\n isLoading: PropTypes.bool,\n isRequired: PropTypes.bool,\n isDisabled: PropTypes.bool,\n isVirtualized: PropTypes.bool,\n autoFocus: PropTypes.bool,\n controlShouldRenderValue: PropTypes.bool,\n multiShouldRenderBelowSelect: PropTypes.bool,\n openMenuOnFocus: PropTypes.bool,\n selectInputOnMenuOpen: PropTypes.bool,\n menuShouldComeToFront: PropTypes.bool,\n menuShouldScrollIntoView: PropTypes.bool,\n maxVisibleOptions: PropTypes.number,\n blurInputOnSelect: PropTypes.bool,\n closeMenuOnSelect: PropTypes.bool,\n closeMenuOnScroll: PropTypes.bool,\n hideSelectedOptions: PropTypes.bool,\n emptyInputRemovesValue: PropTypes.bool,\n backspaceRemovesValue: PropTypes.bool,\n helperText: PropTypes.string,\n error: PropTypes.string,\n onKeyDown: PropTypes.func,\n onInputChange: PropTypes.func,\n onChange: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n onMenuOpen: PropTypes.func,\n onMenuClose: PropTypes.func,\n leading: PropTypes.node,\n trailing: PropTypes.node,\n inputTrailing: PropTypes.node,\n toolTipInfoContent: PropTypes.node,\n toolTipPlacement: PropTypes.string,\n dropdownMultiValueClassName: PropTypes.string,\n removablePrefix: PropTypes.string,\n preventOptionUpdate: PropTypes.bool,\n components: PropTypes.shape(\n Object.fromEntries(Object.keys(customComponents).map((componentName) => [componentName, PropTypes.func])),\n ),\n};\n\nDropdown.propTypes = {\n ...commonPropTypes,\n isSearchable: PropTypes.bool,\n};\nDropdownBase.propTypes = {\n ...Dropdown.propTypes,\n defaultComponents: Dropdown.propTypes.components,\n};\nBasicDropdown.propTypes = commonPropTypes;\nSearchableDropdown.propTypes = { ...commonPropTypes, shouldFilterOptions: PropTypes.bool };\n\nconst commonDefaultProps = {\n className: \"\",\n containerClassName: \"\",\n id: null,\n label: null,\n labelClassName: \"\",\n placeholder: \"Select\",\n loadingMessage: \"Loading...\",\n noOptionsMessage: \"No options\",\n value: null,\n isMulti: false,\n isLoading: false,\n isRequired: false,\n isDisabled: false,\n isVirtualized: false,\n autoFocus: false,\n controlShouldRenderValue: true,\n multiShouldRenderBelowSelect: true,\n openMenuOnFocus: false,\n selectInputOnMenuOpen: true,\n menuShouldComeToFront: false,\n menuShouldScrollIntoView: false,\n maxVisibleOptions: 8,\n blurInputOnSelect: true,\n closeMenuOnSelect: true,\n closeMenuOnScroll: false,\n hideSelectedOptions: true,\n emptyInputRemovesValue: true,\n backspaceRemovesValue: true,\n helperText: null,\n error: null,\n onKeyDown: null,\n onInputChange: null,\n onChange: null,\n onFocus: null,\n onBlur: null,\n onMenuOpen: null,\n onMenuClose: null,\n leading: null,\n trailing: null,\n inputTrailing: null,\n toolTipInfoContent: null,\n toolTipPlacement: null,\n dropdownMultiValueClassName: null,\n removablePrefix: \"\",\n preventOptionUpdate: false,\n components: {},\n};\n\nDropdown.defaultProps = {\n ...commonDefaultProps,\n isSearchable: false,\n};\nDropdownBase.defaultProps = {\n ...Dropdown.defaultProps,\n defaultComponents: {},\n};\nBasicDropdown.defaultProps = commonDefaultProps;\nSearchableDropdown.defaultProps = { ...commonDefaultProps, shouldFilterOptions: true };\n\nDropdown.Basic = BasicDropdown;\nDropdown.Searchable = SearchableDropdown;\n\nObject.entries(customComponents).forEach(([componentName, Component]) => {\n Dropdown[componentName] = Component;\n});\n\nexport default Dropdown;\n","import React from \"react\";\n\nimport Avatar from \"../Avatar\";\n\n/**\n * @param {object} componentProps Passed from Dropdown.\n * @param {object} data Passed from Dropdown.\n * @param {boolean} isInControl Whether or not the avatar is in a control\n * (if it is, it's only visible when the menu is closed and there's an option selected).\n * @returns {Avatar}\n */\nconst getAvatarFromDropdownData = (componentProps, data, isInControl) => {\n const className = isInControl ? \"tw--my-2px\" : \"\";\n const src = data.meta?.src ?? null;\n const alt = data.meta?.alt ?? null;\n\n let avatar = null;\n if (componentProps.isDisabled) {\n avatar = ;\n } else if (!isInControl || (!componentProps.selectProps.menuIsOpen && componentProps.hasValue)) {\n avatar = ;\n }\n\n return avatar;\n};\n\nexport default getAvatarFromDropdownData;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport styleSchema from \"./FieldStyle\";\n\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nfunction FieldTextV1({\n onChange,\n required,\n label,\n value,\n flexStyle,\n toolTipInfoContent,\n toolTipPlacement,\n disabled,\n className,\n ...otherProps\n}) {\n let schemaKey = disabled ? \"disabled\" : \"regular\";\n\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n return (\n
\n {label && }\n {\n onChange(e.target.value);\n }}\n disabled={disabled}\n {...otherProps}\n />\n
\n );\n}\nFieldTextV1.propTypes = {\n onChange: PropTypes.func,\n disabled: PropTypes.bool,\n className: PropTypes.bool,\n label: PropTypes.string,\n value: PropTypes.string,\n flexStyle: PropTypes.string,\n toolTipInfoContent: PropTypes.element,\n toolTipPlacement: PropTypes.string,\n};\n\nFieldTextV1.defaultProps = {\n onChange: () => {},\n required: false,\n disabled: false,\n label: \"\",\n value: \"\",\n flexStyle: \"tw-flex-1\",\n toolTipInfoContent: null,\n toolTipPlacement: null,\n};\nexport default FieldTextV1;\n","import React from \"react\";\n\nexport default function Radio({ checked = false, disabled = false }) {\n return (\n \n );\n}\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"../FieldLabelV1\";\nimport Radio from \"./Radio\";\n\nconst FieldRadioV1 = ({\n options,\n value,\n onChange,\n label,\n disabled,\n required,\n flexStyle,\n toolTipInfoContent,\n toolTipPlacement,\n defaultValue,\n}) => {\n useEffect(() => {\n if (!value && !!defaultValue) {\n onChange(defaultValue);\n }\n }, []);\n\n return (\n
\n {label && }\n
\n {options.map((option) => {\n return (\n onChange(option)}\n key={option}\n data-cy={`${option}_radio_btn`}\n >\n \n
{option}
\n
\n );\n })}\n
\n \n );\n};\n\nFieldRadioV1.propTypes = {\n toolTipPlacement: PropTypes.string,\n toolTipInfoContent: PropTypes.element,\n label: PropTypes.string,\n value: PropTypes.string,\n defaultValue: PropTypes.string,\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n disabled: PropTypes.bool,\n options: PropTypes.arrayOf(PropTypes.string),\n onChange: PropTypes.func,\n};\n\nFieldRadioV1.defaultProps = {\n toolTipInfoContent: null,\n toolTipPlacement: \"\",\n label: \"\",\n value: \"\",\n defaultValue: \"\",\n flexStyle: \"tw-flex-1\",\n required: false,\n disabled: false,\n options: [\"Option1\", \"Option2\"],\n onChange: () => {},\n};\n\nexport default FieldRadioV1;\n","export const UIMODE = {\n DAY: \"DAY\",\n MONTH: \"MONTH\",\n};\nexport const MONTHS = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\nexport const WEEKDAYS = [0, 1, 2, 3, 4, 5, 6];\nexport const VALID_DATE_FORMATS = [\"YYYY/MM/DD\", \"MM/DD/YYYY\", \"YYYY-MM-DD\", \"MM-DD-YYYY\", \"MM/DD\", \"DD/MM\"];\nexport const DATE_FORMAT = \"MM/DD/YYYY\";\n\nexport const TEST_DATE_STATUS = {\n DEFAULT: \"DEFAULT\",\n TEMPORARY: \"TEMPORARY\",\n OUTSIDE_MONTH: \"OUTSIDE_MONTH\",\n};\n\n// This array of times is necessary to make it easier to test which times to block when timerange is enabled on the timepicker.\n// Test by array index is faster than testing by using moment.isSameOrAfter() for every single time option.\n// Example: If the START_TIME is 03:00AM we block every option with index < than 03:00 AM on the END_TIME dropdown\nexport const TIMES = [\n \"12:00 AM\",\n \"12:15 AM\",\n \"12:30 AM\",\n \"12:45 AM\",\n \"01:00 AM\",\n \"01:15 AM\",\n \"01:30 AM\",\n \"01:45 AM\",\n \"02:00 AM\",\n \"02:15 AM\",\n \"02:30 AM\",\n \"02:45 AM\",\n \"03:00 AM\",\n \"03:15 AM\",\n \"03:30 AM\",\n \"03:45 AM\",\n \"04:00 AM\",\n \"04:15 AM\",\n \"04:30 AM\",\n \"04:45 AM\",\n \"05:00 AM\",\n \"05:15 AM\",\n \"05:30 AM\",\n \"05:45 AM\",\n \"06:00 AM\",\n \"06:15 AM\",\n \"06:30 AM\",\n \"06:45 AM\",\n \"07:00 AM\",\n \"07:15 AM\",\n \"07:30 AM\",\n \"07:45 AM\",\n \"08:00 AM\",\n \"08:15 AM\",\n \"08:30 AM\",\n \"08:45 AM\",\n \"09:00 AM\",\n \"09:15 AM\",\n \"09:30 AM\",\n \"09:45 AM\",\n \"10:00 AM\",\n \"10:15 AM\",\n \"10:30 AM\",\n \"10:45 AM\",\n \"11:00 AM\",\n \"11:15 AM\",\n \"11:30 AM\",\n \"11:45 AM\",\n \"12:00 PM\",\n \"12:15 PM\",\n \"12:30 PM\",\n \"12:45 PM\",\n \"01:00 PM\",\n \"01:15 PM\",\n \"01:30 PM\",\n \"01:45 PM\",\n \"02:00 PM\",\n \"02:15 PM\",\n \"02:30 PM\",\n \"02:45 PM\",\n \"03:00 PM\",\n \"03:15 PM\",\n \"03:30 PM\",\n \"03:45 PM\",\n \"04:00 PM\",\n \"04:15 PM\",\n \"04:30 PM\",\n \"04:45 PM\",\n \"05:00 PM\",\n \"05:15 PM\",\n \"05:30 PM\",\n \"05:45 PM\",\n \"06:00 PM\",\n \"06:15 PM\",\n \"06:30 PM\",\n \"06:45 PM\",\n \"07:00 PM\",\n \"07:15 PM\",\n \"07:30 PM\",\n \"07:45 PM\",\n \"08:00 PM\",\n \"08:15 PM\",\n \"08:30 PM\",\n \"08:45 PM\",\n \"09:00 PM\",\n \"09:15 PM\",\n \"09:30 PM\",\n \"09:45 PM\",\n \"10:00 PM\",\n \"10:15 PM\",\n \"10:30 PM\",\n \"10:45 PM\",\n \"11:00 PM\",\n \"11:15 PM\",\n \"11:30 PM\",\n \"11:45 PM\",\n];\n\nexport const getValidDateFormats = (dateFormat = \"\") => {\n if (dateFormat === \"\") {\n return VALID_DATE_FORMATS;\n }\n\n return [dateFormat, ...VALID_DATE_FORMATS];\n};\n","/* eslint-disable no-plusplus */\nimport moment from \"moment\";\n\nimport { VALID_DATE_FORMATS, DATE_FORMAT, TIMES } from \"./constants\";\n\nexport const getWeeksInMonth = (date) => {\n // Get first and last days from previous/next months to fill the table on CalendarMonth component\n const firstDay = date.clone().startOf(\"month\").weekday(0);\n const lastDay = date.clone().endOf(\"month\").weekday(6);\n const totalDays = lastDay.diff(firstDay, \"days\") + 1;\n\n const currentDay = firstDay.clone();\n const weeksInMonth = [];\n\n for (let i = 0; i < totalDays; i += 1) {\n if (i % 7 === 0) {\n weeksInMonth.push([]);\n }\n\n weeksInMonth[weeksInMonth.length - 1].push(currentDay.clone());\n currentDay.add(1, \"day\");\n }\n\n return weeksInMonth;\n};\n\nexport const getDateFormat = (dateFormat) => {\n if (dateFormat !== \"\") {\n return dateFormat;\n }\n\n return DATE_FORMAT;\n};\n\nexport const getMutatedDateFormat = (dateFormat) => getDateFormat(dateFormat).replace(/-/g, \"/\");\n\nexport const getValidDateFormats = (dateFormat) => {\n if (dateFormat === \"\") {\n return VALID_DATE_FORMATS;\n }\n\n return [dateFormat, ...VALID_DATE_FORMATS];\n};\n\nexport const getNextPossibleDateSelectorTime = (lastPossibleTime) => {\n if (lastPossibleTime === TIMES[TIMES.length - 1]) {\n return TIMES[0];\n }\n\n const index = TIMES.indexOf(lastPossibleTime);\n\n if (index === -1) {\n return lastPossibleTime;\n }\n\n return TIMES[index + 1];\n};\n\nexport const getClosestTime = () => {\n const timeNow = moment();\n const minutes = timeNow.minutes();\n timeNow.minutes(minutes - (minutes % 15));\n return timeNow.format(\"hh:mm A\");\n};\n\nexport const meridianCount = (datetime, enableTimePicker) => {\n if (!enableTimePicker) {\n return 0;\n }\n\n const times = datetime.split(\" \");\n\n let count = 0;\n\n times.forEach((time) => {\n if (time.toLowerCase().match(/am|pm/) && enableTimePicker) {\n count++;\n }\n });\n\n return count;\n};\n\nexport const getStartTime = (datetime, enableTimePicker) => {\n const times = datetime.split(\" \");\n\n if (times.length >= 3 && datetime.toLowerCase().match(/am|pm/) && enableTimePicker) {\n return `${times[1]} ${times[2]}`;\n }\n\n return \"\";\n};\n\nexport const getEndTime = (datetime, enableEndTimePicker) => {\n const times = datetime.split(\" \");\n\n if (times.length === 5 && datetime.toLowerCase().match(/am|pm/) && enableEndTimePicker) {\n return `${times[3]} ${times[4]}`;\n }\n\n return \"\";\n};\n\n/**\n * @summary format user input to automatically add forward slashes. Offer default support for separators `/` as default and `-` for backwards compatibility.\n * @return {string} formatted date string with forward slashes `/`.\n * @param {string} allowedCharsUserInput - a string with only numbers, forward slash and - characters\n * @param {string} format - format to apply to the date (MM-DD-YYYY or YYYY-MM-DD etc.)\n */\nexport const maskUserInput = (allowedCharsUserInput, format) => {\n if (format.length === 0) {\n return allowedCharsUserInput;\n }\n\n let formattedUserInput = \"\";\n let separatorCounter = 1;\n const cleanUserInput = allowedCharsUserInput.replace(/[/]|[-]/g, \"\");\n\n for (let i = 0; i < cleanUserInput.length; i++) {\n if (format[i + separatorCounter] === \"/\" || format[i + separatorCounter] === \"-\") {\n separatorCounter++;\n formattedUserInput += `${cleanUserInput[i]}/`;\n } else {\n formattedUserInput += cleanUserInput[i];\n }\n }\n\n return formattedUserInput;\n};\n\nexport const formatDatetime = (state, dateFormat) => {\n if (state.impureDate === \"\" || !moment(state.impureDate, dateFormat).isValid()) {\n return state.impureDate;\n }\n\n const formatedDate = moment(state.impureDate, dateFormat).format(getMutatedDateFormat(dateFormat));\n\n if (\n state.showTimePicker &&\n state.temporaryStartTime !== \"\" &&\n state.showEndTimePicker &&\n state.temporaryEndTime !== \"\"\n ) {\n return `${formatedDate} ${state.temporaryStartTime} ${state.temporaryEndTime}`;\n }\n\n if (state.showTimePicker && state.temporaryStartTime !== \"\") {\n return `${formatedDate} ${state.temporaryStartTime}`;\n }\n\n return formatedDate;\n};\n\nexport const formatDate = (rawFormattedDate, dateFormat) => {\n if (typeof rawFormattedDate !== \"string\" || rawFormattedDate === \"\") return \"\";\n\n const [onlyDate, ...rest] = rawFormattedDate.split(\" \");\n const onlyTime = rest.join(\" \");\n\n if (onlyDate === \"\") {\n return onlyDate;\n }\n\n const formattedDate = moment(onlyDate, getValidDateFormats(dateFormat)).format(\n getMutatedDateFormat(dateFormat),\n );\n\n if (onlyTime !== \"\") {\n return `${formattedDate} ${onlyTime}`;\n }\n\n return formattedDate;\n};\n","import moment from \"moment\";\n\nimport { VALID_DATE_FORMATS } from \"../../DateSelector/utils/constants\";\n\nexport const getValidDateFormats = (dateFormat = \"\") => {\n if (dateFormat === \"\") {\n return VALID_DATE_FORMATS;\n }\n\n return [dateFormat, ...VALID_DATE_FORMATS];\n};\n\nconst isYearlessFormat = (format) => !/[Yy]/.test(format);\n\n// Get the year in case it's not on impureDate (text input). Priority:\n// 1. temporaryDate.year -> user clicked on a date\n// 2. navigationDate.year -> user clicked on a month\n// 3. current year -> assume it's the current year\nconst getIndirectYear = (state) => {\n const currentYear = moment().year();\n if (state.temporaryDate && state.temporaryDate.year() !== currentYear) {\n return state.temporaryDate.year();\n }\n if (state.navigationDate && state.navigationDate.year() !== currentYear) {\n return state.navigationDate.year();\n }\n return currentYear;\n};\n\nexport const isDateValid = (state, dateFormat, key = \"impureTemporary\") => {\n if (typeof state[key] !== \"string\") return false;\n\n // Moment doesn't validate 02/29 if the date format and the input doesn't contain years. Ex. MM/DD MM-DD DD/MM DD-MM\n // Under the hood we add the years to check if the state.date (input text) is valid\n if (dateFormat !== \"\" && isYearlessFormat(dateFormat)) {\n const year = getIndirectYear(state);\n const temporaryYearDate = `${state[key].split(\" \")[0]}/${year}`;\n return moment(temporaryYearDate, [`${dateFormat}/YYYY`, ...VALID_DATE_FORMATS]).isValid();\n }\n\n return moment(state[key].split(\" \")[0], getValidDateFormats(dateFormat)).isValid();\n};\n","import { schemaGenerator } from \"../utils\";\n\nexport const calendarContainerCommon =\n \"tw-flex tw-flex-col tw-flex-nowrap tw-py-12px tw-px-12px tw-w-[240px] tw-min-h-[240px] tw-select-none tw-bg-white\";\nconst calendarDayCommon = \"tw-justify-center tw-cursor-pointer tw-flex tw-items-center tw-rounded-4px\";\nconst monthSelectorCommon =\n \"tw-h-32px tw-w-40px tw-text-center tw-border-0 tw-bg-transparent tw-rounded-4px tw-justify-center tw-content-center\";\n\nexport const dateInputClassNames = (showTimePicker, showEndTimePicker, dateFormatError) => {\n if ((showTimePicker && showEndTimePicker) || (!showTimePicker && !showEndTimePicker)) {\n return dateFormatError ? \"tw-w-full tw-mb-12px\" : \"tw-w-full\";\n }\n\n return dateFormatError ? \"tw-w-[104px] tw-mb-12px\" : \"tw-w-[104px]\";\n};\n\nconst dictionary = {\n dayDisabled: {\n base: [calendarDayCommon],\n default: [\"tw-text-semantic-red-10 tw-w-[31px] tw-h-28px\", \"!tw-cursor-default\"],\n },\n daySelected: {\n base: [calendarDayCommon],\n default: [\"tw-bg-theme-dateselector-main-color tw-text-white tw-w-[31px] tw-h-28px\"],\n },\n dayTempToday: {\n default: [\"tw-text-white\"],\n },\n dayToday: {\n base: [calendarDayCommon],\n default: [\n \"tw-border-theme-dateselector-secondary-color tw-text-theme-dateselector-secondary-color tw-border-1px tw-border-solid tw-m-auto tw-w-24px tw-h-20px tw-justify-center tw-cursor-pointer tw-flex tw-items-center tw-rounded-4px\",\n ],\n },\n dayOutside: {\n base: [calendarDayCommon],\n default: [\"tw-text-neutral-gray-30 tw-w-[31px] tw-h-28px\"],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n },\n dayDefault: {\n base: [calendarDayCommon],\n default: [\"tw-text-theme-dateselector-text-color tw-w-[31px] tw-h-28px\"],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n },\n monthSelected: {\n base: [monthSelectorCommon],\n default: [\"tw-text-theme-dateselector-secondary-color tw-font-bold\"],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n active: [\"active:tw-bg-neutral-gray-15\"],\n },\n monthDefault: {\n base: [monthSelectorCommon],\n default: [\"tw-text-neutral-gray-75\"],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n active: [\"active:tw-bg-neutral-gray-15\"],\n },\n navigation: {\n base: [\"tw-font-bold tw-flex tw-border-0 tw-bg-transparent tw-rounded-4px tw-items-center tw-p-4px\"],\n default: [\"tw-text-theme-dateselector-text-color\"],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n active: [\"active:tw-bg-gray-15\"],\n disabled: [\"disabled:tw-text-neutral-gray-30\", \"hover:tw-bg-transparent\", \"active:tw-bg-transparent\"],\n },\n navigationMode: {\n base: [\n \"tw-font-bold tw-flex tw-border-0 tw-bg-transparent tw-rounded-4px tw-items-center tw-py-1px tw-pl-6px tw-pr-4px\",\n ],\n default: [\"tw-text-theme-dateselector-text-color\"],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n active: [\"active:tw-bg-gray-15\"],\n },\n closeTimePicker: {\n default: [\n \"tw-text-neutral-gray-50 tw-flex tw-p-6px tw-border-0 tw-bg-transparent tw-rounded-4px tw-items-center tw-ml-auto\",\n ],\n hover: [\"hover:tw-bg-neutral-gray-10\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport { ChevronLeft, ChevronRight, CaretDown } from \"../Icomoon\";\n\nimport { UIMODE } from \"./utils/constants\";\n\nimport styleSchema from \"./DateSelector.styles\";\n\nconst renderHeader = (uiMode, navigationDate, noYear) => {\n if (noYear) return navigationDate.format(\"MMM\");\n\n switch (uiMode) {\n case UIMODE.DAY:\n return navigationDate.format(\"MMM YYYY\");\n case UIMODE.MONTH:\n return navigationDate.format(\"YYYY\");\n default:\n return \"\";\n }\n};\n\nconst arialLabelMonthYearNext = (navigationDate, uiMode) => {\n switch (uiMode) {\n case UIMODE.DAY:\n return `Go to next month: ${navigationDate.clone().add(1, \"month\").format(\"MMM YYYY\")} to select a day`;\n case UIMODE.MONTH:\n return `Go to next year: ${navigationDate.clone().add(1, \"year\").format(\"YYYY\")} to select a month`;\n default:\n return \"\";\n }\n};\n\nconst arialLabelMonthYearPrevious = (navigationDate, uiMode) => {\n switch (uiMode) {\n case UIMODE.DAY:\n return `Go to previous month: ${navigationDate\n .clone()\n .subtract(1, \"month\")\n .format(\"MMM YYYY\")} to select a day`;\n case UIMODE.MONTH:\n return `Go to previous year: ${navigationDate\n .clone()\n .subtract(1, \"year\")\n .format(\"YYYY\")} to select a month`;\n default:\n return \"\";\n }\n};\n\nconst arialLabelMonthYearUI = (uiMode) => {\n switch (uiMode) {\n case UIMODE.DAY:\n return \"Change user interface from day select to month select\";\n case UIMODE.MONTH:\n return \"Change user interface from month select to day select\";\n default:\n return \"\";\n }\n};\n\nconst testCurrentPeriod = (uiMode, navigationDate) => {\n switch (uiMode) {\n case UIMODE.DAY:\n return navigationDate.format(\"YYYY-MM\");\n case UIMODE.MONTH:\n return navigationDate.format(\"YYYY\");\n default:\n return \"\";\n }\n};\n\nconst PeriodNavigation = ({\n navigationDate,\n handleNavigationClick,\n uiMode,\n handleChangeUI,\n minDate,\n maxDate,\n noYear,\n}) => {\n // noYear prop used to toggle prev and next if noYear is true && navigationDate is Jan or Dec respectively\n const checkDateBoundary = (isNext) => {\n if (noYear) {\n return isNext ? navigationDate.format(\"MMM\") === \"Dec\" : navigationDate.format(\"MMM\") === \"Jan\";\n }\n\n const dateBoundary = isNext ? maxDate : minDate;\n if (!dateBoundary) return false;\n\n const unit = uiMode === UIMODE.MONTH ? \"year\" : \"month\";\n const comparator = isNext ? \"isSameOrAfter\" : \"isSameOrBefore\";\n\n return navigationDate[comparator](moment(dateBoundary), unit);\n };\n\n const isPrevDisabled = checkDateBoundary(false);\n const isNextDisabled = checkDateBoundary(true);\n\n // handles click on prev and next buttons based on noYear, if noYear it will be month otherwise its either month or year.\n const handleNavigationChange = (isNext) => {\n const operation = isNext ? \"add\" : \"subtract\";\n const amount = 1;\n let unit = \"month\";\n\n if (!noYear) {\n if (uiMode === UIMODE.MONTH) {\n unit = \"year\";\n }\n }\n\n return handleNavigationClick(navigationDate[operation](amount, unit));\n };\n\n const handleClickPrevious = () => handleNavigationChange(false);\n const handleClickNext = () => handleNavigationChange(true);\n\n return (\n
\n handleClickPrevious()}\n aria-label={arialLabelMonthYearPrevious(navigationDate, uiMode)}\n data-test-navigation-previous\n disabled={isPrevDisabled}\n >\n \n \n handleChangeUI()}\n aria-label={arialLabelMonthYearUI(uiMode)}\n data-test-navigation-current-period={testCurrentPeriod(uiMode, navigationDate)}\n data-test-ui-mode={uiMode}\n >\n {renderHeader(uiMode, navigationDate, noYear)} \n \n handleClickNext()}\n aria-label={arialLabelMonthYearNext(navigationDate, uiMode)}\n data-test-navigation-next\n disabled={isNextDisabled}\n >\n \n \n
\n );\n};\n\nPeriodNavigation.propTypes = {\n navigationDate: PropTypes.instanceOf(moment),\n handleNavigationClick: PropTypes.func,\n handleChangeUI: PropTypes.func,\n uiMode: PropTypes.oneOf(Object.values(UIMODE)),\n minDate: PropTypes.oneOfType([PropTypes.instanceOf(moment), PropTypes.string]),\n maxDate: PropTypes.oneOfType([PropTypes.instanceOf(moment), PropTypes.string]),\n noYear: PropTypes.bool,\n};\n\nPeriodNavigation.defaultProps = {\n navigationDate: moment(),\n handleNavigationClick: () => {},\n handleChangeUI: () => {},\n uiMode: UIMODE.DAY,\n minDate: null,\n maxDate: null,\n noYear: false,\n};\n\nexport default PeriodNavigation;\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { Dropdown } from \"../../v1/Dropdown\";\nimport { TIMES } from \"./utils/constants\";\n\nconst shouldBlockTime = (blockingTime, _time) => TIMES.indexOf(_time) <= TIMES.indexOf(blockingTime);\n\nconst createTimeOptions = (blockingTime) => {\n const timeOptions = [];\n\n TIMES.forEach((_time) => {\n timeOptions.push({\n label: _time,\n value: _time,\n isDisabled: blockingTime !== \"\" && shouldBlockTime(blockingTime, _time),\n });\n });\n\n return timeOptions;\n};\n\nconst TimePicker = ({ time, blockingTime, placeholder, handleTimeChange, className = \"\", ...otherProps }) => {\n const [_time, setTime] = useState(time);\n const timeOptions = useMemo(() => createTimeOptions(blockingTime), [time, blockingTime]);\n\n useEffect(() => {\n setTime(time);\n }, [time]);\n\n const onTimeChange = (option) => {\n handleTimeChange(option.value);\n };\n\n return (\n
\n \n
\n );\n};\n\nTimePicker.propTypes = {\n className: PropTypes.string,\n placeholder: PropTypes.string,\n time: PropTypes.string,\n blockingTime: PropTypes.string,\n handleTimeChange: PropTypes.func,\n};\n\nTimePicker.defaultProps = {\n className: \"\",\n placeholder: \"\",\n time: \"\",\n blockingTime: \"\",\n handleTimeChange: () => {},\n};\n\nexport default TimePicker;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport styleSchema from \"./DateSelector.styles\";\n\nimport { TEST_DATE_STATUS } from \"./utils/constants\";\n\nconst dayStatus = (temporaryDate, navigationDate, day) => {\n if (day.isSame(temporaryDate, \"day\")) {\n return TEST_DATE_STATUS.TEMPORARY;\n }\n\n if (navigationDate.month() !== day.month()) {\n return TEST_DATE_STATUS.OUTSIDE_MONTH;\n }\n\n return TEST_DATE_STATUS.DEFAULT;\n};\n\nconst dayModifierClassNames = (temporaryDate, navigationDate, day, disabled) => {\n if (disabled) return styleSchema.dayDisabled;\n\n if (day.isSame(temporaryDate, \"day\")) return styleSchema.daySelected;\n\n if (navigationDate.month() !== day.month()) return styleSchema.dayOutside;\n\n return styleSchema.dayDefault;\n};\n\nconst isToday = (day) => day.isSame(moment(), \"day\");\nconst isTempDate = (day, temporaryDate) => day.isSame(temporaryDate, \"day\");\n\nconst sameDateStyle = (day, temporaryDate) =>\n isTempDate(day, temporaryDate) ? styleSchema.dayTempToday : styleSchema.dayToday;\n\nconst todayDOM = (day, temporaryDate) => (\n {day.format(\"D\")}\n);\n\nconst dayHTML = (day, temporaryDate) => (isToday(day) ? todayDOM(day, temporaryDate) : day.format(\"D\"));\n\nconst CalendarDay = ({ temporaryDate, navigationDate, day, handleDayClick, disabled }) => (\n handleDayClick(day)}\n role=\"gridcell\"\n tabIndex={0}\n onKeyPress={disabled ? undefined : () => handleDayClick(day)}\n aria-label={day.format(\"MMMM DD, YYYY\")}\n data-test-date={day.format(\"YYYY/MM/DD\")}\n data-test-date-status={dayStatus(temporaryDate, navigationDate, day)}\n >\n
\n {dayHTML(day, temporaryDate)}\n
\n \n);\n\nCalendarDay.propTypes = {\n day: PropTypes.instanceOf(moment),\n temporaryDate: PropTypes.instanceOf(moment),\n navigationDate: PropTypes.instanceOf(moment),\n handleDayClick: PropTypes.func,\n disabled: PropTypes.bool.isRequired,\n};\n\nCalendarDay.defaultProps = {\n day: moment(),\n temporaryDate: moment(),\n navigationDate: moment(),\n handleDayClick: () => {},\n};\n\nexport default CalendarDay;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport CalendarDay from \"./CalendarDay\";\n\nimport { getWeeksInMonth } from \"./utils/helpers\";\nimport { WEEKDAYS } from \"./utils/constants\";\n\nconst getWeekHeader = () => {\n const weekHeaders = [];\n\n WEEKDAYS.forEach((i) => {\n weekHeaders.push(moment().weekday(i).format(\"dd\"));\n });\n\n return weekHeaders;\n};\n\nconst renderWeekHeader = () => {\n const weekHeader = getWeekHeader();\n const header = weekHeader.map((day) => (\n \n {day}\n \n ));\n\n return
{header}
;\n};\n\nconst isDisabled = (day, minDate, maxDate) => {\n const isBeforeMinDate = minDate && day.isBefore(moment(minDate));\n const isAfterMaxDate = maxDate && day.isAfter(moment(maxDate));\n return isBeforeMinDate || isAfterMaxDate;\n};\n\nconst CalendarMonth = ({ temporaryDate, navigationDate, handleDayClick, minDate, maxDate }) => {\n const [weeks, setWeeks] = useState([]);\n\n useEffect(() => {\n setWeeks(getWeeksInMonth(navigationDate));\n }, [navigationDate]);\n\n return (\n
\n {renderWeekHeader()}\n \n \n {weeks.map((week) => (\n \n {week.map((day) => (\n \n ))}\n \n ))}\n \n
\n
\n );\n};\n\nCalendarMonth.propTypes = {\n temporaryDate: PropTypes.instanceOf(moment),\n navigationDate: PropTypes.instanceOf(moment),\n handleDayClick: PropTypes.func,\n minDate: PropTypes.oneOfType([PropTypes.instanceOf(moment), PropTypes.string]),\n maxDate: PropTypes.oneOfType([PropTypes.instanceOf(moment), PropTypes.string]),\n};\n\nCalendarMonth.defaultProps = {\n temporaryDate: moment(),\n navigationDate: moment(),\n handleDayClick: () => {},\n minDate: null,\n maxDate: null,\n};\n\nexport default CalendarMonth;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport { MONTHS } from \"./utils/constants\";\n\nimport styleSchema from \"./DateSelector.styles\";\n\nconst monthModifierClassNames = (month, temporaryDate, navigationDate, noYear) => {\n if (noYear) {\n return navigationDate.format(\"MMM\") === month\n ? `${styleSchema.monthSelected}`\n : `${styleSchema.monthDefault}`;\n }\n\n if (navigationDate.clone().month(month).isSame(temporaryDate, \"month\")) {\n return `${styleSchema.monthSelected}`;\n }\n\n return `${styleSchema.monthDefault}`;\n};\n\nconst arialLabelMonth = (month, navigationDate) =>\n `Go to ${month} ${navigationDate.clone().format(\"YYYY\")} to select a day`;\n\nconst isDisabled = ({ month, navigationDate, minDate, maxDate }) => {\n const isBeforeMinDate =\n minDate && moment(navigationDate).set(\"month\", month).endOf(\"month\").isSameOrBefore(moment(minDate));\n const isAfterMaxDate =\n maxDate && moment(navigationDate).set(\"month\", month).startOf(\"month\").isSameOrAfter(moment(maxDate));\n return isBeforeMinDate || isAfterMaxDate;\n};\n\nconst MonthSelector = ({ temporaryDate, navigationDate, handleMonthClick, minDate, maxDate, noYear }) => {\n const onMonthClick = (month) => {\n handleMonthClick(navigationDate.clone().month(month));\n };\n\n return (\n
\n
\n {MONTHS.map((month) => {\n const disabled = isDisabled({ month, navigationDate, minDate, maxDate });\n return (\n onMonthClick(month)}\n className={`\n ${monthModifierClassNames(month, temporaryDate, navigationDate, noYear)} \n ${disabled ? \"!tw-text-semantic-red-10\" : \"\"} \n `}\n aria-label={arialLabelMonth(month, navigationDate)}\n data-test-date={month}\n disabled={disabled}\n >\n {month}\n \n );\n })}\n
\n
\n );\n};\n\nMonthSelector.propTypes = {\n temporaryDate: PropTypes.instanceOf(moment),\n navigationDate: PropTypes.instanceOf(moment),\n handleMonthClick: PropTypes.func,\n minDate: PropTypes.oneOfType([PropTypes.instanceOf(moment), PropTypes.string]),\n maxDate: PropTypes.oneOfType([PropTypes.instanceOf(moment), PropTypes.string]),\n noYear: PropTypes.bool,\n};\n\nMonthSelector.defaultProps = {\n temporaryDate: moment(),\n navigationDate: moment(),\n handleMonthClick: () => {},\n minDate: null,\n maxDate: null,\n noYear: false,\n};\n\nexport default MonthSelector;\n","import moment from \"moment\";\nimport { UIMODE } from \"./constants\";\n\nimport {\n getDateFormat,\n getClosestTime,\n getNextPossibleDateSelectorTime,\n getStartTime,\n getEndTime,\n meridianCount,\n getValidDateFormats,\n} from \"./helpers\";\n\nexport const initialState = () => {\n const closestTimeStart = getClosestTime();\n const closestTimeEnd = getNextPossibleDateSelectorTime(closestTimeStart);\n\n return {\n impureDate: \"\", // user input. it might be wrong, correct or empty. Do not rely on it. Anything.\n temporaryDate: moment(), // it is always correct. Always a valid date.\n navigationDate: moment(), // internal date state for navigation. Always a valid date.\n temporaryStartTime: closestTimeStart, // user selected start time. Pre-selected Valid times.\n temporaryEndTime: closestTimeEnd, // user selected end time. Pre-selected valid times.\n uiMode: UIMODE.DAY, // UIMODE.day or UIMODE.month\n showTimePicker: false,\n showEndTimePicker: false,\n dateFormatError: \"\", // show this message when the user input (state.impureDate) is wrong.\n };\n};\n\nexport const definedInitialState = ({ value, dateFormat, enableTimePicker, enableEndTimePicker }) => {\n const dateOnly = value.split(\" \")[0];\n const date = moment(dateOnly, getValidDateFormats(dateFormat));\n const closestTimeStart = getClosestTime();\n const closestTimeEnd = getNextPossibleDateSelectorTime(closestTimeStart);\n\n return {\n impureDate: date.isValid() ? date.format(getDateFormat(dateFormat)) : \"\",\n temporaryDate: date.isValid() ? date : moment(),\n navigationDate: date.isValid() ? date : moment(),\n temporaryStartTime: getStartTime(value, enableTimePicker) || closestTimeStart,\n temporaryEndTime: getEndTime(value, enableEndTimePicker) || closestTimeEnd,\n uiMode: UIMODE.DAY,\n showTimePicker: meridianCount(value, enableTimePicker) >= 1,\n showEndTimePicker: meridianCount(value, enableEndTimePicker) >= 2,\n dateFormatError: \"\",\n };\n};\n\nexport const init = (initialData) => {\n const dateOnly = initialData.value.split(\" \")[0];\n if (moment(dateOnly, getValidDateFormats(initialData.dateFormat)).isValid()) {\n return definedInitialState(initialData);\n }\n return initialState();\n};\n\nexport const reducer = (state, action) => {\n switch (action.type) {\n case \"SET_IMPURE_DATE\":\n return { ...state, impureDate: action.payload.date, dateFormatError: \"\" };\n case \"SET_ALL_DATES\":\n return {\n ...state,\n impureDate: action.payload.impureDate,\n temporaryDate: action.payload.temporaryDate,\n navigationDate: action.payload.navigationDate,\n dateFormatError: \"\",\n };\n case \"INVALID_IMPURE_DATE\":\n return { ...state, dateFormatError: action.payload.dateFormatError };\n case \"SAVE_SELECTED_DATETIME\":\n return {\n ...state,\n impureDate: action.payload.impureDate,\n dateFormatError: \"\",\n };\n case \"SAVE_DATETIME_CLICK_OUTSIDE\":\n return {\n ...state,\n impureDate: action.payload.impureDate,\n temporaryDate: action.payload.temporaryDate,\n navigationDate: action.payload.temporaryDate,\n dateFormatError: \"\",\n };\n case \"SET_EMPTY_DATE\":\n return {\n ...state,\n impureDate: \"\",\n };\n case \"SET_TEMPORARY_TIME\":\n return {\n ...state,\n temporaryStartTime: action.payload.temporaryStartTime,\n temporaryEndTime: action.payload.temporaryEndTime,\n };\n case \"SET_TEMPORARY_START_TIME\":\n return {\n ...state,\n temporaryStartTime: action.payload.temporaryStartTime,\n };\n case \"SET_TEMPORARY_END_TIME\":\n return {\n ...state,\n temporaryEndTime: action.payload.temporaryEndTime,\n };\n case \"SET_CLICKED_DATE\":\n return {\n ...state,\n impureDate: action.payload.impureDate,\n temporaryDate: action.payload.temporaryDate.clone().date(action.payload.temporaryDate.date()),\n };\n case \"SET_NAVIGATION_DATE\":\n return { ...state, navigationDate: action.payload.navigationDate };\n case \"CLICK_NAVIGATION_MONTH_DATE\":\n return { ...state, navigationDate: action.payload.navigationDate, uiMode: UIMODE.DAY };\n case \"SET_UI_MODE\":\n return { ...state, uiMode: action.payload.uiMode };\n case \"CLEAR_DATE_PICKER\":\n return {\n ...state,\n impureDate: \"\",\n temporaryStartTime: \"\",\n temporaryEndTime: \"\",\n showTimePicker: false,\n showEndTimePicker: false,\n dateFormatError: \"\",\n };\n case \"CLEAR_DATE_FORMAT_ERROR\":\n return {\n ...state,\n dateFormatError: \"\",\n };\n case \"SHOW_TIME_PICKER\":\n return { ...state, showTimePicker: true };\n case \"CLOSE_TIME_PICKER\":\n return {\n ...state,\n showTimePicker: false,\n showEndTimePicker: false,\n };\n case \"SHOW_END_TIME_PICKER\":\n return { ...state, showEndTimePicker: true };\n case \"CLOSE_END_TIME_PICKER\":\n return { ...state, showEndTimePicker: false };\n default:\n throw new Error(\"Dateselector unhandled action type\");\n }\n};\n","import React, { useEffect, useReducer, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport PeriodNavigation from \"./PeriodNavigation\";\nimport TimePicker from \"./TimePicker\";\nimport CalendarMonth from \"./CalendarMonth\";\nimport MonthSelector from \"./MonthSelector\";\nimport TextInput from \"../TextInput\";\nimport Toggle from \"../Toggle\";\n\nimport { calendarContainerCommon, dateInputClassNames } from \"./DateSelector.styles\";\nimport {\n getDateFormat,\n getValidDateFormats,\n getNextPossibleDateSelectorTime,\n maskUserInput,\n formatDatetime,\n formatDate,\n} from \"./utils/helpers\";\nimport { reducer, init } from \"./utils/reducer\";\nimport { DATE_FORMAT, UIMODE } from \"./utils/constants\";\n\n/**\n * @summary DateSelector component. It's possible to enable up to 2 timepickers. `onChange` is the only required prop to make it functional.\n * @param {string} value - The dateselector initial value. Provide a string in the following formats YYYY-MM-DD | YYYY-MM-DD HH:MM AM/PM | YYYY-MM-DD HH:MM AM/PM HH:MM AM/PM\n * @param {func} onChange - The only required prop to make the dateselector useful. It returns a string based on dateFormat. Default format is MM/DD/YYYY\n * @param {bool} enableTimePicker - Enable the timepicker option. Selected time will be sent to onChange.\n * @param {bool} enableEndTimePicker - Enable the second timepicker option. Selected time will be sent to onChange.\n * @param {boolean} enableDateInput - Enable the input for users to type in the date.\n * @param {string} dateFormat - Provide a momentjs date format to override the default one (MM-DD-YYYY). See https://momentjs.com/docs/#/displaying/format/ for available formats.\n * @param {string} containerClassName - className for the outermost HTML element.\n * @param {boolean} error - Shows a message if date is invalid.\n * */\nconst DateSelector = ({\n value,\n onChange,\n enableTimePicker,\n enableEndTimePicker,\n enableDateInput,\n dateFormat,\n containerClassName,\n error,\n minDate,\n maxDate,\n startTimeClassName,\n startTimeEnabled,\n noYear,\n}) => {\n const initialReducerData = {\n value,\n dateFormat,\n enableTimePicker,\n enableEndTimePicker,\n };\n\n const [state, dispatch] = useReducer(reducer, initialReducerData, init);\n\n const oldValue = useRef(formatDate(value.split(\" \")[0], getDateFormat(dateFormat)));\n const isMount = useRef(true);\n\n const handleUpdatedInitialDate = (dateProp) => {\n if (isMount.current === false) return;\n\n isMount.current = false;\n\n if (moment(dateProp, getValidDateFormats(dateFormat)).isValid()) {\n const newValidDate = moment(dateProp, getValidDateFormats(dateFormat));\n\n dispatch({\n type: \"SET_ALL_DATES\",\n payload: {\n impureDate: formatDate(dateProp.split(\" \")[0], dateFormat),\n temporaryDate: newValidDate,\n navigationDate: newValidDate,\n },\n });\n } else {\n dispatch({\n type: \"SET_IMPURE_DATE\",\n payload: {\n date: formatDate(dateProp.split(\" \")[0], dateFormat),\n },\n });\n }\n };\n\n /**\n * @summary How to handle user input. It trims, remove non-numeric characters, and add forward slashes based on dateFormat.\n * @param {string} rawUserInput - It's a date you can't rely on. It's the raw value of the input. It might be valid, invalid, empty, letters etc\n */\n const handleUserInput = (rawUserInput) => {\n if (rawUserInput === \"\") {\n dispatch({\n type: \"SET_EMPTY_DATE\",\n });\n } else {\n const isUserAddingChar = rawUserInput.length > state.impureDate.length;\n const format = getDateFormat(dateFormat);\n const trimmedUserInput = rawUserInput.slice(0, format.length);\n const allowedCharsUserInput = trimmedUserInput.replace(/[^0-9/-]/gi, \"\");\n\n let formattedUserInput = \"\";\n if (isUserAddingChar) {\n formattedUserInput = maskUserInput(allowedCharsUserInput, format);\n } else {\n formattedUserInput = allowedCharsUserInput;\n }\n\n if (moment(formattedUserInput, getValidDateFormats(dateFormat)).isValid()) {\n const newValidDate = moment(formattedUserInput, getValidDateFormats(dateFormat));\n dispatch({\n type: \"SET_ALL_DATES\",\n payload: {\n impureDate: formattedUserInput,\n temporaryDate: newValidDate,\n navigationDate: newValidDate,\n },\n });\n } else {\n dispatch({\n type: \"SET_IMPURE_DATE\",\n payload: {\n date: formattedUserInput,\n },\n });\n }\n }\n };\n\n useEffect(() => {\n if (value === \"\") {\n dispatch({\n type: \"SET_EMPTY_DATE\",\n });\n dispatch({\n type: \"CLOSE_TIME_PICKER\",\n });\n }\n\n handleUpdatedInitialDate(value);\n }, [value]);\n\n useEffect(() => {\n const formattedDate = formatDatetime(state, getDateFormat(dateFormat));\n // Solution to avoid OnChange being called twice.\n if (oldValue.current !== formattedDate) {\n oldValue.current = formattedDate;\n onChange({\n date: state.impureDate,\n startTime: enableTimePicker && state.showTimePicker ? state.temporaryStartTime : \"\",\n endTime: enableEndTimePicker && state.showEndTimePicker ? state.temporaryEndTime : \"\",\n formattedDate,\n temporaryDate: state.temporaryDate,\n navigationDate: state.navigationDate,\n });\n }\n }, [\n state.impureDate,\n state.temporaryStartTime,\n state.temporaryEndTime,\n state.showTimePicker,\n state.showEndTimePicker,\n ]);\n\n useEffect(() => {\n if (startTimeEnabled) {\n dispatch({ type: \"SHOW_TIME_PICKER\" });\n }\n }, [startTimeEnabled]);\n\n useEffect(() => {\n if (error) {\n dispatch({\n type: \"INVALID_IMPURE_DATE\",\n payload: {\n dateFormatError: typeof error === \"string\" ? error : getDateFormat(dateFormat),\n },\n });\n } else {\n dispatch({\n type: \"CLEAR_DATE_FORMAT_ERROR\",\n });\n }\n }, [error]);\n\n const handleDayClick = (day) => {\n dispatch({\n type: \"SET_CLICKED_DATE\",\n payload: {\n temporaryDate: day,\n impureDate: moment(day, getValidDateFormats(dateFormat)).format(getDateFormat(dateFormat)),\n },\n });\n };\n\n const handleNavigationClick = (period) => {\n dispatch({\n type: \"SET_NAVIGATION_DATE\",\n payload: {\n navigationDate: period.clone(),\n },\n });\n };\n\n const handleMonthClick = (month) => {\n dispatch({\n type: \"CLICK_NAVIGATION_MONTH_DATE\",\n payload: {\n navigationDate: month.clone(),\n },\n });\n };\n\n const handleChangeUI = () => {\n switch (state.uiMode) {\n case UIMODE.DAY:\n dispatch({\n type: \"SET_UI_MODE\",\n payload: {\n uiMode: UIMODE.MONTH,\n },\n });\n break;\n case UIMODE.MONTH:\n dispatch({\n type: \"SET_UI_MODE\",\n payload: {\n uiMode: UIMODE.DAY,\n },\n });\n break;\n default:\n dispatch({\n type: \"SET_UI_MODE\",\n payload: {\n uiMode: UIMODE.DAY,\n },\n });\n }\n };\n\n const handleStartTimeChange = (temporaryStartTime) => {\n // temporaryStartTime cannot be later than temporaryEndTime.\n if (moment(temporaryStartTime, \"LT\").isSameOrAfter(moment(state.temporaryEndTime, \"LT\"))) {\n dispatch({\n type: \"SET_TEMPORARY_TIME\",\n payload: {\n temporaryStartTime,\n temporaryEndTime: getNextPossibleDateSelectorTime(temporaryStartTime),\n },\n });\n } else {\n dispatch({\n type: \"SET_TEMPORARY_START_TIME\",\n payload: {\n temporaryStartTime,\n },\n });\n }\n };\n\n const handleEndTimeChange = (temporaryEndTime) => {\n dispatch({\n type: \"SET_TEMPORARY_END_TIME\",\n payload: {\n temporaryEndTime,\n },\n });\n };\n\n const getDatePlaceholder = () => {\n if (enableTimePicker && state.showTimePicker) {\n return \"Date\";\n }\n\n return getDateFormat(dateFormat);\n };\n\n const renderInputUI = () => (\n <>\n
\n {enableDateInput && (\n \n handleUserInput(e.target.value)}\n error={state.dateFormatError}\n data-test-date-input\n data-cy=\"date-selector-input\"\n />\n
\n )}\n {state.showTimePicker && (\n \n )}\n {state.showTimePicker && state.showEndTimePicker && (\n <>\n -\n \n \n )}\n \n {enableTimePicker && (\n \n \n dispatch({ type: \"CLOSE_TIME_PICKER\" })\n : () => dispatch({ type: \"SHOW_TIME_PICKER\" })\n }\n />\n \n )}\n {enableTimePicker && enableEndTimePicker && state.showTimePicker && (\n
\n \n dispatch({ type: \"CLOSE_END_TIME_PICKER\" })\n : () => dispatch({ type: \"SHOW_END_TIME_PICKER\" })\n }\n />\n
\n )}\n {enableTimePicker &&
}\n \n );\n\n const renderPickerUI = () => {\n switch (state.uiMode) {\n case UIMODE.DAY:\n return (\n \n );\n case UIMODE.MONTH:\n return (\n \n );\n default:\n return null;\n }\n };\n\n return (\n
\n {state.uiMode === UIMODE.DAY && renderInputUI()}\n \n {renderPickerUI()}\n
\n );\n};\n\nDateSelector.propTypes = {\n value: PropTypes.string,\n onChange: PropTypes.func,\n enableTimePicker: PropTypes.bool,\n enableEndTimePicker: PropTypes.bool,\n dateFormat: PropTypes.string,\n containerClassName: PropTypes.string,\n error: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n enableDateInput: PropTypes.bool,\n minDate: PropTypes.oneOfType([PropTypes.shape(), PropTypes.string]),\n maxDate: PropTypes.oneOfType([PropTypes.shape(), PropTypes.string]),\n startTimeClassName: PropTypes.string,\n startTimeEnabled: PropTypes.bool,\n noYear: PropTypes.bool,\n};\n\nDateSelector.defaultProps = {\n value: moment().format(DATE_FORMAT),\n onChange: () => {},\n enableTimePicker: false,\n enableEndTimePicker: false,\n dateFormat: \"\",\n containerClassName: \"\",\n error: false,\n enableDateInput: true,\n minDate: null,\n maxDate: null,\n startTimeClassName: \"\",\n startTimeEnabled: false,\n noYear: false,\n};\n\nexport default DateSelector;\n","const calendarPositionClassNames = (position) => {\n switch (position) {\n case \"bottom-left\":\n return `tw-absolute tw-top-[0px] tw-left-[0px]`;\n case \"bottom\":\n return `tw-absolute tw-top-[0px] tw-left-[calc(50%-120px)]`;\n case \"default\":\n return `tw-absolute tw-top-[calc(50%-120px)] tw-left-[calc(50%-120px)]`;\n default:\n return \"\";\n }\n};\n\nexport default calendarPositionClassNames;\n","import React, { useRef, useState, useEffect } from \"react\";\n\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport { formatDate } from \"../DateSelector/utils/helpers\";\nimport { DATE_FORMAT } from \"../DateSelector/utils/constants\";\n\nimport { getValidDateFormats, isDateValid } from \"./utils/helpers\";\nimport { useClickOutside } from \"../../hookHelpers\";\n\nimport Button from \"../Button\";\nimport DateSelector from \"../DateSelector\";\nimport TextButton from \"../TextButton\";\nimport TextComboInput from \"../TextComboInput\";\nimport { Calendar } from \"../Icomoon\";\n\nimport calendarPositionClassNames from \"./DatePicker.styles\";\n\nconst isDisabled = ({ date, minDate, maxDate }) => {\n const isBeforeMinDate = minDate && moment(date.validTemporary).isBefore(moment(minDate));\n const isAfterMaxDate = maxDate && moment(date.validTemporary).isAfter(moment(maxDate));\n return isBeforeMinDate || isAfterMaxDate || false;\n};\n\n/**\n * @summary DatePicker component. It's possible to enable up to 2 timepickers.\n * @param {string} value - The datepicker initial value. Provide a string in the following formats YYYY-MM-DD | YYYY-MM-DD HH:MM AM/PM | YYYY-MM-DD HH:MM AM/PM HH:MM AM/PM\n * @param {string} position - Provide the position of the calendar.\n * @param {func} onChange - It's triggered when the user clicks on \"done\" or outside the datepicker. It returns a string based on dateFormat. Default format is MM/DD/YYYY\n * @param {func} dateFormat - Provide a momentjs date format to override the default one (MM-DD-YYYY). See https://momentjs.com/docs/#/displaying/format/ for available formats.\n * @param {object} inputProps - This object will be spread on the trigger input (outside). Useful to apply custom HTML attributes.\n * @param {string} containerClassName - className for the outermost HTML element.\n * */\nconst DatePicker = (args) => {\n const {\n onChange,\n value,\n position,\n dateFormat,\n inputProps,\n containerClassName,\n minDate,\n maxDate,\n noYear,\n customError,\n ...otherProps\n } = args;\n\n const [isOpen, setIsOpen] = useState(false);\n\n const initialDate = moment(value, getValidDateFormats(dateFormat)).isValid() ? value : \"\";\n\n // final: Date shown on TextComboInput. \"ValidTemporary\" becomes \"final\" when the user clicks on the \"Done\" button or outside.\n // impureTemporary: User input. it might be wrong, correct or empty. Do not rely on it. It might be anything.\n // validTemporary: It's a valid impureTemporary date. Necessary to send only valid dates to the DateSelector component.\n const [date, setDate] = useState({\n final: initialDate,\n impureTemporary: initialDate,\n validTemporary: initialDate,\n });\n const disabled = isDisabled({ date, minDate, maxDate });\n const [error, setError] = useState(false);\n\n const datepickerRef = useRef(null);\n const oldValueRef = useRef(initialDate);\n\n const handleDone = () => {\n if (date.validTemporary !== \"\" && !isDateValid(date, dateFormat)) {\n setError(true);\n } else {\n setDate((oldDate) => ({\n ...oldDate,\n final: date.validTemporary,\n }));\n setIsOpen(false);\n setError(false);\n }\n };\n\n useClickOutside(datepickerRef, handleDone);\n\n useEffect(() => {\n // an object breaks the datepicker, and in consequence, the page\n if (typeof value !== \"string\") return;\n\n const validDate = moment(value, getValidDateFormats(dateFormat)).isValid() ? value : \"\";\n\n setDate({\n final: validDate,\n impureTemporary: validDate,\n validTemporary: validDate,\n });\n }, [value]);\n\n useEffect(() => {\n if (oldValueRef.current === date.final) return;\n oldValueRef.current = date.final;\n if (onChange) {\n onChange(date.final);\n }\n }, [date.final]);\n\n useEffect(() => {\n if (date.impureTemporary !== \"\" && isDateValid(date, dateFormat)) {\n setDate((oldDate) => ({\n ...oldDate,\n validTemporary: date.impureTemporary,\n }));\n }\n }, [date.impureTemporary]);\n\n return (\n
\n setIsOpen((oldValue) => !oldValue)}\n readOnly\n className=\"tw-w-full\"\n trailing={\n \n }\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...inputProps}\n data-test-date-trigger\n />\n {isOpen && (\n \n {\n setDate((oldDate) => ({\n ...oldDate,\n ...dateSelectorState, // necessary for edge case: leap year in date formats without year\n impureTemporary: dateSelectorState.formattedDate,\n }));\n }}\n value={date.validTemporary}\n error={error}\n dateFormat={dateFormat}\n minDate={minDate}\n maxDate={maxDate}\n noYear={noYear}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n
\n
\n {\n setDate((oldDate) => ({\n ...oldDate,\n validTemporary: \"\",\n impureTemporary: \"\",\n }));\n }}\n type=\"button\"\n schema=\"default\"\n size=\"small\"\n data-test-clear\n >\n Clear\n \n \n
\n
\n )}\n \n );\n};\n\nDatePicker.propTypes = {\n value: PropTypes.string,\n onChange: PropTypes.func,\n enableTimePicker: PropTypes.bool,\n enableEndTimePicker: PropTypes.bool,\n dateFormat: PropTypes.string,\n enableDateInput: PropTypes.bool,\n noYear: PropTypes.bool,\n startTimeClassName: PropTypes.string,\n position: PropTypes.oneOf([\"default\", \"bottom\", \"bottom-left\"]),\n // eslint-disable-next-line react/forbid-prop-types\n inputProps: PropTypes.object,\n containerClassName: PropTypes.string,\n};\n\nDatePicker.defaultProps = {\n value: moment().format(DATE_FORMAT),\n onChange: () => {},\n enableTimePicker: false,\n enableEndTimePicker: false,\n dateFormat: \"\",\n enableDateInput: true,\n noYear: false,\n startTimeClassName: \"\",\n position: \"default\",\n inputProps: {},\n containerClassName: \"\",\n};\n\nexport default DatePicker;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport DatePicker from \"../v2/DatePicker\";\n\nfunction FieldDateV1({\n dateFormat = \"MM/DD/YYYY\",\n value = \"\",\n onChange,\n label,\n disabled = false,\n required,\n flexStyle = \"tw-flex-1\",\n enableTimePicker,\n position,\n noYear,\n}) {\n return (\n
\n {label && }\n
\n {\n if (dateValue) {\n onChange(moment(dateValue, dateFormat).format(\"YYYY-MM-DD\"));\n } else {\n onChange(dateValue);\n }\n }}\n value={moment(value).format(dateFormat)}\n inputProps={{\n placeholder: dateFormat,\n disabled: disabled,\n }}\n enableTimePicker={enableTimePicker}\n position={position}\n noYear={noYear}\n />\n
\n
\n );\n}\nFieldDateV1.propTypes = {\n dateFormat: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func,\n label: PropTypes.string,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n position: PropTypes.oneOf([\"default\", \"bottom\", \"bottom-left\"]),\n noYear: PropTypes.bool,\n};\n\nFieldDateV1.defaultProps = {\n dateFormat: \"MM/DD/YYYY\",\n value: \"\",\n onChange: () => {},\n label: \"\",\n disabled: false,\n required: false,\n flexStyle: \"tw-flex-1\",\n position: \"default\",\n noYear: false,\n};\nexport default FieldDateV1;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Close } from \"../v2/Icomoon\";\n\nconst tagStyles = {\n default:\n \"tw-bg-neutral-gray-10 tw-h-[24px] tw-w-fit tw-px-8px tw-py-4px tw-rounded-full tw-text-[11px] tw-flex tw-gap-[6px] tw-items-center tw-justify-center tw-font-bold hover:tw-text-semantic-red-100\",\n hover: \"hover:tw-text-semantic-red-100 hover:tw-bg-semantic-red-5 hover:tw-cursor-pointer\",\n press: \"active:tw-bg-semantic-red-100 active:tw-text-white\",\n};\n\nfunction TagV1({ text, onRemove, disabled }) {\n return (\n \n {text}\n {!disabled && onRemove && }\n \n );\n}\nTagV1.propTypes = {\n text: PropTypes.string,\n disabled: PropTypes.bool,\n onRemove: PropTypes.func,\n};\n\nTagV1.defaultProps = {\n text: \"\",\n disabled: false,\n onRemove: () => {},\n};\n\nexport default TagV1;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TagV1 from \"./TagV1\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport styleSchema from \"./FieldStyle\";\nimport { Search, Close } from \"../v2/Icomoon\";\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nfunction FieldSearchLabelsV1({\n placeholder,\n options,\n value,\n onChange,\n onRemove,\n className,\n disabled,\n label,\n required,\n flexStyle,\n searchText,\n setSearchText,\n}) {\n let schemaKey = disabled ? \"disabled\" : \"regular\";\n\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n\n const [isOnFocus, setIsOnFocus] = useState(false);\n\n const ref = useRef();\n useEffect(() => {\n const checkIfClickedOutside = (e) => {\n if (isDropdownOpen && ref.current && !ref.current.contains(e.target)) {\n setIsDropdownOpen(false);\n }\n };\n document.addEventListener(\"mousedown\", checkIfClickedOutside);\n\n return () => {\n document.removeEventListener(\"mousedown\", checkIfClickedOutside);\n };\n }, [isDropdownOpen]);\n\n return (\n
\n {label && }\n
\n {\n let eValue = e.target.value;\n eValue.length > 0 && isDropdownOpen === false && setIsDropdownOpen(true);\n eValue.length === 0 && isDropdownOpen === true && setIsDropdownOpen(false);\n setSearchText(eValue);\n }}\n onFocus={() => {\n setIsOnFocus(true);\n }}\n onBlur={() => {\n setIsOnFocus(false);\n }}\n />\n\n \n {!searchText ? : setSearchText(\"\")} />}\n
\n\n {isDropdownOpen && (\n
\n {options.length <= 0 ? (\n
no matches
\n ) : (\n options\n .filter((option) => {\n return option.toLowerCase().includes(searchText.toLowerCase());\n })\n .map((option) => {\n return (\n {\n onChange(option);\n setIsDropdownOpen(false);\n setSearchText(\"\");\n }}\n data-cy={`${option}_option`}\n >\n

\n {option\n .replace(\n new RegExp(searchText, \"gi\"),\n (highlight) => `${highlight}`,\n )\n .split(\"\")\n .map((section, index) => {\n if (section.toLowerCase() === searchText.toLowerCase())\n return {section};\n return section;\n })}\n

\n
\n );\n })\n )}\n
\n )}\n \n {\n //labels group\n }\n {value?.length >= 1 && (\n
\n {value.map((label) => {\n return (\n {\n onRemove(label);\n }}\n />\n );\n })}\n
\n )}\n \n );\n}\n\nFieldSearchLabelsV1.propTypes = {\n placeholder: PropTypes.string,\n label: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.string),\n value: PropTypes.arrayOf(PropTypes.string),\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n onRemove: PropTypes.func,\n searchText: PropTypes.string,\n setSearchText: PropTypes.func.isRequired,\n};\n\nFieldSearchLabelsV1.defaultProps = {\n placeholder: \"Search\",\n label: \"\",\n options: [\"Option1\", \"Option2\"],\n value: [],\n required: false,\n flexStyle: \"tw-flex-1\",\n className: \"\",\n disabled: false,\n onChange: () => {},\n onRemove: () => {},\n searchText: \"\",\n};\n\nexport default FieldSearchLabelsV1;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TagV1 from \"./TagV1\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport styleSchema from \"./FieldStyle\";\nimport { CaretDown, CaretUp } from \"../v2/Icomoon\";\n\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nfunction FieldSelectLabelsWithCheckboxOptions({\n placeholder,\n options,\n value,\n onChange,\n onRemove,\n className,\n disabled,\n label,\n required,\n flexStyle,\n}) {\n let schemaKey = disabled ? \"disabled\" : \"regular\";\n\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n\n const ref = useRef();\n\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n\n const [checkboxOptions, setCheckboxOptions] = useState(\n options.map((option) => {\n return {\n value: option,\n checked: !!value?.includes(option),\n };\n }),\n );\n\n useEffect(() => {\n const checkIfClickedOutside = (e) => {\n if (isDropdownOpen && ref.current && !ref.current.contains(e.target)) {\n setIsDropdownOpen(false);\n }\n };\n document.addEventListener(\"mousedown\", checkIfClickedOutside);\n\n return () => {\n document.removeEventListener(\"mousedown\", checkIfClickedOutside);\n };\n }, [isDropdownOpen]);\n\n useEffect(() => {\n const temp = checkboxOptions.reduce((newResults, option) => {\n if (option.checked) {\n if (newResults.length <= 0) return [option.value];\n return [...newResults, option.value];\n } else {\n return newResults;\n }\n }, []);\n\n if (!!temp) {\n onChange(temp);\n } else {\n onChange([]);\n }\n }, [checkboxOptions]);\n\n return (\n
\n {label && }\n
\n {\n setIsDropdownOpen((prev) => !prev);\n }}\n readOnly\n />\n\n
\n {isDropdownOpen ? : }\n
\n\n {isDropdownOpen && (\n
\n {checkboxOptions.length <= 0 ? (\n

no matches

\n ) : (\n checkboxOptions.map((option, index) => {\n return (\n {\n setCheckboxOptions((prev) => {\n prev[index].checked = !prev[index].checked;\n\n return [...prev];\n });\n }}\n data-cy={`${option.value}_checkbox`}\n >\n \n
{option.value}
\n
\n );\n })\n )}\n
\n )}\n
\n {\n //labels group\n }\n {value && value.length >= 1 && (\n
\n {value.map((label, index) => {\n return (\n {\n setCheckboxOptions((prev) => {\n prev.find((option) => option.value === label).checked = false;\n\n return prev;\n });\n onRemove(label);\n }}\n />\n );\n })}\n
\n )}\n \n );\n}\n\nFieldSelectLabelsWithCheckboxOptions.propTypes = {\n placeholder: PropTypes.string,\n label: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.string),\n value: PropTypes.arrayOf(PropTypes.string),\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n onRemove: PropTypes.func,\n};\n\nFieldSelectLabelsWithCheckboxOptions.defaultProps = {\n placeholder: \"Select\",\n label: \"\",\n options: [\"Option1\", \"Option2\"],\n value: [],\n required: false,\n flexStyle: \"tw-flex-1\",\n className: \"\",\n disabled: false,\n onChange: () => {},\n onRemove: () => {},\n};\n\nexport default FieldSelectLabelsWithCheckboxOptions;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport TextInput from \"../v2/TextInput/TextInput\";\n\nfunction FieldEmailV1({ className, placeholder, onChange, required, label, value, flexStyle, disabled }) {\n const isValidEmail = (email) => {\n return (\n String(email)\n .toLowerCase()\n .match(\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\n ) !== null\n );\n };\n\n return (\n
\n {label && }\n onChange(e.target.value)}\n disabled={disabled}\n value={value ? value : \"\"}\n />\n
\n );\n}\nFieldEmailV1.propTypes = {\n className: PropTypes.string,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n required: PropTypes.bool,\n label: PropTypes.string,\n value: PropTypes.string,\n flexStyle: PropTypes.string,\n disabled: PropTypes.bool,\n};\n\nFieldEmailV1.defaultProps = {\n className: \"\",\n placeholder: \"\",\n onChange: () => {},\n required: false,\n label: \"\",\n value: \"\",\n flexStyle: \"tw-flex-1\",\n disabled: false,\n};\nexport default FieldEmailV1;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport TextInput from \"../v2/TextInput/TextInput\";\n\nfunction FieldTextAreaV1({\n className,\n placeholder,\n onChange,\n required,\n label,\n value,\n flexStyle,\n disabled,\n ...otherProps\n}) {\n return (\n
\n {label && }\n\n onChange && onChange(e.target.value)}\n value={value || \"\"}\n {...{ disabled, placeholder }}\n className={`tw-h-[76px] ${className}`}\n {...otherProps}\n />\n
\n );\n}\nFieldTextAreaV1.propTypes = {\n className: PropTypes.string,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n required: PropTypes.bool,\n label: PropTypes.string,\n value: PropTypes.string,\n flexStyle: PropTypes.string,\n disabled: PropTypes.bool,\n};\n\nFieldTextAreaV1.defaultProps = {\n className: \"\",\n placeholder: \"\",\n onChange: () => {},\n required: false,\n label: \"\",\n value: \"\",\n flexStyle: \"tw-flex-1 \",\n disabled: false,\n};\nexport default FieldTextAreaV1;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\"tw-border-neutral-gray-15\", \"tw-bg-tinted-gray-50\", \"tw-text-neutral-gray-75\"],\n hover: [\"hover:tw-border-semantic-red-100\", \"hover:tw-bg-white\", \"hover:tw-text-semantic-red-100\"],\n active: [\"active:tw-border-semantic-red-100\", \"active:tw-bg-semantic-red-100\", \"active:tw-text-white\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Trash as TrashIcon } from \"../Icomoon\";\nimport styleSchema from \"./RemoveFieldButton.styles\";\n\nconst RemoveFieldButton = ({ className, type, onClick }) => (\n \n \n \n);\n\nRemoveFieldButton.propTypes = {\n className: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func,\n};\n\nRemoveFieldButton.defaultProps = {\n className: \"\",\n type: \"button\",\n onClick: null,\n};\n\nexport default RemoveFieldButton;\n","const DEFAULT_REQ_TEXT = \"This field is required\";\n\nexport const isStrInputLen = (str) => {\n if (!str) return DEFAULT_REQ_TEXT;\n return !str.trim().length && DEFAULT_REQ_TEXT;\n};\n\nexport const isNumValid = (num) => num === null && DEFAULT_REQ_TEXT;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\n\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport RemoveFieldButton from \"../../../shared/v2/RemoveFieldButton\";\nimport { isStrInputLen, isNumValid } from \"../../ModalViews/helpers\";\nimport FieldSelect from \"../../../shared/UtilsV1/FieldSelect\";\nimport { useContactFormOptions, useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\n\nfunction MLSFieldView({ value: curMls, index, setIsAddActive, onChange }) {\n const dispatch = useDispatch();\n const { mlsOptions } = useContactFormOptions();\n const { loginUserAttributes } = useContactPerson();\n const { usersMlsesAttributes } = loginUserAttributes;\n const { mlsId, mlsAgentId } = curMls;\n\n useEffect(() => {\n if (index === usersMlsesAttributes.length - 1) {\n if (!!mlsId && !!mlsAgentId) {\n setIsAddActive(true);\n } else {\n setIsAddActive(false);\n }\n }\n }, [index, mlsId, mlsAgentId, usersMlsesAttributes]);\n\n const onRemove = (targetMLS) => {\n let filtereduserMLSList;\n if (Object.hasOwnProperty.call(targetMLS, \"id\")) {\n filtereduserMLSList = usersMlsesAttributes.map((mls) =>\n mls === targetMLS ? { ...mls, _destroy: true } : mls,\n );\n } else {\n filtereduserMLSList = usersMlsesAttributes.filter((mls) => mls !== targetMLS);\n }\n\n dispatch(setPersonValue({ key: \"loginUserAttributes.usersMlsesAttributes\", value: filtereduserMLSList }));\n };\n\n return (\n
\n {\n onChange({ mlsId: value, mlsAgentId });\n }}\n error={isNumValid(mlsId)}\n isDropdownSearchable\n required\n />\n
\n {\n onChange({ mlsId, mlsAgentId: e.target.value });\n }}\n className=\"tw-h-[37.25px]\"\n labelClassName=\"tw-mb-[4px]\"\n toolTipInfoContent={\n
\n Enables your Brivity website to display agent-specific listings on their profile page. If you\n have multiple IDs, only the first one will be used to generate these listings.\n
\n }\n toolTipPlacement=\"top\"\n isRequired\n error={isStrInputLen(mlsAgentId)}\n />\n\n onRemove(curMls)} className=\"tw-mb-[1px] tw-mt-[24px]\" />\n
\n
\n );\n}\n\nMLSFieldView.propTypes = {\n value: PropTypes.shape({\n mlsId: PropTypes.number,\n mlsAgentId: PropTypes.string,\n }).isRequired,\n index: PropTypes.number.isRequired,\n setIsAddActive: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nexport default MLSFieldView;\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport MLSFieldView from \"./MLSFieldView\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport { Plus } from \"../../../shared/v2/Icomoon\";\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\n\nfunction AddMLSSection() {\n const dispatch = useDispatch();\n const {\n loginUserAttributes: { usersMlsesAttributes = [] },\n } = useContactPerson();\n const userMLSList = useMemo(\n // eslint-disable-next-line no-underscore-dangle\n () => usersMlsesAttributes.filter((mls) => !mls._destroy),\n [usersMlsesAttributes],\n );\n const [isAddActive, setIsAddActive] = useState(false);\n\n const onAddMLS = () => {\n const mlsInit = { mlsId: null, mlsAgentId: \"\", tempId: Date.now() };\n dispatch(\n setPersonValue({\n key: \"loginUserAttributes.usersMlsesAttributes\",\n value: [...usersMlsesAttributes, { ...mlsInit }],\n }),\n );\n };\n\n useEffect(() => {\n if (userMLSList.length === 0) onAddMLS();\n }, [userMLSList]);\n\n const onUpdateMls = (targetMLS, value) => {\n dispatch(\n setPersonValue({\n key: \"loginUserAttributes.usersMlsesAttributes\",\n value: usersMlsesAttributes.map((mls) => {\n if (mls !== targetMLS) return mls;\n return { ...targetMLS, ...value };\n }),\n }),\n );\n };\n\n return (\n
\n
\n {userMLSList.map((mls, index) => (\n onUpdateMls(mls, value)}\n />\n ))}\n
\n \n
\n \n
MLS
\n
\n
\n
\n );\n}\n\nexport default AddMLSSection;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport FieldEmailV1 from \"../../shared/UtilsV1/FieldEmailV1\";\nimport FieldTextV1 from \"../../shared/UtilsV1/FieldTextV1\";\nimport Modal from \"../../shared/v2/Modal\";\nimport Button from \"../../shared/v2/Button\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\n\nfunction AddSponsorModal({ onClose, show }) {\n const dispatch = useDispatch();\n const [inputData, setInputData] = useState({\n name: \"\",\n confirmedName: \"\",\n email: \"\",\n });\n\n const onAddSponsor = (sponsorName, sponsorEmail) => {\n dispatch(setPersonValue({ key: \"sponsorName\", value: sponsorName }));\n dispatch(setPersonValue({ key: \"sponsorEmail\", value: sponsorEmail }));\n };\n\n const [isAllRequiredFieldsFilled, setIsAllRequiredFieldsFill] = useState(false);\n\n useEffect(() => {\n if (inputData.name && inputData.name === inputData.confirmedName) {\n setIsAllRequiredFieldsFill(true);\n } else {\n setIsAllRequiredFieldsFill(false);\n }\n }, [inputData.name, inputData.confirmedName]);\n\n return (\n \n \n\n \n
\n
\n You are about to add a sponsor for this user. The user’s sponsor is the person who referred them\n to the company.\n
\n
\n ATTENTION: Adding a sponsor can only be done\n once per user. The sponsor cannot be removed or renamed once it has been added. Please ensure the\n sponsor’s name is spelled correctly.\n
\n setInputData((prev) => ({ ...prev, name: value }))}\n />\n setInputData((prev) => ({ ...prev, confirmedName: value }))}\n />\n setInputData((prev) => ({ ...prev, email: value }))}\n />\n
\n
\n \n
\n \n {\n onAddSponsor(inputData.name, inputData.email);\n onClose();\n }}\n >\n Add Sponsor\n \n
\n
\n \n );\n}\nAddSponsorModal.propTypes = {\n show: PropTypes.bool,\n onClose: PropTypes.func,\n};\n\nAddSponsorModal.defaultProps = {\n show: false,\n onClose: () => {},\n};\n\nexport default AddSponsorModal;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"../../shared/UtilsV1/FieldLabelV1\";\nimport styleSchema from \"../../shared/UtilsV1/FieldStyle\";\nimport { CaretUp, CaretDown } from \"../../shared/v2/Icomoon\";\n\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nfunction RevenuePartnerSearchableDropdown({\n placeholder,\n options,\n onChange,\n className,\n disabled,\n label,\n required,\n flexStyle,\n setSearchText,\n searchText,\n}) {\n const schemaKey = disabled ? \"disabled\" : \"regular\";\n\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n\n const [filteredSearchOption, setFilteredSearchOption] = useState(options);\n\n const ref = useRef();\n useEffect(() => {\n const checkIfClickedOutside = (e) => {\n if (isDropdownOpen && ref.current && !ref.current.contains(e.target)) {\n setIsDropdownOpen(false);\n }\n };\n document.addEventListener(\"mousedown\", checkIfClickedOutside);\n\n return () => {\n document.removeEventListener(\"mousedown\", checkIfClickedOutside);\n };\n }, [isDropdownOpen]);\n\n useEffect(() => {\n if (searchText.length > 0) {\n setFilteredSearchOption(() => {\n const optionsFilteredWithInput = options.filter((option) =>\n option.label.toLowerCase().includes(searchText.toLowerCase()),\n );\n return optionsFilteredWithInput;\n });\n } else {\n setFilteredSearchOption(options);\n }\n }, [searchText, options]);\n\n return (\n
\n {label && }\n
\n {\n setSearchText(e.target.value);\n }}\n onFocus={() => {\n setIsDropdownOpen(true);\n }}\n data-cy=\"revenue_partner_search_input\"\n />\n\n
\n {isDropdownOpen ? : }\n
\n\n {isDropdownOpen && (\n
\n {filteredSearchOption.length <= 0 ? (\n
no matches
\n ) : (\n filteredSearchOption.map((option) => (\n {\n setSearchText(option.label);\n onChange(option.value);\n setIsDropdownOpen(false);\n }}\n data-cy={option.label}\n aria-hidden=\"true\"\n >\n {option.label}\n
\n ))\n )}\n
\n )}\n
\n \n );\n}\n\nRevenuePartnerSearchableDropdown.propTypes = {\n placeholder: PropTypes.string,\n label: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n data: PropTypes.shape({}),\n }),\n }),\n ),\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n setSearchText: PropTypes.func.isRequired,\n searchText: PropTypes.string.isRequired,\n};\n\nRevenuePartnerSearchableDropdown.defaultProps = {\n placeholder: \"Search\",\n label: \"\",\n options: [\n { label: \"Option1\", value: { value: \"Option1\", data: null } },\n { label: \"Option2\", value: { value: \"Option2\", data: null } },\n ],\n required: false,\n flexStyle: \"tw-flex-1\",\n className: \"\",\n disabled: false,\n onChange: () => {},\n};\n\nexport default RevenuePartnerSearchableDropdown;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Modal from \"../../shared/v2/Modal\";\nimport Button from \"../../shared/v2/Button\";\nimport FieldSelect from \"../../shared/UtilsV1/FieldSelect\";\nimport { getRevenuePartnerOptions } from \"../../Settings/Users/api\";\nimport RevenuePartnerSearchableDropdown from \"./RevenuePartnerSearchableDropdown\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\n\nconst revenuePartnerSourceOptions = [\n { label: \"Search PLACE users\", value: \"Search PLACE users\" },\n { label: \"Pre-PLACE\", value: \"Pre-PLACE\" },\n { label: \"No Revenue Partner in Agent Agreement\", value: \"No revenue partner\" },\n];\n\nfunction AddRevenuePartnerModal({ show, onClose }) {\n const dispatch = useDispatch();\n const [selectedRevenuePartnerSourceOption, setSelectedRevenuePartnerSourceOption] = useState(null);\n const [selectedRevenuePartner, setSelectedRevenuePartner] = useState(null);\n\n const [revenuePartnerSearchText, setRevenuePartnerSearchText] = useState(\"\");\n const [revenuePartnerSearchOptions, setRevenuePartnerSearchOptions] = useState([]);\n const [isAllRequiredFieldsFilled, setIsAllRequiredFieldsFill] = useState(false);\n\n useEffect(() => {\n if (selectedRevenuePartnerSourceOption && selectedRevenuePartnerSourceOption !== \"Search PLACE users\") {\n setIsAllRequiredFieldsFill(true);\n setSelectedRevenuePartner(null);\n } else if (\n selectedRevenuePartnerSourceOption &&\n selectedRevenuePartnerSourceOption === \"Search PLACE users\" &&\n selectedRevenuePartner\n ) {\n setIsAllRequiredFieldsFill(true);\n } else {\n setIsAllRequiredFieldsFill(false);\n }\n }, [selectedRevenuePartnerSourceOption, selectedRevenuePartner]);\n\n const onAddRevenuePartner = () => {\n dispatch(setPersonValue({ key: \"revenuePartnerType\", value: \"Person\" }));\n dispatch(\n setPersonValue({\n key: \"revenuePartnerPersonId\",\n value: selectedRevenuePartner.revenuePartnerPersonId,\n }),\n );\n dispatch(\n setPersonValue({\n key: \"revenuePartnerPersonName\",\n value: selectedRevenuePartner.revenuePartnerPersonName,\n }),\n );\n dispatch(\n setPersonValue({\n key: \"revenuePartnerPersonTeamName\",\n value: selectedRevenuePartner.revenuePartnerPersonTeamName,\n }),\n );\n };\n\n const handleOnAddRevenuePartner = () => {\n if (selectedRevenuePartnerSourceOption === \"Search PLACE users\") {\n onAddRevenuePartner();\n } else {\n dispatch(setPersonValue({ key: \"revenuePartnerType\", value: selectedRevenuePartnerSourceOption }));\n }\n onClose();\n };\n\n useEffect(() => {\n const fetchOptionsData = async () => {\n const res = await getRevenuePartnerOptions(revenuePartnerSearchText);\n setRevenuePartnerSearchOptions([\n ...res.data.map((option) => ({\n label: `${option.full_name} (${option.team_name})`,\n value: {\n value: option.person_id,\n data: {\n revenuePartnerPersonId: option.person_id,\n revenuePartnerPersonName: option.full_name,\n revenuePartnerPersonTeamName: option.team_name,\n },\n },\n })),\n ]);\n };\n // Update debounced function after 500 ms\n const handler = setTimeout(() => {\n if (revenuePartnerSearchText.length > 0) {\n fetchOptionsData();\n } else {\n setRevenuePartnerSearchOptions([]);\n }\n }, 500);\n // Cancel the timeout if value changes (also on delay change or unmount)\n return () => {\n clearTimeout(handler);\n };\n }, [revenuePartnerSearchText]);\n\n return (\n \n \n \n
\n
\n You are about to add a revenue partner for this user. The user’s revenue partner is the person who\n referred them to the company.\n
\n
\n ATTENTION: Adding a revenue\n partner can only be done once per user. The revenue partner cannot be changed or removed once\n added.\n
\n\n setSelectedRevenuePartnerSourceOption(value)}\n />\n {\n // Email will be disable, becasue it will take from Revenue Partner options, and not editable\n // Current revenue partner data only contains id, name, team name\n // needed avatar and email\n }\n {selectedRevenuePartnerSourceOption === \"Search PLACE users\" && (\n {\n setSelectedRevenuePartner(value.data);\n }}\n />\n )}\n
\n
\n \n \n \n Add Revenue Partner\n \n \n \n );\n}\n\nAddRevenuePartnerModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default AddRevenuePartnerModal;\n","import React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport FieldLabelV1 from \"../../shared/UtilsV1/FieldLabelV1\";\nimport TagV1 from \"../../shared/UtilsV1/TagV1\";\nimport Button from \"../../shared/v2/Button\";\nimport FieldTextV1 from \"../../shared/UtilsV1/FieldTextV1\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\nimport { useContactPerson } from \"../../reducers/contactsReducer/selectors\";\n\nfunction CertificationsAndDesignationsSection() {\n const dispatch = useDispatch();\n const { certificates } = useContactPerson();\n const [input, setInput] = useState(null);\n\n return (\n
\n \n\n
\n
\n {\n setInput(value);\n }}\n value={input}\n data-cy=\"certification_input\"\n />\n
\n {\n const tempCertificates =\n !certificates || certificates.length <= 0 ? [input] : [...certificates, input];\n\n dispatch(setPersonValue({ key: \"certificates\", value: [...tempCertificates] }));\n setInput(null);\n }}\n className=\"tw-flex tw-items-center\"\n disabled={!input || (certificates && certificates.includes(input))}\n size=\"medium\"\n data-cy=\"certification_btn\"\n >\n ADD\n \n
\n\n
\n {certificates &&\n certificates.map((item) => (\n \n dispatch(\n setPersonValue({\n key: \"certificates\",\n value: certificates.filter((itemName) => itemName !== item),\n }),\n )\n }\n />\n ))}\n
\n
\n );\n}\n\nexport default CertificationsAndDesignationsSection;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport TextComboInput from \"@shared/v2/TextComboInput\";\n\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\n\nconst Title = () => {\n const dispatch = useDispatch();\n const { jobTitle } = useContactPerson();\n return (\n dispatch(setPersonValue({ key: \"jobTitle\", value: e.target.value }))}\n toolTipInfoContent={
Displays as the user's job title on your Brivity website.
}\n toolTipPlacement=\"right\"\n />\n );\n};\n\nexport default Title;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport { inputDescription } from \"../../ModalViews/styles\";\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\n\nconst LicenseNumber = () => {\n const dispatch = useDispatch();\n const { licenseId } = useContactPerson().loginUserAttributes;\n return (\n <>\n \n dispatch(setPersonValue({ key: \"loginUserAttributes.licenseId\", value: e.target.value }))\n }\n />\n
\n If you’re required to display a license number next to other agent information, place it in this\n field.\n
\n \n );\n};\n\nexport default LicenseNumber;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React, { useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { headline2 } from \"@shared/styles\";\nimport FieldTextV1 from \"../../shared/UtilsV1/FieldTextV1\";\nimport FieldSelect from \"../../shared/UtilsV1/FieldSelect\";\nimport FieldRadioV1 from \"../../shared/UtilsV1/FieldRadioV1\";\nimport FieldDateV1 from \"../../shared/UtilsV1/FieldDateV1\";\nimport FieldSearchLabelsV1 from \"../../shared/UtilsV1/FieldSearchLabelsV1\";\nimport FieldSelectLabelsWithCheckboxOptions from \"../../shared/UtilsV1/FieldSelectLabelsWithCheckboxOptions\";\nimport FieldEmailV1 from \"../../shared/UtilsV1/FieldEmailV1\";\nimport FieldLabelV1 from \"../../shared/UtilsV1/FieldLabelV1\";\nimport Button from \"../../shared/v2/Button\";\nimport Toggle from \"../../shared/v2/Toggle\";\nimport FieldTextAreaV1 from \"../../shared/UtilsV1/FieldTextAreaV1\";\nimport { Plus } from \"../../shared/v2/Icomoon\";\nimport AddMLSSection from \"../ModalSections/AddMLSSection\";\nimport AddSponsorModal from \"./AddSponsorModal\";\nimport AddRevenuePartnerModal from \"./AddRevenuePartnerModal\";\nimport CertificationsAndDesignationsSection from \"../ModalSections/CertificationsAndDesignationsSection\";\nimport { useGetServiceAreaOptions } from \"../../Settings/Users/helper/hookHelper\";\nimport { containerView } from \"./styles\";\nimport Title from \"../ModalSections/Title\";\nimport { useCurrentUser, useFeatureFlags, useTheme } from \"../../reducers/layoutReducer/selectors\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\nimport { useContactFormOptions, useContactPerson } from \"../../reducers/contactsReducer/selectors\";\nimport LicenseNumber from \"../ModalSections/LicenseNumber\";\n\nconst REV_TYPE_MAP_SRC = {\n \"Search PLACE users\": \"Search PLACE users\",\n \"Pre-PLACE\": \"Pre-PLACE\",\n \"No revenue partner\": \"No Revenue Partner in Agent Agreement\",\n};\n\nconst reshapeDropdownValue = (value) => ({ label: value, value });\n\nfunction UserDetailsView() {\n const dispatch = useDispatch();\n const theme = useTheme();\n const featureFlags = useFeatureFlags();\n const currentUser = useCurrentUser();\n const person = useContactPerson();\n const formOptions = useContactFormOptions();\n const [isAddingSponsor, setIsAddingSponsor] = useState(false);\n const [isAddingRevenuePartner, setIsAddingRevenuePartner] = useState(false);\n const [serviceAreaOptions, setServiceAreaOptions] = useState([]);\n const [serviceAreaInput, setServiceAreaInput] = useState(\"\");\n const [fluentLanguageInput, setFluentLanguageInput] = useState(\"\");\n\n const {\n agentHoursOptions,\n brokerageOptions,\n fluenciesOptions,\n positionOptions: basePositionOptions,\n specializationOptions,\n } = formOptions;\n\n const isOperator = person.displayedPosition === \"Operator\";\n\n const positionOptions = useMemo(() => {\n if (isOperator) return [...(basePositionOptions || []), { label: \"Operator\", value: \"Operator\" }];\n return basePositionOptions;\n }, [isOperator, basePositionOptions]);\n\n const isPlaceBrand = theme.name === \"place-theme\";\n\n const { licensed_since: licensedSince, organization_start_date: organizationStartDate } =\n person.milestones || {};\n const { active, role, lastSeen } = person.loginUserAttributes || {};\n const roleOptions = useMemo(\n () =>\n role === \"Account Owner\"\n ? [{ label: \"Account Owner\", value: \"Account Owner\" }]\n : [\n { label: \"Agent\", value: \"Agent\" },\n { label: \"Administrator\", value: \"Administrator\" },\n ],\n [role],\n );\n\n useGetServiceAreaOptions(serviceAreaInput, setServiceAreaOptions);\n\n const setPosition = () => {\n if (isOperator) return reshapeDropdownValue(person.displayedPosition);\n\n return person.position ? reshapeDropdownValue(person.position) : null;\n };\n\n return (\n
\n
User Details
\n\n {!active && (\n <>\n
This user has been archived
\n dispatch(setPersonValue({ key: \"loginUserAttributes.lastSeen\", value }))}\n required\n />\n dispatch(setPersonValue({ key: \"reasonForLeaving\", value }))}\n />\n \n )}\n dispatch(setPersonValue({ key: \"loginUserAttributes.role\", value }))}\n defaultValue=\"Agent\"\n toolTipPlacement=\"right\"\n toolTipInfoContent={\n
\n
\n User Types define each team member’s permissions within the account.\n
\n
\n Administrators and the Account Owner have access to everything.\n
\n
\n Agents cannot change settings or edit the account and\n
\n
can only view listings and people which they are granted access to.
\n
\n }\n disabled={!currentUser.account.isAdmin || role === \"Account Owner\"}\n />\n dispatch(setPersonValue({ key: \"position\", value }))}\n data-cy=\"select_position\"\n disabled={isOperator}\n />\n \n
\n Unlicensed: User is not a licensed real estate agent.\n
\n
\n Licensed - Inactive Agent: User is a licensed real estate agent but does not perform\n transactions.\n
\n
\n Licensed - Active Agent: User is a licensed real estate agent and actively performs\n transactions.\n
\n
\n }\n onChange={({ value }) => dispatch(setPersonValue({ key: \"agentStatus\", value }))}\n data-cy=\"select_agent_status\"\n />\n {!!person.agentStatus && person.agentStatus !== \"Unlicensed\" && (\n <>\n {person.agentStatus !== \"Inactive\" && (\n dispatch(setPersonValue({ key: \"agentHours\", value }))}\n />\n )}\n {\n dispatch(setPersonValue({ key: \"isRealEstateLlc\", value: value === \"Yes\" }));\n if (value === \"No\") {\n dispatch(setPersonValue({ key: \"individualRealEstateLlcName\", value: null }));\n }\n }}\n />\n {person.isRealEstateLlc && (\n dispatch(setPersonValue({ key: \"individualRealEstateLlcName\", value }))}\n required\n />\n )}\n \n )}\n
\n dispatch(setPersonValue({ key: \"milestones.organization_start_date\", value }))}\n />\n\n {!!person.agentStatus && person.agentStatus !== \"Unlicensed\" && (\n dispatch(setPersonValue({ key: \"milestones.licensed_since\", value }))}\n />\n )}\n
\n {!!person.agentStatus && person.agentStatus !== \"Unlicensed\" && (\n <>\n dispatch(setPersonValue({ key: \"contractAgreementLink\", value }))}\n />\n dispatch(setPersonValue({ key: \"previousBrokerageName\", value }))}\n />\n \n \n {\n const tempServiceAreas =\n !person.serviceAreas || person.serviceAreas.length <= 0\n ? [value]\n : [...person.serviceAreas, value];\n\n dispatch(setPersonValue({ key: \"serviceAreas\", value: [...tempServiceAreas] }));\n }}\n onRemove={(target) =>\n dispatch(\n setPersonValue({\n key: \"serviceAreas\",\n value: person.serviceAreas.filter((item) => item !== target),\n }),\n )\n }\n />\n\n dispatch(setPersonValue({ key: \"specializations\", value: [...value] }))}\n options={specializationOptions}\n onRemove={(target) =>\n dispatch(\n setPersonValue(\n \"specializations\",\n person.specializations.filter((item) => item !== target),\n ),\n )\n }\n />\n \n )}\n\n \n {\n const tempFluencies =\n !person.fluencies || person.fluencies.length <= 0 ? [value] : [...person.fluencies, value].sort();\n\n dispatch(setPersonValue({ key: \"fluencies\", value: [...tempFluencies] }));\n }}\n onRemove={(target) =>\n dispatch(\n setPersonValue({\n key: \"fluencies\",\n value: person.fluencies.filter((item) => item !== target),\n }),\n )\n }\n />\n {!featureFlags.userUpdate && }\n {isPlaceBrand && (\n <>\n {person.revenuePartnerType ? (\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextV1\n label=\"Revenue Partner\"\n toolTipInfoContent={\n <div className=\"tw-text-left tw-text-12d\">Who referred this user to PLACE.</div>\n }\n toolTipPlacement=\"top\"\n readOnly\n value={\n person.revenuePartnerType === \"Person\" ||\n (!person.revenuePartnerType && person.revenuePartnerPersonName)\n ? `${person.revenuePartnerPersonName}${\n person.revenuePartnerPersonTeamName ? ` (${person.revenuePartnerPersonTeamName})` : \"\"\n }`\n : REV_TYPE_MAP_SRC[person.revenuePartnerType]\n }\n />\n </div>\n ) : (\n <Button\n className=\"tw-w-fit\"\n onClick={() => setIsAddingRevenuePartner(true)}\n data-cy=\"add_revenue_partner_btn\"\n disabled={!currentUser.account.isAdmin}\n >\n <Plus className=\"tw-mr-4px\" size=\"s\" />\n Revenue Partner\n </Button>\n )}\n </>\n )}\n\n {!isPlaceBrand && (\n <>\n {person.sponsorName ? (\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextV1\n label=\"Sponsor Name\"\n toolTipInfoContent={<div>Who referred this user to your company.</div>}\n disabled\n value={person.sponsorName}\n />\n <FieldEmailV1\n label=\"Sponsor Email\"\n value={person.sponsorEmail}\n onChange={(value) => dispatch(setPersonValue({ key: \"sponsorEmail\", value }))}\n />\n </div>\n ) : (\n <Button\n className=\"tw-w-fit tw-flex tw-items-center\"\n onClick={() => setIsAddingSponsor(true)}\n disabled={!currentUser.account.isAdmin}\n >\n <Plus className=\"tw-mr-4px\" size=\"s\" />\n Sponsor\n </Button>\n )}\n </>\n )}\n\n {isAddingSponsor && (\n <AddSponsorModal show={isAddingSponsor} onClose={() => setIsAddingSponsor(false)} />\n )}\n {isAddingRevenuePartner && (\n <AddRevenuePartnerModal\n show={isAddingRevenuePartner}\n onClose={() => setIsAddingRevenuePartner(false)}\n />\n )}\n {isPlaceBrand && (\n <div className=\"tw-flex tw-items-center tw-gap-[12px]\">\n <Toggle\n id=\"roster_toggle\"\n checked={person.exportToRoster === \"false\"}\n onChange={() =>\n dispatch(\n setPersonValue({\n key: \"exportToRoster\",\n value: person.exportToRoster === \"true\" ? \"false\" : \"true\",\n }),\n )\n }\n text={null}\n data-cy=\"roster-toggle_field\"\n />\n <FieldLabelV1\n {...{\n label: \"Hide user from Roster\",\n toolTipInfoContent: (\n <div className=\"tw-text-left tw-max-w-[220px]\">\n <p>Turn on if user is not a unique representation of a real person in the PLACE network.</p>\n <p>\n Examples include:\n <ul className=\"tw-pl-[20px]\">\n <li>Duplicates of PLACE users who already exist in another CRM</li>\n <li>Users which do not represent real people (e.g. "Marketing Manager").</li>\n </ul>\n </p>\n </div>\n ),\n toolTipPlacement: \"right\",\n }}\n />\n </div>\n )}\n </div>\n );\n}\n\nexport default UserDetailsView;\n","/* eslint-disable no-underscore-dangle */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport { isStrInputLen } from \"../../ModalViews/helpers\";\nimport FieldSelect from \"../../../shared/UtilsV1/FieldSelect\";\nimport FieldLabelV1 from \"../../../shared/UtilsV1/FieldLabelV1\";\nimport Radio from \"../../../shared/UtilsV1/FieldRadioV1/Radio\";\nimport RemoveFieldButton from \"../../../shared/v2/RemoveFieldButton\";\n\nfunction EmailView({\n emailDetails,\n value: currentEmail,\n index,\n setPersonValue,\n options,\n removable,\n required,\n}) {\n const onPrimaryChange = (emailPosition) => {\n const tempEmailDetails = emailDetails.map(({ set_main_email: _, ...email }) => {\n if (email.position === 1) {\n return { ...email, position: emailPosition };\n }\n if (email.position === emailPosition) {\n return { ...email, position: 1, set_main_email: true };\n }\n return email;\n });\n\n setPersonValue({ key: \"emailDetailsAttributes\", value: tempEmailDetails });\n };\n\n const onRemove = (targetEmail) => {\n const filteredEmailDetails = emailDetails.map((email) => {\n // Setting value to empty string currently necessary to trigger manage_main_email_state on Person record\n // when removing an email and to get a .changes from ActiveRecord for timeline_publishable\n if (email === targetEmail) return { ...email, value: `delete${email.value}`, _destroy: true };\n return email;\n });\n\n if (targetEmail.position === 1 && filteredEmailDetails.length > 0) {\n filteredEmailDetails[0].position = 1;\n }\n setPersonValue({ key: \"emailDetailsAttributes\", value: filteredEmailDetails });\n };\n\n const updateEmail = (targetEmail, value) =>\n setPersonValue({\n key: \"emailDetailsAttributes\",\n value: emailDetails.map((email) => {\n if (email !== targetEmail) return email;\n return { ...email, ...value };\n }),\n });\n\n return currentEmail?._destroy ? null : (\n <div className=\"tw-flex\" data-cy={`email_${index}`}>\n <div className=\"tw-flex tw-gap-[24px] tw-flex-auto\">\n <TextComboInput\n label=\"Email\"\n isRequired={required}\n value={currentEmail.value}\n containerClassName=\"tw-flex-1\"\n error={required && isStrInputLen(currentEmail.value)}\n onChange={(e) => {\n updateEmail(currentEmail, { value: e.target.value });\n }}\n data-cy=\"email-email-view\"\n />\n <div className=\"tw-flex tw-gap-[8px] tw-flex-1\">\n <FieldSelect\n label=\"Email Type\"\n options={options}\n onChange={(newValue) => updateEmail(currentEmail, { category: newValue })}\n value={currentEmail.category}\n placeholder=\"Choose One\"\n />\n\n {removable && (\n <RemoveFieldButton onClick={() => onRemove(currentEmail)} className=\"tw-mt-auto tw-mb-1px\" />\n )}\n </div>\n </div>\n\n <div>\n <FieldLabelV1 label=\"Primary\" />\n <div\n aria-label=\"primary\"\n className=\"tw-flex tw-justify-center tw-items-center tw-py-4 \"\n onClick={() => onPrimaryChange(currentEmail.position)}\n onKeyDown={() => onPrimaryChange(currentEmail.position)}\n role=\"button\"\n tabIndex=\"0\"\n >\n <Radio checked={currentEmail.position === 1} />\n </div>\n </div>\n </div>\n );\n}\nEmailView.propTypes = {\n emailDetails: PropTypes.arrayOf(PropTypes.shape({})),\n setPersonValue: PropTypes.func.isRequired,\n\n value: PropTypes.shape({\n category: PropTypes.string,\n id: PropTypes.number,\n name: PropTypes.string,\n position: PropTypes.number,\n value: PropTypes.string,\n _destroy: PropTypes.bool,\n }),\n index: PropTypes.number,\n removable: PropTypes.bool,\n options: PropTypes.arrayOf(PropTypes.shape({})),\n required: PropTypes.bool,\n};\n\nEmailView.defaultProps = {\n emailDetails: [],\n options: [],\n value: null,\n index: null,\n removable: false,\n required: false,\n};\n\nexport default EmailView;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport EmailView from \"./EmailView\";\nimport Button from \"../../../shared/v2/Button\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport { Plus } from \"../../../shared/v2/Icomoon\";\nimport { useFilterListOptions } from \"../../../Settings/Users/helper/hookHelper\";\n\nconst EmailTypeOptions = [\n { label: \"Personal\", value: \"personal\", isTaken: false, index: null },\n { label: \"Work\", value: \"work\", isTaken: false, index: null },\n { label: \"Other\", value: \"other\", isTaken: false, index: null },\n];\n\nfunction AddEmailSection({ required, emailDetails, setPersonValue, isDisplayByDefault }) {\n const [emailOptions, setEmailOptions] = useState([]);\n\n useFilterListOptions(EmailTypeOptions, setEmailOptions, emailDetails, \"category\");\n const onAddEmail = () => {\n const initEmail = {\n category: emailOptions.find((o) => !o.isTaken)?.value,\n position: emailDetails.length + 1,\n value: \"\",\n tempId: Date.now(),\n };\n if (emailDetails.length > 0) {\n setPersonValue({ key: \"emailDetailsAttributes\", value: [...emailDetails, { ...initEmail }] });\n } else {\n setPersonValue({ key: \"emailDetailsAttributes\", value: [{ ...initEmail, setMainEmail: true }] });\n }\n };\n\n useEffect(() => {\n if ((required || isDisplayByDefault) && emailDetails.length <= 0) {\n onAddEmail();\n }\n }, []);\n\n return (\n <>\n {emailDetails.length > 0 ? (\n <div>\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n {emailDetails.map((email, index) => (\n <EmailView\n key={email.id ? email.id : email.tempId}\n value={email}\n index={index}\n required={required}\n options={emailOptions\n .filter((option) => !option.isTaken || option.index === index)\n .map((option) => ({ label: option.label, value: option.value }))}\n emailDetails={emailDetails}\n setPersonValue={setPersonValue}\n removable={!((required || isDisplayByDefault) && email.position === 1)}\n />\n ))}\n </div>\n\n <TextButton onClick={onAddEmail} className=\"tw-mt-[8px]\" data-cy=\"add_emails_btn\">\n <div className=\"tw-flex tw-gap-1 tw-items-center\">\n <Plus size=\"s\" />\n <div className=\"tw-text-[11px] tw-uppercase tw-font-bold\">Email</div>\n </div>\n </TextButton>\n </div>\n ) : (\n <Button\n onClick={onAddEmail}\n className=\"tw-w-fit tw-flex tw-items-center\"\n data-cy=\"add_init_email_btn\"\n >\n <Plus className=\"tw-mr-4px\" size=\"s\" /> Add Email\n </Button>\n )}\n </>\n );\n}\n\nAddEmailSection.propTypes = {\n required: PropTypes.bool,\n isDisplayByDefault: PropTypes.bool,\n emailDetails: PropTypes.arrayOf(PropTypes.shape({})),\n setPersonValue: PropTypes.func.isRequired,\n};\n\nAddEmailSection.defaultProps = {\n required: false,\n isDisplayByDefault: false,\n emailDetails: [],\n};\nexport default AddEmailSection;\n","import React from \"react\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport TextInput from \"../v2/TextInput\";\n\nfunction FieldPhoneV1({\n className = \"\",\n placeholder = \"\",\n onChange,\n required,\n label,\n value = \"\",\n flexStyle = \"tw-flex-1 \",\n disabled,\n}) {\n return (\n <div className={flexStyle} data-cy={`${label}`}>\n <TextInput\n label={label}\n isRequired={required}\n placeholder={placeholder}\n className={className}\n onChange={(e) => onChange(e.target.value)}\n disabled={disabled}\n value={value}\n />\n </div>\n );\n}\n\nexport default FieldPhoneV1;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\n\nconst PhoneNumberModal = ({ showContext, onClose }) => {\n const { changedNumbers, conversationCount } = showContext || {};\n return (\n <Modal\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[640px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n show={Boolean(showContext)}\n onHide={onClose}\n closeOnEscape={false}\n >\n <Modal.Header title=\"Are you sure?\" closeButton />\n {changedNumbers?.length === 1 && (\n <Modal.Body>\n <strong>\n Are you sure you want to {changedNumbers[0].currentNumber ? \"change\" : \"delete\"} the\n contact's phone number\n {` ${changedNumbers[0].currentNumber ? \"from\" : \"\"} ${changedNumbers[0].previousNumber}`}\n {changedNumbers[0].currentNumber ? ` to ${changedNumbers[0].currentNumber}` : \"\"}?\n </strong>{\" \"}\n This will archive {conversationCount} existing conversation{conversationCount > 1 ? \"s\" : \"\"} with\n this phone number, and you will lose all conversation history. Existing timeline events will remain.\n </Modal.Body>\n )}\n {changedNumbers?.length > 1 && (\n <Modal.Body className=\"tw-flex tw-flex-col tw-gap-[16px]\">\n <div>\n The following actions will archive {showContext.conversationCount} existing conversation\n {showContext.conversationCount > 1 && \"s\"} with their respective phone numbers. You will lose all\n conversation history. Existing timeline events will remain.\n </div>\n <ul>\n {changedNumbers.map((changedNumber, i) => {\n if (changedNumber.currentNumber) {\n return (\n // eslint-disable-next-line react/no-array-index-key\n <li key={i}>\n Phone number changed from {changedNumber.previousNumber} to {changedNumber.currentNumber}\n </li>\n );\n }\n // eslint-disable-next-line react/no-array-index-key\n return <li key={i}>{changedNumber.previousNumber} has been removed from this contact</li>;\n })}\n </ul>\n </Modal.Body>\n )}\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button schema=\"tertiary\" size=\"medium\" onClick={() => onClose(false)}>\n Cancel\n </Button>\n <Button schema=\"warning\" size=\"medium\" onClick={() => onClose(true)}>\n {changedNumbers?.[0]?.currentNumber ? \"Change\" : \"Delete\"} Phone Number\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nPhoneNumberModal.propTypes = {\n showContext: PropTypes.shape({\n changedNumbers: PropTypes.arrayOf(\n PropTypes.shape({\n previousNumber: PropTypes.string,\n currentNumber: PropTypes.string,\n }),\n ),\n conversationCount: PropTypes.number,\n }),\n onClose: PropTypes.func.isRequired,\n};\n\nPhoneNumberModal.defaultProps = {\n showContext: null,\n};\n\nexport default PhoneNumberModal;\n","/* eslint-disable no-underscore-dangle */\nimport React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldPhoneV1 from \"../../../shared/UtilsV1/FieldPhoneV1\";\nimport FieldSelect from \"../../../shared/UtilsV1/FieldSelect\";\nimport FieldLabelV1 from \"../../../shared/UtilsV1/FieldLabelV1\";\nimport Radio from \"../../../shared/UtilsV1/FieldRadioV1/Radio\";\nimport RemoveFieldButton from \"../../../shared/v2/RemoveFieldButton\";\nimport PhoneNumberModal from \"../../PhoneNumberModal\";\n\nfunction PhoneView({ removable, currentPhone, index, required, phoneList, setPersonValue, options }) {\n const [showContext, setShowContext] = useState(null);\n const { category, value: currentPhoneNumber } = currentPhone;\n const isPrimary = currentPhone.position === 1;\n\n const onPrimaryChange = (phonePosition) => {\n const tempPhoneList = phoneList.map((phone) => {\n if (phone.position === 1) {\n return { ...phone, position: phonePosition };\n }\n if (phone.position === phonePosition) {\n return { ...phone, position: 1 };\n }\n return phone;\n });\n\n setPersonValue({ key: \"phoneDetailsAttributes\", value: tempPhoneList });\n };\n\n const onRemove = (targetPhone) => {\n const filteredPhoneList = phoneList.map((phone) => {\n // Setting value to empty string to get a .changes from ActiveRecord for timeline_publishable\n if (phone === targetPhone) return { ...phone, value: \"\", _destroy: true };\n return phone;\n });\n\n if (targetPhone.position === 1) {\n filteredPhoneList[0].position = 1;\n }\n setPersonValue({ key: \"phoneDetailsAttributes\", value: filteredPhoneList });\n };\n\n const updatePhone = (targetPhone, value) =>\n setPersonValue({\n key: \"phoneDetailsAttributes\",\n value: phoneList.map((phone) => {\n if (phone !== targetPhone) return phone;\n return { ...phone, ...value };\n }),\n });\n\n return currentPhone?._destroy ? null : (\n <div className=\"tw-flex\">\n <div className=\"tw-flex tw-gap-[24px] tw-items-center tw-flex-auto\">\n <FieldPhoneV1\n label=\"Phone\"\n value={currentPhoneNumber}\n onChange={(value) => updatePhone(currentPhone, { value })}\n required={required && index === 0}\n />\n <div className=\"tw-flex tw-gap-[8px] tw-flex-1\">\n <FieldSelect\n label=\"Phone Type\"\n options={options}\n placeholder=\"Choose One\"\n onChange={(value) => updatePhone(currentPhone, { category: value })}\n value={category}\n />\n\n {removable && (\n <RemoveFieldButton\n onClick={() => {\n if (currentPhone.archiveConversationsCount > 0) {\n setShowContext({\n changedNumbers: [{ previousNumber: currentPhoneNumber }],\n conversationCount: currentPhone.archiveConversationsCount,\n });\n } else {\n onRemove(currentPhone);\n }\n }}\n className=\"tw-mb-1px tw-mt-auto\"\n />\n )}\n </div>\n </div>\n\n <div>\n <FieldLabelV1 label=\"Primary\" />\n <div\n aria-label=\"primary\"\n className=\"tw-flex tw-justify-center tw-items-center tw-py-4\"\n onClick={() => onPrimaryChange(currentPhone.position)}\n onKeyDown={() => onPrimaryChange(currentPhone.position)}\n role=\"button\"\n tabIndex=\"0\"\n >\n <Radio checked={isPrimary} />\n </div>\n </div>\n <PhoneNumberModal\n showContext={showContext}\n onClose={(phoneRemovalAck) => {\n if (phoneRemovalAck) onRemove(currentPhone);\n setShowContext(null);\n }}\n />\n </div>\n );\n}\nconst phonePropTypeShape = PropTypes.shape({\n category: PropTypes.string,\n id: PropTypes.number,\n name: PropTypes.string,\n position: PropTypes.number,\n value: PropTypes.string,\n _destroy: PropTypes.bool,\n archiveConversationsCount: PropTypes.number,\n});\nPhoneView.propTypes = {\n removable: PropTypes.bool,\n currentPhone: phonePropTypeShape,\n index: PropTypes.number,\n phoneList: PropTypes.arrayOf(phonePropTypeShape),\n required: PropTypes.bool,\n setPersonValue: PropTypes.func.isRequired,\n options: PropTypes.arrayOf(PropTypes.shape({})),\n};\n\nPhoneView.defaultProps = {\n removable: false,\n currentPhone: null,\n index: null,\n required: false,\n phoneList: [],\n options: [],\n};\n\nexport default PhoneView;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../../shared/v2/Button\";\nimport { Plus } from \"../../../shared/v2/Icomoon\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport PhoneView from \"./PhoneView\";\nimport { useFilterListOptions } from \"../../../Settings/Users/helper/hookHelper\";\n\nconst PhoneTypeOptions = [\n { label: \"Home\", value: \"home\", isTaken: false, index: null },\n { label: \"Mobile\", value: \"mobile\", isTaken: false, index: null },\n { label: \"Work\", value: \"work\", isTaken: false, index: null },\n { label: \"Other\", value: \"other\", isTaken: false, index: null },\n];\n\nfunction AddPhoneSection({ phoneList, required = false, setPersonValue, isDisplayByDefault = false }) {\n const [phoneOptions, setPhoneOptions] = useState([]);\n\n useFilterListOptions(PhoneTypeOptions, setPhoneOptions, phoneList, \"category\");\n\n const onAddPhone = () => {\n const defaultPhone = {\n category: phoneOptions.find((o) => !o.isTaken)?.value,\n name: \"phone\",\n position: phoneList.length + 1,\n value: \"\",\n tempId: Date.now(),\n };\n if (phoneList.length > 0) {\n setPersonValue({ key: \"phoneDetailsAttributes\", value: [...phoneList, { ...defaultPhone }] });\n } else {\n setPersonValue({ key: \"phoneDetailsAttributes\", value: [{ ...defaultPhone }] });\n }\n };\n\n useEffect(() => {\n if ((required || isDisplayByDefault) && phoneList.length <= 0) {\n onAddPhone();\n }\n }, []);\n\n return (\n <>\n {phoneList.length > 0 ? (\n <div>\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n {phoneList.map((phone, index) => (\n <PhoneView\n key={phone.id ? phone.id : phone.tempId}\n currentPhone={phone}\n index={index}\n removable={!((required || isDisplayByDefault) && phone.position === 1)}\n options={phoneOptions\n .filter((option) => !option.isTaken || option.index === index)\n .map((option) => ({ label: option.label, value: option.value }))}\n phoneList={phoneList}\n setPersonValue={setPersonValue}\n />\n ))}\n </div>\n <TextButton onClick={onAddPhone} className=\"tw-mt-[8px]\" data-cy=\"add_phones_btn\">\n <Plus size=\"s\" /> Phone\n </TextButton>\n </div>\n ) : (\n <Button\n onClick={onAddPhone}\n className=\"tw-w-fit tw-flex tw-items-center\"\n data-cy=\"add_init_phone_btn\"\n >\n <Plus className=\"tw-mr-4px\" size=\"s\" /> Add Phone\n </Button>\n )}\n </>\n );\n}\n\nAddPhoneSection.propTypes = {\n required: PropTypes.bool,\n phoneList: PropTypes.arrayOf(PropTypes.shape({})),\n setPersonValue: PropTypes.func.isRequired,\n isDisplayByDefault: PropTypes.bool,\n};\n\nAddPhoneSection.defaultProps = {\n required: false,\n isDisplayByDefault: false,\n phoneList: [],\n};\n\nexport default AddPhoneSection;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport styleSchema from \"./FieldStyle\";\nimport { CaretDown, CaretUp } from \"../v2/Icomoon\";\n\nconst schemaBasedClasses = (schemaName) => styleSchema[schemaName] || styleSchema.default;\n\nfunction FieldSelectWithCategoryOptionsWithSearchableDropdown({\n placeholder,\n options,\n optionsForValueMatch,\n value,\n onChange,\n className,\n label,\n required,\n flexStyle,\n toolTipInfoContent,\n toolTipPlacement,\n disabled,\n searchable,\n ...otherProps\n}) {\n const [isDropdownOpen, setIsDropdownOpen] = useState(false);\n let schemaKey = disabled ? \"disabled\" : \"regular\";\n\n const classes = `${schemaBasedClasses(schemaKey)} ${className}`;\n\n const [searchInputText, setSearchInputText] = useState(\"\");\n const [filteredSearchOptions, setFilteredSearchOptions] = useState(options);\n\n const ref = useRef();\n useEffect(() => {\n const checkIfClickedOutside = (e) => {\n if (isDropdownOpen && ref.current && !ref.current.contains(e.target)) {\n setIsDropdownOpen(false);\n setSearchInputText(\"\");\n }\n };\n document.addEventListener(\"mousedown\", checkIfClickedOutside);\n\n return () => {\n document.removeEventListener(\"mousedown\", checkIfClickedOutside);\n };\n }, [isDropdownOpen]);\n\n useEffect(() => {\n if (searchInputText) {\n setFilteredSearchOptions(\n [\n ...options.map((category) => ({\n category: category.category,\n options: category.options.filter((option) =>\n option.label.toLowerCase().includes(searchInputText.toLowerCase()),\n ),\n })),\n ].filter((category) => category?.options.length > 0),\n );\n } else {\n setFilteredSearchOptions(options);\n }\n }, [searchInputText]);\n\n return (\n <div className={`${flexStyle}`} data-cy={`${label}`}>\n {label && (\n <FieldLabelV1\n {...{\n label,\n required,\n toolTipInfoContent,\n toolTipPlacement,\n }}\n />\n )}\n <div className=\"tw-relative\" ref={ref}>\n <input\n type=\"button\"\n value={!!value ? optionsForValueMatch.find((option) => option.value === value)?.label : placeholder}\n className={`${classes} ${!value ? \"tw-text-neutral-gray-50\" : \"\"}`}\n onClick={() => {\n setIsDropdownOpen((prev) => !prev);\n }}\n {...otherProps}\n />\n\n <div className=\"tw-text-neutral-gray-75 tw-absolute tw-right-[12px] tw-top-[9px]\">\n {isDropdownOpen ? <CaretUp /> : <CaretDown />}\n </div>\n\n {isDropdownOpen && (\n <div className=\"tw-text-left tw-border tw-border-solid tw-border-neutral-gray-15 tw-text-sm tw-whitespace-nowrap tw-absolute tw-z-10 tw-bg-white tw-rounded tw-max-h-[256px] tw-overflow-auto tw-w-fit\">\n {searchable && (\n <div className=\"tw-p-[8px]\">\n <input\n type=\"text\"\n value={searchInputText}\n onChange={(e) => setSearchInputText(e.target.value)}\n placeholder=\"Search\"\n className={`${classes} tw-h-[24px]`}\n data-cy=\"category_dropdown_search_input\"\n />\n </div>\n )}\n {filteredSearchOptions?.map((categoryOptions) => {\n return (\n <div key={categoryOptions.category}>\n <div className=\"tw-bg-tinted-gray-50 tw-px-[14px] tw-py-1\">{categoryOptions.category}</div>\n {categoryOptions.options.map((subOption) => {\n return (\n <div\n key={subOption.label}\n className=\"hover:tw-bg-tinted-gray-50 tw-px-[14px] tw-py-1\"\n onClick={() => {\n onChange(subOption.value);\n setIsDropdownOpen(false);\n setSearchInputText(\"\");\n }}\n data-cy={`${subOption.label}`}\n >\n {subOption.label}\n </div>\n );\n })}\n </div>\n );\n })}\n {filteredSearchOptions.length <= 0 && (\n <div className=\"tw-px-[14px] tw-py-1\">No option available</div>\n )}\n </div>\n )}\n </div>\n </div>\n );\n}\nFieldSelectWithCategoryOptionsWithSearchableDropdown.propTypes = {\n label: PropTypes.string,\n required: PropTypes.bool,\n flexStyle: PropTypes.string,\n className: PropTypes.string,\n error: PropTypes.string,\n placeholder: PropTypes.string,\n disabled: PropTypes.bool,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n category: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, value: PropTypes.string })),\n }),\n ),\n optionsForValueMatch: PropTypes.arrayOf(\n PropTypes.shape({ label: PropTypes.string, value: PropTypes.string }),\n ),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n onChange: PropTypes.func.isRequired,\n searchable: PropTypes.bool,\n};\n\nFieldSelectWithCategoryOptionsWithSearchableDropdown.defaultProps = {\n label: \"\",\n required: false,\n flexStyle: \"tw-flex-1\",\n className: \"\",\n error: \"\",\n placeholder: \"Select\",\n disabled: false,\n options: [\n { category: \"Category 1\", options: [{ label: \"option1\", value: \"option1\" }] },\n { category: \"Category 2\", options: [{ label: \"option2\", value: \"option2\" }] },\n ],\n optionsForValueMatch: [\n [\n { label: \"option1\", value: \"option1\" },\n { label: \"option2\", value: \"option2\" },\n ],\n ],\n searchable: false,\n value: \"\",\n};\nexport default FieldSelectWithCategoryOptionsWithSearchableDropdown;\n","/* eslint-disable no-underscore-dangle */\nimport React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport FieldSelect from \"../../../shared/UtilsV1/FieldSelect\";\nimport FieldSelectWithCategoryOptionsWithSearchableDropdown from \"../../../shared/UtilsV1/FieldSelectWithCategoryOptionsWithSearchableDropdown\";\nimport RemoveFieldButton from \"../../../shared/v2/RemoveFieldButton\";\n\nfunction AddressView({\n removable,\n currentAddress,\n index,\n setPersonValue,\n options,\n addressList,\n stateOptions,\n}) {\n const { addressType, city, postalCode, streetAddress, locality } = currentAddress;\n\n const optionsForValueMatch = useMemo(\n () =>\n [].concat(\n ...stateOptions.map((category) =>\n category.options.map((option) => ({ label: option.value, value: option.value })),\n ),\n ),\n [stateOptions],\n );\n\n const onRemove = (targetAddress) => {\n let filteredAddressList = addressList;\n if (Object.hasOwnProperty.call(targetAddress, \"id\")) {\n filteredAddressList = addressList.map((address) =>\n address === targetAddress ? { ...address, _destroy: true } : address,\n );\n } else {\n filteredAddressList = addressList.filter((address) => address !== targetAddress);\n }\n\n setPersonValue({ key: \"addressesAttributes\", value: filteredAddressList });\n };\n\n const updateAddress = (targetAddress, value) =>\n setPersonValue({\n key: \"addressesAttributes\",\n value: addressList.map((address) => {\n if (address !== targetAddress) return address;\n return { ...address, ...value };\n }),\n });\n\n return currentAddress._destroy ? null : (\n <div className={`tw-flex tw-flex-col tw-gap-[24px] ${index !== 0 ? \"tw-mt-[24px]\" : \"\"}`}>\n <div className=\"tw-flex tw-gap-2 tw-flex-1\">\n <FieldSelect\n label=\"Address Type\"\n options={options}\n onChange={(newValue) => updateAddress(currentAddress, { addressType: newValue })}\n value={addressType}\n placeholder=\"Choose One\"\n />\n\n {removable && (\n <RemoveFieldButton onClick={() => onRemove(currentAddress)} className=\"tw-mt-auto tw-mb-[1px]\" />\n )}\n </div>\n <TextInput\n label=\"Street Address\"\n onChange={(e) => updateAddress(currentAddress, { streetAddress: e.target.value })}\n value={streetAddress}\n />\n <div className=\"tw-flex tw-items-center tw-gap-6\">\n <TextInput\n label=\"City\"\n onChange={(e) => updateAddress(currentAddress, { city: e.target.value })}\n value={city}\n />\n <div className=\"tw-flex-1 tw-flex tw-gap-3\">\n <FieldSelectWithCategoryOptionsWithSearchableDropdown\n flexStyle=\"tw-flex-1 tw-flex tw-flex-col tw-gap-[3px]\"\n label=\"State / Province\"\n options={[...stateOptions]}\n optionsForValueMatch={optionsForValueMatch}\n onChange={(value) => updateAddress(currentAddress, { locality: value })}\n value={locality}\n placeholder=\"Select\"\n searchable\n />\n <TextInput\n label=\"ZIP / Postal Code\"\n onChange={(e) => updateAddress(currentAddress, { postalCode: e.target.value })}\n value={postalCode}\n />\n </div>\n </div>\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\" />\n </div>\n );\n}\nconst addressPropType = PropTypes.shape({\n addressType: PropTypes.string,\n city: PropTypes.string,\n country: PropTypes.string,\n locality: PropTypes.string,\n streetAddress: PropTypes.string,\n postalCode: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n id: PropTypes.number,\n _destroy: PropTypes.bool,\n});\nAddressView.propTypes = {\n removable: PropTypes.bool,\n currentAddress: addressPropType,\n index: PropTypes.number,\n setPersonValue: PropTypes.func.isRequired,\n addressList: PropTypes.arrayOf(addressPropType),\n stateOptions: PropTypes.arrayOf(\n PropTypes.shape({\n category: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, value: PropTypes.string })),\n }),\n ).isRequired,\n options: PropTypes.arrayOf(PropTypes.shape({})),\n};\n\nAddressView.defaultProps = {\n removable: false,\n currentAddress: null,\n index: null,\n addressList: [],\n options: [],\n};\nexport default AddressView;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../../shared/v2/Button\";\nimport { Plus } from \"../../../shared/v2/Icomoon\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport AddressView from \"./AddressView\";\nimport { useFilterListOptions } from \"../../../Settings/Users/helper/hookHelper\";\n\nconst ADDRESS_TYPES = [\n { label: \"Home\", value: \"home\", isTaken: false, index: null },\n { label: \"Work\", value: \"work\", isTaken: false, index: null },\n { label: \"Mailing\", value: \"mailing\", isTaken: false, index: null },\n { label: \"Investment\", value: \"investment\", isTaken: false, index: null },\n { label: \"Other\", value: \"other\", isTaken: false, index: null },\n];\n\nfunction AddAddressSection({\n addressList,\n stateOptions,\n required,\n setPersonValue,\n isDisplayByDefault,\n modalType,\n}) {\n const [addressOptions, setAddressOptions] = useState([]);\n\n useFilterListOptions(ADDRESS_TYPES, setAddressOptions, addressList, \"addressType\");\n\n const onAddAddress = () => {\n const defaultAddress = {\n addressType: addressList?.length === 0 ? \"home\" : addressOptions.find((o) => !o.isTaken)?.value,\n city: \"\",\n country: null,\n locality: \"\",\n postalCode: \"\",\n streetAddress: \"\",\n tempId: Date.now(),\n };\n\n if (addressList?.length > 0) {\n setPersonValue({ key: \"addressesAttributes\", value: [...addressList, { ...defaultAddress }] });\n } else {\n setPersonValue({ key: \"addressesAttributes\", value: [{ ...defaultAddress }] });\n }\n };\n\n useEffect(() => {\n if ((required || isDisplayByDefault) && addressList.length <= 0) {\n onAddAddress();\n }\n }, []);\n\n return (\n <>\n {addressList.length > 0 ? (\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\" />\n <div className=\"tw-text-18d tw-text-neutral-gray-50\">Addresses</div>\n {modalType === \"user\" && (\n <div className=\"tw-text-gray-50\">\n Work addresses are displayed on Brivity websites. No other address types will be displayed\n there.\n </div>\n )}\n {addressList.map((address, index) => (\n <AddressView\n key={address.id ? address.id : address.tempId}\n currentAddress={address}\n index={index}\n removable={index !== 0 || !(required || isDisplayByDefault)}\n options={addressOptions\n .filter((option) => !option.isTaken || option.index === index)\n .map((option) => ({ label: option.label, value: option.value }))}\n addressList={addressList}\n stateOptions={stateOptions}\n setPersonValue={setPersonValue}\n />\n ))}\n <TextButton\n onClick={onAddAddress}\n className=\"tw-self-start tw-mt-[-12px]\"\n data-cy=\"add_addresses_btn\"\n >\n <Plus size=\"s\" /> Address\n </TextButton>\n </div>\n ) : (\n <Button\n onClick={onAddAddress}\n className=\"tw-w-fit tw-flex tw-items-center\"\n data-cy=\"add_init_address_btn\"\n >\n <Plus className=\"tw-mr-4px\" size=\"s\" />\n Add Address\n </Button>\n )}\n </>\n );\n}\n\nconst addressPropType = PropTypes.shape({\n addressType: PropTypes.string,\n city: PropTypes.string,\n country: PropTypes.string,\n locality: PropTypes.string,\n streetAddress: PropTypes.string,\n postalCode: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n id: PropTypes.number,\n});\nAddAddressSection.propTypes = {\n modalType: PropTypes.string.isRequired,\n required: PropTypes.bool,\n isDisplayByDefault: PropTypes.bool,\n setPersonValue: PropTypes.func.isRequired,\n addressList: PropTypes.arrayOf(addressPropType),\n stateOptions: PropTypes.arrayOf(\n PropTypes.shape({\n category: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, value: PropTypes.string })),\n }),\n ).isRequired,\n};\n\nAddAddressSection.defaultProps = {\n required: false,\n isDisplayByDefault: false,\n addressList: [],\n};\n\nexport default AddAddressSection;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport { headline2 } from \"@shared/styles\";\nimport AddEmailSection from \"../ModalSections/AddEmailSection\";\nimport AddPhoneSection from \"../ModalSections/AddPhoneSection\";\nimport AddAddressSection from \"../ModalSections/AddAddressSection\";\nimport FieldTextV1 from \"../../shared/UtilsV1/FieldTextV1\";\nimport { containerView } from \"./styles\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\nimport { useContactFormOptions, useContactPerson } from \"../../reducers/contactsReducer/selectors\";\n\nfunction ContactInfoView({ modalType }) {\n const dispatch = useDispatch();\n const formOptions = useContactFormOptions();\n const person = useContactPerson();\n\n useEffect(() => {\n if (person.id) return;\n if (person.firstName) {\n dispatch(setPersonValue({ key: \"letterSalutation\", value: `Dear ${person.firstName}` }));\n }\n if (person.firstName && person.lastName) {\n dispatch(\n setPersonValue({ key: \"envelopeSalutation\", value: `${person.firstName} ${person.lastName}` }),\n );\n }\n }, [person.id, person.firstName, person.lastName]);\n\n return (\n <div className={containerView}>\n <div className={` tw-text-neutral-gray-75 ${headline2}`}>Contact Info</div>\n {modalType === \"user\" && (\n <div className=\"tw-text-gray-50\">\n Only your primary email, work phone and mobile phone can be displayed on your Brivity website.\n </div>\n )}\n <AddEmailSection\n emailDetails={person.emailDetailsAttributes}\n isDisplayByDefault={!person?.id}\n required={modalType === \"user\"}\n setPersonValue={(...args) => dispatch(setPersonValue(...args))}\n />\n <AddPhoneSection\n phoneList={person.phoneDetailsAttributes}\n isDisplayByDefault={modalType === \"lead\" && !person?.id}\n setPersonValue={(...args) => dispatch(setPersonValue(...args))}\n />\n <AddAddressSection\n modalType={modalType}\n isDisplayByDefault={modalType === \"lead\" && !person?.id}\n addressList={person.addressesAttributes}\n setPersonValue={(...args) => dispatch(setPersonValue(...args))}\n stateOptions={formOptions?.stateOptions}\n />\n\n {person.id && (\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextV1\n label=\"Letter Salutation\"\n value={person.letterSalutation}\n onChange={(value) => dispatch(setPersonValue({ key: \"letterSalutation\", value }))}\n />\n <FieldTextV1\n label=\"Envelope Salutation\"\n value={person.envelopeSalutation}\n onChange={(value) => dispatch(setPersonValue({ key: \"envelopeSalutation\", value }))}\n />\n </div>\n )}\n </div>\n );\n}\n\nContactInfoView.propTypes = { modalType: PropTypes.string.isRequired };\n\nexport default ContactInfoView;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { getDaysInMonth } from \"date-fns\";\nimport Dropdown from \"./Dropdown\";\nimport FieldLabel from \"./FieldLabel\";\nimport FieldError from \"./FieldError\";\nimport FieldHelper from \"./FieldHelper\";\nimport IconButton from \"./IconButton\";\nimport { TrashCanSolidV6 } from \"./Icomoon\";\n\nconst MONTH_OPTIONS = [\"01\", \"02\", \"03\", \"04\", \"05\", \"06\", \"07\", \"08\", \"09\", \"10\", \"11\", \"12\"].map((m) => ({\n value: m,\n label: m,\n}));\n\nconst YEAR_OPTIONS = (() => {\n const currentYear = new Date().getFullYear();\n const years = [];\n for (let i = 1900; i <= currentYear; i += 1) {\n const year = i.toString();\n years.push({ value: year, label: year });\n }\n return years;\n})();\n\nconst useDayOptions = (year = 0, month = 1) =>\n useMemo(() => {\n const daysInMonth = getDaysInMonth(new Date(year, month - 1));\n const days = [];\n for (let i = 1; i <= daysInMonth; i += 1) {\n const day = i.toString().padStart(2, \"0\");\n days.push({ value: day, label: day });\n }\n return days;\n }, [year, month]);\n\nconst DropdownDatePicker = ({ className, error, helperText, label, onChange, value }) => {\n const prevValue = useRef(null);\n const [month, setMonth] = useState(null);\n const [day, setDay] = useState(null);\n const [year, setYear] = useState(null);\n const DAY_OPTIONS = useDayOptions(year?.value, month?.value);\n\n useEffect(() => {\n const lastDay = DAY_OPTIONS[DAY_OPTIONS.length - 1];\n if ((day?.value || 0) > lastDay.value) {\n setDay(lastDay);\n }\n }, [DAY_OPTIONS, day]);\n\n const date = useMemo(\n () =>\n month || day || year ? `${year?.value || \"0000\"}-${month?.value || \"\"}-${day?.value || \"\"}` : null,\n [month, day, year],\n );\n\n useEffect(() => {\n if (value !== prevValue.current) {\n const [y, m, d] = (value || \"\").split(\"-\");\n setYear(YEAR_OPTIONS.find((o) => o.value === y) || null);\n setMonth(MONTH_OPTIONS.find((o) => o.value === m) || null);\n setDay(DAY_OPTIONS.find((o) => o.value === d) || null);\n }\n }, [value]);\n\n useEffect(() => {\n prevValue.current = date;\n onChange(date);\n }, [date]);\n\n return (\n <div className={`tw-flex tw-flex-col ${className}`}>\n {label && <FieldLabel className=\"tw-mb-[5px]\" label={label} />}\n <div className={`tw-flex tw-gap-[4px] ${className || \"\"}`}>\n <Dropdown\n containerClassName=\"tw-w-[70px]\"\n placeholder=\"MM\"\n isSearchable\n options={MONTH_OPTIONS}\n value={month}\n onChange={setMonth}\n />\n <Dropdown\n containerClassName=\"tw-w-[70px]\"\n placeholder=\"DD\"\n isSearchable\n options={DAY_OPTIONS}\n value={day}\n onChange={setDay}\n />\n <Dropdown\n containerClassName=\"tw-flex-1\"\n placeholder=\"YYYY\"\n isSearchable\n options={YEAR_OPTIONS}\n value={year}\n onChange={setYear}\n />\n <IconButton\n schema=\"tertiary\"\n className=\"!tw-rounded-[4px] tw-w-[36px] tw-h-[36px]\"\n onClick={() => {\n setYear(null);\n setMonth(null);\n setDay(null);\n }}\n >\n <TrashCanSolidV6 size=\"l\" />\n </IconButton>\n </div>\n {helperText && !error && <FieldHelper helperText={helperText} />}\n {error && <FieldError error={error} />}\n </div>\n );\n};\n\nDropdownDatePicker.propTypes = {\n className: PropTypes.string,\n error: PropTypes.string,\n helperText: PropTypes.string,\n label: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n value: PropTypes.string,\n};\n\nDropdownDatePicker.defaultProps = {\n className: \"\",\n error: \"\",\n helperText: \"\",\n label: \"\",\n value: \"\",\n};\n\nexport default DropdownDatePicker;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"../../shared/UtilsV1/FieldLabelV1\";\nimport TagV1 from \"../../shared/UtilsV1/TagV1\";\nimport Button from \"../../shared/v2/Button\";\nimport { Plus } from \"../../shared/v2/Icomoon\";\nimport FieldSelect from \"../../shared/UtilsV1/FieldSelect\";\n\nfunction TagsSection({ tags, tagOptions, setPersonValue }) {\n const ref = useRef();\n const [isAddingTags, setIsAddingTags] = useState(false);\n\n const currentTagOptions = tagOptions.filter((option) => !tags.find(option.value));\n\n useEffect(() => {\n if (isAddingTags) {\n document.getElementById(\"tag_input_search\").focus();\n }\n const checkIfClickedOutside = (e) => {\n if (isAddingTags && ref.current && !ref.current.contains(e.target)) {\n setIsAddingTags(false);\n }\n };\n document.addEventListener(\"mousedown\", checkIfClickedOutside);\n\n return () => {\n document.removeEventListener(\"mousedown\", checkIfClickedOutside);\n };\n }, [isAddingTags]);\n\n return (\n <div className=\"tw-flex-1\">\n <FieldLabelV1 label=\"Tags\" />\n <div className=\"tw-flex tw-gap-[6px] tw-flex-wrap tw-relative\">\n <Button\n schema=\"secondary\"\n onClick={() => setIsAddingTags(true)}\n className=\"tw-flex tw-items-center\"\n data-cy=\"add_tag_button\"\n >\n <Plus size=\"s\" className=\"tw-mr-[6px]\" />\n ADD\n </Button>\n\n {isAddingTags && (\n <div className=\"tw-absolute\" ref={ref}>\n <FieldSelect\n options={currentTagOptions}\n onChange={(value) => {\n setPersonValue({ key: \"tagNames\", value: [...tags, value] });\n setIsAddingTags(false);\n }}\n className=\"tw-w-[240px]\"\n data-cy=\"tag_section_select\"\n isInputSearchable\n id=\"tag_input_search\"\n dropdownWidth=\"!tw-left-0\"\n isAddNotFound\n />\n </div>\n )}\n {tags?.map((tag) => (\n <TagV1\n key={tag}\n text={tag}\n onRemove={() =>\n setPersonValue({\n key: \"tagNames\",\n value: tags.filter((tagName) => tagName !== tag),\n })\n }\n />\n ))}\n </div>\n </div>\n );\n}\nTagsSection.propTypes = {\n setPersonValue: PropTypes.func.isRequired,\n tags: PropTypes.arrayOf(PropTypes.string),\n tagOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }),\n ),\n};\n\nTagsSection.defaultProps = {\n tags: [],\n tagOptions: [],\n};\n\nexport default TagsSection;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabelV1 from \"./FieldLabelV1\";\nimport TextInput from \"../v2/TextInput/TextInput\";\n\nfunction FieldTextWithIconV1({\n className,\n placeholder,\n label,\n value,\n flexStyle,\n iconClassName,\n onChange,\n ...otherProps\n}) {\n return (\n <div className={`${flexStyle}`} data-cy={`${label}`}>\n {label && (\n <FieldLabelV1\n {...{\n label,\n }}\n />\n )}\n <div className=\"tw-flex tw-gap-[12px]\">\n <div className=\"tw-flex-1\">\n <TextInput\n placeholder={placeholder}\n className={className}\n onChange={(e) => {\n onChange(e.target.value);\n }}\n value={value || \"\"}\n {...otherProps}\n />\n </div>\n\n {iconClassName && (\n <div\n className={`tw-flex tw-items-center tw-justify-center tw-rounded-full tw-w-36px tw-h-36px ${\n value\n ? \"tw-bg-theme-nav-focus tw-text-theme-text-button-color\"\n : \"tw-bg-neutral-gray-10 tw-text-neutral-gray-30\"\n }`}\n >\n {iconClassName === \"fa-tiktok\" ? (\n <TikTokIcon />\n ) : (\n <i className={`fa ${iconClassName}`} aria-hidden=\"true\" />\n )}\n </div>\n )}\n </div>\n </div>\n );\n}\n\nFieldTextWithIconV1.propTypes = {\n className: PropTypes.string,\n placeholder: PropTypes.string,\n label: PropTypes.string,\n value: PropTypes.string,\n flexStyle: PropTypes.string,\n iconClassName: PropTypes.string,\n onChange: PropTypes.func,\n};\n\nFieldTextWithIconV1.defaultProps = {\n className: \"\",\n placeholder: \"\",\n label: \"\",\n value: \"\",\n flexStyle: \"tw-flex-1\",\n iconClassName: \"\",\n\n onChange: () => {},\n};\n\nexport default FieldTextWithIconV1;\n\nfunction TikTokIcon() {\n return (\n <div className=\" tw-w-16px tw-h-16px \">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n data-prefix=\"fab\"\n data-icon=\"tiktok\"\n role=\"img\"\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 448 512\"\n className=\"svg-inline--fa fa-tiktok fa-w-14\"\n >\n <path\n fill=\"currentColor\"\n d=\"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z\"\n className=\"\"\n ></path>\n </svg>\n </div>\n );\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport { headline2 } from \"@shared/styles\";\nimport DropdownDatePicker from \"@shared/v2/DropdownDatePicker\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport FieldTextV1 from \"../../shared/UtilsV1/FieldTextV1\";\nimport FieldDateV1 from \"../../shared/UtilsV1/FieldDateV1\";\nimport TagsSection from \"../ModalSections/TagsSection\";\nimport FieldTextWithIconV1 from \"../../shared/UtilsV1/FieldTextWithIconV1\";\nimport FieldSelect from \"../../shared/UtilsV1/FieldSelect\";\nimport { containerView } from \"./styles\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\nimport { useContactFormOptions, useContactPerson } from \"../../reducers/contactsReducer/selectors\";\n\nconst PersonalDetailsView = ({ birthdateError }) => {\n const dispatch = useDispatch();\n const person = useContactPerson();\n const formOptions = useContactFormOptions();\n const { anniversary, birthdate } = person.milestones || {};\n\n return (\n <div className={containerView}>\n <div className={`tw-text-neutral-gray-75 ${headline2}`}>Personal Details</div>\n <TextInput\n label=\"Description\"\n name=\"description\"\n multiline\n value={person.description}\n onChange={(e) => dispatch(setPersonValue({ key: \"description\", value: e.target.value }))}\n />\n <TagsSection\n tagOptions={formOptions.tagsOptions}\n tags={person.tagNames}\n setPersonValue={(...args) => dispatch(setPersonValue(...args))}\n />\n\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldSelect\n label=\"Timezone\"\n options={formOptions.timezoneOptions}\n value={person.timezone}\n onChange={(value) => dispatch(setPersonValue({ key: \"timezone\", value }))}\n dropdownWidth=\"tw-w-fit\"\n />\n <DropdownDatePicker\n error={birthdateError}\n label=\"Birthdate\"\n value={birthdate}\n onChange={(value) =>\n dispatch(\n setPersonValue({\n key: \"milestones.birthdate\",\n value,\n }),\n )\n }\n />\n </div>\n\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldSelect\n label=\"Marital Status\"\n options={formOptions.maritalStatusOptions}\n value={person.maritalStatus}\n onChange={(value) => dispatch(setPersonValue({ key: \"maritalStatus\", value }))}\n />\n <FieldDateV1\n label=\"Home Anniversary\"\n dateFormat=\"MM/DD/YYYY\"\n value={anniversary}\n onChange={(value) =>\n dispatch(\n setPersonValue({\n key: \"milestones.anniversary\",\n value,\n }),\n )\n }\n />\n </div>\n\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextV1\n label=\"Kids\"\n value={person.kids}\n onChange={(value) => dispatch(setPersonValue({ key: \"kids\", value }))}\n />\n <FieldTextV1\n label=\"Pets\"\n value={person.pets}\n onChange={(value) => dispatch(setPersonValue({ key: \"pets\", value }))}\n />\n </div>\n\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextV1\n label=\"Company\"\n value={person.company}\n onChange={(value) => dispatch(setPersonValue({ key: \"company\", value }))}\n />\n <FieldTextV1\n label=\"Job Title\"\n value={person.jobTitle}\n onChange={(value) => dispatch(setPersonValue({ key: \"jobTitle\", value }))}\n />\n </div>\n\n {formOptions.militaryStatusOptions && (\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldSelect\n label=\"Military Status\"\n options={formOptions.militaryStatusOptions}\n value={person.militaryStatus}\n onChange={(value) => dispatch(setPersonValue({ key: \"militaryStatus\", value }))}\n />\n </div>\n )}\n\n <hr className=\"tw-w-full tw-border-gray-10\" />\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextWithIconV1\n label=\"Facebook\"\n iconClassName=\"fa-facebook\"\n value={person.facebook}\n onChange={(value) => dispatch(setPersonValue({ key: \"facebook\", value }))}\n placeholder=\"Facebook profile URL\"\n />\n <FieldTextWithIconV1\n label=\"Twitter\"\n iconClassName=\"fa-twitter\"\n value={person.twitter}\n onChange={(value) => dispatch(setPersonValue({ key: \"twitter\", value }))}\n placeholder=\"Twitter profile URL\"\n />\n </div>\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextWithIconV1\n label=\"LinkedIn\"\n iconClassName=\"fa-linkedin\"\n value={person.linkedin}\n onChange={(value) => dispatch(setPersonValue({ key: \"linkedin\", value }))}\n placeholder=\"LinkedIn profile URL\"\n />\n <FieldTextWithIconV1\n label=\"Instagram\"\n iconClassName=\"fa-instagram\"\n value={person.instagram}\n onChange={(value) => dispatch(setPersonValue({ key: \"instagram\", value }))}\n placeholder=\"Instagram profile URL\"\n />\n </div>\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextWithIconV1\n label=\"YouTube\"\n value={person.youtube}\n onChange={(value) => dispatch(setPersonValue({ key: \"youtube\", value }))}\n iconClassName=\"fa-youtube-play\"\n placeholder=\"YouTube profile URL\"\n />\n <FieldTextWithIconV1\n label=\"Pinterest\"\n value={person.pinterest}\n onChange={(value) => dispatch(setPersonValue({ key: \"pinterest\", value }))}\n iconClassName=\"fa-pinterest-p\"\n placeholder=\"Pinterest profile URL\"\n />\n </div>\n <div className=\"tw-flex tw-gap-[24px]\">\n <FieldTextWithIconV1\n label=\"TikTok\"\n value={person.tiktok}\n onChange={(value) => dispatch(setPersonValue({ key: \"tiktok\", value }))}\n iconClassName=\"fa-tiktok\"\n placeholder=\"TikTok profile URL\"\n />\n\n <div className=\"tw-flex-1\" />\n </div>\n </div>\n );\n};\n\nPersonalDetailsView.propTypes = {\n birthdateError: PropTypes.string,\n};\n\nPersonalDetailsView.defaultProps = {\n birthdateError: \"\",\n};\n\nexport default PersonalDetailsView;\n","import React from \"react\";\nimport { format, formatISO, parse } from \"date-fns\";\nimport { useDispatch } from \"react-redux\";\nimport { headline2 } from \"@shared/styles\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport { TZDate } from \"@date-fns/tz\";\nimport { containerView } from \"./styles\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\nimport { useContactFormOptions, useContactPerson } from \"../../reducers/contactsReducer/selectors\";\n\nfunction CustomDatesView() {\n const dispatch = useDispatch();\n const { milestones = {} } = useContactPerson();\n const { customDateOptions } = useContactFormOptions();\n return (\n <div className={containerView}>\n <div className={`tw-text-neutral-gray-75 ${headline2}`}>Custom Dates</div>\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-[24px]\">\n {customDateOptions?.map((option) => {\n let formattedDate = milestones[option.name] || null;\n if (formattedDate) {\n const hasTime = formattedDate.includes(\" \");\n formattedDate = format(\n parse(formattedDate, hasTime ? \"yyyy-MM-dd hh:mm a\" : \"yyyy-MM-dd\", TZDate.tz(\"UTC\")),\n hasTime ? \"MM/dd/yyyy hh:mm a\" : \"MM/dd/yyyy\",\n );\n }\n\n return (\n <DatePicker\n key={option.name}\n inputProps={{\n label: option.displayName,\n placeholder: \"MM/DD/YYYY\",\n }}\n value={formattedDate}\n enableTimePicker={option.includeTime}\n onChange={(value) => {\n let formattedValue = value;\n\n if (value?.includes(\" \")) {\n const parsedDate = parse(value, \"MM/dd/yyyy hh:mm a\", TZDate.tz(\"UTC\"));\n formattedValue = format(parsedDate, \"yyyy-MM-dd hh:mm a\");\n } else if (value) {\n formattedValue = formatISO(parse(value, \"MM/dd/yyyy\", TZDate.tz(\"UTC\")), {\n representation: \"date\",\n });\n }\n\n dispatch(\n setPersonValue({\n key: `milestones.${option.name}`,\n value: formattedValue,\n }),\n );\n }}\n />\n );\n })}\n {customDateOptions?.length % 2 !== 0 && <div className=\"tw-flex-1\" />}\n </div>\n </div>\n );\n}\n\nexport default CustomDatesView;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport { inputDescription } from \"../../ModalViews/styles\";\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\n\nconst Subdomain = () => {\n const dispatch = useDispatch();\n const { subdomain } = useContactPerson().loginUserAttributes;\n return (\n <>\n <div className=\"tw-flex tw-items-end tw-justify-between\">\n <TextComboInput\n label=\"Subdomain\"\n value={subdomain}\n containerClassName=\"tw-w-[381px]\"\n onChange={(e) =>\n dispatch(setPersonValue({ key: \"loginUserAttributes.subdomain\", value: e.target.value }))\n }\n />\n <span className=\"tw-text-gray-50 tw-leading-[36px]\">.realestateteam.com</span>\n </div>\n <div className={`${inputDescription} tw-tracking-[-.3px]`}>\n You can only create a subdomain for your main site.\n </div>\n </>\n );\n};\n\nexport default Subdomain;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport TextComboInput from \"@shared/v2/TextComboInput\";\n\nimport { defaultLink } from \"../../ModalViews/styles\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\n\nconst DefaultLinks = () => {\n const dispatch = useDispatch();\n const { zillowReviews, googleReviews, facebookReviews, realtorComReviews, yelpReviews, truliaReviews } =\n useContactPerson();\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <div className=\"tw-flex tw-justify-between\">\n <TextComboInput\n value={zillowReviews}\n containerClassName={defaultLink}\n label=\"Zillow\"\n onChange={(e) => dispatch(setPersonValue({ key: \"zillowReviews\", value: e.target.value }))}\n />\n <TextComboInput\n value={googleReviews}\n containerClassName={defaultLink}\n label=\"Google\"\n onChange={(e) => dispatch(setPersonValue({ key: \"googleReviews\", value: e.target.value }))}\n />\n </div>\n <div className=\"tw-flex tw-justify-between\">\n <TextComboInput\n value={facebookReviews}\n containerClassName={defaultLink}\n label=\"Facebook\"\n onChange={(e) => dispatch(setPersonValue({ key: \"facebookReviews\", value: e.target.value }))}\n />\n <TextComboInput\n value={realtorComReviews}\n containerClassName={defaultLink}\n label=\"Realtor.com\"\n onChange={(e) => dispatch(setPersonValue({ key: \"realtorComReviews\", value: e.target.value }))}\n />\n </div>\n <div className=\"tw-flex tw-justify-between\">\n <TextComboInput\n value={yelpReviews}\n containerClassName={defaultLink}\n label=\"Yelp\"\n onChange={(e) => dispatch(setPersonValue({ key: \"yelpReviews\", value: e.target.value }))}\n />\n <TextComboInput\n value={truliaReviews}\n containerClassName={defaultLink}\n label=\"Trulia\"\n onChange={(e) => dispatch(setPersonValue({ key: \"truliaReviews\", value: e.target.value }))}\n />\n </div>\n </div>\n );\n};\n\nexport default DefaultLinks;\n","const fa6Solid = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"fill-drip\", \"arrows-to-circle\", \"circle-chevron-right\", \"chevron-circle-right\", \"at\", \"trash-can\", \"trash-alt\", \"text-height\", \"user-xmark\", \"user-times\", \"stethoscope\", \"message\", \"comment-alt\", \"info\", \"down-left-and-up-right-to-center\", \"compress-alt\", \"explosion\", \"file-lines\", \"file-alt\", \"file-text\", \"wave-square\", \"ring\", \"building-un\", \"dice-three\", \"calendar-days\", \"calendar-alt\", \"anchor-circle-check\", \"building-circle-arrow-right\", \"volleyball\", \"volleyball-ball\", \"arrows-up-to-line\", \"sort-down\", \"sort-desc\", \"circle-minus\", \"minus-circle\", \"door-open\", \"right-from-bracket\", \"sign-out-alt\", \"atom\", \"soap\", \"icons\", \"heart-music-camera-bolt\", \"microphone-lines-slash\", \"microphone-alt-slash\", \"bridge-circle-check\", \"pump-medical\", \"fingerprint\", \"hand-point-right\", \"magnifying-glass-location\", \"search-location\", \"forward-step\", \"step-forward\", \"face-smile-beam\", \"smile-beam\", \"flag-checkered\", \"football\", \"football-ball\", \"school-circle-exclamation\", \"crop\", \"angles-down\", \"angle-double-down\", \"users-rectangle\", \"people-roof\", \"people-line\", \"beer-mug-empty\", \"beer\", \"diagram-predecessor\", \"arrow-up-long\", \"long-arrow-up\", \"fire-flame-simple\", \"burn\", \"person\", \"male\", \"laptop\", \"file-csv\", \"menorah\", \"truck-plane\", \"record-vinyl\", \"face-grin-stars\", \"grin-stars\", \"bong\", \"spaghetti-monster-flying\", \"pastafarianism\", \"arrow-down-up-across-line\", \"spoon\", \"utensil-spoon\", \"jar-wheat\", \"envelopes-bulk\", \"mail-bulk\", \"file-circle-exclamation\", \"circle-h\", \"hospital-symbol\", \"pager\", \"address-book\", \"contact-book\", \"strikethrough\", \"k\", \"landmark-flag\", \"pencil\", \"pencil-alt\", \"backward\", \"caret-right\", \"comments\", \"paste\", \"file-clipboard\", \"code-pull-request\", \"clipboard-list\", \"truck-ramp-box\", \"truck-loading\", \"user-check\", \"vial-virus\", \"sheet-plastic\", \"blog\", \"user-ninja\", \"person-arrow-up-from-line\", \"scroll-torah\", \"torah\", \"broom-ball\", \"quidditch\", \"quidditch-broom-ball\", \"toggle-off\", \"box-archive\", \"archive\", \"person-drowning\", \"arrow-down-9-1\", \"sort-numeric-desc\", \"sort-numeric-down-alt\", \"face-grin-tongue-squint\", \"grin-tongue-squint\", \"spray-can\", \"truck-monster\", \"w\", \"earth-africa\", \"globe-africa\", \"rainbow\", \"circle-notch\", \"tablet-screen-button\", \"tablet-alt\", \"paw\", \"cloud\", \"trowel-bricks\", \"face-flushed\", \"flushed\", \"hospital-user\", \"tent-arrow-left-right\", \"gavel\", \"legal\", \"binoculars\", \"microphone-slash\", \"box-tissue\", \"motorcycle\", \"bell-concierge\", \"concierge-bell\", \"pen-ruler\", \"pencil-ruler\", \"people-arrows\", \"people-arrows-left-right\", \"mars-and-venus-burst\", \"square-caret-right\", \"caret-square-right\", \"scissors\", \"cut\", \"sun-plant-wilt\", \"toilets-portable\", \"hockey-puck\", \"table\", \"magnifying-glass-arrow-right\", \"tachograph-digital\", \"digital-tachograph\", \"users-slash\", \"clover\", \"reply\", \"mail-reply\", \"star-and-crescent\", \"house-fire\", \"square-minus\", \"minus-square\", \"helicopter\", \"compass\", \"square-caret-down\", \"caret-square-down\", \"file-circle-question\", \"laptop-code\", \"swatchbook\", \"prescription-bottle\", \"bars\", \"navicon\", \"people-group\", \"hourglass-end\", \"hourglass-3\", \"heart-crack\", \"heart-broken\", \"square-up-right\", \"external-link-square-alt\", \"face-kiss-beam\", \"kiss-beam\", \"film\", \"ruler-horizontal\", \"people-robbery\", \"lightbulb\", \"caret-left\", \"circle-exclamation\", \"exclamation-circle\", \"school-circle-xmark\", \"arrow-right-from-bracket\", \"sign-out\", \"circle-chevron-down\", \"chevron-circle-down\", \"unlock-keyhole\", \"unlock-alt\", \"cloud-showers-heavy\", \"headphones-simple\", \"headphones-alt\", \"sitemap\", \"circle-dollar-to-slot\", \"donate\", \"memory\", \"road-spikes\", \"fire-burner\", \"flag\", \"hanukiah\", \"feather\", \"volume-low\", \"volume-down\", \"comment-slash\", \"cloud-sun-rain\", \"compress\", \"wheat-awn\", \"wheat-alt\", \"ankh\", \"hands-holding-child\", \"asterisk\", \"square-check\", \"check-square\", \"peseta-sign\", \"heading\", \"header\", \"ghost\", \"list\", \"list-squares\", \"square-phone-flip\", \"phone-square-alt\", \"cart-plus\", \"gamepad\", \"circle-dot\", \"dot-circle\", \"face-dizzy\", \"dizzy\", \"egg\", \"house-medical-circle-xmark\", \"campground\", \"folder-plus\", \"futbol\", \"futbol-ball\", \"soccer-ball\", \"paintbrush\", \"paint-brush\", \"lock\", \"gas-pump\", \"hot-tub-person\", \"hot-tub\", \"map-location\", \"map-marked\", \"house-flood-water\", \"tree\", \"bridge-lock\", \"sack-dollar\", \"pen-to-square\", \"edit\", \"car-side\", \"share-nodes\", \"share-alt\", \"heart-circle-minus\", \"hourglass-half\", \"hourglass-2\", \"microscope\", \"sink\", \"bag-shopping\", \"shopping-bag\", \"arrow-down-z-a\", \"sort-alpha-desc\", \"sort-alpha-down-alt\", \"mitten\", \"person-rays\", \"users\", \"eye-slash\", \"flask-vial\", \"hand\", \"hand-paper\", \"om\", \"worm\", \"house-circle-xmark\", \"plug\", \"chevron-up\", \"hand-spock\", \"stopwatch\", \"face-kiss\", \"kiss\", \"bridge-circle-xmark\", \"face-grin-tongue\", \"grin-tongue\", \"chess-bishop\", \"face-grin-wink\", \"grin-wink\", \"ear-deaf\", \"deaf\", \"deafness\", \"hard-of-hearing\", \"road-circle-check\", \"dice-five\", \"square-rss\", \"rss-square\", \"land-mine-on\", \"i-cursor\", \"stamp\", \"stairs\", \"i\", \"hryvnia-sign\", \"hryvnia\", \"pills\", \"face-grin-wide\", \"grin-alt\", \"tooth\", \"v\", \"bangladeshi-taka-sign\", \"bicycle\", \"staff-snake\", \"rod-asclepius\", \"rod-snake\", \"staff-aesculapius\", \"head-side-cough-slash\", \"truck-medical\", \"ambulance\", \"wheat-awn-circle-exclamation\", \"snowman\", \"mortar-pestle\", \"road-barrier\", \"school\", \"igloo\", \"joint\", \"angle-right\", \"horse\", \"q\", \"g\", \"notes-medical\", \"temperature-half\", \"temperature-2\", \"thermometer-2\", \"thermometer-half\", \"dong-sign\", \"capsules\", \"poo-storm\", \"poo-bolt\", \"face-frown-open\", \"frown-open\", \"hand-point-up\", \"money-bill\", \"bookmark\", \"align-justify\", \"umbrella-beach\", \"helmet-un\", \"bullseye\", \"bacon\", \"hand-point-down\", \"arrow-up-from-bracket\", \"folder\", \"folder-blank\", \"file-waveform\", \"file-medical-alt\", \"radiation\", \"chart-simple\", \"mars-stroke\", \"vial\", \"gauge\", \"dashboard\", \"gauge-med\", \"tachometer-alt-average\", \"wand-magic-sparkles\", \"magic-wand-sparkles\", \"e\", \"pen-clip\", \"pen-alt\", \"bridge-circle-exclamation\", \"user\", \"school-circle-check\", \"dumpster\", \"van-shuttle\", \"shuttle-van\", \"building-user\", \"square-caret-left\", \"caret-square-left\", \"highlighter\", \"key\", \"bullhorn\", \"globe\", \"synagogue\", \"person-half-dress\", \"road-bridge\", \"location-arrow\", \"c\", \"tablet-button\", \"building-lock\", \"pizza-slice\", \"money-bill-wave\", \"chart-area\", \"area-chart\", \"house-flag\", \"person-circle-minus\", \"ban\", \"cancel\", \"camera-rotate\", \"spray-can-sparkles\", \"air-freshener\", \"star\", \"repeat\", \"cross\", \"box\", \"venus-mars\", \"arrow-pointer\", \"mouse-pointer\", \"maximize\", \"expand-arrows-alt\", \"charging-station\", \"shapes\", \"triangle-circle-square\", \"shuffle\", \"random\", \"person-running\", \"running\", \"mobile-retro\", \"grip-lines-vertical\", \"spider\", \"hands-bound\", \"file-invoice-dollar\", \"plane-circle-exclamation\", \"x-ray\", \"spell-check\", \"slash\", \"computer-mouse\", \"mouse\", \"arrow-right-to-bracket\", \"sign-in\", \"shop-slash\", \"store-alt-slash\", \"server\", \"virus-covid-slash\", \"shop-lock\", \"hourglass-start\", \"hourglass-1\", \"blender-phone\", \"building-wheat\", \"person-breastfeeding\", \"right-to-bracket\", \"sign-in-alt\", \"venus\", \"passport\", \"heart-pulse\", \"heartbeat\", \"people-carry-box\", \"people-carry\", \"temperature-high\", \"microchip\", \"crown\", \"weight-hanging\", \"xmarks-lines\", \"file-prescription\", \"weight-scale\", \"weight\", \"user-group\", \"user-friends\", \"arrow-up-a-z\", \"sort-alpha-up\", \"chess-knight\", \"face-laugh-squint\", \"laugh-squint\", \"wheelchair\", \"circle-arrow-up\", \"arrow-circle-up\", \"toggle-on\", \"person-walking\", \"walking\", \"l\", \"fire\", \"bed-pulse\", \"procedures\", \"shuttle-space\", \"space-shuttle\", \"face-laugh\", \"laugh\", \"folder-open\", \"heart-circle-plus\", \"code-fork\", \"city\", \"microphone-lines\", \"microphone-alt\", \"pepper-hot\", \"unlock\", \"colon-sign\", \"headset\", \"store-slash\", \"road-circle-xmark\", \"user-minus\", \"mars-stroke-up\", \"mars-stroke-v\", \"champagne-glasses\", \"glass-cheers\", \"clipboard\", \"house-circle-exclamation\", \"file-arrow-up\", \"file-upload\", \"wifi\", \"wifi-3\", \"wifi-strong\", \"bath\", \"bathtub\", \"underline\", \"user-pen\", \"user-edit\", \"signature\", \"stroopwafel\", \"bold\", \"anchor-lock\", \"building-ngo\", \"manat-sign\", \"not-equal\", \"border-top-left\", \"border-style\", \"map-location-dot\", \"map-marked-alt\", \"jedi\", \"square-poll-vertical\", \"poll\", \"mug-hot\", \"car-battery\", \"battery-car\", \"gift\", \"dice-two\", \"chess-queen\", \"glasses\", \"chess-board\", \"building-circle-check\", \"person-chalkboard\", \"mars-stroke-right\", \"mars-stroke-h\", \"hand-back-fist\", \"hand-rock\", \"square-caret-up\", \"caret-square-up\", \"cloud-showers-water\", \"chart-bar\", \"bar-chart\", \"hands-bubbles\", \"hands-wash\", \"less-than-equal\", \"train\", \"eye-low-vision\", \"low-vision\", \"crow\", \"sailboat\", \"window-restore\", \"square-plus\", \"plus-square\", \"torii-gate\", \"frog\", \"bucket\", \"image\", \"microphone\", \"cow\", \"caret-up\", \"screwdriver\", \"folder-closed\", \"house-tsunami\", \"square-nfi\", \"arrow-up-from-ground-water\", \"martini-glass\", \"glass-martini-alt\", \"rotate-left\", \"rotate-back\", \"rotate-backward\", \"undo-alt\", \"table-columns\", \"columns\", \"lemon\", \"head-side-mask\", \"handshake\", \"gem\", \"dolly\", \"dolly-box\", \"smoking\", \"minimize\", \"compress-arrows-alt\", \"monument\", \"snowplow\", \"angles-right\", \"angle-double-right\", \"cannabis\", \"circle-play\", \"play-circle\", \"tablets\", \"ethernet\", \"euro-sign\", \"eur\", \"euro\", \"chair\", \"circle-check\", \"check-circle\", \"circle-stop\", \"stop-circle\", \"compass-drafting\", \"drafting-compass\", \"plate-wheat\", \"icicles\", \"person-shelter\", \"neuter\", \"id-badge\", \"marker\", \"face-laugh-beam\", \"laugh-beam\", \"helicopter-symbol\", \"universal-access\", \"circle-chevron-up\", \"chevron-circle-up\", \"lari-sign\", \"volcano\", \"person-walking-dashed-line-arrow-right\", \"sterling-sign\", \"gbp\", \"pound-sign\", \"viruses\", \"square-person-confined\", \"user-tie\", \"arrow-down-long\", \"long-arrow-down\", \"tent-arrow-down-to-line\", \"certificate\", \"reply-all\", \"mail-reply-all\", \"suitcase\", \"person-skating\", \"skating\", \"filter-circle-dollar\", \"funnel-dollar\", \"camera-retro\", \"circle-arrow-down\", \"arrow-circle-down\", \"file-import\", \"arrow-right-to-file\", \"square-arrow-up-right\", \"external-link-square\", \"box-open\", \"scroll\", \"spa\", \"location-pin-lock\", \"pause\", \"hill-avalanche\", \"temperature-empty\", \"temperature-0\", \"thermometer-0\", \"thermometer-empty\", \"bomb\", \"registered\", \"address-card\", \"contact-card\", \"vcard\", \"scale-unbalanced-flip\", \"balance-scale-right\", \"subscript\", \"diamond-turn-right\", \"directions\", \"burst\", \"house-laptop\", \"laptop-house\", \"face-tired\", \"tired\", \"money-bills\", \"smog\", \"crutch\", \"cloud-arrow-up\", \"cloud-upload\", \"cloud-upload-alt\", \"palette\", \"arrows-turn-right\", \"vest\", \"ferry\", \"arrows-down-to-people\", \"seedling\", \"sprout\", \"left-right\", \"arrows-alt-h\", \"boxes-packing\", \"circle-arrow-left\", \"arrow-circle-left\", \"group-arrows-rotate\", \"bowl-food\", \"candy-cane\", \"arrow-down-wide-short\", \"sort-amount-asc\", \"sort-amount-down\", \"cloud-bolt\", \"thunderstorm\", \"text-slash\", \"remove-format\", \"face-smile-wink\", \"smile-wink\", \"file-word\", \"file-powerpoint\", \"arrows-left-right\", \"arrows-h\", \"house-lock\", \"cloud-arrow-down\", \"cloud-download\", \"cloud-download-alt\", \"children\", \"chalkboard\", \"blackboard\", \"user-large-slash\", \"user-alt-slash\", \"envelope-open\", \"handshake-simple-slash\", \"handshake-alt-slash\", \"mattress-pillow\", \"guarani-sign\", \"arrows-rotate\", \"refresh\", \"sync\", \"fire-extinguisher\", \"cruzeiro-sign\", \"greater-than-equal\", \"shield-halved\", \"shield-alt\", \"book-atlas\", \"atlas\", \"virus\", \"envelope-circle-check\", \"layer-group\", \"arrows-to-dot\", \"archway\", \"heart-circle-check\", \"house-chimney-crack\", \"house-damage\", \"file-zipper\", \"file-archive\", \"square\", \"martini-glass-empty\", \"glass-martini\", \"couch\", \"cedi-sign\", \"italic\", \"church\", \"comments-dollar\", \"democrat\", \"z\", \"person-skiing\", \"skiing\", \"road-lock\", \"a\", \"temperature-arrow-down\", \"temperature-down\", \"feather-pointed\", \"feather-alt\", \"p\", \"snowflake\", \"newspaper\", \"rectangle-ad\", \"ad\", \"circle-arrow-right\", \"arrow-circle-right\", \"filter-circle-xmark\", \"locust\", \"sort\", \"unsorted\", \"list-ol\", \"list-1-2\", \"list-numeric\", \"person-dress-burst\", \"money-check-dollar\", \"money-check-alt\", \"vector-square\", \"bread-slice\", \"language\", \"face-kiss-wink-heart\", \"kiss-wink-heart\", \"filter\", \"question\", \"file-signature\", \"up-down-left-right\", \"arrows-alt\", \"house-chimney-user\", \"hand-holding-heart\", \"puzzle-piece\", \"money-check\", \"star-half-stroke\", \"star-half-alt\", \"code\", \"whiskey-glass\", \"glass-whiskey\", \"building-circle-exclamation\", \"magnifying-glass-chart\", \"arrow-up-right-from-square\", \"external-link\", \"cubes-stacked\", \"won-sign\", \"krw\", \"won\", \"virus-covid\", \"austral-sign\", \"f\", \"leaf\", \"road\", \"taxi\", \"cab\", \"person-circle-plus\", \"chart-pie\", \"pie-chart\", \"bolt-lightning\", \"sack-xmark\", \"file-excel\", \"file-contract\", \"fish-fins\", \"building-flag\", \"face-grin-beam\", \"grin-beam\", \"object-ungroup\", \"poop\", \"location-pin\", \"map-marker\", \"kaaba\", \"toilet-paper\", \"helmet-safety\", \"hard-hat\", \"hat-hard\", \"eject\", \"circle-right\", \"arrow-alt-circle-right\", \"plane-circle-check\", \"face-rolling-eyes\", \"meh-rolling-eyes\", \"object-group\", \"chart-line\", \"line-chart\", \"mask-ventilator\", \"arrow-right\", \"signs-post\", \"map-signs\", \"cash-register\", \"person-circle-question\", \"h\", \"tarp\", \"screwdriver-wrench\", \"tools\", \"arrows-to-eye\", \"plug-circle-bolt\", \"heart\", \"mars-and-venus\", \"house-user\", \"home-user\", \"dumpster-fire\", \"house-crack\", \"martini-glass-citrus\", \"cocktail\", \"face-surprise\", \"surprise\", \"bottle-water\", \"circle-pause\", \"pause-circle\", \"toilet-paper-slash\", \"apple-whole\", \"apple-alt\", \"kitchen-set\", \"r\", \"temperature-quarter\", \"temperature-1\", \"thermometer-1\", \"thermometer-quarter\", \"cube\", \"bitcoin-sign\", \"shield-dog\", \"solar-panel\", \"lock-open\", \"elevator\", \"money-bill-transfer\", \"money-bill-trend-up\", \"house-flood-water-circle-arrow-right\", \"square-poll-horizontal\", \"poll-h\", \"circle\", \"backward-fast\", \"fast-backward\", \"recycle\", \"user-astronaut\", \"plane-slash\", \"trademark\", \"basketball\", \"basketball-ball\", \"satellite-dish\", \"circle-up\", \"arrow-alt-circle-up\", \"mobile-screen-button\", \"mobile-alt\", \"volume-high\", \"volume-up\", \"users-rays\", \"wallet\", \"clipboard-check\", \"file-audio\", \"burger\", \"hamburger\", \"wrench\", \"bugs\", \"rupee-sign\", \"rupee\", \"file-image\", \"circle-question\", \"question-circle\", \"plane-departure\", \"handshake-slash\", \"book-bookmark\", \"code-branch\", \"hat-cowboy\", \"bridge\", \"phone-flip\", \"phone-alt\", \"truck-front\", \"cat\", \"anchor-circle-exclamation\", \"truck-field\", \"route\", \"clipboard-question\", \"panorama\", \"comment-medical\", \"teeth-open\", \"file-circle-minus\", \"tags\", \"wine-glass\", \"forward-fast\", \"fast-forward\", \"face-meh-blank\", \"meh-blank\", \"square-parking\", \"parking\", \"house-signal\", \"bars-progress\", \"tasks-alt\", \"faucet-drip\", \"cart-flatbed\", \"dolly-flatbed\", \"ban-smoking\", \"smoking-ban\", \"terminal\", \"mobile-button\", \"house-medical-flag\", \"basket-shopping\", \"shopping-basket\", \"tape\", \"bus-simple\", \"bus-alt\", \"eye\", \"face-sad-cry\", \"sad-cry\", \"audio-description\", \"person-military-to-person\", \"file-shield\", \"user-slash\", \"pen\", \"tower-observation\", \"file-code\", \"signal\", \"signal-5\", \"signal-perfect\", \"bus\", \"heart-circle-xmark\", \"house-chimney\", \"home-lg\", \"window-maximize\", \"face-frown\", \"frown\", \"prescription\", \"shop\", \"store-alt\", \"floppy-disk\", \"save\", \"vihara\", \"scale-unbalanced\", \"balance-scale-left\", \"sort-up\", \"sort-asc\", \"comment-dots\", \"commenting\", \"plant-wilt\", \"diamond\", \"face-grin-squint\", \"grin-squint\", \"hand-holding-dollar\", \"hand-holding-usd\", \"bacterium\", \"hand-pointer\", \"drum-steelpan\", \"hand-scissors\", \"hands-praying\", \"praying-hands\", \"arrow-rotate-right\", \"arrow-right-rotate\", \"arrow-rotate-forward\", \"redo\", \"biohazard\", \"location-crosshairs\", \"location\", \"mars-double\", \"child-dress\", \"users-between-lines\", \"lungs-virus\", \"face-grin-tears\", \"grin-tears\", \"phone\", \"calendar-xmark\", \"calendar-times\", \"child-reaching\", \"head-side-virus\", \"user-gear\", \"user-cog\", \"arrow-up-1-9\", \"sort-numeric-up\", \"door-closed\", \"shield-virus\", \"dice-six\", \"mosquito-net\", \"bridge-water\", \"person-booth\", \"text-width\", \"hat-wizard\", \"pen-fancy\", \"person-digging\", \"digging\", \"trash\", \"gauge-simple\", \"gauge-simple-med\", \"tachometer-average\", \"book-medical\", \"poo\", \"quote-right\", \"quote-right-alt\", \"shirt\", \"t-shirt\", \"tshirt\", \"cubes\", \"divide\", \"tenge-sign\", \"tenge\", \"headphones\", \"hands-holding\", \"hands-clapping\", \"republican\", \"arrow-left\", \"person-circle-xmark\", \"ruler\", \"align-left\", \"dice-d6\", \"restroom\", \"j\", \"users-viewfinder\", \"file-video\", \"up-right-from-square\", \"external-link-alt\", \"table-cells\", \"th\", \"file-pdf\", \"book-bible\", \"bible\", \"o\", \"suitcase-medical\", \"medkit\", \"user-secret\", \"otter\", \"person-dress\", \"female\", \"comment-dollar\", \"business-time\", \"briefcase-clock\", \"table-cells-large\", \"th-large\", \"book-tanakh\", \"tanakh\", \"phone-volume\", \"volume-control-phone\", \"hat-cowboy-side\", \"clipboard-user\", \"child\", \"lira-sign\", \"satellite\", \"plane-lock\", \"tag\", \"comment\", \"cake-candles\", \"birthday-cake\", \"cake\", \"envelope\", \"angles-up\", \"angle-double-up\", \"paperclip\", \"arrow-right-to-city\", \"ribbon\", \"lungs\", \"arrow-up-9-1\", \"sort-numeric-up-alt\", \"litecoin-sign\", \"border-none\", \"circle-nodes\", \"parachute-box\", \"indent\", \"truck-field-un\", \"hourglass\", \"hourglass-empty\", \"mountain\", \"user-doctor\", \"user-md\", \"circle-info\", \"info-circle\", \"cloud-meatball\", \"camera\", \"camera-alt\", \"square-virus\", \"meteor\", \"car-on\", \"sleigh\", \"arrow-down-1-9\", \"sort-numeric-asc\", \"sort-numeric-down\", \"hand-holding-droplet\", \"hand-holding-water\", \"water\", \"calendar-check\", \"braille\", \"prescription-bottle-medical\", \"prescription-bottle-alt\", \"landmark\", \"truck\", \"crosshairs\", \"person-cane\", \"tent\", \"vest-patches\", \"check-double\", \"arrow-down-a-z\", \"sort-alpha-asc\", \"sort-alpha-down\", \"money-bill-wheat\", \"cookie\", \"arrow-rotate-left\", \"arrow-left-rotate\", \"arrow-rotate-back\", \"arrow-rotate-backward\", \"undo\", \"hard-drive\", \"hdd\", \"face-grin-squint-tears\", \"grin-squint-tears\", \"dumbbell\", \"rectangle-list\", \"list-alt\", \"tarp-droplet\", \"house-medical-circle-check\", \"person-skiing-nordic\", \"skiing-nordic\", \"calendar-plus\", \"plane-arrival\", \"circle-left\", \"arrow-alt-circle-left\", \"train-subway\", \"subway\", \"chart-gantt\", \"indian-rupee-sign\", \"indian-rupee\", \"inr\", \"crop-simple\", \"crop-alt\", \"money-bill-1\", \"money-bill-alt\", \"left-long\", \"long-arrow-alt-left\", \"dna\", \"virus-slash\", \"minus\", \"subtract\", \"chess\", \"arrow-left-long\", \"long-arrow-left\", \"plug-circle-check\", \"street-view\", \"franc-sign\", \"volume-off\", \"hands-asl-interpreting\", \"american-sign-language-interpreting\", \"asl-interpreting\", \"hands-american-sign-language-interpreting\", \"gear\", \"cog\", \"droplet-slash\", \"tint-slash\", \"mosque\", \"mosquito\", \"star-of-david\", \"person-military-rifle\", \"cart-shopping\", \"shopping-cart\", \"vials\", \"plug-circle-plus\", \"place-of-worship\", \"grip-vertical\", \"arrow-turn-up\", \"level-up\", \"u\", \"square-root-variable\", \"square-root-alt\", \"clock\", \"clock-four\", \"backward-step\", \"step-backward\", \"pallet\", \"faucet\", \"baseball-bat-ball\", \"s\", \"timeline\", \"keyboard\", \"caret-down\", \"house-chimney-medical\", \"clinic-medical\", \"temperature-three-quarters\", \"temperature-3\", \"thermometer-3\", \"thermometer-three-quarters\", \"mobile-screen\", \"mobile-android-alt\", \"plane-up\", \"piggy-bank\", \"battery-half\", \"battery-3\", \"mountain-city\", \"coins\", \"khanda\", \"sliders\", \"sliders-h\", \"folder-tree\", \"network-wired\", \"map-pin\", \"hamsa\", \"cent-sign\", \"flask\", \"person-pregnant\", \"wand-sparkles\", \"ellipsis-vertical\", \"ellipsis-v\", \"ticket\", \"power-off\", \"right-long\", \"long-arrow-alt-right\", \"flag-usa\", \"laptop-file\", \"tty\", \"teletype\", \"diagram-next\", \"person-rifle\", \"house-medical-circle-exclamation\", \"closed-captioning\", \"person-hiking\", \"hiking\", \"venus-double\", \"images\", \"calculator\", \"people-pulling\", \"n\", \"cable-car\", \"tram\", \"cloud-rain\", \"building-circle-xmark\", \"ship\", \"arrows-down-to-line\", \"download\", \"face-grin\", \"grin\", \"delete-left\", \"backspace\", \"eye-dropper\", \"eye-dropper-empty\", \"eyedropper\", \"file-circle-check\", \"forward\", \"mobile\", \"mobile-android\", \"mobile-phone\", \"face-meh\", \"meh\", \"align-center\", \"book-skull\", \"book-dead\", \"id-card\", \"drivers-license\", \"outdent\", \"dedent\", \"heart-circle-exclamation\", \"house\", \"home\", \"home-alt\", \"home-lg-alt\", \"calendar-week\", \"laptop-medical\", \"b\", \"file-medical\", \"dice-one\", \"kiwi-bird\", \"arrow-right-arrow-left\", \"exchange\", \"rotate-right\", \"redo-alt\", \"rotate-forward\", \"utensils\", \"cutlery\", \"arrow-up-wide-short\", \"sort-amount-up\", \"mill-sign\", \"bowl-rice\", \"skull\", \"tower-broadcast\", \"broadcast-tower\", \"truck-pickup\", \"up-long\", \"long-arrow-alt-up\", \"stop\", \"code-merge\", \"upload\", \"hurricane\", \"mound\", \"toilet-portable\", \"compact-disc\", \"file-arrow-down\", \"file-download\", \"caravan\", \"shield-cat\", \"bolt\", \"zap\", \"glass-water\", \"oil-well\", \"vault\", \"mars\", \"toilet\", \"plane-circle-xmark\", \"yen-sign\", \"cny\", \"jpy\", \"rmb\", \"yen\", \"ruble-sign\", \"rouble\", \"rub\", \"ruble\", \"sun\", \"guitar\", \"face-laugh-wink\", \"laugh-wink\", \"horse-head\", \"bore-hole\", \"industry\", \"circle-down\", \"arrow-alt-circle-down\", \"arrows-turn-to-dots\", \"florin-sign\", \"arrow-down-short-wide\", \"sort-amount-desc\", \"sort-amount-down-alt\", \"less-than\", \"angle-down\", \"car-tunnel\", \"head-side-cough\", \"grip-lines\", \"thumbs-down\", \"user-lock\", \"arrow-right-long\", \"long-arrow-right\", \"anchor-circle-xmark\", \"ellipsis\", \"ellipsis-h\", \"chess-pawn\", \"kit-medical\", \"first-aid\", \"person-through-window\", \"toolbox\", \"hands-holding-circle\", \"bug\", \"credit-card\", \"credit-card-alt\", \"car\", \"automobile\", \"hand-holding-hand\", \"book-open-reader\", \"book-reader\", \"mountain-sun\", \"arrows-left-right-to-line\", \"dice-d20\", \"truck-droplet\", \"file-circle-xmark\", \"temperature-arrow-up\", \"temperature-up\", \"medal\", \"bed\", \"square-h\", \"h-square\", \"podcast\", \"temperature-full\", \"temperature-4\", \"thermometer-4\", \"thermometer-full\", \"bell\", \"superscript\", \"plug-circle-xmark\", \"star-of-life\", \"phone-slash\", \"paint-roller\", \"handshake-angle\", \"hands-helping\", \"location-dot\", \"map-marker-alt\", \"file\", \"greater-than\", \"person-swimming\", \"swimmer\", \"arrow-down\", \"droplet\", \"tint\", \"eraser\", \"earth-americas\", \"earth\", \"earth-america\", \"globe-americas\", \"person-burst\", \"dove\", \"battery-empty\", \"battery-0\", \"socks\", \"inbox\", \"section\", \"gauge-high\", \"tachometer-alt\", \"tachometer-alt-fast\", \"envelope-open-text\", \"hospital\", \"hospital-alt\", \"hospital-wide\", \"wine-bottle\", \"chess-rook\", \"bars-staggered\", \"reorder\", \"stream\", \"dharmachakra\", \"hotdog\", \"person-walking-with-cane\", \"blind\", \"drum\", \"ice-cream\", \"heart-circle-bolt\", \"fax\", \"paragraph\", \"check-to-slot\", \"vote-yea\", \"star-half\", \"boxes-stacked\", \"boxes\", \"boxes-alt\", \"link\", \"chain\", \"ear-listen\", \"assistive-listening-systems\", \"tree-city\", \"play\", \"font\", \"rupiah-sign\", \"magnifying-glass\", \"search\", \"table-tennis-paddle-ball\", \"ping-pong-paddle-ball\", \"table-tennis\", \"person-dots-from-line\", \"diagnoses\", \"trash-can-arrow-up\", \"trash-restore-alt\", \"naira-sign\", \"cart-arrow-down\", \"walkie-talkie\", \"file-pen\", \"file-edit\", \"receipt\", \"square-pen\", \"pen-square\", \"pencil-square\", \"suitcase-rolling\", \"person-circle-exclamation\", \"chevron-down\", \"battery-full\", \"battery\", \"battery-5\", \"skull-crossbones\", \"code-compare\", \"list-ul\", \"list-dots\", \"school-lock\", \"tower-cell\", \"down-long\", \"long-arrow-alt-down\", \"ranking-star\", \"chess-king\", \"person-harassing\", \"brazilian-real-sign\", \"landmark-dome\", \"landmark-alt\", \"arrow-up\", \"tv\", \"television\", \"tv-alt\", \"shrimp\", \"list-check\", \"tasks\", \"jug-detergent\", \"circle-user\", \"user-circle\", \"user-shield\", \"wind\", \"car-burst\", \"car-crash\", \"y\", \"person-snowboarding\", \"snowboarding\", \"truck-fast\", \"shipping-fast\", \"fish\", \"user-graduate\", \"circle-half-stroke\", \"adjust\", \"clapperboard\", \"circle-radiation\", \"radiation-alt\", \"baseball\", \"baseball-ball\", \"jet-fighter-up\", \"diagram-project\", \"project-diagram\", \"copy\", \"volume-xmark\", \"volume-mute\", \"volume-times\", \"hand-sparkles\", \"grip\", \"grip-horizontal\", \"share-from-square\", \"share-square\", \"child-combatant\", \"child-rifle\", \"gun\", \"square-phone\", \"phone-square\", \"plus\", \"add\", \"expand\", \"computer\", \"xmark\", \"close\", \"multiply\", \"remove\", \"times\", \"arrows-up-down-left-right\", \"arrows\", \"chalkboard-user\", \"chalkboard-teacher\", \"peso-sign\", \"building-shield\", \"baby\", \"users-line\", \"quote-left\", \"quote-left-alt\", \"tractor\", \"trash-arrow-up\", \"trash-restore\", \"arrow-down-up-lock\", \"lines-leaning\", \"ruler-combined\", \"copyright\", \"equals\", \"blender\", \"teeth\", \"shekel-sign\", \"ils\", \"shekel\", \"sheqel\", \"sheqel-sign\", \"map\", \"rocket\", \"photo-film\", \"photo-video\", \"folder-minus\", \"store\", \"arrow-trend-up\", \"plug-circle-minus\", \"sign-hanging\", \"sign\", \"bezier-curve\", \"bell-slash\", \"tablet\", \"tablet-android\", \"school-flag\", \"fill\", \"angle-up\", \"drumstick-bite\", \"holly-berry\", \"chevron-left\", \"bacteria\", \"hand-lizard\", \"notdef\", \"disease\", \"briefcase-medical\", \"genderless\", \"chevron-right\", \"retweet\", \"car-rear\", \"car-alt\", \"pump-soap\", \"video-slash\", \"battery-quarter\", \"battery-2\", \"radio\", \"baby-carriage\", \"carriage-baby\", \"traffic-light\", \"thermometer\", \"vr-cardboard\", \"hand-middle-finger\", \"percent\", \"percentage\", \"truck-moving\", \"glass-water-droplet\", \"display\", \"face-smile\", \"smile\", \"thumbtack\", \"thumb-tack\", \"trophy\", \"person-praying\", \"pray\", \"hammer\", \"hand-peace\", \"rotate\", \"sync-alt\", \"spinner\", \"robot\", \"peace\", \"gears\", \"cogs\", \"warehouse\", \"arrow-up-right-dots\", \"splotch\", \"face-grin-hearts\", \"grin-hearts\", \"dice-four\", \"sim-card\", \"transgender\", \"transgender-alt\", \"mercury\", \"arrow-turn-down\", \"level-down\", \"person-falling-burst\", \"award\", \"ticket-simple\", \"ticket-alt\", \"building\", \"angles-left\", \"angle-double-left\", \"qrcode\", \"clock-rotate-left\", \"history\", \"face-grin-beam-sweat\", \"grin-beam-sweat\", \"file-export\", \"arrow-right-from-file\", \"shield\", \"shield-blank\", \"arrow-up-short-wide\", \"sort-amount-up-alt\", \"house-medical\", \"golf-ball-tee\", \"golf-ball\", \"circle-chevron-left\", \"chevron-circle-left\", \"house-chimney-window\", \"pen-nib\", \"tent-arrow-turn-left\", \"tents\", \"wand-magic\", \"magic\", \"dog\", \"carrot\", \"moon\", \"wine-glass-empty\", \"wine-glass-alt\", \"cheese\", \"yin-yang\", \"music\", \"code-commit\", \"temperature-low\", \"person-biking\", \"biking\", \"broom\", \"shield-heart\", \"gopuram\", \"earth-oceania\", \"globe-oceania\", \"square-xmark\", \"times-square\", \"xmark-square\", \"hashtag\", \"up-right-and-down-left-from-center\", \"expand-alt\", \"oil-can\", \"t\", \"hippo\", \"chart-column\", \"infinity\", \"vial-circle-check\", \"person-arrow-down-to-line\", \"voicemail\", \"fan\", \"person-walking-luggage\", \"up-down\", \"arrows-alt-v\", \"cloud-moon-rain\", \"calendar\", \"trailer\", \"bahai\", \"haykal\", \"sd-card\", \"dragon\", \"shoe-prints\", \"circle-plus\", \"plus-circle\", \"face-grin-tongue-wink\", \"grin-tongue-wink\", \"hand-holding\", \"plug-circle-exclamation\", \"link-slash\", \"chain-broken\", \"chain-slash\", \"unlink\", \"clone\", \"person-walking-arrow-loop-left\", \"arrow-up-z-a\", \"sort-alpha-up-alt\", \"fire-flame-curved\", \"fire-alt\", \"tornado\", \"file-circle-plus\", \"book-quran\", \"quran\", \"anchor\", \"border-all\", \"face-angry\", \"angry\", \"cookie-bite\", \"arrow-trend-down\", \"rss\", \"feed\", \"draw-polygon\", \"scale-balanced\", \"balance-scale\", \"gauge-simple-high\", \"tachometer\", \"tachometer-fast\", \"shower\", \"desktop\", \"desktop-alt\", \"m\", \"table-list\", \"th-list\", \"comment-sms\", \"sms\", \"book\", \"user-plus\", \"check\", \"battery-three-quarters\", \"battery-4\", \"house-circle-check\", \"angle-left\", \"diagram-successor\", \"truck-arrow-right\", \"arrows-split-up-and-left\", \"hand-fist\", \"fist-raised\", \"cloud-moon\", \"briefcase\", \"person-falling\", \"image-portrait\", \"portrait\", \"user-tag\", \"rug\", \"earth-europe\", \"globe-europe\", \"cart-flatbed-suitcase\", \"luggage-cart\", \"rectangle-xmark\", \"rectangle-times\", \"times-rectangle\", \"window-close\", \"baht-sign\", \"book-open\", \"book-journal-whills\", \"journal-whills\", \"handcuffs\", \"triangle-exclamation\", \"exclamation-triangle\", \"warning\", \"database\", \"share\", \"arrow-turn-right\", \"mail-forward\", \"bottle-droplet\", \"mask-face\", \"hill-rockslide\", \"right-left\", \"exchange-alt\", \"paper-plane\", \"road-circle-exclamation\", \"dungeon\", \"align-right\", \"money-bill-1-wave\", \"money-bill-wave-alt\", \"life-ring\", \"hands\", \"sign-language\", \"signing\", \"calendar-day\", \"water-ladder\", \"ladder-water\", \"swimming-pool\", \"arrows-up-down\", \"arrows-v\", \"face-grimace\", \"grimace\", \"wheelchair-move\", \"wheelchair-alt\", \"turn-down\", \"level-down-alt\", \"person-walking-arrow-right\", \"square-envelope\", \"envelope-square\", \"dice\", \"bowling-ball\", \"brain\", \"bandage\", \"band-aid\", \"calendar-minus\", \"circle-xmark\", \"times-circle\", \"xmark-circle\", \"gifts\", \"hotel\", \"earth-asia\", \"globe-asia\", \"id-card-clip\", \"id-card-alt\", \"magnifying-glass-plus\", \"search-plus\", \"thumbs-up\", \"user-clock\", \"hand-dots\", \"allergies\", \"file-invoice\", \"window-minimize\", \"mug-saucer\", \"coffee\", \"brush\", \"mask\", \"magnifying-glass-minus\", \"search-minus\", \"ruler-vertical\", \"user-large\", \"user-alt\", \"train-tram\", \"user-nurse\", \"syringe\", \"cloud-sun\", \"stopwatch-20\", \"square-full\", \"magnet\", \"jar\", \"note-sticky\", \"sticky-note\", \"bug-slash\", \"arrow-up-from-water-pump\", \"bone\", \"user-injured\", \"face-sad-tear\", \"sad-tear\", \"plane\", \"tent-arrows-down\", \"exclamation\", \"arrows-spin\", \"print\", \"turkish-lira-sign\", \"try\", \"turkish-lira\", \"dollar-sign\", \"dollar\", \"usd\", \"x\", \"magnifying-glass-dollar\", \"search-dollar\", \"users-gear\", \"users-cog\", \"person-military-pointing\", \"building-columns\", \"bank\", \"institution\", \"museum\", \"university\", \"umbrella\", \"trowel\", \"d\", \"stapler\", \"masks-theater\", \"theater-masks\", \"kip-sign\", \"hand-point-left\", \"handshake-simple\", \"handshake-alt\", \"jet-fighter\", \"fighter-jet\", \"square-share-nodes\", \"share-alt-square\", \"barcode\", \"plus-minus\", \"video\", \"video-camera\", \"graduation-cap\", \"mortar-board\", \"hand-holding-medical\", \"person-circle-check\", \"turn-up\", \"level-up-alt\"]\n\nconst fa6Brand = [\"monero\", \"hooli\", \"yelp\", \"cc-visa\", \"lastfm\", \"shopware\", \"creative-commons-nc\", \"aws\", \"redhat\", \"yoast\", \"cloudflare\", \"ups\", \"wpexplorer\", \"dyalog\", \"bity\", \"stackpath\", \"buysellads\", \"first-order\", \"modx\", \"guilded\", \"vnv\", \"square-js\", \"js-square\", \"microsoft\", \"qq\", \"orcid\", \"java\", \"invision\", \"creative-commons-pd-alt\", \"centercode\", \"glide-g\", \"drupal\", \"hire-a-helper\", \"creative-commons-by\", \"unity\", \"whmcs\", \"rocketchat\", \"vk\", \"untappd\", \"mailchimp\", \"css3-alt\", \"square-reddit\", \"reddit-square\", \"vimeo-v\", \"contao\", \"square-font-awesome\", \"deskpro\", \"sistrix\", \"square-instagram\", \"instagram-square\", \"battle-net\", \"the-red-yeti\", \"square-hacker-news\", \"hacker-news-square\", \"edge\", \"threads\", \"napster\", \"square-snapchat\", \"snapchat-square\", \"google-plus-g\", \"artstation\", \"markdown\", \"sourcetree\", \"google-plus\", \"diaspora\", \"foursquare\", \"stack-overflow\", \"github-alt\", \"phoenix-squadron\", \"pagelines\", \"algolia\", \"red-river\", \"creative-commons-sa\", \"safari\", \"google\", \"square-font-awesome-stroke\", \"font-awesome-alt\", \"atlassian\", \"linkedin-in\", \"digital-ocean\", \"nimblr\", \"chromecast\", \"evernote\", \"hacker-news\", \"creative-commons-sampling\", \"adversal\", \"creative-commons\", \"watchman-monitoring\", \"fonticons\", \"weixin\", \"shirtsinbulk\", \"codepen\", \"git-alt\", \"lyft\", \"rev\", \"windows\", \"wizards-of-the-coast\", \"square-viadeo\", \"viadeo-square\", \"meetup\", \"centos\", \"adn\", \"cloudsmith\", \"pied-piper-alt\", \"square-dribbble\", \"dribbble-square\", \"codiepie\", \"node\", \"mix\", \"steam\", \"cc-apple-pay\", \"scribd\", \"debian\", \"openid\", \"instalod\", \"expeditedssl\", \"sellcast\", \"square-twitter\", \"twitter-square\", \"r-project\", \"delicious\", \"freebsd\", \"vuejs\", \"accusoft\", \"ioxhost\", \"fonticons-fi\", \"app-store\", \"cc-mastercard\", \"itunes-note\", \"golang\", \"kickstarter\", \"grav\", \"weibo\", \"uncharted\", \"firstdraft\", \"square-youtube\", \"youtube-square\", \"wikipedia-w\", \"wpressr\", \"rendact\", \"angellist\", \"galactic-republic\", \"nfc-directional\", \"skype\", \"joget\", \"fedora\", \"stripe-s\", \"meta\", \"laravel\", \"hotjar\", \"bluetooth-b\", \"sticker-mule\", \"creative-commons-zero\", \"hips\", \"behance\", \"reddit\", \"discord\", \"chrome\", \"app-store-ios\", \"cc-discover\", \"wpbeginner\", \"confluence\", \"mdb\", \"dochub\", \"accessible-icon\", \"ebay\", \"amazon\", \"unsplash\", \"yarn\", \"square-steam\", \"steam-square\", \"500px\", \"square-vimeo\", \"vimeo-square\", \"asymmetrik\", \"font-awesome\", \"font-awesome-flag\", \"font-awesome-logo-full\", \"gratipay\", \"apple\", \"hive\", \"gitkraken\", \"keybase\", \"apple-pay\", \"padlet\", \"amazon-pay\", \"square-github\", \"github-square\", \"stumbleupon\", \"fedex\", \"phoenix-framework\", \"shopify\", \"neos\", \"square-threads\", \"hackerrank\", \"researchgate\", \"swift\", \"angular\", \"speakap\", \"angrycreative\", \"y-combinator\", \"empire\", \"envira\", \"square-gitlab\", \"gitlab-square\", \"studiovinari\", \"pied-piper\", \"wordpress\", \"product-hunt\", \"firefox\", \"linode\", \"goodreads\", \"square-odnoklassniki\", \"odnoklassniki-square\", \"jsfiddle\", \"sith\", \"themeisle\", \"page4\", \"hashnode\", \"react\", \"cc-paypal\", \"squarespace\", \"cc-stripe\", \"creative-commons-share\", \"bitcoin\", \"keycdn\", \"opera\", \"itch-io\", \"umbraco\", \"galactic-senate\", \"ubuntu\", \"draft2digital\", \"stripe\", \"houzz\", \"gg\", \"dhl\", \"square-pinterest\", \"pinterest-square\", \"xing\", \"blackberry\", \"creative-commons-pd\", \"playstation\", \"quinscape\", \"less\", \"blogger-b\", \"opencart\", \"vine\", \"paypal\", \"gitlab\", \"typo3\", \"reddit-alien\", \"yahoo\", \"dailymotion\", \"affiliatetheme\", \"pied-piper-pp\", \"bootstrap\", \"odnoklassniki\", \"nfc-symbol\", \"ethereum\", \"speaker-deck\", \"creative-commons-nc-eu\", \"patreon\", \"avianex\", \"ello\", \"gofore\", \"bimobject\", \"facebook-f\", \"square-google-plus\", \"google-plus-square\", \"mandalorian\", \"first-order-alt\", \"osi\", \"google-wallet\", \"d-and-d-beyond\", \"periscope\", \"fulcrum\", \"cloudscale\", \"forumbee\", \"mizuni\", \"schlix\", \"square-xing\", \"xing-square\", \"bandcamp\", \"wpforms\", \"cloudversify\", \"usps\", \"megaport\", \"magento\", \"spotify\", \"optin-monster\", \"fly\", \"aviato\", \"itunes\", \"cuttlefish\", \"blogger\", \"flickr\", \"viber\", \"soundcloud\", \"digg\", \"tencent-weibo\", \"symfony\", \"maxcdn\", \"etsy\", \"facebook-messenger\", \"audible\", \"think-peaks\", \"bilibili\", \"erlang\", \"x-twitter\", \"cotton-bureau\", \"dashcube\", \"42-group\", \"innosoft\", \"stack-exchange\", \"elementor\", \"square-pied-piper\", \"pied-piper-square\", \"creative-commons-nd\", \"palfed\", \"superpowers\", \"resolving\", \"xbox\", \"searchengin\", \"tiktok\", \"square-facebook\", \"facebook-square\", \"renren\", \"linux\", \"glide\", \"linkedin\", \"hubspot\", \"deploydog\", \"twitch\", \"ravelry\", \"mixer\", \"square-lastfm\", \"lastfm-square\", \"vimeo\", \"mendeley\", \"uniregistry\", \"figma\", \"creative-commons-remix\", \"cc-amazon-pay\", \"dropbox\", \"instagram\", \"cmplid\", \"facebook\", \"gripfire\", \"jedi-order\", \"uikit\", \"fort-awesome-alt\", \"phabricator\", \"ussunnah\", \"earlybirds\", \"trade-federation\", \"autoprefixer\", \"whatsapp\", \"slideshare\", \"google-play\", \"viadeo\", \"line\", \"google-drive\", \"servicestack\", \"simplybuilt\", \"bitbucket\", \"imdb\", \"deezer\", \"raspberry-pi\", \"jira\", \"docker\", \"screenpal\", \"bluetooth\", \"gitter\", \"d-and-d\", \"microblog\", \"cc-diners-club\", \"gg-circle\", \"pied-piper-hat\", \"kickstarter-k\", \"yandex\", \"readme\", \"html5\", \"sellsy\", \"sass\", \"wirsindhandwerk\", \"wsh\", \"buromobelexperte\", \"salesforce\", \"octopus-deploy\", \"medapps\", \"ns8\", \"pinterest-p\", \"apper\", \"fort-awesome\", \"waze\", \"cc-jcb\", \"snapchat\", \"snapchat-ghost\", \"fantasy-flight-games\", \"rust\", \"wix\", \"square-behance\", \"behance-square\", \"supple\", \"rebel\", \"css3\", \"staylinked\", \"kaggle\", \"space-awesome\", \"deviantart\", \"cpanel\", \"goodreads-g\", \"square-git\", \"git-square\", \"square-tumblr\", \"tumblr-square\", \"trello\", \"creative-commons-nc-jp\", \"get-pocket\", \"perbyte\", \"grunt\", \"weebly\", \"connectdevelop\", \"leanpub\", \"black-tie\", \"themeco\", \"python\", \"android\", \"bots\", \"free-code-camp\", \"hornbill\", \"js\", \"ideal\", \"git\", \"dev\", \"sketch\", \"yandex-international\", \"cc-amex\", \"uber\", \"github\", \"php\", \"alipay\", \"youtube\", \"skyatlas\", \"firefox-browser\", \"replyd\", \"suse\", \"jenkins\", \"twitter\", \"rockrms\", \"pinterest\", \"buffer\", \"npm\", \"yammer\", \"btc\", \"dribbble\", \"stumbleupon-circle\", \"internet-explorer\", \"stubber\", \"telegram\", \"telegram-plane\", \"old-republic\", \"odysee\", \"square-whatsapp\", \"whatsapp-square\", \"node-js\", \"edge-legacy\", \"slack\", \"slack-hash\", \"medrt\", \"usb\", \"tumblr\", \"vaadin\", \"quora\", \"square-x-twitter\", \"reacteurope\", \"medium\", \"medium-m\", \"amilia\", \"mixcloud\", \"flipboard\", \"viacoin\", \"critical-role\", \"sitrox\", \"discourse\", \"joomla\", \"mastodon\", \"airbnb\", \"wolf-pack-battalion\", \"buy-n-large\", \"gulp\", \"creative-commons-sampling-plus\", \"strava\", \"ember\", \"canadian-maple-leaf\", \"teamspeak\", \"pushed\", \"wordpress-simple\", \"nutritionix\", \"wodu\", \"google-pay\", \"intercom\", \"zhihu\", \"korvue\", \"pix\", \"steam-symbol\"];\n\nexport { fa6Solid, fa6Brand };","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { useSelector } from \"react-redux\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { isPlace } from \"@shared/Utilities\";\nimport formatters from \"../../shared/formatters\";\nimport { sortBy } from \"lodash\";\n\nexport const initialState = {\n counts: {\n Leads: {},\n People: {},\n Tasks: {},\n Transactions: {},\n },\n currentMetaUser: null,\n currentSuperUser: null,\n currentUser: null,\n env: null,\n featureFlags: null,\n isMobileMenuOpen: false,\n sidebar: null,\n submenu: null,\n theme: null,\n support: null,\n accountCallRecordingLoading: false,\n};\n\nconst transformCounts = (counts) =>\n Object.keys(counts).reduce((acc, key) => ({ ...acc, [key]: formatters.number(counts[key]) }), {\n lastUpdate: Date.now(),\n });\n\nconst updateAccountRecordingSettings = createAsyncThunk(\n \"phoneSettings/updateAccountRecordingSettings\",\n (callRecordingAccountSettings, thunkApi) =>\n caseTransformingAxios\n .post(\n \"/api/v4/call_recording/account_settings/upsert\",\n {\n callRecordingAccountSettings,\n },\n { signal: thunkApi.signal },\n )\n .then(({ data }) => data),\n);\n\nexport const layoutSlice = createSlice({\n name: \"layout\",\n initialState,\n reducers: {\n addPeopleSmartFilterOption: (state, { payload: { option } }) => {\n state.sidebar.menu.forEach((menu) => {\n const smartFilterIndex =\n menu.name !== \"Transactions\" ? menu.options?.findIndex((o) => o.name === \"Smart Filters\") : null;\n const smartFilterOptions = menu.options?.[smartFilterIndex]?.options;\n if (smartFilterOptions) {\n menu.options[smartFilterIndex].options = sortBy(\n [...smartFilterOptions, option],\n [(o) => Boolean(o.deletePath), \"name\"],\n );\n }\n });\n },\n removeSmartFilterOption: (state, { payload: { option } }) => {\n state.sidebar.menu.forEach((menu) => {\n const smartFilterOptions = menu.options?.find((o) => o.name === \"Smart Filters\")?.options;\n if (smartFilterOptions) {\n const optionIndex = smartFilterOptions.findIndex(\n (o) => o.id === option.id && o.name === option.name,\n );\n if (optionIndex > -1) {\n smartFilterOptions.splice(optionIndex, 1);\n }\n }\n });\n },\n setIsSidebarOpen: (state, { payload }) => {\n state.sidebar.isOpen = payload;\n },\n setIsSubmenuOpen: (state, { payload }) => {\n state.submenu = payload;\n },\n toggleMobileMenu: (state, { payload }) => {\n state.isMobileMenuOpen = typeof payload === \"boolean\" ? payload : !state.isMobileMenuOpen;\n },\n updateLeadCounts: (state, { payload }) => {\n state.counts = { ...state.counts, Leads: transformCounts(payload) };\n },\n updatePeopleCounts: (state, { payload }) => {\n state.counts = { ...state.counts, People: transformCounts(payload) };\n },\n updateTaskCounts: (state, { payload }) => {\n state.counts = { ...state.counts, Tasks: transformCounts(payload) };\n },\n updateTransactionCounts: (state, { payload }) => {\n const withAllData = { ...payload, all_count: 0 };\n Object.keys(payload).forEach((key) => {\n // draft not related to statuses. So we need to skip it to remove double counting of\n // any transaction that is a draft, as they _also_ are counted in the statuses\n if (key === \"drafts_count\") return;\n const value = payload[key];\n withAllData.all_count += value;\n });\n state.counts = { ...state.counts, Transactions: transformCounts(withAllData) };\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(updateAccountRecordingSettings.pending, (state) => {\n state.accountCallRecordingLoading = true;\n })\n .addCase(updateAccountRecordingSettings.fulfilled, (state, action) => {\n state.currentUser.account.callRecordingSettings = action.payload;\n state.accountCallRecordingLoading = false;\n })\n .addCase(updateAccountRecordingSettings.rejected, (state) => {\n state.accountCallRecordingLoading = false;\n });\n },\n});\n\nexport { updateAccountRecordingSettings };\n\nexport const {\n addPeopleSmartFilterOption,\n removeSmartFilterOption,\n setIsSubmenuOpen,\n setIsSidebarOpen,\n toggleMobileMenu,\n updateLeadCounts,\n updatePeopleCounts,\n updateTaskCounts,\n updateTransactionCounts,\n} = layoutSlice.actions;\n\nexport default layoutSlice.reducer;\n\nexport const usePlaceSelector = () => useSelector(({ layout }) => isPlace(layout.theme.name));\n","import React from \"react\";\n\nimport { func, string } from \"prop-types\";\n\nimport { usePlaceSelector } from \"../../reducers/layoutReducer\";\n\nconst AvailableIcon = ({ onSelect, classNameFont, fontPrefix }) => {\n const isPlaceTheme = usePlaceSelector()\n \n return (\n <i\n onClick={onSelect} \n className={`tw-text-gray-base tw-text-32px tw-w-[32px] tw-h-[32px] tw-text-center tw-cursor-pointer ${fontPrefix}-${classNameFont} ${ isPlaceTheme ? \"hover:tw-text-[#3270FA]\" : \"hover:tw-text-teal\"}`}/>\n )\n}\n\nexport default AvailableIcon;\n\nAvailableIcon.propTypes = {\n onSelect: func, \n classNameFont: string,\n fontPrefix: string\n}\n\nAvailableIcon.defaultProps = {\n onSelect: () => {}, \n classNameFont: '',\n fontPrefix: 'fa6 fa6'\n}\n","import React, { useMemo, useState } from \"react\";\nimport { bool, func } from \"prop-types\";\nimport { Provider } from \"react-redux\";\n\nimport { useDebounce } from \"@shared/hookHelpers\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport { MagnifyingGlassSolidV6 } from \"@shared/v2/Icomoon\";\nimport { fa6Brand, fa6Solid } from \"./constants\";\n\nimport AvailableIcon from \"./AvailableIcon\";\n\nconst MagnifyingGlassIcon = () => (\n <MagnifyingGlassSolidV6 size=\"m\" className=\"tw-align-middle tw-text-neutral-gray-30\" />\n);\n\nconst useFilteredIcons = (icons, query) =>\n useMemo(() => icons.filter((className) => className.includes(query.replace(/ /g, \"-\"))), [icons, query]);\n\nexport const IconPickerModal = ({ onSelect, show, onHide }) => {\n const [query, setQuery] = useState(\"\");\n const debouncedQuery = useDebounce(query, 500);\n const solidIcons = useFilteredIcons(fa6Solid, debouncedQuery);\n const brandIcons = useFilteredIcons(fa6Brand, debouncedQuery);\n\n const onSelectHandlr = (classNameFont) => {\n onSelect(classNameFont);\n onHide();\n };\n\n return (\n <Modal\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px] tw-px-[24px]\"\n show={show}\n onHide={onHide}\n >\n <Modal.Header title=\"Select an Icon\" className=\"tw-mb-32px\" closeButton />\n <div className=\"tw-p-[8px]\">\n <TextComboInput\n trailing={<MagnifyingGlassIcon />}\n containerClassName=\"tw-mb-24px\"\n onChange={(e) => setQuery(e.target.value.toLowerCase())}\n placeholder=\"Search for an icon\"\n />\n <div className=\"tw-h-[240px] tw-w-[550px] tw-overflow-y-auto tw-flex tw-gap-[20px] tw-flex-wrap\">\n {solidIcons.map((classNameFont) => (\n <AvailableIcon\n key={classNameFont}\n onSelect={() => onSelectHandlr(`fa6 fa6-${classNameFont}`)}\n classNameFont={classNameFont}\n />\n ))}\n {brandIcons.map((classNameFont) => (\n <AvailableIcon\n onSelect={() => onSelectHandlr(`fab fa6-${classNameFont}`)}\n classNameFont={classNameFont}\n fontPrefix=\"fab fa6\"\n />\n ))}\n </div>\n </div>\n </Modal>\n );\n};\n\nexport default ({ onSelect, onHide, show }) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n <Provider store={store}>\n <IconPickerModal onSelect={onSelect} onHide={onHide} show={show} />\n </Provider>\n );\n};\n\nIconPickerModal.propTypes = {\n onSelect: func,\n onHide: func,\n show: bool,\n};\n\nIconPickerModal.defaultProps = {\n onSelect: () => {},\n onHide: () => {},\n show: false,\n};\n","/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-param-reassign */\nimport React, { useState } from \"react\";\nimport { func, shape, string } from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport { TrashCanSolidV6, PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport IconPickerModal from \"@shared/IconPickerModal\";\nimport { isStrInputLen } from \"../../ModalViews/helpers\";\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { addCustomLink, deleteCustomLink, setCustomLink } from \"../../../reducers/contactsReducer\";\n\nconst STYLES = {\n button:\n \"tw-w-[44px] tw-h-[36px] tw-flex tw-items-center tw-justify-center !tw-rounded-[4px] !tw-border-gray-15 tw-border-solid tw-border tw-border-width-[1px] !tw-bg-transparent\",\n};\n\nconst { button } = STYLES;\n\nconst CustomLink = ({ onDelete, onTitleChange, setIconPickerCustomLink, customLink, onURLChange }) => {\n const { title, url, icon } = customLink;\n return (\n <div className=\"tw-flex tw-justify-between\">\n <Button className={button} onClick={() => setIconPickerCustomLink(customLink)}>\n <i className={`${icon} tw-text-gray-75 tw-text-[20px]`} />\n </Button>\n <TextComboInput\n placeholder=\"Link Name\"\n value={title}\n onChange={(e) => onTitleChange(e.target.value)}\n error={isStrInputLen(title)}\n isRequired\n />\n <TextComboInput\n placeholder=\"URL\"\n value={url}\n onChange={(e) => onURLChange(e.target.value)}\n error={isStrInputLen(url)}\n isRequired\n />\n <Button className={button} onClick={onDelete}>\n <TrashCanSolidV6 size=\"xl\" className=\"tw-text-gray-75\" />\n </Button>\n </div>\n );\n};\n\nconst CustomLinks = () => {\n const [iconPickerCustomLink, setIconPickerCustomLink] = useState(null);\n const dispatch = useDispatch();\n const { customLinksAttributes } = useContactPerson().loginUserAttributes;\n\n return (\n <>\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n {customLinksAttributes\n .filter((customLink) => !customLink._destroy)\n .map((customLink) => (\n <CustomLink\n key={customLink.order}\n customLink={customLink}\n onTitleChange={(title) => dispatch(setCustomLink({ order: customLink.order, title }))}\n onURLChange={(url) => dispatch(setCustomLink({ order: customLink.order, url }))}\n onDelete={() => dispatch(deleteCustomLink({ order: customLink.order }))}\n setIconPickerCustomLink={setIconPickerCustomLink}\n />\n ))}\n </div>\n <TextButton onClick={() => dispatch(addCustomLink())} className=\"tw-w-[90px] tw-p-0\">\n <PlusSolidV6 size=\"s\" />\n <span className=\"tw-ml-[4px]\">Custom Link</span>\n </TextButton>\n <IconPickerModal\n onHide={() => setIconPickerCustomLink(false)}\n onSelect={(icon) => dispatch(setCustomLink({ order: iconPickerCustomLink.order, icon }))}\n show={iconPickerCustomLink}\n />\n </>\n );\n};\n\nexport default CustomLinks;\n\nCustomLink.propTypes = {\n onDelete: func.isRequired,\n setIconPickerCustomLink: func.isRequired,\n onTitleChange: func.isRequired,\n onURLChange: func.isRequired,\n customLink: shape({\n icon: string,\n title: string,\n url: string,\n }).isRequired,\n};\n","import React from \"react\";\n\nimport { useDispatch } from \"react-redux\";\n\nimport TextInput from \"@shared/v2/TextInput\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { useContactPerson } from \"../../../reducers/contactsReducer/selectors\";\nimport { setPersonValue } from \"../../../reducers/contactsReducer\";\n\nconst AboutMe = () => {\n const dispatch = useDispatch();\n const { bio } = useContactPerson().loginUserAttributes;\n return (\n <div className=\"\">\n <FieldLabel label=\"Bio\" htmlFor=\"aboutMe-1\" />\n <TextInput\n onChange={(e) => dispatch(setPersonValue({ key: \"loginUserAttributes.bio\", value: e.target.value }))}\n value={bio}\n className=\"tw-w-full tw-h-[136px] tw-mt-[8px]\"\n id=\"aboutMe-1\"\n multiline\n />\n </div>\n );\n};\n\nexport default AboutMe;\n","import React from \"react\";\n\nimport { headline2, bodyS, headline3 } from \"@shared/styles\";\nimport Title from \"../ModalSections/Title\";\nimport Subdomain from \"../ModalSections/Subdomain/Subdomain\";\nimport DefaultLinks from \"../ModalSections/DefaultLinks\";\nimport CustomLinks from \"../ModalSections/CustomLinks\";\n\nimport { containerView, borderHr } from \"./styles\";\nimport AboutMe from \"../ModalSections/AboutMe\";\n\nconst WebsiteInfoViewRef = () => (\n <div className={containerView}>\n <div className={`tw-text-neutral-gray-75 ${headline2}`}>Website Info</div>\n <div className={bodyS}>Changes may take several minutes to reflect on your Brivity website.</div>\n <div className={headline3}>Basic</div>\n <Title />\n <Subdomain />\n <hr className={`${borderHr} tw-m-0`} />\n <div className={headline3}>Review Links</div>\n <div className=\"tw-text-gray-50\">\n Enter the links for the websites you use to collect client reviews. They are added to your <b>Links</b>{\" \"}\n page. (Example: john.mywebsite.com/links)\n </div>\n <DefaultLinks />\n <div className={headline3}>Custom Links</div>\n <div className=\"tw-text-gray-50 tw-tracking-[-0.4px]\">\n Custom links are added to your <b>Links</b> page. (Example: john.mywebsite.com/links)\n </div>\n <CustomLinks />\n <div className={headline3}>About Me</div>\n <AboutMe />\n </div>\n);\n\nexport default WebsiteInfoViewRef;\n","import { schemaGenerator } from \"../utils\";\n\n// The Checkbox component is implemented using an `input[type=checkbox]` element and has custom\n// styles (following the design system) using the appearance none technique. Although it works, CSS\n// selectors take precedence over Tailwind classes that affect `input[type=checkbox]`s globally. So\n// to override it, we must decorate some of the Tailwind classes here with the important flag (!).\n// See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#styling_radio_inputs\n// (applies to checkbox as well) and https://developer.mozilla.org/en-US/docs/Web/CSS/appearance\n\nconst dictionary = {\n regular: {\n default: [\n \"tw-appearance-none\",\n \"tw-w-[14px]\",\n \"tw-h-[14px]\",\n \"!tw-m-0\",\n \"tw-rounded-[1.5px]\",\n \"tw-border\",\n \"tw-border-solid\",\n \"tw-border-neutral-gray-30\",\n ],\n before: [\n \"before:tw-content-['_']\",\n \"before:tw-block\",\n \"before:tw-relative\",\n // Negative offset to account for the border of the input\n \"before:tw-top-[-1px]\",\n \"before:tw-left-[-1px]\",\n \"before:tw-w-[14px]\",\n \"before:tw-h-[14px]\",\n ],\n // !important is required because we need to override the browser's outline\n focus: [\"focus:!tw-outline-0\", \"group-focus:!tw-outline-0\"],\n focusVisible: [\"focus-visible:!tw-outline-theme\", \"group-focus-visible:!tw-outline-theme\"],\n hover: [\n \"enabled:hover:tw-border-theme-checkbox-hover\",\n \"enabled:group-hover:tw-border-theme-checkbox-hover\",\n ],\n disabled: [\n \"disabled:tw-border-solid\",\n \"disabled:tw-border-neutral-gray-15\",\n \"disabled:tw-bg-neutral-gray-5\",\n ],\n checked: [\"checked:tw-border-theme-checkbox-checked\"],\n checkedBefore: [\n \"checked:before:tw-bg-theme-checkbox-checked\",\n \"checked:before:tw-bg-theme-checkbox-checked-mask\",\n ],\n checkedHover: [\n \"checked:enabled:hover:tw-border-theme-checkbox-checked-hover\",\n \"checked:enabled:group-hover:tw-border-theme-checkbox-checked-hover\",\n ],\n checkedHoverBefore: [\n \"checked:enabled:hover:before:tw-bg-theme-checkbox-checked-hover\",\n \"checked:enabled:group-hover:before:tw-bg-theme-checkbox-checked-hover\",\n ],\n indeterminate: [\"indeterminate:tw-border-theme-checkbox-indeterminate\"],\n indeterminateBefore: [\n \"indeterminate:before:tw-bg-theme-checkbox-indeterminate\",\n \"indeterminate:before:tw-bg-theme-checkbox-indeterminate-mask\",\n ],\n indeterminateHover: [\n \"indeterminate:enabled:hover:tw-border-theme-checkbox-indeterminate-hover\",\n \"indeterminate:enabled:group-hover:tw-border-theme-checkbox-indeterminate-hover\",\n ],\n indeterminateHoverBefore: [\n \"indeterminate:enabled:hover:before:tw-bg-theme-checkbox-indeterminate-hover\",\n \"indeterminate:enabled:group-hover:before:tw-bg-theme-checkbox-indeterminate-hover\",\n ],\n checkedDisabled: [\"checked:disabled:tw-border-neutral-gray-30\"],\n checkedDisabledBefore: [\n \"checked:disabled:before:tw-bg-neutral-gray-30\",\n \"checked:disabled:before:tw-bg-theme-checkbox-checked-mask\",\n ],\n indeterminateDisabled: [\"indeterminate:disabled:tw-border-neutral-gray-30\"],\n indeterminateDisabledBefore: [\n \"indeterminate:disabled:before:tw-bg-neutral-gray-30\",\n \"indeterminate:disabled:before:tw-bg-theme-checkbox-indeterminate-mask\",\n ],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport styleSchema from \"./Checkbox.styles\";\n\nconst textColor = (disabled) => (disabled ? \"tw-text-neutral-gray-30\" : \"tw-text-neutral-gray-75\");\n\nconst getVerticalAlignment = (alignment) => {\n if (alignment === \"start\") return \"tw-items-start\";\n if (alignment === \"end\") return \"tw-items-end\";\n return \"tw-items-center\";\n};\n\nconst Checkbox = ({\n id: idFromProps,\n label,\n labelClassName,\n checked,\n indeterminate,\n disabled,\n className,\n valign,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"checkbox\", idFromProps);\n\n const checkboxInput = useRef(null);\n\n useEffect(() => {\n if (!checkboxInput.current) {\n return;\n }\n // Set the indeterminate value via JavaScript since it can't be set via HTML attribute\n // see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes\n checkboxInput.current.indeterminate = indeterminate;\n }, [checkboxInput, indeterminate]);\n\n return (\n <div\n className={`tw-inline-flex tw-flex-row tw-justify-start ${getVerticalAlignment(valign)} tw-gap-[6px]`}\n data-cy=\"checkbox-container\"\n >\n <input\n ref={checkboxInput}\n id={id}\n type=\"checkbox\"\n checked={checked}\n disabled={disabled}\n className={`tw-align-middle ${styleSchema.regular} ${className}`}\n data-cy=\"checkbox\"\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n {label && (\n <label\n htmlFor={id}\n className={`tw-m-0 tw-select-none tw-text-14d ${textColor(disabled)} ${labelClassName}`}\n >\n {label}\n </label>\n )}\n </div>\n );\n};\n\nCheckbox.propTypes = {\n id: PropTypes.string,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]),\n labelClassName: PropTypes.string,\n checked: PropTypes.bool,\n indeterminate: PropTypes.bool,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n valign: PropTypes.oneOf([\"start\", \"center\", \"end\"]),\n};\n\nCheckbox.defaultProps = {\n id: null,\n label: \"\",\n labelClassName: \"\",\n checked: false,\n indeterminate: false,\n disabled: false,\n className: \"\",\n valign: \"center\",\n};\n\nexport default Checkbox;\n","import { schemaGenerator } from \"../utils\";\n\n// The RadioButton component is implemented using an `input[type=radio]` element and has custom\n// styles (following the design system) using the appearance none technique. Although it works, CSS\n// selectors take precedence over Tailwind classes that affect `input[type=radio]`s globally. So\n// to override it, we must decorate some of the Tailwind classes here with the important flag (!).\n// See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio#styling_radio_inputs\n// and https://developer.mozilla.org/en-US/docs/Web/CSS/appearance\n\nconst dictionary = {\n regular: {\n default: [\n \"tw-peer\",\n \"tw-appearance-none\",\n \"tw-w-[16px]\",\n \"tw-h-[16px]\",\n \"!tw-m-0\",\n \"tw-rounded-full\",\n \"tw-border-solid\",\n \"tw-border\",\n \"tw-border-neutral-gray-30\",\n \"tw-bg-white\",\n \"tw-flex-shrink-0\",\n \"tw-cursor-pointer\",\n ],\n hover: [\"hover:tw-bg-neutral-gray-5\"],\n focus: [\"focus:!tw-outline-0\"],\n focusVisible: [\"focus-visible:!tw-outline-theme\"],\n disabled: [\n \"disabled:tw-border\",\n \"disabled:tw-border-neutral-gray-15\",\n \"disabled:tw-bg-neutral-gray-5\",\n \"disabled:tw-cursor-not-allowed\",\n ],\n checked: [\n \"checked:tw-border-[2px]\",\n \"checked:tw-border-theme-radio-checked\",\n \"checked:tw-bg-theme-radio-checked\",\n \"checked:tw-shadow-radio\",\n ],\n checkedHover: [\"checked:hover:tw-bg-theme-radio-checked\"],\n checkedDisabled: [\n \"checked:disabled:tw-border-[2px]\",\n \"checked:disabled:tw-border-neutral-gray-30\",\n \"checked:disabled:tw-bg-neutral-gray-30\",\n \"checked:disabled:tw-shadow-radio\",\n ],\n checkedDisabledHover: [\"checked:disabled:hover:tw-bg-neutral-gray-30\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { Info } from \"../Icomoon\";\nimport Tooltip from \"../Tooltip\";\n\nimport styleSchema from \"./RadioButton.styles\";\n\nconst textColor = (disabled) => (disabled ? \"tw-text-neutral-gray-30\" : \"tw-text-neutral-gray-75\");\n\n// Returns true when `text` has more than five words (considering that each word is separated by a space character).\n// For example \"Lorem Ipsum is simply dummy text.\", is considered a multiline text.\nconst isMultilineText = (text) => text && text.trim().split(\" \").length > 5;\n\nconst isMultiline = (additionalInfo) => {\n // `additionalInfo.multiline` could be omitted (null/undefined)\n if (typeof additionalInfo.multiline === \"boolean\") {\n return additionalInfo.multiline;\n }\n\n return isMultilineText(\n typeof additionalInfo.content === \"string\" ? additionalInfo.content : additionalInfo.content.textContent,\n );\n};\n\nconst RadioButton = ({\n id: idFromProps,\n value,\n label,\n labelClassName,\n containerClassName,\n checked,\n disabled,\n additionalInfo,\n className,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"radio-button\", idFromProps);\n\n return (\n <div className={`tw-inline-flex tw-flex-row tw-justify-start tw-items-center ${containerClassName}`}>\n <input\n id={id}\n type=\"radio\"\n value={value}\n checked={checked}\n disabled={disabled}\n className={`${styleSchema.regular} ${className}`}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n <label\n htmlFor={id}\n className={`tw-my-0 tw-mr-0 tw-ml-[8px] tw-select-none tw-text-14d tw-cursor-pointer peer-disabled:tw-cursor-not-allowed ${textColor(\n disabled,\n )} ${labelClassName}`}\n >\n {label}\n </label>\n {additionalInfo?.content && (\n <Tooltip\n placement={additionalInfo.placement || \"right\"}\n multiline={isMultiline(additionalInfo)}\n trigger={\n <div className=\"tw-inline-flex tw-justify-center tw-items-center tw-w-[22px] tw-h-[20px]\">\n <Info size=\"m\" className={textColor(disabled)} />\n </div>\n }\n content={<span>{additionalInfo.content}</span>}\n />\n )}\n </div>\n );\n};\n\nRadioButton.propTypes = {\n id: PropTypes.string,\n value: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n labelClassName: PropTypes.string,\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n additionalInfo: PropTypes.shape({\n content: PropTypes.node,\n multiline: PropTypes.bool,\n placement: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]),\n }),\n className: PropTypes.string,\n containerClassName: PropTypes.string,\n};\n\nRadioButton.defaultProps = {\n id: null,\n checked: false,\n disabled: false,\n className: \"\",\n additionalInfo: null,\n labelClassName: \"\",\n containerClassName: \"\",\n};\n\nexport default RadioButton;\n","import { schemaGenerator } from \"../utils\";\n\nconst BASE = [\"tw-text-neutral-gray-75\", \"tw-not-italic\", \"tw-normal-case\", \"tw-m-0\"];\n\nconst schemaDictionary = {\n headline1: {\n default: [...BASE, \"tw-font-normal\", \"tw-text-28d\"],\n },\n headline2: {\n default: [...BASE, \"tw-font-bold\", \"tw-text-18d\"],\n },\n headline3: {\n default: [...BASE, \"tw-font-normal\", \"tw-text-18d\"],\n },\n \"subtitle-m-bold\": {\n default: [...BASE, \"tw-font-bold\", \"tw-text-14d\"],\n },\n \"subtitle-m\": {\n default: [...BASE, \"tw-font-semibold\", \"tw-text-14d\"],\n },\n \"subtitle-s\": {\n default: [...BASE, \"tw-font-semibold\", \"tw-text-12d\"],\n },\n \"body-m\": {\n default: [...BASE, \"tw-font-normal\", \"tw-text-14d\"],\n },\n \"body-s\": {\n default: [...BASE, \"tw-font-normal\", \"tw-text-12d\"],\n },\n inherit: {\n default: [],\n },\n};\n\nconst schema = schemaGenerator(schemaDictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport schema from \"./Typography.styles\";\n\nconst htmlTagsByVariant = {\n headline1: \"h1\",\n headline2: \"h2\",\n headline3: \"h3\",\n \"subtitle-m-bold\": \"h4\",\n \"subtitle-m\": \"h4\",\n \"subtitle-s\": \"h5\",\n \"body-m\": \"p\",\n \"body-s\": \"p\",\n inherit: \"span\",\n};\n\nexport const availableVariants = Object.keys(htmlTagsByVariant);\n\n/**\n * @summary Typography Component. `children` is the only required prop to make it functional.\n * @param {JSX.Element} children - the element that will be rendered with the variant.\n * @param {string} variant - Variant for the content. Each variant has a different style.\n * @param {JSX.Element | string} component - Optional prop. You can change the default HTML tag that will be rendered.\n * @param {string} className - Arbitrary classNames for the component.\n * */\nconst Typography = ({ children, variant, component, className, ...otherProps }) => {\n const Component = component || htmlTagsByVariant[variant];\n\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Component {...otherProps} className={`${schema[variant]} ${className}`}>\n {children}\n </Component>\n );\n};\n\nTypography.propTypes = {\n children: PropTypes.node.isRequired,\n variant: PropTypes.oneOf(availableVariants),\n component: PropTypes.elementType,\n className: PropTypes.string,\n};\n\nTypography.defaultProps = {\n variant: \"body-m\",\n component: null,\n className: \"\",\n};\n\nexport default Typography;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst FormElement = ({ label, element, required, className }) => {\n return (\n <div className={className}>\n <label className=\"tw-mb-[8px] tw-font-normal tw-text-[14px] tw-text-neutral-gray-50\">\n {label}\n {required && <span className=\"tw-text-brivity-coral-100 tw-ml-1\">*</span>}\n </label>\n {element}\n </div>\n );\n};\n\nFormElement.propTypes = {\n label: PropTypes.string,\n element: PropTypes.shape({}),\n className: PropTypes.string,\n required: PropTypes.bool,\n};\n\nFormElement.defaultProps = {\n label: \"\",\n element: <div />,\n className: \"\",\n required: false,\n};\n\nexport default FormElement;\n","/* eslint-disable react/jsx-props-no-spreading */\n\nimport React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\nimport Modal from \"../../shared/v2/Modal\";\nimport Button from \"../../shared/v2/Button\";\nimport FormElement from \"../../shared/FormElement\";\nimport FormAgentOrPondSelect from \"../../shared/FormAgentOrPondSelect\";\nimport DatePicker from \"../../shared/v2/DatePicker\";\nimport ErrorBanner from \"../../shared/v2/ErrorBanner\";\nimport RadioButton from \"../../shared/v2/RadioButton/RadioButton\";\nimport { useCurrentUser, useTheme } from \"../../reducers/layoutReducer/selectors\";\n\nconst DeactivateUserModal = ({ onClose, show, userId }) => {\n const theme = useTheme();\n const currentUser = useCurrentUser();\n const [isDeleting, setIsDeleting] = useState(false);\n const [errors, setErrors] = useState([]);\n const [organizationEndDate, setOrganizationEndDate] = useState(null);\n const [reassignLeadsTo, setReassignLeadsTo] = useState({ primary_agent: currentUser.account.ownerId });\n const [reasonForLeaving, setReasonForLeaving] = useState(\"\");\n const [departureType, setDepartureType] = useState(\"Voluntarily\");\n\n const onReload = (data) => {\n onClose(data);\n localStorage.setItem(\n \"successMsg\",\n \"User is archived. Reassigning their leads and tasks is in process. This might take a few minutes. \",\n );\n window.location.replace(\n `${window.location.origin}/people/team?leads_filter%5Bselected_sources%5D%5B%5D=`,\n );\n };\n\n useEffect(() => {\n setReassignLeadsTo({ primary_agent: currentUser.account.ownerId });\n }, [currentUser.account.ownerId]);\n\n const deactivateUserOnClick = () => {\n const newErrors = [];\n if (!organizationEndDate) newErrors.push(\"Last Day is required.\");\n if (!reasonForLeaving) newErrors.push(\"Reason For Leaving is required.\");\n setErrors(newErrors);\n if (newErrors.length > 0) return;\n\n setIsDeleting(true);\n const model = {\n organizationEndDate:\n organizationEndDate === \"\" ? null : moment(organizationEndDate).format(\"DD/MM/YYYY\"),\n reasonForLeaving,\n departureType,\n };\n if (reassignLeadsTo.primary_agent) {\n model.reassignLeadsToId = reassignLeadsTo.primary_agent;\n model.reassignLeadsToType = \"user\";\n } else {\n model.reassignLeadsToId = reassignLeadsTo.lead_pond;\n model.reassignLeadsToType = \"lead_pond\";\n }\n caseTransformingAxios\n .patch(`/users/${userId}/deactivate`, model)\n .then((res) => {\n setIsDeleting(false);\n onReload(res.data || true);\n })\n .catch((err) => {\n setIsDeleting(false);\n onClose(undefined, err?.response?.data.content || err?.response?.data.message);\n });\n };\n\n return (\n <Modal\n show={show}\n onHide={onClose}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px] tw-max-w-full\"\n >\n <Modal.Header title=\"Archive User?\" closeButton />\n <div className=\"tw-flex tw-flex-col tw-gap-[24px] tw-mt-[12px]\">\n <div className=\"tw-text-14d tw-font-normal tw-text-neutral-gray-50\">\n Before archiving a user, we recommend that you reassign their tasks to the remaining users on your\n team. If you do not reassign these items, they will become "unassigned" and you can\n reassign them later.\n </div>\n <div className=\"tw-text-14d tw-font-normal tw-text-neutral-gray-50\">\n Reassigning leads and tasks for this user may take a few minutes once they have been archived.\n </div>\n\n <ErrorBanner errors={errors} />\n\n <FormElement\n label=\"Last Day\"\n required\n element={\n <DatePicker\n placeholder=\"MM / DD / YYYY\"\n value={organizationEndDate}\n onChange={setOrganizationEndDate}\n />\n }\n />\n <FormElement\n label=\"Reassign Leads To\"\n element={\n <FormAgentOrPondSelect\n enableLeadPonds\n leadPond={reassignLeadsTo?.lead_pond}\n primaryAgent={reassignLeadsTo?.primary_agent}\n onChange={setReassignLeadsTo}\n />\n }\n />\n <FormElement\n label=\"Reason For Leaving\"\n required\n element={\n <>\n <textarea\n className=\"tw-block tw-w-full tw-h-[76px] tw-p-2 tw-bg-tinted-gray-50 tw-border-neutral-gray-15\"\n value={reasonForLeaving}\n onChange={(e) => setReasonForLeaving(e.target.value)}\n />\n {theme.name === \"place-theme\" && (\n <div role=\"radiogroup\" className=\"tw-mt-[8px] tw-flex tw-gap-[16px]\">\n <RadioButton\n label=\"Left Team Voluntarily\"\n name=\"departure_type\"\n checked={departureType === \"Voluntarily\"}\n value=\"Voluntarily\"\n onChange={(e) => setDepartureType(e.target.value)}\n />\n <RadioButton\n label=\"Left Team Involuntarily\"\n name=\"departure_type\"\n checked={departureType === \"Involuntarily\"}\n value=\"Involuntarily\"\n onChange={(e) => setDepartureType(e.target.value)}\n />\n </div>\n )}\n </>\n }\n />\n <div className=\"tw-flex tw-justify-between\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={onClose} disabled={isDeleting}>\n Cancel\n </Button>\n <Button schema=\"warning\" size=\"medium\" isLoading={isDeleting} onClick={deactivateUserOnClick}>\n {isDeleting ? (\n <FontAwesomeIcon\n icon={faSpinner}\n className=\"tw-h-[10px] tw-w-[10px] tw-text-neutral-gray-75 tw-mx-auto fa-spin\"\n />\n ) : (\n \"Yes, Archive\"\n )}\n </Button>\n </div>\n </div>\n </Modal>\n );\n};\n\nDeactivateUserModal.propTypes = {\n userId: PropTypes.number,\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nDeactivateUserModal.defaultProps = {\n userId: null,\n};\n\nexport default DeactivateUserModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { Prompt } from \"../../shared/v2/Modal\";\n\nfunction ActivateUserModal({ userId, show, onClose }) {\n const [loading, setLoading] = React.useState(false);\n\n const activateUserOnClick = () => {\n setLoading(true);\n caseTransformingAxios\n .patch(`/users/${userId}/activate`)\n .then((res) => {\n setLoading(false);\n onClose(res.data || true);\n })\n .catch((err) => onClose(undefined, err?.response?.data?.content || err?.response?.data?.message));\n };\n\n return (\n <Prompt\n description={\n <div className=\"tw-text-14d tw-font-normal tw-text-neutral-gray-75\">\n Activating a user restores them as an Active User in your CRM and fills a user seat.\n </div>\n }\n onCancel={onClose}\n primaryOption=\"Activate\"\n onPrimary={() => activateUserOnClick()}\n isPrimaryLoading={loading}\n show={show}\n title=\"Activate User?\"\n className=\"settings-users-activate-user-modal\"\n />\n );\n}\n\nActivateUserModal.propTypes = {\n userId: PropTypes.number.isRequired,\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default ActivateUserModal;\n","/* eslint-disable react/no-array-index-key */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport Typography from \"@shared/v2/Typography\";\n\nconst OptionsSection = ({ label, children, copy, isRequired }) => (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px] tw-bg-semantic-blue-5 tw-p-[16px] tw-rounded-[4px] tw-border tw-border-solid tw-border-semantic-blue-120\">\n <FieldLabel className=\"tw-text-semantic-blue-120 tw-mb-[4px]\" label={label} isRequired={isRequired} />\n {copy && <Typography className=\"tw-text-semantic-blue-120\">{copy}</Typography>}\n {children}\n </div>\n);\n\nOptionsSection.propTypes = {\n label: PropTypes.string.isRequired,\n copy: PropTypes.string.isRequired,\n isRequired: PropTypes.bool.isRequired,\n children: PropTypes.node,\n};\n\nOptionsSection.defaultProps = {\n children: null,\n};\n\nexport default OptionsSection;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport { CheckSolidV6, XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport Typography from \"@shared/v2/Typography\";\nimport { isStrInputLen } from \"./helpers\";\nimport DeactivateUserModal from \"../../Settings/Users/DeactivateUserModal\";\nimport CannotReActivateUserModal from \"../../Settings/Users/CannotReActivateUserModal\";\nimport ActivateUserModal from \"../../Settings/Users/ActivateUserModal\";\nimport OptionsSection from \"./OptionsSection\";\nimport { containerView } from \"./styles\";\nimport { setPersonValue } from \"../../reducers/contactsReducer\";\nimport { useCurrentUser, useSupportPhoneNumber, useTheme } from \"../../reducers/layoutReducer/selectors\";\nimport { useContactPerson } from \"../../reducers/contactsReducer/selectors\";\n\nfunction AccountSettingsView() {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const isPlace = useTheme().name === \"place-theme\";\n const supportPhoneNumber = useSupportPhoneNumber();\n const person = useContactPerson();\n const isSeatsAvailable = currentUser.account.seats > 0;\n const primaryEmail = useMemo(\n () => person.emailDetailsAttributes?.find((email) => email.position === 1)?.value || \"\",\n [person.emailDetailsAttributes],\n );\n const [isDeactivatingUser, setIsDeactivatingUser] = useState(false);\n const [isActivatingUser, setIsActivatingUser] = useState(false);\n const [isCannotReActivateUser, setIsCannotReActivateUser] = useState(false);\n\n useEffect(() => {\n dispatch(setPersonValue({ key: \"loginUserAttributes.email\", value: primaryEmail }));\n }, [primaryEmail]);\n\n if (!person.loginUserAttributes) return null;\n\n return (\n <div className={containerView}>\n <Typography variant=\"headline2\">Account Settings</Typography>\n <TextComboInput\n label=\"Brivity Login Email\"\n isRequired\n value={person.loginUserAttributes.email || \"\"}\n containerClassName=\"tw-flex-1\"\n error={isStrInputLen(person.loginUserAttributes.email)}\n onChange={(e) =>\n dispatch(setPersonValue({ key: \"loginUserAttributes.email\", value: e.target.value }))\n }\n data-cy=\"brivity-login-meail\"\n />\n {person.id && currentUser.person.id !== person.id && (\n <OptionsSection\n label=\"Resend User Invitation\"\n copy=\"This user has already been invited to log in through their Brivity login email address. Would you like to resend this email?\"\n >\n <Checkbox\n label=\"Yes, resend email invitation\"\n className=\"tw-cursor-pointer\"\n labelClassName=\"tw-cursor-pointer tw-text-semantic-blue-120\"\n id=\"reinvite\"\n checked={person.loginUserAttributes.inviteToOkta === true}\n onChange={() =>\n dispatch(\n setPersonValue({\n key: \"loginUserAttributes.inviteToOkta\",\n value: !person.loginUserAttributes.inviteToOkta,\n }),\n )\n }\n />\n </OptionsSection>\n )}\n {!person.id && (\n <OptionsSection\n label={`Invite User ${isPlace ? \"to PLACE Platform\" : \"\"}`}\n isRequired\n copy=\"Do you want to invite this user to log in? They will get an email at their primary email address.\"\n >\n <RadioButton\n labelClassName=\"tw-text-semantic-blue-120\"\n label=\"Yes, invite this user to login\"\n checked={person.loginUserAttributes.inviteToOkta === true}\n onChange={() =>\n dispatch(setPersonValue({ key: \"loginUserAttributes.inviteToOkta\", value: true }))\n }\n />\n {isPlace && (\n <Typography\n className=\"tw-flex tw-flex-col tw-gap-[4px] tw-text-semantic-blue-120 tw-pl-[24px]\"\n variant=\"body-s\"\n >\n <span>They will get access to:</span>\n <span>\n <CheckSolidV6 size=\"s\" className=\"tw-mr-[2px]\" /> PLACE Academy\n </span>\n <span>\n <CheckSolidV6 size=\"s\" className=\"tw-mr-[2px]\" /> Our PLACE\n </span>\n <span className={currentUser.account.defaultCrmAccess ? \"\" : \"tw-text-semantic-red-120\"}>\n {currentUser.account.defaultCrmAccess ? (\n <CheckSolidV6 size=\"s\" className=\"tw-mr-[2px]\" />\n ) : (\n <XmarkSolidV6 size=\"s\" className=\"tw-mr-[2px]\" />\n )}{\" \"}\n Brivity CRM\n </span>\n {!currentUser.account.defaultCrmAccess && (\n <span>\n Note: This user will not have access to the Brivity CRM. Contact support in the live chat or\n {` ${supportPhoneNumber} `} if you want this user to have access to Brivity.\n </span>\n )}\n </Typography>\n )}\n <RadioButton\n labelClassName=\"tw-text-semantic-blue-120\"\n label=\"No, I'll do this later\"\n checked={person.loginUserAttributes.inviteToOkta === false}\n onChange={() =>\n dispatch(setPersonValue({ key: \"loginUserAttributes.inviteToOkta\", value: false }))\n }\n />\n </OptionsSection>\n )}\n {person.id && (\n <div>\n {!person.loginUserAttributes.active ? (\n <Button\n schema=\"secondary\"\n size=\"medium\"\n onClick={() => (isSeatsAvailable ? setIsActivatingUser(true) : setIsCannotReActivateUser(true))}\n >\n Activate User\n </Button>\n ) : (\n <Button\n className={\n person.agentType === \"Account Owner\" || person.id === currentUser.person.id ? \"tw-hidden\" : \"\"\n }\n schema=\"warning\"\n size=\"medium\"\n onClick={() => setIsDeactivatingUser(true)}\n >\n Archive User\n </Button>\n )}\n </div>\n )}\n <DeactivateUserModal\n show={isDeactivatingUser}\n onClose={(data) => {\n setIsDeactivatingUser(false);\n if (data) dispatch(setPersonValue({ key: \"loginUserAttributes.active\", value: false }));\n }}\n userId={person.loginUserAttributes.id}\n />\n {isCannotReActivateUser && (\n <CannotReActivateUserModal\n show={isCannotReActivateUser}\n onClose={() => setIsCannotReActivateUser(false)}\n />\n )}\n {isActivatingUser && (\n <ActivateUserModal\n show={isActivatingUser}\n onClose={(data) => {\n setIsActivatingUser(false);\n if (data) dispatch(setPersonValue({ key: \"loginUserAttributes.active\", value: true }));\n }}\n userId={person.loginUserAttributes.id}\n />\n )}\n </div>\n );\n}\n\nexport default AccountSettingsView;\n","import { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport {\n getFormData,\n setErrors,\n setPersonValue,\n setShowPhoneContext,\n upsertPerson,\n} from \"../../reducers/contactsReducer\";\nimport { useShowPhoneContext } from \"../../reducers/contactsReducer/selectors\";\n\nconst usePersonDetailsModal = ({ modalType, person, personId, show }) => {\n const dispatch = useDispatch();\n const errors = useSelector((state) => state.contactsReducer.errors);\n const formLoading = useSelector((state) => state.contactsReducer.formOptionsLoading);\n const loading = useSelector((state) => state.contactsReducer.loading);\n const showPhoneContext = useShowPhoneContext();\n\n useEffect(() => {\n if (!show) return;\n dispatch(getFormData({ modalType, personId, person }));\n }, [person, personId, show]);\n\n return {\n actions: {\n clearErrors: () => dispatch(setErrors()),\n upsertPerson: (opts) => dispatch(upsertPerson(opts)),\n setPersonValue: (opts) => dispatch(setPersonValue(opts)),\n setShowPhoneContext: (opts) => dispatch(setShowPhoneContext(opts)),\n },\n errors,\n formLoading,\n showPhoneContext,\n loading,\n };\n};\n\nexport default usePersonDetailsModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/TextButton\";\n\nconst PdpLink = ({ personId }) =>\n personId ? (\n <TextButton\n onClick={() => window.open(`/people/${personId}`, \"_blank\", { noreferrer: true })}\n className=\"tw-absolute tw-top-[4px] tw-right-[52px] !tw-m-0\"\n size=\"medium\"\n >\n See Full Details\n </TextButton>\n ) : null;\n\nPdpLink.propTypes = {\n personId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n};\n\nPdpLink.defaultProps = {\n personId: null,\n};\n\nexport default PdpLink;\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Spinner } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport ErrorAlert from \"@shared/UtilsV1/ErrorAlert\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport FolderTab from \"@shared/UtilsV1/FolderTab\";\nimport GeneralView from \"./ModalViews/GeneralView\";\nimport UserDetailsView from \"./ModalViews/UserDetailsView\";\nimport ContactInfoView from \"./ModalViews/ContactInfoView\";\nimport PersonalDetailsView from \"./ModalViews/PersonalDetailsView\";\nimport CustomDatesView from \"./ModalViews/CustomDatesView\";\nimport WebsiteInfoView from \"./ModalViews/WebsiteInfoView\";\nimport AccountSettingsView from \"./ModalViews/AccountSettingsView\";\nimport { useFeatureFlags } from \"../reducers/layoutReducer/selectors\";\nimport usePersonDetailsModal from \"./hooks/usePersonDetailsModal\";\nimport PdpLink from \"./PdpLink\";\nimport PhoneNumberModal from \"./PhoneNumberModal\";\n\nconst percentVisible = (parent, child) => {\n if (!child) return 0;\n const childTop = child.offsetTop;\n const childBottom = childTop + child.clientHeight;\n const parentTop = parent.scrollTop;\n const parentBottom = parentTop + parent.clientHeight;\n const totalHeight = Math.max(childBottom, parentBottom) - Math.min(childTop, parentTop);\n const parentCompensation = totalHeight - parent.clientHeight;\n const portionVisible = child.clientHeight - parentCompensation;\n return portionVisible <= 0 ? 0 : portionVisible / child.clientHeight;\n};\n\nconst TAB_NAMES = {\n general: \"General\",\n userDetails: \"User Details\",\n personalDetails: \"Personal Details\",\n contactInfo: \"Contact Info\",\n customDates: \"Custom Dates\",\n accountSettings: \"Account Settings\",\n websiteInfo: \"Website Info\",\n};\n\nconst PersonDetailsModal = ({\n onClose,\n person,\n personId,\n show,\n modalType = \"lead\",\n showAddDetailsButton,\n containerClassName = \"\",\n}) => {\n const [activeTabName, setActiveTabName] = useState(TAB_NAMES.general);\n const GeneralViewRef = useRef();\n const UserDetailsViewRef = useRef();\n const ContactInfoViewRef = useRef();\n const PersonalDetailsViewRef = useRef();\n const CustomDatesViewRef = useRef();\n const WebsiteInfoViewRef = useRef();\n const AccountSettingsViewRef = useRef();\n const featureFlags = useFeatureFlags();\n const isEditing = Boolean(person?.id || personId);\n const typeName = modalType === \"lead\" ? \"Contact\" : \"User\";\n const title = isEditing ? `Edit ${typeName} Details` : `Add ${typeName}`;\n const { actions, errors, formLoading, showPhoneContext, loading } = usePersonDetailsModal({\n modalType,\n person,\n personId,\n show,\n });\n\n const onScroll = (e) => {\n let tmpVisible = 0;\n let pVisible = percentVisible(e.target, GeneralViewRef.current);\n const activeTab = [\n [AccountSettingsViewRef, TAB_NAMES.accountSettings],\n [WebsiteInfoViewRef, TAB_NAMES.websiteInfo],\n [CustomDatesViewRef, TAB_NAMES.customDates],\n [PersonalDetailsViewRef, TAB_NAMES.personalDetails],\n [ContactInfoViewRef, TAB_NAMES.contactInfo],\n [UserDetailsViewRef, TAB_NAMES.userDetails],\n [GeneralViewRef, TAB_NAMES.general],\n ].reduce((p, [ref, tabName]) => {\n tmpVisible = percentVisible(e.target, ref.current);\n if (tmpVisible >= pVisible) {\n pVisible = tmpVisible;\n return tabName;\n }\n return p;\n }, TAB_NAMES.general);\n if (activeTabName !== activeTab) setActiveTabName(activeTab);\n };\n\n return (\n <Modal\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-max-w-[850px] tw-w-[100vw] tw-max-h-[85vh] tw-flex tw-flex-col tw-gap-[32px]\"\n show={show}\n onHide={onClose}\n containerClassName={containerClassName}\n >\n <Modal.Header\n className=\"tw-relative\"\n title={title}\n description={\n modalType === \"lead\"\n ? \"Fill out this basic info in order to keep in touch with this contact through your CRM.\"\n : \"\"\n }\n closeButton\n >\n <PdpLink personId={personId} />\n </Modal.Header>\n\n <Modal.Body className=\"tw-relative tw-flex tw-flex-col tw-overflow-hidden\">\n {errors?.length > 0 && (\n <div className=\"tw-flex-1 tw-min-h-[72px] tw-max-h-[240px] tw-overflow-auto tw-mb-[8px]\">\n <ErrorAlert errorMessages={errors} onClose={actions.clearErrors} />\n </div>\n )}\n\n {formLoading && (\n <div className=\"tw-flex tw-w-full tw-justify-center\">\n <Spinner size=\"xxxl\" className=\"tw-animate-spin\" />\n </div>\n )}\n\n {!formLoading && (\n <div className=\"tw-flex tw-overflow-hidden\">\n <div className=\"tw-w-[160px] tw-text-14px tw-text-neutral-gray-75 tw-border-r tw-border-solid tw-border-0 tw-border-neutral-gray-15 \">\n <FolderTab\n tabName={TAB_NAMES.general}\n isActive={activeTabName === TAB_NAMES.general}\n onClick={() => GeneralViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n\n {modalType === \"user\" && (\n <FolderTab\n tabName={TAB_NAMES.userDetails}\n isActive={activeTabName === TAB_NAMES.userDetails}\n onClick={() => UserDetailsViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n )}\n\n <FolderTab\n tabName={TAB_NAMES.contactInfo}\n isActive={activeTabName === TAB_NAMES.contactInfo}\n onClick={() => ContactInfoViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n <FolderTab\n tabName={TAB_NAMES.personalDetails}\n isActive={activeTabName === TAB_NAMES.personalDetails}\n onClick={() => PersonalDetailsViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n\n <FolderTab\n tabName={TAB_NAMES.customDates}\n isActive={activeTabName === TAB_NAMES.customDates}\n onClick={() => CustomDatesViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n\n {modalType === \"user\" && (\n <>\n {featureFlags.userUpdate && (\n <FolderTab\n tabName={TAB_NAMES.websiteInfo}\n isActive={activeTabName === TAB_NAMES.websiteInfo}\n onClick={() => WebsiteInfoViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n )}\n <FolderTab\n tabName={TAB_NAMES.accountSettings}\n isActive={activeTabName === TAB_NAMES.accountSettings}\n onClick={() => AccountSettingsViewRef.current.scrollIntoView({ behavior: \"smooth\" })}\n />\n </>\n )}\n </div>\n <div className=\"tw-flex-1 tw-overflow-auto\" onScroll={onScroll}>\n <div className=\"tw-px-[24px] tw-mr-[12px]\">\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\" />\n </div>\n <div className=\"tw-relative tw-flex-auto tw-flex tw-flex-col tw-p-[24px] tw-gap-[24px] tw-overflow-y-auto scrollbar\">\n <div ref={GeneralViewRef}>\n <GeneralView modalType={modalType} />\n </div>\n\n {modalType === \"user\" && (\n <>\n <hr className=\"tw-w-full tw-border-gray-10\" />\n <div ref={UserDetailsViewRef}>\n <UserDetailsView />\n </div>\n </>\n )}\n\n <hr className=\"tw-w-full tw-border-gray-10\" />\n <div ref={ContactInfoViewRef}>\n <ContactInfoView modalType={modalType} />\n </div>\n\n <hr className=\"tw-w-full tw-border-gray-10\" />\n <div ref={PersonalDetailsViewRef}>\n <PersonalDetailsView\n birthdateError={errors\n ?.find((e) => e.startsWith(\"Birthdate\"))\n ?.replace(\"Birthdate: \", \"\")}\n />\n </div>\n\n {(isEditing || modalType === \"user\") && (\n <>\n <hr className=\"tw-w-full tw-border-gray-10\" />\n <div ref={CustomDatesViewRef}>\n <CustomDatesView />\n </div>\n </>\n )}\n\n {modalType === \"user\" && (\n <>\n {featureFlags.userUpdate && (\n <>\n <hr className=\"tw-w-full tw-border-gray-10\" />\n <div ref={WebsiteInfoViewRef}>\n <WebsiteInfoView />\n </div>\n </>\n )}\n <div ref={AccountSettingsViewRef}>\n <AccountSettingsView />\n </div>\n </>\n )}\n </div>\n <div className=\"tw-px-[24px] tw-mr-[12px]\">\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\" />\n </div>\n </div>\n </div>\n )}\n </Modal.Body>\n\n <Modal.Footer className=\"tw-flex tw-justify-between tw-items-center\">\n <Button\n onClick={() => {\n actions.clearErrors();\n onClose();\n }}\n data-cy=\"ec-modal-cancel-btn\"\n schema=\"tertiary\"\n size=\"medium\"\n >\n Cancel\n </Button>\n\n <div className=\"tw-flex tw-items-center tw-gap-[16px]\">\n {showAddDetailsButton && modalType === \"lead\" && !personId && (\n <TextButton\n size=\"medium\"\n disabled={formLoading || loading}\n onClick={() =>\n actions.upsertPerson({ modalType }).then(({ payload }) => {\n if (payload.slug) window.location.assign(`/people/${payload.slug}`);\n })\n }\n >\n Add More Details\n </TextButton>\n )}\n\n {personId && (\n <TextButton\n size=\"medium\"\n disabled={formLoading || loading}\n onClick={() => actions.upsertPerson({ modalType })}\n >\n Save Changes\n </TextButton>\n )}\n\n <Button\n className=\"tw-flex tw-items-center\"\n size=\"medium\"\n isLoading={formLoading || loading}\n onClick={() =>\n actions.upsertPerson({ modalType }).then(({ meta, payload }) => {\n if (meta.requestStatus === \"fulfilled\") onClose(payload);\n })\n }\n >\n Save & Close\n </Button>\n </div>\n </Modal.Footer>\n <PhoneNumberModal\n showContext={showPhoneContext}\n onClose={(phoneRemovalAck) => {\n if (phoneRemovalAck) {\n actions.setPersonValue({ key: \"phoneRemovalAck\", value: true });\n actions.upsertPerson({ modalType }).then(({ meta, payload }) => {\n if (meta.requestStatus === \"fulfilled\") onClose(payload);\n });\n }\n actions.setShowPhoneContext(null);\n }}\n />\n </Modal>\n );\n};\n\nPersonDetailsModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func,\n person: PropTypes.shape(),\n personId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n modalType: PropTypes.oneOf([\"lead\", \"user\"]),\n showAddDetailsButton: PropTypes.bool,\n containerClassName: PropTypes.string,\n};\n\nPersonDetailsModal.defaultProps = {\n onClose: () => {},\n person: null,\n personId: null,\n modalType: \"lead\",\n showAddDetailsButton: true,\n containerClassName: \"\",\n};\n\nexport default PersonDetailsModal;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CaretDown, CaretUp, CircleInfoSolidV6 } from \"../../../shared/v2/Icomoon\";\nimport * as actions from \"../actions/default\";\nimport \"./UsersTableHeader.scss\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst HEADER_ROWS = [\n { key: \"avatar\", title: \"\", sortable: false, colWidth: \"tw-w-[56px]\" },\n { key: \"fullName\", title: \"Name\", sortable: true, colWidth: \"tw-w-196px\" },\n { key: \"agentType\", title: \"User Type\", sortable: true, colWidth: \"tw-w-196px\" },\n { key: \"position\", title: \"Position\", sortable: true, colWidth: \"tw-w-196px\" },\n { key: \"primaryEmail\", title: \"Brivity Login Email\", sortable: false, colWidth: \"tw-w-300px\" },\n { key: \"startDate\", title: \"Start Date\", sortable: true, colWidth: \"tw-w-196px\" },\n { key: \"lastActiveDate\", title: \"Last Active\", sortable: false, colWidth: \"tw-w-[150px]\" },\n { key: \"crmAccess\", title: \"CRM Access\", sortable: false, colWidth: \"tw-w-[150px]\" },\n { key: \"dateAdded\", title: \"User Added\", sortable: false, colWidth: \"tw-w-[150px]\" },\n { key: \"signInCount\", title: \"Number of Logins\", sortable: false, colWidth: \"tw-w-[150px]\" },\n { key: \"editRemove\", title: \"\", sortable: false, colWidth: \"tw-w-196px\" },\n];\n\nconst mapStateToProps = (state) => ({\n tableSortColumn: state.userSettings.tableSortColumn,\n});\n\nfunction UsersTableHeader({ updateSortOnTableColumn, tableSortColumn, isFilterActiveUsers }) {\n const currentUser = useCurrentUser();\n\n return (\n <thead>\n <tr className=\"tw-select-none\">\n {HEADER_ROWS.map(({ key, title, sortable, colWidth, tooltip }) => {\n // Hide CRM Access column for non-admin users and when filtering for archived users\n if (key === \"crmAccess\" && (!currentUser.account.isAdmin || !isFilterActiveUsers)) return null;\n\n if (key === \"avatar\") {\n return (\n <th key={key} className={`tw-bg-white tw-py-[4px] tw-z-10 ${colWidth}`} aria-label=\"Avatar\" />\n );\n }\n\n if (key === \"editRemove\") {\n return (\n <th\n key={key}\n className={`tw-bg-white tw-py-[4px] tw-z-10 ${colWidth}`}\n aria-label=\"Edit/Remove\"\n />\n );\n }\n\n return (\n <th key={key} className={`tw-bg-white tw-py-[4px] tw-z-10 ${colWidth}`}>\n <div\n className={`tw-flex tw-items-center tw-font-semibold tw-text-neutral-gray-50 tw-text-12px tw-py-2 px-[8px] ${\n key === \"signInCount\" ? \"tw-justify-center\" : \"tw-w-fit\"\n } ${sortable ? \"hover:tw-cursor-pointer hover:tw-bg-tinted-gray-50\" : \"\"}`}\n onClick={() => sortable && updateSortOnTableColumn(key)}\n aria-hidden=\"true\"\n >\n <div className=\"tw-mr-2 tw-ml-[8px]\">{title}</div>\n\n {tooltip && (\n <div className=\"tw-inline-flex tw-flex-col tw-justify-center tw-items-center tw-mr-[8px] tw-w-[12px] tw-h-[12px]\">\n <Tooltip\n multiline\n placement=\"top\"\n content={<div className=\"tw-w-[264px]\">{tooltip}</div>}\n trigger={<CircleInfoSolidV6 className=\"tw-h-[8px] tw-w-[8px] tw-text-gray-75\" />}\n />\n </div>\n )}\n\n {sortable && (\n <div className=\"tw-inline-flex tw-flex-col tw-justify-center tw-items-center tw-mr-[8px] tw-w-[12px] tw-h-[12px]\">\n <CaretUp\n className={`tw-my-[-2.5px] ${\n tableSortColumn.key === key && !tableSortColumn.isAsc\n ? \"tw-text-black\"\n : \"tw-text-neutral-gray-50\"\n }`}\n />\n\n <CaretDown\n className={`tw-my-[-2.5px] ${\n tableSortColumn.key === key && tableSortColumn.isAsc\n ? \"tw-text-black\"\n : \"tw-text-neutral-gray-50\"\n }`}\n />\n </div>\n )}\n </div>\n </th>\n );\n })}\n </tr>\n </thead>\n );\n}\n\nUsersTableHeader.propTypes = {\n tableSortColumn: PropTypes.shape({ key: PropTypes.string, isAsc: PropTypes.bool }),\n isFilterActiveUsers: PropTypes.bool,\n updateSortOnTableColumn: PropTypes.func,\n};\n\nUsersTableHeader.defaultProps = {\n tableSortColumn: null,\n isFilterActiveUsers: true,\n updateSortOnTableColumn: null,\n};\n\nexport default connect(mapStateToProps, actions)(UsersTableHeader);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst TableMessage = ({ text, iconComponent, ...otherProps }) => (\n <tr>\n <td\n className=\"tw-text-center tw-py-[10px] tw-text-14d tw-border-neutral-gray-10 tw-border-t-0 tw-border-l-0 tw-border-r-0 tw-border-b tw-border-solid\"\n colSpan=\"8\"\n {...otherProps}\n >\n <div className=\"tw-flex tw-items-center tw-justify-center tw-gap-[8px]\">\n {text}\n {iconComponent}\n </div>\n </td>\n </tr>\n);\nTableMessage.propTypes = {\n text: PropTypes.string,\n iconComponent: PropTypes.element,\n};\n\nTableMessage.defaultProps = {\n text: null,\n iconComponent: null,\n};\nexport default TableMessage;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport Button from \"../../../shared/v2/Button\";\nimport Tooltip from \"../../../shared/v2/Tooltip\";\nimport {\n useLoadingCrmUserIdAccess,\n useSuccessCrmUserIdAcccess,\n useErrorCrmUserIdAccess,\n} from \"../../../reducers/userSettingsReducer\";\nimport {\n SpinnerSolidV3,\n Check,\n TriangleExclamationRegularV6,\n CircleInfoSolidV6,\n} from \"../../../shared/v2/Icomoon\";\nimport { useSetCrmModal } from \"../helper/hookHelper\";\nimport { useSendInviteEmail } from \"../actions/apiActions\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst STYLES = {\n label: \"tw-text-12d tw-text-gray-50 tw-font-[600]\",\n date: \"tw-text-14d tw-text-gray-75 tw-font-[400]\",\n container: \"tw-flex tw-flex-col\",\n};\n\nconst OktaInviteButton = ({ lastActiveDate, oktaInvitedAt, userId, crmAccess, oktaLastSignInAt }) => {\n const currentUser = useCurrentUser();\n const setCrmAccessModalHandlr = useSetCrmModal();\n const sendInviteEmail = useSendInviteEmail();\n const isSendingUserId = useLoadingCrmUserIdAccess() === userId;\n const isSuccessUserId = useSuccessCrmUserIdAcccess() === userId;\n const isErrorUserId = useErrorCrmUserIdAccess() === userId;\n\n if (lastActiveDate) {\n return (\n <div className={STYLES.container}>\n <div className={STYLES.label}>Brivity Activity</div>\n <div className={STYLES.date}>\n {lastActiveDate ? moment(lastActiveDate).format(\"MM/DD/YYYY\") : \"-\"}\n </div>\n </div>\n );\n }\n\n if (oktaLastSignInAt && !crmAccess) {\n return (\n <div className={STYLES.container}>\n <div className={`${STYLES.label} tw-items-center tw-gap-[4px]`}>\n <span>Account Activity</span>\n <Tooltip\n className=\"tw-ml-[4px] tw-h-[12px]\"\n multiline\n placement=\"top\"\n tooltipClassName=\"tw-text-14d\"\n content={<div className=\"tw-w-[224px]\">This user has accessed their PLACE account. </div>}\n trigger={<CircleInfoSolidV6 className=\"tw-h-[12px] tw-w-[12px] tw-text-black\" />}\n />\n </div>\n <div className={STYLES.date}>{moment(oktaLastSignInAt).format(\"MM/DD/YYYY\")}</div>\n </div>\n );\n }\n\n if (oktaLastSignInAt && crmAccess) {\n return (\n <div className={STYLES.container}>\n <div className={STYLES.label}>Brivity Activity</div>\n <div className={STYLES.date}>-</div>\n </div>\n );\n }\n\n if (currentUser.account.isAdmin) {\n return (\n <>\n <Button\n size=\"small\"\n schema=\"primary\"\n onClick={() => {\n if (crmAccess) {\n sendInviteEmail(userId);\n return;\n }\n\n setCrmAccessModalHandlr(true, userId);\n }}\n >\n {oktaInvitedAt ? \"Resend Invite\" : \"Send Invite\"}{\" \"}\n {isSendingUserId && <SpinnerSolidV3 size=\"m\" className=\"fa-spin tw-ml-[4px] tw-text-white\" />}\n {isSuccessUserId && <Check size=\"m\" className=\"tw-ml-[4px] tw-text-white\" />}\n </Button>\n {isErrorUserId && (\n <Tooltip\n placement=\"top\"\n content={<div className=\"tw-w-[110px]\">Failed To Send</div>}\n trigger={\n <TriangleExclamationRegularV6 size=\"m\" className=\"tw-ml-[4px] tw-text-semantic-red-50\" />\n }\n />\n )}\n </>\n );\n }\n\n return <div className=\"tw-text-14d tw-font-[400]\">-</div>;\n};\n\nOktaInviteButton.propTypes = {\n crmAccess: PropTypes.bool.isRequired,\n userId: PropTypes.number.isRequired,\n lastActiveDate: PropTypes.string,\n oktaInvitedAt: PropTypes.string,\n oktaLastSignInAt: PropTypes.string,\n};\n\nOktaInviteButton.defaultProps = {\n lastActiveDate: null,\n oktaInvitedAt: null,\n oktaLastSignInAt: null,\n};\n\nexport default OktaInviteButton;\n","import React, { useMemo, useState } from \"react\";\nimport { bool, string } from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\n\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6, Spinner } from \"@shared/v2/Icomoon\";\nimport { toggleUserModal } from \"../actions/default\";\n\nconst EditUserBtn = ({ userId, disabled }) => {\n const dispatch = useDispatch();\n\n const [isLoading, setIsloading] = useState(false);\n\n const Icon = useMemo(\n () => (isLoading ? <Spinner className=\"tw-animate-spin\" /> : <PencilSolidV6 />),\n [isLoading],\n );\n\n return (\n <IconButton\n schema=\"tertiary\"\n onClick={async () => {\n if (isLoading) return;\n\n setIsloading(true);\n await dispatch(toggleUserModal(userId));\n setIsloading(false);\n }}\n disabled={disabled}\n >\n {Icon}\n </IconButton>\n );\n};\n\nexport default EditUserBtn;\n\nEditUserBtn.propTypes = {\n userId: string.isRequired,\n disabled: bool,\n};\n\nEditUserBtn.defaultProps = {\n disabled: false,\n};\n","import React, { useRef } from \"react\";\nimport { bool, string, node } from \"prop-types\";\nimport { useClickOutside } from \"@shared/hookHelpers\";\n\nconst DropdownPopUp = ({ show, containerClassName, children, onHide }) => {\n \n const ref = useRef(null);\n useClickOutside(ref, () => onHide());\n\n return show && (\n <div className={`tw-right-0 tw-mt-[2px] tw-absolute tw-bg-white tw-border-[1px] tw-border-gray-15 tw-rounded-[4px] ${containerClassName}`} ref={ref}>\n {children}\n </div>\n )\n};\n\nexport default DropdownPopUp;\n\nDropdownPopUp.propTypes = {\n show: bool.isRequired,\n containerClassName: string,\n children: node,\n};\n\nDropdownPopUp.defaultProps = {\n containerClassName: '',\n children: null,\n};","import React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { string, func, bool } from \"prop-types\";\n\nimport IconButton from \"@shared/v2/IconButton\";\nimport DropdownPopUp from \"@shared/DropdownPopUp\";\nimport {\n AddUser,\n EllipsisSolidV6,\n LockOpenSolidV6,\n LockSolidV6,\n PencilSolidV6,\n TrashCanSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { useIsLoadingIcon } from \"@shared/hookHelpers\";\n\nimport { toggleUserModal } from \"../actions/default\";\n\nconst DROPDOWN_OPTION_STYLE = \"tw-flex tw-items-center tw-px-12px tw-py-[6px] tw-gap-[8px] tw-cursor-pointer\";\n\nconst AdminUserBtn = ({ userId, agentType, isActive, activeHandlr, suspendHandlr, suspended }) => {\n const [showDropdown, setShowDropdown] = useState(false);\n\n const { Icon, isLoading, setIsLoading } = useIsLoadingIcon(<EllipsisSolidV6 />);\n const LockIcon = suspended ? LockOpenSolidV6 : LockSolidV6;\n const ActiveIcon = isActive ? TrashCanSolidV6 : AddUser;\n\n const dispatch = useDispatch();\n\n const onActiveHandlr = () => {\n setShowDropdown(false);\n activeHandlr();\n };\n\n const onLoadWrapper = async (cb) => {\n if (isLoading) return;\n\n setShowDropdown(false);\n setIsLoading(true);\n await cb();\n setIsLoading(false);\n };\n\n // if we need to reuse this component, need to hoist these actions to a parent component\n const onEditHandlr = () => onLoadWrapper(() => dispatch(toggleUserModal(userId)));\n\n const onSuspendHandlr = () =>\n onLoadWrapper(async () => {\n suspendHandlr();\n });\n\n return (\n <div className=\"tw-relative\">\n <IconButton\n schema=\"tertiary\"\n onClick={() => {\n if (isLoading) return;\n\n setShowDropdown(true);\n }}\n >\n {Icon}\n </IconButton>\n <DropdownPopUp\n containerClassName=\"tw-z-[2] tw-shadow tw-w-[178px]\"\n show={showDropdown}\n onHide={() => setShowDropdown(false)}\n >\n <div\n role=\"button\"\n tabIndex=\"0\"\n className={DROPDOWN_OPTION_STYLE}\n onClick={onEditHandlr}\n onKeyUp={onEditHandlr}\n >\n <PencilSolidV6 size=\"m\" />\n <span>Edit Details</span>\n </div>\n {isActive && agentType !== \"Account Owner\" && (\n <div\n role=\"button\"\n tabIndex=\"0\"\n className={DROPDOWN_OPTION_STYLE}\n onClick={onSuspendHandlr}\n onKeyUp={onSuspendHandlr}\n >\n <LockIcon size=\"m\" />\n <span>{suspended ? \"Unsuspend\" : \"Suspend\"} User</span>\n </div>\n )}\n {!suspended && agentType !== \"Account Owner\" && (\n <div\n role=\"button\"\n tabIndex=\"0\"\n className={DROPDOWN_OPTION_STYLE}\n onClick={onActiveHandlr}\n onKeyUp={onActiveHandlr}\n >\n <ActiveIcon size=\"m\" />\n <span>{isActive ? \"Archive\" : \"Activate\"} User</span>\n </div>\n )}\n </DropdownPopUp>\n </div>\n );\n};\n\nAdminUserBtn.propTypes = {\n userId: string.isRequired,\n activeHandlr: func.isRequired,\n suspendHandlr: func.isRequired,\n suspended: bool.isRequired,\n isActive: bool.isRequired,\n agentType: string.isRequired,\n};\n\nexport default AdminUserBtn;\n","import React from \"react\";\nimport { string, func, bool } from \"prop-types\";\n\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\nimport EditUserBtn from \"./EditUserBtn\";\nimport AdminUserBtn from \"./AdminUserBtn\";\n\nconst UserActions = ({ userId, isActive, agentType, activeHandlr, suspendHandlr, suspended }) => {\n const currentUser = useCurrentUser();\n\n if (currentUser.person.id === userId) {\n // If the current user's ID matches the row's user ID, render edit btn.\n return <EditUserBtn userId={userId} />;\n }\n\n if (!currentUser.account.isAdmin) {\n // If the current user is not an admin, don't render any btn to click for row\n return null;\n }\n\n if (currentUser.person.userType === \"Administrator\" && agentType === \"Account Owner\") {\n // If the current user is an administrator and the row's agent type is 'Account Owner',\n // render the <EditUserBtn> component with the provided user ID, but disable it.\n return <EditUserBtn userId={userId} disabled />;\n }\n\n // If none of the above conditions are met,\n // render the <AdminUserBtn> component with full suspend/archive privileages.\n return (\n <AdminUserBtn\n isActive={isActive}\n userId={userId}\n agentType={agentType}\n activeHandlr={activeHandlr}\n suspendHandlr={suspendHandlr}\n suspended={suspended}\n />\n );\n};\n\nexport default UserActions;\n\nUserActions.propTypes = {\n isActive: bool.isRequired,\n userId: string.isRequired,\n agentType: string.isRequired,\n activeHandlr: func.isRequired,\n suspendHandlr: func.isRequired,\n suspended: bool.isRequired,\n};\n","/* eslint-disable no-param-reassign */\nimport React, { useState } from \"react\";\nimport { bool, func, string, shape } from \"prop-types\";\n\nimport { useDispatch } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport { saveSuspendingPerson } from \"../actions/apiActions\";\nimport { setSuspendError, setSuspendUser } from \"../actions/default\";\nimport { useTheme } from \"../../../reducers/layoutReducer/selectors\";\n\nconst SUSPEND_TXT_STYLE = \"tw-text-14d tw-text-gray-50 tw-flex tw-flex-col tw-gap-[20px]\";\n\nconst SuspendText = () => {\n const isPlace = useTheme().name === \"place-theme\";\n\n return (\n <div className={SUSPEND_TXT_STYLE}>\n <div>\n Suspending this user will immediately lock them out of their Brivity account and any associated apps.\n </div>\n <div>\n A suspended user will still take up a user seat and any automated communication will continue to send\n until the user is archived. You can reassign any tasks, contacts, or settings associated with this\n user while they are suspended.\n </div>\n <div>\n <b>Users should be archived</b> once you are ready to fully remove them from Brivity.{\" \"}\n <a\n href=\"https://www.brivityknowledge.com/docs/remove-users-from-your-account\"\n target=\"_blank\"\n rel=\"noreferrer\"\n className={isPlace ? \"tw-text-[#3270FA]\" : \"tw-text-brand-info\"}\n >\n Learn more about best practices for removing a user.\n </a>\n </div>\n </div>\n );\n};\n\nconst UnsuspendText = () => (\n <div className={SUSPEND_TXT_STYLE}>\n Unsuspending this user will restore full access to this Brivity account.\n </div>\n);\n\nexport const SuspendUserModal = ({ show, onSubmitHandlr, onHideHandlr, isSuspended, isLoading }) => (\n <Modal\n show={show}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[440px]\"\n onHide={onHideHandlr}\n closeButton\n >\n <Modal.Header\n title={`${isSuspended ? \"Unsuspend\" : \"Suspend\"} User?`}\n closeButton\n className=\"tw-mb-[12px]\"\n />\n <Modal.Body className=\"tw-mb-[32px]\">{isSuspended ? <UnsuspendText /> : <SuspendText />}</Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={onHideHandlr}>\n CANCEL\n </Button>\n <Button size=\"medium\" schema=\"warning\" onClick={onSubmitHandlr} isLoading={isLoading}>\n {`YES, ${isSuspended ? \"UNSUSPEND\" : \"SUSPEND\"}`}\n </Button>\n </Modal.Footer>\n </Modal>\n);\n\n// not reusable, use SuspendUserModal if using in other pages;\nconst UsersSuspendUserModal = ({ show, onHideHandlr, suspendedPayload }) => {\n const dispatch = useDispatch();\n const [isLoading, setIsLoading] = useState(false);\n const isSuspended = suspendedPayload?.action === \"suspend\";\n\n const onSubmitHandlr = async () => {\n setIsLoading(true);\n\n // params: userid, action, onSuccess, onError\n await saveSuspendingPerson(\n suspendedPayload?.userId,\n suspendedPayload?.action,\n () => dispatch(setSuspendUser(suspendedPayload?.userId, isSuspended)),\n () => dispatch(setSuspendError(true)),\n );\n setIsLoading(false);\n onHideHandlr();\n };\n\n return (\n <SuspendUserModal\n show={show}\n onSubmitHandlr={onSubmitHandlr}\n onHideHandlr={onHideHandlr}\n isSuspended={!isSuspended}\n isLoading={isLoading}\n />\n );\n};\n\nUsersSuspendUserModal.propTypes = {\n show: bool.isRequired,\n onHideHandlr: func.isRequired,\n suspendedPayload: shape({\n userId: string,\n action: string,\n isSuspended: bool,\n }),\n};\n\nUsersSuspendUserModal.defaultProps = {\n suspendedPayload: null,\n};\n\nSuspendUserModal.propTypes = {\n show: bool.isRequired,\n onSubmitHandlr: func.isRequired,\n onHideHandlr: func.isRequired,\n isSuspended: bool.isRequired,\n isLoading: bool.isRequired,\n};\n\nexport default UsersSuspendUserModal;\n","/* eslint-disable jsx-a11y/control-has-associated-label */\nimport React, { useState } from \"react\";\nimport moment from \"moment\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Avatar from \"../../../shared/v2/Avatar\";\nimport { Spinner } from \"../../../shared/v2/Icomoon\";\nimport * as actions from \"../actions/default\";\nimport DeactivateUserModal from \"../DeactivateUserModal\";\nimport ActivateUserModal from \"../ActivateUserModal\";\nimport TableMessage from \"./TableMessage\";\nimport OktaInviteButton from \"./OktaInviteButton\";\nimport UserActions from \"../UserActions\";\nimport SuspendUserModal from \"../SuspendUserModal\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst mapStateToProps = (state) => ({ isTableDataLoading: state.userSettings.isTableDataLoading });\n\nfunction UsersTableBody({\n usersData,\n isTableDataLoading,\n getUserTableData,\n setUsersTableErrors,\n isFilterActiveUsers,\n}) {\n const currentUser = useCurrentUser();\n const [isDeactivatingUser, setIsDeactivatingUser] = useState({ show: false, userId: null, name: null });\n const [isActivatingUser, setIsActivatingUser] = useState({ show: false, userId: null });\n const [suspendedPayload, setSuspendedPayload] = useState(null);\n\n return (\n <>\n <tbody>\n {usersData.length <= 0 ? (\n <>\n {isTableDataLoading ? (\n <TableMessage iconComponent={<Spinner size=\"l\" className=\"tw-animate-spin \" />} />\n ) : (\n <TableMessage text=\"No Data Matches\" data-cy=\"settings-users-no-data-matches\" />\n )}\n </>\n ) : (\n usersData.map((user) => {\n const {\n id,\n userId,\n fullName,\n agentType,\n position,\n startDate,\n avatar,\n crmAccess,\n lastActiveDate,\n oktaLastSignInAt,\n isOktaUser,\n oktaInvitedAt,\n email,\n signInCount,\n dateAdded,\n suspended,\n active,\n } = user;\n return (\n <tr\n key={id}\n className=\"tw-text-14d hover:tw-bg-tinted-gray-50 tw-border-neutral-gray-10 tw-border-t-0 tw-border-l-0 tw-border-r-0 tw-border-b tw-border-solid\"\n >\n <td>\n <div className=\"tw-my-[10px] tw-mx-10px\">\n <Avatar\n src={avatar === \"/assets/user-default.svg\" ? \"\" : avatar}\n size=\"medium\"\n alt={`${fullName} avatar image`}\n >\n {fullName}\n </Avatar>\n </div>\n </td>\n <td>\n <div className=\"tw-ml-[8px]\">\n <a href={`/people/${id}`}>{fullName}</a>\n </div>\n </td>\n <td>\n <div className=\"tw-ml-[8px]\">{agentType}</div>\n </td>\n <td>\n <div className=\"tw-ml-[8px]\">{position}</div>\n </td>\n <td>\n <div className=\"tw-text-ellipsis tw-overflow-hidden tw-ml-[8px]\">{email}</div>\n </td>\n <td>\n <div className=\"tw-ml-[8px]\">\n {startDate ? moment(startDate).format(\"MM/DD/YYYY\") : \"--- ---\"}\n </div>\n </td>\n <td>\n <div className=\"tw-ml-[8px]\">\n <OktaInviteButton\n aria-label=\"invite user\"\n isOktaUser={isOktaUser}\n lastActiveDate={lastActiveDate}\n oktaInvitedAt={oktaInvitedAt}\n oktaLastSignInAt={oktaLastSignInAt}\n crmAccess={crmAccess}\n userId={userId}\n />\n </div>\n </td>\n {currentUser.account.isAdmin && isFilterActiveUsers && (\n <td>\n <Tooltip\n trigger={\n <div className=\"tw-pr-[51px] tw-text-center tw-cursor-default\">\n {(() => {\n if (suspended) return \"Suspended\";\n\n return crmAccess ? \"Yes\" : \"No\";\n })()}\n </div>\n }\n innerClassName=\"tw-w-[287px] !tw-text-left\"\n tooltipClassName=\"tw-ml-[-25px]\"\n content={(() => {\n if (suspended)\n return \"Suspended users cannot login to Brivity or any associated apps\";\n\n return crmAccess\n ? \"This user has full access to Brivity and associated apps.\"\n : \"Users without CRM access can login to their PLACE account. Contact support@place.com to turn on CRM access.\";\n })()}\n />\n </td>\n )}\n <td>\n <div className=\"tw-ml-[8px]\">\n {dateAdded ? moment(dateAdded).format(\"MM/DD/YYYY\") : \"--- ---\"}\n </div>\n </td>\n <td className=\"tw-text-center\">{signInCount}</td>\n <td>\n <div className=\"tw-flex tw-gap-[12px] tw-justify-center\">\n <UserActions\n isActive={active}\n trashUserHandlr={() => setIsDeactivatingUser({ show: true, userId, name: fullName })}\n unArchiveUserHandlr={() =>\n setIsDeactivatingUser({ show: true, userId, name: fullName })\n }\n activeHandlr={\n active\n ? () => setIsDeactivatingUser({ show: true, userId, name: fullName })\n : () => setIsActivatingUser({ show: true, userId })\n }\n userId={id}\n suspendHandlr={() => {\n setSuspendedPayload({ action: suspended ? \"unsuspend\" : \"suspend\", userId });\n }}\n suspended={suspended}\n agentType={agentType}\n />\n </div>\n </td>\n </tr>\n );\n })\n )}\n </tbody>\n <DeactivateUserModal\n onClose={(data, err) => {\n if (data) getUserTableData();\n if (err) setUsersTableErrors(err);\n setIsDeactivatingUser({ show: false, userId: null, name: null });\n }}\n userId={isDeactivatingUser.userId}\n show={isDeactivatingUser.show}\n />\n {isActivatingUser.show && (\n <ActivateUserModal\n onClose={(data, err) => {\n if (data) getUserTableData();\n if (err) setUsersTableErrors(err);\n setIsActivatingUser({ show: false, userId: null });\n }}\n userId={isActivatingUser.userId}\n show={isActivatingUser.show}\n />\n )}\n <SuspendUserModal\n show={Boolean(suspendedPayload)}\n onHideHandlr={() => setSuspendedPayload(null)}\n suspendedPayload={suspendedPayload}\n />\n </>\n );\n}\nUsersTableBody.propTypes = {\n usersData: PropTypes.arrayOf(PropTypes.objectOf(PropTypes.any)).isRequired,\n isTableDataLoading: PropTypes.bool.isRequired,\n setUsersTableErrors: PropTypes.func.isRequired,\n getUserTableData: PropTypes.func.isRequired,\n isFilterActiveUsers: PropTypes.bool,\n};\n\nUsersTableBody.defaultProps = {\n isFilterActiveUsers: true,\n};\n\nexport default connect(mapStateToProps, actions)(UsersTableBody);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\n\n// careful updating this, it is also used outside of dashboardShared\nconst Error = ({ className, message, onClose, show }) => {\n if (!show) return null;\n return (\n <Alert\n className={className}\n variant=\"error\"\n text={message || \"Whoops! Something went wrong.\"}\n onClose={onClose}\n />\n );\n};\n\nError.propTypes = {\n className: PropTypes.string,\n message: PropTypes.node,\n onClose: PropTypes.func,\n show: PropTypes.bool.isRequired,\n};\n\nError.defaultProps = {\n className: undefined,\n message: undefined,\n onClose: undefined,\n};\n\nexport default Error;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { TriangleExclamationSolidV6 } from \"@shared/v2/Icomoon\";\n\nimport { useSuspendedUserError } from \"../../../reducers/userSettingsReducer\";\nimport { setSuspendError } from \"../actions/default\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\n\nconst SuspendError = () => {\n const dispatch = useDispatch();\n const suspendedUserError = useSuspendedUserError();\n\n return (\n <Error\n show={suspendedUserError}\n message={\n <div className=\"tw-flex tw-items-center tw-gap-[12px]\">\n <TriangleExclamationSolidV6 size=\"l\" />\n <span>\n Unsuccessful: {suspendedUserError} was not suspended. If error persists, contact support by\n calling 855-427-4848.\n </span>\n </div>\n }\n className=\"tw-flex tw-items-center tw-justify-between\"\n onClose={() => dispatch(setSuspendError(false))}\n />\n );\n};\n\nexport default SuspendError;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport UsersFilter from \"./UsersFilter\";\nimport Button from \"../../shared/v2/Button\";\nimport CannotReActivateUserModal from \"./CannotReActivateUserModal\";\nimport { Plus } from \"../../shared/v2/Icomoon\";\nimport * as actions from \"./actions/default\";\nimport { sortListByKey } from \"./helper\";\nimport { useSetCrmModal } from \"./helper/hookHelper\";\nimport ErrorAlert from \"../../shared/UtilsV1/ErrorAlert\";\nimport CrmAccessModal from \"./CrmAccessModal\";\nimport { useCrmAccessUserId, useIsCrmAccessModalOpenSelector } from \"../../reducers/userSettingsReducer\";\nimport { useSendInviteEmail } from \"./actions/apiActions\";\nimport PersonDetailsModal from \"../../Contacts/PersonDetailsModal\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport UsersTableHeader from \"./UsersTable/UsersTableHeader\";\nimport UsersTableBody from \"./UsersTable/UsersTableBody\";\nimport SuspendError from \"./SuspendError\";\n\nconst mapStateToProps = (state) => ({\n activeUsers: state.userSettings.activeUsers,\n archiveUsers: state.userSettings.archiveUsers,\n editPersonId: state.userSettings.editPersonId,\n isUserModalOpen: state.userSettings.isUserModalOpen,\n usersTableErrors: state.userSettings.usersTableErrors,\n tableSortColumn: state.userSettings.tableSortColumn,\n});\n\nconst CrmAccessModalForUsers = () => {\n const isCrmAccessModalOpen = useIsCrmAccessModalOpenSelector();\n const userId = useCrmAccessUserId();\n const setCrmAccessModalHandlr = useSetCrmModal();\n const sendInviteEmail = useSendInviteEmail();\n\n return (\n <CrmAccessModal\n show={isCrmAccessModalOpen}\n onHide={() => setCrmAccessModalHandlr(false)}\n onSave={() => {\n sendInviteEmail(userId);\n setCrmAccessModalHandlr(false);\n }}\n />\n );\n};\n\nfunction Users({\n activeUsers,\n archiveUsers,\n isUserModalOpen,\n editPersonId,\n usersTableErrors,\n toggleUserModal,\n getUserTableData,\n setUsersTableErrors,\n setIsTableDataLoading,\n tableSortColumn,\n}) {\n const currentUser = useCurrentUser();\n const isSeatsAvailable = currentUser.account.seats > 0;\n const [usersData, setUsersData] = useState([...activeUsers]);\n const [isFilterActiveUsers, setIsFilterActiveUsers] = useState(true);\n const [filterSearchText, setFilterSearchText] = useState(\"\");\n\n const [isCannotReActivateUser, setIsCannotReActivateUser] = useState(false);\n\n const onLoadFunctions = () => {\n setIsTableDataLoading(true);\n getUserTableData();\n };\n\n useEffect(() => {\n onLoadFunctions();\n }, []);\n\n useEffect(() => {\n if (isFilterActiveUsers) {\n setUsersData([...activeUsers]);\n sortListByKey(tableSortColumn.key, setUsersData, tableSortColumn.isAsc);\n } else {\n setUsersData([...archiveUsers]);\n sortListByKey(tableSortColumn.key, setUsersData, tableSortColumn.isAsc);\n }\n }, [isFilterActiveUsers, activeUsers, archiveUsers]);\n\n useEffect(() => {\n if (filterSearchText === \"\") {\n setUsersData([...(isFilterActiveUsers ? activeUsers : archiveUsers)]);\n } else {\n const lowerCaseSearchText = filterSearchText.toLowerCase();\n setUsersData(() => {\n const curUsersData = [...(isFilterActiveUsers ? activeUsers : archiveUsers)];\n return curUsersData?.filter(\n ({ fullName, email }) =>\n fullName?.toLowerCase().includes(lowerCaseSearchText) ||\n email?.toLowerCase().includes(lowerCaseSearchText),\n );\n });\n }\n }, [filterSearchText]);\n\n useEffect(() => {\n sortListByKey(tableSortColumn.key, setUsersData, tableSortColumn.isAsc);\n }, [tableSortColumn]);\n\n return (\n <div\n className=\"tw-relative tw-h-[75vh] tw-w-full tw-px-4 tw-py-[24px] settings-users-tab-view\"\n data-cy=\"settings-users-tab-view\"\n >\n <SuspendError />\n {usersTableErrors.length > 0 && (\n <div className=\"tw-absolute tw-inset-5 tw-top-10 tw-z-1000\">\n <ErrorAlert errorMessages={usersTableErrors} onClose={() => setUsersTableErrors([])} />\n </div>\n )}\n <div className=\"tw-flex tw-mb-24px tw-overflow-x-auto\">\n <UsersFilter\n isFilterActiveUsers={isFilterActiveUsers}\n setFilterSearchText={setFilterSearchText}\n filterSearchText={filterSearchText}\n setIsFilterActiveUsers={setIsFilterActiveUsers}\n />\n\n {currentUser.account.isAdmin && (\n <Button\n onClick={() => {\n if (isSeatsAvailable) {\n toggleUserModal();\n } else {\n setIsCannotReActivateUser(true);\n }\n }}\n size=\"medium\"\n data-cy=\"settings-users-add-new-user-button\"\n className=\"tw-ml-auto\"\n >\n <div className=\"tw-whitespace-nowrap\">\n <Plus className=\"tw-mr-6px\" />\n Add User\n </div>\n </Button>\n )}\n </div>\n\n <div className=\"tw-flex-1 tw-overflow-auto tw-h-full\">\n <table className=\"tw-table-fixed table-sticky tw-w-full\">\n <UsersTableHeader isFilterActiveUsers={isFilterActiveUsers} />\n <UsersTableBody usersData={usersData} isFilterActiveUsers={isFilterActiveUsers} />\n </table>\n </div>\n\n <PersonDetailsModal\n modalType=\"user\"\n show={isUserModalOpen}\n personId={editPersonId}\n onClose={(person) => {\n if (person) onLoadFunctions();\n toggleUserModal();\n }}\n />\n\n {isCannotReActivateUser && (\n <CannotReActivateUserModal\n onClose={() => setIsCannotReActivateUser(false)}\n show={isCannotReActivateUser}\n />\n )}\n\n <CrmAccessModalForUsers />\n </div>\n );\n}\n\nconst userPropTypes = PropTypes.objectOf(PropTypes.any);\n\nUsers.propTypes = {\n activeUsers: PropTypes.arrayOf(userPropTypes),\n archiveUsers: PropTypes.arrayOf(userPropTypes),\n editPersonId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n isUserModalOpen: PropTypes.bool.isRequired,\n toggleUserModal: PropTypes.func.isRequired,\n getUserTableData: PropTypes.func.isRequired,\n setUsersTableErrors: PropTypes.func.isRequired,\n setIsTableDataLoading: PropTypes.func.isRequired,\n tableSortColumn: PropTypes.shape({ key: PropTypes.string, isAsc: PropTypes.bool }).isRequired,\n usersTableErrors: PropTypes.arrayOf(PropTypes.string),\n};\n\nUsers.defaultProps = {\n activeUsers: null,\n archiveUsers: null,\n editPersonId: null,\n usersTableErrors: [],\n};\n\nexport default connect(mapStateToProps, actions)(Users);\n","import { schemaGenerator } from \"../utils\";\n\nexport const fontSizeDictionary = {\n medium: \"tw-text-14d\",\n small: \"tw-text-12d\",\n};\n\nconst schemaDictionary = {\n default: {\n default: [\"tw-text-theme-text-link-color\"],\n active: [\"active:tw-text-theme-text-link-color-active\"],\n hover: [\"hover:tw-text-theme-text-link-color-hover\"],\n visited: [\"visited:tw-text-theme-text-link-color-visited\"],\n focusVisible: [\"focus-visible:tw-outline-theme\"],\n },\n};\n\nconst schema = schemaGenerator(schemaDictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport styleSchema, { fontSizeDictionary } from \"./TextLink.styles\";\n\nconst TextLink = ({ href, rel, target, size, children, className, ...otherProps }) => (\n <a\n href={href}\n rel={rel}\n target={target}\n className={`tw-font-normal tw-no-underline hover:tw-underline ${fontSizeDictionary[size]} ${styleSchema.default} ${className}`}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n >\n {children}\n </a>\n);\n\nTextLink.propTypes = {\n href: PropTypes.string,\n rel: PropTypes.string,\n target: PropTypes.oneOf([\"_self\", \"_blank\"]),\n size: PropTypes.oneOf([\"medium\", \"small\"]),\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n className: PropTypes.string,\n};\n\nTextLink.defaultProps = {\n href: \"#\",\n rel: \"\",\n target: \"_self\",\n size: \"medium\",\n children: null,\n className: \"\",\n};\n\nexport default TextLink;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst START_YEAR = 2017;\n\nconst DEFAULT_YEAR_OPTIONS = Array(new Date().getFullYear() + 2 - START_YEAR)\n .fill(null)\n .map((_, i) => START_YEAR + i);\n\nexport const DEFAULT_YEAR_OPTIONS_DROPDOWN = DEFAULT_YEAR_OPTIONS.map((y) => ({ value: y, label: y }));\n\nexport const PERIOD_OPTIONS = [\"Yearly\", \"Monthly\", \"Weekly\"];\n\nconst HeadingSelect = ({ disabled, title, name, value, onChange, options }) => (\n <div className=\"tw-flex tw-flex-wrap tw-items-baseline\">\n {typeof title === \"string\" && <h3 className=\"tw-text-18d tw-font-bold tw-mr-[16px]\">{title}</h3>}\n {typeof title !== \"string\" && title}\n <div className=\"tw-min-w-[60px]\">\n <select\n disabled={disabled}\n className=\"tw-border-0 tw-bg-transparent\"\n value={value}\n onChange={(e) => onChange(e.target.value)}\n name={name}\n >\n {options.map((item) => (\n <option value={item} key={item}>\n {item}\n </option>\n ))}\n </select>\n </div>\n </div>\n);\n\nexport default HeadingSelect;\n\nHeadingSelect.defaultProps = {\n disabled: false,\n options: DEFAULT_YEAR_OPTIONS,\n};\n\nHeadingSelect.propTypes = {\n disabled: PropTypes.bool,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n name: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n onChange: PropTypes.func.isRequired,\n options: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),\n};\n","import React from \"react\";\n\nconst Loading = () => (\n <div className=\"tw-absolute tw-inset-0 tw-flex tw-justify-center tw-items-center tw-bg-white tw-bg-opacity-50 tw-z-50\">\n <i className=\"tw-text-36px tw-text-gray-50 fa fa-spinner fa-spin\" />\n </div>\n);\n\nexport default Loading;\n","import React, { forwardRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const Section = forwardRef(({ children, className }, ref) => (\n <div\n className={`tw-relative tw-bg-white tw-rounded-[8px] tw-border-solid tw-border-[1px] tw-border-neutral-gray-10 tw-p-[24px] bs-xs:tw-p-[16px] tw-flex tw-flex-col ${className}`}\n ref={ref}\n >\n {children}\n </div>\n));\n\nSection.defaultProps = {\n className: \"\",\n};\n\nSection.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nexport const SectionLabel = ({ className, children }) => (\n <h3 className={`tw-text-18d tw-font-bold tw-my-0 ${className}`}>{children}</h3>\n);\n\nSectionLabel.defaultProps = {\n className: \"\",\n};\n\nSectionLabel.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nexport const Card = ({ children, className }) => (\n <div\n className={`\n tw-shadow\n tw-bg-white\n tw-flex\n tw-items-center\n tw-rounded-md\n ${className}\n `}\n >\n {children}\n </div>\n);\n\nCard.defaultProps = {\n className: \"\",\n};\n\nCard.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n","export const BRIVITY_COLORS = {\n theme: \"brivity\",\n color1: {\n default: \"#59C4C4\",\n hover: \"#4CA7A7\",\n },\n color2: {\n default: \"#BDE7E7\",\n hover: \"#94DCDC\",\n },\n color3: {\n default: \"#FFA826\",\n hover: \"#E5941B\",\n },\n};\n\nexport const PLACE_COLORS = {\n theme: \"place\",\n color1: {\n default: \"#3270FA\",\n hover: \"#2454B2\",\n },\n color2: {\n default: \"#96B7FA\",\n hover: \"#578EFA\",\n },\n color3: {\n default: \"#121212\",\n hover: \"#666666\",\n },\n};\n\nconst colors = document.body.classList.contains(\"place-theme\") ? PLACE_COLORS : BRIVITY_COLORS;\n\nexport default colors;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport colors from \"./helpers/colors\";\nimport { Info } from \"../../../shared/v2/Icomoon\";\nimport Tooltip from \"../../../shared/v2/Tooltip/Tooltip\";\n\nexport const DashTooltipRow = ({ title, value }) => (\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px]\">\n <span>{title}</span>\n <span>{value}</span>\n </div>\n);\n\nDashTooltipRow.propTypes = {\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.node]),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.node]),\n};\nDashTooltipRow.defaultProps = {\n title: \"\",\n value: \"\",\n};\n\nconst DashTooltip = ({ text, placement }) => {\n if (!text) return null;\n return (\n <Tooltip\n placement={placement}\n innerClassName=\"tw-max-w-[300px] !tw-text-left\"\n trigger={\n <Info\n className={`tw-ml-[4px] ${colors.theme === \"brivity\" ? \"tw-text-gray-75\" : \"tw-text-[#121212]\"}`}\n />\n }\n content={text}\n />\n );\n};\n\nDashTooltip.propTypes = {\n placement: PropTypes.string,\n text: PropTypes.string,\n};\n\nDashTooltip.defaultProps = {\n placement: \"right\",\n text: \"\",\n};\n\nexport default DashTooltip;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport DashTooltip from \"../DashboardShared/DashTooltip\";\nimport formatter from \"../../../shared/formatters\";\nimport { ArrowDown, ArrowUp } from \"../../../shared/v2/Icomoon\";\n\nconst styles = {\n label: {\n s: \"tw-text-12d\",\n m: \"tw-text-14d\",\n l: \"tw-text-14d tw-mb-[4px]\",\n },\n value: {\n s: \"tw-text-14d tw-font-normal\",\n m: \"tw-text-16d tw-font-semibold\",\n l: \"tw-text-18d tw-font-bold\",\n },\n arrow: \"tw-flex tw-justify-center tw-items-center tw-m-[-2px] tw-w-[12px] tw-h-[12px]\",\n};\n\nconst YtdDifference = ({ format, text, value: _value, postfix }) => {\n const value = Number(_value);\n const isValid = !Number.isNaN(value);\n const isPositive = value >= 0;\n return (\n <div className=\"tw-flex tw-items-center tw-gap-[6px]\">\n {isValid && (\n <span\n className={`tw-flex tw-items-center tw-gap-[2px] tw-text-14d tw-font-normal ${\n isPositive ? \"tw-text-semantic-green-100\" : \"tw-text-coral\"\n }`}\n >\n {isPositive ? <ArrowUp className={styles.arrow} /> : <ArrowDown className={styles.arrow} />}\n {formatter[format](Math.abs(value))}\n {postfix}\n </span>\n )}\n {text && <span className=\"tw-text-14d tw-text-neutral-gray-50\">{text}</span>}\n </div>\n );\n};\n\nYtdDifference.propTypes = {\n format: PropTypes.string,\n text: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n postfix: PropTypes.string,\n};\n\nYtdDifference.defaultProps = {\n format: \"number\",\n text: \"\",\n value: undefined,\n postfix: \"\",\n};\n\nconst CardLabel = ({\n className = \"\",\n format,\n ytdDifference,\n label,\n size = \"s\",\n tooltip = \"\",\n value,\n valueColor = \"tw-text-neutral-gray-75\",\n}) => {\n const isPositive = ytdDifference >= 0;\n return (\n <div className={`tw-relative tw-flex tw-min-w-[65px] ${className}`}>\n <span\n className={`tw-flex tw-items-center tw-text-neutral-gray-50 tw-font-semibold ${styles.label[size]}`}\n >\n {label}\n {tooltip && <DashTooltip text={tooltip} />}\n </span>\n <span className={`tw-flex tw-items-center ${styles.value[size]} ${valueColor}`}>{value}</span>\n {typeof ytdDifference !== \"undefined\" && (\n <span\n className={`tw-flex tw-items-center tw-gap-[2px] tw-text-14d tw-font-normal ${\n isPositive ? \"tw-text-semantic-green-100\" : \"tw-text-coral\"\n }`}\n >\n <div className={styles.arrow}>{isPositive ? <ArrowUp size=\"s\" /> : <ArrowDown size=\"s\" />}</div>\n {formatter[format](Math.abs(ytdDifference))}\n </span>\n )}\n </div>\n );\n};\n\nCardLabel.defaultProps = {\n format: undefined,\n className: \"\",\n ytdDifference: undefined,\n size: \"s\",\n tooltip: \"\",\n valueColor: \"tw-text-neutral-gray-75\",\n value: undefined,\n};\n\nCardLabel.propTypes = {\n className: PropTypes.string,\n format: PropTypes.string,\n ytdDifference: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n label: PropTypes.string.isRequired,\n size: PropTypes.string,\n tooltip: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n valueColor: PropTypes.string,\n};\n\nexport default CardLabel;\nexport { YtdDifference };\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport CardLabel from \"../BusinessDashboard/CardLabel\";\nimport colors from \"./helpers/colors\";\n\nconst StatCardLink = ({ className, label, link }) =>\n link ? (\n <a className={className} href={link}>\n {label}\n </a>\n ) : null;\n\nStatCardLink.defaultProps = {\n className: undefined,\n link: undefined,\n};\n\nStatCardLink.propTypes = {\n className: PropTypes.string,\n label: PropTypes.node.isRequired,\n link: PropTypes.string,\n};\n\nconst StatCard = ({ asCard, className, label, stats = {}, link, mainStat, tooltip }) => {\n const mainValue = stats[mainStat]?.value;\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n <div\n role={link ? \"button\" : undefined}\n // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex\n tabIndex={link ? 0 : undefined}\n onClick={() => {\n if (link) window.location.assign(link);\n }}\n onKeyDown={(e) => {\n if (link && (e.key === \"Enter\" || e.key === \" \")) {\n e.preventDefault();\n window.location.assign(link);\n }\n }}\n className={`tw-whitespace-nowrap tw-bg-white tw-flex tw-justify-start tw-px-[12px] tw-flex-1 ${\n (link && \"tw-cursor-pointer tw-transition hover:tw-scale-105\") || \"\"\n } ${\n (asCard &&\n \"tw-p-[24px] tw-border-[1px] tw-border-solid tw-border-neutral-gray-10 tw-rounded-[8px]\") ||\n \"\"\n } ${className}`}\n >\n <div className=\"tw-flex tw-flex-col tw-gap-y-[8px]\">\n <div className=\"tw-text-14d tw-text-gray-50 tw-font-semibold\">\n {label} {tooltip}\n </div>\n <div\n className={`tw-text-[28px] ${\n colors.theme === \"brivity\" ? \"tw-text-theme-primary\" : \"tw-text-theme-primary-alternative\"\n }`}\n >\n {typeof mainValue === \"undefined\" ? \"N/A\" : mainValue}\n </div>\n {Object.keys(stats)\n .filter((key) => key !== mainStat)\n .map((key) => (\n <CardLabel\n className=\"tw-gap-x-[4px] !tw-flex-col\"\n key={key}\n label={stats[key].label || key}\n value={stats[key].value}\n />\n ))}\n </div>\n </div>\n );\n};\n\nStatCard.defaultProps = {\n asCard: false,\n className: \"\",\n label: \"\",\n mainStat: \"Units\",\n link: undefined,\n stats: undefined,\n tooltip: null,\n};\n\nStatCard.propTypes = {\n asCard: PropTypes.bool,\n className: PropTypes.string,\n label: PropTypes.string,\n stats: PropTypes.shape({}),\n mainStat: PropTypes.string,\n link: PropTypes.string,\n tooltip: PropTypes.node,\n};\n\nexport default StatCard;\n","/* eslint-disable import/prefer-default-export */\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nexport const getBusinessDashboard = (axiosOptions) =>\n caseTransformingAxios.get(\"/api/v4/reporting/business_dashboard\", axiosOptions);\n","/* eslint-disable camelcase */\nimport React, { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport formatter from \"../../../../shared/formatters\";\nimport { getBusinessDashboard } from \"./api\";\n\nconst transformYtdTotals = ({ year, ...rest }) => ({\n year,\n ...Object.entries(rest).reduce(\n (acc, [category, value]) => ({\n ...acc,\n [category]: Object.keys(value).reduce(\n (a, key) => ({\n ...a,\n [key]:\n year !== new Date().getFullYear() && /mtd/i.test(key)\n ? {\n Units: { value: \"-\" },\n Volume: { value: \"-\" },\n GCI: { value: \"-\" },\n }\n : {\n Units: { value: formatter.number(value[key].units) },\n Volume: {\n label: /pending|active|pipeline/.test(key) ? \"Est. Volume\" : \"\",\n value: formatter.currency(value[key].volume),\n },\n ...(typeof value[key].gci === \"undefined\"\n ? undefined\n : {\n GCI: {\n label: /pending|active|pipeline/.test(key) ? \"Est. GCI\" : \"\",\n value: formatter.currency(value[key].gci),\n },\n }),\n },\n }),\n {},\n ),\n }),\n {},\n ),\n});\n\nconst useTransactionSnapshot = (year) => {\n const [loading, setLoading] = useState(true);\n const [data, setData] = React.useState(transformYtdTotals({}));\n const [error, setError] = React.useState(null);\n\n useEffect(() => {\n const abortController = new AbortController();\n setLoading(true);\n getBusinessDashboard({\n signal: abortController.signal,\n params: {\n section: \"ytd_totals\",\n selectedYear: year,\n },\n })\n .then((res) => {\n setData(transformYtdTotals(res.data));\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(err);\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [year]);\n\n return { data, error, loading };\n};\n\nexport default useTransactionSnapshot;\n","import React, { useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextToggle from \"../../../shared/v2/TextToggle/TextToggle\";\nimport Loader from \"../../../Goals/components/Loader\";\nimport { Section, SectionLabel } from \"./Section\";\nimport StatCard from \"../DashboardShared/StatCard\";\nimport Error from \"../DashboardShared/Error\";\nimport useTransactionSnapshot from \"./services/useTransactionSnapshot\";\n\nconst SNAP_STAT_CLASS = \"!tw-bg-transparent tw-min-w-[190px] !tw-px-[24px]\";\n\nconst Spacer = () => (\n <hr className=\"tw-h-[180px] tw-m-[auto_-12px] tw-border-solid tw-border-y-0 tw-border-r-0 tw-border-l-[1px] tw-border-gray-10\" />\n);\n\nconst TransactionSnapshot = ({ year }) => {\n const [transactionType, setTransactionType] = useState(\"buyerSeller\");\n const { data, error, loading } = useTransactionSnapshot(year);\n const isThisYear = String(year) === String(new Date().getFullYear());\n const isLastYear = String(year) === String(new Date().getFullYear() - 1);\n const transactionTypeData = data[transactionType] || {};\n\n const queryParams = useMemo(() => {\n const params = new URLSearchParams();\n if (transactionType === \"buyerSeller\") {\n params.append(\"type[]\", \"buyer\");\n params.append(\"type[]\", \"seller\");\n }\n if (transactionType === \"tenantLandlord\") {\n params.append(\"type[]\", \"tenant\");\n params.append(\"type[]\", \"landlord\");\n }\n if (transactionType === \"referral\") {\n params.append(\"type[]\", \"referral\");\n }\n return params;\n }, [transactionType]);\n\n return (\n <Section className=\"tw-relative tw-gap-[16px]\">\n <SectionLabel>Transaction Snapshot</SectionLabel>\n <div>\n <TextToggle\n size=\"small\"\n name=\"businessStat\"\n options={[\n {\n label: \"All\",\n value: \"all\",\n },\n {\n label: \"Buyer & Seller\",\n value: \"buyerSeller\",\n },\n {\n label: \"Tenant & Landlord\",\n value: \"tenantLandlord\",\n },\n {\n label: \"Referral\",\n value: \"referral\",\n },\n ]}\n value={transactionType}\n onChange={(e) => setTransactionType(e.target.value)}\n />\n </div>\n <div className=\"tw-flex tw-justify-between tw-flex-wrap tw-gap-[12px] tw-overflow-hidden tw-mx-[-12px]\">\n <StatCard\n className={SNAP_STAT_CLASS}\n label={`${isThisYear ? \"YTD\" : year} Closed`}\n stats={transactionTypeData.ytdClosed}\n link={`/listings/sold?close_date_range[]=${isThisYear ? \"this_year\" : `${isLastYear ? \"last_year\" : year}`}&${queryParams}`}\n />\n <Spacer />\n <StatCard\n className={SNAP_STAT_CLASS}\n label=\"MTD Closed\"\n stats={transactionTypeData.mtdClosed}\n link={isThisYear ? `/listings/sold?close_date_range[]=this_month&${queryParams}` : \"\"}\n />\n {transactionType !== \"referral\" && (\n <>\n <Spacer />\n <StatCard\n className={SNAP_STAT_CLASS}\n label=\"Pending\"\n stats={transactionTypeData.pending}\n link={`/listings/pending?${queryParams}`}\n />\n </>\n )}\n <Spacer />\n <StatCard\n className={SNAP_STAT_CLASS}\n label=\"Active\"\n stats={transactionTypeData.active}\n link={`/listings/active?${queryParams}`}\n />\n {transactionType !== \"referral\" && (\n <>\n <Spacer />\n <StatCard\n className={SNAP_STAT_CLASS}\n label=\"Coming Soon\"\n stats={transactionTypeData.comingSoon}\n link={`/listings?status[]=coming_soon&${queryParams}`}\n />\n <Spacer />\n <StatCard\n className={SNAP_STAT_CLASS}\n label=\"Pipeline\"\n stats={transactionTypeData.pipeline}\n link={`/listings?status[]=pipeline&${queryParams}`}\n />\n </>\n )}\n </div>\n <Error show={Boolean(error)} />\n {loading && <Loader />}\n </Section>\n );\n};\n\nTransactionSnapshot.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default TransactionSnapshot;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\n \"tw-m-0\",\n \"tw-p-0\",\n \"tw-border-0\",\n \"tw-bg-transparent\",\n \"tw-inline-flex\",\n \"tw-flex-col\",\n \"tw-flex-nowrap\",\n \"tw-justify-between\",\n \"tw-group\",\n \"tw-cursor-pointer\",\n ],\n hover: [\"hover:tw-text-theme-tab-label-hover\"],\n disabled: [\"disabled:tw-text-neutral-gray-15\", \"disabled:tw-cursor-not-allowed\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport styleSchema from \"./Tab.styles\";\n\nconst Tab = ({ label, selected, disabled, className, isPadded, ...otherProps }) => {\n const enabledAndSelected = !disabled && selected;\n\n return (\n // Using the button element to leverage the \"disabled\" attribute and focus capability\n // eslint-disable-next-line react/jsx-props-no-spreading\n <button\n type=\"button\"\n disabled={disabled}\n className={`${styleSchema.regular} ${\n enabledAndSelected ? \"tw-text-theme-tab-label-focus\" : \"tw-text-neutral-gray-30\"\n } ${className}`}\n tabIndex={-1}\n {...otherProps}\n >\n <span\n className={`tw-font-14d tw-font-bold tw-uppercase tw-my-[12px] ${isPadded ? \"tw-mx-[16px]\" : \"\"}`}\n tabIndex={!disabled ? 0 : undefined}\n role=\"button\"\n >\n {label}\n </span>\n <div\n className={`tw-h-[2px] tw-w-full tw-m-0 tw-border-0 tw-rounded-full ${\n enabledAndSelected ? \"tw-bg-theme-tab-focus\" : \"tw-bg-transparent\"\n }`}\n />\n </button>\n );\n};\n\nTab.propTypes = {\n label: PropTypes.node.isRequired,\n selected: PropTypes.bool,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n isPadded: PropTypes.bool,\n};\n\nTab.defaultProps = {\n selected: false,\n disabled: false,\n className: \"\",\n isPadded: false,\n};\n\nexport default Tab;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\"tw-inline-flex\", \"tw-flex-row\", \"tw-flex-wrap\", \"tw-justify-start\", \"tw-items-center\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React, { Children, cloneElement, isValidElement } from \"react\";\nimport PropTypes from \"prop-types\";\nimport styleSchema from \"./TabBar.styles\";\n\nconst TabBar = ({ children, className, isPadded }) => (\n <div className=\"tw-inline-block tw-relative\">\n <div className={`${styleSchema.regular} ${isPadded ? \"\" : \"tw-gap-[32px]\"} ${className}`}>\n {Children.map(children, (child) => (isValidElement(child) ? cloneElement(child, { isPadded }) : null))}\n </div>\n <div className=\"tw-absolute tw-bottom-0 tw-h-[1px] tw-w-full tw-rounded-full tw-bg-neutral-gray-10\" />\n </div>\n);\n\nTabBar.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n isPadded: PropTypes.bool,\n};\n\nTabBar.defaultProps = {\n className: \"\",\n isPadded: false,\n};\n\nexport default TabBar;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BasicStat = ({ label, value }) => (\n <div className=\"tw-min-h-[76px] tw-my-[12px] tw-grow tw-flex tw-flex-col tw-justify-center tw-items-center tw-border-solid tw-border-[1px] tw-border-y-0 tw-border-l-0 tw-border-neutral-gray-10 last-of-type:tw-border-0\">\n <div className=\"tw-text-18d tw-font-normal tw-text-neutral-gray-75 tw-mb-[8px]\">{value}</div>\n <div className=\"tw-text-14d tw-font-semibold tw-text-neutral-gray-50\">{label}</div>\n </div>\n);\n\nBasicStat.defaultProps = {\n value: \"\",\n};\n\nBasicStat.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nexport default BasicStat;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst SIZES = {\n l: \"tw-w-[14px] tw-h-[14px]\",\n m: \"tw-w-[12px] tw-h-[12px]\",\n};\n\nconst Dot = ({ className, size }) => (\n <span className={`tw-inline-flex ${SIZES[size]} tw-rounded-full ${className}`} />\n);\n\nDot.propTypes = {\n className: PropTypes.string.isRequired,\n size: PropTypes.string,\n};\n\nDot.defaultProps = {\n size: \"l\",\n};\n\nexport default Dot;\n","const setCheck = (setChecks, checkNum) => () =>\n setChecks((currentChecks) => {\n const newChecks = [...currentChecks];\n newChecks[checkNum] = !newChecks[checkNum];\n return newChecks;\n });\n\nexport default setCheck;\n","import formatter from \"../../../../shared/formatters\";\n\nconst TOOLTIP_ID = \"dashboard-tooltip\";\n\nconst renderCell = (label, value) =>\n value !== \"$0\"\n ? `<div class=\"tw-flex tw-gap-[12px] tw-justify-between\">\n <span>${label}:</span>\n <span>${value}</span>\n </div>`\n : \"\";\n\nconst getLabelKey = (label) => {\n const labels = {\n \"MTD Closed\": \"closed\",\n \"To Be Closed\": \"toBeClosed\",\n \"Closed Last Year\": \"closedPrevYear\",\n \"MTD Pended\": \"pendedUnits\",\n \"Pended Last Year\": \"pendedPrevYear\",\n \"MTD Listed\": \"listingsTaken\",\n \"Listed Last Year\": \"listingsTakenPrevYear\",\n \"Coming Soon\": \"comingSoon\"\n };\n return labels[label];\n};\n\nfunction renderTooltip({ context, content }) {\n const { caretX, caretY, xAlign, opacity, yAlign } = context.tooltip;\n const tooltipEl = document.getElementById(TOOLTIP_ID) || document.createElement(\"div\");\n if (!tooltipEl.id) {\n tooltipEl.id = TOOLTIP_ID;\n tooltipEl.className = \"tw-transition-all\";\n document.body.appendChild(tooltipEl);\n }\n\n tooltipEl.classList.remove(\"above\", \"below\", \"no-transform\");\n if (yAlign) {\n tooltipEl.classList.add(yAlign);\n } else {\n tooltipEl.classList.add(\"no-transform\");\n }\n\n const halfHeight = tooltipEl.clientHeight / 2;\n const rightPx = xAlign === \"left\" ? 0 : tooltipEl.clientWidth;\n\n if (opacity === 0) {\n tooltipEl.style.opacity = 0;\n return undefined;\n }\n\n const position = context.chart.canvas.getBoundingClientRect();\n\n tooltipEl.innerHTML = `\n <div class=\"\n tw-relative\n tw-min-w-[168px]\n tw-rounded-[4px]\n tw-bg-[#121212]\n tw-text-white\n tw-px-[8px]\n tw-py-[6px]\n tw-divide-y\n tw-text-14d\n before:tw-absolute\n before:tw-border-[5px]\n before:tw-border-[#121212]\n before:tw-border-solid\n before:origin-center\n before:tw-rotate-45\n before:tw-content-['']\n before:tw-top-[calc(50%-5px)]\n ${rightPx ? \"before:tw-right-[-5px]\" : \"before:tw-left-[-5px]\"}\n \">\n ${content}\n </div>`;\n tooltipEl.style.opacity = 1;\n tooltipEl.style.position = \"absolute\";\n tooltipEl.style.left = `${position.left + window.pageXOffset + caretX - rightPx}px`;\n tooltipEl.style.top = `${position.top + window.pageYOffset + caretY - halfHeight}px`;\n tooltipEl.style.pointerEvents = \"none\";\n return tooltipEl;\n}\n\nexport function renderOverviewTooltip({ datasets, rawData, year, tab, agentUuid }, context) {\n const { dataPoints, title } = context.tooltip;\n const { datasetIndex, dataIndex } = dataPoints?.[0] || {};\n const { dotColor, label } = datasets[datasetIndex] || {};\n const labelKey = getLabelKey(label);\n const textYear = /last year/i.test(label) ? year - 1 : year;\n const estText = tab === \"Closings\" ? \"\" : \"Est. \";\n const gciText = agentUuid ? \"Net Income\" : \"GCI\";\n const units = rawData?.chartData?.units?.[labelKey]?.[dataIndex] || 0;\n const gci = formatter.currency(rawData?.chartData?.gci?.[labelKey]?.[dataIndex] || 0, 0);\n const companyIncome = formatter.currency(rawData?.chartData?.companyIncome?.[labelKey]?.[dataIndex] || 0, 0);\n const volume = formatter.currency(rawData?.chartData?.volume?.[labelKey]?.[dataIndex] || 0, 0);\n const avgSalePrice = formatter.currency(rawData?.chartData?.avgSalePrice?.[labelKey]?.[dataIndex] || 0, 0);\n const content = `\n <h4 class=\"tw-text-14d tw-font-bold tw-mt-0\">\n ${title?.[0]} ${textYear}\n </h4>\n <div class=\"tw-flex tw-items-center tw-gap-[5px]\">\n <span class=\"tw-inline-block tw-rounded-full tw-w-[8px] tw-h-[8px]\" style=\"background-color: ${dotColor};\"></span>\n ${label}\n </div>\n <hr class=\"tw-my-[6px]\" />\n <div class=\"tw-flex tw-flex-col tw-gap-[6px]\">\n ${renderCell(\"Units\", units)}\n ${renderCell(`${estText}Volume`, volume)}\n ${renderCell(`${estText}${gciText}`, gci)}\n ${renderCell(`${estText}Company Dollar`, companyIncome)}\n ${renderCell(`${estText}Avg. Sale Price`, avgSalePrice)}\n </div>\n `;\n\n return renderTooltip({ context, content });\n}\n\nexport function renderPapTooltip(context) {\n const { dataPoints } = context.tooltip;\n\n const { dataIndex, dataset: { data } = {} } = dataPoints?.[0] || {};\n\n if (!data) return \"\";\n\n const content = `\n <div class=\"tw-flex tw-flex-col tw-gap-[6px]\">\n ${renderCell(\"Rookie Agents\", data[dataIndex].rookieAgents)}\n ${renderCell(\"Experienced Agents\", data[dataIndex].experiencedAgents)}\n </div>\n `;\n return renderTooltip({ context, content });\n}\n","import axios from \"axios\";\nimport moment from \"moment\";\nimport { useEffect, useState } from \"react\";\nimport formatter from \"../../../../shared/formatters\";\nimport colors, { BRIVITY_COLORS, PLACE_COLORS } from \"../helpers/colors\";\nimport { renderOverviewTooltip } from \"../helpers/renderCustomTooltip\";\n\nexport const today = moment();\n\nconst LABELS = {\n Closings: [\"MTD Closed\", \"To Be Closed\", \"Closed Last Year\"],\n Pendings: [\"MTD Pended\", \"\", \"Pended Last Year\"],\n Listings: [\"MTD Listed\", \"Coming Soon\", \"Listed Last Year\"],\n};\n\nconst getInspectedKey = (value = \"\") => value.toLowerCase();\n\nconst getLabels = (rangeType) => {\n const startDate =\n rangeType === \"mtd\"\n ? moment().startOf(\"month\").subtract(12, \"months\")\n : moment().startOf(\"year\").subtract(1, \"month\");\n return Array(12)\n .fill(null)\n .map(() => startDate.add(1, \"month\").format(\"MMM\"));\n};\n\nconst getFailedPendingsPercent = (failedPendings, unitsPended) =>\n formatter.number(\n failedPendings ? (failedPendings / ((failedPendings || 0) + (unitsPended || 0))) * 100 : 0,\n );\n\nconst getVariableColor = (tab) => {\n if (tab === \"Closings\") return BRIVITY_COLORS.color3.default;\n return colors.theme === \"brivity\" ? PLACE_COLORS.color1.default : colors.color3.default;\n};\n\nconst transformMonthlyOverviewData = ({\n rawData: { chartData, summary = {} },\n checks,\n chartType,\n inspectedValue,\n rangeType,\n tab,\n year,\n}) => {\n const labels = getLabels(rangeType);\n const inspectedKey = getInspectedKey(inspectedValue);\n\n return {\n summary: Object.keys(summary).reduce(\n (obj, key) => ({\n ...obj,\n [key]: formatter[/volume|gci/i.test(key) ? \"currency\" : \"number\"](summary[key], 0),\n }),\n {},\n ),\n chartData: {\n labels,\n datasets: [\n {\n label: LABELS[tab][0],\n hidden: !checks[0],\n data:\n chartData?.[inspectedKey].closed ||\n chartData?.[inspectedKey].pendedUnits ||\n chartData?.[inspectedKey].listingsTaken ||\n [],\n datalabels: {\n align: \"right\",\n color: colors.color1.default,\n formatter: (value, context) => {\n if (context.dataset.data.length - 1 === context.dataIndex) {\n if (inspectedValue === \"Units\") return value;\n return formatter.currency(value);\n }\n return \"\";\n },\n },\n backgroundColor: ({ dataIndex }) =>\n year === String(today.get(\"year\")) && dataIndex > today.get(\"month\") - 1\n ? colors.color1.default\n : colors.color2.default,\n dotColor: colors.color1.default,\n hoverBackgroundColor: colors.color1.hover,\n borderColor: colors.color1.default,\n borderWidth: chartType === \"bar\" ? 0 : 3,\n lineTension: 0,\n barPercentage: 0.25,\n fill: false,\n },\n {\n label: LABELS[tab][1],\n hidden: !(chartType === \"bar\" && tab !== \"Pendings\" && checks[1]),\n backgroundColor: getVariableColor(tab),\n hoverBackgroundColor: getVariableColor(tab),\n dotColor: getVariableColor(tab),\n borderWidth: chartType === \"bar\" ? 0 : 3,\n lineTension: 0,\n data: chartData?.[inspectedKey].toBeClosed || chartData?.[inspectedKey].comingSoon || [],\n barPercentage: 0.25,\n fill: false,\n },\n {\n label: LABELS[tab][2],\n hidden: !checks[2],\n datalabels: { formatter: () => \"\" },\n backgroundColor: \"#ECEFEF\",\n dotColor: \"#ECEFEF\",\n borderColor: \"#C2C2C2\",\n borderDash: [10, 10],\n borderWidth: chartType === \"bar\" ? 0 : 3,\n lineTension: 0,\n data:\n chartData?.[inspectedKey].closedPrevYear ||\n chartData?.[inspectedKey].pendedPrevYear ||\n chartData?.[inspectedKey].listingsTakenPrevYear ||\n [],\n barPercentage: 0.5,\n fill: false,\n xAxisID: \"x2\",\n },\n ],\n },\n };\n};\n\nconst createClosingsRow = (\n label,\n unitsClosed,\n volumeClosed,\n gciClosed,\n avgSalePriceClosed,\n unitsToBeClosed,\n volumeToBeClosed,\n gciToBeClosed,\n) => [\n {\n border: \"tw-border-[2px]\",\n className: `${\n label === \"YTD\" ? \"tw-bg-tinted-gray-50\" : \"tw-bg-white\"\n } tw-font-semibold tw-text-center tw-sticky tw-left-0`,\n value: label,\n },\n {\n className: \"tw-text-center\",\n value: unitsClosed || 0,\n },\n {\n value: formatter.currency(volumeClosed || 0),\n },\n {\n value: formatter.currency(gciClosed || 0),\n },\n {\n border: \"tw-border\",\n value: formatter.currency(avgSalePriceClosed || 0),\n },\n {\n className: \"tw-text-center\",\n value: unitsToBeClosed || 0,\n },\n {\n value: formatter.currency(volumeToBeClosed || 0),\n },\n {\n value: formatter.currency(gciToBeClosed || 0),\n },\n];\n\nconst createPendingsRow = (label, unitsPended, volumePended, gciPended, failedPendings) => [\n {\n border: \"tw-border-[2px]\",\n className: `${\n label === \"YTD\" ? \"tw-bg-tinted-gray-50\" : \"tw-bg-white\"\n } tw-font-semibold tw-text-center tw-sticky tw-left-0`,\n value: label,\n },\n {\n className: \"tw-text-center\",\n value: unitsPended || 0,\n },\n {\n value: formatter.currency(volumePended || 0),\n },\n {\n value: formatter.currency(gciPended || 0),\n },\n {\n value: `${failedPendings || 0} (${getFailedPendingsPercent(failedPendings, unitsPended)}%)`,\n },\n];\n\nconst createListingsRow = (\n label,\n listingsTaken,\n listingsVolume,\n listingsGci,\n comingSoonUnits,\n comingSoonVolume,\n comingSoonGci,\n) => [\n {\n border: \"tw-border-[2px]\",\n className: `${\n label === \"YTD\" ? \"tw-bg-tinted-gray-50\" : \"tw-bg-white\"\n } tw-font-semibold tw-text-center tw-sticky tw-left-0`,\n value: label,\n },\n {\n className: \"tw-text-center\",\n value: listingsTaken || 0,\n },\n {\n value: formatter.currency(listingsVolume || 0),\n },\n {\n border: \"tw-border\",\n value: formatter.currency(listingsGci || 0),\n },\n {\n className: \"tw-text-center\",\n value: comingSoonUnits || 0,\n },\n {\n value: formatter.currency(comingSoonVolume || 0),\n },\n {\n value: formatter.currency(comingSoonGci || 0),\n },\n];\n\nconst transformTableData = ({ rangeType, rawData: { chartData, year }, tab }) => {\n let totals;\n let rows = [];\n let totalsRow = [];\n switch (tab) {\n case \"Pendings\": {\n totals = Array(4).fill(0);\n rows = getLabels(rangeType).map((label, i) => {\n const unitsPended = chartData?.units?.pendedUnits?.[i];\n const volumePended = chartData?.volume?.pendedUnits?.[i];\n const gciPended = chartData?.gci?.pendedUnits?.[i];\n const failedPendings = chartData?.units?.failed?.[i];\n\n // Add to totals\n totals[0] += unitsPended;\n totals[1] += volumePended;\n totals[2] += gciPended;\n totals[3] += failedPendings;\n\n return createPendingsRow(label, unitsPended, volumePended, gciPended, failedPendings);\n });\n totalsRow = createPendingsRow(\"YTD\", ...totals);\n break;\n }\n case \"Listings\": {\n totals = Array(6).fill(0);\n rows = getLabels(rangeType).map((label, i) => {\n const listingsTaken = chartData?.units?.listingsTaken?.[i];\n const listingsVolume = chartData?.volume?.listingsTaken?.[i];\n const listingsGci = chartData?.gci?.listingsTaken?.[i];\n const comingSoonUnits = chartData?.units?.comingSoon?.[i];\n const comingSoonVolume = chartData?.volume?.comingSoon?.[i];\n const comingSoonGci = chartData?.gci?.comingSoon?.[i];\n\n // Add to totals\n totals[0] += listingsTaken;\n totals[1] += listingsVolume;\n totals[2] += listingsGci;\n totals[3] += comingSoonUnits;\n totals[4] += comingSoonVolume;\n totals[5] += comingSoonGci;\n\n return createListingsRow(\n label,\n listingsTaken,\n listingsVolume,\n listingsGci,\n comingSoonUnits,\n comingSoonVolume,\n comingSoonGci,\n );\n });\n totalsRow = createListingsRow(\"YTD\", ...totals);\n break;\n }\n default: {\n const now = moment();\n const calendarMonths = year > now.get(\"year\") ? 1 : now.get(\"months\") + 1;\n const divisor = rangeType === \"mtd\" || year < now.get(\"year\") ? 12 : calendarMonths;\n totals = Array(7).fill(0);\n rows = getLabels(rangeType).map((label, i) => {\n const unitsClosed = chartData?.units?.closed?.[i];\n const volumeClosed = chartData?.volume?.closed?.[i];\n const gciClosed = chartData?.gci?.closed?.[i];\n const avgSalePriceClosed = chartData?.avgSalePrice?.closed?.[i];\n const unitsToBeClosed = chartData?.units?.toBeClosed?.[i];\n const volumeToBeClosed = chartData?.volume?.toBeClosed?.[i];\n const gciToBeClosed = chartData?.gci?.toBeClosed?.[i];\n\n // Add to totals\n totals[0] += unitsClosed;\n totals[1] += volumeClosed;\n totals[2] += gciClosed;\n totals[3] += avgSalePriceClosed;\n totals[4] += unitsToBeClosed;\n totals[5] += volumeToBeClosed;\n totals[6] += gciToBeClosed;\n\n return createClosingsRow(\n label,\n unitsClosed,\n volumeClosed,\n gciClosed,\n avgSalePriceClosed,\n unitsToBeClosed,\n volumeToBeClosed,\n gciToBeClosed,\n );\n });\n totals[3] /= divisor;\n totalsRow = createClosingsRow(\"YTD\", ...totals);\n }\n }\n return { rows, totalsRow };\n};\n\nconst getChartOptions = ({\n data: {\n chartData: { datasets },\n },\n rawData,\n year,\n tab,\n agentUuid,\n}) => ({\n plugins: {\n legend: { display: false },\n tooltip: {\n enabled: false,\n external: renderOverviewTooltip.bind(renderOverviewTooltip, { datasets, rawData, year, tab, agentUuid }),\n },\n },\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n offset: true,\n },\n x2: {\n display: false,\n type: \"category\",\n grid: {\n offset: true,\n },\n offset: true,\n },\n y: {\n stacked: true,\n border: {\n display: false,\n },\n min: 0,\n ticks: {\n beginAtZero: true,\n autoSkip: false,\n callback: (value) => (value > 1000 ? `${Math.ceil(value / 1000)}k` : value),\n padding: 10,\n },\n },\n },\n});\n\nconst getCheckLabels = (tab, chartType) => {\n const variableColor = colors.theme === \"brivity\" ? \"tw-bg-semantic-blue-100\" : \"tw-bg-[#121212]\";\n return [\n {\n label: LABELS[tab][0],\n color: colors.theme === \"brivity\" ? \"tw-bg-brivity-blue-100\" : \"tw-bg-semantic-blue-100\",\n },\n {\n label: chartType === \"bar\" ? LABELS[tab][1] : \"\",\n color: tab === \"Listings\" ? variableColor : \"tw-bg-semantic-yellow-100\",\n },\n { label: LABELS[tab][2], color: \"tw-bg-tinted-gray-100\" },\n ];\n};\n\nconst getSectionFromTab = (agentUuid, tab) => `${agentUuid ? \"agent_\" : \"\"}${tab.toLowerCase()}_overview`;\n\nconst useMonthlyOverview = ({ agentUuid, chartType, checks, inspectedValue, rangeType, tab, year }) => {\n const [rawData, setRawData] = useState({});\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(null);\n\n const section = getSectionFromTab(agentUuid, tab);\n const checkLabels = getCheckLabels(tab, chartType);\n const data = transformMonthlyOverviewData({\n rawData,\n checks,\n chartType,\n inspectedValue,\n rangeType,\n tab,\n year,\n });\n const tableData = transformTableData({ rangeType, rawData, tab });\n const chartOptions = getChartOptions({ data, rawData, year, tab, agentUuid });\n\n useEffect(() => {\n const abortController = new AbortController();\n\n setLoading(true);\n setError(null);\n\n axios\n .get(`/api/v4/reporting/${agentUuid ? \"agent\" : \"business\"}_dashboard`, {\n params: {\n section,\n selected_year: year,\n range_type: rangeType,\n person_uuid: agentUuid,\n },\n signal: abortController.signal,\n })\n .then(({ data: serverData }) => {\n setRawData(serverData);\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(err);\n setLoading(false);\n }\n });\n\n return () => abortController.abort();\n }, [agentUuid, rangeType, section, year]);\n\n return { chartOptions, checkLabels, data, error, loading, tableData };\n};\n\nexport default useMonthlyOverview;\n","import { useEffect, useRef, useState } from \"react\";\n\nconst getFullscreenElement = () =>\n document.mozFullscreenElement || document.webkitFullscreenElement || document.fullscreenElement;\nconst exitFullscreen = () => {\n if (document.mozExitFullscreen) document.mozExitFullscreen();\n else if (document.webkitExitFullscreen) document.webkitExitFullscreen();\n else if (document.exitFullscreen) document.exitFullscreen();\n};\nconst requestFullscreen = (element) => {\n if (element.mozRequestFullscreen) element.mozRequestFullscreen();\n else if (element.webkitRequestFullscreen) element.webkitRequestFullscreen();\n else if (element.requestFullscreen) element.requestFullscreen();\n};\n\nconst useFullscreen = () => {\n const ref = useRef(null);\n const [isFullscreen, setIsFullscreen] = useState(false);\n\n useEffect(() => {\n const onFullscreenChange = () => {\n setIsFullscreen(!!getFullscreenElement());\n };\n document.addEventListener(\"mozfullscreenchange\", onFullscreenChange);\n document.addEventListener(\"webkitfullscreenchange\", onFullscreenChange);\n document.addEventListener(\"fullscreenchange\", onFullscreenChange);\n return () => {\n document.removeEventListener(\"mozfullscreenchange\", onFullscreenChange);\n document.removeEventListener(\"webkitfullscreenchange\", onFullscreenChange);\n document.removeEventListener(\"fullscreenchange\", onFullscreenChange);\n };\n }, []);\n\n const toggleFullscreen = () => {\n if (getFullscreenElement()) {\n exitFullscreen();\n return;\n }\n\n const element = ref.current;\n if (element) requestFullscreen(element);\n };\n\n return {\n ref,\n isFullscreen,\n toggleFullscreen,\n };\n};\n\nexport default useFullscreen;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { SortDownSolidV6, SortUpSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst BORDER_STYLE = \"tw-border-solid tw-border-l-0 tw-border-y-0 tw-border-gray-10\";\n\nexport const Table = ({ children, className, ...props }) => (\n <table className={`tw-w-full ${className}`} {...props}>\n {children}\n </table>\n);\n\nTable.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nTable.defaultProps = {\n className: \"\",\n};\n\nexport const THead = ({ children, className, ...props }) => (\n <thead className={`tw-text-12d tw-text-neutral-gray-50 ${className}`} {...props}>\n {children}\n </thead>\n);\n\nTHead.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nTHead.defaultProps = {\n className: \"\",\n};\n\nexport const TBody = ({ children, className, ...props }) => (\n <tbody className={`tw-text-14d ${className}`} {...props}>\n {children}\n </tbody>\n);\n\nTBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\n\nTBody.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport const TH = ({ border, children, className, onSort, sort, ...props }) => (\n <td className={`tw-p-[12px] ${border ? `${border} ${BORDER_STYLE}` : \"\"} ${className}`} {...props}>\n <div className=\"tw-inline-flex tw-items-center tw-gap-[4px]\">\n {children}\n {onSort && (\n <button\n aria-label=\"sort\"\n type=\"button\"\n className=\"tw-flex tw-flex-col tw-border-0 tw-p-0 tw-bg-transparent\"\n onClick={onSort}\n >\n <SortUpSolidV6 className={`tw-mb-[-8px]${sort === \"asc\" ? \" tw-text-black\" : \"\"}`} size=\"l\" />\n <SortDownSolidV6 className={`tw-mt-[-8px]${sort === \"desc\" ? \" tw-text-black\" : \"\"}`} size=\"l\" />\n </button>\n )}\n </div>\n </td>\n);\n\nTH.propTypes = {\n border: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n onSort: PropTypes.func,\n sort: PropTypes.oneOf([\"asc\", \"desc\", false]),\n};\n\nTH.defaultProps = {\n border: \"\",\n children: null,\n className: \"\",\n onSort: null,\n sort: false,\n};\n\nexport const TR = ({ children, className, wrapText, ...props }) => (\n <tr\n className={`tw-border tw-border-solid tw-border-gray-10 ${\n wrapText ? \"\" : \"tw-whitespace-nowrap\"\n } ${className}`}\n {...props}\n >\n {children}\n </tr>\n);\n\nTR.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n wrapText: PropTypes.bool,\n};\n\nTR.defaultProps = {\n className: \"\",\n wrapText: false,\n};\n\nexport const TD = ({ border, children, className, isActive, ...props }) => (\n <td\n className={`tw-p-[12px] ${isActive ? \"tw-bg-brivity-blue-10\" : \"\"} ${\n border ? `${border} ${BORDER_STYLE}` : \"\"\n } ${className}`}\n {...props}\n >\n {children}\n </td>\n);\n\nTD.propTypes = {\n border: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n isActive: PropTypes.bool,\n};\n\nTD.defaultProps = {\n border: \"\",\n children: null,\n className: \"\",\n isActive: false,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { TH, THead, TR } from \"../Table/Table\";\n\nconst TableHead = ({ tab, agentUuid }) => (\n <THead className=\"tw-sticky tw-top-0 tw-z-10\">\n {tab === \"Closings\" && (\n <>\n <TR className=\"tw-font-semibold tw-bg-white\">\n <TH border=\"tw-border-[2px]\" className=\"tw-bg-white tw-sticky tw-left-0\" />\n <TH border=\"tw-border\" className=\"tw-text-center\" colSpan={4}>\n MTD Closed\n </TH>\n <TH className=\"tw-text-center\" colSpan={3}>\n To Be Closed\n </TH>\n </TR>\n <TR className=\"tw-bg-[#fafafa]\">\n <TH border=\"tw-border-[2px]\" className=\"tw-bg-[#fafafa] tw-text-center tw-sticky tw-left-0\">\n Month\n </TH>\n <TH className=\"tw-text-center\">Units</TH>\n <TH>Volume</TH>\n <TH>{agentUuid ? \"Net Income\" : \"GCI\"}</TH>\n <TH border=\"tw-border\">Avg. Sale Price</TH>\n <TH className=\"tw-text-center\">Units</TH>\n <TH>Volume</TH>\n <TH>{agentUuid ? \"Net Income\" : \"GCI\"}</TH>\n </TR>\n </>\n )}\n {tab === \"Pendings\" && (\n <>\n <TR className=\"tw-font-semibold tw-bg-white\">\n <TH border=\"tw-border-[2px]\" className=\"tw-bg-white tw-sticky tw-left-0\" />\n <TH border=\"tw-border\" className=\"tw-text-center\" colSpan={4}>\n MTD Pendings\n </TH>\n </TR>\n <TR className=\"tw-bg-[#fafafa]\">\n <TH border=\"tw-border-[2px]\" className=\"tw-bg-[#fafafa] tw-text-center tw-sticky tw-left-0\">\n Month\n </TH>\n <TH className=\"tw-text-center tw-w-[20%]\">Units</TH>\n <TH>Volume</TH>\n <TH>{agentUuid ? \"Est. Net Income\" : \"GCI\"}</TH>\n <TH>Failed Pendings</TH>\n </TR>\n </>\n )}\n {tab === \"Listings\" && (\n <>\n <TR className=\"tw-font-semibold tw-bg-white\">\n <TH border=\"tw-border-[2px]\" className=\"tw-bg-white tw-sticky tw-left-0\" />\n <TH border=\"tw-border\" className=\"tw-text-center\" colspan={3}>\n MTD Listings\n </TH>\n <TH border=\"tw-border\" className=\"tw-text-center\" colspan={3}>\n Coming Soon\n </TH>\n </TR>\n <TR className=\"tw-bg-[#fafafa]\">\n <TH border=\"tw-border-[2px]\" className=\"tw-bg-[#fafafa] tw-text-center tw-sticky tw-left-0\">\n Month\n </TH>\n <TH className=\"tw-text-center\">Listings Taken</TH>\n <TH>Volume</TH>\n <TH border=\"tw-border\">{agentUuid ? \"Net Income\" : \"GCI\"}</TH>\n <TH className=\"tw-text-center\">Units</TH>\n <TH>Volume</TH>\n <TH>{agentUuid ? \"Est. Net Income\" : \"GCI\"}</TH>\n </TR>\n </>\n )}\n </THead>\n);\n\nTableHead.propTypes = {\n agentUuid: PropTypes.string,\n tab: PropTypes.string.isRequired,\n};\n\nTableHead.defaultProps = {\n agentUuid: \"\",\n};\n\nexport default TableHead;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"../../../../shared/v2/Modal/Modal\";\nimport { Table, TBody, TD, TR } from \"../Table/Table\";\nimport TableHead from \"./TableHead\";\n\nconst TableModal = ({ data, onClose, show, tab, agentUuid }) => (\n <Modal\n show={show}\n onHide={onClose}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-m-0\"\n contentClassName=\"tw-flex tw-flex-col tw-space-y-[32px] tw-min-w-[320px] tw-max-w-[1200px] tw-w-[100%] tw-max-h-[calc(100vh-64px)]\"\n >\n <Modal.Header title={`${tab} Overview`} closeButton />\n <Modal.Body className=\"tw-overflow-auto tw-border-solid tw-border-gray-10\">\n <Table className=\"tw-border-separate\">\n <TableHead tab={tab} agentUuid={agentUuid} />\n <TBody>\n {data.rows.map((values, i) => {\n const isActive = new Date().getMonth() === i;\n return (\n // eslint-disable-next-line react/no-array-index-key\n <TR key={i}>\n {values.map(({ border, className, value }, j) => (\n <TD\n // eslint-disable-next-line react/no-array-index-key\n key={j}\n border={border}\n className={`${className} ${isActive ? \"tw-bg-brivity-blue-10\" : \"\"}`}\n >\n {value}\n </TD>\n ))}\n </TR>\n );\n })}\n </TBody>\n <tfoot className=\"tw-sticky tw-bottom-0\">\n <TR className=\"tw-bg-tinted-gray-50 tw-font-semibold\">\n {data.totalsRow.map(({ border, className, value }, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <TD key={i} border={border} className={className}>\n {value}\n </TD>\n ))}\n </TR>\n </tfoot>\n </Table>\n </Modal.Body>\n </Modal>\n);\n\nTableModal.propTypes = {\n agentUuid: PropTypes.string,\n data: PropTypes.shape({\n rows: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.shape())),\n totalsRow: PropTypes.arrayOf(PropTypes.shape()),\n }).isRequired,\n onClose: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n tab: PropTypes.string.isRequired,\n};\n\nTableModal.defaultProps = {\n agentUuid: \"\",\n};\n\nexport default TableModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\n\nconst CustomControl = ({ componentProps, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.Control {...componentProps}>\n <Button schema=\"secondary\">\n <span className=\"tw-flex tw-min-w-[130px] tw-w-full\">{children}</span>\n </Button>\n </Dropdown.Control>\n);\n\nCustomControl.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nexport default CustomControl;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst CustomSingleValue = ({ basic, children, componentProps }) => {\n let body = null;\n if (basic) {\n body = children;\n } else {\n const isAllSelected = componentProps.selectProps.value?.[0].value === \"all\";\n const totalSelected = componentProps.selectProps.value?.length - (isAllSelected ? 1 : 0);\n body = `${isAllSelected ? \"All Sources\" : \"Sources Selected\"} (${totalSelected})`;\n }\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.SingleValue {...componentProps}>{body}</Dropdown.SingleValue>\n );\n};\n\n// eslint-disable-next-line react/jsx-props-no-spreading\nexport const CustomBasicSingleValue = (props) => <CustomSingleValue {...props} basic />;\n\nCustomSingleValue.propTypes = {\n basic: PropTypes.bool,\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nCustomSingleValue.defaultProps = {\n basic: false,\n};\n\nexport default CustomSingleValue;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\n\nconst CustomValueContainer = ({ componentProps, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.ValueContainer {...componentProps} className=\"tw-w-full tw-flex tw-justify-center\">\n {children}\n </Dropdown.ValueContainer>\n);\n\nCustomValueContainer.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nexport default CustomValueContainer;\n","import moment from \"moment\";\n\nconst today = moment();\n\nconst getDateDropdownOptions = (year, type) => {\n const dropdownItems = [];\n const ytdEndDate = moment().set(\"year\", year);\n const ytdStartDate = moment(ytdEndDate).subtract(11, \"months\");\n const calendarEndDate = moment().set(\"year\", year).endOf(\"year\");\n const calendarStartDate = moment(calendarEndDate).startOf(\"year\");\n\n const isThisYear = String(year) === String(today.get(\"year\"));\n\n dropdownItems.push({\n label: isThisYear\n ? \"This Year\"\n : `${calendarStartDate.format(\"MMM YYYY\")} - ${calendarEndDate.format(\"MMM YYYY\")}`,\n value: \"calendar\",\n });\n\n dropdownItems.push({\n label: isThisYear\n ? \"Last 12 Months\"\n : `${ytdStartDate.format(\"MMM YYYY\")} - ${ytdEndDate.format(\"MMM YYYY\")}`,\n value: \"mtd\",\n });\n if (type === \"extended\") {\n dropdownItems.push({\n label: isThisYear ? \"This Month\" : `${ytdEndDate.format(\"MMM YYYY\")}`,\n value: \"this_month\",\n });\n dropdownItems.push({\n label: isThisYear ? \"Last Month\" : `${moment(ytdEndDate).subtract(1, \"months\").format(\"MMM YYYY\")}`,\n value: \"last_month\",\n });\n dropdownItems.push({\n label: isThisYear\n ? \"This Week\"\n : `${moment(ytdEndDate).startOf(\"week\").format(\"MMM D\")} - ${moment(ytdEndDate)\n .endOf(\"week\")\n .format(\"MMM D YYYY\")}`,\n value: \"this_week\",\n });\n dropdownItems.push({\n label: isThisYear\n ? \"Last Week\"\n : `${moment(ytdEndDate).subtract(1, \"weeks\").startOf(\"week\").format(\"MMM D\")} - ${moment(ytdEndDate)\n .subtract(1, \"weeks\")\n .endOf(\"week\")\n .format(\"MMM D YYYY\")}`,\n value: \"last_week\",\n });\n }\n\n return dropdownItems;\n};\n\nexport default getDateDropdownOptions;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { components } from \"react-select\";\nimport { ChevronDownSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst CustomDropdownIndicator = ({ componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <components.DropdownIndicator {...componentProps} className=\"!tw-text-inherit\">\n <ChevronDownSolidV6 size=\"s\" />\n </components.DropdownIndicator>\n);\n\nCustomDropdownIndicator.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n};\n\nexport default CustomDropdownIndicator;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport ChartDataLabels from \"chartjs-plugin-datalabels\";\nimport \"chart.js/auto\";\n// eslint-disable-next-line import/no-unresolved\nimport { Bar, Line } from \"react-chartjs-2\";\nimport PropTypes from \"prop-types\";\nimport Loader from \"../../../Goals/components/Loader\";\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport Tab from \"../../../shared/v2/Tab\";\nimport TabBar from \"../../../shared/v2/TabBar\";\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport TextToggle from \"../../../shared/v2/TextToggle/TextToggle\";\nimport IconButton from \"../../../shared/v2/IconButton\";\nimport { ChartLine, Report, Table } from \"../../../shared/v2/Icomoon\";\nimport Checkbox from \"../../../shared/v2/Checkbox/Checkbox\";\nimport BasicStat from \"../BusinessDashboard/BasicStat\";\nimport Dot from \"../BusinessDashboard/Dot\";\nimport setCheck from \"./helpers/setCheck\";\nimport useMonthlyOverview, { today } from \"./services/useMonthlyOverview\";\nimport useFullscreen from \"../BusinessDashboard/hooks/useFullscreen\";\nimport TableModal from \"../BusinessDashboard/TableModal/TableModal\";\nimport CustomControl from \"../BusinessDashboard/Dropdown/CustomControl\";\nimport { CustomBasicSingleValue } from \"../BusinessDashboard/Dropdown/CustomSingleValue\";\nimport CustomValueContainer from \"../BusinessDashboard/Dropdown/CustomValueContainer\";\nimport Error from \"./Error\";\nimport getDateDropdownOptions from \"./helpers/getDateDropdownOptions\";\nimport CustomDropdownIndicator from \"../BusinessDashboard/Dropdown/CustomDropdownIndicator\";\n\nconst RadioButton = ({ chart, name, setChart, Icon }) => {\n const isSelected = chart === name;\n return (\n <IconButton\n schema={isSelected ? \"primary\" : \"tertiary\"}\n role=\"radio\"\n name={name}\n aria-checked={isSelected}\n tabIndex={isSelected ? 0 : -1}\n onClick={() => setChart(name)}\n onKeyDown={(e) => {\n // simple two radio button, if more are added modify this\n if (e.key === \"ArrowLeft\" || e.key === \"ArrowRight\") setChart(name === \"bar\" ? \"line\" : \"bar\");\n }}\n >\n <Icon size=\"l\" />\n </IconButton>\n );\n};\n\nRadioButton.propTypes = {\n chart: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n setChart: PropTypes.func.isRequired,\n Icon: PropTypes.func.isRequired,\n};\n\nconst MonthlyOverview = ({ agentUuid, year }) => {\n const MONTHLY_OVERVIEW_OPTIONS = useMemo(() => getDateDropdownOptions(year), [year]);\n const radiogroupRef = useRef(null);\n const [rangeType, setRangeType] = useState(MONTHLY_OVERVIEW_OPTIONS[0]);\n const [tab, setTab] = useState(\"Closings\");\n const [inspectedValue, setInspectedValue] = useState(\"Units\");\n const [chartType, setChartType] = useState(\"bar\");\n const [isTableModalOpen, setIsTableModalOpen] = useState(false);\n const [checks, setChecks] = useState([true, true, true]);\n const { isFullscreen, ref, toggleFullscreen } = useFullscreen();\n\n useEffect(() => setRangeType(MONTHLY_OVERVIEW_OPTIONS[0]), [year]);\n\n useEffect(() => {\n if (radiogroupRef.current.querySelector(\":focus\")) {\n radiogroupRef.current.querySelector(`[name=${chartType}]`).focus();\n }\n }, [chartType]);\n\n const { chartOptions, checkLabels, data, error, loading, tableData } = useMonthlyOverview({\n agentUuid,\n chartType,\n checks,\n inspectedValue,\n rangeType: rangeType.value,\n tab,\n year,\n });\n\n return (\n <Section\n className={`tw-relative tw-flex tw-flex-col tw-gap-[28px] tw-flex-1 tw-min-w-[320px] ${\n isFullscreen ? \"tw-max-w-[100%] tw-px-[12%]\" : \"\"\n }`}\n ref={ref}\n >\n <div className=\"tw-flex tw-items-center tw-justify-between\">\n <SectionLabel>Monthly Overview</SectionLabel>\n <div className=\"tw-flex tw-items-center\">\n <Dropdown\n components={{\n Control: CustomControl,\n SingleValue: CustomBasicSingleValue,\n ValueContainer: CustomValueContainer,\n DropdownIndicator: CustomDropdownIndicator,\n }}\n value={rangeType}\n onChange={setRangeType}\n options={MONTHLY_OVERVIEW_OPTIONS}\n />\n <IconButton\n className=\"tw-ml-[8px]\"\n size=\"medium\"\n schema=\"transparent\"\n onClick={toggleFullscreen}\n title=\"Fullscreen\"\n >\n <i className=\"fa fa-arrows-alt\" />\n </IconButton>\n </div>\n </div>\n <TabBar>\n <Tab selected={tab === \"Closings\"} label=\"Closings\" onClick={() => setTab(\"Closings\")} />\n <Tab selected={tab === \"Pendings\"} label=\"Pendings\" onClick={() => setTab(\"Pendings\")} />\n <Tab selected={tab === \"Listings\"} label=\"Listings\" onClick={() => setTab(\"Listings\")} />\n </TabBar>\n <h3 className=\"tw-text-14d tw-font-bold tw-m-0\">\n {today.format(\"MMMM\")} {year}\n </h3>\n <div className=\"tw-flex tw-flex-wrap tw-gap-[8px] tw-justify-between\">\n {tab === \"Closings\" && (\n <>\n <BasicStat label=\"Closed Units\" value={data.summary.closedUnits} />\n <BasicStat label={agentUuid ? \"Net Income\" : \"Closed GCI\"} value={data.summary.closedGci} />\n <BasicStat label=\"To Be Closed\" value={data.summary.toBeClosedUnits} />\n <BasicStat label={agentUuid ? \"Est. EOM Net Income\" : \"Est. EOM GCI\"} value={data.summary.estTotalGci} />\n </>\n )}\n {tab === \"Pendings\" && (\n <>\n <BasicStat label=\"Pended Units\" value={data.summary.pendedUnits} />\n <BasicStat label=\"Pended Volume\" value={data.summary.pendedVolume} />\n <BasicStat label={agentUuid ? \"Net Income\" : \"Pended GCI\"} value={data.summary.pendedGci} />\n <BasicStat label=\"Failed Pendings\" value={data.summary.failedPendings} />\n </>\n )}\n {tab === \"Listings\" && (\n <>\n <BasicStat label=\"Listings Taken\" value={data.summary.listingsTaken} />\n <BasicStat label=\"Volume\" value={data.summary.volume} />\n <BasicStat label={agentUuid ? \"Net Income\" : \"GCI\"} value={data.summary.gci} />\n <BasicStat label=\"Coming Soon\" value={data.summary.comingSoon} />\n </>\n )}\n </div>\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <TextToggle\n size=\"small\"\n name=\"monthlyStat\"\n options={[\n {\n label: \"Units\",\n value: \"Units\",\n },\n {\n label: \"Volume\",\n value: \"Volume\",\n },\n {\n label: agentUuid ? \"Net Income\" : \"GCI\",\n value: \"GCI\",\n },\n ]}\n value={inspectedValue}\n onChange={(e) => setInspectedValue(e.target.value)}\n />\n\n <div className=\"tw-flex tw-gap-x-[4px]\">\n <div\n className=\"tw-flex tw-gap-x-[4px]\"\n role=\"radiogroup\"\n aria-label=\"Chart Selection\"\n id=\"chartSelection\"\n ref={radiogroupRef}\n >\n <RadioButton Icon={Report} chart={chartType} name=\"bar\" setChart={setChartType} />\n <RadioButton Icon={ChartLine} chart={chartType} name=\"line\" setChart={setChartType} />\n </div>\n <IconButton\n schema=\"tertiary\"\n aria-label=\"Open Table Modal\"\n onClick={() => setIsTableModalOpen(true)}\n >\n <Table size=\"l\" />\n </IconButton>\n </div>\n </div>\n {chartType === \"bar\" && <Bar data={data.chartData} options={chartOptions} />}\n {chartType === \"line\" && (\n <Line plugins={[ChartDataLabels]} data={data.chartData} options={chartOptions} />\n )}\n <div className=\"tw-flex tw-justify-end tw-gap-[20px]\">\n {checkLabels.map(({ label, color }, i) =>\n label ? (\n <Checkbox\n key={label}\n id={label}\n name={label}\n value={label}\n checked={checks[i]}\n onChange={setCheck(setChecks, i)}\n label={\n <div className=\"tw-flex tw-items-center tw-gap-[4px]\">\n <Dot className={color} /> {label}\n </div>\n }\n />\n ) : null,\n )}\n </div>\n <TableModal\n data={tableData}\n tab={tab}\n onClose={() => setIsTableModalOpen(false)}\n show={isTableModalOpen}\n agentUuid={agentUuid}\n />\n <Error show={Boolean(error)} />\n {loading && <Loader />}\n </Section>\n );\n};\n\nMonthlyOverview.propTypes = {\n agentUuid: PropTypes.string,\n year: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n};\n\nMonthlyOverview.defaultProps = {\n agentUuid: undefined,\n};\n\nexport default MonthlyOverview;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport formatters from \"@shared/formatters\";\n\nconst validateNumber = (strOrNum, format = \"number\", precision = 2) => {\n const unformattedValue = (String(strOrNum) || \"\").replace(/[^0-9.]/g, \"\");\n const [, number = \"\", decimal = \"\"] = unformattedValue.match(/^([0-9]*)(\\.[0-9]*)?/) || [];\n const decimalPortion = decimal.substring(0, format === \"number\" ? 0 : precision + 1);\n const finalValue = `${number ? formatters.number(number) : number}${decimalPortion || \"\"}`;\n return { unformattedValue, finalValue };\n};\n\nconst NumberField = ({ className, defaultValue, format, precision, onChange, ...props }) => {\n const inputRef = useRef(null);\n const [selectionStart, setSelectionStart] = useState(0);\n const [isFocused, setIsFocused] = useState(false);\n const [value, setValue] = useState(formatters.number(defaultValue));\n const isCurrency = format === \"currency\";\n\n useEffect(() => {\n const { finalValue } = validateNumber(defaultValue, format, precision);\n setValue(finalValue);\n }, [defaultValue]);\n\n // keep cursor at last character typed\n useEffect(() => {\n const input = inputRef.current;\n if (input.setSelectionRange && selectionStart) {\n input.setSelectionRange(selectionStart, selectionStart);\n }\n }, [inputRef, selectionStart]);\n\n const handleChange = (input, valueString) => {\n const { unformattedValue, finalValue } = validateNumber(valueString, format, precision);\n setSelectionStart(input.selectionStart + (finalValue.length - valueString.length));\n setValue(finalValue);\n onChange?.(unformattedValue);\n };\n\n return (\n <div\n className={`tw-flex tw-items-center tw-flex-1 tw-border tw-border-solid tw-border-neutral-gray-30 tw-rounded tw-min-w-[60px] ${\n (isFocused && \"tw-bg-white tw-ring-2\") || \"tw-bg-tinted-gray-50\"\n } ${className}`}\n >\n {isCurrency && <span className=\"tw-ml-[4px]\">$</span>}\n <input\n ref={inputRef}\n size=\"1\"\n className={`tw-flex-1 tw-outline-none tw-border-none tw-bg-transparent ${\n isCurrency ? \"tw-py-[8px] tw-px-[4px]\" : \"tw-p-[8px]\"\n }`}\n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n value={value}\n onPaste={(e) => {\n e.preventDefault();\n const valueString = (e.clipboardData || window.clipboardData).getData(\"text\");\n handleChange(e.target, valueString);\n }}\n onKeyDown={(e) => {\n // allow standard keys\n if (/^(?:Backspace|Enter|Tab|Arrow)/.test(e.key)) return;\n // allow numbers\n if (/^[0-9.]$/.test(e.key)) return;\n // allow copy/pasting\n if ((e.metaKey || e.ctrlKey) && (e.key === \"c\" || e.key === \"v\")) return;\n\n e.preventDefault();\n }}\n onChange={(e) => handleChange(e.target, e.target.value)}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n />\n </div>\n );\n};\n\nNumberField.propTypes = {\n className: PropTypes.string,\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n format: PropTypes.oneOf([\"decimal\", \"number\", \"currency\"]),\n precision: PropTypes.number,\n id: PropTypes.string,\n onChange: PropTypes.func,\n};\n\nNumberField.defaultProps = {\n className: \"\",\n defaultValue: undefined,\n format: \"number\",\n precision: 2,\n id: undefined,\n onChange: undefined,\n};\n\nexport default NumberField;\n","import { useState, useEffect, useMemo } from \"react\";\nimport { caseTransformingAxios as axios } from \"../../shared/v2/caseTransformingAxios\";\n\nconst GOALS_API_URL = \"/api/v4/goals\";\nconst GOAL_TYPES_API_URL = \"/api/v4/goal_types\";\nconst weeklyMultiplier = 0.01923;\nconst monthlyMultiplier = 0.08333;\n\nexport const goalValueToYearly = (value, period, goalTypeName) => {\n if (goalTypeName === \"per_agent_productivity\" || goalTypeName === \"operator_percent_production\")\n return value;\n if (period === \"Weekly\") return value / weeklyMultiplier;\n if (period === \"Monthly\") return value / monthlyMultiplier;\n return value;\n};\n\nconst getGoals = ({ signal, params }) =>\n axios.get(GOALS_API_URL, {\n params,\n signal,\n });\nconst createGoal = (goal, userUuid) => axios.post(GOALS_API_URL, { goal }, { params: { userUuid } });\nconst updateGoal = (goal, userUuid) =>\n axios.put(`${GOALS_API_URL}/${goal.id}`, { goal }, { params: { userUuid } });\nconst createGoalType = (goalType) => axios.post(GOAL_TYPES_API_URL, goalType);\nconst updateGoalType = (goalType) => axios.put(`${GOAL_TYPES_API_URL}/${goalType.id}`, goalType);\nconst deleteGoalType = (goalType) => axios.delete(`${GOAL_TYPES_API_URL}/${goalType.id}`);\n\nconst transformGoal = (goalType, goal, period) => {\n let multiplier = 1;\n if (goalType.name === \"per_agent_productivity\" || goalType.name === \"operator_percent_production\") {\n multiplier = 1;\n } else if (period === \"Weekly\") {\n multiplier = weeklyMultiplier;\n } else if (period === \"Monthly\") {\n multiplier = monthlyMultiplier;\n }\n\n return {\n ...goal,\n goalValue: Number((goal.goalValue * multiplier).toFixed(goalType.precision)),\n };\n};\n\nconst useGoals = ({ agentId, year, load = true, period = \"Yearly\", section }) => {\n const [rawData, setRawData] = useState({ defaults: {}, goals: {}, goalTypes: [] });\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n\n const goalTypes = useMemo(\n () =>\n rawData.goalTypes\n .filter((goalType) => (section === \"agent_production\" ? goalType.name !== \"closed_gci\" : true))\n .map((goalType) => {\n let precision = 0;\n if (goalType.goalSection === \"lead_interaction\") {\n precision = 1;\n } else if (\n goalType.name === \"per_agent_productivity\" ||\n goalType.name === \"operator_percent_production\" ||\n goalType.format === \"currency\"\n ) {\n precision = 2;\n }\n return {\n ...goalType,\n precision,\n };\n }),\n [rawData],\n );\n\n const defaults = useMemo(\n () =>\n goalTypes.reduce((obj, goalType) => {\n const goal = rawData.defaults[goalType.id];\n if (goal) {\n // eslint-disable-next-line no-param-reassign\n obj[goalType.id] = transformGoal(goalType, rawData.defaults[goalType.id], period);\n }\n return obj;\n }, {}),\n [goalTypes, rawData, period],\n );\n\n const goals = useMemo(\n () =>\n goalTypes.reduce((obj, goalType) => {\n const goal = rawData.goals[goalType.id];\n if (goal) {\n // eslint-disable-next-line no-param-reassign\n obj[goalType.id] = transformGoal(goalType, rawData.goals[goalType.id], period);\n }\n return obj;\n }, {}),\n [goalTypes, rawData, period],\n );\n\n useEffect(() => {\n if (!load) return () => {};\n const abortController = new AbortController();\n setLoading(true);\n getGoals({ params: { userUuid: agentId, year, goalSection: section }, signal: abortController.signal })\n .then((res) => setRawData(res.data))\n .catch((err) => setError(err.data))\n .finally(() => setLoading(false));\n\n return () => abortController.abort();\n }, [agentId, year, section, load]);\n\n const actions = {\n createGoalType(goalType) {\n setLoading(true);\n return createGoalType(goalType)\n .then(({ data }) => {\n setRawData((prevRawData) => ({\n ...prevRawData,\n goalTypes: [...prevRawData.goalTypes, data],\n }));\n return data;\n })\n .catch(setError)\n .finally(() => setLoading(false));\n },\n updateGoalType(goalType) {\n setLoading(true);\n return updateGoalType(goalType)\n .then(({ data }) => {\n setRawData((prevRawData) => ({\n ...prevRawData,\n goalTypes: prevRawData.goalTypes.map((gt) => (gt.id === data.id ? data : gt)),\n }));\n return data;\n })\n .catch(setError)\n .finally(() => setLoading(false));\n },\n deleteGoalType(goalType) {\n setLoading(true);\n return deleteGoalType(goalType)\n .then(({ data }) => {\n setRawData((prevRawData) => ({\n ...prevRawData,\n goalTypes: prevRawData.goalTypes.filter((gt) => gt.id !== goalType.id),\n }));\n return data;\n })\n .catch(setError)\n .finally(() => setLoading(false));\n },\n createGoal(goal, userUuid) {\n setLoading(true);\n return createGoal(goal, userUuid)\n .then((res) => {\n const newGoal = res.data;\n setRawData((prevRawData) => {\n const goalsKey = newGoal.default ? \"defaults\" : \"goals\";\n return {\n ...prevRawData,\n [goalsKey]: {\n ...prevRawData[goalsKey],\n [newGoal.goalTypeId]: newGoal,\n },\n };\n });\n })\n .catch((err) => setError(err.data))\n .finally(() => setLoading(false));\n },\n updateGoal(goal, userUuid) {\n setLoading(true);\n return updateGoal(goal, userUuid)\n .then((res) => {\n const updatedGoal = res.data;\n setRawData((prevRawData) => {\n const goalsKey = updatedGoal.default ? \"defaults\" : \"goals\";\n return {\n ...prevRawData,\n [goalsKey]: {\n ...prevRawData[goalsKey],\n [updatedGoal.goalTypeId]: updatedGoal,\n },\n };\n });\n })\n .catch((err) => setError(err.data))\n .finally(() => setLoading(false));\n },\n };\n\n return { actions, defaults, goals, goalTypes, error, loading };\n};\n\nexport default useGoals;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FloatingForm from \"../../../shared/v2/Modal/FloatingForm\";\nimport NumberField from \"../../../Goals/components/NumberField\";\nimport useGoals from \"../../../Goals/services/useGoals\";\n\nconst GoalModal = ({ open, year, goalType, onClose, onGoalCreated }) => {\n const { actions } = useGoals({ year, load: false });\n const formRef = useRef();\n const onFormSubmit = (e) => {\n e?.preventDefault();\n const form = formRef.current;\n const formData = Object.fromEntries(new FormData(form));\n formData.goal_value = formData.goal_value.replaceAll(\",\", \"\");\n if (goalType.goalId) {\n actions.updateGoal(formData).then(onGoalCreated);\n } else {\n actions.createGoal(formData).then(onGoalCreated);\n }\n };\n return (\n <FloatingForm\n title={`Set goal for ${goalType?.displayName}`}\n show={open}\n onHide={onClose}\n onCancel={onClose}\n primaryOption=\"Set Goal\"\n onPrimary={onFormSubmit}\n closeOnClickOutside\n closeOnEscape\n >\n <form ref={formRef} onSubmit={onFormSubmit}>\n <NumberField id=\"goal_value\" name=\"goal_value\" required format={goalType?.format} />\n <input type=\"hidden\" name=\"id\" value={goalType?.goalId || \"\"} />\n <input type=\"hidden\" name=\"goal_type_id\" value={goalType?.goalTypeId || \"\"} />\n <input type=\"hidden\" name=\"year\" value={year || \"\"} />\n </form>\n </FloatingForm>\n );\n};\n\nexport default GoalModal;\n\nGoalModal.propTypes = {\n open: PropTypes.bool.isRequired,\n year: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n goalType: PropTypes.shape(),\n onClose: PropTypes.func.isRequired,\n onGoalCreated: PropTypes.func.isRequired,\n};\n\nGoalModal.defaultProps = {\n goalType: null,\n};\n","import React, { useRef } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport PropTypes from \"prop-types\";\nimport colors from \"../../../Reports/components/DashboardShared/helpers/colors\";\n\nconst PORTAL_ID = \"ringchart-tooltip-portal\";\n\nconst Tooltip = ({ left, top, tooltip }) => {\n const ref = useRef(null);\n const hide = left === null || top === null;\n const width = ref.current?.offsetWidth || 0;\n const height = ref.current?.offsetHeight || 0;\n return (\n <div\n ref={ref}\n role=\"tooltip\"\n className={`tw-absolute tw-text-14d tw-text-white ${\n colors.theme === \"place\" ? \"tw-bg-black\" : \"tw-bg-neutral-gray-75\"\n } tw-rounded-[4px] tw-p-[8px] after:tw-content-[''] after:tw-w-[12px] after:tw-h-[12px] after:tw-absolute ${\n colors.theme === \"place\" ? \"after:tw-bg-black\" : \"after:tw-bg-neutral-gray-75\"\n } after:tw-bottom-[-6px] after:tw-left-[calc(50%-6px)] after:tw-rotate-45`}\n style={{ left: left - width / 2, top: top - height, visibility: hide ? \"hidden\" : \"initial\" }}\n >\n {tooltip.map((t) => (\n <div key={t}>{t}</div>\n ))}\n </div>\n );\n};\n\nTooltip.propTypes = {\n left: PropTypes.number,\n top: PropTypes.number,\n tooltip: PropTypes.arrayOf(PropTypes.string),\n};\n\nTooltip.defaultProps = {\n left: null,\n top: null,\n tooltip: null,\n};\n\nconst TooltipContainer = ({ left, top, tooltip }) => {\n let tooltipContainer = document.getElementById(PORTAL_ID);\n if (!tooltipContainer) {\n tooltipContainer = document.createElement(\"div\");\n tooltipContainer.style.pointerEvents = \"none\";\n tooltipContainer.id = PORTAL_ID;\n document.body.appendChild(tooltipContainer);\n }\n return ReactDOM.createPortal(<Tooltip left={left} top={top} tooltip={tooltip} />, tooltipContainer);\n};\n\nexport default TooltipContainer;\n","import PropTypes from \"prop-types\";\nimport React, { useRef, useState } from \"react\";\nimport TooltipContainer from \"./RingChartTooltip\";\n\nconst MAX_ANGLE = 359.999;\n\nconst polarToCartesianCoords = (c, r, deg) => {\n const rad = (((deg || 0) - 90) * Math.PI) / 180;\n return [c + r * Math.cos(rad), c + r * Math.sin(rad)];\n};\n\nconst Arc = ({\n center,\n radius,\n startAngle,\n endAngle,\n onMouseEnter,\n onMouseLeave,\n size,\n strokeWidth,\n tooltip,\n variant,\n ...props\n}) => {\n const pathRef = useRef(null);\n const [isHovering, setIsHovering] = useState(false);\n const push = strokeWidth * 0.15;\n const r = isHovering ? radius + push : radius;\n const [startX, startY] = polarToCartesianCoords(center, r, startAngle);\n const [endX, endY] = polarToCartesianCoords(center, r, endAngle);\n const largeArcFlag = endAngle - startAngle <= 180 ? 0 : 1;\n let left = null;\n let top = null;\n if (pathRef.current) {\n if (isHovering) {\n const svg = pathRef.current.parentElement;\n const { x, y } = svg.getBoundingClientRect();\n const svgR = svg.clientWidth / 2 - strokeWidth;\n const [tooltipX, tooltipY] = polarToCartesianCoords(\n center,\n svgR,\n startAngle + (endAngle - startAngle) * 0.9,\n );\n left = window.scrollX + x + tooltipX;\n top = window.scrollY + y + tooltipY - strokeWidth;\n }\n }\n return (\n <>\n <path\n ref={pathRef}\n style={{ strokeDasharray: size * 3, strokeDashoffset: size * 3 }}\n className=\"tw-animate-path\"\n d={`M ${startX} ${startY} A ${r} ${r} 0 ${largeArcFlag} 1 ${endX} ${endY}`}\n fill=\"none\"\n strokeLinecap={variant === \"segmented\" ? \"\" : \"round\"}\n strokeWidth={isHovering ? strokeWidth + push * 2 : strokeWidth}\n onMouseEnter={(e) => {\n setIsHovering(true);\n if (typeof onMouseEnter === \"function\") onMouseEnter(e);\n }}\n onMouseLeave={(e) => {\n setIsHovering(false);\n if (typeof onMouseLeave === \"function\") onMouseLeave(e);\n }}\n {...props}\n />\n {tooltip && <TooltipContainer left={left} top={top} tooltip={tooltip} />}\n </>\n );\n};\n\nArc.propTypes = {\n center: PropTypes.number.isRequired,\n radius: PropTypes.number.isRequired,\n startAngle: PropTypes.number.isRequired,\n endAngle: PropTypes.number.isRequired,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n size: PropTypes.number.isRequired,\n strokeWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n tooltip: PropTypes.arrayOf(PropTypes.string),\n variant: PropTypes.oneOf([\"stacked\", \"segmented\"]).isRequired,\n};\n\nArc.defaultProps = {\n onMouseEnter: null,\n onMouseLeave: null,\n tooltip: null,\n};\n\nconst RingChart = ({ baseTooltip, children, size, strokeWidth, data, label, title, variant, fullWidth }) => {\n const center = size / 2;\n const radius = center - strokeWidth;\n\n return (\n <div style={{ width: fullWidth ? \"100%\" : size }}>\n <div className=\"tw-relative tw-pb-[100%]\">\n <svg\n width={size}\n height={size}\n viewBox={`0 0 ${size} ${size}`}\n preserveAspectRatio=\"xMidYMin slice\"\n className=\"tw-absolute tw-top-0 tw-left-0 tw-w-full tw-h-full\"\n >\n <Arc\n size={size}\n center={center}\n radius={radius}\n startAngle={0}\n endAngle={MAX_ANGLE}\n stroke=\"#F5F5F5\"\n strokeWidth={strokeWidth}\n variant={variant}\n tooltip={baseTooltip}\n />\n {data.map((d, i) => {\n const startAngle = variant === \"segmented\" && i > 0 ? data[i - 1].value * MAX_ANGLE : 0;\n const endAngle = Math.min(d.value * MAX_ANGLE, MAX_ANGLE);\n return (\n <Arc\n // eslint-disable-next-line react/no-array-index-key\n key={i}\n tooltip={d.tooltip}\n size={size}\n center={center}\n radius={radius}\n startAngle={startAngle}\n endAngle={endAngle}\n stroke={d.color}\n strokeWidth={strokeWidth}\n variant={variant}\n />\n );\n })}\n {title && (\n <text\n fontSize={0.16 * size}\n fontFamily=\"Open Sans, sans-serif\"\n x=\"50%\"\n y={title ? `${50 - 0.1 * size}%` : \"50%\"}\n textAnchor=\"middle\"\n fill=\"#666666\"\n >\n <tspan alignmentBaseline=\"middle\">{title}</tspan>\n </text>\n )}\n <text\n fontSize={0.16 * size}\n fontWeight={title ? \"bold\" : undefined}\n fontFamily=\"Open Sans, sans-serif\"\n x=\"50%\"\n y={title ? `${50 + 0.1 * size}%` : \"50%\"}\n textAnchor=\"middle\"\n fill=\"#666666\"\n >\n <tspan alignmentBaseline=\"middle\">{label}</tspan>\n </text>\n </svg>\n {children}\n </div>\n </div>\n );\n};\n\nRingChart.propTypes = {\n baseTooltip: PropTypes.arrayOf(PropTypes.string),\n children: PropTypes.node,\n size: PropTypes.number,\n strokeWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n data: PropTypes.arrayOf(PropTypes.shape({ value: PropTypes.number, color: PropTypes.string })),\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n title: PropTypes.string,\n variant: PropTypes.oneOf([\"stacked\", \"segmented\"]),\n fullWidth: PropTypes.bool,\n};\n\nRingChart.defaultProps = {\n baseTooltip: null,\n children: null,\n size: 100,\n strokeWidth: 8,\n data: [],\n label: \"\",\n title: \"\",\n variant: \"stacked\",\n fullWidth: false,\n};\n\nexport default RingChart;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport RingChart from \"../../../shared/v2/RingChart\";\nimport CardLabel from \"../BusinessDashboard/CardLabel\";\nimport Button from \"../../../shared/v2/Button\";\n\nconst RingChartCard = ({\n onSetGoal,\n year,\n data: {\n baseTooltip,\n format,\n hasGoal,\n displayName,\n chartData,\n chartLabel,\n goal,\n total,\n ytdDifference,\n prevYearYtdDifference,\n },\n}) => (\n <div className=\"tw-relative tw-flex tw-flex-1 tw-basis-[47%]\">\n <div className=\"tw-min-h-[104px]\">\n <RingChart\n size={104}\n strokeWidth={10}\n data={chartData}\n baseTooltip={baseTooltip}\n label={hasGoal ? chartLabel : \"–\"}\n />\n </div>\n <div className=\"tw-flex tw-flex-col tw-ml-[20px] tw-grow tw-gap-[8px]\">\n <CardLabel className=\"tw-flex-col\" size=\"l\" label={displayName} value={total} />\n <div className=\"tw-flex tw-flex-wrap tw-w-full tw-gap-[24px]\">\n <CardLabel className=\"tw-flex-col\" label={`${year} Goal`} value={goal} />\n <CardLabel\n format={format}\n className=\"tw-flex-col\"\n label=\"YTD Goal\"\n tooltip=\"Amount from YTD goal\"\n ytdDifference={ytdDifference}\n />\n {prevYearYtdDifference && (\n <CardLabel\n format={format}\n className=\"tw-flex-col\"\n label={`${year - 1} YTD`}\n ytdDifference={prevYearYtdDifference}\n />\n )}\n </div>\n </div>\n {!hasGoal && (\n <div className=\"tw-absolute tw-inset-0 tw-bg-white/90 tw-flex tw-justify-center tw-items-center\">\n <Button onClick={() => onSetGoal(displayName)}>Set Goal for {displayName}</Button>\n </div>\n )}\n </div>\n);\n\nRingChartCard.propTypes = {\n onSetGoal: PropTypes.func.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n data: PropTypes.shape({\n baseTooltip: PropTypes.arrayOf(PropTypes.string),\n format: PropTypes.string,\n hasGoal: PropTypes.bool,\n displayName: PropTypes.string,\n // eslint-disable-next-line react/forbid-prop-types\n chartData: PropTypes.any,\n chartLabel: PropTypes.string,\n goal: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n total: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n ytdDifference: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n prevYearYtdDifference: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }).isRequired,\n};\n\nexport default RingChartCard;\n","import { useEffect, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport { caseTransformingAxios as axios } from \"../../../../shared/v2/caseTransformingAxios\";\nimport formatter from \"../../../../shared/formatters\";\nimport colors from \"../helpers/colors\";\n\nconst transformGlanceToChartData = (\n {\n format,\n goal: initialGoal = null,\n ytdGoalTarget = 0,\n total = 0,\n prevYearYtdTarget,\n displayName,\n ...rest\n } = {},\n year,\n) => {\n const goal = Number(initialGoal);\n const ytdDifference = total - ytdGoalTarget;\n const prevYearYtdDifference = total - (prevYearYtdTarget || 0);\n const currentPercentage = total / (goal || 1);\n const targetPercentage = ytdGoalTarget / (goal || 1);\n\n return {\n ...rest,\n format,\n hasGoal: goal !== 0,\n goal: formatter[format](goal),\n total: formatter[format](total),\n ytdGoalTarget: formatter[format](ytdGoalTarget),\n chartLabel: goal === 0 ? \"–\" : `${formatter.number(currentPercentage * 100)}%`,\n ytdDifference,\n prevYearYtdDifference: prevYearYtdTarget ? prevYearYtdDifference : null,\n displayName,\n baseTooltip: [`${year} Goal:`, formatter[format](goal)],\n chartData: [\n {\n color: colors.color2.default,\n value: targetPercentage,\n tooltip: [\"YTD Goal:\", formatter[format](ytdGoalTarget)],\n },\n {\n color: colors.color1.default,\n value: currentPercentage,\n tooltip: [`${displayName}:`, formatter[format](total)],\n },\n ],\n };\n};\n\nconst transformGoalProgress = ({ goals = [], year }) =>\n goals.map((goal) => transformGlanceToChartData(goal, year));\n\nconst useGoals = ({ agentUuid, year }) => {\n const [loading, setLoading] = useState(true);\n const [data, setData] = useState(transformGoalProgress({}));\n const [error, setError] = useState(null);\n\n const actions = {\n reload: (signal) => {\n setLoading(true);\n return axios\n .get(`/api/v4/reporting/${agentUuid ? \"agent\" : \"business\"}_dashboard`, {\n params: { selected_year: year, section: \"goal_progress\", person_uuid: agentUuid },\n signal,\n })\n .then((res) => {\n setData(transformGoalProgress(res.data));\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!isCancel(err)) {\n setError(err);\n setLoading(false);\n }\n });\n },\n };\n\n useEffect(() => {\n const abortController = new AbortController();\n actions.reload(abortController.signal);\n return () => abortController.abort();\n }, [agentUuid, year]);\n\n return { actions, data, error, loading };\n};\n\nexport default useGoals;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Loader from \"../../../Goals/components/Loader\";\nimport { ChevronRight } from \"../../../shared/v2/Icomoon\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport GoalModal from \"../BusinessDashboard/GoalModal\";\nimport RingChartCard from \"./RingChartCard\";\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport useGoals from \"./services/useGoals\";\nimport Error from \"./Error\";\n\nconst GoalsSection = ({ agentUuid, year }) => {\n const [goalType, setGoalType] = useState(null);\n const { actions, data, error, loading } = useGoals({ agentUuid, year });\n\n return (\n <Section className=\"tw-relative tw-flex-1 tw-min-w-[320px]\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-mb-[32px]\">\n <SectionLabel>{agentUuid ? \"\" : \"Team\"} Goals</SectionLabel>\n <TextButton\n className=\"tw-flex tw-items-center tw-text-14d\"\n schema=\"sentence\"\n onClick={() => window.location.assign(`/settings/goals?year=${year}`)}\n >\n Goal settings <ChevronRight size=\"s\" className=\"tw-mt-[2px] tw-ml-[2px]\" />\n </TextButton>\n </div>\n <div className=\"tw-flex tw-flex-wrap tw-gap-[32px]\">\n {data.map((d) => (\n <RingChartCard key={d.displayName} year={year} data={d} onSetGoal={() => setGoalType(d)} />\n ))}\n </div>\n <Error show={Boolean(error)} />\n {loading && <Loader />}\n <GoalModal\n year={year}\n open={Boolean(goalType)}\n goalType={goalType}\n onClose={() => setGoalType(null)}\n onGoalCreated={() => {\n actions.reload();\n setGoalType(null);\n }}\n />\n </Section>\n );\n};\n\nGoalsSection.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n agentUuid: PropTypes.string,\n};\n\nGoalsSection.defaultProps = {\n agentUuid: undefined,\n};\n\nexport default GoalsSection;\n","import moment from \"moment\";\n\nexport const getListingUrl = ({ dataKey, year, id, agentId }) => {\n const queryParams = new URLSearchParams();\n let selectedYear = String(year);\n if (selectedYear === String(new Date().getFullYear())) selectedYear = \"this_year\";\n if (selectedYear === String(new Date().getFullYear() - 1)) selectedYear = \"last_year\";\n\n if (id) queryParams.append(\"source[]\", id);\n if (agentId) queryParams.append(\"agent[]\", agentId);\n\n if (dataKey === \"sold\") {\n queryParams.append(\"close_date_range[]\", selectedYear);\n } else if (dataKey === \"pipeline\") {\n queryParams.append(\"status[]\", \"pipeline\");\n } else if (dataKey === \"active\") {\n queryParams.append(\"status[]\", \"active\");\n } else if (selectedYear === year) {\n queryParams.append(\"status_changed_range[]\", \"custom\");\n const start = moment().set(\"year\", year).startOf(\"year\");\n const end = moment(start).endOf(\"year\");\n queryParams.append(\"status_changed_dates[]\", start.format(\"YYYY-MM-DD\"));\n queryParams.append(\"status_changed_dates[]\", end.format(\"YYYY-MM-DD\"));\n } else {\n queryParams.append(\"status_changed_range[]\", selectedYear);\n }\n\n return `/listings/${dataKey}?${queryParams}`;\n};\n\nexport default ({ count, year }) => ({\n indexAxis: \"y\",\n responsive: true,\n aspectRatio: 1 / (Math.max(9, count) / 15),\n maintainAspectRatio: true,\n onClick: (_, [{ datasetIndex, index } = {}], { config: { data } }) => {\n if (datasetIndex === undefined) return;\n const dataset = data.datasets[datasetIndex];\n const dataKey = Object.values(dataset.parsing || {})[0];\n const item = data.datasets[datasetIndex].data[index];\n window.open(getListingUrl({ dataKey, year, id: item.id }));\n },\n onHover: (e, activeElements) => {\n e.native.target.style.cursor = activeElements.length ? \"pointer\" : \"default\";\n },\n plugins: {\n legend: { display: false },\n tooltip: { enabled: false },\n },\n scales: {\n x: {\n stacked: true,\n border: { display: false },\n grid: { display: true, offset: false },\n position: \"top\",\n ticks: {\n stepSize: 1,\n },\n },\n y: {\n stacked: true,\n grid: { display: false },\n offset: true,\n },\n },\n});\n","import { get } from \"lodash\";\nimport formatter from \"../../../../shared/formatters\";\n\nconst getChartTextAlignment =\n (format, customDatasetIndex) =>\n ({ dataset, dataIndex, chart: { ctx, chartArea, config, scales } }) => {\n const hasCustomDatasetIndex = typeof customDatasetIndex === \"number\";\n const workingDataset = hasCustomDatasetIndex ? config.data.datasets[customDatasetIndex] : dataset;\n const dataKey = workingDataset.parsing ? Object.values(workingDataset.parsing)[0] : null;\n const { max } = scales.x || { max: 1 };\n const value = dataKey ? get(workingDataset.data[dataIndex], dataKey) : workingDataset.data[dataIndex];\n const valueWidth = (value / max) * chartArea.width;\n const textWidth = ctx.measureText(formatter[format](value, 0)).width + 20;\n\n if ((hasCustomDatasetIndex && value === 0) || valueWidth > textWidth) return \"start\";\n return \"end\";\n };\n\nexport default getChartTextAlignment;\n","import axios from \"axios\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport createLeadSourceChartOptions from \"../helpers/createLeadSourceChartOptions\";\nimport { transformBusinessByLeadSourceData, transformSummaryData } from \"../transforms/businessByLeadSource\";\n\nconst useBusinessByLeadSource = ({ agentUuid, checks, selectedSources, year }) => {\n const [rawData, setRawData] = useState();\n const [chartData, setChartData] = useState({ datasets: [] });\n const [summary, setSummary] = useState({ sources: 0, ytdClosedUnits: 0, netFromSources: 0 });\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n const sourceLabels = useMemo(\n () =>\n [{ value: \"all\", label: \"All Sources\" }].concat(\n (rawData?.leadSources || []).map(({ id: value, name: label }) => ({ label, value })),\n ),\n [rawData],\n );\n\n useEffect(() => {\n setChartData(transformBusinessByLeadSourceData({ checks, selectedSources, rawData }));\n setSummary(transformSummaryData(rawData));\n }, [checks, selectedSources, rawData]);\n\n useEffect(() => {\n const abortController = new AbortController();\n setLoading(true);\n\n axios\n .get(`/api/v4/reporting/${agentUuid ? \"agent\" : \"business\"}_dashboard`, {\n params: {\n person_uuid: agentUuid,\n section: `${agentUuid ? \"agent\" : \"business\"}_by_lead_source`,\n selected_year: year,\n },\n signal: abortController.signal,\n })\n .then(({ data }) => {\n setRawData(data);\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n\n return () => abortController.abort();\n }, [agentUuid, year]);\n\n return {\n data: {\n chartOptions: createLeadSourceChartOptions({ count: selectedSources.length || 0, year }),\n chartData,\n sourceLabels,\n summary,\n },\n error,\n loading,\n };\n};\n\nexport default useBusinessByLeadSource;\n","import formatter from \"../../../../shared/formatters\";\nimport colors, { BRIVITY_COLORS } from \"../helpers/colors\";\nimport getChartTextAlignment from \"../helpers/getChartTextAlignment\";\n\nexport const transformBusinessByLeadSourceData = ({\n checks,\n selectedSources,\n rawData: { leadSources } = { leadSources: [] },\n}) => {\n const allSelected = selectedSources[0]?.value === \"all\";\n const sources = [...leadSources].sort((a, b) => {\n const aTotal = (checks[0] ? a.sold : 0) + (checks[1] ? a.pending : 0);\n const bTotal = (checks[0] ? b.sold : 0) + (checks[1] ? b.pending : 0);\n return bTotal - aTotal;\n });\n const data = sources.reduce(\n (prev, source) =>\n allSelected || selectedSources.some((s) => s.value === source.id) ? prev.concat(source) : prev,\n [],\n );\n return {\n labels: sources.reduce(\n (prev, { id, name }) =>\n allSelected || selectedSources.some((source) => source.value === id) ? prev.concat(name) : prev,\n [],\n ),\n datasets: [\n {\n label: \"Closed Units\",\n data,\n hidden: !checks[0],\n backgroundColor: colors.color1.default,\n datalabels: {\n color: (context) => {\n const alignment = getChartTextAlignment(\"number\")(context);\n return alignment === \"end\" ? BRIVITY_COLORS.color1.default : \"#ffffff\";\n },\n anchor: \"end\",\n align: getChartTextAlignment(\"number\"),\n formatter: (item, { dataset }) => item[Object.values(dataset.parsing)[0]] || \"\",\n },\n parsing: {\n xAxisKey: \"sold\",\n yAxisKey: \"sold\",\n },\n },\n {\n label: \"Pending Units\",\n data,\n hidden: !checks[1],\n backgroundColor: BRIVITY_COLORS.color3.default,\n hoverBackgroundColor: BRIVITY_COLORS.color3.hover,\n datalabels: {\n color: (context) => {\n const alignment = getChartTextAlignment(\"number\")(context);\n return alignment === \"end\" ? BRIVITY_COLORS.color3.default : \"#ffffff\";\n },\n anchor: \"end\",\n align: getChartTextAlignment(\"number\"),\n offset: (context) => {\n const alignment = getChartTextAlignment(\"number\", 0)(context);\n return alignment === \"end\" ? 20 : 4;\n },\n formatter: (item, { dataset }) => item[Object.values(dataset.parsing)[0]],\n },\n parsing: {\n xAxisKey: \"pending\",\n yAxisKey: \"pending\",\n },\n },\n ],\n };\n};\n\nexport const transformSummaryData = (\n { summary } = { summary: { netFromSources: 0, sources: 0, ytdClosedUnits: 0 } },\n) => ({\n sources: formatter.number(summary.sources),\n ytdClosedUnits: formatter.number(summary.ytdClosedUnits),\n netFromSources: formatter.currency(summary.netFromSources),\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\n\nconst CustomOption = ({ componentProps, children }) => (\n <Dropdown.Option\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...componentProps}\n className=\"tw-flex tw-items-center tw-px-[8px] tw-py-[4px] tw-cursor-pointer\"\n >\n <Checkbox checked={componentProps.isSelected} /> <span className=\"tw-pl-[8px]\">{children}</span>\n </Dropdown.Option>\n);\n\nCustomOption.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n data: PropTypes.any.isRequired,\n};\n\nexport default CustomOption;\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nconst Loader = ({ containerClass }) => (\n <div\n className={`tw-absolute tw-inset-0 tw-flex tw-justify-center tw-items-start tw-pt-[100px] tw-bg-white tw-bg-opacity-50 ${containerClass}`}\n >\n <i className=\"tw-text-neutral-gray-50 tw-text-[50px] fa fa-spinner fa-spin\" />\n </div>\n);\n\nexport default Loader;\n\nLoader.propTypes = {\n containerClass: string,\n};\n\nLoader.defaultProps = {\n containerClass: \"\",\n};\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport \"chart.js/auto\";\n// eslint-disable-next-line import/no-unresolved\nimport { Bar } from \"react-chartjs-2\";\nimport ChartDataLabels from \"chartjs-plugin-datalabels\";\nimport Checkbox from \"../../../shared/v2/Checkbox/Checkbox\";\nimport BasicStat from \"../BusinessDashboard/BasicStat\";\nimport Dot from \"../BusinessDashboard/Dot\";\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport useBusinessByLeadSource from \"./services/useBusinessByLeadSource\";\nimport setCheck from \"./helpers/setCheck\";\nimport colors from \"./helpers/colors\";\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport CustomControl from \"../BusinessDashboard/Dropdown/CustomControl\";\nimport CustomOption from \"../BusinessDashboard/Dropdown/CustomOption\";\nimport CustomSingleValue from \"../BusinessDashboard/Dropdown/CustomSingleValue\";\nimport CustomValueContainer from \"../BusinessDashboard/Dropdown/CustomValueContainer\";\nimport Loader from \"../../../Dashboard/components/Loader\";\nimport Error from \"./Error\";\nimport CustomDropdownIndicator from \"../BusinessDashboard/Dropdown/CustomDropdownIndicator\";\n\nconst BusinessByLeadSource = ({ agentUuid, year }) => {\n const chartRef = useRef(null);\n const [checks, setChecks] = useState([true, true]);\n const [selectedSources, setSelectedSources] = useState([]);\n const {\n data: { chartOptions, chartData, sourceLabels, summary },\n error,\n loading,\n } = useBusinessByLeadSource({\n checks,\n agentUuid,\n selectedSources,\n year,\n });\n\n useEffect(() => {\n setSelectedSources(sourceLabels);\n }, [sourceLabels]);\n\n useEffect(() => {\n chartRef.current?.resize();\n }, [chartRef.current, chartData?.datasets?.[0]?.data.length]);\n\n return (\n <Section className=\"tw-relative tw-flex-1 tw-min-w-[320px] tw-gap-[24px]\">\n <div className=\"tw-flex tw-items-end tw-justify-between\">\n <SectionLabel>{agentUuid ? \"Closings\" : \"Business\"} by Source</SectionLabel>\n {!agentUuid && (\n <Dropdown\n components={{\n Control: CustomControl,\n Option: CustomOption,\n SingleValue: CustomSingleValue,\n ValueContainer: CustomValueContainer,\n DropdownIndicator: CustomDropdownIndicator,\n }}\n closeMenuOnSelect={false}\n blurInputOnSelect={false}\n options={sourceLabels}\n value={selectedSources}\n onChange={(source) => {\n if (source.value === \"all\") {\n if (selectedSources.some((s) => s.value === \"all\")) setSelectedSources([]);\n else setSelectedSources(sourceLabels);\n } else if (selectedSources.some((s) => s.value === source.value)) {\n setSelectedSources((currentSources) =>\n currentSources.filter((s) => s.value !== \"all\" && s.value !== source.value),\n );\n } else {\n setSelectedSources((currentSources) =>\n currentSources.length === sourceLabels.length - 2\n ? [sourceLabels[0]].concat([...currentSources, source])\n : [...currentSources, source],\n );\n }\n }}\n />\n )}\n </div>\n {!agentUuid && (\n <div className=\"tw-flex tw-flex-wrap tw-gap-[8px] tw-justify-between\">\n <BasicStat label=\"Sources\" value={summary.sources} />\n <BasicStat label=\"YTD Closed Units\" value={summary.ytdClosedUnits} />\n <BasicStat label=\"Total GCI from Sources\" value={summary.netFromSources} />\n </div>\n )}\n <div className=\"tw-flex tw-justify-end tw-gap-[20px]\">\n <Checkbox\n checked={checks[0]}\n onChange={setCheck(setChecks, 0)}\n id=\"closed-units\"\n name=\"closedUnits\"\n value=\"closedUnits\"\n label={\n <div className=\"tw-flex tw-items-center tw-gap-[4px]\">\n <Dot\n className={colors.theme === \"brivity\" ? \"tw-bg-brivity-blue-100\" : \"tw-bg-semantic-blue-100\"}\n />{\" \"}\n Closed Units\n </div>\n }\n />\n <Checkbox\n checked={checks[1]}\n onChange={setCheck(setChecks, 1)}\n id=\"pending-units\"\n name=\"pendingUnits\"\n value=\"pendingUnits\"\n label={\n <div className=\"tw-flex tw-items-center tw-gap-[4px]\">\n <Dot className=\"tw-bg-semantic-yellow-100\" /> Pending Units\n </div>\n }\n />\n </div>\n <Bar ref={chartRef} data={chartData} options={chartOptions} plugins={[ChartDataLabels]} />\n <Error show={Boolean(error)} />\n {loading && <Loader />}\n </Section>\n );\n};\n\nBusinessByLeadSource.propTypes = {\n agentUuid: PropTypes.string,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nBusinessByLeadSource.defaultProps = {\n agentUuid: \"\",\n};\n\nexport default BusinessByLeadSource;\n","import { useEffect, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nconst transformClosingsBreakdown = (\n { year, ...rawData } = { buyer: {}, seller: {}, tenant: {}, landlord: {}, referral: {} },\n) => ({\n ...rawData,\n total: Object.values(rawData).reduce(\n (c, { units = 0, volume = 0, gci = 0 }) => ({\n units: c.units + units,\n volume: c.volume + volume,\n gci: c.gci + gci,\n }),\n {\n units: 0,\n volume: 0,\n gci: 0,\n },\n ),\n year,\n});\n\nconst useClosingsBreakdown = ({ agentUuid, year }) => {\n const [data, setData] = useState(transformClosingsBreakdown());\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(null);\n\n useEffect(() => {\n setLoading(true);\n const abortController = new AbortController();\n\n caseTransformingAxios\n .get(`/api/v4/reporting/${agentUuid ? \"agent\" : \"business\"}_dashboard`, {\n params: {\n section: `${agentUuid ? \"agent_\" : \"\"}closings_breakdown`,\n selectedYear: year,\n personUuid: agentUuid,\n },\n signal: abortController.signal,\n })\n .then((res) => {\n setData(transformClosingsBreakdown(res.data));\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n\n return () => abortController.abort();\n }, [agentUuid, year]);\n\n return { data, error, loading };\n};\n\nexport default useClosingsBreakdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport RingChart from \"../../../shared/v2/RingChart/RingChart\";\nimport Dot from \"../BusinessDashboard/Dot\";\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport useClosingsBreakdown from \"./services/useClosingsBreakdown\";\nimport Loader from \"../../../Goals/components/Loader\";\nimport format from \"../../../shared/formatters\";\nimport colors from \"./helpers/colors\";\nimport Error from \"./Error\";\n\nconst Percentage = ({ children }) => (\n <span className=\"tw-ml-[4px] tw-text-12d tw-text-gray-50\">({children})</span>\n);\n\nPercentage.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nconst BreakdownRow = ({ color, label, data, ...props }) => (\n <tr {...props}>\n <td className=\"tw-bg-white tw-sticky tw-left-0 tw-pr-[4px]\">\n {color && <Dot size=\"m\" className={color} />} {label}\n </td>\n <td className=\"tw-text-start tw-px-[8px]\">\n {data.units || 0}\n {label !== \"Total\" && <Percentage>{data.unitsPercent}%</Percentage>}\n </td>\n <td className=\"tw-text-end tw-px-[8px]\">\n {typeof data.volume === \"undefined\" ? \"—\" : format.currency(data.volume)}\n </td>\n <td className=\"tw-text-end tw-px-[8px]\">{format.currency(data.gci || 0)}</td>\n\n <td className=\"tw-text-end tw-px-[8px]\">\n {label !== \"Total\" && (\n <>{typeof data.avgClosePrice === \"undefined\" ? \"—\" : format.currency(data.avgClosePrice)}</>\n )}\n </td>\n <td className=\"tw-text-end tw-px-[8px]\">\n {label !== \"Total\" &&\n (typeof data.avgCommission === \"undefined\" ? (\n \"—\"\n ) : (\n <>\n {format.currency(data.avgCommission)}<Percentage>{data.avgCommissionPercent}%</Percentage>\n </>\n ))}\n </td>\n </tr>\n);\n\nBreakdownRow.propTypes = {\n color: PropTypes.string,\n label: PropTypes.string.isRequired,\n data: PropTypes.shape().isRequired,\n};\nBreakdownRow.defaultProps = {\n color: undefined,\n};\n\nconst ClosingsBreakdown = ({ agentUuid, year }) => {\n const {\n data: { buyer, seller, tenant, landlord, referral, total },\n error,\n loading,\n } = useClosingsBreakdown({ agentUuid, year });\n\n return (\n <Section className=\"tw-gap-[16px]\">\n <SectionLabel>Closings Breakdown</SectionLabel>\n <div className=\"tw-flex tw-flex-wrap tw-justify-center tw-items-center tw-gap-[16px]\">\n <div className=\"tw-min-w-[104px]\">\n <RingChart\n data={[\n { color: \"#FFA826\", value: seller.units / total.units },\n { color: colors.color1.default, value: (seller.units + buyer.units) / total.units },\n { color: \"#FA5D57\", value: (seller.units + buyer.units + landlord.units) / total.units },\n {\n color: \"#63D689\",\n value: (seller.units + buyer.units + landlord.units + tenant.units) / total.units,\n },\n {\n color: \"#FA64AF\",\n value:\n (seller.units + buyer.units + landlord.units + tenant.units + referral.units) / total.units,\n },\n ].filter(({ value }) => value > 0)}\n size={104}\n variant=\"segmented\"\n title=\"Total\"\n label={total.units}\n />\n </div>\n <div className=\"tw-flex-grow tw-overflow-auto\">\n <table className=\"tw-w-full tw-whitespace-nowrap tw-border-separate tw-border-spacing-y-[8px]\">\n <thead>\n <tr className=\"tw-text-neutral-gray-50\">\n <th className=\"tw-bg-white tw-sticky tw-left-0 tw-pr-[4px]\">Type</th>\n <th className=\"tw-text-center tw-px-[8px]\">Count</th>\n <th className=\"tw-text-center tw-px-[8px]\">Volume</th>\n <th className=\"tw-text-center tw-px-[8px]\">{agentUuid ? \"Net Income\" : \"GCI\"}</th>\n <th className=\"tw-text-center tw-px-[8px]\">Avg. Close Price</th>\n <th className=\"tw-text-center tw-px-[8px]\">Avg. Commission</th>\n </tr>\n </thead>\n <tbody>\n <BreakdownRow color=\"tw-bg-semantic-yellow-100\" data={seller} label=\"Seller\" />\n <BreakdownRow\n color={colors.theme === \"brivity\" ? \"tw-bg-brivity-blue-100\" : \"tw-bg-semantic-blue-100\"}\n data={buyer}\n label=\"Buyer\"\n />\n <BreakdownRow color=\"tw-bg-semantic-red-50\" data={landlord} label=\"Landlord\" />\n <BreakdownRow color=\"tw-bg-semantic-green-50\" data={tenant} label=\"Tenant\" />\n <BreakdownRow color=\"tw-bg-semantic-pink-50\" data={referral} label=\"Referral\" />\n </tbody>\n <tfoot>\n <BreakdownRow className=\"tw-bg-tinted-gray-50 tw-font-semibold\" data={total} label=\"Total\" />\n </tfoot>\n </table>\n </div>\n </div>\n <Error show={Boolean(error)} />\n {loading && <Loader />}\n </Section>\n );\n};\n\nClosingsBreakdown.propTypes = {\n agentUuid: PropTypes.string,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nClosingsBreakdown.defaultProps = {\n agentUuid: undefined,\n};\n\nexport default ClosingsBreakdown;\n","import axios from \"axios\";\nimport { useEffect, useState } from \"react\";\nimport { get } from \"lodash\";\nimport formatter from \"../../../../shared/formatters\";\nimport getChartTextAlignment from \"../../DashboardShared/helpers/getChartTextAlignment\";\nimport colors from \"../../DashboardShared/helpers/colors\";\nimport { getBusinessDashboard } from \"./api\";\n\nconst EMPTY_CLOSINGS_BY_AGENT = {\n year: new Date().getFullYear(),\n agents: [],\n};\n\nconst sortAgentsByOption = ({\n data: { agents } = EMPTY_CLOSINGS_BY_AGENT,\n type,\n option,\n showClosed,\n showPending,\n}) => {\n if (!agents.length) return agents;\n\n return agents.sort((a, b) => {\n const bTotal =\n (showClosed ? b[type][option].closed || 0 : 0) + (showPending ? b[type][option].pending || 0 : 0);\n const aTotal =\n (showClosed ? a[type][option].closed || 0 : 0) + (showPending ? a[type][option].pending || 0 : 0);\n return bTotal - aTotal;\n });\n};\n\nconst getColor = (option) => (context) => {\n const { datasetIndex } = context;\n const color = datasetIndex === 0 ? colors.color1.default : \"#FFA826\";\n const alignment = getChartTextAlignment(option === \"units\" ? \"number\" : \"currency\")(context);\n return alignment === \"end\" ? color : \"#ffffff\";\n};\n\nconst formatData =\n ({ key, option, type }) =>\n (item, context) => {\n if (context.datasetIndex === 0) {\n const alignment = getChartTextAlignment(option === \"units\" ? \"number\" : \"currency\")(context);\n const otherItem = context.chart.data.datasets[1].data[context.dataIndex];\n if (alignment === \"end\" && otherItem[type][option].pending > 0) return \"\";\n }\n const value = item[type][option][key];\n if (typeof value === \"undefined\" || value === 0) return \"\";\n return option === \"units\" ? value : formatter.currency(value, 0);\n };\n\nconst getChartData = ({ data, type, option, showClosed, showPending }) => {\n const sortedAgents = sortAgentsByOption({ data, type, option, showClosed, showPending });\n const closedKey = `${type}.${option}.closed`;\n const pendingKey = `${type}.${option}.pending`;\n return {\n labels: sortedAgents.map((a) => a.name),\n length: sortedAgents.length > 1 ? sortedAgents.length : 2,\n datasets: [\n {\n label: \"Closed\",\n data: [...sortedAgents],\n backgroundColor: colors.color1.default,\n hidden: !showClosed,\n datalabels: {\n color: getColor(option),\n anchor: \"end\",\n align: getChartTextAlignment(option === \"units\" ? \"number\" : \"currency\"),\n formatter: formatData({ key: \"closed\", option, type }),\n },\n parsing: {\n xAxisKey: closedKey,\n yAxisKey: closedKey,\n },\n },\n {\n label: \"Pending\",\n data: [...sortedAgents],\n backgroundColor: \"#ffa826\",\n hidden: !showPending,\n datalabels: {\n color: getColor(option),\n anchor: \"end\",\n align: getChartTextAlignment(option === \"units\" ? \"number\" : \"currency\"),\n formatter: formatData({ key: \"pending\", option, type }),\n },\n parsing: {\n xAxisKey: pendingKey,\n yAxisKey: pendingKey,\n },\n },\n ],\n };\n};\n\nconst getChartOptions = ({ count, option, year }) => ({\n indexAxis: \"y\",\n responsive: true,\n aspectRatio: 1 / (count / 11),\n maintainAspectRatio: true,\n layout: {\n padding: {\n right: ({ chart: { width } }) => {\n const chartMaxWidth = 512;\n // This covers a good chunk of cases but there may be some edge cases where the label is cut off\n return (width / chartMaxWidth) * 70;\n },\n },\n },\n onClick: (_, [{ datasetIndex, index } = {}], { config: { data } }) => {\n if (datasetIndex === undefined) return;\n const params = new URLSearchParams();\n const dataset = data.datasets[datasetIndex];\n const [type, , key] = (Object.values(dataset.parsing)?.[0] || \"\").split(\".\");\n const path = key === \"closed\" ? \"sold\" : key;\n const item = dataset.data[index];\n params.append(\"agent[]\", item.personId);\n params.append(\"status_changed_range[]\", \"custom\");\n params.append(\"status_changed_dates[]\", `${year}-01-01`);\n params.append(\"status_changed_dates[]\", `${year}-12-31`);\n if (type === \"buyerSeller\") {\n params.append(\"type[]\", \"buyer\");\n params.append(\"type[]\", \"seller\");\n } else if (type === \"tenantLandlord\") {\n params.append(\"type[]\", \"tenant\");\n params.append(\"type[]\", \"landlord\");\n } else if (type === \"referrals\") {\n params.append(\"type[]\", \"referral\");\n }\n window.open(`/listings/${path}?${params}`);\n },\n onHover: (e, activeElements) => {\n e.native.target.style.cursor = activeElements.length ? \"pointer\" : \"default\";\n },\n plugins: {\n legend: { display: false },\n tooltip: {\n callbacks: {\n label: ({ dataIndex, dataset }) => {\n const dataKey = Object.values(dataset.parsing)[0];\n const value = dataKey ? get(dataset.data[dataIndex], dataKey) : dataset.data[dataIndex];\n return `${dataset.label} ${option === \"units\" ? value : formatter.currency(value, 0)}`;\n },\n },\n },\n },\n scales: {\n x: {\n stacked: true,\n border: { display: false },\n grid: { display: true, offset: false },\n position: \"top\",\n ticks: {\n callback: (value) => (option === \"units\" ? value : formatter.currency(value, 0)),\n },\n },\n y: {\n stacked: true,\n grid: { display: false },\n offset: true,\n },\n },\n});\n\nconst useAgentProduction = ({ type, option, showClosed, showPending, year }) => {\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(null);\n const [data, setData] = useState();\n\n const chartData = getChartData({ data, type, option, showClosed, showPending });\n const chartOptions = getChartOptions({ count: chartData.length, option, year });\n\n useEffect(() => {\n setLoading(true);\n const abortController = new AbortController();\n\n getBusinessDashboard({\n params: {\n section: \"closings_by_agent\",\n selectedYear: year,\n },\n signal: abortController.signal,\n })\n .then((res) => {\n setData(res.data);\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n\n return () => abortController.abort();\n }, [year]);\n\n return {\n data: chartData,\n error,\n loading,\n chartOptions,\n };\n};\n\nexport default useAgentProduction;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport ChartDataLabels from \"chartjs-plugin-datalabels\";\nimport \"chart.js/auto\";\nimport { Bar } from \"react-chartjs-2\";\nimport PropTypes from \"prop-types\";\nimport Tab from \"@shared/v2/Tab\";\nimport TabBar from \"@shared/v2/TabBar\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport { Section, SectionLabel } from \"./Section\";\nimport TextToggle from \"../../../shared/v2/TextToggle/TextToggle\";\nimport useAgentProduction from \"./services/useAgentProduction\";\nimport Dot from \"./Dot\";\nimport Loader from \"../../../Dashboard/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\n\nconst AgentProduction = ({ year }) => {\n const chartRef = useRef(null);\n const [type, setType] = useState(\"buyerSeller\");\n const [option, setOption] = useState(\"units\");\n const [showClosed, setShowClosed] = useState(true);\n const [showPending, setShowPending] = useState(true);\n const [rerender, setRerender] = useState(true);\n\n const { chartOptions, data, error, loading } = useAgentProduction({\n type,\n option,\n showClosed,\n showPending,\n year,\n });\n\n useEffect(() => {\n if (chartRef.current) chartRef.current.resize();\n }, [data?.datasets?.[0]?.data.length]);\n\n useEffect(() => {\n setRerender(false);\n }, [type, option]);\n\n useEffect(() => {\n if (!rerender) setRerender(true);\n }, [rerender]);\n\n return (\n <Section className=\"tw-gap-[16px]\">\n <SectionLabel>Agent Production</SectionLabel>\n <TabBar>\n <Tab\n label=\"Buyer & Seller\"\n onClick={() => setType(\"buyerSeller\")}\n selected={type === \"buyerSeller\"}\n />\n <Tab\n label=\"Tenant & Landlord\"\n onClick={() => setType(\"tenantLandlord\")}\n selected={type === \"tenantLandlord\"}\n />\n <Tab label=\"Referrals\" onClick={() => setType(\"referrals\")} selected={type === \"referrals\"} />\n </TabBar>\n <div className=\"tw-flex tw-justify-between tw-mb-[16px]\">\n <TextToggle\n className=\"tw-self-start\"\n size=\"small\"\n name=\"agentProductionToggle\"\n options={[\n {\n label: \"Units\",\n value: \"units\",\n },\n {\n label: \"Volume\",\n value: \"volume\",\n },\n {\n label: \"GCI\",\n value: \"gci\",\n },\n ]}\n value={option}\n onChange={(e) => setOption(e.target.value)}\n />\n <div className=\"tw-flex tw-gap-[16px]\">\n <Checkbox\n checked={showClosed}\n onChange={() => setShowClosed(!showClosed)}\n label={\n <span className=\"tw-flex tw-gap-[6px] tw-items-center\">\n <Dot className=\"tw-bg-theme-primary\" /> Closed\n </span>\n }\n />\n {type !== \"referrals\" && (\n <Checkbox\n checked={showPending}\n onChange={() => setShowPending(!showPending)}\n label={\n <span className=\"tw-flex tw-gap-[6px] tw-items-center\">\n <Dot className=\"tw-bg-semantic-yellow-100\" /> Pending\n </span>\n }\n />\n )}\n </div>\n </div>\n <Error show={Boolean(error)} />\n {rerender && <Bar ref={chartRef} data={data} options={chartOptions} plugins={[ChartDataLabels]} />}\n {loading && <Loader />}\n </Section>\n );\n};\n\nAgentProduction.propTypes = {\n year: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n};\n\nexport default AgentProduction;\n","import { useEffect, useMemo, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nconst getRecruitingPipeline = (signal, params, isBrivity) =>\n caseTransformingAxios.get(`/api/v4/reporting/${isBrivity ? \"business\" : \"operator\"}_dashboard`, {\n params: { section: \"recruiting_pipeline\", ...params },\n signal,\n });\n\nconst useRecruitingPipeline = ({ isBrivity, rangeType = { value: \"calendar\" }, year }) => {\n const [state, _setState] = useState({ data: null, error: null, loading: false });\n const setState = useMemo(\n () => (newState) => _setState((oldState) => ({ ...oldState, ...newState })),\n [_setState],\n );\n\n useEffect(() => {\n const abortController = new AbortController();\n setState({ loading: true });\n getRecruitingPipeline(\n abortController.signal,\n { selected_year: year, range_type: rangeType.value },\n isBrivity,\n )\n .then((res) => setState({ data: res.data, error: null, loading: false }))\n .catch((err) => {\n if (!isCancel(err)) setState({ error: true, loading: false });\n });\n\n return () => abortController.abort();\n }, [isBrivity, rangeType, year]);\n\n return {\n ...state,\n actions: {\n clearError: () => setState({ error: null }),\n },\n };\n};\n\nexport default useRecruitingPipeline;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ArrowRightLongSolidV6 } from \"../../../shared/v2/Icomoon\";\nimport Tooltip from \"../../../shared/v2/Tooltip/Tooltip\";\nimport DashTooltip from \"../DashboardShared/DashTooltip\";\nimport { useTheme } from \"../../../reducers/layoutReducer/selectors\";\n\nconst TooltipRow = ({ label, value }) => (\n <div className=\"tw-flex tw-justify-between tw-text-14d\">\n <span>{label}:</span>\n <span>{value}</span>\n </div>\n);\n\nTooltipRow.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nTooltipRow.defaultProps = {\n value: \"\",\n};\n\nconst TooltipContent = ({ data, type }) => (\n <div className=\"tw-w-[180px] tw-flex tw-flex-col tw-gap-[6px]\">\n <div className=\"tw-text-start tw-text-14d tw-text-white tw-font-bold\">\n Appointments {type === \"set\" ? \"Set\" : \"Held\"}\n </div>\n <div className=\"tw-h-[1px] tw-bg-white\" />\n {type === \"set\" && (\n <>\n <TooltipRow label=\"Held\" value={data?.held || 0} />\n <TooltipRow label=\"Upcoming\" value={data?.upcoming || 0} />\n <TooltipRow label=\"Canceled\" value={data?.appointmentCancelled || 0} />\n <TooltipRow label=\"No Show\" value={data?.noShow || 0} />\n </>\n )}\n {type === \"held\" && (\n <>\n <TooltipRow label=\"Completed\" value={data?.appointmentComplete || 0} />\n <TooltipRow label=\"Not A Fit\" value={data?.notAFit || 0} />\n <TooltipRow label=\"Signed\" value={data?.signedRecruit || 0} />\n </>\n )}\n </div>\n);\n\nTooltipContent.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n data: PropTypes.objectOf(PropTypes.any).isRequired,\n type: PropTypes.oneOf([\"set\", \"held\"]),\n};\n\nTooltipContent.defaultProps = {\n type: \"set\",\n};\n\nconst PipelineStat = ({ completed, data, label, labelTooltip, value }) => {\n const isPlaceTheme = useTheme().name === \"place-theme\";\n const valueContent = data ? <Tooltip content={<TooltipContent data={data} />} trigger={value} /> : value;\n const completedContent = data ? (\n <Tooltip content={<TooltipContent type=\"held\" data={data} />} trigger={completed} />\n ) : (\n completed\n );\n return (\n <div className=\"tw-text-center tw-flex-1 tw-flex tw-flex-col tw-gap-[8px] tw-min-w-[140px] tw-border-solid tw-border-[1px] tw-border-neutral-gray-10 tw-border-l-0 tw-border-y-0 last-of-type:tw-border-x-0\">\n <div className=\"tw-text-14d\">\n {label} {labelTooltip && <DashTooltip text={labelTooltip} placement=\"top\" />}\n </div>\n <div className=\"tw-flex tw-items-center tw-justify-center tw-gap-[12px] tw-text-28d\">\n {valueContent}\n {typeof completed === \"number\" && (\n <ArrowRightLongSolidV6\n size=\"l\"\n className={isPlaceTheme ? \"tw-text-neutral-gray-50\" : \"tw-text-gray-30\"}\n />\n )}\n {completedContent}\n </div>\n </div>\n );\n};\n\nPipelineStat.propTypes = {\n completed: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n // eslint-disable-next-line react/forbid-prop-types\n data: PropTypes.objectOf(PropTypes.any),\n label: PropTypes.string.isRequired,\n labelTooltip: PropTypes.node,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nPipelineStat.defaultProps = {\n completed: \"\",\n data: null,\n labelTooltip: undefined,\n value: 0,\n};\n\nexport default PipelineStat;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport { BriefcaseSolidV6 } from \"@shared/v2/Icomoon\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport useRecruitingPipeline from \"./services/useRecruitingPipeline\";\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport CustomControl from \"../BusinessDashboard/Dropdown/CustomControl\";\nimport { CustomBasicSingleValue } from \"../BusinessDashboard/Dropdown/CustomSingleValue\";\nimport CustomValueContainer from \"../BusinessDashboard/Dropdown/CustomValueContainer\";\nimport PipelineStat from \"./PipelineStat\";\nimport getDateDropdownOptions from \"../DashboardShared/helpers/getDateDropdownOptions\";\nimport CustomDropdownIndicator from \"../BusinessDashboard/Dropdown/CustomDropdownIndicator\";\nimport { useFeatureFlags } from \"../../../reducers/layoutReducer/selectors\";\n\nconst useRecruitingSubscription = () => {\n const [recruitingSubscription, setRecruitingSubscription] = useState(null);\n useEffect(() => {\n caseTransformingAxios\n .get(\"/api/v4/reporting/recruiter_subscription\")\n .then(({ data }) => setRecruitingSubscription(data.active))\n .catch(() => false);\n }, []);\n return recruitingSubscription;\n};\n\nconst RecruitingPipelineSection = ({ year, isBrivity }) => {\n const featureFlags = useFeatureFlags();\n const monthlyOverviewOptions = useMemo(() => getDateDropdownOptions(year, \"extended\"), [year]);\n const [rangeType, setRangeType] = useState(monthlyOverviewOptions[0]);\n const { actions, data, error, loading } = useRecruitingPipeline({ isBrivity, rangeType, year });\n const recruitingSubscription = useRecruitingSubscription();\n\n useEffect(() => setRangeType(monthlyOverviewOptions[0]), [monthlyOverviewOptions, year]);\n\n return (\n <Section className=\"tw-relative tw-gap-[24px]\">\n <div className=\"tw-flex tw-justify-between\">\n <SectionLabel>Recruiting {isBrivity ? \"Funnel\" : \"Pipeline\"}</SectionLabel>\n <Dropdown\n components={{\n Control: CustomControl,\n SingleValue: CustomBasicSingleValue,\n ValueContainer: CustomValueContainer,\n DropdownIndicator: CustomDropdownIndicator,\n }}\n value={rangeType}\n onChange={setRangeType}\n options={monthlyOverviewOptions}\n />\n </div>\n\n {isBrivity && featureFlags.recruiterLink && recruitingSubscription === false && (\n <Alert\n variant=\"brivity\"\n text={\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[16px]\">\n <BriefcaseSolidV6 size=\"l\" />\n <div className=\"tw-mr-auto\">\n <h4 className=\"tw-m-0 tw-text-14d tw-font-semibold\">Need more recruits? Get Recruiter.ai</h4>\n Not enough recruits in your pipeline? You could earn an additional $122,000 - $167,000 in\n annual revenue by adding one agent to your team!\n </div>\n <Button\n schema=\"secondary\"\n className=\"tw-whitespace-nowrap\"\n onClick={() => window.open(\"/launch?slug=brivity-recruiter\")}\n >\n Sign Up Now\n </Button>\n </div>\n }\n />\n )}\n\n <div className=\"tw-flex tw-justify-between tw-overflow-x-auto tw-overflow-y-hidden tw-mx-[-24px] bs-xs:tw-mx-[-15px]\">\n <PipelineStat label=\"Calls\" value={data?.calls} />\n <PipelineStat\n label=\"Contacts\"\n labelTooltip=\"Call outcome of “talked” in Brivity for leads with the intent of “Recruit” (includes dials via Brivity and logged calls)\"\n value={data?.contacted}\n />\n <PipelineStat\n completed={data?.meetAndGreet.held || 0}\n data={data?.meetAndGreet}\n label=\"Meet & Greet\"\n labelTooltip=\"Initial conversation that is for the intent to recruit but partnership is NOT mentioned; just getting to know the person\"\n value={data?.meetAndGreet.set}\n />\n <PipelineStat\n completed={data?.screening.held || 0}\n data={data?.screening}\n label=\"Screening\"\n labelTooltip=\"Conducting screening questions to determine if you want to recruit the person\"\n value={data?.screening.set}\n />\n <PipelineStat\n completed={data?.recruitingFollowUp.held || 0}\n data={data?.recruitingFollowUp}\n label=\"Follow Up\"\n labelTooltip=\"Continued conversations that keep the recruit engaged with the team and the possibility of partnership\"\n value={data?.recruitingFollowUp.set}\n />\n <PipelineStat\n completed={data?.recruitingAppointment.held || 0}\n data={data?.recruitingAppointment}\n label=\"Recruiting Appts.\"\n labelTooltip={\n isBrivity\n ? \"Having a conversation that directly asks if the recruit would consider partnership\"\n : \"Executing the Career Opportunity Guide OR having a conversation that directly asks if the recruit would consider partnership\"\n }\n value={data?.recruitingAppointment.set}\n />\n <PipelineStat\n completed={data?.signingAppointment.held || 0}\n data={data?.signingAppointment}\n label=\"Signing Appts.\"\n labelTooltip=\"Meeting to discuss expectations and present the offer to a recruit\"\n value={data?.signingAppointment.set}\n />\n <PipelineStat label=\"Signed\" value={data?.signed} />\n </div>\n <Error show={Boolean(error)} className=\"!tw-mb-0 tw-mt-[8px]\" onClose={actions.clearError} />\n {loading && <Loading />}\n </Section>\n );\n};\n\nRecruitingPipelineSection.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n isBrivity: PropTypes.bool,\n};\n\nRecruitingPipelineSection.defaultProps = {\n isBrivity: false,\n};\n\nexport default RecruitingPipelineSection;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst SingleStatCard = ({ label, tooltip, value }) => (\n <div className=\"tw-flex-1 tw-bg-white tw-rounded-[8px] tw-border-solid tw-border-[1px] tw-border-gray-10 tw-flex tw-flex-col tw-gap-[8px] tw-p-[16px] tw-min-w-[230px]\">\n <div className=\"tw-flex tw-items-center tw-gap-[4px]\">\n <h3 className=\"tw-text-14d tw-font-semibold tw-text-gray-50 tw-m-0\">{label}</h3>\n {tooltip && (\n <Tooltip\n className=\"tw-inline-flex\"\n innerClassName=\"tw-max-w-[220px]\"\n trigger={<CircleInfoSolidV6 size=\"l\" />}\n content={tooltip}\n />\n )}\n </div>\n <span className=\"tw-text-18d\">{value}</span>\n </div>\n);\n\nSingleStatCard.propTypes = {\n label: PropTypes.string.isRequired,\n tooltip: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nSingleStatCard.defaultProps = {\n tooltip: \"\",\n};\n\nexport default SingleStatCard;\n","/* eslint-disable camelcase */\nimport React, { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport formatter from \"../../../../shared/formatters\";\nimport { getBusinessDashboard } from \"./api\";\n\nconst transformSummaryTotals = (\n {\n avgMtdSalesPrice = 0,\n avgYtdCommission = 0,\n avgYtdSalesPrice = 0,\n estTotalGci = 0,\n ytdCompanyDollar = 0,\n ytdPendingToClosedRatio = 0,\n },\n year,\n) => ({\n summary: {\n avgMtdSalesPrice: year !== String(new Date().getFullYear()) ? \"-\" : formatter.currency(avgMtdSalesPrice),\n avgYtdCommission: formatter.currency(avgYtdCommission),\n avgYtdSalesPrice: formatter.currency(avgYtdSalesPrice),\n estTotalGci: formatter.currency(estTotalGci),\n ytdCompanyDollar: formatter.currency(ytdCompanyDollar),\n ytdPendingToClosedRatio,\n },\n year,\n});\n\nconst useTransactionSummary = (year) => {\n const [loading, setLoading] = useState(true);\n const [data, setData] = React.useState(transformSummaryTotals({}));\n const [error, setError] = React.useState(null);\n\n useEffect(() => {\n const abortController = new AbortController();\n setLoading(true);\n getBusinessDashboard({\n signal: abortController.signal,\n params: {\n section: \"ytd_summary\",\n selectedYear: year,\n },\n })\n .then((res) => {\n setData(transformSummaryTotals(res.data, year));\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(err);\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [year]);\n\n return { data, error, loading };\n};\n\nexport default useTransactionSummary;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport SingleStatCard from \"./SingleStatCard\";\nimport useTransactionSummary from \"./services/useTransactionSummary\";\nimport Error from \"../DashboardShared/Error\";\nimport Loader from \"../../../Goals/components/Loader\";\n\nconst TransactionSummary = ({ year }) => {\n const isThisYear = String(year) === String(new Date().getFullYear());\n const { data, error, loading } = useTransactionSummary(year);\n return (\n <div className=\"tw-relative tw-flex tw-flex-wrap tw-gap-[8px]\">\n <SingleStatCard\n label={`${isThisYear ? \"YTD\" : year} Pending to Closed Ratio`}\n value={`${data.summary?.ytdPendingToClosedRatio}%`}\n />\n <SingleStatCard\n label={`Avg. ${isThisYear ? \"YTD\" : year} Sale Price`}\n value={data.summary?.avgYtdSalesPrice}\n />\n <SingleStatCard label=\"Avg. MTD Sale Price\" value={data.summary?.avgMtdSalesPrice} />\n <SingleStatCard label=\"Avg. YTD Commission\" value={data.summary?.avgYtdCommission} />\n <SingleStatCard\n label=\"Est. Total GCI\"\n value={data.summary?.estTotalGci}\n tooltip=\"Estimated Total GCI calculates incomes from transactions closed and to be closed in a given year.\"\n />\n <SingleStatCard\n label=\"YTD Company Dollar\"\n value={data.summary?.ytdCompanyDollar}\n tooltip=\"Sum of Team GCI in Financials for Closed Transactions.\"\n />\n <Error show={Boolean(error)} />\n {loading && <Loader />}\n </div>\n );\n};\n\nTransactionSummary.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default TransactionSummary;\n","import { useEffect, useMemo, useState } from \"react\";\nimport axios from \"axios\";\nimport moment from \"moment\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst getDateRange = (dateRange) => {\n let startDate = moment().startOf(\"year\");\n let endDate = moment().endOf(\"year\");\n\n if (dateRange === \"today\") {\n startDate = moment().startOf(\"day\");\n endDate = moment().endOf(\"day\");\n }\n\n if (dateRange === \"last_7_days\") {\n startDate = moment().subtract(7, \"days\").startOf(\"day\");\n endDate = moment().endOf(\"day\");\n }\n\n if (dateRange === \"last_14_days\") {\n startDate = moment().subtract(14, \"days\").startOf(\"day\");\n endDate = moment().endOf(\"day\");\n }\n\n if (dateRange === \"last_30_days\") {\n startDate = moment().subtract(30, \"days\").startOf(\"day\");\n endDate = moment().endOf(\"day\");\n }\n\n if (dateRange === \"last_90_days\") {\n startDate = moment().subtract(90, \"days\").startOf(\"day\");\n endDate = moment().endOf(\"day\");\n }\n\n if (dateRange === \"this_month\") {\n startDate = moment().startOf(\"month\");\n endDate = moment().endOf(\"month\");\n }\n\n if (dateRange === \"last_month\") {\n startDate = moment().subtract(1, \"month\").startOf(\"month\");\n endDate = moment().subtract(1, \"month\").endOf(\"month\");\n }\n\n if (dateRange === \"last_year\") {\n startDate = moment().subtract(1, \"year\").startOf(\"year\");\n endDate = moment().subtract(1, \"year\").endOf(\"year\");\n }\n\n return { startDate: startDate.format(\"YYYY-MM-DD\"), endDate: endDate.format(\"YYYY-MM-DD\") };\n};\n\nconst useSalesFunnel = ({ agentUuid, dateRange, filters }) => {\n const [loading, setLoading] = useState(true);\n const [rawData, setRawData] = useState(null);\n const [error, setError] = useState(null);\n\n const data = useMemo(() => {\n if (!rawData) {\n return {\n callsContactedRatio: 0,\n contactedApptSetRatio: 0,\n apptSetApptHeldRatio: 0,\n apptHeldApptSignedRatio: 0,\n apptSignedPendedRatio: 0,\n pendedClosedRatio: 0,\n };\n }\n\n const filterKeys = Object.keys(filters).filter((key) => filters[key]);\n const dataKeys = Object.keys(rawData.buyer);\n const transformedData = dataKeys.reduce((acc, key) => {\n acc[key] = {\n actual: filterKeys.reduce((sum, filterKey) => sum + (rawData[filterKey][key]?.actual || 0), 0),\n goal: Number(Math.round(rawData[filterKeys[0]]?.[key]?.goal) || 0),\n onTarget: Number(rawData[filterKeys[0]]?.[key]?.onTarget || 0),\n };\n return acc;\n }, {});\n transformedData.callsContactedRatio = Math.round(\n (transformedData.contacted.actual / (transformedData.calls.actual || 1)) * 100,\n );\n transformedData.contactedApptSetRatio = Math.round(\n (transformedData.apptSet.actual / (transformedData.contacted.actual || 1)) * 100,\n );\n transformedData.apptSetApptHeldRatio = Math.round(\n (transformedData.apptHeld.actual / (transformedData.apptSet.actual || 1)) * 100,\n );\n transformedData.apptHeldApptSignedRatio = Math.round(\n (transformedData.apptSigned.actual / (transformedData.apptHeld.actual || 1)) * 100,\n );\n transformedData.apptSignedPendedRatio = Math.round(\n (transformedData.pended.actual / (transformedData.apptSigned.actual || 1)) * 100,\n );\n transformedData.pendedClosedRatio = Math.round(\n (transformedData.closed.actual / (transformedData.pended.actual || 1)) * 100,\n );\n\n return transformedData;\n }, [filters, rawData]);\n\n useEffect(() => {\n const abortController = new AbortController();\n setLoading(true);\n caseTransformingAxios\n .get(`/api/v4/reporting/${agentUuid ? \"agent\" : \"business\"}_dashboard`, {\n signal: abortController.signal,\n params: {\n personUuid: agentUuid,\n section: \"sales_funnel\",\n ...getDateRange(dateRange),\n },\n })\n .then((res) => {\n setRawData(res.data);\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(err.response.data?.message || \"Whoops! Something went wrong.\");\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [agentUuid, dateRange]);\n\n return { data, error, loading };\n};\n\nexport default useSalesFunnel;\n","import React, { useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport RingChart from \"@shared/v2/RingChart\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { AngleRightSolidV6, CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport CustomControl from \"./Dropdown/CustomControl\";\nimport { CustomBasicSingleValue } from \"./Dropdown/CustomSingleValue\";\nimport CustomValueContainer from \"./Dropdown/CustomValueContainer\";\nimport CustomDropdownIndicator from \"./Dropdown/CustomDropdownIndicator\";\nimport { Section, SectionLabel } from \"./Section\";\nimport useSalesFunnel from \"./services/useSalesFunnel\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport goToLeadView from \"./helpers/goToLeadView\";\nimport { useTheme } from \"../../../reducers/layoutReducer/selectors\";\n\nconst CountsCallsTooltip = ({ talked }) => (\n <>\n <div>Counts calls {talked ? \"with an outcome of 'Talked'\" : \"\"} to leads with intent of:</div>\n <ul className=\"tw-m-0 tw-p-0 tw-pl-[24px]\">\n <li>Buyer</li>\n <li>Seller</li>\n <li>Buyer/Seller</li>\n <li>N/A</li>\n </ul>\n </>\n);\n\nCountsCallsTooltip.propTypes = {\n talked: PropTypes.bool.isRequired,\n};\n\nconst SetHeldTooltip = () => (\n <>\n <div>Only appointment types which directly drive production are counted towards Set & Held goals:</div>\n <ul className=\"tw-m-0 tw-p-0 tw-pl-[24px]\">\n <li>Buyer Consultation</li>\n <li>Listing Consultation</li>\n <li>Buyer/Listing Consultation</li>\n </ul>\n </>\n);\n\nconst signedTooltip =\n 'Signing appointments completed with an outcome of \"Signed - Buyer Agreement\", \"Signed - Listing Agreement\", or \"Signed - Both Buyer/Listing\"';\n\nconst getClassFromValue = (value) => {\n if (value > 999999) return \"tw-text-12d\";\n if (value > 99999) return \"tw-text-14d\";\n return \"tw-text-18d\";\n};\n\nconst InnerRing = ({ agentId, filters, goal, value, title, dateRange }) => {\n const hasGoal = goal > 0;\n const valueClass = getClassFromValue(value);\n const goalClass = getClassFromValue(goal);\n return (\n <div className=\"tw-group tw-absolute tw-inset-0 tw-flex tw-justify-center tw-items-center\">\n <div\n className={`tw-flex tw-flex-col tw-gap-[2px] ${hasGoal ? \"group-hover:tw-hidden\" : \"\"} tw-text-center`}\n >\n <span className={valueClass}>{value.toLocaleString()}</span>\n <hr className=\"tw-m-0\" />\n {hasGoal && <span className={`${goalClass} tw-text-gray-50`}>{goal.toLocaleString()}</span>}\n {!hasGoal && (\n <TextButton onClick={() => window.open(\"/settings/goals\", \"_blank\")}>Set Goal</TextButton>\n )}\n </div>\n {hasGoal && (\n <TextButton\n className=\"tw-hidden group-hover:tw-block\"\n onClick={() => goToLeadView({ agentId, filters, title, dateRange })}\n >\n View\n </TextButton>\n )}\n </div>\n );\n};\n\nInnerRing.propTypes = {\n agentId: PropTypes.number,\n filters: PropTypes.shape().isRequired,\n goal: PropTypes.number,\n value: PropTypes.number,\n title: PropTypes.string.isRequired,\n dateRange: PropTypes.string.isRequired,\n};\n\nInnerRing.defaultProps = {\n agentId: undefined,\n goal: 0,\n value: 0,\n};\n\nconst Percent = ({ tooltip, value }) => (\n <div className=\"tw-flex-1 tw-my-[8px] tw-min-w-[40px] tw-flex tw-flex-col tw-justify-center tw-items-center tw-border-solid tw-border-x-0 tw-border-y-[1px] tw-border-gray-5\">\n <Tooltip\n trigger={<span className=\"tw-text-18d tw-text-gray-50 tw-font-bold\">{value}</span>}\n content={`${value} ${tooltip}`}\n />\n </div>\n);\n\nPercent.propTypes = {\n tooltip: PropTypes.node.isRequired,\n value: PropTypes.string.isRequired,\n};\n\nconst FunnelRing = ({ agentId, data, filters, title, tooltip, dateRange }) => {\n const isPlace = useTheme().name === \"place-theme\";\n const ringChartData = useMemo(() => {\n const { goal, actual, onTarget } = data;\n if (goal === 0) return [];\n return [\n { value: onTarget / goal, color: isPlace ? \"#C8D9FA\" : \"#BDE7E7\" },\n { value: actual / goal, color: isPlace ? \"#3270FA\" : \"#59C4C4\" },\n ];\n }, [data, isPlace]);\n return (\n <div className=\"tw-flex tw-flex-col tw-items-center tw-mt-[-20px]\">\n <span className=\"tw-text-14d tw-font-semibold tw-text-gray-50\">\n {title}{\" \"}\n {tooltip && (\n <Tooltip\n placement=\"right\"\n innerClassName=\"tw-max-w-[240px] !tw-text-left\"\n trigger={<CircleInfoSolidV6 />}\n content={tooltip}\n />\n )}\n </span>\n <Tooltip\n className=\"tw-w-[104px]\"\n innerClassName=\"tw-min-w-[160px]\"\n trigger={\n <RingChart data={ringChartData}>\n <InnerRing\n agentId={agentId}\n filters={filters}\n goal={data.goal}\n value={data.actual}\n title={title}\n dateRange={dateRange}\n />\n </RingChart>\n }\n content={\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <div className=\"tw-flex tw-justify-between\">\n <span>{title}:</span>\n <span>{data.actual.toLocaleString()}</span>\n </div>\n <div className=\"tw-flex tw-justify-between\">\n <span>On Target:</span>\n <span>{data.onTarget.toLocaleString()}</span>\n </div>\n <div className=\"tw-flex tw-justify-between\">\n <span>Total Goal:</span>\n <span>{data.goal.toLocaleString()}</span>\n </div>\n </div>\n }\n />\n </div>\n );\n};\n\nFunnelRing.propTypes = {\n agentId: PropTypes.number,\n data: PropTypes.shape({\n actual: PropTypes.number,\n goal: PropTypes.number,\n onTarget: PropTypes.number,\n }),\n dateRange: PropTypes.string.isRequired,\n filters: PropTypes.shape().isRequired,\n title: PropTypes.string.isRequired,\n tooltip: PropTypes.node,\n};\n\nFunnelRing.defaultProps = {\n agentId: undefined,\n data: { actual: 0, goal: 0, onTarget: 0 },\n tooltip: null,\n};\n\nconst useDateOptions = () => {\n const [dateRange, setDateRange] = useState(\"this_year\");\n const options = useMemo(\n () => [\n { label: \"Today\", value: \"today\" },\n { label: \"Last 7 Days\", value: \"last_7_days\" },\n { label: \"Last 14 Days\", value: \"last_14_days\" },\n { label: \"Last 30 Days\", value: \"last_30_days\" },\n { label: \"Last 90 Days\", value: \"last_90_days\" },\n { label: \"This Month\", value: \"this_month\" },\n { label: \"Last Month\", value: \"last_month\" },\n { label: \"This Year\", value: \"this_year\" },\n { label: \"Last Year\", value: \"last_year\" },\n // { label: \"All Time\", value: \"all_time\" },\n ],\n [],\n );\n return { options, dateRange, setDateRange };\n};\n\nconst SalesFunnel = ({ agentId, agentPersonId, agentUuid }) => {\n const [filters, setFilters] = useState({\n buyer: true,\n seller: true,\n buyerSeller: true,\n na: true,\n });\n const updateFilter = (name) => () => setFilters((prev) => ({ ...prev, [name]: !prev[name] }));\n const { options, dateRange, setDateRange } = useDateOptions();\n const { data, error, loading } = useSalesFunnel({ agentUuid, dateRange, filters });\n\n return (\n <Section className=\"tw-gap-[16px]\">\n <SectionLabel className=\"tw-flex tw-flex-wrap tw-justify-between tw-gap-[16px]\">\n <div className=\"tw-flex tw-flex-wrap tw-gap-[16px]\">\n <span>Sales Funnel</span>\n <Checkbox label=\"Buyer\" checked={filters.buyer} onChange={updateFilter(\"buyer\")} />\n <Checkbox label=\"Seller\" checked={filters.seller} onChange={updateFilter(\"seller\")} />\n <Checkbox\n label=\"Buyer/Seller\"\n checked={filters.buyerSeller}\n onChange={updateFilter(\"buyerSeller\")}\n />\n </div>\n <div className=\"tw-flex tw-items-center\">\n <Dropdown\n components={{\n Control: CustomControl,\n SingleValue: CustomBasicSingleValue,\n ValueContainer: CustomValueContainer,\n DropdownIndicator: CustomDropdownIndicator,\n }}\n value={options.find((o) => o.value === dateRange)}\n onChange={(o) => setDateRange(o.value)}\n options={options}\n />\n <span className=\" tw-h-[80%] tw-ml-[8px] tw-mr-[4px] tw-border-solid tw-border-[1px] tw-border-y-0 tw-border-r-0 tw-border-gray-10\" />\n <TextButton\n className=\"tw-inline-flex tw-items-center tw-gap-[4px]\"\n schema=\"sentence\"\n size=\"medium\"\n onClick={() => window.open(\"/settings/goals\", \"_blank\")}\n >\n Goal Settings <AngleRightSolidV6 />\n </TextButton>\n </div>\n </SectionLabel>\n <div className=\"tw-overflow-x-auto tw-flex tw-gap-[4px] tw-pt-[44px]\">\n <FunnelRing\n filters={filters}\n title=\"Called\"\n tooltip={<CountsCallsTooltip />}\n data={data.calls}\n dateRange={dateRange}\n agentId={agentId}\n />\n <Percent tooltip=\"of Called moved to Contacted\" value={`${data.callsContactedRatio}%`} />\n <FunnelRing\n filters={filters}\n title=\"Contacted\"\n tooltip={<CountsCallsTooltip talked />}\n data={data.contacted}\n dateRange={dateRange}\n agentId={agentId}\n />\n <Percent tooltip=\"of Contacted moved to Appt. Set\" value={`${data.contactedApptSetRatio}%`} />\n <FunnelRing\n filters={filters}\n title=\"Appt. Set\"\n data={data.apptSet}\n tooltip={<SetHeldTooltip />}\n dateRange={dateRange}\n agentId={agentId}\n />\n <Percent tooltip=\"of Appt. Set moved to Appt. Held\" value={`${data.apptSetApptHeldRatio}%`} />\n <FunnelRing\n filters={filters}\n title=\"Appt. Held\"\n data={data.apptHeld}\n tooltip={<SetHeldTooltip />}\n dateRange={dateRange}\n agentId={agentId}\n />\n <Percent tooltip=\"of Appt. Held moved to Signed\" value={`${data.apptHeldApptSignedRatio}%`} />\n <FunnelRing\n filters={filters}\n title=\"Signed\"\n data={data.apptSigned}\n tooltip={signedTooltip}\n dateRange={dateRange}\n agentId={agentId}\n />\n <Percent tooltip=\"of Signed moved to Pended\" value={`${data.apptSignedPendedRatio}%`} />\n <FunnelRing\n filters={filters}\n title=\"Pended\"\n tooltip=\"Transactions with a Mutual Acceptance Date within the selected timeframe. The Transaction Index view displays only the transactions that are currently pending.\"\n data={data.pended}\n dateRange={dateRange}\n agentId={agentPersonId}\n />\n <Percent tooltip=\"of Pended moved to Closed\" value={`${data.pendedClosedRatio}%`} />\n <FunnelRing\n filters={filters}\n title=\"Closed\"\n data={data.closed}\n dateRange={dateRange}\n agentId={agentPersonId}\n />\n </div>\n {loading && <Loading />}\n <Error show={Boolean(error)} message={error} />\n </Section>\n );\n};\n\nSalesFunnel.propTypes = {\n agentUuid: PropTypes.string,\n agentId: PropTypes.number,\n agentPersonId: PropTypes.number,\n};\n\nSalesFunnel.defaultProps = {\n agentUuid: undefined,\n agentId: undefined,\n agentPersonId: undefined,\n};\n\nexport default SalesFunnel;\n","export default ({ agentId, filters, title, dateRange }) => {\n let url = \"/people/leads\";\n const queryParams = new URLSearchParams();\n\n if (title !== \"Pended\" && title !== \"Closed\" && agentId) {\n queryParams.append(\"leads_filter[selected_primary_agents][]\", agentId);\n }\n\n if (title === \"Called\" || title === \"Contacted\") {\n if (filters.buyer) queryParams.append(\"leads_filter[selected_intention_filters][]\", \"buyer\");\n if (filters.seller) queryParams.append(\"leads_filter[selected_intention_filters][]\", \"seller\");\n if (filters.buyerSeller) queryParams.append(\"leads_filter[selected_intention_filters][]\", \"seller/buyer\");\n queryParams.append(\"leads_filter[selected_intention_filters][]\", \"n/a\");\n queryParams.append(\"leads_filter[selected_communications_filters][]\", \"call_true\");\n queryParams.append(\"leads_filter[selected_communications_filters][]\", dateRange);\n }\n\n if (title === \"Contacted\") {\n queryParams.append(\n \"leads_filter[selected_communications_call_outcome][]\",\n \"communications_call_outcome_talked_to_lead\",\n );\n }\n\n if (title === \"Appt. Set\" || title === \"Appt. Held\" || title === \"Signed\") {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n title === \"Appt. Set\" ? \"appointment_set\" : \"appointment_held\",\n );\n queryParams.append(\"leads_filter[selected_appointment_filters][]\", dateRange);\n }\n\n if (title === \"Appt. Set\" || title === \"Appt. Held\") {\n if (filters.buyer) {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n \"appointment_type_buyer_consultation\",\n );\n }\n if (filters.seller) {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n \"appointment_type_listing_consultation\",\n );\n }\n if (filters.buyerSeller) {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n \"appointment_type_buyer_listing_consultation\",\n );\n }\n }\n\n if (title === \"Signed\") {\n if (filters.buyer) {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n \"appointment_outcome_signed_buyer_agreement\",\n );\n }\n if (filters.seller) {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n \"appointment_outcome_signed_listing_agreement\",\n );\n }\n if (filters.buyerSeller) {\n queryParams.append(\n \"leads_filter[selected_appointment_filters][]\",\n \"appointment_outcome_signed_both_buyer_listing\",\n );\n }\n }\n\n if (title === \"Pended\" || title === \"Closed\") {\n if (agentId) queryParams.append(\"agent[]\", agentId);\n if (filters.buyer) queryParams.append(\"type[]\", \"buyer\");\n if (filters.seller) queryParams.append(\"type[]\", \"seller\");\n }\n\n if (title === \"Pended\") {\n url = \"/listings/pending\";\n queryParams.append(\"status_changed_range[]\", dateRange);\n }\n\n if (title === \"Closed\") {\n url = \"/listings/sold\";\n queryParams.append(\"close_date_range[]\", dateRange);\n }\n\n window.open(`${url}?${queryParams}`, \"_blank\");\n};\n","import React, { useState } from \"react\";\nimport Chart from \"chart.js/auto\";\nimport HeadingSelect from \"../../../Goals/components/HeadingSelect\";\nimport Button from \"../../../shared/v2/Button\";\n\nimport TransactionSnapshot from \"./TransactionSnapshot\";\nimport MonthlyOverview from \"../DashboardShared/MonthlyOverview\";\nimport GoalsSection from \"../DashboardShared/GoalsSection\";\nimport BusinessByLeadSource from \"../DashboardShared/BusinessByLeadSource\";\nimport ClosingsBreakdown from \"../DashboardShared/ClosingsBreakdown\";\nimport AgentProduction from \"./AgentProduction\";\nimport { Section } from \"./Section\";\nimport RecruitingPipelineSection from \"../OperatorDashboard/RecruitingPipelineSection\";\nimport { useTheme } from \"../../../reducers/layoutReducer/selectors\";\nimport TransactionSummary from \"./TransactionSummary\";\nimport SalesFunnel from \"./SalesFunnel\";\n\nChart.defaults.defaultFontFamily = \"Open Sans\";\n\nconst BusinessDashboard = () => {\n const isPlace = useTheme().name === \"place-theme\";\n const params = new URLSearchParams(window.location.search);\n const [year, setYear] = useState(params.get(\"year\") || new Date().getFullYear().toString());\n\n return (\n <div className=\"tw-bg-gray-5 tw-flex tw-p-[16px]\">\n <div className=\"tw-max-w-[1500px] tw-w-full tw-mx-auto tw-flex tw-flex-col tw-gap-[16px]\">\n <Section>\n <div className=\"tw-flex tw-justify-between\">\n <HeadingSelect\n title={<h2 className=\"tw-text-28d tw-mr-[8px] tw-m-0\">Business Dashboard</h2>}\n name=\"year\"\n value={year}\n onChange={setYear}\n />\n <Button\n size=\"medium\"\n schema=\"secondary\"\n onClick={() => window.location.assign(`/settings/goals?year=${year}`)}\n >\n Settings\n </Button>\n </div>\n </Section>\n\n <TransactionSummary year={year} />\n\n <TransactionSnapshot year={year} />\n\n <SalesFunnel year={year} />\n\n {!isPlace && <RecruitingPipelineSection year={year} isBrivity />}\n\n <div className=\"tw-flex tw-items-start tw-flex-wrap tw-gap-[16px]\">\n <div className=\"tw-flex tw-flex-col tw-flex-1 tw-basis-[58%] tw-min-w-[320px] tw-gap-[16px]\">\n <MonthlyOverview year={year} />\n <ClosingsBreakdown year={year} />\n <BusinessByLeadSource year={year} />\n </div>\n <div className=\"tw-flex tw-flex-col tw-flex-1 tw-basis-[34%] tw-min-w-[320px] tw-gap-[16px]\">\n <GoalsSection year={year} />\n <AgentProduction year={year} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nexport default BusinessDashboard;\n","const getPostJsonHeaders = () => {\n return {\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n};\n\nexport { getPostJsonHeaders };\n","import axios from \"axios\";\n\nimport { getPostJsonHeaders } from \"@shared/axiosHelpers\";\n\nexport const getAgentsAndTrackingNumbers = async () => {\n const { data } = await axios.get(\"/phone_system/tracking_numbers/settings\", getPostJsonHeaders());\n\n return { agents: data.agents, trackingNumbers: data.tracking_numbers };\n};\n\nconst mapTrackingNumberRoutes = (users) =>\n users?.map((user, i) => ({\n user_id: user.id,\n position: i,\n }));\n\nconst createError = (e) => {\n const error = e.response ? e.response.data.error : \"Something went wrong!\";\n\n return { error };\n};\n\nexport const getAvailableNumbers = async (agentId, countryCode, areaCode) => {\n const data = {\n country_code: countryCode,\n area_code: areaCode,\n };\n\n try {\n const response = await axios.post(\n `/users/${agentId}/available_managed_numbers`,\n data,\n getPostJsonHeaders(),\n );\n const numbers = response.data.numbers.map(([value, label]) => ({ label, value }));\n\n return { numbers };\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getAvailableTollFreeNumbers = async (agentId, countryCode) => {\n try {\n const response = await axios.get(\n `/users/${agentId}/available_toll_free_numbers?country_code=${countryCode}`,\n );\n\n const numbers = response.data.numbers.map(([value, label]) => ({ label, value }));\n\n return { numbers };\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getSources = async () => {\n try {\n const response = await axios.get(`/sources`, getPostJsonHeaders());\n const sources = response.data.sources.map(({ text, id }) => ({ label: text, value: id }));\n\n return { sources };\n } catch (e) {\n return createError(e);\n }\n};\n\nconst createNewSource = async (name) => {\n const response = await axios.post(\"/sources\", { source: { name } }, getPostJsonHeaders());\n\n return response.data.source_id;\n};\n\nexport const buyTrackingNumber = async (\n agentId,\n name,\n number,\n routingMethod,\n users,\n sourceId,\n shouldCreateLeads,\n noAnswerSetting,\n voicemailGreetingFilename,\n inboundRecording,\n inboundNotificationMessageCondition,\n) => {\n const data = {\n tracking_number: {\n name,\n inbound_recording: inboundRecording,\n inbound_notification_message_condition: inboundNotificationMessageCondition,\n number,\n routing_rule: routingMethod,\n create_phone_number_leads: shouldCreateLeads,\n new_lead_source_id: sourceId,\n voicemail_greeting: voicemailGreetingFilename,\n },\n tracking_number_routings: mapTrackingNumberRoutes(users),\n };\n\n if (routingMethod === \"round_robin\") {\n data.tracking_number.no_answer_setting = noAnswerSetting;\n }\n\n try {\n if (sourceId === \"new\") {\n data.tracking_number.new_lead_source_id = await createNewSource(name);\n }\n\n const response = await axios.post(\"/phone_system/tracking_numbers\", data, getPostJsonHeaders());\n\n return { trackingNumberId: response.data.tracking_number_id };\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const updateTrackingNumber = async (\n trackingNumberId,\n name,\n sourceId,\n routingMethod,\n users,\n shouldCreateLeads,\n noAnswerSetting,\n voicemailGreetingFilename,\n inboundRecording,\n inboundNotificationMessageCondition,\n) => {\n const data = {\n tracking_number: {\n name,\n inbound_recording: inboundRecording,\n inbound_notification_message_condition: inboundNotificationMessageCondition,\n routing_rule: routingMethod,\n new_lead_source_id: sourceId,\n create_phone_number_leads: shouldCreateLeads,\n voicemail_greeting: voicemailGreetingFilename,\n },\n tracking_number_routings: mapTrackingNumberRoutes(users),\n };\n\n if (routingMethod === \"round_robin\") {\n data.tracking_number.no_answer_setting = noAnswerSetting;\n }\n\n try {\n if (sourceId === \"new\") {\n data.tracking_number.new_lead_source_id = await createNewSource(name);\n }\n\n await axios.put(`/phone_system/tracking_numbers/${trackingNumberId}`, data, getPostJsonHeaders());\n\n return {};\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const deleteTrackingNumber = async (trackingNumberId) => {\n if (!trackingNumberId) {\n return { error: \"No ID!\" };\n }\n\n try {\n await axios.delete(`/phone_system/tracking_numbers/${trackingNumberId}`, getPostJsonHeaders());\n\n return {};\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const updateVoicemailGreeting = async (trackingNumberId, file, filename) => {\n try {\n const headers = {\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"multipart/form-data\",\n },\n };\n\n const blob = await fetch(file).then((r) => r.blob());\n const formData = new FormData();\n formData.append(\"file\", blob);\n\n await axios.put(\n `/phone_system/tracking_numbers/${trackingNumberId}/voicemail_greeting?filename=${encodeURIComponent(filename)}`,\n formData,\n headers,\n );\n\n return {};\n } catch (e) {\n return createError(e);\n }\n};\n","import { getPostJsonHeaders } from \"@shared/axiosHelpers\";\n\nimport axios from \"axios\";\n\nexport const checkForRoutingNumber = async (agentId) => {\n try {\n await axios.get(`/users/${agentId}/check_for_routing_number`, getPostJsonHeaders());\n\n return {};\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const saveManagedNumber = async (agentId, number) => {\n try {\n await axios.post(`/users/${agentId}/save_managed_number`, { number }, getPostJsonHeaders());\n\n return {};\n } catch (e) {\n return createError(e);\n }\n};\n\nconst createError = (e) => {\n const error = e.response ? e.response.data.error : \"Something went wrong!\";\n\n return { error };\n};\n","import React from \"react\";\n\nexport const CountryCodes = [\n { label: \"United States (+1)\", value: \"US\" },\n { label: \"Canada (+1)\", value: \"CA\" },\n];\n\nexport const LeadAssignInfo = {\n first_to_claim: {\n description: (\n <span>\n When a caller dials this number, all users below will be called at the same time. The first user to\n answer will be connected to the caller. <strong>First to Claim supports up to 10 users.</strong>\n </span>\n ),\n pretty: \"First To Claim\",\n },\n round_robin: {\n description: (\n <span>When a caller dials this number, they will be routed to the following agents in order.</span>\n ),\n pretty: \"Round Robin\",\n },\n};\n\nexport const CallRecordingInfo = {\n inboundRecording: {\n disabled: {\n pretty: \"Disable Recording\",\n },\n automatic: {\n pretty: \"Record Automatically\",\n },\n },\n inboundNotificationMessageCondition: {\n always: {\n pretty: \"Always Play\",\n },\n check: {\n pretty: \"Check Location\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Divider = ({ verticalMargin }) => (\n <div className={`tw-flex tw-flex-row tw-w-full ${verticalMargin}`}>\n <span className=\"tw-w-full tw-h-1px tw-bg-gray-10\" />\n </div>\n);\n\nDivider.propTypes = {\n verticalMargin: PropTypes.string.isRequired,\n};\n\nexport default Divider;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport Modal from \"@shared/v2/Modal\";\n\nimport { getAvailableNumbers } from \"../../PhoneSystem/TrackingNumbers/Settings/services\";\nimport { saveManagedNumber } from \"./services\";\nimport Error from \"../../Reports/components/DashboardShared/Error\";\nimport { CountryCodes } from \"../../PhoneSystem/TrackingNumbers/Settings/shared\";\nimport Divider from \"./Divider\";\n\nconst AddBrivityPhone = ({ agent, onClose, onNumberSaved }) => {\n const [countryCode, setCountryCode] = useState(CountryCodes[0]);\n const [areaCode, setAreaCode] = useState(\"\");\n const [numberOptions, setNumberOptions] = useState([]);\n const [chosenNumber, setChosenNumber] = useState({});\n const [error, setError] = useState(\"\");\n const [isFetching, setIsFetching] = useState(false);\n\n useEffect(() => {\n if (!agent) {\n setCountryCode(CountryCodes[0]);\n setAreaCode(\"\");\n setNumberOptions([]);\n setChosenNumber({});\n setError(\"\");\n setIsFetching(false);\n }\n }, [agent]);\n\n const onAreaCodeChange = (e) => setAreaCode(e.target?.value);\n\n const getNumberOptions = async () => {\n setIsFetching(true);\n const { numbers, error: fetchError } = await getAvailableNumbers(agent.id, countryCode.value, areaCode);\n\n if (fetchError) {\n setError(fetchError);\n } else {\n setNumberOptions(numbers || []);\n }\n\n setIsFetching(false);\n };\n\n const saveNumber = async () => {\n setIsFetching(true);\n const { error: saveError } = await saveManagedNumber(agent.id, chosenNumber.value);\n\n if (saveError) {\n setIsFetching(false);\n setError(saveError);\n } else {\n onNumberSaved();\n }\n };\n\n return (\n <Modal\n show={Boolean(agent)}\n onHide={onClose}\n closeOnClickOutside\n contentSize=\"medium\"\n contentClassName=\"tw-m-auto\"\n >\n <Modal.Header title={`Add Brivity Number for ${agent?.fullName}`}>\n <Error message={error} show={Boolean(error)} onClose={() => setError(\"\")} />\n <Divider verticalMargin=\"tw-mt-32px\" />\n </Modal.Header>\n <Modal.Body className=\"tw-px-8px\">\n <div className=\"tw-my-24px\">\n <span>Add a Brivity Number to call and text from Brivity. </span>\n <span className=\"tw-font-bold\">\n Note: numbers cannot be deleted or reassigned to other team members, so choose wisely!\n </span>\n </div>\n <Divider verticalMargin=\"tw-mb-24px\" />\n <div className=\"tw-flex tw-flex-row tw-gap-16px tw-mb-24px\">\n <div className=\"tw-flex tw-flex-col\">\n <span>Country Code</span>\n <Dropdown\n onChange={setCountryCode}\n className=\"tw-whitespace-nowrap tw-w-[260px]\"\n value={countryCode}\n options={CountryCodes}\n />\n </div>\n <div className=\"tw-flex tw-flex-col\">\n <span>Area Code</span>\n <input\n className=\"tw-w-[260px] tw-h-36px tw-text-14px tw-text-gray-99 tw-pl-12px tw-border-solid tw-border-1px tw-rounded-sm tw-border-gray-15 tw-bg-tinted-gray-50\"\n placeholder=\"Enter an area code\"\n onChange={onAreaCodeChange}\n value={areaCode}\n />\n </div>\n </div>\n <div className=\"tw-flex tw-justify-end tw-mb-24px tw-px-8px\">\n <Button\n size=\"medium\"\n schema=\"secondary\"\n disabled={!isFetching && areaCode && countryCode?.value ? \"\" : \"disabled\"}\n onClick={getNumberOptions}\n >\n Search\n </Button>\n </div>\n {numberOptions.length > 0 && (\n <div className=\"tw-mb-[68px]\">\n <Divider verticalMargin=\"tw-mb-24px\" />\n <div className=\"tw-mb-24px\">\n <span>Choose a Brivity number:</span>\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-y-8px tw-pl-16px\">\n {numberOptions.map((number, i) => (\n <div className={`tw-flex tw-whitespace-nowrap ${i % 2 === 0 ? \"\" : \"tw-ml-auto\"}`}>\n <RadioButton\n checked={chosenNumber.value === number.value}\n onChange={() => setChosenNumber(number)}\n />\n <span>{number.label}</span>\n </div>\n ))}\n </div>\n </div>\n )}\n </Modal.Body>\n <Modal.Footer>\n <Divider verticalMargin=\"tw-mb-24px\" />\n <div className=\"tw-flex tw-justify-between tw-px-8px\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={onClose}>\n Cancel\n </Button>\n <Button\n size=\"medium\"\n disabled={!isFetching && chosenNumber.value ? \"\" : \"disabled\"}\n onClick={saveNumber}\n >\n Save\n </Button>\n </div>\n </Modal.Footer>\n </Modal>\n );\n};\n\nAddBrivityPhone.propTypes = {\n agent: PropTypes.shape({\n id: PropTypes.string,\n fullName: PropTypes.string,\n }),\n onClose: PropTypes.func.isRequired,\n onNumberSaved: PropTypes.func.isRequired,\n};\n\nAddBrivityPhone.defaultProps = {\n agent: null,\n};\n\nexport default AddBrivityPhone;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Avatar from \"../../shared/v2/Avatar/Avatar\";\n\nconst NameWithAvatar = ({ name, role, avatarUrl, showPath }) => {\n const avatar = avatarUrl.length > 3 ? avatarUrl : null;\n\n return (\n <div className=\"tw-flex tw-flex-row\">\n <Avatar className=\"tw-mr-12px\" size=\"medium\" src={avatar} alt={name} />\n <div className=\"tw-flex tw-flex-col\">\n <span className=\"tw-text-14px tw-font-semibold tw-text-neutral-gray-75 tw-cursor-pointer\">\n <a href={showPath}>{name}</a>\n </span>\n <span className=\"tw-text-12px -tw-font-normal tw-text-neutral-gray-50\">{role}</span>\n </div>\n </div>\n );\n};\n\nNameWithAvatar.propTypes = {\n name: PropTypes.string.isRequired,\n role: PropTypes.string.isRequired,\n avatarUrl: PropTypes.string.isRequired,\n showPath: PropTypes.string.isRequired,\n};\n\nexport default NameWithAvatar;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Dropdown from \"../../shared/v2/Dropdown/Dropdown\";\n\nconst formatOptionLabel = ({ label, link, isCurrentNumber }) =>\n isCurrentNumber ? (\n label\n ) : (\n <a href={link} data-method=\"patch\">\n {label}\n </a>\n );\n\nconst RoutingNumbersDropdown = ({ selectedNumberId, numbers, changeRoutingNumber }) => {\n const phoneOptions = numbers.map((n) => ({\n value: n.detailId,\n label: `${n.routingNumber} (${n.category})`,\n link: n.updateRoutingPath,\n isCurrentNumber: selectedNumberId === n.detailId,\n }));\n\n const phone = phoneOptions.find((s) => s.value === selectedNumberId);\n\n return (\n <Dropdown\n className=\"tw-whitespace-nowrap tw-w-[210px]\"\n value={phone}\n options={phoneOptions}\n formatOptionLabel={formatOptionLabel}\n onChange={changeRoutingNumber}\n />\n );\n};\n\nRoutingNumbersDropdown.propTypes = {\n selectedNumberId: PropTypes.string.isRequired,\n numbers: PropTypes.arrayOf(\n PropTypes.shape({\n detailId: PropTypes.string,\n routingNumber: PropTypes.string,\n category: PropTypes.string,\n updateRoutingNumber: PropTypes.string,\n }),\n ).isRequired,\n changeRoutingNumber: PropTypes.func.isRequired,\n};\n\nexport default RoutingNumbersDropdown;\n","export const INBOUND_RECORDING_OPTIONS = [\n {\n label: \"Record Automatically\",\n value: \"automatic\",\n meta: {\n description: \"Recording will automatically start when a contact answers the phone.\",\n },\n },\n {\n label: \"Disable Recording\",\n value: \"disabled\",\n meta: {\n description: \"Recording feature will not be available for any inbound calls.\",\n },\n },\n];\n\nexport const OUTBOUND_RECORDING_OPTIONS = [\n INBOUND_RECORDING_OPTIONS[0],\n {\n label: \"Record on Demand\",\n value: \"on_demand\",\n meta: {\n description: \"Recording will not start until the caller turns it on.\",\n },\n },\n INBOUND_RECORDING_OPTIONS[1],\n];\n\nexport const ADMIN_INBOUND_RECORDING_OPTIONS = [\n INBOUND_RECORDING_OPTIONS[0],\n {\n label: \"Set Default by Brivity Number\",\n value: \"by_number\",\n meta: {\n description: \"Set recording defaults for each user with a Brivity number.\",\n },\n },\n INBOUND_RECORDING_OPTIONS[1],\n];\n\nexport const ADMIN_OUTBOUND_RECORDING_OPTIONS = [\n OUTBOUND_RECORDING_OPTIONS[1],\n OUTBOUND_RECORDING_OPTIONS[0],\n ADMIN_INBOUND_RECORDING_OPTIONS[1],\n OUTBOUND_RECORDING_OPTIONS[2],\n];\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { Control, Option, ValueContainer } from \"@shared/v2/Dropdown/custom\";\nimport Loading from \"../../Goals/components/Loader\";\n\nconst CustomControl = ({ children, componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Control className=\"tw-flex tw-justify-start\" {...componentProps}>\n {children}\n </Control>\n);\n\nCustomControl.propTypes = {\n children: PropTypes.node.isRequired,\n componentProps: PropTypes.shape().isRequired,\n};\n\nconst CustomValueContainer = ({ children, componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <ValueContainer className=\"tw-flex tw-justify-start\" {...componentProps}>\n {children}\n </ValueContainer>\n);\n\nCustomValueContainer.propTypes = {\n children: PropTypes.node.isRequired,\n componentProps: PropTypes.shape().isRequired,\n};\n\nexport const CustomOption = ({ children, componentProps, data }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Option preserveStyle {...componentProps}>\n <div className=\"tw-flex tw-flex-col\">\n {children}\n <span className=\"tw-font-normal tw-text-neutral-gray-50 tw-whitespace-break-spaces\">\n {data.meta.description}\n </span>\n </div>\n </Option>\n);\n\nCustomOption.propTypes = {\n children: PropTypes.node.isRequired,\n componentProps: PropTypes.shape().isRequired,\n data: PropTypes.shape().isRequired,\n};\n\nconst CallRecordingDropdown = ({ loading, ...props }) => (\n <div className=\"tw-relative\">\n {loading && <Loading />}\n <Dropdown\n components={{\n Control: CustomControl,\n Option: CustomOption,\n ValueContainer: CustomValueContainer,\n }}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n />\n </div>\n);\n\nCallRecordingDropdown.propTypes = {\n loading: PropTypes.bool,\n};\n\nCallRecordingDropdown.defaultProps = {\n loading: false,\n};\n\nexport default CallRecordingDropdown;\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { useSelector } from \"react-redux\";\n\nexport const initialState = {\n agentsWithPhoneUsage: [],\n trackingNumbers: [],\n};\n\nconst updateUserRecordingSettings = createAsyncThunk(\n \"phoneSettings/updateUserRecordingSettings\",\n ({ userUuid, settings: callRecordingUserSettings }, thunkApi) =>\n caseTransformingAxios\n .post(\n `/api/v4/call_recording/user_settings/${userUuid}/upsert`,\n {\n callRecordingUserSettings,\n },\n { signal: thunkApi.signal },\n )\n .then(({ data }) => data),\n);\n\nexport const phoneSettingsSlice = createSlice({\n name: \"phoneSettings\",\n initialState,\n reducers: {},\n extraReducers: (builder) => {\n builder.addCase(updateUserRecordingSettings.pending, (state, action) => {\n const agent = state.agentsWithPhoneUsage.find((agent) => agent.uuid === action.meta.arg.userUuid);\n if (agent) agent.loading = true;\n });\n builder.addCase(updateUserRecordingSettings.fulfilled, (state, action) => {\n const agent = state.agentsWithPhoneUsage.find((agent) => agent.uuid === action.meta.arg.userUuid);\n if (agent) {\n agent.loading = false;\n agent.callRecordingSettings = action.payload;\n }\n });\n builder.addCase(updateUserRecordingSettings.rejected, (state, action) => {\n const agent = state.agentsWithPhoneUsage.find((agent) => agent.uuid === action.meta.arg.userUuid);\n if (agent) agent.loading = false;\n });\n },\n});\n\nexport { updateUserRecordingSettings };\n\nexport default phoneSettingsSlice.reducer;\n\nexport const useAgentsWithPhoneUsage = () => useSelector((state) => state.phoneSettings.agentsWithPhoneUsage);\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport TextButton from \"@shared/v2/TextButton\";\n\nimport NameWithAvatar from \"./NameWithAvatar\";\nimport RoutingNumbersDropdown from \"./RoutingNumbersDropdown\";\nimport { INBOUND_RECORDING_OPTIONS, OUTBOUND_RECORDING_OPTIONS } from \"./helpers/recordingOptions\";\nimport CallRecordingDropdown from \"./CallRecordingDropdown\";\nimport { updateUserRecordingSettings } from \"../../reducers/layoutReducer/phoneSettingsReducer\";\nimport {\n useAccountCallRecordingSettings,\n useCurrentUser,\n useFeatureFlags,\n} from \"../../reducers/layoutReducer/selectors\";\n\nconst AgentRow = ({ addBrivityNumber, agent }) => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const featureFlags = useFeatureFlags();\n const accountCallRecordingSettings = useAccountCallRecordingSettings();\n const inboundByNumberDisabled = accountCallRecordingSettings?.inboundRecording !== \"by_number\";\n const outboundByNumberDisabled = accountCallRecordingSettings?.outboundRecording !== \"by_number\";\n const inboundDisabled = inboundByNumberDisabled\n ? accountCallRecordingSettings?.inboundRecording === \"disabled\"\n : agent.callRecordingSettings?.inboundRecording === \"disabled\" ||\n !agent.callRecordingSettings?.inboundRecording;\n const outboundDisabled = outboundByNumberDisabled\n ? accountCallRecordingSettings?.outboundRecording === \"disabled\"\n : agent.callRecordingSettings?.outboundRecording === \"disabled\" ||\n !agent.callRecordingSettings?.outboundRecording;\n const managedNumber = agent.managedNumber ?? (\n <TextButton onClick={() => addBrivityNumber(agent)}>Add</TextButton>\n );\n\n return (\n <tr>\n <td className=\"tw-px-[8px] tw-py-[16px]\">\n <NameWithAvatar\n aria-label=\"agent\"\n name={agent.fullName}\n role={agent.role}\n avatarUrl={agent.avatarUrl}\n showPath={agent.showPath}\n />\n </td>\n <td className=\"tw-px-[8px] tw-py-[16px]\">\n <RoutingNumbersDropdown\n aria-label=\"routing numbers\"\n numbers={agent.routingNumbers}\n selectedNumberId={agent.routingNumberId}\n />\n </td>\n <td className=\"tw-px-[8px] tw-py-[16px]\">{managedNumber}</td>\n {featureFlags.callRecording && (\n <>\n <td className=\"tw-px-[8px] tw-py-[16px] tw-align-top\">\n <CallRecordingDropdown\n aria-label=\"Inbound settings\"\n options={INBOUND_RECORDING_OPTIONS}\n isDisabled={!currentUser.account.isAdmin || inboundByNumberDisabled}\n value={INBOUND_RECORDING_OPTIONS.find(\n (o) =>\n o.value ===\n (inboundByNumberDisabled\n ? accountCallRecordingSettings?.inboundRecording\n : agent.callRecordingSettings?.inboundRecording || \"disabled\"),\n )}\n loading={agent.loading}\n onChange={(option) => {\n dispatch(\n updateUserRecordingSettings({\n userUuid: agent.uuid,\n settings: {\n inboundRecording: option.value,\n },\n }),\n );\n }}\n />\n {!inboundDisabled && (\n <div className=\"tw-ml-[2px] tw-text-12d tw-text-neutral-gray-30\">\n Notification Message:{\" \"}\n {accountCallRecordingSettings?.inboundNotificationMessageCondition === \"always\"\n ? \"Always Play\"\n : \"Check Location\"}\n </div>\n )}\n </td>\n <td className=\"tw-px-[8px] tw-py-[16px]\">\n <CallRecordingDropdown\n aria-label=\"Outbound settings\"\n options={OUTBOUND_RECORDING_OPTIONS}\n isDisabled={!currentUser.account.isAdmin || outboundByNumberDisabled}\n value={OUTBOUND_RECORDING_OPTIONS.find(\n (o) =>\n o.value ===\n (outboundByNumberDisabled\n ? accountCallRecordingSettings?.outboundRecording\n : agent.callRecordingSettings?.outboundRecording || \"disabled\"),\n )}\n loading={agent.loading}\n onChange={(option) => {\n dispatch(\n updateUserRecordingSettings({\n userUuid: agent.uuid,\n settings: {\n outboundRecording: option.value,\n },\n }),\n );\n }}\n />\n {!outboundDisabled && (\n <div className=\"tw-ml-[2px] tw-text-12d tw-text-neutral-gray-30\">\n Notification Message:{\" \"}\n {accountCallRecordingSettings?.outboundNotificationMessageCondition === \"always\"\n ? \"Always Play\"\n : \"Check Location\"}\n </div>\n )}\n </td>\n </>\n )}\n </tr>\n );\n};\n\nAgentRow.propTypes = {\n addBrivityNumber: PropTypes.func.isRequired,\n agent: PropTypes.shape({\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n uuid: PropTypes.string,\n loading: PropTypes.bool,\n managedNumber: PropTypes.string,\n fullName: PropTypes.string,\n role: PropTypes.string,\n avatarUrl: PropTypes.string,\n showPath: PropTypes.string,\n routingNumbers: PropTypes.arrayOf(PropTypes.shape({})),\n routingNumberId: PropTypes.string,\n callRecordingSettings: PropTypes.shape(),\n }).isRequired,\n};\n\nexport default AgentRow;\n","export const outboundRecordingNotificationOptions = (isPlace, isTwoPartyConsentAccount) => {\n const options = [\n {\n label: \"Always Play\",\n value: \"always\",\n meta: {\n description: \"An audio notification message will play every time recording begins.\",\n },\n },\n ];\n\n if (!isPlace) {\n options.push({\n label: \"Never Play\",\n value: \"never\",\n meta: {\n description: \"No audio message will play when recording starts.\",\n },\n });\n options.push({\n label: \"Check Location\",\n value: \"check\",\n meta: {\n description:\n \"An audio notification message will only play if the contact phone number's area code is from a state that requires 2-party consent.\",\n },\n });\n } else if (!isTwoPartyConsentAccount) {\n options.push({\n label: \"Check Location\",\n value: \"check\",\n meta: {\n description:\n \"An audio notification message will only play if the contact phone number's area code is from a state that requires 2-party consent.\",\n },\n });\n }\n\n return options;\n};\n\nexport const inboundRecordingNotificationOptions = (isPlace, isTwoPartyConsentAccount) => {\n const options = [\n {\n label: \"Always Play\",\n value: \"always\",\n meta: {\n description: \"An audio notification message will play every time recording begins.\",\n },\n },\n ];\n\n if (!isTwoPartyConsentAccount || !isPlace) {\n options.push({\n label: \"Check Location\",\n value: \"check\",\n meta: {\n description:\n \"An audio notification message will only play if the contact phone number's area code is from a state that requires 2-party consent.\",\n },\n });\n }\n\n return options;\n};\n","import React, { useState, useRef, useEffect } from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport { PlaySolidV6, PauseSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst PlayMessage = ({}) => {\n const [isPlaying, setIsPlaying] = useState(false); // Track play/pause state\n const audioRef = useRef(new Audio(\"https://dialer.staging.brivity.com/audio/start2.mp3\"));\n\n useEffect(() => {\n const audio = audioRef.current;\n\n // Handle audio ending to reset to play icon\n const handleAudioEnd = () => setIsPlaying(false);\n audio.addEventListener(\"ended\", handleAudioEnd);\n\n // Clean up event listener when component unmounts\n return () => audio.removeEventListener(\"ended\", handleAudioEnd);\n }, []);\n\n const togglePlayPause = () => {\n const audio = audioRef.current;\n\n if (isPlaying) {\n audio.pause();\n } else {\n audio.play();\n }\n\n setIsPlaying(!isPlaying);\n };\n\n return (\n <div>\n <Button size=\"small\" schema=\"tertiary\" onClick={togglePlayPause}>\n {isPlaying ? <PauseSolidV6 size=\"s\" /> : <PlaySolidV6 size=\"s\" />}\n <span className=\"tw-pl-[4px]\"> message</span>\n </Button>\n </div>\n );\n};\n\nexport default PlayMessage;\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst ShadowScroll = ({ children, className, fromColor = \"tw-from-[rgba(0,0,0,0.1)]\" }) => {\n const contentRef = useRef(null);\n useEffect(() => {\n const onScroll = () => {\n const contentDiv = contentRef.current;\n const wrapperDiv = contentDiv.parentElement;\n const shadowTopDiv = wrapperDiv.querySelector(\".tw-top-0\");\n const shadowBottomDiv = wrapperDiv.querySelector(\".tw-bottom-0\");\n const contentScrollHeight = contentDiv.scrollHeight - wrapperDiv.offsetHeight;\n const currentScroll = contentDiv.scrollTop / contentScrollHeight;\n shadowTopDiv.style.opacity = currentScroll;\n shadowBottomDiv.style.opacity = 1 - currentScroll;\n };\n contentRef.current.addEventListener(\"scroll\", onScroll);\n return () => contentRef.current.removeEventListener(\"scroll\", onScroll);\n }, []);\n\n return (\n <div className=\"tw-relative\">\n <div\n className={`tw-content-[''] tw-absolute tw-left-0 tw-w-full tw-h-[8px] tw-top-0 tw-bg-gradient-to-b ${fromColor} tw-to-transparent tw-opacity-0`}\n />\n <div\n className={`tw-content-[''] tw-absolute tw-left-0 tw-w-full tw-h-[8px] tw-bottom-0 tw-bg-gradient-to-t ${fromColor} tw-to-transparent`}\n />\n <div ref={contentRef} className={`tw-overflow-auto ${className}`}>\n {children}\n </div>\n </div>\n );\n};\n\nShadowScroll.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n fromColor: PropTypes.string,\n};\n\nShadowScroll.defaultProps = {\n className: \"\",\n fromColor: \"tw-from-[rgba(0,0,0,0.1)]\",\n};\n\nexport default ShadowScroll;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Transition } from \"react-transition-group\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport ShadowScroll from \"@shared/v2/ShadowScroll\";\n\nconst transitionStyles = {\n entering: \"tw-opactiy-0 tw-max-h-0\",\n entered: \"tw-opacity-1 tw-max-h-[500px] tw-overflow-visible\",\n exiting: \"tw-opacity-0 tw-max-h-0\",\n exited: \"tw-opacity-0 tw-max-h-0 tw-mt-[-8px] tw-overflow-hidden\",\n};\nconst NoticeTwoPartyConsent = ({ showTwoPartyNotice, agreeTwoParty, setAgreeTwoParty }) => {\n const twoPartyRef = useRef(null);\n\n return (\n <Transition in={showTwoPartyNotice} nodeRef={twoPartyRef}>\n {(state) => (\n <div\n ref={twoPartyRef}\n className={`tw-transition-all tw-duration-300 tw-ease-linear ${transitionStyles[state]}`}\n >\n <Alert\n variant=\"warning\"\n title=\"Notice: 2-Party Recording Consent Laws\"\n text={\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <ShadowScroll\n className=\"tw-flex tw-flex-col tw-gap-[4px] tw-max-h-[116px]\"\n fromColor=\"tw-from-semantic-yellow-5\"\n >\n <div>\n Certain countries, states, and jurisdictions require the consent of all parties to record\n telephone conversations. By disabling the notification feature and subsequently recording\n telephone conversations without providing proper notice and consent, you may be in\n violation of federal and/or state law.\n </div>\n <div>\n By selecting the "I agree" checkbox, the Brivity account owner agrees without\n reservation or limitation, to defend, indemnify, and hold harmless Brivity Inc, its parent\n companies, affiliates, and their respective directors, officers, employees, and agents\n from and against any and all losses, damages, claims, liabilities, penalties, fines,\n judgments, settlements, actions, suits, proceedings, litigation, investigations, legal\n costs and expenses, and demands made by any party due to or arising out of the use of the\n Brivity Dialer call recording feature by the Brivity account owner and/or his/her/its\n employees, agents, affiliates, or representatives.\n </div>\n </ShadowScroll>\n <div className=\"tw-flex tw-gap-[8px] tw-justify-between tw-items-center\">\n <Checkbox\n label=\"I agree\"\n labelClassName=\"!tw-text-inherit\"\n checked={agreeTwoParty}\n onChange={(e) => setAgreeTwoParty(e.target.checked)}\n />\n <Button\n schema=\"secondary\"\n size=\"small\"\n className=\"!tw-text-semantic-yellow-120 !tw-border-inherit\"\n onClick={() =>\n window.open(\"https://our.place.com/spaces/64/call-recording/call-recording\", \"_blank\")\n }\n >\n Learn More\n </Button>\n </div>\n </div>\n }\n >\n Two party consent\n </Alert>\n </div>\n )}\n </Transition>\n );\n};\nNoticeTwoPartyConsent.propTypes = {\n setAgreeTwoParty: PropTypes.func,\n showTwoPartyNotice: PropTypes.bool,\n agreeTwoParty: PropTypes.bool,\n};\nNoticeTwoPartyConsent.defaultProps = {\n showTwoPartyNotice: false,\n agreeTwoParty: false,\n setAgreeTwoParty: () => {},\n};\nexport default NoticeTwoPartyConsent;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport {\n ADMIN_INBOUND_RECORDING_OPTIONS,\n ADMIN_OUTBOUND_RECORDING_OPTIONS,\n} from \"./helpers/recordingOptions\";\nimport {\n outboundRecordingNotificationOptions,\n inboundRecordingNotificationOptions,\n} from \"./helpers/recordingNotificationOptions\";\nimport { CustomOption } from \"./CallRecordingDropdown\";\nimport {\n useAccountCallRecordingLoading,\n useAccountCallRecordingSettings,\n useIsPlace,\n useIsTwoPartyState,\n} from \"../../reducers/layoutReducer/selectors\";\nimport { updateAccountRecordingSettings } from \"../../reducers/layoutReducer\";\nimport PlayMessage from \"./PlayMessage\";\nimport NoticeTwoPartyConsent from \"./NoticeTwoPartyConsent\";\n\nconst TeamCallRecordingSettingsModal = ({ onClose, open }) => {\n const dispatch = useDispatch();\n const loading = useAccountCallRecordingLoading();\n const accountCallRecordingSettings = useAccountCallRecordingSettings();\n const isPlace = useIsPlace();\n const isTwoPartyState = useIsTwoPartyState();\n const [formData, setFormData] = React.useState({});\n\n // const showTwoPartyNotice =\n // formData.inboundNotificationMessage === false || formData.outboundNotificationMessage === false;\n const showTwoPartyNotice =\n formData.inboundNotificationMessageCondition !== \"always\" ||\n formData.outboundNotificationMessageCondition !== \"always\";\n const initialAgreeTwoParty =\n accountCallRecordingSettings.inboundNotificationMessageCondition !== \"always\" ||\n accountCallRecordingSettings.outboundNotificationMessageCondition !== \"always\";\n const [agreeTwoParty, setAgreeTwoParty] = React.useState(initialAgreeTwoParty);\n\n const setFormValue = (optOrEvent, action) => {\n const target = optOrEvent?.target;\n setFormData((prev) => ({\n ...prev,\n [action?.name || target.name]: optOrEvent.value || target.checked,\n }));\n };\n\n useEffect(() => {\n if (showTwoPartyNotice) setAgreeTwoParty(initialAgreeTwoParty);\n }, [showTwoPartyNotice]);\n\n useEffect(() => {\n if (accountCallRecordingSettings && open) {\n setFormData(accountCallRecordingSettings);\n setAgreeTwoParty(initialAgreeTwoParty);\n }\n }, [accountCallRecordingSettings, open]);\n\n const outboundNotificationOptions = outboundRecordingNotificationOptions(isPlace, isTwoPartyState);\n const inboundNotificationOptions = inboundRecordingNotificationOptions(isPlace, isTwoPartyState);\n\n return (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"tw-max-w-[762px] tw-w-full\"\n contentClassName=\"tw-w-[762px] tw-max-h-[90vh] tw-flex\"\n show={open}\n onHide={onClose}\n >\n <form\n className=\"tw-flex tw-flex-col tw-gap-[32px]\"\n onSubmit={(e) => {\n e.preventDefault();\n dispatch(updateAccountRecordingSettings(formData)).then(onClose);\n }}\n >\n <Modal.Header\n closeButton\n title=\"Team Call Recording Settings\"\n description={\n <div>\n <span>\n These call recording settings will apply to outgoing calls made by all team members from the\n Brivity CRM, Brivity GO, and incoming calls to any Brivity Number. Learn more about{\" \"}\n <TextLink href={\"https://our.place.com/spaces/64/call-recording/call-recording\"}>\n recommended settings\n </TextLink>\n .\n </span>\n {isTwoPartyState && (\n <div className=\"tw-pt-[26px]\">\n <div className=\"tw-bg-gray-5 tw-border-[2px] tw-border-neutral-gray-10 tw-border-solid tw-rounded-[2px]\">\n <div className=\"tw-px-[16px] tw-py-[12px]\">\n <div className=\"tw-font-semibold tw-text-14d tw-text-gray-75\">\n Your business is located in a state that requires 2-party consent to record\n </div>\n <div className=\"tw-text-12d tw-text-gray-75\">\n Your settings are restricted to protect you from legal risk when recording phone\n calls.\n </div>\n </div>\n </div>\n </div>\n )}\n </div>\n }\n />\n <Modal.Body className=\"tw-flex-1 tw-overflow-auto\">\n <div className=\"!tw-grid tw-grid-cols-2 tw-gap-[40px] tw-justify-between tw-pb-[16px]\">\n <div>\n <h3 className=\"tw-text-18d tw-font-bold tw-m-0 tw-pb-[16px]\">Inbound Calls</h3>\n <Dropdown\n label=\"Inbound Recording\"\n components={{ Option: CustomOption }}\n options={ADMIN_INBOUND_RECORDING_OPTIONS}\n value={ADMIN_INBOUND_RECORDING_OPTIONS.find((o) => o.value === formData.inboundRecording)}\n name=\"inboundRecording\"\n menuShouldComeToFront\n onChange={setFormValue}\n />\n </div>\n <div>\n <h3 className=\"tw-text-18d tw-font-bold tw-m-0 tw-pb-[16px]\">Outbound Calls</h3>\n <Dropdown\n label=\"Outbound Recording\"\n components={{ Option: CustomOption }}\n options={ADMIN_OUTBOUND_RECORDING_OPTIONS}\n value={ADMIN_OUTBOUND_RECORDING_OPTIONS.find((o) => o.value === formData.outboundRecording)}\n name=\"outboundRecording\"\n menuShouldComeToFront\n onChange={setFormValue}\n />\n </div>\n </div>\n\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-[40px] tw-justify-between tw-pb-[16px]\">\n {formData.inboundRecording !== \"disabled\" ? (\n <Dropdown\n label=\"Notification Message\"\n components={{ Option: CustomOption }}\n options={inboundNotificationOptions}\n value={inboundNotificationOptions.find(\n (o) => o.value === formData.inboundNotificationMessageCondition,\n )}\n name=\"inboundNotificationMessageCondition\"\n menuShouldComeToFront\n onChange={setFormValue}\n toolTipPlacement=\"top\"\n toolTipInfoContent={\n <div className=\"tw-text-left tw-text-14d tw-w-[217px]\">\n Audio notification message must always play for businesses operating in states that\n require 2-party consent to record phone calls.\n </div>\n }\n />\n ) : (\n <div />\n )}\n {formData.outboundRecording !== \"disabled\" ? (\n <Dropdown\n label=\"Notification Message\"\n components={{ Option: CustomOption }}\n options={outboundNotificationOptions}\n value={outboundNotificationOptions.find(\n (o) => o.value === formData.outboundNotificationMessageCondition,\n )}\n name=\"outboundNotificationMessageCondition\"\n menuShouldComeToFront\n onChange={setFormValue}\n toolTipPlacement=\"top\"\n toolTipInfoContent={\n <div className=\"tw-text-left tw-text-14d tw-w-[217px]\">\n Audio notification message must always play for businesses operating in states that\n require 2-party consent to record phone calls.\n </div>\n }\n />\n ) : (\n <div />\n )}\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-[40px] tw-justify-between tw-pb-[16px]\">\n {formData.inboundRecording !== \"disabled\" ? <PlayMessage /> : <div />}\n {formData.outboundRecording !== \"disabled\" ? <PlayMessage /> : <div />}\n </div>\n\n <NoticeTwoPartyConsent\n showTwoPartyNotice={showTwoPartyNotice}\n agreeTwoParty={agreeTwoParty}\n setAgreeTwoParty={setAgreeTwoParty}\n />\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-gap-[12px] tw-justify-between\">\n <Button size=\"medium\" schema=\"tertiary\" disabled={loading} onClick={onClose}>\n Cancel\n </Button>\n <Button\n size=\"medium\"\n type=\"submit\"\n isLoading={loading}\n disabled={showTwoPartyNotice && !agreeTwoParty}\n >\n Save\n </Button>\n </Modal.Footer>\n </form>\n </Modal>\n );\n};\n\nTeamCallRecordingSettingsModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n open: PropTypes.bool.isRequired,\n};\n\nexport default TeamCallRecordingSettingsModal;\n","import React, { useRef, useState } from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport { GearSolidV6 } from \"@shared/v2/Icomoon\";\n\nimport { Section, SectionLabel } from \"../../Reports/components/BusinessDashboard\";\nimport Tooltip from \"../../shared/v2/Tooltip\";\nimport CircleInfoSolidV6 from \"../../shared/v2/Icomoon/Icons/CircleInfoSolidV6\";\nimport AddBrivityPhone from \"./AddBrivityPhone\";\nimport AgentRow from \"./AgentRow\";\nimport { checkForRoutingNumber } from \"./services\";\nimport Error from \"../../Reports/components/DashboardShared/Error\";\nimport TeamCallRecordingSettingsModal from \"./TeamCallRecordingSettingsModal\";\nimport { useAgentsWithPhoneUsage } from \"../../reducers/layoutReducer/phoneSettingsReducer\";\nimport {\n useAccountCallRecordingSettings,\n useCurrentUser,\n useFeatureFlags,\n} from \"../../reducers/layoutReducer/selectors\";\n\nconst PhoneSettings = () => {\n const currentUser = useCurrentUser();\n const featureFlags = useFeatureFlags();\n const agentsWithPhoneUsage = useAgentsWithPhoneUsage();\n const accountCallRecordingSettings = useAccountCallRecordingSettings();\n const [agentToAddNumber, setAgentToAddNumber] = useState(null);\n const [error, setError] = useState(\"\");\n const [isCallRecordingModalOpen, setIsCallRecordingModalOpen] = useState(false);\n const ErrorRef = useRef();\n\n const onManageNumberModalClosed = () => {\n setAgentToAddNumber(null);\n };\n\n const onNumberSaved = () => {\n setAgentToAddNumber(null);\n\n window.location.reload();\n };\n\n const addBrivityNumber = async (agent) => {\n const { error: errorOnAdd } = await checkForRoutingNumber(agent.id);\n\n if (errorOnAdd) {\n setError(errorOnAdd);\n ErrorRef?.current.scrollIntoView({\n behavior: \"smooth\",\n block: \"center\",\n });\n } else {\n setAgentToAddNumber(agent);\n }\n };\n\n return (\n <div className=\"tw-flex tw-flex-col tw-items-stretch tw-flex-wrap tw-gap-8px tw-bg-tinted-gray-50 tw-p-16px\">\n <Section className=\"tw-p-[32px] tw-gap-8px\">\n <span className=\"tw-text-28px tw-text-gray-75\">Phone Settings</span>\n <div ref={ErrorRef}>\n <Error message={error} show={Boolean(error)} onClose={() => setError(\"\")} />\n </div>\n <span className=\"tw-text-14px\">\n If you need help, visit <TextLink href=\"https://support.brivity.com/\">Brivity Support</TextLink> to\n learn more.\n </span>\n </Section>\n <Section className=\"tw-relative tw-p-[32px] bs-xs:tw-p-32px\">\n <div className=\"tw-pb-32px tw-flex tw-justify-between\">\n <SectionLabel>Brivity Numbers</SectionLabel>\n {featureFlags.callRecording && currentUser.account.isAdmin && (\n <Button size=\"medium\" schema=\"secondary\" onClick={() => setIsCallRecordingModalOpen(true)}>\n <GearSolidV6 className=\"tw-mr-[6px]\" />\n Call Recording\n </Button>\n )}\n </div>\n <div className=\"tw-width-auto tw-relative tw-flex tw-flex-col tw-flex-nowrap tw-overflow-auto\">\n <table>\n <thead className=\"tw-whitespace-nowrap\">\n <tr>\n <th className=\"tw-p-[8px] tw-border-b-[1px] tw-border-solid tw-border-gray-15 tw-border-t-0 tw-border-x-0\">\n <span className=\"tw-text-12px tw-text-gray-50 tw-font-normal\">Agent Name</span>\n </th>\n <th className=\"tw-p-[8px] tw-border-b-[1px] tw-border-solid tw-border-gray-15 tw-border-t-0 tw-border-x-0\">\n <div className=\"tw-flex tw-gap-8px\">\n <span className=\"tw-text-12px tw-text-gray-50 tw-font-normal tw-flex tw-gap-[4px]\">\n Routing Number\n <Tooltip\n innerClassName=\"tw-max-w-[300px]\"\n placement=\"right\"\n content=\"Used for Brivity notifications, texting, and click-to-call\"\n trigger={<CircleInfoSolidV6 />}\n />\n </span>\n </div>\n </th>\n <th className=\"tw-p-[8px] tw-border-b-[1px] tw-border-solid tw-border-gray-15 tw-border-t-0 tw-border-x-0\">\n <span className=\"tw-text-12px tw-text-gray-50 tw-font-normal\">Brivity Number</span>\n </th>\n {featureFlags.callRecording && (\n <>\n <th className=\"tw-p-[8px] tw-border-b-[1px] tw-border-solid tw-border-gray-15 tw-border-t-0 tw-border-x-0\">\n <span className=\"tw-text-12px tw-text-gray-50 tw-font-normal tw-flex tw-gap-[4px]\">\n Inbound Call Recording\n {accountCallRecordingSettings.inboundRecording !== \"by_number\" && (\n <Tooltip\n innerClassName=\"tw-max-w-[300px]\"\n trigger={<CircleInfoSolidV6 />}\n content=\"This has been set for all accounts. Go to Call Recording settings to update.\"\n />\n )}\n </span>\n </th>\n <th className=\"tw-p-[8px] tw-border-b-[1px] tw-border-solid tw-border-gray-15 tw-border-t-0 tw-border-x-0\">\n <span className=\"tw-text-12px tw-text-gray-50 tw-font-normal tw-flex tw-gap-[4px]\">\n Outbound Call Recording\n {accountCallRecordingSettings.outboundRecording !== \"by_number\" && (\n <Tooltip\n innerClassName=\"tw-max-w-[300px]\"\n trigger={<CircleInfoSolidV6 />}\n content=\"This has been set for all accounts. Go to Call Recording settings to update.\"\n />\n )}\n </span>\n </th>\n </>\n )}\n </tr>\n </thead>\n <tbody className=\"tw-whitespace-nowrap\">\n {agentsWithPhoneUsage.map((agent) => (\n <AgentRow key={agent.uuid} agent={agent} addBrivityNumber={addBrivityNumber} />\n ))}\n </tbody>\n </table>\n </div>\n </Section>\n\n <AddBrivityPhone\n agent={agentToAddNumber}\n onClose={onManageNumberModalClosed}\n onNumberSaved={onNumberSaved}\n />\n\n <TeamCallRecordingSettingsModal\n open={isCallRecordingModalOpen}\n onClose={() => setIsCallRecordingModalOpen(false)}\n />\n </div>\n );\n};\n\nexport default PhoneSettings;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport PhoneSettings from \"./PhoneSettings\";\n\nconst PhoneSettingsApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n <Provider store={store}>\n <PhoneSettings />\n </Provider>\n );\n};\n\nexport default PhoneSettingsApp;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport colors from \"../../Reports/components/DashboardShared/helpers/colors\";\n\nconst Section = ({ children, className, isEditing }) => (\n <div\n className={`tw-bg-white tw-p-[16px] sm:tw-p-[32px] tw-w-full tw-border-solid tw-border-[1px] tw-border-neutral-gray-10 tw-rounded-[8px] ${\n isEditing\n ? `tw-ring-2 ${\n colors.theme === \"brivity\"\n ? \"tw-border-brivity-blue-100 tw-ring-brivity-blue-40\"\n : \"tw-border-semantic-blue-100 tw-ring-semantic-blue-25\"\n }`\n : \"\"\n } ${className}`}\n >\n {children}\n </div>\n);\n\nSection.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n isEditing: PropTypes.bool,\n};\n\nSection.defaultProps = {\n className: \"\",\n isEditing: false,\n};\n\nexport default Section;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\n \"tw-border-theme-button-toggle-option\",\n \"tw-bg-theme-button-toggle-option\",\n \"tw-text-theme-button-toggle-option\",\n \"tw-font-normal\",\n ],\n hover: [\n \"hover:tw-border-theme-button-toggle-option-hover\",\n \"hover:tw-bg-theme-button-toggle-option-hover\",\n \"hover:tw-text-theme-button-toggle-option-hover\",\n \"hover:tw-font-normal\",\n ],\n peerChecked: [\n \"peer-checked:tw-border-theme-button-toggle-option-checked\",\n \"peer-checked:tw-bg-theme-button-toggle-option-checked\",\n \"peer-checked:tw-text-theme-button-toggle-option-checked\",\n \"peer-checked:tw-font-semibold\",\n ],\n peerFocusVisible: [\"peer-focus-visible:tw-outline-theme\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport schemaStyle from \"./ButtonToggleOption.styles\";\n\nconst ButtonToggleOption = ({ className, name, label, value, checked, onChange, ...otherProps }) => (\n <label className=\"tw-m-0 tw-cursor-pointer\">\n <input\n type=\"radio\"\n name={name}\n value={value}\n checked={checked}\n className=\"tw-sr-only tw-peer\"\n onChange={onChange}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n\n <div\n role=\"radio\"\n aria-checked={checked}\n className={`\n tw-inline-flex tw-justify-center tw-items-center\n tw-w-[36px] tw-h-[36px]\n tw-border-solid tw-border-[1px] tw-rounded-[2px]\n tw-text-14d\n ${schemaStyle.regular}\n ${className}\n `}\n >\n {label}\n </div>\n </label>\n);\n\nButtonToggleOption.propTypes = {\n className: PropTypes.string,\n name: PropTypes.string,\n label: PropTypes.node.isRequired,\n value: PropTypes.string.isRequired,\n checked: PropTypes.bool,\n onChange: PropTypes.func,\n};\n\nButtonToggleOption.defaultProps = {\n className: \"\",\n name: null,\n checked: false,\n onChange: null,\n};\n\nexport default ButtonToggleOption;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport ButtonToggleOption from \"./ButtonToggleOption\";\n\nconst ButtonToggle = ({ className, name: nameFromProps, value, options, onChange, ...otherProps }) => {\n const name = useGivenOrGeneratedId(\"button-toggle\", nameFromProps);\n\n return (\n <div\n role=\"radiogroup\"\n className={`\n tw-inline-flex tw-justify-center tw-items-center\n tw-gap-[4px]\n ${className}\n `}\n >\n {options.map((option) => (\n <ButtonToggleOption\n key={option.value}\n name={name}\n label={option.label}\n value={option.value}\n checked={value === option.value}\n onChange={onChange}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n ))}\n </div>\n );\n};\n\nButtonToggle.propTypes = {\n className: PropTypes.string,\n name: PropTypes.string,\n value: PropTypes.string.isRequired,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.node,\n value: PropTypes.string,\n }),\n ).isRequired,\n onChange: PropTypes.func,\n};\n\nButtonToggle.defaultProps = {\n className: \"\",\n name: null,\n onChange: null,\n};\n\nexport default ButtonToggle;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FloatingForm from \"../../shared/v2/Modal/FloatingForm\";\nimport Checkbox from \"../../shared/v2/Checkbox/Checkbox\";\n\nconst DeleteGoalTypeModal = ({ displayName, onClose, onDelete, show }) => {\n const [hasAgreedToTerms, setHasAgreedToTerms] = useState(false);\n return (\n <FloatingForm\n show={show}\n title=\"Are you sure?\"\n onCancel={onClose}\n onSecondary={onClose}\n onPrimary={onDelete}\n primaryOption=\"Delete Custom Goal and Goal Data\"\n primaryProps={{ schema: \"warning\", disabled: !hasAgreedToTerms }}\n closeOnClickOutside\n closeOnEscape\n >\n <div className=\"tw-flex tw-flex-col tw-gap-[16px]\">\n <p>\n Are you sure you want to delete <span className=\"tw-font-bold\">{displayName}</span>? This action\n cannot be undone.\n </p>\n <p>\n Corresponding goal and tracking data for all users in your account will also be deleted. You will no\n longer be able to view past data on this goal.\n </p>\n <Checkbox\n checked={hasAgreedToTerms}\n onChange={(e) => setHasAgreedToTerms(e.target.checked)}\n label=\"I understand that by deleting this goal, I will be deleting all data corresponding to this goal and that this action cannot be undone. Brivity is not liable for lost data, nor are we able to retrieve it.\"\n />\n </div>\n </FloatingForm>\n );\n};\n\nDeleteGoalTypeModal.propTypes = {\n displayName: PropTypes.string.isRequired,\n onClose: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n};\n\nexport default DeleteGoalTypeModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport format from \"@shared/formatters\";\nimport NumberField from \"./NumberField\";\nimport DashTooltip from \"../../Reports/components/DashboardShared/DashTooltip\";\nimport TextInput from \"../../shared/v2/TextInput/TextInput\";\nimport ButtonToggle from \"../../shared/v2/ButtonToggle/ButtonToggle\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport { Trash } from \"../../shared/v2/Icomoon\";\nimport DeleteGoalTypeModal from \"./DeleteGoalTypeModal\";\n\nconst getTooltipText = ({ name }) => {\n if (name === \"per_agent_productivity\") return \"Per Agent Productivity\";\n if (name === \"contacts\") return 'Calls made with an outcome of \"Talked\"';\n if (name === \"signings\")\n return 'Signing appointments completed with an outcome of \"Signed - Buyer Agreement\", \"Signed - Listing Agreement\", or \"Signed - Both Buyer/Listing\"';\n return \"\";\n};\n\nconst Goal = ({ editedGoal, goal, goalType, isDefault, isEditing, onChange, onDelete }) => {\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const isCustomGoal = isDefault && goalType.accountId !== null;\n return (\n <div className=\"tw-flex tw-items-center tw-min-h-[52px] tw-gap-[12px]\">\n {isEditing && isCustomGoal ? (\n <div className=\"tw-flex-1\">\n <TextInput\n value={editedGoal?.displayName || goalType.displayName}\n onChange={(e) => onChange(\"displayName\")(e.target.value)}\n />\n </div>\n ) : (\n <label\n className=\"tw-flex-1 tw-min-w-[160px] tw-text-14d tw-font-semibold tw-text-gray-75 tw-m-0\"\n htmlFor={goalType.name}\n >\n {goalType.displayName} <DashTooltip text={getTooltipText(goalType)} />\n </label>\n )}\n\n {isEditing ? (\n <div className=\"tw-flex tw-items-center tw-flex-1 tw-gap-[4px]\">\n <NumberField\n format={goalType.precision ? \"decimal\" : editedGoal?.format || goalType.format}\n precision={goalType.precision}\n id={goalType.name}\n name={goalType.id}\n defaultValue={editedGoal?.goalValue !== undefined ? editedGoal.goalValue : goal?.goalValue || 0}\n onChange={onChange(\"goalValue\")}\n />\n {isCustomGoal && (\n <>\n <ButtonToggle\n options={[\n { label: \"$\", value: \"currency\" },\n { label: \"#\", value: \"number\" },\n ]}\n value={editedGoal?.format || goalType.format}\n onChange={(e) => onChange(\"format\")(e.target.value)}\n />\n <IconButton schema=\"transparent\" onClick={() => setShowDeleteModal(true)}>\n <Trash />\n </IconButton>\n </>\n )}\n </div>\n ) : (\n <p className=\"tw-m-0 tw-flex-1\">\n {format[goalType.format](\n goal?.goalValue || 0,\n (goal?.goalValue || 0) % 1 > 0 ? goalType.precision : 0,\n )}\n </p>\n )}\n\n <DeleteGoalTypeModal\n displayName={goalType.displayName}\n onClose={() => setShowDeleteModal(false)}\n onDelete={() => onDelete(goalType)}\n show={showDeleteModal}\n />\n </div>\n );\n};\n\nGoal.propTypes = {\n editedGoal: PropTypes.shape(),\n isDefault: PropTypes.bool,\n isEditing: PropTypes.bool.isRequired,\n onChange: PropTypes.func.isRequired,\n onDelete: PropTypes.func,\n goal: PropTypes.shape({\n goalValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }),\n goalType: PropTypes.shape({\n accountId: PropTypes.number,\n format: PropTypes.string,\n precision: PropTypes.number,\n name: PropTypes.string,\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n displayName: PropTypes.string,\n }).isRequired,\n};\n\nGoal.defaultProps = {\n editedGoal: undefined,\n goal: undefined,\n isDefault: false,\n onDelete: () => {},\n};\n\nexport default Goal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport HeadingSelect from \"./HeadingSelect\";\nimport Button from \"../../shared/v2/Button\";\nimport Tab from \"../../shared/v2/Tab\";\nimport TabBar from \"../../shared/v2/TabBar\";\n\nconst SectionHeader = ({\n agent,\n description,\n isEditing,\n name,\n onSubmit,\n onTabClick,\n options,\n period,\n selectedTab,\n setIsEditing,\n setPeriod,\n tabs,\n title,\n}) => (\n <div className=\"tw-pb-[12px] tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-neutral-gray-10\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <HeadingSelect\n disabled={isEditing}\n name={name}\n onChange={setPeriod}\n options={options}\n title={title}\n value={period}\n />\n\n {!isEditing && (\n <Button size=\"medium\" schema=\"secondary\" onClick={() => setIsEditing(true)}>\n Edit\n </Button>\n )}\n\n {isEditing && (\n <div>\n <Button className=\"tw-mr-6\" size=\"medium\" schema=\"tertiary\" onClick={() => setIsEditing(false)}>\n Close\n </Button>\n <Button size=\"medium\" schema=\"primary\" onClick={onSubmit}>\n Save\n </Button>\n </div>\n )}\n </div>\n\n {agent?.value && (\n <div className=\"tw-uppercase tw-text-neutral-gray-50 tw-text-14d tw-font-bold tw-my-[20px]\">\n {agent.label}'s Goals\n </div>\n )}\n\n {tabs && (\n <TabBar className=\"tw-mt-[24px] tw-mb-[16px]\">\n {tabs.map((tab) => {\n const selected = selectedTab === tab;\n return (\n <Tab\n key={tab}\n disabled={!selected && isEditing}\n label={tab}\n selected={selected}\n onClick={() => onTabClick(tab)}\n />\n );\n })}\n </TabBar>\n )}\n\n <div className=\"tw-text-14d tw-text-gray-50 tw-mt-4\">{description}</div>\n </div>\n);\n\nSectionHeader.propTypes = {\n agent: PropTypes.shape({ label: PropTypes.string, value: PropTypes.string }),\n description: PropTypes.string.isRequired,\n isEditing: PropTypes.bool.isRequired,\n name: PropTypes.string.isRequired,\n onSubmit: PropTypes.func.isRequired,\n onTabClick: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.string).isRequired,\n period: PropTypes.string.isRequired,\n setIsEditing: PropTypes.func.isRequired,\n setPeriod: PropTypes.func.isRequired,\n tabs: PropTypes.arrayOf(PropTypes.string),\n selectedTab: PropTypes.string,\n title: PropTypes.string.isRequired,\n};\n\nSectionHeader.defaultProps = {\n agent: null,\n onTabClick: () => {},\n tabs: null,\n selectedTab: \"\",\n};\n\nexport default SectionHeader;\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { replace } from \"lodash\";\nimport Section from \"./Section\";\nimport { PERIOD_OPTIONS } from \"./HeadingSelect\";\nimport Goal from \"./Goal\";\nimport Loader from \"./Loader\";\nimport useGoals, { goalValueToYearly } from \"../services/useGoals\";\nimport SectionHeader from \"./SectionHeader\";\n\nconst TeamBusinessGoals = ({ year, isAdmin }) => {\n const businessFormRef = useRef(null);\n const businessAgentFormRef = useRef(null);\n const [period, setPeriod] = useState(PERIOD_OPTIONS[0]);\n const [isEditing, setIsEditing] = useState(false);\n const businessGoals = useGoals({\n year,\n period,\n section: \"business\",\n load: isAdmin,\n });\n const businessAgentGoals = useGoals({\n year,\n period,\n section: \"business_agent\",\n load: isAdmin,\n });\n\n const submitGoals = (ref, section) => (e) => {\n e.preventDefault();\n const data = Object.fromEntries(new FormData(ref.current));\n\n Object.keys(data).forEach((key) => {\n const oldGoal = section.goals[key] || { goalTypeId: key };\n const goalType = businessAgentGoals.goalTypes.find((x) => x.id === oldGoal.goalTypeId)?.name || \"\";\n const goal = {\n ...oldGoal,\n goalValue: goalValueToYearly(replace(data[key], /,/g, \"\") || 0, period, goalType),\n year,\n };\n\n if (goal.goalValue === String(oldGoal.goalValue)) return;\n\n if (goal.id) {\n section.actions.updateGoal(goal);\n } else {\n section.actions.createGoal(goal);\n }\n });\n\n setIsEditing(false);\n };\n\n if (!isAdmin) return null;\n\n return (\n <Section className=\"tw-basis-[500px] tw-grow\" isEditing={isEditing}>\n <SectionHeader\n description=\"Set annual business goals for your team based on units sold, units listed, units pended, closed volume, gross commission income (GCI).\"\n isEditing={isEditing}\n name=\"teamBusinessGoalsPeriod\"\n onSubmit={(e) => {\n submitGoals(businessFormRef, businessGoals)(e);\n submitGoals(businessAgentFormRef, businessAgentGoals)(e);\n }}\n options={PERIOD_OPTIONS}\n period={period}\n setIsEditing={setIsEditing}\n setPeriod={setPeriod}\n title=\"Team Business Goals\"\n />\n\n <div className=\"tw-flex flex tw-flex-col tw-relative\">\n <div className=\"tw-flex tw-justify-between tw-flex-wrap tw-gap-[16px]\">\n <form ref={businessFormRef} className=\"tw-flex tw-flex-col tw-grow\">\n {businessGoals.goalTypes.map((goalType) => (\n <Goal\n key={goalType.id}\n isEditing={isEditing}\n goalType={goalType}\n goal={businessGoals.goals[goalType.id]}\n onChange={() => {}}\n />\n ))}\n </form>\n <form ref={businessAgentFormRef} className=\"tw-flex tw-flex-col tw-grow\">\n {businessAgentGoals.goalTypes.map((goalType) => (\n <Goal\n key={goalType.id}\n isEditing={isEditing}\n goalType={goalType}\n goal={businessAgentGoals.goals[goalType.id]}\n onChange={() => {}}\n />\n ))}\n </form>\n </div>\n\n {(businessGoals.loading || businessAgentGoals.loading) && <Loader />}\n </div>\n </Section>\n );\n};\n\nTeamBusinessGoals.propTypes = {\n isAdmin: PropTypes.bool.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default TeamBusinessGoals;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPlus } from \"@fortawesome/free-solid-svg-icons\";\n\nconst PlusIcon = () => <FontAwesomeIcon icon={faPlus} />;\n\nexport default PlusIcon;\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { snakeCase } from \"lodash\";\nimport Checkbox from \"../../shared/v2/Checkbox/Checkbox\";\nimport FloatingForm from \"../../shared/v2/Modal/FloatingForm\";\nimport TextInput from \"../../shared/v2/TextInput/TextInput\";\nimport NumberField from \"./NumberField\";\n\nconst formToData = (form) => ({\n goal: {\n default: true,\n goal_value: form.elements.goal_value.value.replaceAll(\",\", \"\"),\n },\n goalType: {\n display_name: form.elements.display_name.value,\n format: form.elements.format.checked ? \"currency\" : \"number\",\n name: snakeCase(form.elements.display_name.value),\n },\n});\n\nconst checkFormValidity = (form) => {\n const errors = {};\n if (!form.elements.display_name.value.trim()) errors.display_name = \"This field is required\";\n return Object.keys(errors).length > 0 ? errors : true;\n};\n\nconst CustomActivityGoalModal = ({ onClose, onSubmit, show }) => {\n const formRef = useRef(null);\n const [errors, setErrors] = useState(null);\n const [isCurrency, setIsCurrency] = useState(false);\n\n const handleSubmit = (e) => {\n e.preventDefault();\n const formErrorsOrValid = checkFormValidity(formRef.current);\n if (formErrorsOrValid === true) onSubmit(formToData(formRef.current));\n else setErrors(formErrorsOrValid);\n };\n\n return (\n <FloatingForm\n title=\"Add new custom goal\"\n onCancel={onClose}\n show={show}\n onSecondary={onClose}\n primaryOption=\"Add\"\n onPrimary={handleSubmit}\n closeOnClickOutside\n closeOnEscape\n >\n <form\n ref={formRef}\n className=\"tw-flex tw-flex-col tw-gap-[24px]\"\n onSubmit={handleSubmit}\n onChange={() => setErrors(null)}\n >\n <div>\n <label htmlFor=\"goalName\">\n Goal Name <span className=\"tw-text-semantic-red-100\">*</span>\n </label>\n <TextInput id=\"goalName\" name=\"display_name\" required error={errors?.display_name} />\n </div>\n <div>\n <label htmlFor=\"teamDefaultValue\">\n Team Default Value <span className=\"tw-text-semantic-red-100\">*</span>\n </label>\n <NumberField\n id=\"teamDefaultValue\"\n name=\"goal_value\"\n format={isCurrency ? \"currency\" : \"number\"}\n required\n />\n </div>\n <Checkbox\n onChange={(e) => setIsCurrency(e.target.checked)}\n checked={isCurrency}\n value={isCurrency}\n name=\"format\"\n id=\"format\"\n label=\"This is a financial goal (prepend '$' to the input)\"\n />\n </form>\n </FloatingForm>\n );\n};\n\nCustomActivityGoalModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n onSubmit: PropTypes.func.isRequired,\n};\n\nexport default CustomActivityGoalModal;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Section from \"./Section\";\nimport { PERIOD_OPTIONS } from \"./HeadingSelect\";\nimport Goal from \"./Goal\";\nimport Loader from \"./Loader\";\nimport useGoals, { goalValueToYearly } from \"../services/useGoals\";\nimport SectionHeader from \"./SectionHeader\";\nimport Toggle from \"../../shared/v2/Toggle\";\nimport TextButton from \"../../shared/v2/TextButton/TextButton\";\nimport PlusIcon from \"../../Transactions/components/icons/PlusIcon\";\nimport CustomActivityGoalModal from \"./CustomActivityGoalModal\";\n\nconst GOAL_TABS = [\"Team Defaults\", \"My Goals\"];\n\nconst DefaultableGoals = ({\n action,\n agent,\n year,\n isAdmin,\n section,\n title,\n description,\n customGoals,\n refresh,\n}) => {\n const agentId = agent?.value;\n const formRef = useRef(null);\n const [data, setData] = useState({});\n const [period, setPeriod] = useState(section === \"activity\" ? PERIOD_OPTIONS[2] : PERIOD_OPTIONS[0]);\n const [tab, setTab] = useState(GOAL_TABS[1]);\n const [isEditing, setIsEditing] = useState(false);\n const [isCreateModalOpen, setIsCreateModalOpen] = useState(false);\n const { actions, defaults, goals, goalTypes, loading } = useGoals({\n agentId,\n year,\n period,\n section,\n load: refresh,\n });\n const isTeamDefaultTab = isAdmin && tab === GOAL_TABS[0];\n\n useEffect(() => {\n if (agentId) setTab(GOAL_TABS[1]);\n }, [agentId]);\n\n // 0 default not selected, 1 default selected (different from goals), 2 default selected (same as goals)\n const defaultSelection = useMemo(\n () =>\n Object.keys(defaults).reduce((currentDefault, key) => {\n if (currentDefault === 0) return 0;\n const defaultGoalValue = String(defaults[key].goalValue);\n const modifiedValue = String(data[key]?.goalValue);\n const goalValue = String(goals[key]?.goalValue);\n if (currentDefault === 2 && defaultGoalValue === goalValue) return 2;\n if (defaultGoalValue === modifiedValue) return 1;\n return 0;\n }, 2),\n [data, defaults, goals],\n );\n\n useEffect(() => {\n if (!isEditing) setData({});\n }, [isEditing]);\n\n const setValue = (goalTypeId) => (key) => (newValue) =>\n setData((currentData) => ({\n ...currentData,\n [goalTypeId]: { ...currentData[goalTypeId], [key]: newValue },\n }));\n\n const submitGoals = (e) => {\n e.preventDefault();\n\n Object.keys(data).forEach((key) => {\n const oldGoalType = goalTypes.find((gt) => String(gt.id) === key);\n const oldGoal = (isTeamDefaultTab ? defaults : goals)[key] || { goalTypeId: key };\n const {\n displayName = oldGoalType.displayName,\n format = oldGoalType.format,\n goalValue = oldGoal.goalValue,\n } = data[key];\n\n const goal = {\n ...oldGoal,\n goalValue: goalValueToYearly(String(goalValue).replaceAll(\",\", \"\") || 0, period, oldGoalType.name),\n year,\n };\n if (isTeamDefaultTab) goal.default = true;\n if (goal.goalValue !== String(oldGoal.goalValue)) {\n if (goal.id) {\n actions.updateGoal(goal, agentId);\n } else {\n actions.createGoal(goal, agentId);\n }\n }\n\n const goalType = { ...oldGoalType, displayName, format };\n if (\n oldGoalType &&\n (goalType.format !== oldGoalType.format || goalType.displayName !== oldGoalType.displayName)\n ) {\n actions.updateGoalType(goalType);\n }\n });\n\n setIsEditing(false);\n };\n\n return (\n <Section className=\"tw-basis-[500px] tw-grow\" isEditing={isEditing}>\n <SectionHeader\n agent={agent}\n description={\n isTeamDefaultTab\n ? \"Set the default standards for your team. Changes made here will not overwrite existing user-specific customization.\"\n : description\n }\n isEditing={isEditing}\n name=\"DefaultableGoalsPeriod\"\n onSubmit={submitGoals}\n options={PERIOD_OPTIONS}\n tabs={isAdmin && !agentId ? GOAL_TABS : null}\n selectedTab={tab}\n onTabClick={setTab}\n period={period}\n setIsEditing={setIsEditing}\n setPeriod={setPeriod}\n title={title}\n />\n\n {!isTeamDefaultTab && defaultSelection < 2 && isEditing && (\n <div className=\"tw-py-[16px] tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-neutral-gray-10\">\n <div className=\"tw-bg-neutral-gray-5 tw-p-[12px] tw-flex tw-justify-between\">\n <label\n htmlFor=\"useTeamDefault\"\n className=\"tw-m-0 tw-text-14d tw-text-neutral-gray-75 tw-font-semibold\"\n >\n Use team default\n </label>\n <Toggle\n id=\"useTeamDefault\"\n labelClassName=\"tw-m-0\"\n checked={defaultSelection > 0}\n disabled={defaultSelection === 2}\n onChange={() => {\n const dataset = defaultSelection > 0 ? goals : defaults;\n setData(\n Object.keys(dataset).reduce((obj, key) => {\n const goal = dataset[key];\n return {\n ...obj,\n [goal.goalTypeId]: { ...obj[goal.goalTypeId], goalValue: goal.goalValue },\n };\n }, {}),\n );\n }}\n />\n </div>\n </div>\n )}\n\n <div className=\"tw-flex tw-flex-col tw-relative\">\n <form ref={formRef} className=\"tw-flex tw-flex-col\">\n {goalTypes.map((goalType) => (\n <Goal\n key={goalType.id}\n editedGoal={data[goalType.id]}\n isDefault={isTeamDefaultTab}\n isEditing={isEditing}\n goalType={goalType}\n goal={(isTeamDefaultTab ? defaults : goals)[goalType.id]}\n onChange={setValue(goalType.id)}\n onDelete={actions.deleteGoalType}\n />\n ))}\n </form>\n\n {!isTeamDefaultTab && action && <div>{action}</div>}\n\n {isTeamDefaultTab && customGoals && (\n <>\n <TextButton\n className=\"tw-self-start tw-px-0 tw-mt-[8px]\"\n onClick={() => setIsCreateModalOpen(true)}\n >\n <PlusIcon /> Add Custom Goal\n </TextButton>\n <CustomActivityGoalModal\n show={isCreateModalOpen}\n onClose={() => setIsCreateModalOpen(false)}\n onSubmit={(formData) =>\n actions\n .createGoalType({ goalType: formData.goalType })\n .then(({ id }) =>\n actions.createGoal({\n ...formData.goal,\n goal_value: goalValueToYearly(\n formData.goal.goal_value,\n period,\n formData.goal.goalType.name,\n ),\n goalTypeId: id,\n year,\n }),\n )\n .then(() => setIsCreateModalOpen(false))\n }\n />\n </>\n )}\n\n {loading && <Loader />}\n </div>\n </Section>\n );\n};\n\nDefaultableGoals.propTypes = {\n action: PropTypes.node,\n agent: PropTypes.shape({\n value: PropTypes.string,\n label: PropTypes.string,\n meta: { avatar: PropTypes.string },\n }),\n isAdmin: PropTypes.bool.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n section: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n customGoals: PropTypes.bool,\n refresh: PropTypes.bool,\n};\n\nDefaultableGoals.defaultProps = {\n action: null,\n agent: null,\n customGoals: false,\n refresh: true,\n};\n\nexport default DefaultableGoals;\n","/* disable prop validation for complex component overrides */\n/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable react/prop-types */\nimport React from \"react\";\nimport Avatar from \"../../shared/v2/Avatar\";\nimport TextComboInput from \"../../shared/v2/TextComboInput/TextComboInput\";\nimport { MagnifyingGlassSolidV6 } from \"../../shared/v2/Icomoon\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nexport const Option = ({ children, componentProps }) => (\n <Dropdown.Option {...componentProps} preserveStyle>\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <Avatar src={componentProps.data.meta.avatar} /> {children}\n </div>\n </Dropdown.Option>\n);\n\nexport const SingleValue = ({ children, componentProps }) => (\n <Dropdown.SingleValue {...componentProps} preserveStyle>\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <Avatar src={componentProps.data.meta.avatar} /> {children}\n </div>\n </Dropdown.SingleValue>\n);\n\nexport const Menu = ({ children, componentProps }) => (\n <Dropdown.Menu {...componentProps} preserveStyle>\n <div className=\"tw-px-[12px] tw-pt-[12px] tw-pb-[8px] tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-b-[1px] tw-border-neutral-gray-10\">\n <TextComboInput\n trailing={<MagnifyingGlassSolidV6 size=\"m\" className=\"tw-align-middle tw-text-neutral-gray-30\" />}\n placeholder=\"Search\"\n onMouseDown={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n onMouseUp={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n onPointerDown={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n onPointerUp={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n e.target.focus();\n componentProps.selectProps.onMenuOpen?.();\n }}\n onKeyDown={(e) => {\n if (!/Up|Down|Left|Right|Esc|Tab|Enter/.test(e.key)) e.stopPropagation();\n }}\n onChange={(e) =>\n componentProps.selectProps.onInputChange?.(e.target.value, { action: \"input-change\" })\n }\n onBlur={() => {\n /** this is not ideal, but seems to be the easiest way to keep the close functionality\n * without making larger changes */\n setTimeout(() => {\n componentProps.selectProps.onInputChange?.(\"\", { action: \"menu-close\" });\n componentProps.selectProps.onMenuClose?.();\n }, 200);\n }}\n />\n </div>\n {children}\n </Dropdown.Menu>\n);\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { replace } from \"lodash\";\nimport Section from \"./Section\";\nimport { PERIOD_OPTIONS } from \"./HeadingSelect\";\nimport Goal from \"./Goal\";\nimport Loader from \"./Loader\";\nimport useGoals, { goalValueToYearly } from \"../services/useGoals\";\nimport SectionHeader from \"./SectionHeader\";\n\nconst TeamActivityGoals = ({ year, isAdmin }) => {\n const teamActivityFormRef = useRef(null);\n const [period, setPeriod] = useState(PERIOD_OPTIONS[0]);\n const [isEditing, setIsEditing] = useState(false);\n const teamActivityGoals = useGoals({\n year,\n period,\n section: \"team_activity\",\n load: isAdmin,\n });\n\n const submitGoals = (ref, section) => (e) => {\n e.preventDefault();\n const data = Object.fromEntries(new FormData(ref.current));\n\n Object.keys(data).forEach((key) => {\n const oldGoal = section.goals[key] || { goalTypeId: key };\n const goalType = teamActivityGoals.goalTypes.find((x) => x.id === oldGoal.goalTypeId)?.name || \"\";\n const goal = {\n ...oldGoal,\n goalValue: goalValueToYearly(replace(data[key], /,/g, \"\") || 0, period, goalType),\n year,\n };\n\n if (goal.goalValue === String(oldGoal.goalValue)) return;\n\n if (goal.id) {\n section.actions.updateGoal(goal);\n } else {\n section.actions.createGoal(goal);\n }\n });\n\n setIsEditing(false);\n };\n\n if (!isAdmin) return null;\n\n return (\n <Section className=\"tw-basis-[500px] tw-grow\" isEditing={isEditing}>\n <SectionHeader\n description=\"Set activity goals for your team as a whole. Note that these are automatically logged and do not require manual entry.\"\n isEditing={isEditing}\n name=\"teamActivityGoalsPeriod\"\n onSubmit={(e) => {\n submitGoals(teamActivityFormRef, teamActivityGoals)(e);\n }}\n options={PERIOD_OPTIONS}\n period={period}\n setIsEditing={setIsEditing}\n setPeriod={setPeriod}\n title=\"Team Activity Goals\"\n />\n\n <div className=\"tw-flex flex tw-flex-col tw-relative\">\n <div className=\"tw-flex tw-justify-between tw-flex-wrap tw-gap-[16px]\">\n <form ref={teamActivityFormRef} className=\"tw-flex tw-flex-col tw-grow\">\n {teamActivityGoals.goalTypes.map((goalType) => (\n <Goal\n key={goalType.id}\n isEditing={isEditing}\n goalType={goalType}\n goal={teamActivityGoals.goals[goalType.id]}\n onChange={() => {}}\n />\n ))}\n </form>\n </div>\n\n {teamActivityGoals.loading && <Loader />}\n </div>\n </Section>\n );\n};\n\nTeamActivityGoals.propTypes = {\n isAdmin: PropTypes.bool.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default TeamActivityGoals;\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport axios from \"axios\";\nimport { useEffect, useState } from \"react\";\n\nconst EMPTY_GOALS = {\n avgSalePrice: \"0\",\n avgCommission: \"0\",\n sellerCommissionSplit: \"0\",\n buyerCommissionSplit: \"0\",\n pendingToCloseRatio: \"0\",\n sellerToTotalClosingsRatio: \"0\",\n};\n\nconst cleanValues = (goals) =>\n Object.entries(goals).reduce((acc, [key, value]) => {\n acc[key] = String(value).replace(/[^0-9.]/g, \"\");\n return acc;\n }, {});\n\nconst transformGoals = (goals) =>\n Object.entries(goals).reduce((acc, [key, value]) => {\n if ([\"id\", \"accountId\", \"createdAt\", \"updatedAt\"].includes(key)) return acc;\n acc[key] = typeof value === \"number\" ? value.toLocaleString() : value;\n return acc;\n }, {});\n\nconst validateGoals = (goals) =>\n Object.entries(goals).reduce((acc, [key, value]) => {\n const cleanValue = String(value).replace(/[^0-9.]/g, \"\");\n if (cleanValue.length === 0) acc[key] = \"Required field\";\n else if (!parseFloat(cleanValue)) acc[key] = \"Value must be greater than 0\";\n return acc;\n }, {});\n\nconst getGoals = (...config) =>\n caseTransformingAxios\n .get(\"/api/v4/goals/show_wizard_team_defaults\", ...config)\n .then((res) => transformGoals(res.data));\n\nconst upsertGoals = (goals, ...config) =>\n caseTransformingAxios\n .post(\n \"/api/v4/goals/upsert_wizard_team_defaults\",\n { goalWizardTeamDefaults: cleanValues(goals) },\n ...config,\n )\n .then((res) => transformGoals(res.data));\n\nconst useProductionGoals = ({ show }) => {\n const [goals, setGoals] = useState({ ...EMPTY_GOALS });\n const [errors, setErrors] = useState({});\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n if (show) {\n const abortController = new AbortController();\n setLoading(true);\n setErrors({});\n getGoals({ signal: abortController.signal })\n .then((data) => {\n setLoading(false);\n setGoals(data);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setLoading(false);\n if (err.response.status === 404) return;\n setErrors({ global: \"Failed to load Goals\" });\n }\n });\n return () => {\n abortController.abort();\n };\n }\n\n setErrors({});\n return () => {};\n }, [show]);\n\n return {\n actions: {\n saveGoals: () => {\n const newErrors = validateGoals(goals);\n setErrors(newErrors);\n if (!Object.keys(newErrors).length) {\n setLoading(true);\n return upsertGoals(goals)\n .then((data) => {\n setLoading(false);\n setGoals(data);\n return true;\n })\n .catch(() => {\n setLoading(false);\n setErrors({ global: \"Failed to save Goals, try again later.\" });\n return false;\n });\n }\n return Promise.resolve(false);\n },\n setGoals,\n },\n errors,\n goals,\n loading,\n };\n};\n\nexport default useProductionGoals;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport useProductionGoals from \"../services/useProductionGoals\";\nimport Loading from \"./Loader\";\n\nconst TeamDefaultsProductionModal = ({ show, onClose, year }) => {\n const { actions, errors, goals, loading } = useProductionGoals({ show, year });\n\n const handleChange = (e) => {\n const { name, value } = e.target;\n let formattedValue = value;\n const cleanValue = value.replace(/[^0-9.]/g, \"\");\n const endsWithDecimal = cleanValue.endsWith(\".\");\n formattedValue =\n cleanValue === \"\" ? \"\" : `${parseFloat(cleanValue).toLocaleString()}${endsWithDecimal ? \".\" : \"\"}`;\n actions.setGoals((prev) => ({ ...prev, [name]: formattedValue }));\n };\n\n return (\n <Modal\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-max-w-[620px] tw-w-[100vw] tw-max-h-[85vh] tw-flex tw-flex-col tw-gap-[32px]\"\n show={show}\n onHide={onClose}\n >\n <Modal.Header\n closeButton\n title={`Team Defaults: ${year} Production Data`}\n description={\n <span className=\"tw-text-gray-50\">\n Team defaults for production data are used to provide agents with a baseline set of values when\n they are setting their goals through "Help Me Set My Goals".\n </span>\n }\n />\n <Modal.Body className=\"tw-relative tw-flex tw-flex-col tw-gap-[24px]\">\n {loading && <Loading />}\n {errors.global && <Alert variant=\"error\" text={errors.global} />}\n <div className=\"tw-flex tw-gap-[24px]\">\n <TextComboInput\n isRequired\n containerClassName=\"tw-flex-1\"\n leading=\"$\"\n label=\"Avg. Sale Price\"\n name=\"avgSalePrice\"\n error={errors.avgSalePrice}\n value={goals.avgSalePrice}\n onChange={handleChange}\n />\n <TextComboInput\n isRequired\n containerClassName=\"tw-flex-1\"\n trailing=\"%\"\n label=\"Avg. Commission\"\n name=\"avgCommission\"\n error={errors.avgCommission}\n value={goals.avgCommission}\n onChange={handleChange}\n />\n </div>\n <div className=\"tw-flex tw-gap-[24px]\">\n <TextComboInput\n isRequired\n containerClassName=\"tw-flex-1\"\n trailing=\"%\"\n label=\"Seller Commission Split w/ Team\"\n name=\"sellerCommissionSplit\"\n error={errors.sellerCommissionSplit}\n value={goals.sellerCommissionSplit}\n onChange={handleChange}\n />\n <TextComboInput\n isRequired\n containerClassName=\"tw-flex-1\"\n trailing=\"%\"\n label=\"Buyer Commission Split w/ Team\"\n name=\"buyerCommissionSplit\"\n error={errors.buyerCommissionSplit}\n value={goals.buyerCommissionSplit}\n onChange={handleChange}\n />\n </div>\n <div className=\"tw-flex tw-gap-[24px]\">\n <TextComboInput\n isRequired\n containerClassName=\"tw-flex-1\"\n trailing=\"%\"\n label=\"Pending to Closed Ratio\"\n name=\"pendingToCloseRatio\"\n error={errors.pendingToCloseRatio}\n value={goals.pendingToCloseRatio}\n onChange={handleChange}\n />\n <TextComboInput\n isRequired\n containerClassName=\"tw-flex-1\"\n trailing=\"%\"\n label={\n <span>\n Seller to Total Closings Ratio{\" \"}\n <Tooltip\n trigger={<CircleInfoSolidV6 />}\n content=\"The percentage of buyer and seller closings that were sellers\"\n innerClassName=\"tw-max-w-[230px]\"\n />\n </span>\n }\n name=\"sellerToTotalClosingsRatio\"\n error={errors.sellerToTotalClosingsRatio}\n value={goals.sellerToTotalClosingsRatio}\n onChange={handleChange}\n />\n </div>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between tw-gap-[8px]\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={onClose} disabled={loading}>\n Cancel\n </Button>\n <Button\n size=\"medium\"\n isLoading={loading}\n onClick={() =>\n actions.saveGoals().then((success) => {\n if (success) onClose();\n })\n }\n >\n Save\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nTeamDefaultsProductionModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n year: PropTypes.number.isRequired,\n};\n\nexport default TeamDefaultsProductionModal;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n divider: {\n default: [\n \"tw-w-[1px]\",\n \"tw-h-[34px]\",\n \"tw-border-l\",\n \"tw-border-r-0\",\n \"tw-border-t-0\",\n \"tw-border-b-0\",\n \"tw-border-solid\",\n \"tw-border-theme-divider\",\n ],\n },\n cancel: {\n default: [\"tw-text-neutral-gray-30\"],\n active: [\"active:tw-text-theme-cancel-icon-active\"],\n hover: [\"hover:tw-cursor-pointer\", \"hover:tw-text-theme-cancel-icon-hover\"],\n },\n confirm: {\n default: [\"tw-text-theme-confirm-icon\"],\n active: [\"active:tw-text-theme-confirm-icon-active\"],\n hover: [\"hover:tw-cursor-pointer\", \"hover:tw-text-theme-confirm-icon-hover\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Check, Close } from \"../Icomoon\";\nimport Tooltip from \"../Tooltip\";\nimport styleSchema from \"./CancelConfirm.styles\";\n\nconst CancelConfirm = ({ onCancelEditing, onConfirmEditing }) => (\n <div className=\"tw-flex tw-flex-row tw-items-center tw-space-x-[12px] tw-pr-[4px]\">\n <span className={styleSchema.divider} />\n <button\n type=\"button\"\n className=\"tw-bg-transparent tw-border-0 tw-p-0\"\n onClick={onCancelEditing}\n aria-label=\"cancel\"\n >\n <Tooltip trigger={<Close className={styleSchema.cancel} size=\"m\" />} content=\"Cancel\" placement=\"top\" />\n </button>\n <button\n type=\"button\"\n className=\"tw-bg-transparent tw-border-0 tw-p-0\"\n onClick={onConfirmEditing}\n aria-label=\"save\"\n >\n <Tooltip trigger={<Check className={styleSchema.confirm} size=\"m\" />} content=\"Save\" placement=\"top\" />\n </button>\n </div>\n);\n\nCancelConfirm.propTypes = {\n onCancelEditing: PropTypes.func.isRequired,\n onConfirmEditing: PropTypes.func.isRequired,\n};\n\nexport default CancelConfirm;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { Edit } from \"../Icomoon\";\n\nconst Label = ({ label, timeOnNewLine }) => {\n const showOnNewLine = timeOnNewLine && label?.includes(\" \");\n if (showOnNewLine) {\n const iSpace = label.indexOf(\" \");\n const date = label.substring(0, iSpace);\n const time = label.substring(iSpace);\n return (\n <div className=\"tw-flex tw-flex-col tw-items-end\">\n <span>{date}</span>\n <span className=\"tw-text-neutral-gray-50\">{time}</span>\n </div>\n );\n }\n return <>{label}</>;\n};\n\nLabel.propTypes = {\n label: PropTypes.string.isRequired,\n timeOnNewLine: PropTypes.bool,\n};\n\nLabel.defaultProps = {\n timeOnNewLine: false,\n};\n\nconst Display = ({\n id: idFromProps,\n label,\n value,\n disabled,\n icon,\n iconAlwaysVisible,\n onInteract,\n className,\n showLineBreak,\n timeOnNewLine,\n showRightAlign,\n displaySpanClassName,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"inline-editor-display\", idFromProps);\n\n const callOnInteractWhenNotDisabled = () => {\n if (disabled) {\n return;\n }\n onInteract();\n };\n\n const handleKeyDown = (e) => {\n switch (e.key) {\n case \"Enter\":\n callOnInteractWhenNotDisabled();\n break;\n default:\n break;\n }\n };\n\n const iconClasses = `group-hover:peer-enabled:tw-cursor-pointer group-hover:peer-disabled:tw-cursor-default peer-disabled:tw-text-neutral-gray-30${\n iconAlwaysVisible ? \"\" : \" tw-invisible group-hover:tw-visible\"\n }`;\n\n return (\n <>\n <button\n className={`\n tw-group tw-flex tw-flex-row tw-space-x-[9px] tw-text-neutral-gray-75\n tw-p-0 tw-border-0 tw-bg-transparent\n ${disabled ? \"\" : \"active:tw-text-theme-display-active\"}\n ${showLineBreak ? \"tw-items-start\" : \"tw-h-[34px] tw-items-center\"}\n ${showRightAlign ? \"tw-items-center\" : \"\"}\n ${className}\n `}\n disabled={disabled}\n type=\"button\"\n onClick={callOnInteractWhenNotDisabled}\n tabIndex={iconAlwaysVisible ? 0 : -1}\n onKeyDown={iconAlwaysVisible ? handleKeyDown : undefined}\n data-cy=\"inline-editor-display\"\n >\n <span\n className={`\n tw-peer tw-text-14d\n group-hover:enabled:tw-cursor-pointer\n tw-select-none disabled:tw-select-auto\n ${showRightAlign ? \"tw-text-right\" : \"\"}\n ${showLineBreak ? \"tw-text-left\" : \"tw-truncate\"}\n ${displaySpanClassName}\n `}\n role={iconAlwaysVisible ? undefined : \"button\"}\n tabIndex={iconAlwaysVisible ? undefined : 0}\n onKeyDown={iconAlwaysVisible ? undefined : handleKeyDown}\n data-cy=\"inline-editor-display-button\"\n >\n <Label label={label} timeOnNewLine={timeOnNewLine} />\n </span>\n {React.cloneElement(icon, {\n className: [icon.props?.className, iconClasses].filter(Boolean).join(\" \"),\n })}\n </button>\n <input type=\"hidden\" id={id} value={value} disabled={disabled} {...otherProps} />\n </>\n );\n};\n\nDisplay.propTypes = {\n id: PropTypes.string,\n label: PropTypes.node.isRequired,\n value: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n icon: PropTypes.element,\n iconAlwaysVisible: PropTypes.bool,\n onInteract: PropTypes.func.isRequired,\n className: PropTypes.string,\n showLineBreak: PropTypes.bool,\n showRightAlign: PropTypes.bool,\n timeOnNewLine: PropTypes.bool,\n displaySpanClassName: PropTypes.string,\n};\n\nDisplay.defaultProps = {\n id: null,\n disabled: false,\n icon: <Edit size=\"custom\" className=\"tw-w-[10px] tw-h-[10px]\" />,\n iconAlwaysVisible: false,\n className: \"\",\n showLineBreak: false,\n showRightAlign: false,\n timeOnNewLine: false,\n displaySpanClassName: \"\",\n};\n\nexport default Display;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useClickOutside } from \"../../../hookHelpers\";\n\nconst DisplayEditorToggleBase = ({ mode, display, editor, onClickedOutside, className }) => {\n const isEditing = () => mode === \"editor\";\n\n // Short-circuit to avoid creating a ref and registering a document event listener\n if (!isEditing()) {\n return <div className={className}>{display}</div>;\n }\n\n if (!onClickedOutside) {\n return <div className={className}>{editor}</div>;\n }\n\n const ref = useRef();\n\n useClickOutside(ref, () => {\n onClickedOutside();\n });\n\n return (\n <div ref={ref} className={className}>\n {editor}\n </div>\n );\n};\n\nDisplayEditorToggleBase.propTypes = {\n mode: PropTypes.oneOf([\"display\", \"editor\"]).isRequired,\n display: PropTypes.node.isRequired,\n editor: PropTypes.node.isRequired,\n onClickedOutside: PropTypes.func,\n className: PropTypes.string,\n};\n\nDisplayEditorToggleBase.defaultProps = {\n onClickedOutside: null,\n className: \"\",\n};\n\nexport default DisplayEditorToggleBase;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\n\nimport { range } from \"../../Utilities\";\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { CancelConfirm, Display, DisplayEditorToggleBase } from \"../InlineEditor\";\nimport TextComboInput from \"../TextComboInput\";\nimport TextButton from \"../TextButton\";\nimport { resizeInputBasedOnValue } from \"../utils\";\n\nconst InlineEditingInput = ({\n id: idFromProps,\n value: valueFromProps,\n prefix,\n suffix,\n disabled,\n error,\n placeholder,\n externalEditing,\n onInteract,\n onChange,\n onCancelEditing,\n onConfirmEditing,\n leading,\n additionalTrailing,\n withCancelConfirm,\n inputRef,\n spacing,\n className,\n displayClassName,\n displaySpanClassName,\n editorClassName,\n displayComponent,\n size,\n validateInput,\n formatInput,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"inline-editing-input\", idFromProps);\n\n const value = useMemo(\n () => (typeof valueFromProps === \"number\" ? valueFromProps.toString() : valueFromProps) || \"\",\n [valueFromProps],\n );\n\n const ignoreExternalEdition = [null, undefined].includes(externalEditing);\n const [editing, setEditing] = useState(externalEditing ?? false);\n const [editingValue, setEditingValue] = useState(value);\n const textComboInputRef = inputRef || useRef();\n\n // We need to keep track of when the user clicked outside, to prevent calling `confirmEditing` twice\n const [clickedOutside, setClickedOutside] = useState(false);\n\n // Update the editing flag when `externalEditing` changes\n useEffect(() => setEditing(externalEditing ?? false), [externalEditing]);\n\n // Update the editing value when `value` changes\n useEffect(() => setEditingValue(value), [value]);\n\n const handleInteract = () => {\n if (onInteract) {\n onInteract();\n }\n if (ignoreExternalEdition) {\n setEditing(true);\n }\n };\n\n const cancelEditing = () => {\n if (ignoreExternalEdition) {\n setEditing(false);\n }\n setEditingValue(value); // Revert changes made on editing mode\n if (onCancelEditing) {\n onCancelEditing();\n }\n };\n\n const confirmEditing = () => {\n if (onChange) {\n onChange(formatInput ? formatInput(editingValue) : editingValue);\n }\n if (ignoreExternalEdition) {\n setEditing(false);\n }\n if (onConfirmEditing) {\n onConfirmEditing();\n }\n };\n\n const focusInput = () => {\n if (!textComboInputRef.current) {\n return;\n }\n const input = textComboInputRef.current;\n input.select();\n input.focus();\n };\n\n // Auto-focus when switching to editing mode\n useEffect(() => {\n if (!editing) {\n return;\n }\n focusInput();\n }, [editing]);\n\n // Update input styles when switching to editing mode and/or\n // after the user changes the editing value\n useEffect(() => {\n if (!editing) {\n return;\n }\n resizeInputBasedOnValue(textComboInputRef.current, editingValue || placeholder);\n }, [editing, editingValue, placeholder]);\n\n const handleKeyDown = (e) => {\n // In case the input is inside of a modal, this prevents closing the modal before closing the input\n e.stopPropagation();\n\n switch (e.key) {\n case \"Esc\":\n case \"Escape\":\n cancelEditing();\n break;\n case \"Enter\":\n confirmEditing();\n break;\n default:\n break;\n }\n };\n\n const handleFocusOut = () => {\n if (clickedOutside) {\n // Do not call `confirmEditing` a second time if it was already called from `handleClickOutside`\n setClickedOutside(false);\n return;\n }\n\n confirmEditing();\n };\n\n const handleClickOutside = () => {\n setClickedOutside(true);\n\n confirmEditing();\n };\n\n const trailing = () => {\n if (!withCancelConfirm) {\n return additionalTrailing || null;\n }\n\n const cancelConfirm = <CancelConfirm onCancelEditing={cancelEditing} onConfirmEditing={confirmEditing} />;\n\n return additionalTrailing ? (\n <div className=\"tw-flex tw-flex-row tw-items-center tw-space-x-[12px]\">\n {additionalTrailing}\n {cancelConfirm}\n </div>\n ) : (\n cancelConfirm\n );\n };\n\n const displayWhenNoValueIsProvided = displayComponent ? (\n displayComponent(handleInteract)\n ) : (\n <TextButton\n data-cy=\"inline-editor-display-button\"\n className={`tw-p-0 ${displayClassName}`}\n onClick={handleInteract}\n >\n add\n </TextButton>\n );\n\n const display = value ? (\n <Display\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n id={id}\n label={`${prefix}${value}${suffix}`.trim()}\n value={value}\n disabled={disabled}\n onInteract={handleInteract}\n className={displayClassName}\n displaySpanClassName={displaySpanClassName}\n />\n ) : (\n displayWhenNoValueIsProvided\n );\n\n const sizeOrPlaceholderLength = () => {\n if (size > 0) {\n return size;\n }\n if (placeholder) {\n return placeholder.length;\n }\n // Invalid size values make the input's width be the default width based on the user agent\n // See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size\n return -1;\n };\n\n const handleOnChange = (event) => {\n if (!validateInput) {\n setEditingValue(event.target.value);\n return;\n }\n\n const { isValid, newValue } = validateInput(event.target.value);\n\n if (isValid) {\n setEditingValue(newValue);\n }\n };\n\n const editor = (\n <TextComboInput\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n inputRef={textComboInputRef}\n id={id}\n value={editingValue}\n leading={leading}\n trailing={trailing()}\n disabled={disabled}\n error={error}\n spacing={spacing}\n placeholder={placeholder}\n onChange={handleOnChange}\n onKeyDown={handleKeyDown}\n onFocusOut={handleFocusOut}\n size={sizeOrPlaceholderLength()}\n className={`tw-shadow-dropdown selection:tw-bg-theme-inline-editing-input ${editorClassName}`}\n data-cy=\"inline-editor-input\"\n />\n );\n\n return (\n <DisplayEditorToggleBase\n mode={editing ? \"editor\" : \"display\"}\n display={display}\n editor={editor}\n onClickedOutside={handleClickOutside}\n className={className}\n />\n );\n};\n\nInlineEditingInput.propTypes = {\n id: PropTypes.string,\n value: nullable(PropTypes.oneOfType([PropTypes.string, PropTypes.number])).isRequired,\n prefix: PropTypes.string,\n suffix: PropTypes.string,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n displaySpanClassName: PropTypes.string,\n placeholder: PropTypes.string,\n // To allow changing the `editing` state from the outside,\n // useful for when we don't want the input to close after confirming/canceling (e.g. need to make an external request)\n externalEditing: PropTypes.bool,\n onInteract: PropTypes.func,\n onChange: PropTypes.func,\n onCancelEditing: PropTypes.func,\n onConfirmEditing: PropTypes.func,\n leading: PropTypes.node,\n additionalTrailing: PropTypes.node,\n withCancelConfirm: PropTypes.bool,\n // See https://github.com/facebook/prop-types/issues/240#issue-384666636\n inputRef: PropTypes.oneOfType([\n PropTypes.func, // for legacy refs\n PropTypes.shape({ current: PropTypes.instanceOf(Element) }),\n ]),\n spacing: PropTypes.oneOf(range(0, 14)),\n className: PropTypes.string,\n displayClassName: PropTypes.string,\n editorClassName: PropTypes.string,\n displayComponent: PropTypes.func,\n size: PropTypes.number,\n\n // Hooks that allow client code to validate and format text input\n validateInput: PropTypes.func,\n formatInput: PropTypes.func,\n};\n\nInlineEditingInput.defaultProps = {\n id: null,\n prefix: \"\",\n suffix: \"\",\n disabled: false,\n displaySpanClassName: \"\",\n error: null,\n placeholder: \"\",\n externalEditing: null,\n onInteract: null,\n onChange: null,\n onCancelEditing: null,\n onConfirmEditing: null,\n leading: null,\n additionalTrailing: null,\n withCancelConfirm: true,\n inputRef: null,\n spacing: 14,\n className: \"\",\n displayClassName: \"\",\n editorClassName: \"\",\n displayComponent: null,\n // Invalid size values make the input's width be the default width based on the user agent\n // See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/size\n size: -1,\n validateInput: null,\n formatInput: null,\n};\n\n// Default size for numeric components like Flat, FlatPercent, and Percent\nInlineEditingInput.numericDefaultSize = 5;\n\nexport default InlineEditingInput;\n","import { schemaGenerator } from \"../../utils\";\n\nconst base = {\n default: [\n \"tw-p-0\",\n \"tw-border-0\",\n \"tw-w-[24px]\",\n \"tw-h-[24px]\",\n \"tw-leading-[24px]\",\n \"tw-text-center\",\n \"tw-text-14d\",\n \"tw-font-semibold\",\n \"tw-rounded-full\",\n ],\n focusVisible: [\"focus-visible:tw-outline-theme-offset-1px\"],\n};\n\nconst dictionary = {\n regular: {\n default: [...base.default, \"tw-text-neutral-gray-50\", \"tw-cursor-pointer\", \"tw-bg-transparent\"],\n active: [\"active:tw-text-theme-flat-percent-toggle-active\"],\n hover: [\"hover:tw-text-theme-flat-percent-toggle-hover\"],\n focusVisible: base.focusVisible,\n },\n selected: {\n default: [\n ...base.default,\n \"tw-bg-theme-flat-percent-toggle\",\n \"tw-text-theme-flat-percent-toggle-selected\",\n \"tw-cursor-default\",\n \"tw-select-none\",\n ],\n focusVisible: base.focusVisible,\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport styleSchema from \"./Toggle.styles\";\n\nconst Toggle = ({ selected, onFlatSelected, onPercentSelected }) => {\n const classes = (option) => (selected === option ? styleSchema.selected : styleSchema.regular);\n return (\n <div className=\"tw-flex tw-flex-row tw-items-center tw-space-x-[4px]\">\n <button type=\"button\" className={classes(\"flat\")} onClick={onFlatSelected}>\n $\n </button>\n <button type=\"button\" className={classes(\"percent\")} onClick={onPercentSelected}>\n %\n </button>\n </div>\n );\n};\n\nToggle.propTypes = {\n selected: PropTypes.oneOf([\"flat\", \"percent\"]).isRequired,\n onFlatSelected: PropTypes.func.isRequired,\n onPercentSelected: PropTypes.func.isRequired,\n};\n\nexport default Toggle;\n","import format from \"../formatters\";\n\nexport const removeCommas = (value) => value.replace(/,/g, \"\");\n\nexport const formatNumber = (value, commas) => {\n if (Number.isNaN(value) || value === \"NaN\") {\n return \"NaN\";\n }\n\n if (value !== 0 && !value) {\n return \"\";\n }\n\n const formattedNumber = format.number(removeCommas(value), 2);\n return commas ? formattedNumber : removeCommas(formattedNumber);\n};\n\nexport const extractNumeric = (value) => value.replace(/[^0-9,.]/g, \"\");\n\n/**\n * - `000` => `0`\n * - `005` => `5`\n * - `00.5` => `0.5`\n */\nexport const removeLeadingZeroes = (value) => value.replace(/^(0(?!([,.]|$)))+/g, \"\");\n\nexport const isValidValue = (value) => formatNumber(value, false) !== \"NaN\";\n\nexport const isValidPercentage = (value) => Number.parseFloat(value) <= 100;\n\nexport const areValuesDifferent = (valueA, valueB) =>\n formatNumber(valueA, false) !== formatNumber(valueB, false);\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\nimport InlineEditingInput from \"../InlineEditingInput\";\nimport Toggle from \"./Toggle\";\nimport {\n extractNumeric,\n formatNumber,\n isValidPercentage,\n isValidValue,\n removeLeadingZeroes,\n} from \"../../inputFormatUtils\";\n\nconst FlatPercent = ({\n id,\n value,\n placeholder,\n onChange,\n flatOrPercent,\n onFlatSelected,\n onPercentSelected,\n withCancelConfirm,\n showToggle,\n className,\n ...otherProps\n}) => {\n const inlineEditingInputRef = useRef();\n const [initialFlatOrPercent, setInitialFlatOrPercent] = useState(flatOrPercent);\n\n const focusInput = () => {\n if (!inlineEditingInputRef.current) {\n return;\n }\n const input = inlineEditingInputRef.current;\n input.focus();\n };\n\n const flatSelected = () => {\n if (onFlatSelected) {\n onFlatSelected();\n }\n focusInput();\n };\n\n const percentSelected = () => {\n if (onPercentSelected) {\n onPercentSelected();\n }\n focusInput();\n };\n\n const handleOnCancelEditing = () => {\n // Revert flatOrPercent if it has changed\n if (flatOrPercent === initialFlatOrPercent) {\n return;\n }\n switch (flatOrPercent) {\n case \"flat\":\n if (onPercentSelected) {\n onPercentSelected();\n }\n break;\n case \"percent\":\n if (onFlatSelected) {\n onFlatSelected();\n }\n break;\n default:\n break;\n }\n };\n\n const handleOnConfirmEditing = () => {\n // Update the initial value to keep the consistency\n setInitialFlatOrPercent(flatOrPercent);\n };\n\n const isFlat = flatOrPercent === \"flat\";\n const isPercent = flatOrPercent === \"percent\";\n\n const additionalTrailing = (\n <>\n {isPercent ? <span className=\"tw-w-[12px]\">%</span> : <span className=\"tw-mr-[4px]\" />}\n {showToggle && (\n <Toggle selected={flatOrPercent} onFlatSelected={flatSelected} onPercentSelected={percentSelected} />\n )}\n </>\n );\n\n const validateInput = (inputValue) => {\n if (!inputValue) {\n return { isValid: true, newValue: \"\" };\n }\n\n const newValue = removeLeadingZeroes(extractNumeric(inputValue)) || \"0\";\n const isValid = isValidValue(newValue) && (!isPercent || isValidPercentage(newValue));\n return { isValid, newValue };\n };\n\n const formatInput = (inputValue) => formatNumber(inputValue, true);\n\n return (\n <InlineEditingInput\n inputRef={inlineEditingInputRef}\n id={id}\n value={value}\n prefix={isFlat ? \"$\" : \"\"}\n suffix={isPercent ? \"%\" : \"\"}\n placeholder={placeholder}\n onChange={onChange}\n onCancelEditing={handleOnCancelEditing}\n onConfirmEditing={handleOnConfirmEditing}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...(isFlat ? { leading: <span className=\"tw-w-[8px]\">$</span> } : {})}\n additionalTrailing={additionalTrailing}\n withCancelConfirm={withCancelConfirm}\n spacing={0}\n className={className}\n size={placeholder?.length || InlineEditingInput.numericDefaultSize}\n validateInput={validateInput}\n formatInput={formatInput}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n );\n};\n\nFlatPercent.propTypes = {\n id: PropTypes.string,\n value: nullable(PropTypes.oneOfType([PropTypes.string, PropTypes.number])).isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n flatOrPercent: PropTypes.oneOf([\"flat\", \"percent\"]).isRequired,\n onFlatSelected: PropTypes.func,\n onPercentSelected: PropTypes.func,\n withCancelConfirm: PropTypes.bool,\n className: PropTypes.string,\n showToggle: PropTypes.bool,\n};\n\nFlatPercent.defaultProps = {\n id: null,\n placeholder: \"\",\n onChange: null,\n onFlatSelected: null,\n onPercentSelected: null,\n withCancelConfirm: true,\n className: \"\",\n showToggle: true,\n};\n\nexport default FlatPercent;\n","import React, { useEffect, useState, useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport format from \"@shared/formatters\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Typography from \"@shared/v2/Typography\";\nimport FlatPercent from \"@shared/v2/InlineEditingInput/FlatPercent\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { BullseyeArrowRegularV6, ChevronDownSolidV6, CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst LabeledFlat = ({ label, type = \"percent\", ...props }) => (\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px] tw-min-h-[36px]\">\n <Typography variant=\"subtitle-s\" className=\"!tw-text-gray-50\">\n {label}\n </Typography>\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n <FlatPercent showToggle={false} placeholder={\" \"} flatOrPercent={type} {...props} />\n </div>\n);\n\nLabeledFlat.propTypes = {\n label: PropTypes.node.isRequired,\n type: PropTypes.oneOf([\"flat\", \"percent\"]),\n};\n\nLabeledFlat.defaultProps = {\n type: \"percent\",\n};\n\nconst RecommendedGoals = ({ onClose, show, year, wizardData }) => {\n const { isPlace } = useCurrentUser().account;\n const { actions, errors, goals: initialGoals } = wizardData;\n const [showIncomeGoal, setShowIncomGoal] = useState(true);\n const [showMore, setShowMore] = useState(false);\n const [baseGoals, setBaseGoals] = useState({ ...initialGoals });\n\n useEffect(() => {\n if (show) setBaseGoals({ ...initialGoals });\n }, [show, initialGoals]);\n\n const onChange = (name) => (value) => {\n const cleanValue = typeof value === \"string\" ? value.replace(/[^0-9.]/g, \"\") : value;\n if (cleanValue > 0) {\n setBaseGoals((prev) => ({\n ...prev,\n [name]: cleanValue,\n }));\n }\n };\n\n const resetDisabled = useMemo(\n () => !Object.entries(baseGoals).some(([key, value]) => initialGoals[key] !== value),\n [baseGoals],\n );\n\n const goals = useMemo(() => {\n const {\n avgCommission,\n avgSalePrice,\n brokerageCap,\n brokerageSplitPercentage,\n buyerCommissionSplit,\n currentNetIncomeGoal,\n pendingToCloseRatio,\n royaltyCap,\n royaltyPercentage,\n sellerCommissionSplit,\n sellerToTotalClosingsRatio,\n } = baseGoals;\n const brokerageSplitPercent = brokerageSplitPercentage / 100;\n const royaltySplitPercent = royaltyPercentage / 100;\n let maxBrokerageCap = currentNetIncomeGoal * brokerageSplitPercent;\n let maxRoyaltyCap = currentNetIncomeGoal * royaltySplitPercent;\n if (maxBrokerageCap > brokerageCap) maxBrokerageCap = brokerageCap;\n if (maxRoyaltyCap > royaltyCap) maxRoyaltyCap = royaltyCap;\n const averageSalePrice = String(avgSalePrice).replace(\",\", \"\");\n\n const pendingToCloseRatioPercent = pendingToCloseRatio / 100;\n const sellerToTotalClosingRatioPercent = 1 - sellerToTotalClosingsRatio / 100;\n\n const averageCommission = averageSalePrice * (avgCommission / 100);\n const sellerCommission =\n averageCommission * (sellerCommissionSplit / 100) * sellerToTotalClosingRatioPercent;\n const buyerCommission =\n averageCommission * (buyerCommissionSplit / 100) * (1 - sellerToTotalClosingRatioPercent);\n\n const closedUnits = Math.ceil(\n (Number(currentNetIncomeGoal) + Number(maxBrokerageCap) + Number(maxRoyaltyCap)) /\n (sellerCommission + buyerCommission),\n );\n const pendedUnits = Math.ceil(closedUnits / pendingToCloseRatioPercent);\n const listedUnits = Math.ceil(pendedUnits * (1 - sellerToTotalClosingRatioPercent));\n const closedVolume = closedUnits * averageSalePrice;\n\n return { closedVolume, closedUnits, pendedUnits, listedUnits };\n }, [baseGoals]);\n\n const textClassName = isPlace ? \"!tw-text-black\" : \"!tw-text-gray-99\";\n\n return (\n <>\n <Modal.Header closeButton title={`Your ${year} Recommended Goals`} />\n <Modal.Body className=\"tw-flex-1 tw-overflow-auto tw-relative tw-flex tw-flex-col tw-gap-[24px]\">\n {errors.global && <Alert variant=\"error\" text={errors.global} />}\n <div className=\"tw-flex tw-gap-[16px]\">\n <div className=\"tw-flex-1 tw-basis-[33%] tw-p-[16px] tw-flex tw-gap-[16px] tw-items-center tw-border-[1px] tw-border-solid tw-border-neutral-gray-15 tw-rounded-[4px]\">\n <BullseyeArrowRegularV6 size=\"xxl\" />\n <div className=\"tw-flex tw-flex-col\">\n <Typography variant=\"subtitle-m\">Net Income Goal</Typography>\n <div className=\"tw-flex tw-items-center tw-gap-[6px] tw-min-h-[36px]\">\n {showIncomeGoal && (\n <Typography component=\"span\" variant=\"headline2\" className={textClassName}>\n {format.currency(baseGoals.currentNetIncomeGoal, 0)}\n </Typography>\n )}{\" \"}\n <FlatPercent\n flatOrPercent=\"flat\"\n placeholder=\" \"\n showToggle={false}\n onInteract={() => setShowIncomGoal((o) => !o)}\n onCancelEditing={() => setShowIncomGoal((o) => !o)}\n onConfirmEditing={() => setShowIncomGoal((o) => !o)}\n displayComponent={(handleInteract) => (\n <TextButton onClick={handleInteract}>Change</TextButton>\n )}\n onChange={onChange(\"currentNetIncomeGoal\")}\n />\n </div>\n </div>\n </div>\n <div className=\"tw-flex-1 tw-basis-[33%] tw-flex tw-flex-col tw-gap-[12px]\">\n <Typography>\n List{\" \"}\n <Typography component=\"span\" variant=\"headline2\" className={textClassName}>\n {goals.listedUnits}\n </Typography>{\" \"}\n units on market\n </Typography>\n <Typography>\n Pend{\" \"}\n <Typography component=\"span\" variant=\"headline2\" className={textClassName}>\n {goals.pendedUnits}\n </Typography>{\" \"}\n units under contract\n </Typography>\n <Typography>\n Close on at least{\" \"}\n <Typography component=\"span\" variant=\"headline2\" className={textClassName}>\n {goals.closedUnits}\n </Typography>{\" \"}\n of those units\n </Typography>\n <Typography>\n Close{\" \"}\n <Typography component=\"span\" variant=\"headline2\" className={textClassName}>\n {format.currency(goals.closedVolume, 0)}\n </Typography>{\" \"}\n of total volume\n </Typography>\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col tw-gap-[16px]\">\n <Typography variant=\"subtitle-s\" className=\"!tw-font-normal\">\n Goals are calculated using team defaults that admin can set to provide a baseline set of values.{\" \"}\n <b>Click the stats</b> below to fine tune and maximize the accuracy of your goals.\n </Typography>\n <div className=\"tw-flex tw-gap-[24px]\">\n <div className=\"tw-flex-1 tw-flex tw-flex-col\">\n <LabeledFlat\n type=\"flat\"\n label=\"Avg. Sale Price\"\n value={format.number(baseGoals.avgSalePrice, 0)}\n onChange={onChange(\"avgSalePrice\")}\n />\n <LabeledFlat\n label=\"Avg. Commission\"\n value={baseGoals.avgCommission}\n onChange={onChange(\"avgCommission\")}\n />\n <LabeledFlat\n label=\"Pending to Closed Ratio\"\n value={baseGoals.pendingToCloseRatio}\n onChange={onChange(\"pendingToCloseRatio\")}\n />\n <LabeledFlat\n label={\n <span>\n Seller to Total Closings Ratio{\" \"}\n <Tooltip\n trigger={<CircleInfoSolidV6 />}\n content=\"The percentage of buyer and seller closings that were sellers\"\n innerClassName=\"tw-max-w-[230px]\"\n />\n </span>\n }\n value={baseGoals.sellerToTotalClosingsRatio}\n onChange={onChange(\"sellerToTotalClosingsRatio\")}\n />\n <TextButton className=\"tw-self-start tw-ml-[-6px]\" onClick={() => setShowMore((more) => !more)}>\n {showMore ? \"Hide\" : \"Additional\"} Values{\" \"}\n <ChevronDownSolidV6\n size=\"s\"\n className={`tw-transition-transform ${showMore ? \"tw-rotate-180\" : \"\"}`}\n />\n </TextButton>\n {showMore && (\n <>\n <LabeledFlat\n label=\"Seller Commission Split w/ Team\"\n value={baseGoals.sellerCommissionSplit}\n onChange={onChange(\"sellerCommissionSplit\")}\n />\n <LabeledFlat\n label=\"Buyer Commission Split w/ Team\"\n value={baseGoals.buyerCommissionSplit}\n onChange={onChange(\"buyerCommissionSplit\")}\n />\n </>\n )}\n </div>\n <div className=\"tw-flex-1 tw-flex tw-flex-col\">\n <LabeledFlat\n label=\"Brokerage Split\"\n value={baseGoals.brokerageSplitPercentage}\n onChange={onChange(\"brokerageSplitPercentage\")}\n />\n <LabeledFlat\n type=\"flat\"\n label=\"Brokerage Cap\"\n value={format.number(baseGoals.brokerageCap, 0)}\n onChange={onChange(\"brokerageCap\")}\n />\n <LabeledFlat\n label=\"Royalty Split\"\n value={baseGoals.royaltyPercentage}\n onChange={onChange(\"royaltyPercentage\")}\n />\n <LabeledFlat\n type=\"flat\"\n label=\"Royalty Cap\"\n value={format.number(baseGoals.royaltyCap, 0)}\n onChange={onChange(\"royaltyCap\")}\n />\n </div>\n </div>\n </div>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between tw-gap-[8px]\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={onClose}>\n Cancel\n </Button>\n <div className=\"tw-flex tw-gap-[12px]\">\n <TextButton onClick={() => setBaseGoals({ ...initialGoals })} disabled={resetDisabled}>\n Reset Values\n </TextButton>\n <Button size=\"medium\" onClick={() => actions.saveGoals(goals).then(onClose)}>\n Save Goals\n </Button>\n </div>\n </Modal.Footer>\n </>\n );\n};\n\nRecommendedGoals.propTypes = {\n onClose: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n wizardData: PropTypes.shape().isRequired,\n year: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n};\n\nexport default RecommendedGoals;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { camelCase } from \"lodash\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst BASE_GOALS = {\n avgCommissionPercent: 0,\n avgSalePrice: 0,\n brokerageCap: 0,\n brokerageSplitPercentage: 0,\n buyerCommissionSplit: 0,\n currentNetIncomeGoal: 0,\n goalTypes: [],\n pendingToCloseRatio: 0,\n royaltyCap: 0,\n royaltyPercentage: 0,\n sellerCommissionSplit: 0,\n sellerToTotalClosingRatio: 0,\n};\n\nconst getWizard = (...config) =>\n caseTransformingAxios.get(\"/api/v4/goals/wizard\", ...config).then((res) => res.data);\n\nconst saveGoal = (...config) =>\n caseTransformingAxios.post(\"/api/v4/goals/upsert\", ...config).then((res) => res.data);\n\nconst useWizard = ({ agentId, show, year }) => {\n const [goals, setGoals] = useState({\n ...BASE_GOALS,\n });\n const [errors, setErrors] = useState({});\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n if (show) {\n setLoading(true);\n getWizard({ params: { userUuid: agentId, year } })\n .then((data) => {\n setLoading(false);\n setGoals(data);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setLoading(false);\n setErrors({ global: \"Failed to load Goals\" });\n }\n });\n } else {\n setErrors({});\n }\n }, [agentId, show, year]);\n\n return {\n actions: {\n setLocalGoals: setGoals,\n saveGoals: (recommendedGoals) => {\n setLoading(true);\n return Promise.all(\n goals.goalTypes\n .filter((gt) => gt.name !== \"closed_gci\")\n .map((gt) =>\n saveGoal({\n userUuid: agentId,\n goalTypeId: gt.id,\n goalValue: recommendedGoals[camelCase(gt.name)] || goals.currentNetIncomeGoal,\n year,\n }),\n ),\n )\n .then(() => {\n setLoading(false);\n })\n .catch(() => {\n setLoading(false);\n setErrors({ global: \"Failed to save Goals\" });\n });\n },\n },\n errors,\n goals,\n loading,\n };\n};\n\nexport default useWizard;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport Typography from \"@shared/v2/Typography\";\nimport format from \"@shared/formatters\";\nimport RecommendedGoals from \"./RecommendedGoals\";\nimport Loading from \"./Loader\";\nimport useWizard from \"../services/useWizard\";\n\nconst TeamProductionWizardModal = ({ agent, show, onClose, year }) => {\n const wizardData = useWizard({ agentId: agent?.value, show, year });\n const { actions, goals, loading } = wizardData;\n const [currentNetIncomeGoal, setCurrentNetIncomeGoal] = useState(goals.currentNetIncomeGoal || 0);\n const [page, setPage] = useState(1);\n const [error, setError] = useState(null);\n\n useEffect(() => {\n setCurrentNetIncomeGoal(goals.currentNetIncomeGoal);\n }, [goals.currentNetIncomeGoal]);\n\n useEffect(() => {\n if (!show) setPage(1);\n }, [show]);\n\n useEffect(() => {\n if (page === 2) {\n actions.setLocalGoals((g) => ({ ...g, currentNetIncomeGoal }));\n setTimeout(() => {\n setPage(3);\n }, 2000);\n }\n }, [page]);\n\n return (\n <Modal\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName={`${page < 3 ? \"tw-max-w-[460px]\" : \"tw-max-w-[620px]\"} tw-w-[100vw] tw-max-h-[85vh] tw-flex tw-flex-col tw-gap-[32px]`}\n show={show}\n onHide={onClose}\n >\n {loading && <Loading />}\n {page === 1 && (\n <>\n <Modal.Header\n title=\"Let's Get Started\"\n description={\n <div className=\"tw-flex tw-flex-col tw-gap-[16px]\">\n <span>\n Let’s start with how much pretax income you want to take home for the year. That will help\n us calculate your other goals so they are aligned with achieving your desired net income.\n </span>\n <Typography variant=\"body-s\" className=\"!tw-italic !tw-text-gray-50\">\n If you don’t know your exact net income goal yet, go ahead and enter an estimate - you can\n always change it later.\n </Typography>\n </div>\n }\n closeButton\n />\n <Modal.Body>\n <TextComboInput\n isRequired\n leading=\"$\"\n placeholder=\"0\"\n spacing={0}\n value={currentNetIncomeGoal ? format.number(currentNetIncomeGoal, 0) : \"\"}\n label={`${year} Net Income`}\n onChange={(e) => setCurrentNetIncomeGoal((e.target.value || \"\").replace(/[^0-9]/g, \"\"))}\n error={error}\n />\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between tw-gap-[8px]\">\n <Button schema=\"tertiary\" size=\"medium\" onClick={onClose}>\n Cancel\n </Button>\n <Button\n size=\"medium\"\n onClick={() => {\n if (!currentNetIncomeGoal) {\n setError(\"Please enter your net income goal\");\n } else {\n setError(null);\n setPage(2);\n }\n }}\n >\n Calculate Goals\n </Button>\n </Modal.Footer>\n </>\n )}\n {page === 2 && (\n <>\n <Modal.Header title={`Calculating Your ${year} Goals...`} />\n <Modal.Body className=\"tw-relative tw-h-[50px]\">\n <Loading />\n </Modal.Body>\n <Modal.Footer className=\"tw-text-center tw-text-gray-50\" onClick={() => setPage(3)}>\n Goals are being generated...\n </Modal.Footer>\n </>\n )}\n {page === 3 && <RecommendedGoals show={show} year={year} onClose={onClose} wizardData={wizardData} />}\n </Modal>\n );\n};\n\nTeamProductionWizardModal.propTypes = {\n agent: PropTypes.shape().isRequired,\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n year: PropTypes.number.isRequired,\n};\n\nexport default TeamProductionWizardModal;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { GearSolidV6, WandMagicSparklesSolidV6 } from \"@shared/v2/Icomoon\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport HeadingSelect from \"./HeadingSelect\";\nimport Section from \"./Section\";\nimport TeamBusinessGoals from \"./TeamBusinessGoals\";\nimport DefaultableGoals from \"./DefaultableGoals\";\nimport { Menu, Option, SingleValue } from \"./CustomDropdownComponents\";\nimport TeamActivityGoals from \"./TeamActivityGoals\";\nimport TeamDefaultsProductionModal from \"./TeamDefaultsProductionModal\";\nimport TeamProductionWizardModal from \"./TeamProductionWizardModal\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst ReportingGoals = ({ agents }) => {\n const { isAdmin } = useCurrentUser().account;\n const params = new URLSearchParams(window.location.search);\n const [menuIsOpen, setMenuIsOpen] = useState(false);\n const [teamProductionIsOpen, setTeamProductionIsOpen] = useState(false);\n const [wizardIsOpen, setWizardIsOpen] = useState(false);\n const [year, setYear] = useState(params.get(\"year\") || new Date().getFullYear());\n const dropdownOptions = useMemo(() =>\n agents.map(({ id, full_name: fullName, avatar }) => ({\n value: id,\n label: fullName,\n meta: { avatar },\n })),\n );\n const [agent, setAgent] = useState(dropdownOptions?.find(({ value }) => value === null));\n\n useEffect(() => {\n const searchParams = new URLSearchParams({ year });\n window.history.pushState(null, null, `${window.location.pathname}?${searchParams}`);\n }, [year]);\n\n return (\n <div className=\"tw-bg-neutral-gray-5 tw-p-[16px]\">\n <div className=\"tw-mx-auto tw-max-w-[1320px] tw-w-full tw-flex tw-flex-col tw-gap-[24px]\">\n <Section className=\"tw-flex tw-items-baseline tw-justify-between\">\n <div className=\"tw-w-full tw-flex tw-justify-between tw-align-top tw-flex-wrap\">\n <div>\n <div className=\"tw-flex tw-items-baseline\">\n <HeadingSelect\n name=\"year\"\n title={<h2 className=\"tw-text-24d tw-m-0 tw-mr-[16px]\">Goal Setting</h2>}\n value={year}\n onChange={setYear}\n />\n {isAdmin && (\n <>\n <IconButton size=\"small\" schema=\"tertiary\" onClick={() => setTeamProductionIsOpen(true)}>\n <GearSolidV6 />\n </IconButton>\n <TeamDefaultsProductionModal\n show={teamProductionIsOpen}\n year={year}\n onClose={() => setTeamProductionIsOpen(false)}\n />\n </>\n )}\n <TeamProductionWizardModal\n agent={agent}\n show={wizardIsOpen}\n year={year}\n onClose={() => setWizardIsOpen(false)}\n />\n </div>\n <p className=\"tw-text-14d tw-text-gray-50 tw-mt-4\">\n Set business, production, and activity tracking goals for a period of time. View progress\n towards goals on your dashboards.\n </p>\n </div>\n {isAdmin && (\n <div className=\"tw-flex tw-flex-col\">\n <Dropdown\n menuIsOpen={menuIsOpen}\n onMenuOpen={() => setMenuIsOpen(true)}\n onMenuClose={() => setMenuIsOpen(false)}\n components={{ Menu, Option, SingleValue }}\n className=\"tw-min-w-[300px]\"\n label=\"Assign goals for:\"\n value={agent}\n options={dropdownOptions}\n onChange={setAgent}\n />\n </div>\n )}\n </div>\n </Section>\n\n <div className=\"tw-flex tw-flex-wrap tw-items-start tw-gap-[16px]\">\n <div className=\"tw-basis-[500px] tw-grow tw-flex tw-flex-col tw-gap-[16px]\">\n <TeamBusinessGoals year={year} isAdmin={isAdmin} />\n <DefaultableGoals\n action={\n <TextButton\n onClick={() => setWizardIsOpen(true)}\n className=\"tw-flex tw-items-center tw-gap-[4px] tw-ml-[-6px] tw-mt-[16px]\"\n >\n <WandMagicSparklesSolidV6 /> Help Me Set My Goals\n </TextButton>\n }\n agent={agent}\n refresh={!wizardIsOpen}\n year={year}\n isAdmin={isAdmin}\n section=\"agent_production\"\n title=\"Personal Production Goals\"\n description={\n agent?.value ? (\n <div>\n Set the <span className=\"tw-font-bold\">production standards for {agent.label}</span> on\n goals such as units sold, units listed, units pended, closed volume, and gross commision\n income (GCI).\n </div>\n ) : (\n \"Set individual production goals for yourself based on units sold, units listed, units pended, closed volume, gross commission income (GCI). \"\n )\n }\n />\n </div>\n <div className=\"tw-basis-[500px] tw-grow tw-flex tw-flex-col tw-gap-[16px]\">\n <TeamActivityGoals year={year} isAdmin={isAdmin} />\n <DefaultableGoals\n agent={agent}\n year={year}\n isAdmin={isAdmin}\n section=\"lead_interaction\"\n title=\"Brivity Activity Goals\"\n description={\n agent?.value ? (\n <div>\n Set <span className=\"tw-font-bold\">{agent.label}’s goals</span> for activities that are\n tracked within Brivity. Note that these are automatically logged and do not require manual\n entry.\n </div>\n ) : (\n \"Set goals for activities tracked within Brivity. Note that these are automatically logged and do not require manual entry.\"\n )\n }\n />\n <DefaultableGoals\n agent={agent}\n year={year}\n isAdmin={isAdmin}\n section=\"activity\"\n title=\"Logged Activity Goals\"\n description={\n agent?.value ? (\n <div>\n Set the <span className=\"tw-font-bold\">activity goal standards for {agent.label}</span>{\" \"}\n for manually logged lead generation activities, lead nurturing activities, or custom goals\n that you want your team to track.\n </div>\n ) : (\n \"Track progress in activities related to lead generation, lead nurturing, or any other custom goals you wish to track.\"\n )\n }\n customGoals\n />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReportingGoals.propTypes = {\n agents: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nexport default ReportingGoals;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Provider } from \"react-redux\";\nimport ReportingGoals from \"./ReportingGoals\";\n\nconst ReportingGoalsApp = ({ agents }) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n <Provider store={store}>\n <ReportingGoals agents={agents} />\n </Provider>\n );\n};\n\nReportingGoalsApp.propTypes = {\n agents: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n};\n\nexport default ReportingGoalsApp;\n","import { useEffect, useCallback } from \"react\";\n\nexport const useEventListenerAction = (query, action = () => {}) => {\n const actionable = useCallback(action, []);\n\n useEffect(() => {\n const element = document.querySelector(query);\n if (!element) return;\n element.addEventListener('click', actionable);\n return () => {\n element.removeEventListener('click', actionable);\n }\n }, [query, actionable]);\n}\n","// eslint-disable-next-line import/prefer-default-export\nexport const CLEAR_MODAL_FILTER_ID = \"#clear-all-modal-filters\";\n","import React, { useState, useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { useEventListenerAction } from \"@shared/hooks/useEventListenerAction\";\nimport { CLEAR_MODAL_FILTER_ID } from \"../../shared/constants\";\n\nconst AgreementDateSelect = ({\n previousSelectedExpirationDate,\n previousSelectedSignedDate,\n expirationDateOptions,\n signedDateOptions,\n}) => {\n const [selectedSignedDate, setSelectedSignedDate] = useState(\n previousSelectedSignedDate?.length > 0\n ? signedDateOptions.find((option) => option.value === previousSelectedSignedDate[0])\n : [],\n );\n const [selectedExpiredDate, setSelectedExpiredDate] = useState(\n previousSelectedExpirationDate?.length > 0\n ? expirationDateOptions.find((option) => option.value === previousSelectedExpirationDate[0])\n : [],\n );\n\n useEventListenerAction(CLEAR_MODAL_FILTER_ID, () => {\n setSelectedExpiredDate([]);\n setSelectedSignedDate([]);\n });\n\n useEffect(() => {\n if (selectedExpiredDate || selectedSignedDate) {\n document.getElementById(\"leads_filter_selected_agreement_filters_expiration_date_range\").value =\n selectedExpiredDate?.value || [];\n document.getElementById(\"leads_filter_selected_agreement_filters_signed_date_range\").value =\n selectedSignedDate?.value || [];\n }\n }, [selectedExpiredDate, selectedSignedDate]);\n return (\n <div className=\"tw-flex tw-gap-[16px] tw-mb-[10px]\">\n <div className=\"tw-flex-1\">\n <input\n type=\"hidden\"\n id=\"leads_filter_selected_agreement_filters_signed_date_range\"\n name=\"leads_filter[selected_agreement_filters][signed_date_range][]\"\n value=\"\"\n />\n <Dropdown\n label=\"Signed Date Range\"\n placeholder=\"Select...\"\n options={signedDateOptions}\n value={selectedSignedDate}\n onChange={(e) => setSelectedSignedDate(e)}\n menuPlacement=\"bottom\"\n labelClassName=\"!tw-font-normal\"\n />\n </div>\n <div className=\"tw-flex-1\">\n <input\n type=\"hidden\"\n id=\"leads_filter_selected_agreement_filters_expiration_date_range\"\n name=\"leads_filter[selected_agreement_filters][expiration_date_range][]\"\n value=\"\"\n />\n <Dropdown\n label=\"Expiration Date Range\"\n placeholder=\"Select...\"\n options={expirationDateOptions}\n value={selectedExpiredDate}\n onChange={(e) => setSelectedExpiredDate(e)}\n menuPlacement=\"bottom\"\n labelClassName=\"!tw-font-normal\"\n />\n </div>\n </div>\n );\n};\nAgreementDateSelect.propTypes = {\n previousSelectedExpirationDate: Proptypes.arrayOf(Proptypes.string),\n previousSelectedSignedDate: Proptypes.arrayOf(Proptypes.string),\n signedDateOptions: Proptypes.arrayOf(Proptypes.shape({ label: Proptypes.string, value: Proptypes.string })),\n expirationDateOptions: Proptypes.arrayOf(\n Proptypes.shape({ label: Proptypes.string, value: Proptypes.string }),\n ),\n};\nAgreementDateSelect.defaultProps = {\n previousSelectedExpirationDate: [],\n previousSelectedSignedDate: [],\n signedDateOptions: [],\n expirationDateOptions: [],\n};\nexport default AgreementDateSelect;\n","import { schemaGenerator } from \"../utils\";\n\nconst baseClasses = [\n \"tw-border-neutral-gray-15\",\n \"tw-border-solid\",\n \"tw-border-[1px]\",\n \"tw-rounded-full\",\n \"tw-select-none\",\n \"tw-mb-0\",\n \"tw-whitespace-nowrap\",\n];\n\nconst sizeClasses = {\n small: [\"tw-text-12d\", \"tw-px-12px\", \"tw-py-3px\"],\n medium: [\"tw-text-14d\", \"tw-px-16px\", \"tw-py-8px\"],\n};\n\nconst variantClasses = {\n gray: {\n default: [\n ...baseClasses,\n \"tw-text-neutral-gray-75\",\n \"peer-checked:tw-text-white\",\n \"peer-checked:tw-bg-neutral-gray-75\",\n \"peer-checked:tw-border-neutral-gray-75\",\n \"peer-enabled:tw-cursor-pointer\",\n ],\n hover: [\n \"peer-enabled:hover:tw-text-neutral-gray-75\",\n \"peer-enabled:hover:tw-bg-neutral-gray-10\",\n \"peer-enabled:hover:tw-border-neutral-gray-10\",\n\n \"peer-enabled:peer-checked:hover:tw-text-white\",\n \"peer-enabled:peer-checked:hover:tw-bg-neutral-gray-50\",\n \"peer-enabled:peer-checked:hover:tw-border-neutral-gray-50\",\n ],\n focused: [\"peer-focus-visible:tw-outline-theme\"],\n disabled: [\"peer-disabled:tw-text-neutral-gray-30\"],\n },\n primary: {\n default: [\n ...baseClasses,\n \"tw-text-neutral-gray-75\",\n \"peer-checked:tw-text-white\",\n \"peer-checked:tw-bg-[var(--filter-pill-selected)]\",\n \"peer-checked:tw-border-[var(--filter-pill-selected)]\",\n \"peer-enabled:tw-cursor-pointer\",\n ],\n hover: [\n \"peer-enabled:hover:tw-text-[var(--filter-pill-hover)]\",\n \"peer-enabled:hover:tw-border-[var(--filter-pill-hover)]\",\n\n \"peer-enabled:peer-checked:hover:tw-text-white\",\n \"peer-enabled:peer-checked:hover:tw-bg-[var(--filter-pill-selected-hover)]\",\n \"peer-enabled:peer-checked:hover:tw-border-[var(--filter-pill-selected-hover)]\",\n ],\n focused: [\"peer-focus-visible:tw-outline-theme\"],\n disabled: [\n \"peer-disabled:tw-text-neutral-gray-30\",\n \"peer-disabled:tw-bg-transparent\",\n \"peer-disabled:tw-border-neutral-gray-30\",\n ],\n },\n};\n\nconst sizeDictionary = schemaGenerator(sizeClasses);\nconst variantDictionary = schemaGenerator(variantClasses);\n\nexport { variantDictionary, sizeDictionary };\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport { variantDictionary, sizeDictionary } from \"./FilterPill.styles\";\n\nconst FilterPill = ({ children, disabled, id: idFromProps, onClick, selected, variant, size, className }) => {\n const sizeClasses = sizeDictionary[size];\n const variantClasses = variantDictionary[variant];\n const id = useGivenOrGeneratedId(\"filter-pill\", idFromProps);\n\n return (\n <span>\n <input\n id={id}\n type=\"checkbox\"\n disabled={disabled}\n checked={selected}\n onChange={onClick}\n className={`${className} tw-peer tw-sr-only`}\n />\n\n <label htmlFor={id} className={`${sizeClasses} ${variantClasses}`}>\n {children}\n </label>\n </span>\n );\n};\n\nFilterPill.propTypes = {\n children: PropTypes.node.isRequired,\n disabled: PropTypes.bool,\n id: PropTypes.string,\n onClick: PropTypes.func,\n selected: PropTypes.bool,\n variant: PropTypes.oneOf([\"gray\", \"primary\"]),\n size: PropTypes.oneOf([\"small\", \"medium\"]),\n};\n\nFilterPill.defaultProps = {\n disabled: false,\n id: null,\n onClick: null,\n selected: false,\n variant: \"gray\",\n size: \"small\",\n};\n\nexport default FilterPill;\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { useEventListenerAction } from \"@shared/hooks/useEventListenerAction\";\nimport { CLEAR_MODAL_FILTER_ID } from \"../../shared/constants\";\n\nconst AgreementStatusSelect = ({ previousSelectedStatus }) => {\n const [selectedStatus, setSelectedStatus] = useState(previousSelectedStatus || []);\n\n useEventListenerAction(CLEAR_MODAL_FILTER_ID, () => setSelectedStatus([]));\n\n const handleOnChange = (status) => {\n setSelectedStatus((prevSelectedStatus) => {\n if (prevSelectedStatus.includes(status)) {\n // If status exists, remove it\n return prevSelectedStatus.filter((item) => item !== status);\n }\n // If status doesn't exist, add it\n return [...prevSelectedStatus, status];\n });\n };\n\n return (\n <div className=\"m-b-10\">\n <FieldLabel label=\"Status\" htmlFor=\"selected_agreement_filters-status\" />\n\n <div className=\"tw-flex tw-gap-4px\">\n {selectedStatus.map((status) => (\n <input\n type=\"hidden\"\n key={status}\n id=\"selected_agreement_filters-status\"\n name=\"leads_filter[selected_agreement_filters][status][]\"\n value={status}\n />\n ))}\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"active\")}\n selected={selectedStatus.includes(\"active\")}\n >\n Active\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"completed\")}\n selected={selectedStatus.includes(\"completed\")}\n >\n Completed\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"expired\")}\n selected={selectedStatus.includes(\"expired\")}\n >\n Expired\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"canceled\")}\n selected={selectedStatus.includes(\"canceled\")}\n >\n Canceled\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"none\")}\n selected={selectedStatus.includes(\"none\")}\n >\n None\n </FilterPill>\n </div>\n </div>\n );\n};\n\nAgreementStatusSelect.propTypes = {\n previousSelectedStatus: Proptypes.arrayOf(Proptypes.string),\n};\n\nAgreementStatusSelect.defaultProps = {\n previousSelectedStatus: [],\n};\n\nexport default AgreementStatusSelect;\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport { useEventListenerAction } from \"@shared/hooks/useEventListenerAction\";\nimport { CLEAR_MODAL_FILTER_ID } from \"../../shared/constants\";\n\nconst AgreementTypeSelect = ({ previousSelectedAgreementType }) => {\n const [selectedTypes, setSelectedTypes] = useState(previousSelectedAgreementType || []);\n\n useEventListenerAction(CLEAR_MODAL_FILTER_ID, () => setSelectedTypes([]));\n\n const handleOnChange = (type) => {\n setSelectedTypes((prevSelectedType) => {\n if (prevSelectedType.includes(type)) {\n // If type exists, remove it\n return prevSelectedType.filter((item) => item !== type);\n }\n // If type doesn't exist, add it\n return [...prevSelectedType, type];\n });\n };\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[4px] tw-mb-[10px]\">\n <FieldLabel htmlFor=\"selected_agreement_filters-type\" label=\"Agreement\" />\n\n <div className=\"tw-flex tw-flex-wrap tw-gap-[4px]\">\n {selectedTypes.map((type) => (\n <input\n id=\"selected_agreement_filters-type\"\n type=\"hidden\"\n key={type}\n name=\"leads_filter[selected_agreement_filters][agreement_type][]\"\n value={type}\n />\n ))}\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"buyer\")}\n selected={selectedTypes.includes(\"buyer\")}\n >\n Buyer\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"seller\")}\n selected={selectedTypes.includes(\"seller\")}\n >\n Seller\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"referral\")}\n selected={selectedTypes.includes(\"referral\")}\n >\n Referral\n </FilterPill>\n <FilterPill\n className=\"filter-checkbox\"\n onClick={() => handleOnChange(\"none\")}\n selected={selectedTypes.includes(\"none\")}\n >\n None\n </FilterPill>\n </div>\n </div>\n );\n};\n\nAgreementTypeSelect.propTypes = {\n previousSelectedAgreementType: Proptypes.arrayOf(Proptypes.string),\n};\n\nAgreementTypeSelect.defaultProps = {\n previousSelectedAgreementType: [],\n};\n\nexport default AgreementTypeSelect;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport AgreementDateSelect from \"./AgreementDateSelect\";\nimport AgreementStatusSelect from \"./AgreementStatusSelect\";\nimport AgreementTypeSelect from \"./AgreementTypeSelect\";\n\nconst AgreementFilters = ({\n previousSelectedAgreementType,\n previousSelectedStatus,\n previousSelectedExpirationDate,\n previousSelectedSignedDate,\n expirationDateOptions,\n signedDateOptions,\n}) => (\n <>\n <AgreementTypeSelect previousSelectedAgreementType={previousSelectedAgreementType} />\n <AgreementStatusSelect previousSelectedStatus={previousSelectedStatus} />\n <AgreementDateSelect\n previousSelectedExpirationDate={previousSelectedExpirationDate}\n previousSelectedSignedDate={previousSelectedSignedDate}\n expirationDateOptions={expirationDateOptions}\n signedDateOptions={signedDateOptions}\n />\n <div className=\"tw-mt-[25px]\">\n <hr />\n </div>\n </>\n);\n\nAgreementFilters.propTypes = {\n previousSelectedAgreementType: Proptypes.arrayOf(Proptypes.string),\n previousSelectedStatus: Proptypes.arrayOf(Proptypes.string),\n previousSelectedExpirationDate: Proptypes.arrayOf(Proptypes.string),\n previousSelectedSignedDate: Proptypes.arrayOf(Proptypes.string),\n signedDateOptions: Proptypes.arrayOf(Proptypes.shape({ label: Proptypes.string, value: Proptypes.string })),\n expirationDateOptions: Proptypes.arrayOf(\n Proptypes.shape({ label: Proptypes.string, value: Proptypes.string }),\n ),\n};\nAgreementFilters.defaultProps = {\n previousSelectedAgreementType: [],\n previousSelectedStatus: [],\n previousSelectedExpirationDate: [],\n previousSelectedSignedDate: [],\n signedDateOptions: [],\n expirationDateOptions: [],\n};\nexport default AgreementFilters;\n","// extracted by mini-css-extract-plugin\nexport default {\"checkbox\":\"ip7Fr8OaD3Iq4BgEmJxf\",\"checked\":\"Ek7rrxmx6FvLX94uMfFh\",\"inlineEditable\":\"Leur5N0v63gEG3m_S6nW\",\"hidden\":\"RGIpTaDUR3t7n4EZGCSz\",\"tagBubble\":\"mRam4jb0FkyvCEMG0PE4\",\"faLg\":\"xtT_8B2Y07cUgqXMDwVc\",\"blue\":\"r7kY1lCECCKkHtzxqxxF\",\"gray\":\"jajVkyg85cz5y2woLpxE\",\"editAndDelete\":\"N_bGJNtMV2MT7HjlEjvN\",\"downloadAndDelete\":\"_ir2L985hJfk7Hjyg5gI\",\"editAndAdd\":\"nZcjP0tuR9aTO2iyslg0\",\"button\":\"u7gk01b09ISu8BG3tQHp\",\"edit\":\"v3UGrWGELPQ0RqFWuFwv\",\"smIcon\":\"ihgQJ4zKOjcUttWfbcNA\"};","// extracted by mini-css-extract-plugin\nexport default {\"btn\":\"agIQjaafiAYwv0ii4Uv8\",\"btnLg\":\"nuF228eVdqje4eWLDeLl\",\"btnLgSquare\":\"NV3F26xQYC9bTVljO8ak\",\"btnSm\":\"feWqVvPhfSocFL65ypRQ\",\"btnSmNarrow\":\"nQrX6nOBV2DvUHk4UMqJ feWqVvPhfSocFL65ypRQ\",\"btnBlueDisabled\":\"Ja9CBqvP1Hu8ubsVJrPk\",\"btnBlue\":\"T2WooP0bFVpDv1rJosT8\",\"btnGray\":\"BsHZbuQqJxuD3T49jdZ8\",\"btnDarkBlue\":\"amZCPYx0nHLW7jIHMoW4\",\"btnDanger\":\"tIOmR1OEQNkO8e_j3i2z\",\"btnYellow\":\"fCHSmKpkc6wWoqNMAY5y\",\"spaceBetween\":\"NFm0P9eWbuaZ_JC1nIRe\",\"btnRed\":\"eIUPwqESJDNuuGWTrcI0\",\"btnDropdown\":\"WyGgZD_YFxJDyBWGzEcA\",\"open\":\"kZ3ZR36Bcs0pKMkJ55Qw\",\"btn-default\":\"q_a4F2arSI8i3JEO49sX\",\"dropdown-toggle\":\"FiPNoKz7eCOCYoKfxtHy\",\"btn-group-test\":\"ppdvKc_zAETW0iRqPY_0\",\"inactive\":\"TiNgAlrFakeX3AT0Sebf\",\"btnSecondary\":\"fbPdAc6oXdFK6CzbcjY1\"};","// extracted by mini-css-extract-plugin\nexport default {\"searchResults\":\"_enMyoKOw5WrM8fjbAkJ\",\"resultLabel\":\"u1Yr83atTV3ZfotfAKKs\",\"resultChildren\":\"wqkxyVw9nKZEFFoxm_wV\",\"resultItem\":\"StWWdDlbYHep2ey5NflK\",\"highlight\":\"HZGr3JlR4JI9ZKSd9_Ad\",\"removableBubble\":\"a67SlBqe9ikiug_RxFgk\",\"remove\":\"V3cY6CuXME8hZVduNt3k\",\"searchBubbles\":\"Kku_itC77FYfpTBfK4ei\",\"searchByMap\":\"X8jFs54OVch2E3SfyJrS\",\"mapContainer\":\"anx_kLQHY9JD4kn18EeA\",\"alertContainer\":\"qMiWAGC4ixjGPiED6uFq\",\"viewAllAlert\":\"lnjBx4q7sDYvKWcKdDsx\",\"hideHorizontalScroll\":\"CoVWW3j7ffbm03NQsdR2\",\"advancedOptions\":\"NezLbiCQSbMwTkqtC43l\",\"optionType\":\"FaeGLdXZqhhucaPByVyN\",\"moreOrLess\":\"OpvWpPTd_83Y8PJUjlKB\",\"upOrDownIcon\":\"KHafFtzQmklTZelwSK7Q\",\"optionLabel\":\"V3wD8Wwq8bBOZ0fMbS_H\",\"optionContainer\":\"odveMR82Jg6gweS9EFgq\",\"option\":\"dqnUNGFOeCv8MSDF9xx5\",\"viewAllCard\":\"Tf6OvPsCHq9TtE9G8wyb\",\"addNewAlert\":\"SIUY0ug8LgV6SQlAODiU\",\"alert\":\"Mte3WS782XMyaTvjVv34\",\"lgBell\":\"MqmRZEsxx2WCpRbz3hZF\",\"propertyTypeBubble\":\"fa2dnDypHU15Cvr0V6Dj\",\"selected\":\"vgc0OzlnBjeRNrf6IKfk\",\"ccResult\":\"TofPpAfbFrT4bScsQ7KQ\",\"ccEmail\":\"RgtkTDEQgVHsZXhuwYJw\",\"input\":\"HSGCYxUwoAfj2cikJkIB\",\"card\":\"dinvNHpuMo6z0Eh54dK9\",\"content\":\"u8MbPPmWZIxedOh2z8kj\",\"searchName\":\"Psmw5sjO_2AZigcR72tR\",\"overflow\":\"UbeOhbmK2etIx31gAKio\"};","// extracted by mini-css-extract-plugin\nexport default {\"personDetailLeftFlexbox\":\"Ov1_nP0nem4okKn_HHh3\",\"personDetailCenterFlexbox\":\"rcmMqggfgzI3mg19bHr8\",\"personDetailRightFlexbox\":\"V98eG2s8oTJMbyR1fAWQ\",\"brivityBtnGrayOutline\":\"K5o78eF5OkBg5YsJB5KX\",\"active\":\"X2A8V4fcAi16mMKvs_4B\",\"brivitySocialIcon\":\"caglhZoONFTrLFPVeLuI\",\"brivitySocialIconDisabled\":\"ijmauVhcRvDjZZO4Z9sA\",\"brivityPillBlue\":\"tOCcHDfzigfm4gydSUqn\",\"brivityPillRed\":\"_A3S_KzkStxiIZZC9ZCA\",\"brivityPersonInfoCard\":\"tZGjDLkqaUhWtdSqlZPh\",\"brivityPrevNextWrapper\":\"vR3R4W7C6LhboYxnY3lx\",\"brivityPrevNextBtn\":\"t9YnxLQ95F9ObtysrCcR\",\"enabled\":\"aNqVORpq7oBqRMp9bl21\",\"disabled\":\"zCCoitve53T11Ccpj7I5\",\"brivityPersonAvatarWrapper\":\"mhGAYP4Iz4kWG596j6GE\",\"brivityPersonAvatarInitials\":\"ZLpXFpxQKGegrdtMNFlr\",\"brivityPersonDetailsWrapper\":\"HZtM271BNQn5o4Gxa4nL\",\"brivityPersonDetailsName\":\"tWT3drgWynbh2Oz3f_wg\",\"brivityPersonDetailsSource\":\"BXcjt_1CudC6KinLlXBk\",\"brivityPersonDetailsSourceLabel\":\"HilZ3e6OJgWSZFiqlQsC\",\"brivityPersonDetailsRegistered\":\"lYfCLgYKE_Xw6o5S2sg0\",\"brivityPersonDetailsLastInteraction\":\"AytOyGU5BlPBZtcK3rc5\",\"brivityPersonDetailsStatusIntent\":\"Dgyk3nfaN5mnUFHu337k\",\"brivityPersonDetailsStatusIntentLabel\":\"MarvAXkg0ihcGpZZ2v18\",\"brivityPersonDetailsType\":\"pCRSGzfOnds71DHiwL62\",\"brivityPersonDetailsShowInLeads\":\"MzpKC_gl8r4O3ZBesFeS\",\"brivityPersonContactCard\":\"aOq6C3yTc9K6boAtSZvb\",\"brivityPersonContactHeader\":\"AsfzALmhsTM05YhyUYCu\",\"toggleCollapse\":\"WBoWHkXy2xJ3xKfP8gss\",\"collapsedHeader\":\"lSuzjVqYqx_xntMu1HQ0\",\"brivityPersonContactItem\":\"mHAitSb35OCnDnje3bwp\",\"brivityPersonContactLabel\":\"apPrz7ikjoYFu15OBy39\",\"brivityPersonContactContents\":\"_Iv8GeBtm4mnjy0PdqFp\",\"brivityPersonContactSocial\":\"L7PK2MdyRkzSOGdgbpJB\",\"brivityPersonContactIcon\":\"aPYFX75rnxxCFVXP0gId\",\"brivityPersonContactValue\":\"nZDwyXYRAIP98u_aNnnC\",\"brivityPersonDetailsCard\":\"S7xGWofIvK_OsnXLuYc2\",\"cardRoundedTop\":\"DaRaRRkXAIcDSDeof0z6\",\"brivityPersonDetailsHeader\":\"vGpSKT9idBT1ZfIPJIFx\",\"brivityPersonDetailsTitle\":\"B2Pyhh06axETWXz1Nlv9\",\"brivityPersonDetailsLabel\":\"StWeD3Ob2jddVuxP371C\",\"brivityPersonDetailsText\":\"lnTw_SYg8DBLf4uf91JB\",\"brivityPersonDetailsTag\":\"kDtp2HDL_fdhFSG5YMA3\",\"brivityPersonRelationshipsCard\":\"gVnYNx2yNpuXMHAbuDrL\",\"brivityPersonRelationshipsHeader\":\"CYIIh2dHxfJkSt6RCjiO\",\"brivityPersonRelationshipsHeaderText\":\"QXaBTVidsLkohGW0XX57\",\"brivityPersonRelationshipItem\":\"sxmscrZl7Y60ZEm1fsPi\",\"brivityPersonRelationshipName\":\"Y3Ie5UtLrJUl8TDr2v7B\",\"brivityPersonRelationshipType\":\"RXxiEyqjKHLl52psHn5j\",\"card\":\"B8fQoExBGCYVPyC1KghU\",\"collapsed\":\"QGo3WRnPxRw7C8ZUs4FE\",\"brivityCardBoxShadow\":\"T_Qm3bNHCBk1Uun2XSSX\",\"circleOutlineIcon\":\"U8fUAyb47ku5I8Nx55fM\",\"personDetailLabel\":\"QsU7qQBykzeZ6GKKgtgh\",\"addDetailLink\":\"mrdvbSWUi3Vk2hazY088\",\"addressFadeOverflow\":\"G1nGMsOMBQ72kVqhzUvu\",\"contactInfoFadeOut\":\"_E5dVDEcwUJHBYAWRw89\",\"contactInfoFadeOutHover\":\"SJSjqtAQ9wumspuFH8Mm\",\"personDetailEmptyStateText\":\"huV3ZRbadH08G9i3CUy7\",\"inlineDetail\":\"CjwqNgsVhz_JADRhA7Q3\",\"inlineLabelValue\":\"d8HDFU6IwFu7UDDo8cvt\",\"materialDesignBox\":\"t_lWE4Yv17AnJMxGv8HQ\",\"selectEmailDropdown\":\"yLG0htnIyxMnMeok2c7e\",\"selectEmailDropdownContent\":\"_gvItYlteVMYcsMAJt14\",\"emailStatusIcon\":\"Gy4vFbDFBQQH8vvQBzKD\",\"emailStatusCaret\":\"GMmn3F1pLc2gYQUHWrkQ\",\"cursorPointer\":\"ECZUnaM9OsadmfvMl81s\",\"faDisabled\":\"WHByHd_ntB5C8eNKol0t\",\"note_content\":\"fCAd3nm5YDyjKjmYkqos\",\"note_content_on_view_all\":\"qE7xVCh6RjqLjSNlBI4g\",\"view_all_notes_close_button\":\"BTgjiZDEhud7qEK6NieQ\",\"create_new_note_container\":\"wv3YS2DR0b4cQeMsuXtA\",\"car_note_sidebar\":\"RA1k0mlu0lrnF0xV1G1U\"};","// extracted by mini-css-extract-plugin\nexport default {\"modalTitle\":\"UfMoVRB9MAE7ujzZBsrC\",\"newModalTitle\":\"Yn4mAOwjupB0yN7wX99G\",\"sectionHeader\":\"yNcsoOW2YKDjHZ22mMIU\",\"pT32\":\"oj1ZDsjC4pQeCYjtD1bd\",\"pT30\":\"_4fmeV1UuQRWSmeOUJwAQ\",\"pT20\":\"VzIznD9pwSplbTabtGhw\",\"pT10\":\"a18Q9L4yB3O0Avj9BowQ\",\"pT8\":\"Fsf70LuJ1vW4_nd9pRJ0\",\"pB15\":\"SYWH3itOuk1jj07SV0Aq\",\"pB16\":\"XHdyqLKIPLV0zX3SDzmV\",\"pB24\":\"WZwirT7MF9pvqO4Ublpm\",\"pB30\":\"f7FhxpaCCCGT1DXsGLqg\",\"mT20\":\"L8SPrC40KiNT2u4hhPsz\",\"mB0\":\"CKPHC2KrjWuUEDAnVW3P\",\"mB24\":\"CY_qb9CQNPyBFaCMcxLV\",\"mR16\":\"Njwno7ChON7na0jVJ7Ig\",\"uploadPersonalPhoto\":\"ILhsBaMHK95InTa65ANg\",\"initials\":\"sZRISP86uDVT5UQXgURw\",\"uploadAvatarIcon\":\"HeoUmANgjG5RvpSd9JBh\",\"uploadAvatarText\":\"lWLJ_HYGyWxaSj97DWjZ\",\"divider\":\"DaNP8eP6FbIsm0KAS2e7\",\"modalBodyContainer\":\"pSR0_n4yfW4gn14QZP0a\",\"primaryDetailColor\":\"nhzGJXgaxOLFSO1ZoGS2\",\"makePrimaryLink\":\"neu5op5N78uRPVTQGAyI\",\"centerItems\":\"TY0yYs1p_rPdDxB02nAK\"};","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport modal_css from \"../modal.module.css\";\n\nconst HeaderTitle = (props) => {\n const { isNewHeader, title, onClose } = props;\n return (\n <Row className=\"tw-flex tw-items-center\">\n <Col xs={10} className={isNewHeader ? modal_css.modalTitle : modal_css.newModalTitle}>\n {title}\n {props.children}\n </Col>\n <Col xs={2}>\n <button type=\"button\" className=\"close\">\n <span aria-hidden=\"true\" onClick={onClose}>\n ×\n </span>\n <span className=\"sr-only\">Close</span>\n </button>\n </Col>\n </Row>\n );\n};\n\nexport default HeaderTitle;\n","import React from \"react\";\n\nconst AlertStatus = ({ alert: { isSending, activeForEmails, activeForAppNotifications } }) => {\n const textColor = isSending ? \"tw-text-teal\" : \"tw-text-coral\";\n const statusText = createStatusText(isSending, activeForEmails, activeForAppNotifications);\n\n return (\n <>\n <span className=\"tw-mb-5px tw-text-10px tw-text-gray-75 tw-font-bold\">STATUS:</span>\n <span className={`tw-ml-4px tw-text-14px ${textColor}`}>{statusText}</span>\n </>\n );\n}\n\nexport default AlertStatus;\n\nconst createStatusText = (isSending, activeForEmails, activeForAppNotifications) => {\n if (!isSending) {\n return \"Not Sending Alerts\";\n }\n\n if (activeForEmails && activeForAppNotifications) {\n return \"Sending Alerts\";\n }\n\n return activeForEmails ? \"Sending Email Alerts\" : \"Sending Home App Alerts\";\n};\n","const formatedPrice = (value) => {\n if (value) {\n return `$${value.toLocaleString()}`\n }\n}\n\nconst formattedPriceRange = (min, max) => {\n if (min == null && max == null) {\n return 'Any'\n } else if (max == null) {\n return `${formatedPrice(min)} - Any`\n } else if (min == null) {\n return `Any - ${formatedPrice(max)}`\n }\n\n return `${formatedPrice(min)} - ${formatedPrice(max)}`\n}\n\nconst formattedRange = (min, max) => {\n if (min == null && max == null) {\n return 'Any - Any'\n } else if (max == null) {\n return `${min} - Any`\n } else if (min == null) {\n return `Any - ${max}`\n }\n\n return `${min} - ${max}`\n}\n\nconst lotSizeToString = (value) => {\n if (!value) {\n return null;\n }\n\n const twoPlaces = [0.25, 0.33, 0.75]\n if (twoPlaces.includes(value)) {\n return value.toFixed(2)\n }\n return value.toFixed(1)\n}\n\nconst yearOptions = (firstOption) => {\n let years = [1800]\n for (let year = 1900; year <= 2000; year+=10) {\n years.push(year)\n }\n const currentYear = new Date().getFullYear()\n for (let year = 2005; year <= currentYear; year++) {\n years.push(year)\n }\n\n const allYears = years.map(year => ({ label: year, value: year }))\n\n return [{ label: firstOption, value: '' }].concat(allYears)\n};\n\nconst mapStateToAlert = (state) => {\n const alert = {\n alertId: state.search_id,\n searchName: state.search_name,\n priceMin: state.price_min,\n priceMax: state.price_max,\n bedsMin: state.numbeds_min,\n bedsMax: state.numbeds_max,\n bathsMin: state.numbaths_min,\n bathsMax: state.numbaths_max,\n sqFtMin: state.sqfeet_min,\n sqFtMax: state.sqfeet_max,\n lotSizeMin: state.lotval_min,\n lotSizeMax: state.lotval_max,\n yearMin: state.year_min,\n yearMax: state.year_max,\n garageMin: state.garage_min,\n garageMax: state.garage_max,\n requirePhotos: !state.photos_available,\n activeForEmails: state.activeForEmails,\n activeForAppNotifications: state.activeForAppNotifications,\n frequency: state.frequency,\n storiesMin: state.stories,\n mlsIds: state.mlsIds,\n propertyTypes: state.property_types,\n polygon: convertPolygonForAlert(state.polygon),\n propertySubTypes: state.propertySubTypes,\n poolFeatures: state.poolFeatures,\n parkingFeatures: state.parkingFeatures,\n propertyFeatures: state.propertyFeatures,\n interiorFeatures: state.interiorFeatures,\n exteriorFeatures: state.exteriorFeatures,\n communityFeatures: state.communityFeatures,\n greenFeatures: state.greenFeatures,\n view: state.view,\n heating: state.heating,\n cooling: state.cooling,\n lotFeatures: state.lotFeatures,\n homeStyle: state.homeStyle,\n financialInformation: state.financialInformation,\n legacyFields: state.legacyFields,\n ccEmails: state.cc_emails\n };\n\n return {\n templateId: state.templateId,\n templateName: state.templateName,\n listing_alert: { ...alert, ...formatLocationsForAlert(state) },\n search_type: state.searchingByTerm === true ? 'terms' : 'map'\n };\n};\n\nconst mapAlertToState = (existingAlert = {}, doesLeadHaveApp) => {\n const DefaultFrequency = \"daily\";\n const DefaultSource = \"brivity_crm\";\n const { locationCategories, locationValues } = formatLocationsForMultiSearch(existingAlert);\n\n return {\n // Not a field on an alert, but directly related to data on it\n searchingByTerm: !existingAlert.polygon,\n activeForEmails: existingAlert.activeForEmails === undefined ? true : existingAlert.activeForEmails,\n activeForAppNotifications: (!doesLeadHaveApp|| existingAlert.activeForAppNotifications === undefined) ? false : existingAlert.activeForAppNotifications,\n cc_emails: existingAlert.ccEmails || [],\n frequency: existingAlert.frequency || DefaultFrequency,\n garage_max: existingAlert.garageMax,\n garage_min: existingAlert.garageMin,\n lotval_max: lotSizeToString(existingAlert.lotSizeMax),\n lotval_min: lotSizeToString(existingAlert.lotSizeMin),\n mlsIds: existingAlert.mlsIds || [],\n // These multi_ are related to citys, counties etc. multi_search and multi_search_array have the same info, same with multi_cat\n multi_search_array: locationValues,\n multi_cat_array: locationCategories,\n numbaths_max: existingAlert.bathsMax,\n numbaths_min: existingAlert.bathsMin,\n numbeds_max: existingAlert.bedsMax,\n numbeds_min: existingAlert.bedsMin,\n // photos_available being true on the UI means include listings without photos (INCLUDE PROPERTIES WITHOUT PHOTOS). requirePhotos being true means only listings with photos\n photos_available: existingAlert.requirePhotos === undefined ? false : !existingAlert.requirePhotos,\n polygon: convertPolygonForMap(existingAlert.polygon),\n price_max: existingAlert.priceMax || \"\",\n price_min: existingAlert.priceMin || \"\",\n property_types: existingAlert.propertyTypes || [],\n saved_date: existingAlert.createdAt,\n searchingByTerm: !existingAlert.polygon,\n search_id: existingAlert.alertId,\n search_url: existingAlert.searchUrl,\n search_name: existingAlert.searchName || \"\",\n source: existingAlert.source || DefaultSource,\n sqfeet_max: existingAlert.sqFtMax,\n sqfeet_min: existingAlert.sqFtMin,\n stories: existingAlert.storiesMin,\n year_max: existingAlert.yearMax,\n year_min: existingAlert.yearMin,\n propertySubTypes: existingAlert.propertySubTypes,\n poolFeatures: existingAlert.poolFeatures,\n parkingFeatures: existingAlert.parkingFeatures,\n propertyFeatures: existingAlert.propertyFeatures,\n interiorFeatures: existingAlert.interiorFeatures,\n exteriorFeatures: existingAlert.exteriorFeatures,\n communityFeatures: existingAlert.communityFeatures,\n greenFeatures: existingAlert.greenFeatures,\n view: existingAlert.view,\n heating: existingAlert.heating,\n cooling: existingAlert.cooling,\n lotFeatures: existingAlert.lotFeatures,\n homeStyle: existingAlert.homeStyle,\n financialInformation: existingAlert.financialInformation,\n legacyFields: existingAlert.legacyFields\n };\n};\n\nconst radioButtonClass = (isSelected, isDisabled = false) => {\n let color = \"tw-text-grey\";\n if (isDisabled) {\n color = \"tw-text-gray-15\";\n } else if (isSelected) {\n color = \"tw-text-teal\";\n }\n\n return isSelected ? `fa fa-dot-circle-o ${color}` : `fa fa-circle-o ${color}`;\n};\n\nconst checkBoxClass = (isSelected) => isSelected ? \"fa-check-square text-info\" : \"fa-square-o\"\n\nconst dropDownOptions = (firstOption) => {\n return [\n { label: firstOption, value: ''}, {label: '1', value: '1'}, {label: '2', value: '2' }, {label: '3', value: '3' }, {label: '4', value: '4' }, {label: '5', value: '5' }, {label: '6', value: '6' }, {label: '7', value: '7' }, {label: '8', value: '8' }, {label: '9', value: '9' }, {label: '10', value: '10' }\n ]\n};\n\nconst bathroomOptions = (firstOption) => {\n return [\n { label: firstOption, value: ''}, {label: '1', value: '1'}, {label: '1.5', value: '1.5'}, {label: '1.75', value: '1.75'}, {label: '2', value: '2' }, {label: '3', value: '3' }, {label: '4', value: '4' }, {label: '5', value: '5' }, {label: '6', value: '6' }, {label: '7', value: '7' }, {label: '8', value: '8' }, {label: '9', value: '9' }, {label: '10', value: '10' }\n ]\n};\n\nconst searchFrequencyOptions = (showInstant = false) => {\n const options = [\n { label: \"Daily\", value: \"daily\" },\n { label: \"Twice Daily\", value: \"twice_daily\" },\n { label: \"Multiple Times Per Day\", value: \"four_times_daily\" },\n { label: \"Weekly\", value: \"weekly\" },\n { label: \"Every 2 Weeks\", value: \"bi_weekly\" },\n { label: \"Monthly\", value: \"monthly\" }\n ];\n\n if (showInstant) {\n options.splice(3, 0, { label: \"Immediate\", value: \"immediate\" });\n }\n\n return options;\n};\n\nconst lotSizeOptions = (firstOption) => {\n return [\n { label: firstOption, value: ''}, { label: \"0.1\", value: \"0.1\" }, { label: \"0.2\", value: \"0.2\" }, { label: \"0.25\", value: \"0.25\" }, { label: \"0.33\", value: \"0.33\" }, { label: \"0.5\", value: \"0.5\" }, { label: \"0.75\", value: \"0.75\" }, { label: \"1\", value: \"1.0\" }, { label: \"1.5\", value: \"1.5\" }, { label: \"2\", value: \"2.0\" }, { label: \"5\", value: \"5.0\" }, { label: \"10\", value: \"10.0\" }, { label: \"20\", value: \"20.0\" }, { label: \"40\", value: \"40.0\" }, { label: \"80\", value: \"80.0\" }\n ]\n}\n\nconst storiesOptions = [\n { label: \"Any\", value: \"\" }, { label: \"1 Story\", value: 1 }, { label: \"2 Story\", value: 2 }, { label: \"3+ Story\", value: 3 }\n]\n\nconst sqFTOptions = (firstOption) => {\n let options = [\n \"600\",\n \"800\",\n \"1000\",\n \"1200\",\n \"1400\",\n \"1600\",\n \"1800\",\n \"2000\",\n \"2250\",\n \"2500\",\n \"2750\",\n \"3000\",\n \"3500\",\n \"4000\",\n \"4500\",\n \"5000\",\n \"6000\",\n \"7000\",\n \"8000\",\n \"9000\",\n \"10000\"\n ].map(val => ({ label: val, value: val }));\n\n options.unshift({ label: firstOption, value: ''});\n\n return options;\n};\n\nconst formatLocationsForMultiSearch = alert => {\n const locationCategories = [];\n const locationValues = [];\n if (alert.neighborhoodCityStates) {\n alert.neighborhoodCityStates.forEach(n => {\n locationCategories.push(\"NeighborhoodCityState\");\n locationValues.push(`${n.neighborhood}, ${n.city}, ${n.state}`);\n });\n }\n\n if (alert.cityStates) {\n alert.cityStates.forEach(n => {\n locationCategories.push(\"CityState\");\n locationValues.push(`${n.city}, ${n.state}`);\n });\n }\n\n if (alert.countyStates) {\n alert.countyStates.forEach(n => {\n locationCategories.push(\"CountyState\");\n locationValues.push(`${n.county}, ${n.state}`);\n });\n }\n\n if (alert.postalCodes) {\n alert.postalCodes.forEach(n => {\n locationCategories.push(\"Zip Code\");\n locationValues.push(n);\n });\n }\n\n if (alert.elementarySchools) {\n alert.elementarySchools.forEach(n => {\n locationCategories.push(\"Elementary School\");\n locationValues.push(n);\n });\n }\n\n if (alert.middleSchools) {\n alert.middleSchools.forEach(n => {\n locationCategories.push(\"Middle School\");\n locationValues.push(n);\n });\n }\n\n if (alert.highSchools) {\n alert.highSchools.forEach(n => {\n locationCategories.push(\"High School\");\n locationValues.push(n);\n });\n }\n\n if (alert.schoolDistricts) {\n alert.schoolDistricts.forEach(n => {\n locationCategories.push(\"School District\");\n locationValues.push(n);\n });\n }\n\n if (alert.mlsAreas) {\n alert.mlsAreas.forEach(n => {\n locationCategories.push(\"Area\");\n locationValues.push(n);\n });\n }\n\n if (alert.buildingNames) {\n alert.buildingNames.forEach(n => {\n locationCategories.push(\"Building Name\");\n locationValues.push(n);\n });\n }\n\n if (alert.mlsNums) {\n alert.mlsNums.forEach(n => {\n locationCategories.push(\"MLS\");\n locationValues.push(n);\n });\n }\n\n if (alert.streetAddress) {\n locationCategories.push(\"Address\");\n locationValues.push(alert.streetAddress);\n }\n\n return { locationCategories, locationValues };\n};\n\nconst convertPolygonForMap = polygon => {\n if (!polygon) {\n return;\n }\n\n return polygon.map(({lat, lng}) => `(${lat},${lng})`).join(',');\n};\n\nconst formatLocationsForDisplay = alert => formatLocationsForMultiSearch(alert).locationValues.join(\"|\");\n\nexport {\n checkBoxClass,\n dropDownOptions,\n bathroomOptions,\n formatedPrice,\n formattedPriceRange,\n formattedRange,\n lotSizeOptions,\n lotSizeToString,\n mapStateToAlert,\n mapAlertToState,\n radioButtonClass,\n searchFrequencyOptions,\n sqFTOptions,\n storiesOptions,\n yearOptions,\n formatLocationsForMultiSearch,\n convertPolygonForMap,\n formatLocationsForDisplay\n};\n\nconst formatLocationsForAlert = ({multi_search_array, multi_cat_array}) => {\n if (!multi_cat_array || !multi_cat_array.length) {\n return {};\n }\n\n const locations = {};\n multi_cat_array.forEach((m, i) => {\n if (!locations[categoriesMapped[m]]) {\n locations[categoriesMapped[m]] = [];\n }\n\n if (m === 'NeighborhoodCityState') {\n const [neighborhood, city, state] = multi_search_array[i].split(',').map(s => s.trim());\n locations[categoriesMapped[m]].push({\n neighborhood,\n city,\n state\n });\n } else if (m === 'CityState') {\n const [city, state] = multi_search_array[i].split(',').map(s => s.trim());\n locations[categoriesMapped[m]].push({\n city,\n state\n });\n } else if (m === 'CountyState') {\n const [county, state] = multi_search_array[i].split(',').map(s => s.trim());\n locations[categoriesMapped[m]].push({\n county,\n state\n });\n } else {\n locations[categoriesMapped[m]].push(multi_search_array[i]);\n }\n });\n\n if (locations['streetAddress'] && locations['streetAddress'].length) {\n locations['streetAddress'] = locations['streetAddress'][0];\n }\n\n return locations;\n};\n\nconst categoriesMapped = {\n 'NeighborhoodCityState': 'neighborhoodCityStates',\n 'CityState': 'cityStates',\n 'CountyState': 'countyStates',\n 'Zip Code': 'postalCodes',\n 'Elementary School': 'elementarySchools',\n 'Middle School': 'middleSchools',\n 'High School': 'highSchools',\n 'School District': 'schoolDistricts',\n 'Area': 'mlsAreas',\n 'Address': 'streetAddress',\n 'Building Name': 'buildingNames',\n 'MLS': 'mlsNums'\n};\n\n// Of the form (1,2),(3,4),(5,6)\nconst convertPolygonForAlert = polygon => {\n if (!polygon) {\n return;\n }\n\n return polygon.split(\"),(\")\n .map(formatPoint);\n};\n\nconst formatPoint = p => {\n const [lat, lng] = p.replace(/[^0-9\\.,-]/g, '')\n .split(',');\n\n return {\n lat: parseFloat(lat),\n lng: parseFloat(lng)\n };\n};\n","import React, { Component } from 'react';\nimport moment from 'moment';\nimport { Col, Modal, Row } from 'react-bootstrap';\nimport icons from '../icons.module.css';\nimport button from '../button.module.css';\nimport alerts from '../listing_alerts/listing_alerts.module.css';\nimport css from \"../person-detail-styles.module.css\";\nimport modal from \"../modal.module.css\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport { capitalize } from 'lodash';\nimport AlertStatus from \"../listing_alerts/AlertStatus\";\nimport { formattedRange, formattedPriceRange, formatLocationsForDisplay } from '../../../shared/ListingAlertHelpers';\n\nclass ViewAllListingAlertsModal extends Component {\n render() {\n const { handleDelete, listingAlerts, onClose, openAddModal, openEditModal, websiteUrl } = this.props;\n\n return (\n <Modal id=\"view-all-listing-alerts-modal\" className=\"person-details-modal\" backdrop='static' show={true} onHide={onClose}>\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title=\"Listing Alerts\" onClose={onClose} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <Row className={modal.modalBodyContainer} style={{ paddingTop: \"12px\", marginTop: \"-12px\" }}>\n <Col xs={4} className={`m-b-20 text-center `}>\n <div id={alerts.addNewAlert} className={`tw-rounded-lg hover:tw-border-[2px] hover:tw-border-solid hover:tw-border-[#94DCDC] active:tw-bg-blue-10 ${alerts.viewAllCard}`} onClick={openAddModal}>\n <i className={`${alerts.lgBell} fa fa-bell-o text-info`} />\n <div className=\"text-info\" style={{ fontSize: \"14px\" }}><strong>CREATE NEW LISTING ALERT</strong></div>\n </div>\n </Col>\n {\n listingAlerts.map((alert, alertIndex) => (\n <Col key={alert.alertId} xs={4} className=\"m-b-20\">\n <div className={`tw-rounded-lg ${alerts.viewAllCard} ${alerts.alert}`}>\n <p className=\"pull-left\">\n <i className=\"fa fa-bell-o\" style={{ fontSize: \"14px\", marginRight: \"8px\" }} />\n Listing Alert\n </p>\n <div className={`${icons.editAndDelete} pull-right`}>\n <a className={`${icons.button} ${icons.gray}`} onClick={() => openEditModal(alertIndex)}>\n <i className={`${icons.smIcon} fa fa-pencil`} />\n </a>\n <a className={`${icons.button} ${icons.gray}`} onClick={() => handleDelete(alertIndex)}>\n <i className={`${icons.smIcon} fa fa-trash`} />\n </a>\n </div>\n <p style={{ clear: \"both\" }}>\n {/*TODO: Do we need to account for the account's time zone? See listing_alert_decorator.rb*/}\n {moment(alert.createdAt).format(\"MM/D/YYYY\")}\n <span> at {moment(alert.createdAt).format(\"h:mm A\")}</span>\n </p>\n <div className={alerts.viewAllAlert}>\n <p className=\"overflow\">\n <span className={css.brivityPersonDetailsLabel}>Name:</span>\n <span className={css.inlineLabelValue}>\n <a href={`https://${websiteUrl}/${alert.searchUrl}`} target=\"_blank\">{alert.searchName}</a>\n </span>\n </p>\n <p>\n <AlertStatus alert={alert} />\n </p>\n {\n alert.active &&\n <p>\n <span className={css.brivityPersonDetailsLabel}>Frequency:</span>\n <span className={css.inlineLabelValue}>{capitalize(alert.frequency)}</span>\n </p>\n }\n <p className=\"overflow\">\n <span className={css.brivityPersonDetailsLabel}>Search Term:</span>\n <span className={css.inlineLabelValue}>{formatLocationsForDisplay(alert)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Price:</span>\n <span className={css.inlineLabelValue}>{formattedPriceRange(alert.priceMin, alert.priceMax)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Bed:</span>\n <span className={css.inlineLabelValue}>{formattedRange(alert.bedsMin, alert.bedsMax)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Bath:</span>\n <span className={css.inlineLabelValue}>{formattedRange(alert.bathsMin, alert.bathsMax)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Square Feet:</span>\n <span className={css.inlineLabelValue}>{formattedRange(alert.sqFtMin, alert.sqFtMax)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Lot:</span>\n <span className={css.inlineLabelValue}>{formattedRange(alert.lotSizeMin, alert.lotSizeMax)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Garage:</span>\n <span className={css.inlineLabelValue}>{formattedRange(alert.garageMin, alert.garageMax)}</span>\n </p>\n <p>\n <span className={css.brivityPersonDetailsLabel}>Year:</span>\n <span className={css.inlineLabelValue}>{formattedRange(alert.yearMin, alert.yearMax)}</span>\n </p>\n </div>\n </div>\n </Col>\n ))\n }\n </Row>\n <Row>\n <Col xs={12}>\n <button\n onClick={onClose}\n className={`${button.btn} ${button.btnLg} ${button.btnGray} pull-right`}\n >\n Close\n </button>\n </Col>\n </Row>\n </Modal.Body>\n </Modal>\n );\n }\n}\n\nexport default ViewAllListingAlertsModal;\n","// extracted by mini-css-extract-plugin\nexport default {\"formLabel\":\"_5xBWN_rui1qaYMfHNZG\",\"formLabel2\":\"JyJT1kvDcvIK_nfTuH0w\",\"formControl\":\"hQPAZt9gpZRbis2zwQM1\",\"formControlSm\":\"t2cNCvX33YDmU62b_a4x\",\"formControlSmDate\":\"pMU0Qk1GymM1xyEutILR\",\"rowNarrow\":\"hTtwsuDDhEYiF0qQG9oP\",\"fauxRadioButton\":\"a0v8KYZ0pyQdznreA3pW\",\"fauxCheckBox\":\"jlGyrzzF4wrfdkg8X6ma\",\"checkBoxContainer\":\"Wzlj2ZEVZoVP3upVntOQ\",\"required\":\"QYCDl7bAx4WGv0SaAOSH\"};","// extracted by mini-css-extract-plugin\nexport default {\"laOptions\":\"QF3uY3vw80MFv85fMdbK\",\"laOptionsCollapsed\":\"GTRhUg2zRP0RUFfywntQ\"};","import React, { Component } from 'react';\n\nimport transitions from '../transitions.module.css';\nimport Checkbox from '@shared/v2/Checkbox';\nimport { ChevronDownSolidV6, ChevronUpSolidV6 } from '@shared/v2/Icomoon';\n\nclass AdvancedOptions extends Component {\n CollapsedMax = 3;\n\n state = {\n collapsedView: true\n }\n\n toggleShowMoreOptions = () => {\n this.setState((prevState) => ({ collapsedView: !prevState.collapsedView }))\n }\n\n showMoreOptionsClass = () => this.state.collapsedView ? transitions.laOptionsCollapsed : ''\n\n isOptionSelected = (option) => {\n return this.props.selectedAdvancedOptions.some(s => s.term === option.search_value && s.search_category === option.search_category);\n }\n\n toggleOptionSelection = (option) => {\n this.props.handleChecked(option.search_category, option.search_value);\n }\n\n render() {\n const sortedOptions = this.props.options.sort((a, b) => a.label.localeCompare(b.label));\n const options = this.state.collapsedView && sortedOptions.length > this.CollapsedMax\n ? sortedOptions.slice(0, this.CollapsedMax)\n : sortedOptions;\n\n return (\n <div className=\"tw-mb-24px\">\n <div className={`tw-flex tw-flex-col tw-mb-8px ${transitions.laOptions}`}>\n <span className=\"tw-text-14px tw-font-semibold tw-text-gray-50 tw-mb-8px\">{this.props.label}</span>\n <div className=\"tw-grid tw-grid-cols-3 tw-gap-y-8px\">\n {(options).map(option => (\n <AdvancedOption\n key={option.id}\n option={option}\n onSelect={() => this.toggleOptionSelection(option)}\n isOptionSelected={this.isOptionSelected(option)}\n />\n ))}\n </div>\n </div>\n {this.props.options.length > this.CollapsedMax && (\n <div className=\"tw-flex tw-gap-4px tw-cursor-pointer tw-text-theme-primary tw-text-12px tw-items-center\" onClick={this.toggleShowMoreOptions}>\n <span className=\"tw-font-bold\">\n {this.state.collapsedView ? 'MORE' : 'LESS'}\n </span>\n {this.state.collapsedView ? <ChevronDownSolidV6 size=\"s\" /> : <ChevronUpSolidV6 size=\"s\" />}\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default AdvancedOptions;\n\nconst AdvancedOption = ({option, onSelect, isOptionSelected}) => {\n return (\n <div\n className=\"tw-flex tw-gap-8px\"\n onClick={onSelect}\n >\n <div className=\"tw-flex tw-flex-col tw-items-start tw-mt-3px\">\n <Checkbox className=\"tw-cursor-pointer\" checked={isOptionSelected} readOnly />\n </div>\n <span className=\"tw-cursor-pointer tw-text-gray-75\">{option.label}</span>\n </div>\n );\n};\n","import React, { Component } from 'react';\nimport alerts from '../listing_alerts/listing_alerts.module.css';\nimport TextInput from '@shared/v2/TextInput';\n\nclass AddCCEmails extends Component {\n state = {\n ccEmail: ''\n }\n\n handleChange = (e) => {\n this.setState({ ccEmail: e.target.value })\n }\n\n validEmail = (email) => /^[^@\\s]+@[^@\\s]+$/.test(email)\n\n displayEmail = () => {\n const { ccEmail } = this.state\n\n if (this.validEmail(ccEmail)) {\n return <span><i className=\"fa fa-envelope text-danger\"/> {ccEmail}</span>\n }\n return `Invalid Email ${ccEmail}`\n }\n\n handleClick = () => {\n const { ccEmail } = this.state\n if (this.validEmail(ccEmail)) {\n this.props.addEmail(ccEmail)\n this.setState({ ccEmail: '' })\n }\n }\n\n render() {\n return (\n <div className=\"tw-flex tw-flex-col form-group tw-mb-10px\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">CC</label>\n <TextInput\n onChange={this.handleChange}\n placeholder=\"Enter Email Address\"\n value={this.state.ccEmail}\n />\n {this.state.ccEmail.length > 0 &&\n <div id={alerts.ccResult} onClick={this.handleClick}>\n <span>{this.displayEmail()}</span>\n </div>\n }\n </div>\n );\n }\n}\n\nexport default AddCCEmails;\n","import React from 'react';\nimport { Col } from 'react-bootstrap';\nimport alerts from '../listing_alerts/listing_alerts.module.css';\nimport form from '../form.module.css';\n\nconst CCEmail = (props) => {\n const { email, removeEmail } = props\n return (\n <div className={alerts.ccEmail}>\n <Col xs={11}>\n <input className={form.formControl} value={email} disabled={true} />\n </Col>\n <Col xs={1}>\n <i className=\"fa fa-remove\" onClick={() => removeEmail(email)} />\n </Col>\n </div>\n );\n};\n\nexport default CCEmail;\n","import React from 'react';\n\nconst MatchingResults = (props) => {\n const { showUrl, count, url } = props\n return (\n <div className=\"pull-right tw-mt-10px tw-mr-12px\">\n { showUrl ?\n <a className=\"tw-text-theme-primary tw-font-semibold tw-no-underline\" href={url} target=\"_blank\">VIEW {count} LISTING{count === 1 ? \"\" : \"S\"}</a>\n :\n \"Add search terms or map area to preview listings\"\n }\n </div>\n )\n}\n\nexport default MatchingResults;\n","import React, {Component} from 'react';\nimport alerts from './listing_alerts.module.css';\n\nclass Map extends Component {\n state = {\n gblDrawListener: undefined,\n polygonObject: undefined,\n }\n\n componentDidMount() {\n const { geoCodeAccountAddress, polygonCoordinates } = this.props\n let map = undefined\n Brivity.SetUpGetBounds()\n const centerOnUS = {\n zoom: 3,\n center: {\n lat: 39.8283,\n lng: -98.5795\n },\n mapTypeId: 'terrain',\n panControl: false\n }\n\n // Setting up the map.\n // If no polygon coordinates and the account has a geocode address center on that address\n // Otherwise center on the US\n //If there are polygon coordinates draw that on the map and set up listeners for editing and deleting vertices\n if (geoCodeAccountAddress !== undefined && polygonCoordinates === undefined) {\n const geocoder = new google.maps.Geocoder()\n map = new (google.maps.Map)(document.getElementById('listingAlertMap'), { center: { lat: 0, lng: 0 }, zoom: 12 })\n geocoder.geocode({ 'address': geoCodeAccountAddress }, (results, status) => {\n if (status === 'OK') {\n map.setCenter(results[0].geometry.location)\n } else {\n map = new (google.maps.Map)(document.getElementById('listingAlertMap'), centerOnUS)\n }\n })\n } else {\n map = new (google.maps.Map)(document.getElementById('listingAlertMap'), centerOnUS)\n if (polygonCoordinates !== undefined) {\n let polyArray = this.drawPoly(polygonCoordinates)\n let polygonFromCoordinates = new google.maps.Polygon({\n map: map,\n path: polyArray,\n strokeColor: '#656b70',\n strokeOpacity: 0.7,\n strokeWeight: 2,\n fillColor: '#656b70',\n fillOpacity: 0.2,\n editable: true\n })\n\n // centers on polygon and set up edit and delete listeners\n this.setState({ polygonObject: polygonFromCoordinates }, () => {\n map.fitBounds(this.state.polygonObject.getBounds())\n this.editPolyVertexListener()\n this.clickToDeleteVertexListener()\n })\n }\n }\n\n const drawControlDiv = document.createElement('div')\n const drawControl = this.drawOrCancelButton(drawControlDiv, map)\n drawControlDiv.index = 1\n map.controls[google.maps.ControlPosition.TOP_RIGHT].push(drawControlDiv)\n }\n\n componentWillUnmount() {\n if (this.state.polygonObject) {\n google.maps.event.clearListeners(this.state.polygonObject.getPath(), 'insert_at')\n google.maps.event.clearListeners(this.state.polygonObject.getPath(), 'remove_at')\n google.maps.event.clearListeners(this.state.polygonObject.getPath(), 'set_at')\n google.maps.event.clearListeners(this.state.polygonObject, 'click')\n }\n }\n\n drawPoly = (multipolygonWKT) => {\n let polylines = []\n const points = multipolygonWKT.match(/[-]?\\d+(\\.\\d+)?,[-]?\\d+(\\.\\d+)?/g);\n\n points.forEach((point) => {\n let splitPoint = point.split(',')\n polylines.push({ lat: parseFloat(splitPoint[0]), lng: parseFloat(splitPoint[1]) })\n })\n\n return polylines\n }\n\n drawOrCancelButton = (controlDiv, dmap, mobile) => {\n // Set CSS for the control border.\n let controlUI = document.createElement('button')\n controlUI.style.backgroundColor = '#fff'\n controlUI.style.border = '2px solid #fff'\n controlUI.style.borderRadius = '3px'\n controlUI.style.boxShadow = '0 2px 6px rgba(0,0,0,.3)'\n controlUI.style.cursor = 'pointer'\n controlUI.style.marginTop = '10px'\n controlUI.style.marginRight = '10px'\n controlUI.style.textAlign = 'center'\n controlUI.title = 'Click to do a search by drawing'\n controlUI.setAttribute('type', 'button')\n controlDiv.appendChild(controlUI)\n\n // Set CSS for the control interior.\n let controlText = document.createElement('div')\n controlText.style.color = 'rgb(25,25,25)'\n controlText.style.fontFamily = 'Roboto,Arial,sans-serif'\n controlText.style.fontSize = '12px'\n if (this.state.polygonObject === undefined) {\n controlText.innerHTML = '<i class=\"ss-location\"></i> Draw'\n } else {\n controlText.innerHTML = 'Cancel'\n }\n controlText.style.paddingLeft = '5px'\n controlText.style.paddingRight = '5px'\n controlText.style.lineHeight = '28px'\n\n if (mobile) {\n controlText.setAttribute(\"id\", \"drawBtnTextM\");\n } else {\n controlText.setAttribute(\"id\", \"drawBtnText\");\n }\n\n if (this.props.polygonCoordinates === undefined) {\n controlText.setAttribute(\"is-active\", false);\n } else {\n controlText.setAttribute(\"is-active\", true);\n }\n\n controlUI.appendChild(controlText);\n let _self = this\n controlUI.addEventListener('click', () => {\n if (mobile) {\n let isActive = $(\"#drawBtnTextM\").attr('is-active');\n\n if (isActive === 'true') {\n $(\"#drawBtnTextM\").attr('is-active', false);\n $(\"#drawBtnTextM\").html('<i class=\"ss-location\"></i> Draw');\n enableMap(dmap);\n if (this.state.polygonObject !== undefined) {\n this.state.polygonObject.setMap(null)\n }\n // Ensuring all the listeners enabled on 'mousedown' get cleaned\n google.maps.event.clearListeners(dmap.getDiv(), 'mousedown');\n google.maps.event.removeListener(this.state.gblDrawListener.move);\n google.maps.event.clearListeners(dmap, 'mouseup');\n } else {\n $(\"#drawBtnTextM\").attr('is-active', true);\n $(\"#drawBtnTextM\").html('X');\n\n disableMap(dmap);\n\n // Validates element exists to avoid and error and prevent a malfunction of the drawing in mobile\n if ($(\"#listing-grid-results\").length) {\n $('html, body').animate({\n scrollTop: $(\"#listing-grid-results\").offset().top\n }, 200);\n }\n\n google.maps.event.addDomListener(dmap.getDiv(), 'mousedown', function (e) {\n drawFreeHandOnMap(dmap, mobile);\n });\n }\n } else {\n let isActive = $(\"#drawBtnText\").attr('is-active')\n\n if (isActive === 'true') {\n $(\"#drawBtnText\").attr('is-active', false)\n $(\"#drawBtnText\").html('<i class=\"ss-location\"></i> Draw')\n enableMap(dmap)\n if (this.state.polygonObject !== undefined) {\n this.state.polygonObject.setMap(null)\n }\n\n // Ensuring all the listeners enabled on 'mousedown' get cleaned\n google.maps.event.clearListeners(dmap.getDiv(), 'mousedown')\n google.maps.event.removeListener(this.state.gblDrawListener.move)\n google.maps.event.clearListeners(dmap, 'mouseup')\n\n } else {\n $(\"#drawBtnText\").attr('is-active', true)\n $(\"#drawBtnText\").html('Cancel')\n disableMap(dmap)\n google.maps.event.addDomListener(dmap.getDiv(), 'mousedown', function (e) {\n _self.drawFreeHandOnMap(dmap, mobile)\n })\n }\n }\n })\n }\n\n drawFreeHandOnMap = (dmap, mobile) => {\n if(this.state.polygonObject !== undefined) {\n this.state.polygonObject.setMap(null)\n }\n //the polygon\n let poly = new google.maps.Polyline({\n map: dmap,\n clickable: false,\n strokeColor: '#656b70',\n strokeOpacity: 0.7,\n strokeWeight: 2,\n fillColor: '#656b70',\n fillOpacity: 0.2\n })\n\n //move-listener\n this.setState({ gblDrawListener: google.maps.event.addListener(dmap, 'mousemove', (e) => { poly.getPath().push(e.latLng) }) })\n\n //mouseup-listener\n let _self = this\n google.maps.event.addListenerOnce(dmap, 'mouseup', (e) => {\n google.maps.event.removeListener(this.state.gblDrawListener.move)\n // Use map range distance as a scaler for tolerance (so state-sized\n // polygons don't have hundreds of geographic points *more than* a hand-\n // drawing can realistically communicate, and neighborhood-sized polygons\n // do get enough points to convey the geographic detail a hand-drawing\n // at that scale *does* accurately capture)\n let mapRangeInDegreesLatLng = calculateMapRangeInDegrees(dmap)\n // simplificationTolerance is presumed to be in the same unit as the\n // points (degrees of lat/long, in this case). Larger tolerance leads\n // to less-refined (chunkier) path.\n let simplificationTolerance = mapRangeInDegreesLatLng/100\n let simplifiedLinePath = simplifyLine(poly,simplificationTolerance)\n //Remove freehand drawing and replace with polygon\n poly.setMap(null);\n let polygonObject = new google.maps.Polygon({\n map: dmap,\n path: simplifiedLinePath,\n strokeColor: '#656b70',\n strokeOpacity: 0.7,\n strokeWeight: 2,\n fillColor: '#656b70',\n fillOpacity: 0.2,\n editable: true\n })\n _self.setState({ polygonObject })\n\n google.maps.event.clearListeners(dmap.getDiv(), 'mousedown')\n this.editPolyVerticies()\n\n if (mobile) {\n removeMarkersMobile()\n }\n // Enabling map so user can move it\n enableMap(dmap)\n // TODO: the addListener seems to work with dmap but why not _self.polygon... addListener(_self.polygon, 'click', function(event) {\n google.maps.event.addListener(dmap, 'click', function(event) {\n if(event.path != null && event.vertex != null){\n let path = this.getPaths().getAt(event.path)\n if(path.getLength() > 3){\n path.removeAt(event.vertex)\n }\n }\n })\n })\n }\n\n editPolyVerticies = () => {\n let vertices = this.state.polygonObject.getPath().getArray()\n let contentString = ''\n\n //Add listeners if a polygon has been drawn for the first time\n if (google.maps.event.hasListeners(this.state.polygonObject.getPath(), 'insert_at') === false) {\n this.editPolyVertexListener()\n this.clickToDeleteVertexListener()\n }\n\n // Iterate over the vertices.\n let stopPoint = 0\n let i = 0\n while (i < vertices.length) {\n if (stopPoint == 0) {\n contentString += '(' + vertices[i].lat().toFixed(3) + ',' + vertices[i].lng().toFixed(3) + '),'\n } else {\n if (stopPoint == 5) {\n stopPoint = 0\n } else {\n stopPoint++\n }\n }\n i++\n }\n if (contentString != '') {\n this.props.handlePolygonUpdate(contentString.substr(0, contentString.length - 1))\n // TODO: make sure the counts and url update\n }\n }\n\n editPolyVertexListener = () => {\n google.maps.event.addListener(this.state.polygonObject.getPath(), 'insert_at', (function(_this) {\n return function(event) {\n return _this.editPolyVerticies();\n };\n })(this));\n\n google.maps.event.addListener(this.state.polygonObject.getPath(), 'remove_at', (function(_this) {\n return function(event) {\n return _this.editPolyVerticies();\n };\n })(this));\n\n google.maps.event.addListener(this.state.polygonObject.getPath(), 'set_at', (function(_this) {\n return function(event) {\n return _this.editPolyVerticies();\n };\n })(this));\n }\n\n clickToDeleteVertexListener = () => {\n google.maps.event.addListener(this.state.polygonObject, 'click', (e) => {\n if (e.path !== null && e.vertex !== null) {\n const path = this.state.polygonObject.getPaths().getAt(e.path)\n if (path.getLength() > 3) {\n path.removeAt(e.vertex)\n }\n }\n return\n })\n }\n\n render() {\n return (\n <div className={alerts.mapContainer} id=\"listingAlertMap\" />\n )\n }\n}\n\nexport default Map\n","import React from \"react\";\n\nimport Dropdown from '@shared/v2/Dropdown';\nimport { GearSolidV6, PlusSolidV6 } from '@shared/v2/Icomoon';\nimport TextButton from \"@shared/v2/TextButton\";\n\nconst TemplateSelect = ({ templates = [], templateId, onTemplateChosen }) => {\n const options = templates.map(({id, name}) => ({label: name, value: id}));\n\n const handleTemplateSelect = ({value}) => {\n onTemplateChosen(value);\n };\n\n return (\n <div className=\"tw-flex tw-flex-col\">\n <div className=\"tw-flex tw-justify-between tw-items-end tw-mb-8px\">\n <span className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Template</span>\n <TextButton\n size=\"medium\"\n onClick={() => window.open(\"/listing_alert_templates\", \"_blank\")}\n >\n <div className=\"tw-flex tw-gap-4px tw-items-center\">\n <GearSolidV6 size=\"custom\" className=\"tw-w-8px tw-h-8px\" />\n <span className=\"tw-text-11d tw-font-bold\">MANAGE TEMPLATES</span>\n </div>\n </TextButton>\n </div>\n <Dropdown\n menuShouldComeToFront\n isSearchable\n isClearable\n value={options.find(o => o.value === templateId)}\n options={options}\n onChange={handleTemplateSelect}\n placeholder=\"Custom Listing Alert\"\n components={{ NoOptionsMessage }}\n className=\"tw-mb-4px\"\n />\n <span className=\"tw-text-12px tw-text-gray-50\">Start with a template or create a custom Listing Alert</span>\n </div>\n );\n};\n\nexport default TemplateSelect;\n\nconst NoOptionsMessage = ({ componentProps }) => (\n <Dropdown.NoOptionsMessage\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...componentProps}\n preserveStyle\n >\n <TextButton\n size=\"medium\"\n onClick={() => window.location.href = \"/listing_alert_templates\" }\n className=\"tw-flex\"\n >\n <div className=\"tw-flex tw-gap-4px tw-items-center\">\n <PlusSolidV6 size=\"custom\" className=\"tw-w-8px tw-h-8px\" />\n <span className=\"tw-text-11d tw-font-bold\">CREATE A LISTING ALERT TEMPLATE</span>\n </div>\n </TextButton>\n </Dropdown.NoOptionsMessage>\n);\n","import React from 'react';\nimport alerts from './listing_alerts.module.css';\n\n\nconst SearchTermResults = (props) => {\n const { categoryPosition, currentCategoryPosition, currentChildPosition, handleHover, handleSelect, results } = props\n\n return (\n <div>\n <div className={alerts.resultLabel}>\n {results.text}\n </div>\n {\n results.children.map((result, index) => {\n const positionClass = currentCategoryPosition === categoryPosition && currentChildPosition === index ? alerts.highlight : ''\n\n return (\n <div\n key={result.value}\n className={`${alerts.resultItem} ${positionClass}`}\n onMouseOver={() => handleHover(categoryPosition, index)}\n onMouseDown={() => handleSelect({ multiCat: result.category, multiSearch: result.value, label: result.label })}\n >\n {result.text}\n </div>\n )\n })\n }\n </div>\n );\n};\n\nexport default SearchTermResults;\n","import React from 'react';\nimport alerts from './listing_alerts.module.css';\n\nconst SearchTermBubble = (props) => {\n const { term, removeSearchTerm } = props\n\n return (\n <div className={alerts.removableBubble}>\n <span>{term.label}: {term.multiSearch}</span>\n <i\n className={`${alerts.remove} fa fa-remove`}\n onClick={() => removeSearchTerm(term.multiSearch)}\n />\n </div>\n );\n};\n\nexport default SearchTermBubble;\n","import React, { Component } from 'react';\nimport axios from 'axios';\nimport groupBy from 'lodash/groupBy';\nimport SearchTermResults from './SearchTermResults';\nimport SearchTermBubble from './SearchTermBubble';\nimport alerts from './listing_alerts.module.css';\nimport TextInput from '@shared/v2/TextInput';\n\nconst mapSearchFromMultiCat = (multiCatArray, multiSearchArray) => multiSearchArray.map((searchValue, index) => {\n const multiCatAtIndex = multiCatArray[index];\n const searchResult = { multiSearch: searchValue, multiCat: multiCatAtIndex }\n // TODO: determine if any of the other multiCatAtIndex values need to be mapped\n if (multiCatAtIndex === 'CityState') {\n searchResult['label'] = 'City'\n } else if (multiCatAtIndex === 'NeighborhoodCityState') {\n searchResult['label'] = 'Neighborhood'\n } else if (multiCatAtIndex === 'CountyState') {\n searchResult['label'] = 'County'\n } else {\n searchResult['label'] = multiCatAtIndex\n }\n return searchResult\n});\n\nclass SearchAutocomplete extends Component {\n state = {\n currentCategoryPosition: 0,\n currentChildPosition: 0,\n multi_search: '',\n searchTermActive: false,\n searchResults: [],\n selectedSearchTerms: []\n }\n\n componentDidMount() {\n this.mapPropsToSearch();\n }\n\n componentDidUpdate(prevProps, _) {\n if (this.props.multiCatArray === prevProps.multiCatArray && this.props.multiSearchArray === prevProps.multiSearchArray) {\n return;\n }\n\n this.mapPropsToSearch(true);\n }\n\n mapPropsToSearch(propsUpdated = false) {\n const multiCatArray = this.props.multiCatArray || []\n const multiSearchArray = this.props.multiSearchArray || []\n\n if (propsUpdated || multiCatArray.length > 0 && multiSearchArray.length > 0) {\n this.setState({ selectedSearchTerms: mapSearchFromMultiCat(multiCatArray, multiSearchArray) });\n }\n }\n\n fetchResults = (term) => {\n const idsArrayQuery = this.props.mlsIds.map((id) => `mlsIds[]=${id}`).join('&')\n\n // TODO: Do we need to pass multi_search back up to the parent?\n this.setState({ multi_search: term }, () => this.doFetchResults(idsArrayQuery, term))\n };\n\n doFetchResults = (idsArrayQuery, term) => {\n axios.get(`/people/${this.props.personId}/listing_alert_autocomplete.json?${idsArrayQuery}&term=${term}`,\n {\n headers: {\n 'Content-Type': 'application/json',\n 'Accept': 'application/json'\n }\n }\n )\n .then(response => {\n // This happens if a previous query returned later than a later query\n if (this.state.multi_search !== term) {\n return;\n }\n\n const searchResults = response.data\n const groupedResults = groupBy(searchResults, (obj) => obj.label)\n let mappedResults = []\n\n Object.keys(groupedResults).each((key) => {\n let children = groupedResults[key].map((object) => {\n const isAddress = object.label === \"Address\";\n const value = isAddress ? object.selected_fields.address : object.value;\n return { text: object.value, category: object.category, value: value, label: object.label }\n })\n\n mappedResults.push({ text: key, children: children })\n })\n\n const order = {\n \"Address\": 1,\n \"City\": 2,\n \"Neighborhood\": 3,\n \"MLS\": 4,\n \"County\": 5,\n \"Zip Code\": 6,\n \"Building Name\": 7,\n \"School District\": 8,\n \"Elementary School\": 9,\n \"Middle School\": 10,\n \"High School\": 11,\n \"Area\": 12\n }\n\n const orderedResults = mappedResults.sort((v1, v2) => {\n if (order[v1.text] < order[v2.text]) {\n return -1\n } else if (order[v1.text] > order[v2.text]) {\n return 1\n } else {\n return 0\n }\n })\n\n this.setState({ searchResults: orderedResults })\n })\n };\n\n handleHover = (currentCategoryPosition, currentChildPosition) => {\n this.setState({ currentCategoryPosition, currentChildPosition })\n };\n\n handleMouseSelect = (value) => {\n if (this.state.selectedSearchTerms.filter(term => term.multiSearch === value.multiSearch).length > 0) {\n this.setState({ currentCategoryPosition: 0, currentChildPosition: 0, multi_search: '', searchResults: [], searchTermActive: false })\n } else {\n this.setState((prevState) => ({\n currentCategoryPosition: 0,\n currentChildPosition: 0,\n multi_search: '',\n searchResults: [],\n selectedSearchTerms: [...prevState.selectedSearchTerms, value],\n searchTermActive: false\n }), () => { this.props.handleAddSearchTerm(value) })\n }\n\n }\n\n removeSearchTerm = (multiSearch) => {\n this.setState((prevState) => ({ selectedSearchTerms: prevState.selectedSearchTerms.filter(term => term.multiSearch !== multiSearch) }), () => {\n this.props.handleRemoveSearchTerm(multiSearch)\n })\n }\n\n handleKeyDown = (e) => {\n const { searchResults, currentCategoryPosition, currentChildPosition, multi_search } = this.state\n\n if (e.keyCode === 13) { //Enter has been pressed\n e.preventDefault()\n const selectedTerm = searchResults[currentCategoryPosition].children[currentChildPosition]\n const termValue = { multiCat: selectedTerm.category, multiSearch: selectedTerm.value, label: selectedTerm.label }\n this.setState((prevState) => ({\n currentCategoryPosition: 0,\n currentChildPosition: 0,\n multi_search: '',\n searchResults: [],\n selectedSearchTerms: [...prevState.selectedSearchTerms, termValue]\n }), () => { this.props.handleAddSearchTerm(termValue) })\n } else if (e.keyCode === 38) { //navigate up\n if (currentChildPosition > 0) {\n this.setState(prevState => ({ currentChildPosition: prevState.currentChildPosition - 1 }))\n } else if (currentCategoryPosition > 0) {\n const children = searchResults[currentCategoryPosition - 1].children\n this.setState(prevState => ({ currentCategoryPosition: prevState.currentCategoryPosition - 1, currentChildPosition: children.length - 1 }))\n }\n } else if (e.keyCode === 40) { //navigate down\n if (currentChildPosition < searchResults[currentCategoryPosition].children.length - 1) {\n this.setState(prevState => ({ currentChildPosition: prevState.currentChildPosition + 1 }))\n } else if (currentCategoryPosition < searchResults.length - 1) {\n this.setState(prevState => ({ currentCategoryPosition: prevState.currentCategoryPosition + 1, currentChildPosition: 0 }))\n }\n } else if (e.keyCode === 8 && multi_search.length === 1) { //removing last character with backspace\n this.setState({\n currentCategoryPosition: 0,\n currentChildPosition: 0,\n multi_search: '',\n searchResults: []\n })\n }\n };\n\n render() {\n const { multi_search, searchTermActive, currentCategoryPosition, currentChildPosition, selectedSearchTerms, searchResults } = this.state\n\n return (\n <div>\n <TextInput\n autoComplete=\"no\"\n name=\"multi_search\"\n onFocus={() => this.setState({ searchTermActive: true })}\n onChange={(e) => this.fetchResults(e.target.value)}\n onKeyDown={this.handleKeyDown}\n value={multi_search}\n />\n {(searchTermActive && searchResults.length > 0) &&\n <div id={alerts.searchResults}>\n <div className={alerts.resultChildren}>\n {\n searchResults.map((results, index) =>\n <SearchTermResults\n key={results.text}\n categoryPosition={index}\n currentCategoryPosition={currentCategoryPosition}\n currentChildPosition={currentChildPosition}\n handleHover={this.handleHover}\n handleSelect={this.handleMouseSelect}\n results={results}\n />\n )\n }\n </div>\n </div>\n }\n <div>\n <span className=\"tw-text-12px tw-text-gray-50\">Search by City, Zip, County, Neighborhood, or School District</span>\n </div>\n <div id={alerts.searchBubbles}>\n {\n selectedSearchTerms.map(term => (\n <SearchTermBubble key={term.multiSearch} term={term} removeSearchTerm={this.removeSearchTerm} />\n ))\n }\n </div>\n </div>\n );\n }\n}\n\nexport default SearchAutocomplete;\n","import axios from 'axios';\n\nconst getAvailablePropertyTypes = async (personId, mlsIds) => {\n const url = `/people/${personId}/listing_alert_property_types.json?mls_ids=${mlsIds.join(',')}`;\n const { data } = await axios.get(url, createHeaders());\n\n return data.property_types;\n};\n\nconst getAvailableFeatureFilters = async (personId, mlsIds) => {\n const url = `/people/${personId}/listing_alert_filter_options.json?mls_ids=${mlsIds.join(',')}`;\n const { data } = await axios.get(url, createHeaders());\n\n return data.filter_options;\n};\n\nconst getWebsiteDomain = async personId => {\n const url = `/people/${personId}/listing_alert_website_domain.json`;\n const { data } = await axios.get(url, createHeaders());\n\n return data.website_domain;\n};\n\nconst getListingCounts = async (personId, alert) => {\n const url = `/people/${personId}/listing_alert_counts.json`;\n const { data } = await axios.post(url, alert, createHeaders());\n\n return data.total;\n};\n\nconst getInstantAlertsEnabled = async (personId) => {\n const url = `/people/${personId}/listing_alerts/instant_alerts_enabled.json`;\n const { data } = await axios.get(url);\n\n return data.instant_alerts_enabled;\n};\n\nconst getQueryStringForIdx = async (personId, alert) => {\n const url = `/people/${personId}/listing_alert_search_query.json`;\n const { data } = await axios.post(url, alert, createHeaders());\n\n return data.search_query;\n};\n\nconst getAlerts = async personSlug => {\n const url = `/people/${personSlug}/listing_alerts`;\n return axios.get(url, createHeaders());\n}\n\nconst createAlert = async (personId, alert) => {\n const url = `/people/${personId}/listing_alerts`\n return axios.post(url, alert, createHeaders());\n};\n\nconst updateAlert = async (personId, alertId, alert) => {\n const url = `/people/${personId}/listing_alerts/${alertId}`\n return axios.patch(url, alert, createHeaders());\n};\n\nconst getTemplates = async (personId) => {\n const url = `/listing_alert_templates`;\n const { data } = await axios.get(url, createHeaders());\n\n return data || [];\n};\n\nexport {\n getAvailablePropertyTypes,\n getAvailableFeatureFilters,\n getWebsiteDomain,\n getListingCounts,\n getInstantAlertsEnabled,\n getQueryStringForIdx,\n getAlerts,\n createAlert,\n updateAlert,\n getTemplates\n};\n\nconst createHeaders = () => {\n return {\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n};\n","export const formatValue = (value, asPrice = false) => {\n if (value === null || value === undefined) {\n return \"N/A\";\n }\n\n if (Array.isArray(value)) {\n return value.length ? value.join(\", \") : \"N/A\";\n }\n\n if (typeof value === \"boolean\") {\n return value ? \"Yes\" : \"No\";\n }\n\n if (asPrice) {\n return formatPrice(value);\n }\n\n return value;\n};\n\nexport const formatNumber = (num) => (num ? num.toLocaleString(\"en-US\") : \"N/A\");\n\nexport const addParametersToImageUrl = (url, height, width, quality = 80, mode = \"crop\") =>\n `${url}&height=${height}&width=${width}&quality=${quality}&mode=${mode}`;\n\nexport const formatPrice = (price, decimalPlaces = 0) => {\n if (!price && price !== 0) {\n return;\n }\n\n const options = {\n style: \"currency\",\n currency: \"USD\",\n minimumFractionDigits: decimalPlaces,\n maximumFractionDigits: decimalPlaces,\n };\n\n return new Intl.NumberFormat(\"en-US\", options).format(price);\n};\n\nexport const formatSimplePrice = (price) => {\n if (!price) {\n return;\n }\n\n const slicer = [\n { value: 1_000_000_000, abbr: \"B\", digits: 2 },\n { value: 1_000_000, abbr: \"M\", digits: 2 },\n { value: 1_000, abbr: \"K\", digits: 0 },\n { value: 1, abbr: \"\", digits: 0 },\n ];\n\n for (const { value, abbr, digits } of slicer) {\n if (price >= value) {\n const reduced = (price / value).toFixed(digits);\n return `$${reduced}${abbr}`;\n }\n }\n};\n\nexport const ExistingFeatureFields = [\n \"poolFeatures\",\n \"parkingFeatures\",\n \"interiorFeatures\",\n \"exteriorFeatures\",\n \"communityFeatures\",\n \"propertyFeatures\",\n \"greenFeatures\",\n \"view\",\n \"heating\",\n \"cooling\",\n \"lotFeatures\",\n \"homeStyle\",\n \"financialInformation\",\n \"acreageRange\",\n \"propertySubTypes\"\n];\n\nexport const calculateAgentStats = (listings, agentId) => {\n let soldProduction = 0;\n let soldUnits = 0;\n let boughtUnits = 0;\n let boughtProduction = 0;\n let closePriceTotal = 0;\n let listPriceTotal = 0;\n\n for (const listing of listings) {\n if (listing.standardStatus !== \"Closed\") { // Always be closing\n continue;\n }\n\n closePriceTotal += listing.soldPrice;\n listPriceTotal += getOriginalPrice(listing);\n\n if (isSellerAgent(listing, agentId)) {\n soldUnits++;\n soldProduction += listing.soldPrice;\n } else {\n boughtUnits++;\n boughtProduction += listing.soldPrice;\n }\n }\n\n const totalClosed = soldUnits + boughtUnits;\n\n return {\n closed: {\n total: totalClosed,\n seller: {\n units: soldUnits,\n volume: soldProduction,\n ratio: totalClosed ? soldUnits / totalClosed : 0\n },\n buyer: {\n units: boughtUnits,\n volume: boughtProduction,\n ratio: totalClosed ? boughtUnits / totalClosed : 0\n }\n },\n stats: {\n avgClosePrice: totalClosed ? closePriceTotal / totalClosed : 0,\n avgListPrice: totalClosed ? listPriceTotal / totalClosed : 0,\n grossProduction: closePriceTotal,\n totalListings: listings.length\n }\n };\n};\n\nconst getOriginalPrice = listing => {\n if (!listing) {\n return null;\n }\n\n if (listing.history?.length > 0) {\n for (let hist of listing.history) {\n if (hist.price) {\n return hist.price;\n }\n }\n }\n\n return listing.price;\n};\n\nconst isSellerAgent = (listing, agentId) => {\n for (const { agentType, id } of listing.agents) {\n if (ListAgentTypes.includes(agentType) && id === agentId) {\n return true;\n }\n }\n\n return false;\n};\n\nconst ListAgentTypes = [\"Listing Agent\", \"Co-Listing Agent\"];\n","import React, { Component } from 'react';\nimport alerts from './listing_alerts.module.css';\nimport form_css from '../form.module.css';\nimport AdvancedOptions from \"./AdvancedOptions\";\nimport AddCCEmails from \"./AddCCEmails\";\nimport CCEMail from \"./CCEmail\";\nimport MatchingResults from \"./MatchingResults\";\nimport Map from \"./Map\";\nimport TemplateSelect from './TemplateSelect';\nimport SearchAutocomplete from \"./SearchAutocomplete\";\nimport Error from \"../../../shared/Error\"\nimport {\n dropDownOptions,\n bathroomOptions,\n lotSizeOptions,\n mapStateToAlert,\n storiesOptions,\n searchFrequencyOptions,\n sqFTOptions,\n yearOptions,\n mapAlertToState\n} from '../../../shared/ListingAlertHelpers';\nimport {\n getInstantAlertsEnabled,\n getAvailablePropertyTypes,\n getAvailableFeatureFilters,\n getWebsiteDomain,\n getListingCounts,\n getQueryStringForIdx,\n createAlert,\n updateAlert,\n getTemplates\n} from './service';\nimport TextInput from '@shared/v2/TextInput';\nimport Dropdown from '@shared/v2/Dropdown';\nimport TextToggle from '@shared/v2/TextToggle';\nimport Modal from '@shared/v2/Modal';\nimport Checkbox from '@shared/v2/Checkbox';\nimport Button from '@shared/v2/Button';\nimport FilterPill from '@shared/v2/FilterPill';\nimport { formatPrice } from '../../../SearchListings/components/helpers';\n\nclass ListingAlert extends Component {\n doesLeadHaveApp = !!this.props.person.home_app_last_login;\n\n constructor(props) {\n super(props);\n const alert = mapAlertToState(this.props, this.doesLeadHaveApp);\n\n this.state = {\n instantAlertsEnabled: false,\n advancedOptions: {}, // These are the available options from the listings API, grouped by view category, not where they data is\n geoCodeAccountAddress: this.props.geoCodeAccountAddress,\n listingAlertCounts: undefined,\n propertyTypes: [], // This is, unintuitively, the available property types from the listings api\n websiteDomain: undefined,\n submitDisabled: false,\n showUrl: false,\n templateId: this.props.templateId,\n templateName: this.props.templateName,\n templates: [],\n ...alert\n };\n }\n\n async componentDidMount() {\n const personId = this.props.person.id;\n\n if (!personId) {\n return;\n }\n\n if (this.state.mlsIds.length === 0) {\n this.setState({ errorMessage: 'No MLSs are configured for your account. Please contact support.', submitDisabled: true })\n } else {\n const promises = [\n getInstantAlertsEnabled(personId),\n getAvailablePropertyTypes(personId, this.props.mlsIds),\n getAvailableFeatureFilters(personId, this.props.mlsIds),\n getTemplates(personId)\n ];\n\n if (!this.state.websiteDomain) {\n promises.push(getWebsiteDomain(personId));\n }\n\n const [ instantAlertsEnabled, propertyTypes, advancedOptions, templates, websiteDomain ] = await Promise.all(promises);\n\n this.setState({ instantAlertsEnabled, propertyTypes, advancedOptions, templates });\n\n if (websiteDomain) {\n this.setState({ websiteDomain });\n }\n\n if (this.props.type === 'edit') {\n this.getCountsAndUrl()\n }\n }\n }\n\n componentDidUpdate(_, prevState) {\n if (this.props.isCreatingTemplate) {\n return;\n }\n\n const noTemplateChosen = !this.state.templateId;\n const newTemplateChosen = this.state.templateId && prevState.templateId !== this.state.templateId;\n\n if (noTemplateChosen || newTemplateChosen) {\n return;\n }\n\n const previousAlert = mapStateToAlert(prevState);\n const currentAlert = mapStateToAlert(this.state);\n\n if (JSON.stringify(previousAlert) === JSON.stringify(currentAlert)) {\n return;\n }\n\n this.setState({ templateId: undefined });\n }\n\n onChange = (e) => {\n this.setState({ [e.target.name]: e.target.value });\n }\n\n onSelect = (name, e) => {\n this.setState({ [name]: e.value }, () => {\n this.getCountsAndUrl();\n })\n }\n\n onTemplateChosen = (templateId) => {\n const templateData = this.state.templates.find(({id}) => id === templateId).query;\n const alert = mapAlertToState({ ...templateData, alertId: this.state.search_id }, this.doesLeadHaveApp);\n\n this.setState({ ...alert, templateId }, () => {\n this.getCountsAndUrl();\n });\n }\n\n onMouseOut = (e) => {\n // TODO: This seems like a bug. If i have a min price of 100,000, and set it to empty (effectively 0), that means a new set of listings\n if (e.target.value !== \"\") {\n this.getCountsAndUrl()\n }\n }\n\n toggleButtons = (button) => {\n if (button === 'search-by-terms') {\n this.setState({ searchingByTerm: true });\n } else if (button === 'search-by-map') {\n this.setState({ searchingByTerm: false });\n } else if (button === 'sending-emails') {\n this.setState({ activeForEmails: true })\n } else if (button === 'not-sending-emails') {\n this.setState({ activeForEmails: false })\n } else if (button === 'sending-notifications') {\n this.setState({ activeForAppNotifications: true })\n } else if (button === 'not-sending-notifications') {\n this.setState({ activeForAppNotifications: false })\n }\n }\n\n togglePropertyTypes = (propertyType) => {\n if (this.state.property_types.includes(propertyType)) {\n this.setState((prevState) => ({ property_types: prevState.property_types.filter(property_type => property_type !== propertyType) }), () => { this.getCountsAndUrl() })\n } else {\n this.setState((prevState) => ({ property_types: prevState.property_types.concat(propertyType) }), () => { this.getCountsAndUrl() })\n }\n }\n\n togglePhotosAvailable = () => {\n this.setState(prevState => ({ photos_available: !prevState.photos_available }), () => this.getCountsAndUrl())\n }\n\n isPropertyTypeSelected = (propertyType) => this.state.property_types.includes(propertyType);\n\n toggleAdvanced = (category, value) => {\n if (this.isFeatureValueSelected(category, value)) {\n this.removeAdvancedFeatureValue(category, value);\n } else {\n this.addAdvancedFeatureValue(category, value);\n }\n };\n\n isFeatureValueSelected = (category, value) => {\n return this.state[category] && this.state[category].fields.some(a => a.term === value);\n };\n\n addAdvancedFeatureValue = (category, value) => {\n this.setState(prevState => {\n const newValue = {\n term: value,\n matchAny: false,\n excludeTerm: false\n };\n\n const newFieldList = prevState[category]\n ? [ ...prevState[category].fields, newValue ]\n : [ newValue ];\n\n return {\n [category]: {\n fields: newFieldList\n }\n };\n }, this.getCountsAndUrl);\n };\n\n removeAdvancedFeatureValue = (category, value) => {\n this.setState(prevState => {\n const newFieldsList = prevState[category].fields.filter(f => f.term !== value);\n\n if (!newFieldsList.length) {\n return { [category]: null };\n }\n\n return {\n [category]: {\n fields: newFieldsList\n }\n };\n }, this.getCountsAndUrl);\n };\n\n getCountsAndUrl = async () => {\n if (!this.state.multi_search_array?.length && !this.state.polygon?.length) {\n this.setState({ showUrl: false });\n return;\n }\n\n const alert = mapStateToAlert(this.state);\n const countsPromise = getListingCounts(this.props.person.id, alert);\n const urlPromise = getQueryStringForIdx(this.props.person.id, alert);\n\n const [ listingCount, queryString ] = await Promise.all([countsPromise, urlPromise]);\n\n this.setState({\n showUrl: true,\n listingAlertCounts: listingCount,\n search_url: `https://${this.state.websiteDomain}/${queryString}`\n });\n }\n\n handleSubmit = async e => {\n e.preventDefault()\n this.setState({ submitDisabled: true })\n\n if (this.props.handleFormSubmit !== undefined) {\n this.props.handleFormSubmit(mapStateToAlert(this.state), (response) => {\n if (response.response.status == 422) {\n this.setState({ errorMessage: response.response.data.content, submitDisabled: false })\n }\n });\n\n return;\n }\n\n try {\n if (this.props.type === 'edit') {\n await updateAlert(this.props.person.id, this.state.search_id, mapStateToAlert(this.state));\n } else {\n await createAlert(this.props.person.id, mapStateToAlert(this.state));\n }\n\n this.props.closeListingAlertModal('success');\n } catch (e) {\n this.setState({ errorMessage: e.response.data.content, submitDisabled: false});\n }\n }\n\n handleAddSearchTerm = (term) => {\n this.setState(prevState => ({\n multi_cat_array: [...prevState.multi_cat_array, term.multiCat],\n multi_search_array: [...prevState.multi_search_array, term.multiSearch]\n }),\n () => {\n this.getCountsAndUrl();\n }\n )\n }\n\n handleRemoveSearchTerm = (term) => {\n const indexOfTerm = this.state.multi_search_array.indexOf(term)\n this.setState(prevState => ({\n multi_cat_array: prevState.multi_cat_array.filter((term, index) => index !== indexOfTerm),\n multi_search_array: prevState.multi_search_array.filter((term, index) => index !== indexOfTerm)}\n ), () => {\n if (this.state.multi_search_array.length) {\n this.getCountsAndUrl();\n } else {\n this.setState({ showUrl: false });\n }\n }\n )\n }\n\n handlePolygonUpdate = (coords) => {\n this.setState({ polygon: coords })\n this.getCountsAndUrl()\n }\n\n handleAddEmail = (email) => {\n if (this.state.cc_emails.indexOf(email) === -1) {\n this.setState(prevState => ({ cc_emails: [...prevState.cc_emails, email] }))\n }\n }\n\n handleRemoveEmail = (emailToRemove) => {\n this.setState(prevState => ({ cc_emails: prevState.cc_emails.filter(email => email !== emailToRemove) }))\n }\n\n formatFeatureFields = () => {\n const fields = ['propertySubTypes', 'poolFeatures', 'parkingFeatures', 'propertyFeatures', 'interiorFeatures', 'exteriorFeatures', 'communityFeatures', 'greenFeatures', 'view', 'heating', 'cooling', 'lotFeatures', 'homeStyle', 'financialInformation', 'legacyFields'];\n const chosenFields = [];\n fields.forEach(f => {\n if (this.state[f]) {\n this.state[f].fields.forEach(cf => {\n chosenFields.push({\n ...cf,\n search_category: f\n });\n });\n }\n });\n\n return chosenFields;\n }\n\n hasRequiredFields = () => {\n const hasLocation = this.state.searchingByTerm\n ? this.state.multi_search_array?.length > 0\n : this.state.polygon?.length > 0;\n\n return this.state.search_name && hasLocation;\n }\n\n render() {\n const { templateName, instantAlertsEnabled, search_name, searchingByTerm, price_min, price_max, numbeds_min, numbeds_max, numbaths_min, numbaths_max, sqfeet_min, sqfeet_max, lotval_min, lotval_max, year_min, year_max, garage_min, garage_max, stories, propertyTypes, advancedOptions, activeForEmails, activeForAppNotifications, frequency, polygon, errorMessage, cc_emails, submitDisabled } = this.state;\n const { validIds, selectedIds, submitButton } = this.props;\n const featureFields = this.formatFeatureFields();\n\n const propertyAdvancedOptions = [];\n const financialAdvancedOptions = [];\n for (const opt of Object.keys(advancedOptions)) {\n if (![\"Financial Information\", \"Financial Features\", \"Stories\"].includes(opt)) {\n propertyAdvancedOptions.push(opt);\n }\n\n if ([\"Financial Information\", \"Financial Features\"].includes(opt)) {\n financialAdvancedOptions.push(opt);\n }\n }\n\n return (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"tw-w-full\"\n contentClassName=\"tw-m-auto !tw-p-0 tw-max-h-[90vh] tw-flex tw-flex-col tw-max-w-[720px]\"\n show\n onHide={this.props.closeListingAlertModal}\n backdrop=\"static\"\n >\n <Modal.Header\n title={this.props.title}\n description={this.props.alertInstructions}\n className=\"tw-p-32px\"\n closeButton\n />\n <Modal.Body className=\"tw-overflow-y-auto tw-px-32px tw-relative\">\n <hr className=\"!tw-mt-0 !tw-mb-24px\" />\n <div>\n { errorMessage && <Error errorMessage={errorMessage} /> }\n </div>\n {selectedIds > 0 && ( // This should mean it is a 'mass' alert creation event\n <div>\n <div className={`info-alert alert ${validIds > 0 ? \"tw-text-[#177335] tw-bg-semantic-green-5 tw-border-semantic-green-5\" : \"tw-text-[#a81e19] tw-bg-semantic-red-5 tw-border-semantic-red-5\"}`}>\n <span>{`${validIds} of the ${selectedIds} selected contacts have a valid email address to create a Listing Alert`}</span>\n </div>\n </div>\n )}\n {this.props.isCreatingTemplate ? (\n <div className=\"tw-flex tw-gap-24px tw-mb-24px\">\n <div className={`tw-flex tw-flex-col tw-w-full ${form_css.required}`}>\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Template Name</label>\n <TextInput\n name=\"templateName\"\n onChange={this.onChange}\n value={templateName}\n helperText=\"This is the name your team will see when selecting a template\"\n />\n </div>\n </div>\n ) : (\n <div className=\"tw-mb-24px\">\n <TemplateSelect templates={this.state.templates} templateId={this.state.templateId} onTemplateChosen={this.onTemplateChosen} />\n </div>\n )}\n <div className=\"tw-flex tw-gap-24px tw-mb-24px\">\n <div className={`tw-flex tw-flex-col tw-w-full ${form_css.required}`}>\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Listing Alert Name</label>\n <TextInput\n name=\"search_name\"\n onChange={this.onChange}\n value={search_name}\n />\n </div>\n <div className=\"tw-flex tw-flex-col tw-w-full\">\n <AddCCEmails addEmail={this.handleAddEmail} />\n {cc_emails.length > 0 && (\n <div className=\"tw--ml-10px\">\n {cc_emails.map(email => <CCEMail key={email} email={email} removeEmail={this.handleRemoveEmail} />)}\n </div>\n )}\n </div>\n </div>\n <div className=\"tw-flex tw-gap-24px tw-mb-24px\">\n <div className=\"tw-flex tw-flex-col tw-w-full\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50 !tw-mb-12px\">Email Alert Status</label>\n <div className=\"tw-flex tw-gap-8px\">\n <Checkbox\n checked={activeForEmails}\n className=\"tw-cursor-pointer\"\n onChange={() => this.toggleButtons(activeForEmails ? \"not-sending-emails\" : \"sending-emails\")}\n />\n <span>Send Email Alerts</span>\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col tw-w-full\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Email Alerts Frequency</label>\n <div>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n name=\"frequency\"\n options={searchFrequencyOptions(instantAlertsEnabled)}\n onChange={(e) => this.onSelect(\"frequency\", e)}\n placeholder='Select...'\n value={searchFrequencyOptions(instantAlertsEnabled).find(o => o.value === frequency)}\n isDisabled={!activeForEmails}\n />\n </div>\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50 !tw-mb-12px\">Home App Alerts Status</label>\n {!this.doesLeadHaveApp && <div className=\"tw-text-[#e5941b] tw-text-14px tw-mb-8px\">This lead has not yet joined Brivity Home.</div>}\n <div className=\"tw-flex tw-gap-8px\">\n <Checkbox\n checked={activeForAppNotifications}\n className=\"tw-cursor-pointer\"\n onChange={() => this.toggleButtons(activeForAppNotifications ? \"not-sending-notifications\" : \"sending-notifications\")}\n disabled={!this.doesLeadHaveApp}\n />\n <span>Enable Home App Alerts</span>\n </div>\n </div>\n <hr />\n <div className=\"tw-flex tw-flex-col tw-gap-12px tw-mb-8px\">\n <span className=\"tw-text-18px tw-font-semibold\">Search By</span>\n <div>\n <TextToggle\n size=\"small\"\n options={[{ label: \"Terms\", value: \"search-by-terms\" }, { label: \"Map\", value: \"search-by-map\" }]}\n value={searchingByTerm ? \"search-by-terms\" : \"search-by-map\"}\n onChange={e => this.toggleButtons(e.target.value)}\n />\n </div>\n </div>\n {\n searchingByTerm ?\n <div className={`tw-flex tw-flex-col ${form_css.required} form-group`}>\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Search Term</label>\n <SearchAutocomplete\n multiSearchArray={this.state.multi_search_array}\n multiCatArray={this.state.multi_cat_array}\n personId={this.props.person.id}\n handleAddSearchTerm={this.handleAddSearchTerm}\n handleRemoveSearchTerm={this.handleRemoveSearchTerm}\n mlsIds={this.props.mlsIds}\n />\n </div>\n :\n <div className=\"tw-flex tw-flex-col tw-mb-24px\" id={alerts.searchByMap}>\n <Map\n geoCodeAccountAddress={this.state.geoCodeAccountAddress}\n polygonCoordinates={polygon}\n handlePolygonUpdate={this.handlePolygonUpdate}\n />\n </div>\n }\n <div className=\"tw-flex tw-gap-24px tw-mb-24px\">\n <div className=\"tw-flex tw-flex-col tw-w-full\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Min Price</label>\n <PriceInput\n name=\"price_min\"\n placeholder=\"No Min\"\n onChange={this.onChange}\n onBlur={this.onMouseOut}\n value={price_min}\n />\n </div>\n <div className=\"tw-flex tw-flex-col tw-w-full\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Max Price</label>\n <PriceInput\n name=\"price_max\"\n placeholder=\"No Max\"\n onChange={this.onChange}\n onBlur={this.onMouseOut}\n value={price_max}\n />\n </div>\n </div>\n <div className=\"tw-mb-24px\">\n <span className=\"tw-text-18px tw-font-semibold\">Property Features</span>\n </div>\n <div className=\"tw-flex tw-gap-24px tw-mb-24px\">\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Bedrooms</label>\n <div className=\"tw-flex tw-gap-8px\">\n <AlertDropdown\n name=\"numbeds_min\"\n currentValue={numbeds_min}\n isMinField\n optionsFunc={dropDownOptions}\n onSelect={this.onSelect}\n />\n <AlertDropdown\n name=\"numbeds_max\"\n currentValue={numbeds_max}\n optionsFunc={dropDownOptions}\n onSelect={this.onSelect}\n />\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Bathrooms</label>\n <div className=\"tw-flex tw-gap-8px\">\n <AlertDropdown\n name=\"numbaths_min\"\n isMinField\n currentValue={numbaths_min}\n optionsFunc={bathroomOptions}\n onSelect={this.onSelect}\n />\n <AlertDropdown\n name=\"numbaths_max\"\n currentValue={numbaths_max}\n optionsFunc={bathroomOptions}\n onSelect={this.onSelect}\n />\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Square Feet</label>\n <div className=\"tw-flex tw-gap-8px\">\n <AlertDropdown\n name=\"sqfeet_min\"\n isMinField\n currentValue={sqfeet_min}\n optionsFunc={sqFTOptions}\n onSelect={this.onSelect}\n />\n <AlertDropdown\n name=\"sqfeet_max\"\n currentValue={sqfeet_max}\n optionsFunc={sqFTOptions}\n onSelect={this.onSelect}\n />\n </div>\n </div>\n </div>\n <div className=\"tw-flex tw-gap-24px tw-mb-24px\">\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Lot Size</label>\n <div className=\"tw-flex tw-gap-8px\">\n <AlertDropdown\n name=\"lotval_min\"\n isMinField\n currentValue={lotval_min}\n optionsFunc={lotSizeOptions}\n onSelect={this.onSelect}\n />\n <AlertDropdown\n name=\"lotval_max\"\n currentValue={lotval_max}\n optionsFunc={lotSizeOptions}\n onSelect={this.onSelect}\n />\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Year Built</label>\n <div className=\"tw-flex tw-gap-8px\">\n <AlertDropdown\n name=\"year_min\"\n isMinField\n currentValue={year_min}\n optionsFunc={yearOptions}\n onSelect={this.onSelect}\n />\n <AlertDropdown\n name=\"year_max\"\n currentValue={year_max}\n optionsFunc={yearOptions}\n onSelect={this.onSelect}\n />\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Garage</label>\n <div className=\"tw-flex tw-gap-8px\">\n <AlertDropdown\n name=\"garage_min\"\n isMinField\n currentValue={garage_min}\n optionsFunc={dropDownOptions}\n onSelect={this.onSelect}\n />\n <AlertDropdown\n name=\"garage_max\"\n currentValue={garage_max}\n optionsFunc={dropDownOptions}\n onSelect={this.onSelect}\n />\n </div>\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col tw-w-[89px] tw-mb-24px\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Stories</label>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n name=\"stories\"\n options={storiesOptions}\n onChange={(e) => this.onSelect(\"stories\", e)}\n placeholder=\"Any\"\n value={storiesOptions.find(o => o.value === stories)}\n containerClassName=\"tw-min-w-[95px]\"\n />\n </div>\n <div className=\"tw-flex tw-flex-col tw-mb-24px\">\n <label className=\"tw-text-14px tw-font-semibold tw-text-gray-50\">Property Type</label>\n <div className=\"tw-flex tw-flex-wrap tw-gap-4px\">\n {propertyTypes.map(propertyType => (\n <FilterPill key={propertyType} onClick={() => this.togglePropertyTypes(propertyType)} selected={this.isPropertyTypeSelected(propertyType)}>\n {propertyType}\n </FilterPill>\n ))}\n </div>\n </div>\n {\n propertyAdvancedOptions.map(option => (\n <AdvancedOptions key={option} selectedAdvancedOptions={featureFields} label={option} options={advancedOptions[option]} handleChecked={this.toggleAdvanced} />\n ))\n }\n <div className=\"tw-mb-24px\">\n <span className=\"tw-text-18px tw-font-semibold\">Financial Options</span>\n </div> {\n financialAdvancedOptions.map(option => (\n <AdvancedOptions key={option} selectedAdvancedOptions={featureFields} label={option} options={advancedOptions[option]} handleChecked={this.toggleAdvanced} />\n ))\n }\n <div\n className=\"tw-flex tw-mb-24px tw-gap-8px tw-items-center\"\n onClick={this.togglePhotosAvailable}\n >\n <Checkbox className=\"tw-cursor-pointer\" checked={this.state.photos_available} readOnly />\n <span className=\"tw-text-14px tw-cursor-pointer\">Include Properties without Photos</span>\n </div>\n <div className=\"tw-flex\">\n <span className=\"tw-text-12px tw-text-gray-75\">Note: when you create and save a new Listing Alert, it will send an initial email immediately.</span>\n </div>\n <hr className=\"tw-mb-0\" />\n </Modal.Body>\n <Modal.Footer className=\"tw-m-32px\">\n <div className=\"tw-flex\">\n <Button\n schema=\"tertiary\"\n size=\"medium\"\n onClick={this.props.closeListingAlertModal}\n >\n CANCEL\n </Button>\n <div className=\"tw-ml-auto\">\n <MatchingResults showUrl={this.state.showUrl} count={this.state.listingAlertCounts} url={this.state.search_url} />\n </div>\n <Button\n disabled={submitDisabled || !this.hasRequiredFields()}\n onClick={this.handleSubmit}\n schema=\"primary\"\n size=\"medium\"\n >\n {submitButton}\n </Button>\n </div>\n </Modal.Footer>\n </Modal>\n );\n }\n}\n\nListingAlert.defaultProps = {\n secondaryAlert: undefined,\n submitButton: \"Save\"\n}\n\nexport default ListingAlert;\n\nconst AlertDropdown = ({name, currentValue, optionsFunc, isMinField, onSelect}) => {\n const boundary = isMinField ? \"No Min\" : \"No Max\";\n const options = optionsFunc(boundary);\n const value = options.find(o => o.value == currentValue);\n const containerClassName = isMinField ? \"tw-min-w-[95px]\" : \"tw-min-w-[98px]\";\n\n return (\n <Dropdown\n containerClassName={containerClassName}\n menuShouldComeToFront\n isSearchable={false}\n isClearable={false}\n name={name}\n options={options}\n onChange={(e) => onSelect(name, e)}\n placeholder={boundary}\n value={value}\n components={{ ValueContainer }}\n />\n );\n};\n\nconst ValueContainer = ({ componentProps, children }) => (\n <Dropdown.ValueContainer\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...componentProps}\n className=\"tw-whitespace-nowrap\"\n preserveStyle\n >\n {children}\n </Dropdown.ValueContainer>\n);\n\nconst PriceInput = ({ name, placeholder, onBlur, onChange, value }) => {\n const formattedValue = formatPrice(value) || \"\";\n\n const cleanValue = (e) => {\n const cleaned = e.target?.value.replace(/\\D/g, \"\");\n onChange({ target: { name, value: cleaned } });\n };\n\n return (\n <TextInput\n name={name}\n placeholder={placeholder}\n onChange={cleanValue}\n onBlur={onBlur}\n value={formattedValue}\n />\n );\n};\n","import React, { Component } from \"react\";\n\nimport ListingAlert from \"../listing_alerts/ListingAlert\";\n\nclass AddListingAlertModal extends Component {\n render() {\n const { geoCodeAccountAddress, closeListingAlertModal, mlsIds, person } = this.props;\n\n return (\n <ListingAlert\n person={person}\n closeListingAlertModal={closeListingAlertModal}\n mlsIds={mlsIds}\n geoCodeAccountAddress={geoCodeAccountAddress}\n type=\"new\"\n title=\"Create New Listing Alert\"\n />\n );\n }\n}\n\nexport default AddListingAlertModal;\n","import React, { Component } from \"react\";\nimport ListingAlert from \"../listing_alerts/ListingAlert\";\n\nclass EditListingAlertModal extends Component {\n render() {\n const { geoCodeAccountAddress, closeListingAlertModal, mlsIds, person } = this.props;\n\n return (\n <ListingAlert\n person={person}\n closeListingAlertModal={closeListingAlertModal}\n mlsIds={mlsIds}\n geoCodeAccountAddress={geoCodeAccountAddress}\n type=\"edit\"\n title=\"Edit Listing Alert\"\n {...this.props.alert}\n />\n );\n }\n}\n\nexport default EditListingAlertModal;\n","import React, { useState, useEffect } from \"react\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport ViewAllListingAlertsModal from \"../modals/ViewAllListingAlertsModal\";\nimport AddListingAlertModal from \"../modals/AddListingAlertModal\";\nimport EditListingAlertModal from \"../modals/EditListingAlertModal\";\nimport { getAlerts } from \"./service\";\n\nexport default function AllListingAlertPreview({ person, emailDetails, geoCodeAccountAddress }) {\n const [editListingAlertModalOpen, setEditListingAlertModalOpen] = useState(false);\n const [addListingAlertModalOpen, setAddListingAlertModalOpen] = useState(false);\n const [listingAlertsModalOpen, setListingAlertsModalOpen] = useState(false);\n const [indexOfAlertToEdit, setIndexOfAlertToEdit] = useState(0);\n const [listingAlerts, setListingAlerts] = useState([]);\n const [mlsIds, setMlsIds] = useState([]);\n const [websiteUrl, setWebsiteUrl] = useState(\"\");\n\n const openListingAlertModal = async () => {\n if (emailDetails) {\n const response = await getAlerts(person.slug);\n setListingAlerts(response.data.alerts);\n setWebsiteUrl(response.data.website_url);\n setMlsIds(response.data.mls_ids);\n setListingAlertsModalOpen(true);\n }\n };\n\n const closeListingAlertModal = () => {\n setListingAlertsModalOpen(false);\n };\n\n const closeEditListingAlertModal = (status) => {\n setEditListingAlertModalOpen(false);\n setIndexOfAlertToEdit(0);\n };\n\n const deleteAlert = (alertIndex) => {\n const alertId = listingAlerts[alertIndex].alertId;\n const url = `/people/${person.id}/listing_alerts/${alertId}`;\n axios\n .delete(url, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then((response) => {\n setListingAlerts(listingAlerts.filter((alert) => alert.alertId !== alertId));\n })\n .catch((response) => console.log(response));\n };\n\n const openEditFromViewAll = (alertIndex) => {\n setIndexOfAlertToEdit(alertIndex);\n setEditListingAlertModalOpen(true);\n setListingAlertsModalOpen(false);\n };\n\n const openAddFromViewAll = () => {\n setListingAlertsModalOpen(false);\n setAddListingAlertModalOpen(true);\n };\n\n const tooltipDescription = () => {\n const hasActiveIdxAlerts = person.active_idx_alerts && person.active_idx_alerts > 0;\n const hasIdxAlerts = person.idx_alerts && person.idx_alerts > 0;\n if (hasActiveIdxAlerts) {\n return \"Listing Alerts sending\";\n }\n if (hasIdxAlerts) {\n return \"Not sending Listing Alerts\";\n }\n return \"No Listing Alerts\";\n };\n\n const getColorStyle = () => {\n const hasActiveIdxAlerts = person.active_idx_alerts && person.active_idx_alerts > 0;\n const hasIdxAlerts = person.idx_alerts && person.idx_alerts > 0;\n if (hasActiveIdxAlerts) {\n return \"active\";\n }\n if (hasIdxAlerts) {\n return \"inactive\";\n }\n return \"zero\";\n };\n\n const getAlertCount = () => {\n return person.idx_alerts || \"0\";\n };\n\n const closeAddListingAlertModal = () => {\n setAddListingAlertModalOpen(false);\n setIndexOfAlertToEdit(0);\n };\n\n return (\n <div>\n {\n <div className={\"flex-row d-flex space-evenly flex-justify-center \" + (emailDetails && \"pseudo-link\")}>\n <OverlayTrigger\n trigger={[\"hover\", \"focus\"]}\n placement=\"right\"\n overlay={<Tooltip id=\"market-report-tooltip-wrap\">{tooltipDescription()}</Tooltip>}>\n <h6 className={`tw-font-bold ${getColorStyle()}`} onClick={openListingAlertModal}>\n {getAlertCount()}\n </h6>\n </OverlayTrigger>\n </div>\n }\n {listingAlertsModalOpen && (\n <ViewAllListingAlertsModal\n onClose={closeListingAlertModal}\n listingAlerts={listingAlerts}\n openEditModal={openEditFromViewAll}\n handleDelete={deleteAlert}\n mlsIds={mlsIds}\n websiteUrl={websiteUrl}\n openAddModal={openAddFromViewAll}\n />\n )}\n {addListingAlertModalOpen && (\n <AddListingAlertModal\n person={person}\n closeListingAlertModal={closeAddListingAlertModal}\n mlsIds={mlsIds}\n geoCodeAccountAddress={geoCodeAccountAddress}\n />\n )}\n {editListingAlertModalOpen && (\n <EditListingAlertModal\n person={person}\n closeListingAlertModal={closeEditListingAlertModal}\n alert={listingAlerts[indexOfAlertToEdit]}\n mlsIds={mlsIds}\n geoCodeAccountAddress={geoCodeAccountAddress}\n />\n )}\n </div>\n );\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nclass AssignedPlanRow extends React.Component {\n updatePlanState(state) {\n const { onUpdate, assignedPlan } = this.props;\n const { id } = assignedPlan;\n const form = { state };\n onUpdate(`/assigned_plans/${id}`, form);\n }\n\n render() {\n const { assignedPlan, onShowPlanModal, onShowDeleteModal } = this.props;\n\n return (\n <div className=\"row assigned-plan-row\">\n <div className=\"col-xs-2 ellipsify\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <span className=\"pseudo-link underline\" onClick={() => onShowPlanModal(assignedPlan)}>\n {assignedPlan.name}\n </span>\n </div>\n <div className={`col-xs-2 ellipsify state ${assignedPlan.state}`} />\n <div className=\"col-xs-2 ellipsify\">\n {assignedPlan.total_completed_actions} / {assignedPlan.assigned_actions_count} completed\n </div>\n <div className=\"col-xs-5 ellipsify\">\n {assignedPlan.state !== \"deleted\" && assignedPlan.next_action_description}\n </div>\n <div className=\"col-xs-1 ellipsify\">\n <div className=\"applied-plan-actions\">\n {assignedPlan.state === \"paused\" && (\n <div className=\"inline-item pseudo-link\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i className=\"fa fa-play\" onClick={this.updatePlanState.bind(this, \"started\")} />\n </div>\n )}\n {assignedPlan.state === \"started\" && (\n <div className=\"inline-item pseudo-link\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i className=\"fa fa-pause\" onClick={this.updatePlanState.bind(this, \"paused\")} />\n </div>\n )}\n {assignedPlan.state !== \"deleted\" && assignedPlan.state !== \"completed\" && (\n <div className=\"inline-item pseudo-link\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i className=\"fa fa-trash\" onClick={() => onShowDeleteModal(assignedPlan)} />\n </div>\n )}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport default AssignedPlanRow;\n\nAssignedPlanRow.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlan: PropTypes.objectOf(PropTypes.any).isRequired,\n onUpdate: PropTypes.func.isRequired,\n onShowPlanModal: PropTypes.func.isRequired,\n onShowDeleteModal: PropTypes.func.isRequired,\n};\n","import React from \"react\";\nimport moment from \"moment-timezone\";\nimport { sortByKey } from \"../../shared/Utilities\";\n\nconst autoPlanOptions = (plans = []) => {\n const options = plans.map((plan) => ({ label: plan.name, value: plan.id }));\n\n return sortByKey(options, \"label\");\n};\n\nconst dateTimeFormat = \"MM/DD/YYYY hh:mm a z\";\nconst timeFormat = \"hh:mm a z\";\n\nconst getActionById = (id, assignedPlan) =>\n assignedPlan.assigned_actions.filter((action) => action.id === id)[0];\n\nconst getAutoPlanActionById = (id, autoPlan) => autoPlan.actions.filter((action) => action.id === id)[0];\n\nconst formattedTime = (datetime) => moment(datetime).tz(Brivity.LocalTimeZone).format(timeFormat);\n\nconst determineActionInDisplay = (assignedPlan, activeAssignedActionId) => {\n if (!assignedPlan || !assignedPlan.assigned_actions) {\n return undefined;\n }\n if (activeAssignedActionId) {\n return getActionById(activeAssignedActionId, assignedPlan);\n }\n const sortedActions = sortByKey(assignedPlan.assigned_actions, \"run_at\");\n const action = sortedActions.filter((sortedAction) => sortedAction.state === \"started\")[0];\n return action || sortedActions[0];\n};\n\nconst filterAssignedPlans = (assignedPlans, showCompletedPlans, showDeletedPlans) => {\n const plans = assignedPlans || [];\n return plans.filter(\n (plan) =>\n (plan.state !== \"deleted\" || showDeletedPlans) && (plan.state !== \"completed\" || showCompletedPlans),\n );\n};\n\nconst agentNameLabel = (id, agents = []) => {\n const agent = agents.filter((a) => a.uuid === id)[0];\n return agent ? agent.full_name : \"\";\n};\n\nconst roleTypeLabel = (role) => {\n if (role === \"primary_agent\") {\n return \"Primary Agent\";\n }\n if (role === \"owner\") {\n return \"Account Owner\";\n }\n return \"\";\n};\n\nconst fromUserLabel = (action, agents) => {\n const user = action.agent_id ? agentNameLabel(action.agent_id, agents) : roleTypeLabel(action.agent_role);\n return <span className=\"from-label\">{user}</span>;\n};\n\nconst runAtLabel = (actionType, state) => {\n if (actionType === \"Task\") {\n return state === \"completed\" ? \"Completed At\" : \"Due By\";\n }\n return state === \"completed\" ? \"Sent At\" : \"Send At\";\n};\n\nconst runAtValue = (runAt, state, completedAt) => {\n if (!runAt) {\n return \"\";\n }\n const date = state === \"completed\" && completedAt ? completedAt : runAt;\n return moment(date).tz(Brivity.LocalTimeZone).format(dateTimeFormat);\n};\n\nconst visibilityLabel = (visible) => (visible ? \"Visible to viewers\" : \"Hidden from viewers\");\n\nexport {\n determineActionInDisplay,\n dateTimeFormat,\n timeFormat,\n formattedTime,\n getActionById,\n getAutoPlanActionById,\n filterAssignedPlans,\n fromUserLabel,\n runAtLabel,\n runAtValue,\n visibilityLabel,\n autoPlanOptions,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Error from \"@shared/Error\";\nimport Button from \"@shared/v2/Button\";\n\nconst DeleteActionModal = ({\n isDeleteAssignedActionModalOpen,\n isDeletingAction,\n closeModal,\n action,\n onActionDelete,\n assignedPlanName,\n hasError,\n errorMessage,\n}) => {\n const assignedActionPath = `/assigned_plans/${action.assigned_plan_id}/assigned_actions/${action.id}`;\n\n return (\n <Modal\n show={isDeleteAssignedActionModalOpen}\n onHide={() => closeModal()}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-max-h-full\"\n contentClassName=\"tw-w-[480px] tw-space-y-32px tw-m-auto\"\n >\n <Modal.Header title=\"Do you really want to delete this action?\" closeButton />\n <Modal.Body>\n {hasError && <Error errorMessage={errorMessage} />}\n <p>\n <span>\n Please note that{\" \"}\n <span className=\"bold\">\n {action.type}: {action.name}{\" \"}\n </span>\n is generated from action plan <span className=\"bold\"> "{assignedPlanName}" </span>\n and deleting this action will delete all tasks and interactions contingent on that.\n </span>\n </p>\n {action && action.descendants && action.descendants.length > 0 && (\n <div className=\"p-t-20\">\n <p>The following actions will also be deleted if this action is removed.</p>\n\n {action.descendants.map((descendant) => (\n <p key={descendant.id}>\n <span className=\"bold\">\n {descendant.type}: {descendant.name}\n </span>\n </p>\n ))}\n </div>\n )}\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button schema=\"secondary\" size=\"medium\" onClick={() => closeModal()}>\n Cancel\n </Button>\n <Button\n schema=\"warning\"\n size=\"medium\"\n onClick={() => onActionDelete(action.id, assignedActionPath)}\n isLoading={isDeletingAction}\n >\n Delete\n </Button>\n </Modal.Footer>\n </Modal.Body>\n </Modal>\n );\n};\n\nexport default DeleteActionModal;\n\nDeleteActionModal.propTypes = {\n isDeleteAssignedActionModalOpen: PropTypes.bool.isRequired,\n isDeletingAction: PropTypes.bool.isRequired,\n closeModal: PropTypes.func.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n action: PropTypes.objectOf(PropTypes.any).isRequired,\n onActionDelete: PropTypes.func.isRequired,\n assignedPlanName: PropTypes.string.isRequired,\n hasError: PropTypes.bool.isRequired,\n errorMessage: PropTypes.string.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Error from \"@shared/Error\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\n\nconst DeletePlanModal = ({\n isDeletePlanModalOpen,\n isDeletingPlan,\n closeModal,\n onPlanDelete,\n hasError,\n errorMessage,\n}) => (\n <Modal\n show={isDeletePlanModalOpen}\n onHide={() => closeModal()}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-max-h-full\"\n contentClassName=\"tw-w-[480px] tw-space-y-32px tw-m-auto\"\n >\n <Modal.Header title=\"Do you really want to delete this plan from this contact?\" closeButton />\n <Modal.Body>\n {hasError && <Error errorMessage={errorMessage} />}\n <p>\n Deleting an auto plan from a contact will delete all incomplete tasks and interactions generated by\n this plan. You are still able to keep track of all completed tasks.\n </p>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button schema=\"secondary\" size=\"medium\" onClick={() => closeModal()}>\n Cancel\n </Button>\n <Button schema=\"warning\" size=\"medium\" onClick={() => onPlanDelete()} isLoading={isDeletingPlan}>\n Delete\n </Button>\n </Modal.Footer>\n </Modal>\n);\n\nexport default DeletePlanModal;\n\nDeletePlanModal.propTypes = {\n isDeletePlanModalOpen: PropTypes.bool.isRequired,\n isDeletingPlan: PropTypes.bool.isRequired,\n closeModal: PropTypes.func.isRequired,\n onPlanDelete: PropTypes.func.isRequired,\n hasError: PropTypes.bool.isRequired,\n errorMessage: PropTypes.string.isRequired,\n};\n","import React from \"react\";\n\nconst DEFAULT_CLASS =\n \"tw-flex-none tw-w-[30px] tw-h-[30px] tw-flex tw-justify-center tw-items-center tw-rounded-full\";\n\nconst Circle = ({ icon, circleStyle, ...rest }) => (\n <div className={`${DEFAULT_CLASS} ${circleStyle}`} {...rest}>\n {icon && <i className={`${icon} tw-text-14d`} />}\n </div>\n);\n\nexport default Circle;\n","import React from 'react';\nimport moment from 'moment-timezone';\n\nconst timeWithZoneFormat = 'hh:mm a z';\n\nconst formattedTimeFromUtcDateTimeString = (dateTimeString) => {\n return dateTimeString ? moment(dateTimeString).tz(Brivity.LocalTimeZone).format(timeWithZoneFormat) : null;\n}\n\nconst formattedTimeFromUtcTimeString = (timeString) => {\n const utcTimeObject = moment.utc(`2017-01-01 ${timeString}`, 'YYYY-MM-DD HH:mm');\n const localTimeObject = utcTimeObject.tz(Brivity.LocalTimeZone);\n return localTimeObject.format(timeWithZoneFormat);\n}\n\nexport {\n formattedTimeFromUtcDateTimeString,\n formattedTimeFromUtcTimeString,\n timeWithZoneFormat,\n};\n","import moment from \"moment-timezone\";\nimport { formattedTimeFromUtcDateTimeString, formattedTimeFromUtcTimeString } from \"../../shared/TimeHelpers\";\nimport { toTitleCase } from \"../../shared/Utilities\";\n\nconst actionLookup = (actions, id) => actions && actions.find((action) => action.id === id);\n\nconst delayUnits = { seconds: \"second\", minutes: \"minute\", hours: \"hours\", days: \"day\" };\n\nconst generateTimeString = (action) => {\n if (action.run_at) {\n return formattedTimeFromUtcDateTimeString(action.run_at);\n }\n if (action.run_time) {\n return formattedTimeFromUtcTimeString(action.run_time);\n }\n return undefined;\n};\n\nconst actionSubtitleForEvent = (action) => {\n const atOrBy = action.type === \"Task\" ? \"by\" : \"at\";\n let when = \"\";\n let delayUnitLabel = \"\";\n let dayLabel = \"\";\n const timeToRun = generateTimeString(action);\n\n if (action.delay > 0) {\n dayLabel = `${action.delay} `;\n when = ` after ${atOrBy} `;\n delayUnitLabel = delayUnits[action.delay_unit] + (action.delay > 1 ? \"s\" : \"\");\n } else if (action.delay < 0) {\n dayLabel = `${Math.abs(action.delay)} `;\n when = ` before ${atOrBy} `;\n delayUnitLabel = delayUnits[action.delay_unit] + (action.delay < -1 ? \"s\" : \"\");\n }\n\n return `${dayLabel}${delayUnitLabel} ${when} ${timeToRun}`;\n};\n\nconst actionSubtitle = (action) => {\n if (action.schedule_type === \"event\" && !action.failed_message) {\n return actionSubtitleForEvent(action);\n }\n if (action.run_at) {\n return formattedTimeFromUtcDateTimeString(action.run_at);\n }\n return undefined;\n};\n\nconst iconOptions = (type) => {\n switch (type) {\n case \"Text\":\n return \"fa fa-commenting-o\";\n case \"Task\":\n return \"fa fa-list\";\n case \"Email\":\n return \"fa fa-envelope\";\n default:\n return \"\";\n }\n};\n\nconst dateLabel = (date) => {\n if (date === \"Events\") {\n return \"Event Based\";\n }\n const today = moment().tz(Brivity.LocalTimeZone).format(\"MM/DD/YYYY\");\n const dateString = moment(date).format(\"MM/DD/YYYY\");\n return today === dateString ? \"Today\" : dateString;\n};\n\nconst eventDetailString = (action) => {\n const atOrBy = action.type === \"Task\" ? \"by\" : \"at\";\n let when = \"\";\n let delayUnitLabel = \"\";\n let dayLabel = \"\";\n const timeToRun = generateTimeString(action);\n\n if (action.delay === 0) {\n when = \"on \";\n } else if (action.delay > 0) {\n when = \"after \";\n delayUnitLabel = delayUnits[action.delay_unit] + (action.delay > 1 ? \"s\" : \"\");\n dayLabel = `${action.delay} `;\n } else {\n when = \"before \";\n dayLabel = `${Math.abs(action.delay)} `;\n delayUnitLabel = delayUnits[action.delay_unit] + (action.delay < -1 ? \"s\" : \"\");\n }\n return `${dayLabel}${delayUnitLabel} ${when} ${toTitleCase(action.milestone_name)} ${atOrBy} ${timeToRun}`;\n};\n\nexport { actionLookup, actionSubtitle, dateLabel, delayUnits, eventDetailString, iconOptions };\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { runAtLabel, runAtValue } from \"./helpers\";\nimport { eventDetailString } from \"./AssignedPlanDetailHelpers\";\n\nconst InteractionDetail = ({ action, parentAction }) => (\n <div className=\"tw-flex tw-flex-col tw-overflow-y-auto tw-overflow-x-hidden\">\n <div className=\"row header-wrap\">\n <div className=\"col-xs-4\">\n <label>Send From</label>\n <div>{action.assigned_to_label}</div>\n </div>\n <div className=\"col-xs-4\">\n <label>Send To</label>\n <div>{action.assigned_for_label}</div>\n </div>\n\n {parentAction && action.contingent && (\n <div className=\"col-xs-4\">\n <label>Contingent</label>\n <div className=\"ellipsify\">{parentAction.name}</div>\n </div>\n )}\n </div>\n <div className=\"row row-border sub-header-wrap\">\n <div className=\"col-xs-4\">\n <label>{runAtLabel(action.type, action.state)}</label>\n <div>{runAtValue(action.run_at, action.state, action.completed_at)}</div>\n </div>\n\n {action.milestone_name && (\n <div className=\"col-xs-4\">\n <label>Event</label>\n <div>{eventDetailString(action)}</div>\n </div>\n )}\n </div>\n\n <div className=\"row content-wrap sub-header-wrap\">\n {action.type === \"Email\" && (\n <div>\n <div className=\"col-xs-9\">\n <div className=\"action-name bold\">{action.name}</div>\n </div>\n <div className=\"col-xs-3 action-fail-message\">\n {action.state === \"failed\" && action.failed_message}\n </div>\n <div className=\"col-xs-12 tw-break-words\">\n <p dangerouslySetInnerHTML={{ __html: action.template_body }} />\n </div>\n </div>\n )}\n {action.type === \"Text\" && (\n <div>\n {action.state === \"failed\" && action.failed_description && (\n <div className=\"col-xs-12 tw-mb-[12px]\">\n <div\n className={`tw-py-[12px] tw-px-[16px] ${action.failed_description_type === \"error\" ? \"tw-bg-semantic-red-5\" : \"tw-bg-semantic-yellow-5\"}`}\n >\n <p className=\"tw-text-14d tw-text-semantic-yellow-120 tw-font-semibold tw-mb-[5px]\">\n {action.failed_description_type === \"error\" ? \"Text Failure\" : \"Possible Failure\"}\n </p>\n <p className=\"tw-mb-0\">{action.failed_description}</p>\n </div>\n </div>\n )}\n <div className=\"col-xs-9 tw-pt-0 tw-break-words\">\n <p>{action.template_body}</p>\n </div>\n <div className=\"col-xs-3 action-fail-message\">\n {action.state === \"failed\" && action.failed_message}\n </div>\n </div>\n )}\n </div>\n </div>\n);\n\nexport default InteractionDetail;\n\nInteractionDetail.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n action: PropTypes.objectOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n parentAction: PropTypes.objectOf(PropTypes.any).isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { toTitleCase } from \"../../shared/Utilities\";\n\nconst dayLabels = {\n 0: \"Sunday\",\n 1: \"Monday\",\n 2: \"Tuesday\",\n 3: \"Wednesday\",\n 4: \"Thursday\",\n 5: \"Friday\",\n 6: \"Saturday\",\n};\n\nconst recursRemaininglabel = (amount) => {\n // eslint-disable-next-line eqeqeq\n if (amount == 0 || amount) {\n return `${amount} more times`;\n }\n return \"Never ending\";\n};\n\nconst recurringTypelabel = (type, onDaysOfFrequency = null) => {\n if (type === \"every\") {\n return `Every ${onDaysOfFrequency} days`;\n }\n\n return toTitleCase(type);\n};\n\nconst recurringOnlabel = (type, onDaysOfFrequency) => {\n if (!onDaysOfFrequency || onDaysOfFrequency.length < 1) {\n return \"\";\n }\n\n if (type === \"weekly\") {\n return `On ${onDaysOfFrequency.map((day) => dayLabels[day]).join(\", \")}`;\n }\n if (type === \"monthly\") {\n return `On Month Days: ${onDaysOfFrequency.join(\", \")}`;\n }\n return \"\";\n};\n\nexport const RecurringDetailInnerFields = ({ recurringFrequency, recurringDaysOfFrequency, recurringLimit }) => (\n <>\n <div>{recurringTypelabel(recurringFrequency, recurringDaysOfFrequency)}</div>\n <div>{recurringOnlabel(recurringFrequency, recurringDaysOfFrequency)}</div>\n <div>{recursRemaininglabel(recurringLimit)}</div>\n </>\n);\n\nconst RecurringDetail = ({ recurringFrequency, recurringDaysOfFrequency, recurringLimit }) => (\n <div>\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n <label>Recurring</label>\n <div>\n <RecurringDetailInnerFields\n recurringFrequency={recurringFrequency}\n recurringDaysOfFrequency={recurringDaysOfFrequency}\n recurringLimit={recurringLimit}\n />\n </div>\n </div>\n);\n\nexport default RecurringDetail;\n\nRecurringDetail.propTypes = {\n recurringFrequency: PropTypes.string.isRequired,\n recurringDaysOfFrequency: PropTypes.arrayOf(PropTypes.number).isRequired,\n recurringLimit: PropTypes.number.isRequired,\n};\n\nRecurringDetailInnerFields.propTypes = RecurringDetail.propTypes;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from \"react\";\nimport Linkify from \"linkify-react\";\nimport PropTypes from \"prop-types\";\nimport { runAtLabel, runAtValue, visibilityLabel } from \"./helpers\";\nimport { eventDetailString } from \"./AssignedPlanDetailHelpers\";\nimport RecurringDetail from \"./RecurringDetail\";\n\nconst TaskDetail = ({ action, parentAction, planType }) => (\n <div className=\"tw-flex tw-flex-col\">\n <div className=\"header-wrap\">\n <div className=\"col-xs-4\">\n <label>{runAtLabel(action.type, action.state)}</label>\n <div>\n {runAtValue(action.run_at, action.state, action.completed_at)}\n {action.overdue && (\n <span>\n <span className=\"text-danger\"> Overdue</span>\n </span>\n )}\n </div>\n </div>\n <div className=\"col-xs-4\">\n <label>Task For</label>\n <div>{action.assigned_to_label}</div>\n </div>\n <div className=\"col-xs-4\">\n {parentAction && action.contingent && (\n <div>\n <label>Contingent</label>\n <div className=\"ellipsify\">{parentAction.name}</div>\n </div>\n )}\n </div>\n </div>\n\n <div className=\"row-border sub-header-wrap\">\n <div className=\"col-xs-4\">\n <label>Priority</label>\n <div>{action.priority}</div>\n </div>\n\n {planType === \"transactions\" && (\n <div className=\"col-xs-4\">\n <label>Visibility</label>\n <div>{visibilityLabel(action.visibility)}</div>\n </div>\n )}\n\n {action.milestone_name && (\n <div className=\"col-xs-4\">\n <label>Event</label>\n <div>{eventDetailString(action)}</div>\n </div>\n )}\n\n {action.recurring_frequency !== \"never\" && (\n <div className=\"col-xs-4\">\n <RecurringDetail\n recurringFrequency={action.recurring_frequency}\n recurringLimit={action.recurring_limit}\n recurringDaysOfFrequency={action.recurring_days_of_frequency}\n />\n </div>\n )}\n </div>\n\n <div className=\"row-border sub-header-wrap\">\n <div className=\"col-xs-9\">\n <label>Task Details</label>\n <div className=\"\">{action.name}</div>\n </div>\n <div className=\"col-xs-3 action-fail-message\">{action.state === \"failed\" && action.failed_message}</div>\n </div>\n\n <div className=\"content-wrap\">\n <div className=\"col-xs-12 tw-whitespace-pre-wrap\">\n <div className=\"body-content-wrap\">\n {action.instructions && (\n <div className=\"row p-b-10\">\n <div className=\"col-xs-12\">\n <label>Instructions</label>\n <Linkify tagName=\"p\" options={{ defaultProtocol: \"https\", target: \"_blank\" }}>\n {action.instructions}\n </Linkify>\n </div>\n </div>\n )}\n {action.note && (\n <div className=\"p-b-10\">\n <div className=\"col-xs-12\">\n <label>Notes</label>\n <Linkify tagName=\"p\" options={{ defaultProtocol: \"https\", target: \"_blank\" }}>\n {action.note}\n </Linkify>\n </div>\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n);\n\nexport default TaskDetail;\n\nTaskDetail.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n action: PropTypes.objectOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n parentAction: PropTypes.objectOf(PropTypes.any).isRequired,\n planType: PropTypes.string.isRequired,\n};\n","/* eslint-disable class-methods-use-this */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Circle from \"@shared/Circle\";\nimport { toTitleCase, sortByKey } from \"../../shared/Utilities\";\nimport \"./AssignedPlans.scss\";\nimport { determineActionInDisplay, getActionById } from \"./helpers\";\nimport InteractionDetail from \"./InteractionDetail\";\nimport TaskDetail from \"./TaskDetail\";\nimport { actionLookup, actionSubtitle, dateLabel, iconOptions } from \"./AssignedPlanDetailHelpers\";\n\nclass AssignedPlanDetail extends React.Component {\n circlePropsFromState = (action, assignedPlanState) => {\n const additionalClass = action.overdue && action.type === \"Task\" ? \"overdue\" : \"\";\n\n if (action.state === \"completed\") {\n return {\n icon: \"fa fa-check text-white\",\n circleStyle: \"tw-bg-theme-primary\",\n };\n }\n if (assignedPlanState === \"deleted\") {\n return {\n icon: \"fa fa-trash text-gray\",\n circleStyle: \"deleted\",\n };\n }\n if (action.state === \"failed\") {\n return {\n icon: \"fa fa-close text-white\",\n circleStyle: \"tw-bg-brand-danger\",\n };\n }\n return {\n icon: `${iconOptions(action.type)} text-gray`,\n circleStyle: `tw-border-solid tw-border-[1px] tw-border-gray-15 ${additionalClass}`,\n };\n };\n\n restartButtonText = (type) => (type === \"Task\" ? \"Retry\" : \"Send Now\");\n\n markAsComplete(id, assignedPlanId) {\n const { onActionUpdate } = this.props;\n onActionUpdate(`/assigned_plans/${assignedPlanId}/assigned_actions/${id}/mark_complete`);\n }\n\n restartAssignedAction(id, assignedPlanId) {\n const { onActionUpdate } = this.props;\n onActionUpdate(`/assigned_plans/${assignedPlanId}/assigned_actions/${id}/restart`);\n }\n\n canRestartAction(action = {}) {\n const { assignedPlan } = this.props;\n const { type, state } = action;\n\n if (assignedPlan.state === \"started\" && type === \"Task\" && state === \"failed\") {\n return true;\n }\n\n if (assignedPlan.state === \"started\" && type !== \"Task\" && state !== \"completed\") {\n return true;\n }\n\n return false;\n }\n\n renderActionGroup(groupType, actions, subGroupType, actionInDisplayId) {\n const groupLabel = groupType === \"days\" ? dateLabel(subGroupType) : toTitleCase(subGroupType);\n const sortByField = groupType === \"days\" ? \"run_at\" : \"sort_key\";\n\n return (\n <React.Fragment key={subGroupType}>\n <div className=\"tw-font-bold tw-py-[8px]\">{groupLabel}</div>\n\n {sortByKey(actions, sortByField)\n .sort((a, b) => ((a.position || 0) > (b.position || 0) ? 1 : -1))\n .map((action) => this.renderAction(action.id, actionInDisplayId))}\n </React.Fragment>\n );\n }\n\n renderAction(actionId, actionInDisplayId) {\n const { assignedPlan, previewAssignedAction } = this.props;\n const action = actionLookup(assignedPlan.assigned_actions, actionId);\n\n return (\n <button\n key={action.id}\n className={`tw-flex tw-border-none tw-items-center tw-gap-[16px] tw-p-[8px] ${action.id === actionInDisplayId ? \"tw-bg-gray-5\" : \"tw-bg-white\"}`}\n type=\"button\"\n onClick={() => previewAssignedAction(action)}\n >\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n <Circle {...this.circlePropsFromState(action)} />\n <div className=\"tw-overflow-hidden\">\n <div className=\"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis\">\n <span>{action.type}: </span>\n <span className=\"tw-font-bold\">{action.name}</span>\n </div>\n <div className=\"one-line understated\">\n <span>{actionSubtitle(action)}</span>\n <span className=\"text-danger\"> {action.failed_message}</span>\n <span className=\"text-danger\"> {action.overdue && action.type === \"Task\" && \"Overdue\"}</span>\n </div>\n </div>\n </button>\n );\n }\n\n render() {\n const { assignedPlan, onShowDeleteModal, activeAssignedActionId, isAssignedActionUpdating } = this.props;\n const actionInDisplay = determineActionInDisplay(assignedPlan, activeAssignedActionId);\n const parentAction = actionInDisplay\n ? getActionById(actionInDisplay.parent_action_id, assignedPlan)\n : null;\n\n return (\n <div className=\"tw-flex tw-gap-[8px] tw-h-full\">\n <div className=\"tw-flex-none tw-w-[280px] tw-flex tw-flex-col tw-overflow-x-hidden tw-overflow-y-auto\">\n {assignedPlan?.assigned_actions &&\n Object.keys(assignedPlan.grouped_actions)\n .sort()\n .map((groupType) => {\n const group = assignedPlan.grouped_actions[groupType];\n return Object.keys(group)\n .sort()\n .map((subGroupKey) =>\n this.renderActionGroup(groupType, group[subGroupKey], subGroupKey, actionInDisplay.id),\n );\n })}\n </div>\n\n <div className=\"tw-flex-1 tw-flex tw-flex-col tw-gap-[16px] tw-overflow-x-hidden\">\n {actionInDisplay && (\n <>\n <div className=\"tw-flex-1 tw-overflow-auto\">\n {(actionInDisplay.type === \"Email\" || actionInDisplay.type === \"Text\") && (\n <InteractionDetail action={actionInDisplay} parentAction={parentAction} />\n )}\n {actionInDisplay.type === \"Task\" && (\n <TaskDetail\n action={actionInDisplay}\n planType={assignedPlan.plan_type}\n parentAction={parentAction}\n />\n )}\n </div>\n\n <div className=\"tw-flex tw-justify-between\">\n <div>\n {(assignedPlan.state === \"started\" || assignedPlan.state === \"paused\") &&\n actionInDisplay.state !== \"completed\" && (\n <Button\n disabled={isAssignedActionUpdating}\n size=\"medium\"\n schema=\"warning\"\n onClick={() => onShowDeleteModal(actionInDisplay)}\n >\n Delete\n </Button>\n )}\n </div>\n\n <div className=\"tw-flex tw-gap-[16px]\">\n {assignedPlan.state === \"started\" && actionInDisplay.type !== \"Task\" && (\n <Button\n size=\"medium\"\n disabled={isAssignedActionUpdating}\n onClick={() =>\n this.markAsComplete(actionInDisplay.id, actionInDisplay.assigned_plan_id)\n }\n >\n Mark as Complete\n </Button>\n )}\n\n {this.canRestartAction(actionInDisplay) && (\n <Button\n disabled={isAssignedActionUpdating}\n size=\"medium\"\n schema=\"tertiary\"\n onClick={() =>\n this.restartAssignedAction(actionInDisplay.id, actionInDisplay.assigned_plan_id)\n }\n >\n {this.restartButtonText(actionInDisplay.type)}\n </Button>\n )}\n </div>\n </div>\n </>\n )}\n </div>\n </div>\n );\n }\n}\n\nexport default AssignedPlanDetail;\n\nAssignedPlanDetail.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlan: PropTypes.objectOf(PropTypes.any).isRequired,\n onShowDeleteModal: PropTypes.func.isRequired,\n onActionUpdate: PropTypes.func.isRequired,\n activeAssignedActionId: PropTypes.string.isRequired,\n isAssignedActionUpdating: PropTypes.bool.isRequired,\n previewAssignedAction: PropTypes.func.isRequired,\n markAsComplete: PropTypes.func.isRequired,\n restartAssignedAction: PropTypes.func.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport { Pause, Play, Spinner, Trash } from \"../../../../shared/v2/Icomoon\";\n\nexport const PlayOrPauseButton = ({ isLoading, isPaused, onClick }) => {\n const PlayOrPauseIcon = isPaused ? Play : Pause;\n return (\n <IconButton\n disabled={isLoading}\n onClick={onClick}\n size=\"small\"\n schema=\"tertiary\"\n data-cy=\"pause-or-resume-plan-button\"\n >\n {isLoading ? <Spinner /> : <PlayOrPauseIcon />}\n </IconButton>\n );\n};\nPlayOrPauseButton.propTypes = {\n isLoading: PropTypes.bool.isRequired,\n isPaused: PropTypes.bool.isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nexport const TrashIcon = ({ isLoading, onClick }) => (\n <IconButton\n disabled={isLoading}\n onClick={onClick}\n size=\"small\"\n schema=\"misc-trash\"\n data-cy=\"delete-plan-button\"\n >\n {isLoading ? <Spinner /> : <Trash />}\n </IconButton>\n);\nTrashIcon.propTypes = {\n isLoading: PropTypes.bool.isRequired,\n onClick: PropTypes.func.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport AssignedPlanDetail from \"./AssignedPlanDetail\";\nimport {\n PlayOrPauseButton,\n TrashIcon,\n} from \"../../TransactionDetailsPage/SideRight/AutoPlans/Components/AssignedPlanIconButtons\";\n\nconst PlanModal = ({\n activeAssignedActionId,\n assignedPlan,\n closeModal,\n deleteAssignedAction,\n getAssignedPlan,\n isAssignedActionUpdating,\n isDeleteAssignedActionModalOpen,\n isPlanModalOpen,\n previewAssignedAction,\n showDeleteAssignedActionModal,\n showDeleteAssignedPlanModal,\n updateAssignedAction,\n updateAssignedPlan,\n}) => {\n const updateCallback = () => {\n getAssignedPlan(`/assigned_plans/${assignedPlan.id}`);\n };\n\n const updatePlanState = (state) => {\n const form = { state };\n updateAssignedPlan(`/assigned_plans/${assignedPlan.id}`, form, updateCallback);\n };\n\n return (\n <Modal\n show={isPlanModalOpen}\n onHide={() => closeModal()}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-max-h-full\"\n contentClassName=\"tw-w-[983px] tw-space-y-32px tw-m-auto\"\n >\n <Modal.Header\n closeButton\n size=\"small\"\n title={\n <div className=\"tw-flex tw-gap-[16px]\">\n <span>\n {`Auto Plan: ${assignedPlan.name}`}\n <span className={`state ${assignedPlan.state}`} />\n </span>\n\n {assignedPlan.state !== \"deleted\" && (\n <div className=\"tw-flex tw-gap-[8px]\">\n <PlayOrPauseButton\n isPaused={assignedPlan.state === \"paused\"}\n onClick={() => updatePlanState(assignedPlan.state === \"paused\" ? \"started\" : \"paused\")}\n />\n <TrashIcon onClick={() => showDeleteAssignedPlanModal(assignedPlan)} />\n </div>\n )}\n </div>\n }\n />\n\n <Modal.Body className=\"tw-h-[60vh] tw-flex tw-border-solid tw-border-0 tw-border-t tw-border-b tw-border-neutral-gray-10\">\n <AssignedPlanDetail\n isAssignedActionUpdating={isAssignedActionUpdating}\n assignedPlan={assignedPlan}\n previewAssignedAction={previewAssignedAction}\n activeAssignedActionId={activeAssignedActionId}\n onActionUpdate={updateAssignedAction}\n onActionDelete={deleteAssignedAction}\n onShowDeleteModal={showDeleteAssignedActionModal}\n isDeleteModalOpen={isDeleteAssignedActionModalOpen}\n />\n </Modal.Body>\n </Modal>\n );\n};\n\nexport default PlanModal;\n\nPlanModal.propTypes = {\n activeAssignedActionId: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlan: PropTypes.objectOf(PropTypes.any).isRequired,\n closeModal: PropTypes.func.isRequired,\n deleteAssignedAction: PropTypes.func.isRequired,\n getAssignedPlan: PropTypes.func.isRequired,\n isAssignedActionUpdating: PropTypes.bool.isRequired,\n isDeleteAssignedActionModalOpen: PropTypes.bool.isRequired,\n isPlanModalOpen: PropTypes.bool.isRequired,\n previewAssignedAction: PropTypes.func.isRequired,\n showDeleteAssignedActionModal: PropTypes.func.isRequired,\n showDeleteAssignedPlanModal: PropTypes.func.isRequired,\n updateAssignedAction: PropTypes.func.isRequired,\n updateAssignedPlan: PropTypes.func.isRequired,\n};\n","/* eslint-disable class-methods-use-this */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Circle from \"../../shared/Circle\";\nimport { toTitleCase, sortByKey } from \"../../shared/Utilities\";\nimport \"./AssignedPlans.scss\";\nimport { getAutoPlanActionById } from \"./helpers\";\nimport InteractionDetail from \"./InteractionDetail\";\nimport TaskDetail from \"./TaskDetail\";\nimport { actionLookup, actionSubtitle, dateLabel, iconOptions } from \"./AssignedPlanDetailHelpers\";\n\nclass AssignedPlanDetailPreview extends React.Component {\n circlePropsFromState = (action) => {\n if (action.state === \"failed\") {\n return {\n icon: \"fa fa-close text-white\",\n circleStyle: \"background-danger\",\n };\n }\n return {\n icon: `${iconOptions(action.type)} text-gray`,\n circleStyle: \"default\",\n };\n };\n\n renderAction(actionId, actionInDisplayId) {\n const { autoPlanPreview, previewAutoPlanAction } = this.props;\n const action = actionLookup(autoPlanPreview.actions, actionId);\n\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n <div\n key={action.id}\n className={`grid-item d-flex flex-items-center pseudo-link ${\n action.id === actionInDisplayId ? \"active\" : \"\"\n }`}\n onClick={() => previewAutoPlanAction(action.id)}\n >\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n <Circle {...this.circlePropsFromState(action)} />\n\n <div>\n <div className=\"one-line title\">\n <span>{`${action.type}: `}</span>\n <span className=\"bold\">{action.name}</span>\n </div>\n <div className=\"one-line understated\">\n <span>{actionSubtitle(action)}</span>\n <span className=\"text-danger\"> {action.failed_message}</span>\n <span className=\"text-danger\"> {action.overdue && action.type === \"Task\" && \"Overdue\"}</span>\n </div>\n </div>\n </div>\n );\n }\n\n renderActionGroup(groupType, actions, subGroupType, actionInDisplayId) {\n const groupLabel = groupType === \"days\" ? dateLabel(subGroupType) : toTitleCase(subGroupType);\n const sortByField = groupType === \"days\" ? \"run_at\" : \"sort_key\";\n\n return (\n <div key={subGroupType}>\n <div className=\"day-label\">{groupLabel}</div>\n\n {\n sortByKey(actions, sortByField)\n .sort((a, b) => ((a.position || 0) > (b.position || 0)) ? 1 : -1)\n .map((action) => this.renderAction(action.id, actionInDisplayId))\n }\n </div>\n );\n }\n\n render() {\n const { autoPlanPreview, activeAutoPlanActionId } = this.props;\n const actionInDisplay =\n autoPlanPreview?.actions &&\n (getAutoPlanActionById(activeAutoPlanActionId, autoPlanPreview) ||\n autoPlanPreview.actions.sortBy(\"run_at\")[0]);\n const parentAction = actionInDisplay\n ? getAutoPlanActionById(actionInDisplay.parent_action_id, autoPlanPreview)\n : null;\n\n return (\n <div className=\"row\">\n <div className=\"assigned-plan-detail-grid col-xs-12\">\n <div className=\"left-column\">\n <div className=\"grid-items\">\n {autoPlanPreview &&\n autoPlanPreview.actions &&\n autoPlanPreview.grouped_actions &&\n Object.keys(autoPlanPreview.grouped_actions)\n .sort()\n .map((groupType) => {\n const group = autoPlanPreview.grouped_actions[groupType];\n return Object.keys(group)\n .sort()\n .map((subGroupKey) =>\n this.renderActionGroup(\n groupType,\n group[subGroupKey],\n subGroupKey,\n actionInDisplay.id,\n ),\n );\n })}\n </div>\n </div>\n <div className=\"right-column\">\n {actionInDisplay && (\n <div className=\"active-action\">\n {(actionInDisplay.type === \"Email\" || actionInDisplay.type === \"Text\") && (\n <InteractionDetail action={actionInDisplay} parentAction={parentAction} />\n )}\n {actionInDisplay.type === \"Task\" && (\n <TaskDetail action={actionInDisplay} parentAction={parentAction} />\n )}\n </div>\n )}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport default AssignedPlanDetailPreview;\n\nAssignedPlanDetailPreview.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanPreview: PropTypes.objectOf(PropTypes.any).isRequired,\n activeAutoPlanActionId: PropTypes.string.isRequired,\n previewAutoPlanAction: PropTypes.func.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport AssignedPlanDetailPreview from \"./AssignedPlanDetailPreview\";\n\nconst PlanModalPreview = ({\n closeModal,\n isPlanPreviewModalOpen,\n autoPlanPreview,\n previewAutoPlanAction,\n activeAutoPlanActionId,\n}) => (\n <Modal\n show={isPlanPreviewModalOpen}\n onHide={() => closeModal()}\n className=\"assigned-plan-modal\"\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-max-h-full\"\n contentClassName=\"tw-w-[983px] tw-space-y-32px tw-m-auto\"\n >\n <Modal.Header\n size=\"small\"\n title={\n <>\n Auto Plan: ${autoPlanPreview.name}\n <span className={`state ${autoPlanPreview.state}`} />\n </>\n }\n closeButton\n />\n <Modal.Body>\n <AssignedPlanDetailPreview\n autoPlanPreview={autoPlanPreview}\n previewAutoPlanAction={previewAutoPlanAction}\n activeAutoPlanActionId={activeAutoPlanActionId}\n />\n </Modal.Body>\n </Modal>\n);\n\nexport default PlanModalPreview;\n\nPlanModalPreview.propTypes = {\n closeModal: PropTypes.func.isRequired,\n isPlanPreviewModalOpen: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanPreview: PropTypes.objectOf(PropTypes.any).isRequired,\n previewAutoPlanAction: PropTypes.func.isRequired,\n activeAutoPlanActionId: PropTypes.string.isRequired,\n};\n","import axios from \"axios\";\n\nconst fetchAssignedPlansPending = () => ({\n type: \"FETCH_ASSIGNED_PLANS_PENDING\",\n});\n\nconst fetchAssignedPlansSuccess = (assignedPlans) => ({\n type: \"FETCH_ASSIGNED_PLANS_SUCCESS\",\n assignedPlans,\n});\n\nconst fetchAssignedPlansFailure = () => ({\n type: \"FETCH_ASSIGNED_PLANS_FAILURE\",\n});\n\nconst fetchAssignedPlanPending = () => ({\n type: \"FETCH_ASSIGNED_PLAN_PENDING\",\n});\n\nconst fetchAssignedPlanSuccess = (assignedPlan) => ({\n type: \"FETCH_ASSIGNED_PLAN_SUCCESS\",\n assignedPlan,\n});\n\nconst createAssignedPlanFailure = (errors) => ({\n type: \"CREATE_ASSIGNED_PLAN_FAILURE\",\n isCreatingAssignedPlan: false,\n errors,\n});\n\nconst createAssignedPlanPending = () => ({\n type: \"CREATE_ASSIGNED_PLAN_PENDING\",\n isCreatingAssignedPlan: true,\n});\n\nconst createAssignedPlanSuccess = (assignedPlan) => ({\n type: \"CREATE_ASSIGNED_PLAN_SUCCESS\",\n isCreatingAssignedPlan: false,\n assignedPlan,\n});\n\nconst updateAssignedPlanSuccess = (assignedPlan) => ({\n type: \"UPDATE_ASSIGNED_PLAN_SUCCESS\",\n assignedPlan,\n});\n\nconst updateAssignedPlanFailure = (errors) => ({\n type: \"UPDATE_ASSIGNED_PLAN_FAILURE\",\n errors,\n});\n\nconst updateAssignedActionPending = () => ({\n type: \"UPDATE_ASSIGNED_ACTION_PENDING\",\n});\n\nconst updateAssignedActionFailure = () => ({\n type: \"UPDATE_ASSIGNED_ACTION_FAILURE\",\n});\n\nconst updateAssignedActionSuccess = (assignedAction) => ({\n type: \"UPDATE_ASSIGNED_ACTION_SUCCESS\",\n assignedAction,\n});\n\nexport const showApplyModal = () => (dispatch) => {\n dispatch({ type: \"SHOW_APPLY_MODAL\" });\n};\n\nexport const showPlansModal = () => (dispatch) => {\n dispatch({ type: \"SHOW_PLANS_MODAL\" });\n};\n\nexport const showPlanModal = (assignedPlan) => (dispatch) => {\n axios\n .get(`/assigned_plans/${assignedPlan.id}`, {\n responseType: \"json\",\n contentType: \"application/json\",\n })\n .then((results) => {\n dispatch({ type: \"SHOW_PLAN_MODAL\", assignedPlan: results.data.assigned_plan });\n })\n .catch();\n};\n\nexport const showPreviewPlanModal = (autoPlanId, assignableId, assignableType) => (dispatch) => {\n axios\n .get(`/auto_plans/${autoPlanId}/preview`, {\n params: {\n assignable_id: assignableId,\n assignable_type: assignableType,\n },\n })\n .then((res) => dispatch({ type: \"SHOW_PLAN_PREVIEW_MODAL\", autoPlan: res.data.auto_plan }))\n .catch(() => { } );\n};\n\nexport const showDeleteAssignedActionModal = (actionToDelete) => (dispatch) => {\n dispatch({\n type: \"SHOW_DELETE_ASSIGNED_ACTION_MODAL\",\n actionToDelete,\n });\n};\n\nexport const showDeleteAssignedPlanModal = (planToDelete) => (dispatch) => {\n dispatch({\n type: \"SHOW_DELETE_ASSIGNED_PLAN_MODAL\",\n planToDelete,\n });\n};\n\nexport const closeModal =\n (callback = null) =>\n (dispatch) => {\n dispatch({ type: \"CLOSE_MODAL\" });\n if (callback) {\n dispatch(callback);\n }\n };\n\nexport const toggleCompletedPlans = () => (dispatch) => {\n dispatch({ type: \"TOGGLE_COMPLETED_PLANS\" });\n};\n\nexport const toggleDeletedPlans = () => (dispatch) => {\n dispatch({ type: \"TOGGLE_DELETED_PLANS\" });\n};\n\nexport const previewAssignedAction = (assignedAction) => (dispatch) => {\n dispatch({\n type: \"PREVIEW_ASSIGNED_ACTION\",\n assignedAction,\n });\n};\n\nexport const previewAutoPlanAction = (actionId) => (dispatch) => {\n dispatch({\n type: \"PREVIEW_AUTO_PLAN_ACTION\",\n actionId,\n });\n};\n\nexport const submitApplyModal = (assignedPlanPath, form) => (dispatch) => {\n dispatch(createAssignedPlanPending());\n\n axios\n .post(assignedPlanPath, {\n assigned_plan: form,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(createAssignedPlanSuccess(res.data));\n })\n .catch((err) => {\n dispatch(createAssignedPlanFailure(err.response.data.errors));\n });\n};\n\nexport const getAssignedPlans = (assignedPlansPath, assignableId, assignableType) => (dispatch) => {\n dispatch(fetchAssignedPlansPending());\n\n axios\n .get(assignedPlansPath, {\n responseType: \"json\",\n contentType: \"application/json\",\n params: { assignable_type: assignableType, assignable_id: assignableId },\n })\n .then((results) => {\n dispatch(fetchAssignedPlansSuccess(results.data));\n })\n .catch(() => {\n dispatch(fetchAssignedPlansFailure());\n });\n};\n\nexport const updateAssignedPlan = (assignedPlanPath, form, callback) => {\n const formWithToken = { ...form, authenticity_token: ReactOnRails.authenticityToken() };\n\n return (dispatch) => {\n axios\n .patch(assignedPlanPath, formWithToken)\n .then((results) => {\n dispatch(updateAssignedPlanSuccess(results.data.assigned_plan));\n if (callback) {\n dispatch(callback);\n }\n })\n .catch((err) => {\n dispatch(updateAssignedPlanFailure(err.response.data.errors));\n });\n };\n};\n\nexport const updateAssignedAction = (assignedActionPath, form = {}) => {\n const formWithToken = { ...form, authenticity_token: ReactOnRails.authenticityToken() };\n\n return (dispatch) => {\n dispatch(updateAssignedActionPending());\n\n axios\n .patch(assignedActionPath, formWithToken)\n .then((results) => {\n dispatch(updateAssignedActionSuccess(results.data));\n })\n .catch(() => {\n dispatch(updateAssignedActionFailure());\n });\n };\n};\n\nexport const deleteAssignedAction = (id, assignedActionPath, callback) => (dispatch) => {\n axios\n .delete(assignedActionPath, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then(() => {\n dispatch({\n type: \"DELETE_ASSIGNED_ACTION_SUCCESS\",\n assignedActionId: id,\n });\n if (callback) {\n dispatch(callback);\n }\n })\n .catch((err) => {\n dispatch({\n type: \"DELETE_ASSIGNED_ACTION_FAILURE\",\n error: err.response.data.message,\n });\n });\n};\n\nexport const updateValues = (name, value) => ({\n type: \"UPDATE_VALUES\",\n name,\n value,\n});\n\nexport const getAssignedPlan = (assignedPlanPath) => (dispatch) => {\n dispatch(fetchAssignedPlanPending());\n\n axios\n .get(assignedPlanPath)\n .then((res) => dispatch(fetchAssignedPlanSuccess(res.data.assigned_plan)))\n .catch((err) => {\n dispatch({\n type: \"FETCH_ASSIGNED_PLAN_FAILURE\",\n errors: err.response.data.message,\n isFetching: false,\n });\n });\n};\n","import React from \"react\";\nimport { bool, func, arrayOf, shape } from \"prop-types\";\n\nimport { FloatingForm } from \"../v2/Modal\";\nimport Button from \"../v2/Button\";\nimport Dropdown from \"../v2/Dropdown\";\n\nconst AddAutoPlanModal = ({\n show,\n errors,\n onCancel,\n onApply,\n isApplying,\n isLoading,\n onPreview,\n disableInteractionButtons,\n availablePlansLoading,\n availablePlansAsOptions,\n selectedAutoPlan,\n onSelectAutoPlan,\n}) => (\n <FloatingForm\n title=\"Apply an Auto Plan\"\n scroll=\"overflow-none\"\n show={show}\n errors={errors}\n onCancel={onCancel}\n footer={\n <>\n <Button size=\"medium\" schema=\"tertiary\" disabled={isApplying} onClick={onCancel}>\n Cancel\n </Button>\n\n <div className=\"tw-flex tw-flex-row tw-space-x-12px\">\n <Button\n size=\"medium\"\n schema=\"secondary\"\n onClick={onPreview}\n isLoading={isLoading}\n disabled={disableInteractionButtons}\n >\n Preview\n </Button>\n\n <Button\n size=\"medium\"\n schema=\"primary\"\n disabled={disableInteractionButtons}\n isLoading={isApplying}\n onClick={onApply}\n >\n Apply\n </Button>\n </div>\n </>\n }\n closeOnClickOutside\n closeOnEscape\n >\n <Dropdown.Searchable\n label=\"Auto Plan\"\n disabled={availablePlansLoading}\n placeholder={availablePlansLoading ? \"Loading...\" : \"Select an auto plan\"}\n options={availablePlansAsOptions}\n value={selectedAutoPlan}\n onChange={onSelectAutoPlan}\n />\n </FloatingForm>\n);\n\nexport default AddAutoPlanModal;\n\nAddAutoPlanModal.propTypes = {\n show: bool,\n errors: arrayOf(func),\n onCancel: func,\n onApply: func,\n isApplying: bool,\n isLoading: bool,\n onPreview: func,\n disableInteractionButtons: bool,\n availablePlansLoading: bool,\n availablePlansAsOptions: arrayOf(shape({})),\n selectedAutoPlan: shape({}),\n onSelectAutoPlan: func,\n};\n\nAddAutoPlanModal.defaultProps = {\n show: false,\n errors: [],\n onCancel: () => {},\n onApply: () => {},\n isApplying: false,\n isLoading: false,\n onPreview: () => {},\n disableInteractionButtons: false,\n availablePlansLoading: false,\n availablePlansAsOptions: [],\n selectedAutoPlan: null,\n onSelectAutoPlan: () => {},\n};\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { bindActionCreators } from \"redux\";\nimport * as actions from \"../actions/assignedPlansCreators\";\nimport { getAutoPlans } from \"../../AutoPlans/actions/autoPlansActionCreators\";\nimport AddAutoPlanModal from \"../../shared/AddAutoPlanModal/AddAutoPlanModal\";\nimport { autoPlanOptions } from \"./helpers\";\n\nconst AssignedPlanForm = ({\n autoPlansPath,\n assignableId,\n assignableType,\n assignedPlansCreators,\n assignedPlansPath,\n autoPlans,\n errorMessage,\n form,\n isModalSubmitting,\n onCloseAction,\n onSubmitAction,\n planType,\n showPreviewPlanModal,\n show,\n}) => {\n const { auto_plan_id: autoPlanId } = form;\n const canOpenPreview = !isModalSubmitting && form.auto_plan_id;\n const planOptions = autoPlanOptions(autoPlans);\n\n useEffect(() => {\n assignedPlansCreators.getAutoPlans(autoPlansPath, planType);\n }, [autoPlansPath, planType]);\n\n return (\n <AddAutoPlanModal\n show={show}\n errors={errorMessage}\n onCancel={onCloseAction}\n onApply={() =>\n onSubmitAction(assignedPlansPath, {\n ...form,\n assignable_id: assignableId,\n assignable_type: assignableType,\n })\n }\n isApplying={isModalSubmitting}\n onPreview={() => showPreviewPlanModal(autoPlanId, assignableId, assignableType)}\n disableInteractionButtons={!canOpenPreview}\n availablePlansAsOptions={planOptions}\n selectedAutoPlan={planOptions.find((p) => p.value === autoPlanId)}\n onSelectAutoPlan={(opt) => assignedPlansCreators.updateValues(\"auto_plan_id\", opt.value)}\n />\n );\n};\n\nAssignedPlanForm.propTypes = {\n assignableId: PropTypes.string.isRequired,\n assignableType: PropTypes.string.isRequired,\n assignedPlansCreators: PropTypes.shape().isRequired,\n assignedPlansPath: PropTypes.string.isRequired,\n autoPlans: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n autoPlansPath: PropTypes.string.isRequired,\n errorMessage: PropTypes.string.isRequired,\n form: PropTypes.shape().isRequired,\n // hasError: PropTypes.bool.isRequired,\n isModalSubmitting: PropTypes.bool.isRequired,\n onCloseAction: PropTypes.func.isRequired,\n onSubmitAction: PropTypes.func.isRequired,\n planType: PropTypes.string.isRequired,\n showPreviewPlanModal: PropTypes.func.isRequired,\n show: PropTypes.bool,\n};\n\nAssignedPlanForm.defaultProps = {\n show: false,\n};\n\nconst mapStateToProps = ({\n assignedPlans: {\n assignedPlanForm,\n assignableId,\n assignableType,\n isModalSubmitting,\n errorMessage,\n hasError,\n },\n autoPlans: { autoPlans },\n}) => ({\n form: assignedPlanForm || {},\n assignableId,\n assignableType,\n autoPlans,\n isModalSubmitting,\n errorMessage,\n hasError,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n assignedPlansCreators: bindActionCreators({ ...actions, getAutoPlans }, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AssignedPlanForm);\n","import React from \"react\";\nimport DeleteActionModal from \"./DeleteActionModal\";\nimport DeletePlanModal from \"./DeletePlanModal\";\nimport PlanModal from \"./PlanModal\";\nimport PlanModalPreview from \"./PlanModalPreview\";\nimport AssignedPlanForm from \"./AssignedPlanForm\";\n\nconst renderDeleteActionModal = ({\n actionToDelete,\n assignedPlan,\n assignedPlansPath,\n closeModal,\n deleteAssignedAction,\n errorMessage,\n getAssignedPlan,\n hasError,\n isDeleteAssignedActionModalOpen,\n isDeletingAction,\n showPlanModal,\n}) => {\n const assignedPlanPath = `${assignedPlansPath}/${assignedPlan.id}`;\n const showPlanCallback = () => showPlanModal(assignedPlan);\n const getPlanCallback = () => getAssignedPlan(assignedPlanPath);\n const afterDeleteCallback = () => {\n getPlanCallback();\n showPlanCallback();\n };\n\n return (\n <DeleteActionModal\n isDeleteAssignedActionModalOpen={isDeleteAssignedActionModalOpen}\n isDeletingAction={isDeletingAction}\n closeModal={() => closeModal(showPlanCallback)}\n action={actionToDelete}\n assignedPlanName={assignedPlan.name}\n onActionDelete={(id, plan) => deleteAssignedAction(id, plan, afterDeleteCallback)}\n errorMessage={errorMessage}\n hasError={hasError}\n />\n );\n};\n\nconst renderDeletePlanModal = ({\n assignedPlanPath,\n closeModal,\n errorMessage,\n hasError,\n isDeletePlanModalOpen,\n isDeletingPlan,\n planToDelete,\n updateAssignedPlan,\n}) => {\n const deletePlan = () => {\n const form = { state: \"deleted\" };\n updateAssignedPlan(`/assigned_plans/${planToDelete.id}`, form);\n };\n\n return (\n <DeletePlanModal\n isDeletePlanModalOpen={isDeletePlanModalOpen}\n isDeletingPlan={isDeletingPlan}\n closeModal={() => closeModal()}\n planToDelete={planToDelete}\n assignedPlanPath={assignedPlanPath}\n onPlanDelete={deletePlan}\n errorMessage={errorMessage}\n hasError={hasError}\n />\n );\n};\n\nconst renderPlanModal = ({\n activeAssignedActionId,\n assignableId,\n assignableType,\n assignedPlan,\n assignedPlansPath,\n closeModal,\n deleteAssignedAction,\n getAssignedPlan,\n getAssignedPlans,\n isAssignedActionUpdating,\n isDeleteAssignedActionModalOpen,\n isPlanModalOpen,\n previewAssignedAction,\n showDeleteAssignedActionModal,\n showDeleteAssignedPlanModal,\n updateAssignedAction,\n updateAssignedPlan,\n}) => {\n const assignedPlanPath = `${assignedPlansPath}/${assignedPlan.id}`;\n const closeModalCallback = () => getAssignedPlans(assignedPlansPath, assignableId, assignableType);\n\n return (\n <PlanModal\n assignedPlanPath={assignedPlanPath}\n closeModal={() => closeModal(closeModalCallback)}\n isPlanModalOpen={isPlanModalOpen}\n isAssignedActionUpdating={isAssignedActionUpdating}\n assignedPlan={assignedPlan}\n getAssignedPlan={getAssignedPlan}\n previewAssignedAction={previewAssignedAction}\n updateAssignedAction={updateAssignedAction}\n deleteAssignedAction={deleteAssignedAction}\n activeAssignedActionId={activeAssignedActionId}\n showDeleteAssignedActionModal={showDeleteAssignedActionModal}\n updateAssignedPlan={updateAssignedPlan}\n showDeleteAssignedPlanModal={showDeleteAssignedPlanModal}\n isDeleteAssignedActionModalOpen={isDeleteAssignedActionModalOpen}\n />\n );\n};\n\nconst renderPlanPreviewModal = ({\n closeModal,\n isPlanPreviewModalOpen,\n autoPlanPreview,\n previewAutoPlanAction,\n activeAutoPlanActionId,\n}) => (\n <PlanModalPreview\n autoPlanPreview={autoPlanPreview}\n closeModal={() => closeModal()}\n isPlanPreviewModalOpen={isPlanPreviewModalOpen}\n previewAutoPlanAction={previewAutoPlanAction}\n activeAutoPlanActionId={activeAutoPlanActionId}\n />\n);\n\nconst renderApplyModal = ({\n assignedPlansPath,\n autoPlansPath,\n closeModal,\n isApplyModalOpen,\n planType,\n showPreviewPlanModal,\n submitApplyModal,\n}) => (\n <AssignedPlanForm\n show={isApplyModalOpen} \n onHide={() => closeModal()}\n assignedPlansPath={assignedPlansPath}\n onCloseAction={closeModal}\n onSubmitAction={submitApplyModal}\n showPreviewPlanModal={showPreviewPlanModal}\n planType={planType}\n autoPlansPath={autoPlansPath}\n />\n);\n\nexport {\n renderApplyModal,\n renderDeleteActionModal,\n renderPlanModal,\n renderDeletePlanModal,\n renderPlanPreviewModal,\n};\n","/* eslint-disable class-methods-use-this */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport \"./AssignedPlans.scss\";\nimport AssignedPlanRow from \"./AssignedPlanRow\";\nimport { filterAssignedPlans } from \"./helpers\";\nimport {\n renderApplyModal,\n renderDeleteActionModal,\n renderPlanModal,\n renderDeletePlanModal,\n renderPlanPreviewModal,\n} from \"./ModalHelpers\";\n\nconst emptyPlanTypeMessage = {\n transactions: \"No plans have been applied to the transaction\",\n people: \"No plans have been applied to the contact\",\n};\n\nclass AssignedPlansTable extends React.Component {\n componentDidMount() {\n const { getAssignedPlans, assignedPlansPath, assignableId, assignableType, platformAccount } = this.props;\n getAssignedPlans(assignedPlansPath, assignableId, assignableType);\n\n if (!platformAccount) Brivity.AccountsAppstore.start();\n }\n\n isModalOpen() {\n const {\n isApplyModalOpen,\n isPlanModalOpen,\n isDeleteAssignedActionModalOpen,\n isDeletePlanModalOpen,\n isPlanPreviewModalOpen,\n } = this.props;\n return (\n isApplyModalOpen ||\n isPlanModalOpen ||\n isDeleteAssignedActionModalOpen ||\n isDeletePlanModalOpen ||\n isPlanPreviewModalOpen\n );\n }\n\n renderModal() {\n const {\n isApplyModalOpen,\n isPlanModalOpen,\n isDeleteAssignedActionModalOpen,\n isDeletePlanModalOpen,\n isPlanPreviewModalOpen,\n } = this.props;\n\n if (isApplyModalOpen) {\n return renderApplyModal(this.props);\n }\n if (isPlanModalOpen) {\n return renderPlanModal(this.props);\n }\n if (isDeleteAssignedActionModalOpen) {\n return renderDeleteActionModal(this.props);\n }\n if (isDeletePlanModalOpen) {\n return renderDeletePlanModal(this.props);\n }\n if (isPlanPreviewModalOpen) {\n return renderPlanPreviewModal(this.props);\n }\n return null;\n }\n\n renderEmptyState = (message) => <div className=\"trigger-table-empty-row\">{message}</div>;\n\n renderLoadingState = () => <div className=\"table-empty-row\">Loading Auto Plans..</div>;\n\n renderTableMessage(hasFilteredPlans) {\n const { platformAccount, assignedPlans, isFetchingAssignedPlans, planType } = this.props;\n const hasPlans = assignedPlans && assignedPlans.length > 0;\n\n if (!platformAccount) {\n return this.renderEmptyState(\n \"Auto Plans is an exclusive Brivity Platform feature - call (866) 295-3322 and sign up today, or learn about the Brivity Platform in a 15 minute demo webinar.\",\n );\n }\n if (!hasPlans && !isFetchingAssignedPlans) {\n return this.renderEmptyState(emptyPlanTypeMessage[planType]);\n }\n if (!hasPlans && isFetchingAssignedPlans) {\n return this.renderLoadingState();\n }\n if (hasPlans && !isFetchingAssignedPlans && !hasFilteredPlans) {\n return this.renderEmptyState(\"No plans match the filtered criteria\");\n }\n return \"\";\n }\n\n render() {\n const {\n assignedPlans,\n showApplyModal,\n updateAssignedPlan,\n showPlanModal,\n toggleDeletedPlans,\n showDeletedPlans,\n toggleCompletedPlans,\n showDeleteAssignedPlanModal,\n showCompletedPlans,\n platformAccount,\n } = this.props;\n\n const filteredAssignedPlans = filterAssignedPlans(assignedPlans, showCompletedPlans, showDeletedPlans);\n const hasFilteredPlans = filteredAssignedPlans && filteredAssignedPlans.length > 0;\n\n return (\n <div className=\"assigned-plans white-panel\">\n <div className=\"header-row\">\n <div className=\"row\">\n <div className=\"col-xs-2 ellipsify\">\n <div className=\"header-row-title\">\n <span className=\"text-danger bold\">NEW </span> Auto Plans\n </div>\n </div>\n <div className=\"col-xs-2 ellipsify\">\n <div className=\"column-header\">Status</div>\n </div>\n <div className=\"col-xs-2 ellipsify\">\n <div className=\"column-header\">Progress</div>\n </div>\n <div className=\"col-xs-2 ellipsify\">\n <div className=\"column-header\">Next Due Action</div>\n </div>\n <div className=\"col-xs-4 text-right ellipsify\">\n <div className=\"d-inline-flex p-r-10\">\n {assignedPlans && assignedPlans.length > 0 && (\n <div className=\"checkbox-inline\">\n <Checkbox onChange={toggleDeletedPlans} checked={showDeletedPlans}>\n Show Deleted\n </Checkbox>\n </div>\n )}\n {assignedPlans && assignedPlans.length > 0 && (\n <div className=\"checkbox-inline\">\n <Checkbox onChange={toggleCompletedPlans} checked={showCompletedPlans}>\n Show Completed\n </Checkbox>\n </div>\n )}\n </div>\n {!platformAccount && (\n <span\n className=\"action-link pseudo-link\"\n value=\"LIVE DEMO\"\n data-toggle=\"modal\"\n data-target=\"#request-demo-modal\"\n >\n Get a Demo\n </span>\n )}\n {platformAccount && (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions\n <span className=\"add-auto-plan-link action-link pseudo-link\" onClick={showApplyModal}>\n {\" \"}\n Add Auto Plan\n </span>\n )}\n </div>\n </div>\n </div>\n <div className=\"white-panel-body\">\n {this.renderTableMessage(hasFilteredPlans)}\n\n {filteredAssignedPlans?.map((plan) => (\n <AssignedPlanRow\n key={plan.id}\n assignedPlan={plan}\n onUpdate={updateAssignedPlan}\n onShowDeleteModal={showDeleteAssignedPlanModal}\n onShowPlanModal={showPlanModal}\n />\n ))}\n </div>\n {this.isModalOpen() && this.renderModal()}\n </div>\n );\n }\n}\n\nexport default AssignedPlansTable;\n\nAssignedPlansTable.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlans: PropTypes.arrayOf(PropTypes.any).isRequired,\n showApplyModal: PropTypes.func.isRequired,\n updateAssignedPlan: PropTypes.func.isRequired,\n showPlanModal: PropTypes.func.isRequired,\n toggleDeletedPlans: PropTypes.func.isRequired,\n showDeletedPlans: PropTypes.bool.isRequired,\n toggleCompletedPlans: PropTypes.func.isRequired,\n showCompletedPlans: PropTypes.bool.isRequired,\n showDeleteAssignedPlanModal: PropTypes.func.isRequired,\n isFetchingAssignedPlans: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n platformAccount: PropTypes.objectOf(PropTypes.any).isRequired,\n planType: PropTypes.string.isRequired,\n isApplyModalOpen: PropTypes.bool.isRequired,\n isPlanModalOpen: PropTypes.bool.isRequired,\n isDeleteAssignedActionModalOpen: PropTypes.bool.isRequired,\n isDeletePlanModalOpen: PropTypes.bool.isRequired,\n isPlanPreviewModalOpen: PropTypes.bool.isRequired,\n getAssignedPlans: PropTypes.func.isRequired,\n assignedPlansPath: PropTypes.string.isRequired,\n assignableId: PropTypes.string.isRequired,\n assignableType: PropTypes.string.isRequired,\n};\n","import { connect } from 'react-redux';\nimport AssignedPlansTable from '../components/AssignedPlansTable';\nimport * as actions from '../actions/assignedPlansCreators';\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({...state.assignedPlans });\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, actions)(AssignedPlansTable);\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../store/configureStore\";\nimport AssignedPlansContainer from \"../containers/AssignedPlansContainer\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nconst AssignedPlansApp = (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n <Provider store={store}>\n <AssignedPlansContainer />\n </Provider>\n );\n};\n\nexport default AssignedPlansApp;\n","/* eslint-disable class-methods-use-this */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { filterAssignedPlans } from \"./helpers\";\n\nclass AssignedPlansCard extends React.Component {\n componentDidMount() {\n const { getAssignedPlans } = this.props;\n getAssignedPlans();\n }\n\n safeCount = (list) => (list ? list.length : 0);\n\n whenStateChangedLabel = (plan = {}) => {\n const { state } = plan;\n\n if (state === \"completed\" || state === \"deleted\") {\n const time = plan[`${state}_at`];\n const timeLabel = moment(time).format(\"MM/DD/YYYY\");\n return time ? `on ${timeLabel}` : \"\";\n }\n return \"\";\n };\n\n canDeletePlan = (state) => state !== \"deleted\" && state !== \"completed\";\n\n updatePlanState(id, state) {\n const { onUpdate } = this.props;\n const form = { state };\n onUpdate(`/assigned_plans/${id}`, form);\n }\n\n emptyPlansLabel() {\n const filteredLength = filterAssignedPlans().length;\n const { assignedPlans } = this.props;\n const totalLength = assignedPlans.length;\n\n return filteredLength === 0 && totalLength > 0\n ? \"No plans match the filtered criteria\"\n : \"No plans have been applied to the contact\";\n }\n\n render() {\n const {\n assignedPlans,\n onShowApplyModal,\n onShowPlanModal,\n showCompletedPlans,\n showDeletedPlans,\n toggleCompletedPlans,\n toggleDeletedPlans,\n onShowDeletePlanModal,\n } = this.props;\n const filtertedAssignedPlans = filterAssignedPlans(assignedPlans, showCompletedPlans, showDeletedPlans);\n\n return (\n <div className=\"row\">\n <div className=\"col-xs-12\">\n <div className=\"assigned-plans-card\">\n <div className=\"assigned-plans-card-filter-row\">\n <div className=\"description\">{`Assigned Plans (${this.safeCount(\n filtertedAssignedPlans,\n )})`}</div>\n <div className=\"actions\">\n {assignedPlans?.length > 0 && (\n <div className=\"action-item\">\n <Checkbox\n onChange={toggleDeletedPlans}\n checked={showDeletedPlans}\n label=\"Show Deleted Plans\"\n />\n </div>\n )}\n {assignedPlans?.length > 0 && (\n <div className=\"action-item\">\n <Checkbox\n onChange={toggleCompletedPlans}\n checked={showCompletedPlans}\n label=\"Show Completed Plans\"\n />\n </div>\n )}\n <TextButton onClick={onShowApplyModal}>Add New Plan</TextButton>\n </div>\n </div>\n\n {assignedPlans &&\n filtertedAssignedPlans.map((plan) => (\n <div key={plan.id} className={`assigned-plan-row d-flex ${plan.state}`}>\n <div className=\"content\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <div className=\"title bold pseudo-link\" onClick={() => onShowPlanModal(plan)}>\n {plan.name}\n </div>\n <div className=\"sub-title\">\n <div className={`inline-item state ${plan.state}`} />\n <div className=\"inline-item understated\">{this.whenStateChangedLabel(plan)}</div>\n <div className=\"inline-item\">Auto Plan</div>\n <div className=\"inline-item understated\">\n {plan.total_completed_actions} of {plan.assigned_actions_count} completed\n </div>\n <div className=\"inline-item\">Next: {plan.next_action_description}</div>\n </div>\n </div>\n <div className=\"assigned-plan-actions\">\n {plan.state === \"paused\" && (\n <div className=\"inline-item\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i\n className=\"fa fa-play assigned-plan-action\"\n onClick={this.updatePlanState.bind(this, plan.id, \"started\")}\n />\n </div>\n )}\n {plan.state === \"started\" && (\n <div className=\"inline-item\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i\n className=\"fa fa-pause assigned-plan-action\"\n onClick={this.updatePlanState.bind(this, plan.id, \"paused\")}\n />\n </div>\n )}\n {this.canDeletePlan(plan.state) && (\n <div className=\"inline-item\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i\n className=\"fa fa-trash assigned-plan-action\"\n onClick={() => onShowDeletePlanModal(plan)}\n />\n </div>\n )}\n </div>\n </div>\n ))}\n {assignedPlans && filtertedAssignedPlans.length === 0 && (\n <div className=\"assigned-plan-row d-flex\">\n <div className=\"content\">\n <span className=\"understated\">{this.emptyPlansLabel(filtertedAssignedPlans.length)}</span>\n </div>\n </div>\n )}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport default AssignedPlansCard;\n\nAssignedPlansCard.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlans: PropTypes.arrayOf(PropTypes.any).isRequired,\n getAssignedPlans: PropTypes.func.isRequired,\n onShowApplyModal: PropTypes.func.isRequired,\n onShowDeletePlanModal: PropTypes.func.isRequired,\n onShowPlanModal: PropTypes.func.isRequired,\n onUpdate: PropTypes.func.isRequired,\n showCompletedPlans: PropTypes.bool.isRequired,\n showDeletedPlans: PropTypes.bool.isRequired,\n toggleCompletedPlans: PropTypes.func.isRequired,\n toggleDeletedPlans: PropTypes.func.isRequired,\n};\n","/* eslint-disable class-methods-use-this */\n/* global soe */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport \"./AssignedPlans.scss\";\nimport AssignedPlansCard from \"./AssignedPlansCard\";\nimport \"./AssignedPlansCard.scss\";\nimport {\n renderApplyModal,\n renderDeleteActionModal,\n renderPlanModal,\n renderDeletePlanModal,\n renderPlanPreviewModal,\n} from \"./ModalHelpers\";\n\nclass AssignedPlansPreview extends React.Component {\n componentDidMount() {\n const { platformAccount } = this.props;\n if (!platformAccount) Brivity.AccountsAppstore.start();\n }\n\n stateDescription = (state) => {\n if (state === \"running\") {\n return \"Applied auto plan(s) running\";\n }\n if (state === \"empty\") {\n return \"No auto plan applied\";\n }\n if (state === \"completed\") {\n return \"Applied auto plan(s) completed\";\n }\n if (state === \"paused\") {\n return \"Applied auto plan(s) paused\";\n }\n if (state === \"deleted\") {\n return \"Applied auto plan(s) deleted\";\n }\n return \"\";\n };\n\n handleOpenPlans = () => {\n const { platformAccount, showPlansModal } = this.props;\n if (platformAccount) showPlansModal();\n if (!platformAccount) soe.toggleLightBox(\"brivitysales\");\n };\n\n stateTooltip(state) {\n const { platformAccount } = this.props;\n if (!platformAccount) {\n return <div>Brivity Platform feature - Get a Demo</div>;\n }\n\n return (\n <div className=\"tw-flex tw-gap-[8px]\">\n <i className={`fa fa-bolt ${state}`} />\n {this.stateDescription(state)}\n </div>\n );\n }\n\n stateOfAssignedPlans() {\n // TODO: disabled eqeqeq for numbers, need further investigation to make sure we are always comparing numbers and not strings\n const { assignedPlansState } = this.props;\n // eslint-disable-next-line eqeqeq\n if (assignedPlansState == 0 || assignedPlansState === \"assigned_plans_none\") {\n return \"empty\";\n }\n // eslint-disable-next-line eqeqeq\n if (assignedPlansState == 1 || assignedPlansState === \"assigned_plans_running\") {\n return \"running\";\n }\n // eslint-disable-next-line eqeqeq\n if (assignedPlansState == 2 || assignedPlansState === \"assigned_plans_paused\") {\n return \"paused\";\n }\n // eslint-disable-next-line eqeqeq\n if (assignedPlansState == 3 || assignedPlansState === \"assigned_plans_completed\") {\n return \"completed\";\n }\n // eslint-disable-next-line eqeqeq\n if (assignedPlansState == 4 || assignedPlansState === \"assigned_plans_deleted\") {\n return \"deleted\";\n }\n return \"empty\";\n }\n\n renderPlansModal() {\n const {\n isPlansModalOpen,\n assignedPlans,\n closeModal,\n assignableName,\n updateAssignedPlan,\n showApplyModal,\n showPlanModal,\n toggleCompletedPlans,\n toggleDeletedPlans,\n showCompletedPlans,\n showDeletedPlans,\n showDeleteAssignedPlanModal,\n getAssignedPlans: _getAssignedPlans,\n assignedPlansPath,\n assignableId,\n assignableType,\n } = this.props;\n\n const getAssignedPlans = () => {\n _getAssignedPlans(assignedPlansPath, assignableId, assignableType);\n };\n\n return (\n <Modal\n show={isPlansModalOpen}\n onHide={() => closeModal()}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-max-h-full\"\n contentClassName=\"tw-w-[620px] tw-space-y-32px tw-m-auto\"\n >\n <Modal.Header size=\"small\" title={`Auto Plans for ${assignableName}`} closeButton />\n <Modal.Body className=\"tw-max-h-[60vh] tw-flex tw-border-solid tw-border-0 tw-border-t tw-border-b tw-border-neutral-gray-10\">\n <AssignedPlansCard\n toggleDeletedPlans={toggleDeletedPlans}\n toggleCompletedPlans={toggleCompletedPlans}\n showDeletedPlans={showDeletedPlans}\n showCompletedPlans={showCompletedPlans}\n onShowApplyModal={showApplyModal}\n onShowPlanModal={showPlanModal}\n onShowDeletePlanModal={showDeleteAssignedPlanModal}\n assignedPlans={assignedPlans}\n getAssignedPlans={getAssignedPlans}\n onCloseAction={closeModal}\n onUpdate={updateAssignedPlan}\n />\n </Modal.Body>\n </Modal>\n );\n }\n\n renderModal() {\n const {\n isApplyModalOpen,\n isPlansModalOpen,\n isPlanModalOpen,\n isDeleteAssignedActionModalOpen,\n isDeletePlanModalOpen,\n isPlanPreviewModalOpen,\n } = this.props;\n\n if (isPlansModalOpen) {\n return this.renderPlansModal();\n }\n if (isApplyModalOpen) {\n return renderApplyModal(this.props);\n }\n if (isPlanModalOpen) {\n return renderPlanModal(this.props);\n }\n if (isDeleteAssignedActionModalOpen) {\n return renderDeleteActionModal(this.props);\n }\n if (isDeletePlanModalOpen) {\n return renderDeletePlanModal(this.props);\n }\n if (isPlanPreviewModalOpen) {\n const { showApplyModal } = this.props;\n return renderPlanPreviewModal({ ...this.props, closeModal: () => showApplyModal() });\n }\n return null;\n }\n\n render() {\n const state = this.stateOfAssignedPlans();\n\n return (\n <div>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <div\n className=\"assigned-plans-column flex-row d-flex space-evenly flex-justify-center pseudo-link\"\n onClick={this.handleOpenPlans}\n >\n <Tooltip\n id=\"assigned-plans-tooltip\"\n placement=\"right\"\n trigger={<i className={`fa fa-bolt ${state}`} />}\n content={this.stateTooltip(state)}\n />\n </div>\n {this.renderModal()}\n </div>\n );\n }\n}\n\nexport default AssignedPlansPreview;\n\nAssignedPlansPreview.propTypes = {\n assignableId: PropTypes.string.isRequired,\n assignableName: PropTypes.string.isRequired,\n assignableType: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlans: PropTypes.arrayOf(PropTypes.any).isRequired,\n assignedPlansPath: PropTypes.string.isRequired,\n assignedPlansState: PropTypes.string.isRequired,\n closeModal: PropTypes.func.isRequired,\n getAssignedPlans: PropTypes.func.isRequired,\n isApplyModalOpen: PropTypes.bool.isRequired,\n isDeleteAssignedActionModalOpen: PropTypes.bool.isRequired,\n isDeletePlanModalOpen: PropTypes.bool.isRequired,\n isPlanModalOpen: PropTypes.bool.isRequired,\n isPlanPreviewModalOpen: PropTypes.bool.isRequired,\n isPlansModalOpen: PropTypes.bool.isRequired,\n platformAccount: PropTypes.bool.isRequired,\n showApplyModal: PropTypes.func.isRequired,\n showCompletedPlans: PropTypes.bool.isRequired,\n showDeleteAssignedPlanModal: PropTypes.func.isRequired,\n showDeletedPlans: PropTypes.bool.isRequired,\n showPlanModal: PropTypes.func.isRequired,\n showPlansModal: PropTypes.func.isRequired,\n toggleCompletedPlans: PropTypes.func.isRequired,\n toggleDeletedPlans: PropTypes.func.isRequired,\n updateAssignedPlan: PropTypes.func.isRequired,\n};\n","import { connect } from 'react-redux';\nimport AssignedPlansPreview from '../components/AssignedPlansPreview';\nimport * as actions from '../actions/assignedPlansCreators';\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({...state.assignedPlans });\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, actions)(AssignedPlansPreview);\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../store/configureStore\";\nimport AssignedPlansPreviewContainer from \"../containers/AssignedPlansPreviewContainer\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nconst AssignedPlansPreviewApp = (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n <Provider store={store}>\n <AssignedPlansPreviewContainer />\n </Provider>\n );\n};\n\nexport default AssignedPlansPreviewApp;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Col, Input, Button } from \"../../shared/v1\";\nimport \"./AutoPlan.scss\";\n\nclass AutoPlanNameForm extends React.Component {\n handleSaveName = (name, value) => {\n const { handleNameChange } = this.props;\n handleNameChange(name, value);\n };\n\n render() {\n const { isEditingName, name, toggleEdit, updateName } = this.props;\n return (\n <div className='tw-mt-[26px]'>\n {isEditingName ? (\n <div className=\"\">\n <Col size={12}>\n <label>Plan Name</label>\n </Col>\n <Col size={12}>\n <div className=\"d-flex flex-items-center editable-inline\">\n <Input\n type=\"text\"\n className=\"action-name-input\"\n name=\"name\"\n onChange={(e) => this.handleSaveName(e.target.name, e.target.value)}\n defaultValue={name}\n />\n <Button variant=\"info\" className=\"tw-ml-10px\" onClick={updateName}>\n Save\n </Button>\n <Button variant=\"info\" invert className=\"tw-ml-10px\" onClick={toggleEdit}>\n Cancel\n </Button>\n </div>\n </Col>\n </div>\n ) : (\n <Col size={12}>\n <div className=\"tw-font-bold tw-text-18d\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <span className=\"tw-mr-10px\">{name}</span> <i className=\"fa fa-pencil edit-icon tw-text-[#C2C2C2] tw-cursor-pointer\" onClick={toggleEdit} />\n </div>\n </Col>\n )}\n </div>\n );\n }\n}\n\nexport default AutoPlanNameForm;\n\nAutoPlanNameForm.propTypes = {\n isEditingName: PropTypes.bool.isRequired,\n name: PropTypes.string.isRequired,\n toggleEdit: PropTypes.func.isRequired,\n updateName: PropTypes.func.isRequired,\n handleNameChange: PropTypes.func.isRequired,\n};\n","import React, { useEffect, useState } from \"react\";\n\n\nexport const SUBJECT_LINE_LIMIT_ERROR = \"Subject must be 200 characters or less. Please revise.\";\n\nexport const isWithinSubjectLineLimit = (str = '') => str.length <= 200;\n\nexport default () => {\n const [errorMsg, setErrorMsg] = useState(null);\n const [errorTrigger, setErrorTrigger] = useState(false);\n\n useEffect(() => {\n setErrorMsg(errorTrigger ? SUBJECT_LINE_LIMIT_ERROR : null)\n }, [errorTrigger]);\n\n return {\n errorMsg,\n setErrorTrigger,\n }\n}","/* eslint-disable import/prefer-default-export */\nimport axios from \"axios\";\n\nconst fetchAutoPlan = () => ({\n type: \"FETCH_AUTO_PLAN\",\n});\n\nconst fetchAutoPlanSuccess = (data) => ({\n type: \"FETCH_AUTO_PLAN_SUCCESS\",\n autoPlan: data.auto_plan,\n timeline: data.timeline,\n});\n\nexport const toggleEdit = () => ({\n type: \"IS_EDITING_NAME\",\n});\n\nexport const toggleTaskInstructions = () => ({\n type: \"SHOW_INSTRUCTIONS\",\n});\n\nexport const toggleTaskNote = () => ({\n type: \"SHOW_TASK_NOTE\",\n});\n\nexport const handleAutoPlanChange = (name, value) => ({\n type: \"UPDATE_AUTO_PLAN_VALUE\",\n name,\n value,\n});\n\nexport const openDeleteActionModal = (activeActionId) => ({\n type: \"OPEN_DELETE_ACTION_MODAL\",\n activeActionId,\n});\n\nexport const closeDeleteActionModal = () => ({\n type: \"CLOSE_DELETE_ACTION_MODAL\",\n});\nexport const openNewActionModal = (actionForm) => ({\n type: \"OPEN_NEW_ACTION_MODAL\",\n actionForm,\n});\n\nexport const closeNewActionModal = () => ({\n type: \"CLOSE_NEW_ACTION_MODAL\",\n});\n\nexport const openEditActionModal = (action) => ({\n type: \"OPEN_EDIT_ACTION_MODAL\",\n actionForm: action,\n});\n\nexport const closeEditActionModal = () => ({\n type: \"CLOSE_EDIT_ACTION_MODAL\",\n});\n\nexport const updateActionValues = (name, value) => ({\n type: \"UPDATE_ACTION_VALUES\",\n name,\n value,\n});\n\nexport const updateActionManyValues = (formUpdates) => ({\n type: \"UPDATE_ACTION_FORM_MULTIPLE_VALUES\",\n formUpdates,\n});\n\nexport const submitActionPending = () => ({\n type: \"AUTO_PLAN_EDIT_ACTION_PENDING\",\n});\n\nexport const submitActionFailure = (errorMessage) => ({\n type: \"ACTION_FAILURE\",\n errorMessage,\n});\n\nconst createActionSuccess = (action) => ({\n type: \"ACTION_CREATE_SUCCESS\",\n action,\n});\n\nconst updateActionSuccess = (action) => ({\n type: \"ACTION_UPDATE_SUCCESS\",\n action,\n});\n\nexport const beginDeleteAction = () => ({\n type: \"ACTION_DELETE_PENDING\",\n});\n\nconst deleteActionSuccess = (actionId) => ({\n type: \"ACTION_DELETE_SUCCESS\",\n actionId,\n});\n\nconst updateAutoPlanNameSuccess = (autoPlan) => ({\n type: \"AUTO_PLAN_UPDATE_SUCCESS\",\n autoPlan,\n});\n\nconst updateAutoPlanPreferencesSuccess = (autoPlan) => ({\n type: \"AUTO_PLAN_PREFERENCES_UPDATE_SUCCESS\",\n autoPlan,\n});\n\nconst fetchActionSuccess = (activeAction) => ({\n type: \"FETCH_ACTION_SUCCESS\",\n activeAction,\n});\n\nexport const saveAutoPlanPreferences = (autoPlanUpdatePath, form) => (dispatch) => {\n axios\n .patch(autoPlanUpdatePath, { auto_plan: form, authenticity_token: ReactOnRails.authenticityToken() })\n .then((res) => dispatch(updateAutoPlanPreferencesSuccess(res.data.auto_plan)))\n .catch(() => {\n dispatch({\n type: \"AUTO_PLAN_FAILURE\",\n });\n });\n};\n\nexport const saveAutoPlanName = (autoPlanUpdatePath, autoPlan) => (dispatch) => {\n axios\n .patch(autoPlanUpdatePath, {\n auto_plan: autoPlan,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => dispatch(updateAutoPlanNameSuccess(res.data.auto_plan)))\n .catch(() => {\n dispatch({\n type: \"AUTO_PLAN_FAILURE\",\n });\n });\n};\n\nexport const getAutoPlan = (autoPlanPath) => async (dispatch) => {\n dispatch(fetchAutoPlan());\n try {\n const path = `${autoPlanPath}.json`;\n const res = await axios.get(path);\n await dispatch(fetchAutoPlanSuccess(res.data));\n } catch (err) {\n // need to revisit proper error handling, legacy didn't handle errors either\n dispatch({\n type: \"FETCH_AUTO_PLAN_FAILURE\",\n errors: err.message,\n isFetching: false,\n });\n }\n};\n\nexport const saveAction = (actionPath, action, autoPlanPath) => async (dispatch) => {\n dispatch(submitActionPending());\n try {\n const res = await axios.patch(actionPath, {\n auto_plan_action: action,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n if (autoPlanPath) {\n await dispatch(getAutoPlan(autoPlanPath));\n }\n dispatch(updateActionSuccess(res.data));\n } catch (err) {\n dispatch(submitActionFailure(err.response.data.message));\n }\n};\n\nexport const createAction = (actionPath, action, autoPlanPath) => async (dispatch) => {\n dispatch(submitActionPending());\n try {\n const res = await axios.post(actionPath, {\n auto_plan_action: action,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\n if (autoPlanPath) {\n await dispatch(getAutoPlan(autoPlanPath));\n }\n dispatch(createActionSuccess(res.data));\n } catch (err) {\n dispatch(submitActionFailure(err.response.data.errors));\n }\n};\n\nexport const deleteAction = (path, actionId, autoPlanPath) => async (dispatch) => {\n dispatch(beginDeleteAction());\n try {\n await axios.delete(path, { params: { authenticity_token: ReactOnRails.authenticityToken() } });\n if (autoPlanPath) {\n await dispatch(getAutoPlan(autoPlanPath));\n dispatch(deleteActionSuccess(actionId));\n }\n } catch (err) {\n dispatch({ type: \"ACTION_FAILURE\" });\n }\n};\n\nexport const getAction = (actionPath) => (dispatch) => {\n axios\n .get(actionPath)\n .then((res) => dispatch(fetchActionSuccess(res.data)))\n .catch((err) => {\n dispatch({\n type: \"FETCH_ACTION_FAILURE\",\n errors: err.response.data.message,\n isFetching: false,\n });\n });\n};\n\nexport const updateAutoPlanPreferencesForm = (name, value) => ({\n type: \"AUTO_PLAN_PREFERENCES_FORM_UPDATE\",\n name,\n value,\n});\n\nexport const resetAutoPlanPreferencesForm = () => ({\n type: \"AUTO_PLAN_PREFERENCES_FORM_RESET\",\n});\n","import moment from \"moment-timezone\";\nimport { sortByKey } from \"../../shared/Utilities\";\n\nconst timeWithZoneFormat = \"hh:mm a z\";\nconst timeFormat = \"HH:mm\";\n\nconst priorityOptions = [\n { value: 1, label: \"1\" },\n { value: 2, label: \"2\" },\n { value: 3, label: \"3\" },\n { value: 4, label: \"4\" },\n { value: 5, label: \"5\" },\n { value: 6, label: \"6\" },\n { value: 7, label: \"7\" },\n { value: 8, label: \"8\" },\n { value: 9, label: \"9\" },\n];\n\nconst recurringFrequencyOptions = [\n { value: \"never\", label: \"Never\" },\n { value: \"daily\", label: \"Daily\" },\n { value: \"every\", label: \"Every __ Days\" },\n { value: \"weekly\", label: \"Weekly\" },\n { value: \"monthly\", label: \"Monthly\" },\n { value: \"yearly\", label: \"Yearly\" },\n];\n\nconst weeklyOptions = [\n { value: 0, label: \"Sunday\" },\n { value: 1, label: \"Monday\" },\n { value: 2, label: \"Tuesday\" },\n { value: 3, label: \"Wednesday\" },\n { value: 4, label: \"Thursday\" },\n { value: 5, label: \"Friday\" },\n { value: 6, label: \"Saturday\" },\n];\n\nconst monthlyOptions = Array(31)\n .fill()\n .map((_, i) => {\n const day = i + 1;\n\n return { value: day, label: `Day ${day}` };\n });\n\nconst timeUnitOptions = [\n { value: \"seconds\", label: \"Seconds\" },\n { value: \"minutes\", label: \"Minutes\" },\n { value: \"hours\", label: \"Hours\" },\n { value: \"days\", label: \"Days\" },\n];\n\nconst timeUnitOptionsForEvents = [{ value: \"days\", label: \"Days\" }];\n\nconst delayFactorOptions = [\n { value: -1, label: \"Before\" },\n { value: 1, label: \"After\" },\n];\n\nconst recurringFrequencyTypes = [\n { value: \"never\", label: \"Never\" },\n { value: \"number\", label: \"Every _ Days\" },\n { value: \"weekly\", label: \"Weekly\" },\n];\n\nconst peopleAutoPauseStatusOptions = [\n { label: \"Any Status\", value: \"any\" },\n { label: \"New\", value: \"new\" },\n { label: \"Unqualified\", value: \"unqualified\" },\n { label: \"Watch\", value: \"watch\" },\n { label: \"Nurture\", value: \"nurture\" },\n { label: \"Hot\", value: \"hot\" },\n { label: \"Past (Client)\", value: \"past\" },\n { label: \"Inactive\", value: \"inactive\" },\n { label: \"Trash\", value: \"trash\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst transactionAutoPauseStatusOptions = [\n { label: \"Any Status\", value: \"any\" },\n { label: \"Pipeline\", value: \"pipeline\" },\n { label: \"Coming Soon\", value: \"coming soon\" },\n { label: \"Active\", value: \"active\" },\n { label: \"Pending\", value: \"pending\" },\n { label: \"Closed\", value: \"sold\" },\n { label: \"Expired\", value: \"expired\" },\n { label: \"Withdrawn\", value: \"withdrawn\" },\n { label: \"Canceled\", value: \"canceled\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst peopleCompletionStatusOptions = [\n { label: \"Don't Change\", value: \"\" },\n { label: \"New\", value: \"new\" },\n { label: \"Unqualified\", value: \"unqualified\" },\n { label: \"Watch\", value: \"watch\" },\n { label: \"Nurture\", value: \"nurture\" },\n { label: \"Hot\", value: \"hot\" },\n { label: \"Past (Client)\", value: \"past\" },\n { label: \"Inactive\", value: \"inactive\" },\n];\n\nconst transactionCompletionStatusOptions = [\n { label: \"Don't Change\", value: \"\" },\n { label: \"Pipeline\", value: \"pipeline\" },\n { label: \"Coming Soon\", value: \"coming soon\" },\n { label: \"Active\", value: \"active\" },\n { label: \"Pending\", value: \"pending\" },\n { label: \"Closed\", value: \"sold\" },\n { label: \"Expired\", value: \"expired\" },\n { label: \"Withdrawn\", value: \"withdrawn\" },\n { label: \"Canceled\", value: \"canceled\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst canBeContingent = (scheduleType, triggerOptions = []) => {\n if (scheduleType === \"event\") {\n return false;\n }\n\n return triggerOptions.filter((option) => !option.disabled && option.value !== \"Trigger\").length > 0;\n};\n\nconst timeOptions = (increment = 15) => {\n const totalMinutes = 1440;\n\n const options = Array(totalMinutes / increment)\n .fill()\n .map((_, i) => {\n const minutes = (i + 1) * increment;\n const time = moment().startOf(\"year\").add(minutes, \"minutes\");\n const label = time.tz(Brivity.LocalTimeZone).format(timeWithZoneFormat);\n const value = time.utc().format(timeFormat);\n const valueForSort = time.tz(Brivity.LocalTimeZone).format(timeFormat);\n\n return { value, label, valueForSort };\n });\n return sortByKey(options, \"valueForSort\");\n};\n\nconst findDefaultRunAfterTimeOption = (type) => {\n if (type === \"Task\") {\n return timeOptions().find((e) => e.valueForSort === \"17:00\");\n }\n return timeOptions().find((e) => e.valueForSort === \"09:00\");\n};\n\nconst shortDelayUnits = {\n seconds: \"sec\",\n minutes: \"min\",\n hours: \"hours\",\n days: \"days\",\n};\n\nconst getActionById = (id, autoPlan) => autoPlan.actions.filter((action) => action.id === id)[0];\n\nconst autoPlanNameLabel = (id, autoPlans = []) => {\n const autoPlan = autoPlans.filter((a) => a.id === id)[0];\n return autoPlan ? autoPlan.name : \"\";\n};\n\nexport {\n priorityOptions,\n recurringFrequencyOptions,\n weeklyOptions,\n monthlyOptions,\n canBeContingent,\n timeOptions,\n timeUnitOptionsForEvents,\n timeUnitOptions,\n delayFactorOptions,\n recurringFrequencyTypes,\n getActionById,\n autoPlanNameLabel,\n shortDelayUnits,\n timeWithZoneFormat,\n peopleAutoPauseStatusOptions,\n peopleCompletionStatusOptions,\n transactionAutoPauseStatusOptions,\n transactionCompletionStatusOptions,\n findDefaultRunAfterTimeOption,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport default class CCSearchResults extends React.Component {\n shortQuery = () => {\n const { type, search_query: searchQuery, search_query_length: searchQueryLength } = this.props;\n switch (type) {\n case \"email\":\n return (\n <div className=\"cc-search-results-container\">\n <div className=\"cc-search-result\">Invalid email {searchQuery}</div>\n </div>\n );\n default:\n return (\n <div className=\"cc-search-results-container\">\n <div className=\"cc-search-result\">Enter {3 - searchQueryLength} more characters to search</div>\n </div>\n );\n }\n };\n\n noResults = () => {\n const { type, search_query: searchQuery } = this.props;\n switch (type) {\n case \"email\":\n return (\n <div className=\"cc-search-results-container\">\n <div className=\"cc-search-result\">Invalid email {searchQuery}</div>\n </div>\n );\n case \"role\":\n return (\n <div className=\"cc-search-results-container\">\n <div className=\"cc-search-result\">Invalid role {searchQuery}</div>\n </div>\n );\n default:\n return (\n <div className=\"cc-search-results-container\">\n <div className=\"cc-search-result\">No results for {searchQuery}</div>\n </div>\n );\n }\n };\n\n render() {\n const {\n search_query_length: searchQueryLength,\n width,\n results,\n highlightedIndex,\n highlight,\n unhighlight,\n selectObject,\n } = this.props;\n\n return (\n searchQueryLength > 0 && (\n <div\n style={{ width }}\n className=\"cc-search-results-container cc-multi-select-dropdown selectivity-results-container\"\n >\n <div className=\"selectivity-results\">\n {searchQueryLength < 3 && this.shortQuery()}\n {results.length === 0 && searchQueryLength > 2 && this.noResults()}\n {results.map((result, index) => (\n // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions\n <div\n className={`${highlightedIndex === index && \"highlighted-result \"} cc-search-result`}\n // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events\n onMouseOver={() => highlight(index)}\n // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events\n onMouseOut={() => unhighlight(index)}\n onClick={() => selectObject(result)}\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n >\n <i className={`${result.icon} ${result.color}`} />\n {result.label}\n {!!result.email && ` ${result.email}`}\n {!!result.type && result.cc_type === \"Person\" && (\n <span className={result.color}> ({result.type})</span>\n )}\n </div>\n ))}\n </div>\n </div>\n )\n );\n }\n}\n\nCCSearchResults.propTypes = {\n highlight: PropTypes.func.isRequired,\n highlightedIndex: PropTypes.number.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n results: PropTypes.arrayOf(PropTypes.any).isRequired,\n search_query: PropTypes.string.isRequired,\n search_query_length: PropTypes.number.isRequired,\n selectObject: PropTypes.func.isRequired,\n type: PropTypes.string.isRequired,\n unhighlight: PropTypes.func.isRequired,\n width: PropTypes.string.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport { Input, Dropdown } from \"../../shared/v1\";\nimport CCSearchResults from \"./CCSearchResults\";\n\nexport default class CCFor extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n highlightedIndex: 0,\n // eslint-disable-next-line react/no-unused-state\n highlightedResult: {},\n search_query: \"\",\n search_query_length: 0,\n target: \"\",\n results: [],\n };\n }\n\n componentDidMount() {\n this.getRoleResults();\n }\n\n getRoleResults = () => {\n const { planType } = this.props;\n axios({\n method: \"get\",\n url: `/auto_plans/quick_search_role_recipients?plan_type=${planType}`,\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n }).then((response) => {\n if (response.data.length === 0) this.setState({ roleResults: [] });\n else this.showRoleResults(response.data);\n });\n };\n\n handleSearchChange = (e) => {\n const { search_query_length: searchQueryLength } = this.state;\n const { value } = e.target;\n\n this.setState({ search_query: value, search_query_length: value.split(\"\").length }, () => {\n if (searchQueryLength < 3) this.setState({ results: [] });\n\n if (searchQueryLength > 2) this.getResults();\n });\n };\n\n getResults = () => {\n const { search_query: searchQuery } = this.state;\n const { type } = this.props;\n if (type === \"people\") {\n axios({\n method: \"get\",\n url: `/auto_plans/quick_search_email_recipients?search=${searchQuery}`,\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n }).then((response) => {\n if (response.data.length === 0) this.displayZeroResults();\n else this.showResults(response.data);\n });\n } else if (type === \"email\") {\n const email = searchQuery;\n if (/^[^@\\s]+@[^@\\s]+$/.test(email)) {\n this.showResults([\n {\n label: email,\n value: email,\n name: \"_emails\",\n cc_type: \"Email\",\n icon: \"fa fa-envelope\",\n color: \"tw-text-brand-danger\",\n },\n ]);\n }\n }\n };\n\n hideSearchResults = () => {\n this.setState({ results: [], search_query: \"\", search_query_length: 0 });\n this.highlight(0);\n };\n\n displayZeroResults = () => {\n this.setState({ results: [] });\n };\n\n showResults = (data) => {\n const { highlightedIndex } = this.state;\n // eslint-disable-next-line react/no-unused-state\n this.setState({ results: data, highlightedResult: data[highlightedIndex] });\n };\n\n showRoleResults = (data) => {\n this.setState({ roleResults: data });\n };\n\n setTarget = (e) => {\n const { target } = e;\n\n this.setState({ target, width: target.clientWidth });\n };\n\n highlight = (index) => {\n this.setState({ highlightedIndex: index });\n };\n\n unhighlight = () => {\n this.setState({ highlightedIndex: null });\n };\n\n selectObject = (result) => {\n const { onOptionSelect } = this.props;\n if (result.assigned_to_type === \"Role\") {\n onOptionSelect({\n name: \"_role_uuids\",\n label: result.label,\n value: result.value,\n cc_type: result.assigned_to_type,\n });\n } else {\n onOptionSelect(result);\n }\n this.hideSearchResults();\n };\n\n selectByIndex = () => {\n const { results, highlightedIndex, selected } = this.state;\n const newResult = results[highlightedIndex];\n if (Object.values(selected).length === 0) {\n this.selectObject(newResult);\n }\n };\n\n indexDown = () => {\n const { results, highlightedIndex } = this.state;\n if (highlightedIndex < results.length - 1) this.setState({ highlightedIndex: highlightedIndex + 1 });\n };\n\n indexUp = () => {\n const { highlightedIndex } = this.state;\n if (highlightedIndex > 0) this.setState({ highlightedIndex: highlightedIndex - 1 });\n };\n\n keyPressHandler = (e) => {\n if ([13, 40, 38].includes(e.keyCode)) {\n this.keyPressOptions()[e.keyCode.toString()]();\n }\n };\n\n highlightedValue = (index, result) => {\n const { highlightedIndex } = this.state;\n // eslint-disable-next-line react/no-unused-state\n if (highlightedIndex === index) this.setState({ highlightedResult: result });\n };\n\n keyPressOptions = () => ({\n 13: this.selectByIndex,\n 40: this.indexDown,\n 38: this.indexUp,\n });\n\n render() {\n const {\n highlightedIndex,\n results,\n roleResults,\n search_query_length: searchQueryLength,\n search_query: searchQuery,\n target,\n width,\n } = this.state;\n const { type, icon, placeholder } = this.props;\n return (\n <div>\n {type === \"role\" ? (\n <Dropdown\n placeholder=\"Select a role\"\n onUpdate={this.selectObject}\n isClearable={false}\n value={null}\n options={roleResults}\n />\n ) : (\n <>\n <Input\n size=\"small\"\n onChange={this.handleSearchChange}\n autoComplete=\"off\"\n onClick={this.setTarget}\n onKeyDown={this.keyPressHandler}\n style={{ position: \"relative\" }}\n icon={icon}\n value={(searchQuery.split(\"\").length > 0 && searchQuery) || \"\"}\n name=\"search_query\"\n placeholder={placeholder}\n />\n\n <span className=\"fa fa-search tw-absolute tw-top-[3.7em] tw-right-10px tw-z-2 tw-block tw-w-34px tw-h-34px tw-text-center tw-pointer-events-none\" />\n\n <CCSearchResults\n type={type}\n results={results}\n search_query_length={searchQueryLength}\n search_query={searchQuery}\n target={target}\n highlight={this.highlight}\n unhighlight={this.unhighlight}\n highlightedIndex={highlightedIndex}\n highlightedValue={this.highlightedValue}\n hideSearchResults={this.hideSearchResults}\n selectObject={this.selectObject}\n width={width}\n />\n </>\n )}\n </div>\n );\n }\n}\n\nCCFor.propTypes = {\n planType: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n icon: PropTypes.string.isRequired,\n placeholder: PropTypes.string.isRequired,\n onOptionSelect: PropTypes.func.isRequired,\n};\n","import { useEffect, useState } from \"react\";\nimport { getAiToken } from \"@shared/externalApi\";\n\nconst useAiToken = () => {\n const [data, setData] = useState({});\n const getToken = () => getAiToken().then(setData);\n\n useEffect(() => {\n // token payload || {}\n const payload = JSON.parse(atob(data.token?.split(\".\")[1] || \"e30=\"));\n let timeoutId = null;\n\n if (payload.exp) {\n // in the unlikely but possible event that a user remains interacting with the ai\n // assistant for longer than the token lasts, give it a little refresh\n const timeout = new Date((payload.exp - 120) * 1000).valueOf() - Date.now();\n timeoutId = setTimeout(getToken, Math.max(0, timeout));\n }\n\n return () => {\n // if unmounted cancel refresh\n clearTimeout(timeoutId);\n };\n }, [data.token]);\n\n useEffect(() => {\n getToken();\n }, []);\n\n return data;\n};\n\nexport default useAiToken;\n","/* global tinyMCE */\nimport React, { useEffect, useState } from \"react\";\nimport \"@brivity/ai-components/dist/style.css\";\nimport { AiAssist, AiComponentsProvider } from \"@brivity/ai-components\";\nimport useAiToken from \"./hooks/useAiToken\";\n\nconst AiAssistant = ({\n align,\n contactUuid,\n context,\n messageType = \"Generic\",\n onInsertClick,\n side,\n textareaId,\n isTinyMce,\n}) => {\n const [tinyMceDocument, setTinyMceDocument] = useState(null);\n const { token, apiUrl } = useAiToken();\n\n useEffect(() => {\n if (!isTinyMce || tinyMceDocument) return;\n const timeoutId = setInterval(() => {\n if (tinyMCE.activeEditor) setTinyMceDocument(tinyMCE.activeEditor.contentDocument);\n }, 500);\n return () => {\n clearInterval(timeoutId);\n };\n }, [isTinyMce, tinyMceDocument]);\n\n if (!token) return null;\n\n return (\n <AiComponentsProvider\n apiUrl={apiUrl}\n theme={document.body.classList.contains(\"place-theme\") ? \"ai-place\" : \"ai-brivity\"}\n token={token}\n >\n <AiAssist\n align={align}\n contactUuid={contactUuid}\n context={context}\n messageType={messageType}\n onInsertClick={onInsertClick}\n side={side}\n textareaId={textareaId}\n tinyMceDocument={tinyMceDocument}\n />\n </AiComponentsProvider>\n );\n};\n\nexport default AiAssistant;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport { subtleM } from \"@shared/styles\";\n\nimport { Col, Radio, Input, Dropdown, Row, TextArea } from \"../../shared/v1\";\nimport {\n timeOptions,\n priorityOptions,\n weeklyOptions,\n monthlyOptions,\n recurringFrequencyOptions,\n delayFactorOptions,\n timeUnitOptionsForEvents,\n timeUnitOptions,\n} from \"./helpers\";\nimport CCFor from \"./CCFor\";\nimport AiAssistant from \"../../shared/AiAssistant/AiAssistant\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport { Close } from \"../../shared/v2/Icomoon\";\n\nconst Detail = ({ label, value, onChange }) => (\n <Col size={12}>\n <label>{label}</label>\n <Input\n size=\"small\"\n name=\"name\"\n onChange={(e) => onChange({ [e.target.name]: e.target.value })}\n value={value}\n />\n </Col>\n);\n\nDetail.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst InstructionsLink = ({ onShow }) => (\n <Col size={3}>\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid, no-script-url */}\n <a className=\"add-link\" href=\"javascript:void(0);\" onClick={onShow}>\n <i className=\"fa fa fa-plus-square\" />\n Add Instructions\n </a>\n </Col>\n);\n\nInstructionsLink.propTypes = {\n onShow: PropTypes.func.isRequired,\n};\n\nconst NoteLink = ({ onShow }) => (\n <Col size={3}>\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid, no-script-url */}\n <a className=\"add-link\" href=\"javascript:void(0);\" onClick={onShow}>\n <i className=\"fa fa fa-plus-square\" />\n Add Notes\n </a>\n </Col>\n);\n\nNoteLink.propTypes = {\n onShow: PropTypes.func.isRequired,\n};\n\nconst Instructions = ({ onHide, value, onChange }) => (\n <Col size={12}>\n <div className=\"tw-flex tw-justify-end tw-gap-[8px] tw-absolute tw-top-[-4px] tw-right-[10px]\">\n <AiAssistant\n textareaId=\"actionplan-instructions\"\n messageType=\"Generic\"\n onInsertClick={(text) => onChange({ instructions: text })}\n />\n <IconButton size=\"small\" schema=\"transparent\" onClick={onHide}>\n <Close />\n </IconButton>\n </div>\n <label>Instructions</label>\n <TextArea\n id=\"actionplan-instructions\"\n size=\"auto\"\n name=\"instructions\"\n value={value}\n onChange={(e) => onChange({ [e.target.name]: e.target.value })}\n />\n </Col>\n);\n\nInstructions.propTypes = {\n onHide: PropTypes.func.isRequired,\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst Note = ({ onHide, value, onChange }) => (\n <Col size={12}>\n <label>Notes</label>\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a\n className=\"toggle-close-link float-right\"\n // eslint-disable-next-line no-script-url\n href=\"javascript:void(0);\"\n onClick={onHide}\n aria-label=\"close\"\n >\n <i className=\"fa fa fa-close\" />\n </a>\n <TextArea\n size=\"auto\"\n name=\"note\"\n value={value}\n onChange={(e) => onChange({ [e.target.name]: e.target.value })}\n />\n </Col>\n);\n\nNote.propTypes = {\n onHide: PropTypes.func.isRequired,\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst PriorityOptions = ({ value, onChange }) => (\n <div>\n <Col size={4}>\n <label>Priority (1: highest, 9: lowest)</label>\n </Col>\n <Col size={12}>\n {priorityOptions.map((op) => (\n <Radio\n key={op.value}\n name=\"priority\"\n className=\"tw-mr-20px tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n deprecatedOverrideRadioMarginClasses=\"!tw-mt-2px !tw--ml-20px\"\n value={op.value}\n inline\n checked={op.value === value}\n onChange={(e) => onChange({ [e.target.name]: parseInt(e.target.value, 10) })}\n >\n {op.label}\n </Radio>\n ))}\n </Col>\n </div>\n);\n\nPriorityOptions.propTypes = {\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst visibilityOptions = [\n {\n value: false,\n label: (\n <div>\n <i className=\"fa fa-eye-slash p-r-10\" />\n <span className=\"text-base\">Hidden from Viewers</span>\n </div>\n ),\n },\n {\n value: true,\n label: (\n <div>\n <i className=\"fa fa-eye p-r-10\" />\n <span className=\"text-base\">Visible to Viewers</span>\n </div>\n ),\n },\n];\n\nconst VisibilitySection = ({ onChange, value }) => (\n <div>\n <Col size={8}>\n <label>Visibility</label>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n onUpdate={(opt) => onChange({ visibility: opt.value })}\n value={value || false}\n name=\"visibility\"\n options={visibilityOptions}\n />\n </Col>\n </div>\n);\n\nVisibilitySection.propTypes = {\n onChange: PropTypes.func.isRequired,\n value: PropTypes.string.isRequired,\n};\n\nconst anyoneOption = { label: \"Anyone\", value: \"\", name: \"assigned_to_id\", for_type: \"all\" };\n\nconst AssignTo = ({\n prependAnyoneOption,\n options: propsOptions,\n placeholder: propsPlaceholder,\n label,\n value,\n onChange,\n}) => {\n const options = prependAnyoneOption ? [anyoneOption, ...propsOptions] : propsOptions;\n const placeholder = propsPlaceholder || \"Select Role/User\";\n\n return (\n <div>\n <Col size={6}>\n <label>{label}</label>\n\n <Dropdown\n placeholder={placeholder}\n onUpdate={(opt) => onChange(opt)}\n isClearable={false}\n value={value}\n options={options}\n />\n </Col>\n </div>\n );\n};\n\nAssignTo.propTypes = {\n prependAnyoneOption: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n options: PropTypes.arrayOf(PropTypes.any).isRequired,\n placeholder: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst RunTime = ({ label, value, onChange }) => (\n <div>\n <Col size={3}>\n <label>{label}</label>\n <div className=\"tw-w-[131px]\">\n <Dropdown\n value={value}\n name=\"run_time\"\n isClearable={false}\n onUpdate={(opt) => onChange({ run_time: opt.value })}\n options={timeOptions()}\n />\n </div>\n </Col>\n </div>\n);\n\nRunTime.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst ComputedTime = ({ parentActionId, onChange, triggers }) => (\n <div>\n <div className=\"flex-grow\">\n <Dropdown\n value={parentActionId || \"Trigger\"}\n onUpdate={(opt) => onChange({ parent_action_id: opt.value })}\n isSearchable={false}\n isClearable={false}\n name=\"parent_action_id\"\n options={triggers}\n />\n </div>\n </div>\n);\n\nComputedTime.propTypes = {\n parentActionId: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n triggers: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nconst Event = ({ delay, delayFactor, onChange, milestoneId, milestoneOptions }) => {\n const currentDelay = delay || 0;\n\n return (\n <div className=\"d-flex\">\n <div style={{ width: \"100px\" }}>\n <Dropdown\n name=\"delay_factor\"\n value={delayFactor}\n onUpdate={(opt) => onChange({ delay_factor: opt.value, delay: currentDelay * -1 })}\n isSearchable={false}\n isClearable={false}\n options={delayFactorOptions}\n />\n </div>\n <div className=\"p-l-5 flex-grow\">\n <Dropdown\n value={milestoneId}\n onUpdate={(opt) => onChange({ milestone_id: opt.value })}\n isSearchable\n isClearable={false}\n name=\"milestone_id\"\n options={milestoneOptions}\n />\n </div>\n </div>\n );\n};\n\nEvent.propTypes = {\n delay: PropTypes.number.isRequired,\n delayFactor: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n milestoneId: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n milestoneOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nconst Schedule = ({ type, ...props }) => (\n <Col size={8}>\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n {type === \"event\" && <Event {...props} />}\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n {type === \"computed_time\" && <ComputedTime {...props} />}\n </Col>\n);\n\nSchedule.propTypes = {\n type: PropTypes.string.isRequired,\n};\n\nconst ScheduleSelector = ({ scheduleType, onChange }) => (\n <div>\n <Col size={12}>\n <div className=\"d-flex p-b-10\">\n <Radio\n key=\"computed_time\"\n name=\"schedule_type\"\n className=\"tw-mr-20px tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n deprecatedOverrideRadioMarginClasses=\"!tw-mt-2px !tw--ml-20px\"\n value=\"computed_time\"\n inline\n checked={scheduleType === \"computed_time\"}\n onChange={(e) => onChange(e.target.value)}\n >\n Computed Time\n </Radio>\n <Radio\n key=\"event\"\n name=\"schedule_type\"\n className=\"tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n deprecatedOverrideRadioMarginClasses=\"!tw-mt-2px !tw--ml-20px\"\n value=\"event\"\n inline\n checked={scheduleType === \"event\"}\n onChange={(e) => onChange(e.target.value)}\n >\n Event\n </Radio>\n </div>\n </Col>\n </div>\n);\n\nScheduleSelector.propTypes = {\n scheduleType: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nconst Delay = ({\n delayFactor = 1,\n delayOnChange,\n delayValue,\n delayUnitValue,\n delayUnitOnChange,\n scheduleType,\n}) => (\n <Col size={4}>\n <div className=\"d-flex flex-row\">\n <Input\n size=\"small\"\n type=\"number\"\n className=\"tw-max-w-60px\"\n min=\"0\"\n name=\"delay\"\n onChange={(e) => delayOnChange({ [e.target.name]: e.target.value * delayFactor })}\n value={Math.abs(delayValue)}\n />\n <div className=\"p-l-5 flex-grow\">\n <Dropdown\n name=\"delay_unit\"\n value={delayUnitValue}\n onUpdate={(opt) => delayUnitOnChange(opt.value)}\n searchable={false}\n clearable={false}\n options={scheduleType === \"event\" ? timeUnitOptionsForEvents : timeUnitOptions}\n />\n </div>\n </div>\n </Col>\n);\n\nDelay.propTypes = {\n delayFactor: PropTypes.number.isRequired,\n delayOnChange: PropTypes.func.isRequired,\n delayValue: PropTypes.number.isRequired,\n delayUnitValue: PropTypes.string.isRequired,\n delayUnitOnChange: PropTypes.func.isRequired,\n scheduleType: PropTypes.string.isRequired,\n};\n\nconst DelayAndScheduleLabel = ({ delayLabel, scheduleLabel }) => (\n <Col size={12}>\n <Row>\n <Col size={4}>\n <label>{delayLabel}</label>\n </Col>\n\n <Col size={8}>\n <label>{scheduleLabel}</label>\n </Col>\n </Row>\n </Col>\n);\n\nDelayAndScheduleLabel.propTypes = {\n delayLabel: PropTypes.string.isRequired,\n scheduleLabel: PropTypes.string.isRequired,\n};\n\nconst recurringOnOptions = (type) => {\n if (type === \"weekly\") {\n return weeklyOptions;\n }\n if (type === \"monthly\") {\n return monthlyOptions;\n }\n return [];\n};\n\nconst recurringFrequencyAttributesToUpdate = (newFrequency) => {\n if (newFrequency === \"never\") {\n return { recurring_frequency: newFrequency, recurring_days_of_frequency: null, recurring_limit: \"\" };\n }\n return { recurring_frequency: newFrequency, recurring_days_of_frequency: null };\n};\n\nconst daysOfFrequencyValueHelper = (value) => {\n if (value && value[0]) {\n return value[0];\n }\n return undefined;\n};\n\nconst RecurringOptions = ({ onChange, frequencyValue, daysOfFrequencyValue, limitValue }) => (\n <div>\n <Col size={12}>\n <Row>\n <Col size={4}>\n <label>Recurring Frequency</label>\n <Dropdown\n placeholder=\"Select..\"\n onUpdate={(opt) => onChange(recurringFrequencyAttributesToUpdate(opt.value))}\n clearable={false}\n value={frequencyValue}\n options={recurringFrequencyOptions}\n />\n </Col>\n\n {(frequencyValue === \"weekly\" || frequencyValue === \"monthly\") && (\n <Col size={4}>\n <label>Repeat On</label>\n <Dropdown\n placeholder=\"Select..\"\n onUpdate={(opt) => onChange({ recurring_days_of_frequency: [opt.value] })}\n isClearable={false}\n value={daysOfFrequencyValueHelper(daysOfFrequencyValue)}\n options={recurringOnOptions(frequencyValue)}\n />\n </Col>\n )}\n {frequencyValue === \"every\" && (\n <Col size={4}>\n <label>Recur after how many days</label>\n <div>\n <Input\n size=\"small\"\n type=\"number\"\n min=\"1\"\n max=\"999\"\n name=\"recurring_limit\"\n onChange={(e) => onChange({ recurring_days_of_frequency: [e.target.value] })}\n value={+daysOfFrequencyValueHelper(daysOfFrequencyValue)}\n />\n </div>\n </Col>\n )}\n </Row>\n </Col>\n\n {frequencyValue && frequencyValue !== \"never\" && (\n <Col size={12} className=\"p-t-5\">\n <div>\n <label>Ends</label>\n </div>\n\n <div className=\"d-flex flex-row flex-items-center\">\n <div style={{ width: \"100px\" }}>\n <Dropdown\n onUpdate={(opt) => onChange({ recurring_limit: opt.value })}\n isClearable={false}\n value={limitValue ? 1 : \"\"}\n options={[\n { value: \"\", label: \"Never\" },\n { value: 1, label: \"After\" },\n ]}\n />\n </div>\n\n {limitValue && (\n <div className=\"d-flex flex-items-center flex-grow\">\n <div className=\"p-l-5\">\n <Input\n size=\"small\"\n type=\"number\"\n className=\"tw-max-w-60px\"\n min=\"0\"\n name=\"recurring_limit\"\n onChange={(e) => onChange({ recurring_limit: e.target.value })}\n value={limitValue}\n />\n </div>\n <div className=\"p-l-10 flex-grow\">occurences</div>\n </div>\n )}\n </div>\n </Col>\n )}\n </div>\n);\n\nRecurringOptions.propTypes = {\n onChange: PropTypes.func.isRequired,\n frequencyValue: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n daysOfFrequencyValue: PropTypes.arrayOf(PropTypes.any).isRequired,\n limitValue: PropTypes.string.isRequired,\n};\n\nconst EmailCCSelector = ({\n planType,\n emails,\n label,\n name,\n onOptionSelect,\n onOptionRemove,\n onRadioChange,\n onToggleBCC,\n placeholder,\n roles,\n showAddBCC,\n type,\n people,\n}) => (\n <div>\n <Col size={12}>\n <label>{label}</label>\n\n <div>\n <div className=\"tw-float-right\" hidden={!showAddBCC}>\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a className=\"carbon-copy-link tw-text-brand-info\" href=\"#\" onClick={onToggleBCC}>\n <i className=\"fa fa-plus-circle\" /> Add BCC\n </a>\n </div>\n\n <div className=\"d-flex p-b-10\">\n <Radio\n key=\"people\"\n name={name}\n className=\"tw-mr-20px tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n deprecatedOverrideRadioMarginClasses=\"!tw-mt-2px !tw--ml-20px\"\n value=\"people\"\n inline\n checked={type === \"people\"}\n onChange={(e) => onRadioChange(e)}\n >\n People\n </Radio>\n\n <Radio\n key=\"email\"\n name={name}\n className=\"tw-mr-20px tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n deprecatedOverrideRadioMarginClasses=\"!tw-mt-2px !tw--ml-20px\"\n value=\"email\"\n inline\n checked={type === \"email\"}\n onChange={(e) => onRadioChange(e)}\n >\n Email\n </Radio>\n\n <Radio\n key=\"role\"\n name={name}\n className=\"tw-mr-20px tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n deprecatedOverrideRadioMarginClasses=\"!tw-mt-2px !tw--ml-20px\"\n value=\"role\"\n inline\n checked={type === \"role\"}\n onChange={(e) => onRadioChange(e)}\n >\n Role\n </Radio>\n </div>\n </div>\n\n <CCFor planType={planType} type={type} placeholder={placeholder} onOptionSelect={onOptionSelect} />\n\n <div className=\"cc-selections\">\n {(people || []).map((person) => (\n <div className=\"cc-selection cc-person\" key={person.value}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, react/jsx-no-comment-textnodes, jsx-a11y/no-static-element-interactions, jsx-a11y/anchor-is-valid */}\n <a onClick={() => onOptionRemove(person)}>\n <i className=\"fa fa-remove\" />\n </a>\n person: {person.label} {!!person.email && person.email}\n </div>\n ))}\n\n {(emails || []).map((email) => (\n <div className=\"cc-selection cc-email\" key={email.value}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, react/jsx-no-comment-textnodes, jsx-a11y/no-static-element-interactions, jsx-a11y/anchor-is-valid */}\n <a onClick={() => onOptionRemove(email)}>\n <i className=\"fa fa-remove\" />\n </a>\n email: {email.label}\n </div>\n ))}\n\n {(roles || []).map((role) => (\n <div className=\"cc-selection cc-role\" key={role.value}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, react/jsx-no-comment-textnodes, jsx-a11y/no-static-element-interactions, jsx-a11y/anchor-is-valid */}\n <a onClick={() => onOptionRemove(role)}>\n <i className=\"fa fa-remove\" />\n </a>\n role: {role.label}\n </div>\n ))}\n </div>\n </Col>\n </div>\n);\n\nconst EmailCCSelectorV2 = ({\n planType,\n emails,\n label,\n onOptionSelect,\n onOptionRemove,\n onRadioChange,\n placeholder,\n roles,\n type,\n people,\n}) => (\n <div>\n <Col size={12}>\n <label className={subtleM}>{label}</label>\n <div className=\"tw-flex tw-gap-[24px] tw-mb-[12px]\">\n <RadioButton\n value=\"people\"\n label=\"People\"\n className=\"tw-cursor-pointer\"\n checked={type === \"people\"}\n onClick={onRadioChange}\n />\n <RadioButton\n value=\"email\"\n label=\"Email\"\n className=\"tw-cursor-pointer\"\n checked={type === \"email\"}\n onClick={onRadioChange}\n />\n <RadioButton\n value=\"role\"\n label=\"Role\"\n className=\"tw-cursor-pointer\"\n checked={type === \"role\"}\n onClick={onRadioChange}\n />\n </div>\n <CCFor planType={planType} type={type} placeholder={placeholder} onOptionSelect={onOptionSelect} />\n\n <div className=\"cc-selections\">\n {(people || []).map((person) => (\n <div className=\"cc-selection cc-person\" key={person.value}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, react/jsx-no-comment-textnodes, jsx-a11y/no-static-element-interactions, jsx-a11y/anchor-is-valid */}\n <a onClick={() => onOptionRemove(person)}>\n <i className=\"fa fa-remove\" />\n </a>\n person: {person.label} {!!person.email && person.email}\n </div>\n ))}\n\n {(emails || []).map((email) => (\n <div className=\"cc-selection cc-email\" key={email.value}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, react/jsx-no-comment-textnodes, jsx-a11y/no-static-element-interactions, jsx-a11y/anchor-is-valid */}\n <a onClick={() => onOptionRemove(email)}>\n <i className=\"fa fa-remove\" />\n </a>\n email: {email.label}\n </div>\n ))}\n\n {(roles || []).map((role) => (\n <div className=\"cc-selection cc-role\" key={role.value}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, react/jsx-no-comment-textnodes, jsx-a11y/no-static-element-interactions, jsx-a11y/anchor-is-valid */}\n <a onClick={() => onOptionRemove(role)}>\n <i className=\"fa fa-remove\" />\n </a>\n role: {role.label}\n </div>\n ))}\n </div>\n </Col>\n </div>\n);\n\nEmailCCSelector.propTypes = {\n planType: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n emails: PropTypes.arrayOf(PropTypes.any).isRequired,\n label: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n onOptionSelect: PropTypes.func.isRequired,\n onOptionRemove: PropTypes.func.isRequired,\n onRadioChange: PropTypes.func.isRequired,\n onToggleBCC: PropTypes.func.isRequired,\n placeholder: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n roles: PropTypes.arrayOf(PropTypes.any).isRequired,\n showAddBCC: PropTypes.bool.isRequired,\n type: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n people: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nEmailCCSelectorV2.propTypes = {\n planType: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n emails: PropTypes.arrayOf(PropTypes.any).isRequired,\n label: PropTypes.string.isRequired,\n onOptionSelect: PropTypes.func.isRequired,\n onOptionRemove: PropTypes.func.isRequired,\n onRadioChange: PropTypes.func.isRequired,\n placeholder: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n roles: PropTypes.arrayOf(PropTypes.any).isRequired,\n type: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n people: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nexport {\n AssignTo,\n Delay,\n DelayAndScheduleLabel,\n Detail,\n Instructions,\n InstructionsLink,\n Note,\n NoteLink,\n PriorityOptions,\n RecurringOptions,\n RunTime,\n Schedule,\n ScheduleSelector,\n VisibilitySection,\n EmailCCSelector,\n EmailCCSelectorV2,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { connect } from \"react-redux\";\nimport { bindActionCreators } from \"redux\";\n\nimport { Button, Checkbox, FormGroup, Col, CancelButton } from \"../../shared/v1\";\nimport * as autoPlanActionCreators from \"../actions/autoPlanActionCreators\";\nimport { canBeContingent } from \"./helpers\";\nimport {\n AssignTo,\n Delay,\n DelayAndScheduleLabel,\n Detail,\n Instructions,\n InstructionsLink,\n Note,\n NoteLink,\n PriorityOptions,\n RecurringOptions,\n RunTime,\n Schedule,\n ScheduleSelector,\n VisibilitySection,\n} from \"./ActionFormHelpers\";\n\nconst defaultTask = {\n auto_plan_id: undefined,\n type: \"Task\",\n name: \"\",\n priority: 9,\n contingent: false,\n delay_factor: 1,\n schedule_type: \"computed_time\",\n};\n\nclass TaskForm extends React.Component {\n toggleInstructions = () => {\n const {\n autoPlanActions: { toggleTaskInstructions },\n } = this.props;\n toggleTaskInstructions();\n };\n\n toggleNote = () => {\n const {\n autoPlanActions: { toggleTaskNote },\n } = this.props;\n toggleTaskNote();\n };\n\n render() {\n const {\n action,\n actionsPath,\n assignedToOptions,\n autoPlanPath,\n handleDelayUnitChange,\n handleScheduleTypeChange,\n isSubmitting,\n milestoneOptions,\n onActionSubmit,\n onAssignedToChange,\n onChange,\n onCloseAction,\n planType,\n showInstructions,\n showNote,\n triggers,\n } = this.props;\n const task = { ...defaultTask, ...action };\n const assignedToValue = task.assigned_to_id || task.assigned_to_role;\n\n return (\n <form>\n <FormGroup className=\"required\" horizontal>\n <Detail label=\"Task Detail\" value={task.name} onChange={onChange} />\n </FormGroup>\n\n <FormGroup horizontal>\n <ScheduleSelector scheduleType={task.schedule_type} onChange={handleScheduleTypeChange} />\n\n <DelayAndScheduleLabel\n delayLabel=\"Due\"\n scheduleLabel={task.schedule_type === \"computed_time\" && \"After\"}\n />\n\n <Delay\n delayFactor={task.delay_factor}\n delayOnChange={onChange}\n delayValue={task.delay}\n delayUnitValue={task.delay_unit}\n delayUnitOnChange={handleDelayUnitChange}\n scheduleType={task.schedule_type}\n />\n\n <Schedule\n type={task.schedule_type}\n delay={task.delay}\n delayFactor={task.delay_factor}\n onChange={onChange}\n parentActionId={task.parent_action_id}\n triggers={triggers}\n milestoneOptions={milestoneOptions}\n milestoneId={task.milestone_id}\n />\n </FormGroup>\n <FormGroup horizontal>\n <Col size={12}>\n <Checkbox\n className=\"tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px] tw-select-none\"\n deprecatedOverrideCheckboxMarginClasses=\"!tw-mt-0 !tw--ml-20px\"\n name=\"contingent\"\n disabled={!canBeContingent(task.schedule_type, triggers)}\n inline\n onChange={() => onChange({ contingent: !task.contingent })}\n checked={task.contingent}\n >\n Make Contingent (Due time auto-updates based on when the previous action is completed)\n </Checkbox>\n </Col>\n </FormGroup>\n\n {(task.delay_unit === \"days\" || task.schedule_type === \"event\") && (\n <FormGroup horizontal>\n <RunTime label=\"Due By\" value={task.run_time} onChange={onChange} />\n </FormGroup>\n )}\n\n <FormGroup className=\"required\" horizontal>\n <AssignTo\n label=\"Assign To\"\n placeholder={task.assigned_for_label || \"Select...\"}\n value={assignedToValue}\n onChange={onAssignedToChange}\n options={assignedToOptions}\n prependAnyoneOption={false}\n />\n </FormGroup>\n\n <FormGroup horizontal>\n <PriorityOptions value={task.priority} onChange={onChange} />\n </FormGroup>\n\n {planType === \"transactions\" && (\n <FormGroup horizontal>\n <VisibilitySection value={task.visibility} onChange={onChange} />\n </FormGroup>\n )}\n\n <FormGroup horizontal>\n {!showInstructions && <InstructionsLink onShow={this.toggleInstructions} />}\n {!showNote && <NoteLink onShow={this.toggleNote} />}\n </FormGroup>\n\n {showInstructions && (\n <FormGroup horizontal>\n <Instructions onHide={this.toggleInstructions} onChange={onChange} value={task.instructions} />\n </FormGroup>\n )}\n\n {showNote && (\n <FormGroup horizontal>\n <Note onHide={this.toggleNote} onChange={onChange} value={task.note} />\n </FormGroup>\n )}\n\n <FormGroup className=\"m-b-40\" horizontal>\n <RecurringOptions\n onChange={onChange}\n frequencyValue={task.recurring_frequency || \"never\"}\n daysOfFrequencyValue={task.recurring_days_of_frequency}\n limitValue={task.recurring_limit}\n />\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={onCloseAction} />\n {isSubmitting ? (\n <Button size=\"small\" variant=\"info\" className=\"modal-submit tw-float-right\" disabled>\n Saving..\n </Button>\n ) : (\n <Button\n size=\"small\"\n variant=\"info\"\n className=\"modal-submit tw-float-right\"\n onClick={() => onActionSubmit(task, actionsPath, autoPlanPath)}\n >\n Save\n </Button>\n )}\n </Col>\n </FormGroup>\n </form>\n );\n }\n}\n\nTaskForm.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n action: PropTypes.objectOf(PropTypes.any).isRequired,\n actionsPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedToOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanActions: PropTypes.objectOf(PropTypes.any).isRequired,\n autoPlanPath: PropTypes.string.isRequired,\n handleDelayUnitChange: PropTypes.func.isRequired,\n handleScheduleTypeChange: PropTypes.func.isRequired,\n isSubmitting: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n milestoneOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n onActionSubmit: PropTypes.func.isRequired,\n onAssignedToChange: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n onCloseAction: PropTypes.func.isRequired,\n planType: PropTypes.string.isRequired,\n showInstructions: PropTypes.bool.isRequired,\n showNote: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n triggers: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n isSubmitting: state.autoPlanEdit.isSubmitting,\n showInstructions: state.autoPlanEdit.showInstructions,\n showNote: state.autoPlanEdit.showNote,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n autoPlanActions: bindActionCreators(autoPlanActionCreators, dispatch),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(TaskForm);\n","import React, { useEffect, useMemo } from \"react\";\n\nconst BrivityTextEditor = ({ className, id, placeholders, settings, ...props }) => {\n const dataPlaceholders = useMemo(() => JSON.stringify(placeholders), [placeholders]);\n\n useEffect(() => {\n const editor = tinyMCE.createEditor(id, { ...tinyMCE.settings, ...settings, selector: `#${id}` });\n editor.render();\n return () => {\n tinyMCE.execCommand(\"mceRemoveEditor\", false, id);\n tinyMCE.editors = [];\n };\n }, []);\n\n return (\n <div className={className}>\n <textarea {...props} id={id} className=\"tinymce\" data-placeholders={dataPlaceholders} />\n <input id=\"file-upload\" className=\"hidden\" name=\"image\" type=\"file\" />\n </div>\n );\n};\n\nexport default BrivityTextEditor;\n","/* eslint-disable class-methods-use-this */\n/* eslint-disable jsx-a11y/label-has-associated-control */\n/* global tinymce */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { connect } from \"react-redux\";\nimport { bindActionCreators } from \"redux\";\nimport axios from \"axios\";\nimport { Button, FormGroup, Col, Checkbox, Dropdown, CancelButton } from \"../../shared/v1\";\nimport * as autoPlanActionCreators from \"../actions/autoPlanActionCreators\";\n\nimport BrivityTextEditor from \"../../shared/BrivityTextEditor\";\nimport { sortByKey } from \"../../shared/Utilities\";\n\nimport { canBeContingent } from \"./helpers\";\nimport {\n AssignTo,\n Delay,\n DelayAndScheduleLabel,\n Detail,\n ScheduleSelector,\n EmailCCSelector,\n RunTime,\n Schedule,\n} from \"./ActionFormHelpers\";\nimport AiAssistant from \"../../shared/AiAssistant/AiAssistant\";\n\nconst defaultEmail = {\n name: \"\",\n template_body: \"\",\n type: \"Email\",\n delay: 0,\n delay_unit: \"seconds\",\n contingent: false,\n delay_factor: 1,\n schedule_type: \"computed_time\",\n};\n\nconst ccPlaceholders = {\n role: \"Select a role\",\n people: \"Select...\",\n email: \"Enter Email Address\",\n};\n\nclass EmailForm extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n showBCC: false,\n ccType: \"people\",\n bccType: \"people\",\n };\n // eslint-disable-next-line no-underscore-dangle\n this._isMounted = false;\n }\n\n // eslint-disable-next-line react/no-deprecated\n componentWillMount() {\n const { action } = this.props;\n // eslint-disable-next-line no-underscore-dangle\n this._isMounted = true;\n\n this.getCCLabels(action);\n\n const email = { ...defaultEmail, ...action };\n const bccPeopleUUIDs = email.bcc_people_uuids || [];\n const bccEmails = email.bcc_emails || [];\n if (!!bccPeopleUUIDs.length || !!bccEmails.length) this.displayBCC();\n }\n\n // eslint-disable-next-line react/no-deprecated\n componentWillReceiveProps(nextProps) {\n this.getCCLabels(nextProps.action);\n }\n\n componentWillUnmount() {\n // eslint-disable-next-line no-underscore-dangle\n this._isMounted = false;\n }\n\n emailTemplateOptions = (templates) => {\n const emailTemplate = templates || [];\n const options = emailTemplate.map((template) => ({\n label: template.name,\n value: template.id,\n subject: template.subject,\n }));\n\n return sortByKey(options, \"label\");\n };\n\n updateTinyMceEditor = (content) => {\n if (tinymce && tinymce.activeEditor) {\n tinymce.activeEditor.setContent(content);\n }\n };\n\n handleTemplateChange = async (value) => {\n const templateId = value;\n const { emailTemplates, onChange } = this.props;\n const activeTemplate = emailTemplates.find((t) => templateId === t.id);\n\n const response = await fetch(`/auto_plans/interaction_template_body?id=${templateId}`);\n const templateBody = await response.json();\n\n this.updateTinyMceEditor(templateBody);\n\n // Not including templateBody since updateTinyMceEditor is a controlled component\n onChange({ template_id: templateId, name: activeTemplate.subject });\n\n };\n\n handleSubmit = () => {\n const { action, onActionSubmit, actionsPath, autoPlanPath } = this.props;\n let emailContentFromUncontrollerComponent = \"\";\n if (tinymce && tinymce.activeEditor) {\n emailContentFromUncontrollerComponent = tinymce.activeEditor.getContent();\n }\n\n const emailToSubmit = { ...action, template_body: emailContentFromUncontrollerComponent };\n\n onActionSubmit(emailToSubmit, actionsPath, autoPlanPath);\n };\n\n displayBCC = () => {\n const { showBCC } = this.state;\n if (!showBCC) this.setState({ showBCC: true });\n };\n\n getCCLabels = (email) => {\n this.loadLabelsForCC(email.cc_role_uuids, email.cc_people_uuids, email.cc_emails, \"cc\");\n this.loadLabelsForCC(email.bcc_role_uuids, email.bcc_people_uuids, email.bcc_emails, \"bcc\");\n };\n\n loadLabelsForCC = (roles, people, emails, prefix) => {\n axios({\n method: \"get\",\n url: `/auto_plans/serialized_email_recipients?people_uuids[]=${(people || []).join(\n \"&people_uuids[]=\",\n )}&role_uuids[]=${(roles || []).join(\"&role_uuids[]=\")}`,\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n }).then((response) => {\n // eslint-disable-next-line no-underscore-dangle\n if (this._isMounted)\n this.setState({\n [`${prefix}Roles`]: response.data.roles || [],\n [`${prefix}People`]: response.data.people || [],\n [`${prefix}Emails`]: (emails || []).map((email) => ({\n label: email,\n value: email,\n name: \"_emails\",\n cc_type: \"Email\",\n })),\n });\n });\n };\n\n render() {\n const {\n bccEmails: stateBccEmails,\n bccPeople,\n bccRoles,\n bccType,\n ccEmails: stateCcEmails,\n ccPeople,\n ccRoles,\n ccType,\n showBCC,\n } = this.state;\n const {\n action,\n assignedForOptions,\n assignedToOptions,\n emailTemplates,\n handleDelayUnitChange,\n handleScheduleTypeChange,\n hideAssignedFor,\n isSubmitting,\n milestoneOptions,\n onAssignedForChange,\n onAssignedToChange,\n onCCChange,\n onChange,\n onCloseAction,\n placeholders,\n planType,\n triggers,\n } = this.props;\n const email = { ...defaultEmail, ...action };\n const assignedToValue = email.assigned_to_id || email.assigned_to_role;\n const assignedForValue = email.assigned_for_id || email.assigned_for_role;\n const ccPeopleUUIDs = email.cc_people_uuids || [];\n const ccRoleUUIDs = email.cc_role_uuids || [];\n const ccEmails = email.cc_emails || [];\n const bccPeopleUUIDs = email.bcc_people_uuids || [];\n const bccRoleUUIDs = email.bcc_role_uuids || [];\n const bccEmails = email.bcc_emails || [];\n\n return (\n <form>\n <FormGroup horizontal>\n <Detail label=\"Email Subject\" value={email.name} onChange={onChange} />\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <label>Email Template</label>\n <Dropdown\n name=\"template_id\"\n value={email.template_id}\n isSearchable\n isClearable={false}\n onUpdate={(opt) => this.handleTemplateChange(opt.value)}\n placeholder=\"Choose email template\"\n options={this.emailTemplateOptions(emailTemplates)}\n />\n </Col>\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <div className=\"tw-flex tw-justify-between tw-items-end tw-mb-[4px]\">\n <label className=\"tw-mb-0\">Body</label>\n <AiAssistant\n isTinyMce\n messageType=\"Email\"\n onInsertClick={(text) =>\n tinymce?.activeEditor?.execCommand(\n \"mceInsertContent\",\n false,\n (text || \"\").replace(/\\r\\n|\\r|\\n/g, \"<br />\"),\n )\n }\n />\n </div>\n <BrivityTextEditor\n id=\"auto-plan-email-form\"\n value={email.template_body}\n placeholders={placeholders}\n />\n </Col>\n </FormGroup>\n\n <FormGroup horizontal>\n <ScheduleSelector scheduleType={email.schedule_type} onChange={handleScheduleTypeChange} />\n\n <DelayAndScheduleLabel\n delayLabel=\"Send\"\n scheduleLabel={email.schedule_type === \"computed_time\" && \"After\"}\n />\n\n <Delay\n delayFactor={email.delay_factor}\n delayOnChange={onChange}\n delayValue={email.delay}\n delayUnitValue={email.delay_unit}\n delayUnitOnChange={handleDelayUnitChange}\n scheduleType={email.schedule_type}\n />\n\n <Schedule\n type={email.schedule_type}\n delay={email.delay}\n delayFactor={email.delay_factor}\n onChange={onChange}\n parentActionId={email.parent_action_id}\n triggers={triggers}\n milestoneOptions={milestoneOptions}\n milestoneId={email.milestone_id}\n />\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <Checkbox\n className=\"tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px] tw-select-none\"\n deprecatedOverrideCheckboxMarginClasses=\"!tw-mt-0 !tw--ml-20px\"\n name=\"contingent\"\n inline\n disabled={!canBeContingent(email.schedule_type, triggers)}\n onChange={() => onChange({ contingent: !email.contingent })}\n checked={email.contingent}\n >\n Make Contingent (Due time auto-updates based on when the previous action is completed)\n </Checkbox>\n </Col>\n </FormGroup>\n\n {(email.delay_unit === \"days\" || email.schedule_type === \"event\") && (\n <FormGroup horizontal>\n <RunTime label=\"Send At\" value={email.run_time} onChange={onChange} />\n </FormGroup>\n )}\n\n <FormGroup horizontal>\n <AssignTo\n label=\"Send From\"\n value={assignedToValue}\n onChange={onAssignedToChange}\n options={assignedToOptions}\n />\n {!hideAssignedFor && (\n <AssignTo\n label=\"Send To\"\n value={assignedForValue}\n onChange={onAssignedForChange}\n options={assignedForOptions}\n />\n )}\n </FormGroup>\n\n <FormGroup className=\"tw-relative\" horizontal>\n <EmailCCSelector\n planType={planType}\n label=\"CC\"\n showAddBCC={!showBCC}\n onToggleBCC={() => this.displayBCC()}\n name=\"ccType\"\n type={ccType}\n placeholder={ccPlaceholders[ccType]}\n onRadioChange={(e) => this.setState({ ccType: e.target.value })}\n people={ccPeople}\n emails={stateCcEmails}\n roles={ccRoles}\n onOptionSelect={(option) => onCCChange(option, \"cc\", ccRoleUUIDs, ccPeopleUUIDs, ccEmails)}\n onOptionRemove={(option) => onCCChange(option, \"cc\", ccRoleUUIDs, ccPeopleUUIDs, ccEmails, true)}\n />\n </FormGroup>\n\n <FormGroup className=\"tw-relative\" horizontal>\n <div>\n {showBCC && (\n <EmailCCSelector\n planType={planType}\n label=\"BCC\"\n showAddBCC={false}\n name=\"bccType\"\n type={bccType}\n placeholder={ccPlaceholders[bccType]}\n onRadioChange={(e) => this.setState({ bccType: e.target.value })}\n people={bccPeople}\n emails={stateBccEmails}\n roles={bccRoles}\n onOptionSelect={(option) =>\n onCCChange(option, \"bcc\", bccRoleUUIDs, bccPeopleUUIDs, bccEmails)\n }\n onOptionRemove={(option) =>\n onCCChange(option, \"bcc\", bccRoleUUIDs, bccPeopleUUIDs, bccEmails, true)\n }\n />\n )}\n </div>\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={onCloseAction} />\n {isSubmitting ? (\n <Button size=\"small\" variant=\"info\" className=\"modal-submit tw-float-right\" disabled>\n Saving..\n </Button>\n ) : (\n <Button\n size=\"small\"\n variant=\"info\"\n className=\"modal-submit tw-float-right\"\n onClick={this.handleSubmit}\n >\n Save\n </Button>\n )}\n </Col>\n </FormGroup>\n </form>\n );\n }\n}\n\nEmailForm.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n action: PropTypes.objectOf(PropTypes.any).isRequired,\n actionsPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedForOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedToOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n autoPlanPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n emailTemplates: PropTypes.arrayOf(PropTypes.any).isRequired,\n handleDelayUnitChange: PropTypes.func.isRequired,\n handleScheduleTypeChange: PropTypes.func.isRequired,\n hideAssignedFor: PropTypes.bool.isRequired,\n isSubmitting: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n milestoneOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n onActionSubmit: PropTypes.func.isRequired,\n onAssignedForChange: PropTypes.func.isRequired,\n onAssignedToChange: PropTypes.func.isRequired,\n onCCChange: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n onCloseAction: PropTypes.func.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n placeholders: PropTypes.arrayOf(PropTypes.any).isRequired,\n planType: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n triggers: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n isSubmitting: state.isSubmitting,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n autoPlanActions: bindActionCreators(autoPlanActionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EmailForm);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { bindActionCreators } from \"redux\";\n\nimport { Button, FormGroup, Col, Checkbox, Dropdown, TextArea, CancelButton } from \"../../shared/v1\";\nimport * as autoPlanActionCreators from \"../actions/autoPlanActionCreators\";\nimport { canBeContingent } from \"./helpers\";\nimport {\n AssignTo,\n Delay,\n DelayAndScheduleLabel,\n ScheduleSelector,\n RunTime,\n Schedule,\n} from \"./ActionFormHelpers\";\nimport AiAssistant from \"../../shared/AiAssistant\";\n\nconst defaultText = {\n template_body: \"\",\n type: \"Text\",\n delay: 0,\n delay_unit: \"seconds\",\n contingent: false,\n delay_factor: 1,\n schedule_type: \"computed_time\",\n};\n\nclass TextForm extends React.Component {\n insertPlaceholder = (opt) => {\n const { onChange } = this.props;\n\n // eslint-disable-next-line react/no-string-refs\n const { textMessageInput } = this.refs;\n const { selectionStart } = textMessageInput;\n const { selectionEnd } = textMessageInput;\n\n const prefix = textMessageInput.value.substring(0, selectionStart);\n const suffix = textMessageInput.value.substring(selectionEnd, textMessageInput.value.length);\n const updatedValue = prefix + opt.value + suffix;\n\n onChange({ template_body: updatedValue });\n };\n\n placeholderOptions() {\n const { placeholders } = this.props;\n\n return placeholders.map((placeholder) => ({ label: placeholder.text, value: placeholder.value }));\n }\n\n render() {\n const {\n action,\n actionsPath,\n assignedForOptions,\n assignedToOptions,\n autoPlanPath,\n handleDelayUnitChange,\n handleScheduleTypeChange,\n hideAssignedFor,\n isSubmitting,\n milestoneOptions,\n onActionSubmit,\n onAssignedForChange,\n onAssignedToChange,\n onChange,\n onCloseAction,\n triggers,\n } = this.props;\n const text = { ...defaultText, ...action };\n const assignedToValue = text.assigned_to_id || text.assigned_to_role;\n const assignedForValue = text.assigned_for_id || text.assigned_for_role;\n\n return (\n <form>\n <FormGroup horizontal>\n <Col size={6}>\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n <label>Text</label>\n </Col>\n <Col size={6}>\n <div className=\"tw-float-right tw-w-[274px]\">\n <Dropdown\n onUpdate={(opt) => this.insertPlaceholder(opt)}\n placeholder=\"Insert placeholder\"\n isSearchable\n isClearable={false}\n // TODO: fix this, _especially_ when/if upgrading React\n // eslint-disable-next-line react/no-string-refs\n onClose={() => this.refs.textMessageInput.focus()}\n options={this.placeholderOptions()}\n variant=\"transparent\"\n />\n </div>\n </Col>\n <Col size={12}>\n <TextArea\n size=\"auto\"\n id=\"autoplans-sms-input\"\n name=\"template_body\"\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus\n // eslint-disable-next-line react/no-string-refs\n ref=\"textMessageInput\"\n className=\"tw-resize-none\"\n rows=\"7\"\n onChange={(e) => onChange({ [e.target.name]: e.target.value })}\n value={text.template_body}\n />\n <div className=\"tw-flex tw-justify-end tw-mt-[12px]\">\n <AiAssistant\n textareaId=\"autoplans-sms-input\"\n messageType=\"SMS\"\n onInsertClick={(value) => onChange({ template_body: value })}\n />\n </div>\n </Col>\n </FormGroup>\n\n <FormGroup horizontal>\n <ScheduleSelector scheduleType={text.schedule_type} onChange={handleScheduleTypeChange} />\n\n <DelayAndScheduleLabel\n delayLabel=\"Send\"\n scheduleLabel={text.schedule_type === \"computed_time\" && \"After\"}\n />\n\n <Delay\n delayFactor={text.delay_factor}\n delayOnChange={onChange}\n delayValue={text.delay}\n delayUnitValue={text.delay_unit}\n delayUnitOnChange={handleDelayUnitChange}\n scheduleType={text.schedule_type}\n />\n\n <Schedule\n type={text.schedule_type}\n delayFactor={text.delay_factor}\n delay={text.delay}\n onChange={onChange}\n parentActionId={text.parent_action_id}\n triggers={triggers}\n milestoneOptions={milestoneOptions}\n milestoneId={text.milestone_id}\n />\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <Checkbox\n className=\"tw-pt-7px\"\n labelClassName=\"tw-text-gray-base tw-text-[14px] tw-select-none\"\n deprecatedOverrideCheckboxMarginClasses=\"!tw-mt-0 !tw--ml-20px\"\n name=\"contigent\"\n inline\n onChange={() => onChange({ contingent: !text.contingent })}\n disabled={!canBeContingent(text.schedule_type, triggers)}\n checked={text.contingent}\n >\n Make Contingent (Due time auto-updates based on when the previous action is completed)\n </Checkbox>\n </Col>\n </FormGroup>\n\n {(text.delay_unit === \"days\" || text.schedule_type === \"event\") && (\n <FormGroup horizontal>\n <RunTime label=\"Send At\" value={text.run_time} onChange={onChange} />\n </FormGroup>\n )}\n\n <FormGroup horizontal>\n <AssignTo\n label=\"Send From\"\n value={assignedToValue}\n onChange={onAssignedToChange}\n options={assignedToOptions}\n />\n {!hideAssignedFor && (\n <AssignTo\n label=\"Send To\"\n value={assignedForValue}\n onChange={onAssignedForChange}\n options={assignedForOptions}\n />\n )}\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={onCloseAction} />\n {isSubmitting ? (\n <Button size=\"small\" variant=\"info\" className=\"modal-submit tw-float-right\" disabled>\n Saving..\n </Button>\n ) : (\n <Button\n size=\"small\"\n variant=\"info\"\n className=\"modal-submit tw-float-right\"\n onClick={() => onActionSubmit(text, actionsPath, autoPlanPath)}\n >\n Save\n </Button>\n )}\n </Col>\n </FormGroup>\n </form>\n );\n }\n}\n\nTextForm.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n action: PropTypes.objectOf(PropTypes.any).isRequired,\n actionsPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedForOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedToOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n autoPlanPath: PropTypes.string.isRequired,\n handleDelayUnitChange: PropTypes.func.isRequired,\n handleScheduleTypeChange: PropTypes.func.isRequired,\n hideAssignedFor: PropTypes.bool.isRequired,\n isSubmitting: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n milestoneOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n onActionSubmit: PropTypes.func.isRequired,\n onAssignedForChange: PropTypes.func.isRequired,\n onAssignedToChange: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n onCloseAction: PropTypes.func.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n placeholders: PropTypes.arrayOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n triggers: PropTypes.arrayOf(PropTypes.any).isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n isSubmitting: state.isSubmitting,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n autoPlanActions: bindActionCreators(autoPlanActionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(TextForm);\n","import React from \"react\";\nimport { shape } from \"prop-types\";\nimport Circle from \"../../shared/Circle\";\n\nconst Action = ({ action, autoPlanActions }) => {\n const iconOptions = {\n Text: \"fa fa-commenting-o\",\n Task: \"fa6 fa6-list\",\n Email: \"fa6-regular fa6-envelope\",\n };\n\n const actionIcon = () => iconOptions[action.type];\n\n const fromUserLabel = () => <span className=\"from-label\">from {action.assigned_to_label} </span>;\n\n const afterActionLabel = () => {\n const { parent_action: parentAction } = action;\n if (!parentAction) {\n return \"\";\n }\n\n return (\n <span className=\"dueTimeLabel\">\n Due time is {action.delay} {action.delay_unit} after\n <span className=\"bold\">\n {\" \"}\n {parentAction.type}: {parentAction.name}\n </span>\n .\n </span>\n );\n };\n\n const contingentAfterActionLabel = () => {\n const { parent_action: parentAction } = action;\n if (!parentAction) {\n return \"\";\n }\n\n return (\n <span className=\"dueTimeLabel\">\n Due time auto-updates {action.delay} {action.delay_unit} after\n <span className=\"bold\">\n {\" \"}\n {parentAction.type}: {parentAction.name}{\" \"}\n </span>\n is completed\n </span>\n );\n };\n\n const dueTimeLabel = () => {\n if (action.contingent && action.parent_action_id) {\n return <span> - {contingentAfterActionLabel()} </span>;\n }\n if (action.parent_action_id) {\n return <span> - {afterActionLabel()} </span>;\n }\n return \"\";\n };\n\n return (\n <div>\n <div>\n <div className=\"auto-plan-timeline-action d-flex flex-items-center\">\n <div className=\"auto-plan-timeline-action-item\">\n <Circle circleStyle=\"brivity-blue-background text-white tw-text-[16px]\" icon={actionIcon()} />\n </div>\n <div className=\"auto-plan-timeline-action-item\">\n <div className=\"d-flex flex-column\">\n <div className=\"d-flex flex-justify-center flex-column\">\n <div className=\"\">\n {`${action.type}: `}\n <span className=\"bold-body\">{action.name} </span>\n </div>\n <div className=\"description understated\">\n {fromUserLabel()} {dueTimeLabel()}\n </div>\n </div>\n </div>\n </div>\n <div className=\"auto-plan-timeline-action-item d-flex\">\n <div className=\"\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions */}\n <a onClick={() => autoPlanActions.openEditActionModal(action)}>\n <i className=\"fa fa-pencil\" />\n </a>\n </div>\n <div className=\"m-l-20\">\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions */}\n <a onClick={() => autoPlanActions.openDeleteActionModal(action.id)}>\n <i className=\"fa fa-trash\" />\n </a>\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nAction.propTypes = {\n action: shape({}),\n autoPlanActions: shape({})\n};\n\nAction.defaultProps = {\n action: {},\n autoPlanActions: {}\n};\n\nexport default Action;","/* eslint-disable import/prefer-default-export */\nconst ACTION_BTN = 'tw-border-[2px] tw-border-solid tw-border-teal tw-rounded-full tw-p-[8px] tw-px-[20px] tw-text-14d !tw-text-teal';\nconst ACTION_BTN_LABEL = \"tw-mr-[16px] tw-text-gray-50 tw-text-12d tw-font-semibold\";\n\nexport { \n ACTION_BTN,\n ACTION_BTN_LABEL\n};","/* eslint-disable camelcase */\n/* eslint-disable no-useless-escape */\nimport { padStart, parseInt, words } from \"lodash\";\nimport moment from \"moment-timezone\";\n\nexport const onSaveDateAdapter = (form) => {\n const { day_month_year, run_time } = form;\n \n const dateTimeInLocal = moment.tz(`${day_month_year} ${run_time}`, 'DD/MM/YYYY HH:mm', Brivity.LocalTimeZone);\n\n if (dateTimeInLocal.isDST()) {\n dateTimeInLocal.add(1, 'hour');\n }\n\n const formattedDateTime = {\n run_time: dateTimeInLocal.utc().format('HH:mm')\n };\n\n return {\n ...form,\n ...formattedDateTime\n };\n}\n\n\nexport const convertDateFormat = (inputDate) => {\n const dateObj = new Date(inputDate);\n \n const pad2 = (num) => padStart(num, 2, '0');\n const dayMonthYear = `${pad2(dateObj.getDate())}/${pad2(dateObj.getMonth() + 1)}/${dateObj.getFullYear()}`;\n const runTime = `${pad2(dateObj.getHours())}:${pad2(dateObj.getMinutes())}`;\n \n return { day_month_year: dayMonthYear, run_time: runTime };\n}\n\nexport const formatDateAndTimeToDatePicker = (date, time) => {\n const [day, month, year] = date.split('/').map(Number);\n const [hours, minutes] = time.split(':').map(Number);\n\n const formattedDate = new Date(year, month - 1, day, hours, minutes);\n\n const options = { month: 'numeric', day: 'numeric', year: 'numeric', hour: '2-digit', minute: '2-digit', hour12: true };\n\n return formattedDate.toLocaleString('en-US', options).replace(',', '');\n}\n\n// checks if properties within object has something in it (with days && milestones\nexport const hasProperties = (data) => (\n (data.days && Object.keys(data.days).length > 0) ||\n (data.milestones && Object.keys(data.milestones).length > 0)\n);\n\nexport const extractYearFromDateString = (dateString) => {\n const [,, year] = words(dateString, /[^\\/: ]+/g).map(parseInt);\n \n return year\n}\n\nexport const yearErrorMessageHandlr = (year) => {\n const currentYear = new Date().getFullYear();\n return year < currentYear && \"You cannot select a past date\" ||\n year > currentYear + 1 && \"Must be no further out than next year\" ||\n null; // Or you can return false if you just need a boolean result\n}\n \nexport const checkIfDateStringIsWithinRange = (dateString) => {\n const dateStringYear = extractYearFromDateString(dateString);\n\n return yearErrorMessageHandlr(dateStringYear)\n}","/* eslint-disable spaced-comment */\n/* eslint-disable class-methods-use-this */\n/* eslint-disable no-restricted-syntax */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { bindActionCreators } from \"redux\";\nimport Button from \"@shared/v2/Button\";\nimport { SUBJECT_LINE_LIMIT_ERROR, isWithinSubjectLineLimit } from \"@shared/hooks/useSubjectLineLimitError\";\nimport { Modal, Row, Col, CancelButton, DeleteButton } from \"../../shared/v1\";\nimport TaskForm from \"./TaskForm\";\nimport EmailForm from \"./EmailForm\";\nimport TextForm from \"./TextForm\";\nimport Action from \"./Action\";\nimport Error from \"../../shared/Error\";\nimport \"./ActionForm.scss\";\nimport { getActionById, shortDelayUnits, timeOptions, findDefaultRunAfterTimeOption } from \"./helpers\";\nimport { formattedTimeFromUtcDateTimeString } from \"../../shared/TimeHelpers\";\nimport { toTitleCase } from \"../../shared/Utilities\";\n\nimport * as autoPlanActionCreators from \"../actions/autoPlanActionCreators\";\nimport { ACTION_BTN_LABEL } from \"../styles\";\nimport { hasProperties } from \"../helpers\";\n\nconst modalComponents = {\n Task: TaskForm,\n Email: EmailForm,\n Text: TextForm,\n};\n\nclass Actions extends React.Component {\n scheduleTypeLabels = {\n days: \"Day\",\n milestones: \"Milestone\",\n };\n\n constructor(props) {\n super(props);\n this.state = {\n subjectErrorMsg: null,\n };\n }\n\n handleActionUpdate = (action, actionsPath, autoPlanPath) => {\n const { autoPlanActions } = this.props;\n if (!this.validateForm(action)) {\n return;\n }\n\n const parentActionId = action.parent_action_id === \"Trigger\" ? null : action.parent_action_id;\n const formData = { ...action, parent_action_id: parentActionId };\n autoPlanActions.saveAction(`${actionsPath}/${action.id}`, formData, autoPlanPath);\n };\n\n handleActionCreate = (action, actionsPath, autoPlanPath) => {\n const { autoPlanActions } = this.props;\n if (!this.validateForm(action)) {\n return;\n }\n\n const parentActionId = action.parent_action_id === \"Trigger\" ? null : action.parent_action_id;\n const formData = { ...action, parent_action_id: parentActionId };\n\n autoPlanActions.createAction(actionsPath, formData, autoPlanPath);\n };\n\n handleScheduleTypeChange = (scheduleType) => {\n const { actionForm, autoPlanActions } = this.props;\n const newValues =\n scheduleType === \"computed_time\"\n ? {\n delay: 0,\n delay_factor: 1,\n milestone_id: null,\n run_time: findDefaultRunAfterTimeOption(actionForm.type).value,\n schedule_type: \"computed_time\",\n }\n : {\n parent_action_id: null,\n delay_unit: \"days\",\n schedule_type: \"event\",\n contingent: false,\n };\n\n autoPlanActions.updateActionManyValues(newValues);\n };\n\n handleDelayUnitChange = (delayUnit) => {\n const { actionForm, autoPlanActions } = this.props;\n const newValues = {\n delay_unit: delayUnit,\n run_time: delayUnit === \"days\" ? findDefaultRunAfterTimeOption(actionForm.type).value : null,\n };\n\n autoPlanActions.updateActionManyValues(newValues);\n };\n\n handleAssignedToChange(option) {\n const { autoPlanActions } = this.props;\n const { name, value, assignedToType } = option;\n const resetFields =\n name === \"assigned_to_role\" ? [\"assigned_to_id\", \"assigned_to_type\"] : [\"assigned_to_role\"];\n\n const newValues = { assigned_to_type: assignedToType, [name]: value };\n const resetValues = resetFields.reduce((obj, resetField) => ({ ...obj, [resetField]: null }), {});\n\n autoPlanActions.updateActionManyValues({ ...newValues, ...resetValues });\n }\n\n handleAssignedForChange(option) {\n const { autoPlanActions } = this.props;\n const { name, value, assignedForType } = option;\n const resetFields =\n name === \"assigned_for_role\" ? [\"assigned_for_id\", \"assigned_for_type\"] : [\"assigned_for_role\"];\n\n const newValues = { assigned_for_type: assignedForType, [name]: value };\n const resetValues = resetFields.reduce((obj, resetField) => ({ ...obj, [resetField]: null }), {});\n\n autoPlanActions.updateActionManyValues({ ...newValues, ...resetValues });\n }\n\n handleCCChange(option, prefix, roleUuids = [], peopleUuids = [], emails = [], remove = false) {\n if (!option) return;\n\n const { autoPlanActions } = this.props;\n const { name, value, cc_type: ccType } = option;\n // eslint-disable-next-line no-nested-ternary\n const values = ccType === \"Person\" ? peopleUuids : ccType === \"Role\" ? roleUuids : emails;\n\n if (remove) values.splice(values.indexOf(value), 1);\n else if (!values.includes(value)) values.push(value);\n\n const filteredSet = new Set(values.filter(Boolean));\n\n autoPlanActions.updateActionManyValues({ [`${prefix}${name}`]: Array.from(filteredSet) });\n }\n\n validateForm = (action) => {\n const { autoPlanActions } = this.props;\n const errors = [];\n\n if (\n action.recurring_frequency === \"every\" &&\n !this.isEveryNDaysValid(action.recurring_days_of_frequency)\n ) {\n errors.push(\"Enter 3 digits or less for recurring frequency.\");\n }\n\n if (\n action.recurring_frequency === \"weekly\" &&\n (!action.recurring_days_of_frequency || action.recurring_days_of_frequency.length === 0)\n ) {\n errors.push(\"Select the day of week to recur on.\");\n }\n\n if (\n action.recurring_frequency === \"monthly\" &&\n (!action.recurring_days_of_frequency || action.recurring_days_of_frequency.length === 0)\n ) {\n errors.push(\"Select the day of month to recur on.\");\n }\n\n // Name is not present or it is empty\n if (!action.name && action.name.trim()) {\n errors.push(\"Name can't be blank.\");\n }\n\n if (\n action.assigned_to_id === undefined &&\n action.assigned_to_role !== \"owner\" &&\n action.assigned_to_role !== \"primary_agent\"\n ) {\n errors.push(\"Please select who the task should be assigned to.\");\n }\n if (errors.length > 0) {\n autoPlanActions.submitActionFailure(errors);\n return false;\n }\n\n return true;\n };\n\n setTriggersForModal = (timeline) => {\n const options = [{ label: \"Auto Plan starts\", value: \"Trigger\" }];\n // Destructuring would prevent use of the `?` operator here and cause a TypeError\n // eslint-disable-next-line react/destructuring-assignment\n const idForThisAction = this.props.actionForm?.id || 0;\n\n // We have multiple schedule trigger types (e.g.: after X days, or after a\n // certain milestone like a birthday)\n for (const [scheduleType, optionsForScheduleType] of Object.entries(timeline || {})) {\n // For each of those, we can have multiple of them (e.g.: we can have a\n // triger after 1 day, another after 2... or a trigger for a birthday\n // milestone and another for some other milestone)\n for (const [event, optionsForEvent] of Object.entries(optionsForScheduleType)) {\n // And finally, within each of those, we can have multiple actions\n // (e.g.: several actions triggered after X days), which is how we want\n // to group them together in the UI. As such, we collapse them here into\n // a single option group and label according to the current\n // day/milestone.\n const timelineGroup = Array.prototype.concat(...Object.values(optionsForEvent));\n options.push({\n label: `${this.scheduleTypeLabels[scheduleType]} ${event}`,\n options: Object.values(timelineGroup)\n .map((timelineAction) => {\n const action = this.actionLookup(timelineAction.id);\n if (action.id === idForThisAction) {\n // An action should not be able to trigger itself.\n return null;\n }\n\n return {\n label: (\n <span>\n <strong>{action.type} - </strong> {action.name}\n </span>\n ),\n value: action.id,\n };\n })\n .filter((option) => option !== null),\n });\n }\n }\n\n return options;\n };\n\n relativeTimeLabel = (action) => {\n const atOrBy = action.type === \"Task\" ? \"by\" : \"at\";\n const timeOfDayLabel =\n action.delay_unit === \"days\" && action.run_time\n ? `${atOrBy} ${formattedTimeFromUtcDateTimeString(action.run_at)}`\n : \"\";\n const unitLabel = shortDelayUnits[action.delay_unit];\n\n if (action.parent_action_id) {\n return `${action.delay} ${unitLabel} after ${\n action.parent_action && action.parent_action.type\n } ${timeOfDayLabel}`;\n }\n return `${action.delay} ${unitLabel} after Trigger ${timeOfDayLabel}`;\n };\n\n milestoneTimeLabel = (action) => {\n const atOrBy = action.type === \"Task\" ? \"by\" : \"at\";\n let when = \"\";\n\n // eslint-disable-next-line eqeqeq\n const timeOption = timeOptions().find((e) => e.value == action.run_time);\n const timeOfDayLabel = timeOption ? `${atOrBy} ${timeOption.label}` : \"\";\n const unitLabel = shortDelayUnits[action.delay_unit];\n\n if (action.delay === 0) {\n return timeOfDayLabel;\n }\n if (action.delay > 0) {\n when = \"after\";\n } else if (action.delay < 0) {\n when = \"before\";\n }\n\n return `${Math.abs(action.delay)} ${unitLabel} ${when} ${timeOfDayLabel}`;\n };\n\n deleteButton = () => {\n const { isDeletingAction } = this.props;\n return (\n <DeleteButton\n className=\"tw-float-right\"\n onClick={this.handleDeleteAction}\n disabled={isDeletingAction}\n />\n );\n };\n\n handleDeleteAction = () => {\n const { actionsPath, autoPlanActions, isDeletingAction, activeActionId, autoPlanPath } = this.props;\n const deletePath = `${actionsPath}/${activeActionId}`;\n if (!isDeletingAction) autoPlanActions.deleteAction(deletePath, activeActionId, autoPlanPath);\n };\n\n showNewActionModal = (formOverrides, day = 0) => {\n const { actionForm, autoPlanId, autoPlanActions } = this.props;\n const form = { ...actionForm, ...formOverrides };\n let runAfterTime = {};\n\n if (day !== 0) {\n const runTimeOption = findDefaultRunAfterTimeOption(form.type);\n runAfterTime = { delay: day, delay_unit: \"days\", run_time: runTimeOption.value };\n }\n\n const action = { ...form, ...runAfterTime, auto_plan_id: autoPlanId };\n autoPlanActions.openNewActionModal(action);\n };\n\n // nDaysValue is expected to be an array with one number as a string. For instance: ['1']\n isEveryNDaysValid = (nDaysValue) => {\n if (!nDaysValue || !nDaysValue[0]) {\n return false;\n }\n\n return +nDaysValue[0] > 0 && +nDaysValue[0] < 1000;\n };\n\n groupHeader = (type, value) => {\n if (type === \"days\") {\n return `Day ${value}`;\n }\n return toTitleCase(value);\n };\n\n actionLookup(id) {\n const { actions } = this.props;\n return actions.find((action) => action.id === id);\n }\n\n timeLabel(timelineAction, day) {\n const action = this.actionLookup(timelineAction.id);\n if (!action) {\n return null;\n }\n\n if (action.schedule_type === \"event\") {\n return this.milestoneTimeLabel(action);\n }\n // eslint-disable-next-line eqeqeq\n if (day == 0) {\n return this.relativeTimeLabel(action);\n }\n // eslint-disable-next-line eqeqeq\n const timeOptionLabel = timeOptions().find((e) => e.value == action.run_time);\n return timeOptionLabel ? timeOptionLabel.label : this.relativeTimeLabel(action);\n }\n\n renderModal() {\n const {\n autoPlan,\n isModalOpen,\n actionForm,\n autoPlanActions,\n actionsPath,\n autoPlanPath,\n assignedToOptions,\n assignedForOptions,\n milestoneOptions,\n placeholders,\n timeline,\n hasError,\n errorMessage,\n emailTemplates: propsEmailTemplates,\n } = this.props;\n const { subjectErrorMsg } = this.state;\n const actionType = actionForm.type.toLowerCase();\n const title = actionForm.id ? `Update ${actionType}` : `Create a new ${actionType}`;\n const createOrUpdate = actionForm.id ? this.handleActionUpdate : this.handleActionCreate;\n const ModalForm = modalComponents[actionForm.type];\n const emailTemplates = actionForm.type === \"Email\" ? propsEmailTemplates : null;\n const { days, milestones } = timeline;\n const triggerOptions = this.setTriggersForModal({ days, milestones }) || [];\n\n return (\n <Modal\n show={isModalOpen}\n className=\"action-modal\"\n enforceFocus={false}\n onHide={autoPlanActions.closeNewActionModal}\n backdrop=\"static\"\n >\n <Modal.Header>\n <Modal.Title>{title}</Modal.Title>\n </Modal.Header>\n <Modal.Body deprecatedOverridePaddingClasses=\"tw-pt-15px tw-px-15px\">\n {hasError && <Error errorMessage={errorMessage} />}\n {subjectErrorMsg && <Error errorMessage={subjectErrorMsg} />}\n <div className=\"action-form\">\n <ModalForm\n className=\"action-form\"\n action={actionForm}\n planType={autoPlan.plan_type}\n hideAssignedFor={autoPlan.treat_assignable_as_assigned_for}\n onChange={autoPlanActions.updateActionManyValues}\n handleScheduleTypeChange={this.handleScheduleTypeChange}\n handleDelayUnitChange={this.handleDelayUnitChange}\n onActionSubmit={(e) => {\n if (actionForm.type === \"Email\" && !isWithinSubjectLineLimit(actionForm.name)) {\n return this.setState({ subjectErrorMsg: SUBJECT_LINE_LIMIT_ERROR });\n }\n this.setState({ subjectErrorMsg: null });\n return createOrUpdate(e, actionsPath, autoPlanPath);\n }}\n actionsPath={actionsPath}\n autoPlanPath={autoPlanPath}\n emailTemplates={emailTemplates}\n triggers={triggerOptions}\n milestoneOptions={milestoneOptions}\n onAssignedToChange={(opt) => this.handleAssignedToChange(opt)}\n onAssignedForChange={(opt) => this.handleAssignedForChange(opt)}\n assignedToOptions={assignedToOptions}\n assignedForOptions={assignedForOptions}\n placeholders={placeholders}\n onCloseAction={() => {\n this.setState({ subjectErrorMsg: null });\n autoPlanActions.closeNewActionModal();\n }}\n onCCChange={(opt, prefix, roles, people, emails, remove) =>\n this.handleCCChange(opt, prefix, roles, people, emails, remove)\n }\n />\n </div>\n </Modal.Body>\n </Modal>\n );\n }\n\n renderDeleteModal = () => {\n const { autoPlanActions, isDeleteActionModalOpen, activeActionId, autoPlan } = this.props;\n const activeAction = getActionById(activeActionId, autoPlan);\n\n return (\n activeAction && (\n <Modal show={isDeleteActionModalOpen} onHide={autoPlanActions.closeDeleteActionModal}>\n <Modal.Header closeButton>\n <Modal.Title>\n <span className=\"tw-text-brand-danger\">Do you really want to delete this action?</span>\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <p>\n <span>\n Please note that deleting{\" \"}\n <span className=\"bold\">\n {activeAction.type}: {activeAction.name}{\" \"}\n </span>\n will also delete all tasks and interactions contingent on that.\n </span>\n </p>\n {activeAction && activeAction.descendants.length > 0 && (\n <div>\n <p>The following actions will also be deleted if this action is removed.</p>\n\n {activeAction.descendants.map((descendant) => (\n <p key={`to-delete-${descendant.id}`}>\n <span className=\"bold\">\n {descendant.type}: {descendant.name}\n </span>\n </p>\n ))}\n </div>\n )}\n <div className=\"p-t-20\">\n <CancelButton\n size=\"small\"\n className=\"modal-cancel\"\n onClick={autoPlanActions.closeDeleteActionModal}\n />\n {this.deleteButton()}\n </div>\n </Modal.Body>\n </Modal>\n )\n );\n };\n\n renderActions(actions) {\n const { autoPlanActions } = this.props;\n return (\n actions &&\n actions.map((a) => {\n const action = this.actionLookup(a.id);\n\n return (\n action && (\n <Action\n key={action.id}\n action={action}\n autoPlanActions={autoPlanActions}\n />\n )\n );\n })\n );\n }\n\n renderNewActionButtons(groupType, day) {\n return (\n <Row>\n <Col size={12}>\n <div className=\"d-flex flex-row flex-items-center\">\n <div className={ACTION_BTN_LABEL}>Add a new</div>\n <div className=\"tw-flex tw-gap-[10px]\">\n {Object.keys(modalComponents).map((type) => (\n <Button\n key={type}\n size=\"medium\"\n schema=\"secondary\"\n onClick={() => this.showNewActionModal({ type }, groupType === \"days\" && day)}\n >\n {type}\n </Button>\n ))}\n </div>\n </div>\n </Col>\n </Row>\n );\n }\n\n render() {\n const { actions, isModalOpen, isDeleteActionModalOpen, activeActionId, timeline } = this.props;\n // extracting dates from timeline since this will be render\n let groups;\n if (timeline) {\n const { dates, ...restOfTimeline } = timeline;\n groups = { ...restOfTimeline };\n }\n\n return (\n <div className=\"auto-plan-timeline\">\n {groups && !hasProperties(groups) && (\n <h3 className=\"day-label !tw-mt-0 !tw-mb-[16px]\">{this.groupHeader(\"days\", 0)}</h3>\n )}\n {groups && !hasProperties(groups) && this.renderNewActionButtons(\"days\", 0)}\n {actions &&\n actions.length > 0 &&\n groups &&\n //sorted by grouping (i.e. milestone, days)\n Object.keys(groups).map((groupType) => (\n <div key={groupType}>\n {groups[groupType] &&\n //sorted by within milestone or days (i.e. birthdays, 0, 1, 2)\n Object.keys(groups[groupType]).map((day) => (\n <div key={day} className=\"auto-plan-timeline-day\">\n <div>\n <h3 className=\"day-label\">{this.groupHeader(groupType, day)}</h3>\n </div>\n <div className=\"auto-plan-timeline-day-content p-l-15\">\n {groups[groupType][day] &&\n Object.keys(groups[groupType][day])\n .sort()\n .map((time) => (\n <div key={`auto-plan-${time}`} className=\"d-flex\">\n <div className=\"auto-plan-timeline-left-column\">\n <div className=\"time-label\">\n {\" \"}\n {this.timeLabel(groups[groupType][day][time][0], day)}{\" \"}\n </div>\n </div>\n <div className=\"auto-plan-timeline-right-column\">\n <div className=\"action\">\n <div>{this.renderActions(groups[groupType][day][time])}</div>\n </div>\n </div>\n </div>\n ))}\n </div>\n\n {this.renderNewActionButtons(groupType, day)}\n </div>\n ))}\n </div>\n ))}\n {isDeleteActionModalOpen && activeActionId && this.renderDeleteModal()}\n {isModalOpen && this.renderModal()}\n </div>\n );\n }\n}\n\nActions.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n actionForm: PropTypes.objectOf(PropTypes.any).isRequired,\n actionsPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n actions: PropTypes.arrayOf(PropTypes.any).isRequired,\n activeActionId: PropTypes.string,\n // eslint-disable-next-line react/forbid-prop-types\n assignedForOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n assignedToOptions: PropTypes.arrayOf(PropTypes.any).isRequired,\n autoPlanId: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlan: PropTypes.objectOf(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanActions: PropTypes.objectOf(PropTypes.any).isRequired,\n autoPlanPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n emailTemplates: PropTypes.arrayOf(PropTypes.any).isRequired,\n errorMessage: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.arrayOf(PropTypes.string)])\n .isRequired,\n hasError: PropTypes.bool.isRequired,\n isDeleteActionModalOpen: PropTypes.bool.isRequired,\n isDeletingAction: PropTypes.bool.isRequired,\n isModalOpen: PropTypes.bool.isRequired,\n milestoneOptions: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n placeholders: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n timeline: PropTypes.shape(),\n};\n\nActions.defaultProps = {\n activeActionId: null,\n timeline: null,\n};\n\nconst mapStateToProps = ({ autoPlanEdit: { assignedToOptions, assignedForOptions, ...autoPlanEdit } }) => ({\n ...autoPlanEdit,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n autoPlanActions: bindActionCreators(autoPlanActionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Actions);\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport Button from \"@shared/v2/Button\";\nimport { ACTION_BTN_LABEL } from \"../../styles\";\n\nconst AddNewActions = ({taskBtnOnClick, emailBtnOnClick, textBtnOnClick}) => (\n <div className=\"tw-flex flex-row flex-items-center tw-mt-[32px]\">\n <div className={ACTION_BTN_LABEL}>Add a new</div>\n <div className=\"tw-flex tw-gap-[10px]\">\n <Button\n key='TaskNewActions'\n size=\"medium\"\n schema='secondary'\n onClick={taskBtnOnClick}\n >\n Task\n </Button>\n <Button\n key='EmailNewActions'\n size=\"medium\"\n schema='secondary'\n onClick={emailBtnOnClick}\n >\n Email\n </Button>\n <Button\n key='TextNewActions'\n size=\"medium\"\n schema='secondary'\n onClick={textBtnOnClick}\n >\n Text\n </Button> \n </div>\n </div>\n)\nexport default AddNewActions;\n\nAddNewActions.propTypes = {\n taskBtnOnClick: func.isRequired, \n emailBtnOnClick: func.isRequired, \n textBtnOnClick: func.isRequired,\n}\n","import React from \"react\";\nimport { string } from \"prop-types\";\nimport { formattedTimeFromUtcDateTimeString } from \"@shared/TimeHelpers\";\n\nconst formatDate = (inputDate) => {\n const [day, month, year] = inputDate.split('/');\n const formattedDate = new Date(`${month}/${day}/${year}`).toLocaleDateString('en-US', {\n month: 'short', // Use 'short' instead of 'long'\n day: 'numeric',\n year: 'numeric', // Include the year\n });\n\n return formattedDate;\n};\n\nconst TimeStamp = ({ date, localRunTime }) => (\n <div className=\"tw-min-w-[124px] tw-w-[10.65%] tw-mr-[16px] tw-pt-[8px]\">\n <div className='tw-text-14d'>{formatDate(date)}</div>\n <div className='tw-text-14d tw-uppercase'>{formattedTimeFromUtcDateTimeString(localRunTime)}</div>\n </div>\n)\n\nexport default TimeStamp;\n\nTimeStamp.propTypes = {\n date: string, \n localRunTime: string\n}\n\nTimeStamp.defaultProps = {\n date: '', \n localRunTime: ''\n}","import React from \"react\";\nimport { bool, oneOf } from \"prop-types\";\nimport { ArrowTurnUpSolidV6, CommentDotsRegularV6, EnvelopeRegularV6, ListUlSolidV6 } from \"@shared/v2/Icomoon\";\n\n\nconst TYPE_ICON_MAP = {\n Task: ListUlSolidV6,\n Email: EnvelopeRegularV6,\n Text: CommentDotsRegularV6,\n}\n\n\nconst Icon = ({type, contingent}) => {\n const TypeIcon = TYPE_ICON_MAP[type];\n\n return (\n <div className={`${contingent ? 'tw-bg-[#DEF3F3] tw-text-teal': 'tw-bg-teal tw-text-white'} tw-w-[48px] tw-h-[48px] tw-rounded-full tw-flex tw-items-center tw-justify-center tw-relative tw-flex-none`}>\n {contingent && \n <div className=\"tw-w-[16px] tw-h-[16px] tw-rounded-full tw-bg-white tw-flex tw-items-center tw-justify-center tw-absolute tw-top-0 tw-right-0\">\n <ArrowTurnUpSolidV6 size='s'/>\n </div>\n } \n <TypeIcon\n size='l'/>\n </div>\n )\n};\n\nexport default Icon;\n\nIcon.propTypes = {\n type: oneOf(['Task', 'Email', 'Text']).isRequired,\n contingent: bool,\n}\n\nIcon.defaultProps = {\n contingent: false\n}","import { number, string } from \"prop-types\";\nimport React from \"react\";\n\nconst PriorityIndicator = ({ priority, className }) => priority && (\n <div className={`tw-border-[1.5px] tw-border-solid tw-rounded-full tw-border-orange-light tw-text-orange-light tw-w-[20px] tw-h-[20px] tw-flex tw-items-center tw-justify-center ${className}`}>\n {priority}\n </div>\n)\n\nexport default PriorityIndicator;\n\nPriorityIndicator.propTypes = {\n priority: number,\n className: string\n}\n\nPriorityIndicator.defaultProps = {\n priority: null,\n className: ''\n}","import React from \"react\";\nimport { number, string } from \"prop-types\";\n\nimport PriorityIndicator from \"./PriorityIndicator\";\n\nconst ActionHeader = ({ type, name, priority }) => (\n <div className=\"tw-flex tw-gap-[4px] tw-text-gray-75\">\n <span>{type}:</span>\n <span className=\"tw-text-ellipsis tw-h-[20px] tw-overflow-hidden tw-max-w-[665px] tw-whitespace-nowrap\">{name}</span>\n <PriorityIndicator\n priority={priority}\n className=\"tw-ml-[4px]\"/>\n </div>\n);\n\nexport default ActionHeader;\n\nActionHeader.propTypes = {\n type: string.isRequired,\n name: string.isRequired,\n priority: number\n}\n\nActionHeader.defaultProps = {\n priority: 9\n}","import React from \"react\";\nimport { string } from \"prop-types\";\n\nconst ActionDescriptor = ({ from }) => (\n <div className=\"tw-text-12d !tw-text-gray-50\">from {from}</div>\n);\n\nexport default ActionDescriptor;\n\nActionDescriptor.propTypes = {\n from: string.isRequired\n}","/* eslint-disable camelcase */\nimport React, { useState } from \"react\";\nimport { bool, number, oneOf, shape, string } from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport moment from \"moment-timezone\";\n\nimport { PencilSolidV6, TrashCanSolidV6 } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { toggleTaskActionModal, toggleEmailActionModal, toggleTextActionModal } from \"../../actions/autoPlansActionCreators\";\nimport TimeStamp from \"./TimeStamp\";\nimport Icon from \"./Icon\";\nimport ActionHeader from \"./ActionHeader\";\nimport ActionDescriptor from './ActionDescriptor';\nimport { useAutoPlanId } from \"../../../reducers/autoPlanEdit\";\nimport { deleteAction } from \"../../actions/autoPlanActionCreators\";\n\n\nconst ACTION_TYPE_TOGGLE_MODAL = {\n 'Task': toggleTaskActionModal,\n 'Email': toggleEmailActionModal,\n 'Text': toggleTextActionModal\n}\n\nconst convertFormTimestampToObject = ({local_run_at}) => ({\n run_time: moment(local_run_at).format('HH:mm')\n});\n\nconst ActionV2 = ({action, from}) => {\n const [ showBtns, toggleBtns ] = useState(false);\n const autoPlanId = useAutoPlanId()\n const toggleModal = ACTION_TYPE_TOGGLE_MODAL[action.type];\n const dispatch = useDispatch();\n\n return (\n <div className=\"tw-flex tw-h-[80px] tw-pt-[8px]\">\n <TimeStamp\n date={action.day_month_year}\n localRunTime={action.local_run_at}/>\n <div \n className={`tw-flex tw-rounded-[8px] tw-pt-8px hover:tw-bg-tinted-gray-50 tw-cursor-default ${action.contingent ? 'tw-pl-96px' : 'tw-pl-40px'} tw-w-full`}\n onMouseEnter={() => toggleBtns(true)}\n onMouseLeave={() => toggleBtns(false)}>\n <Icon\n type={action.type ? action.type : 'Task' }\n contingent={action.contingent}/>\n <div className=\"tw-ml-16px tw-pt-[12px]\">\n <ActionHeader\n type={action.type ? action.type : 'Task'}\n name={action.name}\n priority={action.priority}\n />\n <ActionDescriptor\n from={from}/>\n </div>\n {showBtns &&\n <div className=\"tw-flex tw-gap-[8px] tw-ml-auto tw-pt-[16px] tw-pr-[8px]\">\n <IconButton \n onClick={() => dispatch(toggleModal(true, 'put', {\n ...action,\n ...convertFormTimestampToObject(action)\n }))}\n schema='tertiary' \n size='small'\n className='tw-flex tw-items-center tw-justify-center tw-h-[24px] tw-w-[24px]'>\n <PencilSolidV6 size='m'/>\n </IconButton>\n <IconButton\n onClick={() => dispatch(deleteAction(\n `/auto_plans/${autoPlanId}/actions/${action.id}`,\n action.id,\n `/auto_plans/${autoPlanId}`\n ))} \n size='small'\n schema='tertiary' \n className='tw-flex tw-items-center tw-justify-center tw-h-[24px] tw-w-[24px]'>\n <TrashCanSolidV6 size='m'/>\n </IconButton>\n </div> \n } \n </div>\n </div>\n )\n};\n\nexport default ActionV2;\n\nActionV2.propTypes = {\n action: shape({\n day_month_year: string,\n run_time: string,\n type: oneOf(['Task', 'Email', 'Text']),\n name: string,\n priority: number,\n contingent: bool\n }).isRequired,\n from: string.isRequired\n}\n","import React from \"react\";\nimport { arrayOf, shape } from \"prop-types\";\nimport { find } from \"lodash\";\n\nimport ActionV2 from \"../ActionV2\";\nimport { useActions } from \"../../../reducers/autoPlanEdit\";\n\nconst SpecificDatesActions = ({actions}) => {\n const listOfAllActions = useActions();\n\n return (\n <div className={`tw-mt-[16px] tw-px-[24px] ${Boolean(actions.length) && 'tw-pt-[32px]'}`}>\n {actions?.map(({id}) => {\n const action = find(listOfAllActions, { id });\n\n return <ActionV2\n key={id}\n action={action}\n from={action.assigned_to_label}/>\n }\n )}\n </div>\n )\n}\n\nexport default SpecificDatesActions;\n\nSpecificDatesActions.propTypes = {\n actions: arrayOf(shape({}))\n};\n\nSpecificDatesActions.defaultProps = {\n actions: [{\n assigned_to_id: null,\n assigned_to_role: 'owner',\n assigned_to_type: null,\n auto_plan_id: \"ed325347-400b-4423-a073-e24f9bc32a12\",\n contingent: true,\n delay: \"0\",\n delay_factor: 1,\n delay_unit: \"days\",\n instructions: \"xx\",\n name: \"neww task\",\n note: \"yy\",\n priority: 3,\n run_time: \"17:00\",\n day_month_year: '15/05/2024',\n schedule_type: \"computed_time\",\n type: \"Task\",\n }]\n}\n","import React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { CalendarDaysSolidV6, ChevronDownSolidV6, ChevronUpSolidV6 } from \"@shared/v2/Icomoon\";\nimport { primaryDisabled, headline2 } from \"@shared/styles\";\nimport AddNewActions from \"../AddNewActions\";\nimport { useTimeline } from \"../../../reducers/autoPlanEdit\";\nimport { toggleEmailActionModal, toggleTaskActionModal, toggleTextActionModal } from \"../../actions/autoPlansActionCreators\";\nimport SpecificDatesActions from \"./SpecificDatesActions\";\n\nconst SpecificDatesAddNewActions = () => {\n const dispatch = useDispatch()\n \n return (\n <AddNewActions\n taskBtnOnClick={() => dispatch(toggleTaskActionModal(true))} \n emailBtnOnClick={() => dispatch(toggleEmailActionModal(true))}\n textBtnOnClick={() => dispatch(toggleTextActionModal(true))}/>\n)}\n\nconst SpecificDates = () => {\n const [expand, setExpand] = useState(false);\n const Chevron = expand ? ChevronUpSolidV6 : ChevronDownSolidV6;\n const timeline = useTimeline();\n\n const hasActions = timeline?.dates.length;\n\n return (\n <div className={`tw-border-[2px] tw-border-[#EBEBEB] tw-border-solid tw-rounded-[12px] tw-p-[24px] ${primaryDisabled}`}>\n <div\n onClick={() => setExpand(!expand)}\n onKeyDown={() => setExpand(!expand)} \n role=\"button\"\n tabIndex=\"0\"\n className={`tw-flex tw-items-center ${hasActions ? \n 'tw-text-gray-base' : ''}`}>\n <CalendarDaysSolidV6\n size='xxl'\n className='tw-mr-[12px]'/>\n <span className={`${headline2} tw-mr-[12px]`}>Specific Dates ({hasActions})</span>\n <Chevron\n size='l'\n className='tw-cursor-pointer'/>\n </div> \n {expand &&\n <>\n <SpecificDatesActions actions={timeline?.dates ? timeline.dates : []}/>\n <SpecificDatesAddNewActions/>\n </>}\n </div>\n )\n};\n\nexport default SpecificDates;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport { FormGroup } from \"../../shared/v1\";\n\nconst AutoPauseOnCondition = ({ checkedValue, handleUpdate, ...rest }) => (\n <FormGroup> \n <RadioButton\n value='true'\n checked={checkedValue === true || checkedValue === \"true\"}\n onClick={(e) => handleUpdate(e.target.name, e.target.value)}\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n containerClassName='tw-mr-[12px]'\n label='Yes'\n {...rest}\n />\n <RadioButton\n value='false'\n checked={checkedValue === false || checkedValue === \"false\"}\n onClick={(e) => handleUpdate(e.target.name, e.target.value)}\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n label='No'\n {...rest}\n />\n </FormGroup>\n);\n\nexport default AutoPauseOnCondition;\n\nAutoPauseOnCondition.propTypes = {\n checkedValue: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]).isRequired,\n handleUpdate: PropTypes.func.isRequired,\n};\n","/* eslint-disable camelcase */\nimport React, { useEffect, useState } from \"react\";\nimport { arrayOf, func, shape, string } from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { useGeneralRolesById, useTeamRolesById, useUserById } from \"../../../reducers/autoPlanEdit\";\n\nconst AssignToDropdown = ({options, setState, label, state, containerClassName}) => {\n const [ value, setValue ] = useState(null);\n\n const TYPE_TO_USE_ID = {\n 'Role': useTeamRolesById(),\n 'User': useUserById()\n }\n\n const generalRolesById = useGeneralRolesById()\n\n useEffect(() => {\n const {\n assigned_to_type,\n assigned_to_id,\n assigned_to_role\n } = state;\n\n const lookupTable = TYPE_TO_USE_ID[assigned_to_type] || generalRolesById;\n const lookupValue = assigned_to_role || assigned_to_id;\n\n setValue({label: lookupTable[lookupValue], value: lookupValue})\n }, [state])\n\n return (\n <Dropdown\n menuShouldComeToFront\n containerClassName={`tw-w-[264px] ${containerClassName}`}\n label={label}\n options={options}\n value={value}\n onChange={setState}\n isRequired/>\n )\n};\n\nexport default AssignToDropdown;\n\nAssignToDropdown.propTypes = {\n options: arrayOf(shape({})).isRequired,\n label: string.isRequired,\n setState: func.isRequired,\n state: shape({}),\n containerClassName: string\n}\n\nAssignToDropdown.defaultProps = {\n state: {},\n containerClassName: ''\n}\n","import React from \"react\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\n\nimport { primaryLight, bodyS } from \"@shared/styles\";\nimport { func, string } from \"prop-types\";\n\nconst TaskDetailField = ({value, setValue}) => (\n <div>\n <TextComboInput\n label='Task Details'\n value={value}\n onChange={(e) => setValue(e.target.value)}\n isRequired/>\n <div className={`${bodyS} ${primaryLight} tw-mt-4px`}>{value ? value.length : 0} / 255</div>\n </div>\n);\n\nexport default TaskDetailField;\n\nTaskDetailField.propTypes = {\n value: string, \n setValue: func\n}\n\nTaskDetailField.defaultProps = {\n value: '', \n setValue: () => {}\n}","import React, { useState } from \"react\";\nimport { func, string } from \"prop-types\";\nimport moment from \"moment\";\n\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport DatePicker from \"@shared/v2/DatePicker\";\n// import Checkbox from \"@shared/v2/Checkbox\";\n\nimport { primaryLight, subtleM } from \"@shared/styles\";\nimport { Delay, DelayAndScheduleLabel, Schedule } from \"../ActionFormHelpers\";\nimport { checkIfDateStringIsWithinRange } from \"../../helpers\";\n\nconst ComputedTimeOptions = () => (\n <div className=\"\">\n <DelayAndScheduleLabel\n delayLabel=\"Due\"\n scheduleLabel=\"After\"\n />\n\n <Delay\n // delayFactor={task.delay_factor}\n // delayOnChange={onChange}\n // delayValue={task.delay}\n // delayUnitValue={task.delay_unit}\n // delayUnitOnChange={handleDelayUnitChange}\n // scheduleType={task.schedule_type}\n />\n\n <Schedule\n type='computed_time'\n // delay={task.delay}\n // delayFactor={task.delay_factor}\n // onChange={onChange}\n // parentActionId={task.parent_action_id}\n // triggers={triggers}\n // milestoneOptions={milestoneOptions}\n // milestoneId={task.milestone_id}\n /> \n </div> \n)\n\nconst EventOptions = () => (\n <div className=\"\">\n <DelayAndScheduleLabel\n delayLabel=\"Due\"\n />\n <Delay\n // delayFactor={task.delay_factor}\n // delayOnChange={onChange}\n // delayValue={task.delay}\n // delayUnitValue={task.delay_unit}\n // delayUnitOnChange={handleDelayUnitChange}\n // scheduleType={task.schedule_type}\n />\n\n <Schedule\n type='event'\n // delay={task.delay}\n // delayFactor={task.delay_factor}\n // onChange={onChange}\n // parentActionId={task.parent_action_id}\n // triggers={triggers}\n // milestoneOptions={milestoneOptions}\n // milestoneId={task.milestone_id}\n />\n </div>\n)\n\n// TODO: Reenable when B/E is ready\n// eslint-disable-next-line no-unused-vars\nconst DateTime = ({ setState, value }) => {\n // eslint-disable-next-line no-unused-vars\n const [checked, setChecked] = useState('specificDateAndTime')\n const setCheckedHandlr = (e) => setChecked(e.target.value);\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\"/>\n <div className=\"tw-flex tw-gap-[24px] tw-hidden\">\n {/* <RadioButton\n value='computedTime'\n label='Computed Time'\n className='tw-cursor-pointer'\n checked={checked === 'computedTime'}\n onClick={setCheckedHandlr}\n />\n <RadioButton\n value='event'\n label='Event'\n className='tw-cursor-pointer'\n checked={checked === 'event'}\n onClick={setCheckedHandlr}\n /> */}\n <RadioButton\n value='specificDateAndTime'\n label='Specific Date and Time'\n className='tw-cursor-pointer'\n checked={checked === 'specificDateAndTime'}\n onClick={setCheckedHandlr}\n />\n </div>\n \n {checked === 'computedTime' &&\n <ComputedTimeOptions/>\n } \n\n {checked === 'event' &&\n <EventOptions/>\n }\n {checked === 'specificDateAndTime' && \n <div>\n <div className={`${subtleM} ${primaryLight} tw-mb-8px`}>Due</div>\n <DatePicker\n startTimeClassName=\"!tw-hidden\"\n containerClassName='tw-w-[264px]'\n position='bottom'\n value={value}\n startTimeEnabled\n onChange={setState}\n minDate={moment().format('MM/DD/YYYY')}\n maxDate={moment().set({ month: 11, date: 31 }).add(1, 'years').format('MM/DD/YYYY')}\n enableTimePicker\n inputProps={{\n error: checkIfDateStringIsWithinRange(value)\n }}/>\n </div>\n } \n {/* TOOD: Re-enable when B/E is ready */}\n {/* <div className=\"tw-flex tw-items-baseline\">\n <Checkbox\n checked={contingent}\n onChange={() => setContingentValue(!contingent)}/>\n <span className='tw-ml-6px tw-text-14d tw-transform-[translateY(-3px)]'>Make Contingent (Due time auto-updates based on when the previous action is completed)</span>\n </div> */}\n </div>\n )\n}\n\nexport default DateTime;\n\nDateTime.propTypes = { \n setState: func.isRequired,\n value: string\n}\n\nDateTime.defaultProps = { \n value: null\n}","import React from \"react\";\nimport { func, number, oneOfType, string } from \"prop-types\";\n\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { bodyS } from \"@shared/styles\";\n\nconst PriorityRadio = ({ value, setValue }) => (\n <div>\n <FieldLabel className=\"tw-mb-8px\" label=\"Priority\" isRequired />\n <div className=\"tw-flex tw-justify-between\">\n {Array.from({ length: 9 }, (_, index) => index + 1).map((n) => (\n <RadioButton\n value={n}\n label={`${n}`}\n className=\"tw-cursor-pointer\"\n checked={value === n}\n onClick={() => setValue(n)}\n />\n ))}\n </div>\n <div className=\"tw-flex tw-justify-between tw-mt-4px\">\n <span className={bodyS}>Highest</span>\n <span className={bodyS}>Lowest</span>\n </div>\n </div>\n);\n\nexport default PriorityRadio;\n\nPriorityRadio.propTypes = {\n value: oneOfType([string, number]).isRequired,\n setValue: func.isRequired,\n};\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport { PlusSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst BtnToggle = ({ label, className , onClick}) => (\n <Button\n size=\"small\"\n schema='secondary'\n onClick={onClick}\n className={`tw-inline-flex tw-items-center ${className}`}\n >\n <PlusSolidV6\n className='tw-mr-[4px]'/> \n <span className=\"tw-uppercase\">{label}</span>\n </Button>\n);\n\nexport default BtnToggle;\n\nBtnToggle.propTypes = {\n label: string.isRequired,\n onClick: func.isRequired,\n className: string,\n}\n\nBtnToggle.defaultProps = {\n className: '',\n}","import React from \"react\";\nimport { Trash } from \"@shared/v2/Icomoon\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport { bool, func, string } from \"prop-types\";\n\nconst TaskInputToggle = ({ label, value, show, setValue, onClose, textareaId }) => show && (\n <div>\n <div className=\"tw-flex tw-justify-between tw-items-end tw-mr-[40px] tw-mb-[8px]\">\n <div className=\"tw-text-neutral-gray-50 tw-text-14px tw-font-semibold tw-capitalize\">{label}</div>\n <AiAssistant\n textareaId={textareaId}\n messageType=\"Generic\"\n onInsertClick={(text) => setValue(text)}\n /> \n </div>\n <div className=\"tw-flex tw-items-center\">\n <div className=\"tw-w-full\">\n <TextInput\n className=\"tw-grow\"\n value={value}\n textareaId={textareaId}\n onChange={(e) => setValue(e.target.value)}\n multiline\n />\n </div>\n <button\n aria-label=\"delete\"\n type=\"button\"\n onClick={onClose}\n className=\"tw-w-36px tw-h-36px tw-border-1px tw-rounded-[2px] tw-border-solid tw-border-neutral-gray-15 tw-bg-[#F5F7F7] tw-flex tw-items-center tw-justify-center tw-ml-[4px] tw-cursor-pointer\"\n >\n <Trash\n onClick={() => setValue('')}\n size=\"l\" />\n </button>\n </div>\n </div>\n)\n\nexport default TaskInputToggle;\n\nTaskInputToggle.propTypes = {\n label: string.isRequired, \n textareaId: string.isRequired,\n value: string,\n onClose: func.isRequired,\n setValue: func.isRequired,\n show: bool\n};\n\nTaskInputToggle.defaultProps = {\n value: '',\n show: false\n};","import React, { useEffect, useState } from \"react\";\nimport { func, string } from \"prop-types\";\nimport BtnToggle from \"../BtnToggle\";\nimport TaskInputToggle from \"../TaskActionModal/TaskInputToggle\";\n\nconst TaskToggles = ({setInstructions, setNotes, instructions, notes}) => {\n const [isInstructionsOpen, setIsInstructionsOpen] = useState(false);\n const [isNotesOpens, setIsNotesOpen] = useState(false);\n\n useEffect(() => {\n if(instructions.trim().length){\n setIsInstructionsOpen(true)\n }\n }, [instructions])\n\n useEffect(() => {\n if(notes.trim().length){\n setIsNotesOpen(true)\n }\n }, [notes])\n\n return (\n <>\n <div className='tw-flex tw-gap-[8px]'>\n {!isInstructionsOpen &&\n <BtnToggle\n label='instructions'\n onClick={() => setIsInstructionsOpen(true)}/>\n } \n {!isNotesOpens &&\n <BtnToggle\n label='notes'\n onClick={() => setIsNotesOpen(true)}/>\n } \n </div>\n <TaskInputToggle\n show={isInstructionsOpen}\n onClose={() => setIsInstructionsOpen(false)}\n setValue={setInstructions}\n value={instructions}\n textareaId='sp_instructions'\n label='instructions'/>\n <TaskInputToggle\n show={isNotesOpens}\n onClose={() => setIsNotesOpen(false)}\n setValue={setNotes}\n value={notes}\n textareaId='sp_notes'\n label='notes'/>\n </>\n )\n}\n\nexport default TaskToggles;\n\nTaskToggles.propTypes = {\n setInstructions: func.isRequired, \n setNotes: func.isRequired, \n instructions: string, \n notes: string\n}\n\nTaskToggles.defaultProps = {\n instructions: '', \n notes: ''\n}\n","/* eslint-disable no-param-reassign */\n/* eslint-disable import/prefer-default-export */\nimport { produce } from \"immer\";\nimport { useDispatch } from \"react-redux\";\nimport { useEffect, useState } from \"react\";\nimport { useSpecificActionSubmit } from \"../reducers/autoPlanEdit\";\nimport { createAction, saveAction } from \"./actions/autoPlanActionCreators\";\n\nexport const useFormState = ({\n defaultState,\n form,\n autoPlanId,\n show\n}) => {\n const [state, setState] = useState({\n ...defaultState,\n ...form,\n auto_plan_id: autoPlanId,\n });\n\n useEffect(() => {\n setState({\n ...defaultState,\n ...form,\n auto_plan_id: autoPlanId,\n })\n }, [show])\n\n\n // most usecase, we'll use this;\n const setStateHandlr = (key) => (val) => setState(produce(state, (draft) => {\n draft[key] = val\n }))\n\n return {state, setState, setStateHandlr};\n}\n\nexport const useActionFormSubmitHandler = (autoPlanId) => {\n const specificActionSubmit = useSpecificActionSubmit();\n const isPosting = specificActionSubmit === 'post';\n const dispatch = useDispatch();\n\n return (form) => { \n const appendedRequestPath = isPosting ? '' : `/${form.id}`;\n const requestPath = `${autoPlanId}/actions${appendedRequestPath}`\n const requestAction = isPosting ? createAction : saveAction;\n \n dispatch(requestAction(requestPath, form, autoPlanId))\n }\n}\n\n","import React from \"react\";\nimport Error from \"@shared/Error\";\nimport { arrayOf, string } from \"prop-types\";\n\nimport { useErrorMessages } from \"../../../reducers/autoPlanEdit\";\n\nconst ErrorInModal = ({ additionalErrors }) => {\n const errorMessage = useErrorMessages()\n\n return (\n <>\n {Boolean(additionalErrors.length) && <Error errorMessage={additionalErrors} />}\n {errorMessage && <Error errorMessage={errorMessage} />}\n </>\n )\n};\n\nexport default ErrorInModal;\n\nErrorInModal.propTypes = {\n additionalErrors: arrayOf(string),\n}\n\nErrorInModal.defaultProps = {\n additionalErrors: [],\n}","/* eslint-disable camelcase */\n/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { produce } from \"immer\";\nimport { arrayOf, bool, func, shape, string } from \"prop-types\";\nimport moment from \"moment\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport { useSpecificActionSubmit } from \"../../../reducers/autoPlanEdit\";\nimport AssignToDropdown from \"../AssignToDropdown\";\nimport TaskDetailField from \"./TaskDetailField\";\nimport DateTime from '../DateTime';\nimport PriorityRadio from \"../PriorityRadio\";\n// import RecurringFrequencyDropdown from \"../RecurringFrequencyDropdown\";\nimport TaskToggles from \"../TaskToggles\";\nimport { convertDateFormat, formatDateAndTimeToDatePicker, onSaveDateAdapter } from \"../../helpers\";\nimport { useFormState } from \"../../hooks\";\nimport ErrorInModal from \"../ErrorInModal\";\n\nconst DEFAULT_STATE = {\n assigned_to_id: null,\n assigned_to_role: 'owner',\n assigned_to_type: null,\n delay_unit: 'days',\n contingent: false,\n instructions: '',\n name: null,\n note: '',\n priority: 9,\n run_time: \"17:00\",\n day_month_year: moment().format('DD/MM/YYYY'),\n recurring_frequency: \"never\",\n recurring_days_of_frequency: \"\",\n schedule_type: \"specific_date_time\",\n type: \"Task\",\n}\n\nconst TaskActionModal = ({show, onHide, onSave, form, assignedToOptions, autoPlanId, isSubmitting}) => {\n const formSubmitAction = useSpecificActionSubmit();\n const { state, setState, setStateHandlr } = useFormState({\n defaultState: DEFAULT_STATE,\n form,\n autoPlanId,\n show\n });\n\n const onHideHandlr = () => {\n setState({\n ...DEFAULT_STATE,\n auto_plan_id: autoPlanId,\n });\n onHide();\n }\n\n return (\n <Modal\n show={show}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n onHide={onHideHandlr}\n closeButton\n >\n <Modal.Header title={formSubmitAction === 'post' ? 'Create a new Task' : 'Update Task'} className=\"tw-mb-40px\" closeButton />\n <Modal.Body className=\"tw-gap-[24px] tw-flex tw-flex-col tw-h-[480px] tw-overflow-y-auto\">\n <TaskDetailField\n value={state.name}\n setValue={setStateHandlr('name')}/>\n <TaskToggles\n instructions={state.instructions}\n notes={state.note}\n setInstructions={setStateHandlr('instructions')}\n setNotes={setStateHandlr('note')}/>\n <DateTime\n setState={(dateStr) => {\n const { day_month_year, run_time } = convertDateFormat(dateStr);\n\n setState(prev => produce(prev, (draft) => {\n draft.day_month_year = day_month_year;\n draft.run_time = run_time;\n }))\n }}\n value={formatDateAndTimeToDatePicker(state.day_month_year, state.run_time)}/>\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\"/>\n <AssignToDropdown\n options={assignedToOptions}\n label='Assign To'\n state={{\n assigned_to_id: state.assigned_to_id,\n assigned_to_type: state.assigned_to_type,\n assigned_to_role: state.assigned_to_role,\n }}\n setState={(e) => setState(prev => ({\n ...prev,\n assigned_to_id: e.assignedToType ? e.value : null,\n assigned_to_role: e.assignedToType ? null : e.value,\n assigned_to_type: e.assignedToType || null,\n }))}/>\n <PriorityRadio\n value={state.priority}\n setValue={setStateHandlr('priority')}/>\n {/* TODO: Re-enable when B/E is good to go */}\n {/* <RecurringFrequencyDropdown\n setValueOne={(freq) => setState((prev) => produce(prev, (draft) => {\n draft.recurring_days_of_frequency = '';\n draft.recurring_frequency = freq;\n }))}\n valueOne={state.recurring_frequency}/> */}\n <ErrorInModal/>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-between tw-mt-[40px]\">\n <Button size=\"medium\" schema=\"secondary\" onClick={onHideHandlr}>\n Cancel\n </Button>\n\n <Button size=\"medium\" schema=\"primary\" onClick={() => onSave(onSaveDateAdapter(state))} isLoading={isSubmitting}>\n Save\n </Button>\n </Modal.Footer>\n </Modal>\n )\n};\n\nexport default TaskActionModal;\n\nTaskActionModal.propTypes = {\n show: bool,\n onHide: func,\n onSave: func,\n isSubmitting: bool,\n form: shape({}),\n autoPlanId: string.isRequired,\n assignedToOptions: arrayOf(shape({})).isRequired,\n}\n\nTaskActionModal.defaultProps = {\n show: false,\n isSubmitting: false,\n onHide: () => {},\n onSave: () => {},\n form: {}\n}\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\n\nconst EmailSubjectField = ({value, setValue}) => (\n <TextComboInput\n label='Email Subject'\n value={value}\n onChange={(e) => setValue(e.target.value)}/>\n);\n\nexport default EmailSubjectField;\n\nEmailSubjectField.propTypes = {\n value: string,\n setValue: func.isRequired,\n}\n\nEmailSubjectField.defaultProps = {\n value: '',\n}","import React, { useEffect, useState } from \"react\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { arrayOf, func, number, shape } from \"prop-types\";\n\nconst EmailTemplateDropdown = ({ options, setState, stateValue }) => {\n const [ value, setValue ] = useState(null);\n useEffect(() => {\n setValue(options.find(option => option.value === stateValue));\n }, [stateValue])\n \n return (\n <Dropdown\n label='Email Template'\n placeholder='Choose email template'\n className='tw-z-2'\n options={options}\n value={value}\n onChange={setState}/>\n )\n}\n\nexport default EmailTemplateDropdown;\n\nEmailTemplateDropdown.propTypes = {\n options: arrayOf(shape({})).isRequired,\n setState: func.isRequired,\n stateValue: number\n}\n\nEmailTemplateDropdown.defaultProps = {\n stateValue: null\n}","/* eslint-disable import/prefer-default-export */\nconst CC_PLACEHOLDERS = {\n role: \"Select a role\",\n people: \"Select...\",\n email: \"Enter Email Address\",\n};\n\nexport { CC_PLACEHOLDERS };","import React, { useState } from \"react\";\nimport { arrayOf, func, shape } from \"prop-types\";\n\nimport { EmailCCSelectorV2 } from \"../ActionFormHelpers\";\nimport { useAutoPlanType } from \"../../../reducers/autoPlanEdit\";\n\nimport { CC_PLACEHOLDERS } from \"../../constants\";\n\nconst CCRadioButtons = ({onSelect, onRemove, ccEmails, ccPeopleUuids, ccRoleUuids}) => {\n const planType = useAutoPlanType();\n const [ccType, setCCType] = useState('people');\n\n return (\n <EmailCCSelectorV2\n planType={planType}\n label=\"CC\"\n name=\"ccType\"\n type={ccType}\n placeholder={CC_PLACEHOLDERS[ccType]}\n onRadioChange={(e) => setCCType(e.target.value)}\n people={ccPeopleUuids}\n emails={ccEmails}\n roles={ccRoleUuids}\n onOptionSelect={onSelect}\n onOptionRemove={onRemove}\n />\n)};\n\nexport default CCRadioButtons;\n\nCCRadioButtons.propTypes = {\n onSelect: func.isRequired, \n onRemove: func.isRequired,\n ccEmails: arrayOf(shape({})), \n ccPeopleUuids: arrayOf(shape({})), \n ccRoleUuids: arrayOf(shape({})), \n}\n\nCCRadioButtons.defaultProps = {\n ccEmails: [], \n ccPeopleUuids: [], \n ccRoleUuids: []\n}","import React, { useEffect, useState } from \"react\";\nimport { arrayOf, func, shape } from \"prop-types\";\n\nimport BtnToggle from \"../BtnToggle\";\nimport { EmailCCSelectorV2 } from \"../ActionFormHelpers\";\nimport { useAutoPlanType } from \"../../../reducers/autoPlanEdit\";\n\nimport { CC_PLACEHOLDERS } from \"../../constants\";\n\nconst BCCField = ({ bccPeopleUuids, bccEmails, bccRoleUuids, onSelect, onRemove }) => {\n const [ isBccOn, setBcc ] = useState(false); \n const planType = useAutoPlanType();\n const [ccType, setCCType] = useState('people');\n\n useEffect(() => {\n if([...bccPeopleUuids, ...bccEmails, ...bccRoleUuids].length)\n setBcc(true)\n }, [[...bccPeopleUuids, ...bccEmails, ...bccRoleUuids].length])\n\n return (\n <div className=\"\">\n { !isBccOn &&\n <BtnToggle\n label='ADD BCC'\n onClick={() => setBcc(true)}\n />\n }\n {isBccOn &&\n <EmailCCSelectorV2\n planType={planType}\n label=\"BCC\"\n name=\"bccType\"\n type={ccType}\n placeholder={CC_PLACEHOLDERS[ccType]}\n onRadioChange={(e) => setCCType(e.target.value)}\n people={bccPeopleUuids}\n emails={bccEmails}\n roles={bccRoleUuids}\n onOptionSelect={onSelect}\n onOptionRemove={onRemove}\n />\n }\n </div>\n)}\n\nexport default BCCField;\n\nBCCField.propTypes = {\n onSelect: func.isRequired, \n onRemove: func.isRequired,\n bccEmails: arrayOf(shape({})), \n bccPeopleUuids: arrayOf(shape({})), \n bccRoleUuids: arrayOf(shape({})), \n}\n\nBCCField.defaultProps = {\n bccEmails: [], \n bccPeopleUuids: [], \n bccRoleUuids: []\n}","/* eslint-disable camelcase */\n/* eslint-disable no-param-reassign */\n/* eslint-disable class-methods-use-this */\n/* eslint-disable jsx-a11y/label-has-associated-control */\n/* global tinymce */\nimport React, { useEffect, useState } from \"react\";\nimport { produce } from \"immer\";\nimport axios from \"axios\";\nimport moment from \"moment\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\nimport Button from \"@shared/v2/Button\";\nimport { arrayOf, bool, func, shape, string } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport BrivityTextEditor from \"@shared/BrivityTextEditor\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport useSubjectLineLimitError, { isWithinSubjectLineLimit } from \"@shared/hooks/useSubjectLineLimitError\";\nimport EmailSubjectField from \"./EmailSubjectField\";\nimport EmailTemplateDropdown from \"./EmailTemplateDropdown\";\nimport CCRadioButtons from \"./CCRadioButtons\";\nimport BCCField from \"./BCCField\";\nimport DateTime from \"../DateTime\";\nimport AssignToDropdown from \"../AssignToDropdown\";\nimport { convertDateFormat, formatDateAndTimeToDatePicker, onSaveDateAdapter } from \"../../helpers\";\nimport ErrorInModal from \"../ErrorInModal\";\nimport { useSpecificActionSubmit } from \"../../../reducers/autoPlanEdit\";\n\nconst CC_TYPE_TO_STATE_MAP = {\n Email: 'cc_emails',\n Role: 'cc_role_uuids',\n Person: 'cc_people_uuids',\n}\n\nconst BCC_TYPE_TO_STATE_MAP = {\n Email: 'bcc_emails',\n Role: 'bcc_role_uuids',\n Person: 'bcc_people_uuids',\n}\n\nconst DEFAULT_STATE = {\n name: '',\n template_id: null,\n template_body: '',\n assigned_to_id: null,\n assigned_to_role: 'owner',\n assigned_to_type: null,\n run_time: \"08:00\",\n day_month_year: moment().format('DD/MM/YYYY'),\n delay_unit: 'days',\n type: \"Email\",\n bcc_emails: [],\n bcc_people_uuids: [],\n bcc_role_uuids: [],\n cc_emails: [],\n cc_people_uuids: [],\n cc_role_uuids: [],\n}\n\nconst loadLabelsForCC = (roles, people) => axios({\n method: \"get\",\n url: \"/auto_plans/serialized_email_recipients\",\n params: { people_uuids: (people || []), role_uuids: (roles || []) },\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n})\n\nconst EmailActionModal = ({ show, onHide, onSave, form, emailTemplates, assignedToOptions, isSubmitting, autoPlanId, placeholders }) => {\n const formSubmitAction = useSpecificActionSubmit()\n const {\n errorMsg,\n setErrorTrigger\n } = useSubjectLineLimitError();\n const [state, setState] = useState({\n ...DEFAULT_STATE,\n ...form,\n auto_plan_id: autoPlanId,\n });\n\n useEffect(() => {\n (async () => {\n if (show) {\n const [ccRes] = await tryCatchHandlr(loadLabelsForCC(form.cc_role_uuids, form.cc_people_uuids));\n const [bccRes] = await tryCatchHandlr(loadLabelsForCC(form.bcc_role_uuids, form.bcc_people_uuids));\n\n setState({\n ...DEFAULT_STATE,\n ...form,\n auto_plan_id: autoPlanId,\n cc_people_uuids: ccRes.data.people ? ccRes.data.people : [],\n cc_role_uuids: ccRes.data.roles ? ccRes.data.roles : [],\n bcc_people_uuids: bccRes.data.people ? bccRes.data.people : [],\n bcc_role_uuids: bccRes.data.roles ? bccRes.data.roles : [],\n cc_emails: form.cc_emails ? form.cc_emails.map(value => ({ label: value, value })) : [],\n bcc_emails: form.bcc_emails ? form.bcc_emails.map(value => ({ label: value, value })) : [],\n })\n }\n })()\n }, [show])\n\n const setStateHandlr = (key) => (val) => setState(produce(state, (draft) => {\n draft[key] = val\n }))\n\n\n const onHideHandlr = () => {\n setState({\n ...DEFAULT_STATE,\n auto_plan_id: autoPlanId,\n });\n onHide();\n }\n\n return (\n <Modal\n show={show}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n onHide={onHideHandlr}\n closeButton\n >\n <Modal.Header title={formSubmitAction === 'post' ? \"Create a new Email\" : 'Update Email'} className=\"tw-mb-40px\" closeButton />\n <Modal.Body className=\"tw-gap-[24px] tw-flex tw-flex-col tw-h-[480px] tw-overflow-y-scroll tw-pt-[8px] tw-border tw-border-solid tw-border-gray-10 tw-border-l-0 tw-border-r-0\">\n <EmailSubjectField\n value={state.name}\n setValue={(subject) => {\n if (isWithinSubjectLineLimit(subject)) {\n setErrorTrigger(false);\n }\n\n return setStateHandlr('name')(subject)\n }} />\n <EmailTemplateDropdown\n options={emailTemplates.map(({ name, id, ...rest }) => ({\n ...rest,\n label: name,\n value: id\n }))}\n setState={async (e) => {\n const response = await fetch(`/auto_plans/interaction_template_body?id=${e.value}`);\n const templateBody = await response.json();\n\n if (tinymce && tinymce.activeEditor) {\n tinymce.activeEditor.setContent(templateBody);\n }\n\n setState(prev => ({\n ...prev,\n name: e.subject || null,\n template_id: e.value || null\n }))\n }}\n stateValue={state.template_id} />\n {/* Email Body Editor */}\n <div className=\"tw-block\">\n <div className=\"tw-flex tw-justify-between tw-items-baseline\">\n <FieldLabel\n className=\"tw-mb-8px tw-w-fit\"\n label='Body'\n />\n <AiAssistant\n isTinyMce\n messageType=\"Email\"\n onInsertClick={(text) =>\n tinymce?.activeEditor?.execCommand(\n \"mceInsertContent\",\n false,\n (text || \"\").replace(/\\r\\n|\\r|\\n/g, \"<br />\"),\n )\n }\n />\n </div>\n <BrivityTextEditor\n id=\"auto-plan-edit-email-form-x\"\n value={form.template_body}\n placeholders={placeholders}\n />\n </div>\n <CCRadioButtons\n ccEmails={state.cc_emails}\n ccPeopleUuids={state.cc_people_uuids}\n ccRoleUuids={state.cc_role_uuids}\n onSelect={({ label, value, cc_type }) => {\n const ccKey = CC_TYPE_TO_STATE_MAP[cc_type];\n setState(prev => produce(prev, (draft) => {\n draft[ccKey].push({ label, value, cc_type })\n }))\n }}\n onRemove={({ value, cc_type }) => {\n const ccKey = CC_TYPE_TO_STATE_MAP[cc_type];\n setState(prev => produce(prev, (draft) => {\n const idxToRemove = draft[ccKey].findIndex(({ value: val }) => val === value);\n draft[ccKey].splice(idxToRemove, 1);\n }))\n }} />\n <BCCField\n bccEmails={state.bcc_emails}\n bccPeopleUuids={state.bcc_people_uuids}\n bccRoleUuids={state.bcc_role_uuids}\n onSelect={({ label, value, cc_type }) => {\n const bccKey = BCC_TYPE_TO_STATE_MAP[cc_type];\n setState(prev => produce(prev, (draft) => {\n draft[bccKey].push({ label, value, cc_type })\n }))\n }}\n onRemove={({ value, cc_type }) => {\n const bccKey = BCC_TYPE_TO_STATE_MAP[cc_type];\n setState(prev => produce(prev, (draft) => {\n const idxToRemove = draft[bccKey].findIndex(({ value: val }) => val === value);\n draft[bccKey].splice(idxToRemove, 1);\n }))\n }} />\n <DateTime\n setState={(dateStr) => {\n const { day_month_year, run_time } = convertDateFormat(dateStr);\n\n setState(prev => produce(prev, (draft) => {\n draft.day_month_year = day_month_year;\n draft.run_time = run_time;\n }))\n }}\n value={formatDateAndTimeToDatePicker(state.day_month_year, state.run_time)} />\n <AssignToDropdown\n options={assignedToOptions}\n label='Send From'\n state={{\n assigned_to_id: state.assigned_to_id,\n assigned_to_type: state.assigned_to_type,\n assigned_to_role: state.assigned_to_role,\n }}\n setState={(e) => setState(prev => ({\n ...prev,\n assigned_to_id: e.assignedToType ? e.value : null,\n assigned_to_role: e.assignedToType ? null : e.value,\n assigned_to_type: e.assignedToType || null,\n }))} />\n <ErrorInModal additionalErrors={errorMsg ? [errorMsg] : []} />\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-between tw-mt-[40px]\">\n <Button size=\"medium\" schema=\"secondary\" onClick={onHideHandlr}>\n Cancel\n </Button>\n\n <Button size=\"medium\" schema=\"primary\" onClick={() => {\n if (!isWithinSubjectLineLimit(state.name)) {\n return setErrorTrigger(true);\n }\n\n return onSave(onSaveDateAdapter({\n ...state,\n template_body: tinymce.activeEditor.getContent(),\n }))\n }} isLoading={isSubmitting}>\n Save\n </Button>\n </Modal.Footer>\n </Modal>\n )\n};\n\nexport default EmailActionModal;\n\nEmailActionModal.propTypes = {\n show: bool,\n onHide: func.isRequired,\n onSave: func.isRequired,\n isSubmitting: bool,\n autoPlanId: string.isRequired,\n emailTemplates: arrayOf(shape({})).isRequired,\n assignedToOptions: arrayOf(shape({})).isRequired,\n placeholders: arrayOf(shape({})),\n form: shape({})\n}\n\nEmailActionModal.defaultProps = {\n isSubmitting: false,\n show: false,\n placeholders: [],\n form: {}\n}\n","/* eslint-disable no-param-reassign */\nimport React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { CaretDown } from \"../Icomoon\";\nimport { Display, DisplayEditorToggleBase } from \"../InlineEditor\";\nimport Dropdown from \"../Dropdown\";\nimport TextButton from \"../TextButton\";\nimport { measureText } from \"../utils\";\n\nconst InlineEditingSelect = ({\n id: idFromProps,\n displayLabel,\n value,\n options,\n disabled,\n error,\n placeholder,\n onSelect,\n onChange,\n onCancelEditing,\n onConfirmEditing,\n className,\n displayClassName,\n editorClassName,\n displayIconAlwaysVisible,\n menuShouldComeToFront,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"inline-editing-select\", idFromProps);\n\n const displayData = useMemo(\n () =>\n value\n ? {\n label: displayLabel || value.label,\n value: (typeof value.value === \"number\" ? value.value.toString() : value.value) || \"\",\n }\n : null,\n [displayLabel, value],\n );\n\n const [editing, setEditing] = useState(false);\n const [editingValue, setEditingValue] = useState(value);\n const dropdownRef = useRef();\n const [closed, setClosed] = useState(true);\n const longestOption = useMemo(\n () =>\n [...options, placeholder].reduce((a, b) => (a?.label?.length > b?.label?.length ? a : b), {\n // Empty initial value to avoid TypeError when options is empty\n }),\n [options, placeholder],\n );\n\n // Update the editing value when `value` changes\n useEffect(() => setEditingValue(value), [value]);\n\n const handleChange = (newValue) => {\n setEditingValue(newValue);\n if (onSelect) {\n onSelect(newValue);\n }\n };\n\n const cancelEditing = () => {\n setEditing(false);\n setEditingValue(value); // Revert changes made on editing mode\n if (onCancelEditing) {\n onCancelEditing();\n }\n };\n\n const confirmEditing = () => {\n if (onChange) {\n onChange(editingValue);\n }\n setEditing(false);\n if (onConfirmEditing) {\n onConfirmEditing();\n }\n };\n\n const defaultContent = \"0\".repeat(20);\n // Additional width:\n // - 24px from the control's padding\n // - 12px from the caret\n // - 10px from the gap between the control and the caret\n // - 2px from the input's margin\n const additionalWidthInPixel = 48;\n const additionalWidthInCh = 5;\n\n const resizeControlBasedOnText = (control, text) => {\n const metrics = measureText(control, text);\n\n if (!metrics) {\n // Using the `ch` unit approach, when Canvas.measureText method is not supported\n // See https://developer.mozilla.org/en-US/docs/Web/CSS/length#ch\n control.style.width = `${text.length + additionalWidthInCh}ch`;\n } else {\n control.style.width = `${metrics.width + additionalWidthInPixel}px`;\n }\n };\n\n const resizeDropdownInputBasedOnOptions = () => {\n if (!dropdownRef.current) {\n return;\n }\n\n const { controlRef } = dropdownRef.current;\n const text = longestOption?.label || placeholder || defaultContent;\n\n resizeControlBasedOnText(controlRef, text);\n };\n\n // Update dropdown input styles when editingValue changes\n useEffect(() => {\n if (!editing) {\n return;\n }\n resizeDropdownInputBasedOnOptions();\n }, [editing, editingValue]);\n\n // Update dropdown input styles when switching to editing mode and/or\n // options prop changes\n useEffect(() => {\n if (!editing) {\n return;\n }\n resizeDropdownInputBasedOnOptions();\n }, [editing, options]);\n\n const handleOnInputChange = (inputValue) => {\n if (!editing || !dropdownRef.current || !inputValue) {\n return;\n }\n\n const { controlRef } = dropdownRef.current;\n const text = inputValue.length > defaultContent.length ? inputValue : defaultContent;\n\n resizeControlBasedOnText(controlRef, text);\n };\n\n const handleKeyDown = (e) => {\n if (!closed) {\n // Ignore key down events when the dropdown is open\n return;\n }\n switch (e.key) {\n case \"Esc\":\n case \"Escape\":\n e.preventDefault();\n cancelEditing();\n break;\n case \"Enter\":\n e.preventDefault();\n confirmEditing();\n break;\n default:\n break;\n }\n };\n\n const display = displayData ? (\n <Display\n id={id}\n label={displayData.label}\n value={displayData.value}\n disabled={disabled}\n icon={<CaretDown />}\n iconAlwaysVisible={displayIconAlwaysVisible}\n onInteract={() => setEditing(true)}\n className={displayClassName}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n ) : (\n <TextButton className={`tw-p-0 ${displayClassName}`} onClick={() => setEditing(true)}>\n add\n </TextButton>\n );\n\n const editor = (\n <Dropdown\n ref={dropdownRef}\n id={id}\n value={editingValue}\n options={options}\n isSearchable\n isDisabled={disabled}\n error={error}\n placeholder={placeholder}\n onChange={handleChange}\n onInputChange={handleOnInputChange}\n autoFocus\n openMenuOnFocus\n selectInputOnMenuOpen={false}\n blurInputOnSelect={false}\n emptyInputRemovesValue={false}\n onBlur={confirmEditing}\n onMenuClose={() => setClosed(true)}\n onMenuOpen={() => setClosed(false)}\n onKeyDown={handleKeyDown}\n className={editorClassName}\n menuShouldComeToFront={menuShouldComeToFront}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n );\n\n return (\n <DisplayEditorToggleBase\n mode={editing ? \"editor\" : \"display\"}\n display={display}\n editor={editor}\n className={className}\n />\n );\n};\n\nconst optionShape = PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n label: PropTypes.string.isRequired,\n avatar: PropTypes.string,\n role: PropTypes.string,\n});\n\nInlineEditingSelect.propTypes = {\n id: PropTypes.string,\n displayLabel: PropTypes.string,\n value: optionShape,\n options: PropTypes.arrayOf(optionShape).isRequired,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n placeholder: PropTypes.string,\n onSelect: PropTypes.func,\n onChange: PropTypes.func,\n onCancelEditing: PropTypes.func,\n onConfirmEditing: PropTypes.func,\n className: PropTypes.string,\n displayClassName: PropTypes.string,\n editorClassName: PropTypes.string,\n displayIconAlwaysVisible: PropTypes.bool,\n menuShouldComeToFront: PropTypes.bool,\n};\n\nInlineEditingSelect.defaultProps = {\n id: null,\n displayLabel: null,\n value: null,\n disabled: false,\n error: null,\n placeholder: \"\",\n onSelect: null,\n onChange: null,\n onCancelEditing: null,\n onConfirmEditing: null,\n className: \"\",\n displayClassName: \"\",\n editorClassName: \"\",\n displayIconAlwaysVisible: true,\n menuShouldComeToFront: false,\n};\n\nexport default InlineEditingSelect;\n","/* eslint-disable arrow-body-style */\nimport React, { useRef, useState } from \"react\";\nimport { arrayOf, func, shape, string } from \"prop-types\";\nimport InlineEditingSelect from \"@shared/v2/InlineEditingSelect\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport AiAssistant from \"@shared/AiAssistant\";\n\nconst TextField = ({ value, setValue, options }) => {\n const [placeHoldr, setPlaceHoldr] = useState({\n value: null,\n label: \"Insert placeholder\",\n });\n const textMessageInputRef = useRef(null);\n\n const insertPlaceholder = (val) => {\n const { current: textMessageInput } = textMessageInputRef;\n const { selectionStart, selectionEnd } = textMessageInput;\n\n const prefix = textMessageInput.value.substring(0, selectionStart);\n const suffix = textMessageInput.value.substring(selectionEnd, textMessageInput.value.length);\n const updatedValue = `${prefix}${val}${suffix}`\n\n setValue(updatedValue)\n };\n\n return (\n <div className=\"\">\n <div className=\"tw-flex tw-justify-between\">\n <FieldLabel\n label='Text'/>\n <InlineEditingSelect\n id=\"inline\"\n name=\"inline\"\n value={placeHoldr}\n onChange={(e) => {\n setPlaceHoldr(e);\n insertPlaceholder(e.value);\n }}\n options={options}/> \n </div>\n <div className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <TextInput\n className='tw-h-[116px]'\n value={value}\n ref={textMessageInputRef}\n onChange={(e) => setValue(e.target.value)}\n textareaId=\"sp_text_message\"\n multiline/>\n <div className=\"tw-ml-[auto]\">\n <AiAssistant\n textareaId=\"sp_text_message\"\n messageType=\"Generic\"\n onInsertClick={(text) => setValue(text)}\n /> \n </div>\n </div>\n </div>\n )\n}\n\nexport default TextField;\n\nTextField.propTypes = {\n setValue: func.isRequired,\n value: string, \n options: arrayOf(shape({})),\n}\n\nTextField.defaultProps = {\n value: '', \n options: []\n}","/* eslint-disable camelcase */\n/* eslint-disable no-param-reassign */\nimport React from \"react\";\nimport { produce } from \"immer\";\nimport { arrayOf, bool, func, shape, string } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport moment from \"moment\";\n\nimport TextField from \"./TextField\";\nimport DateTime from \"../DateTime\";\nimport AssignToDropdown from \"../AssignToDropdown\";\nimport { convertDateFormat, formatDateAndTimeToDatePicker, onSaveDateAdapter } from \"../../helpers\";\nimport { useFormState } from \"../../hooks\";\nimport ErrorInModal from \"../ErrorInModal\";\nimport { useSpecificActionSubmit } from \"../../../reducers/autoPlanEdit\";\n\nconst DEFAULT_STATE = {\n type:\"Text\",\n template_body: \"\",\n assigned_to_type: null,\n assigned_to_role: 'owner',\n assigned_to_id: null,\n run_time: \"08:00\",\n day_month_year: moment().format('DD/MM/YYYY'),\n delay_unit: 'days',\n}\n\nconst TextActionModal = ({ show, onHide, onSave, autoPlanId, placeholders, assignedToOptions, form, isSubmitting }) => {\n const formSubmitAction = useSpecificActionSubmit()\n const { state, setState, setStateHandlr } = useFormState({\n defaultState: DEFAULT_STATE,\n form,\n autoPlanId,\n show\n });\n\n const onHideHandlr = () => {\n setState({\n ...DEFAULT_STATE,\n auto_plan_id: autoPlanId,\n });\n onHide();\n }\n\n return (\n <Modal\n show={show}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n onHide={onHideHandlr}\n closeButton>\n <Modal.Header title={formSubmitAction === 'post' ? \"Create a new text\" : \"Update text\"} className=\"tw-mb-40px\" closeButton />\n <Modal.Body className=\"tw-gap-[24px] tw-flex tw-flex-col\">\n <TextField\n value={state.template_body}\n setValue={setStateHandlr('template_body')}\n options={placeholders.map(({text: label, value}) => ({label, value}))}/>\n <DateTime\n setState={(dateStr) => {\n const { day_month_year, run_time } = convertDateFormat(dateStr);\n\n setState(prev => produce(prev, (draft) => {\n draft.day_month_year = day_month_year;\n draft.run_time = run_time;\n }))\n }}\n value={formatDateAndTimeToDatePicker(state.day_month_year, state.run_time)}/>\n <AssignToDropdown\n options={assignedToOptions}\n label='Send From'\n state={{\n assigned_to_id: state.assigned_to_id,\n assigned_to_type: state.assigned_to_type,\n assigned_to_role: state.assigned_to_role,\n }}\n setState={(e) => setState(prev => ({\n ...prev,\n assigned_to_id: e.assignedToType ? e.value : null,\n assigned_to_role: e.assignedToType ? null : e.value,\n assigned_to_type: e.assignedToType || null,\n }))}/>\n <ErrorInModal/>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-between tw-mt-[40px]\">\n <Button size=\"medium\" schema=\"secondary\" onClick={onHideHandlr}>\n Cancel\n </Button>\n <Button size=\"medium\" schema=\"primary\" onClick={() => onSave(onSaveDateAdapter(state))} isLoading={isSubmitting}>\n Save\n </Button>\n </Modal.Footer>\n </Modal>\n)};\n\nexport default TextActionModal;\n\nTextActionModal.propTypes = {\n show: bool,\n isSubmitting: bool,\n autoPlanId: string.isRequired,\n onHide: func.isRequired,\n onSave: func.isRequired,\n placeholders: arrayOf(shape({})),\n form: shape({}),\n assignedToOptions: arrayOf(shape({})).isRequired,\n}\n\nTextActionModal.defaultProps = {\n show: true,\n isSubmitting: false,\n placeholders: [],\n form: {}\n}\n","/* eslint-disable no-param-reassign */\n/* eslint-disable react/jsx-props-no-spreading */\n/* eslint-disable react/forbid-prop-types */\n/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React, { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { find } from \"lodash\";\nimport { produce } from \"immer\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/Button\";\nimport { ChevronLeftSolidV6 } from \"@shared/v2/Icomoon\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport { FormGroup, Row, Col, Button } from \"../../shared/v1\";\nimport AutoPlanNameForm from \"./AutoPlanNameForm\";\nimport Actions from \"./Actions\";\nimport SpecificDates from \"./SpecificDates\";\nimport AutoPauseOnCondition from \"./AutoPauseOnCondition\";\nimport TaskActionModal from \"./TaskActionModal\";\nimport {\n peopleAutoPauseStatusOptions,\n peopleCompletionStatusOptions,\n transactionAutoPauseStatusOptions,\n transactionCompletionStatusOptions,\n // TODO Work on this\n // validateTaskForm\n} from \"./helpers\";\nimport \"./AutoPlan.scss\";\nimport {\n useIsTaskActionModalOpen,\n useIsEmailActionModalOpen,\n useIsTextActionModalOpen,\n useActionForm,\n useIsSubmitting,\n} from \"../../reducers/autoPlanEdit\";\nimport {\n toggleTaskActionModal,\n toggleEmailActionModal,\n toggleTextActionModal,\n setPeopleGroups,\n} from \"../actions/autoPlansActionCreators\";\nimport EmailActionModal from \"./EmailActionModal\";\nimport TextActionModal from \"./TextActionModal\";\nimport { useActionFormSubmitHandler } from \"../hooks\";\nimport { checkIfDateStringIsWithinRange } from \"../helpers\";\nimport { submitActionFailure } from \"../actions/autoPlanActionCreators\";\n\nconst TEXT_EXPIRED = {\n people: \"Auto pause plan when lead replies via text?\",\n transactions: \"Auto pause when transaction expires.\",\n};\nconst STATUS_CHANGE = {\n people: \"Auto pause plan when lead's status changes?\",\n transactions: \"Auto pause when transaction's status changes?\",\n};\n\nconst AUTO_PAUSE_ON_COMPLETE = {\n people: \"Auto change lead's status when the plan is completed to:\",\n transactions: \"Auto change transaction's status when the plan is completed to:\",\n};\n\nconst autoPauseReplyOrExpireNames = {\n people: \"auto_pause_on_reply\",\n transactions: \"auto_pause_on_expired\",\n};\n\nconst filterGroupOptionsByPlanTypes = (groups, planTypes) =>\n groups.options.map(({ label, options }) => ({\n label,\n options: options.filter((op) => planTypes.includes(op.forType)),\n }));\n\nconst AutoPlanEdit = ({\n assignedForOptions,\n assignedToOptions,\n autoPlanId,\n autoPlanPath,\n autoPlan,\n autoPlanForm,\n autoPlanPreferencesForm,\n emailTemplates,\n getAutoPlan,\n handleAutoPlanChange,\n isEditingName,\n isEditingPreferences,\n isFetching,\n milestones,\n peoplePlaceholders,\n resetAutoPlanPreferencesForm,\n saveAutoPlanName,\n saveAutoPlanPreferences,\n toggleEdit,\n transactionPlaceholders,\n updateAutoPlanPreferencesForm,\n}) => {\n useEffect(() => {\n getAutoPlan(autoPlanPath);\n }, [autoPlanPath, getAutoPlan]);\n\n const completionStatusOptions =\n autoPlan.plan_type === \"people\" ? peopleCompletionStatusOptions : transactionCompletionStatusOptions;\n\n const autoPauseStatusOptions =\n autoPlan.plan_type === \"people\" ? peopleAutoPauseStatusOptions : transactionAutoPauseStatusOptions;\n\n const planType = autoPlan.plan_type;\n const validPlanTypes = [\"all\", planType];\n const filteredAssignedToOptions = filterGroupOptionsByPlanTypes(assignedToOptions, validPlanTypes);\n const filteredAssignedForOptions = filterGroupOptionsByPlanTypes(assignedForOptions, validPlanTypes);\n\n const filteredMilestoneOptions = milestones.filter((op) => op.forPlanType === planType);\n const autoPauseReplyOrExpireName = autoPauseReplyOrExpireNames[planType];\n\n const placeholders = planType === \"people\" ? peoplePlaceholders : transactionPlaceholders;\n const dispatch = useDispatch();\n const isEmailActionModalOpen = useIsEmailActionModalOpen();\n const isTextActionModalOpen = useIsTextActionModalOpen();\n const isSubmitting = useIsSubmitting();\n const isTaskActionModalOpen = useIsTaskActionModalOpen();\n const actionForm = useActionForm();\n const actionFormSubmitHandlr = useActionFormSubmitHandler(autoPlanId);\n\n useEffect(() => {\n const [generalRoles, teamRoles, userId] = assignedToOptions.options;\n\n dispatch(setPeopleGroups(generalRoles, teamRoles, userId));\n }, []);\n\n return (\n <>\n <TaskActionModal\n assignedToOptions={filteredAssignedToOptions}\n show={isTaskActionModalOpen}\n autoPlanId={autoPlanId}\n onHide={() => dispatch(toggleTaskActionModal(false))}\n form={actionForm}\n isSubmitting={isSubmitting}\n onSave={(form) => {\n const yearErrorMsg = checkIfDateStringIsWithinRange(form.day_month_year);\n if (yearErrorMsg) {\n dispatch(submitActionFailure(yearErrorMsg));\n return;\n }\n actionFormSubmitHandlr(form);\n }}\n />\n <EmailActionModal\n show={isEmailActionModalOpen}\n emailTemplates={emailTemplates}\n autoPlanId={autoPlanId}\n assignedToOptions={filteredAssignedToOptions}\n isSubmitting={isSubmitting}\n onHide={() => dispatch(toggleEmailActionModal(false))}\n form={actionForm}\n placeholders={placeholders}\n onSave={(form) => {\n const yearErrorMsg = checkIfDateStringIsWithinRange(form.day_month_year);\n\n if (yearErrorMsg) {\n dispatch(submitActionFailure(yearErrorMsg));\n return;\n }\n const adaptedForm = produce(form, (draft) => {\n draft.bcc_emails = draft.bcc_emails.map((el) => el.value);\n draft.bcc_people_uuids = draft.bcc_people_uuids.map((el) => el.value);\n draft.bcc_role_uuids = draft.bcc_role_uuids.map((el) => el.value);\n draft.cc_emails = draft.cc_emails.map((el) => el.value);\n draft.cc_people_uuids = draft.cc_people_uuids.map((el) => el.value);\n draft.cc_role_uuids = draft.cc_role_uuids.map((el) => el.value);\n });\n\n actionFormSubmitHandlr(adaptedForm);\n }}\n />\n <TextActionModal\n show={isTextActionModalOpen}\n onHide={() => dispatch(toggleTextActionModal(false))}\n placeholders={placeholders}\n isSubmitting={isSubmitting}\n form={actionForm}\n assignedToOptions={filteredAssignedToOptions}\n autoPlanId={autoPlanId}\n onSave={(form) => {\n const yearErrorMsg = checkIfDateStringIsWithinRange(form.day_month_year);\n\n if (yearErrorMsg) {\n dispatch(submitActionFailure(yearErrorMsg));\n return;\n }\n actionFormSubmitHandlr(form);\n }}\n />\n <div className=\"tw-bg-tinted-gray-50 tw-min-h-[100vh]\">\n <div className=\"tw-bg-[#fff]\">\n <Row className=\"tw-max-w-[1200px] tw-mx-auto tw-py-[24px]\">\n <Col size={4}>\n <section>\n <TextButton schema=\"tertiary\" className=\"tw-p-8px tw-color-gray-base\">\n <a href={`/auto_plans?plan_type=${autoPlan.plan_type}`} className=\"hover:tw-no-underline\">\n <ChevronLeftSolidV6 size=\"s\" className=\"tw-mr-[4px]\" />\n <span>Back</span>\n </a>\n </TextButton>\n <Row>\n {autoPlan && (\n <AutoPlanNameForm\n handleNameChange={handleAutoPlanChange}\n isEditingName={isEditingName}\n toggleEdit={toggleEdit}\n updateName={() => saveAutoPlanName(autoPlanPath, autoPlanForm)}\n name={autoPlanForm.name}\n />\n )}\n </Row>\n <Row className=\"tw-mt-[26px]\">\n <Col size={12}>\n <label className=\"tw-text-12d tw-text-gray-50 tw-mb-[8px]\">Type:</label>\n {autoPlan && (\n <div className=\"action-plan-type-header tw-capitalize tw-text-14d\">\n {autoPlan.plan_type} Plan\n </div>\n )}\n </Col>\n </Row>\n </section>\n </Col>\n <Col size={4}>\n <section>\n <Row>\n <label className=\"tw-mb-[12px]\">{TEXT_EXPIRED[autoPlan.plan_type]}</label>\n {autoPauseReplyOrExpireName && (\n <AutoPauseOnCondition\n name={autoPauseReplyOrExpireName}\n checkedValue={\n autoPlanPreferencesForm && autoPlanPreferencesForm[autoPauseReplyOrExpireName]\n }\n handleUpdate={updateAutoPlanPreferencesForm}\n disabled={isFetching}\n />\n )}\n </Row>\n <Row>\n <Dropdown\n label={AUTO_PAUSE_ON_COMPLETE[autoPlan.plan_type]}\n labelClassName=\"!tw-text-12d !tw-font-normal tw-mb-[12px]\"\n name=\"status_on_complete\"\n className=\"tw-w-[174px] tw-cursor-pointer\"\n value={find(completionStatusOptions, {\n value: autoPlanPreferencesForm?.status_on_complete,\n })}\n options={completionStatusOptions}\n isClearable={false}\n isSearchable={false}\n isDisabled={isFetching}\n onChange={(opt) => updateAutoPlanPreferencesForm(\"status_on_complete\", opt.value)}\n />\n </Row>\n </section>\n </Col>\n <Col size={4}>\n <Row>\n <label className=\"tw-mb-[12px]\">{STATUS_CHANGE[autoPlan.plan_type]}</label>\n <FormGroup>\n <Row>\n <Col size={12}>\n <div className=\"d-flex flex-items-center\">\n <RadioButton\n value=\"any\"\n name=\"auto_pause_for_status\"\n checked={\n autoPlanPreferencesForm &&\n autoPlanPreferencesForm.auto_pause_for_status != null &&\n autoPlanPreferencesForm.auto_pause_for_status.length > 0\n }\n onClick={(e) => updateAutoPlanPreferencesForm(e.target.name, e.target.value)}\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n containerClassName=\"tw-mr-[12px] tw-cursor-pointer\"\n label=\"Yes, To\"\n />\n <Dropdown\n name=\"auto_pause_for_status\"\n className=\"tw-w-[175px] tw-ml-10px tw-cursor-pointer\"\n value={\n autoPauseStatusOptions &&\n find(autoPauseStatusOptions, {\n value: autoPlanPreferencesForm.auto_pause_for_status,\n })\n }\n options={autoPauseStatusOptions}\n isClearable={false}\n isSearchable={false}\n isDisabled={\n isFetching ||\n !autoPlanPreferencesForm ||\n !autoPlanPreferencesForm.auto_pause_for_status\n }\n onChange={(opt) =>\n updateAutoPlanPreferencesForm(\"auto_pause_for_status\", opt.value)\n }\n />\n </div>\n </Col>\n </Row>\n <div>\n <RadioButton\n value=\"\"\n name=\"auto_pause_for_status\"\n checked={!autoPlanPreferencesForm || !autoPlanPreferencesForm.auto_pause_for_status}\n onClick={(e) => updateAutoPlanPreferencesForm(e.target.name, e.target.value)}\n labelClassName=\"tw-text-gray-base tw-text-[14px]\"\n containerClassName=\"tw-mr-[12px] tw-cursor-pointer\"\n label=\"No\"\n />\n </div>\n </FormGroup>\n </Row>\n <Row>\n {isEditingPreferences && (\n <div>\n <Button\n variant=\"info\"\n onClick={() => saveAutoPlanPreferences(autoPlanPath, autoPlanPreferencesForm)}\n className=\"m-r-10\"\n >\n Save\n </Button>\n <Button variant=\"info\" invert onClick={resetAutoPlanPreferencesForm}>\n Cancel\n </Button>\n </div>\n )}\n </Row>\n </Col>\n </Row>\n </div>\n <div>\n <Row\n className=\"pull-content-to-side-menu tw-max-w-[1200px] tw-mx-auto\"\n deprecatedOverrideMarginClasses=\"tw--mx-20px tw-mt-[24px]\"\n >\n <section>\n <div className=\"brivity-panel tw-border tw-border-solid tw-border-gray-10 tw-rounded-[8px]\">\n <div className=\"!tw-text-gray-50 !tw-text-18d !tw-px-[16px] !tw-py-[12px] tw-border-b tw-border-t-0 tw-border-r-0 tw-border-l-0 tw-border-solid tw-border-gray-10\">\n Actions\n </div>\n <div className=\"tw-p-[32px]\">\n <SpecificDates />\n <Row className=\"tw-mt-[32px]\">\n <Col size={12}>\n {autoPlan && (\n <Actions\n planType={autoPlan.type}\n actions={autoPlan.actions}\n autoPlanStartingTime={autoPlan.starting_time}\n milestoneOptions={filteredMilestoneOptions}\n assignedToOptions={filteredAssignedToOptions}\n assignedForOptions={filteredAssignedForOptions}\n autoPlanPath={autoPlanPath}\n placeholders={placeholders}\n />\n )}\n </Col>\n </Row>\n </div>\n </div>\n </section>\n </Row>\n </div>\n </div>\n </>\n );\n};\n\nAutoPlanEdit.propTypes = {\n assignedForOptions: PropTypes.shape().isRequired,\n assignedToOptions: PropTypes.shape().isRequired,\n autoPlanId: PropTypes.string.isRequired,\n autoPlanPath: PropTypes.string.isRequired,\n autoPlan: PropTypes.objectOf(PropTypes.any).isRequired,\n autoPlanForm: PropTypes.objectOf(PropTypes.any).isRequired,\n autoPlanPreferencesForm: PropTypes.objectOf(PropTypes.any).isRequired,\n emailTemplates: PropTypes.arrayOf(PropTypes.any).isRequired,\n getAutoPlan: PropTypes.func.isRequired,\n handleAutoPlanChange: PropTypes.func.isRequired,\n isEditingName: PropTypes.bool.isRequired,\n isEditingPreferences: PropTypes.bool.isRequired,\n isFetching: PropTypes.bool.isRequired,\n milestones: PropTypes.arrayOf(PropTypes.any).isRequired,\n peoplePlaceholders: PropTypes.arrayOf(PropTypes.any).isRequired,\n resetAutoPlanPreferencesForm: PropTypes.func.isRequired,\n saveAutoPlanName: PropTypes.func.isRequired,\n saveAutoPlanPreferences: PropTypes.func.isRequired,\n toggleEdit: PropTypes.func.isRequired,\n transactionPlaceholders: PropTypes.arrayOf(PropTypes.any).isRequired,\n updateAutoPlanPreferencesForm: PropTypes.func.isRequired,\n};\n\nexport default AutoPlanEdit;\n","import { connect } from 'react-redux';\nimport AutoPlanEdit from '../components/AutoPlanEdit';\nimport * as actions from '../actions/autoPlanActionCreators';\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({...state.autoPlanEdit});\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, actions)(AutoPlanEdit);\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\n\nconst AutoPlanStateSelect = ({ previousSelectedStates, togglePlanDropdown }) => {\n function checkState(inputId) {\n document.getElementById(inputId).checked = true;\n }\n useEffect(() => {\n if (previousSelectedStates) {\n previousSelectedStates.forEach((state) => {\n if (state === \"assigned_plans_none\") {\n togglePlanDropdown();\n }\n checkState(state);\n });\n }\n }, []);\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[4px] tw-mb-[10px]\">\n <FieldLabel htmlFor=\"assigned_plans_none\" label=\"Auto Plan\" />\n\n <div className=\"tw-flex tw-flex-wrap tw-gap-[4px]\">\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"assigned_plans_none\"\n name=\"leads_filter[selected_assigned_plan_state_filters][]\"\n id=\"assigned_plans_none\"\n />\n {/* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions,jsx-a11y/click-events-have-key-events */}\n <label onClick={() => togglePlanDropdown()} className=\"gray-label\" htmlFor=\"assigned_plans_none\">\n None Applied\n </label>\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"assigned_plans_running\"\n name=\"leads_filter[selected_assigned_plan_state_filters][]\"\n id=\"assigned_plans_running\"\n />\n <label className=\"info-label\" htmlFor=\"assigned_plans_running\">\n Running\n </label>\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"assigned_plans_paused\"\n name=\"leads_filter[selected_assigned_plan_state_filters][]\"\n id=\"assigned_plans_paused\"\n />\n <label className=\"danger-label\" htmlFor=\"assigned_plans_paused\">\n Paused\n </label>\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"assigned_plans_completed\"\n name=\"leads_filter[selected_assigned_plan_state_filters][]\"\n id=\"assigned_plans_completed\"\n />\n <label className=\"success-label\" htmlFor=\"assigned_plans_completed\">\n Completed\n </label>\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"assigned_plans_deleted\"\n name=\"leads_filter[selected_assigned_plan_state_filters][]\"\n id=\"assigned_plans_deleted\"\n />\n <label className=\"gray-darker-label\" htmlFor=\"assigned_plans_deleted\">\n Deleted\n </label>\n </div>\n </div>\n );\n};\n\nAutoPlanStateSelect.propTypes = {\n previousSelectedStates: PropTypes.arrayOf(PropTypes.string).isRequired,\n togglePlanDropdown: PropTypes.func.isRequired,\n};\n\nexport default AutoPlanStateSelect;\n","/* eslint-disable react/prop-types */\nimport React, { useMemo, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nimport Dropdown from \"..\";\n\nexport const CheckboxGroupHeading = ({ componentProps, data, children }) => {\n const { value: selectedOptions, onChange: updateSelectedOptions } = componentProps.selectProps;\n\n const groupOptions = useMemo(\n () => data.options.filter((groupOption) => !groupOption.isDisabled),\n [data.options],\n );\n\n const selectedGroupOptions = useMemo(\n () =>\n groupOptions.filter((groupOption) =>\n selectedOptions.some((selectedOption) => groupOption.value === selectedOption.value),\n ),\n [groupOptions, selectedOptions],\n );\n\n const checked = useMemo(\n () => selectedGroupOptions.length === groupOptions.length,\n [groupOptions, selectedGroupOptions],\n );\n\n const indeterminate = useMemo(\n () => selectedGroupOptions.length > 0 && selectedGroupOptions.length < groupOptions.length,\n [groupOptions, selectedGroupOptions],\n );\n\n const selectAll = useCallback(() => {\n updateSelectedOptions([\n ...selectedOptions,\n ...groupOptions.filter(\n (groupOption) =>\n !selectedOptions.some((selectedOption) => groupOption.value === selectedOption.value),\n ),\n ]);\n }, [groupOptions, selectedGroupOptions]);\n\n const selectNone = useCallback(() => {\n updateSelectedOptions(\n selectedOptions.filter(\n (selectedOption) => !groupOptions.some((groupOption) => selectedOption.value === groupOption.value),\n ),\n );\n }, [groupOptions, selectedGroupOptions]);\n\n const handleClick = useCallback(() => {\n if (indeterminate || !checked) {\n selectAll();\n } else {\n selectNone();\n }\n }, [checked, indeterminate, selectAll, selectNone]);\n\n return (\n <Dropdown.GroupHeading\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...componentProps}\n className=\"!tw-flex tw-gap-[8px] tw-items-center tw-group !tw-cursor-pointer\"\n preserveStyle\n onClick={handleClick}\n >\n <Checkbox\n checked={checked}\n indeterminate={indeterminate}\n disabled={componentProps.isDisabled}\n readOnly\n />\n {children}\n </Dropdown.GroupHeading>\n );\n};\n\nCheckboxGroupHeading.propTypes = {\n componentProps: PropTypes.shape({}).isRequired,\n data: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n children: PropTypes.node.isRequired,\n};\n\nexport const CheckboxOption = ({ componentProps, children }) => (\n <Dropdown.Option\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...componentProps}\n className=\"!tw-flex tw-gap-[8px] tw-items-center tw-group\"\n preserveStyle\n >\n <Checkbox checked={componentProps.isSelected} disabled={componentProps.isDisabled} readOnly />\n {children}\n </Dropdown.Option>\n);\n\nCheckboxOption.propTypes = {\n componentProps: PropTypes.shape({}).isRequired,\n children: PropTypes.node.isRequired,\n};\n","import React, { useEffect, useState } from \"react\";\nimport { bool, func, node, string } from \"prop-types\";\n\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { CheckboxGroupHeading, CheckboxOption } from \"@shared/v2/Dropdown/custom/MultiComponents\";\nimport { useEventListenerAction } from \"@shared/hooks/useEventListenerAction\";\n\n// This component is used to create a dropdown with multi select and controlled removable options *REUSABLE\nconst DropdownWithMultiCtrlledRemovable = ({\n ctrlName,\n options,\n selectedOptions,\n removablePrefix,\n placeHolderTxt,\n dropdownClassName,\n dropdownMultiValueClassName,\n placeholderNoSelected,\n placeholder,\n isSearchable,\n isRequired,\n onChange,\n onBlur,\n label,\n eventListenerId,\n OptionComponent,\n ...props\n}) => {\n const [withMultiValue, setWithMultiValue] = useState([]);\n useEventListenerAction(eventListenerId, () => setWithMultiValue([]));\n\n useEffect(() => {\n setWithMultiValue(selectedOptions);\n }, [selectedOptions]);\n\n const placeHolderText =\n withMultiValue.length > 0 ? `${withMultiValue.length}${placeHolderTxt}` : placeholderNoSelected;\n\n return (\n <>\n <Dropdown\n isMulti\n placeholder={placeholder || placeHolderText}\n options={options}\n value={withMultiValue}\n label={label}\n blurInputOnSelect={false}\n closeMenuOnSelect={false}\n hideSelectedOptions={false}\n className={dropdownClassName}\n dropdownMultiValueClassName={dropdownMultiValueClassName}\n onChange={(newValue) => {\n setWithMultiValue(newValue);\n onChange(newValue);\n }}\n onBlur={onBlur}\n removablePrefix={removablePrefix}\n components={{\n GroupHeading: CheckboxGroupHeading,\n Option: OptionComponent,\n }}\n isSearchable={isSearchable}\n name={ctrlName}\n backspaceRemovesValue={false}\n isRequired={isRequired}\n preventOptionUpdate\n {...props}\n />\n </>\n );\n};\n\nexport default DropdownWithMultiCtrlledRemovable;\n\nDropdownWithMultiCtrlledRemovable.propTypes = {\n removablePrefix: string,\n placeHolderTxt: string,\n label: string,\n dropdownClassName: string,\n isSearchable: bool,\n onChange: func,\n onBlur: func,\n isRequired: bool,\n dropdownMultiValueClassName: string,\n placeholderNoSelected: string,\n placeholder: node,\n eventListenerId: string,\n OptionComponent: func,\n};\n\nDropdownWithMultiCtrlledRemovable.defaultProps = {\n removablePrefix: \"\",\n placeHolderTxt: \"\",\n placeholder: null,\n label: \"\",\n dropdownClassName: \"\",\n options: [],\n selectedOptions: [],\n isSearchable: true,\n onChange: () => {},\n onBlur: () => {},\n isRequired: false,\n dropdownMultiValueClassName: \"!tw-text-[12d] !tw-font-normal\",\n placeholderNoSelected: \"Select\",\n eventListenerId: \"#clear-all-modal-filters\",\n OptionComponent: CheckboxOption,\n};\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport axios from \"axios\";\nimport { arrayOf, bool, string } from \"prop-types\";\nimport { useEventListenerAction } from \"@shared/hooks/useEventListenerAction\";\nimport DropdownWithMultiCtrlledRemovable from \"@shared/DropdownWithMultiCtrlledRemovable\";\nimport { CLEAR_MODAL_FILTER_ID } from \"../../shared/constants\";\n\nconst AutoPlanNameSelect = ({ isDisabled, previousSelectedPlanIds }) => {\n const [autoPlans, setAutoPlans] = useState([]);\n const [selectedNames, setSelectedNames] = useState([]);\n\n const options = useMemo(\n () => autoPlans.map(({ name, id }) => ({ label: name, value: `${id}` })),\n [autoPlans],\n );\n\n useEventListenerAction(CLEAR_MODAL_FILTER_ID, () => setSelectedNames([]));\n\n useEffect(() => {\n if (!isDisabled) {\n axios\n .get(\"/auto_plans/auto_plans_no_actions.json?order=asc\")\n .then((results) => {\n let temphashOptions = {};\n results.data.forEach(({ id, name }) => {\n setAutoPlans((aps) => [...aps, { id, name }]);\n\n temphashOptions = { ...temphashOptions, [id]: name };\n });\n\n setSelectedNames(\n previousSelectedPlanIds?.map((id) => ({ label: temphashOptions[id], value: id })) || [],\n );\n })\n .catch(console.log);\n }\n }, [isDisabled, previousSelectedPlanIds]);\n\n return (\n <div>\n {autoPlans.length > 0 && (\n <DropdownWithMultiCtrlledRemovable\n label=\"Auto Plan Name\"\n options={options}\n selectedOptions={selectedNames}\n removablePrefix=\"\"\n placeHolderTxt=\" auto plans selected\"\n onChange={(option) => setSelectedNames(option)}\n ctrlName=\"leads_filter[selected_auto_plan_name_filters][ids][]\"\n id=\"auto_plan_name_filter\"\n />\n )}\n {selectedNames.map((option) => (\n <input\n type=\"hidden\"\n name=\"leads_filter[selected_auto_plan_name_filters][names][]\"\n value={option.label}\n key={option.value}\n />\n ))}\n <hr />\n </div>\n );\n};\n\nexport default AutoPlanNameSelect;\n\nAutoPlanNameSelect.propTypes = {\n isDisabled: bool,\n previousSelectedPlanIds: arrayOf(string),\n};\n\nAutoPlanNameSelect.defaultProps = {\n isDisabled: false,\n previousSelectedPlanIds: [],\n};\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport \"../Filters.sass\";\nimport AutoPlanStateSelect from \"./AutoPlanStateSelect\";\nimport AutoPlanNameSelect from \"./AutoPlanNameSelect\";\n\nconst AutoPlanFilters = ({ previousSelectedPlanIds, previousSelectedStates }) => {\n const [isPlanDropdownDisabled, setisPlanDropdownDisabled] = useState(false);\n\n const togglePlanDropdown = () => {\n setisPlanDropdownDisabled((isDisabled) => !isDisabled);\n };\n\n return (\n <>\n <AutoPlanStateSelect\n previousSelectedStates={previousSelectedStates}\n togglePlanDropdown={togglePlanDropdown}\n />\n <AutoPlanNameSelect\n isDisabled={isPlanDropdownDisabled}\n previousSelectedPlanIds={previousSelectedPlanIds}\n />\n </>\n );\n};\n\nAutoPlanFilters.propTypes = {\n previousSelectedPlanIds: PropTypes.arrayOf(PropTypes.string).isRequired,\n previousSelectedStates: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default AutoPlanFilters;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { Row, Col } from \"../../shared/v1\";\n\nclass AutoPlan extends React.Component {\n handleClone() {\n const {\n autoPlansRootPath,\n onCloneAction,\n isCloningAutoPlan,\n autoPlan: { id },\n } = this.props;\n const clonePath = `${autoPlansRootPath}/${id}/clone`;\n\n if (!isCloningAutoPlan) onCloneAction(clonePath);\n }\n\n peopleEnrolledCount(numEnrolled, planId, planName) {\n const { baseLeadFilterPath } = this.props;\n if (numEnrolled === 0) return numEnrolled;\n\n const planNameParam = `leads_filter[selected_auto_plan_name_filters][names][]=${planName}`;\n const planIdParam = `leads_filter[selected_auto_plan_name_filters][ids][]=${planId}`;\n const leadFilterParams = baseLeadFilterPath + encodeURI(`&${planNameParam}&${planIdParam}`);\n const styles = { color: \"#59C4C4\", textDecoration: \"none\" };\n\n return (\n <a href={leadFilterParams} target=\"_blank\" style={styles} rel=\"noreferrer\">\n {numEnrolled}\n </a>\n );\n }\n\n render() {\n const { autoPlan, onPreview, platformAccount, onShareAutoPlan, onDeleteAutoPlan } = this.props;\n\n return (\n <Row className=\"hover:tw-bg-gray-5\">\n <Col size={12}>\n <Row className=\"table-row\">\n <Col size={4}>\n <Row>\n <Col size={1}>\n <i className=\"fa fa-user action-plan-icon\" aria-hidden=\"true\" />\n </Col>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <Col size={11} className=\"ellipsify pseudo-link underline\" onClick={onPreview}>\n {autoPlan.name}\n </Col>\n </Row>\n </Col>\n <Col size={1}>{autoPlan.actions_count}</Col>\n <Col size={1}>\n {autoPlan.plan_type === \"people\"\n ? this.peopleEnrolledCount(autoPlan.assigned_plans_count, autoPlan.id, autoPlan.name)\n : autoPlan.assigned_plans_count}\n </Col>\n <Col size={2}>{moment(autoPlan.created_at).format(\"MM/DD/YYYY\")}</Col>\n <Col size={2}>{moment(autoPlan.updated_at).format(\"MM/DD/YYYY\")}</Col>\n <Col size={2}>\n <div className=\"tw-text-right auto-plan-action-icons\">\n <a href={`/auto_plans/${autoPlan.id}`} aria-label=\"edit\">\n <i className=\"fa fa-pencil pseudo-link\" />\n </a>\n\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i className=\"fa fa-files-o pseudo-link p-l-20\" onClick={this.handleClone.bind(this)} />\n {platformAccount && (\n /* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n <i\n className=\"fa pseudo-link fa-share-square-o p-l-20\"\n onClick={() => onShareAutoPlan(autoPlan.id)}\n />\n )}\n\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <i\n className=\"fa fa-trash pseudo-link p-l-20 p-r-10\"\n onClick={() => onDeleteAutoPlan(autoPlan.id)}\n />\n </div>\n </Col>\n </Row>\n </Col>\n </Row>\n );\n }\n}\n\nexport default AutoPlan;\n\nAutoPlan.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n autoPlan: PropTypes.objectOf(PropTypes.any).isRequired,\n onPreview: PropTypes.func.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n platformAccount: PropTypes.objectOf(PropTypes.any).isRequired,\n onShareAutoPlan: PropTypes.func.isRequired,\n onDeleteAutoPlan: PropTypes.func.isRequired,\n autoPlansRootPath: PropTypes.string.isRequired,\n onCloneAction: PropTypes.func.isRequired,\n isCloningAutoPlan: PropTypes.bool.isRequired,\n baseLeadFilterPath: PropTypes.string.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst SharedEmail = ({ email, handleRemoveEmail }) => (\n <div style={{ display: \"inline-block\", margin: \"1px 0 2px 0\" }}>\n <div className=\"shared-email-bubble\" contentEditable={false}>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <span className=\"fa fa-times\" onClick={() => handleRemoveEmail(email)} />\n <span>{email}</span>\n </div>\n </div>\n);\n\nexport default SharedEmail;\n\nSharedEmail.propTypes = {\n email: PropTypes.string.isRequired,\n handleRemoveEmail: PropTypes.func.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal, Button, FormGroup, Input, CancelButton } from \"../../shared/v1\";\nimport SharedEmail from \"./SharedEmail\";\nimport Error from \"../../shared/Error\";\n\nexport default class ShareAutoPlanModal extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n sharedEmails: [],\n nextEmailValue: \"\",\n copiedPlan: false,\n };\n }\n\n handleKeyDown = (e) => {\n const { nextEmailValue, sharedEmails } = this.state;\n // Handle backspace\n if (e.which === 8) {\n if (nextEmailValue === \"\" && sharedEmails.length > 0) {\n this.handleRemoveEmail(sharedEmails.last());\n }\n }\n // Handle enter or spacebar\n else if (e.which === 13 || e.which === 32) {\n const nextEmail = nextEmailValue;\n if (nextEmail !== \"\") {\n this.setState((prevState) => ({\n sharedEmails: prevState.sharedEmails.concat(nextEmail),\n nextEmailValue: \"\",\n copiedPlan: false,\n }));\n }\n }\n };\n\n handleChange = (e) => {\n const value = e.target.value.trim();\n this.setState({ nextEmailValue: value });\n };\n\n handleRemoveEmail = (emailToRemove) => {\n this.setState((prevState) => {\n const emailAfterRemoval = prevState.sharedEmails.filter((email) => email !== emailToRemove);\n\n return {\n sharedEmails: emailAfterRemoval,\n };\n });\n // eslint-disable-next-line react/no-string-refs\n this.refs.textInput.focus();\n };\n\n handleCloseModal = () => {\n const { closeAutoPlanShareModal } = this.props;\n this.setState({ sharedEmails: [], nextEmailValue: \"\", copiedPlan: false });\n closeAutoPlanShareModal();\n };\n\n allEmails = () => {\n const { sharedEmails, nextEmailValue } = this.state;\n return sharedEmails.concat(nextEmailValue).filter((elem) => elem);\n };\n\n copySharingLink = () => {\n // eslint-disable-next-line react/no-string-refs\n const copyText = this.refs.sharingAutoPlanLink;\n copyText.select();\n document.execCommand(\"copy\");\n this.setState({ copiedPlan: true });\n };\n\n render() {\n const { copiedPlan, sharedEmails, nextEmailValue } = this.state;\n const {\n activeAutoPlanId,\n autoPlanName,\n emailErrors,\n isAutoPlanShareModalOpen,\n shareAutoPlan,\n sharingLink,\n } = this.props;\n return (\n <Modal show={isAutoPlanShareModalOpen} onHide={this.handleCloseModal}>\n <Modal.Header closeButton>\n <Modal.Title>Share Auto Plan With Others</Modal.Title>\n </Modal.Header>\n <Modal.Body>\n {emailErrors && <Error errorMessage={emailErrors} />}\n <strong>\n <p>\n Sharing this Auto Plan with another Brivity account will also share any custom roles and dates\n associated with the plan.\n </p>\n </strong>\n <p>\n Share this plan via a link or enter the email addresses of the Brivity account owners or admins\n you want to share the plan with. If you share the plan via email, they will be notified via email\n and will need to accept the plan on the "Shared with me" tab in Auto Plans.\n </p>\n <FormGroup>\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n <label>Sharing Link</label>\n <div className=\"tw-table\">\n <Input\n // eslint-disable-next-line react/no-string-refs\n ref=\"sharingAutoPlanLink\"\n style={{ fontWeight: \"200\" }}\n type=\"text\"\n readOnly\n value={sharingLink}\n />\n <span className=\"tw-table-cell tw-w-1/100 tw-align-middle\">\n <Button\n variant=\"info\"\n className=\"tw-z-2 tw--ml-1px tw-rounded-l-none\"\n type=\"button\"\n onClick={this.copySharingLink}\n data-clipboard-text={sharingLink}\n >\n {copiedPlan ? \"Copied\" : \"Copy\"}\n </Button>\n </span>\n </div>\n </FormGroup>\n <FormGroup>\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n <label>Email</label>\n <div id=\"owner-emails-field\" contentEditable={false}>\n {sharedEmails.map((email, index) => (\n // eslint-disable-next-line react/no-array-index-key\n <SharedEmail key={index} email={email} handleRemoveEmail={this.handleRemoveEmail} />\n ))}\n <Input\n // The `nextEmailValue` length was being passed here through the `size` prop,\n // but this is not the same `size` prop as the one from the native input element,\n // so it was causing some visual issues and was removed.\n //\n // If it needs to be added back, a separate prop should be created to handle it.\n\n className=\"tw-min-h-[37px]\"\n deprecatedOverridePaddingClasses=\"tw-pt-4px tw-pr-32px tw-pb-6px tw-pl-16px\"\n type=\"text\"\n // eslint-disable-next-line jsx-a11y/no-autofocus\n autoFocus\n // eslint-disable-next-line react/no-string-refs\n ref=\"textInput\"\n value={nextEmailValue}\n onChange={this.handleChange}\n onKeyDown={this.handleKeyDown}\n />\n </div>\n </FormGroup>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={this.handleCloseModal} />\n <Button\n variant=\"info\"\n className=\"tw-float-right\"\n onClick={() => shareAutoPlan(activeAutoPlanId, autoPlanName, this.allEmails())}\n >\n Share\n </Button>\n </Modal.Body>\n </Modal>\n );\n }\n}\n\nShareAutoPlanModal.propTypes = {\n activeAutoPlanId: PropTypes.string.isRequired,\n autoPlanName: PropTypes.string.isRequired,\n closeAutoPlanShareModal: PropTypes.func.isRequired,\n emailErrors: PropTypes.string.isRequired,\n isAutoPlanShareModalOpen: PropTypes.bool.isRequired,\n shareAutoPlan: PropTypes.func.isRequired,\n sharingLink: PropTypes.string.isRequired,\n};\n","import React from 'react';\nimport { Alert } from 'react-bootstrap';\n\nconst DismissibleAlert = (props) => {\n if (props.displayAlert) {\n return (\n <Alert\n bsStyle={props.variant}\n onDismiss={props.handleDismissAlert}\n >\n {props.content}\n </Alert>\n );\n } else {\n return null;\n }\n};\n\nexport default DismissibleAlert;\n","import { sortByKey } from '../../shared/Utilities';\n\nconst autoPlanNameLabel = (id, plans = []) => {\n const plan = plans.filter(p => p.id == id)[0];\n return plan ? plan.name : '';\n}\n\nconst autoPlanOptions = (plans = []) => {\n const options = plans.map(plan => {\n return { label: plan.name, value: plan.id }\n })\n return sortByKey(options, 'label');\n}\n\nconst statusOptions = [\n {label: 'Any', value: 'any'},\n {label: 'New', value: 'new'},\n {label: 'Unqualified', value: 'unqualified'},\n {label: 'Watch', value: 'watch'},\n {label: 'Nurture', value: 'nurture'},\n {label: 'Hot', value: 'hot'},\n {label: 'Past (Client)', value: 'past'},\n {label: 'Inactive', value: 'inactive'}\n];\n\nconst intentOptions = [\n {label: 'Any', value: 'any'},\n {label: 'Buyer', value: 'buyer'},\n {label: 'Seller', value: 'seller'},\n {label: 'Candidate', value: 'candidate'},\n {label: 'Recruit', value: 'recruit'}\n];\n\nexport { autoPlanNameLabel, autoPlanOptions, statusOptions, intentOptions };\n","import React from \"react\";\nimport _ from \"lodash\";\nimport { autoPlanNameLabel } from \"./helpers\";\nimport { Row, Col } from \"../../shared/v1\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport { Edit, Trash } from \"../../shared/v2/Icomoon\";\n\nconst intents = {\n buyer: \"b\",\n seller: \"s\",\n recruit: \"r\",\n candidate: \"c\",\n};\nclass Trigger extends React.PureComponent {\n render() {\n const { trigger, showTriggerModal, autoPlans, showDeleteModal, onUpdate, triggersPath, getTriggers } =\n this.props;\n const triggerPath = `${triggersPath}/${trigger.id}`;\n const updateCallback = () => {\n getTriggers(triggersPath);\n };\n\n return (\n <Row className=\"table-row hover:tw-bg-gray-5\">\n <Col size={1}>\n <div className={intents[trigger.intent] && `intent-box ${intents[trigger.intent]}`}>\n {intents[trigger.intent] || \"Any\"}\n </div>\n </Col>\n <Col size={2} className={trigger.source_slug}>\n {trigger.source_name}\n </Col>\n <Col size={1}>{_.capitalize(trigger.status)}</Col>\n <Col size={1}>{trigger.tag}</Col>\n <Col size={4}>{_.capitalize(autoPlanNameLabel(trigger.auto_plan_id, autoPlans))}</Col>\n <Col size={1}>{_.capitalize(trigger.assigned_plans_count)}</Col>\n {trigger.state == \"enabled\" && (\n <Col size={1} onClick={() => onUpdate(triggerPath, { state: \"disabled\" }, updateCallback)}>\n <div className=\"toggle-on\">\n <div className=\"toggle-on-circle\"></div>\n </div>\n </Col>\n )}\n {trigger.state == \"disabled\" && (\n <Col size={1} onClick={() => onUpdate(triggerPath, { state: \"enabled\" }, updateCallback)}>\n <div className=\"toggle-off\">\n <div className=\"toggle-off-circle\"></div>\n </div>\n </Col>\n )}\n <Col size={1} className=\"tw-text-right icons\">\n <Col size={6}>\n <Edit className=\"tw-cursor-pointer\" onClick={() => showTriggerModal(trigger)} />\n </Col>\n <Col size={6}>\n <Trash className=\"tw-cursor-pointer\" onClick={() => showDeleteModal(trigger)} />\n </Col>\n </Col>\n </Row>\n );\n }\n}\nexport default Trigger;\n","import React from \"react\";\nimport { Button, Checkbox, Dropdown, FormGroup, Row, Col, CancelButton } from \"../../shared/v1\";\nimport Error from \"../../shared/Error\";\nimport { autoPlanOptions, statusOptions, intentOptions } from \"./helpers\";\n\nconst defaultTrigger = {\n auto_plan_id: undefined,\n intent: \"any\",\n source_slug: \"any\",\n status: \"any\",\n tag: \"any\",\n};\n\nclass TriggerForm extends React.PureComponent {\n handleSubmit = () => {\n const { onSubmitPath, accountId, onSubmit, triggerForm } = this.props;\n const formData = { ...defaultTrigger, ...triggerForm, account_id: accountId };\n\n onSubmit(onSubmitPath, formData);\n };\n\n render() {\n const { sources, tags, onTriggerChange, autoPlans, closeAction, isSubmitting, hasError, errorMessage } =\n this.props;\n const triggerForm = { ...defaultTrigger, ...this.props.triggerForm };\n\n return (\n <div className=\"trigger-form\">\n {hasError && <Error errorMessage={errorMessage} />}\n\n <FormGroup className=\"divider\">\n <Row>\n <Col size={12}>\n <div className=\"p-b-10\">Apply Auto Plan</div>\n <label>Auto Plan</label>\n <Dropdown\n name=\"auto_plan_id\"\n value={triggerForm && triggerForm.auto_plan_id}\n onUpdate={(opt) => onTriggerChange(\"auto_plan_id\", opt.value)}\n placeholder=\"Select a Plan\"\n isSearchable={true}\n isClearable={false}\n options={autoPlanOptions(autoPlans)}\n />\n </Col>\n </Row>\n </FormGroup>\n\n <FormGroup>\n <Row>\n <Col size={12}>Auto start when a contact meets following conditions</Col>\n </Row>\n </FormGroup>\n\n <FormGroup>\n <Row>\n <Col size={6}>\n <label>Intent</label>\n\n <Dropdown\n value={triggerForm && triggerForm.intent}\n name=\"intent\"\n onUpdate={(opt) => onTriggerChange(\"intent\", opt.value)}\n isSearchable={false}\n isClearable={false}\n options={intentOptions}\n />\n </Col>\n\n <Col size={6}>\n <label>Source</label>\n\n <Dropdown\n name=\"source_slug\"\n value={triggerForm && triggerForm.source_slug}\n onUpdate={(opt) => onTriggerChange(\"source_slug\", opt.value)}\n isClearable={false}\n options={[{ label: \"Any\", value: \"any\" }].concat(sources)}\n />\n </Col>\n </Row>\n </FormGroup>\n\n <FormGroup>\n <Row>\n <Col size={6}>\n <label>Status</label>\n\n <Dropdown\n name=\"status\"\n onUpdate={(opt) => onTriggerChange(\"status\", opt.value)}\n value={triggerForm && triggerForm.status}\n isSearchable={false}\n isClearable={false}\n options={statusOptions}\n />\n </Col>\n <Col size={6}>\n <label>Tag</label>\n\n <Dropdown\n name=\"tag\"\n value={triggerForm && triggerForm.tag}\n onUpdate={(opt) => onTriggerChange(\"tag\", opt.value)}\n isClearable={false}\n options={[{ label: \"Any\", value: \"any\" }].concat(tags)}\n />\n </Col>\n </Row>\n </FormGroup>\n\n <FormGroup>\n <Row>\n <Col size={12}>\n Note: conditions apply to existing contacts that are updated via import but do not apply to mass\n imported contacts. If a contact already has an active Auto Plan applied, triggers will not apply\n another plan. Subsequent plans need to be applied manually.\n </Col>\n </Row>\n </FormGroup>\n\n {false && (\n <FormGroup>\n <Col size={12}>\n <Checkbox\n labelClassName=\"tw-text-gray-base tw-text-[14px] tw-select-none\"\n deprecatedOverrideLabelPaddingClasses=\"tw-pl-10px\"\n deprecatedOverrideCheckboxMarginClasses=\"!tw-mt-0 !tw--ml-20px\"\n name=\"new_imported_contact\"\n inline={true}\n onChange={() => onTriggerChange(\"new_imported_contact\", !triggerForm.new_imported_contact)}\n checked={triggerForm.new_imported_contact || false}\n >\n Include new imported contacts\n </Checkbox>\n </Col>\n </FormGroup>\n )}\n\n <FormGroup className=\"p-t-20\">\n <Row>\n <Col size={12}>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={closeAction} />\n {isSubmitting ? (\n <Button size=\"small\" variant=\"info\" className=\"tw-float-right\" disabled>\n Saving...\n </Button>\n ) : (\n <Button size=\"small\" variant=\"info\" className=\"tw-float-right\" onClick={this.handleSubmit}>\n Save\n </Button>\n )}\n </Col>\n </Row>\n </FormGroup>\n </div>\n );\n }\n}\nexport default TriggerForm;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Trigger from \"./Trigger\";\nimport \"./Triggers.scss\";\nimport TriggerForm from \"./TriggerForm\";\nimport \"./TriggerTable.scss\";\nimport \"../../shared/StandardTable.scss\";\nimport { Modal, CancelButton, DeleteButton, Row, Col } from \"../../shared/v1\";\nimport TextButton from \"../../shared/v2/TextButton/TextButton\";\n\nclass Triggers extends React.Component {\n isModalOpen() {\n const { isTriggerDeleteModalOpen, isTriggerModalOpen } = this.props;\n return isTriggerDeleteModalOpen || isTriggerModalOpen;\n }\n\n renderTriggerDeleteModal = () => {\n const {\n isTriggerDeleteModalOpen,\n deleteTrigger,\n closeTriggerDeleteModal,\n isDeletingTrigger,\n triggerToDelete,\n triggersPath,\n getTriggers,\n } = this.props;\n if (!triggerToDelete) {\n return;\n }\n const deletePath = `${triggersPath}/${triggerToDelete.id}`;\n const deleteCallback = () => {\n getTriggers(triggersPath);\n };\n\n return (\n <Modal show={isTriggerDeleteModalOpen} onHide={closeTriggerDeleteModal}>\n <Modal.Header closeButton>\n <Modal.Title>Are you sure you want to delete this trigger?</Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={closeTriggerDeleteModal} />\n <DeleteButton\n className=\"tw-float-right\"\n disabled={isDeletingTrigger}\n onClick={() => deleteTrigger(triggerToDelete.id, deletePath, deleteCallback)}\n />\n </Modal.Body>\n </Modal>\n );\n };\n\n renderModal() {\n const { isTriggerDeleteModalOpen, isTriggerModalOpen } = this.props;\n\n if (isTriggerDeleteModalOpen) {\n return this.renderTriggerDeleteModal(this.props);\n } else if (isTriggerModalOpen) {\n return this.renderTriggerFormModal(this.props);\n } else {\n return null;\n }\n }\n\n renderTriggerFormModal = () => {\n const {\n updateTriggerValues,\n isTriggerModalOpen,\n triggerForm,\n closeTriggerModal,\n createTrigger,\n updateTrigger,\n triggersPath,\n accountUuid,\n isTriggerSubmitting,\n } = this.props;\n const isEditing = triggerForm && triggerForm.id;\n const title = isEditing ? \"Edit\" : \"New\";\n const updateOrCreateTrigger = isEditing ? updateTrigger : createTrigger;\n const afterSubmitCallback = () => {\n this.props.getTriggers(triggersPath);\n };\n const triggerSavePath = isEditing ? `${triggersPath}/${triggerForm.id}` : triggersPath;\n\n return (\n isTriggerModalOpen && (\n <Modal show={isTriggerModalOpen} onHide={closeTriggerModal}>\n <Modal.Header closeButton>\n <Modal.Title>{title} Auto Plan Trigger</Modal.Title>\n </Modal.Header>\n <Modal.Body className=\"trigger-modal-body\" deprecatedOverridePaddingClasses=\"tw-pt-15px tw-px-15px\">\n <TriggerForm\n triggerForm={triggerForm}\n accountId={accountUuid}\n onSubmit={(path, form) => updateOrCreateTrigger(path, form, afterSubmitCallback)}\n onSubmitPath={triggerSavePath}\n sources={this.props.sources}\n tags={this.props.tags}\n hasError={this.props.hasError}\n errorMessage={this.props.errorMessage}\n autoPlans={this.props.autoPlans}\n autoPlansPath={this.props.autoPlansPath}\n closeAction={closeTriggerModal}\n isSubmitting={isTriggerSubmitting}\n onTriggerChange={updateTriggerValues}\n />\n </Modal.Body>\n </Modal>\n )\n );\n };\n\n renderEmptyState = () => <div className=\"trigger-table-empty-row\">No auto plan triggers</div>;\n\n renderLoadingState = () => <div className=\"table-empty-row\">Loading trigger..</div>;\n\n render() {\n const {\n triggers,\n showTriggerModal,\n activeTrigger,\n autoPlans,\n openTriggerDeleteModal,\n getTriggers,\n triggersPath,\n updateTrigger,\n isFetchingTriggers,\n } = this.props;\n const hasTriggers = triggers?.length > 0;\n\n return (\n <div className=\"brivity-panel triggers-wrap\">\n <div className=\"brivity-panel-header\">\n People Auto Plan Triggers\n <TextButton schema=\"sentence\" size=\"small\" onClick={() => showTriggerModal(activeTrigger)}>\n Add Trigger\n </TextButton>\n </div>\n <div className=\"brivity-panel-body\">\n <Row>\n <Col size={12}>\n <div className=\"standard-table trigger-table\">\n {!hasTriggers && !isFetchingTriggers && this.renderEmptyState()}\n {!hasTriggers && isFetchingTriggers && this.renderLoadingState()}\n\n {hasTriggers && (\n <Row className=\"table-header-row\">\n <Col size={1}>Intent</Col>\n <Col size={2}>Source</Col>\n <Col size={1}>Status</Col>\n <Col size={1}>Tag</Col>\n <Col size={4}>People Auto Plans</Col>\n <Col size={1}>Enrolled</Col>\n <Col size={1}>Off/On</Col>\n <Col size={1} />\n </Row>\n )}\n {triggers &&\n triggers.map((trigger) => (\n <Trigger\n key={trigger.id}\n autoPlans={autoPlans}\n onUpdate={updateTrigger}\n showTriggerModal={showTriggerModal}\n getTriggers={getTriggers}\n showDeleteModal={openTriggerDeleteModal}\n triggersPath={triggersPath}\n trigger={trigger}\n />\n ))}\n </div>\n </Col>\n </Row>\n </div>\n\n {this.isModalOpen() && this.renderModal()}\n </div>\n );\n }\n}\nexport default Triggers;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, FormGroup, Col, Input, CancelButton } from \"../../shared/v1\";\nimport Error from \"../../shared/Error\";\n\nconst AutoPlansForm = ({\n autoPlanForm: propsAutoPlanForm,\n onCloseAction,\n autoPlansCreatePath,\n accountUuid,\n onFormChange,\n onSubmitAction,\n isSubmitting,\n hasError,\n errorMessage,\n planType,\n}) => {\n const autoPlanForm = propsAutoPlanForm || {};\n const treatAssignableAsAssignedFor = planType === \"people\";\n const formToSubmit = {\n ...autoPlanForm,\n account_id: accountUuid,\n plan_type: planType,\n treat_assignable_as_assigned_for: treatAssignableAsAssignedFor,\n };\n\n return (\n <form\n onSubmit={(e) => {\n e.preventDefault();\n onSubmitAction(autoPlansCreatePath, formToSubmit);\n }}\n >\n {hasError && <Error errorMessage={errorMessage} />}\n\n <p className=\"form-description\">\n Please specify name for your new auto plan here. In <span className=\"bold\">Auto Plans</span>, tasks\n and interactions will be created when the plan is applied.\n </p>\n\n <FormGroup horizontal>\n <Col size={12}>\n <label>Plan Name</label>\n <Input\n size=\"small\"\n name=\"name\"\n onChange={(e) => onFormChange(e.target.name, e.target.value)}\n value={autoPlanForm.name || \"\"}\n />\n </Col>\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={() => onCloseAction()} />\n <Button\n size=\"small\"\n variant=\"info\"\n className=\"tw-float-right\"\n disabled={isSubmitting}\n onClick={() => onSubmitAction(autoPlansCreatePath, formToSubmit)}\n >\n Next\n </Button>\n </Col>\n </FormGroup>\n </form>\n );\n};\n\nexport default AutoPlansForm;\n\nAutoPlansForm.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanForm: PropTypes.objectOf(PropTypes.any).isRequired,\n onCloseAction: PropTypes.func.isRequired,\n autoPlansCreatePath: PropTypes.string.isRequired,\n accountUuid: PropTypes.string.isRequired,\n onFormChange: PropTypes.func.isRequired,\n onSubmitAction: PropTypes.func.isRequired,\n isSubmitting: PropTypes.bool.isRequired,\n hasError: PropTypes.bool.isRequired,\n errorMessage: PropTypes.string.isRequired,\n planType: PropTypes.string.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal } from \"../../../shared/v1\";\nimport AutoPlansForm from \"../AutoPlansForm\";\n\nconst NewAutoPlanModal = ({\n closeNewAutoPlanModal,\n isModalOpen,\n autoPlansRootPath,\n autoPlanForm,\n accountUuid,\n planType,\n submitNewAutoPlan,\n autoPlanFormUpdate,\n modalErrorMessage,\n modalHasError,\n isModalSubmitting,\n}) => (\n <Modal show={isModalOpen} onHide={closeNewAutoPlanModal}>\n <Modal.Header closeButton>\n <Modal.Title>New Auto Plan</Modal.Title>\n </Modal.Header>\n <Modal.Body className=\"auto-plans-form\" deprecatedOverridePaddingClasses=\"tw-px-15px\">\n <AutoPlansForm\n autoPlansCreatePath={autoPlansRootPath}\n autoPlanForm={autoPlanForm}\n accountUuid={accountUuid}\n planType={planType}\n onCloseAction={closeNewAutoPlanModal}\n onSubmitAction={submitNewAutoPlan}\n onFormChange={autoPlanFormUpdate}\n errorMessage={modalErrorMessage}\n hasError={modalHasError}\n isSubmitting={isModalSubmitting}\n />\n </Modal.Body>\n </Modal>\n);\n\nexport default NewAutoPlanModal;\n\nNewAutoPlanModal.propTypes = {\n closeNewAutoPlanModal: PropTypes.func.isRequired,\n isModalOpen: PropTypes.bool.isRequired,\n autoPlansRootPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanForm: PropTypes.objectOf(PropTypes.any).isRequired,\n accountUuid: PropTypes.string.isRequired,\n planType: PropTypes.string.isRequired,\n submitNewAutoPlan: PropTypes.func.isRequired,\n autoPlanFormUpdate: PropTypes.func.isRequired,\n modalErrorMessage: PropTypes.string.isRequired,\n modalHasError: PropTypes.bool.isRequired,\n isModalSubmitting: PropTypes.bool.isRequired,\n};\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { autoPlanNameLabel } from \"../helpers\";\nimport { FloatingForm } from \"../../../shared/v2/Modal\";\nimport Button from \"../../../shared/v2/Button\";\nimport RadioButton from \"../../../shared/v2/RadioButton/RadioButton\";\n\nconst DeleteAutoPlanModal = ({\n isAutoPlanDeleteModalOpen,\n deleteAutoPlan,\n closeAutoPlanDeleteModal,\n isDeletingAutoPlan,\n activeAutoPlanId,\n autoPlansRootPath,\n autoPlans,\n supportPhoneNumber,\n}) => {\n const [deleteNow, setDeleteNow] = useState(false);\n const deletePath = `${autoPlansRootPath}/${activeAutoPlanId}`;\n const autoPlanName = autoPlanNameLabel(activeAutoPlanId, autoPlans);\n\n useEffect(() => {\n if (!isAutoPlanDeleteModalOpen) setDeleteNow(false);\n }, [isAutoPlanDeleteModalOpen]);\n\n return (\n <FloatingForm\n show={isAutoPlanDeleteModalOpen}\n onCancel={closeAutoPlanDeleteModal}\n title=\"Remove Auto Plan\"\n footer={\n <div className=\"tw-w-full tw-flex tw-justify-between tw-items-center\">\n <Button\n size=\"medium\"\n schema=\"secondary\"\n onClick={() => closeAutoPlanDeleteModal()}\n disabled={isDeletingAutoPlan}\n >\n Cancel\n </Button>\n {deleteNow ? (\n <Button\n size=\"medium\"\n schema=\"warning\"\n onClick={() => deleteAutoPlan(deletePath)}\n isLoading={isDeletingAutoPlan}\n >\n Delete\n </Button>\n ) : (\n <div>\n <span className=\"tw-text-neutral-gray-50\">Contact support at {supportPhoneNumber}</span>{\" \"}\n </div>\n )}\n </div>\n }\n >\n <p className=\"tw-mb-[24px]\">How would you like to remove this Auto Plan?</p>\n <p className=\"tw-mb-[24px]\">\n Auto Plan: <b>{autoPlanName}</b>\n </p>\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <div className=\"tw-flex tw-items-start\">\n <RadioButton\n name=\"deleteNow\"\n style={{ alignSelf: \"start\", flex: \"0 0 auto\" }}\n value={false}\n checked={!deleteNow}\n onChange={() => setDeleteNow(false)}\n disabled={isDeletingAutoPlan}\n label={\n <>\n <b>Remove this Auto Plan from all contacts and then delete the template</b>\n <div className=\"tw-text-neutral-gray-50\">\n Support will need to help you remove this Auto Plan from your contacts. You can contact\n support via chat, or by calling {supportPhoneNumber}. All triggers associated with this Auto\n Plan will also be deleted.\n </div>\n </>\n }\n />\n </div>\n <div className=\"tw-flex tw-items-start\">\n <RadioButton\n name=\"deleteNow\"\n style={{ alignSelf: \"start\", flex: \"0 0 auto\" }}\n value\n checked={deleteNow}\n onChange={() => setDeleteNow(true)}\n disabled={isDeletingAutoPlan}\n label={\n <>\n <b>Delete this Auto Plan template without removing it from contacts</b>\n <div className=\"tw-text-neutral-gray-50\">\n Warning: You will <b>not</b> be able to remove this Auto Plan from contacts after it has\n been deleted.\n </div>\n </>\n }\n />\n </div>\n </div>\n </FloatingForm>\n );\n};\n\nexport default DeleteAutoPlanModal;\n\nDeleteAutoPlanModal.propTypes = {\n isAutoPlanDeleteModalOpen: PropTypes.bool.isRequired,\n deleteAutoPlan: PropTypes.func.isRequired,\n closeAutoPlanDeleteModal: PropTypes.func.isRequired,\n isDeletingAutoPlan: PropTypes.bool.isRequired,\n activeAutoPlanId: PropTypes.string.isRequired,\n autoPlansRootPath: PropTypes.string.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlans: PropTypes.objectOf(PropTypes.any).isRequired,\n supportPhoneNumber: PropTypes.string.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal } from \"../../../shared/v1\";\nimport AssignedPlanDetailPreview from \"../../../AssignedPlans/components/AssignedPlanDetailPreview\";\n\nconst PreviewAutoPlanModal = ({\n closeModal,\n isAutoPlanPreviewModalOpen,\n autoPlanPreview,\n previewAutoPlanAction,\n activeAutoPlanActionId,\n}) => (\n <Modal\n size=\"large\"\n show={isAutoPlanPreviewModalOpen}\n onHide={() => closeModal()}\n className=\"assigned-plan-modal\"\n >\n <Modal.Header deprecatedOverridePaddingClasses=\"tw-pt-15px tw-px-15px\" closeButton>\n <Modal.Title className=\"d-flex\">\n {`Auto Plan: ${autoPlanPreview.name}`}\n <span className={`state ${autoPlanPreview.state}`} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body deprecatedOverridePaddingClasses=\"tw-p-0\">\n <AssignedPlanDetailPreview\n autoPlanPreview={autoPlanPreview}\n previewAutoPlanAction={previewAutoPlanAction}\n activeAutoPlanActionId={activeAutoPlanActionId}\n />\n </Modal.Body>\n </Modal>\n);\n\nexport default PreviewAutoPlanModal;\n\nPreviewAutoPlanModal.propTypes = {\n closeModal: PropTypes.func.isRequired,\n isAutoPlanPreviewModalOpen: PropTypes.bool.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n autoPlanPreview: PropTypes.objectOf(PropTypes.any).isRequired,\n previewAutoPlanAction: PropTypes.func.isRequired,\n activeAutoPlanActionId: PropTypes.string.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { CaretDown, CaretUp } from \"../../shared/v2/Icomoon\";\n\nconst SortCarets = ({ isActive, dir }) => (\n <div className=\"tw-inline-flex tw-flex-col tw-align-middle\">\n <CaretUp className={`tw-mb-[-3px] ${isActive && dir === \"asc\" ? \"tw-text-black\" : \"\"}`} />\n <CaretDown className={`tw-mt-[-2px] ${isActive && dir === \"desc\" ? \"tw-text-black\" : \"\"}`} />\n </div>\n);\n\nexport default SortCarets;\n\nSortCarets.propTypes = {\n isActive: PropTypes.bool.isRequired,\n dir: PropTypes.string.isRequired,\n};\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { sortBy } from \"lodash\";\nimport { LoadMoreButton, Row, Col } from \"../../shared/v1\";\nimport AutoPlan from \"./AutoPlan\";\nimport \"./AutoPlans.sass\";\nimport \"../../shared/StandardTable.scss\";\nimport Error from \"../../shared/Error\";\nimport ShareAutoPlanModal from \"./ShareAutoPlanModal\";\nimport DismissibleAlert from \"../../shared/DismissibleAlert\";\nimport TextButton from \"../../shared/v2/TextButton/TextButton\";\nimport Triggers from \"../../Triggers/components/Triggers\";\nimport NewAutoPlanModal from \"./modals/NewAutoPlanModal\";\nimport DeleteAutoPlanModal from \"./modals/DeleteAutoPlanModal\";\nimport PreviewAutoPlanModal from \"./modals/PreviewAutoPlanModal\";\nimport { autoPlanNameLabel } from \"./helpers\";\nimport { Search } from \"../../shared/v2/Icomoon\";\nimport TextInput from \"../../shared/v2/TextInput/TextInput\";\nimport SortCarets from \"./SortCarets\";\n\nconst TableLabel = ({ type }) => <>{type === \"transactions\" ? \"Transaction\" : \"People\"} Plans</>;\n\nTableLabel.propTypes = { type: PropTypes.string.isRequired };\n\nconst AutoPlans = ({\n accountUuid,\n activeAutoPlanActionId,\n activeAutoPlanId,\n appRootUrl,\n autoPlanForm,\n autoPlanFormUpdate,\n autoPlanPreview,\n autoPlans,\n autoPlansPath,\n autoPlansRootPath,\n baseLeadFilterPath,\n closeAutoPlanDeleteModal,\n closeAutoPlanShareModal,\n closeModal,\n closeNewAutoPlanModal,\n closeTriggerDeleteModal,\n closeTriggerModal,\n createTrigger,\n deleteAutoPlan,\n deleteTrigger,\n displayAlert,\n emailErrors,\n errorMessage,\n getAutoPlans,\n getTriggers,\n handleClone,\n handleDismissAutoPlanSharedAlert,\n hasError,\n isAutoPlanDeleteModalOpen,\n isAutoPlanPreviewModalOpen,\n isAutoPlanShareModalOpen,\n isCloningAutoPlan,\n isDeletingAutoPlan,\n isFetchingAutoPlans,\n isModalOpen,\n isModalSubmitting,\n modalErrorMessage,\n modalHasError,\n numberShared,\n openAutoPlanDeleteModal,\n openAutoPlanShareModal,\n openTriggerDeleteModal,\n planType,\n platformAccount,\n previewAutoPlanAction,\n shareAutoPlan,\n sharedPlanName,\n showAutoPlanPreviewModal,\n showNewAutoPlanModal,\n showTriggerModal,\n sources,\n submitNewAutoPlan,\n supportPhoneNumber,\n tags,\n triggers,\n triggersPath,\n updateTrigger,\n updateTriggerValues,\n}) => {\n const [state, _setState] = useState({\n currentPage: 1,\n orderBy: \"created_at\",\n orderDir: \"desc\",\n search: \"\",\n sortedAutoPlans: [],\n });\n const setState = (newState) => _setState((prevState) => ({ ...prevState, ...newState }));\n const hasAutoPlans = autoPlans?.length > 0;\n const pluralizedAccount = numberShared > 1 ? \"accounts\" : \"account\";\n const showLoadMore = state.sortedAutoPlans.length > state.currentPage * 30;\n const autoPlanName = autoPlanNameLabel(activeAutoPlanId, autoPlans);\n\n useEffect(() => {\n getTriggers(triggersPath);\n getAutoPlans(autoPlansPath, planType);\n }, []);\n\n useEffect(() => {\n const matcher = new RegExp(state.search, \"i\");\n const sortedAutoPlans = sortBy(\n (autoPlans || []).filter((plan) => matcher.test(plan.name)),\n [state.orderBy],\n );\n if (state.orderDir === \"desc\") sortedAutoPlans.reverse();\n setState({ sortedAutoPlans });\n }, [autoPlans, state.search, state.orderBy, state.orderDir]);\n\n return (\n <>\n {planType === \"people\" && (\n <section className=\"p-y-20\">\n <div className=\"section-content\">\n <Triggers\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...triggers}\n accountUuid={accountUuid}\n autoPlans={autoPlans}\n closeTriggerDeleteModal={closeTriggerDeleteModal}\n closeTriggerModal={closeTriggerModal}\n createTrigger={createTrigger}\n deleteTrigger={deleteTrigger}\n getTriggers={getTriggers}\n openTriggerDeleteModal={openTriggerDeleteModal}\n showTriggerModal={showTriggerModal}\n sources={sources}\n tags={tags}\n triggersPath={triggersPath}\n updateTrigger={updateTrigger}\n updateTriggerValues={updateTriggerValues}\n />\n </div>\n </section>\n )}\n\n <div>\n <section className=\"p-y-20\">\n <DismissibleAlert\n variant=\"success\"\n content={`${sharedPlanName} successfully shared with ${numberShared} ${pluralizedAccount}`}\n displayAlert={displayAlert}\n handleDismissAlert={handleDismissAutoPlanSharedAlert}\n />\n <div className=\"section-content\">\n <div className=\"brivity-panel\">\n <div className=\"brivity-panel-header\">\n <TableLabel type={planType} />\n <TextButton\n className=\"action\"\n schema=\"sentence\"\n size=\"small\"\n onClick={() => showNewAutoPlanModal()}\n >\n Add Plan\n </TextButton>\n </div>\n <div className=\"brivity-panel-body\">\n {hasAutoPlans && (\n <div className=\"tw-relative\">\n <TextInput\n className=\"tw-mb-16px\"\n onChange={(e) => setState({ search: e.target.value })}\n placeholder={`Search ${planType === \"transactions\" ? \"transaction\" : planType} plans`}\n />\n <div className=\"tw-absolute tw-top-0 tw-bottom-[16px] tw-right-[12px] tw-flex tw-items-center\">\n <Search className=\"tw-text-gray-40\" size=\"l\" />\n </div>\n </div>\n )}\n <Row>\n <Col size={12}>\n <div className=\"standard-table auto-plan-table\">\n {hasError && <Error errorMessage={errorMessage} />}\n\n {!hasAutoPlans && !isFetchingAutoPlans && (\n <div className=\"table-empty-row\">No auto plans</div>\n )}\n\n {!hasAutoPlans && isFetchingAutoPlans && (\n <div className=\"table-empty-row\">Loading auto plans...</div>\n )}\n\n {hasAutoPlans && (\n <Row className=\"table-header-row\">\n <Col size={4}>\n <Row>\n <Col size={1} />\n <Col\n size={11}\n role=\"button\"\n tabIndex=\"0\"\n aria-label={`Sort Name ${state.orderDir}`}\n className=\"tw-cursor-pointer\"\n onKeyDown={(e) => {\n if (e.key === \"Enter\") {\n setState({\n orderBy: \"name\",\n orderDir: state.orderDir === \"asc\" ? \"desc\" : \"asc\",\n });\n }\n }}\n onClick={() =>\n setState({\n orderBy: \"name\",\n orderDir: state.orderDir === \"asc\" ? \"desc\" : \"asc\",\n })\n }\n >\n Name <SortCarets isActive={state.orderBy === \"name\"} dir={state.orderDir} />\n </Col>\n </Row>\n </Col>\n <Col size={1}>Steps</Col>\n <Col size={1}>Enrolled</Col>\n <Col\n size={2}\n role=\"button\"\n tabIndex=\"0\"\n aria-label={`Sort Created At ${state.orderDir}`}\n className=\"tw-cursor-pointer\"\n onKeyDown={(e) => {\n if (e.key === \"Enter\") {\n setState({\n orderBy: \"name\",\n orderDir: state.orderDir === \"asc\" ? \"desc\" : \"asc\",\n });\n }\n }}\n onClick={() =>\n setState({\n orderBy: \"created_at\",\n orderDir: state.orderDir === \"asc\" ? \"desc\" : \"asc\",\n })\n }\n >\n Created{\" \"}\n <SortCarets isActive={state.orderBy === \"created_at\"} dir={state.orderDir} />\n </Col>\n <Col size={2}>Last Updated</Col>\n <Col size={2} />\n </Row>\n )}\n {state.sortedAutoPlans?.slice(0, state.currentPage * 30).map((plan) => (\n <AutoPlan\n key={plan.id}\n autoPlan={plan}\n onPreview={() => showAutoPlanPreviewModal(plan.id)}\n onCloneAction={handleClone}\n onDeleteAutoPlan={openAutoPlanDeleteModal}\n onShareAutoPlan={openAutoPlanShareModal}\n autoPlansRootPath={autoPlansRootPath}\n isCloningAutoPlan={isCloningAutoPlan}\n platformAccount={platformAccount}\n baseLeadFilterPath={baseLeadFilterPath}\n />\n ))}\n {showLoadMore && (\n <div className=\"tw-text-center\">\n <LoadMoreButton\n onClick={() => setState({ currentPage: state.currentPage + 1 })}\n disabled={isFetchingAutoPlans}\n loading={isFetchingAutoPlans}\n />\n </div>\n )}\n </div>\n\n {isModalOpen && (\n <NewAutoPlanModal\n closeNewAutoPlanModal={closeNewAutoPlanModal}\n isModalOpen={isModalOpen}\n autoPlansRootPath={autoPlansRootPath}\n autoPlanForm={autoPlanForm}\n accountUuid={accountUuid}\n planType={planType}\n submitNewAutoPlan={submitNewAutoPlan}\n autoPlanFormUpdate={autoPlanFormUpdate}\n modalErrorMessage={modalErrorMessage}\n modalHasError={modalHasError}\n isModalSubmitting={isModalSubmitting}\n />\n )}\n\n {isAutoPlanPreviewModalOpen && (\n <PreviewAutoPlanModal\n closeModal={closeModal}\n isAutoPlanPreviewModalOpen={isAutoPlanPreviewModalOpen}\n autoPlanPreview={autoPlanPreview}\n previewAutoPlanAction={previewAutoPlanAction}\n activeAutoPlanActionId={activeAutoPlanActionId}\n />\n )}\n\n <DeleteAutoPlanModal\n isAutoPlanDeleteModalOpen={isAutoPlanDeleteModalOpen}\n deleteAutoPlan={deleteAutoPlan}\n closeAutoPlanDeleteModal={closeAutoPlanDeleteModal}\n isDeletingAutoPlan={isDeletingAutoPlan}\n activeAutoPlanId={activeAutoPlanId}\n autoPlansRootPath={autoPlansRootPath}\n autoPlans={autoPlans}\n supportPhoneNumber={supportPhoneNumber}\n />\n\n <ShareAutoPlanModal\n isAutoPlanShareModalOpen={isAutoPlanShareModalOpen}\n closeAutoPlanShareModal={closeAutoPlanShareModal}\n activeAutoPlanId={activeAutoPlanId}\n autoPlanName={autoPlanName}\n shareAutoPlan={shareAutoPlan}\n emailErrors={emailErrors}\n sharingLink={`${appRootUrl}accounts/${accountUuid}/share/${activeAutoPlanId}`}\n />\n </Col>\n </Row>\n </div>\n </div>\n </div>\n </section>\n </div>\n </>\n );\n};\n\nexport default AutoPlans;\n\nAutoPlans.propTypes = {\n accountUuid: PropTypes.string.isRequired,\n activeAutoPlanActionId: PropTypes.string.isRequired,\n activeAutoPlanId: PropTypes.string.isRequired,\n appRootUrl: PropTypes.string.isRequired,\n autoPlanForm: PropTypes.shape().isRequired,\n autoPlanFormUpdate: PropTypes.func.isRequired,\n autoPlanName: PropTypes.string.isRequired,\n autoPlanPreview: PropTypes.shape().isRequired,\n autoPlans: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n autoPlansPath: PropTypes.string.isRequired,\n autoPlansRootPath: PropTypes.string.isRequired,\n baseLeadFilterPath: PropTypes.string.isRequired,\n closeAutoPlanDeleteModal: PropTypes.func.isRequired,\n closeAutoPlanShareModal: PropTypes.func.isRequired,\n closeModal: PropTypes.func.isRequired,\n closeNewAutoPlanModal: PropTypes.func.isRequired,\n closeTriggerDeleteModal: PropTypes.func.isRequired,\n closeTriggerModal: PropTypes.func.isRequired,\n createTrigger: PropTypes.func.isRequired,\n deleteAutoPlan: PropTypes.func.isRequired,\n deleteTrigger: PropTypes.func.isRequired,\n displayAlert: PropTypes.func.isRequired,\n emailErrors: PropTypes.arrayOf(PropTypes.string).isRequired,\n errorMessage: PropTypes.string.isRequired,\n getAutoPlans: PropTypes.func.isRequired,\n getTriggers: PropTypes.func.isRequired,\n handleClone: PropTypes.func.isRequired,\n handleDismissAutoPlanSharedAlert: PropTypes.func.isRequired,\n hasError: PropTypes.bool.isRequired,\n isAutoPlanDeleteModalOpen: PropTypes.bool.isRequired,\n isAutoPlanPreviewModalOpen: PropTypes.bool.isRequired,\n isAutoPlanShareModalOpen: PropTypes.bool.isRequired,\n isCloningAutoPlan: PropTypes.bool.isRequired,\n isDeletingAutoPlan: PropTypes.bool.isRequired,\n isFetchingAutoPlan: PropTypes.bool.isRequired,\n isFetchingAutoPlanActions: PropTypes.bool.isRequired,\n isFetchingAutoPlanEmails: PropTypes.bool.isRequired,\n isFetchingAutoPlanPreview: PropTypes.bool.isRequired,\n isFetchingAutoPlanPreviewActions: PropTypes.bool.isRequired,\n isFetchingAutoPlanPreviewEmails: PropTypes.bool.isRequired,\n isFetchingAutoPlans: PropTypes.bool.isRequired,\n isModalOpen: PropTypes.bool.isRequired,\n isModalSubmitting: PropTypes.bool.isRequired,\n modalErrorMessage: PropTypes.string.isRequired,\n modalHasError: PropTypes.bool.isRequired,\n numberShared: PropTypes.number.isRequired,\n openAutoPlanDeleteModal: PropTypes.func.isRequired,\n openAutoPlanShareModal: PropTypes.func.isRequired,\n openTriggerDeleteModal: PropTypes.func.isRequired,\n planType: PropTypes.string.isRequired,\n platformAccount: PropTypes.shape().isRequired,\n previewAutoPlanAction: PropTypes.func.isRequired,\n shareAutoPlan: PropTypes.func.isRequired,\n sharedPlanName: PropTypes.string.isRequired,\n showAutoPlanPreviewModal: PropTypes.func.isRequired,\n showNewAutoPlanModal: PropTypes.func.isRequired,\n showTriggerModal: PropTypes.func.isRequired,\n sources: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n submitNewAutoPlan: PropTypes.func.isRequired,\n supportPhoneNumber: PropTypes.string.isRequired,\n tags: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n triggers: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n triggersPath: PropTypes.string.isRequired,\n updateTrigger: PropTypes.func.isRequired,\n updateTriggerValues: PropTypes.func.isRequired,\n};\n","import axios from 'axios';\n\nconst fetchTriggersSuccess = (triggers) => {\n return {\n type: 'FETCH_TRIGGERS_SUCCESS',\n triggers\n }\n}\n\nconst createTriggerSuccess = (trigger) => {\n return {\n type: 'CREATE_TRIGGER_SUCCESS',\n trigger\n }\n}\n\nconst saveTriggerPending = () => {\n return { type: 'SAVE_TRIGGER_PENDING' }\n}\n\nconst saveTriggerFailure = (errors) => {\n return {\n type: 'SAVE_TRIGGER_FAILURE',\n errorMessage: errors\n }\n}\n\nconst updateTriggerSuccess = (trigger) => {\n return {\n type: 'UPDATE_TRIGGER_SUCCESS',\n trigger\n }\n}\n\nexport const showTriggerModal = (triggerForm) => {\n return {\n type: 'OPEN_TRIGGER_MODAL',\n triggerForm\n }\n }\n\nexport const closeTriggerModal = () => {\n return {\n type: 'CLOSE_TRIGGER_MODAL'\n }\n}\n\nexport const openTriggerDeleteModal = (triggerToDelete) => {\n return {\n type: 'OPEN_TRIGGER_DELETE_MODAL',\n triggerToDelete\n }\n}\n\nexport const closeTriggerDeleteModal = () => {\n return {\n type: 'CLOSE_TRIGGER_DELETE_MODAL'\n }\n}\n\nexport const deleteTriggerPending = () => {\n return {\n type: 'DELETE_TRIGGER_PENDING'\n }\n}\n\nexport const deleteTriggerSuccess = (triggerId) => {\n return {\n type: 'DELETE_TRIGGER_SUCCESS',\n triggerId\n }\n}\n\nexport const deleteTriggerFailure = () => {\n return {\n type: 'DELETE_TRIGGER_FAILURE'\n }\n}\n\nexport const updateTriggerValues = (name, value) => {\n return {\n type: 'UPDATE_TRIGGER_VALUE',\n name,\n value\n }\n}\n\nexport const createTrigger = (triggersPath, formData, callback) => {\n return dispatch => {\n dispatch(saveTriggerPending())\n axios.post(triggersPath, { trigger: formData, authenticity_token: ReactOnRails.authenticityToken() })\n .then(res => {\n dispatch(createTriggerSuccess(res.data))\n if(callback) { dispatch(callback) }\n })\n .catch(err => {\n dispatch(saveTriggerFailure(err.response.data.errors))\n })\n }\n}\n\nexport const updateTrigger = (triggerPath, formData, callback) => {\n return dispatch => {\n dispatch(saveTriggerPending())\n axios.patch(triggerPath, { trigger: formData, authenticity_token: ReactOnRails.authenticityToken() })\n .then(res => {\n dispatch(updateTriggerSuccess(res.data.trigger))\n if(callback) { dispatch(callback) }\n })\n .catch(err => {\n dispatch(saveTriggerFailure(err.response.data.errors))\n })\n }\n}\n\nexport const getTriggers = (triggersPath) => {\n return dispatch => {\n dispatch({ type: 'FETCH_TRIGGERS' })\n axios.get(triggersPath,{\n responseType: 'json',\n contentType: 'application/json'\n }).then(results => {\n dispatch(fetchTriggersSuccess(results.data))\n })\n }\n}\n\nexport const deleteTrigger = (id, path, callback) => {\n return dispatch => {\n dispatch(deleteTriggerPending())\n\n axios.delete(path, { params: {authenticity_token: ReactOnRails.authenticityToken() }})\n .then(res => {\n dispatch(deleteTriggerSuccess(id))\n if(callback) { dispatch(callback) }\n })\n .catch(err => {\n dispatch(deleteTriggerFailure())\n })\n }\n}\n","import { connect } from \"react-redux\";\nimport AutoPlans from \"../components/AutoPlans\";\nimport * as autoPlanActions from \"../actions/autoPlansActionCreators\";\nimport * as triggerActions from \"../../Triggers/actions/triggersActionCreators\";\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({ ...state.autoPlans, triggers: state.triggers, supportPhoneNumber: state.layout.support.phoneNumber });\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, { ...autoPlanActions, ...triggerActions })(AutoPlans);\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../shared/Utilities\";\n\nexport const getBusinessSettingsApi = async ({ successCb, errorCb }) => {\n const url = \"/api/v4/business_settings\";\n const [resData, err] = await tryCatchHandlr(axios.get(url, {}));\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const saveBusinessSettingsApi = async ({ data, successCb, errorCb }) => {\n const url = \"/api/v4/business_settings\";\n const [resData, err] = await tryCatchHandlr(\n axios.patch(url, data, {\n headers: {\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const removeBusinessImageApi = async ({ isTeam, successCb, errorCb }) => {\n const url = `/account/${isTeam ? \"team_logo_image\" : \"broker_image\"}`;\n const [resData, err] = await tryCatchHandlr(\n axios.delete(url, {\n headers: {\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n","import * as creators from \"./creators\";\nimport { getBusinessSettingsApi, saveBusinessSettingsApi, removeBusinessImageApi } from \"../services\";\n\nexport const loadBusinessSettings = () => async (dispatch) => {\n dispatch(creators.getBusinessSettings());\n const onFailure = (error) => dispatch(creators.getBusinessSettingsError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.getBusinessSettingsSuccess({ data: response.data }));\n };\n return getBusinessSettingsApi({ successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const saveValue = (key, value) => async (dispatch) => {\n const m = { account: {} };\n m.account[key] = value !== undefined ? value : null;\n dispatch(creators.saveBusinessSettings());\n const onFailure = (error) => dispatch(creators.saveBusinessSettingsError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.saveBusinessSettingsSuccess({ data: response.data }));\n };\n return saveBusinessSettingsApi({ data: m, successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const removeImage = (isTeam) => async (dispatch) => {\n dispatch(creators.removeBusinessImage());\n const onFailure = (error) => dispatch(creators.removeBusinessImageError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.removeBusinessImageSuccess({ data: response.data }));\n };\n return removeBusinessImageApi({ isTeam, successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const saveOffice = (model) => async (dispatch) => {\n const m = { account: model };\n dispatch(creators.addOffice());\n const onFailure = (error) => dispatch(creators.addOfficeError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.addOfficeSuccess({ data: response.data }));\n };\n return saveBusinessSettingsApi({ data: m, successCb: onSuccess, errorCb: onFailure });\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Card = ({ title, action, children }) => (\n <div className=\"tw-flex-1 tw-min-w-[320px] tw-basis-[40%] tw-bg-white tw-p-[32px] tw-rounded-[8px] tw-border tw-border-solid tw-border-neutral-gray-10 tw-flex-col\">\n <div className=\"tw-flex tw-items-center tw-mb-[24px]\">\n <h3 className=\"tw-text-[18px] tw-text-neutral-75 tw-my-0\">{title}</h3>\n {action}\n </div>\n {children}\n </div>\n);\n\nCard.propTypes = {\n title: PropTypes.node.isRequired,\n action: PropTypes.node,\n children: PropTypes.node,\n};\n\nCard.defaultProps = {\n children: null,\n action: null,\n};\nexport default Card;\n","const inputUploadFn =\n ({ onError, awsDirectPost, uploadFiles, onAdd, onSave }) =>\n (e) =>\n uploadFiles({\n files: Array.from(e.target.files),\n config: {\n ...awsDirectPost,\n },\n onAdd: (file) => {\n onAdd(file);\n },\n onSuccess: (file) => {\n onSave(file);\n },\n onError: (fileError) => {\n onError(fileError);\n },\n });\nexport default inputUploadFn;\n","import axios from \"axios\";\nimport { random } from \"lodash\";\nimport { tryCatchHandlr } from \"./Utilities\";\n\nconst files = [];\n// Process AWS File\n// - Get upload url from AWS\n// - Upload the file to the AWS url\n\nexport const uploadFiles = ({ files, config = {}, onAdd, onProgress = () => {}, onSuccess, onError }) => {\n const url = config?.bucket;\n const dataFields = JSON.parse(config?.fields);\n if (!dataFields) {\n return;\n }\n onProgress(0);\n const fileProgress = {};\n const groupProgress = (idx, progressEvent) => {\n fileProgress[idx].total = progressEvent.total; // total will be slightly bigger than the file size bc of the extra meta data passed in the request\n fileProgress[idx].completed = progressEvent.loaded;\n\n const totalCompleted = Object.keys(fileProgress)\n .map((k) => fileProgress[k].completed)\n .reduce((prev, cur) => prev + cur, 0);\n\n const totalSize = Object.keys(fileProgress)\n .map((k) => fileProgress[k].total)\n .reduce((prev, cur) => prev + cur, 0);\n onProgress((totalCompleted / totalSize) * 100);\n };\n files.forEach(async (file, idx) => {\n const tmpId = random(0, 100000000, false);\n if (file.size <= 5000000) {\n fileProgress[idx] = { total: file.size, completed: 0 };\n onAdd({ id: tmpId, isLoading: true, name: file.name });\n const formData = new FormData();\n Object.keys(dataFields).forEach((field) => {\n formData.append(field, dataFields[field]);\n });\n formData.append(\"file\", file);\n await saveFile({\n url,\n idx,\n name: file.name,\n formData,\n tmpId,\n onError,\n onProgress: groupProgress,\n onSuccess,\n });\n } else {\n onError({ name: file.name, id: tmpId, uploadError: true });\n }\n });\n};\n\nconst saveFile = async ({ url, idx, name, tmpId, formData, onError, onProgress = () => {}, onSuccess }) => {\n const [resData, err] = await tryCatchHandlr(\n axios.post(url, formData, {\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"multipart/form-data\",\n },\n onUploadProgress: (progressEvent) => onProgress(idx, progressEvent),\n }),\n );\n if (err) {\n return onError({ name, id: tmpId, saveError: true });\n }\n const data = new DOMParser().parseFromString(resData.data, \"application/xml\");\n console.log(\"data\", data, data.querySelectorAll(\"PostResponse Location\")[0].innerHTML);\n const path = data.querySelectorAll(\"PostResponse Location\")[0]?.innerHTML;\n const fileName = data.querySelectorAll(\"PostResponse Key\")[0]?.innerHTML?.split(\"/\").last();\n onSuccess({ name: fileName, path, id: tmpId, isLoading: false });\n};\n\nexport const downloadFile = (filePath, id) => {\n axios({\n url: filePath,\n method: \"GET\",\n responseType: \"blob\",\n }).then((response) => {\n const href = URL.createObjectURL(response.data);\n const link = document.createElement(\"a\");\n link.href = href;\n link.setAttribute(\"download\", `${id}.jpg`);\n link.click();\n URL.revokeObjectURL(href);\n });\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../shared/v2/Button\";\nimport { UploadSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst ActionImage = ({ url, onReplace, onDelete }) => (\n <div className=\"tw-relative tw-overflow-hidden tw-bg-neutral-gray-10 tw-w-[180px] tw-h-[180px] tw-rounded-lg tw-group\">\n <img alt=\"logo\" src={url} className=\"tw-h-full tw-w-full tw-object-contain\" />\n <div className=\"tw-invisible group-hover:tw-visible tw-absolute tw-top-0 tw-left-0 tw-h-full tw-w-full tw-bg-black tw-bg-opacity-50 tw-flex tw-flex-col tw-justify-center tw-items-center\">\n <Button schema=\"primary\" className=\"tw-mb-[20px] tw-flex tw-items-center\" onClick={onReplace}>\n <UploadSolidV6 size=\"m\" className=\"tw-mr-1\" />\n Upload New\n </Button>\n <Button schema=\"warning\" onClick={onDelete}>\n Delete\n </Button>\n </div>\n </div>\n);\n\nActionImage.propTypes = {\n url: PropTypes.string.isRequired,\n onReplace: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n};\n\nexport default ActionImage;\n","import React, { useState, useRef } from \"react\";\nimport { func, shape, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as actions from \"../../actions/creators\";\nimport inputUploadFn from \"./helpers\";\nimport { uploadFiles } from \"../../../shared/AWSUploader\";\nimport { UploadSolidV6, SpinnerSolidV3 } from \"../../../shared/v2/Icomoon/Icons\";\nimport ActionImage from \"../ActionImage\";\n\nconst mapStateToProps = (state) => ({\n awsDirectPost: state.businessSettings.awsDirectPost,\n});\n\nconst UploadImage = ({ awsDirectPost, onSave, onRemove, image }) => {\n const ref = useRef();\n const [uploading, setUploading] = useState(false);\n const inputUpload = inputUploadFn({\n onError: () => setUploading(false),\n awsDirectPost,\n uploadFiles,\n onAdd: () => setUploading(true),\n onSave: (file) => {\n setUploading(false);\n onSave(file);\n },\n });\n\n return (\n <>\n <div className=\"tw-relative tw-border tw-border-dashed tw-border-neutral-gray-50 tw-overflow-hidden tw-bg-neutral-gray-10 tw-w-[180px] tw-h-[180px] tw-rounded-lg\">\n <button\n type=\"button\"\n className=\"tw-relative tw-bg-transparent tw-border-0 tw-w-[180px] tw-h-[180px] tw-px-[16px] tw-py-[38px] tw-flex tw-flex-col tw-justify-center tw-items-center\"\n data-cy=\"image-uplaoder\"\n >\n <UploadSolidV6 size=\"xxxl\" className=\"tw-mb-[16px]\" />\n <div className=\"tw-font-bs-sans tw-text-[14px] tw-font-semibold\">\n Click here to upload or drag and drop images here.\n </div>\n <input\n ref={ref}\n className=\"tw-absolute tw-top-[-100%] tw-left-[-100%] tw-h-[200%] tw-w-[200%] tw-opacity-0\"\n type=\"file\"\n name=\"files[]\"\n multiple\n onInput={inputUpload}\n data-cy=\"image-uploader-input\"\n accept=\"image/*\"\n />\n </button>\n {uploading ? (\n <div className=\"tw-bg-neutral-gray-10 tw-absolute tw-top-0 tw-w-full tw-h-full tw-flex tw-justify-center tw-items-center\">\n <SpinnerSolidV3 size=\"l\" className=\"fa-spin\" />\n </div>\n ) : (\n <>\n {image > \"\" && (\n <div className=\"tw-absolute tw-top-0\">\n <ActionImage url={image} onDelete={() => onRemove()} onReplace={() => ref.current.click()} />\n </div>\n )}\n </>\n )}\n </div>\n {image <= \"\" && (\n <p className=\"tw-font-[12px] tw-text-neutral-gray-50 tw-mt-[8px] tw-w-[200px]\">\n Image must be .jpg or .png format and smaller than 5 MB.\n </p>\n )}\n </>\n );\n};\nUploadImage.propTypes = {\n awsDirectPost: shape({}).isRequired,\n image: string,\n onSave: func,\n onRemove: func,\n};\n\nUploadImage.defaultProps = {\n image: null,\n onSave: null,\n onRemove: null,\n};\nexport default connect(mapStateToProps, actions)(UploadImage);\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport * as creators from \"../actions/creators\";\nimport * as api from \"../actions/api\";\nimport Card from \"./Card\";\nimport UploadImage from \"./UploadImage\";\n\nconst BrandingCard = ({ model, setValue, saveValue, removeImage }) => (\n <Card title=\"Branding\">\n <div className=\"tw-flex tw-flex-wrap\">\n <div className=\"tw-mr-[48px] tw-w-[180px]\">\n <h3 className=\"tw-text-[14px] tw-font-semibold tw-text-neutral-gray-50 tw-mb-[12px] tw-my-0\">\n Team Logo\n </h3>\n <UploadImage\n image={model?.team_logo_image_url}\n onSave={(file) => {\n setValue(\"team_logo_image_url\", file.path);\n saveValue(\"team_logo_image_temporary_url\", file.path);\n }}\n onRemove={() => {\n removeImage(true);\n setValue(\"team_logo_image_url\", null);\n }}\n />\n </div>\n <div className=\"tw-w-[180px]\">\n <h3 className=\"tw-text-[14px] tw-font-semibold tw-text-neutral-gray-50 tw-mb-[12px] tw-my-0\">\n Brokerage Logo\n </h3>\n <UploadImage\n image={model?.broker_image_url}\n onSave={(file) => {\n setValue(\"broker_image_url\", file.path);\n saveValue(\"broker_image_temporary_url\", file.path);\n }}\n onRemove={() => {\n removeImage();\n setValue(\"broker_image_url\", null);\n }}\n />\n </div>\n </div>\n </Card>\n);\n\nBrandingCard.propTypes = {\n model: PropTypes.shape({\n team_logo_image_url: PropTypes.string.isRequired,\n broker_image_url: PropTypes.string.isRequired,\n }).isRequired,\n setValue: PropTypes.func.isRequired,\n saveValue: PropTypes.func.isRequired,\n removeImage: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n model: state.businessSettings.model,\n});\n\nexport default connect(mapStateToProps, { ...creators, ...api })(BrandingCard);\n","const getProvinceObject = (states, territories, value) =>\n value ? states.find((s) => s.value === value) || territories.find((s) => s.value === value) : null;\n\nexport default getProvinceObject;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextInput from \"../../shared/v2/TextInput\";\n\nconst TextInputWrap = ({ value, onChange, onBlur, onKeyPress }) => (\n <TextInput\n containerClassName=\"tw-w-full tw-flex-1\"\n autoFocus\n value={value}\n onBlur={onBlur}\n onKeyPress={onKeyPress}\n onChange={(e) => onChange(e.target.value)}\n />\n);\nTextInputWrap.propTypes = {\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func.isRequired,\n onKeyPress: PropTypes.func.isRequired,\n};\nexport default TextInputWrap;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as creators from \"../actions/creators\";\nimport getProvinceObject from \"../helpers\";\nimport Modal from \"../../shared/v2/Modal\";\nimport Button from \"../../shared/v2/Button\";\nimport TextInput from \"../../shared/v2/TextInput\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nconst NewOfficeModal = ({ onAdd, onClose, model, setOfficeValue, states, territories }) => (\n <Modal show onHide={onClose} contentSize=\"medium\" contentClassName=\"tw-m-auto\">\n <Modal.Header title=\"Add Office\" closeButton className=\"tw-mb-[23px]\">\n {\" \"}\n </Modal.Header>\n <div className=\"tw-mb-[24px]\">\n <TextInput\n value={model.name}\n onChange={(v) => setOfficeValue(\"name\", v.target.value)}\n label=\"Office Name\"\n isRequired\n />\n </div>\n <div className=\"tw-flex tw-mb-[24px]\">\n <TextInput\n containerClassName=\"tw-flex-1 tw-mr-[24px]\"\n value={model.phone}\n onChange={(v) => setOfficeValue(\"phone\", v.target.value)}\n label=\"Phone\"\n />\n <TextInput\n containerClassName=\"tw-flex-1\"\n value={model.fax}\n onChange={(v) => setOfficeValue(\"fax\", v.target.value)}\n label=\"Fax\"\n />\n </div>\n <div className=\"tw-mb-[24px]\">\n <TextInput\n value={model.address_attributes.street_address}\n onChange={(v) =>\n setOfficeValue(\"address_attributes\", {\n ...model.address_attributes,\n street_address: v.target.value,\n })\n }\n label=\"Street Address\"\n isRequired\n />\n </div>\n <div className=\"tw-flex tw-mb-[24px]\">\n <TextInput\n containerClassName=\"tw-flex-1 tw-mr-[24px]\"\n value={model.address_attributes.city}\n onChange={(v) =>\n setOfficeValue(\"address_attributes\", { ...model.address_attributes, city: v.target.value })\n }\n label=\"City\"\n />\n <Dropdown\n containerClassName=\"tw-flex-1 tw-mr-[24px] tw-min-w-[108px]\"\n isSearchable\n label=\"State / Province\"\n placeholder=\"Select\"\n value={getProvinceObject(states, territories, model.address_attributes.locality)}\n onChange={(v) =>\n setOfficeValue(\"address_attributes\", { ...model.address_attributes, locality: v.value })\n }\n options={[\n {\n label: \"States\",\n options: states,\n },\n {\n label: \"Province\",\n options: territories,\n },\n ]}\n />\n <TextInput\n containerClassName=\"tw-flex-1 tw-overflow-hidden\"\n value={model.address_attributes.postal_code}\n onChange={(v) =>\n setOfficeValue(\"address_attributes\", { ...model.address_attributes, postal_code: v.target.value })\n }\n label=\"ZIP / Postal Code\"\n />\n </div>\n <div className=\"tw-mb-[24px]\">\n <TextInput\n value={model.address_attributes.country}\n onChange={(v) =>\n setOfficeValue(\"address_attributes\", { ...model.address_attributes, country: v.target.value })\n }\n label=\"Country\"\n />\n </div>\n <div className=\"tw-flex\">\n <Button\n onClick={() => {\n onClose();\n }}\n size=\"medium\"\n schema=\"tertiary\"\n >\n Cancel\n </Button>\n <div className=\"tw-flex-1\" />\n <Button\n disabled={model.name <= \"\" || model.address_attributes.street_address <= \"\"}\n onClick={() => onAdd(model)}\n size=\"medium\"\n >\n Add\n </Button>\n </div>\n </Modal>\n);\n\nNewOfficeModal.propTypes = {\n onAdd: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n territories: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n states: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n model: PropTypes.shape({\n account_offices: PropTypes.arrayOf(PropTypes.shape({})),\n name: PropTypes.string.isRequired,\n fax: PropTypes.string.isRequired,\n phone: PropTypes.string.isRequired,\n address_attributes: PropTypes.shape({\n street_address: PropTypes.string.isRequired,\n city: PropTypes.string.isRequired,\n locality: PropTypes.string.isRequired,\n postal_code: PropTypes.string.isRequired,\n country: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n setOfficeValue: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n model: state.businessSettings.newOfficeModel,\n territories: state.businessSettings.territories,\n states: state.businessSettings.states,\n});\n\nexport default connect(mapStateToProps, creators)(NewOfficeModal);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"../../shared/v2/Modal\";\nimport Button from \"../../shared/v2/Button\";\n\nconst OfficeRemovalModal = ({ onRemove, onClose, name }) => (\n <Modal show onHide={onClose} contentSize=\"small\" contentClassName=\"tw-m-auto\">\n <Modal.Header title={`Delete ${name}?`} closeButton className=\"tw-mb-[23px]\" />\n <div className=\"tw-flex\">\n <Button\n onClick={() => {\n onClose();\n }}\n size=\"medium\"\n schema=\"tertiary\"\n >\n CANCEL\n </Button>\n <div className=\"tw-flex-1\" />\n <Button onClick={onRemove} size=\"medium\" schema=\"warning\">\n YES, DELETE\n </Button>\n </div>\n </Modal>\n);\n\nOfficeRemovalModal.propTypes = {\n onRemove: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n name: PropTypes.string.isRequired,\n};\n\nexport default OfficeRemovalModal;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Typography from \"@shared/v2/Typography\";\nimport { InfoCircleSolidV3, CaretDownSolidV6, PencilSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst DisplayRow = ({\n title,\n tooltip,\n tooltipIconClassName,\n editable,\n alwaysEdit,\n value,\n onChange,\n onSave,\n Comp,\n displayValue,\n isDD,\n}) => {\n const firstUpdate = useRef(true);\n const [isEditing, setEditing] = useState(false);\n\n useEffect(() => {\n if (firstUpdate.current) {\n firstUpdate.current = false;\n return;\n }\n if (isEditing) {\n return;\n }\n onSave(value);\n }, [value, isEditing]);\n\n const renderValue = value && !alwaysEdit && !isEditing;\n const renderNewBtn = (!value || value <= \"\") && editable && !alwaysEdit && !isEditing;\n const renderEmptyValue = (!value || value <= \"\") && !editable && !alwaysEdit;\n const renderEditComp = alwaysEdit || isEditing;\n const Component = editable ? \"button\" : \"div\";\n return (\n <div className=\"tw-relative tw-flex tw-justify-between tw-gap-[16px] tw-items-center tw-min-h-[36px]\">\n <div className=\"tw-flex tw-items-center tw-gap-[4px]\">\n <Typography variant=\"subtitle-m\" className=\"tw-whitespace-nowrap !tw-text-neutral-gray-50\">\n {title}\n </Typography>\n {tooltip && (\n <Tooltip\n multiline\n placement=\"right\"\n innerClassName=\"tw-max-w-[264px]\"\n content={tooltip}\n trigger={<InfoCircleSolidV3 className={`tw-text-black ${tooltipIconClassName}`} />}\n />\n )}\n </div>\n <div\n className={`group tw-flex tw-overflow-hidden tw-whitespace-nowrap ${renderValue && editable ? \"tw-mr-[-16px]\" : \"\"}`}\n >\n {renderValue && (\n <Component\n type=\"button\"\n onClick={editable ? () => setEditing(true) : null}\n className={`tw-overflow-hidden tw-flex tw-items-center tw-group tw-p-0 tw-bg-transparent tw-border-0 active:tw-text-[var(--text-button-color)] ${\n !editable ? \"tw-cursor-default\" : \"\"\n }`}\n >\n <span className=\"tw-flex-1 tw-basis-[content] tw-overflow-hidden tw-text-ellipsis\">\n {displayValue ? displayValue(value) : value}\n </span>\n {editable && (\n <span className=\"group-hover:tw-visible tw-invisible tw-ml-[4px]\">\n {isDD ? <CaretDownSolidV6 size=\"m\" /> : <PencilSolidV6 size=\"m\" />}\n </span>\n )}\n </Component>\n )}\n {renderNewBtn && (\n <TextButton onClick={() => setEditing(true)} className=\"tw-px-0\">\n Add\n </TextButton>\n )}\n {renderEmptyValue && \"—\"}\n {renderEditComp && (\n <Comp\n value={value}\n onChange={(val) => onChange(val)}\n onBlur={() => setEditing(false)}\n onKeyPress={(e) => {\n if (e.key === \"Enter\") {\n e.target?.blur();\n setEditing(false);\n }\n }}\n />\n )}\n </div>\n </div>\n );\n};\n\nDisplayRow.propTypes = {\n title: PropTypes.string.isRequired,\n tooltip: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n tooltipIconClassName: PropTypes.string,\n editable: PropTypes.bool.isRequired,\n alwaysEdit: PropTypes.bool,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n onChange: PropTypes.func.isRequired,\n Comp: PropTypes.func,\n onSave: PropTypes.func.isRequired,\n displayValue: PropTypes.func,\n isDD: PropTypes.bool,\n};\n\nDisplayRow.defaultProps = {\n tooltip: null,\n tooltipIconClassName: \"\",\n value: null,\n Comp: null,\n alwaysEdit: false,\n displayValue: null,\n isDD: false,\n};\nexport default DisplayRow;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextInput from \"../../shared/v2/TextInput\";\nimport { PencilSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst EdiableTitle = ({ value, onChange, editable, onBlur }) => {\n const [focused, setFocused] = useState(false);\n return (\n <div className=\"tw-flex\">\n {focused ? (\n <TextInput\n containerClassName=\"tw-w-full tw-flex-1\"\n autoFocus\n value={value}\n onBlur={() => {\n setFocused(false);\n onBlur();\n }}\n onChange={(e) => onChange(e.target.value)}\n />\n ) : (\n <span>\n {editable ? (\n <button\n type=\"button\"\n className=\"tw-border-0 tw-bg-transparent tw-p-0 tw-group tw-font-[18px]\"\n onClick={() => setFocused(true)}\n >\n {value}{\" \"}\n <span className=\"group-hover:tw-inline tw-hidden tw-ml-2\">\n <PencilSolidV6 size=\"m\" />\n </span>\n </button>\n ) : (\n <span className=\"tw-font-[18px]\">{value}</span>\n )}\n </span>\n )}\n </div>\n );\n};\n\nEdiableTitle.propTypes = {\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func.isRequired,\n editable: PropTypes.bool,\n};\n\nEdiableTitle.defaultProps = {\n editable: false,\n};\n\nexport default EdiableTitle;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../shared/v2/Button\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport { TrashAltSolidV3 } from \"../../shared/v2/Icomoon\";\nimport Card from \"./Card\";\nimport DisplayRow from \"./DisplayRow\";\nimport EditableTitle from \"./EditableTitle\";\n\nconst OfficeCard = ({ model, setValue, saveValue, onAdd, onRemove, editable, SECTIONS }) => (\n <Card\n title={\n <EditableTitle\n value={model.name || \"Office\"}\n onChange={(v) => setValue(\"name\", v)}\n onBlur={() => saveValue(\"name\", model.name)}\n editable={editable}\n />\n }\n action={\n <div className=\"tw-justify-end tw-flex-1 tw-flex tw-items-center\">\n {onRemove && (\n <IconButton schema=\"misc-trash\" size=\"small\" onClick={() => onRemove(model?.id)}>\n <TrashAltSolidV3 size=\"m\" />\n </IconButton>\n )}\n {onAdd && (\n <Button\n className=\"tw-whitespace-nowrap tw-ml-[8px]\"\n schema=\"secondary\"\n size=\"small\"\n onClick={onAdd}\n >\n + OFFICE\n </Button>\n )}\n </div>\n }\n >\n {SECTIONS.map((sec) => (\n <DisplayRow\n key={sec.key}\n title={sec.title}\n editable={sec.editable}\n value={model[sec.key]}\n displayValue={sec.displayValue}\n onChange={(val) => setValue(sec.key, val)}\n onSave={(val) => saveValue(sec.key, val)}\n Comp={sec.comp}\n isDD={sec.isDD}\n />\n ))}\n </Card>\n);\n\nexport const OFFICE_PROPS = {\n model: PropTypes.shape({\n account_offices: PropTypes.arrayOf(PropTypes.shape()),\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n fax: PropTypes.string.isRequired,\n phone: PropTypes.string.isRequired,\n address_attributes: PropTypes.shape(),\n address: PropTypes.shape(),\n }).isRequired,\n setValue: PropTypes.func.isRequired,\n saveValue: PropTypes.func.isRequired,\n};\n\nOfficeCard.propTypes = {\n ...OFFICE_PROPS,\n onAdd: PropTypes.func,\n onRemove: PropTypes.func,\n};\n\nOfficeCard.defaultProps = {\n onAdd: null,\n onRemove: null,\n};\n\nexport default OfficeCard;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport * as creators from \"../actions/creators\";\nimport * as api from \"../actions/api\";\nimport getProvinceObject from \"../helpers\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport TextInputWrap from \"./TextInputWrap\";\nimport NewOfficeModal from \"./NewOfficeModal\";\nimport OfficeRemovalModal from \"./OfficeRemovalModal\";\nimport OfficeCard, { OFFICE_PROPS } from \"./OfficeCard\";\n\nconst GET_SECTIONS = (states, territories) => [\n { title: \"Phone\", key: \"phone\", editable: true, comp: TextInputWrap },\n { title: \"Fax\", key: \"fax\", editable: true, comp: TextInputWrap },\n {\n title: \"Street Address\",\n key: \"street_address\",\n editable: true,\n comp: TextInputWrap,\n isAddress: true,\n },\n { title: \"City\", key: \"city\", editable: true, comp: TextInputWrap, isAddress: true },\n {\n title: \"State / Province\",\n key: \"locality\",\n editable: true,\n isDD: true,\n comp: ({ value, onBlur, onChange, onKeyPress }) => (\n <Dropdown\n containerClassName=\"tw-flex-1\"\n isSearchable\n isClearable\n autoFocus\n placeholder=\"Select\"\n value={getProvinceObject(states, territories, value)}\n onChange={(v) => onChange(v?.value)}\n onBlur={onBlur}\n onKeyDown={onKeyPress}\n options={[\n {\n label: \"States\",\n options: states,\n },\n {\n label: \"Province\",\n options: territories,\n },\n ]}\n />\n ),\n isAddress: true,\n displayValue: (value) => getProvinceObject(states, territories, value)?.label,\n },\n { title: \"ZIP / Postal Code\", key: \"postal_code\", editable: true, comp: TextInputWrap, isAddress: true },\n { title: \"Country\", key: \"country\", editable: true, comp: TextInputWrap, isAddress: true },\n];\n\nconst OfficeCards = ({ model, setValue, saveValue, resetOffice, saveOffice, states, territories }) => {\n const SECTIONS = GET_SECTIONS(states, territories, model);\n\n const [showOfficeModal, setShowOfficeModal] = useState(false);\n const [officeRemovalId, setShowOfficeRemovalModal] = useState(false);\n const removeOffice = (id) => {\n setValue(\"account_offices\", [...model.account_offices.filter((o) => o.id !== id)]);\n saveValue(\"account_offices_attributes\", [{ id, _destroy: true }]);\n };\n\n const mapModelToOffice = (m) => ({\n id: m.id,\n name: m.name,\n phone: m.phone,\n fax: m.fax,\n street_address: m.address?.street_address,\n city: m.address?.city,\n locality: m.address?.locality,\n postal_code: m.address?.postal_code,\n country: m.address?.country,\n });\n return (\n <>\n <OfficeCard\n model={mapModelToOffice(model)}\n SECTIONS={SECTIONS}\n setValue={(key, val) => {\n let m = {};\n const isAddress = SECTIONS.find((s) => s.key === key)?.isAddress;\n if (isAddress) {\n m = { ...model.address };\n m[key] = val;\n } else {\n m = val;\n }\n setValue(isAddress ? \"address\" : key, m);\n }}\n saveValue={(key, val) => {\n let m = {};\n const isAddress = SECTIONS.find((s) => s.key === key)?.isAddress;\n if (isAddress) {\n m[key] = val;\n } else {\n m = val;\n }\n saveValue(isAddress ? \"address_attributes\" : key, m);\n }}\n onAdd={model?.account_offices.length === 0 ? setShowOfficeModal : null}\n />\n {model?.account_offices?.map((office, officeIdx) => (\n <OfficeCard\n key={office.id}\n SECTIONS={SECTIONS}\n editable\n model={mapModelToOffice(office)}\n setValue={(key, val) => {\n const offices = [...model?.account_offices];\n const m = { ...offices[officeIdx] };\n const isAddress = SECTIONS.find((s) => s.key === key)?.isAddress;\n if (isAddress) {\n m.address = { ...office.address };\n m.address[key] = val;\n } else {\n m[key] = val;\n }\n offices[officeIdx] = m;\n setValue(\"account_offices\", offices);\n }}\n saveValue={(key, val) => {\n const m = { id: office.id };\n const isAddress = SECTIONS.find((s) => s.key === key)?.isAddress;\n if (isAddress) {\n m.address_attributes = {};\n m.address_attributes[key] = val;\n } else {\n m[key] = val;\n }\n saveValue(\"account_offices_attributes\", [m]);\n }}\n onAdd={model?.account_offices.length === officeIdx + 1 ? setShowOfficeModal : null}\n onRemove={setShowOfficeRemovalModal}\n />\n ))}\n {officeRemovalId && (\n <OfficeRemovalModal\n name={model?.account_offices.find((s) => s.id === officeRemovalId).name}\n onRemove={() => {\n removeOffice(officeRemovalId);\n setShowOfficeRemovalModal(false);\n }}\n onClose={() => {\n setShowOfficeRemovalModal(false);\n }}\n />\n )}\n {showOfficeModal && (\n <NewOfficeModal\n onAdd={(m) => {\n saveOffice({ account_offices_attributes: [m] });\n setShowOfficeModal(false);\n resetOffice();\n }}\n onClose={() => {\n setShowOfficeModal(false);\n resetOffice();\n }}\n />\n )}\n </>\n );\n};\n\nOfficeCards.propTypes = {\n ...OFFICE_PROPS,\n resetOffice: PropTypes.func.isRequired,\n saveOffice: PropTypes.func.isRequired,\n territories: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n states: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n model: state.businessSettings.model,\n states: state.businessSettings.states,\n territories: state.businessSettings.territories,\n});\n\nexport default connect(mapStateToProps, { ...creators, ...api })(OfficeCards);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextComboInput from \"../TextComboInput\";\nimport { Link } from \"../Icomoon\";\nimport Button from \"../Button\";\n\nconst LinkField = ({\n placeholder,\n hideActions,\n actionLabel,\n onActionButtonClick,\n secondaryActionLabel,\n onSecondaryActionButtonClick,\n className,\n ...otherProps\n}) => {\n const leading = (\n <div className=\"tw-flex tw-flex-row tw-items-center tw-space-x-[12px]\">\n {/*\n Not sure why ESLint considers this to be an anchor.\n Is it because it's called Link? There is no `a` element in the DOM tree.\n That's why we just ignored this ESLint rule here.\n */}\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <Link size=\"l\" className=\"tw-text-neutral-gray-50 group-focus-within:tw-text-theme-link-field-icon\" />\n <span className=\"tw-w-[1px] tw-h-[34px] tw-border-l tw-border-r-0 tw-border-t-0 tw-border-b-0 tw-border-solid tw-border-neutral-gray-15\" />\n </div>\n );\n\n const hasSecondaryAction = secondaryActionLabel && onSecondaryActionButtonClick;\n\n const trailing = !hideActions ? (\n <>\n <Button className=\"tw-mr-[2px]\" onClick={onActionButtonClick}>\n {actionLabel}\n </Button>\n\n {hasSecondaryAction && (\n <Button schema=\"secondary\" className=\"tw-ml-[2px] tw-mr-[2px]\" onClick={onSecondaryActionButtonClick}>\n {secondaryActionLabel}\n </Button>\n )}\n </>\n ) : null;\n\n return (\n <TextComboInput\n className={`tw-group !tw-bg-white !tw-rounded-[4px] ${className}`}\n leading={leading}\n trailing={trailing}\n placeholder={placeholder}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n );\n};\n\nLinkField.propTypes = {\n placeholder: PropTypes.string,\n hideActions: PropTypes.bool,\n actionLabel: PropTypes.node.isRequired,\n onActionButtonClick: PropTypes.func.isRequired,\n\n secondaryActionLabel: PropTypes.node,\n onSecondaryActionButtonClick: PropTypes.func,\n\n className: PropTypes.string,\n};\n\nLinkField.defaultProps = {\n placeholder: \"Paste your link here\",\n className: \"\",\n hideActions: false,\n secondaryActionLabel: null,\n onSecondaryActionButtonClick: null,\n};\n\nexport default LinkField;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport LinkField from \"../../shared/v2/LinkField\";\n\nconst UrlInputWrap = ({ value, onChange, onBlur, onKeyPress }) => (\n <LinkField\n containerClassName=\"tw-w-full tw-flex-1\"\n autoFocus\n hideActions\n value={value}\n onBlur={onBlur}\n onKeyPress={onKeyPress}\n onChange={(e) => onChange(e.target.value)}\n />\n);\nUrlInputWrap.propTypes = {\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n onBlur: PropTypes.func.isRequired,\n onKeyPress: PropTypes.func.isRequired,\n};\nexport default UrlInputWrap;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport * as creators from \"../actions/creators\";\nimport * as api from \"../actions/api\";\nimport Card from \"./Card\";\nimport DisplayRow from \"./DisplayRow\";\nimport LinkInput from \"./UrlInputWrap\";\n\nconst SECTIONS = [\n { title: \"Zillow\", key: \"zillow_reviews\", editable: true, comp: LinkInput },\n { title: \"Trulia\", key: \"trulia_reviews\", editable: true, comp: LinkInput },\n { title: \"Realtor.com\", key: \"realtor_com_reviews\", editable: true, comp: LinkInput },\n { title: \"Yelp\", key: \"yelp_reviews\", editable: true, comp: LinkInput },\n { title: \"Facebook\", key: \"facebook_reviews\", editable: true, comp: LinkInput },\n { title: \"Google\", key: \"google_reviews\", editable: true, comp: LinkInput },\n];\n\nconst ReviewCard = ({ model, setValue, saveValue }) => (\n <Card title=\"Review Links\">\n {SECTIONS.map((sec) => (\n <DisplayRow\n key={sec.key}\n title={sec.title}\n editable={sec.editable}\n value={model[sec.key]}\n onChange={(val) => setValue(sec.key, val)}\n onSave={(val) => saveValue(sec.key, val)}\n Comp={sec.comp}\n />\n ))}\n </Card>\n);\n\nReviewCard.propTypes = {\n model: PropTypes.shape({}).isRequired,\n setValue: PropTypes.func.isRequired,\n saveValue: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n model: state.businessSettings.model,\n});\n\nexport default connect(mapStateToProps, { ...creators, ...api })(ReviewCard);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport * as creators from \"../actions/creators\";\nimport * as api from \"../actions/api\";\nimport Card from \"./Card\";\nimport DisplayRow from \"./DisplayRow\";\nimport LinkInput from \"./UrlInputWrap\";\n\nconst SECTIONS = [\n { title: \"Facebook\", key: \"facebook\", editable: true, comp: LinkInput, placeholder: \"Paste Facebook URL\" },\n { title: \"Twitter\", key: \"twitter\", editable: true, comp: LinkInput, placeholder: \"Paste Twitter URL\" },\n { title: \"LinkedIn\", key: \"linkedin\", editable: true, comp: LinkInput, placeholder: \"Paste LinkedIn URL\" },\n {\n title: \"Instagram\",\n key: \"instagram\",\n editable: true,\n comp: LinkInput,\n placeholder: \"Paste Instagram URL\",\n },\n { title: \"YouTube\", key: \"youtube\", editable: true, comp: LinkInput, placeholder: \"Paste YouTube URL\" },\n {\n title: \"Pinterest\",\n key: \"pinterest\",\n editable: true,\n comp: LinkInput,\n placeholder: \"Paste Pinterest URL\",\n },\n { title: \"TikTok\", key: \"tiktok\", editable: true, comp: LinkInput, placeholder: \"Paste TikTok URL\" },\n];\n\nconst SocialCard = ({ model, setValue, saveValue }) => (\n <Card title=\"Social Media\">\n {SECTIONS.map((sec) => (\n <DisplayRow\n key={sec.key}\n title={sec.title}\n editable={sec.editable}\n value={model[sec.key]}\n onChange={(val) => setValue(sec.key, val)}\n onSave={(val) => saveValue(sec.key, val)}\n Comp={sec.comp}\n />\n ))}\n </Card>\n);\n\nSocialCard.propTypes = {\n model: PropTypes.shape({}).isRequired,\n setValue: PropTypes.func.isRequired,\n saveValue: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n model: state.businessSettings.model,\n});\n\nexport default connect(mapStateToProps, { ...api, ...creators })(SocialCard);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport * as creators from \"../actions/creators\";\nimport * as api from \"../actions/api\";\nimport Card from \"./Card\";\nimport DisplayRow from \"./DisplayRow\";\nimport TextInputWrap from \"./TextInputWrap\";\nimport LinkInput from \"./UrlInputWrap\";\nimport Toggle from \"../../shared/v2/Toggle\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport { useCurrentSuperUser, useCurrentUser, useTheme } from \"../../reducers/layoutReducer/selectors\";\n\nconst DATE_FORMAT = \"MM/DD/yyyy\";\n\nconst isTeamNameEditable = (isSuperUser, isAdmin, isPlace) =>\n (isSuperUser && isPlace) || (isAdmin && !isPlace);\n\nconst TeamCard = ({ setValue, model, timezones, saveValue }) => {\n const SECTIONS = [\n {\n title: \"Team Name\",\n key: \"team_name\",\n comp: TextInputWrap,\n tooltip: \"Reach out to support@place.com if you plan to update your team name\",\n },\n {\n title: \"Brokerage Name\",\n key: \"broker_name\",\n editable: true,\n comp: TextInputWrap,\n },\n { title: \"Team Type\", key: \"team_type\", editable: false, placeOnly: true, value: \"PLACE team\" },\n {\n title: \"Website\",\n key: \"website\",\n editable: true,\n comp: LinkInput,\n placeholder: \"Paste website URL\",\n },\n {\n title: \"Compliance License #\",\n key: \"compliance_license_number\",\n editable: true,\n comp: TextInputWrap,\n },\n {\n title: \"Partnership Effective Date\",\n key: \"partnership_effective\",\n editable: false,\n comp: TextInputWrap,\n placeOnly: true,\n displayValue: (value) => (value > \"\" ? moment(value).format(DATE_FORMAT) : \"—\"),\n },\n {\n title: \"Current Contract Effective Date\",\n key: \"current_contract_effective\",\n editable: false,\n placeOnly: true,\n displayValue: (value) => (value > \"\" ? moment(value).format(DATE_FORMAT) : \"—\"),\n },\n {\n title: \"Go-Live Date\",\n tooltip: \"Denotes the date where the team’s revenue and expenses become shared with PLACE.\",\n key: \"go_live\",\n editable: false,\n placeOnly: true,\n displayValue: (value) => (value > \"\" ? moment(value).format(DATE_FORMAT) : \"—\"),\n },\n {\n title: \"Visible in Partner Search\",\n tooltip:\n \"If disabled, your team won't appear in search results for the PLACE network's Partner search feature\",\n key: \"partner_search_enabled\",\n editable: true,\n comp: ({ value, onChange }) => (\n <Toggle size=\"small\" checked={value} onChange={(e) => onChange(e.target.checked)} />\n ),\n placeOnly: true,\n alwaysEdit: true,\n },\n {\n title: \"Account Time Zone\",\n key: \"time_zone\",\n editable: true,\n isDD: true,\n comp: ({ value, onChange, onBlur, onKeyPress }) => (\n <Dropdown\n isSearchable\n defaultMenuIsOpen\n autoFocus\n containerClassName=\"tw-w-full tw-flex-1 tw-min-w-[200px]\"\n placeholder=\"Select a timezone\"\n value={value ? timezones.find((el) => el.value === value) : null}\n onBlur={onBlur}\n options={timezones}\n onKeyDown={onKeyPress}\n onChange={(e) => onChange(e?.value)}\n menuShouldComeToFront\n />\n ),\n },\n { title: \"API Key\", key: \"api_key\", editable: false },\n ];\n\n const isPlace = useTheme()?.name === \"place-theme\";\n\n const isSuperUser = useCurrentSuperUser();\n const isAdmin = useCurrentUser()?.account?.isAdmin;\n\n return (\n <Card title=\"Team\">\n {SECTIONS.map((sec) =>\n !isPlace && sec.placeOnly ? null : (\n <DisplayRow\n key={sec.key}\n title={sec.title}\n tooltip={(() => {\n if (sec.key === \"team_name\") {\n return !isTeamNameEditable(isSuperUser, isAdmin, isPlace) && sec.tooltip;\n }\n\n return sec.tooltip;\n })()}\n tooltipIconClassName={sec.key === \"team_name\" ? \"tw-text-gray-75\" : \"\"}\n editable={\n sec.key === \"team_name\" ? isTeamNameEditable(isSuperUser, isAdmin, isPlace) : sec.editable\n }\n alwaysEdit={sec.alwaysEdit}\n displayValue={sec.displayValue}\n value={sec.value ? sec.value : model[sec.key]}\n onChange={(val) => setValue(sec.key, val)}\n onSave={(val) => saveValue(sec.key, val)}\n Comp={sec.comp}\n isDD={sec.isDD}\n />\n ),\n )}\n </Card>\n );\n};\n\nTeamCard.propTypes = {\n model: PropTypes.shape({}).isRequired,\n setValue: PropTypes.func.isRequired,\n saveValue: PropTypes.func.isRequired,\n timezones: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nconst mapStateToProps = (state) => ({\n model: state.businessSettings.model,\n timezones: state.businessSettings.timezones,\n});\nexport default connect(mapStateToProps, { ...creators, ...api })(TeamCard);\n","import React, { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Alert from \"@shared/v2/Alert\";\nimport Spinner from \"@icons/Spinner\";\nimport * as api from \"./actions/api\";\nimport BrandingCard from \"./components/BrandingCard\";\nimport OfficeCards from \"./components/OfficeCards\";\nimport ReviewCard from \"./components/ReviewCard\";\nimport SocialCard from \"./components/SocialCard\";\nimport TeamCard from \"./components/TeamCard\";\n\nconst Main = () => {\n const dispatch = useDispatch();\n const hasError = useSelector((state) => state.businessSettings.hasError);\n const isLoading = useSelector((state) => state.businessSettings.isLoading);\n const model = useSelector((state) => state.businessSettings.model);\n useEffect(() => {\n dispatch(api.loadBusinessSettings());\n }, []);\n\n if (isLoading) {\n return (\n <div className=\"tw-pt-[90px] tw-text-center\">\n <Spinner size=\"xxxl\" className=\"fa-spin\" />\n </div>\n );\n }\n\n return (\n <div className=\"tw-p-[16px] tw-bg-tinted-gray-50 tw-flex tw-flex-wrap tw-gap-[16px] tw-max-w-[1200px] tw-mx-auto\">\n {(hasError || !model) && (\n <Alert\n containerClass=\"tw-w-full\"\n variant=\"error\"\n title=\"Something went wrong\"\n text=\"Failed to load business settings. Try again later.\"\n />\n )}\n {model && (\n <>\n <TeamCard />\n <BrandingCard />\n <OfficeCards />\n <SocialCard />\n <ReviewCard />\n </>\n )}\n <input\n type=\"text\"\n className=\"tw-h-[1px] tw-w-[1px] tw-absolute tw-top-[-100%] tw-left-[-100%]\"\n id=\"businessCopyInput\"\n />\n </div>\n );\n};\n\nexport default Main;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\n\nimport Main from \"../Main\";\n\nconst BusinessSettings = (props) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n <Provider store={store}>\n <Main {...props} />\n </Provider>\n );\n};\n\nexport default BusinessSettings;\n","import React from \"react\";\nimport { number, bool, oneOfType, string } from \"prop-types\";\nimport TriangleExclamationSolidV6 from \"@shared/v2/Icomoon/Icons/TriangleExclamationSolidV6\";\nimport ArrowTrendUpSolidV6 from \"@shared/v2/Icomoon/Icons/ArrowTrendUpSolidV6\";\nimport { useTheme } from \"../../../reducers/layoutReducer/selectors\";\n\nconst ResultsBanner = ({ isToggleON, homeValueReportCount, totalLeads, count, isCreate, country }) => {\n const isPlaceTheme = useTheme().name === \"place-theme\";\n return (\n <div className=\"tw-my-[24px] tw-relative tw-rounded-8px \">\n <div\n className={`tw-absolute tw--inset-2px tw-bg-gradient-to-r tw-rounded-8px ${isPlaceTheme ? \"tw-from-[#3270FA] tw-to-[#2454B2]\" : \"tw-from-[#59C4C4] tw-to-[#336E7B]\"}`}\n ></div>\n <div className=\"tw-absolute tw-inset-0 tw-bg-white tw-rounded-8px\"></div>\n <div className=\"tw-relative tw-p-[14px] tw-z-10\">\n <div className=\"tw-flex tw-justify-between tw-pb-[8px]\">\n <div className=\"tw-text-[28px] tw-leading-[32px] tw-font-normal tw-text-gray-75\">\n {count}\n <span className=\"tw-pl-[8px] tw-text-[14px] tw-font-normal tw-leading-[20px] tw-text-gray-75\">\n {count === 1 ? \"report\" : \"reports\"} will be {isCreate ? \"created\" : \"updated\"}\n </span>\n </div>\n <div>\n <div className=\"tw-text-[12px] tw-leading-[16px] tw-font-normal tw-text-gray-50\">\n {Number(totalLeads) === Number(count) ? (\n <>\n {isCreate\n ? `All ${count} contacts can receive reports`\n : `All ${count} contacts have at least 1 report`}\n </>\n ) : (\n <>\n <div className=\"tw-text-semantic-yellow-120 tw-bg-semantic-yellow-5 tw-rounded-[4px]\">\n <div className=\"tw-py-[4px] tw-px-[8px] tw-flex tw-items-center\">\n <TriangleExclamationSolidV6 size=\"m\" />\n <span className=\"tw-pl-[6px]\">\n {Number(totalLeads) - Number(count)} / {totalLeads} contacts{\" \"}\n {isCreate ? \"missing info or outside MLS\" : \"have no reports\"}\n </span>\n </div>\n </div>\n </>\n )}\n </div>\n </div>\n </div>\n <div className=\"tw-text-[12px] tw-leading-[16px] tw-font-normal tw-text-gray-50\">\n {isCreate ? (\n <>\n <hr className=\"tw-border-2 tw-pb-[8px] tw-w-full tw-m-0 tw-border-gray-10\" />\n {isToggleON && (\n <div className=\"tw-pb-[8px] tw-text-[14px] tw-font-normal tw-leading-[20px] tw-text-gray-75\">\n <ArrowTrendUpSolidV6 size=\"m\" />\n <span className=\"tw-pl-[6px]\">\n {homeValueReportCount} Market Reports will include a Home Value\n </span>\n </div>\n )}\n Contacts must have a valid email and be located within your MLS. Market reports require either a\n zip/postal code or city and state/province to generate an accurate report.{\" \"}\n {country && country !== \"canada\" && \"Home value reports also require a valid street address.\"}\n </>\n ) : (\n <>\n <span className=\"tw-font-bold\">All</span> reports for{\" \"}\n <span className=\"tw-font-bold\">every</span> selected contact with at least 1 report will be\n updated\n </>\n )}\n </div>\n </div>\n </div>\n );\n};\nResultsBanner.propTypes = {\n totalLeads: oneOfType([number, string]),\n count: oneOfType([number, string]),\n homeValueReportCount: oneOfType([number, string]),\n isCreate: bool,\n isToggleON: bool,\n country: string,\n};\n\nResultsBanner.defaultProps = {\n totalLeads: 0,\n count: 0,\n isCreate: false,\n isToggleON: false,\n homeValueReportCount: 0,\n country: \"\",\n};\nexport default ResultsBanner;\n","import React from \"react\";\nimport { number, oneOfType, string, func, arrayOf, bool, shape } from \"prop-types\";\nimport CircleInfoSolidV6 from \"@shared/v2/Icomoon/Icons/CircleInfoSolidV6\";\nimport Toggle from \"@shared/v2/Toggle\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport ResultsBanner from \"./ResultsBanner\";\n\nconst CreateReports = ({\n selectedLeads,\n country,\n marketReportCount,\n homeValueReportCount,\n handlePropertyTypeChange,\n propertyTypes,\n selectedPropertyType,\n handleDripFrequencyChange,\n handleSearchRadiusChange,\n searchRadius,\n selectedSearchRadius,\n ContactAddresses,\n selectedContactAddress,\n handleContactAddressChange,\n dripFrequency,\n selectedDripFrequency,\n handleHVToggleChange,\n isToggleON,\n}) => (\n <div>\n <ResultsBanner\n isToggleON={isToggleON}\n homeValueReportCount={homeValueReportCount}\n totalLeads={selectedLeads.length}\n count={marketReportCount}\n isCreate\n country={country}\n />\n\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-[24px]\">\n <div className=\"tw-mb-[15px]\">\n <Dropdown\n isDisabled\n label=\"Contact Address Type\"\n isClearable={false}\n name=\"contactAddressType\"\n onChange={handleContactAddressChange}\n options={ContactAddresses}\n placeholder=\"Property Types\"\n value={ContactAddresses.find((t) => t.value === selectedContactAddress)}\n />\n </div>\n\n <div className=\"tw-mb-[15px]\">\n <Dropdown\n label=\"Property Type\"\n isClearable={false}\n name=\"propertyType\"\n onChange={handlePropertyTypeChange}\n options={propertyTypes}\n placeholder=\"Property Types\"\n value={propertyTypes.find((t) => t.value === selectedPropertyType)}\n />\n </div>\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-[24px]\">\n <div className=\"tw-mb-[15px]\">\n <Dropdown\n label={\n <>\n Search Radius\n <Tooltip\n trigger={<CircleInfoSolidV6 size=\"m\" className=\"tw-text-gray-75 tw-ml-[4px]\" />}\n innerClassName=\"!tw-text-left tw-max-w-[180px]\"\n content=\"Smart radius automatically expands the Market Report radius around the address until there are at least 15 search results, or you can manually set the search radius\"\n placement=\"top\"\n />\n </>\n }\n isClearable={false}\n name=\"searchRadius\"\n onChange={handleSearchRadiusChange}\n options={searchRadius}\n placeholder=\"Search Radius\"\n value={searchRadius.find((s) => s.value === selectedSearchRadius)}\n />\n </div>\n\n <div className=\"tw-mb-[15px]\">\n <Dropdown\n label={\n <>\n Market Report Drip Frequency\n <Tooltip\n trigger={<CircleInfoSolidV6 size=\"m\" className=\"tw-text-gray-75 tw-ml-[4px]\" />}\n innerClassName=\"!tw-text-left tw-max-w-[180px]\"\n content=\"How often the dynamic Market Report will be emailed to the contacts\"\n placement=\"top\"\n />\n </>\n }\n isClearable={false}\n name=\"dripFrequency\"\n onChange={handleDripFrequencyChange}\n options={dripFrequency}\n placeholder=\"Drip Frequency\"\n value={dripFrequency.find((d) => d.value === selectedDripFrequency)}\n />\n </div>\n </div>\n {country !== \"canada\" && (\n <div className=\"tw-pt-[9px]\">\n <Toggle\n id=\"homeValue\"\n name=\"homeValue\"\n value={isToggleON}\n checked={isToggleON}\n onChange={handleHVToggleChange}\n textClassName=\"tw-font-semibold\"\n text={\n <>\n Include Home Value in Market Report\n <Tooltip\n trigger={<CircleInfoSolidV6 size=\"m\" className=\"tw-text-gray-75 tw-ml-[4px]\" />}\n innerClassName=\"!tw-text-left tw-max-w-[180px]\"\n content=\"Add a Home Value to share property valuation estimates in your Market Report. A valid street address is required. \"\n placement=\"top\"\n />\n </>\n }\n />\n </div>\n )}\n </div>\n);\nconst optionsPropTypes = arrayOf(shape({ label: string, value: string }));\n\nCreateReports.propTypes = {\n selectedLeads: arrayOf(oneOfType([number, string])),\n searchRadius: optionsPropTypes,\n ContactAddresses: optionsPropTypes,\n propertyTypes: optionsPropTypes,\n dripFrequency: optionsPropTypes,\n marketReportCount: number,\n homeValueReportCount: number,\n handlePropertyTypeChange: func,\n selectedPropertyType: string,\n handleDripFrequencyChange: func,\n handleSearchRadiusChange: func,\n selectedSearchRadius: string,\n selectedContactAddress: string,\n handleContactAddressChange: func,\n selectedDripFrequency: string,\n handleHVToggleChange: func,\n isToggleON: bool,\n country: string,\n};\n\nCreateReports.defaultProps = {\n selectedLeads: [],\n marketReportCount: 0,\n homeValueReportCount: 0,\n handlePropertyTypeChange: null,\n propertyTypes: [],\n selectedPropertyType: \"\",\n handleDripFrequencyChange: null,\n handleSearchRadiusChange: null,\n searchRadius: [],\n selectedSearchRadius: \"0\",\n ContactAddresses: [],\n selectedContactAddress: \"home\",\n handleContactAddressChange: null,\n dripFrequency: [],\n selectedDripFrequency: \"every_2_weeks\",\n handleHVToggleChange: null,\n isToggleON: false,\n country: \"\",\n};\n\nexport default CreateReports;\n","import React from \"react\";\nimport { func } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\n\nconst NoMLSModal = ({ closeOptionsModal }) => {\n const handleClick = () => {\n window.open(\n \"https://www.brivityknowledge.com/docs/enable-brivity-cma-and-market-reports-for-new-users\",\n \"_blank\",\n );\n };\n return (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"!tw-w-[650px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n show\n onHide={closeOptionsModal}\n >\n <Modal.Header titleClassName=\"tw-mb-[12px] tw-text-gray-75\" title=\"Market Report Actions\" closeButton />\n\n <Modal.Body>\n <p className=\"tw-pb-[22px] tw-text-[14px] tw-font-normal tw-leading-[20px] tw-text-gray-50\">\n Market Reports are one of the best ways to nurture seller leads and your sphere by showing them\n what's going on in the real estate market in their neighborhood.\n </p>\n <div className=\"tw-flex tw-justify-center tw-border-2 tw-bg-gray-5 tw-py-[24px] tw-px-[4px] tw-border-solid tw-border-gray-10 tw-rounded-[8px]\">\n <div className=\"tw-w-[70%] tw-text-center\">\n <div className=\"tw-text-[18px] tw-font-bold tw-leading-[24px] tw-text-gray-75\">\n Not Connected to an MLS\n </div>\n <div className=\"tw-pt-[24px] tw-text-[14px] tw-font-semibold tw-leading-[22px] tw-text-gray-75\">\n You’re almost ready to start using Market Reports! We need a little more info to get started.\n </div>\n <div className=\"tw-py-[24px] tw-text-[14px] tw-font-semibold tw-leading-[22px] tw-text-gray-75\">\n Please start a live chat or contact support at 855-427-4848 to complete the setup for CMA and\n Market Reports.\n </div>\n <Button size=\"medium\" schema=\"primary\" onClick={handleClick}>\n Learn More\n </Button>\n </div>\n </div>\n </Modal.Body>\n </Modal>\n );\n};\nNoMLSModal.propTypes = {\n closeOptionsModal: func,\n};\n\nNoMLSModal.defaultProps = {\n closeOptionsModal: null,\n};\nexport default NoMLSModal;\n","import React from \"react\";\nimport { func } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Spinner from \"@shared/v2/Icomoon/Icons/Spinner\";\n\nconst SpinnerModal = ({ closeOptionsModal }) => (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"!tw-w-[616px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n show\n onHide={closeOptionsModal}\n >\n <Modal.Header titleClassName=\"tw-mb-32px tw-text-gray-75\" title=\"\" closeButton />\n\n <Modal.Body>\n <div className=\"tw-h-[70px] tw-flex tw-justify-center tw-items-center\">\n <Spinner size=\"xxxl\" className=\"fa-spin\" />\n </div>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-end\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={closeOptionsModal}>\n Close\n </Button>\n </Modal.Footer>\n </Modal>\n);\n\nSpinnerModal.propTypes = {\n closeOptionsModal: func,\n};\n\nSpinnerModal.defaultProps = {\n closeOptionsModal: null,\n};\nexport default SpinnerModal;\n","import React from \"react\";\nimport { number, oneOfType, string, func, arrayOf, shape } from \"prop-types\";\nimport CircleInfoSolidV6 from \"@shared/v2/Icomoon/Icons/CircleInfoSolidV6\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport ResultsBanner from \"./ResultsBanner\";\n\nconst UpdateFrequency = ({\n validReportCount,\n selectedLeads,\n handleDripFrequencyChange,\n dripFrequency,\n selectedDripFrequency,\n}) => (\n <div>\n <ResultsBanner totalLeads={selectedLeads.length} count={validReportCount} />\n\n <div className=\"tw-grid tw-grid-cols-2 tw-gap-[24px]\">\n <div className=\"tw-mb-[15px]\">\n <Dropdown\n label={\n <>\n Market Report Drip Frequency\n <Tooltip\n trigger={<CircleInfoSolidV6 size=\"m\" className=\"tw-text-gray-75 tw-ml-[4px]\" />}\n innerClassName=\"!tw-text-left tw-max-w-[250px]\"\n content=\"How often the dynamic Market Report will be emailed to the contacts\"\n placement=\"top\"\n />\n </>\n }\n isClearable={false}\n name=\"dripFrequency\"\n onChange={handleDripFrequencyChange}\n options={dripFrequency}\n placeholder=\"Drip Frequency\"\n value={dripFrequency.find((d) => d.value === selectedDripFrequency)}\n />\n </div>\n\n <div></div>\n </div>\n </div>\n);\n\nconst optionsPropTypes = arrayOf(shape({ label: string, value: string }));\n\nUpdateFrequency.propTypes = {\n validReportCount: number,\n selectedLeads: arrayOf(oneOfType([number, string])),\n handleDripFrequencyChange: func,\n dripFrequency: optionsPropTypes,\n selectedDripFrequency: string,\n};\n\nUpdateFrequency.defaultProps = {\n validReportCount: 0,\n selectedLeads: [],\n handleDripFrequencyChange: null,\n dripFrequency: [],\n selectedDripFrequency: \"every_2_weeks\",\n};\n\nexport default UpdateFrequency;\n","import React from \"react\";\nimport { func, number } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\n\nconst UpdateOrCreateConfirmModal = ({ isCreate, closeOptionsModal, saveDialog, count }) => (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"!tw-w-[480px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n show\n onHide={closeOptionsModal}\n >\n <Modal.Header\n titleClassName=\"tw-mb-32px tw-text-gray-75\"\n title={isCreate ? \"Creating Market Reports\" : \"Updated Market Reports\"}\n closeButton\n />\n\n <Modal.Body>\n {isCreate ? (\n <p className=\"tw-pb-[32px]\">\n Market reports are being created and sent to {count} recipient(s). Check back in a few minutes or\n refresh the page until you see the updates applied.\n </p>\n ) : (\n <>\n <p>\n Market Report drip frequency is being updated. This can take anywhere from 0-5 minutes. Check back\n in a few minutes, or refresh the page until you see the updates applied.{\" \"}\n <span className=\"tw-font-bold\">Do not attempt to apply it again. </span>\n </p>\n <p className=\"tw-pb-[32px]\">\n If the frequency hasn't updated after 10 minutes, please contact by calling Support at\n 855-427-4848.\n </p>\n </>\n )}\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-between \">\n <Button size=\"medium\" schema=\"tertiary\" onClick={closeOptionsModal}>\n Close\n </Button>\n\n <Button size=\"medium\" schema=\"primary\" onClick={saveDialog}>\n got it\n </Button>\n </Modal.Footer>\n </Modal>\n);\nUpdateOrCreateConfirmModal.propTypes = {\n closeOptionsModal: func,\n saveDialog: func,\n count: number,\n};\n\nUpdateOrCreateConfirmModal.defaultProps = {\n closeOptionsModal: null,\n saveDialog: null,\n count: 0,\n};\nexport default UpdateOrCreateConfirmModal;\n","import React, { useState, useEffect } from \"react\";\nimport { number, oneOfType, string, func, arrayOf } from \"prop-types\";\nimport CircleInfoSolidV6 from \"@shared/v2/Icomoon/Icons/CircleInfoSolidV6\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextToggle from \"@shared/v2/TextToggle/TextToggle\";\nimport { caseTransformingAxios as axios } from \"@shared/v2/caseTransformingAxios\";\nimport CreateReports from \"./CreateReports\";\nimport NoMLSModal from \"./NoMLSModal\";\nimport SpinnerModal from \"./SpinnerModal\";\nimport UpdateFrequency from \"./UpdateFrequency\";\nimport UpdateOrCreateConfirmModal from \"./UpdateOrCreateConfirmModal\";\n\nconst SEARCH_RADIUS = [\n { label: \"Smart Radius\", value: \"0\" },\n { label: \"0.5 mile radius\", value: \"0.5\" },\n { label: \"1.0 mile radius\", value: \"1.0\" },\n { label: \"1.5 mile radius\", value: \"1.5\" },\n { label: \"2.0 mile radius\", value: \"2.0\" },\n { label: \"3.0 mile radius\", value: \"3.0\" },\n { label: \"4.0 mile radius\", value: \"4.0\" },\n { label: \"5.0 mile radius\", value: \"5.0\" },\n { label: \"10.0 mile radius\", value: \"10.0\" },\n { label: \"25.0 mile radius\", value: \"25.0\" },\n { label: \"50.0 mile radius\", value: \"50.0\" },\n { label: \"100.0 mile radius\", value: \"100.0\" },\n];\n\nconst DRIP_FREQUENCY = [\n { label: \"Never\", value: \"never\" },\n { label: \"Every week\", value: \"every_week\" },\n { label: \"Every 2 weeks\", value: \"every_2_weeks\" },\n { label: \"Every Month\", value: \"every_month\" },\n { label: \"Quarterly\", value: \"quarterly\" },\n { label: \"Annually\", value: \"annually\" },\n];\n\nconst CONTACT_ADDRESS_TYPES = [\n { label: \"Home\", value: \"home\" },\n { label: \"Work\", value: \"work\" },\n { label: \"Mailing\", value: \"mailing\" },\n { label: \"Investment\", value: \"investment\" },\n];\n\nconst TOGGLE_OPTIONS = [\n {\n label: \"Create Reports\",\n value: \"create\",\n },\n {\n label: \"Update Frequency\",\n value: \"change\",\n },\n];\n\nconst BulkReportsOptionsModal = ({\n closeOptionsModal,\n showStatusModal,\n marketReportCount,\n homeValueReportCount,\n validReportCount,\n selectedLeads,\n country,\n}) => {\n const [isLoading, setIsLoading] = useState(true);\n const [isOpenUpdateModal, setIsOpenUpdateModal] = useState(false);\n const [isOpenCreateConfirmModal, setIsOpenCreateConfirmModal] = useState(false);\n const [primaryAgent, setPrimaryAgent] = useState(\"Primary Agent\");\n const [selectedDripFrequency, setSelectedDripFrequency] = useState(\"every_2_weeks\");\n const [selectedContactAddress, setSelectedContactAddress] = useState(\"home\");\n const [selectedRadio, setSelectedRadio] = useState(\"create\");\n const [selectedMls, setSelectedMls] = useState(\"\");\n const [selectedPropertyType, setSelectedPropertyType] = useState(\"\");\n const [propertyTypes, setPropertyTypes] = useState([]);\n const [selectedSearchRadius, setSelectedSearchRadius] = useState(\"0\");\n const [hasApprovedMls, setHasApprovedMls] = useState(false);\n const [isToggleON, setIsToggleON] = useState(false);\n\n useEffect(() => {\n getAllMlsPropertyTypesForUser();\n getReportSender();\n }, []);\n\n const handlePropertyTypeChange = (option) => {\n setSelectedPropertyType(option.value || \"\");\n };\n\n const handleSearchRadiusChange = (option) => {\n setSelectedSearchRadius(option.value || \"\");\n };\n\n const handleDripFrequencyChange = (option) => {\n setSelectedDripFrequency(option.value || \"\");\n };\n\n const handleContactAddressChange = (option) => {\n setSelectedContactAddress(option.value || \"\");\n };\n\n const handleHVToggleChange = () => {\n setIsToggleON(!isToggleON);\n };\n\n const radioGroupHandler = (e) => {\n setSelectedRadio(e.target.value);\n };\n\n const handleClickUpdate = () => {\n setIsOpenUpdateModal(true);\n };\n\n const handleCloseUpdate = () => {\n setIsOpenUpdateModal(false);\n };\n\n const handleClickCreate = () => {\n setIsOpenCreateConfirmModal(true);\n };\n\n const handleCloseCreate = () => {\n setIsOpenCreateConfirmModal(false);\n };\n\n const getAllMlsPropertyTypesForUser = () => {\n let ids = Brivity.PeoplePage.grid().multiSelect().getSelectedObjectIds();\n axios.get(\"/bulk_market_reports/all_mls_property_types\", { params: { people_ids: ids } }).then((res) => {\n let defaultValue = res.data.propertyTypes[0].value || \"\";\n for (const pt of res.data.propertyTypes) {\n if (pt.value.toLowerCase().startsWith(\"detached\")) {\n defaultValue = pt.value;\n break;\n } else if (pt.value.toLowerCase().startsWith(\"single\")) {\n defaultValue = pt.value;\n break;\n } else if (pt.value.toLowerCase().startsWith(\"resi\")) {\n defaultValue = pt.value;\n break;\n }\n }\n setPropertyTypes(res.data.propertyTypes);\n setSelectedPropertyType(defaultValue);\n setHasApprovedMls(res.data.hasApprovedMls);\n setIsLoading(false);\n });\n };\n\n const getReportSender = () => {\n axios.get(\"/bulk_market_reports/report_sender\").then((res) => {\n setPrimaryAgent(res.data?.reportSender || \"Primary Agent\");\n });\n };\n\n const saveDialog = () => {\n const data = {\n mls_data_source_id: selectedMls,\n property_type: selectedPropertyType,\n radius: selectedSearchRadius,\n recurring_frequency: selectedDripFrequency,\n contact_address_type: selectedContactAddress,\n include_home_value: isToggleON,\n };\n\n if (isOpenUpdateModal) {\n setIsOpenUpdateModal(false);\n }\n if (isOpenCreateConfirmModal) {\n setIsOpenCreateConfirmModal(false);\n }\n\n showStatusModal(data, selectedRadio);\n };\n\n return (\n <>\n {isLoading ? (\n <SpinnerModal closeOptionsModal={closeOptionsModal} />\n ) : (\n <>\n {hasApprovedMls ? (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"!tw-w-[650px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n show\n onHide={closeOptionsModal}\n >\n <Modal.Header\n titleClassName=\"tw-mb-12px tw-text-gray-75\"\n title=\"Market Report Actions\"\n closeButton\n />\n\n <Modal.Body className=\"tw-mb-[32px] \">\n <p className=\"tw-pb-[22px] tw-text-[14px] tw-font-normal tw-leading-[20px] tw-text-gray-50\">\n Market Reports are one of the best ways to nurture seller leads and your sphere by showing\n them what's going on in the real estate market in their neighborhood.\n </p>\n <div className=\"tw-mx-[-10px]\">\n <div className=\"tw-px-[10px]\">\n <TextToggle\n className=\"tw-w-full\"\n options={TOGGLE_OPTIONS}\n value={selectedRadio}\n size=\"medium\"\n onChange={radioGroupHandler}\n />\n </div>\n </div>\n {selectedRadio === \"create\" && (\n <CreateReports\n country={country}\n selectedLeads={selectedLeads}\n marketReportCount={marketReportCount}\n homeValueReportCount={homeValueReportCount}\n handlePropertyTypeChange={handlePropertyTypeChange}\n propertyTypes={propertyTypes}\n selectedPropertyType={selectedPropertyType}\n handleDripFrequencyChange={handleDripFrequencyChange}\n handleSearchRadiusChange={handleSearchRadiusChange}\n handleContactAddressChange={handleContactAddressChange}\n ContactAddresses={CONTACT_ADDRESS_TYPES}\n searchRadius={SEARCH_RADIUS}\n selectedSearchRadius={selectedSearchRadius}\n selectedContactAddress={selectedContactAddress}\n dripFrequency={DRIP_FREQUENCY}\n selectedDripFrequency={selectedDripFrequency}\n isToggleON={isToggleON}\n handleHVToggleChange={handleHVToggleChange}\n />\n )}\n {selectedRadio === \"change\" && (\n <UpdateFrequency\n validReportCount={validReportCount}\n selectedLeads={selectedLeads}\n handleDripFrequencyChange={handleDripFrequencyChange}\n dripFrequency={DRIP_FREQUENCY}\n selectedDripFrequency={selectedDripFrequency}\n />\n )}\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-between \">\n <Button size=\"medium\" schema=\"tertiary\" onClick={closeOptionsModal}>\n Cancel\n </Button>\n {selectedRadio === \"create\" && (\n <>\n <span className=\"tw-pt-[9px] tw-text-[12px] tw-font-normal tw-leading-[16px] tw-text-gray-75\">\n Reports will be sent out from {primaryAgent === \"Primary Agent\" ? \"the \" : \"\"}\n <span className=\"tw-font-bold\">{primaryAgent}</span>\n {primaryAgent !== \"Primary Agent\" && (\n <Tooltip\n trigger={<CircleInfoSolidV6 size=\"m\" className=\"tw-text-gray-75 tw-ml-[6px]\" />}\n innerClassName=\"!tw-text-left tw-max-w-[180px]\"\n content={\n <>\n <div>\n We recommend sending out Market Reports from the contact's{\" \"}\n <span className=\"tw-font-bold\">Primary Agent</span> instead of a specific team\n member.\n </div>\n <div className=\"tw-pt-[9px]\">\n This can be updated from Brivity CMA. Reach out to support if you need help.\n </div>\n </>\n }\n placement=\"top\"\n />\n )}\n </span>\n </>\n )}\n\n <Button\n size=\"medium\"\n disabled={\n (selectedRadio === \"create\" && marketReportCount < 1) ||\n (selectedRadio === \"change\" && validReportCount < 1)\n }\n schema=\"primary\"\n onClick={selectedRadio === \"create\" ? handleClickCreate : handleClickUpdate}\n >\n {selectedRadio === \"create\" ? \"create\" : \"update\"}\n </Button>\n </Modal.Footer>\n </Modal>\n ) : (\n <NoMLSModal closeOptionsModal={closeOptionsModal} />\n )}\n </>\n )}\n {isOpenUpdateModal && (\n <UpdateOrCreateConfirmModal closeOptionsModal={handleCloseUpdate} saveDialog={saveDialog} />\n )}\n {isOpenCreateConfirmModal && (\n <UpdateOrCreateConfirmModal\n isCreate\n closeOptionsModal={handleCloseCreate}\n saveDialog={saveDialog}\n count={marketReportCount}\n />\n )}\n </>\n );\n};\n\nBulkReportsOptionsModal.propTypes = {\n closeOptionsModal: func,\n showStatusModal: func,\n country: string,\n marketReportCount: oneOfType([number, string]),\n homeValueReportCount: oneOfType([number, string]),\n validReportCount: oneOfType([number, string]),\n selectedLeads: arrayOf(oneOfType([number, string])),\n};\n\nBulkReportsOptionsModal.defaultProps = {\n closeOptionsModal: null,\n showStatusModal: null,\n marketReportCount: 0,\n homeValueReportCount: 0,\n validReportCount: 0,\n selectedLeads: [],\n country: \"\",\n};\nexport default BulkReportsOptionsModal;\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltip\":\"puuxUKfawXGg5fWydPeS\",\"groupRadio\":\"eADqgm8F0SD_BaA4eBYT\",\"selectionCount\":\"o9cFoe68ywseGekoXkop\",\"getDemo\":\"KIEbCre6TR1teR5jzlxt\",\"modalImage\":\"FejcG9FfIAGeqgGqVu4Q\",\"modalBody\":\"n3kuif4NaEQqAGkelqmW\",\"modalText\":\"Q1whLPrTcHvOf1Xvp_FZ\",\"modalInnerText\":\"_Ypandcb1FapkyKbP0Ji\"};","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport css from \"./BulkMarketReports.module.css\";\nimport cmaAppStoreScreenshot from \"../../shared/images/cmaAppStoreScreenshot.png\";\n\nconst BulkReportsNoPlatformModal = ({ closeNoPlatformModal }) => (\n <Modal\n show\n onHide={() => closeNoPlatformModal(true)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[620px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n <Modal.Header closeButton />\n <Modal.Body className={css.modalBody}>\n <img className={css.modalImage} src={cmaAppStoreScreenshot} alt=\"CMA Screenshot\" />\n <div className={css.modalText}>\n <h4>Upgrade to the full Brivity Platform to get Market Reports</h4>\n <hr className=\"brivity-hr\" />\n <div className={css.modalInnerText}>\n <p>\n Market Reports are one of the best ways to nurture seller leads and your sphere by showing them\n what"s going on in the real estate market in their neighborhood.\n </p>\n <p>Market Reports are included with Brivity CMA, which is part of the full Brivity Platform.</p>\n <p>\n <strong>\n Contact us at (866) 295-3322 or sales@brivity.com to upgrade to the Brivity Platform today!\n </strong>\n </p>\n </div>\n </div>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-center\">\n <Button size=\"medium\" onClick={() => closeNoPlatformModal()}>\n Get a Demo\n </Button>\n </Modal.Footer>\n </Modal>\n);\n\nBulkReportsNoPlatformModal.propTypes = {\n closeNoPlatformModal: PropTypes.func.isRequired,\n};\n\nexport default BulkReportsNoPlatformModal;\n","import React from 'react';\nimport { Modal } from 'react-bootstrap';\n\nclass HubspotRequestDemoModal extends React.Component {\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n if (typeof hbspt == 'undefined') {\n const head = document.getElementsByTagName('head').item(0)\n const js = document.createElement('script')\n js.setAttribute('type', 'text/javascript')\n js.setAttribute('src', '//js.hsforms.net/forms/v2.js')\n js.setAttribute('defer', 'true')\n js.async = true\n head.appendChild(js)\n }\n }\n\n render() {\n const { closeModal } = this.props;\n\n if (this.props.show) {\n hbspt.forms.create({\n portalId: \"6041126\",\n formId: \"c0592518-30e7-46d6-8b94-f6d8e79af7e7\",\n target: \"#hb-request-demo .modal-body\"\n })\n }\n\n return (\n <Modal\n id='hb-request-demo'\n className='modal fade'\n backdrop='static'\n role='dialog'\n tabIndex='-1'\n onHide={closeModal}\n show={this.props.show}>\n <Modal.Header closeButton>\n </Modal.Header>\n <Modal.Body>\n </Modal.Body>\n </Modal>\n )\n }\n}\n\nexport default HubspotRequestDemoModal;","import React from \"react\";\nimport { caseTransformingAxios as axios } from \"@shared/v2/caseTransformingAxios\";\nimport BulkReportsOptionsModal from \"./BulkReportsOptionsModal\";\nimport BulkReportsNoPlatformModal from \"./BulkReportsNoPlatformModal\";\nimport HubspotRequestDemoModal from \"../../shared/HubspotRequestDemoModal\";\n\nclass BulkApplyMarketReports extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n optionsModalOpen: false,\n noPlatformModalOpen: false,\n selectedLeads: [],\n marketReportCount: 0,\n homeValueReportCount: 0,\n validReportCount: 0,\n validIdsWithAddressMarketReport: [],\n validIdsWithReports: [],\n mode: \"create\",\n showGetDemo: false,\n };\n }\n\n closeOptionsModal = () => {\n this.setState({ optionsModalOpen: false });\n };\n\n changeReports = (data) => {\n const path = `/bulk_market_reports/bulk_change_reports`;\n\n axios\n .post(path, { authenticity_token: ReactOnRails.authenticityToken(), data: data })\n .then((res) => console.log(\"Bulk Change Reports Done\", res))\n .catch((err) => console.log(\"ERROR\", err));\n };\n\n createReports = (data) => {\n const path = `/bulk_market_reports/bulk_create_reports`;\n\n axios\n .post(path, { authenticity_token: ReactOnRails.authenticityToken(), data: data })\n .then((res) => console.log(\"Bulk Create Reports Done\", res))\n .catch((err) => console.log(\"ERROR\", err));\n };\n\n showStatusModal = (data, mode) => {\n if (mode === \"create\") {\n data.contacts = this.state.validIdsWithAddressMarketReport;\n this.createReports(data);\n } else if (mode === \"change\") {\n data.contacts = this.state.validIdsWithReports;\n this.changeReports(data);\n }\n this.setState({ optionsModalOpen: false, mode: mode });\n };\n\n getValidLeads = () => {\n const path = `/bulk_market_reports/valid_leads`;\n let ids = Brivity.PeoplePage.grid().multiSelect().getSelectedObjectIds();\n\n axios.get(path, { params: { people_ids: ids } }).then((res) => {\n this.setState({\n optionsModalOpen: true,\n marketReportCount: res.data.marketReportCount,\n homeValueReportCount: res.data.homeValueReportCount,\n validIdsWithAddressMarketReport: res.data.peopleWithAddresses,\n validReportCount: res.data.withReport.length,\n validIdsWithReports: res.data.withReport,\n selectedLeads: ids,\n });\n });\n };\n\n closeNoPlatformModal = (cancel) => {\n if (!cancel) {\n this.setState({ noPlatformModalOpen: false, showGetDemo: true });\n } else {\n this.setState({ noPlatformModalOpen: false });\n }\n };\n\n onClick = () => {\n if (this.props.platform) {\n this.getValidLeads();\n } else {\n this.setState({ noPlatformModalOpen: true });\n }\n };\n\n renderOptionsModal = () => {\n return (\n this.state.optionsModalOpen && (\n <BulkReportsOptionsModal\n country={this.props.country}\n selectedLeads={this.state.selectedLeads}\n marketReportCount={this.state.marketReportCount}\n homeValueReportCount={this.state.homeValueReportCount}\n validReportCount={this.state.validReportCount}\n showStatusModal={this.showStatusModal}\n closeOptionsModal={this.closeOptionsModal}\n />\n )\n );\n };\n\n renderNoPlatformModal = () => {\n return (\n this.state.noPlatformModalOpen && (\n <BulkReportsNoPlatformModal closeNoPlatformModal={this.closeNoPlatformModal} />\n )\n );\n };\n\n closeRequestDemo = () => {\n this.setState({ showGetDemo: false });\n };\n\n render() {\n return (\n <div>\n <div onClick={this.onClick}>Market Report</div>\n {this.renderNoPlatformModal()}\n {this.renderOptionsModal()}\n <HubspotRequestDemoModal show={this.state.showGetDemo} closeModal={this.closeRequestDemo} />\n </div>\n );\n }\n}\n\nexport default BulkApplyMarketReports;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport BulkApplyMarketReports from \"./BulkApplyMarketReports\";\n\nconst BulkApplyMarketReportsApp = (props) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n <Provider store={store}>\n <BulkApplyMarketReports {...props} />\n </Provider>\n );\n};\n\nexport default BulkApplyMarketReportsApp;\n","import React from 'react';\nimport CCFor from \"../../AutoPlans/components/CCFor\";\nimport './cc_field.scss'\n\nexport default class CCEmails extends React.Component {\n state = {\n emails: this.props.ccEmails || []\n };\n\n handleEmailSelected = ({value: email}) => {\n if (this.state.emails.indexOf(email) > -1) {\n return\n } else {\n this.setState((prevState) => ({emails: prevState.emails.concat(email)}));\n }\n };\n\n handleRemoveEmail = (emailToRemove) => {\n this.setState((prevState) => ({\n emails: prevState.emails.filter((email) => email !== emailToRemove)\n }));\n };\n\n render() {\n return (\n <div>\n <label>CC</label>\n <CCFor\n type={'email'}\n placeholder={'Enter Email Address'}\n onOptionSelect={(option) => this.handleEmailSelected(option)}\n />\n <div className='alert-cc-selections'>\n {this.state.emails.map((email) => {\n return (\n <div className='alert-cc-email' key={email}>\n <input\n type={'hidden'}\n name={'listing_alert[cc_emails][]'}\n value={email}\n />\n <input\n type={'text'}\n className={'form-control input-sm'}\n value={email}\n placeholder={email}\n disabled={true}\n />\n <a\n className={'remove-cc'}\n onClick={() => this.handleRemoveEmail(email)}\n >\n <i className=\"fa fa-remove\"/>\n </a>\n </div>\n )\n })}\n </div>\n </div>\n );\n }\n}\n","import React from \"react\";\nimport { CircleExclamationRegularV6 } from \"../../../shared/v2/Icomoon\";\n\nconst DncBanner = () => (\n <div\n className={`tw-py-12px tw-px-16px tw-rounded-8px tw-text-semantic-yellow-120 tw-bg-semantic-yellow-5 tw-flex tw-space-x-16px tw-items-center`}\n >\n <div className=\"tw-text-semantic-yellow-110\">\n <CircleExclamationRegularV6 size=\"xl\" />\n </div>\n <div className=\"tw-space-y-4px\">\n <p className=\"tw-font-bold tw-m-0 tw-text-14d\">Some numbers might be on the DNC list</p>\n <p className=\"tw-m-0 tw-text-14d tw-space-x-[4px]\">\n Certain numbers may be on the Do Not Call registry. You may be held liable for contacting these\n individuals.{` `}\n <a\n className=\"tw-font-semibold tw-text-semantic-yellow-120 visited:tw-text-semantic-yellow-120 active:tw-text-semantic-yellow-120 hover:tw-text-semantic-yellow-120\"\n href=\"https://www.brivityknowledge.com/v1/docs/do-not-call-registry-warning\"\n target=\"_blank\"\n >\n Learn More.\n </a>\n </p>\n </div>\n </div>\n);\n\nexport default DncBanner;\n","import React, { useState, useEffect } from \"react\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport axios from \"axios\";\nimport DncBanner from \"../../Interactions/PhoneCall/components/DncBanner\";\nimport { CircleInfoSolidV6, ToggleOffSolidV6, VolumeHighSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { useFeatureFlags, useIsAdmin } from \"../../reducers/layoutReducer/selectors\";\n\nconst ConfirmationModal = ({\n selectedLeadUuids,\n closeConfirmationModal,\n createDialerSession,\n show,\n isLoading,\n}) => {\n const [validLeadCounts, setValidLeadCounts] = useState({ total_leads: 0, valid_leads: 0 });\n const [loadingValidLeads, setLoadingValidLeads] = useState(true);\n const featureFlags = useFeatureFlags();\n\n const isAdmin = useIsAdmin();\n\n const checkValidLeads = () => {\n axios\n .post(\"/dialer/check_valid_leads\", {\n lead_uuids: selectedLeadUuids,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((resp) => {\n setValidLeadCounts(resp.data);\n setLoadingValidLeads(false);\n });\n };\n\n useEffect(() => {\n if (show) {\n checkValidLeads();\n }\n }, [show]);\n\n return (\n <Modal\n show={show}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-m-auto tw-flex tw-flex-col tw-gap-[32px] tw-max-w-[657px] tw-w-full tw-max-h-[90vh]\"\n onHide={closeConfirmationModal}\n >\n <Modal.Header title=\"Brivity Dialer\" closeButton />\n <Modal.Body className=\"tw-overflow-x-hidden\">\n <div className=\"phone-call\">\n <div className=\"tw-w-full tw-text-12d tw-text-white tw-font-semibold tw-mb-32px\">\n <div\n className={`tw-bg-gray-50 tw-py-10px tw-px-16px tw-rounded-t-[8px] ${featureFlags.callRecording ? \"\" : \"tw-rounded-b-[8px]\"}`}\n >\n {loadingValidLeads ? (\n <span>\n <i className=\"fa fa-spinner fa-pulse\" /> Loading Selected Leads\n </span>\n ) : (\n <span>{`${validLeadCounts.valid_leads} of ${validLeadCounts.total_leads} contacts can be dialed`}</span>\n )}\n </div>\n\n {featureFlags.callRecording && (\n <div className=\"tw-bg-gray-5 tw-p-16px tw-rounded-b-[8px] tw-text-14d tw-font-normal tw-flex tw-justify-between tw-items-center\">\n <div className=\"tw-flex tw-flex-col tw-gap-8px\">\n <div className=\"tw-text-gray-75 tw-flex tw-gap-6px tw-items-center\">\n <ToggleOffSolidV6 size=\"l\" />\n <span>Recording will not start until you press record for each call</span>\n </div>\n <div className=\"tw-text-gray-75 tw-flex tw-gap-6px tw-items-center\">\n <VolumeHighSolidV6 size=\"l\" />\n <span>A notification message will play when the recording starts</span>\n </div>\n </div>\n <Tooltip\n placement=\"top\"\n innerClassName=\"tw-max-w-[193px]\"\n trigger={<CircleInfoSolidV6 size=\"l\" className=\"tw-text-gray-50\" />}\n content={\n <div className=\"tw-text-left\">\n {isAdmin\n ? \"Configure your recording options in Phone Settings\"\n : \" Contact your admin if you want to change your call recording settings\"}\n </div>\n }\n />\n </div>\n )}\n </div>\n {!loadingValidLeads && <DncBanner />}\n <p className=\"tw-mt-32px\">\n Start a dialer session with a list of leads! After you end a call and set the outcome, Brivity\n will automatically dial the next contact. Leads with invalid or no phone numbers will not be\n included.\n </p>\n <p className=\"tw-font-semibold\">\n Note: Click 'Hang Up' within Brivity CRM to end calls. Hanging up your phone will end the dialer\n session.\n </p>\n </div>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={closeConfirmationModal}>\n Close\n </Button>\n <Button\n size=\"medium\"\n onClick={createDialerSession}\n isLoading={isLoading}\n disabled={validLeadCounts.valid_leads === 0}\n >\n Start\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nexport default ConfirmationModal;\n","export default {\n control: {\n backgroundColor: \"#fff\",\n fontSize: 14,\n fontWeight: \"normal\",\n },\n \"&multiLine\": {\n control: {\n minHeight: 125,\n },\n highlighter: {\n border: \"none\",\n borderRadius: 2,\n boxSizing: \"border-box\",\n maxHeight: 250,\n outlineOffset: 0,\n overflow: \"auto\",\n padding: 8,\n },\n input: {\n backgroundColor: \"rgba(236,237,239,0.6)\",\n border: \"none\",\n borderRadius: 2,\n color: \"var(--neutral-gray-75)\",\n maxHeight: 250,\n outlineColor: \"var(--primary-color)\",\n outlineOffset: 0,\n overflow: \"auto\",\n padding: 8,\n },\n },\n\n suggestions: {\n list: {\n maxHeight: \"250px\",\n overflow: \"auto\",\n backgroundColor: \"white\",\n borderRadius: 5,\n boxShadow: \"0px 2px 8px #c2c2c2\",\n fontSize: 14,\n },\n item: {\n padding: \"5px 10px\",\n \"&focused\": {\n backgroundColor: \"#F5F5F5\",\n },\n },\n },\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"mentions__mention\":\"meokuetxgtUiWvfLCRIw\"};","import React, { Component } from \"react\";\nimport { Mention, MentionsInput } from \"react-mentions\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport MentionInputStyles from \"./MentionInputStyles\";\nimport mentionStyles from \"./mentionable_person.module.css\";\nimport _ from \"lodash\";\n\nclass MentionablePersonTextArea extends Component {\n constructor(props) {\n super(props);\n this.state = {\n mentionableUsers: null,\n textareaFocus: false,\n };\n }\n\n getMentionableUsers = (query, callback) => {\n const { mentionable_id, mentionable_type, isUuid } = this.props;\n if (!this.state.mentionableUsers) {\n fetch(\n `/mentions/mentionable_people?${\n isUuid ? \"mentionable_uuid\" : \"mentionable_id\"\n }=${mentionable_id}&mentionable_type=${mentionable_type}`,\n )\n .then((res) => res.json())\n .then((res) =>\n this.setState({ mentionableUsers: res.map((p) => ({ ...p, display: p.full_name })) }, () => {\n this.filterMentionableUsers(query, callback);\n }),\n );\n } else {\n this.filterMentionableUsers(query, callback);\n }\n };\n\n filterMentionableUsers = (query, callback) => {\n const filteredUsers = _.uniqBy(this.state.mentionableUsers, \"id\")\n .filter((p) => p.display.toLowerCase().startsWith(query.toLowerCase()))\n .sort((a, b) => a.display.toLowerCase().localeCompare(b.display.toLowerCase()));\n callback(filteredUsers);\n };\n\n personAvatar = (person) => {\n return <Avatar src={person.avatar} alt={person.full_name} />;\n };\n\n render() {\n return (\n <MentionsInput\n id={this.props.id}\n style={MentionInputStyles}\n value={this.props.value}\n placeholder=\"Write a note or use @ to notify someone on your team\"\n onChange={(e) => this.props.onChange(e.target.value)}\n readOnly={this.props.isExternal}\n >\n <Mention\n trigger=\"@\"\n data={this.getMentionableUsers}\n displayTransform={(id, display) => `@${display}`}\n markup=\"[__display__](__id__)\"\n className={mentionStyles.mentions__mention}\n renderSuggestion={(suggestion, search, highlightedDisplay) => (\n <div className=\"tw-flex tw-flex-row tw-items-center\">\n {this.personAvatar(suggestion)}\n <div className=\"tw-ml-2\">{highlightedDisplay}</div>\n </div>\n )}\n />\n </MentionsInput>\n );\n }\n}\n\nexport default MentionablePersonTextArea;\n","/* eslint-disable react/prop-types, react/jsx-props-no-spreading, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n\nimport React from \"react\";\n\nconst PillButton = ({ className, children, onClick, role, ...otherProps }) => (\n <div\n className={`tw-rounded-full tw-cursor-pointer tw-py-4px tw-px-12px tw-mb-4px tw-mx-0.5 tw-inline-flex tw-justify-center tw-items-center ${className}`}\n onClick={onClick}\n role={role}\n {...otherProps}\n >\n {children}\n </div>\n);\n\nexport default PillButton;\n","import React from \"react\";\nimport MentionablePersonTextArea from \"@shared/mentions/MentionablePersonTextArea\";\nimport PillButton from \"../../Transactions/components/shared/PillButton\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\n\nconst outcomeOptions = [\n { value: \"talked_to_lead\", label: \"Talked\" },\n { value: \"left_message\", label: \"Left Message\" },\n { value: \"busy\", label: \"Busy\" },\n { value: \"failed\", label: \"Failed\" },\n { value: \"no_answer\", label: \"No Answer\" },\n { value: \"wrong_number\", label: \"Wrong Number\" },\n];\n\nconst CallOutcomeAndNotes = ({ callOutcome, onFieldChange, currentParticipantId }) => {\n const { outcome, comment } = callOutcome;\n\n return (\n <div className=\"tw-flex tw-flex-col\">\n <FieldLabel className='tw-mb-8px' label='Call Outcome' isRequired />\n <div className=\"tw-flex tw-justify-between tw-mb-24px\">\n {outcomeOptions.map((k, v) => (\n <PillButton\n onClick={() => onFieldChange(\"outcome\", k.value)}\n className={`tw-border-1px tw-border-solid tw-border-gray-15 tw-text-gray-75 tw-h-[36px] tw-py-8px tw-px-12px ${outcome === k.value ?\n \"tw-text-white tw-bg-theme-button-primary\" :\n 'tw-bg-transparent'\n }`}\n key={v}>\n {k.label}\n </PillButton>\n ))}\n </div>\n <FieldLabel className='tw-mb-8px' label=\"Notes\" />\n <MentionablePersonTextArea\n id=\"interaction-phone-input\"\n value={comment || \"\"}\n isUuid\n mentionable_id={currentParticipantId}\n mentionable_type=\"Person\"\n onChange={(value) => onFieldChange(\"comment\", value)}\n isExternal={false}\n />\n </div>\n );\n};\n\nexport default CallOutcomeAndNotes;","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst IntentDropdown = ({ currentref, handleToggle, setshow }) => (\n <button\n aria-label=\"intent\"\n type=\"button\"\n className=\"focus:tw-outline-none intent-box none tw-bg-transparent tw-border-0\"\n ref={currentref}\n onClick={handleToggle}\n onBlur={() => setshow(false)}\n >\n <i className=\"fa fa-plus tw-pb-[3px]\" style={{ fontSize: \"10px\" }} />\n </button>\n);\n\nIntentDropdown.propTypes = {\n handleToggle: Proptypes.func,\n currentref: Proptypes.shape({}),\n setshow: Proptypes.func,\n};\nIntentDropdown.defaultProps = {\n handleToggle: null,\n currentref: null,\n setshow: null,\n};\n\nexport default IntentDropdown;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport IntentDropdown from \"./IntentDropdown\";\n\nconst IntentDetails = ({ intent, currentref, handleToggle, setshow }) => (\n <>\n {intent && intent !== null && intent !== \"n/a\" ? (\n <>\n {(() => {\n if (intent === \"seller/buyer\") {\n return (\n <>\n <div className=\"intent-box s\">S</div>\n <div className=\"tw-ml-4px intent-box b\">B</div>\n </>\n );\n }\n if ([\"S\", \"B\", \"T\", \"R\", \"C\", \"L\"].includes(intent.charAt(0).toUpperCase())) {\n return (\n <div className={`intent-box ${intent.charAt(0).toLowerCase()}`}>\n {intent.charAt(0).toUpperCase()}\n </div>\n );\n }\n return <IntentDropdown currentref={currentref} handleToggle={handleToggle} setshow={setshow} />;\n })()}\n </>\n ) : (\n <IntentDropdown currentref={currentref} handleToggle={handleToggle} setshow={setshow} />\n )}\n </>\n);\n\nIntentDetails.propTypes = {\n intent: Proptypes.string,\n handleToggle: Proptypes.func,\n currentref: Proptypes.shape({}),\n setshow: Proptypes.func,\n};\nIntentDetails.defaultProps = {\n intent: null,\n handleToggle: null,\n currentref: null,\n setshow: null,\n};\n\nexport default IntentDetails;\n","import React from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport { ArrowRightSolidV6, UserLargeSolidV6 } from \"@shared/v2/Icomoon\";\nimport { DncFlag } from \"@shared/Sms\";\n\nconst UpNext = ({ name, phoneNumber, dnc, pdpLink }) => (\n <div className=\"tw-border-1px tw-border-solid tw-rounded tw-border-gray-10 tw-w-full tw-p-8px tw-flex tw-justify-between tw-text-gray-75 tw-mb-16px\">\n <div className=\"tw-flex tw-items-center tw-gap-8px\">\n <ArrowRightSolidV6 className=\"tw-mr-4px\" size=\"m\" />\n <div className=\"\">Up Next:</div>\n <div className=\"tw-text-14d tw-font-semibold tw-max-w-[214px] tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis\">{name}</div>\n <div className=\"tw-font-semibold tw-text-gray-50\">Mobile: {phoneNumber}</div>\n <DncFlag show={dnc} />\n </div>\n <a href={pdpLink} target='_blank'>\n <Button schema='tertiary'>\n <span>PREVIEW</span>\n <UserLargeSolidV6 className='tw-ml-4px' size='s' />\n </Button>\n </a>\n </div>\n);\n\nexport default UpNext;\n","// extracted by mini-css-extract-plugin\nexport default {\"trigger\":\"PupZW3MWYtNDfflOSBEV\",\"content\":\"cxJx2asbcjx2YRQGHj4O\",\"statusIntentButton\":\"a5NMHG1GyIWU9Wce5GOW\",\"selectedStatusIntent\":\"JL5kCWSjAiiMTQKre3QK\",\"selectedStatusIntentText\":\"VjH3GEd7j7i0ehZnumLF\",\"selectedFrequencyText\":\"FwB0UsbUevP2KRG2Q2nm\",\"statusIntentOption\":\"j2bKfpGkAJVXMgmVX4Ba\",\"statusFrequencyOption\":\"gNvpBcWpVQ63k1G4oO28\",\"selectedFrequencyTextalign\":\"uX1yIobA57l1raewEmJb\",\"item\":\"QXmjJoAWxwRo3bW9vE_b\",\"dropdown\":\"fFXzCzJl7Gcc0kat6sqg\",\"active\":\"ZSzgy6CX8Ajxe7TaSIPy\"};","// extracted by mini-css-extract-plugin\nexport default {\"brivityBlue\":\"Vx8exAZDG1PYZmN8T51r\",\"brivityOrange\":\"N0pVhsXj39h6QxSvPGeQ\",\"yellowOrange\":\"r2JxvUyd2b8Y9ZrGTADg\",\"darkBlue\":\"JVBY5Rv26sL64SM0l8Bp\",\"gray\":\"ywm1A56ySJjRSnWfZ2VQ\",\"grayBase\":\"tWwhQi6WiIjo4KK7zyJi\",\"statusNew\":\"jfmNj02aOUm6F5FM3Zko\",\"statusUnqual\":\"K2ilcStskzoON9_jdCgr\",\"statusNurt\":\"jMuuvZ0J1GwhBn_Tn9XM\",\"statusWatch\":\"I3YAHG6UiFGYkmIRAdoy\",\"statusHot\":\"IjYmCMwEEuNTPrKk19ht\",\"statusPending\":\"QSJy5mBy8h5hPY9gOSAu\",\"statusActiveClient\":\"T8lAi_aw3YlPqCeqMBb_\",\"statusOther\":\"_29Lg9UIExg6Y2buWT5c\",\"statusProspectiveClient\":\"VnOxeAEafTwqgyt9UFJG\",\"statusPast\":\"Ntrq2ffzaXuQpXf1F71X\",\"statusInactive\":\"EO14djkvIWfr25tHagat\",\"statusArchived\":\"Ae8KC7mJV9NDWN95ued1\",\"statusTrash\":\"mJdEB4ymLi1McSu9gUYu\",\"intentBuyer\":\"_ywPTuy7CwKnRmneQo1h\",\"intentSeller\":\"SSeuug15yqcmQZbRPY7j\",\"intentSellerBuyer\":\"GAeIYRvYgBZngN0x6QzB\",\"intentTenant\":\"_4ekvZqsepxVsId_MaqyG\",\"intentLandlord\":\"RojE0WEPDkSaTtubWjsA\",\"intentRecruit\":\"UelBQn5mFrfif5qrNhI_\",\"intentCandidate\":\"gIoABIRdVgXBUqrerc5v\",\"intentNone\":\"R9CBS02zQXi2JNNWkqWL\"};","import React, { useRef, useState } from \"react\";\nimport { arrayOf, bool, func, shape, string } from \"prop-types\";\nimport statusIntentCss from \"./statusIntentDropdown.module.css\";\nimport colors from \"./colors.module.css\";\nimport { useClickOutside } from \"../hookHelpers\";\nimport Button from \"@shared/v2/Button\";\n\nexport const getStatusClass = (stat) => {\n switch (stat) {\n case \"new\":\n return colors.statusNew;\n case \"unqualified\":\n return colors.statusUnqual;\n case \"hot\":\n return colors.statusHot;\n case \"watch\":\n return colors.statusWatch;\n case \"nurture\":\n return colors.statusNurt;\n case \"past-client\":\n return colors.statusPast;\n case \"past\":\n return colors.statusPast;\n case \"inactive\":\n return colors.statusInactive;\n case \"trash\":\n return colors.statusTrash;\n case \"archived\":\n return colors.statusArchived;\n case \"pending\":\n return colors.statusPending;\n case \"active-client\":\n return colors.statusActiveClient;\n case \"prospective-client\":\n return colors.statusProspectiveClient;\n default:\n return colors.statusOther;\n }\n};\n\nconst StatusDropdown = ({ className, btnClassName, onChange, statusOptions, status, person, isLoading }) => {\n const ref = useRef();\n const [expanded, setExpanded] = useState(false);\n useClickOutside(ref, () => setExpanded(false));\n\n const updateValue = (value) => {\n setExpanded(false);\n onChange(value);\n };\n\n if (!person) return null;\n\n return (\n <div className={`${className} tw-relative`} ref={ref}>\n <Button\n className={`tw-border-none tw-cursor-pointer tw-whitespace-nowrap tw-text-11d tw-leading-[16px]\n tw-font-bold tw-rounded-full tw-w-[120px] tw-px-[8px] tw-py-[4px] tw-uppercase ${statusIntentCss.statusIntentButton\n } ${status !== \"active-client\" &&\n status !== \"prospective-client\" &&\n status !== \"brivity-user\" &&\n status !== \"non-compete\"\n ? statusIntentCss.selectedStatusIntentText\n : \"\"\n } ${getStatusClass(status)} ${expanded ? statusIntentCss.active : \"\"} ${btnClassName}`}\n onClick={() => {\n if (\n status !== \"active-client\" &&\n status !== \"prospective-client\" &&\n status !== \"brivity-user\" &&\n status !== \"non-compete\"\n ) {\n setExpanded((exp) => !exp);\n }\n }}\n isLoading={isLoading}\n >\n {status === \"prospective-client\" ? \"PROSPECTIVE\" : (status || \"new\").replace(\"-\", \" \").toUpperCase()}\n </Button>\n {expanded && (\n <div className=\"tw-absolute tw-z-1000 tw-left-[-8px] tw-top-[calc(100%+8px)] tw-bg-white tw-shadow-dropdown tw-flex tw-flex-col tw-gap-[8px] tw-p-[8px] tw-rounded-[8px]\">\n {statusOptions.map(([label, value]) => (\n <button\n key={value}\n onClick={(e) => updateValue(value)}\n className={`tw-font-bold tw-border-none hover:tw-ring-1 tw-text-[11px] tw-rounded-full tw-w-[120px] tw-leading-[24px] tw-font-boldtw-inline-block ${getStatusClass(\n value,\n )}`}\n >\n {label.toUpperCase()}\n </button>\n ))}\n </div>\n )}\n </div>\n );\n};\n\nexport default StatusDropdown;\n\nStatusDropdown.propTypes = {\n className: string,\n onChange: func,\n statusOptions: arrayOf([]),\n status: string,\n person: shape({}),\n btnClassName: string,\n isLoading: bool,\n};\n\nStatusDropdown.defaultProps = {\n className: null,\n onChange: () => { },\n statusOptions: [],\n status: \"new\",\n person: null,\n shape: {},\n isLoading: false,\n btnClassName: \"\",\n};","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst StageOption = ({ stageOption, selectStage, containerClassName, optionClassName }) => (\n <>\n {stageOption.header && (\n <div className=\"tw-inline-block tw-border-[1px] tw-border-solid last:tw-border-none tw-border-neutral-gray-30 \" />\n )}\n <div\n data-cy=\"leads-stage-option\"\n key={stageOption?.value}\n className={`tw-flex ${\n stageOption.header\n ? \"tw-pointer-events-none tw-bg-tinted-gray-50\"\n : \"tw-bg-white hover:tw-bg-tinted-gray-50 active:tw-bg-gray-lightest\"\n } ${containerClassName}`}\n onClick={selectStage}\n >\n <div\n className={`tw-flex tw-flex-col tw-flex-nowrap tw-grow tw-shrink-0 tw-text-[#666] tw-leading-[16px] tw-text-11px\n tw-font-bold tw-align-middle tw-py-[10px] tw-text-center tw-uppercase ${\n stageOption.header ? \"\" : \"tw-cursor-pointer\"\n } ${optionClassName}`}\n >\n {stageOption?.label}\n </div>\n </div>\n {stageOption.header ? (\n <div className=\"tw-inline-block tw-border-[1px] tw-border-solid last:tw-border-none tw-border-neutral-gray-30 \" />\n ) : (\n <div className=\"tw-inline-block tw-border-[1px] tw-border-solid first:tw-border-none last:tw-border-none tw-border-gray-10 tw-mx-[45px]\" />\n )}\n </>\n);\n\nStageOption.propTypes = {\n stageOption: Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.string,\n header: Proptypes.string,\n }),\n containerClassName: Proptypes.string,\n optionClassName: Proptypes.string,\n selectStage: Proptypes.func,\n};\nStageOption.defaultProps = {\n stageOption: {\n label: \"\",\n value: \"\",\n header: \"\",\n },\n containerClassName: \"\",\n optionClassName: \"\",\n selectStage: () => {},\n};\n\nexport default StageOption;\n","import React, { createContext, forwardRef, useCallback, useContext, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n autoUpdate,\n flip,\n FloatingFocusManager,\n FloatingList,\n offset,\n shift,\n size,\n useClick,\n useDismiss,\n useFloating,\n useInteractions,\n useListItem,\n useListNavigation,\n useMergeRefs,\n useRole,\n} from \"@floating-ui/react\";\nimport { createPortal } from \"react-dom\";\nimport { Transition } from \"react-transition-group\";\nimport Checkbox from \"../Checkbox\";\n\nconst div = document.createElement(\"div\");\ndiv.id = \"popover-container\";\ndocument.body.appendChild(div);\n\nconst usePopover = ({\n initialOpen = false,\n placement = \"bottom\",\n open: controlledOpen,\n onOpenChange: setControlledOpen,\n offset: offsetProp = 5,\n maxHeight,\n} = {}) => {\n const [uncontrolledOpen, setUncontrolledOpen] = useState(initialOpen);\n const [labelId, setLabelId] = useState();\n const [descriptionId, setDescriptionId] = useState();\n const [activeIndex, setActiveIndex] = useState(null);\n const [selectedIndex, setSelectedIndex] = useState(null);\n\n const open = controlledOpen ?? uncontrolledOpen;\n const setOpen = setControlledOpen ?? setUncontrolledOpen;\n\n const data = useFloating({\n placement,\n open,\n onOpenChange: setOpen,\n whileElementsMounted: autoUpdate,\n middleware: [\n offset(offsetProp),\n flip({\n crossAxis: placement.includes(\"-\"),\n fallbackAxisSideDirection: \"end\",\n padding: 5,\n }),\n size({\n apply({ availableHeight, elements }) {\n // eslint-disable-next-line no-param-reassign\n elements.floating.style.maxHeight = `${maxHeight && maxHeight < availableHeight ? maxHeight : availableHeight}px`;\n },\n }),\n shift({ padding: 5 }),\n ],\n });\n\n const elementsRef = useRef([]);\n\n const handleSelect = useCallback(() => {\n setSelectedIndex(null);\n setOpen(false);\n }, []);\n\n const listNav = useListNavigation(data.context, {\n listRef: elementsRef,\n activeIndex,\n selectedIndex,\n onNavigate: setActiveIndex,\n });\n\n const click = useClick(data.context, {\n enabled: controlledOpen == null,\n });\n const dismiss = useDismiss(data.context);\n const role = useRole(data.context);\n\n const interactions = useInteractions([listNav, click, dismiss, role]);\n\n return useMemo(\n () => ({\n open,\n setOpen,\n ...interactions,\n ...data,\n labelId,\n descriptionId,\n setLabelId,\n setDescriptionId,\n activeIndex,\n selectedIndex,\n handleSelect,\n elementsRef,\n }),\n [open, setOpen, interactions, data, labelId, descriptionId],\n );\n};\n\nconst PopoverContext = createContext();\n\nconst usePopoverContext = () => {\n const context = useContext(PopoverContext);\n\n if (context == null) {\n throw new Error(\"Popover components must be wrapped in <Popover />\");\n }\n\n return context;\n};\n\nconst PopoverTrigger = React.forwardRef(({ children, ...props }, propRef) => {\n const { getReferenceProps, open, refs } = usePopoverContext();\n const ref = useMergeRefs([refs.setReference, propRef, children.ref]);\n\n return React.cloneElement(\n children,\n getReferenceProps({\n ref,\n ...props,\n ...children.props,\n \"data-state\": open ? \"open\" : \"closed\",\n }),\n );\n});\n\nPopoverTrigger.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nconst PopoverContent = forwardRef(({ className, style, ...props }, propRef) => {\n const transitionRef = useRef(null);\n const { context, descriptionId, elementsRef, floatingStyles, getFloatingProps, labelId } =\n usePopoverContext();\n const popoverRef = useMergeRefs([context.refs.setFloating, propRef]);\n\n return createPortal(\n <Transition in={context.open} nodeRef={transitionRef} timeout={200} unmountOnExit>\n {(transitionState) => (\n <FloatingFocusManager context={context} modal={false}>\n <div\n ref={(ref) => {\n transitionRef.current = ref;\n popoverRef(ref);\n }}\n className={`tw-z-3000 tw-bg-white tw-shadow-dropdown tw-overflow-auto tw-flex tw-flex-col tw-rounded-[4px] tw-transition-opacity tw-duration-200 ${[\"entering\", \"entered\"].includes(transitionState) ? \"tw-opacity-100\" : \"tw-opacity-0\"} ${className}`}\n style={{ ...floatingStyles, ...style }}\n aria-labelledby={labelId}\n aria-describedby={descriptionId}\n {...getFloatingProps(props)}\n >\n <FloatingList elementsRef={elementsRef}>{props.children}</FloatingList>\n </div>\n </FloatingFocusManager>\n )}\n </Transition>,\n document.querySelector(\"#popover-container\"),\n );\n});\n\nPopoverContent.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n style: PropTypes.shape(),\n};\n\nPopoverContent.defaultProps = {\n className: \"\",\n style: {},\n};\n\nconst PopoverItem = ({ checkboxProps, children, className, icon, onClick, ...props }) => {\n const { activeIndex, selectedIndex, handleSelect } = usePopoverContext();\n const { ref, index } = useListItem();\n\n const isActive = activeIndex === index;\n const isSelected = selectedIndex === index;\n\n const content = (\n <div className=\"tw-flex tw-justify-start tw-items-center tw-gap-[8px]\">\n {icon}\n {children || <span />}\n </div>\n );\n return (\n <button\n ref={ref}\n type=\"button\"\n role=\"option\"\n aria-selected={isActive && isSelected}\n tabIndex={isActive ? 0 : -1}\n className={`tw-flex-none tw-border-none tw-outline-none tw-bg-white tw-overflow-hidden hover:tw-bg-gray-5 focus:tw-bg-gray-5 active:tw-bg-gray-10 tw-text-left tw-h-[32px] tw-py-[4px] tw-px-[12px] disabled:tw-text-neutral-gray-30 ${className}`}\n onClick={(e) => {\n onClick?.(e);\n handleSelect(index);\n }}\n {...props}\n >\n {checkboxProps ? (\n <Checkbox\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...checkboxProps}\n label={content}\n labelClassName=\"tw-pointer-events-none\"\n />\n ) : (\n content\n )}\n </button>\n );\n};\n\nPopoverItem.propTypes = {\n checkboxProps: PropTypes.shape(),\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n icon: PropTypes.node,\n onClick: PropTypes.func,\n};\n\nPopoverItem.defaultProps = {\n checkboxProps: null,\n className: \"\",\n icon: null,\n onClick: undefined,\n};\n\nconst Popover = ({ children, ...popoverOptions }) => {\n const popover = usePopover(popoverOptions);\n return <PopoverContext.Provider value={popover}>{children}</PopoverContext.Provider>;\n};\n\nPopover.Trigger = PopoverTrigger;\nPopover.Content = PopoverContent;\nPopover.Item = PopoverItem;\n\nPopover.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverItem, usePopoverContext };\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable react/prop-types, react/jsx-props-no-spreading */\nimport React, { useEffect, useState, useRef } from \"react\";\nimport Proptypes from \"prop-types\";\nimport StageOption from \"./StageOption\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover/Popover\";\nimport Button from \"@shared/v2/Button\";\n\n// not adding value for \"LEAD STAGES\" because we are only using it to display as header in dropdown option\nexport const LEAD_STAGE_MAPPING = [\n {\n label: \"LEAD STAGES\",\n value: \"LEAD STAGES\",\n header: \"lead\",\n },\n {\n label: \"NEW LEAD\",\n value: \"New lead\",\n type: \"lead\",\n },\n {\n label: \"ATTEMPTED CONTACT\",\n value: \"Attempted contact\",\n type: \"lead\",\n },\n {\n label: \"SPOKE WITH CUSTOMER\",\n value: \"Spoke with customer\",\n type: \"lead\",\n },\n {\n label: \"APPOINTMENT SET\",\n value: \"Appointment set\",\n type: \"lead\",\n },\n {\n label: \"MET WITH CUSTOMER\",\n value: \"Met with customer\",\n type: \"lead\",\n },\n {\n label: \"SHOWING HOMES\",\n value: \"Showing homes\",\n type: \"lead\",\n },\n {\n label: \"LISTING AGREEMENT\",\n value: \"Listing agreement\",\n type: \"lead\",\n },\n {\n label: \"ACTIVE LISTING\",\n value: \"Active listing\",\n type: \"lead\",\n },\n {\n label: \"SUBMITTING OFFERS\",\n value: \"Submitting offers\",\n type: \"lead\",\n },\n {\n label: \"UNDER CONTRACT\",\n value: \"Under contract\",\n type: \"lead\",\n },\n {\n label: \"SALE CLOSED\",\n value: \"Sale closed\",\n type: \"lead\",\n },\n {\n label: \"NURTURE\",\n value: \"Nurture\",\n type: \"lead\",\n },\n {\n label: \"REJECTED\",\n value: \"Rejected\",\n type: \"lead\",\n },\n];\n\n// not adding value for \"CANDIDATE STAGES\" because we are only using it to display as header in dropdown option\nexport const CANDIDATE_STAGE_MAPPING = [\n {\n label: \"CANDIDATE/RECRUIT STAGES\",\n value: \"CANDIDATE/RECRUIT STAGES\",\n header: \"candidate\",\n },\n {\n label: \"NEW CANDIDATE\",\n value: \"New candidate\",\n type: \"candidate\",\n },\n {\n label: \"ATTEMPTED CONTACT\",\n value: \"Attempted contact\",\n type: \"candidate\",\n },\n {\n label: \"SPOKE WITH CANDIDATE\",\n value: \"Spoke with candidate\",\n type: \"candidate\",\n },\n {\n label: \"APPOINTMENT SET\",\n value: \"Appointment set\",\n type: \"candidate\",\n },\n {\n label: \"MET WITH CANDIDATE\",\n value: \"Met with candidate\",\n type: \"candidate\",\n },\n {\n label: \"SCREENING\",\n value: \"Screening\",\n type: \"candidate\",\n },\n {\n label: \"SIGNING APPT. SET\",\n value: \"Signing appt. set\",\n type: \"candidate\",\n },\n {\n label: \"SIGNED\",\n value: \"Signed\",\n type: \"candidate\",\n },\n {\n label: \"NURTURE CANDIDATE\",\n value: \"Nurture candidate\",\n type: \"candidate\",\n },\n {\n label: \"REJECTED CANDIDATE\",\n value: \"Rejected candidate\",\n type: \"candidate\",\n },\n {\n label: \"DECLINED OFFER\",\n value: \"Declined offer\",\n type: \"candidate\",\n },\n];\n\nconst StagesDropDown = ({\n leadStageMapping,\n candidateStageMapping,\n selectedStage,\n onUpdateStage,\n containerClassName,\n isLoading,\n optionClassName,\n}) => {\n const [stage, setStage] = useState(selectedStage);\n const [showStagePicker, setShowStagePicker] = useState(false);\n\n const selectedTitle =\n [...leadStageMapping, ...candidateStageMapping].find((obj) => obj?.value === stage)?.label || \"\";\n\n const selectStage = (stage) => {\n setShowStagePicker(false);\n setStage(stage.value);\n onUpdateStage(stage);\n };\n\n useEffect(() => {\n if (selectedStage) {\n setStage(selectedStage);\n } else {\n setStage([...leadStageMapping, ...candidateStageMapping].length > 0 ? leadStageMapping[1]?.value : \"\");\n }\n }, [selectedStage]);\n\n return (\n <div className=\"tw-relative tw-flex tw-justify-start\">\n <Popover open={showStagePicker} onOpenChange={setShowStagePicker}>\n <PopoverTrigger>\n <Button\n data-cy=\"leads-stage-button\"\n schema='tertiary'\n isLoading={isLoading}\n onClick={() => setShowStagePicker(!showStagePicker)}\n className={`tw-bg-transparent tw-border-none tw-flex tw-justify-start tw-flex-row tw-flex-nowrap tw-grow tw-shrink-0 tw-items-center\n tw-uppercase tw-text-center tw-align-middle tw-cursor-pointer tw-w-[180px] tw-h-[24px] tw-text-[#666] tw-text-11px tw-leading-[16px]\n tw-font-bold hover:!tw-bg-transparent hover:tw-border-transparent !tw-bg-transparent tw-border-transparent ${containerClassName}`}>\n {selectedTitle}\n <i\n className={`fa fa-chevron-down tw-ml-[4px] tw-text-11d tw-transition-transform ${showStagePicker && \"fa-rotate-180\"\n }`}\n />\n </Button>\n </PopoverTrigger>\n <PopoverContent className=\"tw-h-[240px] tw-z-[3000]\">\n {[...leadStageMapping, ...candidateStageMapping].map((stageOption, i) => (\n <StageOption\n key={i}\n containerClassName=\"tw-w-[180px]\"\n stageOption={stageOption}\n selectStage={() => selectStage(stageOption)}\n />\n ))}\n </PopoverContent>\n </Popover>\n </div>\n );\n};\n\nStagesDropDown.propTypes = {\n selectedStage: Proptypes.string,\n containerClassName: Proptypes.string,\n optionClassName: Proptypes.string,\n leadStageMapping: Proptypes.array,\n candidateStageMapping: Proptypes.array,\n onUpdateStage: Proptypes.func,\n isLoading: Proptypes.bool,\n};\n\nStagesDropDown.defaultProps = {\n selectedStage: \"\",\n containerClassName: \"\",\n optionClassName: \"\",\n leadStageMapping: LEAD_STAGE_MAPPING,\n candidateStageMapping: CANDIDATE_STAGE_MAPPING,\n onUpdateStage: null,\n isLoading: false,\n};\n\nexport default StagesDropDown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\nimport InlineEditingInput from \"../InlineEditingInput\";\nimport { extractNumeric, formatNumber, isValidValue, removeLeadingZeroes } from \"../../inputFormatUtils\";\n\nexport const validateInput = (value) => {\n if (!value) {\n return { isValid: true, newValue: \"\" };\n }\n\n const newValue = removeLeadingZeroes(extractNumeric(value)) || \"0\";\n const isValid = isValidValue(newValue);\n return { isValid, newValue };\n};\n\nexport const formatInput = (value) => formatNumber(value, true);\n\nconst Flat = ({ id, value, placeholder, onChange, withCancelConfirm, className, ...otherProps }) => (\n <InlineEditingInput\n id={id}\n value={value}\n prefix=\"$\"\n placeholder={placeholder}\n onChange={onChange}\n leading={<span>$</span>}\n // Simply to activate the flexbox spacing on the trailing\n additionalTrailing={<span />}\n withCancelConfirm={withCancelConfirm}\n spacing={0}\n className={className}\n size={placeholder?.length || InlineEditingInput.numericDefaultSize}\n validateInput={validateInput}\n formatInput={formatInput}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n);\n\nFlat.propTypes = {\n id: PropTypes.string,\n value: nullable(PropTypes.oneOfType([PropTypes.string, PropTypes.number])).isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n withCancelConfirm: PropTypes.bool,\n className: PropTypes.string,\n};\n\nFlat.defaultProps = {\n id: null,\n placeholder: \"\",\n onChange: null,\n withCancelConfirm: true,\n className: \"\",\n};\n\nexport default Flat;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\nimport InlineEditingInput from \"../InlineEditingInput\";\nimport {\n extractNumeric,\n formatNumber,\n isValidPercentage,\n isValidValue,\n removeLeadingZeroes,\n} from \"../../inputFormatUtils\";\n\nconst validateInput = (value) => {\n if (!value) {\n return { isValid: true, newValue: \"\" };\n }\n\n const newValue = removeLeadingZeroes(extractNumeric(value)) || \"0\";\n const isValid = isValidValue(newValue) && isValidPercentage(newValue);\n return { isValid, newValue };\n};\n\nconst formatInput = (value) => formatNumber(value, true);\n\nconst Percent = ({ id, value, placeholder, onChange, withCancelConfirm, className, ...otherProps }) => (\n <InlineEditingInput\n id={id}\n value={value}\n suffix=\"%\"\n placeholder={placeholder}\n onChange={onChange}\n additionalTrailing={<span>%</span>}\n withCancelConfirm={withCancelConfirm}\n spacing={0}\n className={className}\n size={placeholder?.length || InlineEditingInput.numericDefaultSize}\n validateInput={validateInput}\n formatInput={formatInput}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n);\n\nPercent.propTypes = {\n id: PropTypes.string,\n value: nullable(PropTypes.oneOfType([PropTypes.string, PropTypes.number])).isRequired,\n placeholder: PropTypes.string,\n onChange: PropTypes.func,\n withCancelConfirm: PropTypes.bool,\n className: PropTypes.string,\n};\n\nPercent.defaultProps = {\n id: null,\n placeholder: \"\",\n onChange: null,\n withCancelConfirm: true,\n className: \"\",\n};\n\nexport default Percent;\n","import InlineEditingInput from \"./InlineEditingInput\";\nimport Flat from \"./Flat/Flat\";\nimport FlatPercent from \"./FlatPercent/FlatPercent\";\nimport Percent from \"./Percent/Percent\";\n\n// Export sub-components\nInlineEditingInput.Flat = Flat;\nInlineEditingInput.FlatPercent = FlatPercent;\nInlineEditingInput.Percent = Percent;\n\nexport default InlineEditingInput;\n","import React, {Component} from 'react';\nimport Pluralize from 'react-pluralize'\nimport DatePicker from '../../shared/DatePicker';\nimport { Button, Col, Modal, Row } from '../../shared/v1';\n\nconst default_agents = [{label: 'Anyone', value: 'anyone'}]\n\nexport default class RescheduleModal extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...this.props\n }\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState({...this.state, ...nextProps})\n }\n\n render() {\n return(\n <Modal\n size={'small'}\n show={this.state.showRescheduleModal}\n onHide={this.state.closeRescheduleModalHandler}>\n <Modal.Header closeButton>\n <Modal.Title>\n Hey! You're about to reschedule <Pluralize singular={'task'} count={this.state.selectedTasks.length}/> tasks!\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <Row>\n <Col size={12}>\n <p>\n Don't worry, your client doesn't see when you reschedule something. Select how far you want to move these dates around.\n </p>\n </Col>\n </Row>\n <Row>\n <Col size={6}>\n <DatePicker\n timeFormat={false}\n dateFormat='MM-DD-YYYY'\n name={'reschedule_date'}\n value={this.state.rescheduleDate}\n onChange={this.state.rescheduleDateHandler}\n />\n </Col>\n </Row>\n </Modal.Body>\n <Modal.Footer>\n <Button\n size=\"small\"\n className=\"modal-cancel tw-float-left\"\n onClick={this.state.closeRescheduleModalHandler}>\n Cancel\n </Button>\n <Button\n size=\"small\"\n className=\"modal-submit tw-float-right\"\n onClick={this.state.rescheduleTasksHandler}>\n Reschedule\n </Button>\n </Modal.Footer>\n </Modal>\n )\n }\n}\n","import React, {Component} from 'react';\nimport { Button, Modal } from '../../shared/v1';\n\nexport default class DeleteModal extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...this.props\n }\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState({...this.state, ...nextProps})\n }\n\n render() {\n return(\n <Modal\n size={'sm'}\n show={this.state.showDeleteModal}\n onHide={this.state.closeDeleteModal}>\n <Modal.Header closeButton>\n <Modal.Title>\n Are you sure?\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n Fair warning: unlike archiving a person, deleting a Task is forever. Your client won't be able to see that you deleted it, but they won't see if you did it, either.\n </Modal.Body>\n <Modal.Footer>\n <Button\n size=\"small\"\n className=\"modal-cancel tw-float-left\"\n onClick={this.state.closeDeleteModal}>\n Cancel\n </Button>\n <Button\n size=\"small\"\n variant=\"danger\"\n invert\n className=\"tw-float-right\"\n onClick={this.state.deleteTasksHandler}>\n Yes. Delete\n </Button>\n </Modal.Footer>\n </Modal>\n )\n }\n}\n","import React, {Component} from 'react';\nimport Pluralize from 'react-pluralize'\nimport { Button, Dropdown, FormGroup, Modal } from '../../shared/v1';\n\nconst default_agents = [{label: 'Anyone', value: 'anyone'}]\n\nexport default class ReassignModal extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...this.props\n }\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState({...this.state, ...nextProps})\n }\n\n render() {\n return(\n <Modal\n size={\"sm\"}\n show={this.state.showReassignModal}\n onHide={this.state.closeReassignModalHandler}>\n <Modal.Header closeButton>\n <Modal.Title>\n Do you really want to reassign <Pluralize singular={'task'} count={this.state.selectedTasks.length}/>?\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <FormGroup>\n <label>\n Assign these Tasks to\n </label>\n <Dropdown\n isSearchable={true}\n name='assigned_to_user_id'\n onUpdate={this.state.dropdownUpdater}\n isClearable={false}\n value={this.state.assignedToUserId}\n options={default_agents.concat(this.state.agentsOptions)}\n />\n </FormGroup>\n </Modal.Body>\n <Modal.Footer>\n <Button\n size=\"small\"\n className=\"modal-cancel tw-float-left\"\n onClick={this.state.closeReassignModalHandler}>\n Cancel\n </Button>\n <Button\n size=\"small\"\n className=\"modal-submit submit\"\n onClick={this.state.reassignTasksHandler}>\n Reassign\n </Button>\n </Modal.Footer>\n </Modal>\n )\n }\n}\n","import React, { Component } from \"react\";\n\nclass NewModalHeader extends Component {\n render() {\n return (\n <span className=\"new-modal-header\" style={{padding:this.props.isCreatingAppointment ? \"0 15px 0 20px\":null}}>\n <div className=\"task-header\" id={this.props.id} style={{marginLeft:this.props.isSchedulingAppointment ? \"29px\" : null}}>{this.props.header}</div>\n <div className=\"tw-text-center tw-touch-manipulation tw-cursor-pointer tw-ml-10px tw-border tw-border-solid tw-border-r-3px tw-border-b-3px tw-border-transparent tw-pt-[0.3em] tw-pb-[0.3em] tw-pr-[0.8em] tw-pl-[0.8em] tw-text-15px tw-float-right fa-stack fa-2x\" onClick={this.props.closeModal}>\n <i style={{paddingLeft: this.props.isSchedulingAppointment ? null : \"70px\"}} className=\"tw-align-text-top tw-pr-[0.1em] fa fa-circle close-button\"></i>\n <i className=\"tw-align-text-top tw-pr-[0.1em] fa fa-close x-button\"></i>\n </div>\n </span>\n );\n }\n}\n\nexport default NewModalHeader;\n","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport \"./profile-icon.scss\";\nimport Tooltip from \"./v2/Tooltip\";\n\nexport default class ProfileIcon extends Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n link: props.link,\n name: props.name,\n initials: props.initials,\n showName: props.showName,\n id: props.userId,\n placement: props.placement ? props.placement : \"right\",\n };\n }\n\n componentWillUnmount() {\n this.state.cancel_taskable && this.state.cancel_taskable();\n }\n\n componentDidMount() {\n if (this.props.dynamic) {\n this.getUser();\n }\n }\n\n getUser = () => {\n var task_this = this;\n axios\n .get(`/profile_icon?id=${this.state.id}`, {\n cancelToken: new axios.CancelToken(function executor(c) {\n task_this.setState({ cancel_get_user: c });\n }),\n })\n .then((response) => {\n this.setState({\n link: response.data.link,\n name: response.data.name,\n initials: response.data.initials,\n });\n })\n .catch((response) => {\n console.log(\"no assigned\");\n });\n };\n\n render() {\n return (\n <div>\n {this.state.link && (\n <Tooltip\n placement={this.state.placement}\n trigger={<img className=\"profile-icon\" src={this.state.link} />}\n content={this.state.name}\n />\n )}\n {this.state.initials && (\n <Tooltip\n placement={this.state.placement}\n trigger={<span className=\"circled user-image default-avatar\">{this.state.initials}</span>}\n content={this.state.name}\n />\n )}\n {this.state.showName && <p>{this.state.name}</p>}\n </div>\n );\n }\n}\n","import React from \"react\";\nimport { Row, Col, Modal } from \"react-bootstrap\";\nimport Moment from \"react-moment\";\nimport Pluralize from \"react-pluralize\";\nimport ProfileIcon from \"../../../shared/ProfileIcon\";\nimport HeaderTitle from \"../modals/HeaderTitle\";\nimport form from \"../form.module.css\";\nimport button from \"../button.module.css\";\nimport capitalize from \"capitalize\";\nimport Linkify from \"linkify-react\";\nconst milestoneOptions = (accountMilestoneNames) => {\n const personNames = accountMilestoneNames[\"Person\"];\n let personObject = {};\n\n personNames.forEach((name) => {\n personObject[name] = name\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n });\n\n return personObject;\n};\n\nconst Details = (props) => {\n const weeklyOptions = [\n { value: \"0\", label: \"On Sunday\" },\n { value: \"1\", label: \"On Monday\" },\n { value: \"2\", label: \"On Tuesday\" },\n { value: \"3\", label: \"On Wednesday\" },\n { value: \"4\", label: \"On Thursday\" },\n { value: \"5\", label: \"On Friday\" },\n { value: \"6\", label: \"On Saturday \" },\n ];\n const { task, editTask, completeTaskFromDetails, editAndComplete } = props;\n\n return (\n <Modal id=\"task-details\" className=\"person-details-modal\" show={true} onHide={props.closeTaskDetails}>\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle\n title={`Task Details for ${task.taskable_name}`}\n onClose={props.closeTaskDetails}\n style={{ fontSize: \"18px\" }}\n />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <Row>\n <Col xs={5}>\n <label className={form.formLabel}>DATE DUE</label>\n <p id=\"date\" className={props.dueness}>\n {task.state == \"completed\" && <Moment format=\"MM/DD/YYYY\" date={task.completed_at} />}\n {task.state != \"completed\" && (\n <div>\n {task.calculated_due_on && <Moment format=\"MM/DD/YYYY\" date={task.calculated_due_on} />}\n {!task.calculated_due_on && (\n <Pluralize plural=\"days\" singular=\"day\" count={parseInt(task.contingency_rule[\"days\"])} />\n )}\n {!task.calculated_due_on && \" \" + task.contingency_rule[\"position\"] + \" \"}\n {!task.calculated_due_on &&\n (task.parent_task_name\n ? task.parent_task_name\n : task.contingency_event_and_type[1] != undefined &&\n milestoneOptions(props.accountMilestoneNames)[task.contingency_event_and_type[1]])}\n </div>\n )}\n </p>\n\n {task.type === \"Appointment\" && task.scheduled_time !== null && (\n <>\n <label className={form.formLabel}>APPOINTMENT TIME</label>\n <p> {moment.unix(task.scheduled_time).format(\"LT\")} </p>\n </>\n )}\n\n <label className={form.formLabel}>WHO TASK IS ASSIGNED TO</label>\n {task.assigned_to_user_id && (\n <div className={\"contact-card clearfix m-b-5\"}>\n <ProfileIcon dynamic={true} userId={task.assigned_to_user_id} showName={true} />\n </div>\n )}\n {!task.assigned_to_user_id && <p>Anyone</p>}\n\n <label className={form.formLabel}>PRIORITY</label>\n {task.priority && <p>{task.priority}</p>}\n {!task.priority && <p>UNPRIORITIZED</p>}\n\n <label className={form.formLabel}>TYPE</label>\n {task.type && <p>{task.type}</p>}\n\n {!task.assigned_plan_id && <label className={form.formLabel}>RECURRENCE</label>}\n\n {!task.assigned_plan_id && task.recurring && task.recurring_day_of_week && (\n <p>\n <i className=\"fa fa-refresh\" style={{ marginRight: \"10px\" }} />\n {weeklyOptions[task.recurring_day_of_week].label}\n </p>\n )}\n\n {!task.assigned_plan_id && task.recurring && task.recurring_every_so_many_days && (\n <p>\n <i className=\"fa fa-refresh\" style={{ marginRight: \"10px\" }} />\n Every <Pluralize singular={\"day\"} count={task.recurring_every_so_many_days} />\n </p>\n )}\n\n {!task.assigned_plan_id && !task.recurring && (\n <p>\n <i className=\"fa fa-refresh text-muted p-r-5\" />\n Only once\n </p>\n )}\n </Col>\n <Col xs={7}>\n <label className={form.formLabel}>TASK DETAILS</label>\n <p>\n {task.assigned_plan_id && (\n <span>\n <i className={`fa fa-bolt m-r-5`} style={{ color: \"#59c4c4\" }} />\n </span>\n )}\n {task.name}\n </p>\n {task.instructions && (\n <div className=\"tw-whitespace-pre-wrap tw-break-words\">\n <label className={`${form.formLabel} show-instructions`}>INSTRUCTIONS</label>\n <Linkify tagName=\"p\" options={{ defaultProtocol: \"https\", target: \"_blank\" }}>\n {task.instructions}\n </Linkify>\n </div>\n )}\n {task.note && (\n <div className=\"tw-whitespace-pre-wrap tw-break-words\">\n <label className={`${form.formLabel} show-instructions`}>NOTES</label>\n <Linkify tagName=\"p\" options={{ defaultProtocol: \"https\", target: \"_blank\" }}>\n {task.note}\n </Linkify>\n </div>\n )}\n </Col>\n </Row>\n </Modal.Body>\n <Modal.Footer style={{ marginTop: \"-20px\" }}>\n {task.state !== \"completed\" && (\n <button\n className={`${button.btn} ${button.btnLg} ${button.btnBlue} pull-right`}\n onClick={\n task.type === \"Appointment\" ? () => editAndComplete(task) : () => completeTaskFromDetails(task)\n }\n >\n Complete Task\n </button>\n )}\n <button\n className={`${button.btn} ${button.btnLg} ${button.btnBlue} pull-right m-r-10`}\n onClick={() => editTask(task)}\n >\n Edit\n </button>\n <button\n className={`${button.btn} ${button.btnLg} ${button.btnGray} pull-left`}\n onClick={props.closeTaskDetails}\n >\n Close\n </button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nexport default Details;\n","import axios from \"axios\";\nimport { Modal } from \"../../shared/v1\";\nimport TaskForm from \"./TaskForm\";\nimport RescheduleModal from \"./RescheduleModal\";\nimport DeleteModal from \"./DeleteModal\";\nimport ReassignModal from \"./ReassignModal\";\nimport React from \"react\";\nimport { stripHtml } from \"../../shared/Utilities\";\nimport NewModalHeader from \"../components/NewModalHeader\";\nimport Details from \"../../PersonDetail/components/tasks/Details\";\nexport function showSelectAllPopover(e) {\n this.setState({\n ...this.state,\n selectAllTarget: e.target,\n showSelectAll: true,\n });\n}\n\nexport function closeSelectAllPopover(e) {\n this.setState({ ...this.state, selectAllTarget: null, showSelectAll: false });\n}\n\nexport function showModal() {\n this.setState({ showModal: true });\n}\n\nexport function showModalComplete() {\n const { task } = this.state;\n task[\"state\"] = \"completed\";\n task[\"completed\"] = true;\n this.setState({ task, showModal: true });\n}\n\nexport function closeModal(response) {\n this.setState({ showModal: false });\n}\n\nexport function showDetailModal() {\n this.setState({ showDetailModal: true });\n}\n\nexport function closeDetailModal() {\n this.setState({ showDetailModal: false });\n}\nexport function swapModals() {\n this.setState({ showDetailModal: false, showModal: true });\n}\nexport function showDeleteModal() {\n this.setState({ ...this.state, showDeleteModal: true });\n}\n\nexport function closeDeleteModal() {\n this.setState({ ...this.state, showDeleteModal: false });\n}\n\nexport function swapForDelete() {\n this.setState({ showModal: false, showDeleteModal: true });\n}\n\nexport function handleTaskChange(e) {\n const { task } = this.state;\n const key = e.target.name;\n const value = e.target.type == \"checkbox\" ? e.target.checked : e.target.value;\n\n if (key == \"multi_select\") {\n return this.handleMultiSelect(value);\n }\n\n if (key === \"recurring_every_so_many_days\" || key === \"recurring_day_of_week\") {\n return this.handleRecurrence(key, value);\n }\n\n if (key === \"assigned_to_user_id\" && value === \"anyone\") {\n return this.handleAssignedToUser(key, value);\n }\n\n task[key] = value;\n\n this.setState({ task });\n if (key == \"complete\" && task[\"complete\"] == true) {\n this.completeTask(this.state.task);\n }\n if (key == \"complete\" && task[\"complete\"] == false) {\n this.uncompleteTask(this.state.task);\n }\n}\n\nexport function handleAssignedToUser(key, value) {\n const { task } = this.state;\n task[\"assigned_to_user_id\"] = null;\n this.setState({ task });\n}\n\nexport function handleRecurrence(key, value) {\n var { task } = this.state;\n if (key === \"recurring_every_so_many_days\") {\n task.recurring_day_of_week = null;\n task.recurring_every_so_many_days = value;\n }\n if (key === \"recurring_day_of_week\") {\n task.recurring_every_so_many_days = null;\n task.recurring_day_of_week = value;\n }\n this.setState({ task });\n}\n\nexport function handleMultiSelect(value) {\n let { task } = this.state;\n task[\"multi_select\"] = value;\n this.setState({ ...this.state, ...task });\n this.multiSelectWatcher();\n}\n\nexport function weeklyOptions() {\n return {\n 0: \"On Sunday\",\n 1: \"On Monday\",\n 2: \"On Tuesday\",\n 3: \"On Wednesday\",\n 4: \"On Thursday\",\n 5: \"On Friday\",\n 6: \"On Saturday\",\n };\n}\n\nexport function completeAndEditAppointment() {\n let task = { ...this.state.task };\n task[\"completed\"] = !task[\"completed\"];\n task[\"state\"] = \"completed\";\n this.setState({ task });\n}\nexport function renderDetailModal() {\n var { task } = this.props;\n let default_agents = [{ label: \"Anyone\", value: \"anyone\" }];\n // FIXME(rubenochiavone): Add prop to Details component to toggle Modal visibility so that\n // animation can work. Short-circuiting the rendering of Modal, like in the line below, prevents\n // animation from working.\n return (\n this.state.showDetailModal && (\n <Details\n task={task}\n closeTaskDetails={this.closeDetailModal}\n editTask={this.swapModals}\n accountMilestoneNames={this.props.accountMilestoneNames}\n completeTaskFromDetails={this.completeTask}\n />\n )\n );\n}\n\nexport function renderNewPolymorphicTaskModal() {\n var default_agents = [{ label: \"Anyone\", value: \"anyone\" }];\n var { task } = this.state;\n if (!task) task = {};\n task.assigned_to_user_id = task.assigned_to_user_id || this.props.user.uuid;\n return (\n <Modal\n show={this.state.showModal}\n onHide={this.closeModal}\n deprecatedOverrideDialogWidthClasses=\"tw-w-[750px]\"\n contentClassName=\"tw-px-[32px] tw-py-0\"\n id=\"new-task-modal\"\n >\n <NewModalHeader header={`New Task for ${this.state.taskable.task_name}`} closeModal={this.closeModal} />\n <TaskForm\n agents={default_agents.concat(this.setAgentsForModal())}\n accountUuid={this.state.account.uuid}\n task={task}\n taskable={this.state.taskable}\n accountMilestoneNames={this.props.accountMilestoneNames}\n taskChange={this.props.taskChange}\n onCloseAction={this.closeModal}\n closeModal={this.closeModal}\n deleteButton={task !== undefined}\n showErrors={this.showErrors}\n errors={this.state.error_messages}\n editToDelete={this.swapForDelete}\n newTaskFor={true}\n user={this.props.user}\n />\n </Modal>\n );\n}\n\nexport function renderModal() {\n var default_agents = [{ label: \"Anyone\", value: \"anyone\" }];\n var { task } = this.props;\n return (\n <Modal\n show={this.state.showModal}\n onHide={this.closeModal}\n contentClassName=\"tw-px-[18px] tw-py-0 tw-w-[750px]\"\n id=\"edit-task-modal\"\n >\n <NewModalHeader header={`Edit Task for ${task.taskable_name}`} closeModal={this.closeModal} />\n <TaskForm\n agents={default_agents.concat(this.setAgentsForModal())}\n task={task}\n taskable={this.state.taskable}\n accountMilestoneNames={this.props.accountMilestoneNames}\n taskChange={this.props.taskChange}\n onCloseAction={this.closeModal}\n closeModal={this.closeModal}\n deleteButton={true}\n showErrors={this.showErrors}\n editToDelete={this.swapForDelete}\n editTaskFor={true}\n errors={this.state.error_messages}\n />\n </Modal>\n );\n}\n\nexport function multiSelectWatcher() {\n let multi_select_tasks = this.state.tasks.filter(\n (task) => task.multi_select == true && task.type !== \"Appointment\",\n );\n if (multi_select_tasks.length == 0 && this.state.header_buttons) {\n this.setState({ header_buttons: false });\n }\n if (multi_select_tasks.length > 0 && !this.state.header_buttons) {\n this.setState({ header_buttons: true });\n }\n}\n\nexport function selectAll() {\n this.setState({ ...this.state, selectAll: !this.state.selectAll });\n this.setState({ ...this.state, selectNone: false });\n this.setState({\n ...this.state,\n tasks: this.state.tasks.map((task) => this.taskMultiSelect(task, true)),\n });\n this.setState({ showSelectAll: false });\n this.multiSelectWatcher();\n}\n\nexport function selectNone() {\n this.setState({ ...this.state, selectNone: !this.state.selectNone });\n this.setState({ ...this.state, selectAll: false });\n this.setState({\n ...this.state,\n tasks: this.state.tasks.map((task) => this.taskMultiSelect(task, false)),\n });\n this.setState({ showSelectAll: false });\n this.multiSelectWatcher();\n}\n\nexport function taskMultiSelect(task, bool) {\n task.type === \"Appointment\" ? (task.multi_select = false) : (task.multi_select = bool);\n return task;\n}\nexport function renderReassignModal() {\n return (\n <ReassignModal\n showReassignModal={this.state.showReassignModal}\n selectedTasks={this.selectedTasks()}\n assignedToUserId={this.state.assigned_to_user_id}\n form={this.state}\n dropdownUpdater={this.handleState}\n agentsOptions={this.setAgentsForModal()}\n closeReassignModalHandler={this.closeReassignModal}\n reassignTasksHandler={this.reassignTasks}\n />\n );\n}\n\nexport function showReassignModal() {\n this.setState({ ...this.state, showReassignModal: true });\n}\nexport function closeReassignModal() {\n this.selectNone();\n this.setState({ ...this.state, showReassignModal: false });\n this.multiSelectWatcher();\n}\n\nexport function showRescheduleModal() {\n this.setState({ ...this.state, showRescheduleModal: true });\n}\nexport function closeRescheduleModal() {\n this.selectNone();\n this.setState({ ...this.state, showRescheduleModal: false });\n this.multiSelectWatcher();\n}\n\nexport function selectedTasks() {\n var selected_tasks = undefined;\n selected_tasks = this.state.tasks.filter(\n (task) => task.multi_select == true && task.type !== \"Appointment\",\n );\n return selected_tasks;\n}\nexport function setAgentsForModal() {\n var agents = [];\n for (var obj in this.props.agents) {\n var agent = this.props.agents[`${obj}`];\n agents.push({ label: agent[\"full_name\"], value: agent[\"uuid\"] });\n }\n return agents;\n}\nexport function renderDeleteModal() {\n return (\n <DeleteModal\n showDeleteModal={this.state.showDeleteModal}\n closeDeleteModal={this.closeDeleteModal}\n deleteTasksHandler={this.deleteTasks}\n />\n );\n}\n\nexport function renderRescheduleModal() {\n return (\n <RescheduleModal\n selectedTasks={this.selectedTasks()}\n showRescheduleModal={this.state.showRescheduleModal}\n closeRescheduleModalHandler={this.closeRescheduleModal}\n rescheduleDate={this.state.reschedule_date}\n rescheduleDateHandler={this.handleRescheduleDate}\n rescheduleTasksHandler={this.rescheduleTasks}\n />\n );\n}\n\nexport function handleState(e) {\n const { state } = this;\n const key = e.target.name;\n const value = e.target.type == \"checkbox\" ? e.target.checked : e.target.value;\n\n state[key] = value;\n this.setState({ ...this.state, ...state });\n}\n\nexport function handleRescheduleDate(e) {\n this.setState({ reschedule_date: moment(e).format(\"YYYY-MM-DD\") });\n}\n\nexport function deleteTasks() {\n this.props.toggleTaskLoader(true);\n this.selectedTasks().map((task) => this.deleteTask(task, true));\n this.setState({ ...this.state, selectAll: false, showDeleteModal: false });\n}\n\nexport function deleteTask(task, bulkOperation = false) {\n let task_id_to_delete = task.id || this.state.task.id;\n\n axios({\n method: \"delete\",\n url: `/tasks/${task_id_to_delete}`,\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n },\n }).then((response) => {\n let event = {\n target: {\n name: \"state\",\n value: \"archived\",\n },\n };\n //rerender the parent comp with resposne. Cool!\n this.getTasks();\n let taskChangeEvent = new Event(\"task:count_change\");\n window.dispatchEvent(taskChangeEvent);\n });\n}\nexport function completeTasks() {\n this.props.toggleTaskLoader(true);\n this.selectedTasks().map((task) => this.completeTask(task, true));\n this.getTasks();\n this.setState({ ...this.state, selectAll: false });\n}\n\nexport function uncompleteTasks() {\n this.props.toggleTaskLoader(true);\n this.selectedTasks().map((task) => this.uncompleteTask(task, true));\n this.getTasks();\n this.setState({ ...this.state, selectAll: false });\n}\n\nexport function reassignTasks() {\n this.props.toggleTaskLoader(true);\n this.selectedTasks().map((task) => this.reassignTask(task, this.state.assigned_to_user_id, true));\n this.getTasks();\n this.setState({ ...this.state, selectNone: false }, () => this.closeReassignModal());\n}\n\nconst clientFinder = (agents, clientUuid) => {\n const agent = agents.find((agent) => agent.value === clientUuid);\n return agent || \"\";\n};\n\nconst returnAppointmentType = (appointmentType) => {\n const simpleAppointments = [\n \"General\",\n \"Follow Up\",\n \"Client Meeting\",\n \"Buyer/Listing Consultation\",\n \"Recruiting Appointment\",\n ];\n return simpleAppointments.includes(appointmentType) ? \"Appointment\" : appointmentType;\n};\n\nconst emailConstructor = (contactEmail, taskableEmail) => {\n if (contactEmail != null) {\n return contactEmail;\n }\n if (taskableEmail != null) {\n return taskableEmail;\n }\n};\n\nexport function handleGoogleCalendar(task, agents, user, contactEmail, addTo) {\n const taskDetails = task.name;\n const location = task.location;\n const scheduledTime = task.scheduled_time;\n const clientUuid = task.assigned_to_user_id;\n const agentEmail = user ? user.email : \"\";\n const appointmentType = task.appointment_type;\n const taskableEmail = task.taskable_email;\n const taskableName = task.taskable_name.length ? task.taskable_name : \"\";\n const scheduled_date_time_start = moment.unix(scheduledTime).format(\"YYYYMMDDTHHmmSSZ\");\n const scheduled_date_time_end = moment.unix(scheduledTime).add(0.5, \"hour\").format(\"YYYYMMDDTHHmmSSZ\");\n const scheduled_date_time_english_format_start = moment.unix(scheduledTime).format(\"llll\");\n const current_tz = Intl.DateTimeFormat().resolvedOptions().timeZone;\n const client = clientFinder(agents, clientUuid);\n const title = `${returnAppointmentType(appointmentType)}: ${taskableName} And ${client.label}`;\n const contact_email = emailConstructor(contactEmail, taskableEmail);\n const emails =\n contact_email === undefined\n ? `${client.email},${agentEmail}`\n : `${client.email},${agentEmail},${contact_email}`;\n if (addTo) {\n window.open(\n `https://calendar.google.com/calendar/u/0/r/eventedit?text=${title}&location=${location || \"Location\"\n }&details=Details:+${taskDetails}%0A%0ADate+and+Time:+${scheduled_date_time_english_format_start}%0A%0AGuests:%0A+${client.label\n }: ${client.email}%0A+${taskableName}${`: ${contactEmail}` || \"\"\n }+&add&dates=${scheduled_date_time_start}/${scheduled_date_time_end}&add=${emails}&ctz=${current_tz}`,\n \"_blank\",\n );\n }\n}\n\nexport const tryCatchHandlr = async (promise) => {\n try {\n const data = await promise;\n return [data, null];\n } catch (err) {\n return [null, err];\n }\n};\n\nexport async function createTask(task, agents, user, contactEmail, addTo, listingUUID, handleAgreementCallback = () => false) {\n const isNewApi = this.props.v4TaskApi;\n const taskUpdateEvent = new Event(\"task:update\");\n const taskChangeEvent = new Event(\"task:count_change\");\n const taskListener = new Event(\"task:polymoprhic_count_change\");\n const task_path = isNewApi ? \"/api/v4/transactions/tasks\" : \"/tasks\";\n const formData = { ...task };\n const baseData = {\n task: formData,\n authenticity_token: ReactOnRails.authenticityToken(),\n };\n const data = isNewApi ? { ...baseData, uuid: listingUUID, person_uuid: task[\"taskable_id\"] } : baseData;\n\n this.setState({\n ...this.state,\n disabledButton: true,\n saveButtonText: \"Saving...\",\n });\n const req = axios.post(task_path, data);\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n this.props.showErrors(parseErrors(err));\n this.setState({\n ...this.state,\n disabledButton: false,\n saveButtonText: \"Save\",\n });\n } else {\n this.handleGoogleCalendar(task, agents, user, contactEmail, addTo);\n window.dispatchEvent(taskUpdateEvent);\n window.dispatchEvent(taskChangeEvent);\n window.dispatchEvent(taskListener);\n this.setState({\n ...this.state,\n disabledButton: false,\n saveButtonText: \"Save\",\n });\n this.closeModal();\n if (handleAgreementCallback()) return;\n location.reload();\n }\n}\n\nexport function updateTask(task, bulkOperation = false) {\n let taskUpdateEvent = new Event(\"task:update\");\n let taskChangeEvent = new Event(\"task:count_change\");\n let taskListener = new Event(\"task:polymoprhic_count_change\");\n var task_path = `/tasks/${task.id}`;\n let formData = { ...task };\n this.setState({\n ...this.state,\n disabledButton: true,\n saveButtonText: \"Saving...\",\n });\n return axios\n .patch(task_path, {\n task: formData,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n if (!bulkOperation) {\n window.dispatchEvent(taskUpdateEvent);\n }\n window.dispatchEvent(taskChangeEvent);\n window.dispatchEvent(taskListener);\n // this.props.taskChange(response)\n this.setState({\n ...this.state,\n disabledButton: false,\n saveButtonText: \"Save\",\n });\n this.closeModal();\n })\n .catch((err) => {\n this.props.showErrors(parseErrors(err));\n this.setState({\n ...this.state,\n disabledButton: false,\n saveButtonText: \"Save\",\n });\n throw err;\n });\n}\n\nexport function reassignTask(task, assigned_to_user_id, bulkOperation = false) {\n task.assigned_to_user_id = assigned_to_user_id;\n if (task.assigned_to_user_id == \"anyone\") {\n task.assigned_to_user_id = null;\n }\n this.updateTask(task, bulkOperation);\n}\n\nexport function rescheduleTasks(task, reschedule_date) {\n this.props.toggleTaskLoader(true);\n this.selectedTasks().map((task) => this.rescheduleTask(task, true));\n this.getTasks();\n this.setState({ ...this.state, selectNone: false }, () => this.closeRescheduleModal());\n}\n\nexport function rescheduleTask(task, bulkOperation = false) {\n task.due_on = this.state.reschedule_date;\n this.updateTask(task, bulkOperation);\n}\n\nexport function completeTask(task, bulkOperation = null) {\n task.type == \"Appointment\" ? (bulkOperation = true) : (bulkOperation = false);\n const formData = Object.assign({}, task);\n this.setState({ task: { ...this.state.task, state: \"completed\" } });\n axios\n .patch(`/tasks/${task.id}/complete`, {\n task: formData,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n let taskChangeEvent = new Event(\"task:count_change\");\n let polymorphicChange = new Event(\"task:polymorphic_count_change\");\n window.dispatchEvent(polymorphicChange);\n window.dispatchEvent(taskChangeEvent);\n if (!bulkOperation) {\n let taskUpdateEvent = new Event(\"task:update\");\n window.dispatchEvent(taskUpdateEvent);\n }\n });\n}\n\nexport function uncompleteTask(task, bulkOperation = false) {\n const formData = Object.assign({}, this.state.task);\n this.setState({ task: { ...this.state.task, state: \"running\" } });\n axios\n .patch(`/tasks/${task.id}/uncomplete`, {\n task: formData,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n let taskChangeEvent = new Event(\"task:count_change\");\n let polymorphicChange = new Event(\"task:polymorphic_count_change\");\n window.dispatchEvent(polymorphicChange);\n window.dispatchEvent(taskChangeEvent);\n if (!bulkOperation) {\n let taskUpdateEvent = new Event(\"task:update\");\n window.dispatchEvent(taskUpdateEvent);\n }\n });\n}\n\nexport function replaceURLWithHTMLLinks(text) {\n let replacedText, replacePattern1, replacePattern2, strippedText;\n strippedText = stripHtml(text);\n //URLs starting with http://, https://, or ftp://\n replacePattern1 = /(\\b(https?|ftp):\\/\\/[-A-Z0-9+&@#\\/%?=~_|!:,.;]*[-A-Z0-9+&@#\\/%=~_|])/gim;\n replacedText = strippedText.replace(replacePattern1, '<a href=\"$1\" target=\"_blank\">$1</a>');\n //URLs starting with \"www.\" (without // before it, or it'd re-link the ones done above).\n replacePattern2 = /(^|[^\\/])(www\\.[\\S]+(\\b|$))/gim;\n replacedText = replacedText.replace(replacePattern2, '$1<a href=\"http://$2\" target=\"_blank\">$2</a>');\n return replacedText;\n}\n\nexport function nlToBr(text) {\n return text.replace(/\\r\\n|\\n\\r|\\r|\\n/g, \"<br />\");\n}\n\nexport const parseErrors = (err) => {\n const genericError = \"Uh-oh! Something went wrong.\";\n if (!/text|json/.test(err.response?.headers[\"content-type\"])) {\n return [genericError];\n }\n const parsedError = String(err.response?.data || \"\").split(\" - \")[1];\n if (parsedError?.startsWith(\"[\")) {\n return JSON.parse(parsedError);\n } else {\n return [parsedError || err.message || genericError];\n }\n};\n","import React, { Component } from \"react\";\nimport TextInput from \"../../shared/v2/TextInput\";\nimport { Col } from \"../../shared/v1\";\nimport Button from \"../../shared/v2/Button\";\nimport { Plus } from \"../../shared/v2/Icomoon\";\n\nconst TaskDetailsInformation = ({ task, toggleInstructions, toggleNotes, handleTaskChange, taskDetails }) => (\n <Col size={12} className=\"tw-flex tw-flex-col tw-gap-[16px] tw-mb-[16px]\">\n <TextInput\n label=\"Task Details (max 255 characters)\"\n isRequired\n name=\"name\"\n onChange={handleTaskChange}\n value={task.name}\n maxLength={255}\n disabled={taskDetails ? true : false}\n />\n\n <div className=\"tw-flex tw-gap-[12px]\">\n {!task.showInstructions && (\n <Button onClick={toggleInstructions}>\n Add Instructions\n <Plus size=\"s\" className=\"tw-ml-[4px]\" />\n </Button>\n )}\n {!task.showNotes && (\n <Button onClick={toggleNotes}>\n Add Notes\n <Plus size=\"s\" className=\"tw-ml-[4px]\" />\n </Button>\n )}\n </div>\n </Col>\n);\n\nexport default TaskDetailsInformation;\n","import React from \"react\";\nimport { Col } from \"@shared/v1\";\nimport { Close } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport AiAssistant from \"@shared/AiAssistant\";\n\nconst TaskInstructions = ({ task, toggleInstructions, handleTaskChange }) => (\n <Col size={12} className=\"tw-mb-[16px]\">\n <div className=\"tw-flex tw-justify-end tw-gap-[8px] tw-absolute tw-top-0 tw-right-[10px]\">\n <AiAssistant\n textareaId=\"task-instructions-input\"\n messageType=\"Generic\"\n onInsertClick={(text) => handleTaskChange({ target: { name: \"instructions\", value: text } })}\n />\n <IconButton size=\"small\" schema=\"transparent\" onClick={toggleInstructions}>\n <Close />\n </IconButton>\n </div>\n <TextInput\n id=\"task-instructions-input\"\n multiline\n size=\"auto\"\n name=\"instructions\"\n label=\"Instructions\"\n value={task.instructions || \"\"}\n onChange={handleTaskChange}\n />\n </Col>\n);\n\nexport default TaskInstructions;\n","import React from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport { Close } from \"../../shared/v2/Icomoon\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport TextInput from \"../../shared/v2/TextInput\";\n\nconst TaskNotes = ({ toggleNotes, task, handleTaskChange }) => (\n <Col size={12} className=\"tw-mb-[16px]\">\n <IconButton\n className=\"tw-absolute tw-top-0 tw-right-[10px]\"\n size=\"small\"\n schema=\"transparent\"\n onClick={toggleNotes}\n >\n <Close />\n </IconButton>\n <TextInput\n multiline\n size=\"auto\"\n name=\"note\"\n label=\"Notes\"\n value={task.note || \"\"}\n onChange={handleTaskChange}\n />\n </Col>\n);\n\nexport default TaskNotes;\n","import React, { Component } from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport FieldLabel from \"../../shared/v2/FieldLabel\";\nimport RadioButton from \"../../shared/v2/RadioButton/RadioButton\";\n\nclass PrioritySelection extends Component {\n render() {\n const { priorityNumbers, task, taskPriorityWatcher } = this.props;\n return (\n <Col size={12} className=\"tw-mb-[16px]\">\n <FieldLabel className=\"tw-mb-8px\" label=\"Priority (1: highest, 9: lowest)\" isRequired />\n <div className={\"priority-buttons\"}>\n {priorityNumbers.map((priorityNumber) => (\n <RadioButton\n key={priorityNumber}\n labelClassName=\"after:!tw-content-none\"\n value={priorityNumber}\n label={priorityNumber}\n name=\"priority\"\n onClick={() => taskPriorityWatcher(priorityNumber)}\n checked={task.priority === priorityNumber}\n />\n ))}\n </div>\n </Col>\n );\n }\n}\n\nexport default PrioritySelection;\n","import React from \"react\";\n\nimport { Alert } from \"../../shared/v1\";\n\nconst Errors = ({ errors }) => (\n <div className=\"task-errors\">\n {errors && (\n <Alert variant=\"danger\">\n <dl className=\"tw-mb-0\">\n {errors.map((error, index) => (\n <dd key={index}> {error} </dd>\n ))}\n </dl>\n </Alert>\n )}\n </div>\n);\n\nexport default Errors;\n","import React from \"react\";\nimport colors from \"../../Reports/components/DashboardShared/helpers/colors\";\nimport { Col } from \"../../shared/v1\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nconst AppointmentTypeSelection = ({\n isCreatingAppointment,\n task,\n taskDetails,\n handleAppointmentType,\n appointmentTypeOptions,\n}) => {\n return (\n <Col size={6} className=\"tw-mb-[16px]\">\n <Dropdown\n menuShouldComeToFront\n label=\"Appointment Type\"\n isRequired\n name=\"appointment_type\"\n onChange={handleAppointmentType}\n value={appointmentTypeOptions().reduce((p, c) => [...p.options, ...c.options]).find((opt) => opt.value === task.appointment_type) || null}\n options={appointmentTypeOptions()}\n isDisabled={taskDetails ? true : false}\n />\n </Col>\n );\n};\n\nexport default AppointmentTypeSelection;\n","import React from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nclass AssignTaskToSelection extends React.Component {\n render() {\n const { handleTaskChange, task, agents, taskDetails } = this.props;\n return (\n <Col size={6} className=\"tw-mb-[16px]\">\n <Dropdown\n menuShouldComeToFront\n label=\"Assign Task to\"\n isSearchable\n name=\"assigned_to_user_id\"\n onChange={(agent, handler) =>\n handleTaskChange({ target: { name: handler?.name, value: agent?.value } })\n }\n isClearable={false}\n value={agents?.find((agent) => agent.value === task.assigned_to_user_id) || null}\n options={agents}\n isDisabled={taskDetails ? true : false}\n isLoading={!agents?.length}\n />\n </Col>\n );\n }\n}\n\nexport default AssignTaskToSelection;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport { Search as SearchIcon } from \"../../shared/v2/Icomoon\";\nimport { useDebounce } from \"../../shared/hookHelpers\";\n\nconst searchAccounts = (search, signal) =>\n axios.get(\"/accounts/search\", {\n signal,\n params: { search },\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n\nconst TaskFor = ({ id, onChange, taskFor }) => {\n const [value, setValue] = useState(taskFor ? { ...taskFor, value: taskFor.uuid } : null);\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const [_search, setSearch] = useState(\"\");\n const search = useDebounce(_search, 250);\n\n useEffect(() => {\n if (search.length < 3) return () => {};\n setLoading(true);\n const abortController = new AbortController();\n searchAccounts(search, abortController.signal)\n .then((res) => {\n setLoading(false);\n setData(\n res.data\n .filter((d) => ![\"archived\", \"trash\"].includes(d.status))\n .map((d) => ({ ...d, value: d.uuid })),\n );\n })\n .catch(() => setLoading(false));\n return () => abortController.abort();\n }, [search]);\n\n useEffect(() => {\n if (value) onChange(value);\n }, [value]);\n\n return (\n <Dropdown\n id={id}\n name=\"search_query\"\n className=\"tw-max-w-[324px]\"\n label=\"Select person, transaction or project\"\n placeholder=\"Search by Name, Email, or Address\"\n isRequired\n isSearchable\n isLoading={loading}\n onInputChange={setSearch}\n getOptionLabel={(option) => (\n <>\n <i className={`${option.icon} ${option.color} task-result-icon`} /> {option.label} ({option.type})\n </>\n )}\n noOptionsMessage={\n _search.length < 3 ? `Enter ${3 - _search.length} more characters to search` : \"No Options\"\n }\n onChange={setValue}\n value={value}\n options={data}\n menuShouldComeToFront\n shouldFilterOptions={false}\n inputTrailing={<SearchIcon size=\"l\" style={{ verticalAlign: \"middle\" }} />}\n />\n );\n};\n\nTaskFor.propTypes = {\n id: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n taskFor: PropTypes.shape({\n uuid: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n icon: PropTypes.string.isRequired,\n color: PropTypes.string.isRequired,\n }),\n};\n\nTaskFor.defaultProps = {\n taskFor: null,\n};\n\nexport default TaskFor;\n","import React from \"react\";\nimport TaskFor from \"./TaskFor\";\nimport { Col } from \"../../shared/v1\";\nimport { useGivenOrGeneratedId } from \"../../shared/hookHelpers\";\n\nconst TaskableAssignment = ({ taskForWatcher, task_for, id: idFromProps }) => {\n const id = useGivenOrGeneratedId(\"task\", idFromProps);\n return (\n <Col size={6} className=\"tw-mb-[16px]\">\n <TaskFor id={id} onChange={taskForWatcher} taskFor={task_for} />\n </Col>\n );\n};\n\nexport default TaskableAssignment;\n","import React from \"react\";\nimport { Col, FormGroup, Label } from \"../../shared/v1\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport TextInput from \"../../shared/v2/TextInput\";\n\nconst OPTIONS = [\n { value: \"after\", label: \"After\" },\n { value: \"before\", label: \"Before\" },\n];\n\nexport default class ContingencyRuleSelection extends React.Component {\n render() {\n const { handleContingencyRuleChange, task, createTask, editTaskFor } = this.props;\n return (\n task.type !== \"Appointment\" && (\n <>\n <Col size={3} className=\"tw-mb-[16px]\">\n <TextInput\n size=\"1\"\n label=\"# of days\"\n name=\"days\"\n onChange={handleContingencyRuleChange}\n value={task.contingency_rule.days || \"\"}\n />\n </Col>\n <Col size={3} className=\"tw-mb-[16px]\">\n <Dropdown\n size=\"1\"\n label=\"After/before\"\n name=\"position\"\n options={OPTIONS}\n value={OPTIONS.find((opt) => opt.value === task.contingency_rule.position)}\n onChange={(option, handler) =>\n handleContingencyRuleChange({ target: { name: handler.name, value: option.value } })\n }\n />\n </Col>\n </>\n )\n );\n }\n}\n","import React from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport TextInput from \"../../shared/v2/TextInput\";\n\nexport default class LocationInput extends React.Component {\n render() {\n //CHECKME: isSchedulingAppointment is coming from TaskFormLogAppointment.jsx , where the TaskForm is getting called from lead or people IDX\n //CHECKME: handleLocationOnChange is coming from TaskForm.jsx\n //CHECKME: personTaskForm is coming from PersonTaskForm.jsx where the TaskForm is getting called in the PDP page from the + on tasks and appointments\n //CHECKME: editTaskFor is coming from TaskIndexModalHelpers.jsx where TaskForm is getting called for editing\n const { handleLocationOnChange, task } = this.props;\n return (\n <Col size={12} className=\"tw-mb-[16px]\">\n <TextInput\n label=\"Location\"\n onChange={handleLocationOnChange}\n defaultValue={task.location}\n name=\"location\"\n />\n </Col>\n );\n }\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Col } from \"../../shared/v1\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nconst APPT_TYPES = {\n Buyer: \"Buyer Consultation\",\n BuyerListing: \"Buyer/Listing Consultation\",\n MeetAndGreet: \"Meet & Greet\",\n Recruiting: \"Recruiting Appointment\",\n RecruitingFollowUp: \"Recruiting Follow Up\",\n Screening: \"Screening\",\n Listing: \"Listing Consultation\",\n Signing: \"Signing Appointment\",\n};\n\nconst OUTCOMES = {\n CompleteNotSigned: { label: \"Appointment Complete - Not Signed\", value: \"Appointment Complete\" },\n Complete: { label: \"Appointment Complete\", value: \"Appointment Complete\" },\n Canceled: { label: \"Appointment Canceled\", value: \"Appointment Cancelled\" },\n NoShow: { label: \"No Show\", value: \"No Show\" },\n SignedBuyer: {\n label: \"Signed - Buyer Agreement\",\n value: \"Signed - Buyer Agreement\",\n },\n SignedListing: {\n label: \"Signed - Listing Agreement\",\n value: \"Signed - Listing Agreement\",\n },\n SignedBoth: {\n label: \"Signed - Both Buyer/Listing\",\n value: \"Signed - Both Buyer/Listing\",\n },\n SignedRecruit: {\n label: \"Signed - Recruit\",\n value: \"Signed - Recruit\",\n },\n NotAFit: {\n label: \"Not a Fit\",\n value: \"Not a Fit\",\n },\n};\n\nconst OutcomeSelection = ({ appointmentType, handleOutcomeOnChange, task }) => {\n const outcomeOptions = React.useMemo(() => {\n const isBuyerSeller = [APPT_TYPES.Buyer, APPT_TYPES.Listing, APPT_TYPES.BuyerListing].includes(\n appointmentType,\n );\n const outcomes = [\n isBuyerSeller ? OUTCOMES.CompleteNotSigned : OUTCOMES.Complete,\n OUTCOMES.Canceled,\n OUTCOMES.NoShow,\n ];\n\n switch (appointmentType) {\n case APPT_TYPES.Buyer:\n outcomes.splice(0, 0, OUTCOMES.SignedBuyer, OUTCOMES.SignedBoth);\n break;\n case APPT_TYPES.Listing:\n outcomes.splice(0, 0, OUTCOMES.SignedListing, OUTCOMES.SignedBoth);\n break;\n case APPT_TYPES.BuyerListing:\n outcomes.splice(0, 0, OUTCOMES.SignedBuyer, OUTCOMES.SignedBoth, OUTCOMES.SignedListing);\n break;\n case APPT_TYPES.Recruiting:\n case APPT_TYPES.Signing:\n outcomes.splice(0, 0, OUTCOMES.SignedRecruit);\n break;\n case APPT_TYPES.MeetAndGreet:\n case APPT_TYPES.Screening:\n case APPT_TYPES.RecruitingFollowUp:\n outcomes.splice(0, 0, OUTCOMES.SignedRecruit, OUTCOMES.NotAFit);\n break;\n default:\n }\n\n return outcomes;\n }, [appointmentType]);\n\n return (\n <Col size={6} className={task.completed && task.type ? \"tw-block\" : \"tw-hidden\"}>\n <Dropdown\n label=\"Outcome\"\n isRequired\n options={outcomeOptions}\n value={outcomeOptions.find((opt) => opt.value === task.outcome)}\n onChange={(option) => handleOutcomeOnChange(option.value)}\n isDisabled={!(task.completed && task.type === \"Appointment\")}\n />\n </Col>\n );\n};\n\nOutcomeSelection.propTypes = {\n task: PropTypes.shape().isRequired,\n appointmentType: PropTypes.string.isRequired,\n handleOutcomeOnChange: PropTypes.func.isRequired,\n};\n\nexport default OutcomeSelection;\n","import React from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport Toggle from \"../../shared/v2/Toggle\";\nimport \"./calendar-toggle.css\";\n\nconst CalendarOptions = ({ addTo, handleAddTo }) => (\n <Col size={6}>\n <Toggle text=\"Add to Google Calendar\" onChange={handleAddTo} checked={addTo} />\n </Col>\n);\n\nexport default CalendarOptions;\n","import React from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nconst EventDropdown = ({ handleContingencyRuleChange, task, taskableOptions }) => (\n <Col size={6} className=\"tw-mb-[16px]\">\n <Dropdown\n label=\"Event\"\n name=\"event\"\n onChange={(option, handler) =>\n handleContingencyRuleChange({ target: { name: handler.name, value: option.value } })\n }\n value={taskableOptions(task.taskable_type)?.find((opt) => opt.value === task.contingency_rule.event)}\n options={taskableOptions(task.taskable_type)}\n />\n </Col>\n);\n\nexport default EventDropdown;\n","import React from \"react\";\nimport { Modal } from \"../../shared/v1\";\nimport Button from \"../../shared/v2/Button\";\nimport Checkbox from \"../../shared/v2/Checkbox/Checkbox\";\n\nconst TaskFormFooter = ({\n closeModal,\n task,\n handleCompleteTask,\n personTaskForm,\n handleSubmit,\n submitButton,\n saveButtonText,\n disableCompletedCheckbox,\n hideCancel,\n}) => (\n <Modal.Footer className=\"tw-px-0\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n {hideCancel ? (\n <span />\n ) : (\n <Button data-dismiss=\"modal\" onClick={closeModal} size=\"medium\" schema=\"tertiary\">\n Cancel\n </Button>\n )}\n\n <div className=\"tw-flex tw-gap-[8px]\">\n <Checkbox\n checked={task.completed === \"true\"}\n label=\"Mark As Complete\"\n onClick={() => handleCompleteTask()}\n disabled={disableCompletedCheckbox || task.state === \"completed\"}\n />\n {/* btn will be disabled when its creating or scheduling appointment from PDP/ contact index page ,\n task name, priority, task type, appointment type and dueon date is required feild for appointment*/}\n <Button\n isLoading={saveButtonText === \"Saving...\"}\n disabled={\n !task.name.length ||\n (task.type === \"Appointment\" &&\n (!task.type?.length ||\n !task.appointment_type?.length ||\n !task.due_on?.length ||\n (task.completed === \"true\" && !task.outcome?.length)))\n }\n size=\"medium\"\n onClick={handleSubmit}\n >\n {personTaskForm ? submitButton() : saveButtonText}\n </Button>\n </div>\n </div>\n </Modal.Footer>\n);\n\nexport default TaskFormFooter;\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../../shared/Utilities\";\n\nexport const updateTaskById = async ({ id, formData }) =>\n await tryCatchHandlr(\n axios.patch(`/tasks/${id}`, {\n task: formData,\n authenticity_token: window.ReactOnRails.authenticityToken(),\n }),\n );\n\nexport const createTask = async ({ formData }) =>\n await tryCatchHandlr(\n axios.post(\"/tasks/\", {\n task: formData,\n authenticity_token: window.ReactOnRails.authenticityToken(),\n }),\n );\n","import React from \"react\";\nimport _ from \"lodash\";\nimport capitalize from \"capitalize\";\nimport axios from \"axios\";\nimport { Col, Modal, Row } from \"../../shared/v1\";\nimport * as TaskHelpers from \"./TaskIndexModalHelpers\";\nimport moment from \"moment\";\nimport TaskDetailsInformation from \"./TaskDetailsInformation\";\nimport TaskInstructions from \"./TaskInstructions\";\nimport TaskNotes from \"./TaskNotes\";\nimport PrioritySelection from \"./PrioritySelection\";\nimport Errors from \"./Errors\";\nimport AppointmentTypeSelection from \"./AppointmentTypeSelection\";\nimport AssignTaskToSelection from \"./AssignTaskToSelection\";\nimport TaskableAssignment from \"./TaskableAssignment\";\nimport ContingencyRuleSelection from \"./ContingencyRuleSelection\";\nimport LocationInput from \"./LocationInput\";\nimport OutcomeSelection from \"./OutcomeSelection\";\nimport CalendarOptions from \"./CalendarOptions\";\nimport EventDropdown from \"./EventDropdown\";\nimport TaskFormFooter from \"./TaskFormFooter\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport TextInput from \"../../shared/v2/TextInput\";\nimport DatePicker from \"../../shared/v2/DatePicker/DatePicker\";\nimport { DATE_FORMAT } from \"../../shared/v2/DateSelector/utils/constants\";\nimport { createTask } from \"./services\";\nimport FieldLabel from \"../../shared/v2/FieldLabel\";\nimport Button from \"../../shared/v2/Button\";\nimport { ArrowsRotateSolidV6, MagnetSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst RECURRING_OPTIONS = [\n { value: \"number\", label: \"Every _ Days\" },\n { value: \"weekly\", label: \"Weekly\" },\n];\n\nconst RECURRING_DOW_OPTIONS = [\n { value: 1, label: \"On Mondays\" },\n { value: 2, label: \"On Tuesdays\" },\n { value: 3, label: \"On Wednesdays\" },\n { value: 4, label: \"On Thursdays\" },\n { value: 5, label: \"On Fridays\" },\n { value: 6, label: \"On Saturdays\" },\n { value: 7, label: \"On Sundays\" },\n];\n\nexport const defaultTask = {\n name: \"\",\n id: null,\n priority: 9,\n visibility: \"\",\n instructions: \"\",\n account_id: \"\",\n note: \"\",\n assigned_to_user_id: \"\",\n contingency_rule: {},\n contingency_event_and_type: [],\n taskable_id: \"\",\n taskable_type: \"\",\n taskable_name: \"\",\n appointment_type: \"\",\n outcome: \"\",\n location: \"\",\n externally_visible: false,\n contingent: false,\n recurring: false,\n showInstructions: false,\n showNotes: false,\n completed: null,\n user_id: \"\",\n};\n\nconst priorityNumbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];\nclass TaskForm extends React.Component {\n static contextType = Modal.Context;\n\n constructor(props) {\n super(props);\n const task = props.task || {};\n const outcome = task.outcome || \"\";\n const location = task.location || \"\";\n const completed = props.completed || false;\n const taskable = props.taskable || {};\n const user_id = task.user_id || \"\";\n defaultTask.appointment_type = taskable.appointment_type || null;\n defaultTask.taskable_id = props.task_for ? props.task_for.uuid : taskable ? taskable.uuid : \"\";\n defaultTask.taskable_type = taskable.taskable_type || \"\";\n defaultTask.taskable_name = taskable.task_name || \"\";\n defaultTask.outcome = taskable.outcome || \"\";\n defaultTask.location = taskable.location || \"\";\n defaultTask.showInstructions = task.instructions;\n defaultTask.showNotes = task.note;\n defaultTask.user_id = user_id || \"\";\n defaultTask.due_on = moment().format(\"YYYY-MM-DD\");\n defaultTask.scheduled_time = moment().add(1, \"hours\").startOf(\"hour\").unix();\n\n let task_prop = props.task;\n let default_priority = (task_prop && task_prop.priority) || 9;\n this.state = {\n task: {\n ...defaultTask,\n ...task_prop,\n priority: default_priority,\n account_id: props.accountUuid,\n outcome,\n location,\n completed,\n user_id,\n },\n addTo: false,\n showRecurring: task.recurring,\n showContingency: task.contingent,\n showDue: !task.contingent,\n disabledButton: false,\n saveButtonText: \"Save Details\",\n agents: this.props.agents,\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.toggleInstructions = this.toggleInstructions.bind(this);\n this.toggleNotes = this.toggleNotes.bind(this);\n this.toggleContingent = this.toggleContingent.bind(this);\n this.toggleRecurring = this.toggleRecurring.bind(this);\n this.focusTextInput = this.focusTextInput.bind(this);\n this.updateTask = TaskHelpers.updateTask.bind(this);\n this.closeModal = this.props.closeModal.bind(this);\n this.createTask = TaskHelpers.createTask.bind(this);\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this);\n this.handleRecurrence = TaskHelpers.handleRecurrence.bind(this);\n this.handleMultiSelect = TaskHelpers.handleMultiSelect.bind(this);\n this.completeTask = TaskHelpers.completeTask.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n this.visibilityOptions = this.visibilityOptions.bind(this);\n this.handleAssignedToUser = TaskHelpers.handleAssignedToUser.bind(this);\n this.tryCatchHandlr = TaskHelpers.tryCatchHandlr.bind(this);\n this.handleGoogleCalendar = TaskHelpers.handleGoogleCalendar.bind(this);\n }\n\n handleAddToState = () => {\n this.setState((prevState) => ({\n addTo: !prevState.addTo,\n }));\n };\n handleContingencyRuleChange = (e) => {\n let { contingency_rule } = this.state.task;\n contingency_rule[e.target.name] = e.target.value;\n this.setState({\n ...this.state,\n ...{ task: { ...this.state.task, ...contingency_rule } },\n });\n };\n\n handleDueOnChange = (value) => {\n const momentValue = moment(value, \"MM/DD/YYYY hh:mm A\");\n this.setState({\n task: {\n ...this.state.task,\n due_on: momentValue.format(\"YYYY-MM-DD\"),\n scheduled_time: momentValue.unix(),\n },\n // moment returns minutes, Date uses miliseconds\n disableCompletedCheckbox: momentValue.unix() * 1000 > Date.now(),\n });\n };\n\n handleAgreementCallback = () => {\n const AGREEMENT_OUTCOMES = {\n 'Signed - Buyer Agreement': 'buyer',\n 'Signed - Listing Agreement': 'seller',\n 'Signed - Both Buyer/Listing': 'both',\n };\n\n if (AGREEMENT_OUTCOMES[this.state.task.outcome] && this.props.agreementCallBack) {\n this.props.agreementCallBack(AGREEMENT_OUTCOMES[this.state.task.outcome]);\n return true;\n }\n\n return false;\n };\n\n async handleSubmit(event) {\n if (this.state.task.type === \"Appointment\" && !this.state.task.appointment_type) {\n this.props.showErrors([\"Appointment Type is required\"]);\n return;\n }\n if (!this.state.task.taskable_id) {\n this.props.showErrors([\"Must select person, transaction or project\"]);\n return;\n }\n if (this.props.personTaskForm) {\n if (!this.state.task.priority) {\n this.props.showErrors([\"Priority is required\"]);\n return;\n }\n this.setState({ disabledButton: true });\n this.props.showErrors(\"\");\n const task = this.state.task;\n const formData = { ...task };\n\n //Edit\n if (this.state.task.id) {\n this.updateTask(this.state.task)\n .then(() => {\n this.props.updateTask?.(this.state.task)\n\n if (this.handleAgreementCallback()) return;\n })\n .catch(console.log);\n //Create\n } else {\n const [res, err] = await createTask({ formData });\n if (err) {\n this.props.showErrors(TaskHelpers.parseErrors(err));\n this.setState({ disabledButton: false });\n } else {\n this.handleGoogleCalendar(\n this.state.task,\n this.state.agents,\n this.props.user,\n this.props.contactEmail,\n this.state.addTo,\n );\n this.setState({ disabledButton: false });\n this.props.getCardTasks(task.taskable_id);\n this.closeModal();\n\n if (this.handleAgreementCallback()) return;\n }\n\n if (this.state.task.type === \"Appointment\" && !this.props.isAppointment) {\n window.location.reload();\n }\n }\n } else {\n if (this.state.task.id) {\n this.updateTask(this.state.task);\n this.props.showErrors(\"\");\n } else {\n await this.createTask(\n this.state.task,\n this.state.agents,\n this.props.user,\n this.props.contactEmail,\n this.state.addTo,\n this.props.listingUUID,\n this.handleAgreementCallback,\n );\n\n this.setState({ task: { ...defaultTask, account_id: this.props.accountUuid } });\n this.props.showErrors(\"\");\n }\n }\n }\n\n handleAppointmentType = ({ value }) =>\n this.setState({ task: { ...this.state.task, appointment_type: value } });\n\n handleOutcomeOnChange = (outcome) => this.setState({ task: { ...this.state.task, outcome: outcome } });\n\n handleLocationOnChange = (e) => this.setState({ task: { ...this.state.task, location: e.target.value } });\n\n toggleCompleteTask = () =>\n this.setState({\n task: {\n ...this.state.task,\n completed: this.state.task.completed ? undefined : \"true\",\n outcome: this.state.task.completed ? undefined : this.state.task.outcome,\n },\n });\n\n toggleInstructions = (e) => {\n e.preventDefault();\n this.setState({\n task: { ...this.state.task, showInstructions: !this.state.task.showInstructions, instructions: null },\n });\n };\n\n toggleNotes = (e) => {\n e.preventDefault();\n this.setState({ task: { ...this.state.task, showNotes: !this.state.task.showNotes, note: null } });\n };\n\n toggleContingent = (e) => {\n e.preventDefault();\n this.setState({\n showContingency: !this.state.showContingency,\n showDue: !this.state.showDue,\n task: { ...this.state.task, contingent: !this.state.showContingency },\n });\n };\n\n toggleRecurring = (e) => {\n e.preventDefault();\n this.setState({\n showRecurring: !this.state.showRecurring,\n task: { ...this.state.task, recurring: !this.state.showRecurring },\n });\n };\n\n focusTextInput() {\n this.textInput.focus();\n }\n\n taskableOptions = (taskable_type) => {\n let task_options_for_taskable = this.taskableOptionsHash()[taskable_type];\n if (\n this.state.task.contingency_event_and_type.length == 0 ||\n this.state.task.contingency_event_and_type[0] == \"milestone\"\n ) {\n return task_options_for_taskable;\n } else {\n let current_contingent_event = [\n {\n value: this.state.task.contingency_event_and_type.join(\"-\"),\n label: _.startCase(\n this.state.task.parent_task_name || this.state.task.contingency_event_and_type[1],\n ),\n },\n ];\n return current_contingent_event.concat(task_options_for_taskable);\n }\n };\n\n taskableOptionsHash = () => {\n const { accountMilestoneNames } = this.props;\n return {\n Person: this.milestonableMilestoneOptions(accountMilestoneNames.Person || accountMilestoneNames.person),\n Listing: this.milestonableMilestoneOptions(\n accountMilestoneNames.Listing || accountMilestoneNames.listing,\n ),\n Project: this.milestonableMilestoneOptions(\n accountMilestoneNames.Project || accountMilestoneNames.project,\n ),\n };\n };\n\n milestonableMilestoneOptions = (milestones) => {\n let array = [];\n milestones.forEach(function (milestone) {\n array.push({\n value: `milestone-${milestone}`,\n label: milestone\n .split(\"_\")\n .map((element) => {\n return capitalize(element);\n })\n .join(\" \"),\n });\n });\n\n return array;\n };\n\n taskTypeOptions() {\n const taskTypes = [\n \"To-Do\",\n !this.props.taskable ? \"Appointment\" : null,\n \"Call\",\n \"Text\",\n \"Email\",\n \"Mail\",\n \"Social Media\",\n \"Door Knock\",\n ];\n return taskTypes.filter(Boolean).map(function (taskType) {\n return { value: taskType, label: taskType };\n });\n }\n appointmentTypeOptions() {\n const realEstateTypes = [\n \"Buyer Consultation\",\n \"Listing Consultation\",\n \"Buyer/Listing Consultation\",\n \"Showing Appointment\",\n \"Client Meeting\",\n \"General\",\n \"Follow Up\",\n ].map((v) => ({ value: v, label: v }));\n const recruitingTypes = [\n \"Meet & Greet\",\n \"Screening\",\n \"Recruiting Appointment\",\n \"Signing Appointment\",\n \"Recruiting Follow Up\",\n ].map((v) => ({ value: v, label: v }));\n\n return [\n { label: \"Real Estate\", options: realEstateTypes },\n { label: \"Recruiting\", options: recruitingTypes },\n ];\n }\n\n assignTaskToLogForm(user) {\n const { task } = this.state;\n task[\"assigned_to_user_id\"] = user.uuid;\n this.setState({ task });\n }\n\n visibilityOptions() {\n return [\n {\n value: false,\n label: (\n <div>\n <i className=\"fa fa-eye-slash p-r-10\" />\n <span className=\"text-base\">Hidden from Viewers</span>\n </div>\n ),\n },\n {\n value: true,\n label: (\n <div>\n <i className=\"fa fa-eye p-r-10\" />\n <span className=\"text-base\">Visible to Viewers</span>\n </div>\n ),\n },\n ];\n }\n\n taskForWatcher = (result) => {\n const taskable_name = result.label !== undefined ? result.label.split(\" \").slice(0, 2).join(\" \") : null;\n const taskable_email = result.label !== undefined ? result.label.split(\" \").slice(2).join(\" \") : null;\n this.setState({\n task: {\n ...this.state.task,\n taskable_type: result.object_type,\n taskable_id: result.uuid,\n taskable_name,\n taskable_email,\n },\n });\n };\n\n taskForLog = (person) => {\n this.setState({\n task: {\n ...this.state.task,\n taskable_type: \"Person\",\n taskable_id: person.uuid,\n },\n });\n };\n\n taskForAppointment = (person) => {\n const { task } = this.state;\n task[\"taskable_type\"] = \"Person\";\n task[\"taskable_id\"] = person.data.attributes.uuid;\n task[\"taskable_name\"] = `${person.data.attributes.first_name} ${person.data.attributes.last_name}`;\n this.setState({ task });\n };\n\n taskForLogAppointment = (person) => {\n const { task } = this.state;\n task[\"taskable_type\"] = \"Person\";\n task[\"taskable_id\"] = person.uuid;\n task[\"taskable_name\"] = person.name ? `${person.name}` : `${person.first_name} ${person.last_name}`;\n this.setState({ task });\n };\n\n handleAccountId = () => {\n const { task } = this.state;\n task[\"account_id\"] = this.props.accountUuid;\n this.setState({ task });\n };\n\n handleUserId = () => {\n const { task } = this.state;\n if (this.props.user !== undefined) {\n task[\"user_id\"] = this.props.user.uuid;\n }\n this.setState({ task });\n };\n\n taskPriorityWatcher = (priority) => {\n this.setState({ task: { ...this.state.task, priority: priority } });\n };\n\n logFormInformation = () => {\n this.assignTaskToLogForm(this.props.user);\n this.taskForLog(this.props.person);\n this.taskForLogAppointment(this.props.person);\n this.handleAccountId();\n this.handleUserId();\n };\n createAppointmentInformation = () => {\n this.taskForAppointment(this.props.person);\n this.handleAccountId();\n this.assignTaskToLogForm(this.props.user);\n };\n\n componentDidMount() {\n this.handleUserId();\n this.props.isSchedulingAppointment\n ? this.logFormInformation()\n : this.props.isCreatingAppointment\n ? this.createAppointmentInformation()\n : null;\n this.state.task.state === \"completed\" && this.toggleCompleteTask();\n\n //TODO: determine if it is appropriate to load\n //agents after the modal has opened for all uses of TaskForm\n if (this.props.agentsNeedLoading === true) {\n axios\n .get(\"/account_active_agents\", {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n this.setState({\n agents: response.data.map((agent) => ({\n label: agent.name,\n value: agent.uuid,\n email: agent.email,\n })),\n });\n });\n } else {\n this.setState({ agents: this.props.agents });\n }\n }\n\n render() {\n const { task, saveButtonText, agents } = this.state;\n const {\n isSchedulingAppointment,\n newTask,\n isCreatingAppointment,\n editTaskFor,\n personTaskForm,\n errors,\n createTask,\n handleTaskChange,\n taskDetails,\n new_appointment,\n closeModal,\n task_for,\n deleteButton,\n editToDelete,\n submitButton,\n isAppointment,\n isEditing,\n isfromIndex,\n hideCancel,\n } = this.props;\n isSchedulingAppointment || isCreatingAppointment || isAppointment ? (task.type = \"Appointment\") : null;\n let inputProps = { disabled: this.props.taskDetails ? true : false };\n const DATE_TIME_FORMAT = task.type === \"Appointment\" ? `${DATE_FORMAT} hh:mm A` : DATE_FORMAT;\n\n // Fetch modal variant from context or use modern variant by default. There are usages of the\n // TaskForm component without a Modal parent component, thus leading to missing style due to\n // undefined variant.\n // When `isCreatingAppointment` is true, it uses classic variant by default.\n const { variant: variantFromContext } = this.context;\n const modalBodyVariant = variantFromContext || (isCreatingAppointment ? \"classic\" : \"modern\");\n\n //CHECKME: isSchedulingAppointment is coming from TaskFormLogAppointment.jsx , where the TaskForm is getting called from lead or people IDX\n //CHECKME: handleLocationOnChange is coming from TaskForm.jsx\n //CHECKME: personTaskForm is coming from PersonTaskForm.jsx where the TaskForm is getting called in the PDP page from the + on tasks and appointments\n //CHECKME: editTaskFor is coming from TaskIndexModalHelpers.jsx where TaskForm is getting called for editing\n //CHECKME: isCreatingAppointment is coming from the PersonInteractions.jsx which called the appointment tab on PDP page\n //CHECKME: createTask is coming from the NewTask.jsx which is called when + is click on Task idx\n return (\n <div>\n <Modal.Body\n variant={modalBodyVariant}\n className={`!tw-pb-0 ${isfromIndex && isSchedulingAppointment && \"tw-mx-[-32px]\"}`}\n >\n <Errors errors={errors} />\n <form className=\"task-form\">\n <Row>\n <TaskDetailsInformation\n personTaskForm={personTaskForm}\n handlePersonTaskChange={handleTaskChange}\n handleTaskChange={this.handleTaskChange}\n task={task}\n toggleInstructions={this.toggleInstructions}\n toggleNotes={this.toggleNotes}\n taskDetails={taskDetails || \"\"}\n />\n {task.showInstructions && (\n <TaskInstructions\n task={task}\n toggleInstructions={this.toggleInstructions}\n handleTaskChange={this.handleTaskChange}\n />\n )}\n {task.showNotes && (\n <TaskNotes\n task={task}\n toggleNotes={this.toggleNotes}\n handleTaskChange={this.handleTaskChange}\n />\n )}\n\n <PrioritySelection\n priorityNumbers={priorityNumbers}\n taskPriorityWatcher={this.taskPriorityWatcher}\n task={task}\n />\n\n {!isSchedulingAppointment &&\n !isCreatingAppointment &&\n (!task.id || task.type !== \"Appointment\") && (\n <Col size={6} className=\"tw-mb-[16px]\">\n <Dropdown\n label=\"Task Type\"\n isRequired\n menuShouldComeToFront\n options={this.taskTypeOptions()}\n name=\"type\"\n onChange={(option, handler) =>\n this.handleTaskChange({ target: { name: handler.name, value: option.value } })\n }\n value={\n this.taskTypeOptions().find((opt) => opt.value === task.type) ||\n this.taskTypeOptions()[0]\n }\n isDisabled={editTaskFor || taskDetails || new_appointment ? true : false}\n />\n </Col>\n )}\n\n {task.type === \"Appointment\" ? (\n <>\n <AppointmentTypeSelection\n task={task}\n taskDetails={taskDetails}\n isCreatingAppointment={isCreatingAppointment}\n appointmentTypeOptions={this.appointmentTypeOptions}\n handleAppointmentType={this.handleAppointmentType}\n />\n {isSchedulingAppointment && this.state.agents && (\n <AssignTaskToSelection\n handleTaskChange={this.handleTaskChange}\n task={this.state.task}\n agents={this.state.agents}\n taskDetails={taskDetails}\n />\n )}\n </>\n ) : (\n <AssignTaskToSelection\n handleTaskChange={this.handleTaskChange}\n task={this.state.task}\n agents={this.state.agents}\n taskDetails={taskDetails}\n />\n )}\n\n {this.props.showTaskFor && !isSchedulingAppointment && (\n <TaskableAssignment taskForWatcher={this.taskForWatcher} task_for={task_for} />\n )}\n {task.type === \"Appointment\" && !isSchedulingAppointment && this.state.agents && (\n <AssignTaskToSelection\n handleTaskChange={this.handleTaskChange}\n task={task}\n agents={this.state.agents}\n taskDetails={taskDetails}\n isCreatingAppointment={isCreatingAppointment}\n />\n )}\n {(this.state.showDue && !this.state.showContingency) || task.type === \"Appointment\" ? (\n <Col size={task.type === \"Appointment\" ? 6 : 12} className=\"tw-mb-[16px]\">\n <FieldLabel\n className=\"tw-mb-[8px]\"\n htmlFor=\"due_on\"\n isRequired\n label={`${taskDetails ? \"Due Date\" : \"Date\"} ${task.type === \"Appointment\" ? \"& Time\" : \"\"\n }`}\n />\n <DatePicker\n value={\n task.scheduled_time\n ? moment.unix(task.scheduled_time).format(DATE_TIME_FORMAT)\n : moment(task.due_on, \"YYYY-MM-DD\").format(DATE_TIME_FORMAT)\n }\n enableTimePicker={task.type === \"Appointment\"}\n inputProps={{\n id: \"due_on\",\n ...inputProps,\n }}\n onChange={this.handleDueOnChange}\n />\n </Col>\n ) : (\n <ContingencyRuleSelection\n handleContingencyRuleChange={this.handleContingencyRuleChange}\n task={task}\n createTask={createTask}\n editTaskFor={editTaskFor}\n />\n )}\n\n {task.type === \"Appointment\" && (\n <>\n <LocationInput\n isSchedulingAppointment={isSchedulingAppointment}\n handleLocationOnChange={this.handleLocationOnChange}\n personTaskForm={personTaskForm}\n editTaskFor={editTaskFor}\n task={task}\n isEditing={isEditing}\n showDue={this.state.showDue}\n showContingency={this.state.showContingency}\n />\n {!task.completed && (\n <CalendarOptions addTo={this.state.addTo} handleAddTo={this.handleAddToState} />\n )}\n <OutcomeSelection\n isSchedulingAppointment={isSchedulingAppointment}\n task={task}\n appointmentType={this.state.task.appointment_type}\n handleOutcomeOnChange={this.handleOutcomeOnChange}\n showContingency={this.state.showContingency}\n />\n </>\n )}\n {task.type !== \"Appointment\" && (\n <>\n {this.state.showContingency && (\n <EventDropdown\n handleContingencyRuleChange={this.handleContingencyRuleChange}\n task={task}\n taskableOptions={this.taskableOptions}\n createTask={createTask}\n editTaskFor={editTaskFor}\n />\n )}\n {this.state.showRecurring && (\n <>\n <Col size={3} className=\"tw-mb-[16px]\">\n <Dropdown\n label=\"Recurring\"\n name=\"recurring_frequency\"\n onChange={(option, handler) =>\n this.handleTaskChange({ target: { name: handler.name, value: option.value } })\n }\n value={RECURRING_OPTIONS.find((opt) => opt.value === task.recurring_frequency)}\n options={RECURRING_OPTIONS}\n />\n </Col>\n {task.recurring_frequency == \"number\" && (\n <Col size={3} className=\"tw-mb-[16px]\">\n <TextInput\n label=\"# of days\"\n onChange={this.handleTaskChange}\n name=\"recurring_every_so_many_days\"\n value={task.recurring_every_so_many_days || \"\"}\n />\n </Col>\n )}\n {task.recurring_frequency == \"weekly\" && (\n <Col size={3} className=\"tw-mb-[16px]\">\n <Dropdown\n label=\"Day of Week\"\n isSearchable\n isClearable={false}\n name=\"recurring_day_of_week\"\n onChange={(option, handler) =>\n this.handleTaskChange({ target: { name: handler.name, value: option.value } })\n }\n value={RECURRING_DOW_OPTIONS.find(\n (opt) => opt.value === task.recurring_day_of_week,\n )}\n options={RECURRING_DOW_OPTIONS}\n />\n </Col>\n )}\n </>\n )}\n </>\n )}\n {!this.props.isSchedulingAppointment && task.type !== \"Appointment\" && (\n <>\n <Col size={12} className=\"tw-mb-[16px]\">\n <Dropdown\n label=\"Visibility\"\n name=\"externally_visible\"\n onChange={(option, handler) =>\n this.handleTaskChange({ target: { name: handler.name, value: option.value } })\n }\n value={this.visibilityOptions().find((opt) => opt.value === task.externally_visible)}\n options={this.visibilityOptions()}\n />\n </Col>\n <Col size={12} className=\"tw-flex tw-gap-[12px]\">\n <Button onClick={this.toggleContingent}>\n {this.state.showContingency ? \"Select Specific Date\" : \"Make Contingent\"}\n <MagnetSolidV6 className=\"tw-ml-[4px] tw-align-middle\" />\n </Button>\n <Button onClick={this.toggleRecurring}>\n {this.state.showRecurring ? \"Stop Recurrence\" : \"Make Recurring\"}\n <ArrowsRotateSolidV6 className=\"tw-ml-[4px] tw-align-middle\" />\n </Button>\n </Col>\n </>\n )}\n <Col size={12}>\n <hr className=\"brivity-hr\" />\n </Col>\n </Row>\n </form>\n <TaskFormFooter\n isSchedulingAppointment={isSchedulingAppointment}\n editTaskFor={editTaskFor}\n personTaskForm={personTaskForm}\n closeModal={closeModal}\n deleteButton={deleteButton}\n editToDelete={editToDelete}\n task={this.state.task}\n handleCompleteTask={this.toggleCompleteTask}\n handleSubmit={this.handleSubmit}\n submitButton={submitButton}\n saveButtonText={saveButtonText}\n newTask={newTask}\n isEditing={isEditing}\n disableCompletedCheckbox={this.state.disableCompletedCheckbox}\n hideCancel={hideCancel}\n />\n </Modal.Body>\n </div>\n );\n }\n}\nTaskForm.defaultProps = {\n isSchedulingAppointment: false,\n personTaskForm: false,\n isCreatingAppointment: false,\n taskDetails: false,\n isAppointment: false,\n};\nexport default TaskForm;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\n\nimport { propsKey } from \"../../Utilities\";\nimport { get } from \"lodash\";\n\n// Wrapping component with Redux props\n//ex. WrappedComponent = Header, states ['title', 'referral.budget']\nconst withRedux = ({ reducerName }) => ({ WrappedComponent = null, states = [], aliases = [] }) => {\n const arrayOfStates = Array.isArray(states) ? states : [states];\n const arrayOfAliases = Array.isArray(aliases) ? aliases : [aliases];\n \n const mapStateToProps = (reduxState) => arrayOfStates.reduce(\n (acc, state, idx) => ({\n ...acc,\n [arrayOfAliases[idx] || propsKey(state)]: get(reduxState, `${reducerName}.${state}`)\n }),{}\n );\n\n return connect(mapStateToProps)(({ ...allProps }) => <WrappedComponent {...allProps} />);\n};\n\nexport default withRedux;\n","import withRedux from \"./withRedux\";\n\n//HOC for consumer React components\n\n//state.tdpTasksReducer[prop]\nexport const tdpTasks = withRedux({\n reducerName: \"tdpTasksReducer\",\n});\n\nexport const tdpDetails = withRedux({\n reducerName: \"tdpDetailsReducer\",\n});\n\nexport const tdpPeople = withRedux({\n reducerName: \"tdpPeopleReducer\",\n});\n\nexport const tdpDates = withRedux({\n reducerName: \"tdpDatesReducer\",\n});\n\nexport const tdpTimeline = withRedux({\n reducerName: \"tdpTimelineReducer\",\n});\n\nexport const tdpNotes = withRedux({\n reducerName: \"tdpNotesReducer\",\n});\n\nexport const tdpFinancials = withRedux({\n reducerName: \"tdpFinancialsReducer\",\n});\n","export const CURRENTUSERID = 'currentUserId';\nexport const USERTYPE = 'currentUser.userType';\nexport const ISADMIN = 'isAdmin';\nexport const TRANSACTION_TYPE = 'transactionDetails.type';\nexport const PROPERTY_TYPE = 'propertyDetails.property_type.name';\nexport const TRANSACTION_TITLE = 'transactionDetails.title';\nexport const STREET_ADDRESS = 'propertyDetails.street_address';\nexport const CITY = 'propertyDetails.city';\nexport const LOCALITY = 'propertyDetails.state';\nexport const POSTAL_CODE = 'propertyDetails.zip';\nexport const STATUS = 'transactionDetails.status';\nexport const EST_CLOSE_PRICE = 'transactionDetails.est_close_price';\nexport const LISTING_UUID = 'uuid';\nexport const PRIMARYAGENT_AGENT = 'primaryAgentDetails.agent';\nexport const PRIMARYAGENT_AGENTAVATAR = 'primaryAgentDetails.agentAvatar';\nexport const SOURCE = 'listingDetails.source';\n\nexport const CLIENTINTENT = 'referralDetails.clientIntent';\nexport const TRANSACTIONAMT = 'referralDetails.transactionAmt';\nexport const REFERRALFEE = 'referralDetails.referralFee';\nexport const ISREFERRALFEEPERCENTAGE = 'referralDetails.isReferralFeePercentage';\nexport const ADDRESS_FIELD = 'referralDetails.addressField';\nexport const IS_REFERRAL_DESIRED_ADDRESS_EDIT = 'referralDetails.isReferralDesiredAddressEdit';\nexport const IS_TIMEFRAME_EDIT = 'referralDetails.isTimeFrameEdit';\nexport const IS_REFERRAL_CALENDAR_OPEN = 'referralDetails.isReferralCalendarOpen';\nexport const IS_MODAL_RENAME_TITLE_OPEN = 'referralDetails.isModalRenameTitleOpen';\nexport const REFERRAL_FEE = 'referralDetails.referralFee';\nexport const TIMEFRAME = 'referralDetails.timeframe';\nexport const TIMEFRAME_EXACT = 'referralDetails.timeframeExact';\nexport const TIMEFRAME_READ = 'referralDetails.timeframeRead';\nexport const PHOTO = \"headerDetails.photo.cloud_location\";\nexport const REFERRALPARTNERBROKERAGE = 'referralDetails.referralPartnerbrokerage'\nexport const PROPERTYDETAILS_PROPERTYTYPE = 'propertyDetails.property_type';\n\nexport const TYPE = 'headerDetails.type';\nexport const HEADERDETAILS_PUBLISHED = 'headerDetails.published'\n\nexport const CLIENTDETAILS_NAME = 'clientDetails.name';\nexport const CLIENTDETAILS_PDPLINK = 'clientDetails.pdpLink';\nexport const CLIENTDETAILS_FINANCING = 'clientDetails.financing'\nexport const REFERRALPARTNER_TEAM = 'referralDetails.team';\nexport const REFERRALPARTNER_BROKERAGE = \"referralDetails.brokerage\";\n\nexport const REFERRALPARTNER_AVATAR = 'referralPartner.avatar';\nexport const REFERRALPARTNER_NAME = 'referralPartner.name';\nexport const REFERRALPARTNER_PDPLINK = 'referralPartner.pdpLink';\n\nexport const NOTABLEID = 'notableId';\n\nexport const ISUPDATEADDRESSMODALOPEN = 'isUpdateAddressModalOpen';\nexport const TEMP_UPDATED_STATUS = 'tempUpdatedStatus';\nexport const TEMP_PRE_STATUS = 'tempPreStatus';\n\nexport const ACCOUNT_SOURCES = 'meta.accountSources';\n","import React from \"react\";\nimport { connect } from \"react-redux\";\n\nimport { upperFirst } from \"lodash\";\n\n//ex. WrappedComponent = Header, actions = [getPostTitleAsThunk] || getPostTitleAsThunk\nexport default ({ WrappedComponent = null, actions = [], aliases = [] }) => {\n const actionz = Array.isArray(actions) ? actions : [actions];\n const arrayOfAliases = Array.isArray(aliases) ? aliases : [aliases];\n\n const mapDispatchToProps = (dispatch) => actionz.reduce((acc, action, idx) => ({\n ...acc,\n [arrayOfAliases[idx] || `on${upperFirst(action.name)}`]: function() {\n dispatch(action(...arguments))\n },\n }), {});\n\n return connect(null, mapDispatchToProps)(\n ({ ...allProps }) => <WrappedComponent {...allProps} />\n );\n}\n","import axios from \"axios\";\nimport { caseTransformingAxios as csAxios } from \"../../../shared/v2/caseTransformingAxios\";\n\nexport const getAllListingInfoFromApi = (uuid) =>\n axios.get(`/api/v4/transactions/header/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const putDetailToApi = ({ uuid, key: name, value }, signal) =>\n axios.put(`/api/v4/transactions/header/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n listing: {\n [name]: value,\n },\n signal,\n });\n\nexport const putDetailsToApi = ({ uuid, details }) =>\n axios.put(`/api/v4/transactions/header/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n listing: {\n ...Object.fromEntries(details.map(({ key, value }) => [key, value])),\n },\n });\n\nexport const deleteListing = (uuid) =>\n axios.delete(`/api/v4/transactions/header/${uuid}`, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n\nexport const putRefDetailsToApi = ({ uuid, ...payload }, signal) =>\n csAxios.put(`/api/v4/transactions/header/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n listing: payload,\n signal,\n });\n","export const calcCommission = (price, commission, commissionPerc) =>\n commissionPerc ? 0.01 * +commission * price : +commission;\n\nexport const calcStatus = (status) => status.toLowerCase().replace(/ /g, \"\");\n\nexport const detailFinder = (details, name) => details.find((detail) => detail.name === name);\n\nexport const getAvatar = (avatar) => (avatar === \"/assets/user-default.svg\" ? null : avatar);\n","import { replace, snakeCase, startCase, toNumber, capitalize } from \"lodash\";\nimport moment from \"moment\";\nimport format from \"../../../shared/formatters\";\nimport { removeCommas } from \"../../../shared/v2/inputFormatUtils\";\nimport { calcStatus, detailFinder, getAvatar } from \"./helpers\";\n\nexport const adaptDetailsPayloadToApi = (payload) => {\n switch (payload.key) {\n case \"est_close_price\":\n case \"close_price\":\n return {\n ...payload,\n value: Number(removeCommas(payload.value)),\n };\n default:\n return payload;\n }\n};\n\nexport const adaptGetAllListingInfo = (data) => ({\n transactionDetails: {\n title: data.title,\n use_custom_title: data.use_custom_title,\n publishedState: data.published ? \"Published\" : \"Draft\",\n status: calcStatus(data.status),\n est_close_price: format.number(data.est_close_price, 2, true),\n type: data.type,\n },\n listingDetails: {\n price: data.price,\n source: data.source,\n mls_number: data.mls_number,\n valid_mls_number: data[\"valid_mls_number?\"],\n },\n propertyDetails: {\n street_address: data.address?.street_address,\n city: data.address?.city,\n state: data.address?.locality,\n zip: data.address?.postal_code,\n beds: detailFinder(data.details, \"beds\")?.value,\n baths: detailFinder(data.details, \"baths\")?.value,\n sqft: detailFinder(data.details, \"sqft\")?.value,\n property_type: data.property_type,\n },\n primaryAgentDetails: {\n agent: data.agent ? `${data.agent.first_name} ${data.agent.last_name}` : null,\n agent_id: data.agent?.id || null,\n agent_avatar: getAvatar(data.agent?.avatar),\n primaryAgentRole: data.agent?.role,\n },\n headerDetails: {\n days_on_market: data?.days_on_market,\n photo: data?.primary_mls_photo ? { id: 1, cloud_location: data?.primary_mls_photo } : data?.photo,\n price: data.price,\n type: data.type,\n listing_id: data.id,\n published: data.published,\n address_id: data.address?.id,\n error: null,\n statusCode: null,\n },\n referralPartner: {\n avatar: getAvatar(data.referral_partner?.avatar),\n name: data.referral_partner\n ? `${data.referral_partner?.first_name} ${data.referral_partner?.last_name}`\n : null,\n },\n referralDetails: {\n clientIntent: data.client_intent,\n addressField: data.desired_locations,\n transactionAmt: format.number(data.transaction_amount, 2, true),\n brokerage: data.brokerage,\n referralFee: data.referral_fee ? format.number(data.referral_fee, 2, !data[\"fee_percentage?\"]) : null,\n isReferralFeePercentage: data[\"fee_percentage?\"],\n timeframe: {\n label: capitalize(startCase(data.timeframe)),\n value: capitalize(startCase(data.timeframe)),\n },\n timeframeExact: moment(data.timeframe_start, \"YYYY-MM-DD\").format(\"MM/DD/YYYY\"),\n timeframeRead: data.timeframe_interpolated,\n team: data.team,\n },\n additionalDetails: {},\n propertyPagePath: \"\",\n links: \"\",\n listingImgs: [],\n checkAll: null,\n});\n\nexport const adaptTimeFrame = ({ label: timeframe, uuid }, exactDate) => {\n const timeframeStart = timeframe === \"Custom\" ? moment(exactDate, \"MM/DD/YYYY\") : moment();\n\n return {\n timeframe_start: timeframeStart.format(\"YYYY-MM-DD\"),\n timeframe: snakeCase(timeframe),\n uuid,\n };\n};\n\nexport const adaptTransactionAmt = ({ transactionAmount, uuid }) => ({\n key: \"transaction_amount\",\n value: toNumber(replace(transactionAmount, /,/g, \"\")),\n uuid,\n});\n\nexport const adaptReferralFee = ({ referralFee, isFeePercentage, uuid }) => ({\n referral_fee: referralFee * 1,\n is_fee_percentage: isFeePercentage,\n uuid,\n});\n\nexport const adaptStatus = ({ status, uuid }) => ({\n key: \"status\",\n value: status === \"comingsoon\" ? \"coming soon\" : status,\n uuid,\n});\n\nexport const adaptTitle = ({ title, uuid }) => ({\n key: \"title\",\n value: title,\n uuid,\n});\n\nexport const adaptClosedPrice = (data) => format.number(data.close_price, 2, true);\n","/* eslint-disable import/prefer-default-export */\nimport moment from \"moment\";\nimport { adaptGetAllListingInfo } from \"../api/apiAdapters\";\nimport { saveDetailsFromHeader } from \"./creators\";\n\nconst exactDateHelper = (days) => moment().add(days, \"days\").format(\"MM/DD/YYYY\");\n\nconst TIMEFRAME_DICTIONARY = {\n Immediate: {\n prefix: \"\",\n value: \"date\",\n },\n Unknown: {\n prefix: \"\",\n value: \"date\",\n },\n \"Within 90 days\": {\n prefix: \"By\",\n value: exactDateHelper(90),\n },\n \"Within a year\": {\n prefix: \"By\",\n value: exactDateHelper(365),\n },\n \"After a year\": {\n prefix: \"After\",\n value: exactDateHelper(365),\n },\n Custom: {\n prefix: \"By\",\n value: null,\n },\n};\n\nexport const timeframeExactDate = (timeframe) => TIMEFRAME_DICTIONARY[timeframe].value;\n\nexport const errorWrapper = (dispatch, errLoad, errMessages) => (errAdapter, creator) => {\n const errorMessages = errMessages.join(\"\\n\\n\");\n const adaptedErrLoad = errAdapter(errLoad);\n\n dispatch(creator(adaptedErrLoad));\n // eslint-disable-next-line no-alert\n alert(errorMessages);\n};\n\n// This updates all Header microcomponents on error\nexport const dispatchErrorHeader = (dispatch, err, errBody = \"body\") => {\n const errMessages = err?.response?.data?.errors;\n const errLoad = err?.response?.data[errBody];\n\n const errWrap = errorWrapper(dispatch, errLoad, errMessages);\n errWrap(adaptGetAllListingInfo, saveDetailsFromHeader);\n};\n","/* eslint-disable no-alert */\nimport { tryCatchHandlr } from \"../../../shared/Utilities\";\nimport {\n getAllListingInfoFromApi,\n putDetailToApi,\n putDetailsToApi,\n deleteListing,\n putRefDetailsToApi,\n} from \"../api/apiWrappers\";\nimport {\n saveDetail,\n saveDetails,\n saveDetailsFromHeader,\n editReferralDesiredAddress,\n editTimeframeExact,\n editReferralTransactionAmt,\n editReferralFee,\n editReferralTitle,\n editAddressFromPipeline,\n setImportModalOpen,\n isUpdateAddressModal,\n} from \"./creators\";\nimport {\n adaptGetAllListingInfo,\n adaptDetailsPayloadToApi,\n adaptTimeFrame,\n adaptTransactionAmt,\n adaptReferralFee,\n adaptStatus,\n adaptTitle,\n} from \"../api/apiAdapters\";\nimport { setRefStatus } from \"../../Main/Details/actions/creators\";\nimport { dispatchErrorHeader } from \"./helpers\";\nimport { financialsSetClosedPrice } from \"../../Main/Financials/actions/creators\";\n\nconst errBody = \"listing\";\n\nexport const getAllListingInfoAsThunk = (uuid) => async (dispatch) => {\n const req = getAllListingInfoFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n saveDetails([\n { key: \"statusCode\", value: err.response.status, group: \"headerDetails\" },\n { key: \"error\", value: err.response.data?.statusText, group: \"headerDetails\" },\n ]),\n );\n return;\n }\n\n dispatch(saveDetail(\"statusCode\", res.status, \"headerDetails\"));\n const details = adaptGetAllListingInfo(res.data);\n dispatch(financialsSetClosedPrice(res.data.est_close_price || res.data.close_price));\n dispatch(saveDetailsFromHeader(details));\n};\n\nexport const putDetailAsThunk = (payload) => async (dispatch) => {\n const req = putDetailToApi(adaptDetailsPayloadToApi(payload));\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n saveDetails([\n { key: \"statusCode\", value: err.response.status, group: \"headerDetails\" },\n { key: \"error\", value: err.response.data.errors[0], group: \"headerDetails\" },\n ]),\n );\n return;\n }\n\n dispatch(saveDetail(\"statusCode\", res.status, \"headerDetails\"));\n const { key, group } = payload;\n\n const details = adaptGetAllListingInfo(res.data);\n const detailsToSave = [];\n if (key === \"address_attributes\") {\n detailsToSave.push(\n { key: \"street_address\", value: details.propertyDetails.street_address, group },\n { key: \"city\", value: details.propertyDetails.city, group },\n { key: \"state\", value: details.propertyDetails.state, group },\n { key: \"zip\", value: details.propertyDetails.zip, group },\n );\n } else {\n detailsToSave.push({ key, value: details[group][key], group });\n }\n detailsToSave.push(\n { key: \"statusCode\", value: null, group: \"headerDetails\" },\n { key: \"error\", value: null, group: \"headerDetails\" },\n );\n dispatch(saveDetails(detailsToSave));\n};\n\nexport const putDetailsAsThunk = (payload) => async (dispatch) => {\n const payloadDetails = payload.details.map((detail) => adaptDetailsPayloadToApi(detail));\n const req = putDetailsToApi({ uuid: payload.uuid, details: payloadDetails });\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n saveDetails([\n { key: \"statusCode\", value: err.response.status, group: \"headerDetails\" },\n { key: \"error\", value: err.response.data.errors[0], group: \"headerDetails\" },\n ]),\n );\n return;\n }\n\n dispatch(saveDetail(\"statusCode\", res.status, \"headerDetails\"));\n\n const details = adaptGetAllListingInfo(res.data);\n const detailsToSave = [];\n payloadDetails.forEach(({ key, group }) => {\n if (key === \"address_attributes\") {\n detailsToSave.push(\n { key: \"street_address\", value: details.propertyDetails.street_address, group },\n { key: \"city\", value: details.propertyDetails.city, group },\n { key: \"state\", value: details.propertyDetails.state, group },\n { key: \"zip\", value: details.propertyDetails.zip, group },\n );\n } else {\n detailsToSave.push({ key, value: details[group][key], group });\n }\n });\n detailsToSave.push(\n { key: \"statusCode\", value: null, group: \"headerDetails\" },\n { key: \"error\", value: null, group: \"headerDetails\" },\n );\n dispatch(saveDetails(detailsToSave));\n};\n\nexport const deleteListingAsThunk = (payload) => async (dispatch) => {\n const req = deleteListing(payload);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n saveDetails([\n { key: \"statusCode\", value: err.response.status, group: \"headerDetails\" },\n { key: \"error\", value: err.response.data.errors[0], group: \"headerDetails\" },\n ]),\n );\n return;\n }\n window.location = \"/listings\";\n\n dispatch(saveDetail(\"statusCode\", res.status, \"headerDetails\"));\n const { key, group } = payload;\n\n const details = adaptGetAllListingInfo(res.data);\n\n dispatch(saveDetail(key, details[group][key], group));\n};\n\nexport const putRefDesiredAddressAsThunk = (payload, signal) => async (dispatch) => {\n dispatch(editReferralDesiredAddress(payload.value));\n\n const req = putDetailToApi(adaptDetailsPayloadToApi(payload), signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const putRefTimeFrameAsThunk = (payload, exactDate, signal) => async (dispatch) => {\n const { uuid, ...restOfPayload } = payload;\n\n dispatch(editTimeframeExact(restOfPayload, exactDate));\n const adaptedTimeFrame = adaptTimeFrame(payload, exactDate);\n const req = putRefDetailsToApi(adaptedTimeFrame, signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const putRefTransactionAmtAsThunk = (payload, signal) => async (dispatch) => {\n const { uuid, ...restOfPayload } = payload;\n dispatch(editReferralTransactionAmt(restOfPayload.transactionAmount));\n const req = putDetailToApi(adaptTransactionAmt(payload), signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const putRefFeeAsThunk = (payload, signal) => async (dispatch) => {\n const { uuid, ...restOfPayload } = payload;\n dispatch(editReferralFee(restOfPayload));\n\n const req = putRefDetailsToApi(adaptReferralFee(payload), signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const putStatusAsThunk = (payload, signal) => async (dispatch) => {\n const { uuid, ...restOfPayload } = payload;\n dispatch(setRefStatus(restOfPayload.status));\n\n const req = putDetailToApi(adaptStatus(payload), signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const putStatusWithPipelineAsThunk = (payload, signal) => async (dispatch) => {\n const { uuid, ...restOfPayload } = payload;\n dispatch(setRefStatus(restOfPayload.status));\n\n const req = putDetailToApi(adaptStatus(payload), signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n\n if (payload?.preStatus === \"pipeline\" && (payload?.status === \"active\" || payload?.status === \"pending\")) {\n dispatch(setImportModalOpen(true, payload?.preStatus));\n } else if (payload?.status === \"comingsoon\" && !payload?.streetAddress) {\n dispatch(isUpdateAddressModal(true, payload?.status, payload?.preStatus));\n }\n};\n\nexport const putReferralTitleAsThunk = (payload, signal) => async (dispatch) => {\n const { uuid, ...restOfPayload } = payload;\n dispatch(editReferralTitle(restOfPayload.title));\n\n const req = putDetailToApi(adaptTitle(payload), signal);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const putAddressFromPipelineStatus = (details, uuid) => async (dispatch) => {\n dispatch(editAddressFromPipeline(details));\n\n const req = putDetailsToApi({ uuid, details });\n\n const [, err] = await tryCatchHandlr(req);\n\n if (err) dispatchErrorHeader(dispatch, err, errBody);\n};\n\nexport const closeModalAsThunk = (preStatus) => async (dispatch) => {\n dispatch(setImportModalOpen(false, preStatus));\n};\n\nexport const openAddressModalAsThunk = (isOpen, updatedStatus, preStatus) => async (dispatch) => {\n dispatch(isUpdateAddressModal(isOpen, updatedStatus, preStatus));\n};\n","import React, { useRef, useState } from \"react\";\nimport { bool, func, shape, string } from \"prop-types\";\nimport moment from \"moment\";\nimport { isDate } from \"lodash\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n IS_REFERRAL_CALENDAR_OPEN,\n LISTING_UUID,\n TIMEFRAME_EXACT,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { useClickOutside } from \"../../../../shared/hookHelpers\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { referralCalendarEditCancel } from \"../../actions/creators\";\nimport { putRefTimeFrameAsThunk } from \"../../actions/thunks\";\n\nimport DateSelector from \"../../../../shared/v2/DateSelector/DateSelector\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst UNKNOWN_OPTION = { label: \"Unknown\", value: \"Unknown\" };\n\nconst useClickOutsideCalendar = (cancelViewingCalendar) => {\n const target = useRef(null);\n const cancelCalendarViewHandlr = () => cancelViewingCalendar();\n useClickOutside(target, cancelCalendarViewHandlr);\n\n return target;\n};\n\nconst useDateHandlr = (timeframeExact) => {\n const [date, setDate] = useState(isDate(timeframeExact) ? timeframeExact : moment().format(\"MM/DD/YYYY\"));\n const onDateChangeHandlr = (e) => setDate(e.date);\n\n return { date, onDateChangeHandlr };\n};\n\n// This one is reusable\nexport const TimeFrameDateSelector = ({\n show,\n refOuter,\n dateSelectorOnChangeHandlr,\n dateSelectorValue,\n clearHandlr,\n submitHandlr,\n containerClassName,\n subContainerClassName,\n clearBtnClassName,\n minDate,\n}) =>\n show && (\n <div className={`tw-relative tw-h-36px tw-z-40 ${containerClassName}`} ref={refOuter}>\n <div className={`tw-absolute tw-shadow-dropdown ${subContainerClassName}`}>\n <DateSelector onChange={dateSelectorOnChangeHandlr} value={dateSelectorValue} minDate={minDate} />\n <hr className=\"tw-mt-0 tw-mb-0 tw-pt-5px tw-pb-5px tw-bg-white tw-border-neutral-gray-10 tw-w-full\" />\n <div className=\"tw-flex tw-flex-row tw-justify-between tw-w-full tw-bg-white tw-pb-4 tw-px-12px\">\n <TextButton\n className={`tw-px-0 ${clearBtnClassName}`}\n onClick={clearHandlr}\n type=\"button\"\n schema=\"default\"\n size=\"small\"\n data-cy=\"inline-editing-datepicker-clear\"\n >\n Clear\n </TextButton>\n <Button\n className=\"tw-ml-auto\"\n onClick={submitHandlr}\n schema=\"primary\"\n size=\"small\"\n data-cy=\"inline-editing-datepicker-done\"\n >\n Done\n </Button>\n </div>\n </div>\n </div>\n );\n\n// This is not reusable\nconst TimeFrameDateSelectorWrapper = ({\n show,\n onReferralCalendarEditCancel,\n onPutRefTimeFrameAsThunk,\n timeframeExact,\n uuid,\n}) => {\n // Handles state mgmt on calendar\n const { date, onDateChangeHandlr } = useDateHandlr(timeframeExact);\n\n // Handles clicks outside of calender wrapper\n const cancelViewingCalendar = () => onReferralCalendarEditCancel(UNKNOWN_OPTION);\n const target = useClickOutsideCalendar(cancelViewingCalendar);\n\n // Handles clear and submit btns\n const clearHandlr = () => onDateChangeHandlr({ date: \"\" });\n\n const submitHandlr = () =>\n isDate(date)\n ? cancelViewingCalendar()\n : onPutRefTimeFrameAsThunk({ label: \"Custom\", value: \"Custom\", uuid }, date);\n\n return (\n <TimeFrameDateSelector\n show={show}\n refOuter={target}\n dateSelectorValue={date}\n clearHandlr={clearHandlr}\n submitHandlr={submitHandlr}\n dateSelectorOnChangeHandlr={onDateChangeHandlr}\n />\n );\n};\n\nconst withReduxState = tdpDetails({\n WrappedComponent: TimeFrameDateSelectorWrapper,\n states: [IS_REFERRAL_CALENDAR_OPEN, TIMEFRAME_EXACT, LISTING_UUID],\n aliases: \"show\",\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxState,\n actions: [referralCalendarEditCancel, putRefTimeFrameAsThunk],\n aliases: [\"onReferralCalendarEditCancel\", \"onPutRefTimeFrameAsThunk\"],\n});\n\nTimeFrameDateSelectorWrapper.propTypes = {\n show: bool,\n onReferralCalendarEditCancel: func,\n onPutRefTimeFrameAsThunk: func,\n timeframeExact: string,\n uuid: string,\n};\n\nTimeFrameDateSelectorWrapper.defaultProps = {\n show: false,\n onReferralCalendarEditCancel: () => {},\n onPutRefTimeFrameAsThunk: () => {},\n timeframeExact: \"\",\n uuid: null,\n};\n\nTimeFrameDateSelector.propTypes = {\n show: bool,\n refOuter: shape({}),\n dateSelectorOnChangeHandlr: func,\n dateSelectorValue: string,\n clearHandlr: func,\n submitHandlr: func,\n containerClassName: string,\n subContainerClassName: string,\n clearBtnClassName: string,\n minDate: string,\n};\n\nTimeFrameDateSelector.defaultProps = {\n show: false,\n refOuter: {},\n dateSelectorOnChangeHandlr: () => {},\n dateSelectorValue: \"\",\n clearHandlr: () => {},\n submitHandlr: () => {},\n containerClassName: \"\",\n subContainerClassName: \"\",\n clearBtnClassName: \"\",\n minDate: null,\n};\n","import React, { useEffect, useState, useRef } from \"react\";\nimport { arrayOf, shape } from \"prop-types\";\nimport moment from \"moment\";\nimport { produce } from \"immer\";\nimport { useClickOutside } from \"@shared/hookHelpers\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport InlineEditingInput from \"@shared/v2/InlineEditingInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { CalendarDaysSolidV6, PenSolidV6 } from \"@shared/v2/Icomoon\";\nimport PillButton from \"../../Transactions/components/shared/PillButton\";\nimport { defaultTask } from \"../../Tasks/components/TaskForm\";\nimport { TimeFrameDateSelector } from \"../../TransactionDetailsPage/Header/ReferralHeader/TimeFrameDateSelector/TimeFrameDateSelector\";\n\nconst adjustToWeekday = (date) => {\n const adjustedDate = moment(date);\n\n if (adjustedDate.day() === 6) { // Saturday\n adjustedDate.add(2, 'days'); // Push to Monday\n } else if (adjustedDate.day() === 0) { // Sunday\n adjustedDate.add(1, 'days'); // Push to Monday\n }\n\n return adjustedDate;\n}\n\nconst DEFAULT_STATE = {\n ...defaultTask,\n name: 'Follow Up',\n type: 'Call',\n assigned_to_user_id: null,\n due_on: moment().format(\"YYYY-MM-DD\"),\n priority: 3\n};\n\nconst DATE_HASH = {\n Today: moment(),\n Tomorrow: moment().add(1, 'days'),\n '7 Days': moment().add(7, 'days'),\n '30 Days': moment().add(30, 'days'),\n '90 Days': moment().add(90, 'days'),\n}\n\nconst ADJUSTED_DATE_SET = new Set(['30 Days', '90 Days']);\n\nconst CustomPillButton = ({ onClick, isActive, children, className }) => (\n <PillButton\n onClick={onClick}\n className={`tw-border-1px tw-border-solid tw-border-gray-15 tw-text-gray-75 ${isActive ? \"tw-text-white tw-bg-theme-button-primary !tw-border-[0px]\" : \"tw-bg-transparent\"\n } ${className}`}\n >\n {children}\n </PillButton>\n);\n\nconst AddTaskPane = ({ agents, initialUserUuid, initialAgentValue, setState }) => {\n const [task, setTask] = useState(DEFAULT_STATE);\n const [dateType, setDateType] = useState('Today');\n const [showDateSelector, setShowDateSelector] = useState(false);\n\n\n useEffect(() => {\n const DEFAULT_ST = {\n ...DEFAULT_STATE,\n assigned_to_user_id: initialUserUuid\n }\n setTask(DEFAULT_ST)\n setState(DEFAULT_ST)\n return () => {\n setTask(DEFAULT_ST);\n setState(null);\n }\n }, []);\n\n const handleChange = (key, value) => {\n setTask(prev => {\n const task = produce(prev, draft => {\n draft[key] = value;\n })\n\n setState(task);\n return task;\n })\n };\n\n const ref = useRef(null);\n useClickOutside(ref, () => {\n handleChange('due_on', moment().format(\"YYYY-MM-DD\"));\n setShowDateSelector(false);\n });\n\n return (\n <div className=\"tw-p-16px tw-border-1px tw-border-solid tw-border-gray-10 tw-rounded-6px\">\n <FieldLabel className=\"tw-mb-8px\" label=\"Task\" />\n <InlineEditingInput\n onChange={(txt) => {\n handleChange('name', txt.trim().length > 0 ? txt.trim() : 'Follow Up');\n }}\n validateInput={(newValue) => ({ isValid: newValue.trim().length <= 40, newValue })}\n displaySpanClassName='tw-text-18d tw-text-gray-50'\n icon={<PenSolidV6 size=\"m\" className=\"tw-text-gray-50 group-hover:tw-text-gray-99\" />}\n value={task.name}\n iconAlwaysVisible />\n <div className=\"tw-flex tw-flex-col tw-gap-24px tw-mt-24px\">\n <div className=\"tw-flex tw-justify-between\">\n <div>\n <FieldLabel className=\"tw-mb-8px\" label=\"Type\" />\n <div className=\"tw-flex tw-gap-4px\">\n <CustomPillButton\n onClick={() => handleChange('type', 'Call')}\n isActive={task.type === 'Call'}\n className=\"tw-w-[90px]\"\n >\n Call\n </CustomPillButton>\n <CustomPillButton\n onClick={() => handleChange('type', 'To-Do')}\n isActive={task.type === 'To-Do'}\n className=\"tw-w-[90px]\"\n >\n To-Do\n </CustomPillButton>\n </div>\n </div>\n <div className=\"tw-w-[286px]\">\n <FieldLabel className=\"tw-mb-8px\" label=\"Assign To\" />\n <Dropdown options={agents} onChange={(v) => handleChange('assigned_to_user_id', v.value)} value={agents.find(agent => agent.value === task.assigned_to_user_id) || initialAgentValue} />\n </div>\n </div>\n <div>\n <FieldLabel className=\"tw-mb-8px\" label=\"Date\" isRequired />\n <div className=\"tw-flex tw-justify-between\">\n {['Today', 'Tomorrow', '7 Days', '30 Days', '90 Days', 'Custom'].map((label) => {\n if (label === 'Custom') {\n return (\n <CustomPillButton\n key={label}\n onClick={() => {\n setDateType(label);\n setShowDateSelector(true);\n }}\n isActive={dateType === label}\n className=\"tw-w-[90px]\"\n >\n <>\n <span>{dateType === 'Custom' && task.due_on ? moment(task.due_on).format('MM/DD/YY') : 'Custom'}</span>\n <CalendarDaysSolidV6 size=\"m\" className=\"tw-ml-4px\" />\n </>\n </CustomPillButton>\n )\n }\n\n const momentDate = ADJUSTED_DATE_SET.has(label) ? adjustToWeekday(DATE_HASH[label]) : moment(DATE_HASH[label]);\n\n return (\n <Tooltip\n content={momentDate.format('dddd, MM/DD/YY')}\n trigger={\n <CustomPillButton\n key={label}\n onClick={() => {\n setDateType(label);\n handleChange('due_on', momentDate.format(\"YYYY-MM-DD\"));\n }}\n isActive={dateType === label}\n className=\"tw-w-[90px]\"\n >\n {label}\n </CustomPillButton>\n }\n placement='top'\n />\n );\n })}\n </div>\n <TimeFrameDateSelector\n containerClassName=\"tw-h-[0px]\"\n subContainerClassName=\"tw-right-[-10px] tw-bottom-[-80px]\"\n clearBtnClassName=\"tw-hidden\"\n refOuter={ref}\n dateSelectorOnChangeHandlr={(dateObj) => {\n handleChange('due_on', moment(dateObj.date, \"MM/DD/YYYY\").format(\"YYYY-MM-DD\"));\n }}\n minDate={moment().format('MM/DD/YYYY')}\n dateSelectorValue={moment(task.due_on, \"YYYY-MM-DD\").format(\"MM/DD/YYYY\")}\n submitHandlr={() => setShowDateSelector(false)}\n show={showDateSelector} />\n </div>\n <div>\n <FieldLabel className=\"tw-mb-8px\" label=\"Priority\" isRequired />\n <div className=\"tw-flex tw-justify-between\">\n {[1, 2, 3, 4, 5, 6, 7, 8, 9].map((priority) => (\n <CustomPillButton\n key={priority}\n onClick={() => handleChange('priority', priority)}\n isActive={task.priority === priority}\n className=\"tw-w-[58px]\"\n >\n {priority}\n </CustomPillButton>\n ))}\n </div>\n <div className=\"tw-flex tw-justify-between tw-text-12d tw-text-gray-50\">\n <span>Highest</span>\n <span>Lowest</span>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nexport default AddTaskPane;\n\nAddTaskPane.propTypes = {\n agents: arrayOf(shape({})),\n};\n\nAddTaskPane.defaultProps = {\n agents: [],\n};","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\n\nimport Toggle from '@shared/v2/Toggle';\nimport { CheckSolidV6, MinusSolidV6 } from '@shared/v2/Icomoon';\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport { useFeatureFlags } from '../../reducers/layoutReducer/selectors';\n\nconst reminderStyles = (status) => !status ? 'tw-border-[#96B7FA] tw-text-[#2454B2] tw-bg-[#F7F9FC]' : 'tw-border-[#46C771] tw-text-[#177335] tw-bg-[#EDFAF1]';\n\nfunction getCallStatusMessage(callStatus) {\n\n const statusMap = {\n null: {\n status: \"Calling you at your phone\",\n circleColor: 'tw-bg-[#3270FA]'\n },\n Initiated: { status: 'Ringing', circleColor: 'tw-bg-[#3270FA]' },\n Ringing: { status: 'Ringing', circleColor: 'tw-bg-[#3270FA]' },\n 'In-progress': { status: 'Connected', circleColor: 'tw-bg-green-100' },\n };\n\n return statusMap[callStatus] || { status: 'Call Ended', circleColor: 'tw-bg-[#E5342E]' };\n}\n\nconst CallStatusBar = ({\n callStatus,\n currentCallTime,\n isCompleted,\n recorded,\n recordToggleDisabled,\n onToggleChange,\n agentPhoneNumber,\n statusClassName\n}) => {\n const RecordConfirmationIcon = recorded ? CheckSolidV6 : MinusSolidV6;\n const featureFlag = useFeatureFlags();\n const standardCallStatus = getCallStatusMessage(callStatus);\n\n return (\n <div className='tw-block'>\n <div\n className={`tw-py-10px tw-px-16px tw-border-[1px] tw-border-solid tw-border-gray-30 tw-flex tw-items-center tw-text-gray-75 tw-bg-gray-5 tw-text-12d tw-font-semibold tw-rounded-lg tw-w-[448px] tw-mr-auto ${!isCompleted ? 'tw-rounded-bl-none tw-rounded-br-none' : ''\n } ${statusClassName}`}\n >\n <div\n className={`tw-w-8px tw-h-8px tw-rounded-full tw-mr-8px ${standardCallStatus.circleColor}`}\n />\n <span className='tw-leading-10px'>{standardCallStatus.status}</span>\n <span className=\"tw-font-normal tw-ml-auto\">{currentCallTime}</span>\n {featureFlag.callRecording &&\n <>\n <span\n className={`tw-leading-10px tw-font-semibold tw-text-gray-75 tw-ml-32px tw-whitespace-nowrap ${isCompleted ? '' : 'tw-w-[65px]'\n }`}\n >\n {(() => {\n if (isCompleted) {\n return recorded ? 'Recorded' : 'Not Recorded';\n }\n return `Record ${recorded ? 'ON' : 'OFF'}`;\n })()}\n </span>\n {callStatus === 'In-progress' && (\n <Toggle\n id=\"recordedToggle\"\n name=\"recordedToggle\"\n labelClassName=\"tw-ml-8px !tw-mb-[0px]\"\n value={recorded}\n checked={recorded === true}\n disabled={recordToggleDisabled}\n onChange={onToggleChange}\n />\n )}\n {isCompleted && <RecordConfirmationIcon className=\"tw-ml-8px\" />}\n </>\n }\n </div>\n <div\n className={`tw-py-10px tw-px-16px tw-border-[1px] tw-border-solid tw-flex tw-items-center tw-text-12d tw-font-semibold tw-rounded-lg tw-rounded-tl-none tw-rounded-tr-none ${reminderStyles(\n callStatus\n )} ${isCompleted || (callStatus && !featureFlag.callRecording) ? 'tw-hidden' : ''}`}\n >\n {!callStatus\n ? `To start the call, please answer your phone ${agentPhoneNumber ? `at ${formatPhoneNumber(agentPhoneNumber)}` : ''\n }`\n : 'Please inform the other party before recording.'}\n </div>\n </div>\n )\n};\n\nexport default CallStatusBar;\n\nCallStatusBar.propTypes = {\n callStatus: PropTypes.string,\n currentCallTime: PropTypes.string,\n isCompleted: PropTypes.bool,\n recorded: PropTypes.bool,\n recordToggleDisabled: PropTypes.bool,\n onToggleChange: PropTypes.func.isRequired,\n agentPhoneNumber: PropTypes.string,\n statusClassName: PropTypes.string,\n};\n\nCallStatusBar.defaultProps = {\n callStatus: null,\n currentCallTime: '',\n isCompleted: false,\n recorded: false,\n recordToggleDisabled: false,\n agentPhoneNumber: null,\n statusClassName: '',\n};","import React, { useState, useEffect, useRef } from \"react\";\nimport axios from \"axios\";\nimport { Row, Col } from \"react-bootstrap\";\nimport CallOutcomeAndNotes from \"./CallOutcomeAndNotes\";\nimport moment from \"moment\";\nimport api from \"@shared/phoneDncStatusApi\";\nimport { DncFlag } from \"@shared/Sms\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\nimport { ArrowUpRightFromSquareSolidV6, PhoneHangupSolidV6 } from \"@shared/v2/Icomoon\";\nimport {\n useAccountCallRecordingSettings,\n useOutboundCallRecordingSetting,\n useCurrentUser,\n} from \"../../reducers/layoutReducer/selectors\";\nimport IntentDetails from \"../../LeadIndex/components/IntentDetails\";\nimport Button from \"@shared/v2/Button\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { usePlaceSelector } from \"../../reducers/layoutReducer\";\nimport UpNext from \"./UpNext\";\nimport StatusDropdown from \"@shared/StatusDropdown/StatusDropdown\";\nimport { produce } from \"immer\";\nimport StagesDropDown from \"@shared/StagesDropDown\";\nimport Toggle from \"@shared/v2/Toggle\";\nimport Modal from \"@shared/v2/Modal\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport AddTaskPane from \"@shared/AddTaskPane\";\nimport CallStatusBar from \"@shared/CallStatusBar\";\nimport { createTask } from \"../../Tasks/components/services\";\n\nconst nameFormat = (name) => (name?.trim().length > 0 ? name : \"No Name\");\n\nexport const callCompleteStatus = [\"Completed\", \"Failed\", \"Busy\", \"No-answer\", \"Canceled\"];\n\nconst ConferenceCallForm = ({\n dialerServiceUrl,\n dialerServiceToken,\n closeCallModal,\n startCall,\n}) => {\n const [conferenceCall, setConferenceCall] = useState(null);\n const [websocketsConnected, setWebsocketsConnected] = useState(false);\n const [possibleStaleState, setPossibleStaleState] = useState(false);\n const [currentCallTime, setCurrentCallTime] = useState(\"0:00:00\");\n const [callOutcome, setCallOutcome] = useState({ outcome: null, comment: \"\" });\n const [endSessionLoading, setEndSessionLoading] = useState(false);\n const [endCallLoading, setEndCallLoading] = useState(false);\n const [endCallErrors, setEndCallErrors] = useState([]);\n const [savingCallOutcome, setSavingCallOutcome] = useState(false);\n const [savingOutcomeErrors, setSavingOutcomeErrors] = useState([]);\n const [savingOutcomeSuccess, setSavingOutcomeSuccess] = useState(null);\n const [savingLeadError, setSavingLeadError] = useState(null);\n const [updatedStatus, setUpdatedStatus] = useState(null);\n const [dncStatuses, setDncStatuses] = useState({});\n const [dncNextStatuses, setDncNextStatuses] = useState({});\n const [person, setPerson] = useState({});\n const [isPersonLoading, setPersonLoading] = useState(true);\n const [isPersonStatusLoading, setPersonStatusLoading] = useState(false);\n const [taskToggle, setTaskToggle] = useState(false);\n const [agents, setAgents] = useState([]);\n const [task, setTask] = useState(null);\n const [currentParticipantId, setCurrentParticipantId] = useState(null);\n // const [defaultRecordingConsent, setDefaultRecordingConsent] = useState(false);\n const [recorded, setRecorded] = useState(false);\n const [recordToggleDisabled, setRecordToggleDisabled] = useState(false);\n const { outboundRecording } = useOutboundCallRecordingSetting();\n\n useAccountCallRecordingSettings;\n const isPlace = usePlaceSelector();\n const currentUser = useCurrentUser();\n\n let timer;\n\n useEffect(() => {\n outboundRecording === \"automatic\" && setRecorded(true);\n }, [outboundRecording]);\n\n // useEffect(() => {\n // setRecorded(defaultRecordingConsent);\n // }, [dialerServiceToken]);\n\n useEffect(() => {\n const manageSubscriptionAndTimer = () => {\n if (typeof App !== \"undefined\" && App.phone_call) {\n App.phone_call.unsubscribe();\n }\n stopTimer();\n };\n\n if (startCall) {\n startConference();\n setupSubscription();\n startTimer();\n } else {\n manageSubscriptionAndTimer();\n }\n\n return () => {\n manageSubscriptionAndTimer();\n };\n }, [startCall]);\n\n const scrollRef = useRef(null);\n\n useEffect(() => {\n if (taskToggle) {\n scrollRef.current.scrollTo({\n top: scrollRef.current.scrollHeight,\n behavior: \"smooth\",\n });\n }\n }, [taskToggle]);\n\n useEffect(() => {\n (async () => {\n const [res] = await tryCatchHandlr(\n axios.get(\"/account_active_agents\", {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n }),\n );\n\n if (res) {\n setAgents(\n res.data.map((agent) => ({\n label: agent.name,\n value: agent.uuid,\n email: agent.email,\n })),\n );\n }\n })();\n }, []);\n\n useEffect(() => {\n const newId = conferenceCall?.current_participant?.id;\n\n if (currentParticipantId !== newId) {\n getPhoneStatuses();\n getPhoneNextStatuses();\n setCurrentParticipantId(newId);\n }\n }, [conferenceCall?.current_participant?.id]);\n\n const currentPhoneNumber = () => conferenceCall?.current_participant?.phone_number;\n\n const getPhoneStatuses = () => {\n api.index([currentPhoneNumber()]).then((x) => {\n const mergedState = {\n ...dncStatuses,\n ...x.data,\n };\n setDncStatuses(mergedState);\n });\n };\n\n const getPhoneNextStatuses = () => {\n api.index([conferenceCall?.next_participant?.phone_number]).then((x) => {\n const mergedState = {\n ...dncNextStatuses,\n ...x.data,\n };\n setDncNextStatuses(mergedState);\n });\n };\n\n const isDnc = () => api.isDnc(currentPhoneNumber(), dncStatuses);\n const isNextDnc = () => api.isDnc(conferenceCall?.next_participant?.phone_number, dncStatuses);\n\n const conferenceCallRef = useRef(conferenceCall);\n conferenceCallRef.current = conferenceCall;\n\n const startTimer = () => {\n timer = setInterval(() => updateCallTime(), 1000);\n };\n\n const stopTimer = () => {\n clearInterval(timer);\n };\n\n const maybeLeadingZero = (num) => (\"0\" + num).slice(-2);\n\n const updateCallTime = () => {\n if (\n conferenceCallRef?.current?.current_participant?.humanized_call_status === \"In-progress\" &&\n conferenceCallRef?.current?.current_participant?.call_answered_timestamp\n ) {\n let seconds = Math.ceil(\n moment\n .duration(\n moment().diff(moment(conferenceCallRef?.current?.current_participant?.call_answered_timestamp)),\n )\n .asSeconds(),\n );\n let hours = parseInt(seconds / 60 / 60);\n let minutes = parseInt((seconds / 60) % 60);\n let secs = seconds % 60;\n let callTimeString = `${hours}:${maybeLeadingZero(minutes)}:${maybeLeadingZero(secs)}`;\n setCurrentCallTime(callTimeString);\n }\n };\n\n const setupSubscription = () => {\n if (typeof App !== \"undefined\") {\n App.dialer_cable = ActionCable.createConsumer(`${dialerServiceUrl}/cable?token=${dialerServiceToken}`);\n App.phone_call = App.dialer_cable.subscriptions.create(\"ConferenceChannel\", {\n connected: function () {\n this.followCurrentCall();\n websocketConnected();\n },\n received: function (data) {\n setConferenceCall(data.conference);\n },\n disconnected: function () {\n websocketDisconnected();\n },\n rejected: function () {\n websocketDisconnected();\n },\n failed: function () {\n websocketDisconnected();\n },\n followCurrentCall: function () {\n this.perform(\"follow\");\n },\n });\n\n const websocketConnected = () => {\n setWebsocketsConnected(true);\n if (possibleStaleState) {\n fetchCurrentConferenceState();\n }\n };\n\n const websocketDisconnected = () => {\n setWebsocketsConnected(false);\n setPossibleStaleState(true);\n };\n }\n };\n\n const getPerson = async (uuid) => {\n const abortController = new AbortController();\n\n const [res, err] = await tryCatchHandlr(\n axios.get(`/api/v4/person/${uuid}/dialer_details`, { signal: abortController.signal }),\n );\n\n if (err) {\n return console.error(err);\n }\n\n setPerson({\n ...res.data.person,\n leadId: res.data.lead_id,\n });\n setPersonLoading(false);\n };\n\n App.leadUpdateChannel.received = (data) => {\n if (isPersonStatusLoading) {\n // for status\n if (data[\"status\"] === \"success\") {\n setPerson(\n produce(person, (draft) => {\n draft.data.attributes.status = updatedStatus;\n }),\n );\n setSavingLeadError(null);\n } else {\n setSavingLeadError(data[\"message\"]);\n }\n setPersonStatusLoading(false);\n } else {\n // for everything other than status\n if (data[\"status\"] === \"failed\") setSavingLeadError(data[\"message\"]);\n }\n };\n const setStatus = async (newStatus) => {\n setPersonStatusLoading(true);\n setSavingLeadError(null);\n setUpdatedStatus(newStatus);\n\n window.App.leadUpdateChannel.perform(\"lead_update\", {\n id: person.leadId,\n person_attributes: {\n status: newStatus,\n },\n });\n };\n\n const startConference = () => {\n axios\n .post(`${dialerServiceUrl}/dialer/start_dialer_session`, {\n token: dialerServiceToken,\n })\n .then((resp) => {\n getPerson(resp.data.current_participant?.person_uuid);\n setConferenceCall(resp.data);\n });\n };\n\n const hangUpCall = () => {\n setEndCallLoading(true);\n axios\n .post(`${dialerServiceUrl}/dialer/end_current_call`, {\n token: dialerServiceToken,\n })\n .then((resp) => {\n setConferenceCall(resp.data);\n setEndCallLoading(false);\n setEndCallErrors([]);\n })\n .catch(() => {\n setEndCallLoading(false);\n setEndCallErrors([\"There was an error ending the current call, please try again.\"]);\n });\n };\n\n const fetchCurrentConferenceState = () => {\n axios.get(`${dialerServiceUrl}/dialer/fetch_dialer_state?token=${dialerServiceToken}`).then((resp) => {\n setConferenceCall(resp.data);\n });\n };\n\n const dialNextLead = () => {\n axios.post(`${dialerServiceUrl}/dialer/dial_next_lead`, { token: dialerServiceToken }).then((resp) => {\n getPerson(resp.data.current_participant?.person_uuid);\n setConferenceCall(resp.data);\n setSavingOutcomeSuccess(null);\n });\n };\n\n const handleOutcomeInputChange = (key, value) => {\n setCallOutcome({ ...callOutcome, [key]: value });\n };\n\n const endDialerSession = () => {\n setEndSessionLoading(true);\n let callOutcomePromise = Promise.resolve();\n if (callOutcome.outcome) callOutcomePromise = submitOutcome(true);\n callOutcomePromise.finally(() => {\n axios\n .post(`${dialerServiceUrl}/dialer/end_dialer_session`, {\n token: dialerServiceToken,\n })\n .then((resp) => {\n setConferenceCall(resp.data);\n setEndSessionLoading(false);\n closeCallModal();\n })\n .then(() => {\n window.location.reload();\n });\n });\n };\n\n const submitOutcome = async (pause = false) => {\n setSavingCallOutcome(true);\n\n if (task) {\n await createTask({\n formData: {\n ...task,\n account_id: currentUser.account.uuid,\n taskable_id: conferenceCall?.current_participant?.person_uuid,\n taskable_name:\n conferenceCall?.current_participant?.person_full_name.trim().length > 0\n ? conferenceCall?.current_participant?.person_full_name\n : \"No Name\",\n taskable_type: \"Person\",\n user_id: currentUser.uuid,\n },\n });\n setTaskToggle(false);\n }\n\n return axios\n .post(`${dialerServiceUrl}/dialer/save_outcome`, {\n token: dialerServiceToken,\n participant_id: conferenceCall?.current_participant?.id,\n ...callOutcome,\n })\n .then((resp) => {\n setConferenceCall(resp.data);\n setCurrentCallTime(null);\n setCallOutcome({ outcome: null, comment: \"\" });\n setSavingOutcomeErrors([]);\n setSavingCallOutcome(false);\n setSavingOutcomeSuccess(true);\n if (pause) return;\n if (\n conferenceCall?.current_participant_position < conferenceCall?.total_participants &&\n conferenceCall?.conference_status !== \"conference-end\"\n ) {\n dialNextLead();\n } else if (conferenceCall?.conference_status !== \"conference-end\") {\n endDialerSession();\n }\n })\n .catch(() => {\n setSavingCallOutcome(false);\n setSavingOutcomeErrors([\"There was an error saving the call outcome. Please try again.\"]);\n });\n };\n\n const websocketError = () =>\n conferenceCall && conferenceCall?.conference_status !== \"conference-end\" && !websocketsConnected;\n\n const renderWebsocketError = () => (\n <Col xs={12}>\n <div className=\"alert alert-danger\">\n <div className=\"text-center\">\n <i className=\"fa fa-exclamation-triangle tw-text-30px\" />\n <br />\n <span className=\"tw-text-20px tw-font-bold\">Connection Unstable</span>\n <br />\n <span>Your browser has lost connection with Brivity Dialer.</span>\n <br />\n <span>Please wait while we attempt to reconnect...</span>\n <br />\n <i className=\"fa fa-spinner fa-pulse\" />\n </div>\n </div>\n </Col>\n );\n\n const renderLeadError = () => (\n <Col xs={12} className=\"tw-mt-8\">\n <div className=\"alert alert-danger\">\n <div className=\"text-center\">\n <span>{savingLeadError}</span>\n </div>\n </div>\n </Col>\n );\n\n const conferenceCallIsComplete = () =>\n conferenceCall && conferenceCall?.conference_status === \"conference-end\" && savingOutcomeSuccess;\n\n const renderConferenceComplete = () => (\n <Col xs={12}>\n <div className=\"alert alert-info\">\n <div className=\"text-center\">\n <i className=\"fa fa-phone tw-text-30px\" />\n <br />\n <span className=\"tw-text-20px tw-font-bold\">Dialer Session Complete</span>\n </div>\n </div>\n </Col>\n );\n\n const endCallBtnDisabled = () => {\n const callStatus = conferenceCall?.current_participant?.humanized_call_status;\n const conferenceStatus = conferenceCall?.conference_status;\n\n return (\n endCallLoading ||\n conferenceStatus === \"conference-end\" ||\n ![\"Queued\", \"Initiated\", \"Ringing\", \"In-progress\"].includes(callStatus)\n );\n };\n\n const saveContinueBtnDisabled = () => {\n const callComplete = [\"Completed\", \"Failed\", \"Busy\", \"No-answer\", \"Canceled\"].includes(\n conferenceCall?.current_participant?.humanized_call_status,\n );\n return !callComplete || savingCallOutcome || callOutcome.outcome === null;\n };\n\n const saveBtnText = () => {\n if (!conferenceCall && conferenceCallIsComplete()) return \"Save & Complete\";\n\n if (\n conferenceCall?.current_participant_position < conferenceCall?.total_participants &&\n conferenceCall?.conference_status !== \"conference-end\"\n ) {\n return \"Save & Continue\";\n } else {\n return \"Save & Complete\";\n }\n };\n\n const conferenceIsReady = () =>\n websocketsConnected &&\n conferenceCall &&\n conferenceCall?.current_participant &&\n !conferenceCallIsComplete();\n\n const isCompleted = callCompleteStatus.includes(conferenceCall?.current_participant?.humanized_call_status);\n\n const renderCallStatus = () => (\n <div className=\"phone-call tw-flex-1 tw-flex tw-flex-col tw-overflow-hidden\">\n <div className=\"tw-flex tw-flex-col\">\n <div className=\"tw-flex tw-justify-between\">\n <div className=\"form-group contact-card\">\n <div className=\"tw-flex tw-items-center\">\n {person?.data?.attributes?.lead_type !== \"n/a\" && (\n <div className=\"tw-mr-8px\">\n <IntentDetails intent={person?.data?.attributes?.lead_type} />\n </div>\n )}\n <a\n href={conferenceCall?.current_participant?.person_url}\n target=\"_blank\"\n className={`tw-text-18d tw-font-bold ${isPlace ? \"!tw-text-[#121212]\" : \"!tw-text-teal\"}`}\n >\n <span className={`tw-mr-6px ${isPlace ? \"tw-text-[#3270FA]\" : \"tw-text-teal\"}`}>\n {nameFormat(conferenceCall?.current_participant?.person_full_name)}\n </span>\n <ArrowUpRightFromSquareSolidV6 className={isPlace ? \"!tw-text-[#3270FA]\" : \"\"} size=\"l\" />\n </a>\n </div>\n <div className=\"tw-text-14d tw-font-semibold tw-text-[#999999] overflow tw-flex tw-items-center tw-space-x-[4px] tw-mt-8px\">\n <span>Mobile: {conferenceCall?.current_participant?.phone_number}</span>\n <DncFlag show={isDnc()} />\n </div>\n </div>\n <div className=\"tw-w-[208px]\">\n <div className=\"tw-text-12d tw-text-gray-50 tw-mb-5px\">\n Call {conferenceCall?.current_participant_position} of {conferenceCall?.total_participants}\n </div>\n <div className=\"tw-w-full tw-h-8px tw-rounded-[16px] tw-bg-[#000000] tw-bg-opacity-20 tw-overflow-hidden\">\n <div\n role=\"progressbar\"\n className={`progress-bar call-status active-call ${isPlace ? \"tw-bg-[#121212]\" : \"tw-bg-teal\"}`}\n aria-valuenow={1}\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n style={{\n width: `${((conferenceCall?.current_participant_position / conferenceCall?.total_participants) * 100).toFixed()}%`,\n }}\n />\n </div>\n </div>\n </div>\n <div className=\"tw-flex tw-gap-20px\">\n <CallStatusBar\n callStatus={conferenceCall?.current_participant?.humanized_call_status}\n currentCallTime={currentCallTime}\n isCompleted={isCompleted}\n recorded={recorded}\n recordToggleDisabled={recordToggleDisabled}\n onToggleChange={async () => {\n setRecordToggleDisabled(true);\n\n const urlApi = `${dialerServiceUrl}/dialer/${!recorded ? \"start\" : \"stop\"}_recording`;\n const payload = {\n token: dialerServiceToken,\n ...(!recorded ? { recording_consent: recorded } : {}),\n };\n\n const [_, err] = await tryCatchHandlr(caseTransformingAxios.post(urlApi, payload));\n if (err) return console.log(err);\n\n setRecordToggleDisabled(false);\n setRecorded(!recorded);\n }}\n agentPhoneNumber={conferenceCall?.agent_participant?.phone_number}\n />\n <Button\n disabled={endCallBtnDisabled()}\n onClick={hangUpCall}\n size=\"medium\"\n schema=\"solid-red\"\n className=\"tw-whitespace-nowrap\"\n >\n <PhoneHangupSolidV6 size=\"m\" className=\"tw-mr-4px\" />\n <span>End Call</span>\n </Button>\n </div>\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0 tw-mt-24px tw-mb-16px\" />\n </div>\n <div className=\"tw-flex-1 tw-overflow-y-auto tw-max-h-[41vh]\" ref={scrollRef}>\n {[...savingOutcomeErrors, ...endCallErrors].map((e, i) => {\n return (\n <Row key={i}>\n <Col xs={12}>\n <div className=\"alert alert-danger\">{e}</div>\n </Col>\n </Row>\n );\n })}\n <div className=\"tw-flex tw-gap-24px tw-mb-24px tw-pl-2px\">\n <div className=\"tw-w-[140px]\">\n <FieldLabel className=\"tw-mb-8px\" label=\"Status\" />\n <StatusDropdown\n person={{}}\n status={person?.data?.attributes?.status}\n statusOptions={person?.meta?.status_options}\n btnClassName=\"tw-m-0 tw-w-full\"\n onChange={setStatus}\n isLoading={isPersonLoading || isPersonStatusLoading}\n />\n </div>\n <div className=\"tw-w-[163px]\">\n <FieldLabel className=\"tw-mb-8px\" label=\"Stage\" />\n <StagesDropDown\n selectedStage={person?.data?.attributes?.stage}\n isLoading={isPersonLoading}\n onUpdateStage={(stage) =>\n window.App.leadUpdateChannel.perform(\"lead_update\", {\n id: person.leadId,\n person_attributes: {\n stage: stage.value,\n stage_type: stage.type,\n },\n })\n }\n containerClassName=\"!tw-border-[1.5px] !tw-border-solid !tw-border-gray-50 hover:!tw-border-gray-50 tw-w-full tw-justify-center\"\n />\n </div>\n </div>\n <CallOutcomeAndNotes\n currentParticipantId={conferenceCall?.current_participant?.person_uuid}\n callOutcome={callOutcome}\n onFieldChange={handleOutcomeInputChange}\n />\n <Toggle\n text=\"Add Follow Up Task\"\n labelPlacement=\"end\"\n labelClassName=\"tw-mb-8px tw-mt-24px\"\n onChange={() => {\n setTaskToggle(!taskToggle);\n }}\n checked={taskToggle}\n />\n {taskToggle && <AddTaskPane agents={agents} initialUserUuid={currentUser.uuid} setState={setTask} />}\n </div>\n </div>\n );\n\n return (\n <>\n {renderCallStatus()}\n {conferenceCallIsComplete() && renderConferenceComplete()}\n {websocketError() && renderWebsocketError()}\n {savingLeadError && renderLeadError()}\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0 tw-mt-16px tw-mb-16px\" />\n {conferenceIsReady() && conferenceCall?.next_participant && (\n <UpNext\n dnc={isNextDnc()}\n pdpLink={conferenceCall?.next_participant?.person_url}\n phoneNumber={formatPhoneNumber(conferenceCall?.next_participant?.phone_number)}\n name={nameFormat(conferenceCall?.next_participant?.person_full_name)}\n />\n )}\n <Modal.Footer style={{ padding: 0 }} className=\"tw-flex tw-justify-between\">\n <Button schema=\"tertiary\" onClick={endDialerSession} isLoading={endSessionLoading} size=\"medium\">\n End Session\n </Button>\n <Button\n disabled={saveContinueBtnDisabled()}\n onClick={() => submitOutcome()}\n isLoading={savingCallOutcome}\n size=\"medium\"\n >\n {saveBtnText()}\n </Button>\n </Modal.Footer>\n </>\n );\n};\n\nexport default ConferenceCallForm;\n","import React, { useState } from \"react\";\nimport Modal from \"@shared/v2/Modal\";\nimport ConferenceCallForm from \"./ConferenceCallForm\";\n\nconst ConferenceModal = ({\n closeCallModal,\n dialerServiceUrl,\n conferenceUuid,\n dialerServiceToken,\n startCall,\n show,\n}) => {\n const [hideheader, setHideHeader] = useState(false);\n\n return (\n <Modal\n show={show}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-m-auto tw-flex tw-flex-col tw-gap-[32px] tw-max-w-[657px] tw-w-full tw-max-h-[90vh]\"\n onHide={() => {\n closeCallModal();\n }}>\n <Modal.Body>\n <ConferenceCallForm\n closeCallModal={closeCallModal}\n dialerServiceUrl={dialerServiceUrl}\n conferenceUuid={conferenceUuid}\n dialerServiceToken={dialerServiceToken}\n startCall={startCall}\n />\n </Modal.Body>\n </Modal>\n );\n};\n\nexport default ConferenceModal;\n","import React from \"react\";\nimport axios from \"axios\";\nimport ConfirmationModal from \"./ConfirmationModal\";\nimport ConferenceModal from \"./ConferenceModal\";\nimport Button from \"@shared/v2/Button\";\n\nclass ConferenceCall extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n callConfirmationOpen: false,\n callModalOpen: false,\n startCall: false,\n selectedLeadUuids: [],\n conferenceUuid: null,\n dialerServiceToken: null,\n isLoading: false,\n };\n }\n\n closeConfirmationModal = () => {\n this.setState({ callConfirmationOpen: false });\n };\n\n closeCallModal = () => {\n this.setState({\n callModalOpen: false,\n startCall: false,\n conferenceUuid: null,\n dialerServiceToken: null,\n });\n };\n\n createDialerSession = () => {\n this.setState({\n isLoading: true,\n callModalOpen: true,\n });\n axios\n .post(\"/dialer/create_dialer_session\", {\n call_source: \"Lead Index Brivity Dialer\",\n lead_uuids: this.state.selectedLeadUuids,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((resp) => {\n this.setState({\n conferenceUuid: resp.data.conference_uuid,\n dialerServiceToken: resp.data.token,\n callConfirmationOpen: false,\n isLoading: false,\n startCall: true,\n });\n });\n };\n\n launchConfirmModal = () => {\n const peopleRows = document.querySelectorAll(\"table.all-people-table input:checked\");\n const leadRows = document.querySelectorAll(\"table.leads-table tr input:checked\");\n const rows = peopleRows.length > 0 ? peopleRows : leadRows;\n const ids = [];\n Array.from(rows).forEach((i) => {\n const personUuid = i.closest(\"tr\").dataset.personUuid;\n if (personUuid) ids.push(personUuid);\n });\n\n this.setState({ selectedLeadUuids: ids }, () => {\n this.setState({ callConfirmationOpen: true });\n });\n };\n\n render() {\n return (\n <div>\n <Button size=\"medium\" onClick={this.launchConfirmModal}>\n Call\n </Button>\n <ConfirmationModal\n show={this.state.callConfirmationOpen}\n isLoading={this.state.isLoading}\n selectedLeadUuids={this.state.selectedLeadUuids}\n createDialerSession={this.createDialerSession}\n closeConfirmationModal={this.closeConfirmationModal}\n />\n <ConferenceModal\n dialerServiceUrl={this.props.dialerServiceUrl}\n conferenceUuid={this.state.conferenceUuid}\n dialerServiceToken={this.state.dialerServiceToken}\n selectedLeadUuids={this.state.selectedLeadUuids}\n closeCallModal={this.closeCallModal}\n show={this.state.callModalOpen}\n startCall={this.state.startCall}\n />\n </div>\n );\n }\n}\n\nexport default ConferenceCall;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport ConferenceCall from \"../ConferenceCall\";\n\nexport default (props) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n <Provider store={store}>\n <ConferenceCall {...props} />\n </Provider>\n );\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport colors from \"../../Reports/components/DashboardShared/helpers/colors\";\n\nconst getStatColor = (stat) => {\n if (stat.count === 0) return \"tw-text-neutral-gray-50\";\n if (colors.theme === \"place\") return \"tw-text-semantic-blue-100\";\n return \"tw-text-teal\";\n};\n\nconst QuickStat = ({ stat }) => (\n <div\n role=\"button\"\n tabIndex={0}\n className={`tw-shadow tw-text-center tw-w-full tw-min-w-[16rem] tw-h-[137px] tw-inline-block tw-rounded-[10px] tw-px-[20px] tw-pb-[20px] tw-mt-[5px] tw-mx-[10px] tw-text-14d tw-font-semibold ${\n stat.count === 0 ? \"hover:tw-bg-gray-lighter\" : \"hover:tw-bg-[#f3fdfd]\"\n }`}\n key={stat.name}\n onClick={() => window.open(stat.path, \"_blank\")}\n onKeyDown={(e) => {\n if (e.key !== \"Tab\") e.preventDefault();\n if ([\"Enter\", \" \"].includes(e.key)) window.open(stat.path, \"_blank\");\n }}\n >\n <div className={getStatColor(stat)}>\n <h1 className=\"tw-text-24d tw-font-semibold\">{stat.count}</h1>\n <p className=\"tw-text-neutral-gray-50 tw-m-auto tw-max-w-[124px]\">{stat.name}</p>\n </div>\n </div>\n);\n\nQuickStat.propTypes = {\n stat: PropTypes.shape({\n count: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n name: PropTypes.string,\n path: PropTypes.string,\n }).isRequired,\n};\n\nexport default QuickStat;\n","import axios from \"axios\";\nimport { useEffect, useState } from \"react\";\n\nconst getLeadStats = ({ dateRange, userUuids }, signal) =>\n axios.get(\"/dashboard/lead_quick_stats\", {\n headers: {\n \"content-type\": \"application/json\",\n },\n params: {\n dashboard_opportunities_date_range: dateRange,\n selected_users: userUuids,\n },\n signal,\n });\n\nconst useQuickStats = ({ dateRange, userUuids }) => {\n const [error, setError] = useState(false);\n const [leadStats, setLeadStats] = useState([]);\n const [loading, setLoading] = useState(false);\n\n const reload = (signal) => {\n setLoading(true);\n getLeadStats({ dateRange, userUuids }, signal)\n .then(({ data }) => {\n setLeadStats(data);\n setError(false);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n };\n\n useEffect(() => {\n const abortController = new AbortController();\n reload(abortController.signal);\n return () => abortController.abort();\n }, [dateRange, userUuids]);\n\n return { error, leadStats, loading, actions: { reload, setError } };\n};\n\nexport default useQuickStats;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Dropdown } from \"../../shared/v1\";\nimport Loader from \"./Loader\";\nimport QuickStat from \"./QuickStat\";\nimport useQuickStats from \"../services/useQuickStats\";\nimport Error from \"../../Reports/components/DashboardShared/Error\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport { ArrowsRotateSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst DATE_RANGES = [\n { value: \"today\", label: \"Today\" },\n { value: \"yesterday\", label: \"Yesterday\" },\n { value: \"last_7_days\", label: \"Last 7 Days\" },\n { value: \"last_14_days\", label: \"Last 14 Days\" },\n { value: \"last_30_days\", label: \"Last 30 Days\" },\n { value: \"this_month\", label: \"This Month\" },\n { value: \"last_month\", label: \"Last Month\" },\n { value: \"this_year\", label: \"This Year\" },\n { value: \"last_year\", label: \"Last Year\" },\n { value: \"all_time\", label: \"All Time\" },\n];\n\nconst LeadQuickStats = ({ dateRange: initialDateRange, userUuids }) => {\n const [dateRange, setDateRange] = useState(initialDateRange);\n const { actions, loading, error, leadStats } = useQuickStats({ dateRange, userUuids });\n\n return (\n <div className=\"tw-relative tw-flex tw-flex-col tw-gap-[16px] tw-bg-white tw-pt-[16px] tw-px-[20px] tw-pb-[28px] tw-min-h-[237px] tw-rounded-[8px]\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <h3 className=\"tw-whitespace-nowrap tw-m-0 tw-text-18d tw-font-normal\">\n Take Action\n <IconButton schema=\"transparent\" onClick={() => actions.reload()} title=\"Refresh\">\n <ArrowsRotateSolidV6 />\n </IconButton>\n </h3>\n <Dropdown\n className=\"tw-max-w-[200px] tw-ml-[8px]\"\n name=\"dashboard_opportunities_date_range\"\n onChange={({ value }) => setDateRange(value)}\n value={dateRange}\n options={DATE_RANGES}\n isClearable={false}\n />\n </div>\n <div className=\"tw-flex tw-overflow-x-auto tw-pb-[5px]\">\n {leadStats.map((stat) => (\n <QuickStat key={stat.name} stat={stat} />\n ))}\n </div>\n {loading && <Loader />}\n <Error show={Boolean(error)} onClose={() => actions.setError(null)} />\n </div>\n );\n};\n\nLeadQuickStats.propTypes = {\n dateRange: PropTypes.string.isRequired,\n userUuids: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default LeadQuickStats;\n","import { useEffect, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport { caseTransformingAxios as axios } from \"../../shared/v2/caseTransformingAxios\";\n\nconst getAgentActivities = (opts) => axios.get(\"/api/v4/agent_activities/goal_progress_web\", opts);\n\nconst createAgentActivity = (data) => axios.post(\"/api/v4/agent_activities\", data);\n\nconst useLeadGenActivities = ({ period, startDate, endDate, userUuids }) => {\n const [data, setData] = useState(null);\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n\n const refreshData = (signal) => {\n setLoading(true);\n getAgentActivities({\n params: {\n thisMonthSelected: period === \"this_month\" || undefined,\n startDate,\n endDate,\n userUuids,\n },\n signal,\n })\n .then((res) => {\n setData(res.data);\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!isCancel(err)) {\n setError(err.response.data);\n setLoading(false);\n }\n });\n };\n\n useEffect(() => {\n const abortController = new AbortController();\n refreshData(abortController.signal);\n return () => abortController.abort();\n }, [startDate, endDate, userUuids]);\n\n const actions = {\n createAgentActivity(activityData) {\n return createAgentActivity(activityData)\n .then(() => refreshData())\n .catch((err) => setError(err.response.data));\n },\n refreshData() {\n return refreshData();\n },\n setError,\n };\n\n return { actions, data, error, loading };\n};\n\nexport default useLeadGenActivities;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { debounce } from \"lodash\";\nimport PropTypes from \"prop-types\";\nimport { Plus } from \"../../../shared/v2/Icomoon\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport colors from \"../../../Reports/components/DashboardShared/helpers/colors\";\nimport Tooltip from \"../../../shared/v2/Tooltip/Tooltip\";\nimport formatters from \"../../../shared/formatters\";\nimport { useTheme } from \"../../../reducers/layoutReducer/selectors\";\n\nconst compactFormatter = new Intl.NumberFormat(\"en\", {\n notation: \"compact\",\n roundingPriority: \"morePrecision\",\n maximumFractionDigits: 1,\n maximumSignificantDigits: 2,\n});\n\nconst LeadGenActivityCard = ({ label, goalValue, isButton, value, onClick, onViewHistory }) => {\n const isPlace = useTheme().name === \"place-theme\";\n const ref = useRef(null);\n const [_isHovering, setIsHovering] = useState(false);\n const [isEdge, setIsEdge] = useState(false);\n const isHovering = isButton && _isHovering;\n const showTooltip = String(value).length > 3 || String(goalValue).length > 3;\n const bgColor = isPlace\n ? \"hover:tw-bg-semantic-blue-10 focus:tw-bg-semantic-blue-10\"\n : \"hover:tw-bg-brivity-blue-20 focus:tw-bg-brivity-blue-20\";\n\n useEffect(() => {\n const el = ref.current;\n if (isButton || !el) return () => {};\n const handleResize = debounce(() => {\n const meetsEdge = Math.abs(el.offsetLeft + el.offsetWidth - el.parentElement.offsetWidth) <= 40; // padding\n setIsEdge(meetsEdge);\n }, 200);\n handleResize();\n window.addEventListener(\"resize\", handleResize);\n return () => window.removeEventListener(\"resize\", handleResize);\n }, [ref]);\n\n return (\n // disabling eslint since this button can be a non-button as well\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n <div\n ref={ref}\n role={isButton ? \"button\" : \"\"}\n // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex\n tabIndex={isButton ? 0 : undefined}\n className={`tw-relative tw-flex tw-flex-col tw-flex-1 tw-justify-center tw-items-center tw-gap-[12px] tw-p-[8px] tw-min-h-[110px] tw-min-w-[142px] tw-transition-all tw-duration-300 ${\n isButton\n ? `tw-shadow tw-rounded-[8px] hover:tw-scale-105 focus:tw-scale-110 ${bgColor}`\n : `${\n isEdge ? \"\" : \"after:tw-content-['']\"\n } after:tw-border-solid after:tw-border-r-0 after:tw-border-[1px] after:tw-border-neutral-gray-5 after:tw-absolute after:tw-top-0 after:tw-right-[-12px] after:tw-bottom-0`\n }`}\n onClick={isButton ? onClick : undefined}\n onMouseOver={() => setIsHovering(true)}\n onMouseLeave={() => setIsHovering(false)}\n onFocus={() => setIsHovering(true)}\n onBlur={() => setIsHovering(false)}\n onKeyDown={(e) => {\n if (e.key !== \"Tab\") e.preventDefault();\n if ([\"Enter\", \" \"].includes(e.key) && isButton) onClick();\n }}\n >\n <Tooltip\n tooltipClassName={showTooltip ? \"\" : \"tw-invisible\"}\n placement=\"bottom\"\n trigger={\n <div\n className={`${\n isButton ? \"tw-whitespace-nowrap tw-text-[24px]\" : \"tw-text-[26px]\"\n } tw-font-semibold`}\n >\n {isHovering ? (\n <Plus className=\"tw-text-neutral-gray-50\" size=\"xl\" />\n ) : (\n <>\n <span className={colors.theme === \"place\" ? \"tw-text-semantic-blue-100\" : \"tw-text-teal\"}>\n {compactFormatter.format(value)}\n </span>{\" \"}\n <span className=\"tw-text-neutral-gray-50\">/ {compactFormatter.format(goalValue)}</span>\n </>\n )}\n </div>\n }\n content={`${formatters.number(value)} / ${formatters.number(goalValue)} ${!isButton ? label : \"\"}`}\n />\n <div\n className={`tw-text-12d tw-font-semibold tw-text-center tw-text-neutral-gray-50 ${\n isHovering ? \"tw-transition-all tw-duration-300 tw-mt-[-12px]\" : \"\"\n }`}\n >\n {label}\n </div>\n\n {onViewHistory && (\n <div\n className={`tw-absolute tw-overflow-hidden tw-inset-x-0 ${\n isHovering ? \"tw-h-[24px]\" : \"tw-h-0\"\n } tw-bottom-[-24px] tw-flex tw-justify-end`}\n onFocus={() => setIsHovering(true)}\n onBlur={() => setIsHovering(false)}\n >\n <TextButton\n onClick={(e) => {\n e.stopPropagation();\n onViewHistory();\n }}\n onKeyDown={(e) => {\n if (![\" \", \"Enter\"].includes(e.key)) return;\n e.stopPropagation();\n onViewHistory();\n }}\n >\n View History\n </TextButton>\n </div>\n )}\n </div>\n );\n};\n\nLeadGenActivityCard.propTypes = {\n label: PropTypes.string,\n goalValue: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n isButton: PropTypes.bool,\n onClick: PropTypes.func.isRequired,\n onViewHistory: PropTypes.func,\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n};\n\nLeadGenActivityCard.defaultProps = {\n label: \"\",\n goalValue: null,\n isButton: false,\n onViewHistory: undefined,\n value: null,\n};\n\nexport default LeadGenActivityCard;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst FormRow = ({ children, className }) => (\n <div className={`tw-flex tw-flex-wrap tw-gap-[24px] ${className}`}>{children}</div>\n);\n\nFormRow.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\n\nFormRow.defaultProps = {\n className: \"\",\n};\n\nexport default FormRow;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport DatePicker from \"../../../shared/v2/DatePicker\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport { FloatingForm } from \"../../../shared/v2/Modal\";\nimport TextInput from \"../../../shared/v2/TextInput\";\nimport FormRow from \"./FormRow\";\n\nconst validateForm = (formData) => {\n const errors = {};\n if (!formData.goalTypeId) errors.goalTypeId = \"Must select goal type\";\n if (!formData.amount) errors.amount = \"Must choose an amount\";\n if (!errors.amount && formData.amount < 1) errors.amount = \"Must choose amount greater than 0\";\n return errors;\n};\n\nconst NewLeadGenActivityModal = ({ goalTypes, open, openForType, onClose, onSubmit }) => {\n const formRef = useRef(null);\n const dropdownRef = useRef(null);\n const [errors, setErrors] = useState({});\n const [goalType, setGoalType] = useState(null);\n const [activityDate, setActivityDate] = useState(moment().format(\"MM/DD/YYYY\"));\n const goalTypeOptions = useMemo(\n () =>\n goalTypes.map((type) => ({\n label: type.displayName,\n value: type.id,\n meta: type,\n })),\n [goalTypes],\n );\n\n useEffect(() => {\n if (openForType) setGoalType(goalTypeOptions.find((gt) => String(gt.value) === openForType));\n }, [openForType, goalTypeOptions]);\n\n const resetForm = () => {\n setGoalType(null);\n formRef.current?.reset();\n };\n\n const closeModal = () => {\n resetForm();\n onClose();\n };\n\n return (\n <FloatingForm\n title=\"New Activity\"\n show={Boolean(openForType) || open}\n primaryOption=\"Save\"\n onPrimary={() => formRef.current?.dispatchEvent(new Event(\"submit\"))}\n onCancel={closeModal}\n closeOnClickOutside\n closeOnEscape\n >\n <form\n ref={formRef}\n className=\"tw-flex tw-flex-col tw-gap-[24px]\"\n onSubmit={(e) => {\n e.preventDefault();\n const formData = Object.fromEntries(new FormData(e.target));\n if (!formData.noteContent.trim()) delete formData.noteContent;\n const formErrors = validateForm(formData);\n if (Object.keys(formErrors).length > 0) setErrors(formErrors);\n else onSubmit(formData).then(closeModal);\n }}\n >\n <FormRow className=\"tw-items-end\">\n <Dropdown\n containerClassName=\"tw-basis-[40%] tw-grow\"\n label=\"Type\"\n isRequired\n name=\"goalTypeId\"\n value={goalType}\n error={errors.goalTypeId}\n menuShouldComeToFront\n onChange={(type) => {\n setErrors(({ goalTypeId, ...currentErrors }) => currentErrors);\n setGoalType(type);\n dropdownRef.current?.clearValue();\n }}\n options={goalTypeOptions}\n />\n </FormRow>\n\n <FormRow>\n <div className=\"tw-flex tw-flex-1 tw-flex-col tw-grow\">\n <DatePicker\n className=\"tw-basis-[40%] tw-grow\"\n value={activityDate}\n onChange={setActivityDate}\n inputProps={{ size: 9, label: \"Date\", isRequired: true }}\n />\n <input\n type=\"hidden\"\n name=\"activityDate\"\n value={moment(activityDate, \"MM/DD/YYYY\").toISOString()}\n />\n </div>\n <div className=\"tw-flex tw-flex-1 tw-flex-col tw-gap-[4px]\">\n <TextInput\n isRequired\n label={`# ${goalType?.label ? `of ${goalType.label}` : \"\"}`}\n error={errors.amount}\n className=\"tw-min-w-[150px] tw-w-full\"\n name=\"amount\"\n defaultValue={1}\n type=\"number\"\n onKeyDown={(e) => {\n if (/[-.]/.test(e.key)) e.preventDefault();\n }}\n onChange={() => setErrors(({ amount, ...currentErrors }) => currentErrors)}\n />\n </div>\n </FormRow>\n\n <FormRow>\n <div className=\"tw-flex tw-flex-1 tw-flex-col\">\n <TextInput label=\"Notes\" multiline name=\"noteContent\" />\n </div>\n </FormRow>\n </form>\n </FloatingForm>\n );\n};\n\nNewLeadGenActivityModal.propTypes = {\n goalTypes: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n open: PropTypes.bool.isRequired,\n openForType: PropTypes.string,\n onClose: PropTypes.func.isRequired,\n onSubmit: PropTypes.func.isRequired,\n};\n\nNewLeadGenActivityModal.defaultProps = {\n openForType: null,\n};\n\nexport default NewLeadGenActivityModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport IconButton from \"../../../shared/v2/IconButton\";\nimport { Cancel, Check, PencilSolidV6, Trash } from \"../../../shared/v2/Icomoon\";\nimport formatter from \"../../../shared/formatters\";\nimport { TD, TR } from \"../../../Reports/components/BusinessDashboard/Table/Table\";\nimport Button from \"../../../shared/v2/Button\";\nimport TextInput from \"../../../shared/v2/TextInput\";\nimport NumberField from \"../../../Goals/components/NumberField\";\nimport DatePicker from \"../../../shared/v2/DatePicker\";\n\nexport const ROW_BORDER = \"tw-border-solid tw-border-gray-10 tw-border-b-[1px] tw-border-x-0 tw-border-t-0\";\nconst FROM_FORMAT = \"YYYY-MM-DD\";\nconst TO_FORMAT = \"MM/DD/YYYY\";\n\nconst ActivityHistoryRow = ({ activity, isEditable, onDelete, onUpdate }) => {\n const [showDeleteCover, setShowDeleteCover] = useState(false);\n const [tempActivity, setTempActivity] = useState(null);\n const setValue = (name, value) => setTempActivity((prevValue) => ({ ...prevValue, [name]: value }));\n\n return (\n <TR key={activity.id} className=\"tw-relative tw-align-top\" wrapText>\n <TD className={ROW_BORDER}>{activity.user.fullName}</TD>\n\n <TD className={`${ROW_BORDER} tw-text-center`}>\n {tempActivity ? (\n <NumberField\n defaultValue={tempActivity.amount}\n format={activity.goalType.format}\n onChange={(value) => setValue(\"amount\", value)}\n />\n ) : (\n formatter[activity.goalType.format](activity.amount)\n )}\n </TD>\n\n <TD className={ROW_BORDER}>\n {tempActivity ? (\n <DatePicker\n value={moment(tempActivity.activity_date, FROM_FORMAT).format(TO_FORMAT)}\n onChange={(value) => setValue(\"activity_date\", moment(value, TO_FORMAT).toISOString())}\n inputProps={{ size: 10 }}\n />\n ) : (\n moment(activity.activityDate, FROM_FORMAT).format(TO_FORMAT)\n )}\n </TD>\n\n <TD className={ROW_BORDER} colSpan={isEditable ? 0 : 3}>\n <div className=\"tw-min-w-[200px] tw-max-w-[400px] tw-w-full\">\n {tempActivity ? (\n <TextInput\n multiline\n value={tempActivity.note_content}\n onChange={(e) => setValue(\"note_content\", e.target.value)}\n />\n ) : (\n activity.notes?.[0]?.content\n )}\n </div>\n </TD>\n\n {isEditable && (\n <>\n <TD className={ROW_BORDER}>\n {tempActivity ? (\n <IconButton\n onClick={() => {\n onUpdate(tempActivity);\n setTempActivity(null);\n }}\n >\n <Check />\n </IconButton>\n ) : (\n <IconButton\n schema=\"tertiary\"\n onClick={() =>\n setTempActivity({\n id: activity.id,\n amount: activity.amount,\n activity_date: activity.activityDate,\n note_content: activity.notes?.[0]?.content || \"\",\n })\n }\n >\n <PencilSolidV6 />\n </IconButton>\n )}\n </TD>\n\n <TD className={ROW_BORDER}>\n {tempActivity ? (\n <IconButton schema=\"tertiary\" onClick={() => setTempActivity(null)}>\n <Cancel />\n </IconButton>\n ) : (\n <IconButton schema=\"misc-trash\" onClick={() => setShowDeleteCover(true)}>\n <Trash />\n </IconButton>\n )}\n </TD>\n </>\n )}\n\n {showDeleteCover && (\n <td className=\"tw-absolute tw-inset-0 tw-bg-gray-10 tw-bg-opacity-75 tw-p-[12px] tw-flex tw-justify-end tw-gap-[16px]\">\n <Button\n schema=\"warning\"\n onClick={() => {\n setShowDeleteCover(false);\n onDelete(activity);\n }}\n >\n Delete\n </Button>\n <Button schema=\"tertiary\" onClick={() => setShowDeleteCover(false)}>\n Cancel\n </Button>\n </td>\n )}\n </TR>\n );\n};\n\nActivityHistoryRow.propTypes = {\n activity: PropTypes.objectOf({}).isRequired,\n isEditable: PropTypes.bool.isRequired,\n onDelete: PropTypes.func.isRequired,\n onUpdate: PropTypes.func.isRequired,\n};\n\nexport default ActivityHistoryRow;\n","import { useEffect, useMemo, useState } from \"react\";\nimport { caseTransformingAxios } from \"../../shared/v2/caseTransformingAxios\";\n\nconst getActivityHistory = (params, signal) =>\n caseTransformingAxios.get(\"/api/v4/agent_activities\", { params, signal });\n\nconst updateActivity = (activity) =>\n caseTransformingAxios.put(`/api/v4/agent_activities/${activity.id}`, activity);\n\nconst deleteActivity = (activity) => caseTransformingAxios.delete(`/api/v4/agent_activities/${activity.id}`);\n\nconst useActivityHistory = (goalType, userUuids) => {\n const [state, _setState] = useState({ data: null, error: false, loading: false });\n const setState = useMemo(() => (newState) => _setState((_state) => ({ ..._state, ...newState })));\n\n useEffect(() => {\n if (!goalType) return undefined;\n setState({ loading: true });\n const abortController = new AbortController();\n getActivityHistory({ goalTypeId: goalType.id, userUuids }, abortController.signal)\n .then((res) => setState({ data: res.data, loading: false, error: false }))\n .catch(() => setState({ error: true, loading: false }));\n return () => abortController.abort();\n }, [goalType, userUuids]);\n\n const actions = {\n updateActivity(activity) {\n setState({ loading: true });\n return updateActivity(activity)\n .then(({ data }) => {\n setState({\n data: state.data.map((d) => (d.id === data.id ? data : d)),\n loading: false,\n error: false,\n });\n return data;\n })\n .catch(() => setState({ loading: false, error: true }));\n },\n\n deleteActivity(activity) {\n setState({ loading: true });\n return deleteActivity(activity)\n .then(() => {\n setState({ data: state.data.filter((d) => d.id !== activity.id), loading: false, error: false });\n return true;\n })\n .catch(() => setState({ loading: false, error: true }));\n },\n };\n\n return { actions, ...state };\n};\n\nexport default useActivityHistory;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"../../../shared/v2/Modal\";\nimport { Table, TBody, TH, THead, TR } from \"../../../Reports/components/BusinessDashboard/Table/Table\";\nimport Loader from \"../Loader\";\nimport ErrorBanner from \"../../../shared/v2/ErrorBanner\";\nimport Button from \"../../../shared/v2/Button\";\nimport ActivityHistoryRow, { ROW_BORDER } from \"./ActivityHistoryRow\";\nimport useActivityHistory from \"../../services/useActivityHistory\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst ViewActivityHistoryModal = ({ goalType, onClose, userUuids }) => {\n const currentUser = useCurrentUser();\n const { actions, data, error, loading } = useActivityHistory(goalType, userUuids);\n\n return (\n <Modal\n show={Boolean(goalType)}\n closeOnEscape={false}\n onHide={onClose}\n dialogClassName=\"tw-flex tw-justify-center tw-items-center tw-min-h-full tw-max-h-full\"\n contentClassName=\"tw-space-y-[32px] tw-m-auto tw-max-w-full\"\n >\n <Modal.Header title={goalType?.displayName} closeButton />\n <Modal.Body className=\"tw-flex tw-flex-col tw-gap-[16px] tw-max-h-[50vh] tw-overflow-auto\">\n <Table className=\"tw-border-collapse\">\n <THead>\n <TR>\n <TH className={ROW_BORDER}>Logged By</TH>\n <TH className={ROW_BORDER}># of Activity</TH>\n <TH className={ROW_BORDER}>Activity Date</TH>\n <TH className={ROW_BORDER}>Notes</TH>\n <TH className={ROW_BORDER}>Edit</TH>\n <TH className={ROW_BORDER}>Delete</TH>\n </TR>\n </THead>\n <TBody>\n {goalType &&\n data?.map((activity) => (\n <ActivityHistoryRow\n activity={activity}\n isEditable={currentUser.id === activity.user.id}\n onDelete={actions.deleteActivity}\n onUpdate={actions.updateActivity}\n />\n ))}\n </TBody>\n </Table>\n {data?.length === 0 && <p>Logged activities will show up here.</p>}\n {error && <ErrorBanner errors={[\"Whoops! Something went wrong.\"]} />}\n {loading && <Loader />}\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-end tw-items-center\">\n <Button size=\"medium\" onClick={onClose}>\n Done\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nViewActivityHistoryModal.propTypes = {\n goalType: PropTypes.bool,\n onClose: PropTypes.func.isRequired,\n userUuids: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nViewActivityHistoryModal.defaultProps = {\n goalType: null,\n};\n\nexport default ViewActivityHistoryModal;\n","import moment from \"moment\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\nimport Button from \"../../../shared/v2/Button\";\nimport DatePicker from \"../../../shared/v2/DatePicker\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport { ChevronRight } from \"../../../shared/v2/Icomoon\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport useLeadGenActivities from \"../../services/useLeadGenActivities\";\nimport Loader from \"../Loader\";\nimport LeadGenActivityCard from \"./LeadGenActivityCard\";\nimport NewLeadGenActivityModal from \"./NewLeadGenActivityModal\";\nimport ViewActivityHistoryModal from \"./ViewActivityHistoryModal\";\n\nconst FROM_FORMAT = \"MM/DD/YYYY\";\nconst DATE_FORMAT = \"YYYY-MM-DD\";\n\nconst PERIOD_OPTIONS = [\n { value: \"this_week\", label: \"This Week (Mon - Sun)\" },\n { value: \"today\", label: \"Today\" },\n { value: \"yesterday\", label: \"Yesterday\" },\n { value: \"last_week\", label: \"Last Week (Mon - Sun)\" },\n { value: \"this_month\", label: \"This Month\" },\n { value: \"last_month\", label: \"Last Month\" },\n { value: \"this_quarter\", label: \"This Quarter\" },\n { value: \"last_quarter\", label: \"Last Quarter\" },\n { value: \"this_year\", label: \"This Year\" },\n { value: \"last_year\", label: \"Last Year\" },\n { value: \"custom\", label: \"Custom\" },\n];\n\nconst getDate = (position, period) => {\n let date;\n switch (period.value) {\n case \"today\":\n date = moment()[position](\"day\");\n break;\n case \"yesterday\":\n date = moment().subtract(1, \"day\")[position](\"day\");\n break;\n case \"this_week\":\n date = moment()[position](\"isoWeek\");\n if (date.year() !== moment().year()) date = moment()[position](\"year\");\n break;\n case \"last_week\":\n date = moment().subtract(1, \"week\")[position](\"isoWeek\");\n if (date.year() !== moment().year()) date = moment()[position](\"year\");\n break;\n case \"this_month\":\n date = moment()[position](\"month\");\n break;\n case \"last_month\":\n date = moment().subtract(1, \"month\")[position](\"month\");\n break;\n case \"this_quarter\":\n date = moment()[position](\"quarter\");\n break;\n case \"last_quarter\":\n date = moment().subtract(1, \"quarter\")[position](\"quarter\");\n break;\n case \"this_year\":\n date = moment()[position](\"year\");\n break;\n case \"last_year\":\n date = moment().subtract(1, \"year\")[position](\"year\");\n break;\n default:\n date = position === \"startOf\" ? moment().subtract(7, \"days\") : moment();\n date = date[position](\"day\");\n if (date.year() !== moment().year()) date = moment()[position](\"year\");\n }\n return date.format(FROM_FORMAT);\n};\n\nconst LeadGenActivities = ({ userUuids }) => {\n const [startDate, setStartDate] = useState(getDate(\"startOf\", PERIOD_OPTIONS[0]));\n const [endDate, setEndDate] = useState(getDate(\"endOf\", PERIOD_OPTIONS[0]));\n const [period, setPeriod] = useState(PERIOD_OPTIONS[0]);\n const [viewHistoryModalGoalType, setViewHistoryModalGoalType] = useState(null);\n const [newLeadGenActivityOpen, setNewLeadGenActivityOpen] = useState(false);\n const [newLeadGenActivityOpenForType, setNewLeadGenActivityOpenForType] = useState(null);\n const { actions, data, error, loading } = useLeadGenActivities({\n period: period.value,\n startDate: moment(startDate, FROM_FORMAT).format(DATE_FORMAT),\n endDate: moment(endDate, FROM_FORMAT).format(DATE_FORMAT),\n userUuids,\n });\n\n useEffect(() => {\n setStartDate(getDate(\"startOf\", period));\n setEndDate(getDate(\"endOf\", period));\n }, [period]);\n\n useEffect(() => {\n if (viewHistoryModalGoalType === null) actions.refreshData();\n }, [viewHistoryModalGoalType]);\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[20px] tw-flex-1 tw-relative tw-bg-white tw-min-w-[300px] tw-p-[20px] tw-rounded-[8px]\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <h3 className=\"tw-m-0 tw-text-18d tw-font-normal\">Activity Tracking</h3>\n <TextButton\n className=\"tw-flex tw-items-center tw-text-14d\"\n schema=\"sentence\"\n onClick={() => window.location.assign(\"/settings/goals\")}\n >\n Goal Settings <ChevronRight size=\"s\" className=\"before:tw-align-middle tw-ml-[2px]\" />\n </TextButton>\n </div>\n <div className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <Dropdown\n containerClassName=\"tw-flex-1\"\n options={PERIOD_OPTIONS}\n value={period}\n onChange={setPeriod}\n />\n {period?.value === \"custom\" && (\n <div className=\"tw-flex tw-gap-[8px]\">\n <DatePicker\n containerClassName=\"tw-flex-1\"\n inputProps={{ size: 1 }}\n value={startDate}\n onChange={(value) => {\n const momentStartDate = moment(startDate, FROM_FORMAT);\n const momentValue = moment(value, FROM_FORMAT);\n if (momentStartDate.year() !== momentValue.year()) {\n setEndDate(moment(endDate, FROM_FORMAT).year(momentValue.year()).format(FROM_FORMAT));\n }\n setStartDate(moment(value, FROM_FORMAT).format(FROM_FORMAT));\n }}\n />\n <DatePicker\n containerClassName=\"tw-flex-1\"\n inputProps={{ size: 1 }}\n value={endDate}\n onChange={(value) => {\n const momentEndDate = moment(endDate, FROM_FORMAT);\n const momentValue = moment(value, FROM_FORMAT);\n if (momentEndDate.year() !== momentValue.year()) {\n setStartDate(moment(startDate, FROM_FORMAT).year(momentValue.year()).format(FROM_FORMAT));\n }\n setEndDate(moment(value, FROM_FORMAT).format(FROM_FORMAT));\n }}\n />\n </div>\n )}\n </div>\n </div>\n <div className=\"tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-gray-5\" />\n <div className=\"tw-flex tw-flex-col tw-gap-[20px]\">\n <span className=\"tw-text-14d tw-text-neutral-gray-50 tw-font-semibold\">Brivity Activities</span>\n <div className=\"tw-flex tw-flex-wrap tw-justify-center tw-gap-x-[20px] tw-gap-y-[36px]\">\n {data?.goalTypes\n .filter(({ goalSection }) => goalSection === \"lead_interaction\")\n .map((goalType) => (\n <LeadGenActivityCard\n key={goalType.id}\n label={goalType.displayName}\n goalValue={data.goals[goalType.id]?.goalValue || 0}\n onClick={() => setNewLeadGenActivityOpenForType(String(goalType.id))}\n onViewHistory={() => setViewHistoryModalGoalType(goalType)}\n value={data.brivityActivities[goalType.id] || 0}\n />\n ))}\n </div>\n <div className=\"tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-gray-5\" />\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <span className=\"tw-text-14d tw-text-neutral-gray-50 tw-font-semibold\">Logged Activities</span>\n <Button schema=\"secondary\" onClick={() => setNewLeadGenActivityOpen(true)}>\n + Log\n </Button>\n </div>\n <div className=\"tw-flex tw-flex-wrap tw-justify-center tw-gap-x-[20px] tw-gap-y-[36px] tw-pb-[20px]\">\n {data?.goalTypes\n .filter(({ goalSection }) => goalSection === \"activity\")\n .map((goalType) => (\n <LeadGenActivityCard\n key={goalType.id}\n isButton\n label={goalType.displayName}\n goalValue={data.goals[goalType.id]?.goalValue || 0}\n onClick={() => setNewLeadGenActivityOpenForType(String(goalType.id))}\n onViewHistory={() => setViewHistoryModalGoalType(goalType)}\n value={data.loggedActivities[goalType.id] || 0}\n />\n ))}\n </div>\n </div>\n\n <NewLeadGenActivityModal\n goalTypes={(data?.goalTypes || []).filter(({ goalSection }) => goalSection === \"activity\")}\n open={newLeadGenActivityOpen}\n openForType={newLeadGenActivityOpenForType}\n onClose={() => {\n setNewLeadGenActivityOpen(false);\n setNewLeadGenActivityOpenForType(null);\n }}\n onSubmit={actions.createAgentActivity}\n />\n\n <ViewActivityHistoryModal\n userUuids={userUuids}\n goalType={viewHistoryModalGoalType}\n onClose={() => setViewHistoryModalGoalType(null)}\n />\n\n <Error className=\"tw-mt-[20px]\" show={Boolean(error)} onClose={() => actions.setError(null)} />\n {loading && <Loader />}\n </div>\n );\n};\n\nLeadGenActivities.propTypes = {\n userUuids: PropTypes.arrayOf(PropTypes.string).isRequired,\n currentUser: PropTypes.shape({ admin: PropTypes.bool, id: PropTypes.number }),\n};\n\nLeadGenActivities.defaultProps = {\n currentUser: null,\n};\n\nexport default LeadGenActivities;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Checkbox = ({ checked, labelText, ...props }) => {\n const fontAwesomeCheckboxIcon = checked ? \"\\uF14A\" : \"\\uF096\";\n\n return (\n <label className=\"tw-text-12px tw-pl-30px tw-mb-0 tw-cursor-pointer tw-text-gray-75\">\n <div className=\"tw-inline-block tw-w-1px\">\n <span\n className=\"tw-ml-[-27px] tw-pr-[13px] tw-text-teal\"\n style={{\n font: \"normal normal normal 17px/1 FontAwesome\",\n textRendering: \"auto\",\n WebkitFontSmoothing: \"antialiased\",\n MozOsxFontSmoothing: \"grayscale\",\n }}\n >\n {fontAwesomeCheckboxIcon}\n </span>\n </div>\n\n <input type=\"checkbox\" className=\"tw-hidden\" checked={checked} {...props} />\n\n {labelText}\n </label>\n );\n};\nCheckbox.propTypes = {\n checked: PropTypes.bool,\n labelText: PropTypes.string.isRequired,\n};\nCheckbox.defaultProps = {\n checked: false,\n};\n\nexport default Checkbox;\n","import React, { useEffect, useState } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport Button from \"../../shared/v2/Button\";\n\nconst ScrollButton = () => {\n const [show, setShow] = useState(false);\n const [portal, setPortal] = useState(null);\n\n useEffect(() => {\n const div = document.createElement(\"div\");\n document.body.appendChild(div);\n setPortal(div);\n return () => div.remove();\n }, []);\n\n useEffect(() => {\n const handleScroll = () => {\n setShow((document.scrollingElement?.scrollTop || 0) > 20);\n };\n window.addEventListener(\"scroll\", handleScroll);\n return () => window.removeEventListener(\"scroll\", handleScroll);\n });\n\n if (!portal || !show) return null;\n\n return ReactDOM.createPortal(\n <Button\n className=\"!tw-fixed tw-bottom-[10px] tw-right-[10px] tw-w-[100px]\"\n schema=\"secondary\"\n onClick={() => window.scrollTo({ top: 0, behavior: \"smooth\" })}\n >\n Back to Top\n </Button>,\n portal,\n );\n};\n\nexport default ScrollButton;\n","import React, { useState } from \"react\";\nimport { format, parse, set } from \"date-fns\";\nimport axios from \"axios\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { EllipsisSolidV6 } from \"@shared/v2/Icomoon\";\nimport Error from \"@shared/Error\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport { parseISO } from \"date-fns\";\n\nconst INTERACTION_TYPE_OPTIONS = [\n { value: \"other\", label: \"Other\" },\n { value: \"pop_by\", label: \"Pop By\" },\n { value: \"mail\", label: \"Mail\" },\n { value: \"social_media\", label: \"Social Media\" },\n];\n\nconst OtherInteract = ({ otherInteract, otherInteract: { person, personAvatar } }) => {\n const [loading, setLoading] = useState(false);\n const [isOpen, setIsOpen] = useState(false);\n const [errors, setErrors] = useState(null);\n const [interaction, setInteraction] = useState(otherInteract.interaction);\n\n const saveOther = () => {\n setLoading(true);\n axios\n .post(`/people/${interaction.person_id}/interactions`, {\n interaction,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then(() => {\n setLoading(false);\n setIsOpen(false);\n window.location.reload();\n })\n .catch((err) => setErrors(err.response.data?.content));\n };\n\n const setValue = (name, value) =>\n setInteraction((oldInteraction) => ({ ...oldInteraction, [name]: value }));\n\n return (\n <div className=\"modal-container\">\n <Tooltip\n placement=\"right\"\n trigger={\n <IconButton aria-label=\"other interaction\" onClick={() => setIsOpen(true)}>\n <EllipsisSolidV6 />\n </IconButton>\n }\n content=\"Other\"\n />\n\n <Modal\n id=\"other-interaction-modal\"\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-max-w-[700px] tw-w-[100vw] tw-flex tw-flex-col tw-gap-[32px]\"\n show={isOpen}\n onHide={() => setIsOpen(false)}\n >\n <Modal.Header title=\"Interaction\" closeButton={!loading} />\n <Modal.Body className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <div className=\"contact-card\">\n <span className=\"tooltipper circled user-image default-avatar\">{personAvatar}</span>\n <p style={{ fontSize: \"16px\", fontWeight: \"600\", color: \"#666666\" }}>\n {person.first_name} {person.last_name}\n </p>\n <div style={{ fontSize: \"14px\", color: \"#B3B3B3\" }} className=\"overflow\">\n {person.main_email}\n </div>\n </div>\n {errors && <Error errorMessage={errors} />}\n <div className=\"tw-flex tw-gap-[12px]\">\n <DatePicker\n containerClassName=\"tw-flex-1\"\n inputProps={{ label: \"Date\" }}\n value={format(\n typeof interaction.interacted_at === \"object\"\n ? interaction.interacted_at\n : parseISO(interaction.interacted_at),\n \"MM/dd/yyyy\",\n )}\n onChange={(date) => {\n const d = new Date();\n setValue(\n \"interacted_at\",\n set(parse(date, \"MM/dd/yyyy\", d), {\n hours: d.getHours(),\n minutes: d.getMinutes(),\n }).toISOString(),\n );\n }}\n />\n <Dropdown\n containerClassName=\"tw-flex-1\"\n label=\"Type\"\n options={INTERACTION_TYPE_OPTIONS}\n value={INTERACTION_TYPE_OPTIONS.find((o) => o.value === interaction.interaction_type)}\n onChange={(o) => setValue(\"interaction_type\", o.value)}\n />\n </div>\n <TextInput\n multiline\n label={\n <div className=\"tw-w-full tw-flex tw-justify-between tw-items-end\">\n <span>Notes</span>\n <AiAssistant\n messageType=\"Generic\"\n contactUuid={interaction.person_uuid}\n onInsertClick={(text) => setValue(\"comment\", text)}\n />\n </div>\n }\n value={interaction.comment}\n rows={5}\n onChange={(e) => setValue(\"comment\", e.target.value)}\n />\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button size=\"medium\" disabled={loading} schema=\"tertiary\" onClick={() => setIsOpen(false)}>\n Cancel\n </Button>\n <Button size=\"medium\" isLoading={loading} onClick={saveOther}>\n Save\n </Button>\n </Modal.Footer>\n </Modal>\n </div>\n );\n};\n\nexport default OtherInteract;\n","import PropTypes from \"prop-types\";\n\nexport const ADS_TYPES = [\"ads-retarget\", \"ads-remarket\"];\n\nexport const QUESTION_TYPES = [\n \"contact_form_ask_question\",\n \"contact_form_ask_a_question\",\n \"contact_form_questions_about\",\n];\n\nexport const SHOWING_TYPES = [\"scheduled_showing\", \"showing_scheduled\", \"ad_scheduled_showing\"];\n\nexport const HOME_ESTIMATE_TYPES = [\n \"home_value\",\n \"contact_form_get_accurate_estimate\",\n \"get_accurate_estimate\",\n];\n\nexport const LABEL_CATEGORIES = {\n home_value: \"submitted a home valuation\",\n contact_form_get_accurate_estimate: \"submitted a home valuation\",\n get_accurate_estimate: \"submitted a home valuation\",\n ad_scheduled_showing: \"requested a showing\",\n scheduled_showing: \"requested a showing\",\n showing_scheduled: \"requested a showing\",\n contact_form_ask_question: \"asked a question\",\n contact_form_ask_a_question: \"asked a question\",\n contact_form_questions_about: \"asked a question\",\n start_offer: \"submitted a start offer form\",\n \"ads-retarget\": \"returned to website via Brivity Connect retargeting campaign\",\n \"ads-remarket\": \"returned to website via Brivity Connect remarketing campaign\",\n};\n\nexport const getIconClass = (kind) => {\n if (ADS_TYPES.includes(kind)) return \"repeat\";\n if (QUESTION_TYPES.includes(kind)) return \"question\";\n if (SHOWING_TYPES.includes(kind)) return \"home\";\n if (HOME_ESTIMATE_TYPES.includes(kind)) return \"dollar\";\n return \"briefcase\";\n};\n\nexport const getEventDetailType = (kind) => {\n if (ADS_TYPES.includes(kind)) return kind;\n if (QUESTION_TYPES.includes(kind)) return \"asked_a_question\";\n if (SHOWING_TYPES.includes(kind)) return \"requested_showing\";\n if (HOME_ESTIMATE_TYPES.includes(kind)) return \"home_value\";\n return \"start_offer\";\n};\n\nexport const eventTypeProps = PropTypes.shape({\n kind: PropTypes.string,\n email_present: PropTypes.bool,\n managed_number: PropTypes.string,\n // eslint-disable-next-line react/forbid-prop-types\n person: PropTypes.any,\n // eslint-disable-next-line react/forbid-prop-types\n person_phone_number: PropTypes.any,\n // eslint-disable-next-line react/forbid-prop-types\n timeline_fields: PropTypes.any.isRequired,\n});\n","import React from \"react\";\nimport capitalize from \"capitalize\";\n\nconst FORMATTED_KEYS = {\n Amount: \"Offer Amount\",\n \"Need financing_advice\": \"Mortgage Pre-Approval\",\n \"Have seen_home_in_person\": \"Have Seen Home In Person\",\n};\n\nconst OfferDetails = ({ event }) => {\n const descriptionItems = [];\n const keyAndValueStrings = event.timeline_fields.comments?.split(/<br \\/>|<br>/) || [];\n\n for (let index = 0; index < keyAndValueStrings.length; index += 1) {\n const detailString = keyAndValueStrings[index];\n const [key, value] = detailString.split(\": \");\n const formattedKey = FORMATTED_KEYS[key];\n\n if (index === 0) {\n descriptionItems.push(detailString);\n } else if (formattedKey) {\n let formattedValue = value;\n formattedValue = formattedValue.replace(\"Http\", \"http\");\n formattedValue = formattedValue.replace(\"$ \", \"$\");\n formattedValue = capitalize(formattedValue);\n descriptionItems.push(`<span class=\"tw-text-[#666] tw-font-bold\">${formattedKey}:</span> ${value}`);\n }\n }\n\n return descriptionItems.map((description, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <div key={i} dangerouslySetInnerHTML={{ __html: description }} />\n ));\n};\n\nexport default OfferDetails;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { eventTypeProps, getEventDetailType } from \"../utils/events\";\nimport OfferDetails from \"./OfferDetails\";\n\nconst EventTitle = ({ children }) => <span className=\"tw-text-gray-75 tw-font-semibold\">{children}</span>;\n\nEventTitle.propTypes = {\n children: PropTypes.string.isRequired,\n};\n\nconst EventDetails = ({ event }) => {\n const type = getEventDetailType(event.kind);\n\n if (type === \"home_value\") {\n return (\n <div>\n <div>\n <EventTitle>Address: </EventTitle>\n <span>{event.timeline_fields.address}</span>\n </div>\n <div>\n {event.timeline_fields.search_link && (\n <a\n className=\"tw-text-teal\"\n href={event.timeline_fields.search_link}\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n See home value estimate\n </a>\n )}\n </div>\n <div>\n <EventTitle>Bed: </EventTitle>\n <span>{event.timeline_fields.bed} </span>\n <EventTitle>Bath: </EventTitle>\n <span>{event.timeline_fields.bath}</span>\n </div>\n <div>\n <EventTitle>Sqft: </EventTitle>\n {event.timeline_fields.square_feet}\n </div>\n </div>\n );\n }\n\n if (type === \"requested_showing\") {\n return (\n <div>\n <div>\n <EventTitle>Type: </EventTitle>\n <span>{event.schedule_tour_type}</span>\n </div>\n <div>\n <EventTitle>Schedule Date: </EventTitle>\n <span>{event.timeline_fields.scheduled_date}</span>\n </div>\n <div>\n <EventTitle>Availability: </EventTitle>\n <span>{event.timeline_fields.availability}</span>\n </div>\n <div>\n <EventTitle>Comment: </EventTitle>\n <span>{event.timeline_fields.comments}</span>\n </div>\n </div>\n );\n }\n\n if (type === \"asked_a_question\") {\n const href = event.timeline_fields.comments?.split(\"URL:\")[1];\n return (\n <>\n <div>\n <EventTitle>Comment: </EventTitle>\n <span\n dangerouslySetInnerHTML={{\n __html: event.timeline_fields.comments?.split(\"URL\")[0],\n }}\n />\n </div>\n {href && (\n <div>\n <EventTitle>URL: </EventTitle>\n <a className=\"tw-text-teal tw-break-all\" href={href} target=\"_blank\" rel=\"noreferrer\">\n {href}\n </a>\n </div>\n )}\n </>\n );\n }\n\n if (type === \"start_offer\") {\n return <OfferDetails event={event} />;\n }\n\n if (type === \"ads-retarget\") {\n return (\n <div>\n <EventTitle>Tag: </EventTitle>\n {event.timeline_fields.utm_campaign}\n </div>\n );\n }\n\n if (type === \"ads-remarket\") {\n return (\n <div>\n {event.timeline_fields.referrer && (\n <div>\n Referrer:{\" \"}\n <a href={event.timeline_fields.referrer} target=\"_blank\" rel=\"noreferrer\">\n {event.timeline_fields.referrer.slice(0, 50)}\n </a>\n </div>\n )}\n {event.timeline_fields.url && (\n <div>\n Landing Page:{\" \"}\n <a href={event.timeline_fields.url} target=\"_blank\" rel=\"noreferrer\">\n {event.timeline_fields.url.slice(0, 50)}\n </a>\n </div>\n )}\n </div>\n );\n }\n\n return null;\n};\n\nEventDetails.propTypes = {\n event: eventTypeProps.isRequired,\n};\n\nexport default EventDetails;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { CalendarCheckSolidV6, CommentSolidV6, EnvelopeSolidV6, PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport { Col } from \"../../shared/v1\";\nimport OtherInteract from \"../../People/components/OtherInteract\";\n\nimport EventDetails from \"./EventDetails\";\nimport { eventTypeProps, getIconClass, LABEL_CATEGORIES } from \"../utils/events\";\nimport Tooltip from \"../../shared/v2/Tooltip/Tooltip\";\nimport { setCallParams } from \"../../reducers/dialerReducer/dialerReducer\";\n\nconst EventItem = ({\n event,\n event: {\n email_present: emailPresent,\n event_type: eventType,\n interaction,\n kind,\n managed_number: managedNumber,\n person,\n person_avatar: personAvatar,\n person_email: personEmail,\n person_phone_number: personPhoneNumber,\n time_ago: timeAgo,\n timeline_fields: timelineFields,\n },\n openSmsModalWithPerson,\n}) => {\n const dispatch = useDispatch();\n const launchEmailModal = () => {\n if (emailPresent) Brivity.EmailInteraction.showModal(person.id);\n };\n\n const launchApptModal = () => {\n Brivity.Interaction.showModal(person.id, \"appointment\");\n };\n\n const otherEventInteraction = {\n ...interaction,\n interaction_type: \"other\",\n interacted_at: new Date(),\n };\n const propertyObject = timelineFields?.property || {};\n const iconClass = getIconClass(kind);\n const bedString = !propertyObject.bedrooms ? \"\" : `${propertyObject.bedrooms} Bed`;\n const bathString = !propertyObject.bathrooms ? \"\" : `${propertyObject.bathrooms} Bath`;\n const bedBathString = `${bedString} | ${bathString}`.trim();\n\n if (!timelineFields) return null;\n return (\n <Col className=\"tw-flex tw-py-[20px] tw-min-h-[191px] tw-border-solid tw-border-neutral-gray-5 tw-border-0 tw-border-b-[1px]\">\n <span className=\"fa-stack fa-lg tw-mr-[15px] tw-mt-[-8px] tw-w-[2.3em]\">\n <i className=\"fa fa-circle fa-stack-2x\" />\n <i\n className={`tw-text-[22px] tw-text-gray-75 tw-bg-white tw-p-[0px] tw-border-solid tw-border-[2px] tw-border-gray-75 tw-rounded-full fa fa-${iconClass} fa-stack-1x `}\n />\n </span>\n\n <div className=\"tw-flex tw-justify-between tw-w-full\">\n <div className=\"tw-flex tw-flex-col tw-w-[30%]\">\n <div>\n <a href={`/people/${person.slug}`}>\n <span className=\"tw-text-gray-75 tw-font-bold\">\n {person.first_name} {person.last_name}\n </span>\n </a>{\" \"}\n <span>{LABEL_CATEGORIES[kind]}</span>;\n </div>\n <div id=\"detail-interaction-buttons\">\n <div className=\"interaction-icon tw-flex tw-p-[4px]\">\n <Tooltip\n className=\"tw-p-[3px]\"\n innerClassName=\"tw-max-w-500px\"\n placement=\"right\"\n trigger={\n <IconButton onClick={launchEmailModal} disabled={!emailPresent}>\n <EnvelopeSolidV6 />\n </IconButton>\n }\n content={personEmail || \"\"}\n />\n <Tooltip\n className=\"tw-p-[3px]\"\n innerClassName=\"tw-max-w-500px\"\n placement=\"right\"\n trigger={\n <IconButton\n onClick={() =>\n dispatch(setCallParams({ leadUuids: [person.uuid], callSource: \"Dashboard\" }))\n }\n disabled={!personPhoneNumber}\n >\n <PhoneSolidV6 />\n </IconButton>\n }\n content={personPhoneNumber || \"\"}\n />\n <Tooltip\n innerClassName=\"tw-max-w-[500px]\"\n placement=\"right\"\n className=\"tw-p-[3px]\"\n trigger={\n <IconButton\n disabled={!managedNumber || !personPhoneNumber}\n onClick={() => openSmsModalWithPerson({ data: { attributes: person } })}\n >\n <CommentSolidV6 />\n </IconButton>\n }\n content={managedNumber && personPhoneNumber}\n />\n <Tooltip\n innerClassName=\"tw-max-w-[500px]\"\n placement=\"right\"\n className=\"tw-p-3px\"\n trigger={\n <IconButton onClick={launchApptModal}>\n <CalendarCheckSolidV6 />\n </IconButton>\n }\n content=\"Log Appointment\"\n />\n <span className=\"tw-p-[3px]\">\n <OtherInteract\n otherInteract={{\n person,\n personAvatar,\n personFirstName: person.first_name,\n personLastName: person.last_name,\n interaction: otherEventInteraction,\n }}\n />\n </span>\n </div>\n </div>\n <EventDetails event={event} />\n </div>\n\n {eventType !== \"ads-remarket\" && (\n <div\n className=\"tw-self-center\"\n role=\"button\"\n tabIndex={0}\n onClick={() => timelineFields.property?.url && window.open(timelineFields.property.url)}\n onKeyDown={(e) => {\n if ((e.key === \"Enter\" || e.key === \" \") && timelineFields.property?.url) {\n window.open(timelineFields.property.url);\n }\n }}\n >\n {timelineFields.property?.main_photo && (\n <div\n className=\"tw-relative tw-cursor-pointer tw-w-[260px] tw-h-[150px] tw-bg-cover\"\n style={{\n backgroundImage: `linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(${timelineFields.property.main_photo}`,\n }}\n >\n <div className=\"tw-absolute tw-bottom-[20px] tw-left-[20px] tw-w-[80%] tw-text-shadow-bootstrap-2 tw-text-white\">\n <span className=\"tw-text-[24px]\">{`$ ${timelineFields.property.value} `}</span>\n <span>{timelineFields.property.street_address}</span>\n <span>\n {` ${timelineFields.property.city}, ${timelineFields.property.state} ${timelineFields.property.zip} `}\n </span>\n <span>{bedBathString}</span>\n </div>\n </div>\n )}\n </div>\n )}\n\n <div>\n <label>{timeAgo}</label>\n </div>\n </div>\n </Col>\n );\n};\n\nEventItem.propTypes = {\n event: eventTypeProps.isRequired,\n openSmsModalWithPerson: PropTypes.func.isRequired,\n};\n\nexport default EventItem;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { CommentSlashRegularV6 } from \"@icons\";\nimport { Col } from \"../../shared/v1\";\n\nconst AutoPlanEvent = ({ event, dismissEvent, isDismissing, isDismissed }) => (\n <Col\n className={`tw-flex tw-py-[20px] tw-border-solid tw-border-0 tw-border-b-[1px] tw-border-gray-light transition-all tw-duration-1000 ${\n isDismissing ? \"tw-h-[0px] tw-opacity-0\" : \"tw-min-h-[100px] tw-opacity-100\"\n }`}\n >\n <span className=\"tw-mr-[15px] tw-flex-none tw-flex tw-justify-center tw-items-center tw-w-[38px] tw-h-[38px] tw-rounded-full tw-border-solid tw-border-[2px]\">\n {event.type === \"Unsubscribed\" ? (\n <CommentSlashRegularV6 size=\"xl\" />\n ) : (\n <i className={`tw-text-[22px] fa fa-${event.icon}`} />\n )}\n </span>\n <div className=\"tw-flex tw-justify-between tw-w-full\">\n <div className=\"tw-w-[90%] tw-pr-[20px]\">\n <a\n href={event.link_to_resolve}\n className=\"tw-w-full tw-no-underline\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n <div className=\"tw-flex tw-flex-col\">\n <div>\n <span className=\"tw-text-[#f2714d]\">{event.error_cause}</span>\n {\" for \"}\n <span className=\"tw-font-semibold tw-text-gray-75\">{event.title}</span>\n {\" for Auto Plan \"}\n <span>"{event.plan_name}"</span>\n </div>\n <div className=\"tw-mt-[20px]\">\n <span>{event.error_message}</span>\n </div>\n </div>\n </a>\n </div>\n <div>\n <label>{event.time_ago}</label>\n {!isDismissed && (\n <div\n role=\"button\"\n tabIndex={0}\n onKeyDown={(e) => {\n if (e.key !== \"Tab\") e.preventDefault();\n if ([\"Enter\", \" \"].includes(e.key)) dismissEvent(event);\n }}\n onClick={() => dismissEvent(event)}\n className=\"tw-text-teal tw-text-right tw-font-[12px]\"\n >\n Dismiss\n </div>\n )}\n </div>\n </div>\n </Col>\n);\n\nAutoPlanEvent.propTypes = {\n dismissEvent: PropTypes.func.isRequired,\n isDismissing: PropTypes.bool.isRequired,\n isDismissed: PropTypes.bool.isRequired,\n event: PropTypes.shape({\n error_cause: PropTypes.string,\n error_message: PropTypes.string,\n icon: PropTypes.string,\n link_to_resolve: PropTypes.string,\n plan_name: PropTypes.string,\n title: PropTypes.string,\n time_ago: PropTypes.string,\n type: PropTypes.string,\n }).isRequired,\n};\n\nexport default AutoPlanEvent;\n","import axios from \"axios\";\nimport { sortBy } from \"lodash\";\nimport { useEffect, useRef, useState } from \"react\";\n\nconst headers = {\n \"content-type\": \"application/json\",\n accept: \"application/json\",\n};\n\nexport const getDashboardData = (params, signal) =>\n axios.get(\"/dashboard\", {\n headers,\n params,\n signal,\n });\n\nexport const markEventDismissed = (id) =>\n axios.post(\n \"/mark_event_dismissed\",\n {\n auto_plan_uuid: id,\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n { headers },\n );\n\nconst useRecentActivity = ({ eventType, userUuids }) => {\n const [data, setData] = useState([]);\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n const [page, setPage] = useState(0);\n const prevEventType = useRef();\n\n useEffect(() => {\n const startPage = eventType === \"timelines\" ? 0 : 1;\n if (prevEventType.current !== eventType) {\n prevEventType.current = eventType;\n if (page !== startPage) {\n setPage(startPage);\n return () => {};\n }\n }\n\n const abortController = new AbortController();\n setLoading(true);\n getDashboardData(\n {\n event_type: eventType,\n page,\n user_uuids: userUuids.filter((uuid) => uuid !== \"all\"),\n },\n abortController.signal,\n )\n .then((res) => {\n setData((currentData) =>\n sortBy(page === startPage ? res.data : [...currentData, ...res.data], \"time_ago_epoch\"),\n );\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setLoading(false);\n setError(true);\n }\n });\n return () => abortController.abort();\n }, [eventType, page, userUuids]);\n\n const actions = {\n clearError: () => setError(null),\n dismissEvent: (event) => {\n setLoading(true);\n markEventDismissed(event.id)\n .then(() =>\n setData((currentData) =>\n currentData.map((e) => (e.id === event.id ? { ...e, dismissed: true } : e)),\n ),\n )\n .catch()\n .finally(() => setLoading(false));\n },\n loadMore: () => setPage((p) => p + 1),\n };\n\n return { actions, data, error, eventType, loading };\n};\n\nexport default useRecentActivity;\n","import React from 'react';\nimport PropTypes from 'prop-types';\n\nconst EmptySmsHistory = ({ show, containerClassName }) => show && (\n <div className={`tw-flex tw-flex-col tw-items-center tw-justify-center ${containerClassName}`}>\n <div className=\"tw-text-center tw-text-gray-50 tw-w-[458px]\">\n <div className=\"tw-text-14d tw-mb-[8px]\">\n You haven’t exchanged any text messages with this person yet. \n </div>\n <div className=\"tw-text-12d tw-italic\">\n Note: First messages to this sender will feature “By the way, if you prefer not to be texted just tell me to stop” for compliance.\n </div>\n </div>\n </div>\n)\n\nEmptySmsHistory.propTypes = {\n show: PropTypes.bool.isRequired,\n containerClassName: PropTypes.string,\n};\n\nEmptySmsHistory.defaultProps = {\n containerClassName: '',\n};\n\nexport default EmptySmsHistory;\n","import React from \"react\";\nimport \"@brivity/ai-components/dist/style.css\";\nimport \"@brivity/ai-components-v2/dist/style.css\";\nimport { AiComponentsProvider, AiSummary as AiSummaryV1 } from \"@brivity/ai-components\";\nimport {\n AiComponentsProvider as AiComponentsProviderV2,\n AiSummary as AiSummaryV2,\n} from \"@brivity/ai-components-v2\";\nimport useAiToken from \"./hooks/useAiToken\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\n\nconst AiSummary = ({ allowAddAI, leadPersonUuid, phoneStatus, variant }) => {\n const featureFlags = useFeatureFlags();\n const { token, apiUrl } = useAiToken();\n\n if (!token || !leadPersonUuid) return null;\n\n if (featureFlags.aiSummaryV2) {\n return (\n <AiComponentsProviderV2\n apiUrl={apiUrl}\n theme={document.body.classList.contains(\"place-theme\") ? \"ai-place\" : \"ai-brivity\"}\n token={token}\n >\n <AiSummaryV2 allowAddAI={allowAddAI} leadPersonUuid={leadPersonUuid} variant={variant} />\n </AiComponentsProviderV2>\n );\n }\n\n return (\n <AiComponentsProvider\n apiUrl={apiUrl}\n theme={document.body.classList.contains(\"place-theme\") ? \"ai-place\" : \"ai-brivity\"}\n token={token}\n >\n <AiSummaryV1\n allowAddAI={allowAddAI}\n leadPersonUuid={leadPersonUuid}\n phoneStatus={phoneStatus}\n variant={variant}\n />\n </AiComponentsProvider>\n );\n};\n\nexport default AiSummary;\n","import React from \"react\";\nimport moment from \"moment\";\nimport Modal from \"./v2/Modal\";\n\nconst MmsMediaModal = ({ mediaIndex, message, onClose }) => {\n const media =\n message?.mmsMedia?.[mediaIndex] || message?.mms_media?.[mediaIndex] || message?.attachments?.[mediaIndex];\n\n const renderMedia = () => {\n // TODO: bring this back if/when we have the content type for old messages in the new api\n // if (/(?:jpeg|jpg|gif|png)$/.test(media?.contentType || media?.fileName)) {\n return <img src={media?.url || media?.fileUrl || media?.fileAccessKey} className=\"tw-w-full tw-h-auto\" />;\n // } else {\n // return <div>Unsupported media type</div>;\n // }\n };\n\n return (\n <Modal\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[720px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col\"\n show={Boolean(media)}\n onHide={onClose}\n >\n <Modal.Header\n title=\"MMS Message\"\n description={`${message?.createdByAlias || \"No Name\"} - ${moment(message?.dateCreated).format(\n \"MMMM Do YYYY, h:mm a\",\n )}`}\n closeButton\n />\n <Modal.Body className=\"tw-overflow-auto\">{renderMedia()}</Modal.Body>\n </Modal>\n );\n};\n\nexport default MmsMediaModal;\n","import React, { useEffect, useState, useMemo } from \"react\";\nimport { CirclePlaySolidV6 } from \"../v2/Icomoon\";\n\nimport axios from \"axios\";\nimport { tryCatchHandlr } from \"../Utilities\";\n\n// Renders Text\nexport const TextRender = ({ text, className }) => <div className={className}>{text}</div>;\n\n// Renders Thumbnail given URL has meta[property=\"og:url\"]\nexport const ThumbNailRender = ({ url, title, description, image, isVid }) => (\n <a\n href={url}\n target=\"_blank\"\n rel=\"noreferrer\"\n className=\"tw-w-[356px] tw-h-[252px] tw-rounded-[8px] tw-border tw-border-gray-10 tw-m-[6px] tw-bg-tinted-gray-50 tw-flex tw-flex-col hover:tw-no-underline tw-group tw-overflow-hidden\"\n >\n <div className=\"tw-relative tw-bg-black tw-flex tw-justify-center\">\n <div\n className={`${isVid && \"group-hover:tw-bg-black\"} tw-opacity-20 tw-w-full tw-h-full tw-absolute`}\n ></div>\n {isVid && (\n <CirclePlaySolidV6\n size=\"xxxl\"\n className=\"group-hover:tw-visible tw-invisible tw-absolute tw-inset-0 tw-m-auto tw-text-white\"\n />\n )}\n <img src={image} alt={title} className=\"tw-h-[200px]\" />\n </div>\n <div className=\"tw-py-[8px] tw-px-[16px] tw-overflow-hidden tw-whitespace-nowrap\">\n <div className=\"tw-text-11px tw-font-bold tw-text-black tw-leading-[16px] tw-overflow-ellipsis tw-overflow-hidden\">\n {title}\n </div>\n <div className=\"tw-text-gray-50 tw-text-10px tw-leading-[16px] tw-overflow-ellipsis tw-overflow-hidden\">\n {description}\n </div>\n </div>\n </a>\n);\n\n// Renders anchor given URL does not have meta[property=\"og:url\"]\nexport const AnchorRender = ({ text, className }) => (\n <a href={text} className={`tw-underline ${className}`} target=\"_blank\" rel=\"noreferrer\">\n {text}\n </a>\n);\n\n// Branches Link either from Anchor <-> Thumbnail preview\nexport const LinkRender = ({ text, className }) => {\n const [{ url, title, description, image, isVid }, setPreview] = useState({\n url: null,\n title: null,\n description: null,\n image: null,\n isVid: false,\n });\n\n useEffect(() => {\n (async () => {\n const req = axios.get(text);\n const [res] = await tryCatchHandlr(req);\n\n const html = res?.data;\n const parser = new DOMParser();\n const doc = parser.parseFromString(html, \"text/html\");\n\n const title = doc?.querySelector('meta[property=\"og:title\"]')?.getAttribute(\"content\");\n const description = doc?.querySelector('meta[property=\"og:description\"]')?.getAttribute(\"content\");\n const url =\n doc?.querySelector('meta[property=\"og:video\"]')?.getAttribute(\"content\") ||\n doc?.querySelector('meta[property=\"og:url\"]')?.getAttribute(\"content\");\n const image = doc?.querySelector('meta[property=\"og:image\"]')?.getAttribute(\"content\");\n const isVid = Boolean(doc?.querySelector('meta[property=\"og:video\"]')?.getAttribute(\"content\"));\n\n setPreview({\n url,\n title,\n description,\n image,\n isVid,\n });\n })();\n }, [text]);\n\n return url ? (\n <ThumbNailRender\n url={url}\n title={title}\n description={description}\n className={className}\n image={image}\n isVid={isVid}\n />\n ) : (\n <AnchorRender text={text} className={`${className} tw-break-all`} />\n );\n};\n\n// Branches Message from to either Span <-> Link\nconst LinkTextRender = ({ text, className }) => {\n const LinkText = useMemo(() => (text.match(/^https?:\\/\\/\\S+$/) ? LinkRender : TextRender), [text]);\n\n return <LinkText text={text} className={className} />;\n};\n\nexport default LinkTextRender;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoRegularV6, SparklesSolidV6 } from \"@shared/v2/Icomoon\";\nimport twilioErrorCodes from \"@shared/v2/twilioErrorCodes\";\nimport PreTooltipContent from \"./PreTooltipContent\";\n\nconst ERROR_TITLE = {\n allFailed: \"Undelivered to all\",\n someFailed: \"Undelivered to some\",\n};\n\nconst SmsMessage = ({ content, isInbound, message, failureType, isGabbiMessage, failedRecipients }) => {\n const { dateCreated, createdByAvatar, createdByAlias } = message;\n const createdByName = isGabbiMessage ? \"AI\" : createdByAlias || \"No Name\";\n const dateComponent = (\n <span className={`tw-text-12d tw-text-neutral-gray-50${failureType ? \" tw-italic\" : \"\"}`}>\n {ERROR_TITLE[failureType] || moment(dateCreated).format(\"h:mm A\")}{\" \"}\n </span>\n );\n const avatarComponent = isGabbiMessage ? (\n <Tooltip\n content=\"AI is applied to this lead.\"\n innerClassName=\"tw-max-w-[100px]\"\n trigger={\n <div className=\"tw-bg-semantic-purple-5 tw-rounded-full tw-w-[36px] tw-h-[36px] tw-flex-none tw-flex tw-justify-center tw-items-center\">\n <SparklesSolidV6 className=\"tw-text-semantic-purple-100\" size=\"l\" />\n </div>\n }\n />\n ) : (\n <Avatar src={createdByAvatar} size=\"medium\" alt={createdByAlias} />\n );\n return (\n <div className={`${isInbound ? \"tw-self-start\" : \"tw-self-end\"} tw-flex tw-gap-[10px]`}>\n {isInbound && avatarComponent}\n <div className={`tw-flex tw-flex-col ${isInbound ? \"tw-items-start\" : \"tw-items-end\"} tw-gap-[4px]`}>\n <div className=\"tw-flex tw-items-baseline tw-gap-[8px]\">\n {!isInbound && dateComponent}{\" \"}\n <span className={isGabbiMessage ? \"tw-font-semibold tw-text-[#3b1487]\" : \"\"}>{createdByName}</span>{\" \"}\n {isInbound && dateComponent}\n </div>\n <div className=\"tw-flex tw-gap-[8px] tw-items-center\">\n <Tooltip\n placement={isInbound ? \"right\" : \"left\"}\n trigger={content}\n content={moment(dateCreated).format(\"MM/DD/YYYY [at] h:mm A\")}\n />\n </div>\n {failedRecipients.map((recipient) => (\n <div\n key={recipient.alias}\n className=\"tw-flex tw-gap-[4px] tw-items-center tw-text-12d tw-text-semantic-red-100 tw-font-semibold\"\n >\n <Tooltip\n className=\"tw-inline-flex\"\n innerClassName=\"tw-max-w-[250px] \"\n trigger={<CircleInfoRegularV6 />}\n content={\n <PreTooltipContent>\n {twilioErrorCodes[recipient.errorCode] || \"Unknown reason\"}\n </PreTooltipContent>\n }\n />\n Message not delivered to {recipient.alias}\n </div>\n ))}\n </div>\n {!isInbound && avatarComponent}\n </div>\n );\n};\n\nSmsMessage.propTypes = {\n content: PropTypes.node.isRequired,\n isInbound: PropTypes.bool,\n message: PropTypes.shape().isRequired,\n failureType: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]).isRequired,\n isGabbiMessage: PropTypes.bool,\n failedRecipients: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nSmsMessage.defaultProps = {\n isInbound: false,\n isGabbiMessage: false,\n};\n\nconst Media = ({ media, onClick }) => (\n // TODO: bring this back if/when we have the content type for old messages in the new api\n // if (/(?:jpeg|jpg|gif|png)$/.test(media.contentType || media.fileName)) {\n <button className=\"tw-p-0 tw-border-0 tw-bg-transparent\" type=\"button\" onClick={onClick}>\n <img\n src={media.fileUrl || media.fileAccessKey}\n className=\"tw-rounded-lg tw-max-h-96 tw-max-w-96 tw-h-auto tw-w-auto\"\n alt=\"sms media\"\n />\n </button>\n);\n// }\n// return <div>Unsupported media type</div>;\n\nMedia.propTypes = {\n media: PropTypes.shape().isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nexport default SmsMessage;\nexport { Media };\n","import React, { Fragment, useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport LinkTextRender from \"@shared/LinkTextRender\";\nimport SmsMessage, { Media } from \"./SmsMessage\";\n\nconst LINK_TEXT_CLASSES =\n \"tw-rounded-[8px] tw-bg-tinted-gray-50 tw-p-[10px] tw-inline-block tw-max-w-[600px] tw-whitespace-pre-wrap tw-break-words\";\nconst ERROR_CLASSES = {\n allFailed: \"!tw-bg-semantic-red-5\",\n someFailed: \"!tw-bg-semantic-yellow-5\",\n};\nconst ERROR_STATUSES = [\"undelivered\", \"failed\"];\n\nconst ConversationMessage = ({ message, onClickImage, showTimeAgo, conversation }) => {\n const isPlaceTheme = document.body.classList.contains(\"place-theme\");\n const isInbound = !conversation.conversationOwnerPersonUuids.includes(message.createdByUserPersonUuid);\n const isOutbound = !isInbound;\n const failedRecipients = useMemo(\n () =>\n message.deliveryStatuses\n .filter((s) => ERROR_STATUSES.includes(s.messageStatus))\n .map((s) => ({\n alias: conversation.conversationUsers.find((u) => u.uuid === s.conversationUserUuid).alias,\n errorCode: s.errorCode,\n })),\n [message.deliveryStatuses, conversation.conversationUsers],\n );\n\n const failureType =\n (failedRecipients.length === message.deliveryStatuses.length - 1 && \"allFailed\") ||\n (failedRecipients.length > 0 && \"someFailed\") ||\n false;\n\n return (\n <Fragment key={message.id}>\n {showTimeAgo && (\n <div className=\"tw-text-12d tw-font-semibold tw-text-gray tw-text-center\">\n {moment(message.dateCreated).fromNow()}\n </div>\n )}\n\n {isInbound &&\n message.attachments?.map((media, i) => (\n <SmsMessage\n // eslint-disable-next-line react/no-array-index-key\n key={i}\n isInbound={isInbound}\n content={<Media media={media} onClick={() => onClickImage(message, i)} />}\n message={message}\n failedRecipients={failedRecipients}\n failureType={failureType}\n />\n ))}\n\n {isInbound && message.message && (\n <SmsMessage\n isInbound={isInbound}\n content={<LinkTextRender text={message.message} className={LINK_TEXT_CLASSES} />}\n message={message}\n failedRecipients={failedRecipients}\n failureType={failureType}\n />\n )}\n\n {isOutbound && message.message && (\n <SmsMessage\n isGabbiMessage={message.isGabbi}\n isInbound={isInbound}\n content={\n <LinkTextRender\n text={message.message}\n className={`${LINK_TEXT_CLASSES} ${\n failureType\n ? ERROR_CLASSES[failureType]\n : `${\n message.isGabbi\n ? \"!tw-bg-[#f9f7fd] tw-text-[#3b1487] tw-border-solid tw-border-[2px] tw-border-semantic-purple-5\"\n : `${isPlaceTheme ? \"!tw-bg-semantic-blue-5\" : \"!tw-bg-brivity-blue-20\"}`\n }`\n }`}\n />\n }\n message={message}\n failedRecipients={failedRecipients}\n failureType={failureType}\n />\n )}\n\n {isOutbound &&\n message.attachments?.map((media, i) => (\n <SmsMessage\n // eslint-disable-next-line react/no-array-index-key\n key={i}\n isInbound={isInbound}\n content={<Media media={media} onClick={() => onClickImage(message, i)} />}\n message={message}\n failedRecipients={failedRecipients}\n failureType={failureType}\n />\n ))}\n </Fragment>\n );\n};\n\nConversationMessage.propTypes = {\n conversation: PropTypes.shape().isRequired,\n message: PropTypes.shape().isRequired,\n onClickImage: PropTypes.func.isRequired,\n showTimeAgo: PropTypes.bool.isRequired,\n};\n\nexport default ConversationMessage;\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { sortBy, uniqBy, xor } from \"lodash\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport twilioErrorCodes from \"@shared/v2/twilioErrorCodes\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport { getExternalApi } from \"@shared/externalApi\";\n\nconst getBaseEndpoint = (currentUser, isAll) => {\n let path = \"/Conversation/Recent\";\n let method = \"get\";\n if (currentUser.account.isAdmin && isAll) {\n path = \"/Conversation/RecentForOrganization\";\n } else if (currentUser.account.isAdmin) {\n path = \"/Conversation/RecentForPeople\";\n method = \"post\";\n }\n return { path, method };\n};\n\nconst getConversationTypes = (currentTab) => {\n switch (currentTab) {\n case \"group\":\n return [\"groupSms\"];\n default:\n return [\"sms\", \"groupSms\"];\n }\n};\n\nexport const transformConversation = (conversation) => {\n const { conversationUsers, dateCreated, dateUpdated } = conversation;\n const sortedConversationUsers = sortBy(\n conversationUsers.map((u) => ({\n ...u,\n alias: u.alias || formatPhoneNumber(u.address),\n })),\n \"alias\",\n );\n return {\n ...conversation,\n conversationOwnerPersonUuids: conversationUsers\n .filter((u) => u.isConversationOwner)\n .map((u) => u.personUuid),\n conversationUsers: sortedConversationUsers,\n friendlyName: sortedConversationUsers\n .map((u) => u.alias)\n .join(sortedConversationUsers.length > 2 ? \", \" : \" & \"),\n dateUpdated: dateUpdated || dateCreated || new Date().toISOString(),\n };\n};\n\nexport const initialState = {\n accountSenderPlaceholders: [],\n allFilterAgents: [],\n conversations: [],\n conversationsPage: 1,\n conversationsPerPage: 25,\n currentTab: \"all\",\n draftTextMessages: {}, // Stores in-progress text messages for each text thread\n errors: null,\n focusedConversation: { eventType: \"blank\" },\n hasMore: false,\n hasMoreMessages: false,\n loadingConversations: false,\n loadingMessages: false,\n messagingServiceUrl: \"\",\n messagesErrors: null,\n messagesPage: 1,\n messagesPerPage: 25,\n newSmsMediaError: null,\n newSmsMediaFile: null,\n newSmsMediaPreview: null,\n recipients: {},\n selectedAgentFilters: [\"all\"],\n selectedMessages: [],\n sendingTextMessage: false,\n aiUnreadCount: 0,\n allUnreadCount: 0,\n groupUnreadCount: 0,\n conflictConversation: null,\n isOptedOut: false,\n hideAi: false,\n twilioErrorMessage: {},\n aiFilters: [\"all\"],\n};\n\nconst getUnreadCounts = createAsyncThunk(\"messaging/getUnreadCounts\", (_, thunkApi) => {\n const { messagingServiceUrl } = thunkApi.getState().messaging;\n const messagingApi = getExternalApi(messagingServiceUrl);\n return Promise.all([\n messagingApi\n .get(\"/User/UnreadMessageCount\", {\n params: { conversationTypes: [\"sms\", \"groupSms\"], isAiControlled: true },\n })\n .then((res) => res.data)\n .catch(() => 0),\n messagingApi\n .get(\"/User/UnreadMessageCount\", { params: { conversationTypes: [\"groupSms\"] } })\n .then((res) => res.data)\n .catch(() => 0),\n ]).then(([aiUnreadCount, groupUnreadCount]) => ({\n aiUnreadCount,\n groupUnreadCount,\n }));\n});\n\nconst getConversations = createAsyncThunk(\"messaging/getConversations\", (_, thunkApi) => {\n const { currentUser } = thunkApi.getState().layout;\n const {\n currentTab,\n conversationsPage,\n conversationsPerPage,\n messagingServiceUrl,\n selectedAgentFilters,\n hideAi,\n unreadOnly,\n aiFilters,\n } = thunkApi.getState().messaging;\n const isAiControlled = currentTab === \"all\" && hideAi ? false : undefined;\n const agentUuids =\n selectedAgentFilters?.[0] === \"all\" ? undefined : selectedAgentFilters.filter((o) => o !== \"all\");\n const baseEndpoint = getBaseEndpoint(currentUser, !agentUuids);\n\n const messagingApi = getExternalApi(messagingServiceUrl);\n return messagingApi({\n method: baseEndpoint.method,\n url: `${baseEndpoint.path}/${conversationsPage}/${conversationsPerPage}`,\n data: agentUuids,\n params: {\n conversationTypes: getConversationTypes(currentTab),\n isAiControlled: currentTab === \"ai\" || isAiControlled,\n unReadOnly: (currentTab !== \"ai\" && unreadOnly) || undefined,\n aiConversationStatus: currentTab !== \"ai\" || aiFilters.includes(\"all\") ? undefined : aiFilters,\n },\n signal: thunkApi.signal,\n })\n .then((res) => res.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst getPhoneStatuses = createAsyncThunk(\"messaging/getPhoneStatuses\", (_, thunkApi) => {\n const {\n messaging: { focusedConversation },\n } = thunkApi.getState();\n return Promise.all(\n focusedConversation.conversationUsers\n ?.filter((u) => !u.isConversationOwner)\n .map((u) => caseTransformingAxios.get(`/api/v4/leads/${u.personUuid}/phones`)),\n )\n .then((responses) =>\n responses.map((res) =>\n res.data.find((phone) =>\n focusedConversation.conversationUsers.find((u) => u.address === phone.canonicalNumber),\n ),\n ),\n )\n .catch(() => {});\n});\n\nconst getMessages = createAsyncThunk(\"messaging/getMessages\", (opts, thunkApi) => {\n const {\n messaging: { focusedConversation, messagesPage, messagesPerPage, messagingServiceUrl },\n } = thunkApi.getState();\n const messagingApi = getExternalApi(messagingServiceUrl);\n\n return messagingApi\n .get(\n `/ConversationMessages/${opts?.uuid || focusedConversation.uuid}/${messagesPage}/${messagesPerPage}`,\n {\n signal: thunkApi.signal,\n },\n )\n .then((res) => res.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst markAsRead = createAsyncThunk(\"messaging/markAsRead\", (_, thunkApi) => {\n const { focusedConversation, messagingServiceUrl } = thunkApi.getState().messaging;\n const messagingApi = getExternalApi(messagingServiceUrl);\n // This will trigger a SignalR message \"ResetConversationUnreadMessageCount\"\n return Promise.all([\n messagingApi.put(`/ConversationUser/ResetUnreadCount/${focusedConversation.uuid}`),\n caseTransformingAxios.post(\"/interactions/mark_conversation_as_read\", {\n conversationUuid: focusedConversation.uuid,\n }),\n ]).catch(console.log);\n});\n\nconst sendMessage = createAsyncThunk(\"messaging/sendMessage\", (opts, thunkApi) => {\n const {\n draftTextMessages,\n focusedConversation,\n newSmsMediaFile,\n recipients,\n messagingServiceUrl,\n conversations,\n } = thunkApi.getState().messaging;\n const messagingApi = getExternalApi(messagingServiceUrl);\n let promise = Promise.resolve({});\n\n if (focusedConversation.uuid === \"temp\") {\n let users = [];\n users = Object.values(recipients).map(({ recipient, number }) => ({\n address: number.value,\n personUuid: recipient.value,\n isConversationOwner: false,\n }));\n\n promise = messagingApi\n .post(\n \"/Conversation/WithUsers\",\n {\n conversationType: \"groupSms\",\n isChannel: false,\n users,\n },\n { ...opts, signal: thunkApi.signal },\n )\n .catch((err) => {\n if (err.response?.status === 409 && typeof err.response?.data === \"object\") {\n return { data: { ...err.response.data, isConflict: true } };\n }\n throw err;\n });\n }\n\n return promise\n .then(({ data: newConversation }) => {\n const draftMessage = draftTextMessages[focusedConversation.uuid];\n const formData = new FormData();\n formData.append(\"conversationUuid\", newConversation?.uuid || focusedConversation.uuid);\n formData.append(\"messageType\", \"standard\");\n if (draftMessage) formData.append(\"message\", draftMessage);\n if (newSmsMediaFile) formData.append(\"attachment\", newSmsMediaFile);\n\n return messagingApi.post(\"/Message/Sms\", formData).then((res) => {\n if (newConversation) {\n const conversation = conversations.find((c) => c.uuid === newConversation.uuid) || {\n conversationOwnerPersonUuids: [res.data.createdByUserPersonUuid],\n };\n thunkApi.dispatch(\n selectNewConversation({ ...conversation, ...newConversation, mostRecentMessage: res.data }),\n );\n }\n return res;\n });\n })\n .catch((err) => {\n let errors = [err?.response?.data || \"There was a problem sending your message. Please try again.\"];\n return thunkApi.rejectWithValue(errors);\n });\n});\n\nexport const messagingSlice = createSlice({\n name: \"messaging\",\n initialState,\n reducers: {\n addRecipient: (state, { payload: { recipient, number } = {} }) => {\n state.recipients[recipient.value] = { recipient, number };\n },\n removeRecipient: (state, { payload: { recipient } = {} }) => {\n delete state.recipients[recipient.value];\n },\n focusConversation: (state, { payload }) => {\n if (state.focusedConversation.uuid !== payload.uuid || payload.uuid === \"temp\") {\n state.isOptedOut = false;\n state.selectedMessages = [];\n state.messagesPage = 1;\n state.hasMoreMessages = false;\n state.messagesErrors = null;\n }\n state.focusedConversation = payload;\n state.conflictConversation = null;\n },\n nextConversationPage: (state) => {\n state.conversationsPage = state.conversationsPage + 1;\n },\n nextMessagesPage: (state) => {\n state.messagesPage = state.messagesPage + 1;\n },\n selectNewConversation: (state, { payload }) => {\n state.conversations = uniqBy([transformConversation(payload), ...state.conversations], \"uuid\");\n state.focusedConversation = payload;\n state.conflictConversation = null;\n },\n receiveSignalRNewConversation: (state, { payload }) => {\n state.conversations = uniqBy([transformConversation(payload), ...state.conversations], \"uuid\");\n },\n receiveSignalRNewMessage: (state, { payload }) => {\n if (state.focusedConversation.uuid === payload.conversationUuid) {\n state.selectedMessages = uniqBy([...state.selectedMessages, payload], \"uuid\");\n }\n const conversation = state.conversations.find((o) => o.uuid === payload.conversationUuid);\n if (conversation) {\n conversation.mostRecentMessage = payload;\n conversation.dateUpdated = payload.dateCreated;\n if (state.focusedConversation.uuid !== payload.conversationUuid) {\n conversation.userUnreadMessageCount += 1;\n state.allUnreadCount += 1;\n if (conversation.conversationUsers.length > 2) state.groupUnreadCount += 1;\n if (conversation.isAiControlled) state.aiUnreadCount += 1;\n }\n }\n },\n receiveSignalRMessageResetCount: (state, { payload = {} }) => {\n const conversation = state.conversations.find((o) => o.uuid === payload.conversationUuid);\n state.allUnreadCount = Math.max(state.allUnreadCount - payload.priorCount, 0);\n if (conversation) {\n conversation.userUnreadMessageCount = 0;\n if (conversation.conversationUsers.length > 2) {\n state.groupUnreadCount = Math.max(state.groupUnreadCount - payload.priorCount, 0);\n }\n if (conversation.isAiControlled) {\n state.aiUnreadCount = Math.max(state.aiUnreadCount - payload.priorCount, 0);\n }\n }\n },\n receiveSignalRMessageStatusFailure: (state, { payload }) => {\n const message = state.selectedMessages.find((o) => o.uuid === payload.messageUuid);\n if (message?.deliveryStatuses) {\n message.deliveryStatuses = message.deliveryStatuses.map((s) =>\n s.conversationUserUuid === payload.conversationUserUuid ? payload : s,\n );\n }\n },\n setTab: (state, { payload }) => {\n state.currentTab = payload;\n state.conversationsPage = 1;\n },\n setMedia: (state, { payload }) => {\n const MEBIBYTE = 1048576;\n state.newSmsMediaError = payload?.size >= MEBIBYTE ? \"File size must be less than 1MB\" : null;\n state.newSmsMediaFile = payload;\n state.newSmsMediaPreview = payload ? URL.createObjectURL(payload) : null;\n },\n updateAgentFilters: (state, { payload: { value, replace } }) => {\n if (replace) {\n state.selectedAgentFilters = [value];\n } else {\n state.selectedAgentFilters = xor(\n state.selectedAgentFilters.filter((o) => o !== \"all\"),\n [value],\n );\n if (state.selectedAgentFilters.length === 0) state.selectedAgentFilters.push(\"all\");\n }\n state.conversationsPage = 1;\n },\n updateDraft: (state, { payload }) => {\n state.draftTextMessages[state.focusedConversation.uuid] = payload;\n },\n setConflictConversation: (state, { payload }) => {\n state.conflictConversation = payload;\n },\n removeConflictConversation: (state) => {\n state.conflictConversation = null;\n },\n setErrors: (state, { payload }) => {\n if (payload.errors) state.errors = payload.errors;\n if (payload.messagesErrors) state.messagesErrors = payload.messagesErrors;\n },\n setHideAi: (state, { payload }) => {\n state.conversationsPage = 1;\n state.hideAi = payload;\n },\n setUnreadOnly: (state, { payload }) => {\n state.conversationsPage = 1;\n state.unreadOnly = payload;\n },\n toggleAiFilter: (state, { payload }) => {\n state.conversationsPage = 1;\n if (payload === \"all\") {\n state.aiFilters = [\"all\"];\n } else {\n if (state.aiFilters.includes(\"all\")) {\n state.aiFilters = [payload];\n } else if (state.aiFilters.includes(payload)) {\n state.aiFilters = state.aiFilters.filter((o) => o !== payload);\n } else {\n state.aiFilters.push(payload);\n }\n if (state.aiFilters.length === 0) state.aiFilters.push(\"all\");\n }\n },\n },\n extraReducers: (builder) => {\n builder.addCase(getUnreadCounts.fulfilled, (state, { payload }) => {\n state.aiUnreadCount = payload.aiUnreadCount;\n state.groupUnreadCount = payload.groupUnreadCount;\n });\n builder.addCase(getConversations.pending, (state) => {\n state.loadingConversations = true;\n });\n builder.addCase(getConversations.fulfilled, (state, { payload }) => {\n state.loadingConversations = false;\n state.errors = null;\n state.conversations = [\n ...(state.conversationsPage === 1 ? [] : state.conversations),\n ...(payload.conversations || []).map(transformConversation),\n ];\n state.hasMore = payload.conversations?.length >= state.conversationsPerPage;\n if (state.currentTab === \"all\") state.allUnreadCount = payload.totalUserUnreadMessageCount;\n if (state.currentTab === \"group\") state.groupUnreadCount = payload.totalUserUnreadMessageCount;\n if (state.currentTab === \"ai\") state.aiUnreadCount = payload.totalUserUnreadMessageCount;\n });\n builder.addCase(getConversations.rejected, (state, { payload, error }) => {\n if (error?.name === \"AbortError\") return;\n state.loadingConversations = false;\n state.errors = payload?.errorMessage ? [payload.errorMessage] : [\"Whoops, something went wrong.\"];\n });\n\n builder\n .addCase(getPhoneStatuses.pending, (state) => {\n state.isOptedOut = false;\n })\n .addCase(getPhoneStatuses.fulfilled, (state, { payload }) => {\n const isOptedOut = Boolean(payload.find((s) => s.smsAccountUnsubscribed || s.smsSoftUnsubscribed));\n state.twilioErrorMessage = payload.reduce((acc, s) => {\n acc[s.canonicalNumber] = twilioErrorCodes[s.errorCode];\n return acc;\n }, {});\n state.isOptedOut = isOptedOut;\n });\n\n builder\n .addCase(getMessages.pending, (state) => {\n state.loadingMessages = true;\n })\n .addCase(getMessages.fulfilled, (state, { payload }) => {\n state.loadingMessages = false;\n state.hasMoreMessages = (payload.items?.length || 0) >= state.messagesPerPage;\n state.selectedMessages = [\n ...(payload.items || []).reverse(),\n ...(state.messagesPage === 1 ? [] : state.selectedMessages),\n ];\n })\n .addCase(getMessages.rejected, (state, { payload, error }) => {\n state.loadingMessages = false;\n });\n\n builder.addCase(sendMessage.pending, (state) => {\n state.sendingTextMessage = true;\n state.messagesErrors = null;\n });\n builder.addCase(sendMessage.fulfilled, (state, { payload }) => {\n state.sendingTextMessage = false;\n state.draftTextMessages[state.focusedConversation.uuid] = \"\";\n state.draftTextMessages[\"temp\"] = \"\";\n state.newSmsMediaFile = null;\n state.newSmsMediaPreview = null;\n state.recipients = {};\n state.selectedMessages = uniqBy([...state.selectedMessages, payload.data], \"uuid\");\n });\n builder.addCase(sendMessage.rejected, (state, { payload }) => {\n state.sendingTextMessage = false;\n state.messagesErrors = payload;\n });\n },\n});\n\nexport { getUnreadCounts, getConversations, getPhoneStatuses, getMessages, markAsRead, sendMessage };\n\nexport const {\n addRecipient,\n removeRecipient,\n focusConversation,\n nextConversationPage,\n nextMessagesPage,\n receiveSignalRNewConversation,\n receiveSignalRNewMessage,\n receiveSignalRMessageResetCount,\n receiveSignalRMessageStatusFailure,\n selectNewConversation,\n setMedia,\n setTab,\n updateAgentFilters,\n updateDraft,\n setConflictConversation,\n removeConflictConversation,\n setErrors,\n setHideAi,\n setUnreadOnly,\n toggleAiFilter,\n} = messagingSlice.actions;\n\nexport default messagingSlice.reducer;\n","import axios from \"axios\";\nimport { updateHomeAppInviteSent } from \"../actions/default\";\n\nexport const touchHomeAppInviteSent = (personId) => (dispatch) => {\n axios\n .patch(`/api/v4/person_detail/${personId}/touch_home_app_invite_sent`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(\n updateHomeAppInviteSent({\n id: res.data.data.attributes.id,\n inviteSent: res.data.data.attributes.home_app_invite_sent,\n }),\n );\n });\n};\nexport const updateIntent = (personId, newIntent, setIntent) => () => {\n const params = {\n person: {\n lead_type: newIntent,\n },\n };\n axios\n .patch(`/people/${personId}/update_inline`, params, {\n headers: {\n \"X-CSRF-Token\": window.ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then(() => {\n setIntent(newIntent);\n });\n};\n","/* eslint-disable class-methods-use-this */\nimport React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { HttpTransportType, HubConnectionBuilder, LogLevel } from \"@microsoft/signalr\";\nimport api from \"@shared/phoneDncStatusApi\";\nimport { viewPhoneFromFlat, viewPhoneShape } from \"@shared/models/Communications/viewPhone\";\nimport Button from \"@shared/v2/Button\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Alert from \"@shared/v2/Alert\";\nimport EmptySmsHistory from \"@shared/EmptySmsHistory\";\nimport { ImageSolidV6, SpinnerSolidV6 } from \"@shared/v2/Icomoon\";\nimport { Contact, HelperText, LastSeen, placeholderContent } from \"@shared/Sms\";\nimport AiSummary from \"@shared/AiAssistant/AiSummary\";\nimport { getAiToken, getExternalApi } from \"@shared/externalApi\";\nimport MmsMediaModal from \"../../shared/MmsMediaModal\";\nimport AiAssistant from \"../../shared/AiAssistant/AiAssistant\";\nimport ConversationMessage from \"../../Inbox/components/ConversationMessage\";\nimport { transformToTimelineSmsEvent } from \"../../Inbox/helpers/transformSms\";\nimport { transformConversation } from \"../../reducers/messagingReducer\";\nimport * as apiActions from \"../../LeadIndex/api\";\n\nconst DEFAULT_ERROR =\n \"There was a problem loading SMS messages. Please check your connection and try again or contact support by calling 855-427-4848\";\n\nclass SmsConversation extends Component {\n constructor(props) {\n super(props);\n // This defaultHomeAppTabContent prop is currently being set from the Home App card and is also used in PersonInteractionEmailForm.\n // If we allow other areas of the app to set default email/text content then we should rename this to be more generic. Sending a text with this prop set\n // updates the person's home_app_invite_sent (called in touchHomeAppInviteSent on line 164 below) so we will need to also include a prop\n // signifying where the default content is being set as we would not want make this update\n this.state = {\n conversation: null,\n newSmsMessage: props.defaultHomeAppTabContent || \"\",\n newSmsMediaFile: null,\n newSmsMediaPreview: null,\n sendingMessage: false,\n fetchingMessages: false,\n smsMessages: [],\n conversationLoaded: false,\n moreSmsToLoad: true,\n messageForMmsMediaModal: null,\n mediaIndexForMmsMediaModal: null,\n errors: [],\n dncStatuses: {},\n page: 1,\n perPage: 25,\n };\n this.fileInputRef = React.createRef();\n }\n\n componentDidMount() {\n this.getSmsMessages(() => {\n this.scrollToBottom();\n });\n this.setupSubscription();\n this.getPhoneStatuses();\n }\n\n componentWillUnmount() {\n this.connection?.stop().catch(console.log);\n }\n\n handleChange(value) {\n this.setState(() => ({\n newSmsMessage: value,\n }));\n }\n\n getPhoneStatuses() {\n api.index([this.phoneNumber()]).then((x) => {\n this.setState({ dncStatuses: x.data });\n });\n }\n\n phoneNumber = () => this.viewPhone().formattedNumber;\n\n viewPhone = () => {\n const { primaryPhone, personPhoneNumber } = this.props;\n return primaryPhone || viewPhoneFromFlat({ value: personPhoneNumber });\n };\n\n scrollToBottom = () => {\n this.smsConversationWrapper.scrollTop = this.smsConversationWrapper.scrollHeight;\n };\n\n clearForm = () => {\n this.setState({\n newSmsMessage: \"\",\n newSmsMediaFile: null,\n newSmsMediaPreview: null,\n errors: [],\n });\n };\n\n getSmsMessages = (callback) => {\n const { smsMessages, moreSmsToLoad, fetchingMessages, conversation, page, perPage } = this.state;\n const { personUuid, personPhoneNumber, messagingServiceUrl } = this.props;\n const messagingApi = getExternalApi(messagingServiceUrl);\n\n if (!fetchingMessages && moreSmsToLoad) {\n this.setState({ fetchingMessages: true });\n const conversationPromise = conversation\n ? Promise.resolve(conversation)\n : messagingApi\n .post(\"/Conversation/WithUsers\", {\n conversationType: \"groupSms\",\n isChannel: false,\n users: [{ address: personPhoneNumber, personUuid, isConversationOwner: false }],\n })\n .catch((err) => {\n if (err?.response?.status === 409 && err?.response?.data) {\n return {\n data: {\n ...err.response.data,\n isConflict: true,\n },\n };\n }\n throw err;\n })\n .then(({ data }) => transformConversation(data));\n conversationPromise\n .then((c) => {\n this.setState({ conversation: c });\n if (!c.uuid || c.isConflict) {\n this.setState({\n conversationLoaded: true,\n fetchingMessages: false,\n });\n return;\n }\n messagingApi\n .get(`/ConversationMessages/${c.uuid}/${page}/${perPage}`)\n .then((res) => {\n const newSmsMessages = res.data.items.reverse();\n this.setState(\n {\n smsMessages: [...newSmsMessages, ...smsMessages],\n moreSmsToLoad: newSmsMessages.length === 25,\n errors: [],\n fetchingMessages: false,\n conversationLoaded: true,\n page: page + 1,\n },\n () => {\n callback?.();\n },\n );\n })\n .catch((err) => {\n this.setState({\n errors: [err?.response?.data || DEFAULT_ERROR],\n fetchingMessages: false,\n });\n });\n })\n .catch((err) => {\n this.setState({\n errors: [err?.response?.data?.message || DEFAULT_ERROR],\n fetchingMessages: false,\n });\n });\n }\n };\n\n addMessage = (newMsg) => {\n const { smsMessages, conversation } = this.state;\n const { addSmsToTimeline } = this.props;\n\n if (smsMessages.find((msg) => msg.uuid === newMsg.uuid)) return;\n\n this.setState(\n (state) => ({\n smsMessages: [...state.smsMessages, newMsg],\n }),\n () => {\n addSmsToTimeline?.(transformToTimelineSmsEvent(conversation, newMsg));\n this.scrollToBottom();\n this.markAsRead();\n },\n );\n };\n\n setupSubscription = () => {\n const { messagingServiceUrl } = this.props;\n getAiToken().then(({ token }) => {\n this.connection = new HubConnectionBuilder()\n .withUrl(`${messagingServiceUrl}/MessageHub?access_token=${token}`, {\n skipNegotiation: true,\n transport: HttpTransportType.WebSockets,\n withCredentials: true,\n })\n .withAutomaticReconnect()\n .configureLogging(process.env.NODE_ENV === \"production\" ? LogLevel.Error : LogLevel.Debug)\n .build();\n\n this.connection.on(\"ActivateConversation\", (conversationUuid) => {\n this.connection.send(\"AddPersonToGroup\", conversationUuid);\n });\n\n this.connection.on(\"CreateConversation\", (conversation) => {\n this.connection.send(\"AddPersonToGroup\", conversation.uuid);\n });\n\n this.connection.on(\"NewMessage\", (message) => {\n const { conversation } = this.state;\n if (message.conversationUuid === conversation?.uuid) this.addMessage(message);\n });\n\n this.connection.on(\"UpdateSmsOrGroupSmsConversationUserMessageStatusOnFailure\", (deliveryStatus) => {\n const { messages } = this.state;\n const message = messages.find((o) => o.uuid === deliveryStatus.messageUuid);\n if (message?.deliveryStatuses) {\n message.deliveryStatuses = message.deliveryStatuses.map((s) =>\n s.conversationUserUuid === deliveryStatus.conversationUserUuid ? deliveryStatus : s,\n );\n }\n });\n\n this.connection.start().catch(console.log);\n });\n };\n\n markAsRead = () => {\n const { conversation } = this.state;\n const { messagingServiceUrl } = this.props;\n const messagingApi = getExternalApi(messagingServiceUrl);\n messagingApi.put(`/ConversationUser/ResetUnreadCount/${conversation?.uuid}`).catch(console.log);\n };\n\n sendSmsMessage = () => {\n const { personId, messagingServiceUrl, defaultHomeAppTabContent, touchHomeAppInviteSent, listingId } =\n this.props;\n const { newSmsMessage, newSmsMediaFile, conversation } = this.state;\n const messagingApi = getExternalApi(messagingServiceUrl);\n const appInviteNeedsUpdating = !!defaultHomeAppTabContent;\n\n if (!conversation) return;\n\n this.setState({ sendingMessage: true }, () => {\n const formData = new FormData();\n formData.append(\"conversationUuid\", conversation.uuid);\n formData.append(\"messageType\", \"standard\");\n if (newSmsMessage) formData.append(\"message\", newSmsMessage);\n if (newSmsMediaFile) formData.append(\"attachment\", newSmsMediaFile);\n if (listingId) formData.append(\"attributes\", JSON.stringify([{ key: \"listing_id\", value: listingId }]));\n\n return messagingApi\n .post(\"/Message/Sms\", formData)\n .then(({ data: message }) => {\n this.addMessage({ ...message, messageType: \"sms_out\" });\n this.clearForm();\n this.setState({ sendingMessage: false });\n if (appInviteNeedsUpdating) {\n touchHomeAppInviteSent(personId);\n }\n })\n .catch((err) => {\n console.log(err);\n this.setState({\n sendingMessage: false,\n errors: [err?.response?.data || DEFAULT_ERROR],\n });\n });\n });\n };\n\n openMmsMediaModal = (message, index) => {\n this.setState({\n messageForMmsMediaModal: message,\n mediaIndexForMmsMediaModal: index,\n });\n };\n\n closeMmsMediaModal = () => {\n this.setState({\n messageForMmsMediaModal: null,\n mediaIndexForMmsMediaModal: null,\n });\n };\n\n handleDragOver = (e) => {\n e.preventDefault();\n };\n\n handleDragDrop = (e) => {\n e.preventDefault();\n this.setState({\n newSmsMediaFile: e.dataTransfer.files[0],\n newSmsMediaPreview: URL.createObjectURL(e.dataTransfer.files[0]),\n });\n };\n\n onMediaFileChange = (e) => {\n this.setState({\n newSmsMediaFile: e.target.files[0],\n newSmsMediaPreview: URL.createObjectURL(e.target.files[0]),\n });\n };\n\n closeOrClearBtn = () => {\n const { closeModal } = this.props;\n const { clearForm } = this;\n const phone = this.viewPhone();\n const messageable = !phone.smsUnsubscribed;\n const callback = closeModal || clearForm;\n const text = closeModal ? \"Close\" : \"Clear\";\n\n return (\n <Button schema=\"tertiary\" onClick={callback} size=\"medium\" disabled={!messageable}>\n {text}\n </Button>\n );\n };\n\n handleScroll = (e) => {\n const { moreSmsToLoad } = this.state;\n if (moreSmsToLoad && e.target.scrollTop === 0) {\n const currentScrollHeight = e.target.scrollHeight;\n this.getSmsMessages(() => {\n this.smsConversationWrapper.scrollTop =\n this.smsConversationWrapper.scrollHeight - currentScrollHeight - 80;\n });\n }\n };\n\n isDnc = () => {\n const { dncStatuses } = this.state;\n\n return api.isDnc(this.phoneNumber(), dncStatuses);\n };\n\n render() {\n const {\n conversation,\n errors,\n smsMessages,\n newSmsMessage,\n conversationLoaded,\n fetchingMessages,\n sendingMessage,\n newSmsMediaFile,\n newSmsMediaPreview,\n messageForMmsMediaModal,\n mediaIndexForMmsMediaModal,\n } = this.state;\n\n const { personUuid, personName, closeModal, gabbiAi } = this.props;\n const conflictUser = conversation?.conversationUsers?.find((u) => !u.isConversationOwner);\n const phone = this.viewPhone();\n const isDnc = this.isDnc();\n const placeholder = placeholderContent(phone);\n const messageable = !phone.smsUnsubscribed && conversation && !conversation.isConflict;\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[16px]\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <Contact phone={phone} isDnc={isDnc} personName={personName} />\n <LastSeen smsHistory={smsMessages || []} />\n </div>\n <div\n className=\"tw-flex tw-flex-col tw-gap-[16px] tw-overflow-auto tw-min-h-[240px] tw-max-h-[330px] tw-border-solid tw-pb-[8px] tw-border-y-1 tw-border-x-0 tw-border-neutral-gray-10\"\n ref={(component) => {\n this.smsConversationWrapper = component;\n }}\n onScroll={(e) => this.handleScroll(e)}\n >\n {conversation?.isConflict && (\n <div className=\"tw-my-[16px]\">\n <Alert\n variant=\"warning\"\n title=\"This conversation already exists\"\n text={\n <div className=\"tw-flex tw-justify-between tw-items-end\">\n <span>\n {personName} shares a number with contact {conflictUser.alias}, who you already have an\n open conversation with.\n </span>\n <TextLink\n href={`/people/${conflictUser.slug}?tab=3`}\n className=\"!tw-text-inherit tw-font-semibold tw-uppercase tw-whitespace-nowrap\"\n >\n Go To Contact\n </TextLink>\n </div>\n }\n />\n </div>\n )}\n {fetchingMessages && (\n <div className=\"tw-flex tw-items-center tw-justify-center tw-gap-[8px] tw-py-[16px] tw-text-gray\">\n <SpinnerSolidV6 className=\"tw-animate-spin\" size=\"l\" /> Loading message history...\n </div>\n )}\n <EmptySmsHistory\n containerClassName=\"tw-flex-grow\"\n show={!conversation?.isConflict && conversationLoaded && smsMessages.length === 0}\n />\n {!conversation?.isConflict &&\n smsMessages.map((message, index) => (\n <ConversationMessage\n key={message.uuid}\n message={message}\n conversation={conversation}\n onClickImage={this.openMmsMediaModal}\n showTimeAgo={\n index === 0 ||\n moment(message.dateCreated).valueOf() -\n moment(smsMessages[index - 1]?.dateCreated).valueOf() >\n 7200000\n }\n />\n ))}\n </div>\n\n {gabbiAi && closeModal && (\n <AiSummary leadPersonUuid={personUuid} allowAddAI={false} variant=\"inline\" />\n )}\n\n {errors.map((e) => (\n <Alert variant=\"error\" text={e} />\n ))}\n <div className=\"tw-flex tw-flex-row tw-justify-between tw-items-center tw-gap-[8px]\">\n {!newSmsMediaFile && messageable && (\n <div onDrop={(e) => this.handleDragDrop(e)} onDragOver={(e) => this.handleDragOver(e)}>\n <IconButton onClick={() => this.fileInputRef.current.click()} size=\"small\" schema=\"secondary\">\n <ImageSolidV6 />\n </IconButton>\n </div>\n )}\n {newSmsMediaFile && (\n <img src={newSmsMediaPreview} className=\"tw-rounded-10px tw-max-h-80 tw-mb-5\" alt=\"MMS Preview\" />\n )}\n <input\n type=\"file\"\n onChange={(e) => this.onMediaFileChange(e)}\n id=\"file\"\n ref={this.fileInputRef}\n style={{ display: \"none\" }}\n />\n <AiAssistant\n textareaId=\"sms-conversation-input\"\n messageType=\"SMS\"\n contactUuid={personUuid}\n onInsertClick={(text) => this.handleChange(text)}\n />\n </div>\n <TextInput\n id=\"sms-conversation-input\"\n multiline={messageable}\n disabled={!messageable}\n value={newSmsMessage}\n onDrop={(e) => this.handleDragDrop(e)}\n onDragOver={(e) => this.handleDragOver(e)}\n onChange={(e) => this.handleChange(e.target.value)}\n className=\"tw-resize-none\"\n rows={5}\n helperText={<HelperText viewPhone={phone} isDnc={isDnc} />}\n placeholder={placeholder}\n />\n <div className=\"tw-flex tw-justify-between\">\n {this.closeOrClearBtn()}\n <Button\n size=\"medium\"\n schema=\"primary\"\n onClick={this.sendSmsMessage}\n disabled={!messageable}\n isLoading={sendingMessage}\n >\n Send Message\n </Button>\n </div>\n <MmsMediaModal\n onClose={this.closeMmsMediaModal}\n message={messageForMmsMediaModal}\n mediaIndex={mediaIndexForMmsMediaModal}\n />\n </div>\n );\n }\n}\n\nexport default connect(null, { touchHomeAppInviteSent: apiActions.touchHomeAppInviteSent })(SmsConversation);\n\nSmsConversation.propTypes = {\n messagingServiceUrl: PropTypes.string.isRequired,\n personUuid: PropTypes.string.isRequired,\n personId: PropTypes.number.isRequired,\n defaultHomeAppTabContent: PropTypes.string,\n touchHomeAppInviteSent: PropTypes.func,\n addSmsToTimeline: PropTypes.func,\n closeModal: PropTypes.func,\n personName: PropTypes.string.isRequired,\n personPhoneNumber: PropTypes.string.isRequired,\n primaryPhone: PropTypes.shape(viewPhoneShape),\n listingId: PropTypes.number,\n gabbiAi: PropTypes.bool,\n};\n\nSmsConversation.defaultProps = {\n defaultHomeAppTabContent: null,\n touchHomeAppInviteSent: null,\n addSmsToTimeline: null,\n closeModal: null,\n primaryPhone: null,\n listingId: null,\n gabbiAi: false,\n};\n","import moment from \"moment-timezone\";\n\nconst transformSms = (m) => ({\n id: m.id,\n messageType: m.interactionType,\n dateCreated: m.interactedAt,\n createdByAlias: `${m.senderFirstName} ${m.senderLastName}`,\n createdByAvatar: m.senderAvatar,\n sentBy: m.sentBy,\n deliveryStatus: m.deliveryStatus,\n message: m.comment,\n attachments: m.mmsMedia?.map(({ url }) => ({ fileUrl: url })),\n});\n\nconst transformToTimelineSmsEvent = (conversation, message) => {\n const agentPerson = conversation.conversationUsers?.find((u) => u.userUuid === message.createdByUserUuid);\n const recipient = conversation.conversationUsers?.find((u) => u.userUuid !== message.createdByUserUuid);\n const [agentFirstName, agentLastName] = agentPerson?.alias?.split(\" \") || [\"\", \"\"];\n const [recipientFirstName, recipientLastName] = recipient?.alias?.split(\" \") || [\"\", \"\"];\n return {\n id: `public_activity_${message.uuid || message.id}`,\n interaction_type: \"sms\",\n agent_person: {\n first_name: agentFirstName,\n last_name: agentLastName,\n avatar: agentPerson?.avatar,\n },\n recipient: {\n first_name: recipientFirstName,\n last_name: recipientLastName,\n avatar: recipient?.avatar,\n },\n object_attributes: {\n interaction_type: message.smsOrGroupSmsOrBrivityTextMessageDirection === 1 ? \"sms_out\" : \"sms_in\",\n comment: message.message,\n },\n interacted_at_epoch: moment(message.dateCreated).unix(),\n interacted_at_absolute: moment(message.dateCreated)\n .tz(\"America/Los_Angeles\")\n .format(\"MM/DD/YYYY h:mm A z\"),\n mms_media: message.attachments?.map(({ fileAccessKey }) => ({\n url: fileAccessKey,\n content_type: \"image/jpg\",\n })),\n };\n};\n\nexport { transformSms, transformToTimelineSmsEvent };\n","import React, { Component } from \"react\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\nimport Modal from \"@shared/v2/Modal\";\nimport SmsConversation from \"../../SmsConversation/components/SmsConversation\";\n\nconst SmsModal = ({\n modalOpen,\n closeModal,\n person,\n defaultHomeAppTabContent,\n phone,\n messagingServiceUrl,\n listingId,\n gabbiAi,\n}) => {\n const viewPhone = phone || viewPhoneFromFlat({ value: person.data.attributes.primary_phone_number });\n\n return (\n <Modal\n show={modalOpen}\n onHide={closeModal}\n contentSize=\"medium\"\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[720px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n <Modal.Header title=\"Send Text\" closeButton />\n <Modal.Body className=\"tw-overflow-auto\">\n <SmsConversation\n gabbiAi={gabbiAi}\n messagingServiceUrl={messagingServiceUrl}\n personName={`${person.data.attributes.first_name} ${person.data.attributes.last_name}`}\n personPhoneNumber={person.data.attributes.primary_phone_number}\n personId={person.data.attributes.id}\n personUuid={person.data.attributes.uuid}\n closeModal={closeModal}\n defaultHomeAppTabContent={defaultHomeAppTabContent}\n primaryPhone={viewPhone}\n listingId={listingId}\n />\n </Modal.Body>\n </Modal>\n );\n};\n\nexport default SmsModal;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\nimport Button from \"@shared/v2/Button\";\nimport TabBar from \"@shared/v2/TabBar/TabBar\";\nimport Tab from \"@shared/v2/Tab/Tab\";\nimport Checkbox from \"../Checkbox\";\nimport Loader from \"../Loader\";\nimport ScrollButton from \"../ScrollButton\";\nimport { EventItem, AutoPlanEvent } from \"..\";\nimport NoEventsIcon from \"./assets/NoEventsIcon.png\";\nimport NoAutoPlanEventsIcon from \"./assets/NoAutoPlanEventsIcon.png\";\nimport useRecentActivity from \"../../services/useRecentActivity\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\nimport SmsModal from \"../../../SmsModal/components/SmsModal\";\nimport { useMessagingServiceUrl, useFeatureFlags } from \"../../../reducers/layoutReducer/selectors\";\n\nconst TIMELINES_DEFAULT_FILTERS = [\n \"Showing request\",\n \"Home valuation\",\n \"Start offer form\",\n \"Ask a question form\",\n \"Brivity Connect retargeting\",\n \"Brivity Connect remarketing\",\n];\n\nconst AUTO_PLAN_DEFAULT_FILTERS = [\n \"Cannot determine recipient\",\n \"Cannot determine sender\",\n \"Email address invalid\",\n \"Failed to create task\",\n \"Failed to send email\",\n \"Failed to send text\",\n \"No email address\",\n \"No phone number\",\n \"Unmatched placeholders\",\n \"Unsubscribed\",\n];\n\nconst AUTO_PLAN_DISMISSED_AND_DEFAULT_FILTERS = AUTO_PLAN_DEFAULT_FILTERS.concat(\"Dismissed\");\n\nconst EVENT_COMPONENTS = {\n timelines: EventItem,\n auto_plans: AutoPlanEvent,\n};\n\nconst EMPTY_EVENT_COMPONENTS = {\n timelines: NoEventsIcon,\n auto_plans: NoAutoPlanEventsIcon,\n};\n\nconst RecentActivity = ({ activeTab, setActiveTab, userUuids }) => {\n const messagingServiceUrl = useMessagingServiceUrl();\n const featureFlags = useFeatureFlags();\n const [showSmsModal, setShowSmsModal] = useState(null);\n const [isFilterOpen, setIsFilterOpen] = useState(false);\n const [activeFilters, setActiveFilters] = useState([]);\n const { actions, data, loading, error } = useRecentActivity({\n eventType: activeTab,\n userUuids,\n });\n const events = useMemo(\n () =>\n (activeFilters?.[0] === \"Dismissed\"\n ? data.filter((event) => event.dismissed)\n : data.filter((event) => !event.dismissed && activeFilters.includes(event.type))\n ).sort((a, b) => b.time_ago_epoch - a.time_ago_epoch),\n [data, activeFilters],\n );\n const allFilters =\n activeTab === \"timelines\" ? TIMELINES_DEFAULT_FILTERS : AUTO_PLAN_DISMISSED_AND_DEFAULT_FILTERS;\n const EventComponent = EVENT_COMPONENTS[activeTab];\n const EmptyEventIcon = EMPTY_EVENT_COMPONENTS[activeTab];\n\n const resetFilters = () =>\n setActiveFilters(activeTab === \"timelines\" ? TIMELINES_DEFAULT_FILTERS : AUTO_PLAN_DEFAULT_FILTERS);\n\n const handleFilterChange = (f, checked) => {\n if (f === \"Dismissed\") {\n setActiveFilters(checked ? [f] : AUTO_PLAN_DEFAULT_FILTERS);\n } else if (checked) {\n setActiveFilters((currentFilters) => [...currentFilters, f]);\n } else {\n setActiveFilters((currentFilters) => currentFilters.filter((filter) => f !== filter));\n }\n };\n\n useEffect(resetFilters, [activeTab]);\n\n return (\n <div className=\"tw-bg-white tw-relative tw-flex tw-flex-col tw-min-h-[800px] tw-p-[20px] tw-rounded-[8px]\">\n <div className=\"tw-flex tw-justify-between tw-items-end tw-border-solid tw-border-neutral-gray-5 tw-border-0 tw-border-b-[2px]\">\n <TabBar>\n <Tab\n selected={activeTab === \"timelines\"}\n onClick={() => setActiveTab(\"timelines\")}\n label=\"Recent Activity\"\n />\n <Tab\n selected={activeTab === \"auto_plans\"}\n onClick={() => setActiveTab(\"auto_plans\")}\n label=\"Auto Plans\"\n />\n </TabBar>\n <div className=\"tw-flex tw-flex-col\">\n <Button className=\"tw-mb-[4px]\" onClick={() => setIsFilterOpen((open) => !open)} variant=\"info\">\n Filtered\n </Button>\n {isFilterOpen && (\n <div className=\"tw-z-10 tw-border-solid tw-border-gray-light tw-w-[220px] tw-self-end tw-absolute tw-pb-0 tw-mt-[37px] tw-bg-white\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-bg-[#f8f7f6] tw-m-[2px] tw-mb-10px tw-p-[4px] tw-font-light tw-border-solid tw-border-0 tw-border-b-[2px] tw-border-gray-light\">\n <span>Timeline Filter</span>\n {/*\n TODO: This is where we need to query out to the services to get the right information\n based on current\n TODO: filter selection.\n */}\n <i\n role=\"button\"\n alt=\"Refresh\"\n tabIndex={0}\n onKeyDown={(e) => {\n if (e.key !== \"Tab\") e.preventDefault();\n if ([\"Enter\", \" \"].includes(e.key)) resetFilters();\n }}\n onClick={resetFilters}\n className=\"tw-text-14px tw-text-[#b2b2b4] fa fa-repeat\"\n />\n </div>\n {allFilters.map((f) => (\n <div\n key={f}\n className={`tw-pt-[2px] tw-pr-[5px] tw-pl-[5px] ${\n f === \"Dismissed\" ? \"tw-pb-[3px]\" : \"tw-pb-[6px]\"\n }`}\n >\n <Checkbox\n value={f}\n onChange={(e) => handleFilterChange(f, e.target.checked)}\n checked={activeFilters.includes(f)}\n labelText={f}\n />\n </div>\n ))}\n </div>\n )}\n </div>\n </div>\n\n <div className=\"tw-flex tw-flex-col tw-pt-[8px]\">\n <Error\n show={Boolean(error)}\n message={`Unable to fetch ${activeTab === \"timelines\" ? \"recent activities\" : \"auto plans\"}`}\n onClose={actions.clearError}\n />\n\n {events.map((event) => (\n <EventComponent\n key={event.id}\n event={event}\n isDismissed={event.dismissed}\n dismissEvent={() => actions.dismissEvent(event)}\n openSmsModalWithPerson={(person) => {\n const phone = viewPhoneFromFlat(\n event.person_dialable_phone_numbers?.find((p) => p.is_primary || p.position === 1) ||\n event.person_dialable_phone_numbers?.[0],\n );\n setShowSmsModal({\n person: {\n ...person,\n data: {\n ...person.data,\n attributes: {\n ...person.data.attributes,\n primary_phone_number: phone.formattedNumber,\n },\n },\n },\n phone,\n });\n }}\n // TODO: use animation library\n // isDismissing={eventToDismiss === ev.id}\n />\n ))}\n\n {events.length ? (\n <div className=\"tw-flex tw-justify-center\">\n <Button\n className=\"tw-max-w-[400px] tw-w-full\"\n size=\"medium\"\n schema=\"secondary\"\n disabled={loading}\n onClick={actions.loadMore}\n >\n {loading ? \"Loading...\" : \"Load More...\"}\n </Button>\n </div>\n ) : (\n <div className=\"tw-text-center\">\n <img height=\"200px\" src={EmptyEventIcon} alt=\"no events\" />\n <h4 className=\"tw-text-[20px]\">Change your filters to see more activity</h4>\n </div>\n )}\n </div>\n\n {loading && <Loader />}\n\n {showSmsModal && (\n <SmsModal\n gabbiAi={featureFlags.gabbiAi}\n modalOpen\n person={showSmsModal.person}\n phone={showSmsModal.phone}\n closeModal={() => setShowSmsModal(null)}\n messagingServiceUrl={messagingServiceUrl}\n />\n )}\n <ScrollButton />\n </div>\n );\n};\n\nRecentActivity.propTypes = {\n activeTab: PropTypes.string.isRequired,\n setActiveTab: PropTypes.func.isRequired,\n userUuids: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default RecentActivity;\n","import { useSelector } from \"react-redux\";\n\nexport const useAgentList = () => useSelector((state) => state.dashboard.agentList);\nexport const useDateRange = () => useSelector((state) => state.dashboard.dateRange);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nconst CustomCheckboxOption = ({\n children,\n onClick,\n showDivider,\n componentProps: { data, isDisabled, isSelected },\n}) => (\n <>\n <button\n className=\"tw-bg-white tw-border-0 tw-w-full tw-text-left tw-py-[4px] tw-px-[6px] tw-cursor-pointer hover:tw-bg-gray-5\"\n type=\"button\"\n onClick={(e) => {\n onClick(data, !isSelected);\n e.preventDefault();\n e.stopPropagation();\n }}\n >\n <Checkbox value={data.value} disabled={isDisabled} checked={isSelected} label={children} readOnly />\n </button>\n {showDivider && <hr className=\"tw-m-0 tw-border-gray-10\" />}\n </>\n);\n\nCustomCheckboxOption.propTypes = {\n children: PropTypes.node.isRequired,\n onClick: PropTypes.func.isRequired,\n showDivider: PropTypes.bool,\n componentProps: PropTypes.shape({\n data: PropTypes.shape({ value: PropTypes.string, name: PropTypes.string }),\n isDisabled: PropTypes.bool,\n isSelected: PropTypes.bool,\n }).isRequired,\n};\n\nCustomCheckboxOption.defaultProps = {\n showDivider: false,\n};\n\nexport default CustomCheckboxOption;\n","import React, { useMemo, useState } from \"react\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport LeadQuickStats from \"./LeadQuickStats\";\n\nimport LeadGenActivities from \"./LeadGenActivities/LeadGenActivities\";\nimport RecentActivity from \"./RecentActivity/RecentActivity\";\nimport { useAgentList, useDateRange } from \"../../reducers/dashboardReducer/selectors\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport CustomCheckboxOption from \"./CustomCheckboxOption\";\n\nconst Dashboard = () => {\n const currentUser = useCurrentUser();\n const agentList = useAgentList();\n const dateRange = useDateRange();\n const [activeTab, setActiveTab] = useState(\"timelines\");\n const [selectedUsers, setSelectedUsers] = useState([agentList[0]]);\n const userUuids = useMemo(() => selectedUsers.map((u) => u.value), [selectedUsers]);\n\n return (\n <>\n <div\n data-cy=\"dashboard-header\"\n className=\"tw-bg-white tw-sticky tw-top-0 tw-z-2 tw-shadow tw-flex tw-justify-between tw-items-center tw-px-[20px] tw-py-[12px]\"\n >\n <h2 className=\"tw-m-0\">Dashboard</h2>\n {currentUser.account.isAdmin && (\n <Dropdown\n containerClassName=\"tw-min-w-[200px] tw-ml-[8px]\"\n components={{\n Option: (props) => (\n <CustomCheckboxOption\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n onClick={(agent, checked) => {\n if (agent.value === \"all\") {\n setSelectedUsers(checked ? [agent] : []);\n } else {\n setSelectedUsers((currentAgents) => {\n if (checked) return [...currentAgents.filter((a) => a.value !== \"all\"), agent];\n return currentAgents.length > 1\n ? currentAgents.filter((a) => a.value !== agent.value)\n : [agentList[0]];\n });\n }\n }}\n // eslint-disable-next-line\n showDivider={props.data.value === \"all\"}\n />\n ),\n }}\n placeholder={\n <span className=\"tw-text-gray-base\">\n {selectedUsers?.[0].label}\n {selectedUsers.length > 1 ? ` +${selectedUsers.length - 1}` : \"\"}\n </span>\n }\n options={agentList}\n value={selectedUsers}\n isMulti\n closeMenuOnSelect={false}\n isClearable={false}\n multiShouldRenderBelowSelect={false}\n controlShouldRenderValue={false}\n hideSelectedOptions={false}\n />\n )}\n </div>\n <div className=\"tw-bg-neutral-gray-5 tw-pt-[12px] tw-pb-[48px] tw-px-[12px]\">\n <div\n data-cy=\"dashboard-content\"\n className=\"tw-max-w-[1320px] tw-mx-auto tw-flex tw-flex-col tw-gap-[16px] tw-bg-neutral-gray-5 tw-pb-[24px]\"\n >\n <LeadQuickStats dateRange={dateRange} userUuids={userUuids} />\n <div className=\"tw-flex tw-flex-wrap tw-items-start tw-gap-[16px]\">\n <div className=\"tw-flex tw-flex-col tw-flex-1 tw-gap-[16px] tw-basis-[55%]\">\n <RecentActivity userUuids={userUuids} activeTab={activeTab} setActiveTab={setActiveTab} />\n </div>\n <div className=\"tw-flex tw-flex-col tw-items-stretch tw-flex-1 tw-gap-[16px] tw-basis-[35%]\">\n <LeadGenActivities userUuids={userUuids} />\n </div>\n </div>\n </div>\n </div>\n </>\n );\n};\n\nexport default Dashboard;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst PlatformCTA = ({ children }) => (\n <Tooltip\n placement=\"top\"\n trigger={children}\n innerClassName=\"tw-max-w-[200px]\"\n content=\"Filtering by property view/favorite criteria is a Brivity Platform feature. Contact sales@brivity.com to upgrade.\"\n />\n);\n\nPlatformCTA.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default PlatformCTA;\n","import React from \"react\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport PlatformCTA from \"./PlatformCTA\";\n\nconst DisabledHistoryFields = () => (\n <div className=\"tw-flex tw-flex-col tw-gap-[16px] tw-px-[10px]\">\n <PlatformCTA>\n <div className=\"tw-flex tw-gap-[12px]\">\n <RadioButton labelClassName=\"!tw-text-12d\" label=\"Property Views & Favorites\" disabled />\n <RadioButton labelClassName=\"!tw-text-12d\" label=\"Views only\" disabled />\n <RadioButton labelClassName=\"!tw-text-12d\" label=\"Favorites only\" disabled />\n </div>\n </PlatformCTA>\n <PlatformCTA>\n <div className=\"tw-flex tw-gap-[16px]\">\n <TextInput label=\"Min Price\" disabled />\n <TextInput label=\"Max Price\" disabled />\n </div>\n </PlatformCTA>\n <PlatformCTA>\n <div className=\"tw-flex tw-items-end tw-gap-[4px]\">\n <Dropdown\n label=\"Bedrooms\"\n containerClassName=\"tw-flex-1\"\n id=\"filters-disabled-history-fields_property-bedrooms\"\n placeholder=\"No Min\"\n isDisabled\n />\n <span>-</span>\n <Dropdown containerClassName=\"tw-flex-1\" placeholder=\"No Max\" isDisabled />\n </div>\n </PlatformCTA>\n <PlatformCTA>\n <div className=\"tw-flex tw-items-end tw-gap-[4px]\">\n <Dropdown\n label=\"Bathrooms\"\n containerClassName=\"tw-flex-1\"\n id=\"filters-disabled-history-fields_property-bathrooms\"\n placeholder=\"No Min\"\n isDisabled\n />\n <span>-</span>\n <Dropdown containerClassName=\"tw-flex-1\" placeholder=\"No Max\" isDisabled />\n </div>\n </PlatformCTA>\n <PlatformCTA>\n <TextInput label=\"Location\" disabled />\n </PlatformCTA>\n <hr />\n </div>\n);\n\nexport default DisabledHistoryFields;\n","import React, { useState } from \"react\";\nimport Checkbox from \"../shared/v2/Checkbox\";\nimport Button from \"../shared/v2/Button\";\nimport Modal from \"../shared/v2/Modal\";\nimport { TriangleExclamationSolidV6, LightbulbOnSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst EnableTextForwarding = ({ textForwardingEnabled }) => {\n const [checked, setChecked] = useState(textForwardingEnabled);\n const [showModal, setShowModal] = useState(false);\n\n const onHide = () => {\n setShowModal(false);\n };\n\n const handleClick = () => {\n setChecked(true);\n onHide();\n };\n\n const handleCancel = () => {\n setChecked(false);\n onHide();\n };\n\n const handleClickCheckbox = () => {\n if (checked) {\n setChecked(false);\n } else {\n setShowModal(true);\n }\n };\n\n const openLink = () => {\n window.open(\"https://www.brivityknowledge.com/docs/upgrade-your-notifications-with-brivity-go\", \"_blank\");\n };\n\n return (\n <>\n <Modal\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[520px]\"\n show={showModal}\n onHide={handleCancel}\n >\n <Modal.Header title=\"Are You Sure?\" className=\"tw-mb-32px\" closeButton />\n\n <Modal.Body>\n <div>\n <div className=\"tw-border-solid tw-w-[454px] tw-border-[1px] tw-text-[#E5941B] tw-border-semantic-yellow-10 tw-bg-semantic-yellow-5 tw-rounded-sm\">\n <div className=\"tw-py-[12px] tw-px-[16px]\">\n <TriangleExclamationSolidV6 size=\"l\" />\n <span className=\"tw-pl-[16px] tw-text-[12px] tw-font-semibold tw-leading-[16px] tw-text-semantic-yellow-120\">\n Enabling text forwarding can put your text reputation at risk\n </span>\n </div>\n </div>\n <div className=\"tw-py-[24px]\">\n SPAM or malicious texts sent from contact phone numbers are monitored and can be flagged or\n blocked by the texting service. If this happens too often, your ability to text through Brivity\n may be disabled.\n </div>\n <div className=\"tw-pb-[24px]\">\n Using Brivity GO push notifications instead of text forwarding is the safest and most reliable\n way to get notified about incoming texts.\n </div>\n <div className=\"!tw-text-brivity-blue-110 tw-cursor-pointer\" onClick={openLink}>\n Learn more about how to protect your text reputation and get started with Brivity GO.\n </div>\n </div>\n </Modal.Body>\n\n <Modal.Footer className=\"tw-flex tw-mt-[40px]\">\n <Button\n onClick={handleCancel}\n className=\"tw-px-[20px] tw-py-[8px] tw-flex tw-items-center\"\n schema=\"tertiary\"\n size=\"medium\"\n >\n Cancel\n </Button>\n <div className=\"tw-flex-1\" />\n <Button onClick={handleClick} className=\"tw-flex tw-items-center\" schema=\"primary\" size=\"medium\">\n Enable Text Forwarding\n </Button>\n </Modal.Footer>\n </Modal>\n <input name=\"user[sms_text_forwarding]\" type=\"hidden\" value={checked ? 1 : 0} autocomplete=\"off\" />\n <Checkbox\n checked={checked}\n label=\"Enable Text Forwarding\"\n onChange={handleClickCheckbox}\n className=\"tw-cursor-pointer\"\n />\n <div className=\"tw-pt-[16px]\">\n <div className=\"tw-border-solid tw-border-[1px] tw-text-brivity-blue-110 tw-border-[#DEF3F3] tw-bg-blue-10 tw-rounded-sm\">\n <div className=\"tw-py-[12px] tw-px-[16px]\">\n <div className=\"tw-items-center tw-grid tw-grid-cols-12 tw-justify-between\">\n <div className=\"tw-col-span-1\">\n <LightbulbOnSolidV6 size=\"l\" />\n </div>\n <div className=\"tw-ml-[-45px] tw-col-span-9 tw-text-[14px] tw-font-bold tw-leading-[20px] tw-text-color-336e7b\">\n Tip: Get Notified About Incoming Texts through Brivity GO\n <div className=\"tw-font-normal\">\n The best way to get notified about incoming texts is through Brivity GO push notifications.\n </div>\n </div>\n <div className=\"tw-col-span-2 tw-justify-self-end\">\n <Button\n onClick={openLink}\n className=\"tw-flex tw-items-center\"\n schema=\"secondary\"\n size=\"small\"\n >\n Get Started\n </Button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </>\n );\n};\n\nexport default EnableTextForwarding;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport DropdownWithMultiCtrlledRemovable from \"@shared/DropdownWithMultiCtrlledRemovable\";\n\nconst ExcludeTagFilter = ({ tags, excludedTags }) => (\n <DropdownWithMultiCtrlledRemovable\n isVirtualized\n options={tags.map(({ id: value, name: label }) => ({ label, value: `${value}` }))}\n selectedOptions={excludedTags?.map((excludedId) => {\n const { id, name } = tags.find((t) => t.id === excludedId);\n\n return { label: name, value: `${id}` };\n })}\n removablePrefix={`Tag (Exclude): `}\n placeHolderTxt=\" excluded tags selected\"\n ctrlName=\"leads_filter[selected_exclude_tag_filters][]\"\n />\n);\n\nExcludeTagFilter.propTypes = {\n tags: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n excludedTags: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default ExcludeTagFilter;\n","import React from \"react\";\n\nexport const RemovableBubble = ({\n selectionId,\n selectionName,\n inputIdPrefix,\n labelPrefix,\n onClick,\n inputFieldName,\n}) => (\n <div key={selectionId} className=\"tw-inline-block\">\n <input\n className=\"filter-bubble-checkbox\"\n type=\"checkbox\"\n name={inputFieldName}\n id={`${inputIdPrefix}${selectionId}`}\n value={selectionId}\n checked=\"checked\"\n readOnly\n />\n <div className=\"removable-bubble tw-mr-[3px]\" onClick={onClick}>\n <label className=\"info-label tw-cursor-pointer\" htmlFor={`${inputIdPrefix}${selectionId}`}>\n {labelPrefix} {selectionName}\n </label>\n <i className=\"fa fa-remove tw-pl-[3px]\"></i>\n </div>\n </div>\n);\n\nexport const RemovableBubbles = ({\n selections,\n inputIdPrefix,\n labelPrefix,\n onRemoveBubbleClickHandlr,\n inputFieldName,\n}) =>\n selections.map(({ label, value }) => (\n <RemovableBubble\n key={value}\n selectionId={value}\n selectionName={label}\n inputIdPrefix={inputIdPrefix}\n labelPrefix={labelPrefix}\n inputFieldName={inputFieldName}\n onClick={() => onRemoveBubbleClickHandlr(value)}\n />\n ));","import React, { useEffect, useState } from \"react\";\nimport { arrayOf, shape, string } from \"prop-types\";\n\nimport { Dropdown } from \"../v1\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { omit } from \"lodash\";\nimport FieldSelect from \"@shared/UtilsV1/FieldSelect\";\nimport RemovableBubbles from \"@shared/RemovableBubbles\";\n\nconst DropdownWithRemovable = ({\n options,\n inputIdPrefix,\n labelPrefix,\n placeholder,\n inputFieldName,\n preSelectedRemovables,\n fieldSelect,\n}) => {\n const [selectedOptionsById, setSelectedOptionsById] = useState({});\n\n // Adds any removable filter to Dropdown if present\n useEffect(() => {\n if (preSelectedRemovables)\n setSelectedOptionsById(\n preSelectedRemovables.reduce(\n (acc, removable) => ({\n ...acc,\n ...removable,\n }),\n {},\n ),\n );\n }, []);\n\n const onUpdateHandlr = (option) => {\n if (fieldSelect) {\n setSelectedOptionsById((prev) => ({\n ...prev,\n [`(${option?.headerPrefix}) ` + option?.value]: `(${option?.headerPrefix}) ` + option?.label,\n }));\n } else {\n setSelectedOptionsById((prev) => ({\n ...prev,\n [option?.value]: option?.label,\n }));\n }\n };\n\n const onRemoveBubbleClickHandlr = (value) => setSelectedOptionsById((prev) => omit(prev, value));\n\n return (\n <div>\n <Row>\n <Col xs={12}>\n {fieldSelect ? (\n <FieldSelect\n className=\"tw-bg-white\"\n onChange={onUpdateHandlr}\n fieldSelect\n placeholder={placeholder}\n options={options}\n value={null}\n />\n ) : (\n <Dropdown onUpdate={onUpdateHandlr} placeholder={placeholder} options={options} value={null} />\n )}\n </Col>\n <Col xs={12}>\n <div className=\"filter-checkboxes m-t-10\">\n <RemovableBubbles\n selections={Object.entries(selectedOptionsById).map(([value, label]) => ({\n label,\n value,\n }))}\n inputFieldName={inputFieldName}\n inputIdPrefix={inputIdPrefix}\n labelPrefix={labelPrefix}\n onRemoveBubbleClickHandlr={onRemoveBubbleClickHandlr}\n />\n </div>\n </Col>\n </Row>\n </div>\n );\n};\n\nexport default DropdownWithRemovable;\n\nDropdownWithRemovable.propTypes = {\n options: arrayOf(\n shape({\n label: string,\n value: string,\n }),\n ),\n inputIdPrefix: string,\n labelPrefix: string,\n placeholder: string,\n inputFieldName: string,\n preSelectedRemovables: arrayOf(string),\n};\n\nDropdownWithRemovable.defaultProps = {\n options: [],\n inputIdPrefix: null,\n labelPrefix: null,\n placeholder: \"Select\",\n inputFieldName: null,\n preSelectedRemovables: [],\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { startCase, toLower } from \"lodash\";\n\nimport DropdownWithRemovable from \"../../shared/DropdownWithRemovable\";\nimport { LEAD_STAGE_MAPPING, CANDIDATE_STAGE_MAPPING } from \"../../shared/StagesDropDown/StagesDropDown\";\n\nconst StageFilter = ({ stages }) => {\n const addHeaderToObjects = (array) => {\n const headerValue = array[0]?.header;\n\n return array.map(({ label, value, header }) => ({\n label: startCase(toLower(label)),\n value,\n header,\n headerPrefix: headerValue,\n }));\n };\n return (\n <DropdownWithRemovable\n options={[\n ...addHeaderToObjects(LEAD_STAGE_MAPPING),\n ...addHeaderToObjects(CANDIDATE_STAGE_MAPPING),\n ].map(({ label, value, header, headerPrefix }) => ({\n label: startCase(toLower(label)),\n value,\n header,\n headerPrefix,\n }))}\n fieldSelect\n inputIdPrefix=\"leads_filter_selected_stage_filters_\"\n labelPrefix=\"Stage: \"\n preSelectedRemovables={stages?.map((stage) => ({ [stage]: stage }))}\n inputFieldName=\"leads_filter[selected_stage_filters][]\"\n />\n );\n};\n\nStageFilter.propTypes = {\n stages: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default StageFilter;\n","import React from \"react\";\nimport { arrayOf, string, shape } from \"prop-types\";\n\nimport DropdownWithMultiCtrlledRemovable from \"@shared/DropdownWithMultiCtrlledRemovable\";\n\nconst SourceFilter = ({ selectedOptions, options }) => {\n const hashOptions = options.reduce((acc, { name, id }) => {\n acc[id] = name;\n return acc;\n }, {});\n\n return (\n <DropdownWithMultiCtrlledRemovable\n options={options.map(({ name, id }) => ({ label: name, value: `${id}` }))}\n selectedOptions={selectedOptions?.map((id) => ({ label: hashOptions[id], value: `${id}` }))}\n removablePrefix=\"Source: \"\n placeHolderTxt=\" sources selected\"\n ctrlName=\"leads_filter[selected_sources][]\"\n />\n );\n};\n\nexport default SourceFilter;\n\nSourceFilter.propTypes = {\n selectedOptions: arrayOf(string),\n options: arrayOf(shape({})),\n};\n\nSourceFilter.defaultProps = {\n selectedOptions: [],\n options: [],\n};\n","import { useEffect, useState } from \"react\";\n\n/**\n * @summary Hook for matching media queries in JavaScript\n * @param {string} query The media query e.g. (max-width: 480px)\n */\nconst useMediaQuery = (query) => {\n const [isUp, setIsUp] = useState(false);\n\n useEffect(() => {\n const matcher = window.matchMedia(query);\n const onChange = (m) => setIsUp(m.matches);\n onChange(matcher);\n matcher.addEventListener(\"change\", onChange);\n return () => matcher.removeEventListener(\"change\", onChange);\n }, []);\n\n return isUp;\n};\n\nexport default useMediaQuery;\n","import React, { useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport \"@brivity/ai-components/dist/style.css\";\nimport { AiComponentsProvider, AskPlace, AskPlaceToggleButton } from \"@brivity/ai-components\";\nimport useAiToken from \"@shared/AiAssistant/hooks/useAiToken\";\nimport useMediaQuery from \"@shared/v2/useMediaQuery\";\nimport { useIsAdmin, useCurrentSuperUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst AiAskPlace = () => {\n // If we need to make this component triggerable in more locations we'll need to move this to redux\n const [isAskPlaceOpen, setIsAskPlaceOpen] = useState(false);\n const { apiUrl, token } = useAiToken();\n const isSuperUser = useCurrentSuperUser();\n const isMetaUser = useSelector(({ layout }) => layout.currentMetaUser);\n const sidebar = useSelector(({ layout }) => layout.sidebar?.isOpen);\n const [leftOffset, setLeftOffset] = useState(60);\n const isMobile = useMediaQuery(\"(max-width: 768px)\");\n const isShortScreen = useMediaQuery(\"(max-height: 767px)\");\n const isAdmin = useIsAdmin();\n\n useEffect(() => {\n setLeftOffset(sidebar ? 260 : 60);\n }, [sidebar]);\n\n const topOffset = 52 + (isMetaUser ? 52 : 0) + (isSuperUser ? 52 : 0);\n\n // we don't want to cover the Intercom bubble on the shorter screens\n const defaultY = isShortScreen ? 0 : topOffset + 10;\n\n return (\n <AiComponentsProvider\n apiUrl={apiUrl}\n token={token}\n theme={document.body.classList.contains(\"place-theme\") ? \"ai-place\" : \"ai-brivity\"}\n >\n <AskPlaceToggleButton\n onClick={() => setIsAskPlaceOpen((isOpen) => !isOpen)}\n isAskPlaceOpen={isAskPlaceOpen}\n />\n {!isMobile && isAskPlaceOpen && (\n <AskPlace\n isAdmin={isAdmin}\n defaultY={defaultY}\n maximized={{ offset: { top: topOffset, left: leftOffset } }}\n // the default position of the minimized version is bottom right\n // same as the Intercom bubble\n // we want to move it a bit to the left so it doesn't cover the Intercom bubble\n minimized={{ offset: { x: -68 } }}\n onMinimize={() => setIsAskPlaceOpen(false)}\n />\n )}\n </AiComponentsProvider>\n );\n};\n\nexport default AiAskPlace;\n","export const SNACKBAR_BASE_CLASSES = `\n tw-py-12px tw-px-16px tw-w-fit tw-max-w-full tw-flex tw-gap-12px\n tw-rounded-[100px] tw-shadow-[0px_2px_8px_rgba(213,213,213,0.5)]\n tw-absolute tw-z-4000 tw-items-center\n tw-border-solid tw-border-1px\n `;\n\nexport const SNACKBAR_CLASSES = {\n default: `\n tw-bg-neutral-gray-75 tw-text-neutral-gray-15 tw-border-neutral-gray-15\n `,\n error: `\n tw-bg-semantic-red-5 tw-text-semantic-red-100 tw-border-semantic-red-10\n `,\n executing: `\n tw-bg-neutral-gray-75 tw-text-neutral-gray-15 tw-border-neutral-gray-15\n `,\n executed: `\n tw-bg-semantic-green-5 tw-text-semantic-green-120 tw-border-semantic-green-10\n `,\n};\n\nexport const availableSchemas = Object.keys(SNACKBAR_CLASSES);\n\nexport const snackbarAnimationStyles = (duration) => ({\n transition: `transform ${duration}ms ease-out`,\n});\n\nexport const snackbarTransitionStyles = {\n top: {\n entering: { transform: \"translateY(-100%)\" },\n entered: { transform: \"translateY(1rem)\" },\n exiting: { transform: \"translateY(-100%)\" },\n exited: { transform: \"translateY(-100%)\" },\n },\n bottom: {\n entering: { transform: \"translateY(0)\" },\n entered: { transform: \"translateY(calc(-100% - 1rem))\" },\n exiting: { transform: \"translateY(0)\" },\n exited: { transform: \"translateY(0)\" },\n },\n};\n\nexport const availablePositions = [\"top\", \"bottom\"];\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { Transition } from \"react-transition-group\";\n\nimport Portal from \"../../v1/Portal\";\nimport Button from \"../Button\";\nimport { SpinnerSolidV6, AcornSolidV6, CheckSolidV6 } from \"../Icomoon\";\n\nimport {\n SNACKBAR_BASE_CLASSES,\n SNACKBAR_CLASSES,\n availableSchemas,\n availablePositions,\n snackbarAnimationStyles,\n snackbarTransitionStyles,\n} from \"./Snackbar.styles\";\n\nconst SNACKBAR_ANIMATION_DURATION_MS = 150;\n\nconst buttonSchemaMap = {\n default: \"transparent-secondary\",\n error: \"warning\",\n executing: \"transparent-secondary\",\n executed: \"transparent-secondary\",\n};\n\nconst defaultIcons = {\n default: AcornSolidV6,\n error: AcornSolidV6,\n executing: SpinnerSolidV6,\n executed: CheckSolidV6,\n};\n\nconst getDefaultIconFor = (schema) => {\n const Icon = defaultIcons[schema] ?? defaultIcons.default;\n\n return <Icon size=\"xl\" className={schema === \"executing\" ? \"tw-animate-spin\" : \"\"} />;\n};\n\nconst Snackbar = ({\n schema,\n className,\n actionLabel,\n onActionButtonClick,\n secondaryActionLabel,\n onSecondaryActionButtonClick,\n show,\n position,\n icon,\n timeout,\n closeOnTimeout,\n text,\n}) => {\n const timeoutRef = useRef(null);\n const timeoutHandler = () => {\n closeOnTimeout();\n };\n\n useEffect(() => {\n if (show && timeout !== 0) {\n timeoutRef.current = window.setTimeout(timeoutHandler, timeout);\n return;\n }\n\n if (!show && timeoutRef.current) {\n window.clearTimeout(timeoutRef.current);\n timeoutRef.current = null;\n }\n }, [show, timeout]);\n\n return (\n <Portal>\n <div\n className={`\n tw-fixed tw-left-0 tw-right-0 tw-mx-auto tw-flex\n tw-justify-center tw-w-[90vw] tw-z-[4000]\n ${position === \"bottom\" ? \"tw-bottom-0\" : \"tw-top-0\"}\n `}\n >\n <Transition in={show} appear timeout={SNACKBAR_ANIMATION_DURATION_MS} unmountOnExit mountOnEnter>\n {(modalState) => (\n <div\n style={{\n ...snackbarAnimationStyles(SNACKBAR_ANIMATION_DURATION_MS),\n ...snackbarTransitionStyles[position][modalState],\n }}\n className={`${SNACKBAR_BASE_CLASSES} ${SNACKBAR_CLASSES[schema]} ${className}`}\n >\n {icon || getDefaultIconFor(schema)}\n <span className=\"tw-truncate tw-max-w-[120ch]\">{text}</span>\n {schema !== \"executed\" && (\n <>\n {actionLabel && onActionButtonClick && (\n <Button\n size=\"small\"\n schema={buttonSchemaMap[schema]}\n onClick={onActionButtonClick}\n className=\"tw-whitespace-nowrap\"\n >\n {actionLabel}\n </Button>\n )}\n {secondaryActionLabel && onSecondaryActionButtonClick && (\n <Button\n size=\"small\"\n schema={buttonSchemaMap[schema]}\n onClick={onSecondaryActionButtonClick}\n className=\"tw-whitespace-nowrap\"\n >\n {secondaryActionLabel}\n </Button>\n )}\n </>\n )}\n </div>\n )}\n </Transition>\n </div>\n </Portal>\n );\n};\n\nSnackbar.propTypes = {\n schema: PropTypes.oneOf(availableSchemas),\n className: PropTypes.string,\n actionLabel: PropTypes.string,\n onActionButtonClick: PropTypes.func,\n secondaryActionLabel: PropTypes.string,\n onSecondaryActionButtonClick: PropTypes.func,\n show: PropTypes.bool,\n position: PropTypes.oneOf(availablePositions),\n icon: PropTypes.node,\n timeout: PropTypes.number,\n closeOnTimeout: PropTypes.func,\n text: PropTypes.string.isRequired,\n};\n\nSnackbar.defaultProps = {\n schema: \"default\",\n className: \"\",\n actionLabel: \"\",\n onActionButtonClick: null,\n secondaryActionLabel: \"\",\n onSecondaryActionButtonClick: null,\n show: false,\n position: \"bottom\",\n icon: null,\n timeout: 0,\n closeOnTimeout: () => {},\n};\n\nexport default Snackbar;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst createElement = (tagName, opts) =>\n Object.entries(opts).reduce((c, [k, v]) => {\n // eslint-disable-next-line no-param-reassign\n c[k] = v;\n return c;\n }, document.createElement(tagName));\n\nconst formAction = (href, method) => (e) => {\n e.preventDefault();\n const form = createElement(\"form\", { action: href, method: \"post\" });\n const methodInput = createElement(\"input\", { type: \"hidden\", name: \"_method\", value: method });\n const authInput = createElement(\"input\", {\n type: \"hidden\",\n name: \"authenticity_token\",\n value: ReactOnRails.authenticityToken(),\n });\n form.append(methodInput);\n form.append(authInput);\n document.body.append(form);\n form.submit();\n};\n\nconst Popover = ({ children, className, open, ...props }) => (\n <div\n {...props}\n className={`${\n open ? \"tw-absolute\" : \"tw-hidden\"\n } tw-bg-white tw-rounded-[4px] tw-shadow-dropdown tw-top-[calc(100%+8px)] tw-right-0 after:tw-content-[''] after:tw-w-[12px] after:tw-h-[12px] after:tw-bg-white after:tw-absolute after:tw-top-[-6px] after:tw-right-[10px] after:tw-rotate-45 ${className}`}\n >\n {children}\n </div>\n);\n\nPopover.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n open: PropTypes.bool,\n};\n\nPopover.defaultProps = {\n className: \"\",\n open: false,\n};\n\nconst PopoverLink = ({ href, icon: Icon, method, title, onClick, ...props }) => (\n <li className=\"tw-rounded-md tw-list-none tw-overflow-hidden\">\n <a\n {...props}\n className=\"tw-flex tw-items-center hover:tw-no-underline hover:tw-bg-neutral-gray-5 focus:tw-no-underline focus:tw-bg-neutral-gray-5 tw-gap-[8px] tw-p-[8px] tw-border-solid tw-border-t-0 tw-border-x-0 tw-border-b-[1px] tw-border-neutral-gray-10\"\n href={href}\n onClick={method ? formAction(href, method) : onClick}\n >\n <Icon size=\"xl\" /> <span>{title}</span>\n </a>\n </li>\n);\n\nPopoverLink.propTypes = {\n href: PropTypes.string.isRequired,\n icon: PropTypes.func.isRequired,\n method: PropTypes.string,\n title: PropTypes.string.isRequired,\n onClick: PropTypes.func,\n};\n\nPopoverLink.defaultProps = {\n method: null,\n onClick: undefined,\n};\n\nexport default Popover;\nexport { PopoverLink };\n","import React, { useRef, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport {\n BookBlankSolidV6,\n GraduationCapSolidV6,\n MessageSmileSolidV6,\n QuestionCircleRegularV3,\n VideoSolidV6,\n} from \"../../shared/v2/Icomoon\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport { useClickOutside } from \"../../shared/hookHelpers\";\nimport Popover, { PopoverLink } from \"../Popover\";\n\nconst Help = () => {\n const theme = useSelector(({ layout }) => layout.theme);\n const ref = useRef(null);\n const [open, setOpen] = useState(false);\n useClickOutside(ref, () => setOpen(false));\n\n return (\n <div ref={ref} className=\"tw-relative\">\n <IconButton\n className={`${\n theme.name === \"place-theme\" ? \"tw-text-white\" : \"\"\n } hover:tw-bg-gray/20 active:tw-bg-gray/30`}\n schema=\"transparent\"\n id=\"helpDropdown\"\n aria-haspopup=\"true\"\n aria-expanded={open}\n onClick={() => setOpen((o) => !o)}\n >\n <QuestionCircleRegularV3 size=\"xxl\" />\n </IconButton>\n\n <Popover aria-labelledby=\"helpDropdown\" className=\"tw-w-[200px]\" open={open}>\n <ul className=\"tw-m-0 tw-p-0\">\n {theme.name !== \"place-theme\" && (\n <PopoverLink\n href=\"https://learn.brivity.com\"\n icon={GraduationCapSolidV6}\n title=\"Brivity Academy\"\n target=\"_blank\"\n />\n )}\n <PopoverLink\n href=\"https://www.brivityknowledge.com/docs/live-training\"\n icon={VideoSolidV6}\n title=\"Live Brivity Training\"\n target=\"_blank\"\n />\n <PopoverLink\n href=\"https://www.brivityknowledge.com/\"\n icon={BookBlankSolidV6}\n title=\"Knowledge Center\"\n target=\"_blank\"\n />\n <PopoverLink\n href=\"#\"\n icon={MessageSmileSolidV6}\n id=\"intercom-give-feedback\"\n title=\"Give Feedback\"\n onClick={(e) => {\n e.preventDefault();\n setOpen(false);\n }}\n />\n </ul>\n </Popover>\n </div>\n );\n};\n\nexport default Help;\n","import React, { useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport Toggle from \"../../shared/v2/Toggle/Toggle\";\n\nconst getUseNewPage = (togglePartial, featureFlags) => {\n let value = false;\n if (togglePartial === \"people/feature_toggle\") value = featureFlags.newPdp;\n if (togglePartial === \"listings/feature_toggle\") value = featureFlags.newTransactions;\n if (togglePartial === \"listings/feature_toggle_detail\") value = featureFlags.newTdp;\n return Boolean(value);\n};\n\nconst getUrl = (togglePartial, newPage) => {\n let baseUrl = \"\";\n const urlParams = new URLSearchParams({ use_classic: newPage });\n if (togglePartial === \"listings/feature_toggle_detail\") {\n if (newPage) {\n baseUrl = window.location.pathname.replace(\"/transactions/\", \"/listings/\");\n baseUrl = baseUrl.replace(/(timeline|tasks|notes|details|marketing|feedback|docs|financials)\\/?$/, \"\");\n urlParams.append(\"tab\", \"tasks-tab\");\n } else {\n baseUrl = window.location.pathname.replace(\"/listings/\", \"/transactions/\");\n }\n }\n return `${baseUrl}?${urlParams}`;\n};\n\nconst FeatureToggle = () => {\n const togglePartial = useSelector(({ layout }) => layout.togglePartial);\n const featureFlags = useSelector(({ layout }) => layout.featureFlags);\n const theme = useSelector(({ layout }) => layout.theme);\n const newPage = getUseNewPage(togglePartial, featureFlags);\n const [value, setValue] = useState(newPage);\n\n if (!togglePartial) return null;\n\n const textStyle = `${theme.name === \"place-theme\" ? \"tw-text-white/40\" : \"tw-text-black/25\"}`;\n const activeTextStyle = `${theme.name === \"place-theme\" ? \"tw-text-white/90\" : \"tw-text-black/40\"}`;\n\n return (\n <div className=\"tw-flex tw-items-center tw-gap-[8px] tw-mr-[8px] tw-text-12d tw-font-semibold\">\n <span className={`bs-xs:tw-hidden ${value ? textStyle : activeTextStyle}`}>Classic</span>\n <Toggle\n labelClassName=\"tw-mb-0\"\n checked={value}\n onChange={() => {\n setValue(!value);\n window.location.assign(getUrl(togglePartial, value));\n }}\n />\n <span className={`bs-xs:tw-hidden ${value ? activeTextStyle : textStyle}`}>New</span>\n </div>\n );\n};\n\nexport default FeatureToggle;\n","import React from \"react\";\n\nconst GlobalStatus = () => (\n <div id=\"global-status\" className=\"tw-hidden\">\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a className=\"tw-flex tw-justify-between\" href=\"#\" aria-label=\"global status\">\n <div className=\"status-message\" />\n <div className=\"status-info\" />\n </a>\n </div>\n);\n\nexport default GlobalStatus;\n","import React, { useMemo } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport Dropdown from \"../shared/v2/Dropdown/Dropdown\";\nimport Button from \"../shared/v2/Button/Button\";\nimport { LogOut } from \"../shared/v2/Icomoon\";\nimport TextInput from \"../shared/v2/TextInput/TextInput\";\nimport { useCurrentUser } from \"../reducers/layoutReducer/selectors\";\n\nconst SuperUser = () => {\n const currentSuperUser = useSelector(({ layout }) => layout.currentSuperUser);\n const currentUser = useCurrentUser();\n const env = useSelector(({ layout }) => layout.env);\n const isProduction = env === \"production\";\n const options = useMemo(\n () =>\n currentSuperUser && currentUser\n ? [\n { label: \"CRM View\", value: \"/account/personal\" },\n { label: \"Superuser Home\", value: `/super_users/${currentSuperUser.id}` },\n { label: \"Account Actions\", value: `/support/accounts/${currentUser.account.id}` },\n { label: \"Health Board\", value: `/support/accounts/${currentUser.account.id}/health_board` },\n { label: \"Imports\", value: `/support/accounts/${currentUser.account.id}/imports` },\n { label: \"Exports\", value: `/support/accounts/${currentUser.account.id}/exports` },\n { label: \"Users\", value: `/support/accounts/${currentUser.account.id}/users` },\n {\n label: \"Feature Toggles\",\n value: `/support/accounts/${currentUser.account.id}/feature_toggles`,\n },\n {\n label: \"Transaction Financials\",\n value: `/support/accounts/${currentUser.account.id}/transaction_financials`,\n },\n {\n label: \"Update People\",\n value: `/support/people_mass_updates?account_uuid=${currentUser.account.uuid}`,\n },\n ]\n : [],\n [currentSuperUser, currentUser],\n );\n const value =\n options.find((o) => o.value === `${window.location.pathname}${window.location.search}`) || options[0];\n\n if (!currentSuperUser) return null;\n return (\n <div\n className={`${\n isProduction ? \"tw-bg-neutral-gray-75\" : \"tw-bg-[#FBC02D]\"\n } tw-overflow-x-auto tw-text-white tw-flex tw-gap-[8px] tw-justify-between tw-items-center tw-p-[8px]`}\n >\n {currentUser ? (\n <>\n <div className=\"tw-flex tw-flex-1 tw-gap-[16px]\">\n <Dropdown\n className=\"tw-min-w-[250px]\"\n value={value}\n options={options}\n onChange={({ value: url }) => window.location.assign(url)}\n menuShouldComeToFront\n maxVisibleOptions={10}\n />\n <form\n className=\"tw-flex tw-flex-1 tw-gap-[8px] tw-items-center\"\n action={`/super_users/${currentUser.account.id}/become`}\n acceptCharset=\"UTF-8\"\n method=\"post\"\n >\n <input type=\"hidden\" name=\"utf8\" value=\"✓\" />\n <input name=\"authenticity_token\" type=\"hidden\" value={ReactOnRails.authenticityToken()} />\n <TextInput\n id=\"become_user_email\"\n name=\"become_user_email\"\n containerClassName=\"tw-flex-1 tw-max-w-[500px]\"\n placeholder=\"Enter a user's email address\"\n />\n <Button className=\"tw-whitespace-nowrap\" type=\"submit\" size=\"medium\">\n Log In As User\n </Button>\n </form>\n </div>\n <div className=\"tw-flex-1 tw-min-w-[320px] tw-text-16d tw-text-center tw-break-words\">\n Signed in as: {currentUser.email}\n </div>\n </>\n ) : (\n <span className=\"tw-text-16d tw-font-semibold\">BRIVITY SUPERUSER</span>\n )}\n <form action=\"/super_users/sign_out\" method=\"post\">\n <input type=\"hidden\" name=\"_method\" value=\"delete\" />\n <input name=\"authenticity_token\" type=\"hidden\" value={ReactOnRails.authenticityToken()} />\n <Button\n className=\"tw-flex tw-gap-[8px] tw-items-center tw-whitespace-nowrap\"\n size=\"medium\"\n type=\"submit\"\n >\n <LogOut size=\"l\" /> Log Out\n </Button>\n </form>\n </div>\n );\n};\n\nexport default SuperUser;\n","import React, { useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport Dropdown from \"../shared/v2/Dropdown/Dropdown\";\nimport { caseTransformingAxios } from \"../shared/v2/caseTransformingAxios\";\nimport Button from \"../shared/v2/Button/Button\";\nimport { useCurrentUser } from \"../reducers/layoutReducer/selectors\";\n\nconst useAccountAgents = (accountId) => {\n const [data, setData] = useState({ accountAgents: [], currentAgentId: null });\n\n useEffect(() => {\n if (!accountId) return;\n caseTransformingAxios.get(`/account_users/${accountId}`).then((res) => setData(res.data));\n }, [accountId]);\n\n const actions = {\n becomeUser: (personId) => {\n caseTransformingAxios.post(\"/account_users\", { personId }).then(() => window.location.assign(\"/tasks\"));\n },\n };\n\n return { actions, data };\n};\n\nconst MetaUser = () => {\n const currentMetaUser = useSelector(({ layout }) => layout.currentMetaUser);\n const currentUser = useCurrentUser();\n const isSelf = currentMetaUser?.primaryPerson.id === currentUser?.person.id;\n const [account, setAccount] = useState(\n currentMetaUser?.accountOptions.find((a) => a.value === currentUser?.account.id),\n );\n const [agent, setAgent] = useState(null);\n const {\n actions,\n data: { accountAgents, currentAgentId },\n } = useAccountAgents(account?.value);\n\n useEffect(() => {\n if (!currentAgentId) return;\n const newAgent =\n accountAgents.find(({ value }) => value === currentUser.person.id) ||\n accountAgents.find(({ value }) => value === currentAgentId);\n setAgent(newAgent);\n }, [accountAgents, currentAgentId, currentUser]);\n\n if (!currentMetaUser) return null;\n return (\n <div\n className={`${\n isSelf ? \"tw-bg-[#CECECE] acting-as-self\" : \"tw-bg-[#3B3B3B] acting-as-other\"\n } tw-flex tw-justify-between tw-items-center tw-gap-[8px] tw-overflow-x-auto tw-p-[8px]`}\n >\n <span\n className={`tw-text-16d ${\n isSelf ? \"tw-text-semantic-yellow-120\" : \"tw-text-semantic-yellow-50\"\n } tw-whitespace-nowrap`}\n >\n TEAM EDITION\n </span>\n <div className=\"tw-flex-1 tw-flex tw-justify-center tw-gap-[8px]\">\n <Dropdown\n isSearchable\n containerClassName=\"tw-min-w-[200px] tw-max-w-[400px] tw-w-full\"\n options={currentMetaUser.accountOptions}\n value={account}\n onChange={setAccount}\n menuShouldComeToFront\n />\n <Dropdown\n isSearchable\n containerClassName=\"tw-min-w-[200px] tw-max-w-[400px] tw-w-full\"\n options={accountAgents}\n value={agent}\n onChange={setAgent}\n menuShouldComeToFront\n />\n <Button size=\"medium\" onClick={() => actions.becomeUser(agent.value)}>\n Switch\n </Button>\n </div>\n {!isSelf && (\n <Button\n className=\"tw-whitespace-nowrap\"\n size=\"medium\"\n onClick={() => actions.becomeUser(currentMetaUser.primaryPerson.id)}\n >\n Default User\n </Button>\n )}\n </div>\n );\n};\n\nexport default MetaUser;\n","import React, { useRef, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport Avatar from \"../../shared/v2/Avatar/Avatar\";\nimport { useClickOutside } from \"../../shared/hookHelpers\";\nimport Popover, { PopoverLink } from \"../Popover\";\nimport {\n GearSolidV6,\n HouseSolidV6,\n KeySolidV6,\n RightFromBracketSolidV6,\n UserSolidV6,\n} from \"../../shared/v2/Icomoon\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst AVATAR_CLASSES = {\n hover: {\n \"brivity-theme\": \"tw-drop-shadow-[0px_0px_6px_rgba(0,0,0,0.3)]\",\n \"place-theme\": \"\",\n },\n active: {\n \"brivity-theme\": \"tw-drop-shadow-[0px_0px_12px_#59C4C4]\",\n \"place-theme\": \"!tw-border-semantic-blue-100 tw-drop-shadow-[0px_0px_12px_rgba(50,112,250,0.8)]\",\n },\n};\n\nconst BUTTON_CLASSES = {\n hover: {\n \"brivity-theme\": \"tw-bg-[#59C4C4]/30\",\n \"place-theme\": \"tw-bg-white/20\",\n },\n active: {\n \"brivity-theme\": \"!tw-bg-[#26A4A4]\",\n \"place-theme\": \"!tw-bg-white\",\n },\n};\n\nconst TEXT_CLASSES = {\n base: {\n \"brivity-theme\": \"tw-text-theme-primary\",\n \"place-theme\": \"tw-text-white/90\",\n },\n hover: {\n \"brivity-theme\": \"tw-text-[#189090]\",\n \"place-theme\": \"tw-text-white/95\",\n },\n active: {\n \"brivity-theme\": \"!tw-text-white\",\n \"place-theme\": \"!tw-text-black\",\n },\n};\n\nconst UserDropdown = () => {\n const currentUser = useCurrentUser();\n const theme = useSelector(({ layout }) => layout.theme);\n const ref = useRef(null);\n const [isHovering, setIsHovering] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n const [isActive, setIsActive] = useState(false);\n const [open, setOpen] = useState(false);\n useClickOutside(ref, () => setOpen(false));\n\n if (!currentUser) return null;\n\n return (\n <div ref={ref} className=\"tw-ml-[2px] tw-relative\">\n <button\n className={`tw-transition-all tw-flex tw-items-center tw-rounded-full tw-border-none tw-p-0 tw-pl-[36px] tw-h-[36px] ${\n theme.name === \"brivity-theme\" ? \"tw-bg-[#59C4C4]/10\" : \"tw-bg-white/10\"\n } ${isHovering || isFocused ? BUTTON_CLASSES.hover[theme.name] : \"\"} ${\n isActive ? BUTTON_CLASSES.active[theme.name] : \"\"\n }`}\n type=\"button\"\n id=\"userDropdown\"\n aria-haspopup=\"true\"\n aria-expanded={open}\n onClick={() => setOpen((o) => !o)}\n onMouseOver={() => setIsHovering(true)}\n onMouseOut={() => setIsHovering(false)}\n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n onMouseDown={() => setIsActive(true)}\n onMouseUp={() => setIsActive(false)}\n onMouseLeave={() => setIsActive(false)}\n >\n <Avatar\n alt={`${currentUser.firstName?.[0]} ${currentUser.lastName?.[0]}`}\n size=\"none\"\n className={`tw-absolute tw-transition ${\n theme.name === \"brivity-theme\" ? \"!tw-ring-theme-primary\" : \"!tw-ring-neutral-gray-75\"\n } ${\n isHovering || isFocused\n ? `tw-left-[-1px] tw-w-[36px] tw-h-[36px] tw-ring-[4px] ${AVATAR_CLASSES.hover[theme.name]}`\n : \"tw-left-0 tw-w-[34px] tw-h-[34px] tw-ring-[2px]\"\n } ${isActive ? AVATAR_CLASSES.active[theme.name] : \"\"}\n `}\n src={currentUser.avatar}\n />\n <span\n className={`bs-xs:tw-hidden tw-px-[12px] tw-font-semibold ${TEXT_CLASSES.base[theme.name]} ${\n isHovering || isFocused ? TEXT_CLASSES.hover[theme.name] : \"\"\n } ${isActive ? TEXT_CLASSES.active[theme.name] : \"\"}`}\n >\n {currentUser.firstName}\n </span>\n </button>\n\n <Popover aria-labelledby=\"userDropdown\" className=\"tw-w-[200px]\" open={open}>\n <ul className=\"tw-m-0 tw-p-0\">\n {currentUser.account.uuid ? (\n <>\n <PopoverLink icon={UserSolidV6} href={`/people/${currentUser.person.slug}`} title=\"Profile\" />\n <PopoverLink icon={KeySolidV6} href=\"/account/personal\" title=\"Account\" />\n <PopoverLink icon={GearSolidV6} href=\"/interaction_templates\" title=\"Settings\" />\n </>\n ) : (\n <PopoverLink icon={HouseSolidV6} href=\"/viewer_listings\" title=\"My Transactions\" />\n )}\n <PopoverLink\n icon={RightFromBracketSolidV6}\n method=\"delete\"\n href=\"/users/sign_out\"\n title=\"Log Out\"\n />\n </ul>\n </Popover>\n </div>\n );\n};\n\nexport default UserDropdown;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\n\nconst getFontColor = (env) => {\n switch (env) {\n case \"development\":\n return \"tw-text-brand-warning\";\n case \"staging\":\n return \"tw-text-brand-danger\";\n case \"acceptance\":\n return \"tw-text-brand-info\";\n default:\n return \"tw-text-[#777777]\";\n }\n};\n\nconst getLogoText = (env) => {\n switch (env) {\n case \"development\":\n return \"Dev\";\n case \"staging\":\n return \"Stage\";\n case \"acceptance\":\n return \"Acceptance\";\n default:\n return \"Brivity\";\n }\n};\n\nconst Logo = () => {\n const env = useSelector(({ layout }) => layout.env);\n const theme = useSelector(({ layout }) => layout.theme);\n return (\n <a className=\"tw-flex tw-gap-[8px]\" href=\"/tasks/due_today\">\n <img src={theme.logo} alt=\"Logo\" className=\"tw-max-h-[28px] tw-max-w-full\" />\n {theme.name === \"brivity-theme\" && (\n <h3 className={`tw-m-0 tw-font-helvetica tw-uppercase ${getFontColor(env)}`}>{getLogoText(env)}</h3>\n )}\n </a>\n );\n};\n\nexport default Logo;\n","import { useDispatch, useSelector } from \"react-redux\";\nimport useMediaQuery from \"../../../shared/v2/useMediaQuery\";\nimport { setIsSubmenuOpen, toggleMobileMenu } from \"../../../reducers/layoutReducer\";\n\nconst useMobileMenu = () => {\n const isMobile = useMediaQuery(\"(max-width: 768px)\");\n const dispatch = useDispatch();\n const isMobileMenuOpen = useSelector(({ layout }) => layout.isMobileMenuOpen);\n const isSubmenuOpen = useSelector(({ layout }) => layout.isSubmenuOpen);\n\n return {\n actions: {\n toggleMobileMenu: () => dispatch(toggleMobileMenu()),\n setIsSubmenuOpen: (value) => dispatch(setIsSubmenuOpen(value)),\n },\n data: { isMobile, isMobileMenuOpen, isSubmenuOpen },\n };\n};\n\nexport default useMobileMenu;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { BarsSolidV6 } from \"../../shared/v2/Icomoon\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport useMobileMenu from \"../Sidebar/hooks/useMobileMenu\";\n\nconst MobileHamburger = () => {\n const {\n actions,\n data: { isMobile },\n } = useMobileMenu();\n const theme = useSelector(({ layout }) => layout.theme);\n\n if (!isMobile) return null;\n return (\n <IconButton\n schema=\"transparent\"\n className={`tw-flex-none tw-ml-[-4px]\n ${theme.name === \"place-theme\" ? \"tw-text-white\" : \"\"} hover:tw-bg-gray/20 active:tw-bg-gray/30\n `}\n onClick={actions.toggleMobileMenu}\n >\n <BarsSolidV6 size=\"xxl\" />\n </IconButton>\n );\n};\n\nexport default MobileHamburger;\n","import {\n BriefcaseSolidV6,\n BullhornRegularV6,\n HouseFlagSolidV6,\n MobileSignalOutSolidV6,\n GraduationCapSolidV6,\n UserGraduateSolidV6,\n AreaProCustomv6,\n} from \"@shared/v2/Icomoon\";\n\nexport const APP_ICONS_BY_LABEL = {\n marketer: { label: \"Marketer\", Icon: BullhornRegularV6, linkUrl: \"/\" },\n cma: { label: \"CMA\", Icon: HouseFlagSolidV6, linkUrl: \"/\" },\n recruiter: {\n label: \"Recruiter.ai\",\n Icon: BriefcaseSolidV6,\n linkUrl: \"https://www.brivitymarketer.com/v2/recruiter\",\n },\n textToLead: {\n label: \"KWKLY\",\n Icon: MobileSignalOutSolidV6,\n linkUrl: \"https://app.kwkly.com/login.aspx\",\n },\n placeAcademy: {\n label: \"PLACE Academy\",\n Icon: GraduationCapSolidV6,\n linkUrl: \"https://learn.place.com/enrollments\",\n },\n reportCards: {\n label: \"Report Cards\",\n Icon: UserGraduateSolidV6,\n linkUrl: \"https://learn.place.com/manage/reports/groups\",\n },\n areaPro: {\n label: \"AreaPro\",\n Icon: AreaProCustomv6,\n linkUrl: \"https://app.areapro.com/auto\",\n },\n};\n\nconst { placeAcademy, marketer, cma, recruiter, textToLead, areaPro } = APP_ICONS_BY_LABEL;\n\nexport const OPTIONS_BY_LABEL = {\n [marketer.label]: \"Brivity Marketer\",\n // Need to change when we support support deep link > marketer.recruiter tab\n // [recruiter.label]: \"Brivity Recruiter\",\n // Might need this again\n // [designer.label]: \"Brivity Designer\",\n [cma.label]: \"Brivity CMA\",\n};\n\nexport const OWNER_PLACE_RESOURCES = [placeAcademy, marketer, cma, recruiter, textToLead, areaPro];\n\nexport const AGENT_RESOURCES = [marketer, cma, areaPro];\n\nexport const AGENT_PLACE_RESOURCES = [marketer, cma, areaPro];\n\nexport const OWNER_BRIVITY_RESOURCES = [marketer, cma, textToLead, areaPro];\n","import {\n OWNER_BRIVITY_RESOURCES,\n OWNER_PLACE_RESOURCES,\n AGENT_PLACE_RESOURCES,\n AGENT_RESOURCES,\n} from \"./constants\";\n\nexport const isPlace = (theme) => theme === \"place-theme\";\n\nexport const setResources = ({ theme, isAdmin, isOwner }) => {\n if ((isAdmin || isOwner) && isPlace(theme)) return OWNER_PLACE_RESOURCES;\n if ((isAdmin || isOwner) && !isPlace(theme)) return OWNER_BRIVITY_RESOURCES;\n\n return isPlace(theme) ? AGENT_PLACE_RESOURCES : AGENT_RESOURCES;\n};\n\nexport const textColor = (theme) => (isPlace(theme) ? \"tw-text-black\" : \"tw-text-gray-75\");\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { bool, func } from \"prop-types\";\n\nimport { isPlace } from \"./helpers\";\n\nimport IconButton from \"../../../shared/v2/IconButton\";\nimport { Grid2RegularV6 } from \"../../../shared/v2/Icomoon\";\n\nconst ResourceBtn = ({ open, setOpen }) => {\n const theme = useSelector(({ layout }) => layout.theme.name);\n\n return (\n <IconButton\n className={`${isPlace(theme) ? \"tw-text-white\" : \"\"} hover:tw-bg-gray/20 active:tw-bg-gray/30`}\n id=\"resourceIcon\"\n aria-haspopup=\"true\"\n aria-expanded={open}\n onClick={setOpen}\n schema=\"transparent\"\n >\n <Grid2RegularV6 size=\"xxl\" />\n </IconButton>\n );\n};\n\nexport default ResourceBtn;\n\nResourceBtn.propTypes = {\n open: bool,\n setOpen: func,\n};\n\nResourceBtn.defaultProps = {\n open: false,\n setOpen: () => {},\n};\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\nimport { useSelector } from \"react-redux\";\n\nimport { textColor, isPlace } from \"./helpers\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst ResourceLauncher = ({ linkUrl, label, Icon }) => {\n const theme = useSelector(({ layout }) => layout.theme.name);\n const currentUser = useCurrentUser();\n const url = label === \"AreaPro\" ? `${linkUrl}?email=${currentUser.email}` : linkUrl;\n\n return (\n <a\n href={url}\n target=\"_blank\"\n rel=\"noreferrer\"\n className=\"tw-flex tw-flex-col tw-w-[100px] tw-items-center tw-py-[12px] tw-px-[25px] hover:tw-no-underline hover:tw-bg-neutral-gray-5 focus:tw-no-underline tw-gap-[8px] tw-rounded-[8px] tw-cursor-pointer\"\n >\n <Icon size=\"xxl\" className={isPlace(theme) ? \"tw-text-black\" : \"tw-text-teal\"} />\n <span className={`tw-text-[12px] tw-leading-[16px] tw-whitespace-nowrap ${textColor(theme)}`}>\n {label}\n </span>\n </a>\n );\n};\n\nexport default ResourceLauncher;\n\nResourceLauncher.propTypes = {\n label: string.isRequired,\n Icon: func.isRequired,\n linkUrl: string,\n};\n\nResourceLauncher.defaultProps = {\n linkUrl: \"/\",\n};\n","import React from \"react\";\nimport { arrayOf, shape } from \"prop-types\";\n\nimport ResourceLauncher from \"./ResourceLauncher\";\n\nconst ResourceLaunchers = ({ resources }) =>\n resources.map(({ Icon, label, linkUrl }) => (\n <ResourceLauncher Icon={Icon} label={label} linkUrl={linkUrl} key={label} />\n ));\n\nexport default ResourceLaunchers;\n\nResourceLaunchers.propTypes = {\n resources: arrayOf(shape({})).isRequired,\n};\n","/* eslint-disable no-param-reassign */\nimport React, { useEffect, useState } from \"react\";\n\nimport { every } from \"lodash\";\n\nimport { caseTransformingAxios as axios } from \"../../../shared/v2/caseTransformingAxios\";\nimport { tryCatchHandlr } from \"../../../shared/Utilities\";\nimport { GraduationCapSolidV6, PlaceCustomv6, UserGraduateSolidV6 } from \"../../../shared/v2/Icomoon\";\n\nimport ResourceLaunchers from \"./ResourceLaunchers\";\nimport Loader from \"../../../Dashboard/components/Loader\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst checkLinkUrls = (placeLaunchers) => !every(placeLaunchers, ([, item]) => item.linkUrl === \"/\");\n\nconst DEFAULT_PLACE_RESOURCES = {\n \"PLACE Academy\": { Icon: GraduationCapSolidV6, linkUrl: \"https://learn.place.com/enrollments\" },\n \"Report Cards\": { Icon: UserGraduateSolidV6, linkUrl: \"https://learn.place.com/manage/reports/groups\" },\n \"Our PLACE\": { Icon: PlaceCustomv6, linkUrl: \"/\" },\n};\n\nconst PlaceResources = () => {\n const [resourcesByLabel, setResourcesByLabel] = useState(DEFAULT_PLACE_RESOURCES);\n const [isLoading, setIsLoading] = useState(true);\n const { isAdmin } = useCurrentUser().account;\n\n // Sets linkURL in resourcesByLabel on GET app_links;\n useEffect(() => {\n (async () => {\n const req = axios.get(\"/api/v4/app_links\");\n const [res] = await tryCatchHandlr(req);\n\n setIsLoading(false);\n if (res) {\n setResourcesByLabel((prev) => {\n res.data?.forEach?.(({ label, linkUrl }) => {\n if (prev[label]) prev[label].linkUrl = linkUrl;\n });\n return prev;\n });\n }\n })();\n }, []);\n\n useEffect(() => {\n setResourcesByLabel((prev) => {\n if (!isAdmin) {\n delete prev[\"Report Cards\"];\n return prev;\n }\n return DEFAULT_PLACE_RESOURCES;\n });\n }, [isAdmin]);\n\n const iterativeResources = Object.entries(resourcesByLabel);\n\n return (\n checkLinkUrls(iterativeResources) && (\n <div className=\"tw-p-[16px] tw-border-b-color-ebebeb tw-border-solid tw-border-l-0 tw-border-b-[3px] tw-border-r-0 tw-border-t-0\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-mb-8px\">\n <span className=\"tw-text-black\">PLACE Resources</span>\n <div className=\"tw-w-[40px] tw-h-[22px] tw-p-[3px] tw-pl-[8px] tw-pr-[8px] tw-rounded-full tw-bg-semantic-blue-100 tw-text-10px tw-text-white tw-flex tw-items-center tw-justify-center\">\n NEW\n </div>\n </div>\n <div className=\"tw-flex tw-justify-between tw-flex-wrap\">\n {isLoading && <Loader containerClass=\"tw-pt-0 tw-flex tw-items-center\" />}\n <ResourceLaunchers\n resources={iterativeResources\n .map(\n ([label, { Icon, linkUrl }]) =>\n linkUrl !== \"/\" && {\n label,\n Icon,\n linkUrl,\n },\n )\n .filter(Boolean)}\n />\n </div>\n </div>\n )\n );\n};\n\nexport default PlaceResources;\n","import React, { useMemo } from \"react\";\n\nimport { useSelector } from \"react-redux\";\nimport { setResources, textColor } from \"./helpers\";\nimport { OPTIONS_BY_LABEL } from \"./constants\";\nimport ResourceLaunchers from \"./ResourceLaunchers\";\n\nconst AppsResources = () => {\n const theme = useSelector(({ layout }) => layout.theme.name);\n const isAdmin = useSelector(({ layout }) => layout.currentUser.account.isAdmin);\n const isOwner = useSelector(({ layout }) => layout.currentUser.account.isOwner);\n const appOptions = useSelector(({ layout }) =>\n layout.sidebar ? layout.sidebar?.menu.find((m) => m.name === \"Apps\").options : [],\n );\n\n // returns array of furnished {linkURL, Icon, label} for resourceLaunchers\n const resources = useMemo(() => {\n const rsrc = setResources({ theme, isAdmin, isOwner });\n\n const optionsByHeadline = appOptions.reduce(\n (acc, { headline, launchUrl }) => ({\n ...acc,\n [headline]: launchUrl,\n }),\n {},\n );\n\n return rsrc.map(({ label, linkUrl, ...rest }) => ({\n ...rest,\n linkUrl: optionsByHeadline[OPTIONS_BY_LABEL[label]] || linkUrl,\n label,\n }));\n }, [theme, isAdmin, isOwner, appOptions]);\n\n return (\n <div className=\"tw-p-[16px]\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-mb-8px\">\n <span className={textColor(theme)}>Apps</span>\n </div>\n <div className=\"tw-flex tw-justify-between tw-over tw-flex-wrap\">\n <ResourceLaunchers resources={resources} />\n </div>\n </div>\n );\n};\n\nexport default AppsResources;\n","import React from \"react\";\nimport { bool, string } from \"prop-types\";\nimport { useSelector } from \"react-redux\";\n\nimport Popover from \"../../Popover\";\nimport PlaceResources from \"./PlaceResources\";\nimport AppsResources from \"./AppsResources\";\nimport { isPlace } from \"./helpers\";\n\nconst ResourcesDropdown = ({ ariaLabelledBy, open }) => {\n const theme = useSelector(({ layout }) => layout.theme.name);\n\n return (\n <Popover aria-labelledby={ariaLabelledBy} className=\"tw-w-[232px]\" open={open}>\n {isPlace(theme) && <PlaceResources />}\n <AppsResources />\n </Popover>\n );\n};\n\nexport default ResourcesDropdown;\n\nResourcesDropdown.propTypes = {\n ariaLabelledBy: string.isRequired,\n open: bool,\n};\n\nResourcesDropdown.defaultProps = {\n open: false,\n};\n","import React, { useRef, useState } from \"react\";\n\nimport { useClickOutside } from \"../../../shared/hookHelpers\";\n\nimport ResourceBtn from \"./ResourceBtn\";\nimport ResourcesDropdown from \"./ResourcesDropdown\";\n\nconst Resources = () => {\n const [open, setOpen] = useState(false);\n const ref = useRef(null);\n useClickOutside(ref, () => setOpen(false));\n const ARIA_LABELLED_ID = \"resourceIcon\";\n\n return (\n <div ref={ref} className=\"tw-relative\">\n <ResourceBtn open={open} id={ARIA_LABELLED_ID} setOpen={() => setOpen((o) => !o)} />\n <ResourcesDropdown ariaLabelledBy={ARIA_LABELLED_ID} open={open} />\n </div>\n );\n};\n\nexport default Resources;\n","// extracted by mini-css-extract-plugin\nexport default {\"formClass\":\"Ulqhzk1Y4RyQcRGfGA49\",\"formGroup\":\"hC_zhWxRpKhX2x3qjRb_\",\"formControl\":\"vLitRWMgfcWNzhPNO4gv\",\"searchInputContainer\":\"U0xtBUrDqBen1OalYH2Q\",\"searchIcon\":\"vcuOeAlwx3aa5z41qoeV\",\"searchDropdown\":\"ARcEvJYgKDC4JG95bKWI\",\"resultsContainer\":\"lKtAcWFlFka2d3pe1ajV\",\"searchResultItem\":\"YbnVpnckU4n6w2vWYWDq\",\"searchResultItemActive\":\"QqdTYDTd07nmmqHYVewy\",\"searchWarning\":\"zauQVXUMZl5j_eCRNtoY\"};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport css from \"./QuickSearch.module.css\";\n\nconst Result = ({ result, cursor, index, onHover, saveRecentSearch }) => {\n const itemClass = cursor === index ? css.searchResultItemActive : css.searchResultItem;\n\n const onClick = () => {\n saveRecentSearch(result);\n window.location.replace(result.path);\n };\n\n return (\n // This is handled by the input element in the parent component\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\n <div\n role=\"button\"\n tabIndex={cursor === index ? 0 : -1}\n id={cursor === index ? \"searchResultItemActive\" : \"searchResultItem\"}\n className={itemClass}\n data-slug={result.slug}\n data-item-id={result.id}\n onClick={onClick}\n // eslint-disable-next-line jsx-a11y/mouse-events-have-key-events\n onMouseOver={(e) => onHover(index, e)}\n >\n <i className={`${result.icon} ${result.color}`} />\n {result.label}\n <span className={result.color}>\n {\" \"}\n ({result.status} {result.type})\n </span>\n </div>\n );\n};\n\nResult.propTypes = {\n result: PropTypes.shape().isRequired,\n onHover: PropTypes.func.isRequired,\n cursor: PropTypes.number.isRequired,\n index: PropTypes.number.isRequired,\n saveRecentSearch: PropTypes.func.isRequired,\n};\n\nexport default Result;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport { ChevronRightSolidV6 } from \"@shared/v2/Icomoon\";\nimport Result from \"./Result\";\nimport css from \"./QuickSearch.module.css\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\n\nconst CONTACT_TYPES = [\"team\", \"sphere\", \"lead\"];\nconst TRASHED_STATUSES = [\"trash\", \"archived\"];\n\nconst Results = ({\n searchResults,\n cursor,\n onHover,\n hasResults,\n isFetching,\n searchValid,\n searchTerm,\n searchTermLength,\n saveRecentSearch,\n}) => {\n const featureFlags = useFeatureFlags();\n const [showTrashed, setShowTrashed] = useState(false);\n const recentSearches = useMemo(() => JSON.parse(localStorage.getItem(\"recentSearches\") || \"[]\"), []);\n\n const trashLeads = searchResults.filter(\n (r) => CONTACT_TYPES.includes(r.type) && TRASHED_STATUSES.includes(r.status),\n );\n const otherResults = searchResults.filter(\n (r) =>\n !CONTACT_TYPES.includes(r.type) ||\n (CONTACT_TYPES.includes(r.type) && !TRASHED_STATUSES.includes(r.status)),\n );\n const hasContactResults = otherResults.some((r) => CONTACT_TYPES.includes(r.type));\n const hasTransactionResults = otherResults.some((r) => !CONTACT_TYPES.includes(r.type));\n\n const { contactUrl, transactionUrl } = useMemo(() => {\n const contactParams = new URLSearchParams();\n const transactionParams = new URLSearchParams();\n contactParams.append(\"leads_filter[search_query]\", searchTerm);\n transactionParams.append(\"search\", searchTerm);\n return {\n contactUrl: `/people/leads?${contactParams}`,\n transactionUrl: `/listings?${transactionParams}`,\n };\n }, [searchTerm]);\n\n useEffect(() => {\n if (cursor >= otherResults.length) setShowTrashed(true);\n }, [cursor, otherResults.length]);\n\n return (\n <div className={`${css.resultsContainer} tw-z-[1000]`} id=\"resultsContainer\">\n {isFetching && (\n <div className=\"tw-h-[100px]\">\n <Loading />\n </div>\n )}\n {!searchValid && (\n <div\n className={`${css.searchWarning} tw-border-0 tw-border-b tw-border-solid tw-border-color-ebebeb`}\n >\n Enter {1 - searchTermLength} more characters to search\n </div>\n )}\n\n {!isFetching && !searchValid && recentSearches.length > 0 && (\n <>\n <div className={css.searchWarning}>Recent Searches</div>\n {recentSearches.map((result, i) => (\n <Result\n key={result.objectId}\n result={result}\n cursor={cursor}\n index={i}\n onHover={onHover}\n saveRecentSearch={saveRecentSearch}\n />\n ))}\n </>\n )}\n\n {!isFetching &&\n hasResults &&\n otherResults.map((result, i) => (\n <Result\n key={result.objectId}\n result={result}\n cursor={cursor}\n index={i}\n onHover={onHover}\n saveRecentSearch={saveRecentSearch}\n />\n ))}\n\n {!isFetching && hasResults && trashLeads.length > 0 && (\n <>\n <button\n className=\"tw-border-none tw-bg-transparent tw-inline-flex tw-items-center tw-gap-[12px] tw-w-full tw-text-gray-75 hover:tw-bg-gray-5 tw-text-start tw-p-[7px]\"\n type=\"button\"\n onClick={(e) => {\n setShowTrashed((t) => !t);\n e.currentTarget.parentElement.parentElement.querySelector('input[type=\"text\"]').focus();\n }}\n >\n <ChevronRightSolidV6 className={`tw-transition-transform ${showTrashed ? \"tw-rotate-90\" : \"\"}`} />{\" \"}\n Show trashed & archived contacts\n </button>\n {showTrashed &&\n trashLeads.map((result, i) => (\n <Result\n key={result.objectId}\n result={result}\n cursor={cursor}\n index={otherResults.length + i}\n onHover={onHover}\n saveRecentSearch={saveRecentSearch}\n />\n ))}\n </>\n )}\n\n {featureFlags.searchIndex && (\n <>\n {!isFetching && hasResults && hasContactResults && (\n <TextLink className=\"tw-block tw-p-[8px]\" href={contactUrl} target=\"_blank\">\n View all results for contacts\n </TextLink>\n )}\n {!isFetching && hasResults && hasTransactionResults && (\n <TextLink className=\"tw-block tw-p-[8px]\" href={transactionUrl} target=\"_blank\">\n View all results for transactions\n </TextLink>\n )}\n </>\n )}\n\n {!isFetching && !hasResults && searchValid && (\n <div className={css.searchWarning}>\n No results for <b>{searchTerm}</b>\n </div>\n )}\n </div>\n );\n};\n\nResults.propTypes = {\n searchResults: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n cursor: PropTypes.number.isRequired,\n onHover: PropTypes.func.isRequired,\n hasResults: PropTypes.bool.isRequired,\n isFetching: PropTypes.bool.isRequired,\n searchValid: PropTypes.bool.isRequired,\n searchTerm: PropTypes.string.isRequired,\n searchTermLength: PropTypes.number.isRequired,\n saveRecentSearch: PropTypes.func.isRequired,\n};\n\nexport default Results;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { useDebounce } from \"@shared/hookHelpers\";\n\nconst quickSearchTransforms = {\n Person: (data) => data.filter((p) => ![\"trash\", \"archived\"].includes(p.status)),\n Listing: (data) => data,\n default: (data) => data,\n};\n\nconst quickSearch = ({ search, model }, signal) =>\n caseTransformingAxios.get(\"/accounts/search\", { params: { search, \"options[model]\": model }, signal });\n\nconst useQuickSearch = ({ search, model }) => {\n const [loading, setLoading] = useState(false);\n const [data, setData] = useState([]);\n const [error, setError] = useState(null);\n const debouncedSearch = useDebounce(search.trim(), 250);\n\n useEffect(() => setData([]), [model]);\n\n useEffect(() => {\n if (debouncedSearch.length < 1) return () => {};\n const abortController = new AbortController();\n setLoading(true);\n quickSearch({ search: debouncedSearch, model }, abortController.signal)\n .then((res) => {\n setData(quickSearchTransforms[model || \"default\"](res.data));\n setLoading(false);\n setError(null);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(err);\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [debouncedSearch]);\n\n return { loading, data, error };\n};\n\nexport default useQuickSearch;\n","import React, { useRef, useState } from \"react\";\nimport { useClickOutside } from \"../../shared/hookHelpers\";\nimport Results from \"./Results\";\nimport css from \"./QuickSearch.module.css\";\nimport { Search } from \"../../shared/v2/Icomoon\";\nimport useQuickSearch from \"../../Dashboard/services/useQuickSearch\";\n\nconst saveRecentSearch = (result) => {\n const recentSearches = JSON.parse(localStorage.getItem(\"recentSearches\") || \"[]\");\n for (let i = 0; i < recentSearches.length; i += 1) {\n if (recentSearches[i].path === result.path) {\n recentSearches.splice(i, 1);\n break;\n }\n }\n recentSearches.unshift(result);\n const limitedRecentSearches = recentSearches.slice(0, 5);\n localStorage.setItem(\"recentSearches\", JSON.stringify(limitedRecentSearches));\n};\n\nconst QuickSearch = () => {\n const ref = useRef();\n const [isActive, setIsActive] = useState(false);\n const [blockNextHover, setBlockNextHover] = useState(false);\n const [cursor, setCursor] = useState(0);\n const [search, setSearch] = useState(\"\");\n const { data, error, loading } = useQuickSearch({ search });\n useClickOutside(ref, () => setIsActive(false));\n\n const scrollIntoView = (dir) => {\n const searchInputContainer = ref.current?.querySelector(\"#searchResultItemActive\");\n if (searchInputContainer) {\n if (dir === \"up\") {\n searchInputContainer.previousElementSibling.scrollIntoView({ block: \"nearest\" });\n }\n if (dir === \"down\") {\n searchInputContainer.nextElementSibling.scrollIntoView({ block: \"nearest\" });\n }\n setBlockNextHover(true);\n }\n };\n\n const handleKeyDown = (e) => {\n const searchValid = search.trim() && !error;\n const recentSearches = JSON.parse(localStorage.getItem(\"recentSearches\") || \"[]\");\n\n if (e.key === \"Enter\") {\n e.preventDefault();\n let selected;\n\n if (searchValid) {\n selected = data[cursor];\n } else if (cursor <= recentSearches.length - 1) {\n selected = recentSearches[cursor];\n }\n\n if (selected) {\n saveRecentSearch(selected);\n window.location.replace(selected.path);\n }\n // arrow up/down button should select next/previous list element\n } else if (e.key === \"ArrowUp\" && cursor > 0) {\n setCursor((c) => c - 1);\n scrollIntoView(\"up\");\n } else if (\n e.key === \"ArrowDown\" &&\n ((searchValid && cursor < data.length - 1) || (!searchValid && cursor < recentSearches.length - 1))\n ) {\n setCursor((c) => c + 1);\n scrollIntoView(\"down\");\n }\n };\n\n const handleHover = (index) => {\n if (!blockNextHover) setCursor(index);\n setBlockNextHover(false);\n };\n\n return (\n <div ref={ref}>\n <form role=\"search\">\n <div className={css.searchDropdown}>\n <div className={css.searchInputContainer} id=\"searchInputContainer\">\n <input\n className={`${css.formControl} !tw-bg-gray/10 !tw-text-inherit`}\n type=\"text\"\n onFocus={() => setIsActive(true)}\n maxLength={50}\n placeholder=\"Search by name, address, phone or MLS#\"\n value={search}\n onChange={(e) => setSearch(e.target.value)}\n onKeyDown={handleKeyDown}\n />\n <Search className=\"tw-absolute tw-right-[6px] tw-top-[calc(50%-8px)]\" size=\"l\" />\n </div>\n {isActive && (\n <Results\n searchResults={data}\n hasResults={search.trim() && data.length > 0}\n onHover={handleHover}\n searchTerm={search}\n cursor={cursor}\n searchTermLength={search.length}\n isFetching={loading}\n searchValid={search.trim()}\n saveRecentSearch={saveRecentSearch}\n />\n )}\n </div>\n </form>\n </div>\n );\n};\n\nexport default QuickSearch;\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst IntersectionObserverNode = ({ height, onIntersect }) => {\n const ref = useRef(null);\n\n useEffect(() => {\n if (!ref.current) return () => {};\n\n const observer = new IntersectionObserver(\n ([entry]) => {\n if (entry.isIntersecting) onIntersect();\n },\n {\n root: ref.current.parentElement,\n threshold: 1,\n },\n );\n\n observer.observe(ref.current);\n\n return () => observer.disconnect();\n }, [onIntersect]);\n\n return <div ref={ref} style={{ minHeight: height }} />;\n};\n\nIntersectionObserverNode.propTypes = {\n height: PropTypes.number,\n onIntersect: PropTypes.func.isRequired,\n};\n\nIntersectionObserverNode.defaultProps = {\n height: 0,\n};\n\nexport default IntersectionObserverNode;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nclass ErrorBoundary extends React.Component {\n constructor(props) {\n super(props);\n this.state = { hasError: false };\n }\n\n static getDerivedStateFromError() {\n return { hasError: true };\n }\n\n // TODO: Additional logging?\n // componentDidCatch(error, errorInfo) {\n // }\n\n render() {\n const { hasError } = this.state;\n const { children } = this.props;\n if (hasError) {\n return (\n <div className=\"tw-bg-white tw-p-[8px] tw-text-center\">\n Something went wrong. This component failed to load.\n </div>\n );\n }\n\n return children;\n }\n}\n\nErrorBoundary.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default ErrorBoundary;\n","import PropTypes from \"prop-types\";\n\nexport const STYLES = {\n pipe: \"tw-border-r tw-border-l-0 tw-border-t-0 tw-border-b-0 tw-border-solid tw-border-gray-10 tw-h-[16px]\",\n row: \"tw-text-14d tw-flex tw-gap-8px\",\n contentContainer: \"tw-flex tw-flex-col tw-gap-4px tw-pl-12px\",\n textThemed: (isPlace) => (isPlace ? \"tw-text-semantic-blue-100\" : \"tw-text-teal\"),\n bgThemed: (isPlace) => (isPlace ? \"tw-bg-semantic-blue-100\" : \"tw-bg-teal\"),\n badgeThemed: (isPlace) =>\n isPlace ? \"tw-bg-[#E6EDFA] tw-text-[#2454B2]\" : \"tw-bg-[#EEF9F9] tw-text-brand-success\",\n lineClamp3: \"tw-overflow-hidden tw-text-ellipsis tw-break-words tw-line-clamp-3\",\n // Hidding until we have proper data (call, lisitng and report links)\n btnContainer: \"tw-flex tw-gap-8px tw-mt-12px\",\n btn: \"tw-flex tw-items-center tw-gap-4px\",\n};\n\nexport const activityCommonPropTypes = {\n activity: PropTypes.shape().isRequired,\n Icon: PropTypes.func,\n children: PropTypes.node,\n childContainerClass: PropTypes.string,\n onReadChange: PropTypes.func,\n SideContent: PropTypes.node,\n};\n\nexport const activityCommonDefaultProps = {\n onReadChange: () => {},\n childContainerClass: \"\",\n SideContent: null,\n queryParams: \"\",\n};\n","/* eslint-disable react/destructuring-assignment */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React, { useState } from \"react\";\nimport { activityCommonDefaultProps, activityCommonPropTypes } from \"../shared\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\n\nconst ActivityContainer = ({ activity, children, onReadChange, queryParams }) => {\n const isPlace = useTheme().name === \"place-theme\";\n const [mouseDownTag, setMouseDownTag] = useState(false);\n const [showReadbtn, setShowReadbtn] = useState(false);\n\n return (\n <div\n onClick={async () => {\n if (!activity.read) {\n await onReadChange();\n }\n if (activity.personUuid) {\n window.location.href = `/${activity.data?.notableType === \"Listing\" ? \"transactions\" : \"people\"}/${activity.data?.notableId || activity.personUuid}${queryParams ? `?${queryParams}` : \"\"}`;\n }\n }}\n role=\"link\"\n tabIndex={0}\n onMouseEnter={() => setShowReadbtn(true)}\n onMouseLeave={() => setShowReadbtn(false)}\n className={`tw-text-brand-primary hover:tw-text-brand-primary tw-group tw-border-solid tw-border-[1px] tw-rounded-[16px] tw-w-full tw-bg-white tw-pt-12px tw-pl-12px tw-pr-24px tw-pb-24px tw-flex tw-flex-col tw-gap-16px\n \n \n hover:tw-no-underline tw-border-gray-10 tw-shadow-[0px_2px_8px_0px_rgba(213,213,213,0.5)]\n ${activity.personUuid ? \"tw-cursor-pointer\" : \"tw-cursor-default\"}\n ${isPlace ? \"hover:tw-border-[#C8D9FA]\" : \"hover:tw-border-[#DEF3F3]\"}\n ${mouseDownTag ? `${isPlace ? \"active:tw-shadow-[0_0_0_3px_#C8D9FA]\" : \"active:tw-shadow-[0_0_0_3px_#DEF3F3]\"} active:tw-no-underline` : \"\"}\n `}\n onMouseDown={() => setMouseDownTag(true)}\n onMouseUp={() => setMouseDownTag(false)}\n >\n {React.Children.map(children, (child) => React.cloneElement(child, { showReadbtn }))}\n </div>\n );\n};\n\nexport default ActivityContainer;\n\nActivityContainer.propTypes = {\n ...activityCommonPropTypes,\n};\n\nActivityContainer.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { format } from \"date-fns\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"@shared/v2/Button\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\n\nimport { STYLES } from \"../shared\";\n\nconst formatName = (name) => {\n if (name === \"null null\") return \"No Name\";\n\n const parts = name.split(\" \");\n\n return parts.at(-1) === \"null\" ? parts.slice(0, -1).join(\" \") : name;\n};\n\nconst Header = ({ category, personName, time, onReadChange, loading, read, showReadbtn }) => {\n const isPlace = useTheme().name === \"place-theme\";\n\n return (\n <div className=\"tw-flex tw-items-center tw-w-full\">\n <div className=\"tw-flex tw-gap-12px tw-items-center tw-flex-wrap\">\n {category}\n <span className=\"tw-text-14d tw-font-semibold\">{formatName(personName)}</span>\n </div>\n <div className=\"tw-h-28px tw-flex tw-gap-16px tw-justify-end tw-items-center tw-ml-auto tw-relative\">\n <div className={`tw-flex tw-gap-16px tw-items-center ${showReadbtn ? \"tw-hidden\" : \"\"}`}>\n <span className=\"tw-text-12d tw-text-gray-50\">{format(`${time}`, \"hh:mm aaa\")}</span>\n <div\n className={`tw-block tw-rounded-full tw-w-8px tw-h-8px tw-ml-auto ${STYLES.bgThemed(isPlace)} ${read ? \"tw-hidden\" : \"\"}`}\n />\n </div>\n <Button\n disabled={loading}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n onReadChange();\n }}\n onMouseDown={(e) => e.stopPropagation()}\n onMouseUp={(e) => e.stopPropagation()}\n type=\"button\"\n size=\"small\"\n schema=\"secondary\"\n className={`tw-bg-white !tw-absolute tw-whitespace-nowrap ${read ? \"tw-w-[114px]\" : \"tw-w-[97px]\"} ${showReadbtn ? \"\" : \"tw-hidden\"}`}\n >\n {`MARK AS ${read ? \"UNREAD\" : \"READ\"}`}\n </Button>\n </div>\n </div>\n );\n};\n\nexport default Header;\n\nHeader.propTypes = {\n loading: PropTypes.bool,\n category: PropTypes.node.isRequired,\n time: PropTypes.string.isRequired,\n onReadChange: PropTypes.func.isRequired,\n personName: PropTypes.string.isRequired,\n read: PropTypes.bool,\n showReadbtn: PropTypes.bool,\n};\n\nHeader.defaultProps = {\n loading: false,\n read: false,\n showReadbtn: false,\n};\n","import React from \"react\";\n// eslint-disable-next-line import/newline-after-import\nimport PropTypes from \"prop-types\";\n\nconst CategoryContainer = ({ containerClassName, Icon, children }) => (\n <div\n className={`tw-flex tw-items-center tw-gap-8px tw-px-12px tw-h-32px tw-rounded-[8px] ${containerClassName}`}\n >\n <Icon size=\"l\" />\n <span className=\"tw-text-12d tw-font-semibold\">{children}</span>\n </div>\n);\n\nexport default CategoryContainer;\n\nCategoryContainer.propTypes = {\n Icon: PropTypes.func,\n children: PropTypes.node.isRequired,\n containerClassName: PropTypes.string,\n};\n\nCategoryContainer.defaultProps = {\n containerClassName: \"\",\n Icon: () => null,\n};\n","import React from \"react\";\n\nimport { CommentDotsRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\n\nconst GroupTextActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer\n containerClassName=\"tw-bg-[#FAF1E6] tw-text-[#AD6714]\"\n Icon={CommentDotsRegularV6}\n >\n New Group Message\n </CategoryContainer>\n }\n personName={`${activity.data.senderFirstName} ${activity.data.senderLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <span className={`${STYLES.lineClamp3} tw-px-8px`}>{activity.content}</span>\n </ActivityContainer>\n );\n};\n\nexport default GroupTextActivity;\n\nGroupTextActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nGroupTextActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\n\nimport { CommentDotsRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\n\nconst TextActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer\n containerClassName=\"tw-bg-[#FAF1E6] tw-text-[#AD6714]\"\n Icon={CommentDotsRegularV6}\n >\n New Message\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <span className={`${STYLES.lineClamp3} tw-px-8px`}>{activity.data.messageText}</span>\n </ActivityContainer>\n );\n};\n\nexport default TextActivity;\n\nTextActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nTextActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","/* eslint-disable react/no-array-index-key */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { STYLES } from \"../shared\";\n\nconst PipedElements = ({ children, containerClassName }) => (\n <div className={`tw-flex tw-gap-8px tw-items-center ${containerClassName}`}>\n {React.Children.map(children, (element, index) => {\n if (!element?.props?.data && !element?.props?.children) return null;\n return (\n <React.Fragment key={index}>\n {index > 0 && <div className={STYLES.pipe} />}\n {element}\n </React.Fragment>\n );\n })}\n </div>\n);\n\nexport default PipedElements;\n\nPipedElements.propTypes = {\n children: PropTypes.arrayOf(PropTypes.elementType).isRequired,\n containerClassName: PropTypes.string,\n};\n\nPipedElements.defaultProps = {\n containerClassName: \"\",\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { STYLES } from \"../shared\";\n\nconst DataField = ({ label, data }) =>\n data && (\n <span className={STYLES.lineClamp3}>\n <span className=\"tw-text-gray-50\">{label}: </span>\n {data}\n </span>\n );\n\nexport default DataField;\n\nDataField.propTypes = {\n label: PropTypes.string,\n data: PropTypes.string,\n};\n\nDataField.defaultProps = {\n label: \"\",\n data: null,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"@shared/v2/Button\";\nimport { PhoneSolidV6, ArrowUpRightFromSquareSolidV6 } from \"@shared/v2/Icomoon\";\nimport { STYLES } from \"../../shared\";\n\nexport const urlWrapper = (url) => () => window.open(url, \"_blank\", \"noopener,noreferrer\");\n\nconst ActivityBtns = ({ callHandlr, listingHandlr, reportHandlr, containerClassName }) => (\n <div className={`${STYLES.btnContainer} ${containerClassName}`}>\n {callHandlr && (\n <Button\n schema=\"secondary\"\n className={`${STYLES.btn} tw-w-[56px]`}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n callHandlr();\n }}\n >\n <PhoneSolidV6 size=\"s\" />\n <span>CALL</span>\n </Button>\n )}\n <div className=\"tw-hidden\">\n {listingHandlr && (\n <Button\n schema=\"secondary\"\n className={`${STYLES.btn} tw-w-[102px]`}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n listingHandlr();\n }}\n >\n <ArrowUpRightFromSquareSolidV6 size=\"s\" />\n <span>VIEW LISTING</span>\n </Button>\n )}\n {reportHandlr && (\n <Button\n schema=\"secondary\"\n className={`${STYLES.btn} tw-w-[102px]`}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n reportHandlr();\n }}\n >\n <ArrowUpRightFromSquareSolidV6 size=\"s\" />\n <span>VIEW REPORT</span>\n </Button>\n )}\n </div>\n </div>\n);\n\nexport default ActivityBtns;\n\nActivityBtns.propTypes = {\n callHandlr: PropTypes.func,\n listingHandlr: PropTypes.func,\n reportHandlr: PropTypes.func,\n containerClassName: PropTypes.string,\n};\n\nActivityBtns.defaultProps = {\n callHandlr: null,\n listingHandlr: null,\n reportHandlr: null,\n containerClassName: \"\",\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { capitalize } from \"lodash\";\nimport moment from \"moment\";\n\nimport { CalendarRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport PipedElements from \"../PipedElements\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport DataField from \"./DataField\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst ShowingRequestActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const isPlace = useTheme()?.name === \"place-theme\";\n\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={CalendarRegularV6}>\n Showing Request\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Address\" data={activity.data?.propertyStreetAddress} />\n <DataField label=\"Comment\" data={activity.data?.comment} />\n\n <PipedElements>\n <DataField\n label=\"Date\"\n data={\n activity.data?.showingDateIso\n ? moment(activity.data?.showingDateIso).format(\"MM/DD/YYYY\")\n : activity.data?.showingDate.replace(/^[^,]+, /, \"\")\n }\n />\n <DataField label=\"Time\" data={capitalize(activity.data?.showingTime)} />\n </PipedElements>\n <ActivityBtns\n callHandlr={() => {\n if (activity.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Showing Request Activity\" }),\n );\n }\n }}\n listingHandlr={() => {}}\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default ShowingRequestActivity;\n\nShowingRequestActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nShowingRequestActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { HouseRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport PipedElements from \"../PipedElements\";\nimport DataField from \"./DataField\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst HomeValueActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={HouseRegularV6}>\n New Home Value\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField\n label=\"Address\"\n data={`${activity.data?.propertyStreetAddress}${activity.data?.propertyState ? `, ${activity.data?.propertyState}` : \"\"}${activity.data?.propertyZipCode ? `, ${activity.data?.propertyZipCode}` : \"\"}`}\n />\n <PipedElements>\n <div className=\"tw-text-14d\">\n <DataField label=\"Bed\" data={activity.data?.beds} />\n <DataField label=\"Bath\" data={activity.data?.baths} />\n <DataField label=\"SQFT\" data={activity.data?.sqFeet} />\n </div>\n </PipedElements>\n <ActivityBtns\n callHandlr={() => {\n if (activity.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Home Value Activity\" }),\n );\n }\n }}\n reportHandlr={() => {}}\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default HomeValueActivity;\n\nHomeValueActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nHomeValueActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { EyeRegularV6 } from \"@shared/v2/Icomoon\";\nimport format from \"@shared/formatters\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst ViewedPropertyActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={EyeRegularV6}>\n 3+ Listing Views\n </CategoryContainer>\n }\n personName={`${activity.data?.leadFirstName} ${activity.data?.leadLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField\n label=\"Address\"\n data={[\n activity.data?.propertyStreetAddress,\n activity.data?.propertyCity,\n activity.data?.propertyState,\n activity.data?.propertyZip,\n ]\n .filter(Boolean)\n .join(\", \")}\n />\n <DataField label=\"Price\" data={format.currency(activity.data?.propertyPrice, 0)} />\n <ActivityBtns\n callHandlr={() => {\n if (activity.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Viewed Property Activity\" }),\n );\n }\n }}\n listingHandlr={() => {}}\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default ViewedPropertyActivity;\n\nViewedPropertyActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nViewedPropertyActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { HouseRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst QuestionsActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const dispatch = useDispatch();\n\n const isPlace = useTheme()?.name === \"place-theme\";\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={HouseRegularV6}>\n Listing Inquiry\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Address\" data={activity.data?.propertyStreetAddress} />\n <DataField label=\"Question\" data={activity.content} />\n </div>\n <ActivityBtns\n callHandlr={() => {\n if (activity.personUuid) {\n dispatch(setCallParams({ leadUuids: [activity.personUuid], callSource: \"Questions Activity\" }));\n }\n }}\n listingHandlr={() => {}}\n />\n </ActivityContainer>\n );\n};\n\nexport default QuestionsActivity;\n\nQuestionsActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nQuestionsActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { HeartRegularV6 } from \"@shared/v2/Icomoon\";\nimport format from \"@shared/formatters\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport PipedElements from \"../PipedElements\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst FavPropertyActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={HeartRegularV6}>\n Saved Listing\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Address\" data={activity.data?.propertyStreetAddress} />\n <PipedElements containerClassName=\"tw-text-14d\">\n <DataField label=\"Price\" data={format.currency(activity.data?.propertyPrice, 0)} />\n <DataField label=\"Bed\" data={activity.data?.beds} />\n <DataField label=\"Bath\" data={activity.data?.baths} />\n </PipedElements>\n <ActivityBtns\n callHandlr={() => {\n if (activity.data?.personUuid) {\n dispatch(\n setCallParams({\n leadUuids: [activity.data?.personUuid],\n callSource: \"Favorite Property Activity\",\n }),\n );\n }\n }}\n containerClassName=\"!tw-mt-8px\"\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default FavPropertyActivity;\n\nFavPropertyActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nFavPropertyActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { BookmarkRegularV6 } from \"@shared/v2/Icomoon\";\nimport format from \"@shared/formatters\";\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport PipedElements from \"../PipedElements\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst SavedSearchActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={BookmarkRegularV6}>\n Saved Search\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <PipedElements>\n {activity.data?.searchLocation && <span>{activity.data?.searchLocation}</span>}\n <DataField\n label=\"Bed\"\n data={\n (activity.data?.searchBedMin || activity.data?.searchBedMax) &&\n `${activity.data?.searchBedMin} - ${activity.data?.searchBedMax}`\n }\n />\n <DataField\n label=\"Bath\"\n data={\n (activity.data?.searchBathsMin || activity.data?.searchBathsMax) &&\n `${activity.data?.searchBathsMin} - ${activity.data?.searchBathsMax}`\n }\n />\n </PipedElements>\n <PipedElements>\n <DataField\n label=\"Price\"\n data={\n (activity.data?.searchPriceMin || activity.data?.searchPriceMax) &&\n `${format.currency(activity.data?.searchPriceMin, 0)} - ${format.currency(activity.data?.searchPriceMax, 0)}`\n }\n />\n {activity.data?.additionalFilters && <span>{activity.data?.additionalFilters}</span>}\n </PipedElements>\n <ActivityBtns\n callHandlr={() => {\n if (activity?.personUuid) {\n dispatch(\n setCallParams({ leadUuids: activity.personUuid, callSource: \"Saved Search Activity\" }),\n );\n }\n }}\n listingHandlr={() => {}}\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default SavedSearchActivity;\n\nSavedSearchActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nSavedSearchActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { DesktopRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst ReturnSiteActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={DesktopRegularV6}>\n Returning Site Visit\n </CategoryContainer>\n }\n personName={`${activity.data.leadFirstName} ${activity.data.leadLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <span className={`${STYLES.lineClamp3} tw-px-8px`}>{activity.content}</span>\n <ActivityBtns\n callHandlr={() => {\n if (activity?.personUuid) {\n dispatch(setCallParams({ leadUuids: [activity.personUuid], callSource: \"Return Site Activity\" }));\n }\n }}\n containerClassName=\"!tw-mt-8px\"\n />\n </ActivityContainer>\n );\n};\n\nexport default ReturnSiteActivity;\n\nReturnSiteActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nReturnSiteActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { UserPlusRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\n\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst NewLeadActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName=\"tw-bg-[#FAF1E6] tw-text-[#AD6714]\" Icon={UserPlusRegularV6}>\n New Lead\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Source\" data={activity.data.leadSource} />\n <ActivityBtns\n callHandlr={() => {\n if (activity?.personUuid) {\n dispatch(setCallParams({ leadUuids: [activity.personUuid], callSource: \"New Lead Activity\" }));\n }\n }}\n containerClassName=\"!tw-mt-8px\"\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default NewLeadActivity;\n\nNewLeadActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nNewLeadActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\n\nimport { useDispatch } from \"react-redux\";\n\nimport { ArrowsRepeatRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\n\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst LeadTransferActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer\n containerClassName=\"tw-bg-[#FAF1E6] tw-text-[#AD6714]\"\n Icon={ArrowsRepeatRegularV6}\n >\n Lead Transfer\n </CategoryContainer>\n }\n personName={`${activity.data?.subjectFirstName} ${activity.data?.subjectLastName}`}\n time={activity.createdAt}\n onReadChhnge={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField\n label=\"Transferred from\"\n data={[activity.data?.secondarySubjectFirstName, activity.data?.secondarySubjectLastName]\n .filter(Boolean)\n .join(\" \")}\n />\n <ActivityBtns\n callHandlr={() => {\n if (activity?.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Lead Transfer Activity\" }),\n );\n }\n }}\n containerClassName=\"!tw-mt-8px\"\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default LeadTransferActivity;\n\nLeadTransferActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nLeadTransferActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React, { useEffect, useState } from \"react\";\n\nimport { AtRegularV6 } from \"@shared/v2/Icomoon\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\n\nconst personAPI = (uuid, param) => `/api/v4/activity_feed/person_name?${param}=${uuid}`;\nconst transactionAPI = (uuid) => `/api/v4/transactions/header/${uuid}`;\n\nconst NoteMentionActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const [notableName, setNotableName] = useState(null);\n\n useEffect(() => {\n (async () => {\n const notableAPI = activity.data.notableType === \"Person\" ? personAPI : transactionAPI;\n\n const [resNotableName, errNotableName] = await tryCatchHandlr(\n caseTransformingAxios.get(`${notableAPI(activity.data.notableId, \"person_uuid\")}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n }),\n );\n\n if (errNotableName) throw errNotableName;\n\n setNotableName(resNotableName.data.name || resNotableName.data.address?.streetAddress);\n })();\n }, [activity]);\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName=\"tw-bg-[#FAF1E6] tw-text-[#AD6714]\" Icon={AtRegularV6}>\n Note Mention\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Added To\" data={notableName === null ? \"\" : notableName || \"No Name\"} />\n <span className={STYLES.lineClamp3}>{activity.data.note}</span>\n </div>\n </ActivityContainer>\n );\n};\n\nexport default NoteMentionActivity;\n\nNoteMentionActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nNoteMentionActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React, { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\n\nimport { ListCheckRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport PipedElements from \"../PipedElements\";\n\nconst NewTaskActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const [personUuid, setPersonUuid] = useState(null);\n\n useEffect(() => {\n (async () => {\n if (activity.data?.taskId) {\n const [res, err] = await tryCatchHandlr(\n caseTransformingAxios.get(`/api/v3/tasks/${activity.data?.taskId}`),\n );\n\n if (err) {\n return;\n }\n\n setPersonUuid(res.data?.task?.taskableId);\n }\n })();\n }, []);\n\n return (\n <ActivityContainer\n activity={{ ...activity, personUuid }}\n queryParams={queryParams.toString()}\n onReadChange={onReadChange}\n >\n <Header\n category={\n <CategoryContainer containerClassName=\"tw-bg-[#FAF1E6] tw-text-[#AD6714]\" Icon={ListCheckRegularV6}>\n New Task\n </CategoryContainer>\n }\n personName={`${activity.data?.assigneeName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <span className={STYLES.lineClamp3}>{activity.data?.taskTitle}</span>\n <DataField label=\"Type\" data={activity.data?.taskType} />\n <PipedElements>\n <DataField label=\"Due\" data={activity.data?.taskDueDate} />\n <DataField label=\"From\" data={activity.data?.assignerName} />\n </PipedElements>\n </div>\n </ActivityContainer>\n );\n};\n\nexport default NewTaskActivity;\n\nNewTaskActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nNewTaskActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { useDispatch } from \"react-redux\";\n\nimport { FileArrowUpRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst getFormName = (activity) => {\n switch (activity.notificationType) {\n case \"cash_offer_submitted\":\n return \"Home Value - Cash Offer Submitted\";\n case \"cma_requested\":\n return \"Home Value - CMA Requested\";\n case \"home_value_submitted\":\n return \"Home Value - CMA Requested\";\n case \"sell_my_home_submitted\":\n return \"Sell My Home\";\n case \"unlock_equity_requested\":\n return \"Home Value - Unlock Equity\";\n case \"valuation_requested\":\n return \"Home Value - Get Professional Valuation\";\n case \"contact_form_general\":\n return \"Contact Form\";\n case \"get_prequalified\":\n return \"Market Report - Get Pre-Qualified\";\n case \"prequalification_request\":\n return \"Get Pre-Qualified\";\n case \"feedback_submitted\":\n return \"Home Value - Feedback\";\n case \"adjusted_equity_calculator\":\n return \"Home Value - Adjusted Equity Calculator\";\n case \"contact_form_ask_a_question\":\n return \"Market Report - Asked a Question\";\n case \"contact_us\":\n return \"Market Report - Contact Form\";\n case \"sell_my_home_submitted_market_report\":\n return \"Market Report - Sell My Home\";\n default:\n return \"Unknown\";\n }\n};\n\nconst SubmittedFormActivity = ({ activity, onReadChange }) => {\n const dispatch = useDispatch();\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n const isPlace = useTheme()?.name === \"place-theme\";\n\n const content =\n activity.notificationType === \"contact_form_ask_a_question\" ? activity.data?.question : activity.content;\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={FileArrowUpRegularV6}>\n Submitted Form\n </CategoryContainer>\n }\n personName={`${activity.data?.subjectFirstName} ${activity.data?.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Form Name\" data={getFormName(activity)} />\n <DataField label=\"Content\" data={content} />\n <ActivityBtns\n callHandlr={() => {\n if (activity?.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Submitted Form Activity\" }),\n );\n }\n }}\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default SubmittedFormActivity;\n\nSubmittedFormActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nSubmittedFormActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\n\nimport { useDispatch } from \"react-redux\";\n\nimport { DesktopRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst SellingPageVisitedActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={DesktopRegularV6}>\n Selling Page Visit\n </CategoryContainer>\n }\n personName={`${activity.data.leadFirstName} ${activity.data.leadLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <span className={`${STYLES.lineClamp3} tw-px-8px`}>{activity.content}</span>\n <ActivityBtns\n callHandlr={() => {\n if (activity?.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Selling Page Visit Activity\" }),\n );\n }\n }}\n containerClassName=\"!tw-mt-8px\"\n />\n </ActivityContainer>\n );\n};\n\nexport default SellingPageVisitedActivity;\n\nSellingPageVisitedActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nSellingPageVisitedActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { CircleQuestionRegularV6 } from \"@shared/v2/Icomoon\";\n\nimport ActivityContainer from \"./ActivityContainer\";\nimport { activityCommonDefaultProps, activityCommonPropTypes, STYLES } from \"../shared\";\nimport Header from \"./Header\";\nimport CategoryContainer from \"./CategoryContainer\";\nimport DataField from \"./DataField\";\nimport { useTheme } from \"../../../../reducers/layoutReducer/selectors\";\nimport ActivityBtns from \"./shared/ActivityBtns\";\nimport { setCallParams } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst ListingInquiryActivity = ({ activity, onReadChange }) => {\n const queryParams = new URLSearchParams();\n queryParams.set(\"tab\", \"3\");\n const isPlace = useTheme()?.name === \"place-theme\";\n const dispatch = useDispatch();\n\n return (\n <ActivityContainer activity={activity} queryParams={queryParams.toString()} onReadChange={onReadChange}>\n <Header\n category={\n <CategoryContainer containerClassName={STYLES.badgeThemed(isPlace)} Icon={CircleQuestionRegularV6}>\n Listing Inquiry\n </CategoryContainer>\n }\n personName={`${activity.data.subjectFirstName} ${activity.data.subjectLastName}`}\n time={activity.createdAt}\n onReadChange={onReadChange}\n loading={activity.loading}\n read={activity.read}\n />\n <div className={`${STYLES.contentContainer} tw-text-14d`}>\n <DataField label=\"Address\" data={activity.data?.propertyStreetAddress} />\n <DataField label=\"Question\" data={activity.data.question} />\n <ActivityBtns\n callHandlr={() => {\n if (activity.personUuid) {\n dispatch(\n setCallParams({ leadUuids: [activity.personUuid], callSource: \"Listing Inquiry Activity\" }),\n );\n }\n }}\n listingHandlr={() => {}}\n />\n </div>\n </ActivityContainer>\n );\n};\n\nexport default ListingInquiryActivity;\n\nListingInquiryActivity.propTypes = {\n ...activityCommonPropTypes,\n};\n\nListingInquiryActivity.defaultProps = {\n ...activityCommonDefaultProps,\n};\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nexport const getActivities = (...config) =>\n caseTransformingAxios.get(\"/api/v4/activity_feed\", ...config).then((res) => res.data.data);\n\nexport const markAsRead = (activity) =>\n caseTransformingAxios.post(`/api/v4/activity_feed/${activity.id}/mark_as_read`);\n\nexport const markAllAsRead = () => caseTransformingAxios.post(\"/api/v4/activity_feed/mark_all_as_read\");\n\nexport const searchActivities = (...config) =>\n caseTransformingAxios.get(\"/api/v4/activity_feed/search\", ...config).then((res) => res.data.data);\n\nexport const getUnreadCount = () =>\n caseTransformingAxios\n .get(\"/api/v4/activity_feed/unread_count\")\n .then((res) => res.data.data)\n .catch(() => 0);\n","/* eslint-disable no-param-reassign */\nimport { useState, useEffect, createRef } from \"react\";\nimport axios from \"axios\";\nimport { trim } from \"lodash\";\nimport moment from \"moment\";\nimport { useDebounce, useLocalStorage } from \"@shared/hookHelpers\";\nimport { responseDataToCamelCase } from \"@shared/v2/caseTransformingAxios\";\nimport { markAllAsRead, markAsRead, searchActivities, getUnreadCount } from \"../api\";\nimport { useCurrentUser, useIsAdmin } from \"../../../../reducers/layoutReducer/selectors\";\n\nconst formatDate = (dateString) => {\n const date = moment(dateString, \"MM/DD/YYYY\");\n\n if (date.isSame(moment(), \"day\")) return \"Today\";\n if (date.isSame(moment().subtract(1, \"day\"), \"day\")) return \"Yesterday\";\n\n return date.format(\"MM/DD/YY\");\n};\n\nconst groupAndSortByDate = (data) => {\n if (data.length === 0) return [];\n const groupedData = data.reduce((acc, activity) => {\n if (!activity) return acc;\n\n const dateKey = moment.utc(activity.createdAt).local().format(\"MM/DD/YYYY\");\n\n if (!acc[dateKey]) {\n acc[dateKey] = [];\n }\n\n acc[dateKey].push(activity);\n\n return acc;\n }, {});\n\n Object.keys(groupedData).forEach((date) => {\n groupedData[date].sort((a, b) => new Date(b.createdAt) - new Date(a.createdAt));\n });\n\n const sortedArray = Object.entries(groupedData)\n .sort((a, b) => new Date(b[0]) - new Date(a[0]))\n .map(([date, activities]) => ({ date: formatDate(date), activities }));\n\n return sortedArray;\n};\n\nconst transformNotificationData = (notification) => ({\n ...notification,\n data:\n typeof notification.data === \"string\"\n ? responseDataToCamelCase(JSON.parse(notification.data || \"{}\"))\n : notification.data,\n});\n\nconst LIMIT = 30;\n\nconst useActivities = ({ show, activitiesRef, agents }) => {\n const isAdmin = useIsAdmin();\n const [query, setQuery] = useLocalStorage(\"query\", \"\");\n const debouncedQuery = useDebounce(trim(query), 300);\n const [category, setCategory] = useLocalStorage(\"category\", \"all\");\n const [recipientUuids, setRecipientUuids] = useLocalStorage(\"recipientLocalUuids\", []);\n const [countData, setCountData] = useLocalStorage(\"countLocalData\", 30);\n const [page, setPage] = useLocalStorage(\"page\", 1);\n const [maxPage, setMaxPage] = useLocalStorage(\"maxPage\", 1);\n const [scrolledTop, setScrolledTop] = useLocalStorage(\"scrolledTop\", 0);\n\n const [unreadCount, setUnreadCount] = useState(0);\n const [data, setData] = useState([]);\n const [sortedActivities, setSortedActivities] = useState(groupAndSortByDate(data));\n const [loading, setLoading] = useState(false);\n\n const [readFilter, setReadFilter] = useState(() => {\n const storedValue = localStorage.getItem(\"readFilter\");\n return storedValue ? JSON.parse(storedValue) : false;\n });\n\n const setReadFilterHandlr = (valueOrUpdater) => {\n const newValue = typeof valueOrUpdater === \"function\" ? valueOrUpdater(readFilter) : valueOrUpdater;\n setReadFilter(newValue);\n localStorage.setItem(\"readFilter\", JSON.stringify(newValue));\n };\n\n const { uuid: currentUserUuid } = useCurrentUser();\n\n const adaptedRecipientUuids = recipientUuids?.filter((uuid) => uuid !== \"all\").join(\",\");\n\n const resetData = (abortSignal, paramsOptions) => {\n setLoading(true);\n searchActivities({\n params: {\n page: 1,\n limit: LIMIT,\n read: readFilter,\n recipient_uuids: adaptedRecipientUuids,\n category: category === \"all\" ? null : category,\n term: query,\n ...paramsOptions,\n },\n signal: abortSignal,\n }).then((d) => {\n setLoading(false);\n\n // this options is used on initial show, so it prevents page count to fetch unnecessarily\n if (!paramsOptions?.limit) {\n setPage(1);\n if (d?.length >= LIMIT) setMaxPage(page + 1);\n }\n setData((d || []).map(transformNotificationData));\n });\n };\n\n useEffect(() => {\n getUnreadCount().then((count) => setUnreadCount(count));\n\n if (agents.length) {\n const agentsSet = new Set(agents.map((agent) => agent.value));\n\n if (!recipientUuids.length || !recipientUuids.every((id) => agentsSet.has(id)) || !isAdmin) {\n setRecipientUuids([currentUserUuid]);\n }\n }\n }, [agents]);\n\n useEffect(() => {\n const refedData = data.map((d) => ({ ...d, ref: createRef(null) }));\n setSortedActivities(\n groupAndSortByDate(refedData).map((group) => ({ ...group, dateRef: createRef(null) })),\n );\n setLoading(false);\n }, [data]);\n\n useEffect(() => {\n if (page > 1 && show) {\n setLoading(true);\n searchActivities({\n params: {\n term: debouncedQuery,\n page,\n limit: LIMIT,\n read: readFilter,\n recipient_uuids: adaptedRecipientUuids,\n category: category === \"all\" ? null : category,\n },\n })\n .then((d) => {\n if (d.length >= LIMIT) {\n setMaxPage(page + 1);\n }\n setData((prev) => {\n const newData = [...prev, ...(d || []).map(transformNotificationData)];\n setCountData(newData.length);\n return newData;\n });\n })\n .catch(() => setLoading(false));\n }\n }, [page]);\n\n useEffect(() => {\n const abortController = new AbortController();\n\n if (show) {\n setScrolledTop(0);\n resetData(abortController.signal, {});\n }\n return () => abortController.abort();\n }, [readFilter, category, recipientUuids]);\n\n useEffect(() => {\n if (activitiesRef?.current) {\n activitiesRef.current.scrollTop = scrolledTop;\n }\n }, [sortedActivities]);\n\n useEffect(() => {\n if (!show) return () => {};\n const abortController = new AbortController();\n if (show) {\n resetData(abortController.signal, {\n limit: countData,\n });\n }\n return () => abortController.abort();\n }, [show]);\n\n useEffect(() => {\n if (!debouncedQuery && show) {\n resetData();\n return () => {};\n }\n const abortController = new AbortController();\n setLoading(true);\n if (debouncedQuery && show) {\n searchActivities({\n params: {\n term: debouncedQuery,\n page: 1,\n limit: LIMIT,\n read: readFilter,\n recipient_uuids: adaptedRecipientUuids,\n category: category === \"all\" ? null : category,\n },\n signal: abortController.signal,\n })\n .then((d) => {\n setPage(1);\n setMaxPage(d && d.length >= LIMIT ? 2 : 1);\n setData(() => {\n const newData = (d || []).map(transformNotificationData);\n setCountData(newData.length);\n\n return newData;\n });\n })\n .catch((err) => {\n if (!axios.isCancel(err)) setLoading(false);\n });\n }\n return () => {\n abortController.abort();\n };\n }, [debouncedQuery]);\n\n const actions = {\n onReadChange: (activity) => {\n markAsRead(activity).then(() => {\n setUnreadCount((c) => c + (activity.read ? 1 : -1));\n setData((prev) => {\n const newData = prev.filter((a) => a.id !== activity.id);\n setCountData(newData.length);\n return newData;\n });\n });\n },\n\n markAllAsRead: () => {\n setLoading(true);\n markAllAsRead()\n .then(() => {\n setUnreadCount(0);\n setCountData(0);\n setData([]);\n })\n .catch(() => setLoading(false));\n },\n\n loadMore: () => {\n if (data.length >= 30 && page < maxPage) setPage((p) => p + 1);\n },\n\n toggleReadFilter: () => {\n setReadFilterHandlr((prev) => !prev);\n },\n\n setCategory: (ct) => {\n setCategory(ct);\n },\n setRecipientUuids: (arrayOfUuids) => {\n setRecipientUuids(arrayOfUuids);\n },\n setScrolledTop: (value) => {\n setScrolledTop(value);\n },\n };\n\n return {\n actions,\n activityGroups: sortedActivities,\n selectedAgentsIds: recipientUuids,\n loading,\n unreadCount,\n readFilter,\n category,\n query, // returning query in case it's needed externally\n setQuery, // allows external updates to the query value\n };\n};\n\nexport default useActivities;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { InboxRegularV6 } from \"@shared/v2/Icomoon\";\n\nconst EmptyState = ({ show, children, containerClassName }) =>\n show ? (\n <div className={`tw-flex tw-flex-col tw-items-center tw-gap-16px ${containerClassName}`}>\n <InboxRegularV6 size=\"xxxxl\" className=\"tw-text-gray-30\" />\n {children}\n </div>\n ) : null;\n\nexport default EmptyState;\n\nEmptyState.propTypes = {\n show: PropTypes.bool,\n children: PropTypes.node,\n containerClassName: PropTypes.string,\n};\n\nEmptyState.defaultProps = {\n show: false,\n children: null,\n containerClassName: \"\",\n};\n","/* eslint-disable react/prop-types */\nimport React from \"react\";\n\nimport PropTypes from \"prop-types\";\n\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nconst CustomOptionMultiAgent = ({ componentProps, children }) => (\n <Dropdown.Option\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...componentProps}\n className={`!tw-flex tw-gap-[8px] tw-items-center tw-group ${componentProps.data.currentUser ? \"tw-border-0 tw-border-t-[1px] tw-border-solid tw-border-gray-10\" : \"\"}`}\n preserveStyle\n >\n <Checkbox checked={componentProps.isSelected} disabled={componentProps.isDisabled} readOnly />\n {children}\n {componentProps.data.currentUser && <span className=\"tw-text-gray-50\"> (signed-in user)</span>}\n </Dropdown.Option>\n);\n\nexport default CustomOptionMultiAgent;\n\nCustomOptionMultiAgent.propTypes = {\n componentProps: PropTypes.shape({}).isRequired,\n children: PropTypes.node.isRequired,\n};\n","/* eslint-disable consistent-return */\nimport React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport DropdownWithMultiCtrlledRemovable from \"@shared/DropdownWithMultiCtrlledRemovable\";\nimport CustomOptionMultiAgent from \"./CustomOptionMultiAgent\";\n\nconst ALL_OPTION = { label: \"All Team Members\", value: \"all\" };\n\nconst DropdownSelectMultiAgents = ({ agents, selectedAgentsIds, setSelectedAgents }) => {\n const [selectedOptions, setSelectedOptions] = useState([]);\n\n useEffect(() => {\n if (agents.length) {\n setSelectedOptions(selectedAgentsIds?.map((id) => agents.find((item) => item.value === id)));\n }\n }, [selectedAgentsIds, agents]);\n\n const setSelectedAgentsHandlr = (options) => {\n const selectedIds = options?.map((option) => option.value);\n\n if (JSON.stringify(selectedIds) !== JSON.stringify(selectedAgentsIds)) {\n setSelectedAgents(selectedIds);\n }\n };\n\n return (\n <DropdownWithMultiCtrlledRemovable\n options={agents}\n selectedOptions={selectedOptions}\n eventListenerId={null}\n onChange={(v) => {\n if (!agents.length) {\n return [];\n }\n\n const selectedAll = selectedOptions?.find((option) => option.value === \"all\");\n\n if (!v.length) {\n return setSelectedOptions(() => {\n const defaultValue = selectedAll ? [agents.find((agent) => agent.currentUser)] : [ALL_OPTION];\n\n setSelectedAgentsHandlr(defaultValue);\n return defaultValue;\n });\n }\n\n if (selectedAll && !v.length) {\n return;\n }\n\n if (!selectedAll && v.find((option) => option.value === \"all\")) {\n return setSelectedOptions(() => {\n setSelectedAgentsHandlr([ALL_OPTION]);\n return [ALL_OPTION];\n });\n }\n\n if (selectedAll && v[v.length - 1].value !== \"all\") {\n return setSelectedOptions(() => {\n const filteredValues = v.filter((option) => option.value !== \"all\");\n setSelectedAgentsHandlr(filteredValues);\n return filteredValues;\n });\n }\n\n return setSelectedOptions(() => {\n setSelectedAgentsHandlr(v);\n return v;\n });\n }}\n dropdownMultiValueClassName=\"!tw-hidden\"\n OptionComponent={CustomOptionMultiAgent}\n placeholder={\n <div className=\"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis tw-max-w-[467px]\">\n {selectedAgentsIds?.map((id) => agents?.find((item) => item.value === id)?.label).join(\", \")}\n </div>\n }\n />\n );\n};\n\nexport default DropdownSelectMultiAgents;\n\nDropdownSelectMultiAgents.propTypes = {\n selectedAgentsIds: PropTypes.arrayOf(PropTypes.string),\n setSelectedAgents: PropTypes.func,\n agents: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nDropdownSelectMultiAgents.defaultProps = {\n selectedAgentsIds: [],\n setSelectedAgents: () => {},\n};\n","/* eslint-disable consistent-return */\nimport React, { useEffect, useRef, useState } from \"react\";\nimport { debounce } from \"lodash\";\nimport { TransitionGroup, CSSTransition } from \"react-transition-group\";\nimport Button from \"@shared/v2/Button\";\nimport IntersectionObserverNode from \"@shared/v2/IntersectionObserverNode\";\nimport ErrorBoundary from \"@shared/v2/ErrorBoundary\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { CloseButton } from \"@shared/v2/Modal/ModalHeader\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport { MagnifyingGlassSolidV6, ThumbtackRegularV6, ThumbtackSolidV6 } from \"@shared/v2/Icomoon\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nimport Portal from \"@shared/v1/Portal\";\nimport TextToggle from \"@shared/v2/TextToggle\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport { useTheme, useIsAdmin } from \"../../../reducers/layoutReducer/selectors\";\nimport {\n GroupTextActivityV2,\n TextActivityV2,\n ShowingRequestActivityV2,\n HomeValueActivityV2,\n ViewedPropertyActivityV2,\n QuestionsActivityV2,\n LeadTransferActivityV2,\n NewLeadActivityV2,\n FavPropertyActivityV2,\n SavedSearchActivityV2,\n ReturnSiteActivityV2,\n NoteMentionActivityV2,\n NewTaskActivityV2,\n SubmittedFormActivityV2,\n SellingPageVisitedActivityV2,\n ListingInquiryActivityV2,\n} from \"./ActivitiesV2\";\nimport useActivities from \"./hooks/useActivities\";\nimport \"./styles.css\";\nimport EmptyState from \"./EmptyState\";\nimport DropdownSelectMultiAgents from \"./DropdownSelectMultiAgents\";\n\nconst ACTIVITIES_CATEGORIES = [\n { label: \"All\", value: \"all\" },\n { label: \"Texts\", value: \"text\" },\n { label: \"Forms\", value: \"requests\" },\n { label: \"Web\", value: \"web\" },\n { label: \"CRM\", value: \"crm\" },\n];\n\nconst READ_OPTIONS = [\n { label: \"Unread\", value: false },\n { label: \"Read\", value: true },\n];\n\nconst EMPTY_ACTIVITY_TEXT = {\n all: \"You’re up to date on everything\",\n text: \"No new texts\",\n requests: \"No new form submissions\",\n web: \"No new web activity\",\n crm: \"No new CRM activity\",\n};\n\nconst ACTIVITY_MAPPING = {\n assigned_task: NewTaskActivityV2,\n cash_offer_submitted: SubmittedFormActivityV2,\n cma_requested: SubmittedFormActivityV2,\n contact_form_existing_lead: SubmittedFormActivityV2,\n contact_us: SubmittedFormActivityV2,\n contact_form_start_offer: SubmittedFormActivityV2,\n contact_form_ask_a_question: SubmittedFormActivityV2,\n group_message: GroupTextActivityV2,\n home_value_submitted: HomeValueActivityV2,\n lead_pond_contact_form_questions_about: QuestionsActivityV2,\n lead_pond_home_value_submitted: HomeValueActivityV2,\n lead_pond_home_value: HomeValueActivityV2,\n lead_pond_mention: NoteMentionActivityV2,\n lead_pond_property_viewed_x_times: ViewedPropertyActivityV2,\n lead_pond_registration: LeadTransferActivityV2,\n lead_pond_return_after_30_days: ReturnSiteActivityV2,\n lead_pond_schedule_showing: ShowingRequestActivityV2,\n lead_registration: NewLeadActivityV2,\n lead_return_after_30_days: ReturnSiteActivityV2,\n lead_transfer: LeadTransferActivityV2,\n mention: NoteMentionActivityV2,\n property_viewed_x_times: ViewedPropertyActivityV2,\n question_submitted: QuestionsActivityV2,\n saved_property: FavPropertyActivityV2,\n saved_search: SavedSearchActivityV2,\n schedule_showing: ShowingRequestActivityV2,\n sell_my_home_submitted: SubmittedFormActivityV2,\n text_message: TextActivityV2,\n unlock_equity_requested: SubmittedFormActivityV2,\n updated_home_value: HomeValueActivityV2,\n valuation_requested: SubmittedFormActivityV2,\n selling_page_visited: SellingPageVisitedActivityV2,\n contact_form_questions_about: ListingInquiryActivityV2,\n};\n\nconst TACK_WINDOW_WIDTH = 1920;\n\nconst ActivitiesFeed = () => {\n const isPlace = useTheme()?.name === \"place-theme\";\n const [tack, setTack] = useState(JSON.parse(localStorage.getItem(\"activityFeed:tack\") || \"false\"));\n const [showTack, setShowTack] = useState(false);\n const [windowWidth, setWindowWidth] = useState(window.innerWidth);\n const [showActivityFeed, setShowActivityFeed] = useState(tack && windowWidth > TACK_WINDOW_WIDTH);\n const activitiesRef = useRef(null);\n const isAdmin = useIsAdmin();\n\n const [agents, setAgents] = useState([]);\n\n useEffect(() => {\n if (!showActivityFeed) return;\n\n const abortController = new AbortController();\n\n caseTransformingAxios\n .get(`/api/v4/activity_feed/team_people`, { signal: abortController.signal })\n .then((res) => setAgents(res.data))\n .catch(() => setAgents([]));\n\n return () => {\n abortController.abort();\n };\n }, [showActivityFeed]);\n\n const {\n actions,\n activityGroups,\n loading,\n unreadCount,\n readFilter,\n category,\n selectedAgentsIds,\n setQuery,\n query,\n } = useActivities({\n show: showActivityFeed,\n activitiesRef,\n agents,\n });\n const ThumbtackComponent = tack ? ThumbtackSolidV6 : ThumbtackRegularV6;\n\n const toggleActivityFeed = () => setShowActivityFeed(!showActivityFeed);\n\n useEffect(() => {\n if (showActivityFeed) {\n // observe window width\n const handleResize = debounce(() => {\n setWindowWidth(window.innerWidth);\n }, 150);\n window.addEventListener(\"resize\", handleResize);\n handleResize();\n\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n }\n return () => {};\n }, [showActivityFeed]);\n\n useEffect(() => {\n setShowTack(windowWidth > TACK_WINDOW_WIDTH);\n }, [windowWidth]);\n\n useEffect(() => {\n setTack(showTack);\n }, [showTack]);\n\n return (\n <>\n <Button\n className={`tw-h-[36px] tw-w-[147px] tw-pl-[20px] tw-pr-[6px] tw-text-14d tw-font-semibold tw-normal-case tw-whitespace-nowrap tw-bg-white !tw-border-1px !tw-border-gray-75 !tw-border-solid tw-flex tw-gap-[6px] tw-items-center tw-ease-out tw-transition-all hover:tw-duration-150 active:tw-duration-50\n ${\n isPlace\n ? \"tw-text-white tw-bg-opacity-10 hover:!tw-bg-opacity-10 active:!tw-bg-white active:!tw-bg-opacity-30 active:!tw-border-[#578EFA] active:!tw-border-3px\"\n : \"!tw-text-[#4CA7A7] hover:!tw-bg-blue-10 active:!tw-bg-[#DEF3F3] \"\n }\n active:tw-pl-[20px] active:tw-border-[1px] active:!tw-border-transparent\n ${showActivityFeed ? `${isPlace ? \"!tw-border-[#578EFA]\" : \"!tw-bg-blue-10\"}` : \"\"}\n `}\n onClick={toggleActivityFeed}\n >\n Activity Feed\n <div\n className={`tw-rounded-full tw-bg-theme-primary tw-w-[24px] tw-h-[24px] tw-flex tw-items-center tw-justify-center tw-text-white ${unreadCount > 99 ? \"tw-text-[10px]\" : \"tw-text-12d\"}`}\n >\n {unreadCount > 99 ? \"99+\" : unreadCount}\n </div>\n </Button>\n <Portal portalId=\"activities-portal\">\n <div\n className={`tw-max-w-[100vw] tw-w-[564px] tw-absolute tw-z-30 tw-shadow-[0px_6px_20px_2px_#33333329] tw-bg-white tw-flex tw-flex-col tw-transform tw-transition-transform tw-duration-[500ms] tw-ease-in-out tw-right-0 ${\n tack ? \"!tw-relative\" : \"tw-h-[calc(100%-8px)]\"\n } ${showActivityFeed ? \"tw-translate-x-0\" : \"tw-translate-x-full\"} ${\n !tack || showActivityFeed ? \"\" : \"tw-ml-[-564px]\"\n }`}\n >\n <div className=\"tw-flex tw-flex-col tw-gap-24px tw-p-[24px] tw-border-solid tw-border-0 tw-border-b tw-border-gray-10 tw-\">\n <div className=\"tw-flex tw-justify-between\">\n <span className=\"tw-text-18d tw-text-gray-base\">Activity Feed</span>\n <div className=\"tw-flex tw-items-center tw-gap-8px\">\n {showTack && (\n <ThumbtackComponent\n size=\"l\"\n onClick={() =>\n setTack((t) => {\n const newTack = !t;\n localStorage.setItem(\"activityFeed:tack\", JSON.stringify(newTack));\n return newTack;\n })\n }\n className=\"tw-cursor-pointer\"\n />\n )}\n <CloseButton onClick={toggleActivityFeed} />\n </div>\n </div>\n {isAdmin && (\n <div className=\"tw-mb-[-8px]\">\n <DropdownSelectMultiAgents\n selectedAgentsIds={selectedAgentsIds}\n setSelectedAgents={actions.setRecipientUuids}\n agents={agents}\n />\n </div>\n )}\n <TextToggle\n options={ACTIVITIES_CATEGORIES}\n value={category}\n size=\"small\"\n onChange={(e) => actions.setCategory(e.target.value)}\n className=\"!tw-border-0\"\n containerClassName=\"tw-gap-4px !tw-justify-start\"\n labelClassName={`!tw-rounded-full !tw-px-[12px] !tw-border-gray-15 !tw-text-gray-75 tw-transition-all tw-ease-out hover:tw-duration-[150ms] active:tw-duration-[50ms]\n \"hover:!tw-text-[#2E6CE5] hover:!tw-border-[#578EFA]\n active:!tw-text-[#2454B2] active:!tw-border-[#578EFA] active:!tw-bg-[#C8D9FA]\n peer-checked:!tw-text-[#2454B2] peer-checked:!tw-border-[#578EFA] peer-checked:tw-bg-[#E6EDFA]\"\n ${isPlace ? \"hover:!tw-text-[#2E6CE5] hover:!tw-border-[#578EFA] active:!tw-text-[#2454B2] active:!tw-border-[#578EFA] active:!tw-bg-[#C8D9FA] peer-checked:!tw-text-[#2454B2] peer-checked:!tw-border-[#578EFA] peer-checked:tw-bg-[#E6EDFA]\" : \"hover:!tw-text-[#4CA7A7] hover:!tw-border-[#94DCDC] active:!tw-text-[#336E7B] active:!tw-border-[#94DCDC] active:!tw-bg-[#DEF3F3] peer-checked:!tw-text-[#336E7B] peer-checked:!tw-border-[#94DCDC] peer-checked:tw-bg-[#EEF9F9]\"}\n `}\n />\n\n <div className=\"tw-flex tw-gap-24px tw-items-center\">\n <TextToggle\n options={READ_OPTIONS}\n value={readFilter}\n size=\"small\"\n onChange={actions.toggleReadFilter}\n />\n <TextButton onClick={actions.markAllAsRead} className=\"tw-ml-auto\" disabled={readFilter}>\n Mark All As Read\n </TextButton>\n </div>\n <div className=\"tw-flex tw-flex-row tw-relative tw-flex-1\">\n <TextInput\n containerClassName=\"tw-flex-1 tw-w\"\n className=\"tw-pr-32px\"\n placeholder=\"Search activity\"\n value={query}\n onChange={(e) => setQuery(e.target.value)}\n />\n <MagnifyingGlassSolidV6\n size=\"l\"\n className=\"tw-text-gray-30 tw-absolute tw-right-8px tw-top-10px\"\n />\n </div>\n </div>\n <div className=\"tw-relative tw-flex-1 tw-flex tw-flex-col tw-overflow-hidden\">\n {loading && <Loading />}\n <div\n ref={activitiesRef}\n className=\"tw-w-full tw-flex-1 tw-overflow-y-auto tw-bg-[#F9FBFB] tw-py-16px tw-px-24px\"\n onScroll={() => {\n const { scrollTop } = activitiesRef.current;\n actions.setScrolledTop(scrollTop);\n }}\n >\n <TransitionGroup className=\"tw-flex tw-flex-col tw-gap-16px\">\n <EmptyState show={activityGroups.length === 0 && !loading} containerClassName=\"tw-mt-50px\">\n <span className=\"tw-text-gray-50\">{EMPTY_ACTIVITY_TEXT[category]}</span>\n </EmptyState>\n\n {activityGroups.map(({ date, activities, dateRef }) => {\n const filteredActivities = activities.filter(\n (activity) => ACTIVITY_MAPPING[activity.notificationType],\n );\n if (filteredActivities.length === 0) return null;\n return (\n <CSSTransition key={date} nodeRef={dateRef} timeout={300} classNames=\"date-groupz\">\n <div ref={dateRef}>\n <div className=\"tw-text-14d tw-text-gray-50 tw-font-semibold tw-mb-16px\">{date}</div>\n <TransitionGroup className=\"tw-flex tw-flex-col tw-gap-8px\">\n {filteredActivities.map((activity) => {\n const activityCb = ACTIVITY_MAPPING[activity.notificationType];\n\n if (!activityCb) return null;\n\n const Activity = activityCb;\n\n return (\n <CSSTransition\n key={activity.id}\n nodeRef={activity.ref}\n timeout={300}\n classNames=\"itemz\"\n >\n <div ref={activity.ref}>\n <ErrorBoundary key={activity.id}>\n <Activity\n activity={activity}\n onReadChange={() => actions.onReadChange(activity)}\n />\n </ErrorBoundary>\n </div>\n </CSSTransition>\n );\n })}\n </TransitionGroup>\n </div>\n </CSSTransition>\n );\n })}\n </TransitionGroup>\n {activityGroups.length > 0 && !loading && (\n <IntersectionObserverNode onIntersect={() => actions.loadMore()} />\n )}\n </div>\n </div>\n </div>\n </Portal>\n </>\n );\n};\n\nexport default ActivitiesFeed;\n","import { createSlice } from \"@reduxjs/toolkit\";\nimport { useSelector } from \"react-redux\";\n\nexport const initialState = {\n actionLabel: \"\",\n className: \"\",\n closeOnTimeout: () => {},\n icon: null,\n onActionButtonClick: null,\n onSecondaryActionButtonClick: null,\n position: \"bottom\",\n schema: \"default\",\n secondaryActionLabel: \"\",\n show: false,\n text: \"\",\n timeout: 0,\n};\n\nconst snackbarSlice = createSlice({\n name: \"snackbar\",\n initialState,\n reducers: {\n setSnackbar: (state, action) => ({\n ...state,\n ...action.payload,\n }),\n },\n});\n\nexport const { setSnackbar } = snackbarSlice.actions;\n\nexport default snackbarSlice.reducer;\n\nexport const useSnackbar = () => useSelector(({ snackbar }) => snackbar);\n","import Button from \"@shared/v2/Button\";\nimport React from \"react\";\nimport { useTheme } from \"../../reducers/layoutReducer/selectors\";\n\nconst ReferAFriend = () => {\n const isPlace = useTheme().name === \"place-theme\";\n return (\n <Button\n className={`tw-mr-[4px] bs-xs:tw-hidden ${isPlace ? \"!tw-border-white\" : \"\"}`}\n onClick={() => window.location.assign(\"/agent_stats?report_tab=referrals\")}\n >\n Refer<span className=\"bs-sm:tw-hidden\"> A Friend</span>\n </Button>\n );\n};\n\nexport default ReferAFriend;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { func } from \"prop-types\";\nimport Button from \"@shared/v2/Button/Button\";\nimport useMediaQuery from \"@shared/v2/useMediaQuery\";\n\nconst ReferFriendBtn = ({ openModal }) => {\n const isMobile = useMediaQuery(\"(max-width: 880px)\");\n const theme = useSelector(({ layout }) => layout.theme);\n return (\n <Button\n schema={`${theme.name === \"place-theme\" ? \"transparent-primary\" : \"primary\"}`}\n onClick={openModal}\n className={`${\n theme.name === \"place-theme\" ? \"hover:tw-border-white active:tw-border-white\" : \"\"\n } tw-mr-[4px]`}\n size=\"small\"\n >\n Refer {isMobile ? \"\" : \"A Friend\"}\n </Button>\n );\n};\n\nReferFriendBtn.propTypes = {\n openModal: func,\n};\n\nReferFriendBtn.defaultProps = {\n openModal: () => {},\n};\nexport default ReferFriendBtn;\n","import React, { useEffect } from \"react\";\n\nimport { bool, func } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal/Modal\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\nimport { useSelector } from \"react-redux\";\n\nconst ReferFriendModal = ({ isModalOpen, onHideHandlr, onSave }) => {\n const currentUser = useCurrentUser();\n const theme = useSelector(({ layout }) => layout.theme);\n useEffect(() => {\n if (!isModalOpen) return;\n const styleElement = document.createElement(\"style\");\n\n const createForm = () => {\n const formId =\n theme.name === \"place-theme\"\n ? \"2071682d-5a13-4050-ac78-bf7b83297359\"\n : \"5064edd8-8394-4766-bedf-91feb0ca2c33\";\n\n window.hbspt.forms.create({\n region: \"na1\",\n portalId: \"6041126\",\n formId: formId,\n target: \"#hbspt-form-referfriend\",\n onFormReady: () => populateFormFields(),\n onFormSubmitted: () => onSave(),\n });\n\n // Added styles after the script has loaded\n styleElement.textContent = `\n .hs-form input[type=\"text\"],\n .hs-form input[type=\"email\"],\n .hs-form textarea {\n width: 100% !important; \n height: 36px;\n padding: 8px 12px 8px 12px;\n background-color: #f5f5f5; \n margin-bottom: 15px;\n border: 1px solid #ccc; \n border-radius: 4px;\n }\n .hs-form input[type=\"checkbox\"]{\n margin-right: 10px;\n margin-left: -40px;\n }\n .form-columns-1,\n .form-columns-2 {\n max-width: 100% !important; \n }\n .hs-form input[type=\"submit\"] {\n background-color: #59C4C4;\n color: #FFFFFF;\n padding: 8px 20px;\n border: none;\n border-radius: 1000px;\n cursor: pointer;\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n margin-top: 23px;\n }\n .hs-form .actions {\n display: flex;\n justify-content: end;\n background: white;\n }\n .hs-form .hs-submit {\n position: sticky;\n bottom: 0;\n }\n .hs-form input[type=\"submit\"]:hover {\n background-color: #4CA7A7; \n }\n .hs-form input[type=\"submit\"]:active {\n background-color: #336E7B; \n }\n .hs-form ul{\n list-style-type: none;\n }\n .hs-error-msgs {\n height: 2px;\n margin-left: -40px;\n margin-top: -14px;\n margin-bottom: 25px;\n }\n .error {\n border: 1px solid red !important; \n }\n .hs_error_rollup {\n display: none;\n }\n `;\n document.head.appendChild(styleElement);\n };\n const populateFormFields = () => {\n // pre-fill the form with the first name, last name, and email plus uuid\n $('input[name=\"firstname\"]').val(currentUser.firstName).change();\n $('input[name=\"lastname\"]').val(currentUser.lastName).change();\n $('input[name=\"email\"]').val(currentUser.email).change();\n $('input[name=\"brivity___user_uuid\"]').val(currentUser.uuid).change();\n };\n\n if (!window.hbspt) {\n const script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n script.src = \"//js.hsforms.net/forms/embed/v2.js\";\n script.defer = true;\n script.async = true;\n script.onload = createForm;\n } else {\n createForm();\n }\n return () => {\n document.head.removeChild(styleElement);\n };\n }, [isModalOpen]);\n\n return (\n <Modal\n show={isModalOpen}\n onHide={onHideHandlr}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[616px] tw-max-h-[93vh] tw-w-full tw-flex tw-flex-col\"\n closeButton\n >\n <Modal.Header title=\"Refer a friend and get a $250 credit\" closeButton />\n <Modal.Body className=\"tw-overflow-y-auto tw-overflow-x-hidden tw-flow-root\">\n <div className=\"tw-py-[35px]\">\n <img src=\"/assets/refer-friend.png\" alt=\"Refer Friend\" />\n <div>\n <div className=\"tw-py-[16px] tw-text-18px tw-leading-24px tw-font-bold tw-text-gray-75 \">\n The More You Refer, The More You Save!\n </div>\n <div className=\"tw-text-14px tw-leading-20px tw-font-normal tw-text-gray-75 \">\n Know a real estate rockstar that’s looking to level up their business? Take a minute to fill out\n the form and we’ll reach out to your referral directly.{\" \"}\n {theme.name === \"brivity-theme\" ? (\n <span>\n Once they sign up for Brivity and have been a customer for 90 days, we'll send you a{\" \"}\n <b>$250</b> credit that can be applied to your Brivity Platform monthly bill, Facebook ads,\n Mailer campaigns, or future Brivity add-ons.\n </span>\n ) : (\n <span>\n Once they sign up for Brivity Platform, Brivity VA, or Forward Coaching and have been a\n customer for 90 days, we’ll apply a <b>$250</b> credit to the corresponding company.\n <div className=\"tw-mt-6\">\n When your referral signs up for:\n <ul>\n <li>\n Brivity Platform: you’ll receive a credit to be used on Facebook ads, Mailer\n campaigns, or future Brivity add ons.\n </li>\n <li>\n Brivity VA: you’ll receive a credit to be used towards your Brivity VA bill if you\n currently employ a Brivity Virtual Assistant.\n </li>\n <li>\n Forward Coaching: you’ll receive your credit to be used toward a course or current\n coaching clients can use towards your monthly coaching fee.\n </li>\n </ul>\n <i>NOTE: Credits will only be applied when referring a non PLACE partner</i>\n </div>\n </span>\n )}\n </div>\n </div>\n </div>\n <div id=\"hbspt-form-referfriend\" />\n </Modal.Body>\n </Modal>\n );\n};\nReferFriendModal.propTypes = {\n isModalOpen: bool,\n onHideHandlr: func,\n onSave: func,\n};\n\nReferFriendModal.defaultProps = {\n isModalOpen: false,\n onHideHandlr: () => {},\n onSave: () => {},\n};\nexport default ReferFriendModal;\n","import React, { useState } from \"react\";\nimport DismissibleAlert from \"@shared/DismissibleAlert\";\nimport Check from \"@shared/v2/Icomoon/Icons/Check\";\n\nimport ReferFriendBtn from \"./ReferFriendBtn\";\nimport ReferFriendModal from \"./ReferFriendModal\";\n\nconst ReferFriend = ({}) => {\n const [isModalOpen, setModalOpen] = useState(false);\n const [isReferred, setReferred] = useState(false);\n const alertMessage = (\n <p className=\"tw-w-[254px]\">\n <Check size=\"xl\" className=\"tw-mb-[-4px]\" />{\" \"}\n <span className=\"tw-pl-[9px]\">Referral submitted successfully.</span>\n </p>\n );\n const onHideHandlr = () => {\n setModalOpen(false);\n };\n const onReferred = () => {\n setReferred(true);\n setModalOpen(false);\n };\n const showModal = () => {\n setModalOpen(true);\n };\n const handleDismissAlert = () => {\n setReferred(false);\n };\n\n return (\n <div>\n <ReferFriendBtn openModal={showModal} />\n <ReferFriendModal isModalOpen={isModalOpen} onHideHandlr={onHideHandlr} onSave={onReferred} />\n <div className=\"tw-fixed tw-right-[42%] tw-left-[37%]\">\n <DismissibleAlert\n variant=\"success\"\n content={alertMessage}\n displayAlert={isReferred}\n handleDismissAlert={handleDismissAlert}\n />\n </div>\n </div>\n );\n};\n\nexport default ReferFriend;\n","/* global ActionCable */\nimport { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport CALL_STATES from \"../utils/states\";\nimport { useDialerServiceUrl } from \"../../reducers/layoutReducer/selectors\";\n\nconst useDialer = ({\n actions: {\n checkValidLeads,\n createDialerSession,\n endCall,\n getPersonAndNumbers,\n logCall,\n startRecording,\n stopRecording,\n // non-async\n actionCableUpdateReceived,\n setCallState,\n setPhoneNumber,\n clearSession,\n setCallOutcome,\n setComment,\n setCallParams,\n },\n selectors: {\n callOutcome,\n callState,\n conference,\n leadUuids,\n loading,\n person,\n phoneNumbers,\n phoneNumber,\n session,\n validLeads,\n },\n}) => {\n const dispatch = useDispatch();\n const dialerServiceUrl = useDialerServiceUrl();\n\n const [disconnect, setDisconnect] = useState(false);\n const disconnectDialer = () => setDisconnect(true);\n\n useEffect(() => {\n if (!session) return () => {};\n\n const consumer = ActionCable.createConsumer(`${dialerServiceUrl}/cable?token=${session.token}`);\n consumer.subscriptions.create(\n { channel: \"ConferenceChannel\", conference_uuid: session.conferenceUuid },\n {\n received(data) {\n dispatch(actionCableUpdateReceived(data));\n },\n connected() {\n this.perform(\"follow\");\n },\n },\n );\n\n const cleanUp = () => {\n dispatch(clearSession());\n consumer.disconnect();\n setDisconnect(false);\n };\n\n if (disconnect) {\n cleanUp();\n }\n\n return () => cleanUp();\n }, [session, disconnect]);\n\n useEffect(() => {\n if (callState === CALL_STATES.Init) {\n dispatch(setCallOutcome(null));\n dispatch(setComment(\"\"));\n }\n if (callState === CALL_STATES.Started && !session) {\n dispatch(createDialerSession());\n }\n if (session) {\n if (callState === CALL_STATES.Ended) dispatch(endCall());\n }\n }, [callState, session]);\n\n useEffect(() => {\n if (!Array.isArray(leadUuids) || !leadUuids.length) return;\n if (leadUuids.length === 1) dispatch(getPersonAndNumbers(leadUuids[0]));\n else dispatch(checkValidLeads(leadUuids));\n }, [leadUuids]);\n\n return {\n data: {\n callOutcome,\n callState,\n conference,\n leadUuids,\n person,\n phoneNumbers,\n phoneNumber,\n validLeads,\n },\n loading,\n disconnectDialer,\n actions: {\n endCall: () => dispatch(setCallState(CALL_STATES.Ended)),\n logCall: (opts) => dispatch(logCall(opts)),\n setCallOutcome: (o) => dispatch(setCallOutcome(o)),\n setCallParams: (l) => dispatch(setCallParams(l)),\n setComment: (n) => dispatch(setComment(n)),\n setPhoneNumber: (n) => dispatch(setPhoneNumber(n)),\n startCall: () => dispatch(setCallState(CALL_STATES.Started)),\n startRecording: () => dispatch(startRecording()),\n stopRecording: () => dispatch(stopRecording()),\n },\n };\n};\n\nexport default useDialer;\n","import PropTypes from \"prop-types\";\n\nimport CALL_STATES from \"../utils/states\";\n\nexport const dialerProps = {\n callState: { callState: PropTypes.oneOf(Object.values(CALL_STATES)) },\n isRecording: { isRecording: PropTypes.bool },\n conference: { conference: PropTypes.shape({}) },\n startRecording: { startRecording: PropTypes.func },\n stopRecording: { stopRecording: PropTypes.func },\n setDuration: { setDuration: PropTypes.func },\n loading: { loading: PropTypes.bool },\n person: { person: PropTypes.shape({}) },\n phoneNumbers: { phoneNumbers: PropTypes.arrayOf(PropTypes.shape({})) },\n phoneNumber: { phoneNumber: PropTypes.shape({}) },\n callOutcome: { callOutcome: PropTypes.string },\n note: { note: PropTypes.string },\n setPhoneNumber: { setPhoneNumber: PropTypes.func },\n setCallState: { setCallState: PropTypes.func },\n setCallOutcome: { setCallOutcome: PropTypes.func },\n setComment: { setComment: PropTypes.func },\n};\n\nexport const dialerDefaults = {\n callState: { callState: CALL_STATES.Ended },\n isRecording: { isRecording: false },\n conference: { conference: {} },\n startRecording: { startRecording: () => {} },\n stopRecording: { stopRecording: () => {} },\n setDuration: { setDuration: () => {} },\n loading: { loading: false },\n person: { person: {} },\n phoneNumbers: { phoneNumbers: [] },\n phoneNumber: { phoneNumber: {} },\n callOutcome: { callOutcome: null },\n note: { note: \"\" },\n setPhoneNumber: { setPhoneNumber: () => {} },\n setCallState: { setCallState: () => {} },\n setCallOutcome: { setCallOutcome: () => {} },\n setComment: { setComment: () => {} },\n};\n","/* eslint-disable react/prop-types */\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport CallStatusBar from \"@shared/CallStatusBar\";\nimport CALL_STATES from \"../utils/states\";\nimport { useOutboundCallRecordingSetting } from \"../../reducers/layoutReducer/selectors\";\nimport { dialerProps, dialerDefaults } from \"../shared\";\n\nexport const getTimeString = (time) => {\n const hours = `${Math.floor(time / 3600)}`;\n const minutes = `${Math.floor((time % 3600) / 60)}`;\n const seconds = `${Math.floor((time % 3600) % 60)}`;\n\n return `${hours}:${minutes.length === 1 ? \"0\" : \"\"}${minutes}:${seconds.length === 1 ? \"0\" : \"\"}${seconds}`;\n};\n\nconst CallBar = ({ callState, isRecording, conference, startRecording, stopRecording, setDuration }) => {\n const dispatch = useDispatch();\n\n const { outboundRecording } = useOutboundCallRecordingSetting();\n const [time, setTime] = useState(0);\n const clickStartRecording = (recordingConsent) => {\n if (!isRecording) dispatch(startRecording(recordingConsent));\n };\n useEffect(() => {\n if (callState === CALL_STATES.Connected) {\n if (outboundRecording === \"automatic\") {\n clickStartRecording(false);\n }\n\n const interval = setInterval(() => {\n setTime((t) => t + 1);\n }, 1000);\n return () => clearInterval(interval);\n }\n if (callState === CALL_STATES.Ended) {\n dispatch(setDuration(time));\n }\n if (callState === CALL_STATES.Started) {\n dispatch(setDuration(null));\n setTime(0);\n }\n return () => {};\n }, [callState]);\n\n if (callState === CALL_STATES.Init) return null;\n\n const toggleRecording = () => {\n if (isRecording) {\n dispatch(stopRecording());\n } else {\n dispatch(startRecording(false));\n }\n };\n\n return (\n <CallStatusBar\n callStatus={conference?.currentParticipant?.humanizedCallStatus}\n currentCallTime={getTimeString(time)}\n isCompleted={callState === CALL_STATES.Ended}\n recorded={isRecording}\n onToggleChange={toggleRecording}\n agentPhoneNumber={conference?.agentParticipant?.phoneNumber}\n statusClassName=\"!tw-w-full\"\n />\n );\n};\n\nexport default CallBar;\n\nCallBar.propTypes = {\n ...dialerProps.callState,\n ...dialerProps.isRecording,\n ...dialerProps.conference,\n ...dialerProps.startRecording,\n ...dialerProps.stopRecording,\n ...dialerProps.setDuration,\n};\n\nCallBar.defaultProps = {\n ...dialerDefaults.callState,\n ...dialerDefaults.isRecording,\n ...dialerDefaults.conference,\n ...dialerDefaults.startRecording,\n ...dialerDefaults.stopRecording,\n ...dialerDefaults.setDuration,\n};\n","/* eslint-disable react/prop-types */\nimport React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport CALL_STATES from \"../utils/states\";\n\nimport { dialerProps, dialerDefaults } from \"../shared\";\n\nconst SinglePerson = ({ loading, callState, person, phoneNumbers, phoneNumber, setPhoneNumber }) => {\n const dispatch = useDispatch();\n\n if (loading) return <span />;\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <span className=\"tw-text-18d tw-font-bold tw-leading-[18px]\">{person?.fullName || \"No Name\"}</span>\n <Dropdown\n className=\"tw-min-w-[240px]\"\n options={phoneNumbers}\n value={phoneNumber}\n isDisabled={callState !== CALL_STATES.Init}\n onChange={(p) => dispatch(setPhoneNumber(p))}\n />\n </div>\n );\n};\n\nexport default SinglePerson;\n\nSinglePerson.propTypes = {\n ...dialerProps.loading,\n ...dialerProps.callState,\n ...dialerProps.person,\n ...dialerProps.phoneNumbers,\n ...dialerProps.phoneNumber,\n ...dialerProps.setPhoneNumber,\n};\n\nSinglePerson.defaultProps = {\n ...dialerDefaults.loading,\n ...dialerDefaults.callState,\n ...dialerDefaults.person,\n ...dialerDefaults.phoneNumbers,\n ...dialerDefaults.phoneNumber,\n ...dialerDefaults.setPhoneNumber,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ToggleOffSolidV6, ToggleOnSolidV6, VolumeSlashSolidV6, VolumeSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst CallRecordingMessaging = ({ additionalText, className, willRecord, willNotify }) => {\n const RecordingIcon = willRecord ? ToggleOnSolidV6 : ToggleOffSolidV6;\n const NotificationIcon = willNotify ? VolumeSolidV6 : VolumeSlashSolidV6;\n return (\n <div className={`tw-flex tw-flex-col tw-gap-[8px] tw-text-left ${className}`}>\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <RecordingIcon />{\" \"}\n {willRecord ? (\n <span>Recording will start automatically at the beginning of the call</span>\n ) : (\n <span>Recording will not start until you press record for each call</span>\n )}\n </div>\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <NotificationIcon />{\" \"}\n {willNotify ? (\n <span>A notification message will play when the recording starts</span>\n ) : (\n <span>No notification message will play when the recording starts</span>\n )}\n </div>\n {additionalText && <span>{additionalText}</span>}\n </div>\n );\n};\n\nCallRecordingMessaging.propTypes = {\n additionalText: PropTypes.string,\n className: PropTypes.string,\n willRecord: PropTypes.bool,\n willNotify: PropTypes.bool,\n};\n\nCallRecordingMessaging.defaultProps = {\n additionalText: \"\",\n className: \"\",\n willRecord: false,\n willNotify: false,\n};\n\nexport default CallRecordingMessaging;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport CallRecordingMessaging from \"./CallRecordingMessaging\";\nimport { useIsAdmin } from \"../../reducers/layoutReducer/selectors\";\n\nconst CallRecordingTooltip = ({ disabled, willRecord, willNotify }) => {\n if (disabled) return null;\n\n const isAdmin = useIsAdmin();\n\n return (\n <Tooltip\n trigger={\n <div className=\"tw-flex tw-gap-[4px] tw-items-center\">\n <span className=\"tw-text-12d\">Rec</span>\n <CircleInfoSolidV6 />\n </div>\n }\n tooltipClassName=\"tw-z-[9999]\"\n content={\n <CallRecordingMessaging\n willRecord={willRecord}\n willNotify={willNotify}\n additionalText={\n isAdmin\n ? \"Update the Call Recording settings on your Phone Settings page.\"\n : \"Contact an admin to update your Call Recording settings.\"\n }\n />\n }\n />\n );\n};\n\nCallRecordingTooltip.propTypes = {\n disabled: PropTypes.bool,\n willRecord: PropTypes.bool,\n willNotify: PropTypes.bool,\n};\n\nCallRecordingTooltip.defaultProps = {\n disabled: true,\n willRecord: false,\n willNotify: false,\n};\n\nexport default CallRecordingTooltip;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { PhoneHangupSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport CALL_STATES from \"../utils/states\";\nimport CallRecordingTooltip from \"./CallRecordingTooltip\";\nimport { useOutboundCallRecordingSetting } from \"../../reducers/layoutReducer/selectors\";\nimport { dialerProps, dialerDefaults } from \"../shared\";\n\nconst CallButton = ({ callState, phoneNumber, setCallState }) => {\n const dispatch = useDispatch();\n const { outboundNotificationMessage, outboundRecording } = useOutboundCallRecordingSetting();\n\n const initialState = callState === CALL_STATES.Init;\n\n return (\n <div className=\"tw-flex tw-flex-col tw-items-end tw-gap-[4px]\">\n <CallRecordingTooltip\n disabled={outboundRecording === \"disabled\"}\n willNotify={outboundNotificationMessage}\n willRecord={outboundRecording === \"automatic\"}\n />\n <Button\n disabled={\n initialState ? !phoneNumber || phoneNumber?.meta.callUnsubscribed : callState === CALL_STATES.Ended\n }\n onClick={() => dispatch(setCallState(initialState ? CALL_STATES.Started : CALL_STATES.Ended))}\n size=\"medium\"\n schema={initialState ? \"solid-green\" : \"solid-red\"}\n >\n <PhoneHangupSolidV6 size=\"m\" className=\"tw-mr-4px\" />\n <span>{initialState ? \"\" : \"END\"} CALL</span>\n </Button>\n </div>\n );\n};\n\nexport default CallButton;\n\nCallButton.propTypes = {\n ...dialerProps.callState,\n ...dialerProps.phoneNumber,\n ...dialerProps.setCallState,\n};\n\nCallButton.defaultProps = {\n ...dialerDefaults.callStateDefault,\n ...dialerDefaults.phoneNumberDefault,\n ...dialerDefaults.setCallStateDefault,\n};\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport { dialerProps, dialerDefaults } from \"../shared\";\n\nconst CALL_OUTCOME_OPTIONS = [\n { label: \"Talked\", value: \"talked_to_lead\" },\n { label: \"Left Message\", value: \"left_message\" },\n { label: \"Busy\", value: \"busy\" },\n { label: \"Failed\", value: \"failed\" },\n { label: \"No Answer\", value: \"no_answer\" },\n { label: \"Wrong Number\", value: \"wrong_number\" },\n];\n\nconst CallOutcome = ({ callOutcome, setCallOutcome }) => {\n const dispatch = useDispatch();\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <FieldLabel label=\"Call Outcome\" isRequired />\n <div className=\"tw-flex tw-flex-wrap tw-gap-[6px]\">\n {CALL_OUTCOME_OPTIONS.map((option) => (\n <FilterPill\n key={option.value}\n selected={option.value === callOutcome}\n onClick={() => dispatch(setCallOutcome(option.value === callOutcome ? null : option.value))}\n size=\"medium\"\n variant=\"primary\"\n >\n {option.label}\n </FilterPill>\n ))}\n </div>\n </div>\n );\n};\n\nexport default CallOutcome;\n\nCallOutcome.propTypes = {\n ...dialerProps.callOutcome,\n ...dialerProps.setCallOutcome,\n};\n\nCallOutcome.defaultProps = {\n ...dialerDefaults.callOutcome,\n ...dialerDefaults.setCallOutcome,\n};\n","import React from \"react\";\n\nconst DncHelperText = () => (\n <p className=\"tw-m-0 tw-text-12d tw-text-neutral-gray-50 tw-space-x-1\">\n <span className=\"tw-italic\">The number you are contacting might be on the Do Not Call registry.</span>\n <a\n className=\"tw-font-semibold tw-text-neutral-gray-50 visited:tw-text-neutral-gray-50 active:tw-text-neutral-gray-50 hover:tw-text-neutral-gray-50\"\n href=\"https://www.brivityknowledge.com/v1/docs/do-not-call-registry-warning\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n Click here to learn more\n </a>\n </p>\n);\n\nexport default DncHelperText;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport FieldHelper from \"@shared/v2/FieldHelper\";\nimport MentionablePersonTextArea from \"@shared/mentions/MentionablePersonTextArea\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport DncHelperText from \"./DncHelperText\";\nimport { dialerProps, dialerDefaults } from \"../shared\";\n\nconst CallNotes = ({ isDnc, mentionableIdOrUuid, mentionableType, note, setComment }) => {\n const dispatch = useDispatch();\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <div className=\"tw-flex tw-justify-between tw-gap-[8px] tw-items-end\">\n <FieldLabel label=\"Notes\" />\n <AiAssistant\n messageType=\"Generic\"\n textareaId=\"interaction-phone-input\"\n onInsertClick={(text) => dispatch(setComment(text))}\n />\n </div>\n <MentionablePersonTextArea\n id=\"interaction-phone-input\"\n value={note}\n isUuid\n mentionable_id={mentionableIdOrUuid}\n mentionable_type={mentionableType}\n onChange={(text) => dispatch(setComment(text))}\n isExternal={false}\n />\n {isDnc && <FieldHelper helperText={<DncHelperText />} />}\n </div>\n );\n};\n\nCallNotes.propTypes = {\n isDnc: PropTypes.bool,\n mentionableIdOrUuid: PropTypes.string,\n mentionableType: PropTypes.string,\n ...dialerProps.note,\n ...dialerProps.setComment,\n};\n\nCallNotes.defaultProps = {\n isDnc: false,\n mentionableIdOrUuid: \"\",\n mentionableType: \"Person\",\n ...dialerDefaults.note,\n ...dialerDefaults.setComment,\n};\n\nexport default CallNotes;\n","import React from \"react\";\nimport Alert from \"@shared/v2/Alert\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\n\nconst PlatformMessage = () => {\n const currentUser = useCurrentUser();\n const featureFlags = useFeatureFlags();\n\n if (featureFlags.platformAccount && currentUser.managedNumber) return null;\n\n return (\n <Alert\n variant=\"info\"\n text=\"Click to call is a Brivity Platform feature - call (866) 295-3322 or email sales@brivity.com to upgrade today!\"\n />\n );\n};\n\nexport default PlatformMessage;\n","import { useSelector } from \"react-redux\";\nimport { DIALER_NAME } from \"./dialerReducer\";\n\nexport const useCallOutcome = (name = DIALER_NAME) => useSelector((state) => state[name].outcome);\nexport const useCallState = (name = DIALER_NAME) => useSelector((state) => state[name].callState);\nexport const useIsRecording = (name = DIALER_NAME) => useSelector((state) => state[name].isRecording);\nexport const useIsRecordingConsentRequired = (name = DIALER_NAME) =>\n useSelector((state) => state[name].isRecordingConsentRequired);\nexport const useConference = (name = DIALER_NAME) => useSelector((state) => state[name].conference);\nexport const useError = (name = DIALER_NAME) => useSelector((state) => state[name].error);\nexport const useLeadUuids = (name = DIALER_NAME) => useSelector((state) => state[name].leadUuids);\nexport const useLoading = (name = DIALER_NAME) => useSelector((state) => state[name].loading);\nexport const useComment = (name = DIALER_NAME) => useSelector((state) => state[name].comment);\nexport const usePerson = (name = DIALER_NAME) => useSelector((state) => state[name].person);\nexport const usePhoneNumber = (name = DIALER_NAME) => useSelector((state) => state[name].phoneNumber);\nexport const usePhoneNumbers = (name = DIALER_NAME) => useSelector((state) => state[name].phoneNumbers);\nexport const useSession = (name = DIALER_NAME) => useSelector((state) => state[name].session);\nexport const useValidLeads = (name = DIALER_NAME) => useSelector((state) => state[name].validLeads);\n","import React from \"react\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport useDialer from \"./hooks/useDialer\";\nimport Loading from \"../Goals/components/Loader\";\nimport CallBar from \"./components/CallBar\";\nimport SinglePerson from \"./components/SinglePerson\";\nimport CallButton from \"./components/CallButton\";\nimport CallOutcome from \"./components/CallOutcome\";\nimport CallNotes from \"./components/CallNotes\";\nimport CALL_STATES from \"./utils/states\";\nimport PlatformMessage from \"./components/PlatformMessage\";\n\nimport {\n DIALER_NAME,\n checkValidLeads,\n createDialerSession,\n endCall,\n getPersonAndNumbers,\n logCall,\n startRecording,\n stopRecording,\n // non-async/actions\n actionCableUpdateReceived,\n setCallState,\n setPhoneNumber,\n clearSession,\n setCallOutcome,\n setComment,\n setCallParams,\n setDuration,\n} from \"../reducers/dialerReducer/dialerReducer\";\n\nimport {\n useCallOutcome,\n useCallState,\n useConference,\n useError,\n useLeadUuids,\n useLoading,\n usePerson,\n usePhoneNumber,\n usePhoneNumbers,\n useSession,\n useValidLeads,\n useIsRecording,\n useComment,\n} from \"../reducers/dialerReducer/selectors\";\n\nconst CLOSABLE_STATES = [CALL_STATES.Ended, CALL_STATES.Init];\n\n/* DO NOT USE THIS MODAL IN OTHER PAGES/COMPONENTS\n This modal is mounted in Header (global)\n*/\nconst SingleDialerModal = () => {\n const leadUuids = useLeadUuids();\n\n const callOutcome = useCallOutcome();\n const callState = useCallState();\n const isRecording = useIsRecording();\n const conference = useConference();\n const error = useError();\n const loading = useLoading();\n const person = usePerson();\n const note = useComment();\n const phoneNumber = usePhoneNumber();\n const phoneNumbers = usePhoneNumbers();\n const session = useSession();\n const validLeads = useValidLeads();\n\n const strtRec = startRecording(DIALER_NAME);\n const stpRec = stopRecording(DIALER_NAME);\n\n const { actions, disconnectDialer } = useDialer({\n actions: {\n checkValidLeads: checkValidLeads(DIALER_NAME),\n createDialerSession: createDialerSession(DIALER_NAME),\n endCall: endCall(DIALER_NAME),\n getPersonAndNumbers: getPersonAndNumbers(DIALER_NAME),\n logCall: logCall(DIALER_NAME),\n startRecording: strtRec,\n stopRecording: stpRec,\n actionCableUpdateReceived,\n setCallState,\n setPhoneNumber,\n clearSession,\n setCallOutcome,\n setComment,\n setCallParams,\n },\n selectors: {\n callOutcome,\n callState,\n conference,\n leadUuids,\n loading,\n person,\n phoneNumber,\n phoneNumbers,\n session,\n validLeads,\n },\n });\n\n const onClose = CLOSABLE_STATES.includes(callState)\n ? () => {\n disconnectDialer();\n actions.setCallParams();\n }\n : null;\n\n return (\n <Modal\n // Fighting with the Flyout z-index\n containerClassName=\"!tw-z-[3001]\"\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-max-w-[700px] tw-w-[100vw] tw-flex tw-flex-col tw-gap-[32px]\"\n onHide={onClose}\n show={leadUuids?.length === 1}\n >\n <Modal.Header title=\"Call\" closeButton={Boolean(onClose)} />\n <Modal.Body className=\"tw-flex tw-flex-col tw-gap-[32px]\">\n <CallBar\n callState={callState}\n isRecording={isRecording}\n conference={conference}\n startRecording={strtRec}\n stopRecording={stpRec}\n setDuration={setDuration}\n />\n\n <PlatformMessage />\n\n <div className=\"tw-flex tw-justify-between tw-items-end\">\n <SinglePerson\n loading={loading}\n callState={callState}\n person={person}\n phoneNumbers={phoneNumbers}\n phoneNumber={phoneNumber}\n setPhoneNumber={setPhoneNumber}\n />\n <CallButton callState={callState} phoneNumber={phoneNumber} setCallState={setCallState} />\n </div>\n\n <CallOutcome callOutcome={callOutcome} setCallOutcome={setCallOutcome} />\n\n <CallNotes\n isDnc={phoneNumber?.meta.isDnc}\n mentionableIdOrUuid={person?.uuid}\n mentionableType=\"Person\"\n note={note}\n setComment={setComment}\n />\n\n {error && <Alert variant=\"error\" text={error} />}\n </Modal.Body>\n\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={onClose} disabled={!onClose}>\n Close\n </Button>\n <Button\n size=\"medium\"\n onClick={() => actions.logCall().then(() => actions.setCallParams())}\n disabled={!callOutcome}\n >\n Save & Close\n </Button>\n </Modal.Footer>\n\n {loading && <Loading />}\n </Modal>\n );\n};\n\nexport default SingleDialerModal;\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport AiAskPlace from \"@shared/AiAssistant/AiAskPlace\";\nimport Snackbar from \"@shared/v2/Snackbar\";\nimport Help from \"./HelpDropdown\";\nimport FeatureToggle from \"./FeatureToggle\";\nimport GlobalStatus from \"../GlobalStatus\";\nimport SuperUser from \"../SuperUser\";\nimport MetaUser from \"../MetaUser\";\nimport UserDropdown from \"./UserDropdown\";\nimport Logo from \"./Logo\";\nimport MobileHamburger from \"./MobileHamburger\";\nimport Resources from \"./Resources\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport QuickSearch from \"../../QuickSearch/components/QuickSearch\";\nimport ActivitiesFeed from \"./ActivitiesFeed\";\nimport { useSnackbar } from \"../../reducers/snackbarReducer\";\nimport ReferAFriend from \"./ReferAFriend\";\nimport ReferFriend from \"./ReferFriend\";\nimport SingleDialerModal from \"../../Dialer/SingleDialerModal\";\n\nconst Header = () => {\n const currentUser = useCurrentUser();\n const featureFlags = useFeatureFlags();\n const asSuper = useSelector(({ layout }) => layout.asSuper);\n const snackbar = useSnackbar();\n\n return (\n <>\n <SuperUser />\n <MetaUser />\n <SingleDialerModal />\n <GlobalStatus />\n {!asSuper && (\n <>\n <Snackbar\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...snackbar}\n />\n <header className=\"tw-sticky tw-top-0 tw-z-1000 tw-text-neutral-gray-50 tw-px-[20px] tw-pt-[8px] tw-flex tw-gap-[16px] tw-justify-between tw-items-center\">\n <div className=\"tw-flex tw-gap-[16px] tw-items-center\">\n <MobileHamburger />\n <Logo />\n </div>\n\n <div className=\"bs-xs:tw-hidden tw-min-w-[200px] tw-max-w-[600px] tw-flex-1 tw-flex tw-items-center\">\n {currentUser?.account.uuid && featureFlags.askPlace && (\n <div className=\"tw-mr-[8px] tw-my-[-2px]\">\n <AiAskPlace />\n </div>\n )}\n\n {currentUser?.account.uuid && featureFlags.quicksearch && (\n <div className=\"tw-flex-1\">\n <QuickSearch />\n </div>\n )}\n </div>\n\n <div className=\"tw-flex tw-gap-[12px] tw-items-center\">\n <FeatureToggle />\n {currentUser?.account.uuid && (\n <>\n <div className=\"tw-flex tw-items-center\">\n {featureFlags.referralRock ? <ReferAFriend /> : <ReferFriend />}\n <Resources />\n <Help />\n </div>\n <ActivitiesFeed />\n </>\n )}\n <UserDropdown />\n </div>\n </header>\n </>\n )}\n </>\n );\n};\n\nexport default Header;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport Header from \"./Header\";\n\nconst HeaderApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n <Provider store={store}>\n <Header />\n </Provider>\n );\n};\n\nexport default HeaderApp;\n","import Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Typography from \"@shared/v2/Typography\";\nimport React, { useEffect, useState } from \"react\";\n\nconst ImageSizeErrorModal = () => {\n const [showModal, setShowModal] = useState(false);\n\n const toggleModal = () => setShowModal((s) => !s);\n\n useEffect(() => {\n document.addEventListener(\"account:imageSizeError\", toggleModal);\n return () => {\n document.removeEventListener(\"account:imageSizeError\", toggleModal);\n };\n }, []);\n\n return (\n <Modal\n containerClassName=\"!tw-z-3000\"\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[440px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n show={showModal}\n onHide={toggleModal}\n >\n <Modal.Header title=\"This image is too big!\" closeButton />\n <Modal.Body>\n <Typography variant=\"body-m\">\n Image files must be smaller than 5MB.{\" \"}\n <TextLink\n href=\"https://www.brivityknowledge.com/docs/images-in-email-signature-or-email-templates?highlight=email%20signature\"\n target=\"_blank\"\n >\n Learn more about how to upload images to your email signature.\n </TextLink>\n </Typography>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-end\">\n <Button size=\"medium\" onClick={toggleModal}>\n OK\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nexport default ImageSizeErrorModal;\n","import { schemaGenerator } from \"../utils\";\n\nconst base = [\n \"tw-group\",\n \"tw-inline-flex\",\n \"tw-gap-[4px]\",\n \"tw-rounded-full\",\n \"tw-h-[24px]\",\n \"tw-text-center\",\n \"tw-py-[4px]\",\n \"tw-px-[8px]\",\n \"tw-bg-neutral-gray-10\",\n \"tw-font-bold\",\n \"tw-text-11d\",\n \"tw-text-neutral-gray-75\",\n \"tw-border-0\",\n \"tw-select-none\",\n \"tw-whitespace-nowrap\",\n \"tw-cursor-default\",\n];\n\nconst dictionary = {\n regular: {\n default: [...base, \"tw-pr-[4px]\"],\n active: [\n \"active:tw-bg-neutral-gray-75\",\n \"active:tw-text-[white]\",\n \"active:lg:tw-bg-neutral-gray-10\",\n \"active:lg:tw-text-neutral-gray-75\",\n ],\n },\n nonRemovable: { default: base, hover: [\"hover:tw-cursor-default\"] },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport styleSchema from \"./Tag.styles\";\nimport { XmarkLargeSolidV6 } from \"../Icomoon\";\nimport IconButton from \"../IconButton\";\n\nconst Tag = ({ children, disableMediaQuery, removable, onRemove, className, ...otherProps }) => {\n const classes = `${removable ? styleSchema.regular : styleSchema.nonRemovable} ${className}`;\n\n return (\n <div className={classes} {...otherProps}>\n {children}\n {removable && (\n <IconButton\n onPointerUp={onRemove}\n onKeyUp={(e) => {\n if (e.key === \"Enter\" || e.key === \" \") onRemove?.();\n }}\n size=\"xsmall\"\n schema=\"transparent\"\n >\n <XmarkLargeSolidV6 />\n </IconButton>\n )}\n </div>\n );\n};\n\nTag.propTypes = {\n children: PropTypes.node.isRequired,\n disableMediaQuery: PropTypes.bool,\n removable: PropTypes.bool,\n onRemove: PropTypes.func,\n className: PropTypes.string,\n};\n\nTag.defaultProps = {\n disableMediaQuery: false,\n removable: true,\n onRemove: null,\n className: \"\",\n};\n\nexport default Tag;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Tooltip from \"@shared/v2/Tooltip/Tooltip\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\nimport { CaretDownSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst IconDropdown = ({ icon, tooltip, editable, children }) => {\n const popoverCaret = (\n <span className=\"tw-pl-[4px]\">\n <CaretDownSolidV6 className={editable ? \"\" : \"tw-opacity-60\"} />\n </span>\n );\n\n return (\n <>\n <Tooltip placement=\"top\" content={tooltip} trigger={icon} innerClassName=\"tw-max-w-[250px]\" />\n {!editable && popoverCaret}\n {editable && (\n <Popover placement=\"bottom-start\" offset={0}>\n <PopoverTrigger>{popoverCaret}</PopoverTrigger>\n <PopoverContent>{children}</PopoverContent>\n </Popover>\n )}\n </>\n );\n};\n\nIconDropdown.propTypes = {\n editable: PropTypes.bool,\n children: PropTypes.func,\n tooltip: PropTypes.string,\n icon: PropTypes.func,\n};\n\nIconDropdown.defaultValue = {\n editable: true,\n children: null,\n tooltip: null,\n icon: null,\n};\n\nexport default IconDropdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst statusNameColor = {\n valid: \"tw-text-neutral-gray-75\",\n voiceOnly: \"tw-text-semantic-yellow-120\",\n invalid: \"tw-text-semantic-yellow-120\",\n unsubscribed: \"tw-text-brivity-coral-110\",\n};\n\nconst statusTooltips = {\n valid: \"Can Be Called\",\n voiceOnly: \"Voice Only\",\n invalid: \"Invalid\",\n unsubscribed: \"Opted Out\",\n};\n\nconst StatusOption = ({ status, icon, statusColors, statusTexts }) => {\n const color = (statusColors || statusNameColor)[status];\n const tooltip = (statusTexts || statusTooltips)[status];\n\n return (\n <div className=\"tw-cursor-pointer tw-flex tw-items-center tw-space-x-[12px]\">\n {icon}\n <span className={`tw-text-14d ${color}`}>{typeof status === \"string\" ? tooltip : \"Unknown\"}</span>\n </div>\n );\n};\n\nStatusOption.propTypes = {\n status: PropTypes.string.isRequired,\n icon: PropTypes.func.isRequired,\n statusColors: PropTypes.object,\n statusTexts: PropTypes.object,\n};\n\nStatusOption.defaultValues = {\n statusColors: null,\n statusTexts: null,\n};\n\nexport default StatusOption;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { viewPhoneFromFlat, viewPhoneShape } from \"@shared/models/Communications/viewPhone\";\nimport Tooltip from \"@shared/v2/Tooltip/Tooltip\";\nimport DncFlag from \"@shared/Sms/DncFlag\";\nimport IconDropdown from \"./Interactions/IconDropdown\";\nimport StatusOption from \"./Interactions/PhoneStatusOption\";\nimport { useSelector } from \"react-redux\";\nimport { createSelector } from \"@reduxjs/toolkit\";\nimport { PopoverItem } from \"@shared/v2/Popover\";\n\nconst callablePhone = viewPhoneFromFlat({});\nconst callUnsubscribedPhone = viewPhoneFromFlat({ call_soft_unsubscribed: true });\n\nconst smsTextablePhone = viewPhoneFromFlat({ sms_textable: true, value: \"123\" });\nconst smsNotTextablePhone = viewPhoneFromFlat({ sms_textable: false });\nconst smsUnsubscribedPhone = viewPhoneFromFlat({ sms_soft_unsubscribed: true });\nconst smsStatusLabels = {\n valid: \"Can Be Texted\",\n voiceOnly: \"Cannot Be Texted\",\n invalid: \"Invalid\",\n unsubscribed: \"Opted Out\",\n};\n\nconst selectPhoneStatusFromContacts = (storeState) =>\n !!storeState.contactsReducer?.featureFlags?.phone_status;\nconst selectPhoneStatusFromLayout = (state) => !!state.layout?.featureFlags?.phoneStatus;\nconst phoneStatusEnabled = createSelector(\n [selectPhoneStatusFromContacts, selectPhoneStatusFromLayout],\n (contactStatus, layoutStatus) => contactStatus || layoutStatus,\n);\n\nconst PhoneValue = ({ phone, hideCallStatus, isDnc, showPrimaryStatus, onChange }) => {\n const { formattedNumber, callIcon, smsIcon, mobileCallIcon, isMobile, isPrimary } = phone;\n const usedIcon = isMobile ? mobileCallIcon : callIcon;\n const editablePhoneStatus = useSelector(phoneStatusEnabled);\n\n const callIconKey = phone.isMobile ? \"mobileCallIcon\" : \"callIcon\";\n const callOptions = [\n {\n status: \"valid\",\n icon: callablePhone[callIconKey].icon({ size: \"l\" }),\n onClick: () => onChange(\"valid\", \"call\"),\n },\n {\n status: \"unsubscribed\",\n icon: callUnsubscribedPhone[callIconKey].icon({ size: \"l\" }),\n onClick: () => onChange(\"unsubscribed\", \"call\"),\n },\n ].map(({ onClick, ...x }) => (\n <PopoverItem onClick={onClick}>\n <StatusOption {...x} />\n </PopoverItem>\n ));\n\n const smsOptions = [\n {\n status: \"valid\",\n icon: smsTextablePhone.smsIcon.icon({ size: \"xl\" }),\n onClick: () => onChange(\"valid\", \"sms\"),\n },\n {\n status: \"voiceOnly\",\n icon: smsNotTextablePhone.smsIcon.icon({ size: \"xl\" }),\n onClick: () => onChange(\"voiceOnly\", \"sms\"),\n },\n {\n status: \"unsubscribed\",\n icon: smsUnsubscribedPhone.smsIcon.icon({ size: \"xl\" }),\n onClick: () => onChange(\"unsubscribed\", \"sms\"),\n },\n ].map(({ onClick, ...x }) => (\n <PopoverItem onClick={onClick}>\n <StatusOption {...x} statusTexts={smsStatusLabels} />\n </PopoverItem>\n ));\n\n const currentCallIcon = usedIcon.icon({ size: \"xl\" });\n const currentSmsIcon = smsIcon.icon({ size: \"xl\" });\n\n return (\n <div className=\"tw-w-full\">\n <div className=\"tw-flex tw-flex-row tw-items-center tw-space-x-12px tw-w-full tw-relative\">\n {editablePhoneStatus && (\n <>\n {!hideCallStatus && (\n <div className=\"tw-flex tw-flex-row tw-items-center\">\n <IconDropdown icon={currentCallIcon} tooltip={usedIcon.tooltip} editable={phone.callEditable}>\n {callOptions}\n </IconDropdown>\n </div>\n )}\n <div className=\"tw-flex tw-flex-row tw-items-center\">\n <IconDropdown icon={currentSmsIcon} tooltip={smsIcon.tooltip} editable={phone.smsEditable}>\n {smsOptions}\n </IconDropdown>\n </div>\n </>\n )}\n {!editablePhoneStatus && (\n <>\n {!hideCallStatus && (\n <Tooltip\n className=\"tw-flex tw-items-center\"\n innerClassName=\"tw-max-w-[200px]\"\n content={usedIcon.tooltip}\n trigger={currentCallIcon}\n />\n )}\n <Tooltip\n className=\"tw-flex tw-items-center\"\n innerClassName=\"tw-max-w-[200px]\"\n content={smsIcon.tooltip}\n trigger={currentSmsIcon}\n />\n </>\n )}\n <span>\n {formattedNumber} {showPrimaryStatus && isPrimary && \"(*)\"}\n </span>\n <DncFlag show={isDnc} />\n </div>\n </div>\n );\n};\n\nPhoneValue.propTypes = {\n hideCallStatus: PropTypes.bool,\n isDnc: PropTypes.bool,\n phone: PropTypes.shape(viewPhoneShape),\n showPrimaryStatus: PropTypes.bool,\n};\n\nPhoneValue.defaultProps = {\n hideCallStatus: false,\n isDnc: false,\n phone: {},\n showPrimaryStatus: false,\n};\n\nexport default PhoneValue;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Button from \"@shared/v2/Button\";\nimport { PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tag from \"@shared/v2/Tag\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport PhoneValue from \"../../PersonDetail/components/PhoneValue\";\n\nconst PlaceholderControl = ({ children, componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.Control {...componentProps}>\n <Button schema=\"secondary\" disabled={componentProps.isDisabled}>\n <span className=\"tw-flex tw-w-full tw-gap-[4px] tw-items-center\">\n <PlusSolidV6 size=\"s\" /> {children}\n </span>\n </Button>\n </Dropdown.Control>\n);\n\nPlaceholderControl.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nconst RecipientSearchOption = ({ componentProps }) => {\n const { label, meta } = componentProps.data;\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.Option {...componentProps}>\n <div\n className={`tw-flex tw-gap-[8px] tw-text-neutral-gray-75 tw-whitespace-nowrap tw-px-[12px] tw-py-[6px] hover:tw-bg-gray-5 ${\n componentProps.isDisabled ? \"tw-opacity-50\" : \"\"\n }`}\n >\n <Avatar src={meta.avatar} alt={label} /> <span>{label}</span>{\" \"}\n <span className=\"tw-overflow-hidden tw-text-ellipsis\">{meta.emailAddress}</span>{\" \"}\n {meta.phoneNumber && <span>{meta.phoneNumber}</span>}\n </div>\n </Dropdown.Option>\n );\n};\n\nRecipientSearchOption.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nconst RecipientNumberControl = ({ children, componentProps }) => {\n const { smsStatus, smsUnsubscribed, smsIcon } = componentProps.selectProps.selectedNumber?.meta || {};\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.Control {...componentProps} preserveStyle={false}>\n <Tooltip\n placement=\"top\"\n innerClassName=\"tw-max-w-[250px]\"\n trigger={\n <Tag\n disableMediaQuery\n removable\n onRemove={componentProps.selectProps.onRemove}\n className={\n smsUnsubscribed\n ? \"tw-bg-semantic-red-5 tw-text-semantic-red-120\"\n : `${smsStatus === \"invalid\" ? \"tw-bg-semantic-yellow-5 tw-text-semantic-yellow-120\" : \"\"}`\n }\n >\n {smsIcon && (smsStatus !== \"valid\" || smsUnsubscribed) && (\n <span className=\"tw-mr-[4px]\">\n <smsIcon.icon />\n </span>\n )}\n {children}\n </Tag>\n }\n content={smsStatus === \"valid\" ? \"\" : smsIcon?.tooltip}\n />\n </Dropdown.Control>\n );\n};\n\nRecipientNumberControl.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nconst RecipientNumberOption = ({ componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n <Dropdown.Option {...componentProps}>\n <div\n className={`tw-px-[12px] tw-py-[6px] hover:tw-bg-gray-5 ${\n componentProps.isDisabled ? \"tw-opacity-50\" : \"\"\n }`}\n >\n <PhoneValue\n hideCallStatus\n showPrimaryStatus\n phone={componentProps.data.meta}\n isDnc={componentProps.data.meta.isDnc}\n />\n </div>\n </Dropdown.Option>\n);\n\nRecipientNumberOption.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.any.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nexport { PlaceholderControl, RecipientSearchOption, RecipientNumberControl, RecipientNumberOption };\n","import { useSelector } from \"react-redux\";\n\nconst useAccountSenderPlaceholders = () => useSelector((state) => state.messaging.accountSenderPlaceholders);\nconst useAllFilterAgents = () => useSelector((state) => state.messaging.allFilterAgents);\nconst useConversations = () => useSelector((state) => state.messaging.conversations);\nconst useConversationsPage = () => useSelector((state) => state.messaging.conversationsPage);\nconst useConversationsPerPage = () => useSelector((state) => state.messaging.conversationsPerPage);\nconst useCurrentTab = () => useSelector((state) => state.messaging.currentTab);\nconst useDraftTextMessages = () => useSelector((state) => state.messaging.draftTextMessages);\nconst useErrors = () => useSelector((state) => state.messaging.errors);\nconst useFocusedConversation = () => useSelector((state) => state.messaging.focusedConversation);\nconst useHasMore = () => useSelector((state) => state.messaging.hasMore);\nconst useHasMoreMessages = () => useSelector((state) => state.messaging.hasMoreMessages);\nconst useLoadingConversations = () => useSelector((state) => state.messaging.loadingConversations);\nconst useLoadingMessages = () => useSelector((state) => state.messaging.loadingMessages);\nconst useMessagingServiceUrl = () => useSelector((state) => state.messaging.messagingServiceUrl);\nconst useMessagesErrors = () => useSelector((state) => state.messaging.messagesErrors);\nconst useMessagesPage = () => useSelector((state) => state.messaging.messagesPage);\nconst useMessagesPerPage = () => useSelector((state) => state.messaging.messagesPerPage);\nconst useNewSmsMediaError = () => useSelector((state) => state.messaging.newSmsMediaError);\nconst useNewSmsMediaFile = () => useSelector((state) => state.messaging.newSmsMediaFile);\nconst useNewSmsMediaPreview = () => useSelector((state) => state.messaging.newSmsMediaPreview);\nconst useRecipientsHash = () => useSelector((state) => state.messaging.recipients);\nconst useSelectedAgentFilters = () => useSelector((state) => state.messaging.selectedAgentFilters);\nconst useSelectedMessages = () => useSelector((state) => state.messaging.selectedMessages);\nconst useSendingTextMessage = () => useSelector((state) => state.messaging.sendingTextMessage);\nconst useConflictConversation = () => useSelector((state) => state.messaging.conflictConversation);\nconst useIsOptedOut = () => useSelector((state) => state.messaging.isOptedOut);\nconst useHideAi = () => useSelector((state) => state.messaging.hideAi);\nconst useUnreadOnly = () => useSelector((state) => state.messaging.unreadOnly);\nconst useTwilioErrorMessage = () => useSelector((state) => state.messaging.twilioErrorMessage);\nconst useAiFilters = () => useSelector((state) => state.messaging.aiFilters);\n\nexport {\n useAccountSenderPlaceholders,\n useAllFilterAgents,\n useConversations,\n useConversationsPage,\n useConversationsPerPage,\n useCurrentTab,\n useDraftTextMessages,\n useErrors,\n useFocusedConversation,\n useHasMore,\n useHasMoreMessages,\n useLoadingConversations,\n useLoadingMessages,\n useMessagingServiceUrl,\n useMessagesErrors,\n useMessagesPage,\n useMessagesPerPage,\n useNewSmsMediaError,\n useNewSmsMediaFile,\n useNewSmsMediaPreview,\n useRecipientsHash,\n useSelectedAgentFilters,\n useSelectedMessages,\n useSendingTextMessage,\n useConflictConversation,\n useIsOptedOut,\n useHideAi,\n useUnreadOnly,\n useTwilioErrorMessage,\n useAiFilters,\n};\n","import { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { isCancel } from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\nimport { addRecipient } from \"../../reducers/messagingReducer\";\nimport { useRecipientsHash } from \"../../reducers/messagingReducer/selectors\";\n\nconst useRecipientNumbers = ({ recipient }) => {\n const dispatch = useDispatch();\n const recipientsHash = useRecipientsHash();\n const [loading, setLoading] = useState(false);\n const [numbers, setNumbers] = useState(null);\n const [number, setNumber] = useState(recipientsHash[recipient.value]?.number);\n\n useEffect(() => {\n if (!number) return;\n dispatch(addRecipient({ recipient, number }));\n }, [recipient, number]);\n\n useEffect(() => {\n if (number || !numbers) return;\n const selectedNumber = numbers.find(({ meta }) => meta.primary && !meta.smsUnsubscribed) ||\n numbers.find(({ meta }) => !meta.smsUnsubscribed) ||\n numbers[0] || { empty: true };\n setNumber(selectedNumber);\n }, [numbers]);\n\n useEffect(() => {\n const abortController = new AbortController();\n setLoading(true);\n caseTransformingAxios\n .get(`/api/v4/leads/${recipient.value}/phones`, { signal: abortController.signal })\n .then((res) => {\n setLoading(false);\n setNumbers(\n res.data.reduce((acc, meta) => {\n const data = {\n label: formatPhoneNumber(meta.canonicalNumber || meta.phoneNumber),\n value: meta.canonicalNumber || meta.phoneNumber,\n meta: viewPhoneFromFlat({\n ...meta,\n cononicalValue: meta.cononicalNumber,\n value: meta.phoneNumber,\n position: meta.primary ? 1 : undefined,\n }),\n };\n if (data.value) acc.push(data);\n return acc;\n }, []),\n );\n })\n .catch((err) => {\n if (isCancel(err)) return;\n setLoading(false);\n });\n return () => abortController.abort();\n }, []);\n\n return { actions: { setNumber }, data: { numbers, number }, loading };\n};\n\nexport default useRecipientNumbers;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { RecipientNumberControl, RecipientNumberOption } from \"./CustomDropdownComponents\";\nimport useRecipientNumbers from \"../hooks/useRecipientNumbers\";\n\nconst RecipientNumberDropdown = ({ onRemove, recipient }) => {\n const { actions, data, loading } = useRecipientNumbers({ recipient });\n return (\n <Dropdown\n components={{ Control: RecipientNumberControl, Option: RecipientNumberOption }}\n onRemove={onRemove}\n options={data.numbers || []}\n placeholder={`${recipient?.label}: ${data.number?.label || (loading ? \"...\" : \"No Number\")}`}\n isLoading={loading}\n isClearable={false}\n isOptionDisabled={(option) => option.meta?.smsStatus === \"unsubscribed\"}\n selectedNumber={data.number}\n styles={{\n dropdownIndicator: (base) => ({ ...base, padding: 0, color: \"inherit\" }),\n menu: (base) => ({ ...base, minWidth: \"200px\" }),\n placeholder: (base) => ({ ...base, color: \"inherit\" }),\n valueContainer: (base) => ({\n ...base,\n fontSize: \"inherit\",\n padding: 0,\n lineHeight: \"inherit\",\n }),\n }}\n onChange={actions.setNumber}\n />\n );\n};\n\nRecipientNumberDropdown.propTypes = {\n onRemove: PropTypes.func.isRequired,\n recipient: PropTypes.shape().isRequired,\n};\n\nexport default RecipientNumberDropdown;\n","import { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { useDebounce } from \"@shared/hookHelpers\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst useLeadSearch = () => {\n const currentUser = useCurrentUser();\n const [searchTerm, setSearchTerm] = useState(\"\");\n const [loading, setLoading] = useState(false);\n const [data, setData] = useState([]);\n const debouncedSearch = useDebounce(searchTerm.trim(), 500);\n\n useEffect(() => {\n if (!debouncedSearch) return () => {};\n const abortController = new AbortController();\n setLoading(true);\n caseTransformingAxios\n .get(\"/api/v3/leads/search\", {\n params: { search: debouncedSearch },\n signal: abortController.signal,\n })\n .then((res) => {\n setLoading(false);\n setData(\n res.data.people\n .filter((p) => p.uuid !== currentUser.person.uuid)\n .map((person) => {\n const alias = [person.firstName, person.lastName].filter(Boolean).join(\" \") || \"No Name\";\n return {\n label: alias,\n value: person.uuid,\n meta: {\n ...person,\n alias,\n phoneNumber: person.phoneNumber ? formatPhoneNumber(person.phoneNumber) : null,\n },\n };\n }),\n );\n })\n .catch((err) => {\n console.log(err);\n setLoading(false);\n });\n return () => abortController.abort();\n }, [debouncedSearch]);\n\n return { actions: { setSearchTerm: (s) => setSearchTerm((s || \"\").trim()) }, data, loading, searchTerm };\n};\n\nexport default useLeadSearch;\n","const getEmptyConversation = (currentUser) => ({\n eventType: \"text\",\n markedAsRead: true,\n receivedAtEpoch: Math.round(Date.now() / 1000),\n uuid: \"temp\",\n conversationUsers: [\n {\n personUuid: currentUser.person.uuid,\n userUuid: currentUser.uuid,\n isConversationOwner: true,\n alias: `${currentUser.firstName} ${currentUser.lastName}`,\n avatar: currentUser.avatar,\n },\n ],\n});\n\n// eslint-disable-next-line import/prefer-default-export\nexport { getEmptyConversation };\n","import { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport axios from \"axios\";\nimport { getExternalApi } from \"@shared/externalApi\";\nimport { getEmptyConversation } from \"../helpers/defaults\";\nimport {\n focusConversation,\n getMessages,\n setConflictConversation,\n setErrors,\n transformConversation,\n} from \"../../reducers/messagingReducer\";\nimport {\n useFocusedConversation,\n useMessagingServiceUrl,\n useRecipientsHash,\n} from \"../../reducers/messagingReducer/selectors\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst useDraftConversationMessage = () => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const focusedConversation = useFocusedConversation();\n const messagingServiceUrl = useMessagingServiceUrl();\n const messagingApi = getExternalApi(messagingServiceUrl);\n const recipientsHash = useRecipientsHash();\n\n useEffect(() => {\n let messagesAbortController;\n const abortController = new AbortController();\n const recipientsWithNumbers = Object.values(recipientsHash);\n if (focusedConversation.uuid === \"temp\") {\n dispatch(focusConversation(getEmptyConversation(currentUser)));\n if (\n recipientsWithNumbers.length > 0 &&\n recipientsWithNumbers.every((r) => r.number?.value || (r.number?.empty || true) !== true)\n ) {\n const users = recipientsWithNumbers.map((r) => ({\n personUuid: r.recipient.value,\n address: r.number.value,\n isConversationOwner: false,\n }));\n const conversationPromise = messagingApi\n .post(\n \"/Conversation/WithUsers\",\n {\n conversationType: \"groupSms\",\n isChannel: false,\n users,\n },\n {\n signal: abortController.signal,\n },\n )\n .catch((err) => {\n if (err?.response?.status === 409 && err?.response?.data) {\n return {\n data: {\n ...err.response.data,\n isConflict: true,\n },\n };\n }\n throw err;\n })\n .then(({ data }) => transformConversation(data));\n\n conversationPromise\n .then((conversation) => {\n if (!conversation.uuid) return () => {};\n if (conversation?.isConflict) return dispatch(setConflictConversation(conversation));\n const { uuid, ...newFocusedConversation } = conversation;\n const conversationOwnerPersonUuids = conversation.conversationUsers\n ?.filter((u) => u.isConversationOwner)\n .map((u) => u.personUuid);\n dispatch(\n focusConversation({\n ...focusedConversation,\n ...newFocusedConversation,\n conflictUuid: uuid,\n conversationOwnerPersonUuids,\n }),\n );\n messagesAbortController = dispatch(getMessages({ messagesPage: 1, uuid }));\n return messagesAbortController;\n })\n .catch((err) => {\n if (axios.isCancel(err)) return;\n dispatch(\n setErrors({\n messagesErrors: [err?.response?.data || \"Whoops! Something went wrong.\"],\n }),\n );\n });\n }\n }\n return () => {\n abortController.abort();\n messagesAbortController?.abort();\n };\n }, [currentUser, focusedConversation.uuid, recipientsHash]);\n};\n\nexport default useDraftConversationMessage;\n","// Extract to generic helper for use elsewhere\nimport React, { useEffect, useRef, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport moment from \"moment\";\n\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport {\n CommentSlashRegularV6,\n ImageSolidV6,\n TriangleExclamationSolidV6,\n XmarkSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport MmsMediaModal from \"@shared/MmsMediaModal\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport EmptySmsHistory from \"@shared/EmptySmsHistory\";\nimport AiSummary from \"@shared/AiAssistant/AiSummary\";\nimport * as messagingActions from \"../../reducers/messagingReducer\";\nimport { PlaceholderControl, RecipientSearchOption } from \"./CustomDropdownComponents\";\nimport ConversationMessage from \"./ConversationMessage\";\nimport RecipientNumberDropdown from \"./RecipientNumberDropdown\";\nimport useLeadSearch from \"../hooks/useLeadSearch\";\nimport Loading from \"../../Goals/components/Loader\";\nimport useDraftConversationMessage from \"../hooks/useDraftConversationMessage\";\nimport {\n useAccountSenderPlaceholders,\n useConflictConversation,\n useDraftTextMessages,\n useFocusedConversation,\n useHasMoreMessages,\n useIsOptedOut,\n useLoadingMessages,\n useMessagesErrors,\n useMessagesPage,\n useNewSmsMediaError,\n useNewSmsMediaFile,\n useNewSmsMediaPreview,\n useRecipientsHash,\n useSelectedMessages,\n useSendingTextMessage,\n useTwilioErrorMessage,\n} from \"../../reducers/messagingReducer/selectors\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport PreTooltipContent from \"./PreTooltipContent\";\n\nconst getTooltipMessage = (focusedConversation, isOptedOut) => {\n if (focusedConversation.isArchived) return \"You cannot send messages to an archived conversation\";\n if (isOptedOut) return \"This number has opted out of text communication and cannot be texted.\";\n return \"One or more leads in your list of recipients cannot be texted. Please remove those recipients to send\";\n};\n\nconst ConversationMessages = () => {\n const dispatch = useDispatch();\n const featureFlags = useFeatureFlags();\n const accountSenderPlaceholders = useAccountSenderPlaceholders();\n const currentUser = useCurrentUser();\n const draftMessages = useDraftTextMessages();\n const focusedConversation = useFocusedConversation();\n const draftMessage = draftMessages[focusedConversation.personId || focusedConversation.uuid] || \"\";\n const newSmsMediaError = useNewSmsMediaError();\n const newSmsMediaFile = useNewSmsMediaFile();\n const newSmsMediaPreview = useNewSmsMediaPreview();\n const loadingMessages = useLoadingMessages();\n const hasMoreMessages = useHasMoreMessages();\n const messagesErrors = useMessagesErrors();\n const twilioErrorMessage = useTwilioErrorMessage();\n const messagesPage = useMessagesPage();\n const selectedMessages = useSelectedMessages();\n const sendingTextMessage = useSendingTextMessage();\n const isOptedOut = useIsOptedOut();\n const recipientsHash = useRecipientsHash();\n const conflictConversation = useConflictConversation();\n const recipients = Object.values(recipientsHash).map((r) => r.recipient);\n const maxRecipientsReached = featureFlags.groupSms ? recipients.length > 8 : recipients.length > 0;\n const conversationOwner = focusedConversation?.conversationUsers?.find((u) => u.isConversationOwner);\n const conversationParticipant = focusedConversation?.conversationUsers?.find((u) => !u.isConversationOwner);\n const messagesRef = useRef(null);\n const messagesEndRef = useRef(null);\n const textMessageInputRef = useRef(null);\n const fileInputRef = useRef(null);\n const [mediaModal, setMediaModal] = useState({ message: null, index: null });\n const {\n actions: leadSearchActions,\n data: leadSearchData,\n loading: leadSearchLoading,\n searchTerm,\n } = useLeadSearch();\n\n useEffect(() => {\n const input = textMessageInputRef.current;\n if (!input) return () => {};\n const onInput = () => {\n input.style.height = \"auto\";\n input.style.height = `${Math.min(100, Math.max(36, input.scrollHeight))}px`;\n input.style.overflow = input.scrollHeight > 100 ? \"auto\" : \"hidden\";\n };\n input.addEventListener(\"input\", onInput);\n return () => {\n input.removeEventListener(\"input\", onInput);\n };\n }, [textMessageInputRef.current]);\n\n useEffect(() => {\n if (messagesPage === 1) messagesEndRef.current?.scrollIntoView({ block: \"end\" });\n }, [messagesEndRef.current, selectedMessages, messagesPage]);\n\n useEffect(() => {\n const messages = messagesRef.current;\n const messagesEnd = messagesEndRef.current;\n if (!messages && !messagesEnd) return () => {};\n const resizeObserver = new ResizeObserver(() => {\n const scrollOffset = messagesEnd.offsetTop - (messages.scrollTop + messages.clientHeight);\n if (scrollOffset < 300) messagesEnd.scrollIntoView({ block: \"end\" });\n });\n resizeObserver.observe(messages);\n return () => resizeObserver.disconnect();\n }, [messagesRef.current, messagesEndRef.current]);\n\n useDraftConversationMessage();\n\n const addRecipient = (recipient) => {\n leadSearchActions.setSearchTerm();\n if (recipient) dispatch(messagingActions.addRecipient({ recipient }));\n };\n const removeRecipient = (recipient) => dispatch(messagingActions.removeRecipient({ recipient }));\n\n const openMmsMediaModal = (message, index) => setMediaModal({ message, index });\n const closeMmsMediaModal = () => setMediaModal({ message: null, index: null });\n\n const placeholderOptions = () =>\n accountSenderPlaceholders\n .filter((placeholder) => placeholder !== undefined)\n .map((placeholder) => ({ label: placeholder.text, value: placeholder.value }));\n\n const insertPlaceholder = (opt) => {\n const { selectionStart, selectionEnd } = textMessageInputRef.current;\n\n const prefix = textMessageInputRef.current.value.substring(0, selectionStart);\n const suffix = textMessageInputRef.current.value.substring(\n selectionEnd,\n textMessageInputRef.current.value.length,\n );\n const updatedValue = prefix + opt.value + suffix;\n\n dispatch(messagingActions.updateDraft(updatedValue));\n };\n\n const handleDragOver = (e) => {\n e.preventDefault();\n e.target.style.outline = \"2px dashed #999999\";\n };\n\n const handleDragLeave = (e) => {\n e.preventDefault();\n e.target.style.outline = \"\";\n };\n\n const handleDragDrop = (e) => {\n e.preventDefault();\n e.target.style.outline = \"\";\n dispatch(messagingActions.setMedia(e.dataTransfer.files?.[0]));\n };\n\n const onMediaFileChange = (e) => dispatch(messagingActions.setMedia(e.target.files?.[0]));\n\n const onSendMessage = () => dispatch(messagingActions.sendMessage());\n\n const disableInputs =\n focusedConversation.isArchived ||\n isOptedOut ||\n Boolean(conflictConversation) ||\n sendingTextMessage ||\n !focusedConversation.conversationUsers?.some(\n (user) => user.isConversationOwner && user.personUuid === currentUser.person.uuid,\n );\n\n const unsubscribedRecipient = Object.values(recipientsHash).find(\n (r) => r.number?.meta?.smsStatus === \"unsubscribed\",\n );\n\n const emptyNumberRecipient = Object.values(recipientsHash).find((r) => r.number?.empty);\n\n const originalPeople =\n focusedConversation.uuid === \"temp\"\n ? recipients?.map((r) => r.label).join(\", \")\n : focusedConversation.conversationUsers\n ?.filter((u) => !u.isConversationOwner)\n .map((u) => u.alias)\n .join(\", \");\n const conflictPeople =\n conflictConversation?.conversationUsers\n ?.filter((u) => !u.isConversationOwner)\n .map((u) => u.alias)\n .join(\", \") || \"\";\n\n if (!focusedConversation.mostRecentMessage?.uuid && !focusedConversation.uuid) {\n return (\n <div className=\"tw-flex tw-flex-col tw-flex-1 tw-justify-center tw-items-center\">\n <div className=\"tw-text-24d\">No message selected</div>\n </div>\n );\n }\n\n return (\n <div className=\"tw-flex tw-flex-col tw-flex-1 tw-gap-[16px] tw-py-[16px]\">\n {focusedConversation.uuid === \"temp\" && (\n <div className=\"tw-px-[24px] tw-flex tw-flex-col tw-gap-[16px]\">\n <h3 className=\"tw-m-0 tw-text-18d tw-font-bold\">New Message</h3>\n <Dropdown\n components={{ Option: RecipientSearchOption }}\n label=\"Add Recipient\"\n placeholder=\"Search by name or primary number\"\n isRequired\n shouldFilterOptions={false}\n isDisabled={maxRecipientsReached || unsubscribedRecipient || emptyNumberRecipient}\n options={leadSearchLoading ? [] : leadSearchData}\n isLoading={leadSearchLoading}\n isSearchable\n onChange={addRecipient}\n inputValue={searchTerm}\n onInputChange={leadSearchActions.setSearchTerm}\n helperText={\n maxRecipientsReached\n ? `Maximum ${recipients.length} recipients for group texts. Remove one to add another.`\n : \"\"\n }\n />\n\n {recipients.length > 0 && (\n <div className=\"tw-flex tw-flex-wrap tw-justify-start tw-gap-[12px]\">\n {recipients.map((recipient) => (\n <RecipientNumberDropdown\n key={recipient.value}\n recipient={recipient}\n onRemove={(e) => {\n e.preventDefault();\n removeRecipient(recipient);\n }}\n />\n ))}\n </div>\n )}\n\n {unsubscribedRecipient && (\n <Alert\n title={`Unable to send to ${unsubscribedRecipient.recipient.label}`}\n text={`${unsubscribedRecipient.recipient.label}’s number is set to “opted-out” and cannot be texted. In order to proceed, you must remove the contact from your list of recipients.`}\n variant=\"error\"\n />\n )}\n\n {emptyNumberRecipient && (\n <Alert\n title={`Unable to send to ${emptyNumberRecipient.recipient.label}`}\n text={`${emptyNumberRecipient.recipient.label} doesn’t have a number on record. Please remove that contact from the list of recipients to continue creating your group message.`}\n variant=\"error\"\n />\n )}\n </div>\n )}\n\n {focusedConversation.uuid !== \"temp\" && (\n <div className=\"tw-px-[24px] tw-flex tw-flex-col\">\n {messagesErrors && (\n <Alert title=\"Unable to send message\" text={messagesErrors[0]} variant=\"error\" />\n )}\n <div className=\"tw-flex tw-justify-start tw-items-center tw-gap-[12px]\">\n <span className=\"tw-text-18d tw-font-semibold tw-flex tw-gap-[6px]\">\n {focusedConversation.conversationUsers\n ?.filter((u) => !u.isConversationOwner)\n .map((u, i, a) => (\n <span key={u.personUuid} className=\"tw-inline-flex tw-gap-[6px] tw-items-center\">\n <Tooltip\n content={formatPhoneNumber(u.address)}\n trigger={<a href={`/people/${u.slug}`}>{u.alias || formatPhoneNumber(u.address)}</a>}\n placement=\"bottom\"\n />\n {twilioErrorMessage[u.address] && (\n <Tooltip\n placement=\"bottom\"\n className=\"tw-inline-flex tw-items-center\"\n innerClassName=\"tw-max-w-[250px]\"\n trigger={\n <>\n <CommentSlashRegularV6 size=\"xl\" className=\"tw-text-semantic-yellow-120\" />\n {i < a.length - 1 && \",\"}\n </>\n }\n content={<PreTooltipContent>{twilioErrorMessage[u.address]}</PreTooltipContent>}\n />\n )}\n </span>\n ))}\n </span>\n </div>\n <div className=\"tw-text-14d tw-text-gray-40\">To: {conversationOwner?.alias}</div>\n </div>\n )}\n\n {focusedConversation.isArchived && (\n <Alert\n title=\"Archived Conversation\"\n text=\"This conversation was archived because the phone number was edited or removed from the contact record.\"\n variant=\"error\"\n />\n )}\n\n <div\n ref={messagesRef}\n className={`tw-px-[24px] tw-relative tw-overflow-auto tw-flex-1 tw-flex tw-flex-col tw-gap-[16px] tw-border-solid tw-border-[1px] tw-border-x-0 ${focusedConversation.isAiControlled ? \"tw-border-b-0\" : \"\"} tw-border-gray-10`}\n >\n {focusedConversation.uuid !== \"temp\" && hasMoreMessages && (\n <div className=\"tw-flex tw-justify-center tw-p-[8px]\">\n <Button\n size=\"medium\"\n onClick={() => dispatch(messagingActions.nextMessagesPage())}\n isLoading={loadingMessages}\n >\n Load More\n </Button>\n </div>\n )}\n {loadingMessages && (\n <div className=\"tw-relative tw-min-h-[50px]\">\n <Loading />\n </div>\n )}\n {selectedMessages.map((message, index) => (\n <ConversationMessage\n key={message.uuid}\n conversation={focusedConversation}\n message={message}\n onClickImage={openMmsMediaModal}\n showTimeAgo={\n index === 0 ||\n moment(message.dateCreated).valueOf() -\n moment(selectedMessages[index - 1]?.dateCreated).valueOf() >\n 7200000\n }\n />\n ))}\n\n {isOptedOut && (\n <div className=\"tw-my-[16px]\">\n <Alert\n variant=\"error\"\n text={\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <TriangleExclamationSolidV6 size=\"l\" />\n <span>This number has opted out of text communication and cannot be texted.</span>\n </div>\n }\n />\n </div>\n )}\n\n {conflictConversation && (\n <div className=\"tw-my-[16px]\">\n <Alert\n variant=\"warning\"\n title=\"This conversation already exists\"\n text={\n <div className=\"tw-flex tw-justify-between tw-items-end\">\n <span>\n {originalPeople} shares number(s) with contact(s) {conflictPeople}, with which you already\n have an open conversation.\n </span>\n <TextLink\n className=\"!tw-text-inherit tw-font-semibold tw-uppercase tw-whitespace-nowrap\"\n onClick={() => {\n dispatch(messagingActions.selectNewConversation(conflictConversation));\n dispatch(messagingActions.getMessages({ uuid: conflictConversation.uuid }));\n }}\n >\n Go To Conversation\n </TextLink>\n </div>\n }\n />\n </div>\n )}\n <EmptySmsHistory\n containerClassName=\"tw-h-full\"\n show={!conflictConversation && focusedConversation.uuid === \"temp\" && selectedMessages.length === 0}\n />\n <div ref={messagesEndRef} />\n </div>\n\n {featureFlags.gabbiAi && focusedConversation.isAiControlled && (\n <AiSummary\n variant=\"inline\"\n allowAddAI={false}\n leadPersonUuid={conversationParticipant.personUuid}\n phoneStatus={isOptedOut ? \"hard-opt-out\" : \"valid\"}\n />\n )}\n\n <div className=\"tw-px-[24px] tw-flex tw-flex-col tw-gap-[16px]\">\n {!newSmsMediaFile && (\n <input\n type=\"file\"\n accept=\".jpg,.jpeg,.png,.gif\"\n onChange={(e) => onMediaFileChange(e)}\n id=\"file\"\n ref={fileInputRef}\n style={{ display: \"none\" }}\n />\n )}\n\n {newSmsMediaFile && (\n <div className=\"tw-relative tw-self-start\">\n <img src={newSmsMediaPreview} className=\"tw-rounded-10px tw-max-h-[50px]\" alt=\"new sms media\" />\n <IconButton\n className=\"tw-absolute tw-top-[-10px] tw-right-[-10px]\"\n schema=\"tertiary\"\n size=\"small\"\n onClick={() => dispatch(messagingActions.setMedia(null))}\n >\n <XmarkSolidV6 size=\"l\" />\n </IconButton>\n </div>\n )}\n\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px] tw-flex-wrap tw-whitespace-nowrap\">\n <div className=\"tw-flex tw-gap-[8px]\">\n <Dropdown\n components={{\n Control: PlaceholderControl,\n DropdownIndicator: null,\n }}\n styles={{\n menu: (base) => ({ ...base, minWidth: \"200px\" }),\n placeholder: (base) => ({ ...base, color: \"inherit\", fontSize: \"inherit\" }),\n valueContainer: (base) => ({ ...base, fontSize: \"inherit\", padding: 0 }),\n }}\n onChange={(opt) => insertPlaceholder(opt)}\n placeholder=\"Insert placeholder\"\n data-testid=\"text-message-placeholder-select\"\n onClose={() => textMessageInputRef.current.focus()}\n isDisabled={disableInputs}\n options={placeholderOptions()}\n value={null}\n />\n\n {!newSmsMediaFile && (\n <IconButton\n schema=\"secondary\"\n size=\"small\"\n onClick={() => fileInputRef.current.click()}\n disabled={disableInputs}\n >\n <ImageSolidV6 />\n </IconButton>\n )}\n </div>\n\n {!disableInputs && (\n <AiAssistant\n textareaId=\"text-message-textarea\"\n messageType=\"SMS\"\n contactUuid={\n focusedConversation.conversationUsers?.find((u) => !u.isConversationOwner)?.personUuid\n }\n onInsertClick={(text) => dispatch(messagingActions.updateDraft(text))}\n />\n )}\n </div>\n\n <TextInput\n name=\"newTextMessage\"\n className=\"tw-resize-none\"\n ref={textMessageInputRef}\n id=\"text-message-textarea\"\n data-testid=\"text-message-textarea\"\n onDrop={handleDragDrop}\n onDragOver={handleDragOver}\n onDragLeave={handleDragLeave}\n onChange={(e) => dispatch(messagingActions.updateDraft(e.target.value))}\n onKeyDown={(e) => {\n if (!e.shiftKey && e.keyCode === 13) onSendMessage();\n }}\n value={draftMessage || \"\"}\n disabled={disableInputs}\n maxLength={1600}\n rows=\"1\"\n multiline\n error={newSmsMediaError}\n placeholder=\"Text Message\"\n />\n\n {unsubscribedRecipient || emptyNumberRecipient || focusedConversation.isArchived || isOptedOut ? (\n <Tooltip\n className=\"tw-self-end\"\n innerClassName=\"tw-max-w-[300px]\"\n placement=\"left\"\n trigger={\n <Button size=\"medium\" disabled>\n Send\n </Button>\n }\n content={getTooltipMessage(focusedConversation, isOptedOut)}\n />\n ) : (\n <Button\n className=\"tw-self-end\"\n size=\"medium\"\n disabled={\n disableInputs ||\n (focusedConversation.uuid === \"temp\" && recipients.length === 0) ||\n (!draftMessage && !newSmsMediaFile) ||\n newSmsMediaError\n }\n onClick={() => onSendMessage()}\n >\n Send\n </Button>\n )}\n </div>\n\n <MmsMediaModal\n onClose={closeMmsMediaModal}\n message={mediaModal.message}\n mediaIndex={mediaModal.index}\n />\n </div>\n );\n};\n\nexport default ConversationMessages;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport { updateAgentFilters } from \"../../reducers/messagingReducer\";\nimport { useAllFilterAgents, useSelectedAgentFilters } from \"../../reducers/messagingReducer/selectors\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst ListItem = ({ children }) => (\n <li className=\"tw-px-[12px] tw-py-[8px] tw-text-14d hover:tw-bg-gray-5\">{children}</li>\n);\n\nListItem.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nconst FilterAgentsList = () => {\n const dispatch = useDispatch();\n const [open, setIsOpen] = useState(false);\n const allFilterAgents = useAllFilterAgents();\n const selectedAgentFilters = useSelectedAgentFilters();\n const currentUser = useCurrentUser();\n const filterAgentsListRef = useRef(null);\n\n useEffect(() => {\n const closeFilterAgentList = (e) => {\n if (!filterAgentsListRef.current?.contains(e.target)) {\n setIsOpen(false);\n }\n };\n document.addEventListener(\"click\", closeFilterAgentList);\n return () => document.removeEventListener(\"click\", closeFilterAgentList);\n }, [filterAgentsListRef.current]);\n\n return (\n <div className=\"tw-relative tw-z-10\" ref={filterAgentsListRef}>\n <Button size=\"medium\" onClick={() => setIsOpen((o) => !o)}>\n Filter\n </Button>\n {open && (\n <div className=\"tw-bg-white tw-z-5 tw-absolute tw-top-full tw-right-0 tw-min-w-[250px] tw-shadow-dropdown tw-rounded-[4px] tw-border-solid tw-border-gray-15\">\n <div className=\"tw-bg-gray-5 tw-px-[12px] tw-py-[8px] tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-gray-15 tw-text-12d tw-font-semibold\">\n Message Filter\n </div>\n <ul className=\"tw-p-0 tw-m-0 tw-list-none tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-gray-10\">\n <ListItem>\n <Checkbox\n id=\"all_texts\"\n label=\"Show all messages\"\n onChange={(e) =>\n e.target.checked && dispatch(updateAgentFilters({ value: \"all\", replace: true }))\n }\n checked={selectedAgentFilters[0] === \"all\"}\n />\n </ListItem>\n <ListItem>\n <Checkbox\n id=\"my_texts\"\n label=\"Show only my messages\"\n onChange={(e) =>\n e.target.checked &&\n dispatch(updateAgentFilters({ value: currentUser.person.uuid, replace: true }))\n }\n checked={\n selectedAgentFilters.length === 1 && selectedAgentFilters[0] === currentUser.person.uuid\n }\n />\n </ListItem>\n </ul>\n <ul className=\"tw-p-0 tw-m-0 tw-list-none tw-max-h-[260px] tw-overflow-auto\">\n {allFilterAgents?.map((agent) => (\n <ListItem key={agent.personUuid}>\n <Checkbox\n id={agent.personUuid}\n label={agent.fullName}\n onChange={() => dispatch(updateAgentFilters({ value: agent.personUuid }))}\n checked={selectedAgentFilters.includes(agent.personUuid)}\n />\n </ListItem>\n ))}\n </ul>\n </div>\n )}\n </div>\n );\n};\n\nexport default FilterAgentsList;\n","import { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { HttpTransportType, HubConnectionBuilder, LogLevel } from \"@microsoft/signalr\";\nimport useAiToken from \"@shared/AiAssistant/hooks/useAiToken\";\nimport {\n focusConversation,\n getConversations,\n getMessages,\n getPhoneStatuses,\n nextConversationPage,\n receiveSignalRMessageResetCount,\n receiveSignalRMessageStatusFailure,\n receiveSignalRNewConversation,\n receiveSignalRNewMessage,\n setHideAi,\n setTab,\n setUnreadOnly,\n toggleAiFilter,\n} from \"../../reducers/messagingReducer\";\nimport {\n useAiFilters,\n useConversations,\n useConversationsPage,\n useCurrentTab,\n useErrors,\n useFocusedConversation,\n useHasMore,\n useHideAi,\n useLoadingConversations,\n useMessagesPage,\n useMessagingServiceUrl,\n useSelectedAgentFilters,\n useSelectedMessages,\n useUnreadOnly,\n} from \"../../reducers/messagingReducer/selectors\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst shouldNotFetch = (focusedConversation) =>\n !focusedConversation.uuid || focusedConversation.uuid === \"temp\";\n\nconst useMessaging = () => {\n const { token } = useAiToken();\n const dispatch = useDispatch();\n const messagingServiceUrl = useMessagingServiceUrl();\n const currentUser = useCurrentUser();\n const focusedConversation = useFocusedConversation();\n const conversationsPage = useConversationsPage();\n const messagesPage = useMessagesPage();\n const selectedAgentFilters = useSelectedAgentFilters();\n const conversations = useConversations();\n const selectedMessages = useSelectedMessages();\n const hasMore = useHasMore();\n const currentTab = useCurrentTab();\n const loadingConversations = useLoadingConversations();\n const errors = useErrors();\n const hideAi = useHideAi();\n const unreadOnly = useUnreadOnly();\n const aiFilters = useAiFilters();\n\n const agentIds = selectedAgentFilters.filter((o) => o !== \"all\").join(\",\");\n\n useEffect(() => {\n if (shouldNotFetch(focusedConversation)) return () => {};\n return dispatch(getMessages()).abort;\n }, [focusedConversation, messagesPage]);\n\n useEffect(() => {\n if (shouldNotFetch(focusedConversation)) return () => {};\n return dispatch(getPhoneStatuses()).abort;\n }, [focusedConversation]);\n\n useEffect(\n () => dispatch(getConversations()).abort,\n [agentIds, conversationsPage, currentTab, hideAi, unreadOnly, aiFilters],\n );\n\n useEffect(() => {\n if (!token) return () => {};\n\n const connection = new HubConnectionBuilder()\n .withUrl(`${messagingServiceUrl}/MessageHub?access_token=${token}`, {\n skipNegotiation: true,\n transport: HttpTransportType.WebSockets,\n withCredentials: true,\n })\n .withAutomaticReconnect()\n .configureLogging(process.env.NODE_ENV === \"production\" ? LogLevel.Error : LogLevel.Debug)\n .build();\n\n connection.on(\"ActivateConversation\", (conversationUuid) => {\n connection.send(\"AddPersonToGroup\", conversationUuid);\n });\n\n connection.on(\"CreateConversation\", (conversation) => {\n connection.send(\"AddPersonToGroup\", conversation.uuid);\n dispatch(receiveSignalRNewConversation(conversation));\n });\n\n connection.on(\"NewMessage\", (message) => {\n dispatch(receiveSignalRNewMessage(message));\n });\n\n connection.on(\"ResetConversationUnreadMessageCount\", (conversationUuid, priorCount, isChannel) => {\n dispatch(receiveSignalRMessageResetCount({ conversationUuid, priorCount, isChannel }));\n });\n\n connection.on(\"UpdateSmsOrGroupSmsConversationUserMessageStatusOnFailure\", (deliveryStatus) => {\n dispatch(receiveSignalRMessageStatusFailure(deliveryStatus));\n });\n\n // TODO: better error messaging\n connection.start().catch(console.log);\n\n return () => {\n // TODO: better error messaging\n connection.stop().catch(console.log);\n };\n }, [messagingServiceUrl, token]);\n\n return {\n actions: {\n focusConversation: (conversation) => dispatch(focusConversation(conversation)),\n nextPage: () => dispatch(nextConversationPage()),\n setTab: (tab) => dispatch(setTab(tab)),\n setHideAi: () => dispatch(setHideAi(!hideAi)),\n setUnreadOnly: () => dispatch(setUnreadOnly(!unreadOnly)),\n toggleAiFilter: (filters) => dispatch(toggleAiFilter(filters)),\n },\n conversations,\n currentTab,\n currentUser,\n errors,\n focusedConversation,\n hasMore,\n loadingConversations,\n selectedMessages,\n hideAi,\n unreadOnly,\n aiFilters,\n };\n};\n\nexport default useMessaging;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { sizeBasedClasses, borderValue, availableSizes } from \"./Avatar.styles\";\n\nconst AvatarPlaceholder = ({ className, size, border, hiddenCount }) => (\n <div\n className={`\n tw-flex tw-justify-center tw-items-center\n tw-rounded-full\n tw-overflow-hidden\n tw-bg-neutral-gray-15 tw-text-white\n ${sizeBasedClasses(size)}\n ${borderValue(border)}\n ${className}\n `}\n >\n +{hiddenCount}\n </div>\n);\n\nAvatarPlaceholder.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf([...availableSizes, \"none\"]),\n border: PropTypes.oneOf([\"neutral\", \"tinted\", \"none\"]),\n hiddenCount: PropTypes.number,\n};\n\nAvatarPlaceholder.defaultProps = {\n className: \"\",\n size: \"small\",\n border: \"neutral\",\n hiddenCount: 1,\n};\n\nexport default AvatarPlaceholder;\n","import React, { Children, cloneElement } from \"react\";\nimport PropTypes from \"prop-types\";\nimport AvatarPlaceholder from \"@shared/v2/Avatar/AvatarPlaceholder\";\n\nconst AVATAR_CLUSTER_STYLES = {\n 1: \"tw-absolute tw-top-0 tw-left-0 tw-tansform tw-translate-x-1/2 tw-translate-y-[60%] tw-z-10\",\n 2: \"tw-absolute tw-top-0 tw-left-0\",\n 3: \"tw-absolute tw-top-0 tw-left-0 tw-transform tw-translate-x-[-10%] tw-translate-y-[80%]\",\n};\n\nconst AvatarCluster = ({ children }) => {\n const avatars = Children.toArray(children);\n const count = Children.count(children);\n const displayCount = count > 3 ? count - 2 : null;\n if (count === 1) return children;\n return (\n <div className=\"tw-relative tw-ml-[2px] tw-w-[36px] tw-h-[40px]\">\n {displayCount && (\n <AvatarPlaceholder className={AVATAR_CLUSTER_STYLES[2]} border=\"tinted\" hiddenCount={displayCount} />\n )}\n {avatars.slice(0, displayCount ? 2 : 3).map((avatar, i) =>\n cloneElement(avatar, {\n // eslint-disable-next-line react/no-array-index-key\n key: i,\n border: \"tinted\",\n className: AVATAR_CLUSTER_STYLES[displayCount && i === 1 ? 3 : i + 1],\n }),\n )}\n </div>\n );\n};\n\nAvatarCluster.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default AvatarCluster;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { sortBy } from \"lodash\";\nimport { useDispatch } from \"react-redux\";\nimport { CircleSolidV6, SparklesSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip/Tooltip\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport { focusConversation, markAsRead } from \"../../reducers/messagingReducer\";\nimport AvatarCluster from \"./AvatarCluster\";\nimport {\n useDraftTextMessages,\n useFocusedConversation,\n useRecipientsHash,\n} from \"../../reducers/messagingReducer/selectors\";\nimport { useTheme } from \"../../reducers/layoutReducer/selectors\";\n\nconst getIsFocused = (focusedConversation, conversation) => focusedConversation.uuid === conversation.uuid;\n\nconst ConversationDescription = ({ conversation, recipients }) => {\n const { uuid, friendlyName, mostRecentMessage, conversationUsers } = conversation;\n const createdByUser = conversationUsers?.find(\n (user) => user.personUuid === mostRecentMessage?.createdByUserPersonUuid,\n );\n\n if (friendlyName) {\n return (\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <span className=\"tw-font-semibold\">{friendlyName}</span>\n </div>\n );\n }\n\n if (uuid === \"temp\") {\n return <span className=\"tw-font-semibold\">{recipients || \"New Message\"}</span>;\n }\n\n return <span className=\"tw-font-semibold\">{createdByUser?.alias}</span>;\n};\n\nConversationDescription.propTypes = {\n conversation: PropTypes.shape().isRequired,\n recipients: PropTypes.string.isRequired,\n};\n\nconst Conversation = ({ conversation = {} }) => {\n const dispatch = useDispatch();\n const isPlaceTheme = useTheme().name === \"place-theme\";\n const focusedConversation = useFocusedConversation();\n const recipientsHash = useRecipientsHash();\n const recipients = sortBy(\n Object.values(recipientsHash).map((r) => r.recipient.meta),\n \"alias\",\n );\n const draftMessages = useDraftTextMessages();\n const draftMessage = draftMessages[focusedConversation.uuid] || \"\";\n const isFocused = getIsFocused(focusedConversation, conversation);\n const isUnread = conversation.userUnreadMessageCount > 0;\n\n const clickConversation = () => {\n dispatch(focusConversation(conversation));\n if (isUnread) dispatch(markAsRead(conversation));\n };\n\n return (\n <div\n className={`tw-transition-all tw-w-full tw-flex tw-gap-[16px] tw-px-[24px] tw-py-[16px] tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-gray-10 ${\n isFocused ? `${isPlaceTheme ? \"tw-bg-semantic-blue-5\" : \"tw-bg-brivity-blue-10\"}` : \"\"\n }`}\n onClick={clickConversation}\n role=\"button\"\n tabIndex={0}\n onKeyDown={(e) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n clickConversation();\n }\n }}\n >\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n {isUnread ? (\n <CircleSolidV6 size=\"s\" className={isPlaceTheme ? \"tw-text-semantic-blue-100\" : \"tw-text-teal\"} />\n ) : (\n <div className=\"tw-w-[8px]\" />\n )}\n <AvatarCluster>\n {conversation.isAiControlled && (\n <Tooltip\n content=\"AI is applied to this lead.\"\n innerClassName=\"tw-max-w-[100px]\"\n trigger={\n <div className=\"tw-bg-semantic-purple-5 tw-w-[24px] tw-h-[24px] tw-border-solid tw-border-semantic-purple-10 tw-rounded-full tw-flex-none tw-flex tw-justify-center tw-items-center\">\n <SparklesSolidV6 className=\"tw-text-semantic-purple-100\" />\n </div>\n }\n />\n )}\n {(conversation.uuid === \"temp\" ? recipients : conversation.conversationUsers).map((u) => (\n <Avatar key={u.uuid} src={u.avatar} alt={u.alias} />\n ))}\n </AvatarCluster>\n </div>\n\n <div className=\"tw-overflow-hidden tw-flex-1 tw-flex tw-flex-col tw-gap-[4px]\">\n <ConversationDescription\n conversation={conversation}\n recipients={recipients.map((r) => r.alias).join(\", \")}\n />\n <div className=\"tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis\">\n {conversation.mostRecentMessage && (\n <>\n {conversation.mostRecentMessage.createdByAlias\n ? `${conversation.mostRecentMessage.createdByAlias}: `\n : \"\"}\n {conversation.mostRecentMessage.message || <span className=\"tw-italic\">Attachment</span>}\n </>\n )}\n {conversation.uuid === \"temp\" && (draftMessage || \"Draft message\")}\n  \n </div>\n </div>\n\n <div className=\"tw-text-12d tw-font-normal tw-text-neutral-gray-50\">\n <Tooltip\n placement=\"left\"\n trigger={moment(conversation.dateUpdated || conversation.dateCreated).fromNow()}\n content={moment(conversation.dateUpdated || conversation.dateCreated).format(\"MMM D, YYYY h:mm A\")}\n />\n </div>\n </div>\n );\n};\n\nConversation.propTypes = {\n conversation: PropTypes.shape().isRequired,\n};\n\nexport default Conversation;\n","import { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { getUnreadCounts } from \"../../reducers/messagingReducer\";\n\nconst useUnreadCounts = () => {\n const dispatch = useDispatch();\n const aiUnreadCount = useSelector((state) => state.messaging.aiUnreadCount);\n const allUnreadCount = useSelector((state) => state.messaging.allUnreadCount);\n const groupUnreadCount = useSelector((state) => state.messaging.groupUnreadCount);\n\n useEffect(() => dispatch(getUnreadCounts()).abort, []);\n\n return { aiUnreadCount, allUnreadCount, groupUnreadCount };\n};\n\nexport default useUnreadCounts;\n","import React from \"react\";\nimport ErrorBanner from \"@shared/v2/ErrorBanner\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport TabBar from \"@shared/v2/TabBar\";\nimport Tab from \"@shared/v2/Tab\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport { PenToSquareSolidV6 } from \"@shared/v2/Icomoon\";\nimport ConversationMessages from \"./ConversationMessages\";\nimport FilterAgentsList from \"./FilterAgentsList\";\nimport Button from \"../../shared/v2/Button\";\nimport useMessaging from \"../hooks/useMessaging\";\nimport Conversation from \"./Conversation\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { getEmptyConversation } from \"../helpers/defaults\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport useUnreadCounts from \"../hooks/useUnreadCounts\";\nimport { useSelectedAgentFilters } from \"../../reducers/messagingReducer/selectors\";\n\nconst Inbox = () => {\n const featureFlags = useFeatureFlags();\n const { aiUnreadCount, allUnreadCount, groupUnreadCount } = useUnreadCounts();\n const isAllSelected = useSelectedAgentFilters()[0] === \"all\";\n const {\n actions,\n conversations,\n currentTab,\n currentUser,\n focusedConversation,\n errors,\n hasMore,\n loadingConversations,\n hideAi,\n unreadOnly,\n aiFilters,\n } = useMessaging();\n const emptyConversations = focusedConversation.uuid !== \"temp\" && conversations?.length === 0;\n\n return (\n <div className=\"tw-bg-white tw-w-full tw-max-w-[1640px] tw-mx-auto tw-h-full tw-flex tw-flex-col\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-p-[16px] tw-gap-[8px]\">\n <h2 className=\"tw-font-normal tw-m-0 tw-whitespace-nowrap\">Message Center</h2>\n {currentUser.account.isAdmin && <FilterAgentsList />}\n </div>\n <div id=\"content\" className=\"tw-flex-1 tw-flex tw-flex-col tw-overflow-hidden\">\n <div className=\"tw-mx-[16px]\">\n <ErrorBanner errors={errors} />\n </div>\n\n <TabBar isPadded>\n <Tab\n label={\n <div className=\"tw-flex tw-gap-[8px] tw-items-center\">\n All\n {allUnreadCount > 0 && (\n <div className=\"tw-flex tw-justify-center tw-items-center tw-px-[4px] tw-min-w-[20px] tw-h-[20px] tw-bg-theme-primary tw-text-12d tw-text-white tw-rounded-full\">\n {allUnreadCount > 99 ? \"99+\" : allUnreadCount}\n </div>\n )}\n </div>\n }\n selected={currentTab === \"all\"}\n onClick={() => actions.setTab(\"all\")}\n />\n {featureFlags.groupSms && (\n <Tab\n label={\n <div className=\"tw-flex tw-gap-[8px] tw-items-center\">\n Group\n {groupUnreadCount > 0 && (\n <div className=\"tw-flex tw-justify-center tw-items-center tw-px-[4px] tw-min-w-[20px] tw-h-[20px] tw-bg-theme-primary tw-text-12d tw-text-white tw-rounded-full\">\n {groupUnreadCount > 99 ? \"99+\" : groupUnreadCount}\n </div>\n )}\n </div>\n }\n selected={currentTab === \"group\"}\n onClick={() => actions.setTab(\"group\")}\n />\n )}\n {featureFlags.gabbiAi && (\n <Tab\n label={\n <div className=\"tw-flex tw-gap-[8px] tw-items-center\">\n AI\n {aiUnreadCount > 0 && (\n <div className=\"tw-flex tw-justify-center tw-items-center tw-px-[4px] tw-min-w-[20px] tw-h-[20px] tw-bg-theme-primary tw-text-12d tw-text-white tw-rounded-full\">\n {aiUnreadCount > 99 ? \"99+\" : aiUnreadCount}\n </div>\n )}\n </div>\n }\n selected={currentTab === \"ai\"}\n onClick={() => actions.setTab(\"ai\")}\n />\n )}\n </TabBar>\n\n <div className=\"tw-flex-1 tw-flex tw-overflow-y-hidden tw-overflow-x-auto\">\n <div className=\"tw-flex tw-flex-col tw-flex-1 tw-min-w-[240px] tw-max-w-[640px] tw-border-solid tw-border-y-0 tw-border-l-0 tw-border-r-[2px] tw-border-gray-10 !tw-px-0\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-py-[16px] tw-px-[12px] tw-border-solid tw-border-x-0 tw-border-t-0 tw-border-gray-5\">\n <div className=\"tw-relative tw-flex-1 tw-flex tw-gap-[8px]\">\n {currentTab !== \"ai\" &&\n (!currentUser.account.isAdmin || (currentUser.account.isAdmin && !isAllSelected)) && (\n <FilterPill onClick={() => actions.setUnreadOnly(!unreadOnly)} selected={unreadOnly}>\n Unread Only\n </FilterPill>\n )}\n {featureFlags.gabbiAi && currentTab === \"all\" && (\n <FilterPill onClick={() => actions.setHideAi(!hideAi)} selected={hideAi}>\n Hide AI\n </FilterPill>\n )}\n {currentTab === \"ai\" && (\n <>\n <FilterPill\n onClick={() => actions.toggleAiFilter(\"all\")}\n selected={aiFilters.includes(\"all\")}\n >\n All\n </FilterPill>\n <div className=\"tw-border-[1px] tw-border-solid tw-border-gray-5 tw-h-[24px] tw-mx-[-4px]\" />\n <FilterPill\n onClick={() => actions.toggleAiFilter(\"engaged\")}\n selected={aiFilters.includes(\"engaged\")}\n >\n Engaged\n </FilterPill>\n <FilterPill\n onClick={() => actions.toggleAiFilter(\"needsAgent\")}\n selected={aiFilters.includes(\"needsAgent\")}\n >\n Needs Agent\n </FilterPill>\n </>\n )}\n {loadingConversations && <Loading />}\n </div>\n\n <IconButton\n disabled={focusedConversation.uuid === \"temp\"}\n onClick={() => actions.focusConversation(getEmptyConversation(currentUser))}\n >\n <PenToSquareSolidV6 />\n </IconButton>\n </div>\n\n <div\n data-testid=\"texts-table\"\n className=\"tw-relative tw-flex-1 tw-flex tw-flex-col tw-overflow-auto\"\n >\n {focusedConversation.uuid === \"temp\" && <Conversation conversation={focusedConversation} />}\n {conversations.map((conversation) => (\n <Conversation key={conversation.uuid} conversation={conversation} />\n ))}\n\n {loadingConversations && emptyConversations && <Loading />}\n\n {!loadingConversations && emptyConversations && (\n <div className=\"tw-relative tw-flex-1 tw-flex tw-flex-col tw-justify-center tw-items-center tw-text-24d\">\n Conversations will appear here\n </div>\n )}\n\n {hasMore && (\n <div className=\"tw-flex tw-justify-center tw-my-[8px]\">\n <Button\n className=\"tw-min-w-1/2\"\n size=\"medium\"\n onClick={() => actions.nextPage()}\n isLoading={loadingConversations}\n >\n Load More...\n </Button>\n </div>\n )}\n </div>\n </div>\n <ConversationMessages />\n </div>\n </div>\n </div>\n );\n};\n\nexport default Inbox;\n","import React from \"react\";\n\nexport default function RemoveablePill({ onClick, label }) {\n return (\n <small className=\"tw-bg-gray-10 tw-rounded-3xl tw-px-3 tw-py-1 tw-mt-2 tw-mr-2 tw-inline-block tw-text-xs\">\n {label}\n <button\n onClick={(e) => {\n e.preventDefault();\n onClick();\n } }\n className=\"tw-p-0 tw-bg-transparent tw-border-0 tw-ml-1 tw-inline-block\"\n >\n <i className=\"fa fa-remove\" />\n </button>\n </small>\n );\n}","import { useState } from \"react\";\n\nexport const onSelectFn = (sel, option, isSelected) => {\n let col = [...sel];\n if (isSelected) {\n col = col.filter((c) => c.id !== option.id);\n } else {\n col = [...col, option];\n }\n return col;\n};\n\nexport const useOnAgentSelect = (selectedAgentsFilters) => {\n const [selectedAgents, onAgentSelect] = useState(\n selectedAgentsFilters\n ? selectedAgentsFilters.map((i, idx) => ({\n name: selectedAgentsFilters[idx].name,\n id: selectedAgentsFilters[idx].id,\n }))\n : [],\n );\n return [selectedAgents, onAgentSelect];\n};\n\nexport const useOnPondSelect = (selectedPondsFilters) => {\n const [selectedPonds, onPondSelect] = useState(\n selectedPondsFilters\n ? selectedPondsFilters.ids.map((i, idx) => ({ name: selectedPondsFilters.names[idx], id: i }))\n : [],\n );\n return [selectedPonds, onPondSelect];\n};\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Overlay } from \"react-bootstrap\";\nimport RemoveablePill from \"../../../shared/RemoveablePill\";\nimport DropDownSelectOption from \"../../../shared/DropDownSelectOption\";\nimport { useClickOutside } from \"../../../shared/hookHelpers\";\nimport { useOnAgentSelect, useOnPondSelect, onSelectFn } from \"./hookHelpers\";\nimport { useGetAgentState } from \"../../../shared/agentOrPondHookHelpers\";\nimport \"./styles.scss\";\n\nconst PondOrAgentFilter = ({\n enableLeadPonds = false,\n selectedAgentsFilters = [],\n selectedPondsFilters = [],\n}) => {\n const target = useRef(null);\n const [state, setState, handleChange] = useGetAgentState(enableLeadPonds);\n const [selectedAgents, onAgentSelect] = useOnAgentSelect(selectedAgentsFilters);\n const [selectedPonds, onPondSelect] = useOnPondSelect(selectedPondsFilters);\n\n useClickOutside(target, () => setState({ ...state, show: false }));\n\n const { filter, filteredAssignableAgents, filteredAssignablePonds } = state;\n\n return (\n <div className=\"pond-or-agent-filter tw-relative lp-filter\">\n <div\n className=\"tw-flex tw-items-center tw-justify-end tw-w-full tw-h-[32px] tw-py-[6px] tw-px-[4px] tw-bg-white tw-border-solid tw-border tw-border-gray-15 tw-relative\"\n ref={target}\n >\n <input\n className=\"lp-filter-input tw-w-full tw-h-full tw-left-0 tw-top-0 tw-absolute tw-border-0 tw-bg-transparent tw-outline-blue-100\"\n onChange={handleChange}\n onFocus={() => setState((s) => ({ ...s, show: true }))}\n placeholder={enableLeadPonds ? \"Select primary agents or lead ponds\" : \"Search to select\"}\n value={filter}\n />\n <i className=\"fa fa-caret-down tw-text-[15px] tw-text-black tw-pr-[6px] tw-pl-1\" />\n </div>\n <Overlay\n show={state.show}\n onHide={() => setState((s) => ({ ...s, show: false }))}\n placement=\"bottom\"\n container={target.current}\n target={target.current}\n >\n <div className=\"lp-filter-opts tw-bg-white tw-z-40 tw-shadow-modal tw-absolute tw-max-h-[350px] tw-w-full tw-overflow-y-auto\">\n {filteredAssignablePonds.length > 0 && (\n <p className=\"tw-text-[12px] tw-py-1 tw-px-2 tw-bg-neutral-gray-10\">Pond</p>\n )}\n {filteredAssignablePonds.map((pond) => {\n const isSelected = selectedPonds.filter((p) => p.id === pond.id).length === 1;\n return (\n <DropDownSelectOption\n key={pond.id}\n isSelected={isSelected}\n showCheckIcon\n option={{ ...pond }}\n handleSelect={() => {\n onPondSelect([...onSelectFn(selectedPonds, pond, isSelected)]);\n }}\n />\n );\n })}\n\n {filteredAssignableAgents.length > 0 && (\n <p className=\"tw-text-[12px] tw-py-1 tw-px-2 tw-bg-neutral-gray-10\">Team</p>\n )}\n {filteredAssignableAgents.map((agent) => {\n const isSelected = selectedAgents.filter((p) => p.id === agent.id).length === 1;\n return (\n <DropDownSelectOption\n key={agent.id}\n isSelected={isSelected}\n showCheckIcon\n option={{\n ...agent,\n imageSrc: agent.image_src,\n }}\n imgSizeClass=\"force-img-sm\"\n handleSelect={() => {\n onAgentSelect([...onSelectFn(selectedAgents, agent, isSelected)]);\n }}\n />\n );\n })}\n </div>\n </Overlay>\n\n {selectedPonds?.map((p) => (\n <span key={p.id}>\n <input type=\"hidden\" name=\"leads_filter[selected_lead_ponds][names][]\" value={p.name} />\n <input type=\"hidden\" name=\"leads_filter[selected_lead_ponds][ids][]\" value={p.id} />\n <RemoveablePill\n label={`Lead Pond: ${p.name}`}\n onClick={() => onPondSelect([...onSelectFn(selectedPonds, p, 1)])}\n />\n </span>\n ))}\n\n {selectedAgents?.map((p) => (\n <span key={p.id}>\n <input type=\"hidden\" name=\"leads_filter[selected_primary_agents][]\" value={p.id} />\n <RemoveablePill\n label={`Agent: ${p.name}`}\n onClick={() => onAgentSelect([...onSelectFn(selectedAgents, p, 1)])}\n />\n </span>\n ))}\n </div>\n );\n};\n\nPondOrAgentFilter.propTypes = {\n enableLeadPonds: PropTypes.bool,\n selectedAgentsFilters: PropTypes.arrayOf(PropTypes.shape()),\n selectedPondsFilters: PropTypes.arrayOf(PropTypes.shape()),\n};\n\nPondOrAgentFilter.defaultProps = {\n enableLeadPonds: false,\n selectedAgentsFilters: [],\n selectedPondsFilters: [],\n};\n\nexport default PondOrAgentFilter;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { useEventListenerAction } from \"@shared/hooks/useEventListenerAction\";\nimport { capitalize } from \"lodash\";\nimport DropdownWithMultiCtrlledRemovable from \"@shared/DropdownWithMultiCtrlledRemovable\";\nimport { CLEAR_MODAL_FILTER_ID } from \"../shared/constants\";\n\nconst TAG_PREFIX_OPTIONS = [\n { label: \"Any\", value: \"any\" },\n { label: \"All\", value: \"all\" },\n];\n\nconst IncludeTagFilter = ({ anyOrAll, options: propOptions, selectedOptions }) => {\n const [prefix, setPrefix] = useState({ label: \"Any\", value: \"any\" });\n\n useEffect(() => {\n if (anyOrAll) setPrefix({ label: capitalize(anyOrAll), value: anyOrAll });\n }, [anyOrAll]);\n\n useEventListenerAction(CLEAR_MODAL_FILTER_ID, () => setPrefix({ label: \"Any\", value: \"any\" }));\n\n const { options, hashOptions } = useMemo(\n () => ({\n options: propOptions.map(({ name, id }) => ({ label: name, value: `${id}` })),\n hashOptions: propOptions.reduce((acc, { name, id }) => {\n acc[id] = name;\n return acc;\n }, {}),\n }),\n [propOptions],\n );\n\n return (\n <div className=\"tw-flex tw-gap-[16px]\">\n <Dropdown options={TAG_PREFIX_OPTIONS} value={prefix} onChange={setPrefix} />\n <input name=\"leads_filter[selected_any_all_tags][]\" type=\"hidden\" value={prefix.value} />\n <div className=\"tw-flex-1 tw-max-w-[300px]\">\n <DropdownWithMultiCtrlledRemovable\n isVirtualized\n options={options}\n selectedOptions={selectedOptions?.map((id) => ({ label: hashOptions[id], value: `${id}` }))}\n removablePrefix={`Tag (${prefix.label}): `}\n placeHolderTxt=\" tags selected\"\n ctrlName=\"leads_filter[selected_tag_filters][]\"\n />\n </div>\n </div>\n );\n};\n\nexport default IncludeTagFilter;\n\nIncludeTagFilter.propTypes = {\n anyOrAll: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n selectedOptions: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nIncludeTagFilter.defaultProps = {\n anyOrAll: \"any\",\n};\n","import React from 'react';\nimport axios from 'axios';\nimport \"chart.js/auto\";\nimport { Bar } from 'react-chartjs-2';\nimport Dropdown from '@shared/v2/Dropdown';\nimport './LeadDNA.scss';\nimport countBy from 'lodash/countBy';\n\n// TODO: make sure we don't have any potential nulls that can come back from the API and break shit\nclass LeadDNA extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n stats: [],\n primaryFilter: 'price',\n secondaryFilter: null,\n secondaryData: [],\n showSecondary: false,\n titleText: '',\n chartData: {\n labels: [],\n datasets: []\n }\n }\n }\n\n barColors = [\n ['rgba(89,196,196)', 'rgba(2,148,148,1)'], // light blue\n ['rgba(188,52,14)', 'rgba(127,35,9,1)'], // dark red\n ['rgba(244,179,80)', 'rgba(211,135,18,1)'], // yellow\n ['rgba(51,110,123)', 'rgba(19,46,51,1)'], // dark blue\n ['rgba(242,113,77)', 'rgba(190,68,34,1)'], // coral red\n ['rgba(179,179,179)', 'rgba(128,128,128,1)'] // gray\n ]\n\n colorClasses = [\n 'light-blue',\n 'dark-red',\n 'yellow',\n 'dark-blue',\n 'coral-red',\n 'gray',\n ]\n\n componentDidMount() {\n this.fetchData();\n }\n\n fetchData() {\n axios.get(`/idx_data/property_stats/${this.props.uuid}`)\n .then(res => {\n this.setState({ stats: res.data.stats });\n this.buildDatasets(this.state.primaryFilter, res.data.stats, true);\n });\n };\n\n buildDatasets(filterKey, data, usePrimaryTitle) {\n const sortedArray = this.sortValues(filterKey, data);\n\n if (filterKey == 'price') {\n this.quartileRanges(filterKey, sortedArray, usePrimaryTitle);\n } else {\n this.getTopFive(filterKey, sortedArray, usePrimaryTitle);\n }\n }\n\n getTopFive(filterKey, sortedArray, usePrimaryTitle) {\n const quantities = countBy(sortedArray, filterKey);\n const arrayed = Object.keys(quantities).map(val => {\n return {[val]: quantities[val]};\n });\n let labelDescriptor, sorted;\n\n if (filterKey == 'bedrooms' || filterKey == 'bathrooms') {\n labelDescriptor = filterKey == 'bedrooms' ? 'bed' : 'bath';\n sorted = arrayed.sort((a, b) => {\n return Object.keys(a)[0] == Object.keys(b)[0] ? 0 : +(Object.keys(a)[0] > Object.keys(b)[0]) || -1;\n });\n } else {\n sorted = arrayed.sort((a, b) => {\n return Object.values(b)[0] == Object.values(a)[0] ? 0 : +(Object.values(b)[0] > Object.values(a)[0]) || -1;\n });\n }\n\n if (usePrimaryTitle) {\n this.setState({titleText: `Showing ${sortedArray.length} properties sorted by ${filterKey}`})\n }\n\n this.buildTopFive(filterKey, sorted, sortedArray, labelDescriptor);\n }\n\n buildTopFive(filterKey, sorted, sortedArray, labelDescriptor) {\n let chartData = {labels: [], datasets: []};\n let dataTotal = 0;\n let otherTotal = 0;\n let colors = [...this.barColors];\n let colorClasses = [...this.colorClasses];\n let color, colorClass;\n\n sorted.forEach((element, index) => {\n if (index < 5) {\n let filteredMeta = sortedArray.filter((el) => el[filterKey] == Object.keys(element)[0]);\n color = colors.shift();\n colorClass = colorClasses.shift();\n let labelName = filterKey == 'price' ? '$' + Math.round(Object.keys(element)[0]).toLocaleString() : Object.keys(element)[0];\n\n chartData.datasets.push({\n stack: '1',\n label: `<span class=\"color-text ${colorClass}\">${labelName}${labelDescriptor == undefined ? '' : ' ' + labelDescriptor}</span> ${Object.values(element)[0]}`,\n color: colorClass,\n backgroundColor: color[0],\n hoverBackgroundColor: color[1],\n data: [Object.values(element)[0]],\n metaCollection: filteredMeta,\n secondaryTitle: `Showing ${filteredMeta.length} properties with ${Object.keys(element)[0]} ${filterKey}`,\n index: index\n })\n\n chartData.labels[index] = `<span class=\"color-text\">${Object.keys(element)[0]}</span> ${Object.values(element)[0]}`;\n dataTotal += Object.values(element)[0];\n } else {\n let filteredMeta = sortedArray.filter((el) => el[filterKey] == Object.keys(element)[0]);\n color = colors.shift();\n colorClass = colorClasses.shift();\n otherTotal += Object.values(element)[0];\n\n if (chartData.datasets[5] === undefined) {\n chartData.datasets.push({\n stack: '1',\n label: `<span class=\"color-text ${colorClass}\">Other</span> ${Object.values(element)[0]}`,\n color: colorClass,\n backgroundColor: color[0],\n hoverBackgroundColor: color[1],\n data: [Object.values(element)[0]],\n metaCollection: filteredMeta,\n secondaryTitle: `Showing ${filteredMeta.length} properties with other ${filterKey}`,\n index: index\n })\n } else {\n chartData.datasets[5].label = `<span class=\"color-text ${colorClass}\">Other</span> ${otherTotal}`;\n chartData.datasets[5].data[0] += Object.values(element)[0];\n Array.prototype.push.apply(chartData.datasets[5].metaCollection, filteredMeta)\n }\n chartData.labels[5] = `<span class=\"color-text colorClass\">Other</span> ${otherTotal}`;\n\n dataTotal += Object.values(element)[0];\n }\n });\n\n chartData.datasets.forEach((dataset, index) => {\n let percentage = Math.round((dataset.data[0] / dataTotal) * 100)\n\n dataset.data[0] = percentage;\n chartData.labels[index] += ` (${percentage}%)`;\n dataset.label += ` (${percentage}%)`;\n });\n\n this.setState({chartData});\n }\n\n quartileRanges(filterKey, sortedArray, usePrimaryTitle) {\n let q1, q3, iqr, maxAllowable, minAllowable, normalAndOutliers, rangeMultiplier;\n\n if (usePrimaryTitle) {\n this.setState({titleText: `Showing ${sortedArray.length} properties in all price ranges`})\n }\n\n if (sortedArray.length > 6) {\n //find quartiles\n if ((sortedArray.length / 4) % 1 === 0) {\n q1 = 1/2 * (sortedArray[(sortedArray.length / 4)][filterKey] + sortedArray[(sortedArray.length / 4) + 1][filterKey]);\n q3 = 1/2 * (sortedArray[(sortedArray.length * (3 / 4))][filterKey] + sortedArray[(sortedArray.length * (3 / 4)) + 1][filterKey]);\n } else {\n q1 = sortedArray[Math.floor(sortedArray.length / 4 + 1)][filterKey];\n q3 = sortedArray.length == 7 ? sortedArray[6][filterKey] : sortedArray[Math.ceil(sortedArray.length * (3 / 4) + 1)][filterKey];\n }\n\n iqr = q3 - q1;\n // High outliers are anything beyond the 3rd quartile + 1.5 * the inter-quartile range (IQR)\n // Low outliers are anything beneath the 1st quartile - 1.5 * IQR\n // (most common method according to http://mathworld.wolfram.com/Outlier.html)\n maxAllowable = q3 + iqr * 1.5;\n minAllowable = q1 - iqr * 1.5;\n\n // normal is the 0 element of the matrix, outliers or \"other\" is 1\n normalAndOutliers = [[],[]]\n sortedArray.forEach((value) => {\n if ((value[filterKey] >= minAllowable) && (value[filterKey] <= maxAllowable)) {\n normalAndOutliers[0].push(value)\n } else {\n normalAndOutliers[1].push(value)\n }\n });\n\n rangeMultiplier = (maxAllowable - minAllowable) / 5\n } else {\n this.getTopFive(filterKey, sortedArray, usePrimaryTitle);\n return true;\n }\n\n this.buildQuartileData(filterKey, normalAndOutliers, rangeMultiplier);\n }\n\n buildQuartileData(filterKey, normalAndOutliers, rangeMultiplier) {\n let chartData = {labels: [], datasets: []};\n let dataTotal = 0;\n let otherTotal = 0;\n let colors = [...this.barColors];\n let colorClasses = [...this.colorClasses];\n let color, colorClass;\n\n for (var index = 0; index <= 5; index++) {\n var dataset = {\n stack: '1',\n label: '',\n data: [0],\n metaCollection: [],\n secondaryTitle: '',\n index: index\n }\n\n if (index === 0) {\n dataset.data[0] = normalAndOutliers[0].reduce((acc, dat) => {\n if ((dat[filterKey] > 0) && (dat[filterKey] < rangeMultiplier)) {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }\n return acc;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">${Math.floor(rangeMultiplier).toLocaleString()} - ${Math.ceil(rangeMultiplier * 2).toLocaleString()}</span> ${dataset.data[0]}`\n dataset.label = `<span class=\"color-text ${colorClass}\">$${Math.floor(rangeMultiplier).toLocaleString()} - $${Math.ceil(rangeMultiplier * 2).toLocaleString()}</span> ${dataset.data[0]}`\n dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties in $${Math.floor(rangeMultiplier).toLocaleString()} - $${Math.ceil(rangeMultiplier * 2).toLocaleString()} range`,\n dataTotal += dataset.data[0];\n }\n } else if (index <= 3) {\n dataset.data[0] = normalAndOutliers[0].reduce((acc, dat) => {\n if ((dat[filterKey] >= rangeMultiplier * (index)) && (dat[filterKey] < rangeMultiplier * (index + 1))) {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }\n return acc;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">${Math.floor(rangeMultiplier * (index + 1)).toLocaleString()} - ${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${dataset.data[0]}`\n dataset.label = `<span class=\"color-text ${colorClass}\">$${Math.floor(rangeMultiplier * (index + 1)).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${dataset.data[0]}`\n dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties in $${Math.floor(rangeMultiplier * (index + 1)).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()} range`,\n dataTotal += dataset.data[0];\n }\n } else if (index == 4) {\n // here we need to include values that are equal to the top end of the multiplier\n dataset.data[0] = normalAndOutliers[0].reduce((acc, dat) => {\n if ((dat[filterKey] >= rangeMultiplier * (index)) && (dat[filterKey] <= rangeMultiplier * (index + 1))) {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }\n return acc\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">${Math.floor(rangeMultiplier * (index + 1)).toLocaleString()} - ${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${dataset.data[0]}`\n dataset.label = `<span class=\"color-text ${colorClass}\">$${Math.floor(rangeMultiplier * (index + 1)).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${dataset.data[0]}`\n dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties in $${Math.floor(rangeMultiplier * (index + 1)).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()} range`,\n dataTotal += dataset.data[0];\n }\n } else {\n dataset.data[0] = normalAndOutliers[1].reduce((acc, dat) => {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">Other</span> ${dataset.data[0]}`\n dataset.label = `<span class=\"color-text ${colorClass}\">Other</span> ${dataset.data[0]}`\n dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties with other range`,\n dataTotal += dataset.data[0];\n }\n }\n\n if (dataset.data[0] > 0) {\n chartData.datasets.push(dataset);\n }\n }\n\n chartData.datasets.forEach((dataset, index) => {\n let percentage = Math.round((dataset.data[0] / dataTotal) * 100)\n\n dataset.data[0] = percentage;\n chartData.labels[index] += ` (${percentage}%)`;\n dataset.label += ` (${percentage}%)`;\n });\n\n\n this.setState({chartData});\n }\n\n sortValues(sortKey, data) {\n const multiplier = 1;\n const sorted = data.sort((a, b) => {\n const aVal = a[sortKey] ? a[sortKey] : 0;\n const bVal = b[sortKey] ? b[sortKey] : 0;\n return aVal > bVal ? multiplier : (aVal < bVal ? -multiplier : 0);\n })\n\n return sorted;\n }\n\n filterPrimary(primaryKey) {\n this.setState({primaryFilter: primaryKey});\n this.buildDatasets(primaryKey, this.state.stats, this.state.titleText, true);\n }\n\n filterSecondary(secondaryKey) {\n this.buildSecondaryData(this.state.secondaryData, secondaryKey, this.state.titleText);\n }\n\n determineInitialSecondary() {\n if (this.state.primaryFilter == 'price') {\n return 'bedrooms';\n } else {\n return 'price';\n }\n }\n\n startSecondaryData(secondaryData, secondaryKey, title) {\n !this.state.showSecondary && this.buildSecondaryData(secondaryData, secondaryKey, title);\n }\n\n buildSecondaryData(secondaryData, secondaryKey, title) {\n this.setState({secondaryData, secondaryFilter: secondaryKey, showSecondary: true, titleText: title});\n this.buildDatasets(secondaryKey, secondaryData, false);\n }\n\n closeSecondary = () => {\n this.setState({showSecondary: false, titleText: this.state.titleText});\n this.filterPrimary(this.state.primaryFilter)\n }\n\n render() {\n const options = {\n indexAxis: 'y',\n maintainAspectRatio: false,\n title: {\n display: true,\n text: this.state.titleText,\n position: 'top',\n fontSize: 12,\n fontFamily: 'Open Sans',\n fontStyle: 'normal'\n },\n barPercentage: 1,\n plugins: {\n legend: {\n display: false\n },\n tooltip: {\n titleFont: {\n family: 'Open Sans',\n size: 14,\n style: 'normal'\n },\n titleColor: '#808080',\n enabled: !this.state.showSecondary,\n backgroundColor: 'white',\n borderColor: 'gray',\n borderWidth: 1,\n titleMarginBottom: 0,\n cornerRadius: 0,\n callbacks: {\n label: (tooltipItem, data) => {\n return '';\n },\n title: (tooltipItem, data) => {\n return 'click for more insights';\n }\n }\n },\n },\n interaction: {\n mode: 'index'\n },\n scales: {\n x: {\n stacked: true,\n border: {\n display: false\n },\n grid: {\n display: false,\n },\n ticks: {\n display: false,\n max: 100\n },\n },\n y: {\n stacked: true,\n border: {\n display: false\n },\n grid: {\n display: false,\n },\n ticks: {\n display: false\n },\n barThickness: 40,\n }\n },\n layout: {\n padding: {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0\n }\n }\n }\n\n const filterValues = [\n {label: 'Price', value: 'price', disabled: this.state.primaryFilter == 'price' && this.state.showSecondary == true},\n // {label: 'Type', value: 'type'},\n {label: 'Beds', value: 'bedrooms', disabled: this.state.primaryFilter == 'bedrooms' && this.state.showSecondary == true},\n {label: 'Baths', value: 'bathrooms', disabled: this.state.primaryFilter == 'bathrooms' && this.state.showSecondary == true},\n // {label: 'SqFt', value: 'sqft'},\n {label: 'City', value: 'city', disabled: this.state.primaryFilter == 'city' && this.state.showSecondary == true},\n // {label: 'Area', value: 'area'},\n // {label: 'Neighborhood', value: 'neighborhood'},\n {label: 'Zip Code', value: 'zip', disabled: this.state.primaryFilter == 'zip' && this.state.showSecondary == true}\n ]\n\n const {stats} = this.state\n\n return (\n <div id='lead-dna'>\n <div className=\"row interaction-row\">\n <div className=\"col-xs-12\">\n <div className=\"white-panel\">\n <div className='row'>\n <div className='form-inline'>\n <div className='form-group'>\n <label className='inline-label'>Show distribution by: </label>\n <Dropdown\n containerClassName='leaddna-filter-dropdown'\n value={this.state.primaryFilter}\n options={filterValues}\n isSearchable={false}\n isClearable={false}\n isDisabled={this.state.showSecondary}\n menuShouldScrollIntoView\n onChange={opt => this.filterPrimary(opt.value, stats)}\n />\n </div>\n\n {this.state.showSecondary &&\n <div className='form-group'>\n <label className='inline-label'>Of that, show by: </label>\n <div id=\"secondary-select-wrapper\">\n <div id=\"secondary-close-box\" onClick={this.closeSecondary}>\n <i className=\"fa fa-times-circle\"></i>\n </div>\n <Dropdown\n containerClassName='secondary-filter-dropdown leaddna-filter-dropdown'\n value={this.state.secondaryFilter}\n options={filterValues}\n isSearchable={false}\n isClearable={false}\n menuShouldScrollIntoView\n onChange={opt => this.filterSecondary(opt.value)}\n />\n </div>\n </div>\n }\n </div>\n </div>\n\n <div className='row'>\n <div className='col-xs-12'>\n {stats.length > 0 ?\n <div>\n <div className=\"chart-container\">\n <Bar\n data={this.state.chartData}\n height={14}\n options={options}\n getDatasetAtEvent={dataset => this.startSecondaryData(this.state.chartData.datasets[dataset[0]._datasetIndex].metaCollection, this.determineInitialSecondary(), this.state.chartData.datasets[dataset[0]._datasetIndex].secondaryTitle)}\n />\n </div>\n <ChartLegend datasets={this.state.chartData.datasets} />\n </div>\n : null}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n )\n }\n};\n\nexport default LeadDNA;\n\nclass ChartLegend extends React.Component {\n render() {\n const datasets = _.map(this.props.datasets, function (ds, index) {\n return <li key={ds.label} className={`${ds.color}`} dangerouslySetInnerHTML={{__html: ds.label}}></li>;\n });\n\n return (\n <ul className={\"leaddna-legend\" }>\n { datasets }\n </ul>\n );\n }\n};\n","import { actionTypes } from \"./actionTypes\";\n\nexport const openPondModal = (payload) => (dispatch) => {\n dispatch({ type: actionTypes.openPondModal, ...payload });\n};\n\nexport const closePondModal = () => (dispatch) => {\n dispatch({ type: actionTypes.closePondModal });\n};\n\nexport const createPondStart = (data) => ({ type: actionTypes.createPond, ...data });\nexport const createPondSuccess = (data) => ({ type: actionTypes.createPondSuccess, ...data });\nexport const createPondError = (data) => ({ type: actionTypes.createPondError, ...data });\nexport const updatePondStart = (data) => ({ type: actionTypes.updatePond, ...data });\nexport const updatePondSuccess = (data) => ({ type: actionTypes.updatePondSuccess, ...data });\nexport const updatePondError = (data) => ({ type: actionTypes.updatePondError, ...data });\nexport const removePondSuccess = (data) => ({ type: actionTypes.removePondSuccess, ...data });\nexport const removePondError = (data) => ({ type: actionTypes.removePondError, ...data });\nexport const duplicateCheckSuccess = (data) => ({ type: actionTypes.duplicateCheckSuccess, ...data });\nexport const duplicateCheckError = (data) => ({ type: actionTypes.duplicateCheckError, ...data });\nexport const loadMorePondsSuccess = (data) => ({ type: actionTypes.loadMorePondsSuccess, ...data });\nexport const loadMorePondsError = (data) => ({ type: actionTypes.loadMorePondsError, ...data });\nexport const getAssignableUsersSuccess = (data) => ({ type: actionTypes.getAssignableUsersSuccess, ...data });\nexport const getAssignableUsersError = (data) => ({ type: actionTypes.getAssignableUsersError, ...data });\nexport const updatePondInSidebar = (pond) => {\n const count = document.getElementsByClassName(` brivity-nav-lead-count ${pond.id}-count`)[0];\n if (count) {\n const link = count.closest(\"a\");\n link.innerText = pond.name;\n link.append(count);\n }\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Button = ({\n title = null,\n children = null,\n icon = null,\n type = \"primary\",\n onClick = () => {},\n className = \"\",\n iconClass = \"\",\n disabled = false,\n ...props\n}) => {\n let btnBase = \"tw-text-[14px] tw-border-2 tw-border-solid tw-font-bold\";\n const btnSpacing = `tw-py-2 tw-px-8`;\n const btnTypes = {\n default: \"tw-text-gray-75 tw-bg-transparent tw-border-transparent\",\n primary: `tw-uppercase tw-bg-teal tw-text-white tw-border-teal tw-rounded-full ${btnSpacing}`,\n cancel: `tw-uppercase tw-bg-neutral-gray-10 tw-text-gray-75 tw-border-neutral-gray-10 tw-rounded-full ${btnSpacing}`,\n \"soft-cancel\": `tw-uppercase tw-bg-transparent tw-text-teal tw-border-teal tw-rounded-full ${btnSpacing}`,\n remove: `tw-uppercase tw-bg-transparent tw-text-red-500 tw-border-red-500 tw-rounded-full ${btnSpacing}`,\n \"hard-remove\": `tw-uppercase tw-bg-red-500 tw-text-white tw-border-red-500 tw-rounded-full ${btnSpacing}`,\n };\n // add disabled styles\n if (disabled) {\n btnBase += \" tw-opacity-30\";\n }\n return (\n <button\n type=\"button\"\n data-cy={props[\"data-cy\"]}\n disabled={disabled}\n onClick={onClick}\n className={`${btnBase} ${btnTypes[type]} ${className}`}\n >\n {icon && <i className={`fa ${icon} ${iconClass} ${title || children ? \" tw-mr-4\" : \"\"}`} />}\n {title}\n {children}\n </button>\n );\n};\n\nButton.propTypes = {\n title: PropTypes.string,\n children: PropTypes.node,\n \"data-cy\": PropTypes.string,\n icon: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func,\n className: PropTypes.string,\n iconClass: PropTypes.string,\n disabled: PropTypes.bool,\n};\n\nButton.defaultProps = {\n title: null,\n children: null,\n \"data-cy\": undefined,\n icon: null,\n type: \"primary\",\n onClick: () => {},\n className: \"\",\n iconClass: \"\",\n disabled: false,\n};\n\nexport default Button;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport * as actions from \"../actions/default\";\nimport Button from \"./Button\";\n\nconst mapStateToProps = (state) => ({\n // notificationsOn: state.leadPonds.leadPondsNotificationsOn,\n isAdmin: state.leadPonds.isAdmin,\n});\n\nconst PageHeader = ({\n title = \"\",\n copy = \"\",\n buttonTitle = \"\",\n isAdmin,\n openPondModal,\n isDisabled = false,\n buttonTooltipContent = null,\n}) => {\n const buttonElement = (\n <Button\n data-cy=\"lp-header-action\"\n title={buttonTitle}\n icon=\"fa-plus\"\n onClick={() => {\n openPondModal();\n }}\n disabled={isDisabled}\n />\n );\n\n return (\n <section className=\"tw-sticky tw-left-0 tw-py-20 tw-px-16 tw-mb-8 tw-bg-white\" data-cy=\"lp-header\">\n <div className=\"tw-flex tw-mb-8\">\n <h2 className=\"tw-grow\">{title}</h2>\n {isAdmin && (\n <>\n {isDisabled && buttonTooltipContent ? (\n <Tooltip placement=\"top\" multiline trigger={buttonElement} content={buttonTooltipContent} />\n ) : (\n buttonElement\n )}\n </>\n )}\n </div>\n <p className=\"tw-pb-8\">{copy}</p>\n {/* <p>\n {notification.title}\n <a href={notification.link} className=\"tw-pl-4 tw-text-teal\">\n Manage\n <i className=\"fa fa-chevron-right tw-pl-4\" />\n </a>\n </p> */}\n </section>\n );\n};\n\nPageHeader.propTypes = {\n title: PropTypes.string.isRequired,\n copy: PropTypes.string.isRequired,\n buttonTitle: PropTypes.string.isRequired,\n isAdmin: PropTypes.bool.isRequired,\n openPondModal: PropTypes.func.isRequired,\n isDisabled: PropTypes.bool,\n buttonTooltipContent: PropTypes.string,\n};\n\nPageHeader.defaultProps = {\n isDisabled: false,\n buttonTooltipContent: null,\n};\n\nexport default connect(mapStateToProps, actions)(PageHeader);\n","import React from \"react\";\nimport Avatar from \"@shared/v2/Avatar\";\n\nconst UserListing = ({ name = \"\", imageUrl = \"\" }) => (\n <div className=\"tw-flex tw-items-center\">\n <Avatar className=\"tw-mr-4\" size=\"medium\" src={imageUrl} alt={`${name}`} />\n <span className=\"\">{name}</span>\n </div>\n);\n\nexport default UserListing;\n","const paddingDictionary = {\n \"extra-large\": \"tw-pl-20px\",\n large: \"tw-pl-15px\",\n medium: \"tw-pl-10px\",\n \"medium-small\": \"tw-pl-10px\",\n small: \"tw-pl-5px\",\n};\n\nexport const paddingValue = (size) => paddingDictionary[size];\n\nconst avatarMarginDictionary = {\n \"extra-large\": \"tw-ml-[-20px]\",\n large: \"tw-ml-[-15px]\",\n medium: \"tw-ml-[-10px]\",\n \"medium-small\": \"tw-ml-[-10px]\",\n small: \"tw-ml-[-5px]\",\n};\n\nexport const avatarMarginValue = (size) => avatarMarginDictionary[size];\n\nexport const sizeBasedClasses = (size) => paddingValue(size);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport AvatarPlaceholder from \"../Avatar/AvatarPlaceholder\";\nimport { availableSizes } from \"../Avatar/Avatar.styles\";\nimport { avatarMarginValue, sizeBasedClasses } from \"./AvatarGroup.styles\";\n\nconst AvatarGroup = ({ className, size, max, children }) => {\n const childrenArray = Array.isArray(children) ? children : [children];\n\n const hiddenAvatarsCount = Math.max(0, childrenArray.length - max);\n\n const visibleAvatars = childrenArray.slice(0, max).reverse();\n\n return (\n <div\n className={`\n tw-flex tw-flex-row-reverse tw-justify-end tw-items-center\n ${sizeBasedClasses(size)}\n ${className}\n `}\n >\n {hiddenAvatarsCount > 0 && (\n <AvatarPlaceholder\n className={avatarMarginValue(size)}\n size={size}\n border=\"tinted\"\n hiddenCount={hiddenAvatarsCount}\n />\n )}\n\n {visibleAvatars.map((avatar, index) =>\n React.cloneElement(avatar, {\n // `avatar` doesn't have any properties that can be used as a stable key,\n // and reordering the avatar array is unlikely to be a hot path / common operation,\n // so we're better off just silencing in this instance.\n // eslint-disable-next-line react/no-array-index-key\n key: `avatar-${index}`,\n className: [avatar.props?.className, avatarMarginValue(size)].filter(Boolean).join(\" \"),\n size,\n border: \"tinted\",\n }),\n )}\n </div>\n );\n};\n\nAvatarGroup.propTypes = {\n className: PropTypes.string,\n size: PropTypes.oneOf(availableSizes),\n max: PropTypes.number,\n children: PropTypes.node,\n};\n\nAvatarGroup.defaultProps = {\n className: \"\",\n size: \"small\",\n max: 4,\n children: null,\n};\n\nexport default AvatarGroup;\n","import React, { useEffect, useState } from \"react\";\nimport { debounce } from \"lodash\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport AvatarGroup from \"@shared/v2/AvatarGroup\";\n\nconst userCollectionListing = ({ users = [], max = 4 }) => {\n const [showFullList, toggleUserList] = useState(0);\n\n const toggleUserListFn = debounce((val) => {\n toggleUserList(val);\n }, 150);\n\n return (\n <span\n className=\"tw-inline-flex tw-relative tw-cursor-pointer\"\n onMouseOver={() => {\n toggleUserListFn(1);\n }}\n onMouseOut={() => {\n toggleUserListFn(0);\n }}\n >\n <AvatarGroup max={max} size=\"medium\">\n {users.map((user) => {\n return <Avatar key={user.uuid} src={user.image_url} alt={`${user.name}`} />;\n })}\n </AvatarGroup>\n {showFullList ? (\n <div className=\"tw-absolute tw-right-0 tw-w-52 tw-mh-72 tw-z-50 tw--mr-56\">\n <div className=\" tw-absolute tw-h-[10px] tw-w-[10px] tw--left-5px tw-top-15px tw-bg-gray-50 tw-rotate-45 tw--z-1\" />\n <div className=\"tw-h-full tw-w-full tw-p-3 tw-rounded-md tw-overflow-y-auto tw-overflow-x-hidden tw-z-1 tw-bg-gray-50 \">\n {users.map((user) => {\n return (\n <a\n onClick={(e) => {\n e.stopPropagation();\n }}\n key={user.uuid}\n href={`/people/${user.slug}?tab=details-tab`}\n title={user.name}\n className=\"tw-block tw-text-white tw-overflow-hidden tw-whitespace-nowrap tw-text-ellipsis tw-w-full\"\n >\n {user.name}\n </a>\n );\n })}\n </div>\n </div>\n ) : null}\n </span>\n );\n};\n\nexport default userCollectionListing;\n","import React, { useState, useEffect } from \"react\";\nimport Button from \"./Button\";\nimport UserListing from \"./UserListing\";\nimport UserCollectionListing from \"./UserCollectionListing\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst PondTableRow = ({ pond, editPond, isAdmin, ...props }) => {\n const [cellStyles, setStyles] = useState(\"lp-tr tw-p-4 tw-border-b\");\n useEffect(() => {\n setStyles(cellStyles + \" on\");\n }, []);\n return (\n <tr>\n <>\n <td className={cellStyles + \" tw-mw-[300px] tw-w-[300px]\"}>\n <Button\n type=\"default\"\n onClick={() => {\n editPond(pond);\n }}\n >\n {pond.name ? pond.name : \"Untitled Pond\"}\n </Button>\n </td>\n <td className={cellStyles}>\n <a href={`/people/${pond.display_agent.slug}?tab=details-tab`}>\n <UserListing name={pond.display_agent.name} imageUrl={pond.display_agent.image_url} />\n </a>\n </td>\n <td\n className={cellStyles}\n onClick={() => {\n editPond(pond);\n }}\n >\n <UserCollectionListing users={pond.accessible_by_users} />\n </td>\n <td className={cellStyles}>\n <a href={`/people/${pond.created_by.slug}?tab=details-tab`}>\n <UserListing name={pond.created_by.name} imageUrl={pond.created_by.image_url} />\n </a>\n </td>\n <td className={cellStyles}>\n <a href={`/people/${pond.last_modified_by.slug}?tab=details-tab`}>\n <UserListing name={pond.last_modified_by.name} imageUrl={pond.last_modified_by.image_url} />\n </a>\n </td>\n {isAdmin && (\n <td className={`${cellStyles} tw-text-center`}>\n <IconButton size=\"medium\" schema=\"transparent\" onClick={() => editPond(pond)}>\n <PencilSolidV6 />\n </IconButton>\n </td>\n )}\n </>\n </tr>\n );\n};\n\nexport default PondTableRow;\n","import axios from \"axios\";\n\nexport const createPondApiFn = (model) =>\n axios.post(\"/lead_ponds\", {\n ...model,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const updatePondApiFn = (model) =>\n axios.put(`/lead_ponds/${model.id}`, {\n ...model,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const deletePondApiFn = (id) =>\n axios.delete(`/lead_ponds/${id}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n headers: {\n \"X-CSRF-Token\": document.querySelector(\"meta[name=csrf-token]\").content,\n },\n });\n\nexport const duplicateCheckApiFn = (name) =>\n axios.get(`/lead_ponds?format=json&duplicate_check=${name}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const loadMoreApiFn = (page, pageSize) =>\n axios.get(`/lead_ponds?format=json&page=${page}&per_page=${pageSize}`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const getAssignableUsersApiFn = () =>\n axios.get(`/account_active_agents`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n","import { actionTypes } from \"./actionTypes\";\nimport {\n createPondApiFn,\n updatePondApiFn,\n deletePondApiFn,\n loadMoreApiFn,\n getAssignableUsersApiFn,\n duplicateCheckApiFn,\n} from \"../api\";\n\nimport {\n // addPondToSidebar,\n updatePondInSidebar,\n createPondStart,\n createPondSuccess,\n createPondError,\n updatePondStart,\n updatePondSuccess,\n updatePondError,\n removePondSuccess,\n removePondError,\n duplicateCheckSuccess,\n duplicateCheckError,\n loadMorePondsSuccess,\n loadMorePondsError,\n getAssignableUsersSuccess,\n getAssignableUsersError,\n} from \"./default\";\n\nexport const createPond = (model) => async (dispatch) => {\n dispatch(createPondStart());\n const onSuccess = (response) => {\n dispatch(createPondSuccess({ leadPond: response.data.lead_pond }));\n // addPondToSidebar(response.data.lead_pond)\n };\n const onFailure = (error) => dispatch(createPondError({ error }));\n createPondApiFn(model).then(onSuccess).catch(onFailure);\n};\n\nexport const updatePond = (model) => async (dispatch) => {\n dispatch(updatePondStart());\n const onSuccess = (response) => {\n updatePondInSidebar(response.data.lead_pond);\n dispatch(updatePondSuccess({ leadPond: response.data.lead_pond }));\n };\n const onFailure = (error) => dispatch(updatePondError({ error }));\n updatePondApiFn(model).then(onSuccess).catch(onFailure);\n};\n\nexport const removePond = (id) => async (dispatch) => {\n const onSuccess = (response) => dispatch(removePondSuccess({ id: response.data.id }));\n const onFailure = (error) => dispatch(removePondError({ error }));\n deletePondApiFn(id).then(onSuccess).catch(onFailure);\n};\n\n// eslint-disable-next-line consistent-return\nexport const duplicateCheck = (name) => async (dispatch) => {\n if (name <= \"\") {\n // ensure we have a name to check\n return dispatch({ type: actionTypes.duplicateCheckClear });\n }\n dispatch({ type: actionTypes.duplicateCheck });\n const onSuccess = (response) => dispatch(duplicateCheckSuccess({ results: response.data.page }));\n const onFailure = (error) => dispatch(duplicateCheckError({ error }));\n duplicateCheckApiFn(name).then(onSuccess).catch(onFailure);\n};\n\nexport const loadMorePonds = (page, pageSize) => async (dispatch) => {\n const onSuccess = (response) => dispatch(loadMorePondsSuccess(response.data));\n const onFailure = (error) => dispatch(loadMorePondsError({ error }));\n loadMoreApiFn(page, pageSize).then(onSuccess).catch(onFailure);\n};\n\nexport const getAssignableUsers = () => async (dispatch) => {\n const onSuccess = (response) => dispatch(getAssignableUsersSuccess({ users: response.data }));\n const onFailure = (error) => dispatch(getAssignableUsersError({ error }));\n getAssignableUsersApiFn().then(onSuccess).catch(onFailure);\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Button from \"./Button\";\nimport PondTableRow from \"./PondTableRow\";\n\nimport * as actions from \"../actions/default\";\nimport * as apiActions from \"../actions/apiActions\";\n\nconst mapStateToProps = (state) => ({\n collection: state.leadPonds.leadPondsCollection,\n pageSize: state.leadPonds.pageSize,\n page: state.leadPonds.page,\n totalPages: state.leadPonds.totalPages,\n isLoadingMore: state.leadPonds.isLoadingMore,\n isAdmin: state.leadPonds.isAdmin,\n});\n\nconst columns = [\n { title: \"Pond Name\" },\n { title: \"Display Agent\" },\n { title: \"Accessible To\" },\n { title: \"Created By\" },\n { title: \"Last Modified By\" },\n { title: \"Edit\" },\n];\n\nconst PondTable = ({\n collection,\n openPondModal,\n loadMorePonds,\n isLoadingMore,\n pageSize,\n page,\n totalPages,\n isAdmin,\n}) => {\n const hasMore = totalPages >= page;\n return collection.length === 0 ? (\n <>\n <p className=\"tw-text-center tw-my-10 tw-text-gray-50\">You don’t have any lead ponds created yet.</p>\n <Button\n className=\"tw-mx-auto tw-block\"\n title=\"New lead pond\"\n icon=\"fa-plus\"\n onClick={() => {\n openPondModal();\n }}\n />\n </>\n ) : (\n <div className=\"tw-h-full tw-grow tw-w-full\">\n <section className=\" lp-table-section tw-w-full\">\n <table className=\"data tw-w-full tw-text-[14px] tw-mb-4\">\n <thead>\n <tr>\n {columns.map((col) => (\n <th key={col.title.replace(/' '/g, \"_\")} className=\"tw-font-normal tw-px-4\">\n <small>{col.title}</small>\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {collection.map((pond) => (\n <PondTableRow\n key={pond.id}\n isAdmin={isAdmin}\n editPond={() => {\n openPondModal({ pond });\n }}\n pond={pond}\n />\n ))}\n </tbody>\n </table>\n <div className=\"tw-w-full tw-sticky tw-left-0\">\n <div className=\"tw-flex tw-justify-center \">\n {hasMore ? (\n <div>\n <Button\n data-cy=\"lp-load-more\"\n disabled={isLoadingMore}\n title={isLoadingMore ? \"Loading...\" : \"Load More Ponds\"}\n onClick={() => {\n loadMorePonds(page, pageSize);\n }}\n />\n </div>\n ) : null}\n </div>\n </div>\n </section>\n\n <div className=\"tw-h-[100px] tw-mb-20 \" />\n </div>\n );\n};\n\nPondTable.propTypes = {\n collection: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n openPondModal: PropTypes.func.isRequired,\n loadMorePonds: PropTypes.func.isRequired,\n isLoadingMore: PropTypes.bool.isRequired,\n pageSize: PropTypes.number.isRequired,\n page: PropTypes.number.isRequired,\n totalPages: PropTypes.number.isRequired,\n isAdmin: PropTypes.bool.isRequired,\n};\n\nexport default connect(mapStateToProps, { ...actions, ...apiActions })(PondTable);\n","import { useEffect } from \"react\";\nimport { isEqual, filter } from \"lodash\";\nimport { useDebounce as useDebounceFn } from \"../shared/hookHelpers\";\n\nexport const getFirstLettersOfString = (letterString = \"\", partCount = 2) => {\n const includeSpaces = false;\n // break the string to an array on spaces\n const parts = letterString.split(\" \");\n // determine the max number of letters to return\n const maxParts = partCount > parts.length ? parts.length : partCount;\n\n // set the return string\n let retString = \"\";\n if (maxParts > 0) {\n // loop through the avail. parts\n let loopIdx = 0;\n for (loopIdx; loopIdx < maxParts; loopIdx += 1) {\n // add the first letter of the string part to the retrun string\n retString += parts[loopIdx][0] + (includeSpaces ? \" \" : \"\");\n }\n // remove trailing spaces\n retString.trim();\n }\n return retString.toUpperCase();\n};\n\nexport const useDebounce = useDebounceFn;\n\nexport const useSetViewWrapper = () =>\n useEffect(() => {\n // get the view wrapper\n const el = document.getElementsByClassName(\"content-wrapper\")[0];\n const cname = \"fp-reset-wrap\";\n if (el) {\n // add custom view class\n el.classList.add(cname);\n return () => {\n // remove custom view class\n el.classList.remove(cname);\n };\n }\n return () => {};\n }, []);\n\nexport const useLoadImage = (src, setFn) =>\n useEffect(() => {\n if (!src) {\n return;\n }\n // Load the passed in image src\n const img = document.createElement(\"img\");\n img.onload = () => {\n setFn(src);\n };\n img.onerror = () => {\n console.log(\"can not load image\", src);\n };\n img.src = src;\n }, [src]);\n\nexport const useToggleUsers = (users, setFn) => (agent) => {\n // check if it exists\n const existing = users ? [...users] : [];\n const fnd = filter(existing, (u) => u.uuid === agent.uuid);\n if (fnd.length === 0) {\n // add it if not found\n setFn([...existing, agent]);\n } else {\n // remove the user\n const removed = filter(existing, (u) => u.uuid !== agent.uuid);\n setFn(removed);\n }\n};\n\nexport const useCanSaveModel = (orig, model, hasDuplicate) => {\n const isDirty = !isEqual(orig, model);\n // Flag if the model is complete enough to save\n return (\n model.name > \"\" &&\n !hasDuplicate &&\n model.accessible_by_users &&\n model.accessible_by_users.length > 0 &&\n model.display_agent &&\n isDirty\n );\n};\n\nexport const useSetModel = (model, setModel) =>\n useEffect(() => {\n setModel(model ? { ...model } : {});\n }, [model]);\n\nexport const useSetUserOptions = (collection, setFn) =>\n useEffect(() => {\n if (collection && collection.length) {\n setFn(\n collection.map((u) => ({\n label: u.name,\n value: { ...u },\n })),\n );\n }\n }, [collection]);\n\nexport const useDuplicateCheck = (term, checkFn) =>\n useEffect(() => {\n checkFn(term);\n }, [term]);\n\nexport const useInitUsers = (loadFn) =>\n useEffect(() => {\n loadFn();\n }, []);\n\n// Change the model based on key - removeKey param will delete the objects key/val pair\nexport const useSetValue =\n (setFn) =>\n (key, val, removeKey = false) => {\n setFn((p) => {\n // eslint-disable-next-line no-param-reassign\n p[key] = val;\n if (removeKey) {\n // eslint-disable-next-line no-param-reassign\n delete p[key];\n }\n return { ...p };\n });\n };\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst FormLabel = ({ htmlFor = null, title = \"Form Label\", copy = null, required = false }) => (\n <div className=\"tw-mt-8 tw-mb-4 tw-text-[14px]\">\n <label htmlFor={htmlFor} className=\"tw-font-semibold tw-text-gray-50\">\n {title}\n {required ? <i className=\"tw-text-red-500 tw-mx-3\">*</i> : null}\n </label>\n {copy ? <p className=\"tw-mt-2\">{copy}</p> : null}\n </div>\n);\n\nFormLabel.propTypes = {\n htmlFor: PropTypes.string,\n title: PropTypes.string,\n copy: PropTypes.string,\n required: PropTypes.bool,\n};\n\nFormLabel.defaultProps = {\n htmlFor: null,\n title: \"Form Label\",\n copy: null,\n required: false,\n};\n\nexport default FormLabel;\n","import React from \"react\";\nimport Button from \"./Button\";\nimport UserListing from \"./UserListing\";\n\nconst RemoveableUser = ({ id, name, imageUrl, image, onClick, block = false }) => (\n <span className={!block ? \"tw-inline-flex\" : \"tw-flex tw-my-2\"}>\n <UserListing name={name} imageUrl={imageUrl} image={image} />\n <Button className=\"tw-ml-4\" type=\"default\" onClick={onClick} icon=\"fa-close\" className=\"tw-text-center\" />\n </span>\n);\n\nexport default RemoveableUser;\n","import React from \"react\";\nimport { filter } from \"lodash\";\nimport UserListing from \"./UserListing\";\nimport { Dropdown } from \"../../shared/v1\";\nimport Button from \"./Button\";\n\nconst UserOption = (props) => {\n const {\n data: { label, value },\n selectProps: { selectedValues, onSelect, isMultiSelect },\n isFocused,\n } = props;\n\n // flag if the option is selected from the user array\n const isSelected = filter(selectedValues, (u) => u.uuid === value.uuid).length > 0;\n return (\n <Button\n type=\"default\"\n onClick={(evt) => {\n evt.preventDefault();\n onSelect(value);\n }}\n className={`tw-flex tw-items-center tw-w-full tw-py-2 tw-px-4${isFocused ? \" tw-bg-gray-20\" : \"\"}`}\n >\n {isMultiSelect && <i className={`tw-pr-4 fa fa-${isSelected ? \"check-square-o\" : \"square-o\"}`} />}\n <UserListing name={label} imageUrl={value.image_url} />\n </Button>\n );\n};\n\nconst UserSelect = ({\n className,\n options = [],\n value = null,\n isLoading = false,\n isMultiSelect = false,\n onSelect,\n ...props\n}) => (\n <div data-cy={props[\"data-cy\"]} className=\"tw-relative\">\n <Dropdown\n value={null}\n options={options}\n isLoading={isLoading}\n isClearable={false}\n isSearchable\n isMultiSelect={isMultiSelect}\n placeholder=\"Search or select users\"\n components={{ Option: UserOption }}\n selectedValues={value}\n onSelect={onSelect}\n />\n </div>\n);\n\nexport default UserSelect;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal } from \"react-bootstrap\";\nimport Button from \"./Button\";\n\nconst DeleteConfirm = ({ close, confirm }) => (\n <Modal\n show\n onHide={close}\n bsPrefix=\"lp-delete\"\n backdropClassName=\"lp-delete-bck\"\n dialogClassName=\"tw-max-w-xl tw-mt-20\"\n >\n <div className=\"tw-p-6\">\n <h2 className=\"tw-mb-10\">Delete pond?</h2>\n <p>All leads in this pond will be reassigned to the account owner.</p>\n <div className=\"tw-flex tw-mt-20\">\n <Button type=\"cancel\" title=\"Cancel\" onClick={close} />\n <div className=\"tw-grow\" />\n <Button type=\"hard-remove\" title=\"Delete\" onClick={confirm} />\n </div>\n </div>\n </Modal>\n);\n\nDeleteConfirm.propTypes = {\n close: PropTypes.func.isRequired,\n confirm: PropTypes.func.isRequired,\n};\n\nexport default DeleteConfirm;\n","import React, { useEffect, useState, useRef } from \"react\";\nimport { connect } from \"react-redux\";\nimport { filter } from \"lodash\";\nimport { Modal } from \"react-bootstrap\";\nimport {\n useDebounce,\n useToggleUsers,\n useCanSaveModel,\n useSetModel,\n useSetUserOptions,\n useDuplicateCheck,\n useInitUsers,\n useSetValue,\n} from \"../helpers\";\nimport Input from \"../../shared/Input\";\nimport FormLabel from \"./FormLabel\";\nimport Button from \"./Button\";\nimport RemoveableUser from \"./RemoveableUser\";\nimport UserSelect from \"./UserSelect\";\nimport DeleteConfirm from \"./DeleteConfirm\";\n\nimport * as actions from \"../actions/default\";\nimport * as apiActions from \"../actions/apiActions\";\nimport Toggle from \"../../shared/v2/Toggle\";\n\nconst mapStateToProps = (state) => ({\n isOpen: state.leadPonds.isModalOpen,\n isSaving: state.leadPonds.isSaving,\n hasSaveError: state.leadPonds.hasSaveError,\n pond: state.leadPonds.pondData,\n isLoadingUsers: state.leadPonds.isLoadingUsers ? true : false,\n usersCollection: state.leadPonds.usersCollection,\n hasDuplicate: state.leadPonds.hasDuplicate,\n});\n\nconst PondModal = ({\n isOpen,\n pond,\n usersCollection = [],\n isLoadingUsers,\n closePondModal,\n createPond,\n isSaving,\n hasSaveError,\n updatePond,\n removePond,\n duplicateCheck,\n getAssignableUsers,\n hasDuplicate,\n}) => {\n const input = useRef();\n const [model, setModel] = useState({});\n const [showConfirm, setConfirm] = useState(0);\n const [userOptions, setUserOptions] = useState([]);\n const debouncedDuplicateTerm = useDebounce(model.name, 500);\n const [saveClicked, setSaveClicked] = useState(0);\n // reset pond value with new props instance\n useSetModel(pond, setModel);\n // enforce unique names\n useDuplicateCheck(debouncedDuplicateTerm, duplicateCheck);\n // load inital user data\n useInitUsers(getAssignableUsers);\n // set the user options once avail\n useSetUserOptions(usersCollection, setUserOptions);\n\n useEffect(() => {\n if (saveClicked && !isSaving && !hasSaveError) {\n closePondModal();\n }\n }, [isSaving]);\n // Change the model based on key\n const setValue = useSetValue(setModel);\n\n const setAgent = (agent) => {\n setValue(\"display_agent\", {\n ...model.display_agent,\n ...agent,\n });\n };\n\n const toggleUser = useToggleUsers(model.accessible_by_users, (col) => {\n setValue(\"accessible_by_users\", [...col]);\n });\n\n // Close the confirmation modal\n const closeConfirm = () => {\n setConfirm(0);\n };\n\n const confirmDelete = () => {\n removePond(model.id);\n closeConfirm();\n closePondModal();\n };\n\n // Flag if this is a new pond\n const isNew = model.id == null;\n // Flag if the model is saveable\n const canSave = useCanSaveModel(pond, model, hasDuplicate);\n return (\n <>\n <Modal show={isOpen} onHide={closePondModal}>\n <div className=\"tw-p-[32px]\">\n <div className=\"tw-flex tw-pb-10 tw-mt-5\">\n <h2 className=\"tw-flex-grow m-0 tw-text-xl tw-text-teal\">{`${\n isNew ? \"New\" : \"Edit\"\n } Lead Pond`}</h2>\n <button\n className=\"tw-block tw-text-base tw-border-0 tw-h-10 tw-w-10 tw-bg-gray-30 tw-rounded-full tw-ml-8\"\n onClick={() => {\n closePondModal();\n }}\n >\n <i className=\"fa fa-close\" />\n </button>\n </div>\n <div className=\"tw-h-[1px] tw-bg-gray-15\" />\n {/*<Modal.Body>*/}\n <FormLabel htmlFor=\"lp-name\" title=\"Pond Name\" required={!model.name || model.name <= \"\"} />\n <Input\n ref={input}\n data-cy=\"lp-name-input\"\n type=\"text\"\n autoFocus\n id=\"lp-name\"\n className={`lp-input tw-w-full tw-py-2 tw-px-4 tw-bg-gray-5 tw-border tw-outline-none tw-border-solid tw-rounded-sm tw-text-[14px]\n ${hasDuplicate ? \"tw-border-red-500\" : \"tw-border-gray-15\"}`}\n onChange={(e) => {\n setValue(\"name\", e.target.value);\n }}\n value={model.name}\n placeholder=\"Enter the name for the lead pond\"\n />\n <small\n data-cy=\"lp-dup-error\"\n className={`tw-block tw-text-red-500 tw--mb-6 ${hasDuplicate ? \"\" : \"tw-invisible\"}`}\n >\n A pond with the same name already exists.\n </small>\n <FormLabel\n htmlFor=\"lp-agent\"\n title=\"Display Agent\"\n copy=\"Choose a user to display their headshot, name, email, and phone in any auto emails sent to the leads in the Lead Pond, including Listing Alerts.\"\n required={!model.display_agent}\n />\n {!model.display_agent ? (\n <UserSelect\n value={model.agent}\n isLoading={isLoadingUsers}\n options={userOptions}\n onSelect={setAgent}\n data-cy=\"lp-agent-select\"\n />\n ) : (\n <RemoveableUser\n name={model.display_agent.name}\n imageUrl={model.display_agent.image_url}\n image={model.display_agent.image}\n onClick={() => {\n // delete it from the model\n setValue(\"display_agent\", null, true);\n }}\n />\n )}\n\n <FormLabel\n htmlFor=\"lp-users\"\n title=\"Pond Users\"\n copy=\"Choose which users will have access to this pond. Account admins will automatically have access to this Pond.\"\n required={!model.accessible_by_users || model.accessible_by_users.length == 0}\n />\n <div className=\"tw-mb-5\">\n <Toggle\n id=\"notify_agents_of_new_leads\"\n name=\"notify_agents_of_new_leads\"\n value={model.notify_agents_of_new_leads}\n checked={model.notify_agents_of_new_leads === true}\n disabled={false}\n onChange={() => {\n setValue(\"notify_agents_of_new_leads\", !model.notify_agents_of_new_leads);\n }}\n text=\"Notify agents of new leads\"\n />\n </div>\n <UserSelect\n value={model.accessible_by_users}\n isLoading={isLoadingUsers}\n isMultiSelect\n options={userOptions.filter((u) => u.value.user_type !== \"Admin\")}\n onSelect={toggleUser}\n data-cy=\"lp-users-select\"\n />\n {model.accessible_by_users\n ? model.accessible_by_users.map((user) => (\n <RemoveableUser\n block\n key={user.uuid}\n name={user.name}\n imageUrl={user.image_url}\n image={user.image}\n onClick={() => {\n // delete it from the model\n const cleared = filter([...model.accessible_by_users], (u) => u.uuid != user.uuid);\n setValue(\"accessible_by_users\", cleared);\n }}\n />\n ))\n : null}\n <div className=\"tw-flex tw-mt-20\">\n <Button\n type=\"cancel\"\n title=\"Cancel\"\n onClick={() => {\n closePondModal();\n }}\n />\n <div className=\"tw-grow\" />\n\n {isNew ? (\n <Button\n data-cy=\"lp-submit\"\n title={isSaving ? <i className=\"fa fa-spinner fa-pulse\" /> : \"Create Pond\"}\n disabled={!canSave}\n onClick={() => {\n createPond(model);\n setSaveClicked(true);\n }}\n />\n ) : (\n <>\n <Button\n data-cy=\"lp-remove\"\n type=\"remove\"\n title=\"Delete Pond\"\n onClick={() => {\n setConfirm(1);\n }}\n className=\"tw-mr-6\"\n />\n <Button\n data-cy=\"lp-submit\"\n title={isSaving ? <i className=\"fa fa-spinner fa-pulse\" /> : \"Save\"}\n disabled={!canSave}\n onClick={() => {\n updatePond(model);\n setSaveClicked(true);\n }}\n />\n </>\n )}\n </div>\n </div>\n </Modal>\n {showConfirm ? <DeleteConfirm close={closeConfirm} confirm={confirmDelete} /> : null}\n </>\n );\n};\n\nexport default connect(mapStateToProps, { ...actions, ...apiActions })(PondModal);\n","import React from \"react\";\nimport { useSelector } from \"react-redux\";\nimport PageHeader from \"../components/PageHeader\";\nimport PondTable from \"../components/PondTable\";\nimport PondModal from \"../components/PondModal\";\nimport \"../styles/LeadPonds.sass\";\n\nconst LeadPonds = () => {\n const notificationsOn = useSelector((state) => state.leadPonds.leadPondsNotificationsOn);\n const alert = useSelector((state) => state.leadPonds.alert);\n const isDisabled = useSelector((state) => state.leadPonds.maximumPondsReached);\n\n return (\n <>\n {alert && (\n <div className={`tw-w-full tw-absolute top: 0; tw-z-50 tw-bg-${alert.color}`} role=\"alert\">\n {alert.message}\n </div>\n )}\n <div id=\"content\" className=\"lead-ponds-view tw-relative tw-flex tw-flex-col\">\n <PageHeader\n title=\"Lead Pond\"\n copy=\"Use Lead Ponds for storing leads that are not assigned to a specific agent. Users given permission to use a Lead Pond will have access to work and claim leads to pull them out of the Lead Pond.\"\n buttonTitle=\"New lead pond\"\n notification={{\n title: `Lead Pond Notification: ${notificationsOn === \"true\" ? \"On\" : \"Off\"}`,\n link: \"/notifications\",\n }}\n isDisabled={isDisabled}\n buttonTooltipContent={\n <>\n You've reached the limit of\n <br />\n 100 lead ponds. You must delete a<br />\n pond to create a new pond.\n </>\n }\n />\n <PondTable />\n <PondModal />\n </div>\n </>\n );\n};\n\nexport default LeadPonds;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst SelectButton = ({ selectedOption, option, handleClick, id }) => (\n <button\n type=\"button\"\n id={id}\n onClick={handleClick}\n className={`tw-w-full tw-text-left focus:tw-outline-none tw-border-0 tw-py-[6px] tw-px-[12px] hover:tw-bg-tinted-gray-50 active:tw-bg-gray-10 tw-whitespace-nowrap ${\n selectedOption === id ? \"tw-bg-gray-10 tw-font-semibold\" : \"tw-bg-transparent tw-font-normal\"\n }`}\n >\n {option}\n </button>\n);\n\nSelectButton.propTypes = {\n option: Proptypes.string,\n handleClick: Proptypes.func,\n id: Proptypes.string,\n selectedOption: Proptypes.string,\n};\nSelectButton.defaultProps = {\n option: null,\n handleClick: null,\n id: null,\n selectedOption: null,\n};\n\nexport default SelectButton;\n","const multiSelects = () => document.querySelectorAll(\"input.multi-select\");\n\nconst hideElement = (elem) => {\n if (elem) elem.style.display = \"none\"; // eslint-disable-line no-param-reassign\n};\n\nexport const showElement = (elem) => {\n if (elem) elem.style.display = \"inline\"; // eslint-disable-line no-param-reassign\n};\n\nconst AddorRemoveClass = (type) => {\n document\n .querySelectorAll(\n \"#apply-tags, #extend-access, #mass-update-status, #mass-update-stage-modal,#mass-update-market-reports, #mass-send-listing-alerts\",\n )\n .forEach((val) =>\n type === \"select-all\" ? val.classList.add(\"disabled\") : val.classList.remove(\"disabled\"),\n );\n};\n\nconst showSelectedCount = (type) => {\n if (document.querySelectorAll(\"input.multi-select:checked\").length > 0) {\n if (type === \"select-all\") {\n document.getElementById(\"header-selected-count\").innerHTML = \"All\";\n } else {\n document.getElementById(\"header-selected-count\").innerHTML = `${\n document.querySelectorAll(\"input.multi-select:checked\").length\n } Selected`;\n }\n } else {\n document.getElementById(\"header-selected-count\").innerHTML = \"\";\n }\n};\n\nexport const selectOption = (type) => {\n if (type !== null) {\n const selectRows = document.getElementById(\"select-rows\");\n const isAllSelected = document.getElementById(\"is-all-selected\");\n multiSelects().forEach((item) => {\n item.checked = type !== \"select-none\"; // eslint-disable-line no-param-reassign\n });\n document\n .querySelectorAll(\".multi-select-buttons > button\")\n .forEach((val) => (type === \"select-none\" ? hideElement(val) : showElement(val)));\n if (selectRows !== null) {\n selectRows.checked = type !== \"select-none\";\n selectRows.indeterminate = false;\n }\n if (isAllSelected !== null) {\n isAllSelected.value = type === \"select-all\";\n }\n if (type === \"select-none\") {\n hideElement(document.querySelectorAll(\"span.mass-call-button\")[0]);\n } else {\n showElement(document.querySelectorAll(\"span.mass-call-button\")[0]);\n }\n showSelectedCount(type);\n AddorRemoveClass(type);\n }\n};\n","import React, { useState, useRef } from \"react\";\nimport SelectButton from \"./SelectButton\";\nimport { selectOption } from \"./SelectOption\";\nimport { useClickOutside } from \"../../shared/hookHelpers\";\n\nconst SelectAll = () => {\n const [show, setShow] = useState(false);\n const [selectedOption, setSelectedOption] = useState(null);\n const ref = useRef(null);\n useClickOutside(ref, () => setShow(false));\n\n const selectOpt = (type) => {\n if (type !== null) {\n selectOption(type);\n setSelectedOption(type);\n setShow(false);\n\n const selectMenuEvent = new Event(\"select-opt:selected\");\n window.dispatchEvent(selectMenuEvent);\n }\n };\n\n const handleToggle = () => {\n setShow(!show);\n if (document.getElementById(\"select-rows\").checked === true) {\n if (selectedOption !== \"select-all\") {\n setSelectedOption(\"select-page\");\n }\n } else if (\n document.getElementById(\"select-rows\").checked === false &&\n document.getElementById(\"select-rows\").indeterminate === false\n ) {\n setSelectedOption(\"select-none\");\n } else {\n setSelectedOption(null);\n }\n };\n\n return (\n <div className=\"tw-relative tw-mb-4px tw-h-[16px] tw-pl-[11px]\" ref={ref}>\n <div className=\"checkboxselect checkbox\">\n <input type=\"hidden\" id=\"is-all-selected\" className=\"tw-hidden\" />\n <input type=\"checkbox\" id=\"select-rows\" disabled className=\"dropdown-item\" />\n <button\n type=\"button\"\n className=\"focus:tw-outline-none tw-bg-transparent tw-border-0\"\n id=\"table-dropdown-toggle\"\n onClick={handleToggle}\n >\n <label\n aria-label=\"select-rows\"\n htmlFor=\"select-rows\"\n className=\"tw-mt-[-4px] tw-mt-0px tw-mb-0px\"\n />\n </button>\n </div>\n {show && (\n <div\n id=\"filter-select\"\n className=\"tw-absolute tw-bg-white tw-rounded-[8px] tw-z-1 tw-shadow-dropdown tw-overflow-hidden\"\n >\n <SelectButton\n selectedOption={selectedOption}\n option=\"All\"\n handleClick={() => {\n selectOpt(\"select-all\");\n }}\n id=\"select-all\"\n />\n <SelectButton\n selectedOption={selectedOption}\n option=\"All on Page\"\n handleClick={() => {\n selectOpt(\"select-page\");\n }}\n id=\"select-page\"\n />\n <SelectButton\n selectedOption={selectedOption}\n option=\"None\"\n handleClick={() => {\n selectOpt(\"select-none\");\n }}\n id=\"select-none\"\n />\n <input type=\"hidden\" name=\"current_source\" id=\"current_source\" />\n <input type=\"hidden\" name=\"current_scope\" id=\"current_scope\" value=\"all_people\" />\n </div>\n )}\n </div>\n );\n};\nexport default SelectAll;\n","import React, { useEffect, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport * as actions from \"../actions/default\";\nimport * as apiActions from \"../api/index\";\nimport SelectAll from \"./SelectAll\";\nimport { showElement, selectOption } from \"./SelectOption\";\nimport { CircleInfoSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst mapStateToProps = (state) => ({\n autoPlansFeature: state.leadIndex.autoPlansFeature,\n from: state.leadIndex.from,\n hotLeadsFeature: state.leadIndex.hotLeadsFeature,\n});\n\nconst LeadHeaders = ({ autoPlansFeature, from, hotLeadsFeature }) => {\n const [orderBy, setorderBy] = useState(\"\");\n const [orderDirection, setorderDirection] = useState(\"\");\n const [getcall, setgetcall] = useState(false);\n\n const getPeople = () => {\n showElement(document.getElementsByClassName(\"loading-overlay\")[0]);\n selectOption(\"select-none\");\n let url = \"/people/all_people\";\n url = window.Brivity.addParameter(window.location.href, \"order_by\", `${orderBy}+${orderDirection}`);\n url = window.Brivity.addParameter(url, \"order_scope\", \"\");\n window.Turbolinks.cacheCurrentPage();\n window.Turbolinks.visit(url);\n };\n\n useEffect(() => {\n if (!getcall && orderBy && orderDirection) {\n getPeople();\n } else if (!getcall) {\n const urlSearchParams = new URLSearchParams(window.location.search);\n const params = Object.fromEntries(urlSearchParams.entries());\n if (params.order_by) {\n const getorder = params.order_by.split(\" \");\n const direction = getorder.pop();\n const orderbyname = getorder.join(\" \");\n if (direction && orderbyname) {\n setgetcall(true);\n setorderBy(orderbyname);\n setorderDirection(direction);\n }\n }\n }\n }, [orderBy, orderDirection]);\n\n const orderByname = (valueToOrderBy) => {\n if (orderBy !== valueToOrderBy) {\n setorderDirection(\"desc\");\n } else {\n setorderDirection(orderDirection === \"desc\" ? \"asc\" : \"desc\");\n }\n setorderBy(valueToOrderBy);\n setgetcall(false);\n };\n const selectedArrow = (name, direction) => {\n if (name === orderBy && direction === orderDirection) {\n return \"selected\";\n }\n return \"\";\n };\n return (\n <>\n <thead className=\"people-header\">\n <tr>\n <th id=\"select-dropdown-header\" aria-label=\"select all\">\n <SelectAll />\n </th>\n <th>\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"last_name\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Name\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"last_name\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"last_name\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n {from === \"leads\" ? (\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n <th className=\"finish-lead\"> </th>\n ) : (\n <th className=\"display-in-leads\">\n <h6>Show in Leads</h6>\n </th>\n )}\n\n <th className=\"intent\">\n <h6 className=\"tw-m-0 tw-pl-[14px]\">Intent</h6>\n </th>\n\n <th className=\"tw-min-w-[150px] tw-w-[150px] status-header text-left\">\n <div className=\"tw-flex tw-justify-center\">\n <button\n type=\"button\"\n className=\" tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"status\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Status\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"status\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"status\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </div>\n </th>\n\n <th className=\"tw-min-w-[150px] tw-w-[150px] status-header text-left\">\n <div className=\"tw-flex tw-justify-center tw-mr-[30px]\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"stage\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Stage\n <Tooltip\n className=\"tw-pl-[4px]\"\n placement=\"top\"\n trigger={<CircleInfoSolidV6 className=\"tw-text-gray-75 tw-align-sub\" size=\"m\" />}\n content=\"Stages describe where a lead is in your pipeline process\"\n />\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"stage\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"stage\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </div>\n </th>\n\n <th className=\"interaction-icon\">\n <h6>Email</h6>\n </th>\n <th className=\"interaction-icon\">\n <h6>Phone</h6>\n </th>\n\n <th className=\"interaction-icon\">\n <h6>SMS</h6>\n </th>\n\n <th className=\"interaction-icon\">\n <h6>Appt.</h6>\n </th>\n\n <th className=\"interaction-icon\">\n <h6>Other</h6>\n </th>\n\n <th className=\"address\">\n <h6>Address</h6>\n </th>\n\n <th className=\"last-interaction text-center\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"last_interaction_interacted_at\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Last Interaction\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"last_interaction_interacted_at\", \"asc\")}`} />\n <i\n className={`fa fa-sort-down ${selectedArrow(\"last_interaction_interacted_at\", \"desc\")}`}\n />\n </span>\n </h6>\n </button>\n </th>\n\n <th>\n <h6 className=\"tw-pl-[40px]\">Next Due Tasks</h6>\n </th>\n\n <th className=\"primary-agent\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"primary_agent_full_name\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Primary Agent\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"primary_agent_full_name\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"primary_agent_full_name\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n {autoPlansFeature && (\n <th className=\"action-plans text-center\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"assigned_plans_activity_date\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Auto Plans\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"assigned_plans_activity_date\", \"asc\")}`} />\n <i\n className={`fa fa-sort-down ${selectedArrow(\"assigned_plans_activity_date\", \"desc\")}`}\n />\n </span>\n </h6>\n </button>\n </th>\n )}\n\n <th className=\"stat milestone-date-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"birthdate\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Birthdate\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"birthdate\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"birthdate\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat milestone-date-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"anniversary\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Home Anniversary\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"anniversary\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"anniversary\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"action-plans text-center\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"home_app_invite_sent\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Home App\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"home_app_invite_sent\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"home_app_invite_sent\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n {hotLeadsFeature && (\n <th className=\"stat\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"hot_lead_score\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Hot Score\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"hot_lead_score\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"hot_lead_score\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n )}\n\n <th className=\"stat last-visit-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_last_visit\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Last Visit\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_last_visit\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_last_visit\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n <th className=\"stat\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_visits\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Visits\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_visits\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_visits\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_property_views\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Views\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_property_views\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_property_views\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"barely-wider-stat\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_average_price\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Avg. View Price\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_average_price\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_average_price\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat favorites-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_favorites\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Favorites\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_favorites\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_favorites\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"avg-favorites-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_average_price_favorited\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Avg. Fav. Price\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_average_price_favorited\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_average_price_favorited\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat med-width-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"idx_alerts\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Listing Alerts\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"idx_alerts\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"idx_alerts\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat med-width-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"last_sent_listing_alert\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Last Sent\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"last_sent_listing_alert\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"last_sent_listing_alert\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat med-width-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"last_opened_listing_alert\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Last Opened\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"last_opened_listing_alert\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"last_opened_listing_alert\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"med-width-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"market_report_count\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Market Reports\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"market_report_count\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"market_report_count\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat med-width-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"last_opened_market_report\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Last Opened\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"last_opened_market_report\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"last_opened_market_report\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"stat med-width-col\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"last_viewed_market_report\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Last Viewed\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"last_viewed_market_report\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"last_viewed_market_report\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"source\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"sources.name\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Source\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"sources.name\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"sources.name\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n <th className=\"submitted\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"submitted_at\")}\n >\n <h6 className=\"tw-mt-0 tw-mb-0\">\n Submitted\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"submitted_at\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"submitted_at\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n\n {(from === \"collaborators\" || from === \"teams\") && (\n <th className=\"tw-min-w-[140px] tw-w-[140px]\">\n <h6 className=\"tw-ml-[30px] tw-justify-center\ttw-flex\">Transaction Role</h6>\n </th>\n )}\n {from === \"teams\" && (\n <th className=\"tw-min-w-[140px] tw-w-[140px]\">\n <button\n type=\"button\"\n className=\"tw-p-0 focus:tw-outline-none sort-header tw-bg-transparent tw-border-0\"\n onClick={() => orderByname(\"user_type\")}\n >\n <h6 className=\"tw-ml-[30px] tw-mt-0 tw-mb-0 tw-justify-center\ttw-flex\">\n User Type\n <span className=\"arrows\">\n <i className={`fa fa-sort-up ${selectedArrow(\"user_type\", \"asc\")}`} />\n <i className={`fa fa-sort-down ${selectedArrow(\"user_type\", \"desc\")}`} />\n </span>\n </h6>\n </button>\n </th>\n )}\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n <th className=\"icon\"> </th>\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n <th className=\"icon\"> </th>\n </tr>\n </thead>\n </>\n );\n};\nLeadHeaders.propTypes = {\n autoPlansFeature: Proptypes.bool,\n from: Proptypes.string,\n hotLeadsFeature: Proptypes.bool,\n};\nLeadHeaders.defaultProps = {\n autoPlansFeature: false,\n from: null,\n hotLeadsFeature: false,\n};\nexport default connect(mapStateToProps, { ...actions, ...apiActions })(LeadHeaders);\n","import React, { Component } from \"react\";\nimport SmsModal from \"./SmsModal\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { CommentSolidV6 } from \"@shared/v2/Icomoon\";\n\nclass SmsModalButton extends Component {\n constructor(props) {\n super(props);\n this.state = {\n smsModalOpen: false,\n defaultHomeAppTabContent: \"\",\n };\n }\n\n componentDidMount() {\n window.addEventListener(\"homeAppSmsClick\", this.homeAppClickListener, false);\n }\n\n componentWillUnmount() {\n window.removeEventListener(\"homeAppSmsClick\", this.homeAppClickListener);\n }\n\n homeAppClickListener = (e) => {\n if (e.detail.personId === this.props.person.data.attributes.id) {\n this.setState({ defaultHomeAppTabContent: e.detail.text, smsModalOpen: true });\n }\n };\n\n openModal = () => {\n this.setState({ smsModalOpen: true });\n };\n\n closeModal = () => {\n this.state.onSuccess?.();\n this.setState({ smsModalOpen: false });\n };\n\n smsButton = () => {\n const { smsEnabled } = this.props;\n if (smsEnabled) {\n return (\n <Tooltip\n placement=\"right\"\n trigger={\n <IconButton aria-label=\"sms\" onClick={this.openModal}>\n <CommentSolidV6 />\n </IconButton>\n }\n content=\"Send Text\"\n />\n );\n } else {\n return <i className=\"fa fa-commenting-o sms gray\" />;\n }\n };\n\n render() {\n const { person, iconClassName, phone, messagingServiceUrl, gabbiAi } = this.props;\n const { smsModalOpen, defaultHomeAppTabContent } = this.state;\n\n return (\n <div>\n <div className={iconClassName}>{this.smsButton()}</div>\n {this.state.smsModalOpen && (\n <SmsModal\n gabbiAi={gabbiAi}\n messagingServiceUrl={messagingServiceUrl}\n personId={person.data.attributes.id}\n person={person}\n modalOpen={smsModalOpen}\n closeModal={this.closeModal}\n defaultHomeAppTabContent={defaultHomeAppTabContent}\n phone={phone}\n />\n )}\n </div>\n );\n }\n}\n\nexport default SmsModalButton;\n","import React, { Component } from \"react\";\nimport TaskForm from \"./TaskForm\";\nimport { Modal } from \"react-bootstrap\";\nimport HeaderTitle from \"../../PersonDetail/components/modals/HeaderTitle\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { CalendarCheckSolidV6 } from \"@shared/v2/Icomoon\";\n\nclass TaskFormLogAppointment extends Component {\n constructor(props) {\n super(props);\n this.state = {\n showModal: props.showModal || false,\n interaction: this.props.interaction,\n agents: [],\n task: { user_id: this.props.current_user.uuid },\n };\n }\n\n modalOpen = () => {\n this.setState({\n showModal: true,\n });\n };\n closeModal = () => {\n this.setState({\n showModal: false,\n error_messages: \"\",\n });\n if (this.props.onClose) this.props.onClose();\n };\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n\n setAgentsForModal = () => {\n let agents = [];\n this.state.agents.map((agent) => {\n return agents.push({ value: agent.uuid, label: agent.name });\n });\n return agents;\n };\n\n renderTaskForm = () => {\n const {\n person,\n current_user,\n account,\n googleCalendarClientId,\n googleCalendarApiKey,\n v4TaskApi,\n listingUUID,\n } = this.props;\n const { task, error_messages, showModal } = this.state;\n return (\n <Modal show={showModal} onHide={this.closeModal} id=\"log-appointment\" backdrop=\"static\">\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title=\"Interaction: Schedule Appointment\" onClose={this.closeModal} />\n </Modal.Title>\n </Modal.Header>\n <div className=\"tw-p-[22px] !tw-pt-[32px]\">\n <TaskForm\n agentsNeedLoading={true}\n isfromIndex={true}\n isSchedulingAppointment={true}\n closeModal={this.closeModal}\n displayOutcome={false}\n showErrors={this.showErrors}\n errors={error_messages}\n showTaskFor={true}\n person={person}\n user={current_user}\n accountUuid={account.uuid}\n task={task}\n googleCalendarClientId={googleCalendarClientId}\n googleCalendarApiKey={googleCalendarApiKey}\n contactEmail={person.main_email}\n listingUUID={listingUUID}\n v4TaskApi={v4TaskApi}\n />\n </div>\n </Modal>\n );\n };\n\n render() {\n const { showModal } = this.state;\n return (\n <>\n <IconButton onClick={this.modalOpen} aria-label=\"schedule appointment\">\n <CalendarCheckSolidV6 />\n </IconButton>\n {showModal && this.renderTaskForm()}\n </>\n );\n }\n}\n\nexport default TaskFormLogAppointment;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst LastInteractions = ({ interactionTypeString, mostRecentInteractionTime }) => (\n <>\n {interactionTypeString ? (\n <>\n <h6>{interactionTypeString}</h6>\n <h6>{mostRecentInteractionTime}</h6>\n </>\n ) : (\n <span className=\"tw-text-gray-50 tw-flex tw-justify-center\">—</span>\n )}\n </>\n);\n\nLastInteractions.propTypes = {\n interactionTypeString: Proptypes.string,\n mostRecentInteractionTime: Proptypes.string,\n};\nLastInteractions.defaultProps = {\n interactionTypeString: null,\n mostRecentInteractionTime: null,\n};\n\nexport default LastInteractions;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment-timezone\";\nimport { Modal } from \"react-bootstrap\";\nimport HeaderTitle from \"../../PersonDetail/components/modals/HeaderTitle\";\nimport TaskForm from \"./TaskForm\";\nimport { titleize } from \"../../Transactions/utils/helpers\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport { PlusSolidV6 } from \"../../shared/v2/Icomoon\";\nimport colors from \"../../Reports/components/DashboardShared/helpers/colors\";\n\nconst NewTask = ({\n account_uuid: accountUuid,\n accountMilestoneNames,\n user,\n task_for: taskFor,\n button_style: buttonStyle,\n next_task: nextTask,\n taskable,\n}) => {\n const [showModal, setshowModal] = useState(false);\n const [task] = useState({ assigned_to_user_id: user.uuid });\n const [errorMessages, setErrorMessages] = useState(\"\");\n\n const openModal = (e) => {\n e.preventDefault();\n setshowModal(true);\n };\n\n const swapForDelete = () => {\n setshowModal(false);\n };\n\n const closeModal = () => {\n setshowModal(false);\n setErrorMessages(\"\");\n };\n const newTask = () => {};\n const showErrors = (messages) => {\n setErrorMessages(messages);\n };\n\n const nextDueTasksState = (dueDate) => {\n const today = Brivity.LocalTimeZone ? moment().tz(Brivity.LocalTimeZone).format(\"YYYY-MM-DD\") : \"\";\n let state = { state_color: \"text-info\", state: \"Upcoming\" };\n if (dueDate === today) {\n state = { state_color: \"text-warning\", state: \"Due Today\" };\n }\n if (dueDate < today) {\n state = { state_color: \"text-danger\", state: \"Overdue\" };\n }\n return state;\n };\n\n const renderModal = () => {\n if (!showModal) return null;\n return (\n <Modal show={showModal} className=\"modal\" onHide={closeModal} id=\"new-task-modal\" backdrop=\"static\">\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title=\"Create Task\" onClose={closeModal} />\n </Modal.Title>\n </Modal.Header>\n <TaskForm\n agentsNeedLoading\n accountUuid={accountUuid}\n task={task}\n isfromIndex\n taskable={taskable}\n taskChange={newTask}\n onCloseAction={closeModal}\n closeModal={closeModal}\n editToDelete={swapForDelete}\n showErrors={showErrors}\n errors={errorMessages}\n deleteButton={false}\n accountMilestoneNames={accountMilestoneNames}\n task_for={taskFor}\n showTaskFor\n createTask\n user={user}\n />\n </Modal>\n );\n };\n\n return (\n <>\n {buttonStyle === \"link\" ? (\n <div className=\"tw-pl-[40px]\">\n {nextTask ? (\n <>\n <h6 className={`tw-m-0 ${nextDueTasksState(nextTask.due_on).state_color}`}>\n {titleize(nextDueTasksState(nextTask.due_on).state)}\n </h6>\n {nextTask.due_on != null && (\n <h6 className=\"tw-m-0\">{moment(nextTask.due_on).format(\"MM-DD-YYYY\")}</h6>\n )}\n </>\n ) : (\n <IconButton schema=\"tertiary\" size=\"small\" onClick={openModal}>\n <PlusSolidV6 />\n </IconButton>\n )}\n </div>\n ) : (\n <IconButton\n schema=\"transparent\"\n title=\"New Task\"\n className={`${colors.theme === \"place\" ? \"tw-text-white\" : \"\"} hover:tw-bg-gray/10`}\n onClick={openModal}\n >\n <PlusSolidV6 />\n </IconButton>\n )}\n {renderModal()}\n </>\n );\n};\n\nNewTask.propTypes = {\n account_uuid: PropTypes.string,\n accountMilestoneNames: PropTypes.shape(),\n user: PropTypes.shape(),\n task_for: PropTypes.string,\n button_style: PropTypes.string,\n next_task: PropTypes.shape(),\n taskable: PropTypes.shape(),\n};\n\nNewTask.defaultProps = {\n account_uuid: \"\",\n accountMilestoneNames: [],\n user: {},\n task_for: \"\",\n button_style: \"\",\n next_task: null,\n taskable: null,\n};\n\nexport default NewTask;\n","import React, { useState, useRef } from \"react\";\nimport { Overlay } from \"react-bootstrap\";\nimport { useClickOutside } from \"../hookHelpers\";\nimport { updatePrimaryAgentOrPond } from \"../serviceHelpers\";\nimport { useGetAgentState } from \"../agentOrPondHookHelpers\";\nimport { getLetters } from \"../Utilities\";\nimport DropDownSelectOption from \"../DropDownSelectOption\";\nimport \"../../Filters/components/PondOrAgentFilter/styles.scss\";\n\nconst AgentOrPondSelect = ({\n enableLeadPonds = false,\n personId,\n primaryAgent,\n leadPond,\n small = false,\n showSubTitle = false,\n max = \"[200px]\",\n nameClasses = \"\",\n caretClasses = \"\",\n stacked = false,\n}) => {\n const target = useRef(null);\n const [state, setState, handleChange] = useGetAgentState(enableLeadPonds);\n const [primaryAgentModel, setPrimaryAgent] = useState(primaryAgent);\n const [leadPondModel, setLeadPond] = useState(leadPond);\n useClickOutside(target, () => setState({ ...state, show: false }));\n\n const onChange = (params) => {\n const oldParams = {\n primary_agent: primaryAgentModel,\n lead_pond: leadPondModel,\n };\n updatePrimaryAgentOrPond({\n data: params,\n errorCb: () => {\n setPrimaryAgent(oldParams.primary_agent);\n setLeadPond(oldParams.lead_pond);\n },\n });\n };\n\n const handleAgentSelect = (agent) => {\n const params = {\n primary_agent: agent.id.toString(),\n lead_pond: null,\n people_ids: [personId.toString()],\n };\n onChange(params);\n setLeadPond(null);\n setPrimaryAgent(agent);\n setState({ ...state, show: false });\n };\n\n const handlePondSelect = (leadPond) => {\n const params = {\n primary_agent: null,\n lead_pond: leadPond.id,\n people_ids: [personId.toString()],\n };\n setState({ ...state, show: false });\n setLeadPond(leadPond);\n setPrimaryAgent(null);\n onChange(params);\n };\n\n const { filter, filteredAssignableAgents, filteredAssignablePonds } = state;\n const imgSize = small ? \"tw-h-[26px] tw-w-[26px]\" : \"tw-h-[40px] tw-w-[40px]\",\n imgSizeClass = small ? \"force-img-sm\" : \"\";\n const prepUrlPath = (url) => {\n return `${url.indexOf(\"http\") === 0 ? \"\" : \"/\"}${url}`;\n };\n let displayModel = leadPondModel\n ? {\n image: `<img class='tw-block ${imgSize}' src=\"/user-default.svg?letters=${getLetters(\n leadPondModel.name,\n )}\" />`,\n name: leadPondModel.name,\n }\n : {\n image: primaryAgentModel.imageSrc\n ? `<img class='tw-block ${imgSize} tw-rounded-full' src=\"${prepUrlPath(\n primaryAgentModel.imageSrc,\n )}\" />`\n : primaryAgentModel.image,\n name: primaryAgentModel.name,\n };\n return (\n <div className={`tw-relative tw-max-w-${max} tw-cursor-pointer`} ref={target}>\n {displayModel && (\n <button\n className={\n \"display-btn tw-bg-transparent tw-border-0 tw-flex tw-items-center tw-justify-center tw-w-full tw-overflow-hidden tw-p-0 tw-no-underline tw-h-[50px]\" +\n (stacked ? \" tw-mb-[10px]\" : \"\")\n }\n onClick={() => setState({ ...state, show: !state.show })}\n >\n <div\n className={`tw-mr-6 tw-flex tw-items-center ${imgSizeClass}`}\n dangerouslySetInnerHTML={{ __html: displayModel.image }}\n />\n <div className=\"tw-flex-1 tw-overflow-hidden tw-text-left\">\n <div className={`tw-text-sm tw-truncate ${nameClasses}`}>{displayModel.name}</div>\n {showSubTitle && (\n <small className=\"tw-font-bold tw-text-[10px] tw-relative tw-top-[-4px]\">\n {!leadPondModel ? \"Primary Agent\" : \"Lead Pond\"}\n </small>\n )}\n </div>\n <span className={`tw-ml-4 tw-flex tw-items-center tw-justify-center ${caretClasses}`}>\n <i className=\"fa fa-caret-down tw-text-[14px] tw-text-gray-50\" />\n </span>\n </button>\n )}\n\n <Overlay\n show={state.show}\n onHide={() => setState({ ...state, show: false })}\n placement=\"bottom\"\n container={target.current}\n target={target.current}\n >\n <div\n className={`dd-options tw-bg-white tw-mt-[-8px] tw-z-40 tw-shadow-modal tw-absolute tw-max-h-[350px] tw-w-full tw-overflow-y-auto`}\n >\n <div className=\"tw-p-4\">\n <input\n className=\"tw-w-full tw-border tw-border-gray-10\"\n autoFocus={true}\n onChange={handleChange}\n placeholder=\"Search...\"\n value={filter}\n />\n </div>\n\n {filteredAssignablePonds?.length > 0 && (\n <p className=\"tw-text-[12px] tw-py-1 tw-px-2 tw-bg-neutral-gray-10\">Pond</p>\n )}\n {filteredAssignablePonds?.map((pond) => (\n <DropDownSelectOption\n key={pond.id}\n data-key={`pond-${pond.id}`}\n showCheckIcon={false}\n option={{ ...pond }}\n handleSelect={() => handlePondSelect(pond)}\n />\n ))}\n\n {filteredAssignableAgents?.length > 0 && (\n <p className=\"tw-text-[12px] tw-py-1 tw-px-2 tw-bg-neutral-gray-10\">Team</p>\n )}\n {filteredAssignableAgents?.map((agent) => (\n <DropDownSelectOption\n key={agent.id}\n data-key={`agent-${agent.id}`}\n showCheckIcon={false}\n option={{ ...agent, imageSrc: agent.image_src }}\n imgSizeClass=\"force-img-sm\"\n handleSelect={() => handleAgentSelect(agent)}\n />\n ))}\n </div>\n </Overlay>\n </div>\n );\n};\n\nexport default AgentOrPondSelect;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { format, parseISO } from \"date-fns\";\n\nconst MilestoneDate = ({ milestoneDate, short }) => (\n <>\n {milestoneDate ? (\n <h5>{format(parseISO(milestoneDate), short ? \"MM/dd\" : \"MM/dd/yyyy\")}</h5>\n ) : (\n <span className=\"tw-text-gray-50\">—</span>\n )}\n </>\n);\n\nMilestoneDate.propTypes = {\n milestoneDate: Proptypes.string,\n short: Proptypes.bool,\n};\nMilestoneDate.defaultProps = {\n milestoneDate: null,\n short: false,\n};\n\nexport default MilestoneDate;\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { homeAppTxt } from \"@shared/Utilities\";\nimport \"./HomeAppLink.scss\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport {\n CommentDotsSolidV6,\n EnvelopeSolidV6,\n LinkSolidV6,\n MobileScreenSolidV6,\n SpinnerSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport { intlFormatDistance } from \"date-fns\";\n\nclass HomeAppLink extends Component {\n constructor(props) {\n super(props);\n const { inviteSent } = props;\n this.state = { loading: false, inviteSent };\n }\n\n handleSelectedType = (type, appUrl) => {\n const { personId, recipientFirstName, recipientEmailAddress, teamName, currentUserFullName } = this.props;\n const sharedUrlContent = \"Download my Brivity Home search app to search for homes here: \";\n\n if (type === \"email\") {\n const emailBody = `${sharedUrlContent} <a href=\"${appUrl}\" target=\"_blank\">${appUrl}</a>.<br/><br/>`;\n const event = new CustomEvent(\"homeAppEmailClick\", {\n detail: {\n personId,\n emailBody,\n },\n });\n window.dispatchEvent(event);\n } else if (type === \"text\") {\n const event = new CustomEvent(\"homeAppSmsClick\", {\n detail: {\n personId,\n text: homeAppTxt({\n primaryAgentName: currentUserFullName,\n brivityAppLink: appUrl,\n recipientFirstName,\n recipientEmailAddress,\n teamName,\n }),\n },\n });\n window.dispatchEvent(event);\n } else if (type === \"copy\") {\n navigator.clipboard.writeText(appUrl).catch((error) => {\n console.log(error);\n });\n }\n };\n\n fetchBrivityHomeURL = (type) => {\n const { slug } = this.props;\n this.setState({ loading: true });\n\n axios\n .get(`/people/${slug}/home_app`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n this.setState({ loading: false }, () => this.handleSelectedType(type, response.data.url));\n })\n .catch(() => {\n this.setState({ loading: false });\n });\n };\n\n formattedLabel() {\n const { lastLogin } = this.props;\n const { inviteSent } = this.state;\n let label = \"\";\n\n if (lastLogin !== null) {\n label = intlFormatDistance(new Date(lastLogin), new Date());\n } else if (inviteSent !== null) {\n label = \"Sent\";\n }\n return label;\n }\n\n render() {\n const { loading } = this.state;\n const { emailActive, smsActive } = this.props;\n const label = this.formattedLabel();\n\n return (\n <div className=\"home-app-column\">\n {!emailActive ? (\n <Tooltip\n multiline\n placement=\"left\"\n innerClassName=\"tw-max-w-[180px]\"\n content=\"An email address is required to log in to Brivity Home. Please add an email address to the contact before sending an invite.\"\n trigger={\n <IconButton schema=\"transparent\" disabled>\n <MobileScreenSolidV6 size=\"xl\" />\n </IconButton>\n }\n />\n ) : (\n <Popover placement=\"bottom-end\">\n <PopoverTrigger>\n <IconButton schema=\"transparent\" disabled={loading}>\n {loading ? (\n <SpinnerSolidV6 className=\"tw-animate-spin\" size=\"xl\" />\n ) : (\n <MobileScreenSolidV6 size=\"xl\" />\n )}\n </IconButton>\n </PopoverTrigger>\n <PopoverContent>\n {smsActive && (\n <PopoverItem icon={<CommentDotsSolidV6 />} onClick={() => this.fetchBrivityHomeURL(\"text\")}>\n Text\n </PopoverItem>\n )}\n <PopoverItem icon={<EnvelopeSolidV6 />} onClick={() => this.fetchBrivityHomeURL(\"email\")}>\n Email\n </PopoverItem>\n <PopoverItem icon={<LinkSolidV6 />} onClick={() => this.fetchBrivityHomeURL(\"copy\")}>\n Copy Link\n </PopoverItem>\n </PopoverContent>\n </Popover>\n )}\n <h6 className={label && \"lower-row\"}>\n <span>{label}</span>\n </h6>\n </div>\n );\n }\n}\n\nHomeAppLink.propTypes = {\n slug: PropTypes.string.isRequired,\n personId: PropTypes.number.isRequired,\n emailActive: PropTypes.bool.isRequired,\n smsActive: PropTypes.bool.isRequired,\n lastLogin: PropTypes.string,\n inviteSent: PropTypes.string,\n recipientFirstName: PropTypes.string.isRequired,\n recipientEmailAddress: PropTypes.string.isRequired,\n teamName: PropTypes.string.isRequired,\n currentUserFullName: PropTypes.string.isRequired,\n};\n\nHomeAppLink.defaultProps = {\n lastLogin: null,\n inviteSent: null,\n};\n\nexport default HomeAppLink;\n","import React, { useEffect, useState } from \"react\";\nimport { bool, node, string } from \"prop-types\";\nimport { XmarkLargeSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst Banner = ({ children, show, hasClose, containerClassName, closeIconClassName }) => {\n const [isShown, setIsShown] = useState(false);\n\n useEffect(() => {\n setIsShown(show);\n }, [show]);\n\n return (\n isShown && (\n <div\n className={`tw-w-full tw-h-[44px] tw-border-1px tw-border-solid tw-rounded-2px tw-border-[#FAC5C3] tw-bg-[#FAE6E6] tw-flex tw-items-center tw-justify-between tw-px-[16px] ${containerClassName}`}\n >\n {children}\n {hasClose && (\n <XmarkLargeSolidV6\n onClick={() => setIsShown(false)}\n size=\"m\"\n className={`tw-text-[#FA423C] tw-cursor-pointer ${closeIconClassName}`}\n />\n )}\n </div>\n )\n );\n};\n\nexport default Banner;\n\nBanner.propTypes = {\n children: node,\n show: bool,\n hasClose: bool,\n containerClassName: string,\n closeIconClassName: string,\n};\n\nBanner.defaultProps = {\n children: null,\n show: false,\n hasClose: false,\n containerClassName: \"\",\n closeIconClassName: \"\",\n};\n","const buildTopFive = (filterKey, sorted, sortedArray, labelDescriptor, barColors, colorLabelClasses) => {\n let chartData = { labels: [], datasets: [] };\n let dataTotal = 0;\n let otherTotal = 0;\n let colors = [...barColors];\n let colorClasses = [...colorLabelClasses];\n let color, colorClass;\n\n sorted.forEach((element, index) => {\n if (index < 5) {\n let filteredMeta = sortedArray.filter((el) => el[filterKey] == Object.keys(element)[0]);\n color = colors.shift();\n colorClass = colorClasses.shift();\n let labelName =\n filterKey == \"price\"\n ? \"$\" + Math.round(Object.keys(element)[0]).toLocaleString()\n : Object.keys(element)[0];\n\n chartData.datasets.push({\n stack: \"1\",\n label: `<span class=\"color-text ${colorClass}\">${labelName}${\n labelDescriptor == undefined ? \"\" : \" \" + labelDescriptor\n }</span> ${Object.values(element)[0]}`,\n color: colorClass,\n backgroundColor: color[0],\n hoverBackgroundColor: color[1],\n data: [Object.values(element)[0]],\n metaCollection: filteredMeta,\n secondaryTitle: `Showing ${filteredMeta.length} properties with ${\n Object.keys(element)[0]\n } ${filterKey}`,\n index: index,\n barThickness: 40,\n });\n\n chartData.labels[index] = `<span class=\"color-text\">${Object.keys(element)[0]}</span> ${\n Object.values(element)[0]\n }`;\n dataTotal += Object.values(element)[0];\n } else {\n let filteredMeta = sortedArray.filter((el) => el[filterKey] == Object.keys(element)[0]);\n color = colors.shift();\n colorClass = colorClasses.shift();\n otherTotal += Object.values(element)[0];\n\n if (chartData.datasets[5] === undefined) {\n chartData.datasets.push({\n stack: \"1\",\n label: `<span class=\"color-text ${colorClass}\">Other</span> ${Object.values(element)[0]}`,\n color: colorClass,\n backgroundColor: color[0],\n hoverBackgroundColor: color[1],\n data: [Object.values(element)[0]],\n metaCollection: filteredMeta,\n secondaryTitle: `Showing ${filteredMeta.length} properties with other ${filterKey}`,\n index: index,\n });\n } else {\n chartData.datasets[5].label = `<span class=\"color-text ${colorClass}\">Other</span> ${otherTotal}`;\n chartData.datasets[5].data[0] += Object.values(element)[0];\n Array.prototype.push.apply(chartData.datasets[5].metaCollection, filteredMeta);\n }\n chartData.labels[5] = `<span class=\"color-text colorClass\">Other</span> ${otherTotal}`;\n\n dataTotal += Object.values(element)[0];\n }\n });\n\n chartData.datasets.forEach((dataset, index) => {\n let percentage = Math.round((dataset.data[0] / dataTotal) * 100);\n\n dataset.data[0] = percentage;\n chartData.labels[index] += ` (${percentage}%)`;\n dataset.label += ` (${percentage}%)`;\n });\n\n return chartData;\n};\n\nconst buildQuartileData = (filterKey, normalAndOutliers, rangeMultiplier, barColors, colorLabelClasses) => {\n let chartData = { labels: [], datasets: [] };\n let dataTotal = 0;\n let colors = [...barColors];\n let colorClasses = [...colorLabelClasses];\n let color, colorClass;\n rangeMultiplier = rangeMultiplier * 4;\n\n for (var index = 0; index <= 5; index++) {\n var dataset = {\n stack: \"1\",\n label: \"\",\n data: [0],\n metaCollection: [],\n secondaryTitle: \"\",\n index: index,\n barThickness: 40,\n };\n\n if (index === 0) {\n dataset.data[0] = normalAndOutliers[0].reduce((acc, dat) => {\n if (dat[filterKey] > 0 && dat[filterKey] < rangeMultiplier) {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }\n return acc;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">${Math.floor(\n rangeMultiplier,\n ).toLocaleString()} - ${Math.ceil(rangeMultiplier * 2).toLocaleString()}</span> ${dataset.data[0]}`;\n dataset.label = `<span class=\"color-text ${colorClass}\">$${Math.floor(\n rangeMultiplier,\n ).toLocaleString()} - $${Math.ceil(rangeMultiplier * 2).toLocaleString()}</span> ${dataset.data[0]}`;\n (dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties in $${Math.floor(\n rangeMultiplier,\n ).toLocaleString()} - $${Math.ceil(rangeMultiplier * 2).toLocaleString()} range`),\n (dataTotal += dataset.data[0]);\n }\n } else if (index <= 3) {\n dataset.data[0] = normalAndOutliers[0].reduce((acc, dat) => {\n if (dat[filterKey] >= rangeMultiplier * index && dat[filterKey] < rangeMultiplier * (index + 1)) {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }\n return acc;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">${Math.floor(\n rangeMultiplier * (index + 1),\n ).toLocaleString()} - ${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${\n dataset.data[0]\n }`;\n dataset.label = `<span class=\"color-text ${colorClass}\">$${Math.floor(\n rangeMultiplier * (index + 1),\n ).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${\n dataset.data[0]\n }`;\n (dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties in $${Math.floor(\n rangeMultiplier * (index + 1),\n ).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()} range`),\n (dataTotal += dataset.data[0]);\n }\n } else if (index == 4) {\n // here we need to include values that are equal to the top end of the multiplier\n dataset.data[0] = normalAndOutliers[0].reduce((acc, dat) => {\n if (dat[filterKey] >= rangeMultiplier * index && dat[filterKey] <= rangeMultiplier * (index + 1)) {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }\n return acc;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">${Math.floor(\n rangeMultiplier * (index + 1),\n ).toLocaleString()} - ${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${\n dataset.data[0]\n }`;\n dataset.label = `<span class=\"color-text ${colorClass}\">$${Math.floor(\n rangeMultiplier * (index + 1),\n ).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()}</span> ${\n dataset.data[0]\n }`;\n (dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties in $${Math.floor(\n rangeMultiplier * (index + 1),\n ).toLocaleString()} - $${Math.ceil(rangeMultiplier * (index + 2)).toLocaleString()} range`),\n (dataTotal += dataset.data[0]);\n }\n } else {\n dataset.data[0] = normalAndOutliers[1].reduce((acc, dat) => {\n dataset.metaCollection.push(dat);\n return acc + 1;\n }, 0);\n\n if (dataset.data[0] > 0) {\n color = colors.shift();\n colorClass = colorClasses.shift();\n dataset.backgroundColor = color[0];\n dataset.hoverBackgroundColor = color[1];\n dataset.color = colorClass;\n\n chartData.labels[index] = `<span class=\"color-text ${colorClass}\">Other</span> ${dataset.data[0]}`;\n dataset.label = `<span class=\"color-text ${colorClass}\">Other</span> ${dataset.data[0]}`;\n (dataset.secondaryTitle = `Showing ${dataset.metaCollection.length} properties with other range`),\n (dataTotal += dataset.data[0]);\n }\n }\n\n if (dataset.data[0] > 0) {\n chartData.datasets.push(dataset);\n }\n }\n\n chartData.datasets.forEach((dataset, index) => {\n let percentage = Math.round((dataset.data[0] / dataTotal) * 100);\n\n dataset.data[0] = percentage;\n chartData.labels[index] += ` (${percentage}%)`;\n dataset.label += ` (${percentage}%)`;\n });\n\n return chartData;\n};\n\nconst sortValues = (sortKey, data) => {\n const multiplier = 1;\n const sorted = data.sort((a, b) => {\n const aVal = a[sortKey] ? a[sortKey] : 0;\n const bVal = b[sortKey] ? b[sortKey] : 0;\n return aVal > bVal ? multiplier : aVal < bVal ? -multiplier : 0;\n });\n\n return sorted;\n};\n\nconst options = ({ titleText, showSecondary }) => ({\n indexAxis: \"y\",\n maintainAspectRatio: false,\n title: {\n display: false,\n text: titleText,\n position: \"top\",\n fontSize: 12,\n fontFamily: \"Open Sans\",\n fontStyle: \"bold\",\n },\n barPercentage: 1,\n plugins: {\n legend: {\n display: false,\n },\n tooltip: {\n titleFont: {\n family: \"Open Sans\",\n size: 14,\n style: \"normal\",\n },\n titleColor: \"#808080\",\n enabled: !showSecondary,\n backgroundColor: \"white\",\n borderColor: \"gray\",\n borderWidth: 1,\n titleMarginBottom: 0,\n cornerRadius: 0,\n callbacks: {\n label: (tooltipItem, data) => {\n return \"\";\n },\n title: (tooltipItem, data) => {\n return \"click for more insights\";\n },\n },\n },\n },\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n border: {\n display: false,\n },\n ticks: {\n display: false,\n max: 100,\n },\n },\n y: {\n stacked: true,\n grid: {\n display: false,\n },\n border: {\n display: false,\n },\n ticks: {\n display: false,\n },\n },\n },\n layout: {\n padding: {\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n },\n },\n});\n\nexport { buildTopFive, buildQuartileData, options, sortValues };\n","const BARCOLORS = [\n ['rgba(89,196,196)', 'rgba(2,148,148,1)'], // light blue\n ['rgba(188,52,14)', 'rgba(127,35,9,1)'], // dark red\n ['rgba(244,179,80)', 'rgba(211,135,18,1)'], // yellow\n ['rgba(51,110,123)', 'rgba(19,46,51,1)'], // dark blue\n ['rgba(242,113,77)', 'rgba(190,68,34,1)'], // coral red\n ['rgba(179,179,179)', 'rgba(128,128,128,1)'] // gray\n]\n\nconst COLORLABELCLASSES = [\n 'light-blue',\n 'dark-red',\n 'yellow',\n 'dark-blue',\n 'coral-red',\n 'gray',\n]\n\nexport { BARCOLORS, COLORLABELCLASSES }\n","// extracted by mini-css-extract-plugin\nexport default {\"listingGrid\":\"fiv9kdKaUBW6aLUFO_uH\",\"listingContainer\":\"rD1Y7gmYwUuceyiQRRyb\",\"cardBody\":\"Lnp__33R05MrMm3kRmP0\",\"favorited\":\"QB6F2TtrVrkv_AjRdeF9\",\"listingPhoto\":\"ANbQytnaLO5eC2vCDXyv\",\"photoText\":\"fWmpiNDbLYCbZdXHoAzB\",\"price\":\"R7SVxFbvcpWV8F58KywQ\",\"histories\":\"YzTxCtaLy_b9egNS7Ze0\",\"header\":\"ooIPtfRInwQEklW15JXG\",\"historyLabel\":\"Bq3HOQIhG4v8JlCqgTjb\",\"viewBubble\":\"dsJn3PrCqjjy0sqJ5Wf6\",\"address\":\"hHoaKPDya6IGTdwAYmak\",\"bedsBaths\":\"Lw_URK8AiFbJDzkm3CDI\",\"dateAndTime\":\"_LFlulClmsURwfgLkRf8\",\"date\":\"Zb8lmhWA8j23OZrfESq4\",\"filters\":\"V02gudTt6a4vLvA99BkB\",\"filterText\":\"FqqByOLl9cJ1gmgv0mSw\",\"viewOrFavorite\":\"Cqq4g2N56roCGaNci99N\",\"propertiesTooltip\":\"ki8dNku18Y6x0KdFLJM3\"};","import React from 'react';\nimport { Row, Col } from 'react-bootstrap';\nimport moment from 'moment/moment';\nimport properties from './properties.module.css'\nimport { formatedPrice } from '../../../shared/ListingAlertHelpers';\nimport ReactTooltip from 'react-tooltip'\n\nconst Properties = ({ stats }) => {\n return (\n <Row className={properties.listingGrid}>\n {\n stats.map(({ bathrooms, bedrooms, city, favorite, history_ext, photo, price, state, street, url, zip }, index) => (\n <Col key={index} xs={3} className={properties.listingContainer}>\n <div>\n <div className={properties.cardBody}>\n <div style={{ overflow: \"hidden\" }}>\n { favorite && <i className={`${properties.favorited} fa fa-heart`} /> }\n <a\n href={url}\n className={properties.listingPhoto}\n target=\"_blank\"\n style={{ backgroundImage: `url(${photo})`}}\n >\n <div className={properties.photoText}>\n <div className={properties.price}>{formatedPrice(price)}</div>\n <div className={properties.address}>{street}</div>\n <div className={properties.address}>{city}, {state} {zip}</div>\n <div className={properties.bedsBaths}>{bedrooms} Bed | {bathrooms} Bath</div>\n </div>\n </a>\n </div>\n <div className={properties.histories}>\n <div className={properties.header}>\n <div className={properties.historyLabel}>View History</div>\n <div className={properties.viewBubble}>VIEWS: {history_ext.length}</div>\n </div>\n {\n history_ext.map((hist, index) => (\n <div key={index} className={properties.dateAndTime}>\n <span className={properties.date}>{moment(hist.viewed_at).format(\"MM/D/YYYY\")}</span>\n <span> at {moment(hist.viewed_at).format(\"h:mm A\")}</span>\n { \n hist.is_mobile && <i className=\"fa fa-mobile empty float-right\" data-tip=\"Viewed from Brivity Home App\" /> \n }\n <ReactTooltip\n className={properties.propertiesTooltip}\n place=\"right\"\n arrowColor=\"#666666\" \n />\n </div>\n ))\n }\n </div>\n </div>\n </div>\n </Col>\n ))\n }\n </Row>\n );\n};\n\nexport default Properties;\n","import React, { Component } from 'react';\nimport { Row, Col } from 'react-bootstrap';\nimport button from './button.module.css';\n\nclass ButtonDropDown extends Component {\n state = {\n expanded: false\n }\n\n collapse = () => this.setState({ expanded: false })\n\n expand = () => {\n if (!this.state.expanded) {\n this.setState({ expanded: true })\n }\n }\n\n handleSelect = (option) => {\n this.setState({ expanded: false })\n this.props.handleSelect(option)\n }\n\n label = (value, options) => {\n const optionObject = options.find(option => option.value === value)\n return optionObject.label.toUpperCase()\n }\n\n render() {\n const content = {\n background: \"#fff\",\n borderRadius: \"0 0 5px 5px\",\n padding: \"10px 0 0 0\",\n position: \"absolute\",\n left: \"0\",\n marginTop: \"10px\",\n boxShadow: \"rgba(224, 224, 224, 0.4) 0px 2px 4px 0px\",\n minWidth: \"105px\",\n zIndex: \"9999\",\n fontSize: \"12px\",\n cursor: \"pointer\"\n }\n const { value, options } = this.props\n const dropdown = (\n <div style={content}>\n {\n options.map((option) => (\n <Col xs={12} className=\"m-b-10\" key={option.value}>\n <div onClick={e => this.handleSelect(option)}>\n {option.label.toUpperCase()}\n </div>\n </Col>\n ))\n }\n </div>\n )\n\n return (\n <div\n className={`${button.btnSm} ${button.btnDropdown} ${button.btnGray}`}\n tabIndex=\"0\"\n onClick={() => { this.expand() }}\n onBlur={() => { this.collapse() }}\n style={{ fontSize: \"12px\", color: \"#666\", fontWeight: \"bold\", padding: \"5px 10px 5px 15px\", outline: \"0\" }}\n >\n <span>{this.label(value, options)}</span>\n <i className=\"fa fa-chevron-down\" style={{ marginLeft: \"6px\", fontSize: \"11px\" }} />\n <Row style={{ position: \"relative\" }}>\n { this.state.expanded && dropdown }\n </Row>\n </div>\n )\n }\n}\n\nexport default ButtonDropDown;\n","import React from 'react';\nimport { Row, Col } from 'react-bootstrap';\nimport Input from '../../../shared/Input';\nimport { radioButtonClass } from '../../../shared/ListingAlertHelpers';\nimport form from '../form.module.css';\nimport properties from './properties.module.css'\nimport ButtonDropDown from \"../ButtonDropDown\";\n\nconst PropertyFilters = ({ isFavorited, toggleButtons, allViewCount, favoriteCount, sortBy, handleSelectSortBy }) => {\n const buttonOptions = [{ label: 'Most Recent', value: 'most_recent' }, { label: 'Most Views', value: 'most_views' }, { label: 'Oldest', value: 'oldest' }]\n\n return (\n <Row className={`${properties.filters} !tw-mb-24px tw-pb-24px tw-border-0 tw-border-solid tw-border-b tw-border-neutral-gray-10`}>\n <Col xs={12} className=\"form-group\">\n <ButtonDropDown\n value={sortBy}\n options={buttonOptions}\n handleSelect={handleSelectSortBy}\n />\n <div className={`${form.fauxRadioButton} ${properties.viewOrFavorite}`} style={{ marginLeft: \"35px\" }}>\n <Input\n id='unique-views'\n onClick={() => toggleButtons()}\n value={!isFavorited}\n />\n <label htmlFor='unique-views' className={radioButtonClass(!isFavorited)} />\n <span className={properties.filterText}>Unique Properties Viewed ({allViewCount})</span>\n </div>\n <div className={`${form.fauxRadioButton} ${properties.viewOrFavorite}`}>\n <Input\n id='favorites'\n onClick={() => toggleButtons()}\n value={isFavorited}\n />\n <label htmlFor='favorites' className={radioButtonClass(isFavorited)} />\n <span className={properties.filterText}>Favorites ({favoriteCount})</span>\n </div>\n </Col>\n </Row>\n );\n};\n\nexport default PropertyFilters;\n","import React from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useDispatch } from \"react-redux\";\nimport axios from \"axios\";\nimport \"chart.js/auto\";\nimport { Bar, getDatasetAtEvent } from \"react-chartjs-2\";\nimport Banner from \"@shared/v2/Banner\";\nimport { TriangleExclamationSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport \"./activity.scss\";\nimport countBy from \"lodash/countBy\";\nimport { Dropdown } from \"../../../shared/v1\";\nimport { buildTopFive, buildQuartileData, options, sortValues } from \"./ActivityHelpers\";\nimport { BARCOLORS, COLORLABELCLASSES } from \"./Colors\";\nimport Properties from \"./Properties\";\nimport PropertyFilters from \"./PropertyFilters\";\nimport ButtonDropDown from \"../ButtonDropDown\";\nimport Loading from \"../../../Goals/components/Loader\";\n\nclass Activity extends React.Component {\n constructor(props) {\n super(props);\n this.chartRef = React.createRef();\n this.state = {\n loading: true,\n stats: [],\n primaryFilter: \"price\",\n secondaryFilter: null,\n secondaryData: [],\n showSecondary: false,\n titleText: \"\",\n chartData: {\n labels: [],\n datasets: [],\n },\n isFavorited: this.props.isFavorite,\n sortBy: \"most_recent\",\n errorFetchingData: false,\n };\n }\n\n componentDidMount() {\n this.fetchData();\n }\n\n fetchData() {\n axios\n .get(`/idx_data/property_stats/${this.props.uuid}`)\n .then((res) => {\n this.setState({\n loading: false,\n stats: res.data.stats,\n errorFetchingData: res.data.stats.length === 0 && this.props.views > 0,\n });\n this.buildDatasets(this.state.primaryFilter, res.data.stats, true);\n this.sortStats(this.state.sortBy);\n })\n .catch((err) => {\n this.setState({ loading: false, errorFetchingData: true, stats: [] });\n });\n }\n\n buildDatasets(filterKey, data, usePrimaryTitle) {\n const sortedArray = sortValues(filterKey, data);\n\n if (filterKey == \"price\") {\n this.quartileRanges(filterKey, sortedArray, usePrimaryTitle);\n } else {\n this.getTopFive(filterKey, sortedArray, usePrimaryTitle);\n }\n }\n\n getTopFive(filterKey, sortedArray, usePrimaryTitle) {\n const quantities = countBy(sortedArray, filterKey);\n const arrayed = Object.keys(quantities).map((val) => {\n return { [val]: quantities[val] };\n });\n let labelDescriptor, sorted;\n\n if (filterKey == \"bedrooms\" || filterKey == \"bathrooms\") {\n labelDescriptor = filterKey == \"bedrooms\" ? \"bed\" : \"bath\";\n sorted = arrayed.sort((a, b) => {\n return Object.keys(a)[0] == Object.keys(b)[0] ? 0 : +(Object.keys(a)[0] > Object.keys(b)[0]) || -1;\n });\n } else {\n sorted = arrayed.sort((a, b) => {\n return Object.values(b)[0] == Object.values(a)[0]\n ? 0\n : +(Object.values(b)[0] > Object.values(a)[0]) || -1;\n });\n }\n\n if (usePrimaryTitle) {\n this.setState({ titleText: `Showing ${sortedArray.length} properties sorted by ${filterKey}` });\n }\n\n const chartData = buildTopFive(\n filterKey,\n sorted,\n sortedArray,\n labelDescriptor,\n BARCOLORS,\n COLORLABELCLASSES,\n );\n this.setState({ chartData });\n }\n\n quartileRanges(filterKey, sortedArray, usePrimaryTitle) {\n let q1, q3, iqr, maxAllowable, minAllowable, normalAndOutliers, rangeMultiplier;\n\n if (usePrimaryTitle) {\n this.setState({ titleText: `Showing ${sortedArray.length} properties in all price ranges` });\n }\n\n if (sortedArray.length > 6) {\n //find quartiles\n if ((sortedArray.length / 4) % 1 === 0) {\n q1 =\n (1 / 2) *\n (sortedArray[sortedArray.length / 4][filterKey] +\n sortedArray[sortedArray.length / 4 + 1][filterKey]);\n q3 =\n (1 / 2) *\n (sortedArray[sortedArray.length * (3 / 4)][filterKey] +\n sortedArray[sortedArray.length * (3 / 4) + 1][filterKey]);\n } else {\n q1 = sortedArray[Math.floor(sortedArray.length / 4 + 1)][filterKey];\n q3 =\n sortedArray.length == 7\n ? sortedArray[6][filterKey]\n : sortedArray[Math.ceil(sortedArray.length * (3 / 4) + 1)][filterKey];\n }\n\n iqr = q3 - q1;\n // High outliers are anything beyond the 3rd quartile + 1.5 * the inter-quartile range (IQR)\n // Low outliers are anything beneath the 1st quartile - 1.5 * IQR\n // (most common method according to http://mathworld.wolfram.com/Outlier.html)\n maxAllowable = q3 + iqr * 1.5;\n minAllowable = q1 - iqr * 1.5;\n\n // normal is the 0 element of the matrix, outliers or \"other\" is 1\n normalAndOutliers = [[], []];\n sortedArray.forEach((value) => {\n if (value[filterKey] >= minAllowable && value[filterKey] <= maxAllowable) {\n normalAndOutliers[0].push(value);\n } else {\n normalAndOutliers[1].push(value);\n }\n });\n\n rangeMultiplier = (maxAllowable - minAllowable) / 5;\n } else {\n this.getTopFive(filterKey, sortedArray, usePrimaryTitle);\n return true;\n }\n\n const chartData = buildQuartileData(\n filterKey,\n normalAndOutliers,\n rangeMultiplier,\n BARCOLORS,\n COLORLABELCLASSES,\n );\n this.setState({ chartData });\n }\n\n filterPrimary(primaryKey) {\n this.setState({ primaryFilter: primaryKey });\n this.buildDatasets(primaryKey, this.state.stats, this.state.titleText, true);\n this.sortStats(this.state.sortBy);\n }\n\n filterSecondary(secondaryKey) {\n this.buildSecondaryData(this.state.secondaryData, secondaryKey, this.state.titleText);\n }\n\n determineInitialSecondary() {\n if (this.state.primaryFilter == \"price\") {\n return \"bedrooms\";\n } else {\n return \"price\";\n }\n }\n\n startSecondaryData(secondaryData, secondaryKey, title) {\n !this.state.showSecondary && this.buildSecondaryData(secondaryData, secondaryKey, title);\n }\n\n buildSecondaryData(secondaryData, secondaryKey, title) {\n this.setState({ secondaryData, secondaryFilter: secondaryKey, showSecondary: true, titleText: title });\n this.buildDatasets(secondaryKey, secondaryData, false);\n }\n\n closeSecondary = () => {\n this.setState({ showSecondary: false, titleText: this.state.titleText });\n this.filterPrimary(this.state.primaryFilter);\n };\n\n toggleButtons = () => {\n this.setState((prevState) => ({ isFavorited: !prevState.isFavorited }));\n };\n\n filteredProperties = () => {\n if (this.state.isFavorited) {\n return this.state.stats.filter((property) => property.favorite === this.state.isFavorited);\n }\n return this.state.stats;\n };\n\n favoriteCount = () => this.state.stats.filter((property) => property.favorite === true).length;\n\n handleSelectPropertyCriteria = (option) => {\n this.filterPrimary(option.value, this.state.stats);\n };\n\n handleSelectSortBy = (option) => {\n this.setState({ sortBy: option.value }, () => {\n this.sortStats(option.value);\n });\n };\n\n sortStats = (value) => {\n let stats = [...this.state.stats];\n let sortedStats = stats.sort((a, b) => {\n if (value === \"most_recent\") {\n return a.most_recent_view < b.most_recent_view ? 1 : -1;\n } else if (value === \"oldest\") {\n return a.most_recent_view > b.most_recent_view ? 1 : -1;\n } else if (value === \"most_views\") {\n return a.history_ext.length < b.history_ext.length ? 1 : -1;\n }\n });\n\n this.setState({ stats: sortedStats });\n };\n\n statsOrSpinner = (stats) =>\n stats.length > 0 ? (\n <Properties stats={this.filteredProperties()} />\n ) : (\n <div className=\"tw-flex tw-flex-col tw-gap-24px tw-items-center\">\n <div className=\"tw-text-18d tw-font-bold\">No Web Activity</div>\n <div className=\"tw-text-14d tw-w-[489px] tw-text-center\">\n This lead has not viewed or favorited any listings on your Brivity website. You can set them up on a\n Listing Alert to increase web activity!\n </div>\n <Button\n size=\"medium\"\n schema=\"primary\"\n onClick={() => {\n this.props.closeModal();\n this.props.openAddListingAlertModal();\n }}\n >\n CREATE LISTING ALERT\n </Button>\n </div>\n );\n\n contactSupport = () => (\n <Banner show>\n <div className=\"tw-text-14d tw-flex tw-items-center tw-gap-[16px]\">\n <TriangleExclamationSolidV6 size=\"l\" className=\"tw-text-[#E5342E]\" />\n <span className=\"tw-text-[#A81E19]\">\n An error occurred while getting the web activity. Please try again later.\n </span>\n </div>\n </Banner>\n );\n\n render() {\n const filterValues = [\n {\n label: \"Price\",\n value: \"price\",\n disabled: this.state.primaryFilter == \"price\" && this.state.showSecondary == true,\n },\n // {label: 'Type', value: 'type'},\n {\n label: \"Beds\",\n value: \"bedrooms\",\n disabled: this.state.primaryFilter == \"bedrooms\" && this.state.showSecondary == true,\n },\n {\n label: \"Baths\",\n value: \"bathrooms\",\n disabled: this.state.primaryFilter == \"bathrooms\" && this.state.showSecondary == true,\n },\n // {label: 'SqFt', value: 'sqft'},\n {\n label: \"City\",\n value: \"city\",\n disabled: this.state.primaryFilter == \"city\" && this.state.showSecondary == true,\n },\n // {label: 'Area', value: 'area'},\n // {label: 'Neighborhood', value: 'neighborhood'},\n {\n label: \"Zip Code\",\n value: \"zip\",\n disabled: this.state.primaryFilter == \"zip\" && this.state.showSecondary == true,\n },\n ];\n const { stats, isFavorited, sortBy, titleText, loading, errorFetchingData } = this.state;\n\n return (\n <div id=\"lead-dna-details\">\n <Row>\n <Col xs={12}>\n <div className=\"white-panel\">\n <Row style={{ marginBottom: \"20px\" }}>\n <Col xs={4}>\n <label style={{ marginRight: \"10px\", color: \"#666\" }}>Show distribution by</label>\n <ButtonDropDown\n value={this.state.primaryFilter}\n options={filterValues}\n handleSelect={this.handleSelectPropertyCriteria}\n />\n </Col>\n <Col xs={6} style={{ fontWeight: \"bold\", fontSize: \"12px\" }}>\n {titleText}\n </Col>\n\n {this.state.showSecondary && (\n <div className=\"form-group\">\n <label className=\"inline-label\">Of that, show by: </label>\n <div id=\"secondary-select-wrapper\" className=\"tw-bottom-[10px]\">\n <div className=\"tw-flex\">\n <div className=\"tw-flex-shrink tw-px-7px tw-py-4px\" onClick={this.closeSecondary}>\n <i className=\"fa fa-times-circle\"></i>\n </div>\n <div className=\"tw-relative tw-w-[100px] tw-bottom-1px\">\n <Dropdown\n value={this.state.secondaryFilter}\n options={filterValues}\n isSearchable={false}\n menuShouldScrollIntoView\n onChange={(e) => this.filterSecondary(e.value)}\n isClearable={false}\n variant=\"flatBlueishGray\"\n />\n </div>\n </div>\n </div>\n </div>\n )}\n </Row>\n <Row>\n <div className=\"col-xs-12\">\n {stats.length > 0 ? (\n <div>\n <div className=\"chart-container\">\n <Bar\n ref={this.chartRef}\n data={this.state.chartData}\n height={14}\n options={options(this.state)}\n onClick={(event) => {\n if (!this.chartRef.current) return;\n const dataset = getDatasetAtEvent(this.chartRef.current, event);\n this.startSecondaryData(\n this.state.chartData.datasets[dataset[0].datasetIndex].metaCollection,\n this.determineInitialSecondary(),\n this.state.chartData.datasets[dataset[0].datasetIndex].secondaryTitle,\n );\n }}\n />\n </div>\n <ChartLegend datasets={this.state.chartData.datasets} />\n </div>\n ) : null}\n </div>\n </Row>\n </div>\n </Col>\n </Row>\n <div id=\"properties-container\">\n <PropertyFilters\n isFavorited={isFavorited}\n toggleButtons={this.toggleButtons}\n allViewCount={stats.length}\n favoriteCount={this.favoriteCount()}\n sortBy={sortBy}\n handleSelectSortBy={this.handleSelectSortBy}\n />\n {loading && <Loading />}\n {!loading && errorFetchingData && this.contactSupport()}\n {!loading && !errorFetchingData && this.statsOrSpinner(stats)}\n </div>\n </div>\n );\n }\n}\n\nexport default (props) => {\n const dispatch = useDispatch();\n\n return (\n <Activity {...props} openAddListingAlertModal={() => dispatch(actions.openAddListingAlertModal())} />\n );\n};\n\nclass ChartLegend extends React.Component {\n render() {\n const datasets = _.map(this.props.datasets, function (ds, index) {\n return (\n <li key={ds.label} className={`${ds.color}`} dangerouslySetInnerHTML={{ __html: ds.label }}></li>\n );\n });\n\n return <ul className={\"leaddna-legend\"}>{datasets}</ul>;\n }\n}\n","import React, { Component } from \"react\";\nimport Modal from \"@shared/v2/Modal\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport Activity from \"../WebActivity/Activity\";\nimport \"../WebActivity/activity.scss\";\n\nconst ViewWebActivityModal = ({ uuid, visits, lastVisit, views, isFavorite, closeWebActivityModal }) => (\n <Modal\n id=\"view-web-activity-modal\"\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[1000px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n show={true}\n onHide={closeWebActivityModal}\n >\n <Modal.Header\n titleClassName=\"tw-flex-1 tw-flex tw-items-center tw-gap-[16px] tw-flex-wrap\"\n title={\n <>\n <div className=\"tw-flex-1\">Web Activity</div>\n <div className=\"tw-flex tw-flex-wrap tw-gap-[24px] tw-font-semibold\">\n <div>\n <span className=\"tw-text-11d tw-uppercase\">Views: </span>\n <span className=\"tw-text-12d\">{views}</span>\n </div>\n <div>\n <span className=\"tw-text-11d tw-uppercase\">Visits: </span>\n <span className=\"tw-text-12d\">{visits}</span>\n </div>\n <div>\n <span className=\"tw-text-11d tw-uppercase\">Last Visit: </span>\n <span className=\"tw-text-12d\">{lastVisit}</span>\n </div>\n </div>\n </>\n }\n closeButton\n />\n <Modal.Body className=\"tw-flex-1 tw-overflow-x-hidden tw-overflow-auto\">\n <Activity uuid={uuid} isFavorite={isFavorite} closeModal={closeWebActivityModal} views={views} />\n </Modal.Body>\n </Modal>\n);\n\nexport default ViewWebActivityModal;\n","const valueOrZero = (value) => value ? value : 0\n\nconst lastVisit = (value) => value ? moment(value).fromNow() : 'NEVER'\n\nconst visits = (value) => value ? value : 'NONE'\n\nexport {\n valueOrZero,\n lastVisit,\n visits\n}","import React, {Component} from 'react';\nimport ViewWebActivityModal from '../../PersonDetail/components/modals/ViewWebActivityModal';\nimport { valueOrZero, lastVisit, visits } from '../../shared/WebActivityHelpers';\n\nclass FavoritesOrViews extends Component {\n state = {\n modalVisible: false\n }\n\n noCount = (count) => count == 0 || count == undefined\n\n countDisplay = (count) => {\n if (this.noCount(count)) {\n return '—'\n }\n return <span onClick={this.openModal} className=\"view-or-favorite\">{count}</span>\n }\n\n openModal = () => {\n this.setState({ modalVisible: true })\n }\n\n closeModal = () => {\n this.setState({ modalVisible: false })\n }\n\n render() {\n const { modalVisible } = this.state\n const { count, idxDataUri, idxDataToken, isFavorite, person } = this.props\n\n return (\n <div>\n <div>\n <h6>\n {this.countDisplay(count)}\n </h6>\n <h6 className=\"lower-row\">\n <span>{isFavorite ? 'Favorites' : 'Views'}</span>\n </h6>\n </div>\n { modalVisible &&\n <ViewWebActivityModal\n closeWebActivityModal={this.closeModal}\n idxDataUri={idxDataUri}\n idxDataToken={idxDataToken}\n isFavorite={isFavorite}\n lastVisit={lastVisit(person.idx_last_visit)}\n uuid={person.uuid}\n visits={visits(person.idx_visits)}\n views={valueOrZero(person.idx_property_views)}\n />\n }\n </div>\n )\n }\n}\n\nexport default FavoritesOrViews;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Popover, PopoverItem, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { VerticalDots, Trash, VisibilityVisible, Edit } from \"@shared/v2/Icomoon/Icons\";\n\nconst MarketReportMenu = ({ editReportFn, deleteReportFn, previewUrl, id }) => {\n const handleDelete = () => {\n deleteReportFn(id);\n };\n\n const handleEdit = () => {\n editReportFn(id);\n };\n\n const handlePreview = () => {\n if (previewUrl) {\n window.open(previewUrl, \"_blank\");\n }\n };\n\n return (\n <div className=\"tw-relative tw-flex tw-justify-start\">\n <Popover placement=\"bottom-end\">\n <PopoverTrigger>\n <IconButton size=\"small\" schema=\"transparent\">\n <VerticalDots size=\"l\" />\n </IconButton>\n </PopoverTrigger>\n <PopoverContent className=\"tw-z-3000\">\n <PopoverItem icon={<Edit />} onClick={handleEdit}>\n Edit\n </PopoverItem>\n <PopoverItem icon={<VisibilityVisible />} onClick={handlePreview}>\n Preview\n </PopoverItem>\n <PopoverItem icon={<Trash />} onClick={handleDelete}>\n Delete\n </PopoverItem>\n </PopoverContent>\n </Popover>\n </div>\n );\n};\n\nMarketReportMenu.propTypes = {\n id: PropTypes.string,\n editReportFn: PropTypes.func,\n deleteReportFn: PropTypes.func,\n previewUrl: PropTypes.string,\n};\n\nMarketReportMenu.defaultProps = {\n id: null,\n editReportFn: null,\n deleteReportFn: null,\n previewUrl: null,\n};\n\nexport default MarketReportMenu;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport MarketReportMenu from \"./MarketReportMenu\";\nimport { PencilSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst INLINE_DETAIL = \"tw-flex tw-overflow-ellipse tw-mb-[10px]\";\nconst LABEL_CLASS =\n \"tw-text-[12px] tw-text-neutral-gray-50 tw-font-semibold tw-w-[75px] tw-mr-[14px] tw-inline-block\";\nconst VALUE_CLASS = \"tw-text-[12px] tw-text-neutral-gray-75 tw-font-semibold tw-no-wrap tw-flex-1\";\n\nconst MarketReport = ({\n id,\n recurring_frequency,\n report_name,\n preview_url,\n view_count,\n view_history,\n last_viewed,\n last_opened,\n created_at,\n editReportFn,\n editMarketReportPanel2,\n showAdjustment,\n has_address,\n deleteReportFn,\n home_value_adjustment,\n home_value_adjustment_as_percentage,\n}) => (\n <div className=\"tw-shadow-card tw-p-[24px] tw-bg-white tw-rounded-[7px] tw-overflow-y-auto tw-h-[224px]\">\n <div className=\"tw-flex tw-overflow-ellipsis tw-mb-[14px]\">\n <a\n href={preview_url}\n target=\"_blank\"\n className={`tw-text-[14px] tw-text-left tw-font-bold tw-text-neutral-gray-75 tw-truncate tw-flex-1 tw-border-0 tw-bg-transparent tw-p-0 tw-mr-[8px]`}\n >\n {report_name}\n </a>\n <MarketReportMenu\n previewUrl={preview_url}\n id={id}\n editReportFn={editReportFn}\n deleteReportFn={deleteReportFn}\n />\n </div>\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS}>Last Viewed</span>\n <span className={VALUE_CLASS}>{last_viewed}</span>\n </div>\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS}>Last Opened</span>\n <span className={VALUE_CLASS}>{last_opened}</span>\n </div>\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS}>Created</span>\n <span className={VALUE_CLASS}>{created_at}</span>\n </div>\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS}>Frequency</span>\n <span className={VALUE_CLASS}>{recurring_frequency}</span>\n </div>\n {has_address && showAdjustment && (\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS}>Adjust Est.</span>\n <span\n className={`${VALUE_CLASS} !tw-text-theme-primary tw-font-semibold tw-text-12d tw-cursor-pointer`}\n onClick={() => editMarketReportPanel2(id)}\n >\n {(() => {\n const homeValueAdj = home_value_adjustment * 1;\n if (home_value_adjustment === null || homeValueAdj === 0) {\n return (\n <div className=\"tw-flex tw-items-center tw-cursor-pointer\">\n <PencilSolidV6 size=\"s\" className=\"tw-mr-4px\" />\n <span>Adjust</span>\n </div>\n );\n }\n\n const signValue = homeValueAdj > 0 ? \"\" : \"-\";\n\n return home_value_adjustment_as_percentage\n ? `${signValue} ${Math.floor(Math.abs(homeValueAdj))}%`\n : `${signValue}$ ${Math.floor(Math.abs(homeValueAdj))}`;\n })()}\n </span>\n </div>\n )}\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS}>View History</span>\n <span className={VALUE_CLASS}>{view_count} views</span>\n </div>\n {view_history && (\n <div className={INLINE_DETAIL}>\n <span className={LABEL_CLASS} />\n <span className=\"tw-no-wrap tw-flex-1\">\n {view_history.map((history, index) => (\n <div key={index} className=\"tw-text-[12px] tw-text-neutral-gray-50 tw-mb-4px tw-lowercase\">\n {history.replace(\"at\", \"\")}\n </div>\n ))}\n </span>\n </div>\n )}\n </div>\n);\n\nMarketReport.propTypes = {\n id: PropTypes.string,\n recurring_frequency: PropTypes.string,\n report_name: PropTypes.string,\n preview_url: PropTypes.string,\n view_count: PropTypes.number,\n last_viewed: PropTypes.string,\n last_opened: PropTypes.string,\n created_at: PropTypes.string,\n view_history: PropTypes.arrayOf(PropTypes.shape()),\n editReportFn: PropTypes.func,\n editMarketReportPanel2: PropTypes.func,\n deleteReportFn: PropTypes.func,\n home_value_adjustment: PropTypes.string,\n home_value_adjustment_as_percentage: PropTypes.bool,\n};\nMarketReport.defaultProps = {\n id: null,\n recurring_frequency: \"\",\n report_name: \"\",\n preview_url: \"\",\n view_count: \"\",\n last_viewed: \"\",\n last_opened: \"\",\n created_at: \"\",\n view_history: null,\n editReportFn: null,\n editMarketReportPanel2: () => {},\n deleteReportFn: null,\n home_value_adjustment: null,\n home_value_adjustment_as_percentage: null,\n};\n\nexport default MarketReport;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport { getStatusClass } from \"@shared/StatusDropdown/StatusDropdown\";\nimport { Plus } from \"@shared/v2/Icomoon/Icons\";\nimport MarketReport from \"../shared/MarketReport\";\n\nconst MarketReportPreview = ({\n modalIsOpen: initialModalIsOpen,\n person,\n person_status,\n person_lead_type,\n person_address,\n person_avatar,\n deleteReportFn,\n onClose,\n openMarketReport,\n editReportFn,\n editMarketReportPanel2,\n openMarketReportModal,\n modalOnly,\n}) => {\n const [modalIsOpen, setModalIsOpen] = useState(false);\n const [marketReports, setMarketReports] = useState([]);\n\n useEffect(() => {\n if (initialModalIsOpen) {\n fetchReportsAndOpenModal();\n }\n }, [initialModalIsOpen]);\n\n const fetchMarketReports = () => {\n axios\n .get(`/market_reports?uuid=${person.uuid}`)\n .then((res) => setMarketReports(res.data))\n .catch((err) => console.error(\"Error fetching reports:\", err));\n };\n\n const fetchReportsAndOpenModal = () => {\n setModalIsOpen(true);\n fetchMarketReports();\n };\n\n const closeMarketReportModal = () => {\n setModalIsOpen(false);\n setMarketReports([]);\n if (onClose) onClose();\n };\n\n const deleteReportFunc = (id) => {\n if (deleteReportFn(id)) {\n setMarketReports(marketReports.filter((r) => r.id !== id));\n } else {\n alert(\"Something went wrong...\");\n }\n };\n\n const tooltipDescription = () => {\n if (person?.active_market_report_count > 0) return \"Market Report(s) Sending\";\n if (person?.market_report_count > 0) return \"No Active Market Report Drips\";\n return \"No Market Reports\";\n };\n\n const getColorStyle = () => {\n return person?.active_market_report_count ? \"active\" : person?.market_report_count ? \"inactive\" : \"zero\";\n };\n\n const getReportCount = () => {\n return person?.market_report_count || \"0\";\n };\n\n return (\n <div className=\"tw-flex-row tw-flex tw-space-evenly tw-justify-center\">\n {!modalOnly && (\n <Tooltip\n trigger={\n <h6 className={`tw-cursor-pointer ${getColorStyle()}`} onClick={fetchReportsAndOpenModal}>\n {getReportCount()}\n </h6>\n }\n innerClassName=\"!tw-text-left tw-max-w-[180px]\"\n content={tooltipDescription()}\n placement=\"right\"\n />\n )}\n\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"!tw-w-[616px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full tw-p-[22px]\"\n backdrop=\"static\"\n show={modalIsOpen}\n onHide={closeMarketReportModal}\n >\n <Modal.Header\n titleClassName=\"tw-mx-[10px] tw-mb-32px tw-text-gray-75\"\n title=\"Applied Market Reports\"\n closeButton\n />\n\n <Modal.Body className=\"tw-mb-32px tw-max-h-[80vh] tw-overflow-y-auto \">\n <div className=\"tw-mx-[10px]\">\n <div className=\"tw-flex tw-items-center\">\n <Avatar\n src={person_avatar}\n alt={\n !person?.first_name && !person?.last_name\n ? \"No Name\"\n : `${person?.first_name} ${person?.last_name}`.trim()\n }\n size=\"large\"\n />\n <div className=\"tw-flex-1 tw-ml-[12px]\">\n <div className=\"tw-flex tw-items-center tw-space-x-[12px]\">\n <span className=\"tw-text-[14px] tw-text-neutral-gray-75 tw-font-semibold\">\n {!person?.first_name && !person?.last_name\n ? \"No Name\"\n : `${person?.first_name} ${person?.last_name}`}{\" \"}\n </span>\n {person_lead_type &&\n person_lead_type.split(\"/\").map((t) => (\n <div key={t} className={`intent-box ${t.toLowerCase()}`}>\n {t}\n </div>\n ))}\n <button\n className={`status btn btn-sm ${getStatusClass(person_status?.toLowerCase())} tw-text-white tw-px-[23px] tw-py-[4px] tw-leading-4 tw-rounded-[12px] tw-text-[11px] !tw-min-w-[50px] !tw-w-auto`}\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n {person_status}\n </button>\n </div>\n {person_address && (\n <div className=\"tw-text-[14px] tw-text-neutral-gray-75\">{person_address}</div>\n )}\n </div>\n </div>\n <div className=\"tw-flex tw-mt-[32px]\">\n <span className=\"tw-flex-1 tw-font-[12px] tw-text-neutral-gray-75\">{`Reports Created (${marketReports.length})`}</span>\n <Button\n schema=\"secondary\"\n onClick={() => {\n openMarketReport();\n closeMarketReportModal();\n }}\n >\n <Plus size=\"s\" className=\"tw-mr-4px\" />\n Add market report\n </Button>\n </div>\n <div className=\"tw-h-[1px] tw-w-full tw-my-[16px] tw-bg-neutral-gray-10\" />\n </div>\n\n <div\n id=\"listing-grid\"\n className=\"tw-mx-[10px] tw-grid tw-grid-cols-1 md:tw-grid-cols-2 tw-mb-[20px] tw-gap-[24px]\"\n >\n {marketReports?.map((report) => (\n <div key={report.id}>\n <MarketReport\n {...report}\n editReportFn={(id) => {\n editReportFn(id);\n closeMarketReportModal();\n }}\n editMarketReportPanel2={(id) => {\n editMarketReportPanel2(id);\n closeMarketReportModal();\n }}\n deleteReportFn={(id) => {\n deleteReportFunc(id);\n }}\n showAdjustment={Boolean(editMarketReportPanel2)}\n openMarketReportModal={() => {\n openMarketReportModal();\n closeMarketReportModal();\n }}\n />\n </div>\n ))}\n </div>\n </Modal.Body>\n </Modal>\n </div>\n );\n};\n\nexport default MarketReportPreview;\n","// extracted by mini-css-extract-plugin\nexport default {\"brivityBlue\":\"XJaGxcWjESAqT6pmMW4D\",\"brivityOrange\":\"g9JEN8VsAGMERpRZbj78\",\"yellowOrange\":\"ZNyjVoLpilPkgh3pEyWR\",\"darkBlue\":\"lDYYDQceKjdKlzCOYRsW\",\"gray\":\"MDTzTOKAFdTLSBKJZLvG\",\"grayBase\":\"aNezoE3BzbqvwBBunDYz\",\"statusNew\":\"bSzSuzl6ML_XcEbnFaiM\",\"statusUnqual\":\"H64Q33btVgkn06nw0_Fw\",\"statusNurt\":\"XhGAEdHTDwwOFkbr2KLg\",\"statusWatch\":\"ex8rJgjJ0wpuj0SVGX_t\",\"statusHot\":\"fG51cMZj_umzuCOcNo4f\",\"statusPending\":\"XRIlOlTxx2XnXG9FEdmh\",\"statusActiveClient\":\"qeHo1ZYYSkbCQXsiAuas\",\"statusOther\":\"MJRZeXqViWgszgPvAfWO\",\"statusProspectiveClient\":\"sz0I6Y6F98F5DNebn9zy\",\"statusPast\":\"_4sC4CNS59xFXVHlKfuBr\",\"statusInactive\":\"WQqIykpEi2269kBMgDDF\",\"statusArchived\":\"ItkZM2ex9cf9LM3Tw40b\",\"statusTrash\":\"fKbDT3DCEtirmnDiUif5\",\"intentBuyer\":\"J19MYqLM3zNewXNkNbxA\",\"intentSeller\":\"zPz8sEb_38fj20URO2r1\",\"intentSellerBuyer\":\"V3vJSGU1j9NMKvZIZMPo\",\"intentTenant\":\"SXmjQsxCH0CVHAoL7dE7\",\"intentLandlord\":\"xeZrxyTRRibm8h97K5n4\",\"intentRecruit\":\"PxQ6Jc9EuBgMN4n4brW7\",\"intentCandidate\":\"xrUFy4YS6W_ujOt9gt0C\",\"intentNone\":\"Dw7qianarzxUmFaoBaBk\"};","// extracted by mini-css-extract-plugin\nexport default {\"trigger\":\"b58xWTnu71apglmfndvE\",\"content\":\"zusKexE30n9oLRAZOlw2\",\"statusIntentButton\":\"Y3UklZkwULufg1F0n89K\",\"selectedStatusIntent\":\"bU1SIeS4hMWZ4GV2nvxy\",\"selectedStatusIntentText\":\"qEo0NjEgLvjOLL6m8KUS\",\"selectedFrequencyText\":\"L_ekzSpEWI3KvDks8ldg\",\"statusIntentOption\":\"FW6lq8ujtEU_9qUou4GH\",\"statusFrequencyOption\":\"xsXlFTPEYCfiIFeFx4xp\",\"selectedFrequencyTextalign\":\"IIsQPKBahxrpRf9l1bPo\",\"item\":\"qSBMHOQoVEkgWcE3eT2p\",\"dropdown\":\"J4jGHnPrYwhespdUYNQu\",\"active\":\"FVSMY1Q28swSJjHCjSFt\"};","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover/Popover\";\nimport colors from \"../../PersonDetail/components/colors.module.css\";\nimport statusIntentCss from \"../../PersonDetail/components/statusIntentDropdown.module.css\";\n\nconst EXCLUDED_STATUSES = [\"active-client\", \"prospective-client\", \"brivity-user\", \"non-compete\"];\n\nconst statusClass = (stat) => {\n switch (stat) {\n case \"new\":\n return colors.statusNew;\n case \"unqualified\":\n return colors.statusUnqual;\n case \"hot\":\n return colors.statusHot;\n case \"watch\":\n return colors.statusWatch;\n case \"nurture\":\n return colors.statusNurt;\n case \"past-client\":\n return colors.statusPast;\n case \"past\":\n return colors.statusPast;\n case \"inactive\":\n return colors.statusInactive;\n case \"trash\":\n return colors.statusTrash;\n case \"archived\":\n return colors.statusArchived;\n case \"pending\":\n return colors.statusPending;\n case \"active-client\":\n return colors.statusActiveClient;\n case \"prospective-client\":\n return colors.statusProspectiveClient;\n default:\n return colors.statusOther;\n }\n};\n\nconst Status = ({ disabled, person }) => {\n const [show, setShow] = useState(false);\n const [status, setStatus] = useState(person.person.status);\n const statusLists = Object.entries(person.status_options);\n\n const handleSelect = (index) => {\n const newStatus = statusLists[index][0];\n setShow(false);\n const param = {\n status: newStatus,\n };\n const archivedFilter = window.location.search.match(\"archived\") !== null;\n const inactiveFilter = window.location.search.match(\"inactive\") !== null;\n const trashFilter = window.location.search.match(\"trash\") !== null;\n window.App.leadUpdateChannel.perform(\"lead_update\", {\n id: person.person_lead_id,\n person_attributes: { ...param },\n archived_filter: archivedFilter,\n inactive_filter: inactiveFilter,\n trash_filter: trashFilter,\n });\n setStatus(statusLists[index][1]);\n };\n\n return (\n <div className=\"tw-relative tw-flex tw-justify-center status-dd\">\n <Popover open={show} onOpenChange={setShow}>\n <PopoverTrigger onClick={!EXCLUDED_STATUSES.includes(status) ? () => setShow((v) => !v) : undefined}>\n <button\n type=\"button\"\n disabled={disabled}\n className={`focus:tw-outline-none tw-text-[11px] tw-py-[7px] tw-rounded-full tw-h-[24px] tw-w-[120px] tw-leading-4 tw-font-bold\ttw-inline-block tw-bg-transparent tw-border-0 ${status} ${statusClass(status)} ${show ? statusIntentCss.active : \"\"}`}\n >\n <div className={statusIntentCss.statusIntentButton}>\n <span\n className={`${!EXCLUDED_STATUSES.includes(status) ? statusIntentCss.selectedStatusIntentText : \"\"} ${disabled ? \"after:tw-content-none\" : \"\"}`}\n >\n {status === \"prospective-client\" ? \"PROSPECTIVE\" : status.replace(\"-\", \" \").toUpperCase()}\n </span>\n </div>\n </button>\n </PopoverTrigger>\n <PopoverContent className=\"tw-z-3000 tw-gap-[8px] tw-p-[12px]\">\n {statusLists.map(([, value], index) => (\n <button\n key={value}\n type=\"button\"\n className={`focus:tw-outline-none tw-border-0 tw-bg-transparent tw-text-[11px] tw-py-[7px] tw-rounded-full tw-h-[24px] tw-w-[120px] tw-leading-4\ttw-font-bold\ttw-inline-block ${value} ${statusClass(value)}`}\n onClick={() => handleSelect(index)}\n >\n {value.replace(\"-\", \" \").toUpperCase()}\n </button>\n ))}\n </PopoverContent>\n </Popover>\n </div>\n );\n};\n\nStatus.propTypes = {\n disabled: Proptypes.bool,\n person: Proptypes.shape({\n status_options: Proptypes.shape({}),\n person_lead_id: Proptypes.number,\n person: Proptypes.shape({ status: Proptypes.string }),\n }),\n};\n\nStatus.defaultProps = {\n disabled: false,\n person: null,\n};\n\nexport default Status;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst TagTooltip = ({ person }) => (\n <span>\n {person.tag_tooltip_list && person.tag_tooltip_list.length > 0 && (\n <Tooltip\n placement=\"left\"\n trigger={<i className=\"fa fa-tags text-danger\" id=\"tagstool\" />}\n content={\n <div className=\"people-tooltip-container\">\n {person.tag_tooltip_list.map((tooltip) => (\n <span key={tooltip} className=\"people-tooltip-tags\">\n {tooltip}\n </span>\n ))}\n </div>\n }\n />\n )}\n </span>\n);\nTagTooltip.propTypes = {\n person: Proptypes.shape({ tag_tooltip_list: Proptypes.arrayOf(Proptypes.string) }),\n};\nTagTooltip.defaultProps = {\n person: null,\n};\n\nexport default TagTooltip;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Popover, PopoverItem, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\n\nimport { EyeSolidV6, PlusSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst CMALink = ({ person, setShowModal }) => {\n const isMarketReport = (link) => link.text === \"New Market Report\";\n\n return (\n <div className=\"tw-relative tw-ml-15px\">\n <Popover placement=\"bottom-end\">\n <PopoverTrigger>\n <button\n type=\"button\"\n className=\"focus:tw-outline-none cma-links-icon tw-bg-transparent tw-border-0\"\n >\n <img className=\"cma-icon-image\" src=\"/assets/CMA-icon.svg\" alt=\"CMA Icon\" />\n </button>\n </PopoverTrigger>\n <PopoverContent>\n {person.cma_links.map((link) =>\n isMarketReport(link) ? (\n <PopoverItem icon={<PlusSolidV6 />} onClick={() => setShowModal(true)}>\n {link.text}\n </PopoverItem>\n ) : (\n <PopoverItem\n icon={link.text === \"View Report Status\" ? <EyeSolidV6 /> : <PlusSolidV6 />}\n onClick={() => window.open(link.link, \"_blank\")}\n >\n {link.text}\n </PopoverItem>\n ),\n )}\n </PopoverContent>\n </Popover>\n </div>\n );\n};\n\nCMALink.propTypes = {\n person: PropTypes.shape({\n cma_links: PropTypes.arrayOf(\n PropTypes.shape({\n link: PropTypes.string,\n text: PropTypes.string,\n }),\n ).isRequired,\n email_details: PropTypes.arrayOf(\n PropTypes.shape({\n category: PropTypes.string,\n address: PropTypes.string,\n }),\n ),\n display_a_street_address: PropTypes.string,\n display_city_state_and_zip: PropTypes.string,\n }).isRequired,\n setShowModal: PropTypes.func.isRequired,\n};\n\nexport default CMALink;\n","import axios from \"axios\";\nimport { produce } from \"immer\";\nimport { updateStageAttribute } from \"./helper\";\n\nexport const updatePersonPromise = (editablePerson, phoneRemovalAck) => {\n const updatedPerson = produce(editablePerson, (draft) => {\n updateStageAttribute(draft);\n delete draft.meta;\n });\n\n return new Promise((resolve, reject) => {\n axios\n .patch(`/api/v4/person_detail/${updatedPerson.data.id}`, {\n person: updatedPerson,\n authenticity_token: ReactOnRails.authenticityToken(),\n phone_removal_ack: phoneRemovalAck,\n })\n .then((res) => {\n const successObject = {\n success: true,\n data: res.data,\n };\n resolve(successObject);\n })\n .catch((err) => {\n reject(err);\n });\n });\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst PersonResult = ({ result, index, onHover, onClickHandle }) => (\n <div className=\"tw-h-[32px] tw-px-[12px] tw-cursor-pointer tw-py-[6px] hover:tw-bg-gray-lighter hover:tw-text-gray-darker\">\n <div\n data-item-id={result.id}\n onMouseOver={(e) => onHover(index, e)}\n onMouseDown={(e) => onClickHandle(index, e)}\n >\n {`${result.text} (${result.type || \"not in CRM\"})`}\n </div>\n </div>\n);\n\nPersonResult.propTypes = {\n result: PropTypes.shape({}),\n onHover: PropTypes.func,\n onClickHandle: PropTypes.func,\n index: PropTypes.number.isRequired,\n};\nPersonResult.defaultProps = {\n result: {},\n onHover: () => {},\n onClickHandle: () => {},\n};\n\nexport default PersonResult;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport PersonResult from \"./PersonResult\";\nimport { Col, Row } from \"react-bootstrap\";\n\nconst PeopleResults = ({\n searchResults,\n onHover,\n onClickHandle,\n searchValid,\n searchTerm,\n searchTermLength,\n}) => (\n <Row>\n <Col xs={11} className=\"tw-pr-0\">\n <div className=\"tw-mt-[4px] tw-max-h-[392px] tw-overflow-y-scroll tw-rounded-sm tw-border-solid tw-border tw-border-gray-15 tw-shadow-bootstrap-18 tw-z-10\">\n {!searchValid && (\n <div className=\"tw-h-[32px] tw-px-[12px] tw-py-[6px]\">\n Enter {1 - searchTermLength} more characters to search\n </div>\n )}\n\n {searchResults.map((result, i) => {\n return (\n <PersonResult\n key={result.person_id}\n result={result}\n index={i}\n onHover={onHover}\n onClickHandle={onClickHandle}\n />\n );\n })}\n {!searchResults.length && searchValid && (\n <div className=\"tw-h-[32px] tw-px-[12px] tw-py-[6px]\">\n No results for <b>{searchTerm}</b>\n </div>\n )}\n </div>\n </Col>\n </Row>\n);\n\nPeopleResults.propTypes = {\n searchResults: PropTypes.arrayOf(PropTypes.shape({})),\n onHover: PropTypes.func,\n onClickHandle: PropTypes.func,\n searchValid: PropTypes.bool,\n searchTerm: PropTypes.string,\n searchTermLength: PropTypes.number,\n};\nPeopleResults.defaultProps = {\n searchResults: [],\n onHover: () => {},\n onClickHandle: () => {},\n searchValid: false,\n searchTerm: \"\",\n searchTermLength: 0,\n};\nexport default PeopleResults;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\nimport PeopleResults from \"./PeopleResults\";\nimport { Search as SearchIcon, Trash } from \"../../../shared/v2/Icomoon\";\nimport TextComboInput from \"../../../shared/v2/TextComboInput\";\nimport Tag from \"@shared/v2/Tag\";\nimport { Row, Col } from \"react-bootstrap\";\n\nconst createTags = (tag) => ({\n id: tag.id || tag,\n text: tag.text || tag,\n});\n\nconst adaptTags = (tags) => tags.map((tag) => createTags(tag));\n\nconst SearchInteraction = ({ tagsEmail, onSelectFunction, onHide }) => {\n const [isActive, setIsActive] = useState(false);\n const [cursor, setCursor] = useState(0);\n const [searchResults, setSearchResults] = useState([]);\n const [searchTerm, setSearchTerm] = useState(\"\");\n const [searchValid, setSearchValid] = useState(false);\n const [tags, setTags] = useState(adaptTags(tagsEmail) || []);\n useEffect(() => {\n const getTags = adaptTags(tagsEmail);\n const haveSameIds =\n getTags.every((itemA) => tags.some((itemB) => itemA.id === itemB.id)) &&\n tags.every((itemB) => getTags.some((itemA) => itemB.id === itemA.id));\n if (!haveSameIds) {\n setTags(getTags);\n }\n }, [tagsEmail]);\n\n const handleSearchChange = (value) => {\n setSearchTerm(value);\n };\n\n const hideClick = () => {\n setIsActive(false);\n setCursor(0);\n setSearchResults([]);\n setSearchTerm(\"\");\n setSearchValid(false);\n setTags([]);\n onHide();\n };\n\n const handleKeyDown = (e) => {\n if (e.keyCode === 13) {\n e.preventDefault();\n setIsActive(false);\n if (!tags.some((tag) => tag.id === searchResults[cursor].id)) {\n setTags([...tags, searchResults[cursor]]);\n setSearchTerm(\"\");\n }\n }\n\n if (e.keyCode === 38 && cursor > 0) {\n setCursor(cursor - 1);\n } else if (e.keyCode === 40 && cursor < searchResults.length - 1) {\n setCursor(cursor + 1);\n }\n };\n\n const handleHover = (index) => {\n setCursor(index);\n };\n\n const handleClick = (index, e) => {\n e.preventDefault();\n setCursor(index);\n setIsActive(false);\n if (!tags.some((tag) => tag.id === searchResults[index].id)) {\n setTags([...tags, searchResults[index]]);\n setSearchTerm(\"\");\n }\n };\n\n const onRemove = (index) => {\n if (index >= 0 && index < tags.length) {\n const updatedTags = [...tags];\n updatedTags.splice(index, 1);\n setTags(updatedTags);\n }\n };\n\n useEffect(() => {\n const emailTagsVal = tags.map((item) => item.id);\n onSelectFunction(emailTagsVal);\n }, [tags]);\n\n useEffect(() => {\n if (searchTerm) {\n setIsActive(true);\n setSearchValid(true);\n let encodedTerm = searchTerm.replace(\"+\", \"%2B\");\n axios\n .get(\"/interactions/interactable_emails\", {\n params: {\n search: encodedTerm,\n },\n })\n .then((response) => {\n const data = response.data;\n\n setSearchResults(data);\n setSearchValid(true);\n })\n .catch((error) => {\n console.error(\"Error fetching data:\", error);\n });\n }\n }, [searchTerm]);\n\n return (\n <div className=\"tw-pb-[4px] tw-pt-[8px]\">\n <Row>\n <Col xs={11} className=\"tw-pr-0\">\n <TextComboInput\n className=\"tw-w-full\"\n inputClassName=\"tw-p-0\"\n autoComplete=\"no\"\n placeholder=\"Search Contacts\"\n onChange={(e) => handleSearchChange(e.target.value)}\n onFocus={() => setIsActive(true)}\n onBlur={() => setIsActive(false)}\n onKeyDown={handleKeyDown}\n value={searchTerm}\n trailing={\n <div className=\"tw-flex tw-items-center\">\n <SearchIcon className=\"tw-text-neutral-gray-30\" size=\"l\" />\n </div>\n }\n />\n </Col>\n <Col xs={1} className=\"tw-pl-[4px]\">\n <button\n type=\"button\"\n onClick={hideClick}\n className=\"tw-float-right tw-w-36px tw-h-36px tw-border-1px tw-rounded-[2px] tw-border-solid tw-border-neutral-gray-15 tw-bg-[#F5F7F7] \n tw-flex tw-items-center tw-justify-center tw-cursor-pointer hover:tw-bg-semantic-red-5 hover:tw-border-semantic-red-5 hover:tw-text-semantic-red-100\n active:tw-bg-semantic-red-100 active:tw-border-semantic-red-100 active:tw-text-white\"\n >\n <Trash size=\"l\" />\n </button>\n </Col>\n </Row>\n\n {isActive && (\n <PeopleResults\n searchResults={searchResults}\n onHover={handleHover}\n onClickHandle={handleClick}\n searchTerm={searchTerm}\n searchTermLength={searchTerm.length}\n searchValid={searchValid}\n />\n )}\n {tags.map((tag, index) => (\n <Tag\n key={tag.id}\n className=\"tw-mt-[4px] tw-mr-[4px]\"\n removable={true}\n onRemove={() => onRemove(index)}\n >\n {tag.text}\n </Tag>\n ))}\n </div>\n );\n};\n\nPeopleResults.propTypes = {\n onHide: PropTypes.func,\n onSelectFunction: PropTypes.func,\n tagsEmail: PropTypes.arrayOf(PropTypes.string),\n};\n\nSearchInteraction.defaultProps = {\n onSelectFunction: null,\n tagsEmail: [],\n onHide: null,\n};\n\nexport default SearchInteraction;\n","import React from \"react\";\nimport Alert from \"./v2/Alert\";\nimport TextLink from \"./v2/TextLink\";\n\nconst EmailError = () => {\n return (\n <Alert\n variant=\"error\"\n title=\"Error\"\n text={\n <>\n <span>There has been an issue sending your email. Please reconnect your Gmail account on the</span>{\" \"}\n <TextLink target=\"_blank\" href=\"/account/personal\">\n Personal Settings Page\n </TextLink>\n . <span>Instructions can be found</span>{\" \"}\n <TextLink\n target=\"_blank\"\n href=\"https://www.brivityknowledge.com/docs/connect-gmail-to-brivity-crm-2?highlight=gmail\"\n >\n here\n </TextLink>\n .{\" \"}\n <span>\n Be sure to copy your email draft before navigating away from this screen as any changes will be\n lost.\n </span>\n </>\n }\n />\n );\n};\n\nexport default EmailError;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\n\nconst useEmailPlaceholders = ({ listingId, personUuid }) => {\n const [loading, setLoading] = useState(true);\n const [emailPlaceholders, setEmailPlaceholders] = useState([]);\n useEffect(() => {\n if (!personUuid) return;\n axios\n .get(\n listingId\n ? `/api/v4/transactions/interactions/email_placeholders`\n : `/api/v4/person/${personUuid}/one_off_email_placeholders`,\n { params: { uuid: listingId, person_id: personUuid } },\n )\n .then(({ data }) => {\n setEmailPlaceholders(data);\n setLoading(false);\n })\n .catch((err) => {\n console.log(\"Failed to load email placeholders\", err);\n setLoading(false);\n });\n }, [listingId, personUuid]);\n return { loading, emailPlaceholders };\n};\n\nexport default useEmailPlaceholders;\n","import React, { useEffect, useState, useRef } from \"react\";\nimport axios from \"axios\";\nimport { Col, Row } from \"react-bootstrap\";\nimport V1Alert from \"@shared/v1/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport useSubjectLineLimitError, { isWithinSubjectLineLimit } from \"@shared/hooks/useSubjectLineLimitError\";\nimport { PaperclipSolidV6, PlusSolidV6, XmarkSolidV6 } from \"@icons\";\nimport { produce } from \"immer\";\nimport person_detail_css from \"./person-detail-styles.module.css\";\nimport BrivityTextEditor from \"../../shared/BrivityTextEditor\";\nimport { updatePersonPromise } from \"../actions/updatePerson\";\nimport SearchInteraction from \"./SearchInteraction\";\nimport Alert from \"@shared/v2/Alert\";\nimport EmailError from \"@shared/EmailError\";\nimport Loading from \"../../Goals/components/Loader\";\nimport useEmailPlaceholders from \"../actions/useEmailPlaceholders\";\n\nconst PersonInteractionEmailForm = ({\n send_email_url,\n isTDP,\n current_user_id,\n gmailReplyThreadSubject,\n gmailReplyThreadId,\n additionalRecipientsVal,\n CCval,\n BCCval,\n person,\n updatePersonData,\n clearErrors = () => {},\n listingId = \"\",\n defaultHomeAppTabContent,\n email_templates,\n submitEmail,\n handleSubmitEmailError,\n listingUuid,\n closeModal,\n gmailUnsynced,\n sendEmailError,\n isEmailSent,\n}) => {\n const { loading, emailPlaceholders } = useEmailPlaceholders({\n personUuid: person.data?.attributes?.uuid,\n listingUuid,\n });\n const [brivityEmailWrapper, setBrivityEmailWrapper] = useState({\n url: send_email_url,\n data: {\n interaction_template: \"\",\n message: {\n bcc: BCCval || [],\n cc: CCval || [],\n recipients: additionalRecipientsVal || [],\n content: \"\",\n interaction_template_id: \"\",\n listing_id: null,\n recipient_id: person.data.attributes.id,\n save_note: true,\n send_me_a_copy: 0,\n sender_id: current_user_id,\n subject: \"\",\n template: null,\n thread_id: null,\n user_submitted: true,\n attachment: [],\n handleclick: false,\n },\n },\n });\n const hiddenAttachmentInput = useRef(null);\n\n const [showCC, setShowCC] = useState(false);\n const [showBCC, setShowBCC] = useState(false);\n const [showRecipients, setShowRecipients] = useState(false);\n const [editablePerson, setEditablePerson] = useState(person);\n const [changedPrimaryEmail, setChangedPrimaryEmail] = useState(false);\n\n const { errorMsg, setErrorTrigger } = useSubjectLineLimitError();\n\n useEffect(() => {\n if (gmailReplyThreadSubject) {\n handleSubjectChange(gmailReplyThreadSubject);\n }\n }, [gmailReplyThreadSubject]);\n\n useEffect(() => {\n if (gmailReplyThreadId) {\n setThreadId(gmailReplyThreadId);\n }\n }, [gmailReplyThreadId]);\n\n useEffect(() => {\n if (additionalRecipientsVal) {\n selectRecipients(additionalRecipientsVal);\n if (additionalRecipientsVal.length > 0) {\n showtoggleRecipients(true);\n }\n }\n }, [additionalRecipientsVal]);\n\n useEffect(() => {\n if (CCval) {\n selectCC(CCval);\n if (CCval.length > 0) {\n showtoggleCC(true);\n }\n }\n }, [CCval]);\n\n useEffect(() => {\n if (BCCval) {\n selectBCC(BCCval);\n if (BCCval.length > 0) {\n showtoggleBCC(true);\n }\n }\n }, [BCCval]);\n\n useEffect(() => {\n // Selecting a template with an ID of 0 populates the user's email signature\n if (!loading) selectTemplate(0);\n }, [loading]);\n\n useEffect(() => {\n if (person) setEditablePerson(person);\n }, [person]);\n\n useEffect(() => {\n if (editablePerson !== null && changedPrimaryEmail) {\n setChangedPrimaryEmail(false);\n updatePersonPromise(editablePerson).then((r) => {\n updatePersonData(r.data);\n });\n }\n }, [editablePerson.data.attributes.main_email]);\n\n useEffect(() => {\n if (brivityEmailWrapper.data.message.handleclick) {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.handleclick = false;\n }),\n );\n submitSendEmail();\n }\n }, [brivityEmailWrapper.data.message.handleclick]);\n\n const changePrimaryEmail = (email_detail) => {\n setChangedPrimaryEmail(true);\n setEditablePerson((prevPerson) =>\n produce(prevPerson, (draftState) => {\n const newMainEmail = draftState.included.find(({ id }) => id === email_detail.id);\n draftState.included\n .filter((i) => i.type === \"email_detail\")\n .forEach((e) => {\n e.attributes.set_main_email = false;\n });\n newMainEmail.attributes.set_main_email = true;\n draftState.data.attributes.main_email = newMainEmail.attributes.value;\n }),\n );\n };\n\n const handleSubjectChange = (value) => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.subject = value;\n }),\n );\n };\n const updateEmailBody = (value) => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.body = value;\n }),\n );\n };\n const setThreadId = (id) => {\n if (id !== 0) {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.thread_id = id;\n }),\n );\n }\n };\n\n const selectTemplate = (id) => {\n clearErrors();\n\n if (id !== 0) {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.interaction_template = id;\n draft.data.message.interaction_template_id = id;\n }),\n );\n }\n\n let formData = new FormData();\n formData.append(\"id\", id);\n formData.append(\"listing_id\", listingId);\n formData.append(\"recipient_id\", brivityEmailWrapper.data.message.recipient_id);\n formData.append(\"sender_id\", brivityEmailWrapper.data.message.sender_id);\n\n axios\n .post(\"/interaction_templates/parse.json\", formData, {\n headers: {\n \"X-CSRF-Token\": window.ReactOnRails.authenticityToken(),\n },\n })\n .then((res) => {\n let emailBody = \"\";\n if (id !== 0) {\n handleSubjectChange(res.data.subject);\n emailBody = res.data.body;\n } else {\n // This prop is currently being set from the Home App card and is also used in PersonInteractionSmsForm. If we allow other areas of the app to set default email/text content\n // in the future, then we should rename this to be more generic. Keep in mind that we are currently updating\n // the person's home_app_invite_sent when this email is sent (called in submitEmail on line 295 below) so we will need to also include a prop\n // signifying where the default content is being set as we would not want make this update\n emailBody = defaultHomeAppTabContent || \"\";\n }\n\n updateEmailBody(emailBody + res.data.signature);\n tinymce.activeEditor.setContent(emailBody + res.data.signature);\n })\n .catch((err) => {\n console.log(err);\n });\n };\n\n const showtoggleCC = (haveValue) => {\n if (!haveValue) {\n selectCC([]);\n }\n setShowCC(true);\n };\n const hidetoggleCC = () => {\n selectCC([]);\n setShowCC(false);\n };\n const showtoggleRecipients = (haveValue) => {\n if (!haveValue) {\n selectRecipients([]);\n }\n setShowRecipients(true);\n };\n const hidetoggleRecipients = () => {\n selectRecipients([]);\n setShowRecipients(false);\n };\n\n const showtoggleBCC = (haveValue) => {\n if (!haveValue) {\n selectBCC([]);\n }\n setShowBCC(true);\n };\n const hidetoggleBCC = () => {\n selectBCC([]);\n setShowBCC(false);\n };\n\n const selectRecipients = (recipientsVal) => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.recipients = recipientsVal;\n }),\n );\n };\n\n const selectCC = (ccVal) => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.cc = ccVal;\n }),\n );\n };\n\n const selectBCC = (bccVal) => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.bcc = bccVal;\n }),\n );\n };\n\n const toggleSendMeACopy = () => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.send_me_a_copy = prevState.data.message.send_me_a_copy === 0 ? 1 : 0;\n }),\n );\n };\n\n const handleAttachmentClick = () => {\n if (hiddenAttachmentInput.current) {\n hiddenAttachmentInput.current.click();\n }\n };\n\n const handleAttachmentUpload = (event) => {\n const fileUploaded = event.target.files[0];\n if (fileUploaded === undefined) return;\n\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.attachment = [...brivityEmailWrapper.data.message.attachment, fileUploaded];\n }),\n );\n };\n\n const deleteAttachment = (index) => {\n let attachments = [...brivityEmailWrapper.data.message.attachment];\n attachments.splice(index, 1);\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.attachment = attachments;\n }),\n );\n };\n const handleSendEmailClick = () => {\n setBrivityEmailWrapper((prevState) =>\n produce(prevState, (draft) => {\n draft.data.message.content = tinymce.activeEditor.getContent();\n draft.data.message.handleclick = true;\n }),\n );\n };\n\n const clearForm = () => {\n tinymce.activeEditor.setContent(\"\");\n setBrivityEmailWrapper({\n url: send_email_url,\n data: {\n interaction_template: \"\",\n message: {\n bcc: BCCval || [],\n cc: CCval || [],\n recipients: additionalRecipientsVal || [],\n content: \"\",\n interaction_template_id: \"\",\n listing_id: null,\n recipient_id: person.data.attributes.id,\n save_note: true,\n send_me_a_copy: false,\n sender_id: current_user_id,\n subject: \"\",\n template: null,\n thread_id: null,\n user_submitted: true,\n attachment: [],\n handleclick: false,\n },\n },\n });\n setShowCC(false);\n setShowBCC(false);\n setShowRecipients(false);\n selectTemplate(0);\n\n clearErrors();\n };\n\n const mainEmailEmailDetail = () =>\n editablePerson.included.find(\n (d) =>\n d.type === \"email_detail\" &&\n (d.attributes.value === editablePerson.data.attributes.main_email || d.attributes.position === 1),\n );\n\n const otherEmailDetails = () =>\n editablePerson.included.filter(\n (d) =>\n d.type === \"email_detail\" &&\n (d.attributes.value !== editablePerson.data.attributes.main_email || d.attributes.position !== 1),\n );\n\n const visibleoption = () => {\n let arr = email_templates.map((e) => ({\n value: e.id,\n label: e.name,\n }));\n return arr;\n };\n\n const submitSendEmail = () => {\n const INT_MSG = isTDP ? \"interaction[message]\" : \"message\";\n\n let formData = new FormData();\n formData.append(\"authenticity_token\", window.ReactOnRails.authenticityToken());\n\n formData.append(`${INT_MSG}[recipient_id]`, brivityEmailWrapper.data.message.recipient_id);\n formData.append(`${INT_MSG}[save_note]`, true);\n brivityEmailWrapper.data.message.cc.forEach((cc) => formData.append(`${INT_MSG}[cc][]`, cc));\n brivityEmailWrapper.data.message.bcc.forEach((bcc) => formData.append(`${INT_MSG}[bcc][]`, bcc));\n brivityEmailWrapper.data.message.recipients.forEach((recipients) =>\n formData.append(`${INT_MSG}[other_recipients][]`, recipients),\n );\n brivityEmailWrapper.data.message.attachment.forEach((a) =>\n formData.append(`${INT_MSG}[attachments][]`, a),\n );\n formData.append(`${INT_MSG}[sender_id]`, brivityEmailWrapper.data.message.sender_id);\n formData.append(`${INT_MSG}[subject]`, brivityEmailWrapper.data.message.subject);\n formData.append(`${INT_MSG}[user_submitted]`, true);\n\n formData.append(`${INT_MSG}[body]`, brivityEmailWrapper.data.message.content);\n\n formData.append(\n `${INT_MSG}[interaction_template_id]`,\n brivityEmailWrapper.data.message.interaction_template_id,\n );\n formData.append(`${INT_MSG}[send_me_a_copy]`, brivityEmailWrapper.data.message.send_me_a_copy);\n\n if (isTDP) {\n formData.append(\"uuid\", listingUuid);\n formData.append(\"interaction[person_id]\", brivityEmailWrapper.data.message.sender_id);\n formData.append(\"interaction[interaction_template]\", brivityEmailWrapper.data.interaction_template);\n } else {\n formData.append(\"interaction_template\", brivityEmailWrapper.data.interaction_template);\n formData.append(\"person_details_page\", \"true\");\n }\n\n axios\n .post(brivityEmailWrapper.url, formData)\n .then((res) => {\n if (isTDP) {\n submitEmail();\n } else {\n submitEmail(res.data, !!defaultHomeAppTabContent, brivityEmailWrapper.data.message.recipient_id);\n }\n\n clearForm();\n })\n .catch((err) => {\n handleSubmitEmailError(err);\n });\n };\n\n const sendEmailClick = () => {\n if (!isWithinSubjectLineLimit(brivityEmailWrapper.data.message.subject)) {\n return setErrorTrigger(true);\n }\n handleSendEmailClick();\n };\n\n const renderSuccessIcon = () => (\n <Row className=\"m-b-5\">\n <div className=\"form-success m-t-20 m-b-20 p-b-20 p-t-20\">\n <i className=\"fa fa-check-circle\" style={{ color: \"#59c4c4\" }}></i>\n </div>\n </Row>\n );\n const emailStatus = (emailDetail) => {\n if (emailDetail.attributes.unsubscribed_message_types.length > 0) {\n return (\n <div style={{ paddingTop: \"2px\" }}>\n <Tooltip\n placement=\"top\"\n trigger={\n <img\n src=\"/assets/emails/unsubscribed-email.svg\"\n className={person_detail_css.emailStatusIcon}\n />\n }\n content=\"Unsubscribed Email\"\n />\n </div>\n );\n }\n switch (emailDetail.attributes.is_verified) {\n case true:\n return (\n <div style={{ paddingTop: \"2px\" }}>\n <Tooltip\n placement=\"top\"\n trigger={\n <img src=\"/assets/emails/valid-email.svg\" className={person_detail_css.emailStatusIcon} />\n }\n content=\"Valid Email\"\n />\n </div>\n );\n case false:\n return (\n <div style={{ paddingTop: \"2px\" }}>\n <Tooltip\n placement=\"top\"\n trigger={\n <img src=\"/assets/emails/invalid-email.svg\" className={person_detail_css.emailStatusIcon} />\n }\n content=\"Email may be invalid\"\n />\n </div>\n );\n case null:\n return (\n <div style={{ paddingTop: \"2px\" }}>\n <Tooltip\n placement=\"top\"\n trigger={\n <img\n src=\"/assets/emails/unverified-email.svg\"\n className={person_detail_css.emailStatusIcon}\n />\n }\n content=\"Unverified Email\"\n />\n </div>\n );\n default:\n return null;\n }\n };\n\n const emailDropdownList = () => {\n return (\n <div className={`p-b-10 d-flex`} style={{ alignItems: \"center\" }}>\n {emailStatus(mainEmailEmailDetail())}\n <div\n className={`${person_detail_css.selectEmailDropdown} ${\n otherEmailDetails().length > 0 ? person_detail_css.cursorPointer : \"\"\n }`}\n >\n <span className=\"p-l-5 p-r-5\">{mainEmailEmailDetail()?.attributes.value}</span>\n {otherEmailDetails().length > 0 && (\n <span>\n <i className=\"fa fa-caret-down\" />\n <div className={person_detail_css.selectEmailDropdownContent}>\n {otherEmailDetails().map((email) => {\n return (\n <div\n className=\"d-flex p-b-10\"\n onClick={(e) => changePrimaryEmail(email)}\n key={email.id}\n style={{ alignItems: \"center\" }}\n >\n {emailStatus(email)}\n <span className=\"p-l-5 p-r-5\">{email.attributes.value}</span>\n </div>\n );\n })}\n </div>\n </span>\n )}\n </div>\n </div>\n );\n };\n\n const closeOrClearBtn = () => (\n <Button\n onClick={closeModal ? closeModal : clearForm}\n size=\"medium\"\n schema={!isTDP ? \"tertiary\" : \"secondary\"}\n >\n {closeModal ? \"Cancel\" : \"Clear\"}\n </Button>\n );\n\n const renderEmailForm = () => {\n return (\n <div>\n {gmailUnsynced && (\n <V1Alert variant=\"danger\" className=\"tw-flex tw-justify-between tw-items-center\">\n <div>\n <span className=\"tw-text-14d tw-font-semibold\">Gmail Unsync:</span> Looks like your Gmail has\n become unsynced. Emails may not send correctly. Please go re-sync it on your personal page.\n </div>\n <Button\n className=\"tw-whitespace-nowrap\"\n schema=\"warning\"\n onClick={() => window.location.assign(\"/account/personal\")}\n >\n Re-Sync\n </Button>\n </V1Alert>\n )}\n <Row className=\"m-b-5 tw-flex tw-items-center\">\n <Col xs={7}>{emailDropdownList()}</Col>\n <Col xs={5}>\n <div className=\"tw-flex tw-justify-end tw-gap-[4px]\">\n <div className={showRecipients ? \"d-none\" : \"d-block\"}>\n <Button schema=\"secondary\" onClick={showtoggleRecipients}>\n <PlusSolidV6 size=\"s\" />\n   RECIPIENT\n </Button>\n </div>\n <div className={showCC ? \"d-none\" : \"d-block\"}>\n <Button schema=\"secondary\" onClick={showtoggleCC}>\n <PlusSolidV6 size=\"s\" />\n   CC\n </Button>\n </div>\n <div className={showBCC ? \"d-none\" : \"d-block\"}>\n <Button schema=\"secondary\" onClick={showtoggleBCC}>\n <PlusSolidV6 size=\"s\" />\n   BCC\n </Button>\n </div>\n </div>\n </Col>\n </Row>\n <Row className={`form-group ${showRecipients ? \"d-block\" : \"d-none\"}`}>\n <Col xs={12}>\n <label className=\"tw-text-[#999999]\ttw-font-semibold\ttw-leading-5 tw-text-[14px]\">\n Additional Recipients\n </label>\n\n <SearchInteraction\n tagsEmail={brivityEmailWrapper.data.message.recipients}\n onSelectFunction={selectRecipients}\n onHide={hidetoggleRecipients}\n />\n </Col>\n </Row>\n <Row className={`form-group ${showCC ? \"d-block\" : \"d-none\"}`}>\n <Col xs={12}>\n <label className=\"tw-text-[#999999]\ttw-font-semibold\ttw-leading-5 tw-text-[14px]\">CC</label>\n <SearchInteraction\n tagsEmail={brivityEmailWrapper.data.message.cc}\n onSelectFunction={selectCC}\n onHide={hidetoggleCC}\n />\n </Col>\n </Row>\n <Row className={`form-group ${showBCC ? \"d-block\" : \"d-none\"}`}>\n <Col xs={12}>\n <label className=\"tw-text-[#999999]\ttw-font-semibold\ttw-leading-5 tw-text-[14px]\">BCC</label>\n <SearchInteraction\n tagsEmail={brivityEmailWrapper.data.message.bcc}\n onSelectFunction={selectBCC}\n onHide={hidetoggleBCC}\n />\n </Col>\n </Row>\n <Row className=\"m-b-20\">\n <Col xs={6}>\n <TextInput\n label=\"Subject\"\n isRequired\n value={brivityEmailWrapper.data.message.subject}\n onChange={(e) => {\n if (isWithinSubjectLineLimit(e.target.value)) {\n setErrorTrigger(false);\n }\n handleSubjectChange(e.target.value);\n }}\n />\n </Col>\n <Col xs={6}>\n <Dropdown\n label=\"Email Template\"\n options={visibleoption()}\n value={\n visibleoption().find((o) => o.value === brivityEmailWrapper.data.interaction_template) || null\n }\n isSearchable\n name=\"type\"\n onChange={(option) => selectTemplate(option.value)}\n isClearable={false}\n placeholder=\"Type to search\"\n menuShouldComeToFront\n />\n </Col>\n </Row>\n <Row className=\"m-b-20\">\n <Col xs={12}>\n {loading && <Loading />}\n {!loading && (\n <BrivityTextEditor\n id=\"person-email-interaction-form\"\n value={brivityEmailWrapper.data.message.body}\n placeholders={emailPlaceholders}\n />\n )}\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <div className=\"tw-flex tw-flex-wrap\">\n {brivityEmailWrapper.data.message.attachment.map((e, index) => (\n <Row key={index}>\n <Col xs={12}>\n <span className=\"tw-font-bold tw-flex tw-items-center tw-gap-[8px]\">\n {e.name}{\" \"}\n <IconButton size=\"small\" schema=\"misc-trash\" onClick={() => deleteAttachment(index)}>\n <XmarkSolidV6 size=\"l\" />\n </IconButton>\n </span>\n </Col>\n </Row>\n ))}\n </div>\n <div className=\"tw-flex tw-gap-[4px]\">\n <Button schema=\"secondary\" onClick={handleAttachmentClick}>\n <PaperclipSolidV6 /> Add Attachment\n </Button>\n {!loading && (\n <AiAssistant\n isTinyMce\n messageType=\"Email\"\n align=\"start\"\n side=\"top\"\n contactUuid={person.data.attributes.uuid}\n onInsertClick={(text) => {\n tinyMCE.activeEditor.execCommand(\n \"mceInsertContent\",\n false,\n (text || \"\").replace(/\\r\\n|\\r|\\n/g, \"<br />\"),\n );\n }}\n />\n )}\n <input\n type=\"file\"\n ref={hiddenAttachmentInput}\n onChange={handleAttachmentUpload}\n className=\"!tw-hidden\"\n />\n </div>\n </Col>\n </Row>\n <Row>\n <Col xs={12} className=\"tw-pt-[15px]\">\n {errorMsg && <Alert title=\"Error\" variant=\"error\" text={errorMsg} />}\n {!sendEmailError?.isSupportError && sendEmailError?.errors && (\n <Alert title=\"Error\" variant=\"error\" text={sendEmailError.errors} />\n )}\n {sendEmailError?.isSupportError && <EmailError />}\n </Col>\n </Row>\n <Row className=\"tw-mt-[24px]\">\n <Col xs={12}>\n <div className=\"tw-flex tw-gap-[8px] tw-justify-between tw-items-center\">\n {closeOrClearBtn()}\n <div className=\"tw-flex tw-gap-[8px] tw-items-center\">\n <Checkbox\n label=\"Send me a copy\"\n checked={brivityEmailWrapper.data.message.send_me_a_copy === 1}\n onClick={toggleSendMeACopy}\n />\n {mainEmailEmailDetail().attributes.is_verified !== false && (\n <Button onClick={sendEmailClick} size=\"medium\">\n Send\n </Button>\n )}\n {mainEmailEmailDetail().attributes.is_verified === false && (\n <Tooltip\n content=\"Email may be invalid\"\n placement=\"top\"\n trigger={\n <Button onClick={sendEmailClick} size=\"medium\">\n Send\n </Button>\n }\n />\n )}\n </div>\n </div>\n </Col>\n </Row>\n </div>\n );\n };\n\n return <div>{isEmailSent ? renderSuccessIcon() : renderEmailForm()}</div>;\n};\n\nexport default PersonInteractionEmailForm;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport PersonInteractionEmailForm from \"../../PersonDetail/components/PersonInteractionEmailForm\";\n\nconst EmailModal = ({\n gmailUnsynced,\n sendEmailError,\n sendEmailUrl,\n isEmailSent,\n person,\n currentUserId,\n emailTemplates,\n modalOpen,\n closeModal,\n submitEmail,\n handleSubmitEmailError,\n defaultHomeAppTabContent,\n}) => (\n <Modal\n id=\"email-interaction-modal\"\n show={modalOpen}\n onHide={closeModal}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[600px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n <Modal.Header title=\"Interaction: Email\" closeButton />\n\n <Modal.Body>\n <PersonInteractionEmailForm\n defaultHomeAppTabContent={defaultHomeAppTabContent}\n gmailUnsynced={gmailUnsynced}\n sendEmailError={sendEmailError}\n send_email_url={sendEmailUrl}\n isEmailSent={isEmailSent}\n submitEmail={submitEmail}\n handleSubmitEmailError={handleSubmitEmailError}\n person={person}\n email_templates={emailTemplates}\n current_user_id={currentUserId}\n closeModal={closeModal}\n />\n </Modal.Body>\n </Modal>\n);\n\nEmailModal.propTypes = {\n gmailUnsynced: Proptypes.bool.isRequired,\n person: Proptypes.shape({ full_name: Proptypes.string }),\n currentUserId: Proptypes.number,\n emailTemplates: Proptypes.arrayOf(\n Proptypes.shape({\n name: Proptypes.string,\n }),\n ),\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n isEmailSent: Proptypes.bool,\n sendEmailError: Proptypes.shape({ content: Proptypes.string, type: Proptypes.string }),\n submitEmail: Proptypes.func,\n handleSubmitEmailError: Proptypes.func,\n sendEmailUrl: Proptypes.string,\n defaultHomeAppTabContent: Proptypes.string,\n};\nEmailModal.defaultProps = {\n person: null,\n currentUserId: null,\n emailTemplates: [],\n modalOpen: false,\n closeModal: null,\n isEmailSent: false,\n sendEmailError: null,\n submitEmail: null,\n handleSubmitEmailError: null,\n sendEmailUrl: null,\n defaultHomeAppTabContent: null,\n};\n\nexport default EmailModal;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { EmailDeliveryInvalid, EnvelopeSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst EmailButton = ({ emailIconDetails, emailDetails, openModal, primaryEmailAddress }) => {\n if (emailIconDetails === \"blocked_email_icon\") {\n return (\n <Tooltip\n trigger={<i className=\"dont-email tw-cursor-default\" />}\n content=\"Contact has opted out of email communication\"\n placement=\"bottom\"\n />\n );\n }\n if (emailDetails.length > 0 && emailIconDetails === \"invalid_email_icon\") {\n return (\n <Tooltip\n placement=\"bottom\"\n trigger={\n <IconButton type=\"button\" onClick={openModal} aria-label=\"invalid\" schema=\"tertiary\">\n <EmailDeliveryInvalid className=\"tw-text-semantic-red-100\" />\n </IconButton>\n }\n content=\"Email may be invalid\"\n />\n );\n }\n if (emailDetails.length > 0 && emailIconDetails === \"active_email_icon\") {\n return (\n <Tooltip\n placement=\"right\"\n trigger={\n <IconButton aria-label=\"email\" onClick={openModal}>\n <EnvelopeSolidV6 />\n </IconButton>\n }\n content={primaryEmailAddress}\n />\n );\n }\n return (\n <IconButton disabled>\n <EnvelopeSolidV6 />\n </IconButton>\n );\n};\n\nEmailButton.propTypes = {\n emailIconDetails: Proptypes.string,\n openModal: Proptypes.func,\n emailDetails: Proptypes.arrayOf(\n Proptypes.shape({\n id: Proptypes.number,\n }),\n ),\n primaryEmailAddress: Proptypes.string,\n};\nEmailButton.defaultProps = {\n emailIconDetails: null,\n openModal: null,\n emailDetails: null,\n primaryEmailAddress: null,\n};\n\nexport default EmailButton;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { requestDataToSnakeCase } from \"@shared/v2/caseTransformingAxios\";\nimport * as actions from \"../actions/default\";\nimport * as apiActions from \"../api/index\";\nimport EmailModal from \"./EmailModal\";\nimport EmailButton from \"./EmailButton\";\n\nconst mapStateToProps = (state) => ({\n gmailUnsynced: state.leadIndex.gmailUnsynced,\n isEmailSent: state.leadIndex.isEmailSent,\n sendEmailError: state.leadIndex.sendEmailError,\n});\n\nconst EmailInteraction = ({\n gmailUnsynced,\n personDetails,\n emailTemplates,\n currentUserId,\n person,\n emailDetails,\n unsubscribedMessageTypes,\n isEmailSent,\n sendEmailError,\n submitEmailError,\n submitSendEmail,\n clearEmailState,\n touchHomeAppInviteSent,\n}) => {\n const [defaultHomeAppTabContent, setDefaultHomeAppTabContent] = useState(null);\n const [modalOpen, setModalOpen] = useState(false);\n const formattedPerson = useMemo(\n () => ({\n ...personDetails,\n included: emailDetails.map((v) => ({\n attributes: {\n ...v,\n unsubscribed_message_types: requestDataToSnakeCase(unsubscribedMessageTypes),\n },\n id: v.id,\n type: \"email_detail\",\n })),\n }),\n [personDetails],\n );\n\n useEffect(() => {\n const onHomeAppEmailClick = (e) => {\n if (e.detail.personId === person.id) {\n setDefaultHomeAppTabContent(e.detail.emailBody);\n setModalOpen(true);\n }\n };\n window.addEventListener(\"homeAppEmailClick\", onHomeAppEmailClick);\n return () => window.removeEventListener(\"homeAppEmailClick\", onHomeAppEmailClick);\n }, []);\n\n const closeModal = () => {\n setModalOpen(false);\n clearEmailState(false);\n };\n\n const handleSubmitEmailError = (err) => {\n submitEmailError(err.response.data);\n };\n const openModal = () => setModalOpen(true);\n\n const submitEmail = (sentEmailData, appInviteNeedsUpdating = null, homeAppRecipientId = null) => {\n submitSendEmail({ sentEmailData });\n if (appInviteNeedsUpdating) {\n touchHomeAppInviteSent(homeAppRecipientId);\n }\n setTimeout(() => {\n closeModal();\n }, 5000);\n };\n\n return (\n <div>\n <div className=\"interaction-icon\">\n <EmailButton\n emailIconDetails={person.email_icon_details}\n emailDetails={emailDetails}\n openModal={openModal}\n primaryEmailAddress={person.primary_email_address}\n />\n </div>\n <EmailModal\n defaultHomeAppTabContent={defaultHomeAppTabContent}\n gmailUnsynced={gmailUnsynced}\n sendEmailError={sendEmailError}\n sendEmailUrl={person.send_email_url}\n isEmailSent={isEmailSent}\n person={formattedPerson}\n currentUserId={currentUserId}\n emailTemplates={emailTemplates}\n modalOpen={modalOpen}\n closeModal={closeModal}\n submitEmail={submitEmail}\n handleSubmitEmailError={handleSubmitEmailError}\n />\n </div>\n );\n};\n\nEmailInteraction.propTypes = {\n gmailUnsynced: Proptypes.bool,\n personDetails: Proptypes.shape({\n attributes: Proptypes.shape({ first_name: Proptypes.string }),\n included: Proptypes.arrayOf(\n Proptypes.shape({\n id: Proptypes.number,\n type: Proptypes.string,\n }),\n ),\n }),\n emailTemplates: Proptypes.arrayOf(\n Proptypes.shape({\n name: Proptypes.string,\n }),\n ),\n currentUserId: Proptypes.number,\n person: Proptypes.shape({\n id: Proptypes.number,\n email_icon_details: Proptypes.string,\n primary_email_address: Proptypes.string,\n send_email_url: Proptypes.string,\n }),\n emailDetails: Proptypes.arrayOf(\n Proptypes.shape({\n id: Proptypes.number,\n }),\n ),\n unsubscribedMessageTypes: Proptypes.arrayOf(Proptypes.string),\n isEmailSent: Proptypes.bool,\n sendEmailError: Proptypes.shape({ content: Proptypes.string, type: Proptypes.string }),\n submitEmailError: Proptypes.func,\n submitSendEmail: Proptypes.func,\n clearEmailState: Proptypes.func,\n touchHomeAppInviteSent: Proptypes.func.isRequired,\n};\n\nEmailInteraction.defaultProps = {\n gmailUnsynced: false,\n personDetails: null,\n emailTemplates: [],\n currentUserId: null,\n person: null,\n emailDetails: [],\n unsubscribedMessageTypes: [],\n isEmailSent: false,\n sendEmailError: null,\n submitEmailError: null,\n submitSendEmail: null,\n clearEmailState: null,\n};\n\nexport default connect(mapStateToProps, { ...actions, ...apiActions })(EmailInteraction);\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover/Popover\";\nimport colors from \"../../PersonDetail/components/colors.module.css\";\nimport button from \"../../PersonDetail/components/button.module.css\";\nimport * as actions from \"../actions/default\";\nimport * as apiActions from \"../api/index\";\nimport statusIntentCss from \"../../PersonDetail/components/statusIntentDropdown.module.css\";\nimport IntentDetails from \"./IntentDetails\";\n\nconst mapStateToProps = (state) => ({\n isEmailSent: state.leadIndex.isEmailSent,\n sendEmailError: state.leadIndex.sendEmailError,\n});\nconst Intent = ({ person, updateIntent }) => {\n const [show, setShow] = useState(false);\n const [intent, setIntent] = useState(person.person.lead_type);\n\n const intentClass = (type) => {\n switch (type) {\n case \"buyer\":\n return colors.intentBuyer;\n case \"seller\":\n return colors.intentSeller;\n case \"seller/buyer\":\n return colors.intentSellerBuyer;\n case \"tenant\":\n return colors.intentTenant;\n case \"landlord\":\n return colors.intentLandlord;\n case \"recruit\":\n return colors.intentRecruit;\n case \"candidate\":\n return colors.intentCandidate;\n case \"n/a\":\n return colors.intentNone;\n default:\n return colors.intentBuyer;\n }\n };\n\n const handleSelect = (index) => {\n const newIntent = person.intent_options[index][1];\n updateIntent(person.person.slug, newIntent, setIntent);\n setShow(false);\n };\n\n return (\n <div className=\"tw-relative tw-ml-15px\">\n <Popover open={show} onOpenChange={setShow}>\n <PopoverTrigger onClick={() => setShow(true)}>\n <div className=\"tw-flex tw-justify-center\">\n <IntentDetails intent={intent} setshow={() => {}} />\n </div>\n </PopoverTrigger>\n <PopoverContent className=\"tw-gap-[8px] tw-py-[12px]\">\n {person.intent_options.map(([label, value], index) => (\n <button\n key={value}\n type=\"button\"\n className={`focus:tw-outline-none tw-bg-transparent ${intentClass(value)} ${\n button.btnSm\n } ${button.btnDropdown} ${statusIntentCss.statusIntentOption}`}\n onClick={() => handleSelect(index)}\n >\n {label === \"N/A\" ? \"NONE\" : label.toUpperCase()}\n </button>\n ))}\n </PopoverContent>\n </Popover>\n </div>\n );\n};\nIntent.propTypes = {\n person: Proptypes.shape({\n intent_options: Proptypes.arrayOf(Proptypes.arrayOf(Proptypes.string)),\n person: Proptypes.shape({ lead_type: Proptypes.string, slug: Proptypes.string }),\n }),\n updateIntent: Proptypes.func,\n};\nIntent.defaultProps = {\n person: null,\n updateIntent: null,\n};\n\nexport default connect(mapStateToProps, { ...actions, ...apiActions })(Intent);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Pluralize from \"react-pluralize\";\n\nconst Name = ({ person }) => {\n const isNoName = !person.full_name?.trim();\n const TagName = person.fetch_results_count > 0 ? \"a\" : \"span\";\n\n return (\n <div className=\"tw-flex tw-flex-col\">\n <a\n className={`hover:tw-underline ${isNoName ? \" !tw-text-gray-dark\" : \"\"}`}\n href={person.person_path_with_query_param}\n >\n {person.name_or_no_name}\n </a>\n {isNoName && person.lead_last_search_at && (\n <TagName\n href={TagName === \"a\" ? \"#\" : undefined}\n className={person.fetch_results_count > 0 ? \"has-matches\" : \"no-matches\"}\n >\n <Pluralize singular=\"match\" plural=\"matches\" zero=\"No matches\" count={person.fetch_results_count} />\n  found\n </TagName>\n )}\n {isNoName && !person.lead_last_search_at && (\n <a href=\"/#\" className=\"find-matches\">\n Search for details\n </a>\n )}\n </div>\n );\n};\n\nName.propTypes = {\n person: Proptypes.shape({\n full_name: Proptypes.string,\n person_path_with_query_param: Proptypes.string,\n name_or_no_name: Proptypes.string,\n fetch_results_count: Proptypes.number,\n lead_last_search_at: Proptypes.string,\n }).isRequired,\n};\n\nexport default Name;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst Address = ({ streetAddress, cityState }) => (\n <>\n {streetAddress && <h6 className=\"top-row\">{streetAddress}</h6>}\n {cityState && <h6 className=\"top-row\">{cityState}</h6>}\n {!streetAddress && !cityState && (\n <span className=\"tw-text-gray-50 tw-ml-[30px] tw-flex tw-justify-left\">—</span>\n )}\n </>\n);\n\nAddress.propTypes = {\n streetAddress: Proptypes.string,\n cityState: Proptypes.string,\n};\nAddress.defaultProps = {\n streetAddress: null,\n cityState: null,\n};\n\nexport default Address;\n","import React, { useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCheckCircle, faExclamationCircle } from \"@fortawesome/free-solid-svg-icons\";\nimport * as creators from \"../../actions/creators\";\n\nconst mapStateToProps = (state) => ({\n showingSuccess: state.addMarketReport.showSuccess,\n showingError: state.addMarketReport.showError,\n});\n\nconst AutoHideMessage = ({ showingSuccess, showingError, clearMessage }) => {\n useEffect(() => {\n if (showingError || showingSuccess) {\n const id = setTimeout(() => clearMessage(), 1000);\n return () => clearTimeout(id);\n }\n return () => null;\n }, [showingError, showingSuccess]);\n return showingSuccess || showingError ? (\n <div className=\"tw-absolute tw-z-[1500] tw-top-1/2 tw-left-1/2 tw--translate-x-1/2 tw--translate-y-1/2 tw-h-[132px] tw-w-[304px] tw-bg-white tw-rounded-xl tw-shadow-xl tw-flex tw-items-center tw-justify-center\">\n <FontAwesomeIcon\n icon={showingSuccess ? faCheckCircle : faExclamationCircle}\n className={`tw-h-[31px] tw-min-w-[31px] tw-bg-white ${\n showingSuccess ? \"tw-text-green-100\" : \"tw-text-red-500\"\n }`}\n />\n <h3 className=\"tw-font-[28px] tw-my-0 tw-ml-[8px] tw-text-gray-75\">\n {showingSuccess ? \"Success\" : \"Error\"}\n </h3>\n </div>\n ) : null;\n};\n\nAutoHideMessage.propTypes = {\n showingSuccess: Proptypes.bool,\n showingError: Proptypes.bool,\n clearMessage: Proptypes.func,\n};\n\nAutoHideMessage.defaultProps = {\n showingSuccess: false,\n showingError: false,\n clearMessage: null,\n};\n\nexport default connect(mapStateToProps, creators)(AutoHideMessage);\n","import { useEffect, useState, useRef } from \"react\";\n\nexport const useOnMinMaxSelectedChange = (min, max, hasError, fn) => {\n const isFirstRun = useRef(true);\n return useEffect(() => {\n if (isFirstRun.current) {\n isFirstRun.current = false;\n return;\n }\n if (!hasError) {\n fn(min, max);\n }\n }, [min, max]);\n};\n\nexport const useMinMaxState = (min, max) => {\n const [selectedMin, onSelectMin] = useState(min);\n const [selectedMax, onSelectMax] = useState(max);\n return [selectedMin, onSelectMin, selectedMax, onSelectMax];\n};\n\nexport const useSetPAgent = ({ setFormData, primaryAgent }) =>\n useEffect(() => {\n setFormData({ created_by_brivity_agent_uuid: primaryAgent, primary_agent_uuid: primaryAgent });\n }, [primaryAgent]);\n\nexport const useSetPerson = ({ setPerson, person }) =>\n useEffect(() => {\n setPerson(person);\n }, [person]);\n\nexport const useLoadReport = ({ id, getMarketReportFn, primaryAgent, tab }) =>\n useEffect(() => {\n if (id && (tab === null || tab === 0)) {\n getMarketReportFn({ id, primary_agent_uuid: primaryAgent });\n }\n }, [id]);\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../shared/Utilities\";\n\nexport const saveMarketReportApi = async ({ data, successCb, errorCb }) => {\n const url = `/market_reports/create_report`;\n const [resData, err] = await tryCatchHandlr(\n axios.post(url, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const updateMarketReportApi = async ({ data, successCb, errorCb }) => {\n const url = `/market_reports/update_report`;\n const [resData, err] = await tryCatchHandlr(\n axios.post(url, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const viewMarketReportApi = async ({ data, successCb, errorCb }) => {\n const url = `/market_reports/edit_report`;\n const [resData, err] = await tryCatchHandlr(\n axios.get(\n url,\n { params: data },\n {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n },\n ),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const sendMarketReportApi = async ({ data, successCb, errorCb }) => {\n const url = `/market_reports/send_report`;\n const [resData, err] = await tryCatchHandlr(\n axios.post(url, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nlet getAreaCMACountsController;\nexport const getAreaCMACounts = async (data, callback, errorCallback) => {\n const url = \"/market_reports/property_listings\";\n if (getAreaCMACountsController) {\n // cancel the request\n getAreaCMACountsController.abort();\n }\n getAreaCMACountsController = new AbortController();\n const [resData, err] = await tryCatchHandlr(\n axios.post(\n url,\n { ...data },\n {\n signal: getAreaCMACountsController.signal,\n headers: {\n \"Content-Type\": \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n },\n ),\n );\n if (err) {\n if (err.code === \"ERR_CANCELED\") {\n return false;\n }\n return errorCallback();\n }\n return callback(resData);\n};\n\nexport const getSearchAreaResults = async ({ data, callback, errorCallback }) => {\n const url = \"/market_reports/search_areas\";\n\n const [resData, err] = await tryCatchHandlr(\n axios.get(\n url,\n { params: data },\n {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n },\n ),\n );\n if (err) {\n return errorCallback(err);\n }\n return callback(resData);\n};\n\nexport const getLocationGeoJSON = async ({ data, callback, errorCallback }) => {\n const url = \"/market_reports/geo_json_details\";\n\n const [resData, err] = await tryCatchHandlr(\n axios.get(\n url,\n { params: data },\n {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n },\n ),\n );\n if (err) {\n return errorCallback(err);\n }\n return callback(resData);\n};\n\nexport const getPlaceDetails = async ({ data, callback, errorCallback }) => {\n const url = \"/market_reports/place_details\";\n\n const [resData, err] = await tryCatchHandlr(\n axios.get(\n url,\n { params: data },\n {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n },\n ),\n );\n if (err) {\n return errorCallback(err);\n }\n return callback(resData);\n};\n\nexport const getAgentMLSOptions = async ({ data, successCb, errorCb }) => {\n const url = `/market_reports/user_mlses`;\n const [resData, err] = await tryCatchHandlr(\n axios.get(\n url,\n { params: data },\n {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n },\n ),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n","import { useEffect } from \"react\";\nimport { debounce } from \"lodash\";\n\nimport { getAreaCMACounts } from \"../../services\";\n\nexport const calcMinPrice = (min) => (min !== \"0\" ? Number(min) : null);\nexport const calcMaxPrice = (max) => (max > \"0\" ? Number(max) : null);\nexport const convertToInt = (num) => (num !== null ? Number(num) : null);\n\nconst getCounts = debounce(async (fD, isDrawing, setLocationData, setMessage) => {\n const dt = { ...fD };\n dt.property_type = Object.keys(fD.property_type).join(\"|\");\n dt.lead_email = fD.lead_email?.value;\n delete dt.searchLocation;\n dt.min_price = calcMinPrice(dt.min_price);\n dt.max_price = calcMaxPrice(dt.max_price);\n\n dt.min_area = convertToInt(dt.min_area);\n dt.max_area = convertToInt(dt.max_area);\n dt.min_lot = convertToInt(dt.min_lot);\n dt.max_lot = convertToInt(dt.max_lot);\n dt.min_year_built = convertToInt(dt.min_year_built);\n dt.max_year_built = convertToInt(dt.max_year_built);\n\n if (dt.min_beds && !dt.max_beds && dt.min_beds < 5) {\n dt.max_beds = dt.min_beds;\n }\n if (fD?.search_type === \"radius\") {\n delete dt.boundry_coordinates;\n if (fD?.radius_type === \"smart-radius\") {\n dt.smart_radius = true;\n delete dt.radius;\n }\n } else if (isDrawing) {\n delete dt.radius;\n delete dt.boundry_coordinates;\n delete dt.lat_lng;\n delete dt.street_address;\n delete dt.city;\n delete dt.state;\n delete dt.region;\n delete dt.state_abbreviation;\n delete dt.county;\n delete dt.country;\n delete dt.postal_code;\n if (dt.geo_json) {\n dt.geo_json = JSON.stringify(dt.geo_json);\n }\n } else if (fD?.search_type === \"area\") {\n // type area\n delete dt.radius;\n if (dt.boundry_coordinates) {\n dt.geo_json = JSON.stringify(dt.boundry_coordinates);\n }\n }\n await getAreaCMACounts(\n dt,\n (resData) => {\n setLocationData(resData.data);\n },\n () => {\n setLocationData(null);\n setMessage({ showError: true });\n },\n );\n}, 1000);\n\nexport const useFormData = ({\n formData,\n isDrawing,\n setLocationData,\n setFormError,\n setMessage,\n isFormInValid,\n setSearching,\n}) =>\n useEffect(() => {\n setLocationData(null);\n const needsMoreCoords = formData.lat_lng?.length < 2;\n const needsMoreAreaData =\n formData.search_type === \"area\" && !formData.boundry_coordinates && !formData.geo_json;\n setFormError({ lat_lng: needsMoreCoords });\n setFormError({ geo_json: needsMoreAreaData });\n if (\n isFormInValid ||\n needsMoreAreaData ||\n needsMoreCoords ||\n (formData.search_type === \"radius\" && formData.searchLocation === null) ||\n (isDrawing && formData.geo_json === null)\n ) {\n return;\n }\n setSearching(true);\n getCounts(formData, isDrawing, setLocationData, setMessage, setSearching);\n }, [formData, isFormInValid]);\n\nexport const useRunOnce = ({ person, setContactData }) =>\n useEffect(() => {\n setContactData({\n first_name: person?.data?.attributes?.first_name,\n last_name: person?.data?.attributes?.last_name,\n brivity_uuid: person?.data?.attributes?.uuid,\n brivity_lead_id: person?.data?.attributes?.lead?.id,\n });\n }, []);\n","import * as creators from \"./creators\";\nimport { calcMinPrice, calcMaxPrice, convertToInt } from \"../components/Panel1/hookHelpers\";\nimport {\n sendMarketReportApi,\n saveMarketReportApi,\n updateMarketReportApi,\n viewMarketReportApi,\n} from \"../services\";\n\nconst preProcessData = (data) => {\n const dt = { ...data };\n dt.geo_json = data?.geo_json || data?.boundry_coordinates;\n if (dt.geo_json) {\n dt.geo_json = JSON.stringify(dt.geo_json);\n }\n delete dt.searchLocation;\n if (data?.search_type === \"radius\" && data?.radius_type === \"smart-radius\") {\n dt.smart_radius = true;\n delete dt.radius;\n } else if (data?.search_type === \"area\") {\n // remove this for area calls\n delete dt.lat_lng;\n }\n dt.min_price = calcMinPrice(dt.min_price);\n dt.max_price = calcMaxPrice(dt.max_price);\n\n dt.min_area = convertToInt(dt.min_area);\n dt.max_area = convertToInt(dt.max_area);\n dt.min_lot = convertToInt(dt.min_lot);\n dt.max_lot = convertToInt(dt.max_lot);\n dt.min_year_built = convertToInt(dt.min_year_built);\n dt.max_year_built = convertToInt(dt.max_year_built);\n\n if ((dt.min_beds && !dt.max_beds && dt.min_beds < 5) || !dt.min_beds) {\n dt.max_beds = dt.min_beds;\n }\n\n delete dt.boundry_coordinates;\n dt.property_type = Object.keys(dt.property_type)\n .map((k) => k)\n .join(\"|\");\n return dt;\n};\n\nexport const getMarketReportFn = (data) => async (dispatch) => {\n dispatch(creators.getMarketReport());\n const onFailure = (error) => dispatch(creators.getMarketReportError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.getMarketReportSuccess({ data: response.data }));\n };\n return viewMarketReportApi({ data, successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const saveMarketReportFn = (data, tab) => async (dispatch) => {\n dispatch(creators.saveMarketReport());\n const dt = { ...data };\n dt.property_type = Object.keys(dt.property_type).join(\",\");\n const onFailure = (error) => dispatch(creators.saveMarketReportError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error || !response.data?.id) {\n return onFailure(response?.data?.error);\n }\n const adaptedData = {\n ...response.data,\n };\n return dispatch(creators.saveMarketReportSuccess({ data: adaptedData, tab: tab }, tab));\n };\n return saveMarketReportApi({ data: preProcessData(data), successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const updateMarketReportFn = (data, tab) => async (dispatch) => {\n dispatch(creators.updateMarketReport());\n const onFailure = (error) => dispatch(creators.updateMarketReportError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error || !response.data?.id) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.updateMarketReportSuccess({ data: response.data }, tab));\n };\n return updateMarketReportApi({ data: preProcessData(data), successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const updateMarketReportDetailsFn = (data) => async (dispatch) => {\n dispatch(creators.updateMarketReport());\n const onFailure = (error) => dispatch(creators.updateMarketReportError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error || !response.data?.id) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.updateMarketReportSuccess({ data: response.data }, 1));\n };\n return updateMarketReportApi({ data, successCb: onSuccess, errorCb: onFailure });\n};\n\nexport const sendMarketReportFn = (reportData, personalizationData, close) => async (dispatch) => {\n dispatch(creators.sendMarketReport());\n const onSuccess = (response) => {\n dispatch(creators.sendMarketReportSuccess({ data: response.data }));\n return setTimeout(() => close(), 1000);\n };\n const onFailure = (error) => dispatch(creators.sendMarketReportError({ error }));\n return sendMarketReportApi({\n data: { ...reportData, ...personalizationData },\n successCb: onSuccess,\n errorCb: onFailure,\n });\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst colors = {\n green: {\n back: \"#CAF0D6\",\n main: \"#32A658\",\n border: \"#63D689\",\n },\n yellow: {\n back: \"#FAE4C3\",\n main: \"#D98F20\",\n border: \"#FAB957\",\n },\n red: {\n back: \"#FAC5C3\",\n main: \"#CC2A25\",\n border: \"#FA5D57\",\n },\n gray: {\n back: \"#F5F5F5\",\n main: \"#666666\",\n border: \"#C2C2C2\",\n },\n};\n\nconst HousePin = ({ color }) => (\n <svg width=\"17\" height=\"22\" viewBox=\"0 0 17 22\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <mask\n id=\"path-1-outside-1_1030_4088\"\n maskUnits=\"userSpaceOnUse\"\n x=\"-0.25\"\n y=\"-0.288574\"\n width=\"17\"\n height=\"23\"\n fill=\"black\"\n >\n <rect fill=\"white\" x=\"-0.25\" y=\"-0.288574\" width=\"17\" height=\"23\" />\n <path d=\"M8.5 1.71143C6.70979 1.71143 4.9929 2.42258 3.72703 3.68845C2.46116 4.95433 1.75 6.67121 1.75 8.46143V9.02393C1.9136 11.325 2.81736 13.5114 4.32625 15.2564C5.63583 16.8159 7.02913 18.3031 8.5 19.7114C9.97087 18.3031 11.3642 16.8159 12.6737 15.2564C14.1826 13.5114 15.0864 11.325 15.25 9.02393V8.46143C15.25 6.67121 14.5388 4.95433 13.273 3.68845C12.0071 2.42258 10.2902 1.71143 8.5 1.71143ZM13.4781 9.06893L12.9156 9.74955C12.8454 9.82716 12.7485 9.87547 12.6443 9.88486C12.54 9.89424 12.4361 9.864 12.3531 9.80018L11.425 9.05768V12.3989C11.4228 12.4566 11.4093 12.5132 11.3852 12.5656C11.3611 12.618 11.327 12.6651 11.2847 12.7043C11.2423 12.7435 11.1927 12.774 11.1386 12.794C11.0845 12.8139 11.027 12.8231 10.9694 12.8208H9.92313C9.8655 12.8231 9.80799 12.8139 9.75389 12.794C9.69979 12.774 9.65017 12.7435 9.60785 12.7043C9.56553 12.6651 9.53135 12.618 9.50727 12.5656C9.48319 12.5132 9.46967 12.4566 9.4675 12.3989V10.1996C9.46533 10.1419 9.45181 10.0853 9.42773 10.0329C9.40365 9.98048 9.36947 9.93333 9.32715 9.89415C9.28483 9.85497 9.23521 9.82451 9.18111 9.80453C9.12701 9.78454 9.0695 9.77542 9.01188 9.77768H7.96563C7.84964 9.77459 7.73704 9.817 7.6519 9.89583C7.56676 9.97466 7.51583 10.0837 7.51 10.1996V12.3989C7.50783 12.4566 7.49431 12.5132 7.47023 12.5656C7.44615 12.618 7.41197 12.6651 7.36965 12.7043C7.32733 12.7435 7.27771 12.774 7.22361 12.794C7.16951 12.8139 7.112 12.8231 7.05438 12.8208H6.01375C5.95612 12.8231 5.89861 12.8139 5.84452 12.794C5.79042 12.774 5.74079 12.7435 5.69847 12.7043C5.65616 12.6651 5.62198 12.618 5.5979 12.5656C5.57381 12.5132 5.5603 12.4566 5.55813 12.3989V9.07455L4.68625 9.80018C4.64431 9.836 4.59567 9.86313 4.54316 9.87999C4.49064 9.89686 4.4353 9.90311 4.38035 9.8984C4.32539 9.89369 4.27192 9.87811 4.22305 9.85256C4.17417 9.827 4.13085 9.79199 4.09562 9.74955L3.53313 9.06893C3.45845 8.98285 3.42071 8.87081 3.42808 8.75709C3.43545 8.64338 3.48734 8.53715 3.5725 8.46143L8.23 4.55205C8.30735 4.48287 8.40748 4.44462 8.51125 4.44462C8.61502 4.44462 8.71515 4.48287 8.7925 4.55205L13.45 8.48955C13.5255 8.56555 13.5702 8.66683 13.5754 8.77384C13.5806 8.88084 13.5459 8.98597 13.4781 9.06893Z\" />\n <path d=\"M13.4781 9.06893L12.9156 9.74955C12.8454 9.82716 12.7485 9.87547 12.6443 9.88486C12.54 9.89424 12.4361 9.864 12.3531 9.80018L11.425 9.05768V12.3989C11.4228 12.4566 11.4093 12.5132 11.3852 12.5656C11.3611 12.618 11.327 12.6651 11.2847 12.7043C11.2423 12.7435 11.1927 12.774 11.1386 12.794C11.0845 12.8139 11.027 12.8231 10.9694 12.8208H9.92313C9.8655 12.8231 9.80799 12.8139 9.75389 12.794C9.69979 12.774 9.65017 12.7435 9.60785 12.7043C9.56553 12.6651 9.53135 12.618 9.50727 12.5656C9.48319 12.5132 9.46967 12.4566 9.4675 12.3989V10.1996C9.46533 10.1419 9.45181 10.0853 9.42773 10.0329C9.40365 9.98048 9.36947 9.93333 9.32715 9.89415C9.28483 9.85497 9.23521 9.82451 9.18111 9.80453C9.12701 9.78454 9.0695 9.77542 9.01188 9.77768H7.96563C7.84964 9.77459 7.73704 9.817 7.6519 9.89583C7.56676 9.97466 7.51583 10.0837 7.51 10.1996V12.3989C7.50783 12.4566 7.49431 12.5132 7.47023 12.5656C7.44615 12.618 7.41197 12.6651 7.36965 12.7043C7.32733 12.7435 7.27771 12.774 7.22361 12.794C7.16951 12.8139 7.112 12.8231 7.05438 12.8208H6.01375C5.95612 12.8231 5.89861 12.8139 5.84452 12.794C5.79042 12.774 5.74079 12.7435 5.69847 12.7043C5.65616 12.6651 5.62198 12.618 5.5979 12.5656C5.57381 12.5132 5.5603 12.4566 5.55813 12.3989V9.07455L4.68625 9.80018C4.64431 9.836 4.59567 9.86313 4.54316 9.87999C4.49064 9.89686 4.4353 9.90311 4.38035 9.8984C4.32539 9.89369 4.27192 9.87811 4.22305 9.85256C4.17417 9.827 4.13085 9.79199 4.09562 9.74955L3.53313 9.06893C3.45845 8.98285 3.42071 8.87081 3.42808 8.75709C3.43545 8.64338 3.48734 8.53715 3.5725 8.46143L8.23 4.55205C8.30735 4.48287 8.40748 4.44462 8.51125 4.44462C8.61502 4.44462 8.71515 4.48287 8.7925 4.55205L13.45 8.48955C13.5255 8.56555 13.5702 8.66683 13.5754 8.77384C13.5806 8.88084 13.5459 8.98597 13.4781 9.06893Z\" />\n </mask>\n <path\n d=\"M8.5 1.71143C6.70979 1.71143 4.9929 2.42258 3.72703 3.68845C2.46116 4.95433 1.75 6.67121 1.75 8.46143V9.02393C1.9136 11.325 2.81736 13.5114 4.32625 15.2564C5.63583 16.8159 7.02913 18.3031 8.5 19.7114C9.97087 18.3031 11.3642 16.8159 12.6737 15.2564C14.1826 13.5114 15.0864 11.325 15.25 9.02393V8.46143C15.25 6.67121 14.5388 4.95433 13.273 3.68845C12.0071 2.42258 10.2902 1.71143 8.5 1.71143ZM13.4781 9.06893L12.9156 9.74955C12.8454 9.82716 12.7485 9.87547 12.6443 9.88486C12.54 9.89424 12.4361 9.864 12.3531 9.80018L11.425 9.05768V12.3989C11.4228 12.4566 11.4093 12.5132 11.3852 12.5656C11.3611 12.618 11.327 12.6651 11.2847 12.7043C11.2423 12.7435 11.1927 12.774 11.1386 12.794C11.0845 12.8139 11.027 12.8231 10.9694 12.8208H9.92313C9.8655 12.8231 9.80799 12.8139 9.75389 12.794C9.69979 12.774 9.65017 12.7435 9.60785 12.7043C9.56553 12.6651 9.53135 12.618 9.50727 12.5656C9.48319 12.5132 9.46967 12.4566 9.4675 12.3989V10.1996C9.46533 10.1419 9.45181 10.0853 9.42773 10.0329C9.40365 9.98048 9.36947 9.93333 9.32715 9.89415C9.28483 9.85497 9.23521 9.82451 9.18111 9.80453C9.12701 9.78454 9.0695 9.77542 9.01188 9.77768H7.96563C7.84964 9.77459 7.73704 9.817 7.6519 9.89583C7.56676 9.97466 7.51583 10.0837 7.51 10.1996V12.3989C7.50783 12.4566 7.49431 12.5132 7.47023 12.5656C7.44615 12.618 7.41197 12.6651 7.36965 12.7043C7.32733 12.7435 7.27771 12.774 7.22361 12.794C7.16951 12.8139 7.112 12.8231 7.05438 12.8208H6.01375C5.95612 12.8231 5.89861 12.8139 5.84452 12.794C5.79042 12.774 5.74079 12.7435 5.69847 12.7043C5.65616 12.6651 5.62198 12.618 5.5979 12.5656C5.57381 12.5132 5.5603 12.4566 5.55813 12.3989V9.07455L4.68625 9.80018C4.64431 9.836 4.59567 9.86313 4.54316 9.87999C4.49064 9.89686 4.4353 9.90311 4.38035 9.8984C4.32539 9.89369 4.27192 9.87811 4.22305 9.85256C4.17417 9.827 4.13085 9.79199 4.09562 9.74955L3.53313 9.06893C3.45845 8.98285 3.42071 8.87081 3.42808 8.75709C3.43545 8.64338 3.48734 8.53715 3.5725 8.46143L8.23 4.55205C8.30735 4.48287 8.40748 4.44462 8.51125 4.44462C8.61502 4.44462 8.71515 4.48287 8.7925 4.55205L13.45 8.48955C13.5255 8.56555 13.5702 8.66683 13.5754 8.77384C13.5806 8.88084 13.5459 8.98597 13.4781 9.06893Z\"\n fill={colors[color].back}\n />\n <path\n d=\"M13.4781 9.06893L12.9156 9.74955C12.8454 9.82716 12.7485 9.87547 12.6443 9.88486C12.54 9.89424 12.4361 9.864 12.3531 9.80018L11.425 9.05768V12.3989C11.4228 12.4566 11.4093 12.5132 11.3852 12.5656C11.3611 12.618 11.327 12.6651 11.2847 12.7043C11.2423 12.7435 11.1927 12.774 11.1386 12.794C11.0845 12.8139 11.027 12.8231 10.9694 12.8208H9.92313C9.8655 12.8231 9.80799 12.8139 9.75389 12.794C9.69979 12.774 9.65017 12.7435 9.60785 12.7043C9.56553 12.6651 9.53135 12.618 9.50727 12.5656C9.48319 12.5132 9.46967 12.4566 9.4675 12.3989V10.1996C9.46533 10.1419 9.45181 10.0853 9.42773 10.0329C9.40365 9.98048 9.36947 9.93333 9.32715 9.89415C9.28483 9.85497 9.23521 9.82451 9.18111 9.80453C9.12701 9.78454 9.0695 9.77542 9.01188 9.77768H7.96563C7.84964 9.77459 7.73704 9.817 7.6519 9.89583C7.56676 9.97466 7.51583 10.0837 7.51 10.1996V12.3989C7.50783 12.4566 7.49431 12.5132 7.47023 12.5656C7.44615 12.618 7.41197 12.6651 7.36965 12.7043C7.32733 12.7435 7.27771 12.774 7.22361 12.794C7.16951 12.8139 7.112 12.8231 7.05438 12.8208H6.01375C5.95612 12.8231 5.89861 12.8139 5.84452 12.794C5.79042 12.774 5.74079 12.7435 5.69847 12.7043C5.65616 12.6651 5.62198 12.618 5.5979 12.5656C5.57381 12.5132 5.5603 12.4566 5.55813 12.3989V9.07455L4.68625 9.80018C4.64431 9.836 4.59567 9.86313 4.54316 9.87999C4.49064 9.89686 4.4353 9.90311 4.38035 9.8984C4.32539 9.89369 4.27192 9.87811 4.22305 9.85256C4.17417 9.827 4.13085 9.79199 4.09562 9.74955L3.53313 9.06893C3.45845 8.98285 3.42071 8.87081 3.42808 8.75709C3.43545 8.64338 3.48734 8.53715 3.5725 8.46143L8.23 4.55205C8.30735 4.48287 8.40748 4.44462 8.51125 4.44462C8.61502 4.44462 8.71515 4.48287 8.7925 4.55205L13.45 8.48955C13.5255 8.56555 13.5702 8.66683 13.5754 8.77384C13.5806 8.88084 13.5459 8.98597 13.4781 9.06893Z\"\n fill={colors[color].main}\n />\n <path\n d=\"M13.4781 9.06893L14.0563 9.54672L14.0588 9.54354L13.4781 9.06893ZM12.9156 9.74955L13.4718 10.2527L13.483 10.2403L13.4937 10.2273L12.9156 9.74955ZM12.3531 9.80018L11.8846 10.3858L11.8901 10.3903L11.8958 10.3946L12.3531 9.80018ZM11.425 9.05768L11.8935 8.47202L10.675 7.49721V9.05768H11.425ZM11.425 12.3989L12.1745 12.4272L12.175 12.4131V12.3989H11.425ZM10.9694 12.8208L10.9988 12.0714L10.9841 12.0708H10.9694V12.8208ZM9.92313 12.8208V12.0708H9.90843L9.89375 12.0714L9.92313 12.8208ZM9.4675 12.3989H8.7175V12.4131L8.71803 12.4272L9.4675 12.3989ZM9.4675 10.1996H10.2175V10.1854L10.217 10.1713L9.4675 10.1996ZM9.01188 9.77768V10.5277H9.02657L9.04125 10.5271L9.01188 9.77768ZM7.96563 9.77768L7.94569 10.5274L7.95566 10.5277H7.96563V9.77768ZM7.51 10.1996L6.76095 10.1618L6.76 10.1807V10.1996H7.51ZM7.51 12.3989L8.25947 12.4272L8.26 12.4131V12.3989H7.51ZM7.05438 12.8208L7.08375 12.0714L7.06907 12.0708H7.05438V12.8208ZM6.01375 12.8208V12.0708H5.99905L5.98437 12.0714L6.01375 12.8208ZM5.55813 12.3989H4.80813V12.4131L4.80866 12.4272L5.55813 12.3989ZM5.55813 9.07455H6.30813V7.47459L5.07835 8.49808L5.55813 9.07455ZM4.68625 9.80018L4.20644 9.22366L4.19913 9.2299L4.68625 9.80018ZM4.09562 9.74955L3.5175 10.2273L3.51856 10.2286L4.09562 9.74955ZM3.53313 9.06893L4.11124 8.59114L4.10553 8.58423L4.09966 8.57746L3.53313 9.06893ZM3.5725 8.46143L3.09032 7.88697L3.08213 7.89384L3.07415 7.90094L3.5725 8.46143ZM8.23 4.55205L8.71218 5.12651L8.72121 5.11893L8.73 5.11107L8.23 4.55205ZM8.51125 4.44462L8.51125 5.19462L8.51125 4.44462ZM8.7925 4.55205L8.2925 5.11107L8.3003 5.11804L8.30829 5.1248L8.7925 4.55205ZM13.45 8.48955L13.982 7.96092L13.9591 7.93782L13.9342 7.9168L13.45 8.48955ZM12.9 8.59114L12.3375 9.27177L13.4937 10.2273L14.0562 9.54671L12.9 8.59114ZM12.3595 9.24636C12.4158 9.18413 12.4935 9.1454 12.577 9.13787L12.7115 10.6318C13.0036 10.6055 13.275 10.4702 13.4718 10.2527L12.3595 9.24636ZM12.577 9.13787C12.6606 9.13035 12.744 9.15459 12.8105 9.20577L11.8958 10.3946C12.1282 10.5734 12.4194 10.6581 12.7115 10.6318L12.577 9.13787ZM12.8216 9.21452L11.8935 8.47202L10.9565 9.64333L11.8846 10.3858L12.8216 9.21452ZM10.675 9.05768V12.3989H12.175V9.05768H10.675ZM10.6755 12.3707C10.6771 12.3298 10.6867 12.2896 10.7037 12.2524L12.0667 12.8788C12.132 12.7368 12.1686 12.5833 12.1745 12.4272L10.6755 12.3707ZM10.7037 12.2524C10.7208 12.2152 10.7451 12.1818 10.7751 12.154L11.7942 13.2546C11.9089 13.1485 12.0015 13.0208 12.0667 12.8788L10.7037 12.2524ZM10.7751 12.154C10.8051 12.1262 10.8403 12.1046 10.8787 12.0904L11.3985 13.4975C11.5451 13.4433 11.6796 13.3608 11.7942 13.2546L10.7751 12.154ZM10.8787 12.0904C10.9171 12.0762 10.9579 12.0698 10.9988 12.0714L10.94 13.5702C11.0961 13.5763 11.2519 13.5516 11.3985 13.4975L10.8787 12.0904ZM10.9694 12.0708H9.92313V13.5708H10.9694V12.0708ZM9.89375 12.0714C9.93462 12.0698 9.97542 12.0762 10.0138 12.0904L9.49398 13.4975C9.64056 13.5516 9.79637 13.5763 9.9525 13.5702L9.89375 12.0714ZM10.0138 12.0904C10.0522 12.1046 10.0874 12.1262 10.1174 12.154L9.09829 13.2546C9.21295 13.3608 9.34741 13.4433 9.49398 13.4975L10.0138 12.0904ZM10.1174 12.154C10.1474 12.1818 10.1717 12.2152 10.1888 12.2524L8.82579 12.8788C8.89104 13.0208 8.98364 13.1485 9.09829 13.2546L10.1174 12.154ZM10.1888 12.2524C10.2058 12.2896 10.2154 12.3298 10.217 12.3707L8.71803 12.4272C8.72392 12.5833 8.76054 12.7368 8.82579 12.8788L10.1888 12.2524ZM10.2175 12.3989V10.1996H8.7175V12.3989H10.2175ZM10.217 10.1713C10.2111 10.0151 10.1745 9.86168 10.1092 9.7197L8.74625 10.3461C8.72916 10.3089 8.71957 10.2687 8.71803 10.2278L10.217 10.1713ZM10.1092 9.7197C10.044 9.57772 9.95137 9.45 9.83671 9.34383L8.8176 10.4445C8.78757 10.4167 8.76333 10.3832 8.74625 10.3461L10.1092 9.7197ZM9.83671 9.34383C9.72205 9.23767 9.58759 9.15515 9.44102 9.101L8.9212 10.5081C8.88282 10.4939 8.84762 10.4723 8.8176 10.4445L9.83671 9.34383ZM9.44102 9.101C9.29445 9.04685 9.13864 9.02213 8.9825 9.02825L9.04125 10.5271C9.00037 10.5287 8.95957 10.5222 8.9212 10.5081L9.44102 9.101ZM9.01188 9.02768H7.96563V10.5277H9.01188V9.02768ZM7.98556 9.02794C7.67381 9.01965 7.37118 9.13363 7.14235 9.34551L8.16146 10.4461C8.1029 10.5004 8.02546 10.5295 7.94569 10.5274L7.98556 9.02794ZM7.14235 9.34551C6.91351 9.55739 6.77663 9.85037 6.76095 10.1618L8.25905 10.2373C8.25504 10.317 8.22001 10.3919 8.16146 10.4461L7.14235 9.34551ZM6.76 10.1996V12.3989H8.26V10.1996H6.76ZM6.76053 12.3707C6.76207 12.3298 6.77166 12.2896 6.78875 12.2524L8.15171 12.8788C8.21696 12.7368 8.25358 12.5833 8.25947 12.4272L6.76053 12.3707ZM6.78875 12.2524C6.80583 12.2152 6.83007 12.1818 6.8601 12.154L7.87921 13.2546C7.99387 13.1485 8.08647 13.0208 8.15171 12.8788L6.78875 12.2524ZM6.8601 12.154C6.89012 12.1262 6.92532 12.1046 6.9637 12.0904L7.48352 13.4975C7.63009 13.4433 7.76455 13.3608 7.87921 13.2546L6.8601 12.154ZM6.9637 12.0904C7.00208 12.0762 7.04288 12.0698 7.08375 12.0714L7.025 13.5702C7.18113 13.5763 7.33694 13.5516 7.48352 13.4975L6.9637 12.0904ZM7.05438 12.0708H6.01375V13.5708H7.05438V12.0708ZM5.98437 12.0714C6.02525 12.0698 6.06604 12.0762 6.10443 12.0904L5.58461 13.4975C5.73119 13.5516 5.887 13.5763 6.04313 13.5702L5.98437 12.0714ZM6.10443 12.0904C6.1428 12.1046 6.17801 12.1262 6.20803 12.154L5.18892 13.2546C5.30357 13.3608 5.43803 13.4433 5.58461 13.4975L6.10443 12.0904ZM6.20803 12.154C6.23805 12.1818 6.2623 12.2152 6.27938 12.2524L4.91641 12.8788C4.98166 13.0208 5.07426 13.1485 5.18892 13.2546L6.20803 12.154ZM6.27938 12.2524C6.29646 12.2896 6.30605 12.3298 6.30759 12.3707L4.80866 12.4272C4.81455 12.5833 4.85116 12.7368 4.91641 12.8788L6.27938 12.2524ZM6.30813 12.3989V9.07455H4.80813V12.3989H6.30813ZM5.07835 8.49808L4.20648 9.2237L5.16602 10.3766L6.0379 9.65102L5.07835 8.49808ZM4.19913 9.2299C4.23275 9.20118 4.27175 9.17943 4.31386 9.16591L4.77246 10.5941C4.91959 10.5468 5.05587 10.4708 5.17337 10.3704L4.19913 9.2299ZM4.31386 9.16591C4.35596 9.15239 4.40034 9.14737 4.4444 9.15114L4.3163 10.6457C4.47027 10.6589 4.62533 10.6413 4.77246 10.5941L4.31386 9.16591ZM4.4444 9.15114C4.48846 9.15492 4.53133 9.16742 4.57052 9.18791L3.87557 10.5172C4.01252 10.5888 4.16233 10.6325 4.3163 10.6457L4.4444 9.15114ZM4.57052 9.18791C4.60972 9.2084 4.64444 9.23647 4.67269 9.27049L3.51856 10.2286C3.61726 10.3475 3.73862 10.4456 3.87557 10.5172L4.57052 9.18791ZM4.67374 9.27177L4.11124 8.59114L2.95501 9.54671L3.51751 10.2273L4.67374 9.27177ZM4.09966 8.57746C4.15429 8.64044 4.1819 8.72241 4.17651 8.8056L2.67965 8.70858C2.65952 9.01921 2.76261 9.32526 2.96659 9.56039L4.09966 8.57746ZM4.17651 8.8056C4.17112 8.88879 4.13316 8.96651 4.07085 9.02191L3.07415 7.90094C2.84152 8.10778 2.69979 8.39796 2.67965 8.70858L4.17651 8.8056ZM4.05468 9.03588L8.71218 5.12651L7.74782 3.97759L3.09032 7.88697L4.05468 9.03588ZM8.73 5.11107C8.66984 5.16487 8.59196 5.19462 8.51125 5.19462V3.69462C8.223 3.69462 7.94485 3.80086 7.73 3.99303L8.73 5.11107ZM8.51125 5.19462C8.43054 5.19462 8.35266 5.16487 8.2925 5.11107L9.2925 3.99303C9.07765 3.80086 8.79951 3.69462 8.51125 3.69462L8.51125 5.19462ZM8.30829 5.1248L12.9658 9.0623L13.9342 7.9168L9.27671 3.9793L8.30829 5.1248ZM12.918 9.01818C12.8627 8.96259 12.8301 8.88849 12.8263 8.8102L14.3245 8.73747C14.3103 8.44517 14.1883 8.16851 13.982 7.96092L12.918 9.01818ZM12.8263 8.8102C12.8225 8.73192 12.8478 8.655 12.8974 8.59431L14.0588 9.54354C14.244 9.31695 14.3387 9.02977 14.3245 8.73747L12.8263 8.8102ZM8.5 1.71143L8.5 0.211426L8.5 1.71143ZM1.75 8.46143H0.25H1.75ZM1.75 9.02393H0.25V9.07718L0.253777 9.1303L1.75 9.02393ZM4.32625 15.2564L5.47494 14.2918L5.46798 14.2835L5.46089 14.2753L4.32625 15.2564ZM8.5 19.7114L7.46261 20.7949L8.5 21.7882L9.53739 20.7949L8.5 19.7114ZM12.6737 15.2564L11.5391 14.2753L11.532 14.2835L11.5251 14.2918L12.6737 15.2564ZM15.25 9.02393L16.7462 9.1303L16.75 9.07718V9.02393H15.25ZM15.25 8.46143L16.75 8.46143L15.25 8.46143ZM8.5 0.211426C6.31196 0.211426 4.21354 1.08062 2.66637 2.62779L4.78769 4.74912C5.77226 3.76455 7.10761 3.21143 8.5 3.21143L8.5 0.211426ZM2.66637 2.62779C1.11919 4.17497 0.25 6.27339 0.25 8.46143L3.25 8.46143C3.25 7.06904 3.80312 5.73368 4.78769 4.74912L2.66637 2.62779ZM0.25 8.46143V9.02393H3.25V8.46143H0.25ZM0.253777 9.1303C0.440337 11.7544 1.47094 14.2476 3.19161 16.2375L5.46089 14.2753C4.16378 12.7752 3.38686 10.8957 3.24622 8.91755L0.253777 9.1303ZM3.17756 16.2211C4.52207 17.8221 5.95252 19.3489 7.46261 20.7949L9.53739 18.628C8.10575 17.2572 6.7496 15.8097 5.47494 14.2918L3.17756 16.2211ZM9.53739 20.7949C11.0475 19.3489 12.4779 17.8221 13.8224 16.2211L11.5251 14.2918C10.2504 15.8097 8.89425 17.2572 7.46261 18.628L9.53739 20.7949ZM13.8084 16.2375C15.5291 14.2476 16.5597 11.7544 16.7462 9.1303L13.7538 8.91755C13.6131 10.8957 12.8362 12.7752 11.5391 14.2753L13.8084 16.2375ZM16.75 9.02393V8.46143H13.75V9.02393H16.75ZM16.75 8.46143C16.75 6.27339 15.8808 4.17497 14.3336 2.62779L12.2123 4.74912C13.1969 5.73368 13.75 7.06904 13.75 8.46143L16.75 8.46143ZM14.3336 2.62779C12.7865 1.08062 10.688 0.211426 8.5 0.211426V3.21143C9.89239 3.21143 11.2277 3.76455 12.2123 4.74912L14.3336 2.62779Z\"\n fill={colors[color].border}\n mask=\"url(#path-1-outside-1_1030_4088)\"\n />\n </svg>\n);\n\nHousePin.propTypes = {\n color: PropTypes.oneOf([\"green\", \"yellow\", \"red\", \"gray\"]),\n};\n\nHousePin.defaultProps = {\n color: \"green\",\n};\n\nexport default HousePin;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport HousePin from \"../HousePin\";\n\nconst SummaryTile = ({ text, color, total, isSearching }) => (\n <div className=\"tw-bg-white tw-h-[80px] tw-w-[80px] tw-rounded-md tw-items-center tw-mx-2 tw-font-bold tw-text-gray-500 tw-shadow-md\">\n <div>\n <div className=\"tw-flex tw-justify-center tw-mt-6\">\n <HousePin color={color} />\n <span className=\"tw-text-18d tw-ml-2 tw-select-none\">\n {isSearching ? <i className=\"fa fa-spinner fa-spin\" /> : total}\n </span>\n </div>\n </div>\n <p className=\"tw-text-14d tw-text-center tw-pt-4 tw-select-none\">{text}</p>\n </div>\n);\n\nSummaryTile.propTypes = {\n text: PropTypes.string,\n color: PropTypes.string,\n total: PropTypes.number,\n isSearching: PropTypes.bool,\n};\n\nSummaryTile.defaultProps = {\n text: \"\",\n color: \"green\",\n total: 0,\n isSearching: false,\n};\n\nexport default SummaryTile;\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport { capitalize } from \"lodash\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport * as creators from \"../../actions/creators\";\n\nconst mapStateToProps = (state) => ({\n personEmails: state.addMarketReport.person?.emails,\n});\n\nconst ContactEmailInput = ({ personEmails, onChange, value, setFormError }) => {\n const options = personEmails?.map((e) => ({\n label: `${e.address} (${capitalize(e.category)})`,\n value: e.address,\n }));\n useEffect(() => {\n if (personEmails?.length > 0) {\n onChange(personEmails[0].address);\n setFormError({ contact_email: false });\n }\n }, []);\n const hasError = value == null;\n return (\n <div data-cy=\"email-input-wrapper\" className=\"tw-mb-[24px]\">\n <Dropdown\n label=\"Contact Email\"\n error={hasError}\n name=\"contact_email\"\n value={{ label: value, value }}\n options={options}\n isClearable={false}\n isSearchable\n placeholder=\"Select an email\"\n onChange={(opt) => {\n if (!opt) return;\n onChange(opt.value);\n setFormError({ contact_email: false });\n }}\n />\n </div>\n );\n};\n\nContactEmailInput.propTypes = {\n personEmails: PropTypes.arrayOf(PropTypes.shape({ address: PropTypes.string, position: PropTypes.int })),\n value: PropTypes.shape({ label: PropTypes.string }),\n onChange: PropTypes.func,\n setFormError: PropTypes.func,\n};\n\nContactEmailInput.defaultProps = {\n personEmails: null,\n value: null,\n setFormError: () => {},\n onChange: () => {},\n};\n\nexport default connect(mapStateToProps, creators)(ContactEmailInput);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faInfoCircle } from \"@fortawesome/free-solid-svg-icons\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Toggle from \"@shared/v2/Toggle\";\n\nconst OPTIONS = [\n {\n label: \"0.25 miles\",\n value: \"0.25\",\n },\n {\n label: \"0.5 miles\",\n value: \"0.5\",\n },\n {\n label: \"1 miles\",\n value: \"1.0\",\n },\n {\n label: \"1.5 miles\",\n value: \"1.5\",\n },\n {\n label: \"2 miles\",\n value: \"2.0\",\n },\n {\n label: \"3 miles\",\n value: \"3.0\",\n },\n {\n label: \"4 miles\",\n value: \"4.0\",\n },\n {\n label: \"5 miles\",\n value: \"5.0\",\n },\n {\n label: \"10 miles\",\n value: \"10.0\",\n },\n {\n label: \"25 miles\",\n value: \"25.0\",\n },\n {\n label: \"50 miles\",\n value: \"50.0\",\n },\n {\n label: \"100 miles\",\n value: \"100.0\",\n },\n];\n\nconst RadiusSelector = ({ value, onChange, toggle, onToggle }) => {\n let left = Math.floor((value / 12) * 100);\n if (left > 90) {\n left = 90;\n }\n return (\n <div data-cy=\"radius-input-wrapper\" className=\"tw-mb-[24px]\">\n <Toggle\n id=\"smart-rad\"\n name=\"smart-rad\"\n value={toggle}\n checked={toggle === true}\n disabled={false}\n onChange={() => onToggle(!toggle)}\n text=\"Use Smart Radius\"\n />\n\n {!toggle ? (\n <Dropdown\n name=\"radius\"\n value={OPTIONS.find((o) => o.value === value)}\n options={OPTIONS}\n isClearable={false}\n isSearchable={false}\n onChange={(opt) => onChange(opt.value)}\n />\n ) : (\n <div className=\"tw-flex tw-items-start tw-mt-[8px]\">\n <FontAwesomeIcon\n icon={faInfoCircle}\n className=\"tw-h-[12px] tw-w-[12px] tw-text-gray-50 tw-mt-[8px]\"\n />\n <p className=\"tw-text-gray-50 tw-font-[14px] tw-ml-[8px]\">\n Smart radius will automatically expand the radius of your search until the report returns 15\n results.\n </p>\n </div>\n )}\n </div>\n );\n};\n\nexport default RadiusSelector;\n\nRadiusSelector.propTypes = {\n value: Proptypes.number,\n toggle: Proptypes.bool,\n onChange: Proptypes.func,\n onToggle: Proptypes.func,\n};\n\nRadiusSelector.defaultProps = {\n value: 0,\n toggle: false,\n onToggle: () => {},\n onChange: () => {},\n};\n","import { getSearchAreaResults } from \"../../services\";\n\nexport const GEO_TYPE_LABEL = {\n place: \"Place\",\n \"census-place\": \"Census City\",\n county: \"County\",\n neighborhood: \"Neighborhood\",\n \"postal-city\": \"City\",\n state: \"State\",\n township: \"Township\",\n zipcode: \"Zip Code\",\n \"school-district\": \"School District\",\n // Additional Canadian types\n \"census-division\": \"Census Division\",\n \"census-subdivision\": \"Census Subdivision\",\n};\nexport const getGeoLabel = (type) => GEO_TYPE_LABEL[type] || \"Address\";\nconst GEO_TYPES_TO_OMIT = [\"census-place\", \"place\"];\nconst omitGeoType = (result) =>\n GEO_TYPES_TO_OMIT.some((omitPhrase) => result.areaType.indexOf(omitPhrase) > -1);\n\nconst groupResults = (results) => {\n const sections = {};\n if (results.data.errors || !Array.isArray(results.data)) {\n return [];\n }\n results.data.forEach((p) => {\n if (omitGeoType(p)) {\n return;\n }\n const section = getGeoLabel(p.areaType);\n if (!sections[section]) {\n sections[section] = [];\n }\n sections[section].push(p);\n });\n return Object.keys(sections)\n .map((k) => ({\n label: k,\n options: sections[k],\n }))\n .sort((a, b) => (a.label > b.label ? 1 : -1));\n};\nexport const callApi = (val, mlsCountry, formattedDefaultOptions, primaryAgentUuid) =>\n new Promise((resolve) => {\n if (val > \"\") {\n getSearchAreaResults({\n data: { search: val, mlsCountry, max_result: 12, primary_agent_uuid: primaryAgentUuid },\n callback: (results) => {\n resolve(groupResults(results));\n },\n });\n } else {\n resolve([\n {\n label: \"Contact Addresses\",\n options: formattedDefaultOptions,\n },\n ]);\n }\n });\n","import { useEffect } from \"react\";\nimport { getLocationGeoJSON, getPlaceDetails } from \"../../services\";\n\nconst useGetGeoLocation = ({ value, setFormData, setLatLon, primaryAgentUuid, currentName }) =>\n useEffect(() => {\n if (value && value.id && value.source === \"GoogleAPI\") {\n getPlaceDetails({\n data: { place_id: value.id, primary_agent_uuid: primaryAgentUuid },\n callback: (results) => {\n setFormData({\n search_type: \"radius\",\n radius_type: \"smart-radius\",\n street_address: results?.data?.address_components?.street_address || null,\n city: results?.data?.address_components?.city,\n region: results?.data?.address_components?.region,\n country: results?.data?.address_components?.country,\n postal_code: results?.data?.address_components?.postal_code,\n state_abbreviation: results?.data?.address_components?.state,\n name: currentName || results?.data?.address,\n });\n setLatLon([results?.data?.lat, results?.data?.lon]);\n },\n errorCallback: () => {},\n });\n } else if (\n value &&\n typeof value.lat !== \"undefined\" &&\n typeof value.lon !== \"undefined\" &&\n value.source === \"LocationAPI\"\n ) {\n setLatLon([value.lat, value.lon]);\n getLocationGeoJSON({\n data: { location_id: value.id, primary_agent_uuid: primaryAgentUuid },\n callback: (results) => {\n const isCityOrNeighborhood = [\"postal-city\", \"neighborhood\"].includes(value.areaType);\n const address = {};\n if (isCityOrNeighborhood) {\n address.city = results.data?.city;\n address.state_abbreviation = results.data?.state;\n address.street_address = null;\n }\n setFormData({\n search_type: \"area\",\n boundry_coordinates: results?.data?.geometry,\n name: currentName || value?.label,\n ...address,\n });\n },\n errorCallback: () => {},\n });\n }\n }, [value]);\n\nexport default useGetGeoLocation;\n","import React, { useState, useCallback } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { components } from \"react-select\";\nimport AsyncSelect from \"react-select/async\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport { debounce } from \"lodash\";\nimport * as creators from \"../../actions/creators\";\nimport { callApi } from \"./helpers\";\nimport useGetGeoLocation from \"./hookHelpers\";\n\nconst mapStateToProps = (state) => ({\n primaryAgentUuid: state.addMarketReport.form1.primary_agent_uuid,\n mlsCountry: state.addMarketReport.mls_country,\n isDrawing: state.addMarketReport.isDrawing,\n isEdit: state.addMarketReport.savedMarketReport?.id,\n});\n\nconst getColors = (state) =>\n state?.selectProps?.inputValue || state.hasValue ? \"#666666\" : `${state.isFocused ? \"#59C4C4\" : \"#C2C2C2\"}`;\n\nconst SearchAreaInput = ({\n isDrawing,\n setDrawing,\n primaryAgentUuid,\n defaultOptions,\n value,\n onChange,\n mlsCountry,\n setLatLon,\n setFormData,\n isEdit,\n currentName,\n}) => {\n const formattedDefaultOptions = defaultOptions\n .filter((o) => o > \"\")\n .map((o) => ({\n label: o,\n value: o,\n }));\n const defaultInput = isEdit ? null : formattedDefaultOptions[0]?.label;\n const [inputValue, setInputValue] = useState(value ? value?.label : defaultInput);\n useGetGeoLocation({ value, setFormData, setLatLon, primaryAgentUuid, currentName });\n\n const loadOptions = useCallback(\n debounce((inputText, callback) => {\n callApi(inputText, mlsCountry, formattedDefaultOptions, primaryAgentUuid).then((resp) =>\n callback(resp),\n );\n }, 1000),\n [],\n );\n const hasError = value == null;\n return (\n <div data-cy=\"search-area-wrapper\" className=\"tw-mb-8\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">\n Search Area\n <sup className={`tw-text-red-500 tw-ml-1 ${hasError ? \"\" : \"tw-invisible\"}`}>*</sup>\n </span>\n <div className=\"tw-relative\">\n {isDrawing ? (\n <button\n type=\"button\"\n onClick={(e) => {\n e.preventDefault();\n setDrawing(false);\n }}\n className=\"tw-absolute tw-inset-0 tw-flex tw-items-center tw-rounded-lg tw-bg-tinted-gray-50 tw-border-gray-30 tw-border-solid tw-border tw-shadow-0 tw-z-50 tw-pl-4 tw-pr-6\"\n >\n <span className=\"tw-flex-1 tw-text-left\">Custom Area</span>\n <FontAwesomeIcon icon={faTimes} className=\"tw-h-[16px] tw-w-[16px]\" />\n </button>\n ) : null}\n <AsyncSelect\n cacheOptions\n defaultOptions\n defaultMenuIsOpen={!isEdit && inputValue !== undefined && !value}\n onChange={onChange}\n value={value}\n onInputChange={setInputValue} // allows for actually typing\n inputValue={inputValue} // allows you continue where you left off\n blurInputOnSelect\n placeholder=\"Search Address, Neighborhood, City, or Zip Code\"\n loadOptions={loadOptions}\n backspaceRemovesValue\n components={{\n IndicatorSeparator: null,\n // eslint-disable-next-line\n DropdownIndicator: ({ clearValue, hasValue, selectProps, ...props }) => (\n <components.DropdownIndicator {...props}>\n <button\n aria-label=\"clear\"\n type=\"button\"\n onClick={(e) => {\n e.preventDefault();\n setInputValue(\"\");\n clearValue();\n }}\n className=\"tw-border-0 tw-bg-transparent tw-padding-0\"\n >\n <FontAwesomeIcon\n icon={selectProps.inputValue || hasValue ? faTimes : faSearch}\n className=\"tw-h-[16px] tw-w-[16px]\"\n />\n </button>\n </components.DropdownIndicator>\n ),\n }}\n styles={{\n input: (styles) => ({ ...styles, color: \"#666666\" }),\n singleValue: (styles) => ({ ...styles, color: \"#666666\" }),\n control: (styles, state) => ({\n ...styles,\n background: \"#F5F7F7\",\n color: \"#666666\",\n boxShadow: `0 0 2px ${state.isFocused ? \"#59C4C4\" : \"#C2C2C2\"}`,\n borderColor: state.isFocused ? \"#59C4C4\" : \"#C2C2C2\",\n \"&:hover\": {\n borderColor: \"#59C4C4\",\n },\n }),\n dropdownIndicator: (styles, state) => ({\n ...styles,\n color: getColors(state),\n \"&:focus\": {\n color: getColors(state),\n },\n }),\n group: (styles) => ({ ...styles, padding: 0, margin: 0 }),\n groupHeading: () => ({\n color: \"#666666\",\n backgroundColor: \"#F5F7F7\",\n padding: \"6px 12px\",\n }),\n menuList: (styles) => ({ ...styles, maxHeight: \"200px\" }),\n option: (styles, state) => ({\n ...styles,\n background: state.isSelected ? \"#59C4C4\" : `${state.isFocused ? \"#cccccc\" : \"#fff\"}`,\n }),\n placeholder: (styles) => ({ ...styles, whiteSpace: \"nowrap\", color: \"#666666\" }),\n }}\n />\n </div>\n <span className=\"tw-text-[12px] tw-text-gray-50\">\n Search by Address, Neighborhood, County, City, or Zip Code\n </span>\n </div>\n );\n};\n\nexport default connect(mapStateToProps, creators)(SearchAreaInput);\n\nSearchAreaInput.propTypes = {\n isDrawing: PropTypes.bool,\n primaryAgentUuid: PropTypes.string,\n defaultOptions: PropTypes.arrayOf(PropTypes.shape({ id: PropTypes.number })),\n mlsCountry: PropTypes.string,\n setDrawing: PropTypes.func,\n value: PropTypes.shape({\n label: PropTypes.string,\n }),\n onChange: PropTypes.func,\n selectProps: PropTypes.shape({ inputValue: PropTypes.string }),\n setLatLon: PropTypes.func,\n setFormData: PropTypes.func,\n isEdit: PropTypes.bool,\n currentName: PropTypes.string,\n};\n\nSearchAreaInput.defaultProps = {\n isDrawing: false,\n primaryAgentUuid: null,\n defaultOptions: [],\n mlsCountry: null,\n value: null,\n setDrawing: () => {},\n onChange: () => {},\n selectProps: null,\n setLatLon: null,\n setFormData: null,\n isEdit: false,\n currentName: null,\n};\n","import { useEffect, useRef } from \"react\";\nimport { getAgentMLSOptions } from \"../../services\";\n\nexport const useOnSelectedChange = (selected, hasError, fn) => {\n const isFirstRun = useRef(true);\n return useEffect(() => {\n if (isFirstRun.current) {\n isFirstRun.current = false;\n return;\n }\n if (!hasError) {\n fn(selected);\n }\n }, [selected]);\n};\n\nexport const useSelectedTypesError = ({ selectedTypes, setFormError }) =>\n useEffect(() => {\n setFormError({ property_type: Object.keys(selectedTypes).length === 0 });\n }, [selectedTypes]);\n\nexport const useSetPropertyTypes = ({ primaryAgentID, setMLSPropertyTypes }) =>\n useEffect(() => {\n if (!primaryAgentID) return;\n getAgentMLSOptions({\n data: { primary_agent_uuid: primaryAgentID },\n successCb: (response) => {\n if (Array.isArray(response?.data)) {\n setMLSPropertyTypes(response.data);\n }\n },\n errorCb: () => {},\n });\n }, [primaryAgentID]);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst PropTypeButton = ({ onClick, opt, selected }) => (\n <button\n type=\"button\"\n className={`tw-relative tw-h-[76px] tw-rounded-lg tw-border-solid tw-font-semibold focus-visible:tw-outline-0 ${\n selected\n ? \"tw-bg-blue-10 tw-text-brivity-blue-100 tw-border-brivity-blue-100 hover:tw-bg-blue-10 hover:tw-border-brivity-blue-dark hover:tw-text-brivity-blue-dark\"\n : \"tw-bg-white tw-border-gray-50 tw-text-gray-50 hover:tw-bg-white hover:tw-text-gray-75 hover:tw-border-gray-75\"\n }\ntw-group tw-flex tw-flex-col tw-justify-center\n`}\n onClick={onClick}\n >\n <p className=\"tw-w-full tw-px-1 tw-mb-0\">{opt?.replace(\"/\", \"/ \")}</p>\n </button>\n);\n\nexport default PropTypeButton;\n\nPropTypeButton.propTypes = {\n onClick: Proptypes.func,\n opt: Proptypes.string,\n selected: Proptypes.bool,\n};\n\nPropTypeButton.defaultProps = {\n onClick: () => {},\n opt: null,\n selected: false,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/TextButton\";\n\nconst ShowMoreLess = ({ showMore = false, onClick }) => {\n const clickHnalder = (e) => {\n e.preventDefault();\n onClick();\n };\n return (\n <TextButton className=\"tw-p-0 tw-pb-[16px]\" onClick={clickHnalder}>\n SHOW {showMore ? \"LESS\" : \"MORE\"}\n </TextButton>\n );\n};\n\nShowMoreLess.propTypes = {\n showMore: PropTypes.bool,\n onClick: PropTypes.func,\n};\n\nShowMoreLess.defaultProps = {\n showMore: false,\n onClick: null,\n};\n\nexport default ShowMoreLess;\n","export const hasMinMaxError = (min, max) =>\n min !== null && max !== null && parseInt(min, 10) > parseInt(max, 10);\n\nexport const clickEventCatch = (e, fn, arr, passEvent) => {\n e.preventDefault();\n e.stopPropagation();\n if (passEvent) {\n arr.unshift(e);\n }\n fn(...arr);\n};\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\n\nimport PropTypeButton from \"./button\";\nimport ShowMoreLess from \"../ShowMoreLess\";\n\nimport { clickEventCatch } from \"../../helpers\";\n\nconst PropertyList = ({ propertyTypeOptions, setSelected, selectedTypes, hasError }) => {\n const [showMore, setShowMore] = useState(false);\n\n return propertyTypeOptions ? (\n <>\n <div className={`tw-mb-[8px] tw-text-12d ${hasError ? \"tw-text-red-500\" : \"tw-text-gray-75\"}`}>\n Select one or more types\n </div>\n <div className=\"tw-grid tw-grid-cols-3 tw-gap-[12px]\">\n {propertyTypeOptions?.map((opt, idx) => {\n const skipRender = idx > 2 && showMore === false;\n const selected = selectedTypes[opt];\n const clickHandler = () => {\n setSelected((s) => {\n const nS = { ...s };\n if (selected) {\n delete nS[opt];\n } else {\n nS[opt] = true;\n }\n return { ...nS };\n });\n };\n return skipRender ? null : (\n <PropTypeButton\n key={opt}\n opt={opt}\n onClick={(e) => clickEventCatch(e, clickHandler)}\n selected={selected}\n />\n );\n })}\n </div>\n <ShowMoreLess showMore={showMore} onClick={() => setShowMore((s) => !s)} />\n </>\n ) : null;\n};\n\nPropertyList.propTypes = {\n propertyTypeOptions: Proptypes.arrayOf(Proptypes.string),\n setSelected: Proptypes.func,\n selectedTypes: Proptypes.arrayOf(Proptypes.string),\n hasError: Proptypes.bool,\n};\n\nPropertyList.defaultProps = {\n propertyTypeOptions: null,\n setSelected: null,\n selectedTypes: null,\n hasError: false,\n};\n\nexport default PropertyList;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport * as creators from \"../../actions/creators\";\nimport { useOnSelectedChange, useSelectedTypesError, useSetPropertyTypes } from \"./hookHelpers\";\n\nimport { useDebounce } from \"../../../shared/hookHelpers\";\nimport PropertyList from \"./list\";\n\nconst PropertyTypesSelector = ({\n primaryAgentID,\n value,\n onChange,\n setFormError,\n propertyTypeOptions,\n setMLSPropertyTypes,\n}) => {\n const [selectedTypes, setSelected] = useState(value);\n const hasError = Object.keys(selectedTypes).length === 0;\n\n const debouncedSelectedTypes = useDebounce(selectedTypes, 500);\n useOnSelectedChange(debouncedSelectedTypes, hasError, onChange);\n useSelectedTypesError({ selectedTypes, setFormError });\n useSetPropertyTypes({ primaryAgentID, setMLSPropertyTypes });\n return (\n <div data-cy=\"ptypes-wrapper\" className=\"tw-mb-[24px]\">\n <div className=\"tw-text-18d tw-text-gray-75 tw-mb-[8px]\">Search Criteria</div>\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">\n Property Types\n <sup className={`tw-text-red-500 tw-ml-1 ${!hasError && \"tw-invisible\"}`}>*</sup>\n </span>\n <PropertyList\n propertyTypeOptions={propertyTypeOptions}\n setSelected={setSelected}\n selectedTypes={selectedTypes}\n hasError={hasError}\n />\n {!propertyTypeOptions && (\n <div className={`tw-mb-[8px] tw-text-12d ${hasError ? \"tw-text-red-500\" : \"tw-text-gray-75\"}`}>\n There are no property types available\n </div>\n )}\n <input type=\"hidden\" name=\"property_type\" value={Object.keys(selectedTypes).join(\",\")} />\n </div>\n );\n};\n\nconst mapStateToProps = (state) => ({\n propertyTypeOptions: state.addMarketReport.mlsToPropertyTypes,\n});\n\nexport default connect(mapStateToProps, creators)(PropertyTypesSelector);\n\nPropertyTypesSelector.propTypes = {\n onChange: Proptypes.func,\n value: Proptypes.shape({ name: Proptypes.bool }),\n setFormError: Proptypes.func,\n propertyTypeOptions: Proptypes.arrayOf(Proptypes.string),\n primaryAgentID: Proptypes.string,\n setMLSPropertyTypes: Proptypes.func,\n};\n\nPropertyTypesSelector.defaultProps = {\n onChange: () => {},\n value: {},\n setFormError: () => {},\n propertyTypeOptions: null,\n primaryAgentID: null,\n setMLSPropertyTypes: () => {},\n};\n","const setMinMax = (val, min, max) => {\n let value = val;\n if (val <= min) {\n value = max;\n }\n return value;\n};\n\nexport const onMinRangeChangeFn = (maxVal, numMaxVal, setTmpMin, onChange, valueDisplay) => (e) => {\n let value = +e.target.value.replace(/[^0-9]/g, \"\");\n if (value > numMaxVal) {\n value = numMaxVal - 1000;\n }\n\n setTmpMin(valueDisplay(value));\n onChange({ min: value.toString(), max: maxVal });\n};\n\nexport const onMaxRangeChangeFn = (minVal, numMinVal, setTmpMax, onChange, valueDisplay, max) => (e) => {\n let value = +e.target.value.replace(/[^0-9]/g, \"\");\n\n if (value < numMinVal) {\n value = numMinVal + 1000;\n } else if (value === max) {\n value = null;\n }\n\n setTmpMax(valueDisplay(value));\n onChange({ min: minVal, max: value?.toString() });\n};\n\nexport const onMinInputChangeFn = (minVal, maxVal, setTmpMin, onChange) => (e) => {\n const value = +e.target.value.replace(/[^0-9]/g, \"\");\n setTmpMin(e.target.value);\n\n if (minVal !== value) {\n onChange({ min: value?.toString(), max: maxVal });\n }\n};\n\nexport const onMaxInputChangeFn = (minVal, maxVal, setTmpMax, onChange) => (e) => {\n const value = +e.target.value.replace(/[^0-9]/g, \"\");\n setTmpMax(e.target.value);\n if (maxVal !== value) {\n onChange({ min: minVal, max: value.toString() });\n }\n};\n\nexport const onMinInputBlurFn =\n (numMaxVal, setTmpMin, valueDisplay, min, max, minVal, maxVal, onChange) => (e) => {\n let value = +e.target.value.replace(/[^0-9]/g, \"\");\n if (value > numMaxVal) {\n value = numMaxVal - 1;\n }\n value = setMinMax(value, min - 1, max);\n setTmpMin(valueDisplay(value));\n if (minVal !== value) {\n onChange({ min: value.toString(), max: maxVal });\n }\n };\n\nexport const onMaxInputBlurFn =\n (numMinVal, setTmpMax, valueDisplay, min, max, minVal, maxVal, onChange) => (e) => {\n let value = +e.target.value.replace(/[^0-9]/g, \"\");\n if (value > \"\" && value < numMinVal) {\n value = numMinVal + 1;\n }\n // value = setMinMax(value, min, max);\n setTmpMax(valueDisplay(value));\n if (maxVal !== value) {\n onChange({ min: minVal, max: value.toString() });\n }\n };\n\nexport const isNumeric = (e) => {\n const key = e.which ? e.which : e.keyCode;\n const ret =\n key === 8 || // backspace\n key === 9 || // tab\n key === 13 || // enter\n key === 46 || // delete\n // key == 110 || // decimal point\n key === 188 || // comma\n // key == 190 || // period\n (key >= 35 && key <= 40) || // arrows, home, end\n (key >= 48 && key <= 57) || // numbers\n (key >= 96 && key <= 105); // numpad numbers\n if (!ret) {\n e.preventDefault();\n }\n};\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n onMinRangeChangeFn,\n onMaxRangeChangeFn,\n onMinInputChangeFn,\n onMaxInputChangeFn,\n onMinInputBlurFn,\n onMaxInputBlurFn,\n isNumeric,\n} from \"./helpers\";\nimport { useMinMax, useGetPercent, useSetSliderBar } from \"./hookHelpers\";\nimport \"./styles.scss\";\nimport TextComboInput from \"../../../shared/v2/TextComboInput\";\n\nconst numberWithCommas = (x) => {\n if (typeof x !== \"number\") {\n return x;\n }\n return x.toLocaleString();\n};\nconst valueDisplay = (value) => (value ? `${numberWithCommas(value)}` : \"\");\n\nconst MultiRangeSlider = ({ min, max, minVal, maxVal, onChange, step }) => {\n const [tmpMin, setTmpMin, tmpMax, setTmpMax] = useMinMax(minVal, maxVal, valueDisplay);\n const minValRef = useRef(null);\n const maxValRef = useRef(null);\n const minInputRef = useRef(null);\n const maxInputRef = useRef(null);\n const range = useRef(null);\n\n const numMinVal = +minVal?.replace(/\\D/g, \"\");\n const numMaxVal = +maxVal?.replace(/\\D/g, \"\");\n\n const onMinRangeChange = onMinRangeChangeFn(maxVal, numMaxVal, setTmpMin, onChange, valueDisplay);\n const onMaxRangeChange = onMaxRangeChangeFn(minVal, numMinVal, setTmpMax, onChange, valueDisplay, max);\n const onMinInputChange = onMinInputChangeFn(minVal, maxVal, setTmpMin, onChange);\n const onMaxInputChange = onMaxInputChangeFn(minVal, maxVal, setTmpMax, onChange);\n const onMinInputBlur = onMinInputBlurFn(\n numMaxVal,\n setTmpMin,\n valueDisplay,\n min,\n max,\n minVal,\n maxVal,\n onChange,\n );\n const onMaxInputBlur = onMaxInputBlurFn(\n numMinVal,\n setTmpMax,\n valueDisplay,\n min,\n max,\n minVal,\n maxVal,\n onChange,\n );\n\n const getPercent = useGetPercent(min, max);\n useSetSliderBar(tmpMin, tmpMax, getPercent, maxValRef, minValRef, (styleName, val) => {\n if (range.current) {\n range.current.style[styleName] = val;\n }\n });\n\n return (\n <>\n <div className=\"range-slider tw-relative tw-flex tw-items-center tw-content-center tw-mt-[27px] tw-mb-[20px]\">\n <input\n type=\"range\"\n min={min}\n max={max - 1}\n step={step}\n value={numMinVal}\n ref={minValRef}\n onChange={onMinRangeChange}\n className={`thumb tw-absolute tw-w-full tw-h-0 tw-oultine-none tw-appearance-none tw-p-0 ${\n minVal >= max - 1000 ? \"tw-z-50\" : \"tw-z-30\"\n }`}\n />\n <input\n type=\"range\"\n min={1000}\n max={max}\n step={1000}\n value={numMaxVal || max}\n ref={maxValRef}\n onChange={onMaxRangeChange}\n className=\"thumb tw-absolute tw-w-full tw-h-0 tw-oultine-none tw-appearance-none tw-p-0 tw-z-40\"\n />\n\n <div className=\"tw-relative tw-w-full tw-h-[5px] tw-overflow-x-hidden tw-mt-[4px]\">\n <div className=\"slider__track tw-absolute tw-h-[5px] tw-rounded-sm tw-w-full tw-z-1 tw-bg-gray-30\" />\n <div\n ref={range}\n className=\"slider__range tw-absolute tw-h-[5px] tw-rounded-sm tw-z-2 tw-bg-brivity-blue-100\"\n />\n </div>\n </div>\n <div className=\"tw-flex tw-mt-[27px]\">\n <div className=\"tw-w-1/2 tw-flex-1 tw-overflow-hidden\">\n <TextComboInput\n type=\"text\"\n leading={tmpMin <= \"0\" ? null : \"$\"}\n ref={minInputRef}\n value={tmpMin <= \"0\" ? \"\" : tmpMin}\n onKeyDown={isNumeric}\n onBlur={onMinInputBlur}\n onInput={onMinInputChange}\n placeholder=\"No min\"\n />\n </div>\n <div className=\"tw-w-[24px] tw-h-[36px] tw-flex tw-items-center tw-justify-center\">\n <span className=\"tw-h-[1px] tw-w-[10px] tw-bg-gray-75\" />\n </div>\n <div className=\"tw-w-1/2 tw-flex-1 tw-overflow-hidden\">\n <div className=\"tw-flex\">\n <TextComboInput\n type=\"text\"\n leading={maxVal ? \"$\" : null}\n ref={maxInputRef}\n value={tmpMax}\n onKeyDown={isNumeric}\n onBlur={onMaxInputBlur}\n onInput={onMaxInputChange}\n placeholder=\"No max\"\n />\n </div>\n </div>\n </div>\n </>\n );\n};\n\nMultiRangeSlider.propTypes = {\n min: PropTypes.string.isRequired,\n max: PropTypes.string.isRequired,\n minVal: PropTypes.string.isRequired,\n maxVal: PropTypes.string.isRequired,\n step: PropTypes.number.isRequired,\n onChange: PropTypes.func.isRequired,\n};\n\nexport default MultiRangeSlider;\n","import { useState, useEffect, useCallback } from \"react\";\n\nexport const useMinMax = (minVal, maxVal, valueDisplay) => {\n const [tmpMin, setTmpMin] = useState(valueDisplay(minVal));\n const [tmpMax, setTmpMax] = useState(valueDisplay(maxVal));\n return [tmpMin, setTmpMin, tmpMax, setTmpMax];\n};\n\nexport const useGetPercent = (min, max) =>\n useCallback((value) => (!min && !max ? 100 : Math.floor(((value - min) / (max - min)) * 100)), [min, max]);\n\nexport const useSetSliderBar = (minVal, maxVal, getPercent, maxValRef, minValRef, setRange) =>\n useEffect(() => {\n const minNum = +minVal.replace(/[^0-9]/g, \"\");\n // Set width of the range to decrease from the left side\n if (maxValRef.current) {\n const minPercent = getPercent(minNum);\n const maxPercent = getPercent(+maxValRef.current.value) || 100; // Preceding with '+' converts the value from type string to type number\n setRange(\"left\", `${minPercent + 1}%`); // 1 is always added to ensure the bar mask stays behind the control\n setRange(\"width\", `${maxPercent - minPercent}%`);\n }\n }, [minVal, maxVal]);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { useOnMinMaxSelectedChange, useMinMaxState } from \"../../hookHelpers\";\nimport { hasMinMaxError } from \"../../helpers\";\nimport { useDebounce } from \"../../../shared/hookHelpers\";\n\nimport Slider from \"../Slider/multi\";\n\nconst PriceSelector = ({ min, max, onChange }) => {\n const [selectedMin, onSelectMin, selectedMax, onSelectMax] = useMinMaxState(min, max);\n const hasError = hasMinMaxError(selectedMin, selectedMax);\n const debouncedMin = useDebounce(selectedMin, 500);\n const debouncedMax = useDebounce(selectedMax, 500);\n useOnMinMaxSelectedChange(debouncedMin, debouncedMax, hasError, onChange);\n return (\n <div data-cy=\"price-input-wrapper\" className=\"tw-mb-[4px]\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">Price</span>\n <Slider\n min={0}\n max={10000000}\n step={1000}\n minVal={selectedMin}\n maxVal={selectedMax}\n onChange={(e) => {\n onSelectMin(e.min);\n onSelectMax(e.max);\n }}\n />\n </div>\n );\n};\n\nexport default PriceSelector;\n\nPriceSelector.propTypes = {\n min: Proptypes.string,\n max: Proptypes.string,\n onChange: Proptypes.func,\n};\n\nPriceSelector.defaultProps = {\n min: undefined,\n max: undefined,\n onChange: () => {},\n};\n","export const getIsSelectedFn = (selectedRangeIdx, hoverIdx) => (oIdx, fromHover) => {\n const [x, y] = selectedRangeIdx;\n const start = fromHover && hoverIdx !== null ? Math.min(x, hoverIdx) : x;\n const end = fromHover && hoverIdx !== null ? Math.max(x, hoverIdx) : y;\n return start <= oIdx && oIdx <= (end || start);\n};\n\nexport const getOnSelectOptionFn =\n ({ allowMultiple, selectedRangeIdx, setSelectedRange, setHoverIdx }) =>\n (e, oIdx) => {\n e.target.blur();\n if (allowMultiple) {\n const [start, end] = selectedRangeIdx;\n if (start === null || start === 0 || oIdx === 0) {\n setSelectedRange([oIdx]);\n } else if ((end === null || typeof end === \"undefined\") && start !== oIdx) {\n const range = [Math.min(start, oIdx), Math.max(start, oIdx)];\n setSelectedRange(range);\n } else {\n setSelectedRange([oIdx]);\n }\n } else {\n setSelectedRange([oIdx]);\n }\n setHoverIdx(null);\n };\n","const commonBeforePlacementClasses = \"before:tw-inset-y-[-2px]\";\nconst beforeSelectedPlacementClasses = `${commonBeforePlacementClasses} before:tw-inset-y-[-2px] before:tw-left-[-4px] before:tw-right-[1px]`;\nconst beforePlacementHoverClasses = `${commonBeforePlacementClasses} before:tw-left-[-8px] before:tw-right-[2px]`;\nexport const generateCommonClasses = ({ isFirst, isLast, selected, isInHoverSelection, isHovering }) => `\n tw-py-[6px] tw-min-w-[65px] \n tw-relative tw-border-solid focus-visible:tw-outline-0 hover:tw-border-brivity-blue-100 focus:tw-border-brivity-blue-100\n ${isFirst && `tw-rounded-l-lg ${!selected && \"tw-border-l-gray-15\"}`}\n ${isLast && `tw-rounded-r-lg ${!selected && \"tw-border-r-gray-15\"}`}\n ${selected && !isHovering ? `tw-border-brivity-blue-100 tw-bg-brivity-blue-10 tw-z-10` : \"tw-bg-white\"}\n ${\n (selected || isInHoverSelection) &&\n ` before:tw-content-[''] before:tw-absolute\n before:tw-border-solid before:tw-border-y-2 before:tw-border-x-0 before:tw-border-brivity-blue-100`\n }\n ${isHovering || isInHoverSelection ? \"tw-border-brivity-blue-100 tw-bg-white tw-z-20\" : \"tw-bg-white\"}\n ${!isHovering && !isInHoverSelection && !selected && \"tw-border-gray-15\"}\n`;\n\nexport const generateSingleClasses = ({ selected }) =>\n selected\n ? \"tw-border-x-2 tw-rounded-lg\"\n : \"hover:tw-border-x-2 hover:tw-rounded-lg tw-border-x-transparent\";\n\nexport const generateMultipleClasses = ({\n selected,\n bothSelected,\n isHovering,\n hoverBefore,\n hoverAfter,\n multiAllSelected,\n isInHoverSelection,\n isSelectingRange,\n isStart,\n isEnd,\n isFirst,\n}) => {\n if (bothSelected) {\n return `hover:tw-rounded-lg hover:tw-border-x-2 focus:tw-rounded-lg focus:tw-border-x-2\n ${!isStart && !isEnd && !isHovering && \"tw-border-x-transparent\"}\n ${!isFirst && !isStart && selected && beforeSelectedPlacementClasses}\n ${isStart && \"tw-rounded-l-lg tw-border-r-transparent\"}\n ${isEnd && \"tw-rounded-r-lg tw-border-l-transparent\"}\n ${isFirst && \"tw-rounded-l-lg tw-border-r-transparent\"}\n `;\n }\n return `tw-border-x-2 ${selected && \"tw-rounded-lg\"}\n ${!isStart && !isEnd && !selected && \"tw-border-x-transparent\"}\n ${\n isHovering &&\n hoverBefore &&\n !multiAllSelected &&\n \"tw-border-r-transparent hover:tw-rounded-l-lg focus:tw-border-l-2 focus:tw-rounded-l-lg\"\n }\n ${\n isHovering &&\n hoverAfter &&\n !multiAllSelected &&\n \"tw-border-l-transparent hover:tw-rounded-r-lg focus:tw-rounded-r-lg\"\n }\n ${\n isHovering &&\n (hoverBefore || hoverAfter) &&\n multiAllSelected &&\n \"hover:tw-rounded-lg focus:tw-rounded-lg\"\n }\n ${\n isSelectingRange &&\n isHovering &&\n hoverBefore &&\n \"hover:tw-border-r-transparent focus:tw-border-r-transparent\"\n }\n ${\n isSelectingRange &&\n isHovering &&\n hoverAfter &&\n \"hover:tw-border-l-transparent focus:tw-border-l-transparent\"\n }\n ${isSelectingRange && hoverBefore && isInHoverSelection && !isHovering && beforePlacementHoverClasses}\n ${isSelectingRange && hoverAfter && isInHoverSelection && !selected && beforePlacementHoverClasses}\n `;\n};\n\nexport const reduceWhiteSpace = (string) => string?.replace(/\\s+/g, \" \").trim();\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { clickEventCatch } from \"../../helpers\";\nimport { useDebounce } from \"../../../shared/hookHelpers\";\nimport { useOnSelectedChange, useGetSelectedInxFromValues } from \"./hookHelpers\";\nimport { getIsSelectedFn, getOnSelectOptionFn } from \"./helpers\";\nimport {\n generateCommonClasses,\n generateMultipleClasses,\n generateSingleClasses,\n reduceWhiteSpace,\n} from \"./styles\";\n\nconst RangeButtons = ({ allowMultiple, options, onChange, value }) => {\n const [selectedRangeIdx, setSelectedRange] = useGetSelectedInxFromValues({ value, options, allowMultiple });\n\n const [hoverIdx, setHoverIdx] = useState(null);\n const selectOption = getOnSelectOptionFn({\n allowMultiple,\n selectedRangeIdx,\n setSelectedRange,\n setHoverIdx,\n });\n const bothSelected = selectedRangeIdx[1] !== null && typeof selectedRangeIdx[1] !== \"undefined\";\n const multiAllSelected = allowMultiple && (selectedRangeIdx[0] === 0 || hoverIdx === 0);\n const getIsSelected = getIsSelectedFn(selectedRangeIdx, hoverIdx);\n const debouncedRange = useDebounce(selectedRangeIdx, 500);\n\n useOnSelectedChange(debouncedRange, () => {\n if (allowMultiple) {\n const min = options[selectedRangeIdx[0]].value;\n const max = options[selectedRangeIdx[1]]?.value;\n onChange(min, max);\n } else {\n onChange(options[selectedRangeIdx[0]]?.value);\n }\n }, [selectedRangeIdx]);\n\n return (\n <div>\n <div\n className=\"tw-inline-block tw-relative\"\n onMouseLeave={() => setHoverIdx(null)}\n onBlur={() => setHoverIdx(null)}\n >\n {/* Gray line covers */}\n <div className=\"tw-absolute tw-top-0 tw-left-[4px] tw-w-[98%] tw-h-[2px] tw-bg-gray-15 tw-z-10\" />\n <div className=\"tw-absolute tw-bottom-0 tw-left-[4px] tw-w-[98%] tw-h-[2px] tw-bg-gray-15 tw-z-10\" />\n\n {options.map((o, oIdx) => {\n const isSelected = getIsSelected(oIdx);\n const isFirst = oIdx === 0;\n const isLast = oIdx === options.length - 1;\n const isStart = oIdx === selectedRangeIdx[0];\n const isEnd = oIdx === selectedRangeIdx[1];\n const isHovering = hoverIdx === oIdx;\n const isInHoverSelection = allowMultiple\n ? getIsSelected(oIdx, true) && !multiAllSelected && !bothSelected\n : false;\n const isSelectingRange = allowMultiple\n ? !multiAllSelected && !bothSelected && selectedRangeIdx[0] !== null\n : false;\n const hoverBefore = hoverIdx !== null && hoverIdx < selectedRangeIdx[0];\n const hoverAfter = hoverIdx !== null && hoverIdx > selectedRangeIdx[0];\n // Common styles that single select and multi select share\n const btnClasses = reduceWhiteSpace(\n `${generateCommonClasses({\n isFirst,\n isLast,\n selected: isSelected,\n bothSelected,\n isHovering,\n isInHoverSelection,\n })} ${\n allowMultiple\n ? generateMultipleClasses({\n selected: isSelected,\n bothSelected,\n isHovering,\n hoverBefore,\n hoverAfter,\n multiAllSelected,\n isSelectingRange,\n isInHoverSelection,\n isStart,\n isEnd,\n isFirst,\n })\n : generateSingleClasses({ selected: isSelected })\n }`,\n );\n\n return (\n <button\n key={o.name}\n type=\"button\"\n onMouseOver={() => setHoverIdx(oIdx)}\n onFocus={() => setHoverIdx(oIdx)}\n onClick={(e) => clickEventCatch(e, selectOption, [oIdx], true)}\n className={btnClasses}\n >\n {o.name}\n </button>\n );\n })}\n </div>\n </div>\n );\n};\n\nexport default RangeButtons;\n\nRangeButtons.propTypes = {\n allowMultiple: Proptypes.bool,\n options: Proptypes.arrayOf(Proptypes.shape({ name: Proptypes.string })).isRequired,\n onChange: Proptypes.func,\n value: Proptypes.arrayOf(Proptypes.number),\n};\n\nRangeButtons.defaultProps = {\n allowMultiple: false,\n onChange: () => {},\n value: [],\n};\n","import { useEffect, useState, useRef } from \"react\";\n\nexport const useOnSelectedChange = (selected, fn) => {\n const isFirstRun = useRef(true);\n return useEffect(() => {\n if (isFirstRun.current) {\n isFirstRun.current = false;\n return;\n }\n fn(selected);\n }, [selected]);\n};\n\nexport const useGetSelectedInxFromValues = ({ value, options, allowMultiple }) => {\n let defaultArr = [...value];\n if (!allowMultiple) {\n const idx = options.findIndex((o) => o.value === value[0] || o.value === value[0]?.toString());\n defaultArr = [idx];\n }\n const [selectedRangeIdx, setSelectedRange] = useState(defaultArr);\n return [selectedRangeIdx, setSelectedRange];\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport RangeButtons from \"../RangeButtons\";\n\nconst BedsSelector = ({ value, onChange }) => (\n <div data-cy=\"bed-selector-wrapper\" className=\"tw-mb-[24px]\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">Beds</span>\n <p className=\"tw-mb-[8px] tw-text-12d tw-text-gray-75\">Select multiple options to create a range</p>\n <RangeButtons\n allowMultiple\n value={value}\n options={[\n { name: \"Any\", value: null },\n { name: \"1\", value: 1 },\n { name: \"2\", value: 2 },\n { name: \"3\", value: 3 },\n { name: \"4\", value: 4 },\n { name: \"5+\", value: 5 },\n ]}\n onChange={(min, max) => onChange(min, max)}\n />\n </div>\n);\n\nexport default BedsSelector;\n\nBedsSelector.propTypes = {\n value: Proptypes.arrayOf(Proptypes.number),\n onChange: Proptypes.func,\n};\n\nBedsSelector.defaultProps = {\n value: undefined,\n onChange: () => {},\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport RangeButtons from \"../RangeButtons\";\n\nconst BATH_OPTIONS = [\n { name: \"Any\", value: null },\n { name: \"1+\", value: \"1.0\" },\n { name: \"1.5+\", value: \"1.5\" },\n { name: \"2+\", value: \"2.0\" },\n { name: \"2.5+\", value: \"2.5\" },\n { name: \"3+\", value: \"3.0\" },\n];\nconst BathsSelector = ({ value, onChange }) => (\n <div data-cy=\"bath-selector-wrapper\" className=\"tw-mb-[24px]\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">Bath</span>\n <RangeButtons value={value} options={BATH_OPTIONS} onChange={onChange} />\n </div>\n);\n\nexport default BathsSelector;\n\nBathsSelector.propTypes = {\n value: Proptypes.arrayOf(Proptypes.number),\n onChange: Proptypes.func,\n};\n\nBathsSelector.defaultProps = {\n value: undefined,\n onChange: () => {},\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport { useOnMinMaxSelectedChange, useMinMaxState } from \"../../hookHelpers\";\nimport { hasMinMaxError } from \"../../helpers\";\nimport { useDebounce } from \"../../../shared/hookHelpers\";\n\nconst BASE_OPTIONS = [\n {\n label: \"500 sqft\",\n value: \"500\",\n },\n {\n label: \"1,000 sqft\",\n value: \"1000\",\n },\n {\n label: \"1,500 sqft\",\n value: \"1500\",\n },\n {\n label: \"2,000 sqft\",\n value: \"2000\",\n },\n {\n label: \"2,500 sqft\",\n value: \"2500\",\n },\n {\n label: \"3,000 sqft\",\n value: \"3000\",\n },\n {\n label: \"3,500 sqft\",\n value: \"3500\",\n },\n {\n label: \"4,000 sqft\",\n value: \"4000\",\n },\n {\n label: \"4,500 sqft\",\n value: \"4500\",\n },\n {\n label: \"5,000 sqft\",\n value: \"5000\",\n },\n {\n label: \"5,500 sqft\",\n value: \"5500\",\n },\n {\n label: \"6,000 sqft\",\n value: \"6000\",\n },\n {\n label: \"6,500 sqft\",\n value: \"6500\",\n },\n {\n label: \"7,000 sqft\",\n value: \"7000\",\n },\n {\n label: \"7,500 sqft\",\n value: \"7500\",\n },\n {\n label: \"8,000 sqft\",\n value: \"8000\",\n },\n {\n label: \"8,500 sqft\",\n value: \"8500\",\n },\n {\n label: \"9,000 sqft\",\n value: \"9000\",\n },\n {\n label: \"9,500 sqft\",\n value: \"9500\",\n },\n {\n label: \"10,000 sqft\",\n value: \"10000\",\n },\n];\nconst minOptions = [{ label: \"No min\", value: null }, ...BASE_OPTIONS];\nconst maxOptions = [{ label: \"No max\", value: null }, ...BASE_OPTIONS];\nconst SqFeet = ({ min, max, onChange }) => {\n const [selectedMin, onSelectMin, selectedMax, onSelectMax] = useMinMaxState(min, max);\n const hasError = hasMinMaxError(selectedMin, selectedMax);\n const debouncedMin = useDebounce(selectedMin, 500);\n const debouncedMax = useDebounce(selectedMax, 500);\n useOnMinMaxSelectedChange(debouncedMin, debouncedMax, hasError, onChange);\n\n return (\n <div data-cy=\"sqfeet-wrapper\" className=\"tw-mb-[24px]\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">Sq Feet</span>\n <div className=\"tw-flex tw-gap-[24px]\">\n <Dropdown\n containerClassName=\"tw-flex-1\"\n name=\"min_area\"\n value={minOptions.find((o) => o.value === selectedMin) || null}\n options={minOptions}\n isClearable={false}\n isSearchable={false}\n placeholder=\"No Min\"\n onChange={(opt) => onSelectMin(opt.value)}\n />\n <Dropdown\n containerClassName=\"tw-flex-1\"\n error={hasError ? \"Max must be greater than min\" : \"\"}\n name=\"max_area\"\n value={maxOptions.find((o) => o.value === selectedMax) || null}\n options={maxOptions}\n isSearchable={false}\n isClearable={false}\n placeholder=\"No Max\"\n onChange={(opt) => onSelectMax(opt.value)}\n />\n </div>\n </div>\n );\n};\n\nexport default SqFeet;\n\nSqFeet.propTypes = {\n min: Proptypes.string,\n max: Proptypes.string,\n onChange: Proptypes.func,\n};\n\nSqFeet.defaultProps = {\n min: undefined,\n max: undefined,\n onChange: () => {},\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { useOnMinMaxSelectedChange, useMinMaxState } from \"../../hookHelpers\";\nimport { hasMinMaxError } from \"../../helpers\";\nimport { useDebounce } from \"../../../shared/hookHelpers\";\n\nconst baseOptions = [\n {\n label: \"2,000 sqft\",\n value: \"2000\",\n },\n {\n label: \"4,500 sqft\",\n value: \"4500\",\n },\n {\n label: \"6,500 sqft\",\n value: \"6500\",\n },\n {\n label: \"8,000 sqft\",\n value: \"8000\",\n },\n {\n label: \"0.25 acres\",\n value: \"10890\",\n },\n {\n label: \"0.5 acres\",\n value: \"21780\",\n },\n {\n label: \"1 acres\",\n value: \"43560\",\n },\n {\n label: \"1.5 acres\",\n value: \"65340\",\n },\n {\n label: \"2 acres\",\n value: \"87120\",\n },\n {\n label: \"2.5 acres\",\n value: \"108900\",\n },\n {\n label: \"3 acres\",\n value: \"130680\",\n },\n {\n label: \"3.5 acres\",\n value: \"152460\",\n },\n {\n label: \"4 acres\",\n value: \"174240\",\n },\n {\n label: \"4.5 acres\",\n value: \"196020\",\n },\n {\n label: \"5 acres\",\n value: \"217800\",\n },\n {\n label: \"10 acres\",\n value: \"435600\",\n },\n {\n label: \"15 acres\",\n value: \"653400\",\n },\n {\n label: \"20 acres\",\n value: \"871200\",\n },\n {\n label: \"25 acres\",\n value: \"1089000\",\n },\n {\n label: \"50 acres\",\n value: \"2178000\",\n },\n {\n label: \"100 acres\",\n value: \"4356000\",\n },\n {\n label: \"500 acres\",\n value: \"21780000\",\n },\n {\n label: \"1,000 acres\",\n value: \"43560000\",\n },\n];\nconst minOptions = [{ label: \"No min\", value: null }, ...baseOptions];\nconst maxOptions = [{ label: \"No max\", value: null }, ...baseOptions];\nconst LotSize = ({ min, max, onChange }) => {\n const [selectedMin, onSelectMin, selectedMax, onSelectMax] = useMinMaxState(min, max);\n const hasError = hasMinMaxError(selectedMin, selectedMax);\n const debouncedMin = useDebounce(selectedMin, 500);\n const debouncedMax = useDebounce(selectedMax, 500);\n useOnMinMaxSelectedChange(debouncedMin, debouncedMax, hasError, onChange);\n\n return (\n <div data-cy=\"lot-wrapper\" className=\"tw-mb-[24px]\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">Lot Size</span>\n <div className=\"tw-flex tw-gap-[24px]\">\n <Dropdown\n containerClassName=\"tw-flex-1\"\n name=\"min_lot\"\n value={minOptions.find((o) => o.value === selectedMin)}\n options={minOptions}\n isClearable={false}\n isSearchable={false}\n placeholder=\"No Min\"\n onChange={(opt) => onSelectMin(opt.value)}\n />\n <Dropdown\n containerClassName=\"tw-flex-1\"\n error={hasError ? \"Max must be greater than min\" : \"\"}\n name=\"max_lot\"\n value={maxOptions.find((o) => o.value === selectedMax)}\n options={maxOptions}\n isClearable={false}\n isSearchable={false}\n placeholder=\"No Max\"\n onChange={(opt) => onSelectMax(opt.value)}\n />\n </div>\n </div>\n );\n};\nexport default LotSize;\n\nLotSize.propTypes = {\n min: Proptypes.string,\n max: Proptypes.string,\n onChange: Proptypes.func,\n};\n\nLotSize.defaultProps = {\n min: undefined,\n max: undefined,\n onChange: () => {},\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { useOnMinMaxSelectedChange, useMinMaxState } from \"../../hookHelpers\";\nimport { hasMinMaxError } from \"../../helpers\";\nimport { useDebounce } from \"../../../shared/hookHelpers\";\n\nconst consecutiveYearOptionsUpToCurrentYear = (startYear) => {\n const yearOptions = [];\n for (let currentYear = new Date().getFullYear(); currentYear >= startYear; currentYear -= 1) {\n yearOptions.push({ label: currentYear.toString(), value: currentYear.toString() });\n }\n return yearOptions;\n};\nconst baseOptions = [\n ...consecutiveYearOptionsUpToCurrentYear(2005),\n {\n label: \"2000\",\n value: \"2000\",\n },\n {\n label: \"1990\",\n value: \"1990\",\n },\n {\n label: \"1980\",\n value: \"1980\",\n },\n {\n label: \"1970\",\n value: \"1970\",\n },\n {\n label: \"1960\",\n value: \"1960\",\n },\n {\n label: \"1950\",\n value: \"1950\",\n },\n {\n label: \"1940\",\n value: \"1940\",\n },\n {\n label: \"1930\",\n value: \"1930\",\n },\n {\n label: \"1920\",\n value: \"1920\",\n },\n {\n label: \"1910\",\n value: \"1910\",\n },\n {\n label: \"1900\",\n value: \"1900\",\n },\n {\n label: \"1800\",\n value: \"1800\",\n },\n];\nconst minOptions = [{ label: \"No min\", value: null }, ...baseOptions];\nconst maxOptions = [{ label: \"No max\", value: null }, ...baseOptions];\n\nconst YearBuilt = ({ min, max, onChange }) => {\n const [selectedMin, onSelectMin, selectedMax, onSelectMax] = useMinMaxState(min, max);\n const hasError = hasMinMaxError(selectedMin, selectedMax);\n const debouncedMin = useDebounce(selectedMin, 500);\n const debouncedMax = useDebounce(selectedMax, 500);\n useOnMinMaxSelectedChange(debouncedMin, debouncedMax, hasError, onChange);\n\n return (\n <div data-cy=\"year-built-wrapper\" className=\"tw-mb-[24px]\">\n <span className=\"tw-text-base tw-text-gray-50 tw-block tw-mb-[8px]\">Year Built</span>\n <div className=\"tw-flex tw-gap-[24px]\">\n <Dropdown\n containerClassName=\"tw-flex-1\"\n name=\"min_year\"\n value={minOptions.find((o) => o.value === selectedMin)}\n options={minOptions}\n isClearable={false}\n isSearchable={false}\n placeholder=\"No Min\"\n onChange={(opt) => onSelectMin(opt.value)}\n />\n <Dropdown\n containerClassName=\"tw-flex-1\"\n error={hasError ? \"Max must be greater than min\" : \"\"}\n name=\"max_year\"\n value={maxOptions.find((o) => o.value === selectedMax)}\n options={maxOptions}\n isSearchable={false}\n isClearable={false}\n placeholder=\"No Max\"\n onChange={(opt) => onSelectMax(opt.value)}\n />\n </div>\n </div>\n );\n};\nexport default YearBuilt;\n\nYearBuilt.propTypes = {\n min: Proptypes.string,\n max: Proptypes.string,\n onChange: Proptypes.func,\n};\n\nYearBuilt.defaultProps = {\n min: undefined,\n max: undefined,\n onChange: () => {},\n};\n","const getGeoJsonFromPolygon = (polygon) => {\n if (!polygon) {\n return null;\n }\n\n const coords = [];\n\n const vertices = polygon.getPath();\n for (let i = 0; i < vertices.getLength(); i += 1) {\n const xy = vertices.getAt(i);\n coords.push([xy.lng(), xy.lat()]);\n }\n\n // Add first point as last to close the loop\n const firstPoint = vertices.getAt(0);\n coords.push([firstPoint.lng(), firstPoint.lat()]);\n\n return {\n coordinates: [coords],\n type: \"Polygon\",\n };\n};\n\nexport const getRadiusInMeters = (radiusInMiles) => radiusInMiles * 1609.34;\n\nexport const setPolyStyle = (map, editable) => {\n map.data.setStyle({\n strokeColor: \"#59c4c3\",\n strokeWeight: 2,\n fillColor: \"#59c4c3\",\n fillOpacity: 0.4,\n editable,\n });\n};\nexport const clearMap = (map, radiusCircle) => {\n if (radiusCircle) {\n radiusCircle.setMap(null);\n }\n\n map.data.forEach((feature) => {\n map.data.remove(feature);\n });\n};\n\nexport const processPoints = (google, geometry, callback, thisArg) => {\n if (geometry instanceof google.maps.LatLng) {\n callback.call(thisArg, geometry);\n } else if (geometry instanceof google.maps.Data.Point) {\n callback.call(thisArg, geometry.get());\n } else {\n geometry.getArray().forEach((g) => {\n processPoints(google, g, callback, thisArg);\n });\n }\n};\n\nexport const getUserLocationAndInitMap = ({ successFn, errorFn }) => {\n navigator.geolocation.getCurrentPosition(successFn, errorFn);\n};\n\nconst makeZoomControl = ({ isFirst, content, contentText }) => {\n const controlUI = document.createElement(\"div\");\n\n controlUI.style.backgroundColor = \"#fff\";\n controlUI.style.border = \"2px solid #fff\";\n controlUI.style.borderRadius = \"50%\";\n controlUI.style.fontSize = \"24px\";\n controlUI.style.fontWeight = \"700\";\n controlUI.style.height = \"32px\";\n controlUI.style.width = \"32px\";\n controlUI.style.zIndex = \"20\";\n controlUI.style.userSelect = \"none\";\n controlUI.style.position = \"relative\";\n controlUI.style.boxShadow = \"0 2px 6px rgba(0,0,0,.3)\";\n controlUI.style.cursor = \"pointer\";\n controlUI.style.marginBottom = isFirst ? \"7px\" : \"5px\";\n controlUI.style.marginRight = \"20px\";\n controlUI.style.textAlign = \"center\";\n controlUI.innerHTML = content;\n controlUI.title = contentText;\n return controlUI;\n};\n\nexport const addZoomControls = (controlDiv, map) => {\n // Set CSS for the control border.\n const zoomIn = makeZoomControl({ isFirst: true, content: \"+\", contentText: \"Zoom In\" });\n const zoomOut = makeZoomControl({ content: \"-\", contentText: \"Zoom Out\" });\n\n controlDiv.appendChild(zoomIn);\n controlDiv.appendChild(zoomOut);\n\n zoomIn.addEventListener(\"click\", () => {\n map.setZoom(map.zoom + 1);\n });\n zoomOut.addEventListener(\"click\", () => {\n map.setZoom(map.zoom - 1);\n });\n};\n\nexport const createDrawingManager = ({ google, map, onPolygonComplete }) => {\n const drawingManager = new google.maps.drawing.DrawingManager({\n drawingMode: null,\n drawingControl: false,\n polygonOptions: {\n strokeColor: \"#4CA7A7\",\n strokeWeight: 2,\n fillColor: \"#4CA7A7\",\n fillOpacity: 0.4,\n zIndex: 1,\n editable: true,\n clickable: false,\n },\n });\n\n drawingManager.setMap(map);\n google.maps.event.addListener(drawingManager, \"polygoncomplete\", (poly) => {\n const data = getGeoJsonFromPolygon(poly);\n poly.setMap(null);\n drawingManager.setDrawingMode(null);\n // pass data to parent component\n onPolygonComplete({ poly, geoJSON: data });\n });\n\n return drawingManager;\n};\n\nexport const createCMAMap = ({\n setMap,\n setDrawingManager,\n google,\n coords,\n onPolygonComplete,\n setFormData,\n}) => {\n const mapOptions = {\n zoom: 10,\n // customizations\n minZoom: 6,\n maxZoom: 16,\n mapTypeControl: false,\n rotateControl: false,\n scaleControl: false,\n zoomControl: false,\n clickableIcons: false,\n fullscreenControl: false,\n streetViewControl: false,\n };\n if (coords && coords.length === 2) {\n mapOptions.center = {\n lat: coords[0],\n lng: coords[1],\n };\n }\n const map = new google.maps.Map(document.getElementById(\"cma-map\"), mapOptions);\n map.data.addListener(\"setgeometry\", () => {\n map.data.toGeoJson((data) => setFormData({ geo_json: data?.features[0]?.geometry }));\n });\n // Custom Zoom controls\n const zoomControlDiv = document.createElement(\"div\");\n addZoomControls(zoomControlDiv, map);\n map.controls[google.maps.ControlPosition.RIGHT_BOTTOM].push(zoomControlDiv);\n // Enable drawing\n setDrawingManager(createDrawingManager({ google, map, onPolygonComplete }));\n setMap(map);\n};\n\nexport const useBrowserCoords = (coords, browserLatLon) =>\n coords?.length !== 2 && browserLatLon?.length === 2;\n","import { useEffect, useState } from \"react\";\nimport { debounce } from \"lodash\";\nimport { clearMap, processPoints, setPolyStyle, getRadiusInMeters } from \"./helpers\";\n\nexport const useMap = () => {\n const [map, setMap] = useState(false);\n return [map, setMap];\n};\n\nexport function useOnDrawingMode({ isDrawing, disableFn, searchLocation, setFormData, currentName }) {\n const [drawingManager, setDrawingManager] = useState(false);\n\n useEffect(() => {\n if (drawingManager) {\n const mod = {\n searchType: \"radius\",\n };\n if (!isDrawing) {\n disableFn();\n mod.searchType = searchLocation?.source === \"GoogleAPI\" ? \"radius\" : \"area\";\n } else {\n drawingManager.setDrawingMode(window.google.maps.drawing.OverlayType.POLYGON);\n mod.searchType = \"area\";\n mod.name = currentName || \"Custom Area\";\n }\n setFormData(mod);\n }\n }, [isDrawing, drawingManager]);\n return setDrawingManager;\n}\n\nconst MARKER_COLORS = {\n active: {\n bdr: \"63D689\",\n bck: \"CAF0D6\",\n copy: \"177335\",\n },\n pending: {\n bdr: \"FAB957\",\n bck: \"FAE4C3\",\n copy: \"AD6714\",\n },\n sold: {\n bdr: \"FA5D57\",\n bck: \"FAC5C3\",\n copy: \"A81E19\",\n },\n off_market: {\n bdr: \"C2C2C2\",\n bck: \"EBEBEB\",\n copy: \"666666\",\n },\n};\nconst numFormatter = (num) => {\n let output = num;\n if (num > 999 && num < 1000000) {\n output = `${(num / 1000).toFixed(0)}K`; // convert to K for number from > 10000 < 1 million\n } else if (num > 1000000) {\n output = `${(num / 1000000).toFixed(1)}M`; // convert to M for number from > 1 million\n }\n return output;\n};\nconst markersArray = [];\nconst addMarker = (marker, type, map) => {\n const color = MARKER_COLORS[type];\n const label = `$${numFormatter(marker?.price)}`;\n const image = `data:image/svg+xml,%3Csvg width='58' height='34' viewBox='0 0 58 34' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_2_29)'%3E%3Cpath d='M14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28H21.5041L28.8822 33.2784L36.2602 28H44C51.732 28 58 21.732 58 14C58 6.26801 51.732 0 44 0H14Z' fill='%23${color.bck}'/%3E%3Cpath d='M21.9405 27.39L21.7447 27.25H21.5041H14C6.68223 27.25 0.75 21.3178 0.75 14C0.75 6.68223 6.68223 0.75 14 0.75H44C51.3178 0.75 57.25 6.68223 57.25 14C57.25 21.3178 51.3178 27.25 44 27.25H36.2602H36.0196L35.8238 27.39L28.8822 32.3562L21.9405 27.39Z' stroke='%23${color.bdr}' stroke-width='1.5'/%3E%3C/g%3E%3Ctext fill='%23${color.copy}' xml:space='preserve' style='text-align: center' font-family='Arial' font-size='14' font-weight='500' text-anchor='middle' letter-spacing='.05em'%3E%3Ctspan x='29' y='19.4312'%3E${label}%3C/tspan%3E%3C/text%3E%3Cdefs%3E%3Cfilter id='filter0_d_2_29' x='-22' y='-16' width='102' height='77.2784' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_2_29' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A`;\n const latLng = new window.google.maps.LatLng(marker.lat, marker.lng);\n const markerElm = new window.google.maps.Marker({\n position: latLng,\n map,\n icon: image,\n });\n markersArray.push(markerElm);\n};\nexport function setMarkers({ map, locationData }) {\n if (locationData && locationData?.listing_info) {\n Object.keys(locationData?.listing_info).forEach((type) => {\n locationData?.listing_info[type]?.forEach((marker) => {\n addMarker(marker, type, map);\n });\n });\n } else {\n markersArray.forEach((marker) => {\n marker.setMap(null);\n });\n }\n}\nexport function useSetMap({ loadFn, clearFn, coords }) {\n return useEffect(() => {\n clearFn();\n loadFn();\n }, [coords]);\n}\n\nexport function useAutoDetect({ autoDetectFn, coords, geoJSON }) {\n return useEffect(() => {\n if ((!coords || coords.length === 0) && !geoJSON) {\n autoDetectFn();\n }\n }, []);\n}\n\nlet radiusCircle;\nexport const useMapDarwings = ({\n isDrawing,\n map,\n radius,\n boundry,\n geoJSON,\n locationData,\n radiusType,\n searchType,\n hasSearch,\n coords,\n}) => {\n const fnCall = debounce(() => {\n if (!map) {\n return;\n }\n clearMap(map, radiusCircle);\n setTimeout(() => {\n if (!hasSearch && !boundry && !geoJSON) {\n return;\n }\n if (searchType === \"radius\" && !isDrawing) {\n const rad = radiusType === \"smart-radius\" ? locationData?.radius : radius;\n if (rad) {\n radiusCircle = new window.google.maps.Circle({\n map,\n center: { lat: coords[0], lng: coords[1] },\n radius: getRadiusInMeters(rad),\n strokeColor: \"#59c4c3\",\n strokeWeight: 2,\n fillColor: \"#59c4c3\",\n fillOpacity: 0.4,\n });\n window.setTimeout(() => {\n map.fitBounds(radiusCircle.getBounds());\n }, 100);\n }\n } else if (searchType === \"area\") {\n const bdry = isDrawing ? geoJSON : boundry;\n if (bdry) {\n setTimeout(() => {\n map.data.addGeoJson({\n type: \"Feature\",\n geometry: bdry,\n });\n setPolyStyle(map, isDrawing);\n const bounds = new window.google.maps.LatLngBounds();\n map.data.forEach((feature) => {\n processPoints(window.google, feature.getGeometry(), bounds.extend, bounds);\n });\n\n window.setTimeout(() => {\n map.fitBounds(bounds);\n }, 100);\n }, 0);\n }\n }\n setMarkers({\n map,\n locationData: isDrawing && !geoJSON ? null : locationData,\n });\n }, 0);\n }, 500);\n useEffect(() => {\n fnCall();\n }, [isDrawing, map, radius, boundry, geoJSON, locationData]);\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as creators from \"../../actions/creators\";\nimport \"./styles.scss\";\n\nimport { createCMAMap, clearMap, useBrowserCoords } from \"./helpers\";\nimport { useOnDrawingMode, useSetMap, useMapDarwings, useMap } from \"./hookHelpers\";\n\nconst mapStateToProps = (state) => ({\n coords: state.addMarketReport.form1.lat_lng,\n browserLatLon: state.addMarketReport.browserLatLon,\n radius: state.addMarketReport.form1.radius,\n radiusType: state.addMarketReport.form1.radius_type,\n isDrawing: state.addMarketReport.isDrawing,\n searchLocation: state.addMarketReport.form1.searchLocation,\n searchType: state.addMarketReport.form1.search_type,\n hasSearch: state.addMarketReport.form1.searchLocation !== null,\n geoJSON: state.addMarketReport.form1.geo_json,\n boundry: state.addMarketReport.form1.boundry_coordinates,\n locationData: state.addMarketReport.locationData,\n currentName: state.addMarketReport?.savedMarketReport?.name,\n});\n\nconst Map = ({\n coords,\n browserLatLon,\n boundry,\n setDrawing,\n setLatLon,\n isDrawing,\n searchType,\n geoJSON,\n radius,\n radiusType,\n setFormData,\n hasSearch,\n locationData,\n setLocationData,\n searchLocation,\n currentName,\n}) => {\n const [map, setMap] = useMap();\n const setDrawingManager = useOnDrawingMode({\n isDrawing,\n disableFn: () => {\n clearMap(map);\n if (useBrowserCoords(coords, browserLatLon)) {\n setLatLon(browserLatLon);\n }\n },\n searchLocation,\n setFormData,\n currentName,\n });\n\n const initMap = () => {\n createCMAMap({\n setFormData,\n setMap,\n setDrawingManager,\n google: window.google,\n coords,\n onPolygonComplete: (poly) => {\n setFormData({ geo_json: poly.geoJSON, search_type: \"area\" });\n },\n });\n };\n useMapDarwings({\n isDrawing,\n map,\n radius,\n boundry,\n geoJSON,\n locationData,\n radiusType,\n searchType,\n hasSearch,\n coords,\n });\n\n useSetMap({\n loadFn: () => initMap(),\n clearFn: () => {\n document.getElementById(\"cma-map\").innerHTML = \"\";\n },\n coords,\n });\n\n return (\n <>\n <button\n type=\"button\"\n className=\"tw-bg-white tw-font-bold tw-z-2 tw-absolute tw-right-[20px] tw-px-[20px] tw-top-[20px] tw-h-[36px] tw-rounded-full tw-border-0 tw-shadow-lg\"\n onClick={(e) => {\n e.preventDefault();\n const s = !isDrawing;\n setDrawing(s);\n setLocationData(null);\n }}\n >\n {isDrawing ? \"CLEAR\" : \"DRAW AREA\"}\n </button>\n <div id=\"cma-map\" className=\"tw-inset-0 tw-absolute\" />\n </>\n );\n};\n\nMap.propTypes = {\n coords: PropTypes.arrayOf(PropTypes.number),\n browserLatLon: PropTypes.arrayOf(PropTypes.number),\n setDrawing: PropTypes.func,\n setLatLon: PropTypes.func,\n setFormData: PropTypes.func,\n setLocationData: PropTypes.func,\n isDrawing: PropTypes.bool,\n hasSearch: PropTypes.bool,\n searchType: PropTypes.string,\n radius: PropTypes.number,\n radiusType: PropTypes.string,\n geoJSON: PropTypes.arrayOf(PropTypes.number),\n boundry: PropTypes.arrayOf(PropTypes.number),\n locationData: PropTypes.shape({\n radius: PropTypes.number,\n }),\n searchLocation: PropTypes.shape({}),\n currentName: PropTypes.string,\n};\n\nMap.defaultProps = {\n coords: null,\n browserLatLon: null,\n setDrawing: () => {},\n setLatLon: () => {},\n setFormData: () => {},\n setLocationData: null,\n isDrawing: false,\n hasSearch: false,\n searchType: \"radius\",\n searchLocation: null,\n radius: 0,\n radiusType: null,\n geoJSON: null,\n boundry: null,\n locationData: null,\n currentName: null,\n};\n\nexport default connect(mapStateToProps, creators)(Map);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\n\nconst HomeEstimateValue = ({ header, value, containerClassName, onClose }) => (\n <div\n className={`tw-border-solid tw-border-[1px] tw-border-gray-30 tw-py-[16px] tw-rounded-[4px] tw-text-gray-75 tw-flex tw-flex-col tw-items-center tw-relative tw-w-[168px] ${containerClassName}`}\n >\n {onClose && (\n <IconButton\n size=\"xsmall\"\n schema=\"transparent\"\n onClick={onClose}\n className=\"tw-absolute tw-right-8px tw-top-8px\"\n >\n <XmarkSolidV6 />\n </IconButton>\n )}\n\n <div className=\"tw-text-14d tw-font-semibold\">{header}</div>\n <div className=\"tw-text-18d tw-font-normal\">{value}</div>\n </div>\n);\n\nexport default HomeEstimateValue;\n\nHomeEstimateValue.propTypes = {\n header: PropTypes.string,\n value: PropTypes.string,\n containerClassName: PropTypes.string,\n onClose: PropTypes.func,\n};\n\nHomeEstimateValue.defaultProps = {\n header: \"Automated Est.\",\n value: \"$0\",\n containerClassName: \"\",\n onClose: null,\n};\n","/* eslint-disable import/prefer-default-export */\n/* eslint-disable no-console */\nimport axios from \"axios\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\n\nexport const getHomeValue = async ({ streetAddress, city, state, postalCode }) => {\n const [response, error] = await tryCatchHandlr(\n axios.get(\"/market_reports/home_value\", {\n params: {\n streetAddress,\n city,\n state,\n postalCode,\n },\n }),\n );\n\n return { response, error };\n};\n","export const calculateHomeAdjustment = ({ homeAdjVal, homeAdj, isHomeAdjPercentage, isHomeAdjPositive }) => {\n const adjustmentFactor = isHomeAdjPositive ? 1 : -1;\n\n const result = isHomeAdjPercentage\n ? homeAdjVal * (1 + adjustmentFactor * (homeAdj / 100))\n : homeAdjVal + adjustmentFactor * homeAdj;\n\n return `$${Number(Math.floor(result)).toLocaleString()}`;\n};\n","/* eslint-disable react/prop-types */\n/* eslint-disable jsx-a11y/interactive-supports-focus */\nimport React, { useEffect, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Toggle from \"@shared/v2/Toggle\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport {\n ArrowRightSolidV6,\n DollarSignSolidV6,\n MinusSolidV6,\n PercentSolidV6,\n PlusSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport ButtonToggle from \"@shared/v2/ButtonToggle\";\nimport { formatNumber, isValidValue } from \"@shared/v2/inputFormatUtils\";\nimport * as creators from \"../../actions/creators\";\nimport HomeEstimateValue from \"../HomeEstimateValue/HomeEstimateValue\";\nimport { getHomeValue } from \"../../api\";\nimport { calculateHomeAdjustment } from \"../../../AddMarketReportModal/components/Panel2/helpers\";\n\nconst STYLE = {\n header: \"tw-text-18d tw-text-gray-75 tw-mt-18px tw-mb-24px\",\n subHeader: \"tw-text-14d tw-text-gray-50 tw-font-semibold\",\n};\n\nconst REPORT_TYPE_HASH = {\n market: false,\n home_value: true,\n};\n\nconst HomeValueEstimate = ({ setFormData, formData, report }) => {\n const [homeAdjVal, setHomeAdjVal] = useState(0);\n const [showAdjustment, setShowAdjustment] = useState(false);\n\n useEffect(() => {\n if (report?.street_address) {\n (async () => {\n const { response } = await getHomeValue({\n streetAddress: report.street_address,\n city: report.city,\n state: report.state_abbreviation,\n postalCode: report.postal_code,\n });\n\n setHomeAdjVal(Math.floor(response.data.value));\n })();\n }\n }, [report?.street_address]);\n\n useEffect(() => {\n setFormData({\n home_value_adjustment_as_percentage: report?.home_value_adjustment_as_percentage,\n home_value_adjustment: Math.abs(report?.home_value_adjustment * 1),\n report_type: report?.report_type,\n isHomeAdjPositive: report?.home_value_adjustment >= 0,\n });\n }, [report]);\n\n const handleClickShow = () => {\n setShowAdjustment(!showAdjustment);\n };\n\n return (\n <>\n <div>\n <div className={`tw-text-18d tw-text-gray-75 tw-mt-18px ${report?.has_address && \"tw-mb-24px\"}`}>\n Home Value Estimate\n </div>\n {!report?.has_address && (\n <div className=\"tw-text-14d tw-text-gray-50 tw-mb-24px\">\n Enter an address in the search area to include a home value estimate in this market report.{\" \"}\n </div>\n )}\n <Toggle\n id=\"homeValue\"\n name=\"homeValue\"\n value={REPORT_TYPE_HASH[formData.report_type]}\n checked={REPORT_TYPE_HASH[formData.report_type]}\n onChange={() =>\n setFormData({\n report_type: formData.report_type === \"market\" ? \"home_value\" : \"market\",\n home_value_adjustment: null,\n home_value_adjustment_as_percentage: false,\n })\n }\n disabled={!report?.has_address}\n textClassName=\"tw-font-semibold\"\n text=\"Include Home Value in Market Report\"\n />\n {report?.has_address && (\n <>\n <div className=\"tw-mt-24px tw-flex tw-gap-24px tw-items-center\">\n <HomeEstimateValue value={`$ ${Number(homeAdjVal).toLocaleString()}`} />\n {Boolean(formData?.home_value_adjustment) && formData?.home_value_adjustment * 1 !== 0 && (\n <>\n <ArrowRightSolidV6 size=\"l\" className=\"tw-text-gray-75\" />\n <HomeEstimateValue\n header=\"Adjusted Est.\"\n value={calculateHomeAdjustment({\n homeAdj: formData?.home_value_adjustment,\n isHomeAdjPercentage: formData?.home_value_adjustment_as_percentage,\n isHomeAdjPositive: formData?.isHomeAdjPositive,\n homeAdjVal,\n })}\n onClose={() =>\n setFormData({\n isHomeAdjPositive: true,\n isHomeAdjPercentage: false,\n home_value_adjustment: 0,\n })\n }\n />\n </>\n )}\n </div>\n {showAdjustment && (\n <div>\n <div className=\"tw-mt-24px\">\n <div className={STYLE.subHeader}>Adjust Home Value Estimate</div>\n <div className=\"tw-flex tw-gap-4px tw-mt-4px\">\n <ButtonToggle\n options={[\n { label: <PlusSolidV6 size=\"l\" />, value: true },\n { label: <MinusSolidV6 size=\"l\" />, value: false },\n ]}\n value={formData.isHomeAdjPositive}\n onChange={(e) => {\n setFormData({ isHomeAdjPositive: e.target.value === \"true\" });\n }}\n />\n <TextComboInput\n leading={!formData.home_value_adjustment_as_percentage ? \"$\" : \"\"}\n trailing={formData.home_value_adjustment_as_percentage ? \"%\" : \"\"}\n value={`${Math.floor(Math.abs(formData.home_value_adjustment))}`}\n onChange={(e) => {\n if (isValidValue(e.target.value)) {\n setFormData({ home_value_adjustment: Number(formatNumber(e.target.value.trim())) });\n }\n }}\n className=\"tw-flex-1\"\n />\n <ButtonToggle\n options={[\n { label: <DollarSignSolidV6 size=\"l\" />, value: false },\n { label: <PercentSolidV6 size=\"l\" />, value: true },\n ]}\n value={formData.home_value_adjustment_as_percentage}\n onChange={(e) => {\n setFormData({\n home_value_adjustment_as_percentage: e.target.value === \"true\",\n home_value_adjustment: 0,\n });\n }}\n />\n </div>\n </div>\n <div className=\"tw-mt-24px tw-text-14d tw-text-gray-50\">\n The adjusted estimate will use the most recent automated estimate and then add or subtract a\n dollar or percentage amount. This will appear on the home value section of the Market\n Report.\n </div>\n </div>\n )}\n <TextButton className=\"tw-p-0 tw-pt-[8px]\" onClick={handleClickShow}>\n {!showAdjustment ? \"Show estimate Adjustment\" : \"Hide estimate Adjustment\"}\n </TextButton>\n </>\n )}\n\n <hr className=\"tw-border-x-0 tw-border-y tw-border-solid tw-border-neutral-gray-10 tw-m-0 tw-my-24px\" />\n </div>\n </>\n );\n};\n\nHomeValueEstimate.propTypes = {\n formData: PropTypes.shape({\n home_value_adjustment: PropTypes.number,\n home_value_adjustment_as_percentage: PropTypes.bool,\n isHomeAdjPositive: PropTypes.bool,\n }),\n setFormData: PropTypes.func,\n report: PropTypes.shape({}),\n};\n\nHomeValueEstimate.defaultProps = {\n formData: {\n home_value_adjustment: 0,\n home_value_adjustment_as_percentage: false,\n isHomeAdjPositive: true,\n },\n setFormData: null,\n report: null,\n};\nconst mapStateToProps = (state) => ({\n formData: state.addMarketReport.form1,\n report: state.addMarketReport.savedMarketReport,\n});\nexport default connect(mapStateToProps, creators)(HomeValueEstimate);\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSearch, faMapMarker, faSpinner } from \"@fortawesome/free-solid-svg-icons\";\nimport * as creators from \"../../actions/creators\";\nimport * as api from \"../../actions/api\";\nimport SummaryTile from \"../SummaryTitle\";\nimport ContactEmailInput from \"../ContactEmailInput\";\nimport RadiusSelector from \"../RadiusSelector\";\nimport SearchAreaInput from \"../SearchAreaInput\";\nimport PropertyTypesSelector from \"../PropertyTypesSelector\";\nimport PriceSelector from \"../PriceSelector\";\nimport BedsSelector from \"../BedsSelector\";\nimport BathsSelector from \"../BathsSelector\";\nimport ShowMoreLess from \"../ShowMoreLess\";\nimport SqFeet from \"../SqFeet\";\nimport LotSize from \"../LotSize\";\nimport YearBuilt from \"../YearBuilt\";\nimport Map from \"../Map\";\nimport { useFormData, useRunOnce } from \"./hookHelpers\";\nimport { getUserLocationAndInitMap } from \"../Map/helpers\";\nimport { useAutoDetect } from \"../Map/hookHelpers\";\nimport HomeValueEstimate from \"./HomeValueEstimate\";\n\nlet clearIsDrawing;\n\nconst mapStateToProps = (state) => ({\n person: state.addMarketReport.person,\n formData: state.addMarketReport.form1,\n isDrawing: state.addMarketReport.isDrawing,\n isSearching: state.addMarketReport.isSearching,\n coords: state.addMarketReport.form1.lat_lng,\n browserLatLon: state.addMarketReport.browserLatLon,\n locationData: state.addMarketReport.locationData,\n isFormInValid: Object.keys(state.addMarketReport.formErrors).some(\n (k) => state.addMarketReport.formErrors[k] === true,\n ),\n hasSearch: state.addMarketReport.form1.searchLocation !== null,\n currentName: state.addMarketReport?.savedMarketReport?.name,\n savedMarketReport: state.addMarketReport?.savedMarketReport,\n});\nconst Panel1 = ({\n person,\n formData,\n setFormData,\n setSearching,\n setContactData,\n setLatLon,\n setBrowserLatLon,\n coords,\n browserLatLon,\n isDrawing,\n isSearching,\n setIsDrawing,\n setMessage,\n setFormError,\n isFormInValid,\n locationData,\n setLocationData,\n hasSearch,\n currentName,\n savedMarketReport,\n saveMarketReportFn,\n updateMarketReportFn,\n}) => {\n const [showMore, setShowMore] = useState(false);\n const [loadingLocation, setLoadingLocation] = useState(null);\n const [isOnChangeLocation, setIsOnChangeLocation] = useState(false);\n\n useEffect(() => {\n if (\n formData?.street_address &&\n formData?.searchLocation &&\n !isFormInValid &&\n formData?.name &&\n formData?.lat_lng?.length === 2 &&\n isOnChangeLocation\n ) {\n createMarketReport();\n }\n }, [formData?.street_address, formData?.searchLocation, formData?.name, isFormInValid, formData?.lat_lng]);\n\n const onChangeSearchArea = (val) => {\n const streetAddress = val?.label?.split(\",\")[0]; // This assumes the street address is the first part before a comma\n\n const mod = { searchLocation: val, street_address: streetAddress };\n if (!val) {\n mod.street_address = null;\n mod.boundry_coordinates = null;\n mod.searchLocation = null;\n mod.lat_lng = null;\n mod.city = null;\n mod.county = null;\n mod.district = null;\n mod.postal_code = null;\n mod.state_abbreviation = null;\n }\n setFormData(mod);\n setIsOnChangeLocation(true);\n };\n\n const createMarketReport = () => {\n setIsOnChangeLocation(false);\n if (savedMarketReport !== null) {\n updateMarketReportFn(\n {\n ...formData,\n home_value_adjustment_as_percentage: savedMarketReport.has_address\n ? formData.home_value_adjustment_as_percentage\n : null,\n home_value_adjustment: savedMarketReport.has_address\n ? formData.home_value_adjustment * (formData.isHomeAdjPositive ? 1 : -1)\n : null,\n id: savedMarketReport.id,\n },\n 0,\n );\n } else {\n saveMarketReportFn(\n {\n ...formData,\n ...(formData?.home_value_adjustment !== undefined && {\n home_value_adjustment: formData.home_value_adjustment * (formData.isHomeAdjPositive ? 1 : -1),\n }),\n },\n 0,\n );\n }\n };\n\n useRunOnce({ person, setContactData });\n useAutoDetect({\n coords,\n geoJSON: formData.geo_json || formData.boundry_coordinates,\n autoDetectFn: () => {\n setLoadingLocation(true);\n getUserLocationAndInitMap({\n errorFn: () => {\n setLoadingLocation(false);\n },\n successFn: (e) => {\n const crds = [e.coords.latitude, e.coords.longitude];\n setLatLon(crds);\n setBrowserLatLon(crds);\n setLoadingLocation(false);\n },\n });\n },\n });\n useFormData({\n formData,\n isDrawing,\n setLocationData,\n setFormError,\n setMessage,\n isFormInValid,\n setSearching,\n });\n return (\n <div className=\"tw-flex tw-h-full tw-overflow-y-hidden tw-overflow-x-auto\">\n <div className=\"preview map tw-flex-1 tw-min-w-[360px] tw-h-full tw-relative tw-bg-gray-5 tw-rounded-[8px]\">\n {hasSearch || coords?.length === 2 || browserLatLon?.length === 2 || formData.boundry_coordinates ? (\n <Map />\n ) : (\n <div className=\"tw-absolute tw-inset-0 tw-flex tw-flex-col tw-items-center tw-justify-center tw-text-center\">\n {loadingLocation ? (\n <>\n <h4 className=\"tw-font-bold\">Looking for your location</h4>\n <FontAwesomeIcon icon={faSpinner} className=\"tw-h-[16px] tw-w-[16px] tw-mx-auto fa-spin\" />\n </>\n ) : (\n <>\n <FontAwesomeIcon icon={faSearch} className=\"tw-h-[16px] tw-w-[16px]\" />\n <h4 className=\"tw-font-bold tw-m-0 \">Enter a search area</h4>\n <p className=\"tw-mt-[6px] tw-mb-[25px] tw-px-8\">\n Address, Neighborhood, County, City, or Zip code\n </p>\n <FontAwesomeIcon icon={faMapMarker} className=\"tw-h-[16px] tw-w-[16px]\" />\n <h4 className=\"tw-font-bold tw-m-0\">or enable geo-location</h4>\n <p className=\"tw-mt-[6px] tw-px-8\">Allow your browser to use your location</p>\n </>\n )}\n </div>\n )}\n\n <div className=\"tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-justify-center tw-bottom-7 tw-flex\">\n {isSearching && <SummaryTile text=\"Searching\" color=\"gray\" isSearching />}\n {locationData && (\n <>\n <SummaryTile text=\"Active\" color=\"green\" total={locationData?.listing_counts?.active} />\n <SummaryTile text=\"Pending\" color=\"yellow\" total={locationData?.listing_counts?.pending} />\n <SummaryTile text=\"Sold\" color=\"red\" total={locationData?.listing_counts?.sold} />\n <SummaryTile text=\"Off Mkt\" color=\"gray\" total={locationData?.listing_counts?.off_market} />\n </>\n )}\n </div>\n </div>\n <form className=\"tw-w-[416px] tw-flex-none tw-overflow-y-auto tw-border-x-0 tw-border-y tw-border-solid tw-border-neutral-gray-10 tw-ml-[12px] tw-px-[4px]\">\n <ContactEmailInput\n value={formData.contact.email}\n onChange={(val) => {\n setContactData({\n email: val,\n });\n }}\n />\n <SearchAreaInput\n currentName={currentName}\n MLSCountry={formData.mls_country}\n value={formData.searchLocation}\n onChange={onChangeSearchArea}\n defaultOptions={person?.addresses}\n clearIsDrawing={() => {\n if (clearIsDrawing) {\n clearIsDrawing();\n setIsDrawing(false);\n }\n }}\n />\n {formData.search_type === \"radius\" && formData.searchLocation !== null && (\n <RadiusSelector\n toggle={formData.radius_type === \"smart-radius\"}\n onToggle={(val) => {\n setFormData({ radius_type: val ? \"smart-radius\" : \"radius\" });\n }}\n value={formData.radius}\n onChange={(val) => {\n setFormData({ radius: val });\n }}\n />\n )}\n\n <HomeValueEstimate />\n\n <PropertyTypesSelector\n value={formData.property_type}\n onChange={(vals) => {\n setFormData({ property_type: vals });\n }}\n primaryAgentID={formData.primary_agent_uuid}\n />\n <PriceSelector\n min={formData.min_price}\n max={formData.max_price}\n onChange={(min, max) => {\n setFormData({ min_price: min, max_price: max });\n }}\n />\n <BedsSelector\n value={[formData.min_beds, formData.max_beds]}\n onChange={(min, max) => {\n setFormData({ min_beds: min, max_beds: max });\n }}\n />\n <BathsSelector\n value={[formData.min_baths]}\n onChange={(value) => {\n setFormData({ min_baths: value });\n }}\n />\n {showMore && (\n <>\n <SqFeet\n min={formData.min_area}\n max={formData.max_area}\n onChange={(min, max) => {\n setFormData({ min_area: min, max_area: max });\n }}\n />\n <LotSize\n min={formData.min_lot}\n max={formData.max_lot}\n onChange={(min, max) => {\n setFormData({ min_lot: min, max_lot: max });\n }}\n />\n <YearBuilt\n min={formData.min_year_built}\n max={formData.max_year_built}\n onChange={(min, max) => {\n setFormData({\n min_year_built: min,\n max_year_built: max,\n });\n }}\n />\n </>\n )}\n <ShowMoreLess showMore={showMore} onClick={() => setShowMore((s) => !s)} />\n {showMore && <div className=\"tw-h-[150px]\" />}\n </form>\n </div>\n );\n};\n\nPanel1.propTypes = {\n isDrawing: PropTypes.bool,\n isSearching: PropTypes.bool,\n setSearching: PropTypes.func,\n hasSearch: PropTypes.bool,\n person: PropTypes.shape({\n email: PropTypes.string,\n addresses: PropTypes.arrayOf(PropTypes.string),\n data: PropTypes.shape({\n attributes: PropTypes.shape({\n type: PropTypes.string,\n first_name: PropTypes.string,\n last_name: PropTypes.string,\n uuid: PropTypes.string,\n lead: PropTypes.shape({\n id: PropTypes.string,\n }),\n }),\n }),\n }),\n formData: PropTypes.shape({\n search_address: PropTypes.string,\n street_address: PropTypes.string,\n lat_lng: PropTypes.arrayOf(PropTypes.number),\n search_type: PropTypes.string,\n radius_type: PropTypes.string,\n radius: PropTypes.number,\n property_type: PropTypes.string,\n mls_country: PropTypes.string,\n boundry_coordinates: PropTypes.arrayOf(PropTypes.number),\n geo_json: PropTypes.arrayOf(PropTypes.number),\n min_price: PropTypes.number,\n max_price: PropTypes.number,\n min_beds: PropTypes.number,\n max_beds: PropTypes.number,\n min_baths: PropTypes.number,\n max_baths: PropTypes.number,\n min_area: PropTypes.number,\n max_area: PropTypes.number,\n min_lot: PropTypes.number,\n max_lot: PropTypes.number,\n min_year_built: PropTypes.number,\n max_year_built: PropTypes.number,\n contact: PropTypes.shape({\n email: PropTypes.string,\n }),\n primary_agent_uuid: PropTypes.string,\n searchLocation: PropTypes.shape({}),\n }),\n setMessage: PropTypes.func,\n setFormError: PropTypes.func,\n setFormData: PropTypes.func,\n setIsDrawing: PropTypes.func,\n setContactData: PropTypes.func,\n setLatLon: PropTypes.func,\n setBrowserLatLon: PropTypes.func,\n isFormInValid: PropTypes.bool,\n coords: PropTypes.arrayOf(PropTypes.number),\n browserLatLon: PropTypes.arrayOf(PropTypes.number),\n setLocationData: PropTypes.func,\n locationData: PropTypes.shape({\n listing_counts: PropTypes.shape({\n active: PropTypes.arrayOf(PropTypes.shape({})),\n pending: PropTypes.arrayOf(PropTypes.shape({})),\n sold: PropTypes.arrayOf(PropTypes.shape({})),\n off_market: PropTypes.arrayOf(PropTypes.shape({})),\n }),\n }),\n currentName: PropTypes.string,\n savedMarketReport: PropTypes.shape({\n has_address: PropTypes.bool,\n id: PropTypes.string,\n primary_agent_uuid: PropTypes.string,\n location: PropTypes.string,\n }),\n saveMarketReportFn: PropTypes.func,\n updateMarketReportFn: PropTypes.func,\n};\n\nPanel1.defaultProps = {\n isDrawing: false,\n isSearching: false,\n setSearching: null,\n person: null,\n hasSearch: false,\n savedMarketReport: null,\n formData: {\n search_address: \"\",\n street_address: null,\n lat_lng: null,\n search_type: null,\n radius_type: \"\",\n radius: 0,\n property_type: \"\",\n boundry_coordinates: null,\n mls_country: null,\n geo_json: null,\n min_price: 0,\n max_price: 0,\n min_beds: 0,\n max_beds: 0,\n min_baths: 0,\n max_baths: 0,\n min_area: null,\n max_area: null,\n min_lot: null,\n max_lot: null,\n min_year_built: null,\n max_year_built: null,\n contact: {\n email: null,\n },\n primary_agent_uuid: null,\n searchLocation: null,\n },\n isFormInValid: false,\n setFormError: null,\n setMessage: null,\n setFormData: null,\n setIsDrawing: null,\n setContactData: null,\n setLatLon: null,\n setBrowserLatLon: null,\n coords: null,\n browserLatLon: null,\n setLocationData: null,\n locationData: null,\n currentName: null,\n saveMarketReportFn: null,\n updateMarketReportFn: null,\n};\n\nexport default connect(mapStateToProps, { ...creators, ...api })(Panel1);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst SMALL_STYLES = `tw-text-[12px] tw-font-normal tw-text-neutral-gray-50`;\n\nconst EmailMessageInput = ({ onChange, value }) => (\n <div data-cy=\"email-message-wrapper\" className=\"tw-mb-[48px]\">\n <div className=\"tw-flex tw-items-center tw-mb-[8px]\">\n <span className=\"tw-text-base tw-text-gray-50\">Email Message</span>\n <small className={`${SMALL_STYLES} tw-px-[10px]`}>optional</small>\n </div>\n <textarea\n className=\"tw-h-[76px] tw-w-full tw-bg-tinted-gray-50 tw-border tw-border-neutral-gray-30 tw-rounded-md tw-px-[12px] tw-py-[8px]\"\n value={value}\n onChange={onChange}\n />\n <p className={SMALL_STYLES}>Add a custom message to the first email for this report</p>\n </div>\n);\n\nEmailMessageInput.propTypes = {\n value: PropTypes.string,\n onChange: PropTypes.func,\n};\n\nEmailMessageInput.defaultProps = {\n value: null,\n onChange: () => {},\n};\n\nexport default EmailMessageInput;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faInfoCircle } from \"@fortawesome/free-solid-svg-icons\";\n\nimport Toggle from \"../../../shared/v2/Toggle\";\n\nconst DripInput = ({ onChange, value }) => (\n <div data-cy=\"drip-input-wrapper\" className=\"tw-mb-[24px] tw-text-[14px]\">\n <span className=\"tw-text-[14px]\">\n <Toggle\n id=\"drip\"\n name=\"drip\"\n value={value}\n checked={value === true}\n disabled={false}\n onChange={() => {\n onChange(!value);\n }}\n text=\"Schedule a Drip Campaign\"\n />\n </span>\n <div className=\"tw-flex tw-mt-[8px]\">\n <FontAwesomeIcon\n icon={faInfoCircle}\n className=\"tw-h-[12px] tw-w-[12px] tw-mr-[8px] tw-mt-[4px] tw-text-neutral-gray-50\"\n />\n <p className=\"tw-flex-1 tw-text-[14px] tw-font-normal tw-text-neutral-gray-50 tw-mb-0\">\n A Drip Campaign will send a new Market Report with these search criteria at the selected interval.\n </p>\n </div>\n </div>\n);\n\nDripInput.propTypes = {\n value: PropTypes.shape({ label: PropTypes.string }),\n onChange: PropTypes.func,\n};\n\nDripInput.defaultProps = {\n value: null,\n onChange: () => {},\n};\n\nexport default DripInput;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\n\nconst OPTIONS = [\n {\n label: \"Never\",\n value: \"never\",\n },\n {\n label: \"Weekly\",\n value: \"every_week\",\n },\n {\n label: \"Every 2 weeks\",\n value: \"every_2_weeks\",\n },\n {\n label: \"Every month\",\n value: \"every_month\",\n },\n {\n label: \"Quarterly\",\n value: \"quarterly\",\n },\n {\n label: \"Annually\",\n value: \"annually\",\n },\n];\nconst DripFrequency = ({ value, onChange }) => (\n <div data-cy=\"lot-wrapper\" className=\"tw-mb-[4px]\">\n <Dropdown\n label=\"Drip Frequency\"\n name=\"drip_frequency\"\n value={OPTIONS.find((o) => o.value === value)}\n options={OPTIONS}\n isClearable={false}\n isSearchable={false}\n onChange={(opt) => onChange(opt.value)}\n />\n </div>\n);\nexport default DripFrequency;\n\nDripFrequency.propTypes = {\n value: Proptypes.string,\n onChange: Proptypes.func,\n};\n\nDripFrequency.defaultProps = {\n value: \"\",\n onChange: () => {},\n};\n","/* eslint-disable react/prop-types */\n/* eslint-disable jsx-a11y/interactive-supports-focus */\nimport React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextInput from \"@shared/v2/TextInput/TextInput\";\nimport EmailMessageInput from \"../EmailMessageInput\";\nimport DripInput from \"../DripInput\";\nimport DripFrequency from \"../DripFrequency\";\n\nconst STYLE = {\n header: \"tw-text-18d tw-text-gray-75 tw-mt-18px tw-mb-24px\",\n subHeader: \"tw-text-14d tw-text-gray-50 tw-font-semibold\",\n};\n\nconst Panel2Form = ({ setFormData, formData }) => {\n const formRef = useRef(null);\n\n return (\n <form\n ref={formRef} // Attach the ref to the form element\n className=\"tw-flex-none tw-w-[416px] tw-px-[4px] tw-h-full tw-overflow-y-auto tw-ml-[12px]\"\n >\n <hr className=\"tw-border-x-0 tw-border-y tw-border-solid tw-border-neutral-gray-10 tw-m-0\" />\n <div className={STYLE.header}>Email Settings</div>\n <div className=\"tw-mb-[24px]\">\n <TextInput\n label=\"Market Report Name\"\n helperText=\"This field is visible to your contacts\"\n value={formData.name}\n onChange={(e) => {\n setFormData({ name: e.target.value });\n }}\n />\n </div>\n <EmailMessageInput\n value={formData.email_message}\n onChange={(e) => {\n setFormData({ email_message: e.target.value });\n }}\n />\n <DripInput\n value={formData.drip_enabled}\n onChange={(val) => {\n setFormData({\n drip_enabled: val,\n recurring_frequency: !val ? \"never\" : formData.recurring_frequency,\n });\n }}\n />\n {formData.drip_enabled && (\n <DripFrequency\n value={formData.recurring_frequency}\n onChange={(val) => {\n setFormData({ recurring_frequency: val });\n }}\n />\n )}\n </form>\n );\n};\n\nPanel2Form.propTypes = {\n formData: PropTypes.shape({\n drip_enabled: PropTypes.bool,\n email_message: PropTypes.string,\n name: PropTypes.string,\n recurring_frequency: PropTypes.string,\n }),\n setFormData: PropTypes.func,\n};\n\nPanel2Form.defaultProps = {\n formData: {\n drip_enabled: 0,\n email_message: \"\",\n name: \"\",\n recurring_frequency: \"never\",\n },\n setFormData: null,\n};\n\nexport default Panel2Form;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as creators from \"../../actions/creators\";\nimport Button from \"../../../shared/v2/Button\";\nimport Panel2Form from \"./form\";\nimport placeholderImg from \"./placeholder.png\";\n\nconst mapStateToProps = (state) => ({\n formData: state.addMarketReport.form2,\n report: state.addMarketReport.savedMarketReport,\n});\n\nconst Panel2 = ({ formData, report, setForm2Data }) => {\n const openPreview = () => {\n window.open(report.preview_url, \"_blank\");\n };\n return (\n <div className=\"tw-flex tw-h-full tw-overflow-hidden\">\n <div className=\"tw-flex-1 tw-bg-gray-5 tw-rounded-[8px] tw-relative tw-flex tw-flex-col tw-items-center tw-justify-center tw-overflow-auto\">\n <img alt=\"Report Preview\" className=\"tw-block tw-mx-auto\" src={placeholderImg} />\n <h4 className=\"tw-my-[22px]\">Your report is ready!</h4>\n <Button size=\"medium\" schema=\"secondary\" onClick={openPreview}>\n Preview Report\n </Button>\n </div>\n <Panel2Form\n setFormData={setForm2Data}\n formData={formData}\n report={report}\n streetAddress={report?.street_address}\n />\n </div>\n );\n};\n\nPanel2.propTypes = {\n report: PropTypes.shape({\n preview_url: PropTypes.string,\n street_address: PropTypes.string,\n }),\n formData: PropTypes.shape({}),\n setForm2Data: PropTypes.func,\n};\n\nPanel2.defaultProps = {\n report: null,\n formData: {},\n setForm2Data: null,\n};\n\nexport default connect(mapStateToProps, creators)(Panel2);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { ArrowLeft } from \"@icons/index\";\nimport AutoHideMessage from \"./components/AutoHideMessage\";\nimport { useSetPAgent, useSetPerson, useLoadReport } from \"./hookHelpers\";\nimport Panel1 from \"./components/Panel1\";\nimport Panel2 from \"./components/Panel2\";\nimport * as creators from \"./actions/creators\";\nimport * as api from \"./actions/api\";\nimport \"./styles.scss\";\n\nconst mapStateToProps = (state) => ({\n tab: state.addMarketReport.tab,\n isFormInValid: Object.keys(state.addMarketReport.formErrors).some(\n (k) => state.addMarketReport.formErrors[k] === true,\n ),\n missingEmail: state.addMarketReport.person?.emails?.length <= 0,\n isLoading: state.addMarketReport.isLoading,\n isSaving: state.addMarketReport.isSaving,\n isSending: state.addMarketReport.isSending,\n formData: state.addMarketReport.form1,\n form2: state.addMarketReport.form2,\n savedMarketReport: state.addMarketReport.savedMarketReport,\n});\n\nconst MarketReportModal = ({\n isOpen,\n isSaving,\n isSending,\n close,\n tab,\n setTab,\n isFormInValid,\n missingEmail,\n isLoading,\n formData,\n setPerson,\n savedMarketReport,\n sendMarketReportFn,\n saveMarketReportFn,\n updateMarketReportFn,\n updateMarketReportDetailsFn,\n getMarketReportFn,\n form2,\n resetForms,\n setFormData,\n primaryAgent,\n person,\n id,\n}) => {\n useSetPAgent({ setFormData, primaryAgent });\n useSetPerson({ setPerson, person });\n useLoadReport({ id, getMarketReportFn, primaryAgent, tab });\n const savedMRdata = {\n ...formData,\n ...(formData?.home_value_adjustment !== undefined && {\n home_value_adjustment: formData.home_value_adjustment * (formData.isHomeAdjPositive ? 1 : -1),\n }),\n };\n const updatedMRdata = {\n ...formData,\n home_value_adjustment_as_percentage: savedMarketReport?.has_address\n ? formData?.home_value_adjustment_as_percentage\n : null,\n home_value_adjustment: savedMarketReport?.has_address\n ? formData?.home_value_adjustment * (formData?.isHomeAdjPositive ? 1 : -1)\n : null,\n id: savedMarketReport?.id,\n };\n return (\n <Modal\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[1224px] tw-max-h-[90vh] tw-w-full tw-h-[800px] tw-flex tw-flex-col tw-gap-[32px]\"\n show={isOpen}\n onHide={() => {\n resetForms();\n close();\n }}\n >\n <Modal.Header\n title={missingEmail ? \"Add an Email Address\" : `${id ? \"Edit\" : \"Create\"} a Market Report`}\n closeButton\n />\n\n <Modal.Body className=\"tw-flex-1 tw-flex tw-flex-col tw-overflow-hidden\">\n {isLoading && !missingEmail && (\n <FontAwesomeIcon icon={faSpinner} className=\"tw-h-[16px] tw-w-[16px] tw-mx-auto fa-spin\" />\n )}\n {!isLoading && !missingEmail && (\n <>\n <div className=\"tw-text-sm tw-flex tw-items-center\">\n <button\n type=\"button\"\n className={`tw-bg-transparent tw-border-0 ${tab === 0 ? \"tw-text-gray-75\" : \"tw-text-gray-50\"}`}\n onClick={() => setTab(0)}\n >\n Search Criteria\n </button>\n <i className=\"fa fa-chevron-right\" />\n <button\n type=\"button\"\n className={`tw-bg-transparent tw-border-0 ${tab === 1 ? \"tw-text-gray-75\" : \"tw-text-gray-50\"}`}\n onClick={() =>\n savedMarketReport !== null\n ? updateMarketReportFn(updatedMRdata, 1)\n : saveMarketReportFn(savedMRdata, 1)\n }\n disabled={isFormInValid || formData.searchLocation === null}\n >\n Preview and Send\n </button>\n </div>\n {tab === 0 ? <Panel1 /> : <Panel2 />}\n </>\n )}\n <AutoHideMessage />\n </Modal.Body>\n\n <Modal.Footer className={`tw-flex tw-justify-${tab === 0 ? \"end\" : \"between\"}`}>\n {tab === 0 ? (\n <Button\n data-cy=\"mr-next-btn\"\n size=\"medium\"\n schema=\"primary\"\n onClick={() =>\n savedMarketReport !== null\n ? updateMarketReportFn(updatedMRdata, 1)\n : saveMarketReportFn(savedMRdata, 1)\n }\n className=\"disabled:tw-cursor-not-allowed\"\n disabled={\n isFormInValid ||\n (!formData.searchLocation && !formData.geo_json && !formData.boundry_coordinates)\n }\n isLoading={isSaving}\n >\n Next\n </Button>\n ) : (\n <>\n <Button size=\"medium\" schema=\"tertiary\" onClick={() => setTab(0)}>\n <ArrowLeft className=\"tw-mr-[4px] tw-pt-[2px]\" />\n <span>Back</span>\n </Button>\n <div className=\"tw-flex tw-gap-[8px]\">\n <TextButton\n size=\"medium\"\n onClick={async () => {\n await updateMarketReportDetailsFn({\n id: savedMarketReport.id,\n name: form2.name || savedMarketReport.location,\n primary_agent_uuid: formData.primary_agent_uuid,\n home_value_adjustment_as_percentage: savedMarketReport.has_address\n ? formData.home_value_adjustment_as_percentage\n : null,\n home_value_adjustment: savedMarketReport.has_address\n ? formData.home_value_adjustment * (formData.isHomeAdjPositive ? 1 : -1)\n : null,\n report_type: form2.report_type,\n recurring_frequency: form2.recurring_frequency,\n });\n resetForms();\n close();\n }}\n isLoading={isSaving}\n >\n Save & Close\n </TextButton>\n <Button\n size=\"medium\"\n schema=\"primary\"\n onClick={async () => {\n await updateMarketReportDetailsFn({\n id: savedMarketReport.id,\n name: form2.name || savedMarketReport.location,\n primary_agent_uuid: formData.primary_agent_uuid,\n home_value_adjustment_as_percentage: savedMarketReport.has_address\n ? formData.home_value_adjustment_as_percentage\n : null,\n home_value_adjustment: savedMarketReport.has_address\n ? formData.home_value_adjustment * (formData.isHomeAdjPositive ? 1 : -1)\n : null,\n });\n await sendMarketReportFn(\n {\n id: savedMarketReport.id,\n primary_agent_uuid: formData.primary_agent_uuid,\n },\n {\n custom_message: form2.email_message,\n recurring_frequency: form2.recurring_frequency,\n },\n close,\n );\n resetForms();\n }}\n isLoading={isSending}\n >\n Send Now\n </Button>\n </div>\n </>\n )}\n </Modal.Footer>\n </Modal>\n );\n};\n\nMarketReportModal.propTypes = {\n isOpen: PropTypes.bool,\n close: PropTypes.func,\n isSaving: PropTypes.bool,\n isSending: PropTypes.bool,\n tab: PropTypes.number,\n setTab: PropTypes.func,\n isFormInValid: PropTypes.bool,\n missingEmail: PropTypes.bool,\n isLoading: PropTypes.bool,\n resetForms: PropTypes.func,\n setPerson: PropTypes.func,\n sendMarketReportFn: PropTypes.func,\n saveMarketReportFn: PropTypes.func,\n updateMarketReportFn: PropTypes.func,\n updateMarketReportDetailsFn: PropTypes.func,\n getMarketReportFn: PropTypes.func,\n savedMarketReport: PropTypes.shape({\n has_address: PropTypes.bool,\n id: PropTypes.string,\n primary_agent_uuid: PropTypes.string,\n location: PropTypes.string,\n }),\n formData: PropTypes.shape({\n street_address: PropTypes.string,\n searchLocation: PropTypes.shape({\n value: PropTypes.string,\n }),\n geo_json: PropTypes.shape({}),\n boundry_coordinates: PropTypes.shape({}),\n primary_agent_uuid: PropTypes.string,\n home_value_adjustment: PropTypes.number,\n home_value_adjustment_as_percentage: PropTypes.bool,\n isHomeAdjPositive: PropTypes.bool,\n }),\n form2: PropTypes.shape({\n email_message: PropTypes.string,\n name: PropTypes.string,\n recurring_frequency: PropTypes.string,\n report_type: PropTypes.string,\n }),\n setFormData: PropTypes.func,\n primaryAgent: PropTypes.number,\n\n person: PropTypes.shape({\n id: PropTypes.string,\n }),\n id: PropTypes.string,\n};\n\nMarketReportModal.defaultProps = {\n isOpen: false,\n close: () => {},\n isSaving: false,\n isSending: false,\n tab: 0,\n setTab: () => {},\n isFormInValid: false,\n isLoading: false,\n sendMarketReportFn: null,\n saveMarketReportFn: null,\n savedMarketReport: null,\n updateMarketReportFn: null,\n updateMarketReportDetailsFn: null,\n getMarketReportFn: null,\n missingEmail: false,\n formData: null,\n form2: null,\n resetForms: () => {},\n setPerson: null,\n setFormData: null,\n primaryAgent: null,\n person: null,\n id: null,\n};\n\nexport default connect(mapStateToProps, { ...creators, ...api })(MarketReportModal);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport StagesDropDown from \"../../shared/StagesDropDown/StagesDropDown\";\n\nconst Stage = ({ person }) => {\n const onUpdateStage = (stage) => {\n const param = {\n stage: stage.value,\n stage_type: stage.type,\n };\n window.App.leadUpdateChannel.perform(\"lead_update\", {\n id: person.person_lead_id,\n person_attributes: { ...param },\n });\n };\n return (\n <>\n <div className=\"tw-relative status-dd\">\n {person.person.type_name === \"lead\" ? (\n <StagesDropDown\n containerClassName=\"tw-justify-center\"\n optionClassName=\"tw-h-[240px] tw-overflow-auto\"\n selectedStage={person.person.stage}\n onUpdateStage={onUpdateStage}\n />\n ) : (\n <div\n className=\"tw-flex tw-justify-center tw-flex-row tw-flex-nowrap tw-grow tw-shrink-0 tw-items-center\n tw-text-center tw-align-middle tw-w-[180px] tw-h-[24px] tw-text-neutral-gray-30 tw-text-12px tw-leading-[20px]\n tw-font-normal\"\n >\n <Tooltip\n placement=\"bottom\"\n content=\"Stages are unavailable for this person type\"\n trigger=\"No Stage\"\n />\n </div>\n )}\n </div>\n </>\n );\n};\nStage.propTypes = {\n person: Proptypes.shape({\n person_lead_id: Proptypes.number,\n person: Proptypes.shape({ stage: Proptypes.string, type_name: Proptypes.string }),\n }),\n};\nStage.defaultProps = {\n person: null,\n};\n\nexport default Stage;\n","import React, { useMemo, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { isValid, parseISO } from \"date-fns\";\nimport { requestDataToSnakeCase } from \"@shared/v2/caseTransformingAxios\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PhoneSolidV6, UserPlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport SmsModalButton from \"../../SmsModal/components/SmsModalButton\";\nimport TaskFormLogAppointment from \"../../Tasks/components/TaskFormLogAppointment\";\nimport OtherInteract from \"../../People/components/OtherInteract\";\nimport LastInteractions from \"./LastInteractions\";\nimport NewTask from \"../../Tasks/components/NewTask\";\nimport AgentOrPondSelect from \"../../shared/AgentOrPondSelect\";\nimport AssignedPlansPreviewApp from \"../../AssignedPlans/startup/AssignedPlansPreviewApp\";\nimport MilestoneDate from \"./MilestoneDate\";\nimport HomeAppLink from \"../../HomeApp/components/HomeAppLink\";\nimport FavoritesOrViews from \"../../People/components/FavoritesOrViews\";\nimport AllListingAlertPreview from \"../../PersonDetail/components/listing_alerts/AllListingAlertPreview\";\nimport MarketReportPreview from \"../../MarketReports/MarketReportPreview\";\nimport Status from \"./Status\";\nimport TagTooltip from \"./TagTooltip\";\nimport CMALink from \"./CMALink\";\nimport EmailInteraction from \"./EmailInteraction\";\nimport Intent from \"./Intent\";\nimport Name from \"./Name\";\nimport Address from \"./Address\";\nimport AddMarketReportModal from \"../../AddMarketReportModal\";\nimport { deleteMarketReportApi } from \"../../shared/serviceHelpers\";\nimport Stage from \"./Stage\";\nimport { viewPhoneFromFlat } from \"../../shared/models/Communications/viewPhone\";\nimport { setCallParams as setCallParameters } from \"../../reducers/dialerReducer/dialerReducer\";\nimport PersonDetailsModal from \"../../Contacts/PersonDetailsModal\";\n\nconst isShort = (date) => {\n const parsedDate = parseISO(date || \"\");\n return isValid(parsedDate) && parsedDate.getFullYear() < 1;\n};\n\nconst personPrimaryPhone = (person) => {\n const phones = person.dialable_phone_numbers.map(viewPhoneFromFlat);\n return phones.find((phone) => phone.isPrimary) || phones[0];\n};\n\nconst mapStateToProps = (state) => ({\n messagingServiceUrl: state.leadIndex.messagingServiceUrl,\n people: state.leadIndex.people,\n currentUser: state.leadIndex.currentUser,\n account: state.leadIndex.account,\n googleCalendarClientId: state.leadIndex.googleCalendarClientId,\n googleCalendarApiKey: state.leadIndex.googleCalendarApiKey,\n accountMilestoneNames: state.leadIndex.accountMilestoneNames,\n platformAccounts: state.leadIndex.platformAccounts,\n autoPlansFeature: state.leadIndex.autoPlansFeature,\n hotLeadsFeature: state.leadIndex.hotLeadsFeature,\n enableLeadPond: state.leadIndex.enableLeadPond,\n idxDataUri: state.leadIndex.idxDataUri,\n idxDataToken: state.leadIndex.idxDataToken,\n from: state.leadIndex.from,\n featureFlags: state.layout.featureFlags,\n});\n\nconst LeadRows = ({\n setCallParams,\n messagingServiceUrl,\n people,\n currentUser,\n account,\n googleCalendarClientId,\n googleCalendarApiKey,\n accountMilestoneNames,\n platformAccounts,\n autoPlansFeature,\n hotLeadsFeature,\n enableLeadPond,\n idxDataUri,\n idxDataToken,\n from,\n featureFlags,\n}) => {\n const [editPersonId, setEditPersonId] = useState(null);\n const hasIdxInfo = (person) => {\n if (\n (person.idx_property_views && person.idx_property_views !== 0) ||\n (person.idx_favorites && person.idx_favorites !== 0)\n ) {\n return true;\n }\n return false;\n };\n\n const widths = {\n minWidth: \"210px\",\n maxWidth: \"210px\",\n };\n\n const lastVisit = (person) => {\n let lastvisit = \"—\";\n if (person.person.idx_last_visit) {\n lastvisit = person.idx_last_visit_time;\n } else if (person.source && person.source === \"Brivity IDX\") {\n lastvisit = person.last_idx_visit_created_at;\n } else {\n lastvisit = \"—\";\n }\n return lastvisit;\n };\n const Visits = (person) => {\n let idxvisit = \"—\";\n if (person.person.idx_visits && person.person.idx_visits !== 0) {\n idxvisit = person.person.idx_visits;\n } else if (person.source && person.source === \"Brivity IDX\") {\n idxvisit = \"1\";\n } else {\n idxvisit = \"—\";\n }\n return idxvisit;\n };\n\n const getCheckedCheckboxesFor = () => document.querySelectorAll(\"input.multi-select:checked\").length;\n\n const handleSelectRows = () => {\n const numberOfCheckedRows = getCheckedCheckboxesFor();\n if (numberOfCheckedRows === people.length) {\n // all on page\n document.getElementById(\"select-rows\").checked = true;\n document.getElementById(\"select-rows\").indeterminate = false;\n } else if (numberOfCheckedRows === 0) {\n // none selected\n document.getElementById(\"select-rows\").checked = false;\n document.getElementById(\"select-rows\").indeterminate = false;\n } else {\n // some are selected\n document.getElementById(\"select-rows\").checked = false;\n document.getElementById(\"select-rows\").indeterminate = true;\n }\n\n document.getElementById(\"is-all-selected\").value = false;\n\n const leadSelectedEvent = new Event(\"lead-row:selected\");\n window.dispatchEvent(leadSelectedEvent);\n };\n\n return (\n <tbody>\n {people.map((_person) => {\n const person = useMemo(\n () => ({\n ...requestDataToSnakeCase(_person),\n leadPond: _person.leadPond,\n primaryAgent: _person.primaryAgent,\n }),\n [_person],\n );\n const [showAddModal, setShowModal] = useState(false);\n const [editReportId, setEditId] = useState(false);\n const deleteMarketReport = async (id, primaryAgent) =>\n new Promise((resolve) =>\n deleteMarketReportApi({\n data: { id, primary_agent_uuid: primaryAgent },\n successCb: resolve,\n errorCb: () => resolve(false),\n }),\n );\n\n const setMarketModal = (open) => {\n setShowModal(open);\n setEditId(null);\n };\n const editMarketReport = (id) => {\n setShowModal(id !== null);\n setEditId(id);\n };\n const primaryPhone = personPrimaryPhone(person);\n\n return (\n <React.Fragment key={person.id}>\n <tr\n className=\"person partial\"\n data-login_user_id={person.person.login_user_id}\n data-type_name={person.person.type_name}\n data-slug={person.person.slug}\n data-full-name={from !== \"leads\" ? person.name_or_no_name : \"\"}\n data-fetch_results_count={from === \"leads\" ? person.fetch_results_count : \"\"}\n data-searched={from === \"leads\" && person.lead_last_search_at !== null ? true : \"\"}\n data-lead-id={person.person_lead_id}\n data-object-id={person.person_id}\n data-person-id={person.person_id}\n data-person-uuid={person.person.uuid}\n data-primary-agent={person.primary_agent_id}\n data-primary-email={from !== \"leads\" ? person.primary_email_address : \"\"}\n key={person.person.id}\n >\n <td className=\"checkbox-col fixed-col\">\n <div className=\"checkboxselect checkbox lead-checkbox\">\n {person.edit_permission && (\n <>\n <input\n type=\"checkbox\"\n name={person.multi_select_id}\n onChange={handleSelectRows}\n id={person.multi_select_id}\n value=\"1\"\n className=\"multi-select\"\n />\n <label\n aria-label={person.multi_select_id}\n htmlFor={person.multi_select_id}\n className=\"tw-pt-2px\"\n />\n </>\n )}\n </div>\n </td>\n <td className=\"name-search-result-count fixed-col\" aria-label=\"name\">\n <Name person={person} />\n </td>\n {from === \"leads\" ? (\n <td className=\"finish-lead\">\n {person.is_partial && (\n <IconButton schema=\"transparent\">\n <UserPlusSolidV6 size=\"l\" onClick={() => setEditPersonId(person.id)} />\n </IconButton>\n )}\n </td>\n ) : (\n <td className=\"display-in-leads\">\n <div className=\"display-in-lead\">\n <i\n aria-label=\"display in leads\"\n className={`fa ${person.person.is_lead ? \"fa-eye brivity-blue\" : \"fa-eye-slash\"}`}\n data-display-in-leads={person.person.is_lead !== undefined}\n />\n </div>\n </td>\n )}\n\n <td className=\"intent\" aria-label=\"intent\">\n <Intent person={person} />\n </td>\n\n <td className=\"tw-min-w-[150px] tw-w-[150px] status-header\" aria-label=\"status\">\n <Status person={person} />\n </td>\n\n <td className=\"tw-min-w-[150px] tw-w-[150px]\" aria-label=\"stage\">\n <Stage person={person} />\n </td>\n\n <td className=\"interaction-icon\" aria-label=\"email\">\n <EmailInteraction\n personDetails={person.person_smsbutton_serializable_hash}\n emailTemplates={person.email_templates}\n currentUserId={currentUser.id}\n person={person}\n emailDetails={person.email_details}\n unsubscribedMessageTypes={person.unsubscribed_message_types}\n />\n </td>\n\n <td className=\"interaction-icon\" aria-label=\"call\">\n <Tooltip\n placement=\"right\"\n content={person.primary_phone_number}\n trigger={\n <IconButton\n onClick={() =>\n setCallParams({ leadUuids: [person.lead_person.uuid], callSource: \"Lead Index\" })\n }\n disabled={!person.primary_phone_number}\n >\n <PhoneSolidV6 />\n </IconButton>\n }\n />\n </td>\n\n <td className=\"interaction-icon\" aria-label=\"send sms\">\n <SmsModalButton\n gabbiAi={featureFlags.gabbiAi}\n messagingServiceUrl={messagingServiceUrl}\n smsEnabled={\n person.primary_phone_number > \"\" && currentUser.managedPhoneNumber !== undefined\n }\n person={person.person_smsbutton_serializable_hash}\n phone={primaryPhone}\n />\n </td>\n\n <td className=\"interaction-icon\" aria-label=\"schedule appointment\">\n <Tooltip\n placement=\"right\"\n content=\"Schedule Appointment\"\n trigger={\n <TaskFormLogAppointment\n person={person.person}\n current_user={currentUser}\n account={account}\n interaction={person.appointment_interaction}\n googleCalendarClientId={googleCalendarClientId}\n googleCalendarApiKey={googleCalendarApiKey}\n />\n }\n />\n </td>\n\n <td className=\"interaction-icon\" aria-label=\"other\">\n <OtherInteract\n otherInteract={{\n person: person.person,\n personAvatar: person.personAvatar,\n personFirstName: person.person.first_name,\n personLastName: person.person.last_name,\n interaction: person.other_interaction,\n }}\n />\n </td>\n\n <td className=\"address\" style={widths} aria-label=\"address\">\n <Address\n streetAddress={person.display_a_street_address}\n cityState={person.display_city_state_and_zip}\n />\n </td>\n\n <td className=\"last-interaction text-center\" aria-label=\"last interaction\">\n <LastInteractions\n interactionTypeString={person.interaction_type_string}\n mostRecentInteractionTime={person.most_recent_interaction_time}\n />\n </td>\n\n <td className=\"next-due-tasks\" aria-label=\"next due task\">\n <NewTask\n account_uuid={account.uuid}\n accountMilestoneNames={accountMilestoneNames}\n user={currentUser}\n button_style=\"link\"\n task_for={person.task_for}\n next_task={person.next_task}\n taskable={person.taskable}\n />\n </td>\n\n <td className=\"primary_agent\" aria-label=\"primary agent\">\n <AgentOrPondSelect\n small\n max=\"full\"\n showSubTitle={false}\n nameClasses=\"tw-max-w-[180px] tw-text-[14px]\"\n enableLeadPonds={enableLeadPond}\n leadPond={person.leadPond}\n personId={person.person?.id}\n primaryAgent={person.primaryAgent}\n />\n </td>\n\n {autoPlansFeature && (\n <td className=\"action-plans text-center\">\n <AssignedPlansPreviewApp\n assignedPlans={{\n assignableId: person.person.uuid,\n assignableType: \"Person\",\n assignableName: person.full_name,\n assignedPlansPath: person.assigned_plans_path,\n autoPlansPath: person.auto_plans_path,\n assignedPlansState: person.assigned_plans_state,\n platformAccount: platformAccounts,\n }}\n />\n {person.assigned_plans_activity_date && (\n <h6 className=\"lower-row tw-pr-[10px]\">{person.assigned_plans_activity_date}</h6>\n )}\n </td>\n )}\n\n <td className=\"med-width-col\" aria-label=\"birthdate\">\n <MilestoneDate\n short={isShort(person.birthdate_milestone_date)}\n milestoneDate={person.birthdate_milestone_date}\n />\n </td>\n\n <td className=\"med-width-col\" aria-label=\"anniversary\">\n <MilestoneDate milestoneDate={person.anniversary_milestone_date} />\n </td>\n\n <td className=\"home-app-link text-center\" aria-label=\"home app link\">\n <HomeAppLink\n inviteSent={person.person.home_app_invite_sent}\n lastLogin={person.person.home_app_last_login}\n slug={person.person.slug}\n personId={person.id}\n emailActive={person.email_active}\n smsActive={person.sms_active}\n recipientFirstName={person.person.first_name}\n recipientEmailAddress={person.person.main_email}\n teamName={account.teamName}\n currentUserFullName={currentUser.fullName}\n />\n </td>\n\n {hotLeadsFeature && (\n <td className=\"stat\">\n <h6 className=\"bolder\">{person.person.hot_lead_score}</h6>\n </td>\n )}\n\n <td className=\"stat last-visit-col\">\n <h6 className=\"last-visit\">{lastVisit(person)}</h6>\n </td>\n\n <td className=\"stat loader\">\n <h6 className=\"visits \">{Visits(person)}</h6>\n <h6 className=\"lower-row\">\n <span>Visits</span>\n </h6>\n </td>\n\n <td\n className={`stat loader ${hasIdxInfo(person.person) && \"clickable\"}`}\n aria-label=\"idx views\"\n >\n <FavoritesOrViews\n count={person.person.idx_property_views}\n isFavorite={false}\n person={person.person}\n idxDataUri={idxDataUri}\n idxDataToken={idxDataToken}\n />\n </td>\n\n <td className={`barely-wider-stat loader ${hasIdxInfo(person.person) && \"clickable\"}`}>\n <h6 className=\"price\">\n {person.idx_avg_price && person.idx_avg_price !== 0\n ? person.number_to_currency_idx_avg_price\n : \"N/A\"}\n </h6>\n </td>\n\n <td\n className={`stat loader ${hasIdxInfo(person.person) && \"clickable\"}`}\n aria-label=\"idx favorites\"\n >\n <FavoritesOrViews\n count={person.person.idx_favorites}\n person={person.person}\n idxDataUri={idxDataUri}\n idxDataToken={idxDataToken}\n isFavorite\n />\n </td>\n\n <td className={`stat loader ${hasIdxInfo(person.person) && \"clickable\"}`}>\n <h6 className=\"avg-favorites\">\n {person.idx_average_price_favorited && person.idx_average_price_favorited !== 0\n ? person.number_to_currency_idx_average_price_favorited\n : \"N/A\"}\n </h6>\n </td>\n\n <td className=\"stat loader alerts\" aria-label=\"listing alerts\">\n <AllListingAlertPreview\n person={person.person}\n emailDetails={person.primary_email_address}\n geoCodeAccountAddress={account?.address?.geocodeString}\n />\n </td>\n\n <td className=\"stat med-width-col\">\n <h6>{person.last_sent_listing_alert}</h6>\n </td>\n\n <td className=\"stat med-width-col\">\n <h6>{person.last_opened_listing_alert}</h6>\n </td>\n\n <td className=\"stat market-reports med-width-col\" aria-label=\"market reports\">\n <MarketReportPreview\n person={person.person_object}\n person_status={person.person_status}\n person_address={person.display_a_street_address}\n person_lead_type={person.person_lead_type}\n person_avatar={person.person_avatar}\n editReportFn={editMarketReport}\n deleteReportFn={(id) => deleteMarketReport(id, person?.primaryAgent?.uuid)}\n openMarketReport={() => setMarketModal(true)}\n />\n </td>\n\n <td className=\"stat med-width-col\">\n <h6>{person.last_opened_market_report}</h6>\n </td>\n\n <td className=\"stat med-width-col\">\n <h6>{person.last_viewed_market_report}</h6>\n </td>\n\n <td className=\"source\">\n <h6>{person.source}</h6>\n <h6>{person.referrer}</h6>\n </td>\n\n <td className=\"submitted\">\n <h6>{person.submitted_date}</h6>\n <h6>{person.submitted_time}</h6>\n </td>\n\n {(from === \"collaborators\" || from === \"teams\") && (\n <td className=\"tw-min-w-[140px] tw-w-[140px]\">\n <h6 className=\"tw-ml-[30px] tw-justify-center\ttw-flex\">{person.transaction_role}</h6>\n </td>\n )}\n {from === \"teams\" && (\n <td className=\"tw-min-w-[140px] tw-w-[140px]\">\n <h6 className=\"tw-ml-[30px] tw-justify-center\ttw-flex\">{person.person.user_type}</h6>\n </td>\n )}\n <td className=\"icon\" aria-label=\"person\">\n <TagTooltip person={person} />\n </td>\n\n <td className=\"icon\" aria-label=\"cma link\">\n <CMALink person={person} setShowModal={() => setMarketModal(true)} />\n </td>\n </tr>\n {showAddModal && (\n <AddMarketReportModal\n person={{\n ...person,\n emails: person.email_details.map((e) => ({ category: e.category, address: e.value })),\n addresses: [person?.display_a_street_address],\n }}\n primaryAgent={person?.primaryAgent?.uuid}\n isOpen\n close={() => setMarketModal(false)}\n id={editReportId}\n />\n )}\n </React.Fragment>\n );\n })}\n <PersonDetailsModal\n show={Boolean(editPersonId)}\n personId={editPersonId}\n onClose={() => setEditPersonId(null)}\n />\n </tbody>\n );\n};\n\nLeadRows.propTypes = {\n setCallParams: Proptypes.func.isRequired,\n messagingServiceUrl: Proptypes.string.isRequired,\n people: Proptypes.arrayOf(\n Proptypes.shape({\n fullName: Proptypes.string,\n }),\n ),\n currentUser: Proptypes.shape({\n id: Proptypes.number,\n managedPhoneNumber: Proptypes.string,\n routingNumber: Proptypes.shape({ value: Proptypes.string }),\n fullName: Proptypes.string.isRequired,\n }),\n account: Proptypes.shape({\n uuid: Proptypes.string,\n address: Proptypes.shape({ geocodeString: Proptypes.string }),\n teamName: Proptypes.string.isRequired,\n fullName: Proptypes.string,\n }),\n googleCalendarClientId: Proptypes.string,\n googleCalendarApiKey: Proptypes.string,\n accountMilestoneNames: Proptypes.shape({\n Listing: Proptypes.arrayOf(Proptypes.string),\n Person: Proptypes.arrayOf(Proptypes.string),\n Project: Proptypes.arrayOf(Proptypes.string),\n }),\n platformAccounts: Proptypes.bool,\n autoPlansFeature: Proptypes.bool,\n hotLeadsFeature: Proptypes.bool,\n enableLeadPond: Proptypes.bool,\n idxDataUri: Proptypes.string,\n idxDataToken: Proptypes.string,\n from: Proptypes.string,\n featureFlags: Proptypes.shape().isRequired,\n};\n\nLeadRows.defaultProps = {\n people: [],\n currentUser: null,\n account: null,\n googleCalendarClientId: null,\n googleCalendarApiKey: null,\n accountMilestoneNames: null,\n platformAccounts: false,\n autoPlansFeature: false,\n hotLeadsFeature: false,\n enableLeadPond: false,\n idxDataUri: null,\n idxDataToken: null,\n from: null,\n};\n\nexport default connect(mapStateToProps, { setCallParams: setCallParameters })(LeadRows);\n","import React, { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport LeadHeaders from \"../components/LeadHeaders\";\nimport LeadRows from \"../components/LeadRows\";\nimport { setSnackbar } from \"../../reducers/snackbarReducer\";\n\nconst LeadIndex = () => {\n const dispatch = useDispatch();\n const from = useSelector((state) => state.leadIndex.from);\n\n useEffect(() => {\n const text = localStorage.getItem(\"successMsg\");\n if (text)\n dispatch(\n setSnackbar({\n closeOnTimeout: () => {\n dispatch(setSnackbar({ show: false }));\n localStorage.removeItem(\"successMsg\");\n },\n show: true,\n position: \"top\",\n schema: \"executed\",\n text,\n timeout: 5000,\n }),\n );\n }, []);\n\n return (\n <div id=\"content\" className=\"tw-flex tw-flex-col tw-h-full\">\n <div className=\"sticky-table tw-flex-1\">\n <table className={from === \"leads\" ? \"leads-table\" : \"all-people-table\"}>\n <LeadHeaders />\n <LeadRows />\n </table>\n </div>\n </div>\n );\n};\n\nexport default LeadIndex;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport {\n ArrowUpRightFromSquareSolidV6,\n EnvelopeRegularV6,\n MobileRegularV6,\n PhoneSolidV6,\n XmarkSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst BASE_STYLES =\n \"tw-bg-[#fafafa] tw-border-none tw-outline tw-outline-[1px] tw-outline-neutral-gray-10 tw-rounded-[4px] tw-px-[12px] tw-py-[8px] tw-flex tw-flex-col tw-items-stretch tw-gap-[8px]\";\nconst BUTTON_STYLES =\n \"hover:tw-outline-theme-primary focus:tw-outline-theme-primary active:tw-outline-theme-primary active:tw-outline-[2px]\";\nconst SELECTED_STYLES = \"!tw-outline-theme-primary !tw-outline-[2px]\";\n\nconst ContactCard = ({ contact, disabled, onSelect, onRemove, selected, showViewLink }) => {\n const fullName = useMemo(\n () => `${contact?.firstName || \"\"} ${contact?.lastName || \"\"}`.trim() || \"No Name\",\n [contact],\n );\n const Tag = onSelect ? \"button\" : \"div\";\n\n const content = (\n <Tag\n className={`${BASE_STYLES}${onSelect ? ` ${BUTTON_STYLES}` : \"\"}${selected ? ` ${SELECTED_STYLES}` : \"\"}`}\n onClick={disabled ? undefined : () => onSelect?.(contact)}\n >\n <div className=\"tw-w-full tw-flex tw-justify-between tw-gap-[8px]\">\n <div\n className={`${disabled ? \"tw-text-gray-30\" : \"\"} tw-flex tw-items-center tw-gap-[8px] tw-overflow-hidden`}\n >\n <Avatar alt={fullName} src={contact.avatarUrl} />\n <span className=\"tw-text-14d tw-whitespace-nowrap tw-text-ellipsis tw-overflow-hidden\">\n {fullName}\n </span>\n </div>\n <div className=\"tw-flex tw-gap-[4px]\">\n {showViewLink && (\n <TextLink\n href={`/people/${contact.slug}`}\n target=\"_blank\"\n className=\"tw-flex tw-items-center tw-gap-[4px]\"\n >\n View <ArrowUpRightFromSquareSolidV6 />\n </TextLink>\n )}\n {onRemove && (\n <IconButton className=\"tw-mr-[-6px]\" schema=\"transparent\" size=\"small\" onClick={onRemove}>\n <XmarkSolidV6 size=\"l\" className=\"tw-fill-[#999999]\" />\n </IconButton>\n )}\n </div>\n </div>\n {contact.phoneDetails\n .filter((phone) => phone.value)\n .map((phone) => (\n <div\n key={phone.id}\n className=\"tw-text-14d tw-text-gray-50 tw-flex tw-items-center tw-gap-[4px] tw-overflow-hidden\"\n >\n {phone.category === \"mobile\" ? (\n <MobileRegularV6 className=\"tw-fill-current\" />\n ) : (\n <PhoneSolidV6 className=\"tw-fill-current\" />\n )}\n <span className=\"tw-whitespace-nowrap tw-text-ellipsis tw-overflow-hidden\">\n {phone.friendlyPhone}\n </span>\n </div>\n ))}\n {contact.emailDetails.map((email) => (\n <div\n key={email.id}\n className=\"tw-text-14d tw-text-gray-50 tw-flex tw-items-center tw-gap-[4px] tw-overflow-hidden\"\n >\n <EnvelopeRegularV6 className=\"tw-fill-current\" />\n <span className=\"tw-whitespace-nowrap tw-text-ellipsis tw-overflow-hidden\">{email.value}</span>\n </div>\n ))}\n </Tag>\n );\n\n if (disabled) {\n return (\n <Tooltip\n placement=\"left\"\n innerClassName=\"tw-max-w-[200px]\"\n trigger={content}\n content=\"This lead cannot be merged with the lead you’ve selected because they are both associated with transactions.\"\n />\n );\n }\n\n return content;\n};\n\nContactCard.propTypes = {\n contact: PropTypes.shape().isRequired,\n disabled: PropTypes.bool,\n onSelect: PropTypes.func,\n onRemove: PropTypes.func,\n selected: PropTypes.bool,\n showViewLink: PropTypes.bool,\n};\n\nContactCard.defaultProps = {\n disabled: false,\n onSelect: null,\n onRemove: null,\n selected: false,\n showViewLink: false,\n};\n\nexport default ContactCard;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst ContactContainer = ({ className, title, children }) => (\n <div\n className={`tw-bg-white tw-border-solid tw-border-[1px] tw-border-neutral-gray-10 tw-rounded-[8px] tw-p-12px tw-flex-1 tw-flex tw-flex-col tw-gap-[12px] tw-overflow-hidden ${className}`}\n >\n <h4 className=\"tw-m-0 tw-text-14d tw-text-gray-50 tw-font-semibold\">{title}</h4>\n <div className=\"tw-flex tw-flex-col tw-gap-[12px] tw-overflow-auto tw-m-[-12px] tw-p-[12px]\">\n {children}\n </div>\n </div>\n);\n\nContactContainer.propTypes = {\n className: PropTypes.string,\n title: PropTypes.string,\n children: PropTypes.node.isRequired,\n};\n\nContactContainer.defaultProps = {\n className: \"\",\n title: \"\",\n};\n\nexport default ContactContainer;\n","/* eslint-disable no-param-reassign */\nimport { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { set, uniqBy } from \"lodash\";\n\nexport const initialState = {\n error: null,\n keepContact: null,\n loading: false,\n mergeContact: null,\n modalIsOpen: false,\n primaryContact: null,\n otherContact: null,\n potentialDuplicates: [],\n hasDuplicates: false,\n primaryContactSlug: null,\n otherContactSlug: null,\n page: 1,\n};\n\nconst getHasDuplicates = createAsyncThunk(\"contactMerge/getHasDuplicates\", (slug, thunkApi) =>\n caseTransformingAxios\n .get(`/api/v4/person/${slug}/detect_duplicates`)\n .then((res) => res.data)\n .catch(() => thunkApi.rejectWithValue(false)),\n);\n\nconst getPotentialDuplicates = createAsyncThunk(\n \"contactMerge/getPotentialDuplicates\",\n ({ slug = \"uuid\", uuid }, thunkApi) =>\n caseTransformingAxios\n .get(`/api/v4/person/${slug}/duplicates`, { params: { uuid } })\n .then((res) => res.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data)),\n);\n\nconst getContactsFromSlugs = createAsyncThunk(\"contactMerge/getContactsFromSlugs\", (_, thunkApi) => {\n const { primaryContactSlug, otherContactSlug } = thunkApi.getState().contactMerge;\n const primaryContactPromise = caseTransformingAxios\n .get(`/people/${primaryContactSlug}/mergable_details`, {\n signal: thunkApi.signal,\n })\n .then(({ data }) => data)\n .catch(console.error);\n let otherContactPromise = Promise.resolve(null);\n if (otherContactSlug) {\n otherContactPromise = caseTransformingAxios\n .get(`/people/${otherContactSlug}/mergable_details`, {\n signal: thunkApi.signal,\n })\n .then(({ data }) => data)\n .catch(console.error);\n }\n return Promise.all([primaryContactPromise, otherContactPromise]);\n});\n\nconst mergeContacts = createAsyncThunk(\"contactMerge/mergeContacts\", (data, thunkApi) => {\n const { mergeContact, primaryContact, otherContact } = thunkApi.getState().contactMerge;\n const other = mergeContact.uuid === primaryContact.uuid ? otherContact : primaryContact;\n\n const mergeContactWithOther = {\n ...mergeContact,\n addresses: uniqBy(\n [...(mergeContact.addresses || []), ...(other.addresses || [])].map((a) => ({\n ...a,\n addressableId: mergeContact.id,\n })),\n \"id\",\n ),\n emailDetails: uniqBy(\n [\n ...(mergeContact.emailDetails || []),\n ...(other.emailDetails || []).map((deet) => ({...deet, category: \"other\"})),\n ].map((e) => ({\n ...e,\n detailableId: mergeContact.id,\n })),\n \"id\",\n ),\n milestonableMilestones: uniqBy(\n [...(mergeContact.milestonableMilestones || []), ...(other.milestonableMilestones || [])].map((p) => ({\n ...p,\n milestonableId: mergeContact.id,\n })),\n \"newMilestoneId\",\n ),\n personDetails: uniqBy(\n [...(mergeContact.personDetails || []), ...(other.personDetails || [])].map((p) => ({\n ...p,\n detailableId: mergeContact.id,\n })),\n \"id\",\n ),\n phoneDetails: uniqBy(\n [\n ...(mergeContact.phoneDetails || []),\n ...(other.phoneDetails || []).map((deet) => ({...deet, category: \"other\"})),\n ].map((p) => ({\n ...p,\n detailableId: mergeContact.id,\n })),\n \"id\",\n ),\n socialMediaDetails: uniqBy(\n [...(mergeContact.socialMediaDetails || []), ...(other.socialMediaDetails || [])].map((p) => ({\n ...p,\n detailableId: mergeContact.id,\n })),\n \"id\",\n ),\n };\n\n return caseTransformingAxios\n .post(`/api/v4/merge/${mergeContact.uuid}/${other.uuid}`, mergeContactWithOther)\n .then(() => mergeContact)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nexport const contactMergeSlice = createSlice({\n name: \"contactMerge\",\n initialState,\n reducers: {\n setModalIsOpen: (state, action) => {\n state.modalIsOpen = action.payload;\n },\n setOtherContact: (state, action) => {\n state.otherContact = action.payload;\n },\n setKeepContact: (state, action) => {\n state.keepContact = action.payload;\n },\n updateKeepContact: (state, action) => {\n const { id, type, key, value } = action.payload;\n if (id) {\n set(\n state.keepContact[type].find((detail) => (detail.id || detail.newMilestoneId) === id),\n key,\n value,\n );\n } else {\n set(state.keepContact, key, value);\n }\n },\n setMergeContact: (state, action) => {\n state.mergeContact = action.payload;\n },\n setSlugsAndOpen: (state, action) => {\n state.primaryContactSlug = action.payload.primaryContactSlug;\n state.otherContactSlug = action.payload.otherContactSlug;\n state.modalIsOpen = true;\n },\n setPage: (state, action) => {\n state.page = action.payload;\n },\n },\n extraReducers: (builder) => {\n builder\n .addCase(getHasDuplicates.pending, (state) => {\n state.loading = true;\n })\n .addCase(getHasDuplicates.fulfilled, (state, action) => {\n state.loading = false;\n state.hasDuplicates = action.payload || false;\n })\n .addCase(getHasDuplicates.rejected, (state) => {\n state.loading = false;\n });\n\n builder\n .addCase(getPotentialDuplicates.pending, (state) => {\n state.loading = true;\n })\n .addCase(getPotentialDuplicates.fulfilled, (state, action) => {\n state.loading = false;\n state.primaryContact = action.payload.primaryContact;\n state.potentialDuplicates = action.payload.potentialDuplicates || [];\n state.primaryContactSlug = null;\n })\n .addCase(getPotentialDuplicates.rejected, (state) => {\n state.loading = false;\n });\n\n builder\n .addCase(mergeContacts.pending, (state) => {\n state.error = null;\n state.loading = true;\n })\n .addCase(mergeContacts.fulfilled, (state) => {\n state.loading = false;\n state.primaryContact = null;\n state.otherContact = null;\n })\n .addCase(mergeContacts.rejected, (state) => {\n state.error = \"Failed to merge contacts. Please try again later.\";\n state.loading = false;\n });\n\n builder\n .addCase(getContactsFromSlugs.pending, (state) => {\n state.loading = true;\n state.primaryContact = null;\n })\n .addCase(getContactsFromSlugs.fulfilled, (state, action) => {\n const [primaryContact, otherContact] = action.payload;\n state.loading = false;\n state.primaryContact = primaryContact;\n state.keepContact = primaryContact;\n state.otherContact = otherContact;\n if (otherContact) state.page = 2;\n state.primaryContactSlug = null;\n state.otherContactSlug = null;\n })\n .addCase(getContactsFromSlugs.rejected, (state) => {\n state.loading = false;\n });\n },\n});\n\nexport { getContactsFromSlugs, getHasDuplicates, getPotentialDuplicates, mergeContacts };\n\nexport const {\n setKeepContact,\n setModalIsOpen,\n setOtherContact,\n updateKeepContact,\n setMergeContact,\n setSlugsAndOpen,\n setPage,\n} = contactMergeSlice.actions;\n\nexport default contactMergeSlice.reducer;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport Alert from \"@shared/v2/Alert\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { MagnifyingGlassSolidV6 } from \"@shared/v2/Icomoon\";\nimport ContactCard from \"./ContactCard\";\nimport ContactContainer from \"./ContactContainer\";\nimport {\n useContactMergeOtherContact,\n useContactMergePotentialDuplicates,\n useContactMergePrimaryContact,\n} from \"../reducers/contactMergeReducer/selectors\";\nimport * as actions from \"../reducers/contactMergeReducer\";\nimport useQuickSearch from \"../Dashboard/services/useQuickSearch\";\n\nconst ChooseContact = () => {\n const dispatch = useDispatch();\n const potentialDuplicates = useContactMergePotentialDuplicates();\n const primaryContact = useContactMergePrimaryContact();\n const otherContact = useContactMergeOtherContact();\n const [search, setSearch] = useState(\"\");\n const [searchContact, setSearchContact] = useState(null);\n const { data, error, loading } = useQuickSearch({ model: \"Person\", search });\n const people = useMemo(\n () => data.filter((p) => !p.loginUserId && p.status !== \"trash\" && p.uuid !== primaryContact?.uuid),\n [data, primaryContact],\n );\n\n useEffect(() => {\n if (!searchContact) return () => {};\n const abortController = new AbortController();\n\n caseTransformingAxios\n .get(`/people/${searchContact.slug}/mergable_details`, {\n signal: abortController.signal,\n })\n .then(({ data: contact }) => dispatch(actions.setOtherContact(contact)))\n .catch(console.error);\n\n return () => abortController.abort();\n }, [searchContact]);\n\n const showSearchedContact = searchContact && otherContact && searchContact.slug === otherContact.slug;\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[24px] tw-overflow-hidden\">\n <p className=\"tw-m-0 tw-text-gray-50\">\n Select a second lead to initiate the merge process. Leads with an identical mobile phone number or\n email address to the lead on the left will be suggested for merging.\n </p>\n <div className=\"tw-flex tw-gap-[12px] tw-items-start tw-overflow-hidden\">\n <ContactContainer title=\"Merge this lead\">\n <ContactCard contact={primaryContact} />\n </ContactContainer>\n\n <ContactContainer className=\"tw-self-stretch\" title=\"With this lead\">\n <div className=\"tw-flex tw-flex-col\">\n <FieldLabel className=\"tw-uppercase !tw-text-11d !tw-mb-[4px] !tw-font-bold\" label=\"Search\" />\n {showSearchedContact && (\n <ContactCard\n contact={otherContact}\n showViewLink\n selected\n onRemove={() => {\n setSearchContact(null);\n dispatch(actions.setOtherContact(null));\n }}\n />\n )}\n {!showSearchedContact && (\n <Dropdown\n error={error}\n inputTrailing={<MagnifyingGlassSolidV6 size=\"l\" className=\"tw-text-gray-30\" />}\n isLoading={loading}\n isSearchable\n shouldFilterOptions={false}\n onChange={setSearchContact}\n onInputChange={setSearch}\n options={people}\n placeholder=\"By name, email, or phone\"\n />\n )}\n </div>\n\n <div className=\"tw-min-h-[1px] tw-bg-gray-10\" />\n\n <h5 className=\"tw-uppercase tw-text-11d tw-font-bold tw-text-neutral-gray-50 tw-mb-[-8px] tw-mt-0\">\n Suggested\n </h5>\n\n {potentialDuplicates.length === 0 && (\n <Alert\n variant=\"info\"\n text=\"It appears there are no duplicate people. Perhaps there is a ‘trash’ or ‘archived’ lead that has not been merged with the same contact information.\"\n />\n )}\n {potentialDuplicates.map((c) => (\n <ContactCard\n key={c.id}\n contact={c}\n showViewLink\n disabled={primaryContact.hasListings && c.hasListings}\n onSelect={(oc) => dispatch(actions.setOtherContact(oc))}\n selected={c.id === otherContact?.id}\n />\n ))}\n </ContactContainer>\n </div>\n </div>\n );\n};\n\nexport default ChooseContact;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ChevronLeftSolidV6 } from \"@shared/v2/Icomoon\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport { format, isValid, parseISO } from \"date-fns\";\n\nconst formatDate = (date) => {\n const parsedDate = parseISO(date || \"\");\n if (isValid(parsedDate)) {\n return format(parsedDate, `MM/dd${parsedDate.getFullYear() < 1 ? \"\" : \"/yyyy\"}`);\n }\n return date;\n};\n\nconst ContactDetail = ({ inherit, value, onClick, selected }) => {\n if (onClick) {\n return (\n <RadioButton\n label={value}\n value={value}\n checked={selected}\n labelClassName=\"tw-w-full tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis\"\n containerClassName={`tw-w-[218px] tw-p-[8px] tw-rounded-[8px] ${selected ? \"tw-bg-gray-5\" : \"\"}`}\n onChange={onClick}\n />\n );\n }\n return (\n <span\n className={`tw-w-[218px] tw-py-[8px] tw-pl-[32px] tw-overflow-hidden tw-whitespace-nowrap tw-text-ellipsis ${inherit ? \"tw-text-gray-30\" : \"tw-text-neutral-gray-75\"}`}\n title={value}\n >\n {value}\n </span>\n );\n};\n\nContactDetail.propTypes = {\n inherit: PropTypes.bool.isRequired,\n value: PropTypes.string.isRequired,\n onClick: PropTypes.func,\n selected: PropTypes.bool,\n};\n\nContactDetail.defaultProps = {\n onClick: null,\n selected: false,\n};\n\nconst ContactsDetailSelector = ({\n isDate,\n label,\n firstValue,\n secondValue,\n selectedValue,\n onSelect,\n showInherit,\n containerClassName,\n}) => {\n const sanitizedFirstValue = (firstValue ?? \"\").trim();\n const sanitizedSecondValue = (secondValue ?? \"\").trim();\n const sanitizedSelectedValue = (selectedValue ?? \"\").trim();\n const firstSelected = sanitizedSelectedValue === sanitizedFirstValue;\n const showArrow =\n showInherit &&\n ((firstSelected && sanitizedSecondValue && !sanitizedFirstValue) ||\n (!firstSelected && sanitizedFirstValue && !sanitizedSecondValue));\n const showRadio =\n sanitizedFirstValue && sanitizedSecondValue && sanitizedFirstValue !== sanitizedSecondValue;\n\n if (!sanitizedFirstValue && !sanitizedSecondValue) return null;\n\n const finalFirstValue =\n firstSelected && showInherit ? sanitizedFirstValue || sanitizedSecondValue : sanitizedFirstValue || \"—\";\n const finalSecondValue =\n firstSelected || !showInherit ? sanitizedSecondValue || \"—\" : sanitizedSecondValue || sanitizedFirstValue;\n\n return (\n <div\n className={`tw-flex tw-justify-between tw-items-center tw-gap-[12px] tw-overflow-hidden ${containerClassName}`}\n >\n <span className=\"tw-flex-1 tw-font-semibold\">{label}</span>\n <div className=\"tw-flex tw-items-center tw-gap-[10px]\">\n <ContactDetail\n value={isDate ? formatDate(finalFirstValue) : finalFirstValue}\n inherit={showInherit && firstSelected && !sanitizedFirstValue}\n onClick={showRadio ? () => onSelect(firstValue) : undefined}\n selected={firstSelected}\n />\n {showArrow ? (\n <ChevronLeftSolidV6\n className={`tw-fill-gray-30 tw-transition-transform ${firstSelected ? \"\" : \"tw-rotate-180\"}`}\n />\n ) : (\n <span className=\"tw-w-[12px]\" />\n )}\n <ContactDetail\n value={isDate ? formatDate(finalSecondValue) : finalSecondValue}\n inherit={showInherit && !firstSelected && !sanitizedSecondValue}\n onClick={showRadio ? () => onSelect(secondValue) : undefined}\n selected={!firstSelected}\n />\n </div>\n </div>\n );\n};\n\nContactsDetailSelector.propTypes = {\n isDate: PropTypes.bool,\n label: PropTypes.string.isRequired,\n firstValue: PropTypes.string,\n secondValue: PropTypes.string,\n selectedValue: PropTypes.string,\n onSelect: PropTypes.func.isRequired,\n showInherit: PropTypes.bool,\n containerClassName: PropTypes.string,\n};\n\nContactsDetailSelector.defaultProps = {\n isDate: false,\n firstValue: \"\",\n secondValue: \"\",\n selectedValue: \"\",\n showInherit: true,\n containerClassName: \"\",\n};\n\nexport default ContactsDetailSelector;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { useTheme } from \"../reducers/layoutReducer/selectors\";\n\nconst ContactSelectorButton = ({ contact, disabled, onSelect, selected }) => {\n const isPlaceTheme = useTheme().name === \"place-theme\";\n const fullName = useMemo(\n () => `${contact?.firstName || \"\"} ${contact?.lastName || \"\"}`.trim() || \"No Name\",\n [contact],\n );\n\n const content = (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <TextLink\n className=\"tw-uppercase !tw-text-11d tw-font-semibold\"\n href={`/people/${contact.slug}`}\n target=\"_blank\"\n >\n View Profile\n </TextLink>\n <button\n type=\"button\"\n disabled={disabled}\n className={`tw-group tw-w-[218px] tw-flex tw-justify-between tw-items-center tw-gap-[8px] tw-p-[8px] tw-rounded-[6px] tw-bg-white tw-border-none tw-text-neutral-gray-50 tw-text-12d tw-font-semibold tw-outline tw-outline-[1px] tw-outline-offset-0 active:tw-outline-theme-primary active:tw-outline-[2px] disabled:tw-border-neutral-gray-10 disabled:tw-bg-neutral-gray-2.5 ${\n selected\n ? \"tw-outline-theme-primary\"\n : `tw-outline-neutral-gray-10 tw-transition-all tw-duration-150 active:tw-duration-75 ${isPlaceTheme ? \"hover:tw-outline-semantic-blue-10 focus:tw-outline-semantic-blue-10\" : \"hover:tw-outline-brivity-blue-40 focus:tw-outline-brivity-blue-40\"}`\n }`}\n onClick={() => onSelect?.(contact)}\n >\n <div className=\"tw-flex tw-gap-[8px] tw-items-center tw-overflow-hidden\">\n <Avatar size=\"medium\" src={contact?.avatarUrl} alt={fullName} />\n <span\n className={`tw-transition-all tw-duration-150 group-active:tw-text-theme-primary-alternative ${isPlaceTheme ? \"\" : \"group-hover:tw-text-theme-primary group-focus:tw-text-theme-primary\"} ${selected ? \"tw-text-theme-primary-alternative\" : \"\"} tw-whitespace-nowrap tw-overflow-hidden tw-text-ellipsis`}\n >\n {fullName}\n </span>\n </div>\n <span className=\"tw-uppercase tw-pr-[8px]\">{selected ? \"Keep\" : \"Merge\"}</span>\n </button>\n </div>\n );\n\n if (disabled) {\n return (\n <Tooltip\n innerClassName=\"tw-max-w-[220px]\"\n trigger={content}\n content=\"This lead cannot be set as the primary lead because the other lead is associated with a transaction.\"\n />\n );\n }\n\n return content;\n};\n\nContactSelectorButton.propTypes = {\n contact: PropTypes.shape().isRequired,\n onSelect: PropTypes.func.isRequired,\n selected: PropTypes.bool.isRequired,\n};\n\nexport default ContactSelectorButton;\n","export const ADDRESS_PARTS = [\n {\n label: \"Street Address\",\n key: \"streetAddress\",\n },\n {\n label: \"City\",\n key: \"city\",\n },\n {\n label: \"State / Province\",\n key: \"locality\",\n },\n {\n label: \"Zip / Postal Code\",\n key: \"postalCode\",\n },\n];\n\nexport const GENERAL_DETAILS = [\n { label: \"First Name\", key: \"firstName\" },\n { label: \"Last Name\", key: \"lastName\" },\n { label: \"Person Type\", key: \"typeName\" },\n { label: \"Source\", key: \"sourceName\" },\n { label: \"Status\", key: \"status\" },\n { label: \"Intent\", key: \"leadType\" },\n];\n","import { useEffect, useMemo } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { setMergeContact } from \"../../reducers/contactMergeReducer\";\n\nconst { groupBy, uniq } = require(\"lodash\");\nconst {\n useContactMergePrimaryContact,\n useContactMergeOtherContact,\n useContactMergeKeepContact,\n} = require(\"../../reducers/contactMergeReducer/selectors\");\n\nconst groupDetailsByKey = (key, primaryContact, otherContact) => {\n const primaryDetails = groupBy(primaryContact, key);\n const otherDetails = groupBy(otherContact, key);\n const types = uniq([...Object.keys(primaryDetails), ...Object.keys(otherDetails)]);\n return [types, primaryDetails, otherDetails];\n};\n\nconst mergeMultiCategoryTypes = (types, typeKey, keepDetails, unselectedDetails) =>\n types.reduce((acc, type) => {\n const keep = (keepDetails || []).filter((d) => d[typeKey] === type);\n const other = (unselectedDetails || []).filter((d) => d[typeKey] === type);\n const main = keep.length > other.length ? keep : other;\n return [\n ...acc,\n ...main.map((m, i) =>\n Object.keys(m).reduce((a, k) => ({ ...a, [k]: keep[i]?.[k] || other[i]?.[k] }), {}),\n ),\n ];\n }, []);\n\nconst mergeSingleCategoryTypes = ({ types, typeKey, keepDetails, unselectedDetails, valueKey = \"value\" }) =>\n types.reduce((acc, type) => {\n const keep = keepDetails.find((d) => d[typeKey] === type);\n const other = unselectedDetails.find((d) => d[typeKey] === type);\n return [...acc, { ...(keep || other), [valueKey]: keep?.[valueKey] || other?.[valueKey] }];\n }, []);\n\nconst useMergeContact = () => {\n const dispatch = useDispatch();\n const primaryContact = useContactMergePrimaryContact();\n const otherContact = useContactMergeOtherContact();\n const keepContact = useContactMergeKeepContact();\n\n const [emailTypes, primaryEmails, otherEmails] = useMemo(\n () => groupDetailsByKey(\"category\", primaryContact.emailDetails, otherContact.emailDetails),\n [primaryContact.emailDetails, otherContact.emailDetails],\n );\n\n const [phoneTypes, primaryPhones, otherPhones] = useMemo(\n () => groupDetailsByKey(\"category\", primaryContact.phoneDetails, otherContact.phoneDetails),\n [primaryContact.phoneDetails, otherContact.phoneDetails],\n );\n\n const [addressTypes, primaryAddresses, otherAddresses] = useMemo(\n () => groupDetailsByKey(\"addressType\", primaryContact.addresses, otherContact.addresses),\n [primaryContact.addresses, otherContact.addresses],\n );\n\n const [personTypes, primaryPersonDetails, otherPersonDetails] = useMemo(\n () => groupDetailsByKey(\"name\", primaryContact.personDetails, otherContact.personDetails),\n [primaryContact.personDetails, otherContact.personDetails],\n );\n\n const [socialMediaTypes, primarySocialMediaDetails, otherSocialMediaDetails] = useMemo(\n () => groupDetailsByKey(\"name\", primaryContact.socialMediaDetails, otherContact.socialMediaDetails),\n [primaryContact.socialMediaDetails, otherContact.socialMediaDetails],\n );\n\n const [milestoneTypes, primaryMilestones, otherMilestones] = useMemo(\n () =>\n groupDetailsByKey(\"name\", primaryContact.milestonableMilestones, otherContact.milestonableMilestones),\n [primaryContact.milestonableMilestones, otherContact.milestonableMilestones],\n );\n\n useEffect(() => {\n const unselectedContact = keepContact.id === primaryContact.id ? otherContact : primaryContact;\n\n const mergeContact = {\n ...unselectedContact,\n ...keepContact,\n emailDetails: mergeMultiCategoryTypes(\n emailTypes,\n \"category\",\n keepContact.emailDetails,\n unselectedContact.emailDetails,\n ),\n phoneDetails: mergeMultiCategoryTypes(\n phoneTypes,\n \"category\",\n keepContact.phoneDetails,\n unselectedContact.phoneDetails,\n ),\n addresses: mergeMultiCategoryTypes(\n addressTypes,\n \"addressType\",\n keepContact.addresses,\n unselectedContact.addresses,\n ),\n personDetails: mergeSingleCategoryTypes({\n types: personTypes,\n typeKey: \"name\",\n keepDetails: keepContact.personDetails,\n unselectedDetails: unselectedContact.personDetails,\n }),\n socialMediaDetails: mergeSingleCategoryTypes({\n types: socialMediaTypes,\n typeKey: \"name\",\n keepDetails: keepContact.socialMediaDetails,\n unselectedDetails: unselectedContact.socialMediaDetails,\n }),\n milestonableMilestones: mergeSingleCategoryTypes({\n types: milestoneTypes,\n typeKey: \"name\",\n keepDetails: keepContact.milestonableMilestones,\n unselectedDetails: unselectedContact.milestonableMilestones,\n valueKey: \"date\",\n }),\n };\n dispatch(setMergeContact(mergeContact));\n }, [keepContact]);\n\n return {\n emailTypes,\n primaryEmails,\n otherEmails,\n phoneTypes,\n primaryPhones,\n otherPhones,\n addressTypes,\n primaryAddresses,\n otherAddresses,\n personTypes,\n primaryPersonDetails,\n otherPersonDetails,\n socialMediaTypes,\n primarySocialMediaDetails,\n otherSocialMediaDetails,\n milestoneTypes,\n primaryMilestones,\n otherMilestones,\n };\n};\n\nexport default useMergeContact;\n","import React, { Fragment } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { startCase } from \"lodash\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport DetailSelector from \"@shared/v2/DetailSelector\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { ChevronLeftSolidV6, CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport {\n useContactMergeKeepContact,\n useContactMergeOtherContact,\n useContactMergePrimaryContact,\n} from \"../reducers/contactMergeReducer/selectors\";\nimport ContactSelectorButton from \"./ContactSelectorButton\";\nimport { setKeepContact, updateKeepContact } from \"../reducers/contactMergeReducer\";\nimport { ADDRESS_PARTS, GENERAL_DETAILS } from \"./helpers/constants\";\nimport useMergeContact from \"./hooks/useMergeContact\";\n\nconst MergeContacts = () => {\n const dispatch = useDispatch();\n\n const primaryContact = useContactMergePrimaryContact();\n const otherContact = useContactMergeOtherContact() || {};\n const keepContact = useContactMergeKeepContact() || {};\n const onContactDetailChange = (args) => dispatch(updateKeepContact(args));\n\n const {\n emailTypes,\n primaryEmails,\n otherEmails,\n phoneTypes,\n primaryPhones,\n otherPhones,\n addressTypes,\n primaryAddresses,\n otherAddresses,\n personTypes,\n primaryPersonDetails,\n otherPersonDetails,\n socialMediaTypes,\n primarySocialMediaDetails,\n otherSocialMediaDetails,\n milestoneTypes,\n primaryMilestones,\n otherMilestones,\n } = useMergeContact();\n\n return (\n <div className=\"tw-overflow-auto tw-flex tw-flex-col tw-gap-[8px] tw-text-gray-50\">\n <p className=\"tw-m-0\">\n Select a primary lead. The other lead’s status will be set to Trash and their information will be\n transferred to the primary lead.\n </p>\n <Alert\n variant=\"warning\"\n title=\"Warning: This action cannot be undone.\"\n text={\n <div className=\"tw-flex tw-items-center tw-gap-[16px]\">\n <p className=\"tw-m-0\">\n Information transferred to the primary lead will no longer be available on the trashed\n lead's profile. Other info will remain on the trashed lead's profile and not transfer\n over, such as timeline & message history, Auto Plans & tasks, Market Reports and Listing Alerts.\n </p>\n <Button\n className=\"tw-whitespace-nowrap tw-mb-[24px]\"\n schema=\"semantic-yellow\"\n onClick={() => {\n window.open(\"https://www.brivityknowledge.com/docs/merge-contacts\");\n }}\n >\n Learn More\n </Button>\n </div>\n }\n />\n <div className=\"tw-flex tw-justify-between tw-items-end tw-gap-[12px] tw-mt-[12px]\">\n <span className=\"tw-text-gray-50 tw-font-semibold tw-mb-[16px]\">Primary Lead</span>\n <div className=\"tw-px-[4px] tw-flex tw-items-end tw-gap-[10px]\">\n <ContactSelectorButton\n disabled={otherContact.hasListings}\n contact={primaryContact}\n selected={keepContact.id === primaryContact.id}\n onSelect={(c) => dispatch(setKeepContact(c))}\n />\n <div className=\"tw-mb-[16px]\">\n <ChevronLeftSolidV6\n className={`tw-fill-neutral-gray-50 tw-transition-transform ${keepContact.id === primaryContact.id ? \"\" : \"tw-rotate-180\"}`}\n />\n </div>\n <ContactSelectorButton\n disabled={primaryContact.hasListings}\n contact={otherContact}\n selected={keepContact.id === otherContact.id}\n onSelect={(c) => dispatch(setKeepContact(c))}\n />\n </div>\n </div>\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <hr className=\"tw-w-full tw-mt-[4px] tw-mb-0\" />\n <div className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <h4 className=\"tw-m-0 tw-font-normal\">General</h4>\n {GENERAL_DETAILS.map(({ label, key }) => (\n <DetailSelector\n key={key}\n label={label}\n firstValue={primaryContact[key]}\n secondValue={otherContact[key]}\n selectedValue={keepContact[key]}\n onSelect={(value) => onContactDetailChange({ key, value })}\n />\n ))}\n </div>\n <hr className=\"tw-w-full tw-mt-[4px] tw-mb-0\" />\n <div className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <h4 className=\"tw-m-0 tw-font-normal\">\n Contact Info{\" \"}\n <Tooltip\n placement=\"right\"\n innerClassName=\"tw-max-w-[300px]\"\n trigger={<CircleInfoSolidV6 />}\n content={\n <div className=\"tw-flex tw-flex-col tw-gap-[12px] tw-text-left\">\n <span>\n All emails, phones, and addresses from both contacts will be saved to the primary contact\n after merging.\n </span>\n <span>\n If there is an overlap in Type, the unselected option will be converted to Other.\n </span>\n </div>\n }\n />\n </h4>\n <h5 className=\"tw-mb-0 tw-mt-[20px] tw-text-14d tw-normal-case tw-text-neutral-gray-75 tw-font-semibold\">\n Email\n </h5>\n {emailTypes.map((type) => {\n const primaryHasMore = (primaryEmails[type] || []).length > (otherEmails[type] || []).length;\n let mainList = [];\n\n if (type === \"other\") {\n mainList = [...(primaryEmails[type] || []), ...(otherEmails[type] || [])];\n } else {\n mainList = primaryHasMore ? primaryEmails[type] : otherEmails[type];\n }\n\n return mainList.map((main, i) => {\n const id =\n keepContact.id === primaryContact.id\n ? primaryEmails[type]?.[i]?.id\n : otherEmails[type]?.[i]?.id;\n\n let firstValue = primaryEmails[type]?.[i]?.value;\n let secondValue = otherEmails[type]?.[i]?.value;\n if (type === \"other\" && i >= (primaryEmails[type]?.length || 0)) {\n firstValue = \"\";\n secondValue = main.value;\n } else if (type === \"other\") {\n secondValue = \"\";\n }\n\n return (\n <DetailSelector\n key={main.id}\n label={startCase(type)}\n firstValue={firstValue}\n secondValue={secondValue}\n selectedValue={keepContact.emailDetails.find((e) => e.id === id)?.value}\n onSelect={(value) =>\n onContactDetailChange({\n id,\n type: \"emailDetails\",\n key: \"value\",\n value,\n })\n }\n />\n );\n });\n })}\n\n <h5 className=\"tw-mb-0 tw-mt-[16px] tw-text-14d tw-normal-case tw-text-neutral-gray-75 tw-font-semibold\">\n Phone\n </h5>\n {phoneTypes.map((type) => {\n const primaryHasMore = (primaryPhones[type] || []).length > (otherPhones[type] || []).length;\n let mainList = [];\n\n if (type === \"other\") {\n mainList = [...(primaryPhones[type] || []), ...(otherPhones[type] || [])];\n } else {\n mainList = primaryHasMore ? primaryPhones[type] : otherPhones[type];\n }\n\n return mainList.map((main, i) => {\n const id =\n keepContact.id === primaryContact.id\n ? primaryPhones[type]?.[i]?.id\n : otherPhones[type]?.[i]?.id;\n\n let firstValue = primaryPhones[type]?.[i]?.value;\n let secondValue = otherPhones[type]?.[i]?.value;\n if (type === \"other\" && i >= (primaryPhones[type]?.length || 0)) {\n firstValue = \"\";\n secondValue = main.value;\n } else if (type === \"other\") {\n secondValue = \"\";\n }\n\n return (\n <DetailSelector\n key={main.id}\n label={startCase(type)}\n firstValue={firstValue}\n secondValue={secondValue}\n selectedValue={keepContact.phoneDetails.find((p) => p.id === id)?.value}\n onSelect={(value) =>\n onContactDetailChange({\n id,\n type: \"phoneDetails\",\n key: \"value\",\n value,\n })\n }\n />\n );\n });\n })}\n\n {addressTypes.map((type) => {\n const primaryHasMore =\n (primaryAddresses[type] || []).length > (otherAddresses[type] || []).length;\n let mainList = [];\n\n if (type === \"other\") {\n mainList = [...(primaryAddresses[type] || []), ...(otherAddresses[type] || [])];\n } else {\n mainList = primaryHasMore ? primaryAddresses[type] : otherAddresses[type];\n }\n\n return mainList.map((main, i) => {\n const id =\n keepContact.id === primaryContact.id\n ? primaryAddresses[type]?.[i]?.id\n : otherAddresses[type]?.[i]?.id;\n\n let firstValue = primaryAddresses[type]?.[i];\n let secondValue = otherAddresses[type]?.[i];\n if (type === \"other\" && i >= (primaryAddresses[type]?.length || 0)) {\n firstValue = null;\n secondValue = main;\n } else if (type === \"other\") {\n secondValue = null;\n }\n return (\n <Fragment key={main.id}>\n <h5 className=\"tw-mb-0 tw-mt-[16px] tw-text-14d tw-normal-case tw-text-neutral-gray-75 tw-font-semibold\">\n {`${startCase(type)} Address`}\n </h5>\n\n {ADDRESS_PARTS.map(({ label, key }) => (\n <DetailSelector\n key={key}\n label={label}\n firstValue={firstValue?.[key]}\n secondValue={secondValue?.[key]}\n selectedValue={keepContact.addresses.find((a) => a.id === id)?.[key]}\n onSelect={(value) =>\n onContactDetailChange({\n id,\n type: \"addresses\",\n key,\n value,\n })\n }\n />\n ))}\n </Fragment>\n );\n });\n })}\n\n <span />\n <span />\n\n <DetailSelector\n label=\"Letter Salutation\"\n firstValue={primaryContact.letterSalutation}\n secondValue={otherContact.letterSalutation}\n selectedValue={keepContact.letterSalutation}\n onSelect={(value) => onContactDetailChange({ key: \"letterSalutation\", value })}\n />\n <DetailSelector\n label=\"Envelope Salutation\"\n firstValue={primaryContact.envelopeSalutation}\n secondValue={otherContact.envelopeSalutation}\n selectedValue={keepContact.envelopeSalutation}\n onSelect={(value) => onContactDetailChange({ key: \"envelopeSalutation\", value })}\n />\n </div>\n <hr className=\"tw-w-full tw-mt-[4px] tw-mb-0\" />\n <div className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <h4 className=\"tw-m-0 tw-font-normal\">Person Details</h4>\n <DetailSelector\n label=\"Description\"\n firstValue={primaryContact.description}\n secondValue={otherContact.description}\n selectedValue={keepContact.description}\n onSelect={(value) => onContactDetailChange({ key: \"description\", value })}\n />\n\n {personTypes.map((type) => {\n const primaryHasMore =\n (primaryPersonDetails[type] || []).length > (otherPersonDetails[type] || []).length;\n const mainList = primaryHasMore ? primaryPersonDetails[type] : otherPersonDetails[type];\n\n return mainList.map((main, i) => {\n const id =\n keepContact.id === primaryContact.id\n ? primaryPersonDetails[type]?.[i]?.id\n : otherPersonDetails[type]?.[i]?.id;\n return (\n <DetailSelector\n key={main.id}\n label={startCase(type)}\n firstValue={primaryPersonDetails[type]?.[i]?.value}\n secondValue={otherPersonDetails[type]?.[i]?.value}\n selectedValue={keepContact.personDetails.find((p) => p.id === id)?.value}\n onSelect={(value) =>\n onContactDetailChange({\n id,\n type: \"personDetails\",\n key: \"value\",\n value,\n })\n }\n />\n );\n });\n })}\n\n {milestoneTypes.map((type) => {\n const primaryHasMore =\n (primaryMilestones[type] || []).length > (otherMilestones[type] || []).length;\n const mainList = primaryHasMore ? primaryMilestones[type] : otherMilestones[type];\n\n return mainList.map((main, i) => {\n const id =\n keepContact.id === primaryContact.id\n ? primaryMilestones[type]?.[i]?.newMilestoneId\n : otherMilestones[type]?.[i]?.newMilestoneId;\n return (\n <DetailSelector\n key={main.id}\n isDate={type === \"birthdate\"}\n label={startCase(type)}\n firstValue={primaryMilestones[type]?.[i]?.date}\n secondValue={otherMilestones[type]?.[i]?.date}\n selectedValue={\n keepContact.milestonableMilestones.find((m) => m.newMilestoneId === id)?.date\n }\n onSelect={(value) =>\n onContactDetailChange({\n id,\n type: \"milestonableMilestones\",\n key: \"date\",\n value,\n })\n }\n />\n );\n });\n })}\n </div>\n <hr className=\"tw-w-full tw-mt-[4px] tw-mb-0\" />\n <div className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <h4 className=\"tw-m-0 tw-font-normal\">Social Media</h4>\n {socialMediaTypes.map((type) => {\n const primaryHasMore =\n (primarySocialMediaDetails[type] || []).length > (otherSocialMediaDetails[type] || []).length;\n const mainList = primaryHasMore ? primarySocialMediaDetails[type] : otherSocialMediaDetails[type];\n\n return mainList.map((main, i) => {\n const id =\n keepContact.id === primaryContact.id\n ? primarySocialMediaDetails[type]?.[i]?.id\n : otherSocialMediaDetails[type]?.[i]?.id;\n return (\n <DetailSelector\n key={main.id}\n label={startCase(type)}\n firstValue={primarySocialMediaDetails[type]?.[i]?.value}\n secondValue={otherSocialMediaDetails[type]?.[i]?.value}\n selectedValue={keepContact.socialMediaDetails.find((s) => s.id === id)?.value}\n onSelect={(value) =>\n onContactDetailChange({\n id,\n type: \"socialMediaDetails\",\n key: \"value\",\n value,\n })\n }\n />\n );\n });\n })}\n </div>\n </div>\n </div>\n );\n};\n\nexport default MergeContacts;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport Alert from \"@shared/v2/Alert\";\nimport ChooseContact from \"./ChooseContact\";\nimport MergeContacts from \"./MergeContacts\";\nimport {\n useContactMergeLoading,\n useContactMergeModalIsOpen,\n useContactMergeOtherContact,\n useContactMergePrimaryContact,\n useContactMergeError,\n useContactMergePrimaryContactSlug,\n useContactMergeOtherContactSlug,\n useContactMergePage,\n} from \"../reducers/contactMergeReducer/selectors\";\nimport * as actions from \"../reducers/contactMergeReducer\";\nimport Loading from \"../Goals/components/Loader\";\n\nconst getTitle = (page) => {\n if (page === 2) return \"Merge Lead\";\n return \"Select a Lead to Merge\";\n};\n\nconst ContactMergeModal = ({ push }) => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const modalIsOpen = useContactMergeModalIsOpen();\n const primaryContact = useContactMergePrimaryContact();\n const otherContact = useContactMergeOtherContact();\n const primaryContactSlug = useContactMergePrimaryContactSlug();\n const otherContactSlug = useContactMergeOtherContactSlug();\n const loading = useContactMergeLoading();\n const error = useContactMergeError();\n const page = useContactMergePage();\n\n useEffect(() => {\n if (modalIsOpen) {\n if (primaryContactSlug) {\n if (otherContactSlug) dispatch(actions.getContactsFromSlugs());\n else dispatch(actions.getPotentialDuplicates({ slug: primaryContactSlug }));\n } else if (!primaryContact && person.data) {\n dispatch(actions.getPotentialDuplicates({ slug: person.data.attributes.slug }));\n }\n }\n if (!modalIsOpen) dispatch(actions.setPage(1));\n }, [primaryContactSlug, otherContactSlug, primaryContact, modalIsOpen]);\n\n const onClose = () => dispatch(actions.setModalIsOpen(false));\n\n return (\n <Modal\n closeOnEscape={false}\n closeOnClickOutside={false}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[700px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col\"\n show={modalIsOpen}\n onHide={onClose}\n >\n <Modal.Header title={getTitle(page)} closeButton={!loading} />\n <Modal.Body className=\"tw-relative tw-flex tw-flex-col tw-overflow-hidden tw-mt-[12px] tw-mb-[32px]\">\n {loading && <Loading />}\n {primaryContact && page === 1 && <ChooseContact />}\n {primaryContact && otherContact && page === 2 && <MergeContacts />}\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n {error && <Alert variant=\"error\" text={error} />}\n <div className=\"tw-flex tw-justify-between tw-gap-[8px]\">\n <Button\n size=\"medium\"\n schema=\"tertiary\"\n onClick={page <= 1 ? onClose : () => dispatch(actions.setPage(1))}\n disabled={loading}\n >\n {page > 1 ? \"Back\" : \"Cancel\"}\n </Button>\n <Button\n size=\"medium\"\n schema=\"primary\"\n onClick={\n page <= 1\n ? () => {\n dispatch(\n actions.setKeepContact(otherContact.hasListings ? otherContact : primaryContact),\n );\n dispatch(actions.setPage(2));\n }\n : () =>\n dispatch(actions.mergeContacts()).then(({ meta, payload: mergeContact }) => {\n if (meta.requestStatus === \"fulfilled\") {\n onClose();\n if (primaryContact.slug !== mergeContact.slug && push) {\n push(`/people/${mergeContact.slug}`);\n } else {\n window.location.reload();\n }\n }\n })\n }\n disabled={page === 1 ? !otherContact : false}\n isLoading={loading}\n >\n {page === 2 ? \"Merge\" : \"Next\"}\n </Button>\n </div>\n </Modal.Footer>\n </Modal>\n );\n};\n\nContactMergeModal.propTypes = {\n push: PropTypes.func,\n};\n\nContactMergeModal.defaultProps = {\n push: undefined,\n};\n\nexport default ContactMergeModal;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport ContactMergeModal from \"./ContactMergeModal\";\nimport { setSlugsAndOpen } from \"../reducers/contactMergeReducer\";\n\nconst LeadIndexButton = () => {\n const dispatch = useDispatch();\n const [checkedPeople, setCheckedPeople] = useState([]);\n const disabled =\n checkedPeople.length > 2 ||\n checkedPeople.some((el) => el.dataset.login_user_id || el.dataset.type_name !== \"lead\");\n\n useEffect(() => {\n const onChange = (e) => {\n if (\n e.target.classList.contains(\"multi-select\") ||\n e.target.id === \"select-all\" ||\n e.target.id === \"select-page\"\n ) {\n setTimeout(() => {\n const people = Array.from(document.querySelectorAll(\".multi-select\"))\n .filter((el) => el.checked)\n .map((el) => el.closest(\"tr\"));\n setCheckedPeople(people);\n }, 0);\n }\n };\n document.body.addEventListener(\"change\", onChange);\n document.body.addEventListener(\"click\", onChange);\n return () => {\n document.body.removeEventListener(\"change\", onChange);\n document.body.removeEventListener(\"click\", onChange);\n };\n }, []);\n\n const button = (\n <button\n type=\"button\"\n disabled={disabled}\n className=\"tw-w-full tw-bg-white hover:tw-bg-gray-5 tw-text-gray-50 tw-text-left tw-border-0 tw-px-[10px] tw-py-[8px] disabled:tw-bg-gray-10 disabled:tw-text-gray-30\"\n onClick={() => {\n const [primaryContactSlug, otherContactSlug = null] = checkedPeople.map((el) => el.dataset.slug);\n dispatch(setSlugsAndOpen({ primaryContactSlug, otherContactSlug }));\n }}\n >\n Merge Leads\n </button>\n );\n\n return (\n <>\n <li className=\"divider\" />\n {disabled && checkedPeople.length < 3 ? (\n <Tooltip trigger={button} content=\"The selected contacts are not mergeable\" placement=\"left\">\n {button}\n </Tooltip>\n ) : (\n button\n )}\n <ContactMergeModal />\n </>\n );\n};\n\nexport default LeadIndexButton;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport LeadIndexButton from \"./LeadIndexButton\";\n\nconst LeadIndexButtonApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n <Provider store={store}>\n <LeadIndexButton />\n </Provider>\n );\n};\n\nexport default LeadIndexButtonApp;\n","import axios from \"axios\";\n\nconst saveLeadRoutingUsers = (model) => {\n const params = new URLSearchParams();\n Object.keys(model).forEach((k) => {\n params.append(k, model[k]);\n });\n params.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n params.append(\"inline_api\", true);\n return axios.post(\"/lead_rule_users\", params);\n};\n\nexport default saveLeadRoutingUsers;\n","/* eslint-disable import/prefer-default-export */\n/* eslint-disable no-restricted-syntax */\n/* eslint-disable no-await-in-loop */\nimport saveLeadRoutingUsers from \"../helpers/services\";\nimport { tryCatchHandlr } from \"../../shared/Utilities\";\nimport { setSaving, setSaved, setSaveError } from \"./creators\";\n\nexport const saveForm =\n ({ leadRuleId, tab, selectedAgents, selectedPond }) =>\n (dispatch) => {\n dispatch(setSaving());\n const onSuccess = () => {\n dispatch(setSaved());\n };\n const onFailure = (error) => dispatch(setSaveError({ error }));\n const model = { \"lead_rule_user[lead_rule_id]\": leadRuleId };\n\n if (tab === \"agents\") {\n const makeCall = async () => {\n for (const agent of selectedAgents) {\n model[\"lead_rule_user[user_id]\"] = agent.value;\n const [, err] = await tryCatchHandlr(saveLeadRoutingUsers(model));\n if (err) {\n onFailure();\n }\n }\n onSuccess();\n };\n makeCall();\n } else {\n model[\"lead_rule_user[lead_pond_id]\"] = selectedPond.value;\n saveLeadRoutingUsers(model).then(onSuccess).catch(onFailure);\n }\n };\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as actions from \"../actions/creators\";\n\nimport Checkbox from \"../../shared/v2/Checkbox\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nconst CustomOption = ({ componentProps, data, children }) => (\n /* eslint-disable react/jsx-props-no-spreading */\n <Dropdown.Option {...componentProps} preserveStyle className=\"tw-flex tw-overflow-hidden\">\n <Checkbox\n id={`checkbox-${data.value}`}\n name={`checkbox-${data.value}`}\n value={data.value}\n checked={componentProps.isSelected}\n disabled={componentProps.isDisabled}\n readOnly\n />\n <img src={data?.avatar} alt=\"Avatar\" className=\"tw-h-[26px] tw-w-[26px] tw-mx-[12px]\" />{\" \"}\n <span className=\"tw-flex-1\">{children}</span>\n </Dropdown.Option>\n);\n\nCustomOption.propTypes = {\n componentProps: Proptypes.shape({ isSelected: Proptypes.bool, isDisabled: Proptypes.bool }),\n data: Proptypes.shape({ value: Proptypes.string, avatar: Proptypes.string }),\n children: Proptypes.arrayOf(Proptypes.shape({})),\n};\n\nCustomOption.defaultProps = {\n componentProps: null,\n data: null,\n children: null,\n};\n\nconst mapStateToProps = (state) => ({\n availableAgents: state.leadRouting.availableAgents.filter(\n (a) => state.leadRouting.unavailableAgents.indexOf(a.value) < 0,\n ),\n selectedAgents: state.leadRouting.selectedAgents,\n});\n\nconst AgentSelector = ({ selectAgents, selectedAgents, availableAgents }) => (\n <div data-cy=\"new_lead_rule_user\">\n <Dropdown\n placeholder=\"Select Agents\"\n value={selectedAgents}\n onChange={selectAgents}\n isMulti\n isSearchable\n multiShouldRenderBelowSelect={false}\n options={availableAgents}\n closeMenuOnSelect={false}\n hideSelectedOptions={false}\n blurInputOnSelect={false}\n components={{ Option: CustomOption }}\n />\n </div>\n);\n\nexport default connect(mapStateToProps, actions)(AgentSelector);\n\nAgentSelector.propTypes = {\n selectAgents: Proptypes.func,\n selectedAgents: Proptypes.arrayOf(Proptypes.shape({})),\n availableAgents: Proptypes.arrayOf(Proptypes.shape({})),\n};\n\nAgentSelector.defaultProps = {\n selectAgents: null,\n selectedAgents: null,\n availableAgents: null,\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as actions from \"../actions/creators\";\n\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nconst CustomOption = ({ componentProps, data, children }) => (\n /* eslint-disable react/jsx-props-no-spreading */\n <Dropdown.Option {...componentProps} preserveStyle className=\"tw-flex tw-overflow-hidden\">\n <img src={data?.avatar} alt=\"Avatar\" className=\"tw-h-[26px] tw-w-[26px] tw-mr-[12px]\" />{\" \"}\n <span className=\"tw-flex-1\">{children}</span>\n </Dropdown.Option>\n);\n\nCustomOption.propTypes = {\n componentProps: Proptypes.shape({ isSelected: Proptypes.bool, isDisabled: Proptypes.bool }),\n data: Proptypes.shape({ value: Proptypes.string, avatar: Proptypes.string }),\n children: Proptypes.arrayOf(Proptypes.shape({})),\n};\n\nCustomOption.defaultProps = {\n componentProps: null,\n data: null,\n children: null,\n};\n\nconst mapStateToProps = (state) => ({\n availablePonds: state.leadRouting.availablePonds.filter(\n (a) => state.leadRouting.unavailablePonds?.indexOf(a.value) < 0,\n ),\n selectedPond: state.leadRouting.selectedPond,\n});\n\nconst PondSelector = ({ selectPond, selectedPond, availablePonds }) => (\n <Dropdown\n placeholder=\"Select Pond\"\n value={selectedPond}\n onChange={selectPond}\n isSearchable\n options={availablePonds}\n components={{ Option: CustomOption }}\n />\n);\n\nexport default connect(mapStateToProps, actions)(PondSelector);\n\nPondSelector.propTypes = {\n selectPond: Proptypes.func,\n selectedPond: Proptypes.arrayOf(Proptypes.shape({})),\n availablePonds: Proptypes.arrayOf(Proptypes.shape({})),\n};\n\nPondSelector.defaultProps = {\n selectPond: null,\n selectedPond: null,\n availablePonds: null,\n};\n","/* eslint-disable consistent-return */\nimport { useEffect } from \"react\";\n\nconst useConnectWindowCallback = ({ setModalData, showModal }) =>\n useEffect(() => {\n if (typeof window !== \"undefined\") {\n window.App.openLeadRulesModal = ({ leadRuleId, unavailableAgents, unavailablePonds }) => {\n setModalData({ leadRuleId, unavailableAgents, unavailablePonds });\n showModal(true);\n };\n return () => {\n delete window.App.openLeadRulesModal;\n };\n }\n }, [setModalData, showModal]);\nexport default useConnectWindowCallback;\n","import React, { useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as actions from \"../actions/creators\";\nimport * as thunks from \"../actions/thunks\";\n\nimport Modal from \"../../shared/v2/Modal\";\nimport Button from \"../../shared/v2/Button\";\nimport RadioButton from \"../../shared/v2/RadioButton\";\n\nimport AgentSelector from \"./AgentSelector\";\nimport PondSelector from \"./PondSelector\";\n\nimport useConnectWindowCallback from \"../helpers/hooks\";\n\nconst mapStateToProps = (state) => ({\n tab: state.leadRouting.tab,\n show: state.leadRouting.show,\n leadRuleId: state.leadRouting.leadRuleId,\n selectedAgents: state.leadRouting.selectedAgents,\n selectedPond: state.leadRouting.selectedPond,\n saving: state.leadRouting.isSaving,\n saved: state.leadRouting.isSaved,\n});\n\nconst AGENT_TAB = \"agents\";\n\nconst TargetSelector = ({\n tab,\n show,\n leadRuleId,\n selectedAgents,\n selectedPond,\n saveForm,\n saving,\n saved,\n setModalData,\n showModal,\n selectTab,\n reset,\n}) => {\n useConnectWindowCallback({ setModalData, showModal });\n\n const canSave = (tab === AGENT_TAB && selectedAgents?.length) || selectedPond;\n useEffect(() => {\n if (saved) {\n window.location.reload();\n reset();\n }\n }, [saved]);\n return (\n <Modal\n show={show}\n onHide={reset}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[598px]\"\n >\n <Modal.Header title=\"Add Agent\" closeButton />\n <div className=\"tw-h-[1px] tw-bg-gray-15 tw-my-[24px]\" />\n <div className=\"tw-flex tw-space-x-[32px] tw-mb-[8px]\">\n <RadioButton\n value={AGENT_TAB}\n label=\"Agent\"\n checked={tab === AGENT_TAB}\n onClick={() => selectTab(AGENT_TAB)}\n />\n <RadioButton\n value=\"pond\"\n label=\"Lead Pond\"\n checked={tab !== AGENT_TAB}\n onClick={() => selectTab(\"pond\")}\n />\n </div>\n {tab === AGENT_TAB ? <AgentSelector /> : <PondSelector />}\n <div className=\"tw-flex tw-mt-[60px]\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={reset}>\n Cancel\n </Button>\n <div className=\"tw-flex-1\" />\n <Button\n disabled={!canSave}\n size=\"medium\"\n schema=\"primary\"\n onClick={() => saveForm({ leadRuleId, tab, selectedAgents, selectedPond })}\n >\n {saving && <i className=\"fa fa-pulse fa-spinner\" />}\n {!saving && !saved && \"Save\"}\n </Button>\n {saving}\n </div>\n </Modal>\n );\n};\n\nexport default connect(mapStateToProps, { ...actions, ...thunks })(TargetSelector);\n\nTargetSelector.propTypes = {\n tab: Proptypes.string,\n show: Proptypes.bool,\n leadRuleId: Proptypes.number,\n selectedAgents: Proptypes.arrayOf(Proptypes.shape({})),\n selectedPond: Proptypes.shape({}),\n saveForm: Proptypes.func,\n saving: Proptypes.bool,\n saved: Proptypes.bool,\n setModalData: Proptypes.func,\n showModal: Proptypes.func,\n selectTab: Proptypes.func,\n reset: Proptypes.func,\n};\n\nTargetSelector.defaultProps = {\n tab: null,\n show: false,\n leadRuleId: null,\n selectedAgents: null,\n selectedPond: null,\n saveForm: null,\n saving: null,\n saved: false,\n setModalData: null,\n showModal: null,\n selectTab: null,\n reset: null,\n};\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\n\nconst MarketReportPresenceSelect = ({\n previousSelectedReportPresence,\n setIsLastMarketReportDropdownDisabled,\n}) => {\n function uncheckInput(inputId) {\n document.getElementById(inputId).checked = false;\n }\n\n useEffect(() => {\n if (previousSelectedReportPresence === \"true\") {\n document.getElementById(\"leads_filter_selected_market_reports_filters_true\").checked = true;\n } else if (previousSelectedReportPresence === \"false\") {\n document.getElementById(\"leads_filter_selected_market_reports_filters_false\").checked = true;\n setIsLastMarketReportDropdownDisabled(true);\n }\n }, []);\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[4px] tw-mb-[10px]\">\n <FieldLabel htmlFor=\"leads_filter_selected_market_reports_filters_false\" label=\"Market Reports\" />\n <div className=\"tw-flex tw-flex-wrap tw-gap-[4px]\">\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"false\"\n name=\"leads_filter[selected_market_reports_filters][]\"\n id=\"leads_filter_selected_market_reports_filters_false\"\n />\n {/* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions,jsx-a11y/click-events-have-key-events */}\n <label\n className=\"danger-label\"\n htmlFor=\"leads_filter_selected_market_reports_filters_false\"\n onClick={() => {\n uncheckInput(\"leads_filter_selected_market_reports_filters_true\");\n setIsLastMarketReportDropdownDisabled((isDisabled) => !isDisabled);\n }}\n >\n None Created\n </label>\n <input\n className=\"filter-checkbox\"\n type=\"checkbox\"\n value=\"true\"\n name=\"leads_filter[selected_market_reports_filters][]\"\n id=\"leads_filter_selected_market_reports_filters_true\"\n />\n {/* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions,jsx-a11y/click-events-have-key-events */}\n <label\n className=\"info-label\"\n htmlFor=\"leads_filter_selected_market_reports_filters_true\"\n onClick={() => {\n uncheckInput(\"leads_filter_selected_market_reports_filters_false\");\n setIsLastMarketReportDropdownDisabled(false);\n }}\n >\n Has Reports\n </label>\n </div>\n </div>\n );\n};\n\nMarketReportPresenceSelect.propTypes = {\n previousSelectedReportPresence: PropTypes.string.isRequired,\n setIsLastMarketReportDropdownDisabled: PropTypes.func.isRequired,\n};\n\nexport default MarketReportPresenceSelect;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\n\nconst LastViewedMarketReportSelect = ({\n isDisabled,\n lastViewedMarketReportRangeOptions,\n previousSelectedRange,\n}) => {\n const [selectedOption, setSelectedOption] = useState(\n lastViewedMarketReportRangeOptions.find((o) => o.value === previousSelectedRange) || null,\n );\n\n useEffect(() => {\n if (isDisabled === true) setSelectedOption(null);\n }, [isDisabled]);\n\n return (\n <Dropdown\n label=\"Last Market Report View\"\n id=\"last_viewed_market_report_filter\"\n name=\"leads_filter[selected_last_viewed_market_report_filter][]\"\n options={lastViewedMarketReportRangeOptions}\n placeholder=\"Select...\"\n isClearable={false}\n onChange={setSelectedOption}\n isDisabled={isDisabled}\n value={selectedOption}\n menuShouldComeToFront\n />\n );\n};\n\nLastViewedMarketReportSelect.propTypes = {\n isDisabled: PropTypes.bool.isRequired,\n lastViewedMarketReportRangeOptions: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n previousSelectedRange: PropTypes.string.isRequired,\n};\n\nexport default LastViewedMarketReportSelect;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport MarketReportPresenceSelect from \"./MarketReportPresenceSelect\";\nimport LastViewedMarketReportSelect from \"./LastViewedMarketReportSelect\";\n\nconst MarketReportFilters = ({\n lastViewedMarketReportRangeOptions,\n previousSelectedReportPresence,\n previousSelectedRange,\n}) => {\n const [isLastMarketReportDropdownDisabled, setIsLastMarketReportDropdownDisabled] = useState(false);\n\n return (\n <>\n <MarketReportPresenceSelect\n previousSelectedReportPresence={previousSelectedReportPresence}\n setIsLastMarketReportDropdownDisabled={setIsLastMarketReportDropdownDisabled}\n />\n <LastViewedMarketReportSelect\n isDisabled={isLastMarketReportDropdownDisabled}\n lastViewedMarketReportRangeOptions={lastViewedMarketReportRangeOptions}\n previousSelectedRange={previousSelectedRange}\n />\n <hr />\n </>\n );\n};\n\nMarketReportFilters.propTypes = {\n lastViewedMarketReportRangeOptions: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n previousSelectedReportPresence: PropTypes.string.isRequired,\n previousSelectedRange: PropTypes.string.isRequired,\n};\n\nexport default MarketReportFilters;\n","import React, { Component } from 'react';\nimport axios from 'axios';\n\nimport ListingAlertForm from '../../PersonDetail/components/listing_alerts/ListingAlert';\nimport { FloatingForm } from '@shared/v2/Modal';\n\nclass MassSendListingAlerts extends Component {\n state = {\n mlsIds: [],\n selectedIds: [],\n showModal: false,\n validIds: [],\n blueRoofError: false\n }\n\n getValidLeads = () => {\n const path = \"/bulk_listing_alerts/valid_leads\"\n let ids = Brivity.PeoplePage.grid().multiSelect().getSelectedObjectIds()\n\n axios.get(path, { params: { people_ids: ids }})\n .then(res => {\n this.setState({\n validIds: res.data.with_email,\n selectedIds: ids,\n mlsIds: res.data.mls_list,\n showModal: true,\n blueRoofError: false\n })\n })\n .catch((error) => { this.setState({ blueRoofError: true, showModal: true })})\n }\n\n closeListingAlertModal = () => {\n this.setState({ showModal: false })\n }\n\n handleClick = () => {\n this.getValidLeads()\n }\n\n handleFormSubmit = (params, callback) => {\n if (this.state.validIds.length > 0) {\n params[\"valid_ids\"] = this.state.validIds;\n }\n\n const options = {\n headers: {\n \"X-CSRF-Token\": ReactOnRails.authenticityToken(),\n \"Content-Type\": \"application/json\",\n \"Accept\": \"application/json\"\n }\n };\n\n axios.post(\"/bulk_listing_alerts/bulk_create_alerts\", params, options)\n .then(res => {\n this.setState({ showModal: false }, () => { callback(res) })\n })\n .catch(err => {\n callback(err)\n })\n }\n\n showModal = () => {\n const { mlsIds, selectedIds, validIds } = this.state\n const { geoCodeAccountAddress } = this.props\n const title = \"Mass Create Listing Alerts\";\n\n if (this.state.blueRoofError) {\n return (\n <FloatingForm\n title={title}\n show\n onCancel={this.closeListingAlertModal}\n primaryOption=\"OK\"\n onPrimary={this.closeListingAlertModal}\n >\n <div>There is an issue with Mass Create Alerts. Please contact support via chat, or call 855-427-4848.</div>\n </FloatingForm>\n )\n }\n\n return (\n <ListingAlertForm\n person={{ id: this.state.validIds[0]}}\n closeListingAlertModal={this.closeListingAlertModal}\n mlsIds={mlsIds}\n geoCodeAccountAddress={geoCodeAccountAddress}\n type=\"new\"\n handleFormSubmit={(params, callback)=>this.handleFormSubmit(params, callback)}\n validIds={validIds.length}\n selectedIds={selectedIds.length}\n submitButton=\"SAVE & SEND\"\n title={title}\n />\n )\n }\n\n render() {\n return(\n <div>\n <div\n onClick={this.handleClick}\n role=\"button\"\n >\n Listing Alert\n </div>\n { this.state.showModal && this.showModal() }\n </div>\n )\n }\n}\n\nexport default MassSendListingAlerts;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport { caseTransformingAxios as axios } from \"@shared/v2/caseTransformingAxios\";\nimport { CircleExclamationRegularV6 } from \"@icons/index\";\nimport FieldSelect from \"@shared/UtilsV1/FieldSelect\";\n\nfunction MassUpdateStageModal({ stageOptions, candidateStageOptions }) {\n const [showModal, setshowModal] = useState(false);\n const [stage, setstage] = useState({ label: \"New lead\", value: \"New lead\", stage_type: \"lead\" });\n const [validLeads, setvalidLeads] = useState([]);\n const [saving, setSaving] = useState(false);\n\n const getValidLeads = () => {\n const path = \"/api/v3/leads/valid_leads\";\n const ids = Brivity.PeoplePage.grid().multiSelect().getSelectedObjectIds();\n\n axios.get(path, { params: { people_ids: ids } }).then((res) => {\n setvalidLeads(res.data.leads);\n });\n };\n\n const openModal = (e) => {\n e.preventDefault();\n setshowModal(true);\n setstage({ label: \"New lead\", value: \"New lead\", stage_type: \"lead\" });\n getValidLeads();\n };\n\n const closeModal = () => {\n setshowModal(false);\n };\n\n const massUpdateStage = () => {\n setSaving(true);\n axios\n .put(\"/api/v3/leads/bulk_update\", {\n lead_ids: validLeads,\n stage: stage.value,\n stage_type: stage.stage_type,\n authenticity_token: window.ReactOnRails.authenticityToken(),\n })\n .then(() => {\n window.location.reload();\n });\n };\n\n const renderModal = () => {\n const dropdownStageOptions = stageOptions.map((str) => ({\n label: str,\n value: str,\n stage_type: \"lead\",\n }));\n const dropdownCandidateStageOptions = candidateStageOptions.map((str) => ({\n label: `${str} `,\n value: str,\n stage_type: \"candidate\",\n }));\n // pushed \"Lead Stages\" and \"Candidate Stages\" at first place of array to display as header in dropdown option\n dropdownStageOptions.unshift({\n label: \"Lead Stages\",\n value: \"Lead Stages\",\n header: \"Lead Stages\",\n });\n dropdownCandidateStageOptions.unshift({\n label: \"Candidate/Recruit Stages\",\n value: \"Candidate/Recruit Stages\",\n header: \"Candidate/Recruit Stages\",\n });\n const numContacts = Brivity.PeoplePage.grid().multiSelect().getSelectedObjectIds().length;\n const leadsInContacts =\n validLeads.length < numContacts ? `${validLeads.length} of ${numContacts}` : numContacts;\n const showInfoMessage = validLeads.length < numContacts;\n return (\n showModal && (\n <Modal\n id=\"mass-update-stage-modal\"\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n show={showModal}\n onHide={closeModal}\n >\n <Modal.Header\n title={`Change Stage for ${leadsInContacts} contacts`}\n className=\"tw-mb-40px\"\n closeButton\n />\n <Modal.Body>\n {showInfoMessage && (\n <div>\n <div className=\"tw-py-12px tw-px-16px tw-rounded-8px tw-text-semantic-yellow-120 tw-bg-semantic-yellow-5 tw-flex tw-space-x-16px tw-items-center tw-mb-20\">\n <div className=\"tw-text-semantic-yellow-120\">\n <CircleExclamationRegularV6 size=\"xl\" />\n </div>\n <div>\n <p className=\"tw-text-14d tw-text-semantic-yellow-120 tw-font-semibold tw-mb-[5px]\">\n Some contacts cannot have their stages changed.\n </p>\n <p className=\"tw-text-14d tw-text-semantic-yellow-120 tw-mb-[5px]\">\n You are only able to set a stage for leads. Some of the selected contacts are not able\n to have their stages updated.\n </p>\n </div>\n </div>\n </div>\n )}\n\n {validLeads.length > 0 && (\n <div>\n <div className=\"tw-mb-4\">\n What stage would you like to change these {leadsInContacts} contacts to?{\" \"}\n <span className=\"tw-text-[#F2714D]\">*</span>\n </div>\n <div>\n <FieldSelect\n fieldSelect\n defaultValue=\"New lead\"\n options={[...dropdownStageOptions, ...dropdownCandidateStageOptions]}\n onChange={(option) =>\n setstage({ label: option.label, value: option.value, stage_type: option.stage_type })\n }\n value={stage.value}\n />\n </div>\n </div>\n )}\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-flex-row tw-justify-between tw-mt-[40px]\">\n <Button\n schema=\"tertiary\"\n size=\"medium\"\n data-cy=\"mass-update-stage-modal-cancel-button\"\n onClick={closeModal}\n >\n CANCEL\n </Button>\n\n {validLeads.length > 0 && (\n <Button\n schema=\"primary\"\n size=\"medium\"\n data-cy=\"mass-update-stage-modal-change-stage-button\"\n onClick={massUpdateStage}\n disabled={saving}\n >\n {saving && <i className=\"fa fa-pulse fa-spinner tw-pr-[4px]\" />}\n CHANGE STAGE\n </Button>\n )}\n </Modal.Footer>\n </Modal>\n )\n );\n };\n\n return (\n <div>\n <div\n onClick={openModal}\n role=\"button\"\n tabIndex={-1}\n onKeyDown={(e) => {\n if (e.key !== \"Tab\") e.preventDefault();\n if ([\"Enter\", \" \"].includes(e.key)) openModal();\n }}\n >\n Change Stage\n </div>\n {renderModal()}\n </div>\n );\n}\n\nconst selectOptionsPropTypes = PropTypes.arrayOf(PropTypes.string);\n\nMassUpdateStageModal.propTypes = {\n stageOptions: selectOptionsPropTypes,\n candidateStageOptions: selectOptionsPropTypes,\n};\n\nMassUpdateStageModal.defaultProps = {\n stageOptions: [],\n candidateStageOptions: [],\n};\n\nexport default MassUpdateStageModal;\n","import React from \"react\";\nimport capitalize from \"capitalize\";\nimport { Row, Col } from \"../../shared/v1\";\n\nclass Milestone extends React.Component {\n render() {\n const { milestone, showEditMilestoneModal, showDeleteMilestoneModal, milestonableMilestonesUsageCounts } =\n this.props;\n const usage_count = milestonableMilestonesUsageCounts[milestone.name] || 0;\n const name =\n milestone.name &&\n milestone.name\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n\n return (\n <Row className=\"milestone-table-row\">\n {milestone.milestonable_type == \"Listing\" && (\n <Col size={2} className=\"milestone-table-text-align-left\">\n {milestone.visible ? (\n <i className=\"fa fa-eye brivity-blue\" />\n ) : (\n <i className=\"fa fa-eye-slash gray\" />\n )}\n </Col>\n )}\n <Col size={6}>{name}</Col>\n <Col size={2} className=\"milestone-table-text-align-center\">\n {usage_count}\n </Col>\n <Col size={2}>\n {milestone.default && (\n <div className=\"gray disabled-cursor inline-item pseudo-link tw-float-right\">\n <i className=\"fa fa-pencil p-r-7\" />\n <i className=\"fa fa-times\" />\n </div>\n )}\n {!milestone.default && (\n <div className=\"brand-primary inline-item pseudo-link tw-float-right\">\n <i className=\"fa fa-pencil p-r-7\" onClick={() => showEditMilestoneModal(milestone)} />\n <i className=\"fa fa-times\" onClick={() => showDeleteMilestoneModal(milestone)} />\n </div>\n )}\n </Col>\n </Row>\n );\n }\n}\nexport default Milestone;\n","import React from \"react\";\nimport { Modal, CancelButton, DeleteButton } from \"../../shared/v1\";\nimport Error from \"../../shared/Error\";\n\nconst DeleteMilestoneModal = (props) => {\n const {\n isDeleteMilestoneModalOpen,\n isDeletingMilestone,\n closeDeleteMilestoneModal,\n deleteMilestone,\n milestoneToDelete,\n hasError,\n errorMessage,\n milestonePath,\n } = props;\n\n return (\n <Modal show={isDeleteMilestoneModalOpen} onHide={() => closeDeleteMilestoneModal()}>\n <Modal.Header closeButton>\n <Modal.Title>\n <span className=\"tw-text-brand-danger\">Do you really want to delete this custom date?</span>\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n {hasError && <Error errorMessage={errorMessage} />}\n\n <p>You can only delete a custom date if it isn’t in use.</p>\n <div className=\"p-t-20\">\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={() => closeDeleteMilestoneModal()} />\n <DeleteButton\n className=\"tw-float-right\"\n onClick={() => deleteMilestone(`/new_milestones/${milestoneToDelete.id}`)}\n disabled={isDeletingMilestone}\n />\n </div>\n </Modal.Body>\n </Modal>\n );\n};\n\nexport default DeleteMilestoneModal;\n","import React from \"react\";\nimport { Button, Radio, FormGroup, Col, Row, Input, CancelButton } from \"../../shared/v1\";\nimport Error from \"../../shared/Error\";\nimport capitalize from \"capitalize\";\nimport \"./Milestones.scss\";\n\nclass MilestonesForm extends React.Component {\n milestoneFormPath = () => {\n const { milestonesCreatePath, milestonesUpdatePath } = this.props;\n return milestonesCreatePath || milestonesUpdatePath;\n };\n\n render() {\n const {\n onCloseAction,\n onFormChange,\n onSubmitAction,\n isSubmitting,\n hasError,\n errorMessage,\n milestonesUpdatePath,\n projectsEnabled,\n } = this.props;\n const milestoneForm = this.props.milestoneForm || {};\n const name =\n milestoneForm.name &&\n milestoneForm.name\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n const enabled = projectsEnabled;\n\n return (\n <div className=\"milestones-index\">\n {hasError && <Error errorMessage={errorMessage} />}\n\n <p className=\"form-description\">\n You can add a new custom date and assign it to people, transactions or projects. These custom dates\n will appear on detail pages as well as email and text placeholders.\n </p>\n\n <FormGroup horizontal>\n <Col size={12}>\n <label>Date Name</label>\n <Input\n size=\"small\"\n autoFocus\n name=\"name\"\n onChange={(e) => onFormChange(e.target.name, e.target.value)}\n onKeyDown={(e) => e.keyCode == 13 && onSubmitAction(this.milestoneFormPath(), milestoneForm)}\n value={name || \"\"}\n />\n </Col>\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <Row>\n <Col size={12}>\n <label>Type</label>\n </Col>\n </Row>\n <Row>\n <Col size={3}>\n <Radio\n name=\"milestonable_type\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value=\"Person\"\n inline={true}\n checked={milestoneForm.milestonable_type === \"Person\"}\n onChange={(e) => onFormChange(\"milestonable_type\", \"Person\")}\n >\n <div className=\"milestone-form-radio-text\">Person</div>\n </Radio>\n </Col>\n <Col size={3}>\n <Radio\n name=\"milestonable_type\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value=\"Listing\"\n inline={true}\n checked={milestoneForm.milestonable_type === \"Listing\"}\n onChange={(e) => onFormChange(\"milestonable_type\", \"Listing\")}\n >\n <div className=\"milestone-form-radio-text\">Transaction</div>\n </Radio>\n </Col>\n {projectsEnabled && (\n <Col size={3}>\n <Radio\n name=\"milestonable_type\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value=\"Project\"\n inline={true}\n checked={milestoneForm.milestonable_type === \"Project\"}\n onChange={(e) => onFormChange(\"milestonable_type\", \"Project\")}\n >\n <div className=\"milestone-form-radio-text\">Project</div>\n </Radio>\n </Col>\n )}\n </Row>\n </Col>\n </FormGroup>\n\n <FormGroup horizontal>\n <Col size={12}>\n <Row>\n <Col size={12}>\n <label>Include time?</label>\n </Col>\n </Row>\n <Row>\n <Col size={3}>\n <Radio\n name=\"include_time\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value={true}\n inline={true}\n checked={milestoneForm.include_time}\n onChange={(e) => onFormChange(\"include_time\", true)}\n >\n <div className=\"milestone-form-radio-text\">Yes</div>\n </Radio>\n </Col>\n <Col size={3}>\n <Radio\n name=\"include_time\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value={false}\n inline={true}\n checked={!milestoneForm.include_time}\n onChange={(e) => onFormChange(\"include_time\", false)}\n >\n <div className=\"milestone-form-radio-text\">No</div>\n </Radio>\n </Col>\n </Row>\n </Col>\n </FormGroup>\n\n {milestoneForm.milestonable_type == \"Listing\" && (\n <FormGroup horizontal>\n <Col size={12}>\n <Row>\n <Col size={12}>\n <label>Visible on the client portal?</label>\n </Col>\n </Row>\n <Row>\n <Col size={3}>\n <Radio\n name=\"visible\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value={true}\n inline={true}\n checked={milestoneForm.visible}\n onChange={(e) => onFormChange(\"visible\", true)}\n >\n <div className=\"milestone-form-radio-text\">Yes</div>\n </Radio>\n </Col>\n <Col size={3}>\n <Radio\n name=\"visible\"\n className=\"m-r-10\"\n labelClassName=\"tw-text-[14px] tw-text-gray-base\"\n value={false}\n inline={true}\n checked={!milestoneForm.visible}\n onChange={(e) => onFormChange(\"visible\", false)}\n >\n <div className=\"milestone-form-radio-text\">No</div>\n </Radio>\n </Col>\n </Row>\n </Col>\n </FormGroup>\n )}\n\n <FormGroup className=\"m-t-30 milestones-modal-buttons\" horizontal>\n <Col size={12}>\n <CancelButton size=\"small\" className=\"modal-cancel\" onClick={() => onCloseAction()} />\n <Button\n size=\"small\"\n variant=\"info\"\n className=\"tw-float-right\"\n disabled={isSubmitting}\n onClick={() => onSubmitAction(this.milestoneFormPath(), milestoneForm)}\n >\n Save\n </Button>\n </Col>\n </FormGroup>\n </div>\n );\n }\n}\n\nexport default MilestonesForm;\n","import React from \"react\";\nimport { Button, Row, Col } from \"../../shared/v1\";\nimport Milestone from \"./Milestone\";\nimport {\n renderNewMilestoneModal,\n renderEditMilestoneModal,\n renderDeleteMilestoneModal,\n} from \"./ModalHelpers\";\nimport \"./Milestones.scss\";\n\nclass Milestones extends React.Component {\n isMilestoneModalOpen() {\n const { isNewMilestoneModalOpen, isEditMilestoneModalOpen, isDeleteMilestoneModalOpen } = this.props;\n return isNewMilestoneModalOpen || isEditMilestoneModalOpen || isDeleteMilestoneModalOpen;\n }\n\n renderModal() {\n const { isNewMilestoneModalOpen, isEditMilestoneModalOpen, isDeleteMilestoneModalOpen } = this.props;\n\n if (isNewMilestoneModalOpen) {\n return renderNewMilestoneModal(this.props);\n } else if (isDeleteMilestoneModalOpen) {\n return renderDeleteMilestoneModal(this.props);\n } else if (isEditMilestoneModalOpen) {\n return renderEditMilestoneModal(this.props);\n } else {\n return null;\n }\n }\n\n render() {\n const {\n milestones,\n showNewMilestoneModal,\n showEditMilestoneModal,\n showDeleteMilestoneModal,\n projectsEnabled,\n } = this.props;\n const person_milestones =\n milestones && milestones.filter((milestone) => milestone.milestonable_type == \"Person\");\n const listing_milestones =\n milestones && milestones.filter((milestone) => milestone.milestonable_type == \"Listing\");\n const project_milestones =\n milestones && milestones.filter((milestone) => milestone.milestonable_type == \"Project\");\n\n return (\n <div className=\"brivity-panel milestones-index\">\n <div className=\"brivity-panel-header\">\n Dates & Milestones\n <div className=\"action new-custom-date-action\">\n <Button variant=\"info\" invert className=\"tw-float-right\" onClick={() => showNewMilestoneModal()}>\n <i className=\"fa fa-plus-square tw-text-brand-info custom-date-new-icon tw-align-text-top tw-pr-[0.1em]\" />\n New Custom Date\n </Button>\n </div>\n </div>\n <div className=\"brivity-panel-body standard-table\">\n <Row className=\"table-header-row\">\n <Col size={4} className=\"milestone-table-header-row p-r-50\">\n <Row>\n <Col size={6}>Person Dates</Col>\n <Col size={2} className=\"milestone-table-text-align-center\">\n Usage\n </Col>\n <Col size={2} className=\"milestone-table-text-align-right\">\n Edit\n </Col>\n </Row>\n </Col>\n <Col size={4} className=\"milestone-table-header-row p-r-50\">\n <Row>\n <Col size={2} className=\"milestone-table-text-align-left\">\n Visible\n </Col>\n <Col size={6}>Transaction Dates</Col>\n <Col size={2} className=\"milestone-table-text-align-center\">\n Usage\n </Col>\n <Col size={2} className=\"milestone-table-text-align-right\">\n Edit\n </Col>\n </Row>\n </Col>\n {projectsEnabled && (\n <Col size={4} className=\"milestone-table-header-row\">\n <Row>\n <Col size={6}>Project Dates</Col>\n <Col size={2} className=\"milestone-table-text-align-center\">\n Usage\n </Col>\n <Col size={2} className=\"milestone-table-text-align-right\">\n Edit\n </Col>\n </Row>\n </Col>\n )}\n </Row>\n <Row>\n <Col size={4} className=\"p-r-50\">\n {person_milestones &&\n person_milestones.map((milestone) => (\n <Milestone\n key={milestone.id}\n milestone={milestone}\n showDeleteMilestoneModal={showDeleteMilestoneModal}\n showEditMilestoneModal={showEditMilestoneModal}\n milestonableMilestonesUsageCounts={this.props.milestonableMilestonesUsageCounts}\n />\n ))}\n </Col>\n <Col size={4} className=\"p-r-50\">\n {listing_milestones &&\n listing_milestones.map((milestone) => (\n <Milestone\n key={milestone.id}\n milestone={milestone}\n showDeleteMilestoneModal={showDeleteMilestoneModal}\n showEditMilestoneModal={showEditMilestoneModal}\n milestonableMilestonesUsageCounts={this.props.milestonableMilestonesUsageCounts}\n />\n ))}\n </Col>\n <Col size={4}>\n {projectsEnabled &&\n project_milestones &&\n project_milestones.map((milestone) => (\n <Milestone\n key={milestone.id}\n milestone={milestone}\n showDeleteMilestoneModal={showDeleteMilestoneModal}\n showEditMilestoneModal={showEditMilestoneModal}\n milestonableMilestonesUsageCounts={this.props.milestonableMilestonesUsageCounts}\n />\n ))}\n </Col>\n </Row>\n {this.isMilestoneModalOpen() && this.renderModal()}\n </div>\n </div>\n );\n }\n}\n\nexport default Milestones;\n","import React from \"react\";\nimport DeleteMilestoneModal from \"./DeleteMilestoneModal\";\nimport { Modal } from \"../../shared/v1\";\nimport MilestonesForm from \"./MilestonesForm\";\n\nconst renderNewMilestoneModal = (props) => {\n const {\n isNewMilestoneModalOpen,\n closeNewMilestoneModal,\n milestoneFormUpdate,\n submitNewMilestone,\n milestoneForm,\n modalErrorMessage,\n modalHasError,\n isModalSubmitting,\n projectsEnabled,\n } = props;\n\n const milestonesCreatePath = \"/new_milestones\";\n\n return (\n <Modal show={isNewMilestoneModalOpen} onHide={closeNewMilestoneModal}>\n <Modal.Header closeButton>\n <Modal.Title>Add Custom Date</Modal.Title>\n </Modal.Header>\n <Modal.Body className=\"milestone-form\">\n <MilestonesForm\n milestonesCreatePath={milestonesCreatePath}\n milestoneForm={milestoneForm}\n onCloseAction={closeNewMilestoneModal}\n onSubmitAction={submitNewMilestone}\n onFormChange={milestoneFormUpdate}\n errorMessage={modalErrorMessage}\n hasError={modalHasError}\n isSubmitting={isModalSubmitting}\n projectsEnabled={projectsEnabled}\n />\n </Modal.Body>\n </Modal>\n );\n};\n\nconst renderEditMilestoneModal = (props) => {\n const {\n isEditMilestoneModalOpen,\n closeEditMilestoneModal,\n milestoneFormUpdate,\n submitUpdateMilestone,\n milestoneForm,\n modalErrorMessage,\n modalHasError,\n isModalSubmitting,\n } = props;\n\n const milestonesUpdatePath = `/new_milestones/${milestoneForm.id}`;\n\n return (\n <Modal show={isEditMilestoneModalOpen} onHide={closeEditMilestoneModal}>\n <Modal.Header closeButton>\n <Modal.Title>Update Custom Date</Modal.Title>\n </Modal.Header>\n <Modal.Body className=\"milestone-form\">\n <MilestonesForm\n milestonesUpdatePath={milestonesUpdatePath}\n milestoneForm={milestoneForm}\n onCloseAction={closeEditMilestoneModal}\n onSubmitAction={submitUpdateMilestone}\n onFormChange={milestoneFormUpdate}\n errorMessage={modalErrorMessage}\n hasError={modalHasError}\n isSubmitting={isModalSubmitting}\n />\n </Modal.Body>\n </Modal>\n );\n};\n\nconst renderDeleteMilestoneModal = (props) => {\n const {\n isDeleteMilestoneModalOpen,\n isDeletingMilestone,\n closeDeleteMilestoneModal,\n milestonePath,\n modalErrorMessage,\n modalHasError,\n milestonesPath,\n milestoneToDelete,\n deleteMilestone,\n } = props;\n\n return (\n <DeleteMilestoneModal\n isDeleteMilestoneModalOpen={isDeleteMilestoneModalOpen}\n isDeletingMilestone={isDeletingMilestone}\n closeDeleteMilestoneModal={closeDeleteMilestoneModal}\n milestoneToDelete={milestoneToDelete}\n milestonePath={milestonePath}\n deleteMilestone={deleteMilestone}\n errorMessage={modalErrorMessage}\n hasError={modalHasError}\n />\n );\n};\n\nexport { renderNewMilestoneModal, renderEditMilestoneModal, renderDeleteMilestoneModal };\n","import axios from 'axios';\n\n// Index\n\nconst fetchMilestones = () => {\n return {\n type: 'FETCH_MILESTONES',\n isFetchingMilestones: true,\n }\n}\nconst milestonesSuccess = (milestones) => {\n return {\n type: 'MILESTONES_SUCCESS',\n milestones,\n }\n}\n\nexport const getMilestones = () => {\n const path = '/new_milestones.json';\n return dispatch => {\n dispatch(fetchMilestones())\n axios.get(path)\n .then(results => {\n dispatch(milestonesSuccess(results.data))\n })\n .catch(err => {\n dispatch({type: 'MILESTONES_FAILURE', isFetchingMilestones: false})\n }\n );\n }\n}\n\n\n// New\n\nexport const showNewMilestoneModal = () => {\n return dispatch => {\n dispatch({type: 'MILESTONE_SHOW_NEW_MODAL'})\n }\n}\n\nexport const closeNewMilestoneModal = () => {\n return dispatch => {\n dispatch({type: 'MILESTONE_CLOSE_NEW_MODAL'})\n }\n}\n\nexport const milestoneFormUpdate = (name, value) => {\n return {\n type: 'MILESTONE_FORM_UPDATE',\n name,\n value\n }\n}\n\nexport const submitNewMilestone = (milestoneCreatePath, milestone) => {\n const formData = { ...milestone }\n return dispatch => {\n dispatch({type: 'MILESTONE_CREATE_PENDING'})\n\n axios.post(milestoneCreatePath, { milestone: formData, authenticity_token: ReactOnRails.authenticityToken() })\n .then(res => {\n dispatch({type: 'MILESTONE_CREATE_SUCCESS'})\n dispatch(getMilestones())\n })\n .catch(err => {\n dispatch({type: 'MILESTONE_CREATE_FAILURE', errors: err.response.data.errors})\n })\n }\n}\n\n\n// Edit\n\nexport const showEditMilestoneModal = (milestone) => {\n return dispatch => {\n dispatch({\n type: \"MILESTONE_SHOW_EDIT_MODAL\",\n milestone\n });\n };\n};\n\nexport const closeEditMilestoneModal = () => {\n return dispatch => {\n dispatch({type: 'MILESTONE_CLOSE_EDIT_MODAL'})\n }\n}\n\nexport const submitUpdateMilestone = (milestoneUpdatePath, milestone) => {\n const formData = { ...milestone }\n return dispatch => {\n dispatch({type: 'MILESTONE_UPDATE_PENDING'})\n\n axios.patch(milestoneUpdatePath, { milestone: formData, authenticity_token: ReactOnRails.authenticityToken() })\n .then(res => {\n dispatch({type: 'MILESTONE_UPDATE_SUCCESS'})\n dispatch(getMilestones())\n })\n .catch(err => {\n dispatch({type: 'MILESTONE_UPDATE_FAILURE', errors: err.response.data.errors})\n })\n }\n}\n\n\n// Delete\n\nexport const showDeleteMilestoneModal = (milestone) => {\n return dispatch => {\n dispatch({\n type: \"MILESTONE_SHOW_DELETE_MODAL\",\n milestone\n });\n };\n};\n\nconst deleteMilestoneFailure = (errors) => {\n return {\n type: 'DELETE_MILESTONE_FAILURE',\n errors: errors\n }\n}\n\nconst deleteMilestoneSuccess = () => {\n return {\n type: 'DELETE_MILESTONE_SUCCESS'\n }\n}\n\nconst deleteMilestonePending = () => {\n return {\n type: 'DELETE_MILESTONE_PENDING'\n }\n}\n\nexport const closeDeleteMilestoneModal = () => {\n return dispatch => {\n dispatch({type: 'MILESTONE_CLOSE_DELETE_MODAL'})\n }\n}\n\nexport const deleteMilestone = (path) => {\n return dispatch => {\n dispatch(deleteMilestonePending())\n axios.delete(path, { params: { authenticity_token: ReactOnRails.authenticityToken() }})\n .then(res => {\n dispatch(deleteMilestoneSuccess())\n })\n .catch(err => {\n dispatch(deleteMilestoneFailure(err.response.data.errors))\n })\n }\n}\n","import { connect } from 'react-redux';\nimport Milestones from '../components/Milestones';\nimport * as actions from '../actions/milestonesActionCreators';\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({...state.milestones});\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, actions)(Milestones);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { FormGroup } from \"react-bootstrap\";\n\nconst RadioButton = ({ name, isAdmin, isPond, label, selected, radioGroupHandler }) => {\n const radioButtonClass = () =>\n selected ? \"fa fa-dot-circle-o brivity-blue\" : \"brivity-grey-text fa fa-circle-o\";\n return (\n <FormGroup onClick={() => radioGroupHandler(name, isAdmin, isPond, label)} className=\"tw-cursor-pointer\">\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n <label htmlFor=\"radiobutton\" className={`tw-pr-[7px] tw-cursor-pointer ${radioButtonClass()}`}>\n  \n </label>\n {label && <span>{label}</span>}\n </FormGroup>\n );\n};\n\nRadioButton.propTypes = {\n name: Proptypes.number,\n isAdmin: Proptypes.bool,\n isPond: Proptypes.bool,\n label: Proptypes.string,\n selected: Proptypes.bool,\n radioGroupHandler: Proptypes.func,\n};\nRadioButton.defaultProps = {\n name: null,\n isAdmin: false,\n isPond: false,\n label: null,\n selected: false,\n radioGroupHandler: null,\n};\nexport default RadioButton;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Modal, Col, Row, Alert } from \"react-bootstrap\";\nimport _ from \"lodash\";\nimport buttons from \"../../PersonDetail/components/button.module.css\";\nimport HeaderTitle from \"../../PersonDetail/components/modals/HeaderTitle\";\nimport RadioButton from \"./RadioButton\";\n\nconst ManageAccessModal = ({\n people,\n admins,\n agents,\n modalOpen,\n closeModal,\n radioGroupHandler,\n handleSubmit,\n submitResponse,\n saving,\n}) => (\n <div>\n <Modal className=\"modal\" backdrop=\"static\" show={modalOpen} onHide={closeModal}>\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle\n title={`Manage Access to ${people.length > 1 ? `${people.length} People` : \"Person\"}`}\n onClose={closeModal}\n />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n {submitResponse?.errors && (\n <Alert bsStyle=\"danger\">\n {_.flatMap(submitResponse.errors, (field, key) => (\n <span>\n <strong>Error: </strong> {`${key} ${field[0]}`}\n <br />\n </span>\n ))}\n </Alert>\n )}\n {submitResponse?.content && (\n <Alert bsStyle=\"danger\">\n <span>\n <strong>Error: </strong> {submitResponse.content}\n <br />\n </span>\n </Alert>\n )}\n <Row>\n <Col xs={12}>\n <p>\n Extending access gives a user the ability to view and edit a person's information. Access\n can be revoked only for teammates with the user type of agent. The account owner and admins have\n access to everyone.\n </p>\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <p>You can only manage access for up to 50 people at a time.</p>\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <Row>\n <Col xs={2}>\n <label htmlFor=\"Primary\">Primary</label>\n </Col>\n <Col xs={5}>\n <label htmlFor=\"Name\">Name</label>\n </Col>\n <Col xs={5}>\n <label htmlFor=\"Access\">Access</label>\n </Col>\n </Row>\n </Col>\n </Row>\n {admins.map((admin) => (\n <Row key={admin.person_id} className=\"agent\">\n <Col xs={2} className=\"primary-agent-container text-center\">\n <RadioButton\n name={admin.person_id}\n isAdmin\n isPond={false}\n selected={admin.is_selected}\n radioGroupHandler={radioGroupHandler}\n />\n </Col>\n <Col xs={5}>\n <p>{admin.name}</p>\n </Col>\n <Col xs={5} className=\"access-level\">\n <span className=\"tw-text-[#969696] tw-text-[0.9em]\">Admin access</span>\n </Col>\n </Row>\n ))}\n <hr />\n {agents.map((agent) => (\n <Row key={agent.id || agent.person_id} className=\"agent\">\n <Col xs={2} className=\"primary-agent-container text-center\">\n <RadioButton\n name={agent.id || agent.person_id}\n isAdmin={false}\n isPond={agent?.id && true}\n selected={agent.is_selected}\n radioGroupHandler={radioGroupHandler}\n />\n </Col>\n <Col xs={5}>\n <p>{agent.name}</p>\n </Col>\n <Col xs={5} className=\"tw-p-[0px]\">\n {agent?.person_id && (\n <Row>\n <Col xs={3} className=\"tw-p-[0px]\">\n <RadioButton\n name={agent.person_id}\n isAdmin={false}\n isPond={false}\n label=\"None\"\n selected={agent.current_access_level === \"none\"}\n radioGroupHandler={radioGroupHandler}\n />\n </Col>\n {(agent.current_access_level === \"some\" || agent.issome) && (\n <Col xs={5} className=\"tw-p-[0px] tw-pl-[8px]\">\n <RadioButton\n name={agent.person_id}\n isPond={false}\n isAdmin={false}\n label={`Some (${agent.some_access_count})`}\n selected={agent.current_access_level === \"some\"}\n radioGroupHandler={radioGroupHandler}\n />\n </Col>\n )}\n <Col xs={3} className=\"tw-p-[0px] tw-pl-[8px]\">\n <RadioButton\n name={agent.person_id}\n isAdmin={false}\n isPond={false}\n label=\"All\"\n selected={agent.current_access_level === \"all\"}\n radioGroupHandler={radioGroupHandler}\n />\n </Col>\n </Row>\n )}\n </Col>\n </Row>\n ))}\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-space-between\">\n <button\n type=\"button\"\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnGray} m-r-5`}\n onClick={() => closeModal()}\n >\n Close\n </button>\n <button\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnBlue} m-l-5`}\n disabled={saving}\n type=\"button\"\n onClick={() => handleSubmit()}\n >\n {saving && (\n <span>\n Save  \n <i className=\"fa fa-pulse fa-spinner\" />\n </span>\n )}\n {!saving && <span>Save</span>}\n </button>\n </div>\n </Col>\n </Row>\n </Modal.Body>\n </Modal>\n </div>\n);\n\nManageAccessModal.propTypes = {\n people: Proptypes.arrayOf(\n Proptypes.shape({\n person_id: Proptypes.number,\n }),\n ),\n admins: Proptypes.arrayOf(\n Proptypes.shape({\n person_id: Proptypes.number,\n }),\n ),\n agents: Proptypes.arrayOf(\n Proptypes.shape({\n name: Proptypes.string,\n }),\n ),\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n radioGroupHandler: Proptypes.func,\n handleSubmit: Proptypes.func,\n submitResponse: Proptypes.shape({ content: Proptypes.string, errors: Proptypes.arrayOf(Proptypes.string) }),\n saving: Proptypes.bool,\n};\nManageAccessModal.defaultProps = {\n people: null,\n admins: null,\n agents: null,\n modalOpen: false,\n closeModal: null,\n radioGroupHandler: null,\n handleSubmit: null,\n submitResponse: null,\n saving: false,\n};\n\nexport default ManageAccessModal;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Modal, Col, Row } from \"react-bootstrap\";\nimport buttons from \"../../PersonDetail/components/button.module.css\";\nimport HeaderTitle from \"../../PersonDetail/components/modals/HeaderTitle\";\n\nconst SuccessModal = ({ modalOpen, closeModal, submitResponse }) => (\n <div>\n <Modal className=\"modal\" backdrop=\"static\" show={modalOpen} onHide={closeModal}>\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title=\"Manage Access to Person\" onClose={closeModal} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <Row>\n <Col xs={12}>{submitResponse?.content && <p> {submitResponse.content}</p>}</Col>\n </Row>\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-space-between tw-float-right\">\n <button\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnBlue} m-l-5`}\n type=\"button\"\n onClick={closeModal}\n >\n Ok\n </button>\n </div>\n </Col>\n </Row>\n </Modal.Body>\n </Modal>\n </div>\n);\n\nSuccessModal.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n submitResponse: Proptypes.shape({ content: Proptypes.string }),\n};\nSuccessModal.defaultProps = {\n modalOpen: false,\n closeModal: null,\n submitResponse: null,\n};\n\nexport default SuccessModal;\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useState } from \"react\";\nimport ManageAccessModal from \"./ManageAccessModal\";\nimport SuccessModal from \"./SuccessModal\";\nimport { updatePrimaryAgentOrPond, getPrimaryAgentOrPond } from \"../../shared/serviceHelpers\";\nimport { selectOption } from \"../../LeadIndex/components/SelectOption\";\n\nconst ManageAccess = () => {\n const [ModalOpen, setModalOpen] = useState(false);\n const [admins, setAdmins] = useState([]);\n const [people, setPeople] = useState([]);\n const [agents, setAgents] = useState([]);\n const [submitResponse, setSubmitResponse] = useState(null);\n const [selectedIds, setSelectedIds] = useState([]);\n const [leadPond, setLeadPond] = useState(null);\n const [primaryAgent, setPrimaryAgent] = useState(null);\n const [agentPermission, setAgentPermission] = useState({});\n const [successmodal, setSuccessModal] = useState(false);\n const [saving, setSaving] = useState(false);\n const closeModal = () => {\n setAdmins([]);\n setAgents([]);\n setPeople([]);\n setSelectedIds([]);\n setLeadPond(null);\n setPrimaryAgent(null);\n setAgentPermission({});\n setSubmitResponse(null);\n setModalOpen(false);\n setSaving(false);\n setSuccessModal(false);\n selectOption(\"select-none\");\n };\n\n const getData = (allpeopleIdsStr) => {\n getPrimaryAgentOrPond({\n allpeopleIdsStr,\n successCb: (response) => {\n setModalOpen(true);\n setPeople(response.data.people);\n setAdmins(response.data.admins);\n const totalAgent = response.data.agents\n .concat(response.data.lead_ponds || [])\n .map((obj) =>\n obj.current_access_level === \"some\" ? { ...obj, issome: true } : { ...obj, issome: false },\n );\n setAgents(totalAgent.sort((a, b) => a.name.localeCompare(b.name)));\n },\n });\n };\n const getSelectedIds = () => {\n const ids = [];\n document.querySelectorAll(\"input.multi-select:checked\").forEach((item) => {\n ids.push(item.closest(\"tr\").getAttribute(\"data-person-id\")); // eslint-disable-line no-param-reassign\n });\n if (ids.length > 0) {\n setSubmitResponse(null);\n let allpeopleIdsStr = \"\";\n /* eslint-disable no-plusplus */\n for (let index = 0; index < ids.length; index++) {\n const element = ids[index];\n if (index === 0) {\n allpeopleIdsStr += `people_ids[]=${element}`;\n } else {\n allpeopleIdsStr += `&people_ids[]=${element}`;\n }\n }\n setSelectedIds(ids);\n getData(allpeopleIdsStr);\n }\n };\n const openModal = (e) => {\n if (e?.target?.className?.indexOf(\"disabled\") > -1) {\n e.preventDefault();\n return;\n }\n getSelectedIds();\n };\n\n const radioGroupHandler = (name, isAdmin, isPond, label) => {\n if (isPond) {\n const newState = agents.map((obj) =>\n obj.id === name ? { ...obj, is_selected: true } : { ...obj, is_selected: false },\n );\n const newStateforadmin = admins.map((obj) => ({ ...obj, is_selected: false }));\n setAdmins(newStateforadmin);\n setPrimaryAgent(null);\n setLeadPond(name);\n setAgents(newState);\n } else if (isAdmin) {\n const newState = admins.map((obj) =>\n obj.person_id === name ? { ...obj, is_selected: true } : { ...obj, is_selected: false },\n );\n const newStateforagent = agents.map((obj) => ({ ...obj, is_selected: false }));\n setAgents(newStateforagent);\n setLeadPond(null);\n setPrimaryAgent(name);\n setAdmins(newState);\n } else if (label) {\n let newCurrentAccessLevel = \"\";\n if (label === \"All\") {\n newCurrentAccessLevel = \"all\";\n } else if (label === \"None\") {\n newCurrentAccessLevel = \"none\";\n } else {\n newCurrentAccessLevel = \"some\";\n }\n const newState = agents.map((obj) =>\n obj.person_id === name ? { ...obj, current_access_level: newCurrentAccessLevel } : obj,\n );\n setAgentPermission({ ...agentPermission, [name]: newCurrentAccessLevel });\n setAgents(newState);\n } else {\n const newState = agents.map((obj) =>\n obj.person_id === name ? { ...obj, is_selected: true } : { ...obj, is_selected: false },\n );\n const newStateforadmin = admins.map((obj) => ({ ...obj, is_selected: false }));\n setAdmins(newStateforadmin);\n setAgentPermission({\n ...agentPermission,\n [name]: newState.filter((obj) => obj.person_id === name)[0].current_access_level,\n });\n setLeadPond(null);\n setPrimaryAgent(name);\n setAgents(newState);\n }\n };\n const handleSubmit = () => {\n setSaving(true);\n const params = {\n primary_agent: primaryAgent,\n people_ids: selectedIds,\n lead_pond: leadPond,\n agent_permissions: agentPermission,\n };\n updatePrimaryAgentOrPond({\n data: params,\n errorCb: (errors) => {\n setSaving(false);\n setSubmitResponse(errors);\n },\n successCb: (response) => {\n setSaving(false);\n setAdmins([]);\n setAgents([]);\n setPeople([]);\n setSelectedIds([]);\n setLeadPond(null);\n setPrimaryAgent(null);\n setAgentPermission({});\n setModalOpen(false);\n if (response?.data?.content) {\n setSuccessModal(true);\n setSubmitResponse(response.data);\n }\n },\n });\n };\n return (\n <>\n <a\n role=\"button\"\n tabIndex={0}\n id=\"extend-access\"\n className=\"tw-clear-both hover:tw-no-underline tw-block tw-text-gray-dark hover:tw-text-gray-dark hover:tw-bg-gray-5\"\n onClick={openModal}\n >\n Manage Access\n </a>\n {ModalOpen && (\n <ManageAccessModal\n people={people}\n admins={admins}\n modalOpen={ModalOpen}\n agents={agents}\n closeModal={closeModal}\n radioGroupHandler={radioGroupHandler}\n handleSubmit={handleSubmit}\n submitResponse={submitResponse}\n saving={saving}\n />\n )}\n {successmodal && (\n <SuccessModal modalOpen={successmodal} closeModal={closeModal} submitResponse={submitResponse} />\n )}\n </>\n );\n};\n\nexport default ManageAccess;\n","/* global $, Turbolinks */\nimport React from \"react\";\nimport axios from \"axios\";\nimport Button from \"../shared/v2/Button/Button\";\nimport { PlusSolidV6 } from \"../shared/v2/Icomoon\";\n\nconst onClick = () => {\n // TODO: remove jQuery bootstrap reqs\n axios.get(\"/projects/new\").then((res) => {\n const $modal = $(\"#new_modal\");\n $modal.find(\".modal-content\").html(res.data);\n $modal\n .find(\"form\")\n .on(\"ajax:error\", (e, data) => {\n Brivity.ModalErrors.show(data.responseJSON.content);\n })\n .on(\"ajax:success\", (e, data) => {\n Brivity.Animations.success($modal);\n Turbolinks.visit(data.location);\n });\n $modal.find(\".selectpicker\").selectpicker();\n $modal.modal(\"toggle\");\n });\n};\n\nconst NewProjectModal = () => (\n <Button onClick={onClick} size=\"medium\">\n <PlusSolidV6 /> New\n </Button>\n);\n\nexport default NewProjectModal;\n","/* eslint-disable import/prefer-default-export */\nimport { caseTransformingAxios } from \"../shared/v2/caseTransformingAxios\";\nimport { tryCatchHandlr } from \"../shared/Utilities\";\n\nexport const loadDetailsApi = async ({ controller, id, errorCb, successCb }) => {\n const url = `/api/v4/partner_searches/${id}`;\n const [resData, err] = await tryCatchHandlr(\n caseTransformingAxios.get(url, {\n signal: controller.signal,\n }),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb(resData);\n};\n\nexport const searchPartnersApi = async ({ controller, data, errorCb, successCb }) => {\n const url = `/api/v4/partner_searches/`;\n const [resData, err] = await tryCatchHandlr(\n caseTransformingAxios.post(url, data, {\n signal: controller.signal,\n }),\n );\n if (err) {\n if (err.name === \"CanceledError\") return;\n errorCb(err);\n return;\n }\n successCb(resData);\n};\n\nexport const autoComplete = async (searchText) => {\n if (!(searchText || \"\").trim()) return null;\n const url = `/api/v4/partner_searches/`;\n const [resData, err] = await tryCatchHandlr(\n caseTransformingAxios.post(url, { q: searchText, scope: \"area_suggestion\" }),\n );\n\n return err\n ? null\n : resData?.data?.areaSuggestions?.map((p) => ({ label: p.description, value: p.placeId }));\n};\n","import React, { useCallback, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { components } from \"react-select\";\nimport AsyncSelect from \"react-select/async\";\nimport { debounce } from \"lodash\";\n\nconst getColors = (state) =>\n state?.selectProps?.inputValue || state.hasValue ? \"#666666\" : `${state.isFocused ? \"#59C4C4\" : \"#C2C2C2\"}`;\n\nconst LocationSearch = ({ onBlur, onChange, onFocus, placeholder, trailing, value, callApi }) => {\n const [inputValue, setInputValue] = useState(value);\n\n const loadOptions = useCallback(\n debounce((inputText, callback) => {\n callApi(inputText).then((resp) => {\n callback(resp);\n });\n }, 500),\n [],\n );\n return (\n <AsyncSelect\n cacheOptions\n defaultOptions\n onChange={onChange}\n value={value}\n onInputChange={setInputValue} // allows for actually typing\n inputValue={inputValue} // allows you continue where you left off\n blurInputOnSelect\n onBlur={onBlur}\n isClearable\n onFocus={onFocus}\n placeholder={placeholder}\n loadOptions={loadOptions}\n backspaceRemovesValue\n components={{\n IndicatorSeparator: null,\n // eslint-disable-next-line\n DropdownIndicator: ({ clearValue, hasValue, selectProps, ...props }) => (\n <components.DropdownIndicator {...props}>\n <button\n type=\"button\"\n onClick={(e) => {\n e.preventDefault();\n setInputValue(\"\");\n clearValue();\n }}\n className=\"tw-border-0 tw-bg-transparent tw-p-0\"\n >\n {trailing}\n </button>\n </components.DropdownIndicator>\n ),\n }}\n styles={{\n input: (styles) => ({ ...styles, color: \"#666666\", padding: \"0 20px 0 0\", margin: \"0\" }),\n valueContainer: (styles) => ({ ...styles, padding: \"1px 14px 1px 16px\" }),\n singleValue: (styles) => ({ ...styles, color: \"#666666\" }),\n control: (styles, state) => ({\n ...styles,\n background: \"#F5F7F7\",\n color: \"#666666\",\n borderRadius: \"2px\",\n boxShadow: \"none\",\n borderColor: state.isFocused ? \"var(--text-input-border-active)\" : \"var(--text-input-border)\",\n \"&:hover\": {\n borderColor: \"var(--text-input-border-hover)\",\n },\n minHeight: \"36px\",\n }),\n dropdownIndicator: (styles, state) => ({\n ...styles,\n color: getColors(state),\n \"&:focus\": {\n color: getColors(state),\n },\n padding: \"0 12px 0 0\",\n }),\n group: (styles) => ({ ...styles, padding: 0, margin: 0 }),\n groupHeading: () => ({\n color: \"#666666\",\n backgroundColor: \"#F5F7F7\",\n padding: \"6px 12px\",\n }),\n menuList: (styles) => ({ ...styles, maxHeight: \"200px\" }),\n option: (styles, state) => ({\n ...styles,\n background: state.isSelected ? \"#59C4C4\" : `${state.isFocused ? \"#cccccc\" : \"#fff\"}`,\n }),\n placeholder: (styles) => ({ ...styles, whiteSpace: \"nowrap\", color: \"#999999\", margin: 0 }),\n }}\n />\n );\n};\n\nLocationSearch.propTypes = {\n onBlur: PropTypes.func.isRequired,\n onChange: PropTypes.func.isRequired,\n onFocus: PropTypes.func.isRequired,\n placeholder: PropTypes.string.isRequired,\n trailing: PropTypes.node.isRequired,\n value: PropTypes.string.isRequired,\n callApi: PropTypes.func.isRequired,\n};\n\nexport default LocationSearch;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as creators from \"../actions/creators\";\nimport { autoComplete } from \"../services\";\nimport { Search } from \"../../shared/v2/Icomoon\";\nimport TextToggle from \"../../shared/v2/TextToggle\";\nimport TextComboInput from \"../../shared/v2/TextComboInput\";\nimport LocationSearch from \"./LocationSearch\";\n\nconst mapStateToProps = (state) => ({\n searchTab: state.partnerSearch.searchTab,\n resultsCount: state.partnerSearch.results.length,\n searchTerm: state.partnerSearch.searchTerm,\n isSearching: state.partnerSearch.searchTerm > \"\",\n});\n\nconst SEARCH_OPTIONS = [\n {\n value: \"google_place\",\n label: \"Area\",\n },\n {\n value: \"owner_operator\",\n label: \"Owner/Operator\",\n },\n {\n value: \"team\",\n label: \"Team\",\n },\n];\n\nconst SEARCH_PLACEHOLDERS = {\n google_place: \"Search by city or state / province\",\n owner_operator: \"Search by owner / operator name or email\",\n team: \"Search by team name\",\n};\n\nconst Header = ({\n searchTab,\n resultsCount,\n searchTerm,\n isSearching,\n changeSearchTab,\n changeSearchTerm,\n changeIsSearching,\n}) => {\n const [focused, setFocused] = useState(false);\n return (\n <div>\n <h1 className=\"tw-text-neutral-gray-75 tw-text-[28px] tw-mb-8\">\n Find a Partner {isSearching && <span className=\"tw-text-[14px]\">{resultsCount} results</span>}\n </h1>\n <div className=\"tw-flex tw-items-center tw-mb-7\">\n <p className=\"tw-text-neutral-gray-50 tw-text-[14px] tw-mr-4 tw-mb-0\">Search by:</p>\n <TextToggle\n options={SEARCH_OPTIONS}\n value={searchTab}\n size=\"small\"\n onChange={(e) => changeSearchTab(e.target.value)}\n />\n <div className=\"tw-flex-1\" />\n </div>\n {searchTab === \"google_place\" ? (\n <LocationSearch\n value={searchTerm}\n placeholder={SEARCH_PLACEHOLDERS[searchTab]}\n onFocus={() => setFocused(true)}\n onBlur={() => setFocused(false)}\n onChange={(e) => {\n changeSearchTerm(e);\n changeIsSearching(true);\n }}\n trailing={\n <Search\n className={`tw-pt-[3px] ${focused ? \"tw-text-semantic-blue-100\" : \"tw-text-neutral-gray-30 \"}`}\n size=\"xl\"\n />\n }\n callApi={autoComplete}\n />\n ) : (\n <TextComboInput\n value={searchTerm}\n placeholder={SEARCH_PLACEHOLDERS[searchTab]}\n onFocus={() => setFocused(true)}\n onBlur={() => setFocused(false)}\n onInput={(e) => {\n changeSearchTerm(e.target.value);\n changeIsSearching(true);\n }}\n trailing={\n <Search\n className={`tw-pt-[3px] ${focused ? \"tw-text-semantic-blue-100\" : \"tw-text-neutral-gray-30 \"}`}\n size=\"xl\"\n />\n }\n />\n )}\n </div>\n );\n};\n\nHeader.propTypes = {\n searchTab: PropTypes.string.isRequired,\n resultsCount: PropTypes.number.isRequired,\n searchTerm: PropTypes.string.isRequired,\n isSearching: PropTypes.bool.isRequired,\n changeSearchTab: PropTypes.func.isRequired,\n changeSearchTerm: PropTypes.func.isRequired,\n changeIsSearching: PropTypes.func.isRequired,\n};\n\nexport default connect(mapStateToProps, creators)(Header);\n","/* eslint-disable import/prefer-default-export */\nimport * as creators from \"./creators\";\nimport { loadDetailsApi, searchPartnersApi } from \"../services\";\n\nexport const loadDetails =\n ({ controller, id }) =>\n async (dispatch) => {\n dispatch(creators.getDetails());\n const onFailure = (error) => dispatch(creators.getDetailsError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.getDetailsSuccess({ data: response.data }));\n };\n return loadDetailsApi({ controller, id, successCb: onSuccess, errorCb: onFailure });\n };\n\nexport const callPartnersSearch =\n ({ controller, data }) =>\n async (dispatch) => {\n dispatch(creators.searchPartners());\n const onFailure = (error) => dispatch(creators.searchPartnersError({ error }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.searchPartnersSuccess(response?.data));\n };\n return searchPartnersApi({ controller, data, successCb: onSuccess, errorCb: onFailure });\n };\n","import React from \"react\";\nimport { Search } from \"../../../shared/v2/Icomoon\";\n\nconst NoResults = () => (\n <div className=\"tw-text-center tw-mt-40\">\n <Search size=\"xxxl\" className=\"tw-text-neutral-gray-50 tw-mb-[16px]\" />\n <h1 className=\"tw-text-neutral-gray-50 tw-text-[18px] tw-font-bold tw-mb-[8px] tw-mt-0\">\n No Partners Found\n </h1>\n </div>\n);\n\nexport default NoResults;\n","import React from \"react\";\nimport { Search } from \"../../../shared/v2/Icomoon\";\n\nconst NoSearch = () => (\n <div className=\"tw-text-center tw-mt-40\">\n <Search size=\"xxxl\" className=\"tw-text-neutral-gray-50 tw-mb-[16px]\" />\n <h1 className=\"tw-text-neutral-gray-50 tw-text-[18px] tw-font-bold tw-mb-[8px] tw-mt-0\">\n Search Partners\n </h1>\n <p className=\"tw-text-neutral-gray-50 tw-text-[14px] tw-mb-[8px]\">\n Search by Area, Operator / Owner, or Team\n </p>\n </div>\n);\n\nexport default NoSearch;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Avatar from \"../../shared/v2/Avatar\";\nimport * as creators from \"../actions/creators\";\n\nconst ResultRow = ({\n searchTab,\n fullName,\n avatar,\n account: { brokerageAffiliation, teamName, address, phone, distance },\n setDetailsId,\n uuid,\n}) => (\n <tr className=\"tw-border-b tw-border-x-0 tw-border-t-0 tw-border-solid tw-border-neutral-gray-10 tw-h-[56px]\">\n <td>\n <button\n type=\"button\"\n className=\"tw-bg-transparent tw-border-0 tw-flex tw-items-center hover:tw-underline\"\n onClick={() => setDetailsId(uuid)}\n >\n <Avatar size=\"medium\" className=\"tw-inline-flex tw-mr-4\" alt={fullName} src={avatar} />\n {fullName}\n </button>\n </td>\n <td>{teamName || \"—\"}</td>\n <td>{brokerageAffiliation || \"—\"}</td>\n {searchTab === \"google_place\" && <td>{`${distance || 0} miles`}</td>}\n <td>{address?.city || \"—\"}</td>\n <td>{address?.locality || \"—\"}</td>\n <td>{phone || \"—\"}</td>\n </tr>\n);\n\nResultRow.propTypes = {\n searchTab: PropTypes.string.isRequired,\n uuid: PropTypes.string.isRequired,\n setDetailsId: PropTypes.func.isRequired,\n fullName: PropTypes.string.isRequired,\n avatar: PropTypes.string.isRequired,\n account: PropTypes.shape.isRequired,\n};\n\nexport default connect(null, creators)(ResultRow);\n","export const FLYOUT_ANIMATION_DURATION_MS = 400;\n\nexport const containerAnimationStyles = (duration) => ({\n transition: `opacity ${duration}ms ease-in-out`,\n opacity: 0,\n});\n\nexport const modalAnimationStyles = (duration) => ({\n transition: `transform ${duration}ms ease-out`,\n transform: \"translateX(calc(100vw + 100%))\",\n});\n\nexport const containerTransitionStyles = {\n entering: { opacity: 0 },\n entered: { opacity: 1 },\n exiting: { opacity: 0 },\n exited: { opacity: 0 },\n};\n\nexport const modalTransitionStyles = {\n entering: { transform: \"translateX(calc(100vw + 100%))\" },\n entered: { transform: \"translateX(calc(100vw - 100%))\" },\n exiting: { transform: \"translateX(calc(100vw + 100%))\" },\n exited: { transform: \"translateX(calc(100vw + 100%))\" },\n};\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const FlyoutContext = React.createContext({});\n\nconst FlyoutContextProvider = ({ show, onHide, children, closeOnEscape }) => {\n const onFlyoutHide = () => {\n if (onHide) onHide();\n };\n\n const onEscapeKeyPress = (e) => {\n if (closeOnEscape && e.key === \"Escape\") onFlyoutHide();\n };\n\n useEffect(() => {\n if (!document) return;\n\n const addListener = () => {\n document.addEventListener(\"keyup\", onEscapeKeyPress);\n document.body.classList.add(\"tw-overflow-hidden\");\n };\n\n const removeListener = () => {\n document.removeEventListener(\"keyup\", onEscapeKeyPress);\n document.body.classList.remove(\"tw-overflow-hidden\");\n };\n\n if (show) {\n addListener();\n } else {\n removeListener();\n }\n\n // We only need to return a cleanup function once we actually attach the event listener\n // eslint-disable-next-line consistent-return\n return removeListener;\n }, [show]);\n\n return (\n <FlyoutContext.Provider\n value={{\n show,\n onHide: onFlyoutHide,\n }}\n >\n {children}\n </FlyoutContext.Provider>\n );\n};\nFlyoutContextProvider.propTypes = {\n show: PropTypes.bool,\n onHide: PropTypes.func,\n children: PropTypes.node,\n closeOnEscape: PropTypes.bool,\n};\nFlyoutContextProvider.defaultProps = {\n show: false,\n onHide: null,\n children: null,\n closeOnEscape: true,\n};\n\nexport default FlyoutContextProvider;\n","export const FLYOUT_CONTAINER_CLASSES =\n \"tw-fixed tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-z-1050 tw-overflow-hidden tw-overflow-scrolling-touch tw-outline-0 tw-transition\";\nexport const FLYOUT_BACKDROP_CLASSES =\n \"tw-fixed tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-z-1040 tw-bg-black tw-opacity-50\";\nexport const FLYOUT_MODAL_CLASSES = \"tw-relative tw-w-auto\";\nexport const FLYOUT_HEADER_CLASSES =\n \"tw-bg-white tw-p-32px tw-border-b-neutral-gray-10 tw-border-x-transparent tw-border-t-transparent tw-border-solid\";\nexport const FLYOUT_BODY_CLASSES = \"tw-p-32px tw-bg-neutral-gray-2.5 tw-h-full tw-overflow-auto\";\nexport const FLYOUT_CONTENT_CLASSES =\n \"tw-relative tw-h-[100vh] tw-w-fit tw-bg-clip-padding tw-shadow-[0px_6px_20px_2px_rgba(51,51,51,0.16)] tw-bg-white tw-border-opacity-20 tw-outline-0\";\nexport const SR_ONLY_CLASSES =\n \"tw-absolute tw-w-px tw-h-px tw-p-0 tw--m-px tw-overflow-hidden tw-clip-rect-0 tw-border-0\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FlyoutContext } from \"./FlyoutContext\";\nimport { FLYOUT_BACKDROP_CLASSES } from \"./Flyout.styles\";\n\n/**\n * @summary Creates the background behind the flyout content\n * @description This component is meant to be rendered inside a FlyoutContext and provide\n * a background-color for the flyout.\n * */\n\nconst Backdrop = ({ children, className }) => {\n const { onHide } = React.useContext(FlyoutContext);\n\n return (\n <>\n {/* FlyoutContext already provides the keyboard listeners so we silence the linter here */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <div onClick={() => onHide()} className={`${FLYOUT_BACKDROP_CLASSES} ${className}`}>\n {children}\n </div>\n </>\n );\n};\nBackdrop.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\nBackdrop.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport default Backdrop;\n","import React from \"react\";\n\nimport PropTypes from \"prop-types\";\n\nimport { FLYOUT_HEADER_CLASSES } from \"./Flyout.styles\";\n\nconst FlyoutHeader = ({ children }) => <div className={FLYOUT_HEADER_CLASSES}>{children}</div>;\n\nFlyoutHeader.propTypes = {\n children: PropTypes.node,\n};\n\nFlyoutHeader.defaultProps = {\n children: null,\n};\n\nexport default FlyoutHeader;\n","import React from \"react\";\n\nimport PropTypes from \"prop-types\";\n\nimport { FLYOUT_BODY_CLASSES } from \"./Flyout.styles\";\n\nconst FlyoutBody = ({ children, className }) => (\n <div className={`${FLYOUT_BODY_CLASSES} ${className || \"\"}`}>{children}</div>\n);\n\nFlyoutBody.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n};\n\nFlyoutBody.defaultProps = {\n children: null,\n className: \"\",\n};\n\nexport default FlyoutBody;\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Transition } from \"react-transition-group\";\n\nimport {\n FLYOUT_ANIMATION_DURATION_MS,\n containerAnimationStyles,\n containerTransitionStyles,\n modalAnimationStyles,\n modalTransitionStyles,\n} from \"./animationStyles\";\n\nimport Portal from \"../../v1/Portal\";\nimport Backdrop from \"./Backdrop\";\nimport FlyoutContextProvider, { FlyoutContext } from \"./FlyoutContext\";\n\nimport FlyoutHeader from \"./FlyoutHeader\";\nimport FlyoutBody from \"./FlyoutBody\";\nimport IconButton from \"../IconButton\";\nimport { Close } from \"../Icomoon\";\n\nimport { FLYOUT_CONTAINER_CLASSES, FLYOUT_MODAL_CLASSES, FLYOUT_CONTENT_CLASSES } from \"./Flyout.styles\";\n\n/**\n * @summary A Generic Flyout interface, binding state, portal, listeners and allowing any content, including Header and Body.\n * @param {func} onHide - function for what happens clicking outside, cancel or close button.\n * @param {node} header - elements within the header\n * @param {node} children - elements within the body\n * @param {string} className - arbitrary classNames for the outmost component.\n * @param {string} closeOnEscape - Close modal when click ESC.\n * @param {string} closeOnClickOutside - Close modal when click outside.\n * @param {string} showCloseButton - Show Close Button.\n * @param {string} modalTopGap - Margin (px) on top of modal (E.g: Show the navbar on top of modal).\n * */\n\nconst Flyout = ({\n show,\n onHide,\n header,\n children,\n className,\n closeOnEscape,\n closeOnClickOutside,\n showCloseButton,\n modalTopGap,\n ...props\n}) => {\n const nodeRef = useRef(null);\n const renderFlyoutContainer = (context) => (\n <Portal>\n <Transition\n in={context.show}\n timeout={FLYOUT_ANIMATION_DURATION_MS}\n unmountOnExit\n mountOnEnter\n nodeRef={nodeRef}\n >\n {(modalContainerState) => (\n <div\n className=\"tw-relative tw-z-3000\"\n ref={nodeRef}\n style={{\n ...containerAnimationStyles(FLYOUT_ANIMATION_DURATION_MS),\n ...containerTransitionStyles[modalContainerState],\n }}\n >\n <Backdrop />\n {/* Both of these are rendered inside the FlyoutContext which already provides the keyboard listeners */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n <div\n data-cy=\"modal-content-container-wrapper-n2\"\n className={`${FLYOUT_CONTAINER_CLASSES} ${className}`}\n onClick={() => {\n if (closeOnClickOutside) {\n context.onHide();\n }\n }}\n // Allow arbitrary attributes, mostly for data\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n >\n <div className={FLYOUT_MODAL_CLASSES} data-cy=\"modal-content-container-wrapper\">\n <Transition\n in={context.show}\n appear\n timeout={FLYOUT_ANIMATION_DURATION_MS}\n unmountOnExit\n mountOnEnter\n >\n {(modalState) => (\n /* This component is meant to be rendered inside a FlyoutContext, which */\n /* already provides the keyboard listeners so we silence the linter here */\n /* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n <div\n style={{\n ...modalAnimationStyles(FLYOUT_ANIMATION_DURATION_MS),\n ...modalTransitionStyles[modalState],\n marginTop: modalTopGap,\n }}\n className={FLYOUT_CONTENT_CLASSES}\n data-cy=\"modal-content-container\"\n onClick={(e) => e.stopPropagation()}\n >\n {showCloseButton && (\n <div className=\"tw-absolute tw-right-6 tw-top-6\">\n <IconButton onClick={() => context.onHide()} schema=\"tertiary\">\n <Close />\n </IconButton>\n </div>\n )}\n {children}\n </div>\n )}\n </Transition>\n </div>\n </div>\n </div>\n )}\n </Transition>\n </Portal>\n );\n\n return (\n <FlyoutContextProvider show={show} onHide={onHide} closeOnEscape={closeOnEscape}>\n <FlyoutContext.Consumer>{(value) => renderFlyoutContainer(value)}</FlyoutContext.Consumer>\n </FlyoutContextProvider>\n );\n};\nFlyout.propTypes = {\n show: PropTypes.bool,\n onHide: PropTypes.func,\n header: PropTypes.node,\n children: PropTypes.node,\n className: PropTypes.string,\n closeOnEscape: PropTypes.bool,\n closeOnClickOutside: PropTypes.bool,\n showCloseButton: PropTypes.bool,\n modalTopGap: PropTypes.string,\n};\nFlyout.defaultProps = {\n show: false,\n onHide: null,\n header: null,\n children: null,\n className: \"\",\n closeOnEscape: true,\n closeOnClickOutside: true,\n showCloseButton: true,\n modalTopGap: \"0\",\n};\n\nFlyout.Header = FlyoutHeader;\nFlyout.Body = FlyoutBody;\n\nexport default Flyout;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Card = ({ Icon, title, children }) => (\n <div className=\"tw-bg-white tw-p-[24px] tw-mb-[24px] tw-rounded-lg tw-border tw-border-solid tw-border-neutral-gray-10\">\n <div className=\"tw-flex tw-items-center tw-mb-[16px]\">\n <Icon size=\"l\" className=\"tw-text-[18px] tw-h-[18px] tw-text-neutral-75 tw-mr-[8px]\" />\n <h3 className=\"tw-text-[18px] tw-font-bold tw-text-neutral-75 tw-my-0\">{title}</h3>\n </div>\n {children}\n </div>\n);\n\nCard.propTypes = {\n Icon: PropTypes.shape({}).isRequired,\n title: PropTypes.string.isRequired,\n children: PropTypes.shape({}).isRequired,\n};\n\nexport default Card;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst DataLabel = ({ title, value, label = value, isLink }) => (\n <div className=\"tw-flex tw-items-center tw-mb-[8px]\">\n <p className=\"tw-text-[14px] tw-font-semibold tw-text-neutral-gray-50 tw-w-[90px]\">{title}</p>\n {isLink ? (\n <a className=\"tw-text-[14px] tw-text-semantic-blue-100 tw-flex-1\" href={value}>\n {label}\n </a>\n ) : (\n <p className=\"tw-text-[14px] tw-text-neutral-75\">{value}</p>\n )}\n </div>\n);\n\nDataLabel.propTypes = {\n title: PropTypes.string.isRequired,\n label: PropTypes.string,\n value: PropTypes.string.isRequired,\n isLink: PropTypes.bool,\n};\nDataLabel.defaultProps = {\n isLink: false,\n label: null,\n};\n\nexport default DataLabel;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst SpecializationSection = ({ title, values }) => (\n <div className=\"tw-mb-[20px]\">\n <h3 className=\"tw-text-[12px] tw-mt-0 tw-font-semibold tw-text-neutral-gray-50\">{title}</h3>\n {values?.map((val) => (\n <span\n key={val}\n className=\"tw-inline-flex tw-font-bold tw-text-[11px] tw-mr-2 tw-mb-2 tw-py-[4px] tw-px-[8px] tw-bg-neutral-gray-10 tw-text-neutral-gray-75 tw-rounded-full tw-h-[24px]\"\n >\n {val}\n </span>\n ))}\n </div>\n);\n\nSpecializationSection.propTypes = {\n title: PropTypes.string.isRequired,\n values: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default SpecializationSection;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Avatar from \"../../shared/v2/Avatar\";\nimport { Spinner } from \"../../shared/v2/Icomoon\";\nimport BullseyeArrowSolidV6 from \"../../shared/v2/Icomoon/Icons/BullseyeArrowRegularV6\";\nimport BuildingSolidV6 from \"../../shared/v2/Icomoon/Icons/BuildingSolidV6\";\nimport Flyout from \"../../shared/v2/Flyout\";\nimport * as creators from \"../actions/creators\";\nimport * as thunks from \"../actions/thunks\";\nimport Button from \"../../shared/v2/Button\";\nimport Card from \"./Card\";\nimport DataLabel from \"./DataLabel\";\nimport SpecializationSection from \"./SpecialSection\";\nimport PersonDetailsModal from \"../../Contacts/PersonDetailsModal\";\n\nconst mapStateToProps = (state) => ({\n detailsId: state.partnerSearch.detailsId,\n loadingDetails: state.partnerSearch.loadingDetails,\n partnerDetails: state.partnerSearch.partnerDetails,\n hasLoadingError: state.partnerSearch.hasLoadingError,\n newSourceId: state.partnerSearch.newSourceId,\n});\n\nconst DetailsModal = ({\n detailsId,\n loadingDetails,\n partnerDetails,\n hasLoadingError,\n loadDetails,\n setDetailsId,\n newSourceId,\n}) => {\n const {\n account: { brokerageAffiliation, teamName, website, fax, phone, address },\n avatar,\n certificates,\n email,\n fluencies,\n firstName,\n lastName,\n phoneMobile,\n place,\n serviceAreas,\n specializations,\n } = partnerDetails || { account: {} };\n const [showNewContactModal, setShowNewContactModal] = useState(false);\n useEffect(() => {\n const controller = new AbortController();\n if (detailsId) loadDetails({ controller, id: detailsId });\n return () => {\n controller.abort();\n };\n }, [detailsId]);\n const CONTACT_DETAILS_RECAP = [];\n\n const addNew = () => {\n setDetailsId();\n setShowNewContactModal({\n isLead: false,\n typeName: \"collaborator\",\n firstName,\n lastName,\n emailDetailsAttributes: [{ category: \"work\", position: 1, value: email?.address }],\n sourceId: newSourceId,\n phoneDetailsAttributes: [\n {\n category: \"work\",\n name: \"phone\",\n position: 1,\n value: phone,\n },\n ],\n });\n };\n if (phoneMobile)\n CONTACT_DETAILS_RECAP.push({\n label: phoneMobile,\n value: `tel:${phoneMobile}`,\n });\n if (email?.address)\n CONTACT_DETAILS_RECAP.push({\n label: email?.address,\n value: `mailto:${email?.address}`,\n });\n if (website)\n CONTACT_DETAILS_RECAP.push({\n label: website,\n value: website.indexOf(\"http\") < 0 ? `//${website}` : website,\n });\n return (\n <>\n <PersonDetailsModal\n show={Boolean(showNewContactModal)}\n person={showNewContactModal}\n onClose={() => setShowNewContactModal(null)}\n />\n <Flyout show={Boolean(detailsId)} onHide={setDetailsId}>\n <div className=\"tw-h-full tw-w-[762px] tw-max-w-[100vw] tw-overflow-y-auto tw-bg-neutral-gray-2.5\">\n {loadingDetails && (\n <Spinner size=\"xxl\" className=\"tw-animate-spin tw-mx-auto tw-block tw-relative tw-top-1/2\" />\n )}\n {hasLoadingError && <h3 className=\"tw-text-center\">Something went wrong... Try again</h3>}\n {!loadingDetails && !hasLoadingError && (\n <>\n <div className=\"tw-bg-white tw-pt-[32px] tw-px-[32px]\">\n <div className=\"tw-flex tw-items-top tw-mb-[8px]\">\n <Avatar\n size=\"large\"\n className=\"tw-inline-block tw-mr-[16px] tw-font-bold\"\n src={avatar}\n alt={`${firstName} ${lastName}`}\n />\n <h2 className=\"tw-text-[32px] tw-text-black tw-font-bold tw-pt-[8px] tw-flex-1 tw-m-0\">\n {`${firstName} ${lastName}`}\n </h2>\n </div>\n\n <div className=\"tw-flex tw-divide-x tw-divide-y-0 tw-divide-solid tw-divide-neutral-gray-10 tw-text-neutral-gray-50 tw-mb-[8px] tw-leading-none\">\n <div className=\"tw-px-4 first:tw-pl-0\">{`${\n place ? \"Operator\" : \"Owner\"\n } of ${teamName}`}</div>\n {brokerageAffiliation && (\n <div className=\"tw-px-4 first:tw-pl-0\">{brokerageAffiliation}</div>\n )}\n </div>\n <div className=\"tw-flex tw-divide-x tw-divide-y-0 tw-divide-solid tw-divide-neutral-gray-10 tw-mb-[20px]\">\n {CONTACT_DETAILS_RECAP?.map((detail) => (\n <a\n href={detail.value}\n target=\"_blank\"\n rel=\"noreferrer\"\n className=\"tw-px-4 first:tw-pl-0 tw-text-semantic-blue-100 \"\n >\n {detail.label}\n </a>\n ))}\n </div>\n <Button size=\"small\" schema=\"secondary\" className=\"tw-mb-[28px]\" onClick={addNew}>\n + Add to CRM\n </Button>\n </div>\n <section className=\"tw-py-[24px] tw-px-[24px]\">\n <Card title=\"Office\" Icon={BuildingSolidV6}>\n {phone && <DataLabel title=\"Phone\" label={phone} value={`tel:${phone}`} isLink />}\n {fax && <DataLabel title=\"Fax\" label={fax} value={`tel:${fax}`} isLink />}\n {address && <DataLabel title=\"Address\" value={address?.streetAddress} />}\n </Card>\n <Card title=\"Specializations\" Icon={BullseyeArrowSolidV6}>\n {serviceAreas?.length > 0 && (\n <SpecializationSection title=\"Service Areas\" values={serviceAreas} />\n )}\n {specializations?.length > 0 && (\n <SpecializationSection title=\"Areas of Expertise\" values={specializations} />\n )}\n {fluencies?.length > 0 && (\n <SpecializationSection title=\"Additional Fluent Languages\" values={fluencies} />\n )}\n {certificates?.length > 0 && (\n <SpecializationSection title=\"Certifications & Designations\" values={certificates} />\n )}\n {serviceAreas?.length === 0 &&\n specializations?.length === 0 &&\n fluencies?.length === 0 &&\n certificates?.length === 0 && (\n <p className=\"tw-text-neutral-gray-50 tw-text-[12px] tw-font-semibold\">\n No specializations to display\n </p>\n )}\n </Card>\n </section>\n </>\n )}\n </div>\n </Flyout>\n </>\n );\n};\n\nDetailsModal.propTypes = {\n newSourceId: PropTypes.string.isRequired,\n detailsId: PropTypes.string.isRequired,\n loadingDetails: PropTypes.bool.isRequired,\n hasLoadingError: PropTypes.bool.isRequired,\n loadDetails: PropTypes.func.isRequired,\n setDetailsId: PropTypes.func.isRequired,\n partnerDetails: PropTypes.shape.isRequired,\n};\n\nexport default connect(mapStateToProps, { ...creators, ...thunks })(DetailsModal);\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as creators from \"../actions/creators\";\nimport ResultRow from \"./ResultRow\";\nimport DetailsModal from \"./DetailsModal\";\n\nconst mapStateToProps = (state) => ({\n results: state.partnerSearch.results,\n searchTab: state.partnerSearch.searchTab,\n});\n\nconst HEADINGS = [\"Operator / Owner\", \"Team\", \"Brokerage\"];\nconst HEADINGS_2 = [\"City\", \"State\", \"Office Phone\"];\nconst ResultsTable = ({ results, searchTab }) => {\n const DISTANCE = searchTab === \"google_place\" ? [\"Distance\"] : [];\n return (\n <>\n <DetailsModal />\n <table className=\"tw-w-full tw-mt-8\">\n <thead className=\"tw-border-x-0 tw-border-y tw-border-solid tw-border-neutral-gray-10 tw-h-[32px] tw-text-neutral-gray-50 tw-text-[12px]\">\n {[...HEADINGS, ...DISTANCE, ...HEADINGS_2].map((h) => (\n <th className=\"tw-font-semibold\">{h}</th>\n ))}\n </thead>\n {results?.map((result) => (\n <ResultRow {...result} searchTab={searchTab} />\n ))}\n </table>\n </>\n );\n};\n\nResultsTable.propTypes = {\n results: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n searchTab: PropTypes.string.isRequired,\n};\n\nexport default connect(mapStateToProps, creators)(ResultsTable);\n","/* eslint-disable no-lonely-if */\nimport React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { useDebounce } from \"../../shared/hookHelpers\";\nimport * as creators from \"../actions/creators\";\nimport * as thunks from \"../actions/thunks\";\nimport { Spinner } from \"../../shared/v2/Icomoon\";\nimport NoResults from \"./EmptyStates/NoResults\";\nimport NoSearch from \"./EmptyStates/NoSearch\";\nimport ResultsTable from \"./ResultsTable\";\n\nconst Results = ({ searchTab, searchTerm, isSearching, results, changeIsSearching, callPartnersSearch }) => {\n const getEmptyMessage = () => {\n let Comp = (\n <div className=\"tw-text-center\">\n <Spinner size=\"xxxl\" className=\"fa-spin tw-mx-auto tw-mt-40\" />\n </div>\n );\n\n if (!isSearching) {\n Comp = searchTerm === \"\" ? <NoSearch /> : <NoResults />;\n }\n return Comp;\n };\n const debouncedSearchTerm = useDebounce(searchTerm, 500);\n useEffect(() => {\n const controller = new AbortController();\n if (debouncedSearchTerm > \"\") {\n const dt = { q: debouncedSearchTerm, placePartnersOnly: true, scope: searchTab };\n if (searchTab === \"google_place\") {\n dt.q = debouncedSearchTerm.value;\n }\n callPartnersSearch({\n controller,\n data: dt,\n });\n } else {\n changeIsSearching(false);\n }\n return () => {\n controller.abort();\n };\n }, [debouncedSearchTerm, searchTab]);\n\n return results?.length > 0 && !isSearching ? <ResultsTable /> : getEmptyMessage();\n};\n\nconst mapStateToProps = (state) => ({\n searchTab: state.partnerSearch.searchTab,\n searchTerm: state.partnerSearch.searchTerm,\n results: state.partnerSearch.results,\n isSearching: state.partnerSearch.isSearching,\n});\n\nResults.propTypes = {\n searchTab: PropTypes.string.isRequired,\n searchTerm: PropTypes.string.isRequired,\n isSearching: PropTypes.bool.isRequired,\n results: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n changeIsSearching: PropTypes.func.isRequired,\n callPartnersSearch: PropTypes.func.isRequired,\n};\n\nexport default connect(mapStateToProps, { ...creators, ...thunks })(Results);\n","import React from \"react\";\nimport Header from \"./components/Header\";\nimport Results from \"./components/Results\";\n\nexport default () => (\n <div className=\"tw-bg-white tw-h-full tw-overflow-y-auto tw-px-[16px] tw-pb-[16px]\">\n <Header />\n <Results />\n </div>\n);\n","/* eslint-disable no-cond-assign */\nimport React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport View from \"./view\";\n\nconst Index = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n <Provider store={store}>\n <View />\n </Provider>\n );\n};\n\nexport default Index;\n","import { useEffect, useState } from \"react\";\n\nconst getQueryParams = () => Object.fromEntries(new URLSearchParams(window.location.search).entries());\n\nexport default () => {\n const [fullPath, setFullPath] = useState(`${window.location.pathname}${window.location.search}`);\n const [pathname, setPathname] = useState(window.location.pathname);\n const [query, setQuery] = useState(getQueryParams());\n\n useEffect(() => {\n const onPushPopState = () => {\n setFullPath(`${window.location.pathname}${window.location.search}`);\n setPathname(window.location.pathname);\n setQuery(getQueryParams());\n };\n window.addEventListener(\"popstate\", onPushPopState);\n window.addEventListener(\"pushstate\", onPushPopState);\n return () => {\n window.removeEventListener(\"popstate\", onPushPopState);\n window.removeEventListener(\"pushstate\", onPushPopState);\n };\n }, []);\n\n return {\n back: () => window.history.back(),\n fullPath,\n pathname,\n push: (url) => {\n const pushStateEvent = new CustomEvent(\"pushstate\");\n window.history.pushState(null, null, url);\n window.dispatchEvent(pushStateEvent);\n },\n query,\n };\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"interactTabsList\":\"oRmg8kAcWAMTbdy49gwQ\",\"interactTab\":\"k4cW9awlPHwQcc3NL4sk\",\"activeTab\":\"qk3CcvJOhLjZv97g1QJD\",\"interactTextInput\":\"uH0PX4tK6EX1vD58nVUD\",\"interactToLabel\":\"D25vhIAFW4XSOCZo1Pf6\",\"interactSelect\":\"ucps30sdsSNZSdHDf_gS\",\"smsConversationWrapper\":\"PXednoc8IdXLbBJKyVf5\",\"smsLoadingState\":\"YSTRtS1_ZUcw92kMdlI_\",\"mediaBubble\":\"tOay60bBBcVdzUpwxtVc\",\"chatBubble\":\"DwXAdyDHsL5eWvrYsGhb\",\"chatBubbleFromClient\":\"_tFxkpfkglFlQKbP9B54\",\"chatBubbleFromAgent\":\"_SYAGA8eu3JZ_dDJw8F5\",\"chatAvatar\":\"u60XK0f5TG53xK9vsHoW\",\"chatAvatarInitials\":\"OnKPevxUPimu1cpYKbLF\",\"disabledTab\":\"dI394luj6BPkI99OUWYN\",\"starOnPDP\":\"wgb5TTxwJdVdThnvhLWr\",\"note_modal_footer\":\"Ve5Iv7wNghUg_oVuN8FN\",\"note_delte_button\":\"bnN8HrSs0og1fbv_cuV5\"};","import React, { Component } from \"react\";\nimport { Col, FormControl, FormGroup, Row } from \"react-bootstrap\";\nimport { Dropdown } from \"../../shared/v1\";\nimport interact_css from \"./person_interactions.module.css\";\nimport person_detail_css from \"./person-detail-styles.module.css\";\nimport DatePicker from \"../../shared/DatePicker\";\nimport moment from \"moment\";\nimport AiAssistant from \"../../shared/AiAssistant/AiAssistant\";\nimport Button from \"@shared/v2/Button\";\n\nclass PersonOtherInteractionForm extends Component {\n constructor(props) {\n super(props);\n this.state = {\n brivityOtherInteractionWrapper: {\n interaction_type: \"other\",\n comment: \"\",\n contingency_rule: {},\n contingent: false,\n externally_visible: false,\n interacted_at: moment(),\n marked_as_read: true,\n person_id: this.props.person.data.attributes.id,\n user_id: this.props.current_user_id,\n person_details_page: \"true\",\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n };\n }\n\n handleChange(name, value) {\n this.setState((prevState) => ({\n brivityOtherInteractionWrapper: {\n ...prevState.brivityOtherInteractionWrapper,\n [name]: value,\n },\n }));\n }\n\n handleDateChange(value) {\n const newDate = moment(value);\n this.setState((prevState) => ({\n brivityOtherInteractionWrapper: {\n ...prevState.brivityOtherInteractionWrapper,\n interacted_at: newDate,\n },\n }));\n }\n\n submitInteraction = () => {\n const { submitOtherInteraction } = this.props;\n submitOtherInteraction(\n this.props.person.meta.interactions_url,\n this.state.brivityOtherInteractionWrapper,\n );\n this.handleChange(\"interaction_type\", this.state.brivityOtherInteractionWrapper.interaction_type);\n this.handleChange(\"comment\", \"\");\n this.handleChange(\"interacted_at\", moment());\n };\n\n clearInteraction = () => {\n this.setState({\n brivityOtherInteractionWrapper: {\n interaction_type: \"Other\",\n comment: \"\",\n contingency_rule: {},\n contingent: false,\n externally_visible: false,\n interacted_at: moment(),\n marked_as_read: true,\n person_details_page: \"true\",\n },\n });\n this.refs.datepicker?.clear();\n };\n\n render() {\n const {\n brivityOtherInteractionWrapper: { interaction_type: interactionType },\n } = this.state;\n const selectedInteractionType = interactionType === -1 ? null : interactionType;\n\n return (\n <div>\n <Row>\n <Col sm={6} xs={12}>\n <label className={person_detail_css.personDetailLabel}>DATE </label>\n <DatePicker\n timeFormat={false}\n name={\"interacted_at\"}\n selected={this.state.brivityOtherInteractionWrapper.interacted_at}\n onChange={(value) => this.handleDateChange(value)}\n value={this.state.brivityOtherInteractionWrapper.interacted_at}\n />\n </Col>\n <Col sm={6} xs={12}>\n <label className={person_detail_css.personDetailLabel}>TYPE </label>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n options={[\n { label: \"Other\", value: \"other\" },\n { label: \"Pop By\", value: \"pop_by\" },\n { label: \"Mail\", value: \"mail\" },\n { label: \"Social Media\", value: \"social_media\" },\n ]}\n onChange={(option) => this.handleChange(\"interaction_type\", option.value)}\n placeholder=\"Select...\"\n value={selectedInteractionType}\n variant=\"flatBlueishGray\"\n />\n </Col>\n </Row>\n <Row>\n <Col xs={12} className=\"m-t-10\">\n <FormGroup style={{ marginBottom: \"-3px\" }}>\n <div className=\"tw-flex tw-justify-between tw-items-end tw-mb-[8px]\">\n <label className={person_detail_css.personDetailLabel}>NOTES</label>\n <AiAssistant\n textareaId=\"other-input\"\n messageType=\"Generic\"\n onInsertClick={(text) => this.handleChange(\"comment\", text)}\n />\n </div>\n <FormControl\n id=\"other-input\"\n componentClass=\"textarea\"\n placeholder=\"Leave a note...\"\n bsClass={interact_css.interactTextInput}\n value={this.state.brivityOtherInteractionWrapper.comment}\n name=\"comment\"\n onChange={(e) => this.handleChange(e.target.name, e.target.value)}\n />\n </FormGroup>\n </Col>\n </Row>\n <br />\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-space-between\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={this.clearInteraction}>\n Clear\n </Button>\n <Button size=\"medium\" onClick={this.submitInteraction}>\n Save\n </Button>\n </div>\n </Col>\n </Row>\n </div>\n );\n }\n}\n\nexport default PersonOtherInteractionForm;\n","import React, { useEffect, useState } from \"react\";\nimport MentionablePersonTextArea from \"../../shared/mentions/MentionablePersonTextArea\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Button from \"@shared/v2/Button\";\n\nconst PersonInteractionsNoteForm = ({\n hideCancel,\n isEditing,\n isExternal,\n notableId,\n notableType,\n note,\n onClose,\n onDelete,\n onDiscard,\n submitNote,\n type,\n}) => {\n const [state, setState] = useState({\n note: note || {\n content: \"\",\n notable_id: notableId,\n notable_type: notableType,\n externally_visible: false,\n starred: false,\n },\n });\n\n useEffect(() => {\n setState((state) => ({ note: { ...state.note, notable_id: notableId } }));\n }, [notableId]);\n\n const updateNote = (value) => {\n setState((state) => ({ note: { ...state.note, content: value } }));\n };\n\n const toggleStarred = (starred) => {\n setState((state) => ({ note: { ...state.note, starred } }));\n };\n\n const toggleVisibility = (externally_visible) => {\n setState((state) => ({ note: { ...state.note, externally_visible } }));\n };\n\n const saveNote = () => {\n if (\n isEditing &&\n state.note.content === note.content &&\n state.note.starred === note.starred &&\n state.note.externally_visible === note.externally_visible\n ) {\n onClose();\n } else {\n submitNote(state.note);\n onClose?.();\n }\n setState((state) => ({ note: { ...state.note, content: \"\" } }));\n };\n\n return (\n <>\n {notableType !== \"Person\" && !isExternal && (\n <div className=\"tw-flex tw-justify-between tw-mb-16px tw-flex-1\">\n <div className=\"tw-flex tw-items-center\">\n <div style={{ marginRight: \"12px\" }}>\n <IconButton\n type=\"button\"\n size=\"small\"\n schema={\n state.note.externally_visible && [\"Listing\", \"Project\", \"Person\"].includes(notableType)\n ? \"primary\"\n : \"tertiary\"\n }\n onClick={() => toggleVisibility(!state.note.externally_visible)}\n >\n <i\n className={`fa fa-eye${state.note.externally_visible ? \"\" : \"-slash\"} ${\n notableType === \"Person\" && \"tw-cursor-not-allowed\"\n } tw-text-[14px]`}\n />\n </IconButton>\n </div>\n <div className=\"tw-text-[12px] tw-inline-block tw-font-semibold\">\n {state.note.externally_visible\n ? \"Notes are visible to viewers\"\n : \"Notes are hidden from viewers\"}\n </div>\n </div>\n <div className=\"tw-flex tw-items-center\">\n <div className=\"tw-text-[12px] tw-ml-[5px] tw-font-semibold\">\n {state.note.starred ? \"Marked as important\" : \"Mark as important\"}\n </div>\n <div style={{ marginLeft: \"12px\" }}>\n <IconButton\n className=\"tw-mr-[5px]\"\n type=\"button\"\n size=\"small\"\n schema={state.note.starred ? \"starred-yellow\" : \"tertiary\"}\n onClick={() => toggleStarred(!state.note.starred)}\n >\n <i className={`fa fa-star${state.note.starred ? \"\" : \"-o\"} tw-text-[14px]`} />\n </IconButton>\n </div>\n </div>\n </div>\n )}\n\n {notableType === \"Person\" && (\n <div className=\"tw-flex tw-justify-between tw-mb-16px\">\n <div>\n <div className=\"fa fa-eye-slash tw-cursor-not-allowed tw-text-[14px]\" />\n <div className=\"tw-text-[12px] tw-inline-block tw-ml-[10px] tw-font-normal\">\n {state.note.externally_visible\n ? \"Notes are visible to viewers\"\n : \"Notes are hidden from viewers\"}\n </div>\n </div>\n <div className=\"tw-flex tw-items-center tw-gap-[16px]\">\n <AiAssistant\n textareaId=\"mentions-input\"\n messageType=\"Generic\"\n onInsertClick={(text) => updateNote(text)}\n />\n <div className=\"tw-flex tw-items-center tw-gap-[8px]\">\n <div className=\"tw-text-[12px] tw-inline-block tw-font-semibold\">\n {state.note.starred ? \"Marked as important\" : \"Mark as important\"}\n </div>\n <IconButton\n type=\"button\"\n size=\"small\"\n schema={state.note.starred ? \"starred-yellow\" : \"tertiary\"}\n onClick={() => toggleStarred(!state.note.starred)}\n >\n <i className={`fa fa-star${state.note.starred ? \"\" : \"-o\"} tw-text-[14px]`} />\n </IconButton>\n </div>\n </div>\n </div>\n )}\n\n <MentionablePersonTextArea\n id=\"mentions-input\"\n value={state.note.content}\n mentionable_id={state.note.notable_id}\n mentionable_type={state.note.notable_type}\n onChange={updateNote}\n isExternal={isExternal}\n />\n\n {!isExternal && (\n <div className=\"tw-flex tw-justify-between tw-mt-[32px]\">\n {hideCancel ? (\n <span />\n ) : (\n <Button\n size=\"medium\"\n schema=\"tertiary\"\n onClick={() => {\n if (\n note &&\n (state.note.content !== note.content ||\n state.note.starred !== note.starred ||\n state.note.externally_visible !== note.externally_visible)\n ) {\n onDiscard();\n } else {\n onClose();\n }\n }}\n >\n Cancel\n </Button>\n )}\n <div className=\"tw-flex tw-gap-[8px]\">\n {isEditing && (\n <Button size=\"medium\" schema=\"warning\" onClick={onDelete}>\n Delete\n </Button>\n )}\n <Button size=\"medium\" disabled={!state.note.content.length} onClick={() => saveNote()}>\n {type === \"Transaction\" ? \"Add Note\" : \"Save\"}\n </Button>\n </div>\n </div>\n )}\n </>\n );\n};\n\nexport default PersonInteractionsNoteForm;\n","import React, { useEffect, useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Alert from \"@shared/v2/Alert\";\nimport CallBar from \"./components/CallBar\";\nimport useDialer from \"./hooks/useDialer\";\nimport Loading from \"../Goals/components/Loader\";\nimport CallOutcome from \"./components/CallOutcome\";\nimport CallNotes from \"./components/CallNotes\";\nimport CallButton from \"./components/CallButton\";\nimport SinglePerson from \"./components/SinglePerson\";\nimport PlatformMessage from \"./components/PlatformMessage\";\n\nimport {\n DIALER_INLINE_NAME,\n checkValidLeads,\n createDialerSession,\n endCall,\n getPersonAndNumbers,\n logCall,\n startRecording,\n stopRecording,\n // non-async\n actionCableUpdateReceivedInline,\n setCallStateInline,\n setPhoneNumberInline,\n clearSessionInline,\n setCallOutcomeInline,\n setCommentInline,\n setCallParamsInline,\n setDurationInline,\n} from \"../reducers/dialerReducer/dialerReducer\";\n\nimport {\n useCallOutcome,\n useCallState,\n useConference,\n useError,\n useLoading,\n usePerson,\n usePhoneNumber,\n usePhoneNumbers,\n useSession,\n useValidLeads,\n useIsRecording,\n useComment,\n} from \"../reducers/dialerReducer/selectors\";\n\n// To use pass in the leadUuid prop containing a person uuid\nconst SingleDialer = ({ leadUuid }) => {\n const leadUuids = useMemo(() => [leadUuid], [leadUuid]);\n\n const callOutcome = useCallOutcome(DIALER_INLINE_NAME);\n const callState = useCallState(DIALER_INLINE_NAME);\n const isRecording = useIsRecording(DIALER_INLINE_NAME);\n const conference = useConference(DIALER_INLINE_NAME);\n const error = useError(DIALER_INLINE_NAME);\n const loading = useLoading(DIALER_INLINE_NAME);\n const person = usePerson(DIALER_INLINE_NAME);\n const note = useComment(DIALER_INLINE_NAME);\n const phoneNumber = usePhoneNumber(DIALER_INLINE_NAME);\n const phoneNumbers = usePhoneNumbers(DIALER_INLINE_NAME);\n const session = useSession(DIALER_INLINE_NAME);\n const validLeads = useValidLeads(DIALER_INLINE_NAME);\n\n const strtRec = startRecording(DIALER_INLINE_NAME);\n const stpRec = stopRecording(DIALER_INLINE_NAME);\n\n const { actions, disconnectDialer } = useDialer({\n actions: {\n checkValidLeads: checkValidLeads(DIALER_INLINE_NAME),\n createDialerSession: createDialerSession(DIALER_INLINE_NAME),\n endCall: endCall(DIALER_INLINE_NAME),\n getPersonAndNumbers: getPersonAndNumbers(DIALER_INLINE_NAME),\n logCall: logCall(DIALER_INLINE_NAME),\n startRecording: strtRec,\n stopRecording: stpRec,\n actionCableUpdateReceived: actionCableUpdateReceivedInline,\n setCallState: setCallStateInline,\n setPhoneNumber: setPhoneNumberInline,\n clearSession: clearSessionInline,\n setCallOutcome: setCallOutcomeInline,\n setComment: setCommentInline,\n setCallParams: setCallParamsInline,\n },\n selectors: {\n callOutcome,\n callState,\n conference,\n leadUuids,\n loading,\n person,\n phoneNumber,\n phoneNumbers,\n session,\n validLeads,\n },\n });\n useEffect(() => {\n actions.setCallParams({ leadUuids, callSource: \"Person Detail Page\" });\n }, [leadUuids]);\n\n useEffect(\n () => () => {\n disconnectDialer();\n actions.setCallParams();\n },\n [],\n );\n\n return (\n <div className=\"tw-relative tw-flex tw-flex-col tw-gap-[24px]\">\n <PlatformMessage />\n\n <div className=\"tw-flex tw-justify-between tw-items-end\">\n <SinglePerson\n loading={loading}\n callState={callState}\n person={person}\n phoneNumbers={phoneNumbers}\n phoneNumber={phoneNumber}\n setPhoneNumber={setPhoneNumberInline}\n />\n <CallButton callState={callState} phoneNumber={phoneNumber} setCallState={setCallStateInline} />\n </div>\n <CallBar\n callState={callState}\n isRecording={isRecording}\n conference={conference}\n startRecording={strtRec}\n stopRecording={stpRec}\n setDuration={setDurationInline}\n />\n <CallOutcome callOutcome={callOutcome} setCallOutcome={setCallOutcomeInline} />\n <CallNotes\n isDnc={phoneNumber?.meta.isDnc}\n mentionableIdOrUuid={person?.uuid}\n mentionableType=\"Person\"\n note={note}\n setComment={setCommentInline}\n />\n\n {error && <Alert variant=\"error\" text={error} />}\n\n <div className=\"tw-flex tw-justify-between\">\n <Button\n schema=\"tertiary\"\n size=\"medium\"\n onClick={() => {\n actions.setCallOutcome(null);\n actions.setComment(\"\");\n }}\n >\n Clear\n </Button>\n <Button size=\"medium\" onClick={() => actions.logCall()} disabled={!callOutcome}>\n Save & Log Call\n </Button>\n </div>\n {loading && <Loading />}\n </div>\n );\n};\n\nSingleDialer.propTypes = {\n leadUuid: PropTypes.string,\n};\n\nSingleDialer.defaultProps = {\n leadUuid: null,\n};\n\nexport default SingleDialer;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport interact_css from \"./person_interactions.module.css\";\nimport { Tab, Tabs, TabList, TabPanel } from \"react-tabs\";\nimport { viewPhoneFromFastJsonApi } from \"../../shared/models/Communications/viewPhone\";\nimport PersonInteractionEmailForm from \"./PersonInteractionEmailForm\";\nimport SmsConversation from \"../../SmsConversation/components/SmsConversation\";\nimport PersonOtherInteractionForm from \"./PersonOtherInteractionForm\";\nimport PersonInteractionsNoteForm from \"./PersonInteractionsNoteForm\";\nimport TaskForm from \"../../Tasks/components/TaskForm\";\nimport * as actions from \"../actions/personDetailActionCreators\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { useMessagingServiceUrl } from \"../../reducers/messagingReducer/selectors\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport SingleDialer from \"../../Dialer/SingleDialer\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst TAB_PANEL_CLASS = \"tw-rounded-b-[4px] tw-hidden tw-bg-white tw-p-[20px]\";\n\nconst PersonInteractions = ({\n allAgents,\n gmailUnsynced,\n emailTemplates,\n appointmentOutcomes,\n accountMilestoneNames,\n setOpenAddAgreementModal,\n}) => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const featureFlags = useFeatureFlags();\n const person = useSelector((state) => state.personDetail.person);\n const gmailReplyThreadId = useSelector((state) => state.personDetail.gmailReplyThreadId);\n const gmailReplyThreadSubject = useSelector((state) => state.personDetail.gmailReplyThreadSubject);\n const additionalRecipientsVal = useSelector((state) => state.personDetail.additionalRecipientsVal);\n const CCval = useSelector((state) => state.personDetail.CCval);\n const BCCval = useSelector((state) => state.personDetail.BCCval);\n const sendEmailError = useSelector((state) => state.personDetail.sendEmailError);\n const isEmailSent = useSelector((state) => state.personDetail.isEmailSent);\n const selectedInteractionTab = useSelector((state) => state.personDetail.selectedInteractionTab);\n const defaultHomeAppTabContent = useSelector((state) => state.personDetail.defaultHomeAppTabContent);\n const task = useSelector((state) => state.personDetail.task);\n const messagingServiceUrl = useMessagingServiceUrl();\n const [appointmentErrors, setAppointmentErrors] = useState(null);\n\n const updatePersonData = (data) => dispatch(actions.updatePersonData(data));\n const touchHomeAppInviteSent = (id) => dispatch(actions.touchHomeAppInviteSent(id));\n const submitNote = (...args) => dispatch(actions.submitNote(...args));\n const submitEmail = (...args) => dispatch(actions.submitEmail(...args));\n const handleSubmitEmailError = (...args) => dispatch(actions.handleSubmitEmailError(...args));\n const addSmsToTimeline = (...args) => dispatch(actions.addSmsToTimeline(...args));\n const submitAppointment = (...args) => dispatch(actions.submitAppointment(...args));\n const closeAddAppointmentModal = () => dispatch(actions.closeAddAppointmentModal());\n const submitOtherInteraction = (...args) => dispatch(actions.submitOtherInteraction(...args));\n\n const showAppointmentErrors = (messages) => {\n setAppointmentErrors(messages);\n };\n\n const detailsObjects = (type) => {\n return person.included?.filter((a) => a.type === type).map((a) => a.attributes) || [];\n };\n\n const callTitle = (platform, disabled) => {\n if (!disabled) {\n return undefined;\n }\n if (!platform) {\n return \"The dialer is a Brivity Platform feature - call (866) 295-3322 or email sales@brivity.com to upgrade!\";\n }\n return \"No Phone Number\";\n };\n\n const textTitle = (platform, disabled) => {\n if (!disabled) {\n return undefined;\n }\n if (!platform) {\n return \"Texting is a Brivity Platform feature - call (866) 295-3322 or email sales@brivity.com to upgrade!\";\n }\n return \"No Phone Number\";\n };\n\n const selectInteractionTab = (tabIndex) => {\n if (tabIndex === 1) {\n dispatch(actions.setGmailReplyThread(null, null, [], [], []));\n }\n dispatch(actions.setInteractionTab(tabIndex));\n dispatch(actions.clearInteractionTabContent());\n };\n\n const emailDisabledMessage = () => {\n if (detailsObjects(\"email_detail\").length < 1) {\n return \"No Email Address\";\n }\n };\n\n const setAgentsForModal = () => {\n const agents = [];\n for (const obj in allAgents) {\n const agent = allAgents[obj];\n agents.push({ label: agent.full_name, value: agent.uuid, email: agent.email });\n }\n return agents;\n };\n\n //TODO: if using defaultHomeAppTabContent for setting default tab content from somewhere other than Home App card, then we should rename this prop\n //See comments in PersonInteractionEmailForm and SmsConversation\n const emailTabDisabled = detailsObjects(\"email_detail\").length < 1;\n const callTabDisabled =\n !featureFlags.platformAccount || person.data?.attributes.primary_phone_number.length < 1;\n const smsTabDisabled =\n !featureFlags.platformAccount || person.data?.attributes.primary_phone_number.length < 1;\n const default_agents = [{ label: \"Anyone\", value: \"anyone\" }];\n\n const phones =\n person.included?.filter((detail) => detail.type === \"phone_detail\").map(viewPhoneFromFastJsonApi) || [];\n const primaryPhone =\n phones.find((phone) => phone.isPrimary) ||\n // fallback logic, as some phone have null position and some collections have numbers, but not 0\n phones.sort((a, b) => a.position - b.position)[0];\n\n useEffect(() => {\n if (!person.data?.id) return;\n const urlParams = new URLSearchParams(window.location.search);\n const tab = urlParams.get(\"tab\");\n if (tab) {\n let tabNumber = parseInt(tab, 10);\n if (isNaN(tabNumber)) {\n tabNumber = 0;\n }\n selectInteractionTab(tabNumber);\n }\n }, [person.data?.id]);\n\n return (\n <div className=\"tw-shadow-tdp-card tw-relative\">\n {!person.data && <Loading />}\n <Tabs\n className={interact_css.interactTabsWrapper}\n selectedTabClassName={interact_css.activeTab}\n selectedIndex={selectedInteractionTab}\n onSelect={(index) => selectInteractionTab(index)}\n >\n <TabList className={interact_css.interactTabsList}>\n <Tab className={interact_css.interactTab}>Note</Tab>\n <Tab\n className={interact_css.interactTab}\n disabledClassName={interact_css.disabledTab}\n disabled={emailTabDisabled}\n >\n {emailTabDisabled ? (\n <Tooltip placement=\"bottom\" trigger=\"Email\" content={emailDisabledMessage()} />\n ) : (\n \"Email\"\n )}\n </Tab>\n <Tab\n className={interact_css.interactTab}\n disabledClassName={interact_css.disabledTab}\n disabled={callTabDisabled}\n >\n {callTabDisabled ? (\n <Tooltip\n placement=\"bottom\"\n trigger=\"Call\"\n content={callTitle(featureFlags.platformAccount, callTabDisabled)}\n />\n ) : (\n \"Call\"\n )}\n </Tab>\n <Tab\n className={interact_css.interactTab}\n disabledClassName={interact_css.disabledTab}\n disabled={smsTabDisabled}\n >\n {smsTabDisabled ? (\n <Tooltip\n placement=\"bottom\"\n trigger=\"Text\"\n content={textTitle(featureFlags.platformAccount, smsTabDisabled)}\n />\n ) : (\n \"Text\"\n )}\n </Tab>\n <Tab className={interact_css.interactTab}>Appointment</Tab>\n <Tab className={interact_css.interactTab}>Other</Tab>\n </TabList>\n\n <TabPanel className={TAB_PANEL_CLASS} selectedClassName=\"!tw-block\">\n <div className=\"tw-flex tw-flex-col tw-max-h-[400px]\">\n <PersonInteractionsNoteForm\n hideCancel\n person={person}\n submitNote={submitNote}\n notableId={person.data?.id}\n notableType=\"Person\"\n />\n </div>\n </TabPanel>\n <TabPanel className={TAB_PANEL_CLASS} selectedClassName=\"!tw-block\">\n <PersonInteractionEmailForm\n person={person}\n updatePersonData={updatePersonData}\n submitEmail={submitEmail}\n handleSubmitEmailError={handleSubmitEmailError}\n send_email_url={person.send_email_url}\n current_user_id={currentUser.id}\n email_templates={emailTemplates}\n gmailReplyThreadId={gmailReplyThreadId}\n additionalRecipientsVal={additionalRecipientsVal}\n CCval={CCval}\n BCCval={BCCval}\n gmailReplyThreadSubject={gmailReplyThreadSubject}\n sendEmailError={sendEmailError}\n isEmailSent={isEmailSent}\n defaultHomeAppTabContent={defaultHomeAppTabContent}\n gmailUnsynced={gmailUnsynced}\n />\n </TabPanel>\n <TabPanel className={TAB_PANEL_CLASS} selectedClassName=\"!tw-block\">\n <SingleDialer leadUuid={person?.data?.attributes?.uuid} />\n </TabPanel>\n <TabPanel className={TAB_PANEL_CLASS} selectedClassName=\"!tw-block\">\n <SmsConversation\n messagingServiceUrl={messagingServiceUrl}\n personUuid={person.data?.attributes.uuid}\n personId={person.data?.attributes.id}\n personName={`${person.data?.attributes.first_name} ${person.data?.attributes.last_name}`}\n personPhoneNumber={person.data?.attributes.primary_phone_number}\n addSmsToTimeline={addSmsToTimeline}\n defaultHomeAppTabContent={defaultHomeAppTabContent}\n touchHomeAppInviteSent={touchHomeAppInviteSent}\n primaryPhone={primaryPhone}\n />\n </TabPanel>\n <TabPanel className={`${TAB_PANEL_CLASS} interact-tab`} selectedClassName=\"!tw-block\">\n <div className=\"tw-m-[-15px]\">\n <TaskForm\n agents={default_agents.concat(setAgentsForModal())}\n accountUuid={currentUser.account.uuid}\n current_user_id={currentUser.id}\n showErrors={showAppointmentErrors}\n errors={appointmentErrors}\n person={person}\n appointment_outcomes={appointmentOutcomes}\n submitAppointment={submitAppointment}\n closeModal={closeAddAppointmentModal}\n agreementCallBack={setOpenAddAgreementModal}\n isCreatingAppointment={true}\n task={task}\n accountMilestoneNames={accountMilestoneNames}\n user={currentUser}\n contactEmail={person.data?.attributes.main_email}\n hideCancel\n />\n </div>\n </TabPanel>\n <TabPanel className={`${TAB_PANEL_CLASS} interact-tab`} selectedClassName=\"!tw-block\">\n <PersonOtherInteractionForm\n person={person}\n current_user_id={currentUser.id}\n submitOtherInteraction={submitOtherInteraction}\n />\n </TabPanel>\n </Tabs>\n </div>\n );\n};\n\nexport default PersonInteractions;\n","import React from \"react\";\nimport ChevronDownSolidV3 from \"../../../shared/v2/Icomoon/Icons/ChevronDownSolidV3\";\n\nconst getIntentClass = (type) => {\n switch (type) {\n case \"seller\":\n return \"tw-text-semantic-yellow-110 tw-border-semantic-yellow-10 hover:tw-border-semantic-yellow-25 active:tw-border-semantic-yellow-50 tw-outline-current\";\n case \"seller/buyer\":\n return \"tw-text-semantic-purple-110 tw-border-semantic-purple-10 hover:tw-border-semantic-purple-25 active:tw-border-semantic-purple-50 tw-outline-current\";\n case \"tenant\":\n return \"tw-text-semantic-green-110 tw-border-semantic-green-10 hover:tw-border-semantic-green-25 active:tw-border-semantic-green-50 tw-outline-current\";\n case \"landlord\":\n return \"tw-text-semantic-red-110 tw-border-semantic-red-10 hover:tw-border-semantic-red-25 active:tw-border-semantic-red-50 tw-outline-current\";\n case \"recruit\":\n return \"tw-text-semantic-orange-110 tw-border-semantic-orange-10 hover:tw-border-semantic-orange-25 active:tw-border-semantic-orange-50 tw-outline-current\";\n case \"candidate\":\n return \"tw-text-semantic-pink-110 tw-border-semantic-pink-10 hover:tw-border-semantic-pink-25 active:tw-border-semantic-pink-50 tw-outline-current\";\n case \"n/a\":\n return \"tw-text-neutral-gray-75 tw-border-neutral-gray-10 hover:tw-border-neutral-gray-30 active:tw-border-neutral-gray-50 tw-outline-current\";\n default:\n return \"tw-text-semantic-blue-110 tw-border-semantic-blue-10 hover:tw-border-semantic-blue-25 active:tw-border-semantic-blue-50 tw-outline-current\";\n }\n};\n\nconst IntentButton = ({ className = \"\", isMenu, label, onClick, type, ...props }) => (\n <button\n onClick={onClick}\n className={`tw-bg-white tw-whitespace-nowrap tw-text-11d tw-leading-[16px] tw-font-bold tw-border-[2px] tw-border-solid tw-rounded-[4px] tw-px-[8px] tw-py-[2px] tw-uppercase ${isMenu ? \"tw-min-w-[120px]\" : \"\"\n } ${getIntentClass(type)} ${className}`}\n {...props}\n >\n {label == \"N/A\" ? \"NONE\" : label}{\" \"}\n {isMenu && <ChevronDownSolidV3 size=\"s\" className=\"tw-stroke-current\" />}\n </button>\n);\n\nexport default IntentButton;\n","import React, { useCallback, useRef, useState } from \"react\";\nimport { produce } from \"immer\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useClickOutside } from \"../../../shared/hookHelpers\";\nimport IntentButton from \"./IntentButton\";\nimport { updatePerson } from \"../../actions/personDetailActionCreators\";\n\nconst IntentDropdown = ({ className }) => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const ref = useRef();\n const [expanded, setExpanded] = useState(false);\n const closeMenu = useCallback(() => setExpanded(false), []);\n useClickOutside(ref, closeMenu, true);\n\n const updateValue = (key, value) => {\n setExpanded(false);\n dispatch(\n updatePerson(\n produce(person, (draft) => {\n draft.data.attributes[key] = value;\n }),\n ),\n );\n };\n\n const currentLabel =\n person.meta?.intent_options.find(([, value]) => value === person.data.attributes.lead_type)?.[0] ||\n \"Unknown\";\n\n if (!person.data) return null;\n\n return (\n <div ref={ref} className={`tw-relative ${className}`}>\n <IntentButton\n isMenu\n label={currentLabel}\n onClick={() => setExpanded((exp) => !exp)}\n type={person.data.attributes.lead_type}\n />\n {expanded && (\n <div className=\"tw-z-2 tw-absolute tw-w-[144px] tw-left-[50%] tw-translate-x-[-50%] tw-top-[100%] tw-p-[12px] tw-flex tw-flex-col tw-gap-[8px] tw-rounded-[8px] tw-bg-white tw-shadow-dropdown\">\n {person.meta.intent_options.map(([name, value]) => (\n <IntentButton\n key={value}\n label={name}\n type={value}\n onClick={() => updateValue(\"lead_type\", value)}\n />\n ))}\n </div>\n )}\n </div>\n );\n};\n\nexport default IntentDropdown;\n","import React from \"react\";\nimport statusIntentCss from \"./statusIntentDropdown.module.css\";\n\nconst DropdownOptions = ({ options, editValue, editKey }) => (\n <div className={statusIntentCss.content}>\n {options.map((s => (\n <div\n key={s[1]}\n onClick={(e) => editValue(editKey, s[1])}\n className={`${statusIntentCss.selectedFrequencyText} ${statusIntentCss.statusFrequencyOption}`}\n >\n <div className={`${statusIntentCss.selectedFrequencyTextalign}`}>{s[0]}</div>\n </div>\n )\n ))}\n </div>\n);\n\nexport default DropdownOptions;\n","import React, { useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport statusIntentCss from \"./statusIntentDropdown.module.css\";\nimport button from \"./button.module.css\";\nimport DropdownOptions from \"./DropdownOptions\";\nimport { updatePerson } from \"../actions/personDetailActionCreators\";\nimport { produce } from \"immer\";\n\nconst FREQUENCY_OPTIONS = [\n [\"Daily\", \"daily\"],\n [\"Weekly\", \"weekly\"],\n [\"Never\", \"never\"],\n];\n\nfunction FrequencyDropdown() {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const [expanded, setExpanded] = useState(false);\n\n const editValue = (key, value) => {\n setExpanded(false);\n dispatch(\n updatePerson(\n produce(person, (draft) => {\n draft.data.attributes[key] = value;\n }),\n ),\n );\n };\n\n if (!person.data) return null;\n\n return (\n <div\n className={`tw-p-[0px] ${button.btnSm} ${button.btnDropdown} ${statusIntentCss.selectedStatusIntent} ${\n expanded && statusIntentCss.active\n }`}\n tabIndex=\"0\"\n onClick={() => {\n setExpanded(!expanded);\n }}\n onBlur={() => {\n setExpanded(false);\n }}\n >\n <div className={statusIntentCss.statusIntentButton}>\n {FREQUENCY_OPTIONS.map(\n (s) =>\n person.data.attributes.default_email_frequency == s[1] && (\n <span key={s[1]} className={statusIntentCss.selectedFrequencyText}>\n {s[0]}\n <i className=\"fa fa-caret-down tw-ml-[6px]\" />\n </span>\n ),\n )}\n {expanded && (\n <DropdownOptions\n options={FREQUENCY_OPTIONS}\n editValue={editValue}\n editKey={\"default_email_frequency\"}\n />\n )}\n </div>\n </div>\n );\n}\n\nexport default FrequencyDropdown;\n","import { useMemo } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst useIsEditable = () => {\n const currentUser = useCurrentUser();\n const person = useSelector((state) => state.personDetail.person);\n\n const isEditable = useMemo(() => {\n const isUser =\n person.personType === \"Agent\" ||\n person.personType === \"Administrator\" ||\n person.personType === \"Account Owner\";\n const isSelf = String(currentUser.person.id) === person.data?.id;\n return currentUser.account.isAdmin || isSelf || !isUser;\n }, [currentUser, person.personType, person.data?.id]);\n\n return isEditable;\n};\n\nexport default useIsEditable;\n","import React, { useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { produce } from \"immer\";\nimport moment from \"moment\";\nimport { Row, Col } from \"react-bootstrap\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Button from \"@shared/v2/Button\";\nimport {\n ChevronDownSolidV6,\n ChevronLeftSolidV6,\n ChevronRightSolidV6,\n MergeSolidV6,\n PencilSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { upperFirst } from \"lodash\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport StatusDropdown from \"@shared/StatusDropdown\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport IntentDropdown from \"./IntentDropdown\";\nimport FrequencyDropdown from \"./FrequencyDropdown\";\nimport StagesDropDown from \"../../shared/StagesDropDown/StagesDropDown\";\nimport { openEditPersonModal, updatePerson } from \"../actions/personDetailActionCreators\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport * as contactMergeActions from \"../../reducers/contactMergeReducer\";\nimport css from \"./person-detail-styles.module.css\";\nimport icons from \"./icons.module.css\";\nimport useIsEditable from \"../shared/useIsEditable\";\n\nconst PersonInfo = () => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const person = useSelector((state) => state.personDetail.person);\n const prevPersonSlug = useSelector((state) => state.personDetail.previousSlug);\n const nextPersonSlug = useSelector((state) => state.personDetail.nextSlug);\n const [showEditPopover, setShowEditPopover] = useState(false);\n const personData = person.data?.attributes || {};\n\n const editButtonEnabled = useIsEditable();\n\n const editValue = (key, value) => {\n dispatch(\n updatePerson(\n produce(person, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.data.attributes[key] = value;\n }),\n ),\n );\n };\n const onUpdateStage = (stage) => {\n dispatch(\n updatePerson(\n produce(person, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.data.attributes.stage = stage.value;\n // eslint-disable-next-line no-param-reassign\n draft.data.attributes.stage_type = stage.type;\n }),\n ),\n );\n };\n\n const onUpdateStatus = (status) => {\n dispatch(\n updatePerson(\n produce(person, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.data.attributes.status = status;\n }),\n ),\n );\n };\n\n return (\n <div\n id=\"person-info-card\"\n className={`tw-relative tw-p-[20px] ${css.brivityPersonInfoCard} ${css.brivityCardBoxShadow}`}\n >\n {!person.data && <Loading />}\n <div className=\"tw-flex tw-justify-end tw-gap-[1px]\">\n <Button\n className={editButtonEnabled ? \"tw-rounded-r-none\" : \"\"}\n disabled={!editButtonEnabled}\n onClick={() => dispatch(openEditPersonModal())}\n >\n <PencilSolidV6 className=\"tw-mr-[4px]\" size=\"s\" />\n Edit\n </Button>\n {editButtonEnabled && (\n <Popover placement=\"bottom-end\" offset={2} open={showEditPopover} onOpenChange={setShowEditPopover}>\n <PopoverTrigger>\n <Button\n className=\"tw-rounded-l-none\"\n onClick={() => setShowEditPopover((o) => !o)}\n disabled={\n !currentUser.account.isAdmin ||\n String(currentUser.person.id) === String(person.data?.id) ||\n person.data?.attributes?.type_name !== \"lead\"\n }\n >\n <ChevronDownSolidV6 size=\"s\" />\n </Button>\n </PopoverTrigger>\n <PopoverContent>\n <PopoverItem\n onClick={() => {\n setShowEditPopover(false);\n dispatch(contactMergeActions.setOtherContact(null));\n dispatch(contactMergeActions.setModalIsOpen(true));\n }}\n icon={<MergeSolidV6 />}\n >\n Merge Leads\n </PopoverItem>\n </PopoverContent>\n </Popover>\n )}\n </div>\n\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <IconButton\n onClick={() => window.location.assign(`/people/${prevPersonSlug}`)}\n disabled={!prevPersonSlug}\n >\n <ChevronLeftSolidV6 />\n </IconButton>\n <Avatar\n src={personData.avatar_url}\n alt={`${personData.first_name || \"\"} ${personData.last_name || \"\"}`.trim()}\n size=\"extra-large\"\n />\n <IconButton\n onClick={() => window.location.assign(`/people/${nextPersonSlug}`)}\n disabled={!nextPersonSlug}\n >\n <ChevronRightSolidV6 />\n </IconButton>\n </div>\n\n <div className={css.brivityPersonDetailsWrapper}>\n <h4 className={css.brivityPersonDetailsName}>\n {`${personData.first_name || \"\"} ${personData.last_name || \"\"}`.trim() || \"No Name\"}\n </h4>\n <h6 className={css.brivityPersonDetailsSource}>\n <span className=\"tw-text-color-999 tw-text-[12px] tw-leading-[20px] tw-font-semibold\">SOURCE:</span>\n <span className=\"tw-ml-[8px] tw-text-neutral-grey-75 tw-text-[12px] tw-leading-[20px] tw-font-bold\">\n {personData.source}\n </span>\n </h6>\n <Tooltip\n placement=\"bottom\"\n trigger={\n <h6 className=\"tw-text-neutral-grey-75 tw-text-[12px] tw-leading-[16px] tw-font-bold\">\n Registered {moment(personData.created_at).format(\"MMMM Do YYYY\")}\n </h6>\n }\n content={personData.created_at_formatted}\n />\n <hr className=\"tw-my-16px tw-border-[1px] tw-border-gray-10 \" />\n <Row className=\"tw-px-[10px] tw-h-[24px]\">\n <Col xs={5} className=\"tw-p-0 tw-m-0\">\n <div className=\"tw-text-color-999 tw-text-left tw-text-[10px] tw-leading-[20px] tw-font-semibold\">\n LAST INTERACTION:\n </div>\n </Col>\n <Col xs={7} className=\"tw-p-0 tw-m-0\">\n <div\n className={`tw-text-left tw-text-[12px] tw-leading-[20px] tw-font-bold ${\n !personData.last_interacted_at ? \"tw-text-[#F2714D]\" : \"tw-text-neutral-grey-75\"\n }`}\n >\n {!personData.last_interacted_at ? \"None\" : moment(personData.last_interacted_at).fromNow()}\n </div>\n </Col>\n </Row>\n\n <Row className=\"tw-px-[10px] tw-h-[24px] tw-mt-[12px]\">\n <Col xs={5} className=\"tw-pt-[3px] tw-p-0 tw-m-0\">\n <div className=\"tw-text-color-999 tw-text-left tw-text-[10px] tw-leading-[20px] tw-font-semibold\">\n STAGE:\n </div>\n </Col>\n <Col xs={7} className=\"tw-p-0 tw-m-0\">\n {personData.type_name === \"lead\" ? (\n <StagesDropDown\n optionClassName=\"tw-h-[240px] tw-overflow-scroll\"\n selectedStage={personData.stage}\n onUpdateStage={onUpdateStage}\n />\n ) : (\n <div\n className=\"tw-flex tw-justify-start tw-flex-row tw-flex-nowrap tw-grow tw-shrink-0 tw-items-center\n tw-text-center tw-align-middle tw-w-[180px] tw-h-[24px] tw-text-neutral-gray-30 tw-text-11px tw-leading-[16px]\n tw-font-bold\"\n >\n <Tooltip\n placement=\"right\"\n trigger=\"None\"\n content=\"Stages are unavailable for this person type\"\n />\n </div>\n )}\n </Col>\n </Row>\n\n <Row className=\"tw-px-[10px] tw-h-[24px] tw-mt-[12px]\">\n <Col xs={5} className=\"tw-pt-[3px] tw-p-0 tw-m-0\">\n <div className=\"tw-text-color-999 tw-text-left tw-text-[10px] tw-leading-[20px] tw-font-semibold\">\n BRIVITY STATUS:\n </div>\n </Col>\n <Col xs={7} className=\"tw-p-0 tw-m-0\">\n <StatusDropdown\n person={person.data}\n className=\"tw-float-left\"\n onChange={onUpdateStatus}\n statusOptions={person.meta?.status_options.filter(([, value]) => value !== \"past\")}\n status={person.data?.attributes?.status || \"new\"}\n />\n </Col>\n </Row>\n {/* TODO: Users start of with a null lead_type. Do we want to dispaly anything */}\n {personData.lead_type && (\n <Row className=\"tw-px-[10px] tw-h-[24px] tw-mt-[12px]\">\n <Col xs={5} className=\"tw-pt-[3px] tw-p-0 tw-m-0\">\n <div className=\"tw-text-color-999 tw-text-left tw-text-[10px] tw-leading-[20px] tw-font-semibold\">\n INTENT:\n </div>\n </Col>\n <Col xs={7} className=\"tw-p-0 tw-m-0\">\n <IntentDropdown className=\"tw-float-left tw-ml-[0px]\" />\n </Col>\n </Row>\n )}\n <Row className=\"tw-px-[10px] tw-mt-[12px]\">\n <Col xs={5} className=\"tw-p-0 tw-m-0\">\n <div className=\"tw-text-color-999 tw-text-left tw-text-[10px] tw-leading-[20px] tw-font-semibold\">\n PERSON TYPE:\n </div>\n </Col>\n <Col xs={7} className=\"tw-p-0 tw-m-0\">\n <div className=\"tw-text-left tw-text-neutral-grey-75 tw-text-[12px] tw-leading-[20px] tw-font-bold \">\n {upperFirst(personData.type_name)}\n </div>\n </Col>\n </Row>\n <div className=\"tw-text-color-999 tw-text-[10px] tw-leading-[16px] tw-font-bold\">\n <hr className=\"tw-my-16px tw-border-[1px] tw-border-gray-10 \" />\n <span className=\"tw-mr-[12px]\">SHOW IN LEADS INDEX?</span>\n <div\n className={`tw-align-middle tw-m-0 tw-h-[20px] tw-min-h-[0px] tw-inline-block ${icons.checkbox}`}\n >\n <label className={`${personData.is_lead ? icons.checked : \"\"}`} aria-label=\"Is Lead\">\n <input type=\"checkbox\" onClick={() => editValue(\"is_lead\", !personData.is_lead)} />\n </label>\n </div>\n </div>\n {personData.granted_client_portal_access && (\n <div className=\"tw-text-color-999 tw-text-[10px] tw-leading-[16px] tw-font-bold\">\n <div className=\"tw-flex tw-justify-center tw-items-center\">\n <span className=\"tw-mr-[12px] tw-p-[4px]\">UPDATE FREQUENCY?</span>\n <FrequencyDropdown />\n </div>\n </div>\n )}\n </div>\n </div>\n );\n};\n\nexport default PersonInfo;\n","import React, { useMemo } from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { Dropdown } from \"../../../shared/v1\";\n\nconst RolesRow = ({\n allAssignableAgents,\n allAssignableRoles,\n availableRoles,\n handleAddAgent,\n handleAddRole,\n handleRemoveAgent,\n selectedTeamMembers,\n}) => {\n const teamMemberOptions = useMemo(\n () =>\n allAssignableAgents.map((agent) => ({\n label: agent.name,\n value: agent.agent_id,\n })),\n [allAssignableAgents],\n );\n const allRoleOptions = useMemo(\n () => allAssignableRoles.map(({ id, title }) => ({ label: title, value: id })),\n [allAssignableRoles],\n );\n const roleOptions = useMemo(\n () =>\n availableRoles\n .map((role) => ({\n label: role.title,\n value: role.id,\n }))\n .sort((a, b) => a.label.localeCompare(b.label)),\n [availableRoles],\n );\n\n return selectedTeamMembers.map((selectedTeamMember, i) => {\n if (selectedTeamMember.destroy) return null;\n const selectedOption = allRoleOptions?.find((option) => option.value === selectedTeamMember.role_id);\n return (\n <Row className=\"tw-flex tw-ml-[-22px] tw-mb-16px\" key={i} id=\"roles-row-wrapper\">\n <Col className=\"form-group tw-ml-24px tw-w-[240px] tw-h-36px\">\n <label className=\"tw-text-14px tw-leading-20px tw-font-semibold tw-text-gray-500 \">\n Team Member\n </label>\n <div className=\"tw-w-full tw-pt-4px\">\n <Dropdown\n isSearchable\n isClearable={false}\n placeholder=\"Select a team member\"\n value={selectedTeamMember?.agent_id || null}\n options={teamMemberOptions}\n onChange={(e) => handleAddAgent(e.value, i)}\n isDisabled={selectedTeamMember?.id ? true : false}\n variant=\"outlined\"\n variantOverrides={{\n disableBorderRadius: true,\n showIndicator: !selectedTeamMember?.id,\n singleValueColor: \"#666\",\n }}\n />\n </div>\n </Col>\n <Col\n className=\"form-group tw-ml-24px tw-w-[240px] tw-h-36px\"\n id={selectedTeamMember?.role_id && \"roles-row-dropdown\"}\n >\n <label className=\"tw-text-14px tw-leading-20px tw-font-semibold tw-text-gray-500 \">Role</label>\n <div className=\"tw-w-full tw-pt-4px\">\n <Dropdown\n isSearchable\n isClearable={false}\n placeholder=\"Select a Role\"\n value={selectedOption || null}\n options={selectedOption ? [selectedOption, ...roleOptions] : roleOptions}\n onChange={(e) => handleAddRole(e.value, i)}\n variant=\"outlined\"\n variantOverrides={{\n disableBorderRadius: true,\n showIndicator: true,\n singleValueColor: \"#666\",\n }}\n />\n </div>\n </Col>\n <div\n className=\"tw-w-24px tw-h-24px tw-mt-34px tw-ml-10px tw-pt-2px tw-pl-6px tw-bg-gray-10\"\n style={{ borderRadius: \"50%\" }}\n >\n <i\n id=\"delete-button\"\n className=\"fa fa-trash tw-cursor-pointer\"\n onClick={() => handleRemoveAgent(selectedTeamMember.agent_id, selectedTeamMember.role_id)}\n />\n </div>\n </Row>\n );\n });\n};\n\nexport default RolesRow;\n","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport { Col, Form, Modal, Row } from \"react-bootstrap\";\nimport { css, cx } from \"@emotion/css\";\nimport { Dropdown } from \"../../../shared/v1\";\nimport modal_css from \"../modal.module.css\";\nimport buttons from \"../button.module.css\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport RolesRow from \"./RolesRow\";\n\nclass ManageAccessModal extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n primaryAgent: this.props.primaryAgent,\n teamMemberRole: null,\n selectedTeamMembers: this.props.nonPrimaryTeamMembers || [],\n allAssignableAgents: [],\n allAssignableRoles: this.props.allAssignableRoles || [],\n grantAccess: false,\n primaryAgentSet: false,\n };\n }\n\n componentDidMount() {\n axios\n .get(\"/account_active_agents\", {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n this.setState({ allAssignableAgents: response.data });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleModalClose = () => {\n this.props.closeManageAccessModal();\n };\n\n handleRemoveAgent = (agentId, roleId) => {\n const agentToRemove = this.state.selectedTeamMembers.find(\n (agent) => agent.agent_id === agentId && agent.role_id === roleId,\n );\n if (agentToRemove) {\n this.setState((prevState) => {\n if (agentToRemove.id) {\n agentToRemove.destroy = true;\n return {\n selectedTeamMembers: prevState.selectedTeamMembers.map((agent) =>\n agent === agentToRemove ? agentToRemove : agent,\n ),\n };\n } else {\n return {\n selectedTeamMembers: prevState.selectedTeamMembers.filter((agent) => agent !== agentToRemove),\n };\n }\n });\n }\n };\n\n handleAddTeamMembers = () => {\n this.setState({\n selectedTeamMembers: [\n ...this.state.selectedTeamMembers,\n {\n agent_id: \"\",\n id: null,\n image: \"\",\n name: \"\",\n primary: \"\",\n role_id: null,\n user_type: \"\",\n },\n ],\n });\n };\n\n handleAddAgent = (agentId, index) => {\n const selected = [...this.state.selectedTeamMembers];\n const filteredAgent = this.state.allAssignableAgents.find((agent) => agent.agent_id === agentId);\n selected[index] = filteredAgent; // override or set the index to the agent\n filteredAgent.id = null;\n this.setState({\n selectedTeamMembers: selected,\n });\n };\n\n handleAddRole = (roleId, index) => {\n const selectedTeamMembers = [...this.state.selectedTeamMembers];\n this.setState({\n selectedTeamMembers: selectedTeamMembers.map((selectedTeamMember, i) =>\n index === i ? { ...selectedTeamMember, role_id: roleId } : selectedTeamMember,\n ),\n });\n };\n\n handleSelectPrimary = (selection) => {\n this.setState({\n primaryAgentSet: true,\n primaryAgent: { ...selection, primary: true },\n });\n };\n\n agentPermissions = () => {\n const permissions = {};\n for (const agent of this.state.selectedTeamMembers) {\n if (agent.user_type === \"Agent\") {\n permissions[agent.agent_id] = agent.destroy ? \"none\" : \"all\";\n }\n }\n return permissions;\n };\n\n handleManageAccess = (e) => {\n e.preventDefault();\n const params = {\n people_ids: [this.props.personId],\n agent_permissions: this.agentPermissions(),\n team_members: [...this.state.selectedTeamMembers],\n authenticity_token: ReactOnRails.authenticityToken(),\n };\n\n if (this.state.primaryAgentSet) {\n params[\"primary_agent_set\"] = true;\n params[\"primary_agent\"] = [this.state.primaryAgent.id];\n }\n\n axios\n .post(\"/people_permissions\", params)\n .then((response) => {\n this.setState({\n removedAgents: [],\n grantAccess: false,\n primaryAgentSet: false,\n });\n this.props.handleUpdateAccess();\n this.props.closeManageAccessModal();\n })\n .catch((error) => {\n console.log(\"Error: \", error);\n });\n };\n\n renderAgentValue = (props) => {\n const {\n getStyles,\n innerProps,\n\n isDisabled,\n isFocused,\n isSelected,\n\n data: { email, name, agent_id: agentId, primary: isPrimary, user_type: type },\n } = props;\n\n const classNameFromVariant = cx(\n css(getStyles(\"singleValue\", props)),\n {\n \"single-value\": true,\n \"single-value--is-disabled\": isDisabled,\n \"single-value--is-focused\": isFocused,\n \"single-value--is-selected\": isSelected,\n },\n \"tw-flex tw-justify-between\",\n );\n\n const userType =\n isPrimary === true || this.state.primaryAgent.id === agentId ? \"PRIMARY AGENT\" : type.toUpperCase();\n\n return (\n <div className={classNameFromVariant} {...innerProps}>\n <span className=\"tw-text-gray-75\">\n {name} ({email})\n </span>\n <span>{userType}</span>\n </div>\n );\n };\n\n renderAgentOption = (props) => {\n const {\n getStyles,\n\n innerRef,\n innerProps,\n\n isDisabled,\n isFocused,\n isSelected,\n } = props;\n\n const classNameFromVariant = cx(css(getStyles(\"option\", props)), {\n option: true,\n \"option--is-disabled\": isDisabled,\n \"option--is-focused\": isFocused,\n \"option--is-selected\": isSelected,\n });\n\n return (\n <div className={classNameFromVariant} ref={innerRef} {...innerProps} style={{ padding: \"8px\" }}>\n {this.renderAgentValue(props)}\n </div>\n );\n };\n\n render() {\n const { nonPrimaryTeamMembers } = this.props;\n const { selectedTeamMembers, allAssignableAgents, allAssignableRoles } = this.state;\n const selectedRolesIds = this.state.selectedTeamMembers\n .filter((tm) => !tm.destroy)\n .map((tm) => tm.role_id);\n const availableRoles = this.state.allAssignableRoles.filter(\n (role) => selectedRolesIds.indexOf(role.id) === -1,\n );\n\n // For some reason, `primaryAgent` is not _completely_ populated at first\n // (notably: the email - which we need to render - is not present), so we\n // need to search in `allAssignableAgents`. Subsequent renders after\n // selecting an option are fine, so we can skip the search in that case.\n const selectedAgent = this.state.primaryAgent.email\n ? this.state.primaryAgent\n : allAssignableAgents.find((agent) => agent.agent_id === this.state.primaryAgent.agent_id);\n\n return (\n <Modal\n id=\"manage-access-modal\"\n className=\"person-details-modal\"\n show={true}\n onHide={this.handleModalClose}\n >\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle isNewHeader={true} title=\"Manage Team\" onClose={this.handleModalClose} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <Form>\n <Row>\n <Col xs={12}>\n <p className=\"tw-text-gray-500 tw-mb-25px\">\n Making another user a team member gives a user the ability to view and edit a person's\n information. Team members do not need a role to gain access. Access can be revoked only for\n team members with the user type of agent. The account owner and admins have access to\n everyone.\n </p>\n </Col>\n </Row>\n <Row>\n <Col xs={12} className=\"form-group\" id=\"primary-agent\">\n {allAssignableAgents.length > 0 && (\n <div>\n <label className=\"tw-text-14px tw-leading-20px tw-font-semibold tw-text-gray-500 tw-mb-10px\">\n Primary Agent\n </label>\n <Dropdown\n isSearchable\n isClearable={false}\n placeholder=\"Select...\"\n onChange={(e) => this.handleSelectPrimary(e)}\n options={allAssignableAgents}\n value={selectedAgent}\n isOptionSelected={(option) =>\n selectedAgent ? option.agent_id === selectedAgent.agent_id : false\n }\n components={{\n Option: this.renderAgentOption,\n SingleValue: this.renderAgentValue,\n }}\n // Since we're using a custom shape for options and writing\n // custom renderers, we need to write our own filterOption\n // as well so isSearchable works as expected.\n filterOption={(candidate, input) => {\n // Show all options if the user hasn't typed anything in yet\n if (!input) {\n return true;\n }\n\n const lowercasedInput = input.toLowerCase();\n const option = candidate.data;\n\n // Otherwise, only show candidates that contain the input string\n // in them\n return (\n option.name.toLowerCase().includes(lowercasedInput) ||\n option.email.toLowerCase().includes(lowercasedInput)\n );\n }}\n variant=\"outlined\"\n variantOverrides={{ showIndicator: true, disableBorderRadius: true }}\n />\n <Row className=\"tw-pt-25px\">\n <Col xs={12}>\n <hr className={`${modal_css.divider}`} />\n </Col>\n </Row>\n </div>\n )}\n </Col>\n </Row>\n <RolesRow\n selectedTeamMembers={selectedTeamMembers}\n allAssignableRoles={allAssignableRoles}\n availableRoles={availableRoles}\n allAssignableAgents={allAssignableAgents}\n nonPrimaryTeamMembers={nonPrimaryTeamMembers}\n handleAddAgent={this.handleAddAgent}\n handleAddRole={this.handleAddRole}\n handleRemoveAgent={this.handleRemoveAgent}\n />\n {availableRoles.length > 0 && (\n <Col xs={12} className=\"tw-mb-25px tw-mt-12px tw-ml-[-10px]\">\n <a\n className={`${buttons.btn} ${buttons.btnSm} ${buttons.btnSecondary}`}\n onClick={this.handleAddTeamMembers}\n >\n <i className=\"fa fa-plus\" id=\"add-team-member-button\" /> ADD TEAM MEMBER\n </a>\n </Col>\n )}\n <Row className={modal_css.pT30}>\n <Col xs={12}>\n <hr className={`${modal_css.divider} ${modal_css.pB30}`} />\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <a\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnGray} pull-left`}\n onClick={this.handleModalClose}\n >\n CANCEL\n </a>\n <button\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnBlue} pull-right`}\n onClick={this.handleManageAccess}\n >\n SAVE TEAM\n </button>\n </Col>\n </Row>\n </Form>\n </Modal.Body>\n </Modal>\n );\n }\n}\n\nexport default ManageAccessModal;\n","// extracted by mini-css-extract-plugin\nexport default {\"triggerArea\":\"vnOCUQg_iGPsfTfCBN_x\",\"agentInfo\":\"YmMW6CX9uSrfpOBjghib\",\"selectNew\":\"NtcnbAWuy2cCnyrtNbZa\",\"image\":\"SEm9CF23Aqum_oEGtXdr\",\"moreOrLess\":\"o2RyZHZfyAvohZo_YISj\"};","import React, { useState } from \"react\";\nimport assigned_to from \"./assigned_to.module.css\";\nimport { Col, Row } from \"react-bootstrap\";\n\nconst NonPrimaryTeamMembers = (props) => {\n const [moreOrLess, setMoreOrLess] = useState(\"MORE\");\n const [sign, setSign] = useState(\"+\");\n const [showMore, setShowMore] = useState(false);\n\n const findRole = (roleId, userType) => {\n if (roleId) {\n const role = props.allAssignableRoles?.find((role) => role.id === roleId);\n return role?.title;\n }\n return userType;\n };\n const handleShowMore = () => {\n setShowMore(!showMore);\n if (showMore) {\n setMoreOrLess(\"MORE\");\n setSign(\"+\");\n } else {\n setMoreOrLess(\"LESS\");\n setSign(\"-\");\n }\n };\n return (\n <>\n {props.nonPrimaryTeamMembers.slice(0, 2).map((teamMember) => (\n <Row key={teamMember.id} className={`${assigned_to.triggerArea} tw-mb-10px`}>\n <Col xs={10} className={`${assigned_to.agentInfo} d-flex flex-items-center`}>\n <div className={assigned_to.image} dangerouslySetInnerHTML={{ __html: teamMember.image }} />\n <div>\n <span>{teamMember.name}</span>\n <strong>{findRole(teamMember.role_id, teamMember.user_type)}</strong>\n </div>\n </Col>\n <Col xs={2} className={`${assigned_to.selectNew} d-flex flex-items-center`} />\n </Row>\n ))}\n {props.nonPrimaryTeamMembers.length > 2 &&\n showMore &&\n props.nonPrimaryTeamMembers.slice(2).map((teamMember) => (\n <Row key={teamMember.id} className={`${assigned_to.triggerArea} tw-mb-10px`}>\n <Col xs={10} className={`${assigned_to.agentInfo} d-flex flex-items-center`}>\n <div className={assigned_to.image} dangerouslySetInnerHTML={{ __html: teamMember.image }} />\n <div>\n <span>{teamMember.name}</span>\n <strong>{findRole(teamMember.role_id, teamMember.user_type)}</strong>\n </div>\n </Col>\n <Col xs={2} className={`${assigned_to.selectNew} d-flex flex-items-center`} />\n </Row>\n ))}\n {props.nonPrimaryTeamMembers.length > 2 && (\n <a\n className={`${assigned_to.moreOrLess} tw-text-sm tw-not-italic tw-font-bold tw-leading-5 tw-tracking-normal tw-text-left tw-text-brand-info tw-no-underline`}\n onClick={() => handleShowMore()}\n >\n {sign}\n {props.nonPrimaryTeamMembers.length - 2} {moreOrLess}\n </a>\n )}\n </>\n );\n};\n\nexport default NonPrimaryTeamMembers;\n","import React, { useState } from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport { ChevronRightSolidV6 } from \"../../shared/v2/Icomoon\";\nimport PropTypes from \"prop-types\";\n\nconst CollapsibleElement = ({\n useSecondaryColor,\n useTertiaryColor,\n title,\n buttonText,\n disabled,\n buttonId,\n children,\n buttonClickFunction,\n customButton,\n customButtonSchema,\n containerClassName,\n chevronPlacementLeft,\n chevronClassName,\n ...props\n }) => {\n const [isOpen, setIsOpen] = useState(true);\n const buttonSchema =\n customButtonSchema || (useSecondaryColor ? \"warning\" : useTertiaryColor ? \"tertiary\" : \"primary\");\n\n return (\n <div\n className={`tw-relative tw-shadow-tdp-card tw-bg-white tw-flex tw-flex-col tw-border-solid tw-border-[1px] tw-border-x-0 tw-border-t-0 tw-border-gray-10 first-of-type:tw-rounded-t-[4px] last-of-type:tw-rounded-b-[4px] ${containerClassName} `}\n {...props}\n >\n <div className=\"tw-flex tw-justify-between\">\n <button\n className=\"tw-bg-transparent tw-border-none tw-p-0 tw-flex tw-items-center tw-gap-[8px]\"\n onClick={() => setIsOpen((o) => !o)}\n >\n {chevronPlacementLeft ? (\n <>\n <ChevronRightSolidV6\n className={`tw-transition-all ${isOpen ? \"tw-rotate-90\" : \"\"} ${chevronClassName}`}\n />\n <span className=\"tw-text-18d\">{title}</span>\n </>\n ) : (\n <>\n <span className=\"tw-text-14d\">{title}</span>\n <ChevronRightSolidV6\n className={`tw-transition-all ${isOpen ? \"tw-rotate-90\" : \"\"} ${chevronClassName}`}\n />\n </>\n )}\n </button>\n {buttonText ? (\n <Button\n id={buttonId || buttonText}\n disabled={disabled}\n onClick={buttonClickFunction}\n schema={buttonSchema}\n >\n {buttonText}\n </Button>\n ) : (\n customButton || <span />\n )}\n </div>\n <div\n className={`tw-transition-all tw-text-[12px] ${\n isOpen ? \"tw-h-full tw-opacity-1\" : \"tw-h-0 tw-opacity-0\"\n }`}\n >\n {children}\n </div>\n </div>\n );\n};\n\nCollapsibleElement.propTypes = {\n containerClassName: PropTypes.string,\n chevronPlacementLeft: PropTypes.bool,\n chevronClassName: PropTypes.string,\n};\nCollapsibleElement.defaultProps = {\n containerClassName: 'tw-gap-[20px] tw-p-[20px]',\n chevronPlacementLeft: true,\n chevronClassName: 'tw-text-theme-primary',\n};\n\nexport default CollapsibleElement;\n","import React, { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport ManageAccessModal from \"../modals/ManageAccessModal\";\nimport NonPrimaryTeamMembers from \"./NonPrimaryTeamMembers\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport AgentOrPondSelect from \"../../../shared/AgentOrPondSelect\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst AssignedTo = () => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const featureFlags = useSelector((state) => state.layout.featureFlags);\n const person = useSelector((state) => state.personDetail.person);\n const manageAccessModalOpen = useSelector((state) => state.personDetail.manageAccessModalOpen);\n const [teamMembers, setTeamMembers] = useState([]);\n const [primaryAgent, setPrimaryAgent] = useState(undefined);\n const [allAssignableRoles, setAllAssignableRoles] = useState([]);\n\n const openManageAccessModal = () => dispatch(actions.openManageAccessModal());\n const closeManageAccessModal = () => dispatch(actions.closeManageAccessModal());\n\n const getPersonPermissions = (signal) => {\n axios\n .get(`/person_permissions?person_id=${person.data?.id}`, {\n signal,\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n setTeamMembers(response.data);\n setPrimaryAgent(response.data.find((agent) => agent.primary === true));\n })\n .catch((error) => {});\n };\n\n useEffect(() => {\n if (!person.data?.id) return;\n\n const abortController = new AbortController();\n\n getPersonPermissions(abortController.signal);\n\n axios\n .get(\"/api/v4/team_roles\", {\n signal: abortController.signal,\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n setAllAssignableRoles(response.data);\n })\n .catch((error) => {});\n\n return () => abortController.abort();\n }, [person.data?.id]);\n\n const handleUpdateAccess = () => {\n // Because we need the team member id which isn't returned from the POST request in the modal\n getPersonPermissions();\n };\n\n // TODO: do can there be a person without a primary agent and if so what do we render\n const nonPrimaryTeamMembers = teamMembers.filter(\n // This is why we need the team member id, filter out whitelisted agents that are not team members\n (teamMember) => teamMember.id && teamMember.primary === false,\n );\n\n return (\n <CollapsibleElement\n id=\"pdp-assigned-to\"\n title=\"Assigned To:\"\n buttonText={\n currentUser.account.isAdmin || currentUser.uuid === person.data?.attributes.primary_agent_uuid\n ? \"MANAGE\"\n : undefined\n }\n buttonClickFunction={openManageAccessModal}\n roundedTop\n >\n {!person.data && <Loading />}\n <div id=\"person-assigned-to-card\" className=\"assigned-to-wrapper\" data-cy=\"assigned-to-wrapper\">\n {primaryAgent && (\n <AgentOrPondSelect\n stacked\n enableLeadPonds={featureFlags.leadPond}\n max=\"full\"\n personId={person.data?.id}\n primaryAgent={primaryAgent}\n leadPond={person.data?.attributes.lead_pond}\n showSubTitle={true}\n nameClasses={\"tw-font-semibold\"}\n caretClasses=\"tw-bg-gray-10 tw-h-[22px] tw-w-[22px] tw-rounded-full\"\n />\n )}\n {nonPrimaryTeamMembers && !person.data?.attributes.lead_pond && (\n <NonPrimaryTeamMembers\n nonPrimaryTeamMembers={nonPrimaryTeamMembers}\n allAssignableRoles={allAssignableRoles}\n />\n )}\n {manageAccessModalOpen && (\n <ManageAccessModal\n personId={person.data?.id}\n nonPrimaryTeamMembers={nonPrimaryTeamMembers}\n handleUpdateAccess={handleUpdateAccess}\n closeManageAccessModal={closeManageAccessModal}\n primaryAgent={primaryAgent}\n allAssignableRoles={allAssignableRoles}\n />\n )}\n </div>\n </CollapsibleElement>\n );\n};\n\nexport default AssignedTo;\n","import React, { useMemo, useState } from \"react\";\nimport { Dropdown } from \"../../shared/v1\";\nimport Button from \"@shared/v2/Button\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { XmarkSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst AddTag = ({ addTagToPerson, person }) => {\n const [addingTag, setAddingTag] = useState(false);\n const [selectedTag, setSelectedTag] = useState(null);\n const [newTagText, setNewTagText] = useState(null);\n const tagOptions = useMemo(\n () =>\n (person.meta?.tag_options || [])\n .map(({ id, name }) => ({ value: id, label: name }))\n .sort((a, b) => a.label.localeCompare(b.label)),\n [person.meta],\n );\n\n const onAddNewTag = (option) => {\n setSelectedTag(option.value);\n setNewTagText(option.label);\n };\n\n const onElementSave = () => {\n addTagToPerson(newTagText, person);\n setAddingTag(false);\n setNewTagText(null);\n setSelectedTag(null);\n };\n\n return (\n <div>\n {addingTag && (\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px]\">\n <Dropdown.Creatable\n className=\"tw-text-14d\"\n onChange={onAddNewTag}\n isSearchable\n isClearable={false}\n options={tagOptions}\n placeholder=\"Search tags...\"\n value={selectedTag}\n />\n <div className=\"tw-flex tw-gap-[4px]\">\n <Button onClick={onElementSave}>Save</Button>\n <IconButton schema=\"tertiary\" size=\"small\" onClick={() => setAddingTag(false)}>\n <XmarkSolidV6 />\n </IconButton>\n </div>\n </div>\n )}\n {!addingTag && <Button onClick={() => setAddingTag(true)}>+ ADD</Button>}\n </div>\n );\n};\n\nexport default AddTag;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\n\nconst PersonDetailError = ({ error }) => {\n if (typeof error === \"string\") {\n return <Alert variant=\"error\" title=\"Error\" text={error} />;\n }\n if (typeof error === \"object\") {\n if (error.context.email_validations || error.context.emailValidations) {\n const emailValidations = error.context.email_validations || error.context.emailValidations || [];\n return (\n <Alert\n variant=\"error\"\n title=\"Email Validation Failed\"\n text={\n <div>\n <p>This contact shares an email address with the following contact(s)</p>\n <ul>\n {emailValidations.map((validation) => {\n const [slug, name] = Object.entries(validation)[0];\n return (\n <li key={slug}>\n <a href={`/people/${slug}`} target=\"_blank\" rel=\"noopener noreferrer\">\n {name}\n </a>\n </li>\n );\n })}\n </ul>\n </div>\n }\n />\n );\n }\n if (error.context.phone_validations || error.context.phoneValidations) {\n const phoneValidations = error.context.phone_validations || error.context.phoneValidations || [];\n return (\n <Alert\n variant=\"error\"\n title=\"Phone Validation Failed\"\n text={\n <div>\n <p>This contact shares a phone number with the following contact(s)</p>\n <ul>\n {phoneValidations.map(({ name, url }) => (\n <li key={url}>\n <a href={url} target=\"_blank\" rel=\"noopener noreferrer\">\n {name}\n </a>\n </li>\n ))}\n </ul>\n </div>\n }\n />\n );\n }\n }\n return <Alert title=\"Error\" text=\"Whoops something went wrong, try again later.\" />;\n};\n\nPersonDetailError.propTypes = {\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.shape()]).isRequired,\n};\n\nexport default PersonDetailError;\n","import React, { Component } from \"react\";\nimport { produce } from \"immer\";\nimport { Alert } from \"react-bootstrap\";\nimport { Dropdown } from \"../../shared/v1\";\nimport DatePicker from \"../../shared/DatePicker\";\nimport { updatePersonPromise } from \"../actions/updatePerson\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6, XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Button from \"@shared/v2/Button\";\nimport PersonDetailError from \"./PersonDetailError\";\n\nconst PERSON_DETAILS_TEXT_CSS = \"tw-whitespace-pre-wrap tw-break-all tw-text-14d tw-text-gray-75\";\n\nclass EditableElement extends Component {\n state = {\n editingElement: false,\n editablePerson: JSON.parse(JSON.stringify(this.props.person)),\n errors: null,\n };\n\n componentWillReceiveProps(nextProps) {\n if (this.props.person !== nextProps.person) {\n this.setState({ editablePerson: JSON.parse(JSON.stringify(nextProps.person)) });\n }\n }\n\n onElementEdit = () => {\n this.setState({ editingElement: true });\n };\n\n onElementSave = () => {\n updatePersonPromise(this.state.editablePerson)\n .then((r) => {\n this.props.updatePersonData(r.data);\n this.setState({ editingElement: false, errors: null });\n })\n .catch((err) => {\n this.setState({ errors: err.response.data.errors });\n });\n };\n\n onDismissElementEdit = () => {\n this.setState({\n editingElement: false,\n editablePerson: JSON.parse(JSON.stringify(this.props.person)),\n errors: null,\n });\n };\n\n handleEditableValueChange = (value, key) => {\n this.setState(({ editablePerson }) => ({\n editablePerson: produce(editablePerson, (draft) => {\n draft.data.attributes[key] = value;\n }),\n }));\n };\n\n handleCustomFieldChange = (key, value) => {\n this.setState(({ editablePerson }) => ({\n editablePerson: produce(editablePerson, (draft) => {\n draft.data.attributes.custom_fields[key] = value;\n }),\n }));\n };\n\n handleDetailableValueChange = (value, key) => {\n this.setState(({ editablePerson }) => ({\n editablePerson: produce(editablePerson, (draft) => {\n draft.data.attributes[key].value = value;\n }),\n }));\n };\n\n formatSelectOptions = (options) => {\n return options.map((opt) => {\n return { label: opt[0], value: opt[1] };\n });\n };\n\n handleMilestoneableDateChange = (value, key) => {\n this.setState(({ editablePerson }) => ({\n editablePerson: produce(editablePerson, (draft) => {\n draft.data.attributes[key].date = value;\n }),\n }));\n };\n\n editMultilineInput = () => {\n return (\n <TextInput\n className=\"tw-w-full\"\n value={this.state.editablePerson.data.attributes[this.props.elementType]}\n onChange={(e) => this.handleEditableValueChange(e.target.value, this.props.elementType)}\n multiline\n rows={5}\n />\n );\n };\n\n editSingleLineInputInput = () => {\n return (\n <TextInput\n containerClassName=\"tw-w-full\"\n size={1}\n value={this.state.editablePerson.data.attributes[this.props.elementType]}\n onChange={(e) => this.handleEditableValueChange(e.target.value, this.props.elementType)}\n />\n );\n };\n\n editCustomFieldInput = () => {\n return (\n <TextInput\n containerClassName=\"tw-w-full\"\n size={1}\n value={this.state.editablePerson.data.attributes.custom_fields[this.props.fieldName]}\n onChange={(e) => this.handleCustomFieldChange(this.props.fieldName, e.target.value)}\n />\n );\n };\n\n editDetailableSingleLineInputInput = () => {\n return (\n <TextInput\n containerClassName=\"tw-w-full\"\n size={1}\n value={this.state.editablePerson.data.attributes[this.props.elementType].value}\n onChange={(e) => this.handleDetailableValueChange(e.target.value, this.props.elementType)}\n />\n );\n };\n\n editDropdownInput = () => {\n return (\n <Dropdown\n isSearchable={false}\n isClearable={false}\n value={this.state.editablePerson.data.attributes[this.props.elementType].value}\n onChange={(e) => this.handleDetailableValueChange(e.value, this.props.elementType)}\n placeholder=\"Select...\"\n options={this.formatSelectOptions(this.state.editablePerson.meta[this.props.dropdownOptions])}\n variant=\"flatBlueishGray\"\n />\n );\n };\n\n editDateInput = () => {\n return (\n <DatePicker\n timeFormat={false}\n dateFormat=\"YYYY-MM-DD\"\n name={this.props.elementType}\n value={this.state.editablePerson.data.attributes[this.props.elementType].date}\n onChange={(value) => this.handleMilestoneableDateChange(value, this.props.elementType)}\n />\n );\n };\n\n renderEditFieldsByType = () => {\n switch (this.props.elementType) {\n case \"description\":\n return this.editMultilineInput();\n case \"letter_salutation\":\n return this.editSingleLineInputInput();\n case \"envelope_salutation\":\n return this.editSingleLineInputInput();\n case \"marital_status\":\n return this.editDropdownInput();\n case \"kids\":\n return this.editDetailableSingleLineInputInput();\n case \"pets\":\n return this.editDetailableSingleLineInputInput();\n case \"timezone\":\n return this.editDropdownInput();\n case \"company\":\n return this.editDetailableSingleLineInputInput();\n case \"job_title\":\n return this.editDetailableSingleLineInputInput();\n case \"custom_field\":\n return this.editCustomFieldInput();\n default:\n return undefined;\n }\n };\n\n renderEditFields = () => {\n return (\n <div>\n {this.state.errors?.map((error, i) => (\n <PersonDetailError key={i} error={error} />\n ))}\n\n <div className=\"tw-flex tw-gap-[8px] tw-mt-[8px]\">\n <div className=\"tw-flex-1\">{this.renderEditFieldsByType()}</div>\n <div className=\"tw-flex tw-gap-[4px]\">\n <Button onClick={this.onElementSave}>Save</Button>\n <IconButton schema=\"tertiary\" size=\"small\" onClick={this.onDismissElementEdit}>\n <XmarkSolidV6 />\n </IconButton>\n </div>\n </div>\n </div>\n );\n };\n\n renderFieldValues = () => {\n switch (this.props.elementType) {\n case \"description\":\n return (\n <div\n className={PERSON_DETAILS_TEXT_CSS}\n dangerouslySetInnerHTML={{ __html: this.props.person.data?.attributes.description }}\n />\n );\n case \"envelope_salutation\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>\n {this.props.person.data?.attributes.envelope_salutation}\n </div>\n );\n case \"letter_salutation\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>\n {this.props.person.data?.attributes.letter_salutation}\n </div>\n );\n case \"marital_status\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>\n {this.props.person.data?.attributes.marital_status?.value}\n </div>\n );\n case \"kids\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>{this.props.person.data?.attributes.kids?.value}</div>\n );\n case \"pets\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>{this.props.person.data?.attributes.pets?.value}</div>\n );\n case \"timezone\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>{this.props.person.data?.attributes.timezone?.value}</div>\n );\n case \"company\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>{this.props.person.data?.attributes.company?.value}</div>\n );\n case \"job_title\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>{this.props.person.data?.attributes.job_title?.value}</div>\n );\n case \"custom_field\":\n return (\n <div className={PERSON_DETAILS_TEXT_CSS}>\n {this.props.person.data?.attributes.custom_fields[this.props.fieldName]}\n </div>\n );\n default:\n return;\n }\n };\n\n render() {\n return (\n <div className=\"tw-group tw-px-[20px] tw-py-[8px] hover:tw-bg-gray-5\">\n <div className=\"tw-flex tw-justify-between\">\n <div className=\"tw-text-11d tw-text-gray-75 tw-font-bold tw-uppercase\">{this.props.fieldName}</div>\n {!this.state.editingElement && (\n <IconButton\n className=\"tw-invisible group-hover:tw-visible\"\n size=\"small\"\n onClick={this.onElementEdit}\n >\n <PencilSolidV6 />\n </IconButton>\n )}\n </div>\n <div>{this.state.editingElement ? this.renderEditFields() : this.renderFieldValues()}</div>\n </div>\n );\n }\n}\n\nexport default EditableElement;\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport DateTime from \"react-datetime\";\nimport DropdownDatePicker from \"@shared/v2/DropdownDatePicker\";\nimport css from \"./person-detail-styles.module.css\";\nimport { updatePersonPromise } from \"../actions/updatePerson\";\nimport DatePicker from \"../../shared/v2/DatePicker\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport { PencilSolidV6, XmarkSolidV6 } from \"../../shared/v2/Icomoon\";\nimport Button from \"../../shared/v2/Button\";\nimport PersonDetailError from \"./PersonDetailError\";\n\nclass EditableDate extends Component {\n constructor(props) {\n super(props);\n this.state = {\n editingDate: false,\n editablePerson: JSON.parse(JSON.stringify(props.person)),\n errors: null,\n };\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n const { person } = this.props;\n if (person !== nextProps.person) {\n this.setState({ editablePerson: JSON.parse(JSON.stringify(nextProps.person)) });\n }\n }\n\n dateName = () => {\n const { date, elementType } = this.props;\n const name = elementType === \"anniversary\" ? \"home anniversary\" : elementType;\n return date.name?.split(\"_\").join(\" \") || name;\n };\n\n onEditDate = () => {\n this.setState({ editingDate: true });\n };\n\n onDismissDateEdit = () => {\n const { person } = this.props;\n this.setState({\n editingDate: false,\n editablePerson: JSON.parse(JSON.stringify(person)),\n errors: null,\n });\n };\n\n handleCustomDateChange = (dateId, newDateOrTime, type) => {\n const { editablePerson } = this.state;\n const { custom_dates: customDates } = editablePerson.data.attributes;\n const indexOfDate = customDates.indexOf(customDates.find((date) => date.id === dateId));\n\n if (type === \"date\") {\n customDates[indexOfDate].date = newDateOrTime;\n } else {\n customDates[indexOfDate].time_of_day_string = newDateOrTime;\n }\n\n this.setState({\n editablePerson: {\n ...editablePerson,\n data: {\n ...editablePerson.data,\n attributes: {\n ...editablePerson.data.attributes,\n custom_dates: customDates,\n },\n },\n },\n });\n };\n\n handleDateChange = (property, value) => {\n const { editablePerson } = this.state;\n this.setState({\n editablePerson: {\n ...editablePerson,\n data: {\n ...editablePerson.data,\n attributes: {\n ...editablePerson.data.attributes,\n [property]: {\n ...editablePerson.data.attributes[property],\n date: value,\n },\n },\n },\n },\n });\n };\n\n onDateSave = () => {\n const { elementType, updatePersonData } = this.props;\n const { editablePerson } = this.state;\n const { birthdate } = editablePerson.data.attributes;\n\n if (elementType === \"birthdate\" && birthdate?.date) {\n const [year, month, day] = birthdate.date.split(\"-\");\n let errors = null;\n if (!month) errors = [\"Cannot save without a month\"];\n if (!day) errors = [\"Cannot save without a day\"];\n if (year && !month && !day) errors = [\"Cannot save without a month and day\"];\n this.setState({ errors });\n if (errors) return;\n }\n\n updatePersonPromise(editablePerson)\n .then((r) => {\n updatePersonData(r.data);\n this.setState({ editingDate: false, errors: null });\n })\n .catch((err) => {\n this.setState({ errors: err.response.data.errors });\n });\n };\n\n renderDate = () => {\n const { date } = this.props;\n const format = moment(date.date).year() < 1900 ? \"MM/DD\" : \"MM/DD/YYYY\";\n const formattedDate = moment(date.date).format(format);\n if (date.include_time) {\n return `${formattedDate} at ${date.time_of_day_string}`;\n }\n return formattedDate;\n };\n\n renderAlert = () => {\n const { errors } = this.state;\n // eslint-disable-next-line react/no-array-index-key\n return errors.map((error, i) => <PersonDetailError key={i} error={error} />);\n };\n\n renderButtons = () => (\n <div className=\"tw-flex tw-justify-end tw-gap-[8px]\">\n <Button onClick={this.onDateSave}>Save</Button>\n <IconButton size=\"small\" onClick={this.onDismissDateEdit}>\n <XmarkSolidV6 />\n </IconButton>\n </div>\n );\n\n editDateFields = () => {\n const { elementType } = this.props;\n return elementType === \"custom_date\" ? this.renderCustomDateFields() : this.renderDateFields();\n };\n\n renderCustomDateFields = () => {\n const { date: propDate, noYear } = this.props;\n const { editablePerson, errors } = this.state;\n const { custom_dates: customDates } = editablePerson.data.attributes;\n const indexOfDate = customDates.indexOf(customDates.find((date) => date.id === propDate.id));\n const customDate = customDates[indexOfDate];\n const date = moment(customDate.date).format(\"MM/DD/YYYY\");\n\n return (\n <div className=\"tw-flex tw-justify-between tw-gap-[8px]\">\n <div className=\"tw-flex-1 tw-flex tw-flex-col\">\n {errors && this.renderAlert()}\n <DatePicker\n inputProps={{ size: 10 }}\n name={customDate.name}\n value={date}\n onChange={(value) => this.handleCustomDateChange(customDate.id, moment(value), \"date\")}\n noYear={noYear}\n />\n {customDate.include_time && (\n <DateTime\n dateFormat={false}\n value={customDate.time_of_day_string}\n onChange={(value) =>\n this.handleCustomDateChange(customDate.id, moment(value).format(\"h:mm A\"), \"time\")\n }\n timeConstraints={{ minutes: { step: 15 } }}\n />\n )}\n </div>\n {this.renderButtons()}\n </div>\n );\n };\n\n renderDateFields = () => {\n const { elementType, noYear } = this.props;\n const {\n editablePerson: {\n data: { attributes },\n },\n errors,\n } = this.state;\n const date = moment(attributes[elementType].date).format(\"MM/DD/YYYY\");\n\n return (\n <div className=\"tw-flex tw-gap-[8px] tw-justify-between\">\n <div className=\"tw-flex-1 tw-flex tw-flex-col tw-gap-[4px]\">\n {elementType === \"birthdate\" && (\n <>\n <DropdownDatePicker\n error={errors?.[0]}\n value={attributes[elementType].date}\n onChange={(d) => this.handleDateChange(elementType, d)}\n />\n {this.renderButtons()}\n </>\n )}\n {elementType !== \"birthdate\" && (\n <>\n {errors && this.renderAlert()}\n <DatePicker\n inputProps={{ size: 10 }}\n dateFormat=\"MM/DD/YYYY\"\n name={elementType}\n value={date}\n onChange={(value) =>\n this.handleDateChange(elementType, moment(value, \"MM/DD/YYYY\").format(\"YYYY-MM-DD\"))\n }\n noYear={noYear}\n />\n </>\n )}\n </div>\n {elementType !== \"birthdate\" && this.renderButtons()}\n </div>\n );\n };\n\n render() {\n const { editingDate } = this.state;\n return (\n <div className=\"tw-flex tw-justify-between tw-gap-[8px] hover:tw-bg-gray-5 tw-group tw-py-[8px] tw-px-[20px]\">\n <div className=\"tw-flex tw-flex-col tw-w-full\">\n <div className={css.brivityPersonDetailsLabel}>{this.dateName()}</div>\n {editingDate ? this.editDateFields() : this.renderDate()}\n </div>\n {!editingDate && (\n <div className=\"tw-invisible group-hover:tw-visible\">\n <IconButton size=\"small\" onClick={this.onEditDate}>\n <PencilSolidV6 />\n </IconButton>\n </div>\n )}\n </div>\n );\n }\n}\n\nEditableDate.propTypes = {\n date: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string,\n date: PropTypes.string,\n include_time: PropTypes.bool,\n time_of_day_string: PropTypes.string,\n }).isRequired,\n elementType: PropTypes.string.isRequired,\n noYear: PropTypes.bool,\n person: PropTypes.shape().isRequired,\n updatePersonData: PropTypes.func.isRequired,\n};\n\nEditableDate.defaultProps = {\n noYear: false,\n};\n\nexport default EditableDate;\n","import React from \"react\";\nimport AddTag from \"./AddTag\";\nimport EditableElement from \"./EditableElement\";\nimport EditableDate from \"./EditableDate\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { addTagToPerson, deleteTagFromPerson, updatePersonData } from \"../actions/personDetailActionCreators\";\nimport Loading from \"../../Goals/components/Loader\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport Tag from \"@shared/v2/Tag\";\n\nconst Details = (props) => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n\n const detailsObjects = (type) => {\n return person.included?.filter((a) => a.type === type).map((a) => a.attributes) || [];\n };\n\n return (\n <CollapsibleElement title=\"Details\" id=\"pdp-details\">\n {!person.data && <Loading />}\n <div id=\"person-details-card\" className=\"tw-mx-[-20px]\">\n <EditableElement\n fieldName=\"Description\"\n elementType={\"description\"}\n person={person}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n <div className=\"tw-px-[20px] tw-py-[8px] hover:tw-bg-gray-5 tw-flex tw-flex-col tw-gap-[8px]\">\n <div className=\"tw-text-11d tw-text-gray-75 tw-font-bold tw-uppercase\">Tags</div>\n <div className=\"tw-flex tw-flex-wrap tw-gap-[4px]\">\n {detailsObjects(\"tag\")\n .sort((a, b) => a.name.localeCompare(b.name))\n .map((tag) => (\n <Tag key={tag.id} removable onRemove={() => dispatch(deleteTagFromPerson(tag.id, person))}>\n {tag.name}\n </Tag>\n ))}\n </div>\n <AddTag person={person} addTagToPerson={(...args) => dispatch(addTagToPerson(...args))} />\n </div>\n {person.data?.attributes.birthdate?.date && (\n <EditableDate\n person={person}\n date={person.data.attributes.birthdate}\n elementType=\"birthdate\"\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n noYear\n />\n )}\n {person.data?.attributes.marital_status?.value && (\n <EditableElement\n person={person}\n fieldName=\"Marital Status\"\n elementType={\"marital_status\"}\n dropdownOptions={\"marital_status_options\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.anniversary?.date && (\n <EditableDate\n person={person}\n date={person.data.attributes.anniversary}\n elementType={\"anniversary\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.kids?.value && (\n <EditableElement\n person={person}\n fieldName=\"Kids\"\n elementType={\"kids\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.pets?.value && (\n <EditableElement\n person={person}\n fieldName=\"Pets\"\n elementType={\"pets\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.timezone?.value && (\n <EditableElement\n person={person}\n fieldName=\"Timezone\"\n elementType={\"timezone\"}\n dropdownOptions={\"timezone_options\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.company?.value && (\n <EditableElement\n person={person}\n fieldName=\"Company\"\n elementType={\"company\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.job_title?.value && (\n <EditableElement\n person={person}\n fieldName=\"Job Title\"\n elementType={\"job_title\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n )}\n {person.data?.attributes.custom_dates\n .filter((customDate) => customDate.date != undefined)\n .map((date) => (\n <EditableDate\n person={person}\n date={date}\n elementType={\"custom_date\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n ))}\n <EditableElement\n elementType={\"letter_salutation\"}\n person={person}\n fieldName=\"Letter Salutation\"\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n <EditableElement\n elementType={\"envelope_salutation\"}\n person={person}\n fieldName=\"Envelope Salutation\"\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n {person.data?.attributes.custom_fields &&\n _.flatMap(person.data.attributes.custom_fields, (field, key) => {\n return (\n <EditableElement\n person={person}\n fieldName={key}\n elementType={\"custom_field\"}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n );\n })}\n </div>\n </CollapsibleElement>\n );\n};\n\nexport default Details;\n","import React, { Component } from \"react\";\nimport { produce } from \"immer\";\nimport { Dropdown } from \"../../shared/v1\";\nimport css from \"./person-detail-styles.module.css\";\nimport form from \"./form.module.css\";\nimport axios from \"axios\";\nimport { updatePersonPromise } from \"../actions/updatePerson\";\nimport PhoneValue from \"./PhoneValue\";\nimport { viewPhoneFromFastJsonApi } from \"@shared/models/Communications/viewPhone\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport {\n CaretDownSolidV6,\n PencilSolidV6,\n PlusSolidV6,\n SpinnerSolidV6,\n TrashSolidV6,\n XmarkSolidV6,\n} from \"../../shared/v2/Icomoon\";\nimport Button from \"../../shared/v2/Button\";\nimport TextButton from \"../../shared/v2/TextButton\";\nimport PhoneNumberModal from \"../../Contacts/PhoneNumberModal\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport PersonDetailError from \"./PersonDetailError\";\n\nconst adjustSmsStatus = (phone, newStatus) => {\n return produce((draft) => {\n if (newStatus === \"unsubscribed\") {\n draft.attributes.sms_soft_unsubscribed = true;\n } else if (newStatus === \"voiceOnly\") {\n draft.attributes.sms_soft_unsubscribed = false;\n draft.attributes.sms_textable = false;\n } else if (newStatus === \"valid\") {\n draft.attributes.sms_soft_unsubscribed = false;\n draft.attributes.sms_textable = true;\n }\n }, phone);\n};\n\nconst adjustCallStatus = (phone, newStatus) => {\n return produce((draft) => {\n if (newStatus === \"unsubscribed\") {\n draft.attributes.call_soft_unsubscribed = true;\n } else if (newStatus === \"valid\") {\n draft.attributes.call_soft_unsubscribed = false;\n draft.attributes.call_callable = true;\n }\n }, phone);\n};\n\nclass EditableElementWithAdd extends Component {\n state = {\n editingElement: false,\n addingElement: false,\n addingValue: \"\",\n addingType: null,\n editablePerson: JSON.parse(JSON.stringify(this.props.person)),\n errors: [],\n errorType: null,\n hover: false,\n saving: false,\n showPhoneContext: null,\n };\n\n elementIndex = () => {\n return this.props.person.included.findIndex((element) => element[\"attributes\"][\"id\"] === this.props.id);\n };\n\n element = () => {\n return this.props.person.included[this.elementIndex()];\n };\n\n editableElement = () => {\n return this.state.editablePerson.included[this.elementIndex()];\n };\n\n type = () => {\n return this.props.person.included[this.elementIndex()]?.[\"type\"];\n };\n\n isPrimary = () => {\n switch (this.type()) {\n case \"email_detail\":\n return this.element().attributes.value === this.props.person.data.attributes.main_email;\n case \"phone_detail\":\n return this.element().attributes.value === this.props.person.data.attributes.primary_phone_number;\n default:\n return false;\n }\n };\n\n elementCategory = () => {\n switch (this.type()) {\n case \"email_detail\":\n return \"Email\";\n case \"phone_detail\":\n return \"Phone\";\n default:\n return undefined;\n }\n };\n\n componentWillReceiveProps(nextProps) {\n if (this.props.person !== nextProps.person) {\n this.setState({ editablePerson: JSON.parse(JSON.stringify(nextProps.person)) });\n }\n }\n\n labels = (includeAll) => {\n switch (this.props.type) {\n case \"email\":\n let email_types = [\n { label: \"Personal\", value: \"personal\" },\n { label: \"Work\", value: \"work\" },\n ];\n if (includeAll !== true) {\n let existing_emails =\n this.props.person.included\n ?.filter((a) => a.type === \"email_detail\" && a.id !== null)\n .map((a) => a.attributes) || [];\n existing_emails.forEach((e) => {\n email_types = email_types.filter((t) => t.value !== e.category);\n });\n }\n email_types.push({ label: \"Other\", value: \"other\" });\n return email_types;\n case \"phone\":\n let phone_types = [\n { label: \"Mobile\", value: \"mobile\" },\n { label: \"Home\", value: \"home\" },\n { label: \"Work\", value: \"work\" },\n ];\n if (includeAll !== true) {\n let existing_phones =\n this.props.person.included\n ?.filter((a) => a.type === \"phone_detail\" && a.id !== null)\n .map((a) => a.attributes) || [];\n existing_phones.forEach((p) => {\n phone_types = phone_types.filter((t) => t.value !== p.category);\n });\n }\n phone_types.push({ label: \"Other\", value: \"other\" });\n return phone_types;\n default:\n return [];\n }\n };\n\n addElementLabel = () => {\n switch (this.props.type) {\n case \"email\":\n return \"Add Email Address\";\n case \"phone\":\n return \"Add Phone Number\";\n default:\n return;\n }\n };\n\n updatePerson = (phoneRemovalAck = false) => {\n this.setState({ saving: true }, () => {\n updatePersonPromise(this.state.editablePerson, phoneRemovalAck)\n .then((r) => {\n this.props.updatePersonData(r.data);\n this.setState({ editingElement: false, addingElement: false, errors: [], saving: false });\n })\n .catch((err) => {\n this.setState({ errors: err.response?.data?.errors || [], saving: false });\n });\n });\n };\n\n updatePersonEmailPhone = (phoneRemovalAck = false) => {\n this.setState({ saving: true }, () => {\n updatePersonPromise(this.state.editablePerson, phoneRemovalAck)\n .then((r) => {\n this.props.updatePersonData(r.data);\n this.setState({ editingElement: false, addingElement: false, errors: [], saving: false });\n })\n .catch((err) => {\n this.setState({\n saving: false,\n errors: err.response?.data?.errors || [\"Whoops! Something went wrong.\"],\n });\n });\n });\n };\n\n onElementEdit = () => {\n this.setState({ editingElement: true });\n };\n\n onElementSave = (skipCheck = false) => {\n const hasChanged =\n (this.element().attributes.value || \"\").replace(/\\D/g, \"\") !==\n (this.editableElement().attributes.value || \"\").replace(/\\D/g, \"\");\n if (!skipCheck && hasChanged && this.props.conversationCount > 0) {\n this.setState({\n showPhoneContext: {\n type: \"edit\",\n conversationCount: this.props.conversationCount,\n changedNumbers: [\n {\n previousNumber: this.element().attributes.value,\n currentNumber: this.editableElement().attributes.value,\n },\n ],\n },\n });\n return;\n }\n this.updatePersonEmailPhone(true);\n };\n\n onElementDelete = (skipCheck = false) => {\n if (!skipCheck && this.props.conversationCount > 0) {\n this.setState({\n showPhoneContext: {\n type: \"delete\",\n conversationCount: this.props.conversationCount,\n changedNumbers: [{ previousNumber: this.element().attributes.value }],\n },\n });\n return;\n }\n const includedArray = this.state.editablePerson.included.map((a, i) => {\n // Setting value to empty string currently necessary to trigger manage_main_email_state on Person record\n // when removing an email and to get a .changes from ActiveRecord for the timeline_publishable for Phone & Email\n if (a[\"type\"] === \"email_detail\" || \"phone_detail\") {\n return i === this.elementIndex()\n ? { ...a, attributes: { ...a.attributes, value: \"\", _destroy: \"0\" } }\n : a;\n } else {\n return i === this.elementIndex() ? { ...a, attributes: { ...a.attributes, _destroy: \"1\" } } : a;\n }\n });\n this.setState({ editablePerson: { ...this.state.editablePerson, included: includedArray } }, () =>\n this.updatePerson(true),\n );\n };\n\n onDismissElementEdit = () => {\n this.setState({\n editingElement: false,\n editablePerson: JSON.parse(JSON.stringify(this.props.person)),\n errors: [],\n });\n };\n\n onAddNewDetail = () => {\n this.setState({ addingElement: true });\n };\n\n onDismissElementAdd = () => {\n this.setState({ addingElement: false, errors: [] });\n this.setInitialAddingValue();\n };\n\n onAddingElementSave = () => {\n this.setState(\n (prevState) => {\n return {\n editablePerson: {\n ...prevState.editablePerson,\n included: [...prevState.editablePerson.included, this.state.addingValue],\n },\n };\n },\n () => this.updatePersonEmailPhone(),\n );\n };\n\n handleEditableValueChange = (value, key) => {\n const includedArray = this.state.editablePerson.included.map((a, i) =>\n i === this.elementIndex() ? { ...a, attributes: { ...a.attributes, [key]: value } } : a,\n );\n this.setState({\n editablePerson: {\n ...this.state.editablePerson,\n included: includedArray,\n },\n });\n };\n\n handlePhoneStatusChange = (value, type) => {\n const newState = produce((draft) => {\n const phone = draft.editablePerson.included[this.elementIndex()];\n const transformer = type === \"sms\" ? adjustSmsStatus : adjustCallStatus;\n const newPhone = transformer(phone, value)();\n draft.editablePerson.included[this.elementIndex()] = newPhone;\n }, this.state);\n\n this.setState(newState(), this.onElementSave());\n };\n\n handleAddingValueChange = (value, key) => {\n this.setState((prevState) => {\n return {\n addingValue: {\n ...prevState.addingValue,\n attributes: { ...prevState.addingValue.attributes, [key]: value },\n },\n };\n });\n };\n\n handleAddingTypeChange = (value) => {\n this.setState((prevState) => {\n return {\n addingValue: {\n ...prevState.addingValue,\n attributes: { ...prevState.addingValue.attributes, category: value[\"value\"] },\n },\n };\n });\n };\n\n renderSavingState = () => {\n return (\n <div className=\"tw-py-[8px] tw-px-[20px] hover:tw-bg-gray-5\">\n <div className={css.brivityPersonContactLabel}>{this.props.type}</div>\n <div className=\"tw-flex tw-flex-col tw-justify-center tw-items-center\">\n <p>Saving changes...</p>\n <SpinnerSolidV6 className=\"tw-animate-spin\" />\n </div>\n </div>\n );\n };\n\n editEmailInput = () => {\n return (\n <div>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n options={this.labels(true)}\n onChange={(option) => this.handleEditableValueChange(option.value, \"category\")}\n placeholder=\"Select...\"\n value={this.editableElement()[\"attributes\"][\"category\"]}\n variant=\"flatBlueishGray\"\n />\n <input\n style={{ width: \"100%\" }}\n value={this.editableElement()[\"attributes\"][\"value\"]}\n onChange={(e) => this.handleEditableValueChange(e.target.value, \"value\")}\n className={`${form.rowNarrow} ${form.formControl}`}\n />\n </div>\n );\n };\n\n editPhoneInput = () => {\n const viewPhone = viewPhoneFromFastJsonApi(this.editableElement());\n\n return (\n <div>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n options={this.labels(true)}\n onChange={(option) => this.handleEditableValueChange(option.value, \"category\")}\n placeholder=\"Select...\"\n value={viewPhone.category}\n variant=\"flatBlueishGray\"\n />\n <input\n style={{ width: \"100%\" }}\n value={viewPhone.rawValue}\n onChange={(e) => this.handleEditableValueChange(e.target.value, \"value\")}\n className={`${form.rowNarrow} ${form.formControl}`}\n />\n </div>\n );\n };\n\n renderEditFieldsByType = () => {\n switch (this.type()) {\n case \"email_detail\":\n return this.editEmailInput();\n case \"phone_detail\":\n return this.editPhoneInput();\n default:\n return null;\n }\n };\n\n renderEditFields = () => {\n return (\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px]\">\n {this.renderEditFieldsByType()}\n <div className=\"tw-flex tw-flex-col tw-gap-[8px] tw-items-center\">\n <Button size=\"small\" onClick={() => this.onElementSave()}>\n Save\n </Button>\n <div className=\"tw-flex tw-gap-[4px]\">\n <IconButton size=\"small\" schema=\"misc-trash\" onClick={() => this.onElementDelete()}>\n <TrashSolidV6 />\n </IconButton>\n <IconButton size=\"small\" onClick={this.onDismissElementEdit}>\n <XmarkSolidV6 />\n </IconButton>\n </div>\n </div>\n </div>\n );\n };\n\n renderFieldValues = () => {\n switch (this.type()) {\n case \"email_detail\":\n return this.renderEmailValue();\n case \"phone_detail\":\n return this.renderPhoneValue();\n default:\n return this.renderOtherValue();\n }\n };\n\n unsubscribeEmail = () => {\n this.setState({ saving: true }, () => {\n axios\n .patch(`/api/v4/person_detail/unsubscribe_email/${this.props.person.data.id}`, {\n email: this.element()[\"attributes\"][\"value\"],\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n this.handleEditableValueChange([\"all\"], \"unsubscribed_message_types\");\n this.props.updatePersonData(this.state.editablePerson);\n this.setState({ saving: false });\n })\n .catch((err) => {\n this.setState({\n errors: [...this.state.errors, \"Unable to unsubscribe email, please try again later.\"],\n saving: false,\n });\n });\n });\n };\n\n emailIsUnsubscribed = () => {\n return this.element()[\"attributes\"][\"unsubscribed_message_types\"]?.length > 0;\n };\n\n emailStatus = () => {\n if (this.type() === \"email_detail\") {\n if (this.emailIsUnsubscribed()) {\n return (\n <div>\n <Tooltip\n placement=\"top\"\n trigger={<img src=\"/assets/emails/unsubscribed-email.svg\" className={css.emailStatusIcon} />}\n content=\"Unsubscribed Email\"\n />\n </div>\n );\n }\n switch (this.element()[\"attributes\"][\"is_verified\"]) {\n case true:\n return (\n <div>\n <Tooltip\n placement=\"top\"\n trigger={<img src=\"/assets/emails/valid-email.svg\" className={css.emailStatusIcon} />}\n content=\"Valid Email\"\n />\n </div>\n );\n case false:\n return (\n <div>\n <Tooltip\n placement=\"top\"\n trigger={<img src=\"/assets/emails/invalid-email.svg\" className={css.emailStatusIcon} />}\n content=\"Invalid Email\"\n />\n </div>\n );\n case null:\n return (\n <div>\n <Tooltip\n placement=\"top\"\n trigger={<img src=\"/assets/emails/unverified-email.svg\" className={css.emailStatusIcon} />}\n content=\"Unverified Email\"\n />\n </div>\n );\n default:\n return null;\n }\n }\n };\n\n updateEmailStatus = (status) => {\n const includedArray = this.state.editablePerson.included.map((a, i) =>\n i === this.elementIndex()\n ? { ...a, attributes: { ...a.attributes, is_verified: status, validation_set_by_user: true } }\n : a,\n );\n this.setState(\n {\n editablePerson: {\n ...this.state.editablePerson,\n included: includedArray,\n },\n },\n () => {\n this.updatePerson();\n },\n );\n };\n\n renderEmailValue = () => {\n return (\n <div className={css.brivityPersonContactItem} style={{ alignItems: \"center\" }}>\n {this.emailStatus()}\n {this.emailIsUnsubscribed() && (\n <div className=\"tw-pl-[4px] tw-pr-[10px]\">\n <CaretDownSolidV6 className=\"tw-opacity-60\" />\n </div>\n )}\n {!this.emailIsUnsubscribed() && (\n <Popover offset={0} placement=\"bottom-start\">\n <PopoverTrigger>\n <span className=\"tw-pl-[4px] tw-pr-[10px]\">\n <CaretDownSolidV6 />\n </span>\n </PopoverTrigger>\n <PopoverContent>\n {this.element()[\"attributes\"][\"is_verified\"] === true && (\n <PopoverItem onClick={(e) => this.updateEmailStatus(false)}>\n <img src=\"/assets/emails/invalid-email.svg\" className={css.emailStatusIcon} /> Invalid Email\n </PopoverItem>\n )}\n {this.element()[\"attributes\"][\"is_verified\"] === false && (\n <PopoverItem onClick={(e) => this.updateEmailStatus(true)}>\n <img src=\"/assets/emails/valid-email.svg\" className={css.emailStatusIcon} /> Valid Email\n </PopoverItem>\n )}\n {this.element()[\"attributes\"][\"is_verified\"] === null && (\n <>\n <PopoverItem onClick={(e) => this.updateEmailStatus(true)}>\n <img src=\"/assets/emails/valid-email.svg\" className={css.emailStatusIcon} /> Valid Email\n </PopoverItem>\n <PopoverItem onClick={(e) => this.updateEmailStatus(false)}>\n <img src=\"/assets/emails/invalid-email.svg\" className={css.emailStatusIcon} /> Invalid\n Email\n </PopoverItem>\n </>\n )}\n <PopoverItem onClick={(e) => this.unsubscribeEmail()}>\n <img src=\"/assets/emails/unsubscribed-email.svg\" className={css.emailStatusIcon} />{\" \"}\n Unsubscribe\n </PopoverItem>\n </PopoverContent>\n </Popover>\n )}\n <div className={`${css.brivityPersonContactContents} tw-w-full tw-relative`}>\n <span className={`${css.contactInfoFadeOut} group-hover/editable:after:tw-hidden`}>\n {this.element()[\"attributes\"][\"value\"]}\n </span>\n </div>\n </div>\n );\n };\n\n renderPhoneValue = () => {\n const viewPhone = viewPhoneFromFastJsonApi(this.element());\n const { handlePhoneStatusChange } = this;\n const { isDnc } = this.props;\n return <PhoneValue phone={viewPhone} isDnc={isDnc} onChange={handlePhoneStatusChange} />;\n };\n\n renderOtherValue = () => {\n return (\n <div className={css.brivityPersonContactItem}>\n <div className={`${css.brivityPersonContactContents} tw-w-full`}>\n <span className={`${css.contactInfoFadeOut} group-hover/editable:after:tw-hidden`}>\n {this.element()[\"attributes\"][\"value\"]}\n </span>\n </div>\n </div>\n );\n };\n\n addPhoneOrEmailElement = () => {\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px]\">\n <Dropdown\n isSearchable={false}\n isClearable={false}\n placeholder=\"Select Label\"\n value={this.state.addingValue[\"attributes\"][\"category\"]}\n onChange={this.handleAddingTypeChange}\n options={this.labels()}\n variant=\"flatBlueishGray\"\n />\n <input\n value={this.state.addingValue[\"attributes\"][\"value\"]}\n onChange={(e) => this.handleAddingValueChange(e.target.value, \"value\")}\n className={`${form.formControl}`}\n />\n </div>\n );\n };\n\n renderAddElementByType = () => {\n switch (this.props.type) {\n case \"email\":\n return this.addPhoneOrEmailElement();\n case \"phone\":\n return this.addPhoneOrEmailElement();\n default:\n return;\n }\n };\n\n renderAddingElement = () => {\n return (\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px]\">\n <div className=\"tw-flex-1\">{this.renderAddElementByType()}</div>\n <div className=\"tw-flex tw-gap-[8px]\">\n <Button size=\"small\" onClick={this.onAddingElementSave}>\n Save\n </Button>\n <IconButton size=\"small\" onClick={this.onDismissElementAdd}>\n <XmarkSolidV6 />\n </IconButton>\n </div>\n </div>\n );\n };\n\n elementDoesExist = () => {\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[8px] tw-py-[8px] tw-px-[20px] hover:tw-bg-gray-5 tw-group/editable\">\n <div className=\"tw-flex tw-justify-between tw-items-center tw-gap-[8px]\">\n {/*TODO: can this inline-block be moved on this class?*/}\n <div className={css.brivityPersonContactLabel}>\n {`${this.elementCategory()} (${this.element()[\"attributes\"][\"category\"]})`}\n {this.isPrimary() && \"*\"}\n </div>\n {!this.props.disabled && !this.state.editingElement && (\n <div className=\"tw-invisible group-hover/editable:tw-visible tw-flex tw-gap-[4px]\">\n <IconButton size=\"small\" onClick={this.onElementEdit}>\n <PencilSolidV6 />\n </IconButton>\n <IconButton size=\"small\" onClick={this.onAddNewDetail}>\n <PlusSolidV6 />\n </IconButton>\n </div>\n )}\n </div>\n <div className={css.brivityPersonDetailsText}>\n {this.state.editingElement ? this.renderEditFields() : this.renderFieldValues()}\n </div>\n {this.state.addingElement && this.renderAddingElement()}\n <PhoneNumberModal\n showContext={this.state.showPhoneContext}\n onClose={(phoneRemovalAck) => {\n if (phoneRemovalAck) {\n if (this.state.showPhoneContext.type === \"delete\") {\n this.onElementDelete(true);\n }\n if (this.state.showPhoneContext.type === \"edit\") {\n this.onElementSave(true);\n }\n }\n this.setState({ showPhoneContext: null });\n }}\n />\n </div>\n );\n };\n\n elementDoesNotExist = () => {\n return (\n <div className=\"tw-flex tw-flex-col tw-items-start tw-gap-[8px] tw-px-[20px] tw-py-[8px] hover:tw-bg-gray-5\">\n <div className={css.brivityPersonContactLabel}>{this.props.type}</div>\n {!this.state.addingElement && (\n <TextButton schema=\"sentence\" onClick={this.onAddNewDetail}>\n {this.addElementLabel()}\n </TextButton>\n )}\n {this.state.addingElement && this.renderAddingElement()}\n </div>\n );\n };\n\n setInitialAddingValue = () => {\n switch (this.props.type) {\n case \"phone\":\n this.setState({\n addingValue: {\n type: \"phone_detail\",\n attributes: { name: this.props.type, value: \"\", category: this.labels()[0][\"value\"] },\n },\n });\n break;\n case \"email\":\n this.setState({\n addingValue: {\n type: \"email_detail\",\n attributes: { name: this.props.type, value: \"\", category: this.labels()[0][\"value\"] },\n },\n });\n break;\n default:\n break;\n }\n };\n\n handleHover = () => {\n this.setState((prevState) => ({\n hover: !prevState.hover,\n }));\n };\n\n componentDidMount() {\n this.setInitialAddingValue();\n }\n\n render() {\n const { id } = this.props;\n const { errors, saving } = this.state;\n return (\n <>\n <div className=\"tw-px-20px\">\n {errors?.map((error, i) => (\n <PersonDetailError key={i} error={error} />\n ))}\n </div>\n {saving\n ? this.renderSavingState()\n : id === undefined\n ? this.elementDoesNotExist()\n : this.elementDoesExist()}\n </>\n );\n }\n}\n\nexport default EditableElementWithAdd;\n","import React from \"react\";\n\nconst iconStyle = (icon) => `tw-text-[17px] tw-w-[32px] tw-h-[32px] tw-text-center tw-cursor-pointer ${icon}`;\n\nconst SocialIcon = ({ link, icon }) => (\n <a\n className={`tw-flex tw-justify-center tw-items-center tw-w-[38px] tw-h-[38px] tw-rounded-full hover:tw-no-underline ${link ? \"tw-text-white hover:tw-text-white tw-bg-theme-primary\" : \"tw-text-gray-50 hover:tw-text-gray-50 tw-bg-gray-15\"}`}\n href={link ? `${link.indexOf(\"://\") === -1 ? \"https://\" : \"\"}${link}` : \"\"}\n target=\"_blank\"\n onClick={(e) => !link && e.preventDefault()}\n >\n <i className={`${icon}`} />\n </a>\n);\n\nexport default SocialIcon;\n","import React, { useState, useEffect } from \"react\";\nimport { Row, Col, Alert } from \"react-bootstrap\";\nimport { produce } from \"immer\";\nimport person_detail_css from \"./person-detail-styles.module.css\";\nimport Input from \"../../shared/Input\";\nimport form_css from \"./form.module.css\";\nimport SocialIcon from \"./SocialIcon\";\nimport css from \"./person-detail-styles.module.css\";\nimport buttons from \"./button.module.css\";\nimport { updatePersonPromise } from \"../actions/updatePerson\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { closeEditSocialMediaModal, updatePersonData } from \"../actions/personDetailActionCreators\";\n\nconst EditSocialMediaForm = () => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const [editablePerson, setEditablePerson] = useState(person);\n const [errors, setErrors] = useState(null);\n\n useEffect(() => {\n setEditablePerson(person);\n }, [person]);\n\n const handleEditableValueChange = (value, key) => {\n setEditablePerson(\n produce(editablePerson, (draft) => {\n draft.data.attributes[key].value = value;\n }),\n );\n };\n\n const saveChanges = () => {\n updatePersonPromise(editablePerson)\n .then((r) => {\n dispatch(updatePersonData(r.data));\n dispatch(closeEditSocialMediaModal());\n })\n .catch((err) => {\n setErrors(err.response.data.errors || [\"Something went wrong...\"]);\n });\n };\n\n return (\n <div>\n <Row>\n <Col xs={12}>\n {errors && (\n <Alert bsStyle=\"danger\">\n {errors.map((error) => (\n <span>\n <strong>Error: </strong> {error}\n <br />\n </span>\n ))}\n </Alert>\n )}\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.facebook.value} icon=\"fa fa-facebook\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>FACEBOOK</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.facebook.value}\n placeholder={\"Facebook profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"facebook\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.twitter.value} icon=\"fab fa6-x-twitter\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>Twitter</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.twitter.value}\n placeholder={\"X profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"twitter\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.linkedin.value} icon=\"fa fa-linkedin\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>LINKEDIN</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.linkedin.value}\n placeholder={\"LinkedIn profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"linkedin\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.instagram.value} icon=\"fa fa-instagram\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>INSTAGRAM</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.instagram.value}\n placeholder={\"Instagram profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"instagram\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.youtube.value} icon=\"fab fa6-youtube\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>YOUTUBE</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.youtube.value}\n placeholder={\"Youtube profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"youtube\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.tiktok.value} icon=\"fab fa6-tiktok\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>TIKTOK</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.tiktok.value}\n placeholder={\"Tiktok profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"tiktok\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-start\">\n <div\n className={css.brivityPersonContactSocial}\n style={{ paddingTop: \"15px\", paddingRight: \"15px\" }}\n >\n <SocialIcon link={editablePerson.data.attributes.pinterest.value} icon=\"fab fa6-pinterest\" />\n </div>\n <div className=\"form-group\" style={{ width: \"100%\" }}>\n <label className={person_detail_css.personDetailLabel}>PINTEREST</label>\n <Input\n type=\"text\"\n className={form_css.formControl}\n value={editablePerson.data.attributes.pinterest.value}\n placeholder={\"Pinterest profile page URL\"}\n onChange={(e) => handleEditableValueChange(e.target.value, \"pinterest\")}\n />\n </div>\n </div>\n </Col>\n </Row>\n\n <Row>\n <Col xs={12}>\n <div className=\"d-flex flex-justify-space-between p-t-20\">\n <a\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnGray} pull-left`}\n onClick={() => dispatch(closeEditSocialMediaModal())}\n >\n Cancel\n </a>\n <a\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnBlue} pull-right`}\n onClick={saveChanges}\n >\n Save Changes\n </a>\n </div>\n </Col>\n </Row>\n </div>\n );\n};\n\nexport default EditSocialMediaForm;\n","import React, { Component } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport EditSocialMediaForm from \"../EditSocialMediaForm\";\n\nconst EditSocialMediaModal = ({ closeEditSocialMediaModal }) => (\n <Modal\n id=\"edit-social-media-modal\"\n className=\"person-details-modal\"\n show={true}\n onHide={closeEditSocialMediaModal}\n bsSize={\"small\"}\n >\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title=\"Edit Social Media Links\" onClose={closeEditSocialMediaModal} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <EditSocialMediaForm />\n </Modal.Body>\n </Modal>\n);\n\nexport default EditSocialMediaModal;\n","/* eslint-disable no-underscore-dangle */\nimport React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport RemoveFieldButton from \"@shared/v2/RemoveFieldButton\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport TextInput from \"@shared/v2/TextInput\";\n\nfunction AddressView({\n removable,\n currentAddress,\n options,\n stateOptions,\n onRemoveAddressHandlr,\n onTypeHandlr,\n onStreetHandlr,\n onCityHandlr,\n onPostalCodeHandlr,\n onLocalityHandlr,\n}) {\n const {\n address_type: addressType,\n city,\n postal_code: postalCode,\n street_address: streetAddress,\n locality,\n } = currentAddress;\n\n const allOptions = useMemo(\n () =>\n [].concat(\n ...stateOptions.map((category) =>\n category.options.map((option) => ({ label: option.value, value: option.value })),\n ),\n ),\n [stateOptions],\n );\n\n return (\n <div className=\"tw-flex tw-flex-col tw-gap-[24px]\">\n <div className=\"tw-flex tw-gap-2\">\n <Dropdown\n containerClassName=\"tw-w-full\"\n label=\"Address Type\"\n options={options}\n onChange={onTypeHandlr}\n value={options.find((o) => o.value === addressType)}\n placeholder=\"Choose One\"\n />\n\n {removable && (\n <RemoveFieldButton onClick={onRemoveAddressHandlr} className=\"tw-mt-auto tw-mb-[1px]\" />\n )}\n </div>\n <TextInput label=\"Street Address\" onChange={onStreetHandlr} value={streetAddress} />\n <div className=\"tw-flex tw-gap-6\">\n <TextInput containerClassName=\"tw-flex-1\" label=\"City\" onChange={onCityHandlr} value={city} />\n <div className=\"tw-flex-1 tw-flex tw-gap-3\">\n <Dropdown\n containerClassName=\"tw-flex-1\"\n label=\"State / Province\"\n options={stateOptions}\n onChange={onLocalityHandlr}\n value={allOptions.find((o) => o.value === locality)}\n placeholder=\"Select\"\n isSearchable\n menuShouldComeToFront\n />\n <TextInput label=\"ZIP / Postal Code\" onChange={onPostalCodeHandlr} value={postalCode} />\n </div>\n </div>\n <hr className=\"tw-w-full tw-border-gray-10 tw-m-0\" />\n </div>\n );\n}\nconst addressPropType = PropTypes.shape({\n address_type: PropTypes.string,\n city: PropTypes.string,\n country: PropTypes.string,\n locality: PropTypes.string,\n street_address: PropTypes.string,\n postal_code: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n id: PropTypes.number,\n _destroy: PropTypes.bool,\n});\nAddressView.propTypes = {\n removable: PropTypes.bool,\n currentAddress: addressPropType,\n onRemoveAddressHandlr: PropTypes.func,\n onTypeHandlr: PropTypes.func,\n onStreetHandlr: PropTypes.func,\n onCityHandlr: PropTypes.func,\n onPostalCodeHandlr: PropTypes.func,\n onLocalityHandlr: PropTypes.func,\n stateOptions: PropTypes.arrayOf(\n PropTypes.shape({\n category: PropTypes.string,\n options: PropTypes.arrayOf(PropTypes.shape({ label: PropTypes.string, value: PropTypes.string })),\n }),\n ).isRequired,\n options: PropTypes.arrayOf(PropTypes.shape({})),\n};\n\nAddressView.defaultProps = {\n removable: false,\n currentAddress: null,\n options: [],\n onRemoveAddressHandlr: () => {},\n onTypeHandlr: () => {},\n onStreetHandlr: () => {},\n onCityHandlr: () => {},\n onPostalCodeHandlr: () => {},\n onLocalityHandlr: () => {},\n};\nexport default AddressView;\n","// eslint-disable-next-line import/prefer-default-export\nexport const LOCALITY_LIST = [\n {\n label: \"United States\",\n options: [\n { label: \"Alabama (AL)\", value: \"AL\" },\n { label: \"Alaska (AK)\", value: \"AK\" },\n { label: \"American Samoa (AS)\", value: \"AS\" },\n { label: \"Arizona (AZ)\", value: \"AZ\" },\n { label: \"Arkansas (AR)\", value: \"AR\" },\n { label: \"California (CA)\", value: \"CA\" },\n { label: \"Colorado (CO)\", value: \"CO\" },\n { label: \"Connecticut (CT)\", value: \"CT\" },\n { label: \"Delaware (DE)\", value: \"DE\" },\n { label: \"District of Columbia (DC)\", value: \"DC\" },\n { label: \"Federated States of Micronesia (FM)\", value: \"FM\" },\n { label: \"Florida (FL)\", value: \"FL\" },\n { label: \"Georgia (GA)\", value: \"GA\" },\n { label: \"Guam (GU)\", value: \"GU\" },\n { label: \"Hawaii (HI)\", value: \"HI\" },\n { label: \"Idaho (ID)\", value: \"ID\" },\n { label: \"Illinois (IL)\", value: \"IL\" },\n { label: \"Indiana (IN)\", value: \"IN\" },\n { label: \"Iowa (IA)\", value: \"IA\" },\n { label: \"Kansas (KS)\", value: \"KS\" },\n { label: \"Kentucky (KY)\", value: \"KY\" },\n { label: \"Louisiana (LA)\", value: \"LA\" },\n { label: \"Maine (ME)\", value: \"ME\" },\n { label: \"Marshall Islands (MH)\", value: \"MH\" },\n { label: \"Maryland (MD)\", value: \"MD\" },\n { label: \"Massachusetts (MA)\", value: \"MA\" },\n { label: \"Michigan (MI)\", value: \"MI\" },\n { label: \"Minnesota (MN)\", value: \"MN\" },\n { label: \"Mississippi (MS)\", value: \"MS\" },\n { label: \"Missouri (MO)\", value: \"MO\" },\n { label: \"Montana (MT)\", value: \"MT\" },\n { label: \"Nebraska (NE)\", value: \"NE\" },\n { label: \"Nevada (NV)\", value: \"NV\" },\n { label: \"New Hampshire (NH)\", value: \"NH\" },\n { label: \"New Jersey (NJ)\", value: \"NJ\" },\n { label: \"New Mexico (NM)\", value: \"NM\" },\n { label: \"New York (NY)\", value: \"NY\" },\n { label: \"North Carolina (NC)\", value: \"NC\" },\n { label: \"North Dakota (ND)\", value: \"ND\" },\n { label: \"Northern Mariana Islands (MP)\", value: \"MP\" },\n { label: \"Ohio (OH)\", value: \"OH\" },\n { label: \"Oklahoma (OK)\", value: \"OK\" },\n { label: \"Oregon (OR)\", value: \"OR\" },\n { label: \"Palau (PW)\", value: \"PW\" },\n { label: \"Pennsylvania (PA)\", value: \"PA\" },\n { label: \"Puerto Rico (PR)\", value: \"PR\" },\n { label: \"Rhode Island (RI)\", value: \"RI\" },\n { label: \"South Carolina (SC)\", value: \"SC\" },\n { label: \"South Dakota (SD)\", value: \"SD\" },\n { label: \"Tennessee (TN)\", value: \"TN\" },\n { label: \"Texas (TX)\", value: \"TX\" },\n { label: \"Utah (UT)\", value: \"UT\" },\n { label: \"Vermont (VT)\", value: \"VT\" },\n { label: \"Virgin Islands (VI)\", value: \"VI\" },\n { label: \"Virginia (VA)\", value: \"VA\" },\n { label: \"Washington (WA)\", value: \"WA\" },\n { label: \"West Virginia (WV)\", value: \"WV\" },\n { label: \"Wisconsin (WI)\", value: \"WI\" },\n { label: \"Wyoming (WY)\", value: \"WY\" },\n ],\n },\n {\n label: \"Canada\",\n options: [\n { label: \"Alberta (AB)\", value: \"AB\" },\n { label: \"British Columbia (BC)\", value: \"BC\" },\n { label: \"Manitoba (MB)\", value: \"MB\" },\n { label: \"New Brunswick (NB)\", value: \"NB\" },\n { label: \"Newfoundland and Labrador (NL)\", value: \"NL\" },\n { label: \"Northwest Territories (NT)\", value: \"NT\" },\n { label: \"Nova Scotia (NS)\", value: \"NS\" },\n { label: \"Nunavut (NU)\", value: \"NU\" },\n { label: \"Ontario (ON)\", value: \"ON\" },\n { label: \"Prince Edward Island (PE)\", value: \"PE\" },\n { label: \"Quebec (QC)\", value: \"QC\" },\n { label: \"Saskatchewan (SK)\", value: \"SK\" },\n { label: \"Yukon (YT)\", value: \"YT\" },\n ],\n },\n];\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport _ from \"lodash\";\nimport AddressView from \"@shared/AddressView\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport { PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport { updatePersonPromise } from \"../../actions/updatePerson\";\nimport { LOCALITY_LIST } from \"../../shared/constants\";\nimport PersonDetailError from \"../PersonDetailError\";\n\nclass EditAddressesModal extends Component {\n constructor(props) {\n super(props);\n const editablePerson = _.cloneDeep(props.person);\n this.state = {\n editablePerson: {\n ...editablePerson,\n included: _.remove(editablePerson.included, (currentObject) => currentObject.id !== null),\n },\n errors: null,\n loading: false,\n selectedAddressTypes: [],\n };\n }\n\n componentDidMount() {\n const { person } = this.props;\n this.setState({\n selectedAddressTypes: person.included\n .filter((item) => item.type === \"address\" && item.id !== null)\n .map((item) => _.get(item, \"attributes.address_type\")),\n });\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n const { person } = this.props;\n if (person !== nextProps.person) {\n this.setState({ editablePerson: JSON.parse(JSON.stringify(nextProps.person)) });\n }\n }\n\n handleSaveClick = () => {\n const { editablePerson } = this.state;\n const { updatePersonData, closeEditAddressModal } = this.props;\n this.setState({ loading: true });\n updatePersonPromise(editablePerson)\n .then((r) => {\n updatePersonData(r.data);\n closeEditAddressModal();\n this.setState({ loading: false, errors: null });\n })\n .catch((err) => {\n if (err.response.data.errors?.every((e) => e.code === \"100\")) {\n updatePersonData(editablePerson);\n }\n this.setState({ loading: false, errors: err.response.data.errors });\n });\n };\n\n handleIncludedValueChange = (object, value, key) => {\n const { editablePerson } = this.state;\n const includedArray = editablePerson.included;\n const index = includedArray.indexOf(object);\n includedArray[index].attributes[key] = value;\n this.setState({\n editablePerson: {\n ...editablePerson,\n included: includedArray,\n },\n });\n };\n\n onAddAddressClick = () => {\n const { editablePerson, selectedAddressTypes } = this.state;\n this.setState({\n editablePerson: {\n ...editablePerson,\n included: [\n ...editablePerson.included,\n {\n type: \"address\",\n attributes: {\n address_type: this.labels()[0].value,\n city: \"\",\n locality: \"\",\n postal_code: \"\",\n street_address: \"\",\n tempId: Date.now(),\n },\n },\n ],\n },\n selectedAddressTypes: [...selectedAddressTypes, this.labels()[0].value],\n });\n };\n\n handleRemoveIncludedAttribute = (object) => {\n const { editablePerson } = this.state;\n const includedArray = _.cloneDeep(editablePerson.included);\n const index = includedArray.indexOf(object);\n includedArray.splice(index, 1);\n this.setState({\n editablePerson: {\n ...editablePerson,\n included: includedArray,\n },\n });\n };\n\n labels = () => {\n const { selectedAddressTypes } = this.state;\n let options = [\n { label: \"Home\", value: \"home\" },\n { label: \"Work\", value: \"work\" },\n { label: \"Mailing\", value: \"mailing\" },\n { label: \"Investment\", value: \"investment\" },\n ];\n\n options = options.filter((option) => !selectedAddressTypes.includes(option.value));\n\n return [...options, { label: \"Other\", value: \"other\" }];\n };\n\n updateIncluded = (tempIdOrId) => (newAttributes) => {\n this.setState((prevState) => {\n const editablePersonClone = _.cloneDeep(prevState.editablePerson);\n\n editablePersonClone.included.forEach((item) => {\n const itemId = _.get(item, \"attributes.id\");\n const itemTempId = _.get(item, \"attributes.tempId\");\n\n if (itemId === tempIdOrId || itemTempId === tempIdOrId) {\n _.merge(item.attributes, newAttributes);\n }\n });\n\n return { editablePerson: editablePersonClone };\n });\n };\n\n render() {\n const { editablePerson, errors, loading, selectedAddressTypes } = this.state;\n const { closeEditAddressModal, show } = this.props;\n\n return (\n <Modal\n id=\"edit-addresses-modal\"\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-max-w-[800px] tw-max-h-[90vh] tw-w-[100vw] tw-flex tw-flex-col tw-gap-[32px]\"\n show={show}\n onHide={closeEditAddressModal}\n >\n <Modal.Header title=\"Edit Addresses\" closeButton={!loading} />\n <Modal.Body className=\"tw-overflow-auto tw-flex-1 tw-flex tw-flex-col tw-gap-[24px]\">\n {errors?.map((error, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <PersonDetailError key={i} error={error} />\n ))}\n {editablePerson.included\n // eslint-disable-next-line no-underscore-dangle\n .filter((d) => d.type === \"address\" && !d.attributes._destroy)\n .map((address) => {\n const usableId = address.attributes.id || address.attributes.tempId;\n const addressType = address.attributes.address_type;\n\n // this returns a function that will update the included object with the new attributes\n const updateAddress = this.updateIncluded(usableId);\n return (\n <AddressView\n currentAddress={{\n ...address.attributes,\n locality: _.toUpper(address.attributes.locality),\n }}\n options={_.uniqWith(\n [{ label: _.capitalize(addressType), value: _.toLower(addressType) }, ...this.labels()],\n _.isEqual,\n )}\n stateOptions={LOCALITY_LIST}\n key={usableId}\n onRemoveAddressHandlr={() => {\n if (address.attributes.id) {\n this.setState({\n editablePerson: {\n ...editablePerson,\n included: editablePerson.included.map((item) => {\n if (item.attributes.id === address.attributes.id) {\n return {\n ...item,\n attributes: {\n ...item.attributes,\n _destroy: true,\n },\n };\n }\n return item;\n }),\n },\n });\n return;\n }\n\n this.handleRemoveIncludedAttribute(address);\n // update the selected address types, remove the old one\n this.setState({\n selectedAddressTypes: [..._.without(selectedAddressTypes, addressType)],\n });\n }}\n onTypeHandlr={(option) => {\n updateAddress({ address_type: option?.value });\n // update the selected address types, remove the old one and add the new one\n this.setState({\n selectedAddressTypes: [..._.without(selectedAddressTypes, addressType), option?.value],\n });\n }}\n onStreetHandlr={(e) => updateAddress({ street_address: e.target.value })}\n onCityHandlr={(e) => updateAddress({ city: e.target.value })}\n onPostalCodeHandlr={(e) => updateAddress({ postal_code: e.target.value })}\n onLocalityHandlr={(option) => updateAddress({ locality: option?.value })}\n removable\n />\n );\n })}\n <div>\n <Button\n className=\"!tw-inline-flex tw-items-center tw-gap-[4px]\"\n data-cy=\"edit-addresses-add-address\"\n onClick={this.onAddAddressClick}\n >\n Add Address <PlusSolidV6 />\n </Button>\n </div>\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-between tw-gap-[8px]\">\n <Button disabled={loading} schema=\"tertiary\" size=\"medium\" onClick={closeEditAddressModal}>\n Cancel\n </Button>\n <Button\n isLoading={loading}\n size=\"medium\"\n data-cy=\"edit-addresses-save\"\n onClick={this.handleSaveClick}\n >\n Save\n </Button>\n </Modal.Footer>\n </Modal>\n );\n }\n}\n\nEditAddressesModal.propTypes = {\n person: PropTypes.shape().isRequired,\n closeEditAddressModal: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n updatePersonData: PropTypes.func.isRequired,\n};\n\nexport default EditAddressesModal;\n","import React, {useEffect, useState} from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport {MergeSolidV6, TriangleExclamationSolidV6, XmarkLargeSolidV6} from \"@shared/v2/Icomoon\";\nimport { useContactMergeHasDuplicates } from \"../../reducers/contactMergeReducer/selectors\";\nimport * as actions from \"../../reducers/contactMergeReducer\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport {caseTransformingAxios} from \"@shared/v2/caseTransformingAxios\";\n\nconst DuplicateLeadCard = () => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const person = useSelector((state) => state.personDetail.person);\n const hasDuplicates = useContactMergeHasDuplicates();\n\n const [hidden, setHidden] = useState(true)\n useEffect(() => {\n if (hasDuplicates){\n setHidden(false)}\n }, [hasDuplicates]\n )\n\n if (\n hidden ||\n !currentUser.account.isAdmin ||\n String(currentUser.person.id) === String(person.data?.id) ||\n person.data?.attributes?.type_name !== \"lead\"\n ) {\n return null;\n }\n\n return (\n <div className=\"tw-shadow-card tw-rounded-[8px] tw-p-[12px] tw-flex tw-flex-col tw-gap-[8px] tw-mb-[24px] tw-relative\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <span className=\"tw-flex tw-items-center tw-gap-[4px] tw-text-brand-warning\">\n <TriangleExclamationSolidV6 />\n <h4 className=\"tw-m-0 tw-text-14d tw-font-semibold\">Duplicate Lead</h4>\n </span>\n <IconButton size=\"small\" schema=\"transparent\" onClick={() => {\n setHidden(true);\n caseTransformingAxios\n .get(`/api/v4/person/${person.data.attributes.slug}/dismiss_detected_duplicates`)\n .catch(console.log);\n }}>\n <XmarkLargeSolidV6 />\n </IconButton>\n </div>\n <span>Email or mobile phone is identical to other leads</span>\n <Button\n className=\"tw-self-start tw-flex tw-items-center\"\n schema=\"secondary\"\n onClick={() => {\n dispatch(actions.setOtherContact(null));\n dispatch(actions.setModalIsOpen(true));\n }}\n >\n <MergeSolidV6 className=\"tw-mr-[4px]\" /> Merge Duplicates\n </Button>\n </div>\n );\n};\n\nexport default DuplicateLeadCard;\n","import { AiComponentsProvider, AreaProInsightButtonGroup } from \"@brivity/ai-components\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Button from \"@shared/v2/Button\";\nimport { AreaProCustomv6 } from \"@icons/index\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport React from \"react\";\nimport useAiToken from \"@shared/AiAssistant/hooks/useAiToken\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst AreaPro = ({ addresses }) => {\n\n const { apiUrl, token } = useAiToken();\n const currentUser = useCurrentUser();\n const areaProLink = `https://app.areapro.com/auto?email=${currentUser.email}`\n const openLink = () => {\n window.open(areaProLink, \"_blank\");\n };\n\n return (\n <CollapsibleElement\n title=\"AreaPro\"\n containerClassName=\"tw-px-[20px] tw-py-[16px]\"\n chevronPlacementLeft={false}\n chevronClassName=\"\"\n >\n {token && (\n <AiComponentsProvider\n apiUrl={apiUrl}\n theme={document.body.classList.contains(\"place-theme\") ? \"ai-place\" : \"ai-brivity\"}\n token={token}\n >\n {addresses.length > 0 ? (\n <div>\n <div className=\"tw-mb-[14px] tw-mt-[16px] tw-text-12d\">Access easy-to-understand market stats for this\n lead's address(es) with <TextLink className=\"tw-text-[12px]\" href={areaProLink} target=\"_blank\">\n AreaPro</TextLink>.\n </div>\n <AreaProInsightButtonGroup\n addresses={addresses}\n containerStyle={{ gap: \"10px\" }}\n />\n </div>\n ) : (\n <div className=\"tw-mt-[12px] tw-text-12d\">\n Save an address for this lead to get market stats, or visit <TextLink className=\"tw-text-[12px]\"\n href={areaProLink}\n target=\"_blank\">AreaPro</TextLink> for\n custom areas.\n <Button\n onClick={openLink}\n schema=\"secondary\"\n size=\"medium\"\n className={`tw-mt-[12px] tw-text-[11px] tw-leading-[16px] tw-justify-center tw-w-[100%] !tw-rounded-8px tw-flex tw-gap-6px tw-items-center`}\n >\n <AreaProCustomv6 size=\"m\"/> GO TO AREAPRO\n </Button>\n </div>\n )}\n </AiComponentsProvider>\n )}\n </CollapsibleElement>\n );\n};\n\nexport default AreaPro;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport { sortBy } from \"lodash\";\nimport api from \"@shared/phoneDncStatusApi\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\nimport { getPostJsonHeaders } from \"@shared/axiosHelpers\";\nimport { getExternalApi } from \"@shared/externalApi\";\nimport css from \"./person-detail-styles.module.css\";\nimport EditableElementWithAdd from \"./EditableElementWithAdd\";\nimport SocialIcon from \"./SocialIcon\";\nimport EditSocialMediaModal from \"./modals/EditSocialMediaModal\";\nimport EditAddressesModal from \"./modals/EditAddressesModal\";\nimport Loading from \"../../Goals/components/Loader\";\nimport {\n closeEditAddressModal,\n closeEditSocialMediaModal,\n openEditAddressModal,\n openEditSocialMediaModal,\n updatePersonData,\n} from \"../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport IconButton from \"../../shared/v2/IconButton\";\nimport { PencilSolidV6, PlusSolidV6, } from \"../../shared/v2/Icomoon\";\nimport DuplicateLeadCard from \"./DuplicateLeadCard\";\nimport { useMessagingServiceUrl } from \"../../reducers/messagingReducer/selectors\";\nimport useIsEditable from \"../shared/useIsEditable\";\nimport AreaPro from \"./AreaPro\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\n\nconst getListingStatusColors = (status) => {\n switch (status) {\n case \"Active\":\n return { text: \"tw-text-[#36b25f]\", background: \"tw-bg-[#EDFAF1]\" };\n case \"Pending\":\n case \"Active Under Contract\":\n return { text: \"tw-text-[#e5941b]\", background: \"tw-bg-[#faf1e6]\" };\n case \"Closed\":\n return { text: \"tw-text-[#e5342e]\", background: \"tw-bg-[#fae6e6]\" };\n case \"Withdrawn\":\n default:\n return { text: \"tw-text-[#666666]\", background: \"tw-bg-[#f5f7f7]\" };\n }\n};\n\nconst phoneNumbers = (person) =>\n (person.included || [])\n .filter((a) => a.type === \"phone_detail\" && a.id !== null)\n .map((phone) => phone.attributes?.value);\n\nconst getAddressAttributes = (person) =>\n (person.included || [])\n .filter((a) => a.type === \"address\" && a.id !== null)\n .map((address) => ({ ...address.attributes, id: address.id }));\n\nconst getFormattedAddressesHomeFirst = (person) =>\n getAddressAttributes(person)\n .sort((a, b) => a.address_type === 'home' ? -1 : 1)\n .map((address) =>\n `${address.street_address} ${address.city}, ${address.locality} ${address.postal_code}`\n );\n\nconst getListingsForPersonAddresses = async (personId) => {\n const [res] = await tryCatchHandlr(\n axios.get(`/geo_addresses/listings_for_person?person_id=${personId}`, getPostJsonHeaders()),\n );\n\n return res?.data || {};\n};\n\nconst getListings = async (blossorIds) => {\n if (!blossorIds.length) {\n return [];\n }\n\n const data = {\n search_request: {\n blossorIds,\n statuses: [1, 2, 3, 4, 5],\n queryOptions: {\n sort: [{ field: \"listDate\", order: \"desc\" }],\n },\n },\n };\n\n const [res] = await tryCatchHandlr(axios.post(\"/listings_api/search\", data, getPostJsonHeaders()));\n\n return res?.data || [];\n};\n\nconst mapAddress = (addressAttributes, addressListingStatuses) => ({\n addressType: addressAttributes.address_type,\n streetAddress: addressAttributes.street_address,\n cityStateZip: `${addressAttributes.city}, ${addressAttributes.locality} ${addressAttributes.postal_code}`,\n status: addressListingStatuses[addressAttributes.id]?.status || \"\",\n updated: addressListingStatuses[addressAttributes.id]?.updated || \"\",\n});\n\nconst mapAddressListingStatus = (blossorIdsForAddress, listings) => {\n if (!blossorIdsForAddress?.length) {\n return {};\n }\n\n let listing;\n let hasBadMatches = false;\n listings.forEach((l) => {\n // If an address has any N/A standard addresses associated with it, we don't want to trust that data for now.\n if (l.standardAddress?.startsWith(\"N/A,\")) {\n hasBadMatches = true;\n return;\n }\n\n if (!listing && blossorIdsForAddress.includes(l.blossorId)) {\n listing = l;\n }\n });\n\n if (hasBadMatches || !listing) {\n return {};\n }\n\n return {\n updated: listing.lastStatusChangeDate || listing.updateDate,\n status: listing.standardStatus === \"Expired\" ? \"Withdrawn\" : listing.standardStatus,\n };\n};\n\nconst ContactInfo = () => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const editAddressModalOpen = useSelector((state) => state.personDetail.editAddressModalOpen);\n const editSocialMediaModalOpen = useSelector((state) => state.personDetail.editSocialMediaModalOpen);\n const messagingServiceUrl = useMessagingServiceUrl();\n const messagingApi = getExternalApi(messagingServiceUrl);\n const [dncStatuses, setDncStatuses] = useState({});\n const [conversationCounts, setConversationCounts] = useState({});\n const [addressListingStatuses, setAddressListingStatuses] = useState({});\n\n const disabled = !useIsEditable();\n\n const featureFlag = useFeatureFlags();\n let addresses = [];\n if (featureFlag.areaProUser) {\n addresses = getFormattedAddressesHomeFirst(person);\n if (addresses.length > 4) {\n addresses = addresses.slice(0, 4);\n }\n }\n\n const getPhoneStatuses = () =>\n api\n .index([phoneNumbers(person)])\n .then(({ data }) => setDncStatuses(data))\n .catch(() => \"dnc lookup failed\");\n\n const getConversationCounts = () =>\n Promise.all(\n phoneNumbers(person).map((phoneNumber) =>\n messagingApi\n .get(\n `/Conversation/SmsAndGroupSmsCountForPersonAddressPair/${person.data?.attributes.uuid}/${phoneNumber}`,\n )\n .then((res) => ({ [phoneNumber]: res.data.total }))\n .catch(() => ({ [phoneNumber]: 0 })),\n ),\n )\n .then((res) => res.reduce((acc, val) => ({ ...acc, ...val }), {}))\n .then(setConversationCounts);\n\n useEffect(() => {\n getPhoneStatuses();\n }, [phoneNumbers(person).join(\"\")]);\n\n useEffect(() => {\n if (!person?.data) {\n return;\n }\n\n const getAddresses = async () => {\n const listingsByAddressId = await getListingsForPersonAddresses(person.data.id);\n\n const blossorIds = Object.values(listingsByAddressId).reduce((acc, cur) => [...acc, ...cur], []);\n const listings = await getListings(blossorIds);\n\n const mapped = Object.entries(listingsByAddressId).reduce((acc, [addressId, blossorIdsForAddress]) => {\n acc[addressId] = mapAddressListingStatus(blossorIdsForAddress, listings);\n\n return acc;\n }, {});\n\n setAddressListingStatuses(mapped);\n };\n\n getAddresses();\n getConversationCounts();\n }, [person]);\n\n const detailsObjects = (type) =>\n person.included?.filter((a) => a.type === type && a.id !== null).map((a) => a.attributes) || [];\n\n const isDncPhone = (element) => {\n const phoneNumber = element.value;\n return api.isDnc(phoneNumber, dncStatuses);\n };\n\n const emailDetailsElement = () => {\n if (detailsObjects(\"email_detail\")?.length > 0) {\n return sortBy(detailsObjects(\"email_detail\"), (e) => e.position, [\"desc\"]).map((email, index) => (\n <EditableElementWithAdd\n // eslint-disable-next-line react/no-array-index-key\n key={`email${index}`}\n disabled={disabled}\n person={person}\n type=\"email\"\n id={parseInt(email.id, 10)}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n ));\n }\n\n return (\n <EditableElementWithAdd\n person={person}\n disabled={disabled}\n type=\"email\"\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n />\n );\n };\n\n const phoneDetailsElement = () => {\n if (detailsObjects(\"phone_detail\").length > 0) {\n return detailsObjects(\"phone_detail\").map((phone, index) => (\n <EditableElementWithAdd\n // eslint-disable-next-line react/no-array-index-key\n key={`phone${index}-${phone.value}`}\n disabled={disabled}\n person={person}\n type=\"phone\"\n id={parseInt(phone.id, 10)}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n isDnc={isDncPhone(phone)}\n conversationCount={conversationCounts[phone.value]}\n />\n ));\n }\n return (\n <EditableElementWithAdd\n disabled={disabled}\n person={person}\n type=\"phone\"\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n isDnc={false}\n />\n );\n };\n\n const addressDetailsElement = () => {\n const addressDetails = getAddressAttributes(person).map((address) =>\n mapAddress(address, addressListingStatuses),\n );\n\n if (addressDetails.length > 0) {\n return (\n <div className=\"tw-py-[8px] tw-px-[20px] hover:tw-bg-gray-5 tw-group\" data-cy=\"address_pdp_card\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <div className={css.brivityPersonContactLabel}>{`Addresses (${addressDetails.length})`}</div>\n {!disabled && (\n <div className=\"tw-flex tw-gap-[4px] tw-invisible group-hover:tw-visible\">\n <IconButton\n size=\"small\"\n onClick={() => dispatch(openEditAddressModal())}\n data-cy=\"open_edit_address_modal_btn\"\n >\n <PencilSolidV6 />\n </IconButton>\n <IconButton size=\"small\" onClick={() => dispatch(openEditAddressModal())}>\n <PlusSolidV6 />\n </IconButton>\n </div>\n )}\n </div>\n {addressDetails.map((address, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <AddressDetails key={i} address={address} />\n ))}\n </div>\n );\n }\n return (\n <div className=\"tw-py-[8px] tw-px-[20px] hover:tw-bg-gray-5\">\n <div className={css.brivityPersonContactLabel}>Address</div>\n <TextButton\n schema=\"sentence\"\n onClick={() => dispatch(openEditAddressModal())}\n disabled={disabled}\n data-cy=\"pdp_add_address\"\n >\n Add Address\n </TextButton>\n </div>\n );\n };\n\n const brivityPartnersElement = (\n <div className=\"tw-px-[20px] tw-group hover:tw-bg-gray-5\">\n <div className=\"tw-flex tw-justify-between tw-items-center\">\n <div className={css.brivityPersonDetailsLabel}>\n Brivity Partners\n </div>\n </div>\n </div>\n );\n\n const socialMediaDetailsElement = () => (\n <div className=\"tw-py-[8px] tw-px-[20px] tw-group hover:tw-bg-gray-5\">\n <div className=\"tw-flex tw-gap-[8px] tw-justify-between tw-items-center\">\n <div className={css.brivityPersonDetailsLabel}>Social Media</div>\n {!disabled && (\n <IconButton\n size=\"small\"\n className=\"tw-invisible group-hover:tw-visible\"\n onClick={() => dispatch(openEditSocialMediaModal())}\n >\n <PencilSolidV6 />\n </IconButton>\n )}\n </div>\n {person.data && (\n <div className=\"tw-flex tw-gap-[24px] tw-w-full tw-flex-wrap\">\n <SocialIcon link={person.data.attributes.facebook.value} icon=\"fa fa-facebook\" />\n <SocialIcon link={person.data.attributes.twitter.value} icon=\"fab fa6-x-twitter\" />\n <SocialIcon link={person.data.attributes.linkedin.value} icon=\"fa fa-linkedin\" />\n <SocialIcon link={person.data.attributes.instagram.value} icon=\"fa fa-instagram\" />\n <SocialIcon link={person.data.attributes.youtube.value} icon=\"fab fa6-youtube\" />\n <SocialIcon link={person.data.attributes.tiktok.value} icon=\"fab fa6-tiktok\" />\n <SocialIcon link={person.data.attributes.pinterest.value} icon=\"fab fa6-pinterest\" />\n </div>\n )}\n {editSocialMediaModalOpen && (\n <EditSocialMediaModal closeEditSocialMediaModal={() => dispatch(closeEditSocialMediaModal())} />\n )}\n </div>\n );\n\n return (\n <CollapsibleElement title=\"Contact Info\" id=\"pdp-contact-info\">\n {!person.data && <Loading />}\n <DuplicateLeadCard />\n <div id=\"person-contact-info-card\" className=\"tw-mx-[-20px]\">\n {emailDetailsElement()}\n\n {phoneDetailsElement()}\n\n {addressDetailsElement()}\n {editAddressModalOpen && (\n <EditAddressesModal\n show\n person={person}\n updatePersonData={(data) => dispatch(updatePersonData(data))}\n closeEditAddressModal={() => dispatch(closeEditAddressModal())}\n />\n )}\n\n {featureFlag.areaProUser && (\n <>\n {brivityPartnersElement}\n <AreaPro addresses={addresses}/>\n </>\n )}\n\n {socialMediaDetailsElement()}\n </div>\n </CollapsibleElement>\n );\n};\n\nexport default ContactInfo;\n\nconst AddressDetails = ({ address }) => {\n const statusColors = getListingStatusColors(address.status);\n\n return (\n <div key={`ad-${address.streetAddress}`} className=\"tw-py-[5px]\" data-cy=\"pdp_ind_addy_card\">\n <div className=\"tw-flex tw-flex-row tw-py-[8px] tw-justify-between tw-items-center\">\n <span className=\"tw-text-10px tw-font-semibold tw-text-gray-50 tw-uppercase\">\n {address.addressType}\n </span>\n {address.status ? (\n <span\n className={`tw-rounded-lg tw-px-8px tw-py-4px tw-text-12px tw-font-semibold ${statusColors.background} ${statusColors.text}`}\n >\n {address.status}\n </span>\n ) : null}\n </div>\n <div className=\"tw-flex tw-flex-col tw-text-14px tw-text-nowrap tw-mb-4px\">\n <span>{address.streetAddress}</span>\n <span>{address.cityStateZip}</span>\n </div>\n {address.updated ? (\n <span className=\"tw-text-gray-50 tw-text-12px\">\n System notified of status change{\" \"}\n {new Date(address.updated).toLocaleDateString(\"en-US\", { timeZone: \"UTC\" })}\n </span>\n ) : null}\n </div>\n );\n};\n\nAddressDetails.propTypes = {\n address: PropTypes.shape({\n addressType: PropTypes.string,\n streetAddress: PropTypes.string,\n cityStateZip: PropTypes.string,\n status: PropTypes.string,\n updated: PropTypes.string,\n }).isRequired,\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"arrows\":\"mmN0OEPmO5GL6mNq3m2x\",\"columnTitle\":\"QYCgRs6zIdN48amoPvqA\",\"divider\":\"tPhGbh6l_RniyLLVzBxM\",\"documentRow\":\"wNgZwVKRFB7xRrtoNZn2\",\"download\":\"eHivNEPSCfnlQ6bMUtKy\",\"userImage\":\"pJCPnpFnfSKFh_qVOF4z\",\"documentOverflow\":\"ltXgvlj5ST7QDWQ08CJg\",\"uploaderOverflow\":\"wK3sG80KrLat0vuu__BM\"};","import React, { Component } from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { Download, Trash } from \"@shared/v2/Icomoon/Icons\";\nimport colors from \"../colors.module.css\";\nimport documents from \"../documents.module.css\";\nimport icon from \"../icons.module.css\";\n\nclass DocumentRow extends Component {\n state = {\n checked: false,\n id: this.props.id,\n };\n\n handleClick = () => {\n this.setState((prevState) => ({ checked: !prevState.checked }));\n };\n\n checkBoxClass = () => (this.state.checked ? icon.checked : \"\");\n\n render() {\n const {\n added_ago,\n file_type,\n human_readable_size,\n id,\n image_icon,\n naked_name,\n uploaded_by_image,\n uploaded_by_name,\n uploaded_by_url,\n url,\n expiring_url,\n onClickDeleteDoc,\n } = this.props;\n\n const onClickDownload = () => {\n if (expiring_url) {\n window.open(expiring_url, \"_blank\");\n }\n };\n\n return (\n <Row className={`${documents.documentRow} td`}>\n <Col xs={4} style={{ height: \"51px\" }}>\n <div className={icon.checkbox}>\n {/*TODO: when we have time we can implement the mass delete. Change to display: inline-block*/}\n <div style={{ display: \"none\", marginRight: \"26px\" }}>\n <label\n className={this.checkBoxClass()}\n style={{ height: \"51px\", display: \"flex\", alignItems: \"center\" }}\n >\n <input onClick={this.handleClick} type=\"checkbox\" />\n </label>\n </div>\n <div style={{ display: \"flex\", alignItems: \"center\", height: \"51px\", float: \"right\" }}>\n <span>{naked_name}</span>\n </div>\n </div>\n </Col>\n <Col xs={1}>\n <i className={`fa m-r-10 ${image_icon} ${colors.brivityBlue}`} style={{ fontSize: \"19px\" }} />\n <span>{file_type}</span>\n </Col>\n <Col xs={1}>\n <span>{human_readable_size}</span>\n </Col>\n <Col xs={2}>\n <span>{added_ago}</span>\n </Col>\n <Col xs={3}>\n <div className={documents.userImage} dangerouslySetInnerHTML={{ __html: uploaded_by_image }} />\n <span>\n <a href={uploaded_by_url} style={{ textDecoration: \"none\" }}>\n {uploaded_by_name}\n </a>\n </span>\n </Col>\n <Col xs={1}>\n <IconButton size=\"small\" schema=\"tertiary\" onClick={onClickDownload}>\n <Download className=\"!tw-w-[9px] !tw-h-[9px]\" />\n </IconButton>\n <IconButton\n size=\"small\"\n schema=\"tertiary\"\n className=\"tw-ml-[6px]\"\n onClick={() => onClickDeleteDoc(id)}\n >\n <Trash className=\"!tw-w-[9px] !tw-h-[9px]\" />\n </IconButton>\n </Col>\n </Row>\n );\n }\n}\n\nexport default DocumentRow;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\n\nconst DeleteAgreementModal = ({ modalOpen, closeModal, msg, title, onDelete }) => (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"tw-w-[392px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n show={modalOpen}\n onHide={closeModal}\n data-cy=\"delete-agreement-modal\"\n >\n <Modal.Header titleClassName=\"tw-mb-32px tw-text-neutral-gray-75\" title={title} closeButton />\n\n <Modal.Body className=\"tw-mb-32px tw-w-[392px]\">\n <p>{msg}</p>\n </Modal.Body>\n\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button size=\"medium\" schema=\"tertiary\" onClick={closeModal} data-cy=\"documents-delete-cancel-button\">\n Cancel\n </Button>\n <Button size=\"medium\" schema=\"warning\" onClick={onDelete} data-cy=\"documents-delete-submit-button\">\n yes, Delete\n </Button>\n </Modal.Footer>\n </Modal>\n);\n\nDeleteAgreementModal.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n onDelete: Proptypes.func,\n msg: Proptypes.string,\n title: Proptypes.string,\n};\nDeleteAgreementModal.defaultProps = {\n modalOpen: false,\n closeModal: null,\n onDelete: null,\n msg: \"\",\n title: \"\",\n};\nexport default DeleteAgreementModal;\n","import React, { useState } from \"react\";\nimport { Col, Modal, Row } from \"react-bootstrap\";\nimport buttons from \"../button.module.css\";\nimport modal from \"../modal.module.css\";\nimport DocumentRow from \"./DocumentRow\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport DeleteAgreementModal from \"../Agreements/DeleteAgreementModal\";\n\nconst ViewAllDocumentsModal = ({ person, onClose, handleDocumentDelete, documents }) => {\n const [saveDocId, setSaveDocId] = useState(null);\n const [openDeleteModal, setOpenDeleteModal] = useState(false);\n\n const onClickDeleteDoc = (docId) => {\n setOpenDeleteModal(true);\n setSaveDocId(docId);\n };\n\n const deleteCloseModal = () => {\n setOpenDeleteModal(false);\n };\n\n const deleteDoc = () => {\n handleDocumentDelete(person.data.attributes, saveDocId);\n deleteCloseModal();\n };\n\n return (\n <>\n <Modal id=\"view-all-documents-modal\" className=\"person-details-modal\" show={true} onHide={onClose}>\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title=\"Documents\" onClose={onClose} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body style={{ fontSize: \"12px\" }}>\n <Row className={`${documents.divider} th`}>\n <Col xs={4}>\n <h6 className={documents.columnTitle}>\n NAME\n <span className={documents.arrows} style={{ display: \"none\" }}>\n <i className=\"fa fa-sort-up\" />\n <i className=\"fa fa-sort-down\" />\n </span>\n </h6>\n </Col>\n <Col xs={1}>\n <h6 className={documents.columnTitle}>\n TYPE\n <span className={documents.arrows} style={{ display: \"none\" }}>\n <i className=\"fa fa-sort-up\" />\n <i className=\"fa fa-sort-down\" />\n </span>\n </h6>\n </Col>\n <Col xs={1}>\n <h6 className={documents.columnTitle}>\n SIZE\n <span className={documents.arrows} style={{ display: \"none\" }}>\n <i className=\"fa fa-sort-up\" />\n <i className=\"fa fa-sort-down\" />\n </span>\n </h6>\n </Col>\n <Col xs={2}>\n <h6 className={documents.columnTitle}>\n DATE ADDED\n <span className={documents.arrows} style={{ display: \"none\" }}>\n <i className=\"fa fa-sort-up\" />\n <i className=\"fa fa-sort-down\" />\n </span>\n </h6>\n </Col>\n <Col xs={3}>\n <h6 className={documents.columnTitle}>\n UPLOADED BY\n <span className={documents.arrows} style={{ display: \"none\" }}>\n <i className=\"fa fa-sort-up\" />\n <i className=\"fa fa-sort-down\" />\n </span>\n </h6>\n </Col>\n <Col xs={1}>\n <h6 className={documents.columnTitle}>ACTIONS</h6>\n </Col>\n </Row>\n <div\n id=\"person-document-uploads\"\n className={`${documents.divider} ${modal.modalBodyContainer}`}\n style={{ marginBottom: \"30px\" }}\n >\n {documents.map((document, index) => (\n <DocumentRow\n key={document.id}\n {...document}\n onClickDeleteDoc={onClickDeleteDoc}\n person={person}\n index={index}\n />\n ))}\n </div>\n <Row>\n <Col xs={12}>\n <button className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnGray}`} onClick={onClose}>\n CANCEL\n </button>\n <button\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnBlue} pull-right`}\n onClick={onClose}\n >\n DONE\n </button>\n </Col>\n </Row>\n </Modal.Body>\n </Modal>\n {openDeleteModal && (\n <DeleteAgreementModal\n modalOpen={openDeleteModal}\n onDelete={deleteDoc}\n closeModal={deleteCloseModal}\n title=\"Delete Document?\"\n msg=\"Deleting this document will remove it from both the agreement and the Documents section.\"\n />\n )}\n </>\n );\n};\n\nexport default ViewAllDocumentsModal;\n","// extracted by mini-css-extract-plugin\nexport default {\"cardRow\":\"z2TmwDWoXYWse1e1wpIm\",\"cardRowNarrow\":\"oeEhwwqKChUNPDStrFQ_\",\"viewAll\":\"xq0D429hBpseILcA5xXX\",\"rowHoverBg\":\"BNkZUDLtMU36Hd5Uh2Uf\",\"fullRowHover\":\"kWJCpgy2aAcIvbaSb3uA\"};","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useSelector } from \"react-redux\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFileAlt } from \"@fortawesome/free-regular-svg-icons\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Upload from \"@shared/v2/Icomoon/Icons/Upload\";\nimport { formatFileSize } from \"../../../actions/helper\";\n\nconst UploadAgreement = ({ handleDocumentUpload, uploadedFile, handleFileDrop, selectedAgreementName }) => {\n const hiddenUploadInput = useRef(null);\n const uploadingDocument = useSelector((state) => state.personDetail.uploadingDocument);\n\n return (\n <div>\n <div className=\"tw-pb-[9px] tw-text-14px tw-leading-[20px] tw-font-semibold tw-text-gray-50\">\n <span className=\"tw-capitalize\"> {`Upload ${selectedAgreementName} Agreement (Optional)`}</span>\n </div>\n <div\n className={`${uploadedFile ? \"tw-border-solid tw-bg-[#FFFFFF] tw-border-neutral-gray-10\" : \"tw-border-gray-15 tw-border-dashed tw-bg-[#FAFAFA]\"} tw-w-[552px] tw-mb-24px !tw-py-[13px] tw-px-15px tw-border tw-rounded-4px`}\n data-cy=\"agreement-documents-upload\"\n onDrop={handleFileDrop}\n onDragOver={(event) => event.preventDefault()}\n >\n <input\n id=\"documentUploadInput\"\n type=\"file\"\n ref={hiddenUploadInput}\n onChange={handleDocumentUpload}\n style={{ display: \"none\" }}\n />\n <div className=\"!tw-flex tw-grid tw-grid-cols-6 tw-gap-[16px] tw-justify-between tw-h-[33px]\">\n <div className=\"tw-col-start-1 tw-col-span-1\">\n <div className=\"tw-flex\">\n <FontAwesomeIcon\n className={`${uploadedFile ? \"tw-text-teal\" : \"tw-text-neutral-gray-30\"} tw-h-[32px] tw-w-[24px] tw-pr-[16px] tw-mb-12px tw-text-24px `}\n icon={faFileAlt}\n />\n <div className=\"tw-m-0 tw-mb-4px tw-text-12d tw-font-normal tw-text-gray-75\">\n {uploadedFile ? uploadedFile.name : \"Drop your file here, or select from computer\"}\n <br />\n <span className=\"tw-m-0 tw-mb-4px tw-text-12d tw-font-normal tw-text-gray-50\">\n {uploadedFile ? formatFileSize(uploadedFile.size) : \"(File Size Limit 15MB)\"}\n </span>\n </div>\n </div>\n </div>\n <div className=\"tw-col-end-8 tw-col-span-1 tw-pt-[4px]\">\n <label htmlFor=\"documentUploadInput\">\n <Button\n size=\"small\"\n schema=\"secondary\"\n disabled={uploadingDocument}\n onClick={() => hiddenUploadInput.current?.click()}\n >\n {!uploadedFile && <Upload size=\"m\" />}\n {uploadingDocument ? (\n <span>\n {uploadedFile ? \"replace \" : \" upload \"}  \n <i className=\"fa fa-pulse fa-spinner\" />\n </span>\n ) : uploadedFile ? (\n \"replace\"\n ) : (\n \" upload\"\n )}\n </Button>\n </label>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nUploadAgreement.propTypes = {\n handleDocumentUpload: PropTypes.func,\n handleFileDrop: PropTypes.func,\n selectedAgreementName: PropTypes.string,\n uploadedFile: PropTypes.shape({ name: PropTypes.string, size: PropTypes.number }),\n};\nUploadAgreement.defaultProps = {\n handleDocumentUpload: () => {},\n handleFileDrop: () => {},\n uploadedFile: {},\n selectedAgreementName: \"buyer\",\n};\nexport default UploadAgreement;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Toggle from \"@shared/v2/Toggle\";\n\nconst CreateTransaction = ({ handleToggleTransaction, isCreateTransaction, selectedAgreementName }) => (\n <div className=\"tw-pb-24px tw-pt-4px\">\n <Toggle\n id=\"transaction-creation\"\n name=\"transaction-creation\"\n value={isCreateTransaction}\n checked={isCreateTransaction}\n onChange={handleToggleTransaction}\n text={`Create ${selectedAgreementName === \"referral\" ? \"Active\" : \"Pipeline\"} ${selectedAgreementName} Transaction`}\n labelClassName=\"tw-text-[14px] !tw-text-gray-50 tw-font-semibold tw-capitalize\"\n />\n </div>\n);\n\nCreateTransaction.propTypes = {\n handleToggleTransaction: PropTypes.func,\n isCreateTransaction: PropTypes.bool,\n selectedAgreementName: PropTypes.string,\n};\nCreateTransaction.defaultProps = {\n handleToggleTransaction: () => {},\n isCreateTransaction: false,\n selectedAgreementName: \"buyer\",\n};\nexport default CreateTransaction;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faDollarSign, faPercent } from \"@fortawesome/free-solid-svg-icons\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport ButtonToggle from \"../ButtonToggle\";\n\nconst options = [\n {\n label: <FontAwesomeIcon icon={faDollarSign} className=\"tw-w-[16px] tw-h-[16px]\" />,\n value: \"flat\",\n },\n {\n label: <FontAwesomeIcon icon={faPercent} className=\"tw-w-[16px] tw-h-[16px]\" />,\n value: \"percent\",\n },\n];\n\nconst FlatPercentToggle = ({ className, name: nameFromProps, isPercentage, onChange, ...otherProps }) => {\n const name = useGivenOrGeneratedId(\"flat-percent-toggle\", nameFromProps);\n\n const handleChange = (e) => {\n if (onChange) {\n onChange(e, e.target.value === \"percent\");\n }\n };\n\n return (\n <ButtonToggle\n className={className}\n name={name}\n value={isPercentage ? \"percent\" : \"flat\"}\n options={options}\n onChange={handleChange}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n );\n};\n\nFlatPercentToggle.propTypes = {\n className: PropTypes.string,\n name: PropTypes.string,\n isPercentage: PropTypes.bool,\n onChange: PropTypes.func,\n};\n\nFlatPercentToggle.defaultProps = {\n className: \"\",\n name: null,\n isPercentage: false,\n onChange: null,\n};\n\nexport default FlatPercentToggle;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n areValuesDifferent,\n extractNumeric,\n formatNumber,\n isValidPercentage,\n isValidValue,\n removeLeadingZeroes,\n} from \"../inputFormatUtils\";\nimport TextComboInput from \"../TextComboInput\";\nimport { resizeInputBasedOnValue } from \"../utils\";\n\nconst FlatPercentInput = ({\n inputRef,\n className,\n value,\n customFormat,\n isPercentage,\n onChange,\n onBlur,\n hideDefaultLeading,\n hideDefaultTrailing,\n ...otherProps\n}) => {\n const [displayValue, setDisplayValue] = useState(value);\n\n const textComboInputRef = inputRef || useRef();\n\n const formatNum = customFormat || formatNumber;\n const handleFieldClick = () => {\n if (textComboInputRef.current) {\n textComboInputRef.current.focus();\n }\n };\n\n const handleChange = (e) => {\n const newValue = removeLeadingZeroes(extractNumeric(e.target.value)) || \"0\";\n const isNewValueValid = isValidValue(newValue) && (!isPercentage || isValidPercentage(newValue));\n\n if (isNewValueValid) {\n setDisplayValue(newValue);\n\n if (onChange && areValuesDifferent(value, newValue)) {\n onChange(e, formatNum(newValue, true));\n }\n }\n };\n\n const handleBlur = (e) => {\n if (displayValue !== \"0\") {\n setDisplayValue(formatNum(displayValue, true));\n }\n\n if (onBlur) {\n onBlur(e);\n }\n };\n\n useEffect(() => {\n if (areValuesDifferent(value, displayValue)) {\n setDisplayValue(value === \"0\" ? value : formatNum(value, true));\n }\n }, [value]);\n\n useEffect(() => {\n resizeInputBasedOnValue(textComboInputRef.current, displayValue);\n }, [textComboInputRef.current, displayValue]);\n\n const defaultLeading = hideDefaultLeading ? \"\" : \"$\";\n const defaultTrailing = hideDefaultTrailing ? \"\" : \"%\";\n\n return (\n <TextComboInput\n inputRef={textComboInputRef}\n className={`\n tw-cursor-text\n ${className}\n `}\n value={displayValue}\n leading={isPercentage ? \"\" : defaultLeading}\n trailing={isPercentage ? defaultTrailing : \"\"}\n spacing={0}\n inputSize=\"min\"\n onFieldClick={handleFieldClick}\n onChange={handleChange}\n onBlur={handleBlur}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n );\n};\n\nFlatPercentInput.propTypes = {\n // See https://github.com/facebook/prop-types/issues/240#issue-384666636\n inputRef: PropTypes.oneOfType([\n PropTypes.func, // for legacy refs\n PropTypes.shape({ current: PropTypes.instanceOf(Element) }),\n ]),\n className: PropTypes.string,\n value: PropTypes.string,\n isPercentage: PropTypes.bool,\n onChange: PropTypes.func,\n customFormat: PropTypes.func,\n onBlur: PropTypes.func,\n hideDefaultLeading: PropTypes.bool,\n hideDefaultTrailing: PropTypes.bool,\n};\n\nFlatPercentInput.defaultProps = {\n inputRef: null,\n className: \"\",\n value: \"0\",\n isPercentage: false,\n onChange: null,\n customFormat: null,\n onBlur: null,\n hideDefaultLeading: false,\n hideDefaultTrailing: false,\n};\n\nexport default FlatPercentInput;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport FlatPercentToggle from \"@shared/v2/FlatPercentToggle\";\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport { formatNumber } from \"@shared/v2/inputFormatUtils\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\n\nconst formatNumberIfFlat = (value, type, commas) => (type === \"flat\" ? formatNumber(value, commas) : value);\n\nconst BuyerorSellerTransactionsField = ({\n transactionTitle,\n setTransactionTitle,\n selectedSource,\n setSelectedSource,\n sources,\n closePrice,\n setClosePrice,\n commission,\n setCommission,\n isCommissionPercentage,\n setIsCommissionPercentage,\n propertyType,\n setPropertyType,\n propertyTypes,\n setPrimaryAgent,\n primaryAgent,\n primaryAgents,\n}) => (\n <div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-1\">\n <FieldLabel label=\"Transaction Title\" isRequired className=\"tw-mb-3\" />\n <TextInput value={transactionTitle} onChange={(e) => setTransactionTitle(e.target.value)} />\n </div>\n <div className=\"tw-col-span-1\">\n <Dropdown\n menuShouldComeToFront\n label=\"Primary Agent\"\n options={primaryAgents}\n value={primaryAgent}\n onChange={(val) =>\n setPrimaryAgent((prevDetails) => ({\n ...prevDetails,\n label: val.label,\n value: val.value,\n }))\n }\n />\n </div>\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-1\">\n <Dropdown\n menuShouldComeToFront\n label=\"Property Type\"\n className=\"tw-z-50\"\n onChange={(val) => setPropertyType(val)}\n value={propertyType}\n options={propertyTypes}\n />\n </div>\n <div className=\"tw-col-span-1\">\n <Dropdown\n menuShouldComeToFront\n isSearchable\n className=\"tw-z-500\"\n label=\"Source\"\n onChange={(val) => setSelectedSource(val)}\n value={selectedSource}\n options={sources}\n isRequired\n />\n </div>\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-1\">\n <TextComboInput\n label=\"Est. Close Price\"\n leading=\"$\"\n placeholder=\"0.00\"\n value={closePrice}\n onBlur={(e) => setClosePrice(formatNumber(e.target.value, true))}\n onChange={(e) => setClosePrice(e.target.value)}\n />\n </div>\n <div className=\"tw-col-span-1 \">\n <div className=\"tw-flex tw-items-center tw-gap-[4px] tw-w-[184px]\">\n <FlatPercentInput\n className=\"tw-w-[184px]\"\n label=\"Commission\"\n value={formatNumberIfFlat(commission, isCommissionPercentage ? \"percent\" : \"flat\", true)}\n placeholder=\"0.00\"\n isPercentage={isCommissionPercentage}\n onChange={(e) => {\n const value = e.target.value.trim() || null;\n setCommission(value);\n }}\n />\n <FlatPercentToggle\n className=\"tw-mt-28px\"\n isPercentage={isCommissionPercentage}\n onChange={(_, newIsPercentage) => {\n setCommission(\"\");\n setIsCommissionPercentage(newIsPercentage);\n }}\n />\n </div>\n </div>\n </div>\n </div>\n);\n\nconst optionShape = PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n});\n\nconst optionShapePrimaryAgent = PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n roleId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n visible: PropTypes.string,\n primary: PropTypes.string,\n});\n\nBuyerorSellerTransactionsField.propTypes = {\n transactionTitle: PropTypes.string,\n setTransactionTitle: PropTypes.func,\n selectedSource: optionShape,\n setSelectedSource: PropTypes.func,\n closePrice: PropTypes.string,\n setClosePrice: PropTypes.func,\n commission: PropTypes.string,\n setCommission: PropTypes.func,\n propertyType: optionShape,\n setPropertyType: PropTypes.func,\n isPercentage: PropTypes.bool,\n setIsCommissionPercentage: PropTypes.func,\n primaryAgents: PropTypes.arrayOf(optionShape),\n primaryAgent: PropTypes.arrayOf(optionShapePrimaryAgent),\n setPrimaryAgent: PropTypes.func,\n sources: PropTypes.arrayOf(optionShape),\n propertyTypes: PropTypes.arrayOf(optionShape),\n};\nBuyerorSellerTransactionsField.defaultProps = {\n transactionTitle: \"\",\n selectedSource: null,\n closePrice: \"\",\n commission: \"\",\n propertyType: null,\n sources: [],\n propertyTypes: [],\n isPercentage: true,\n primaryAgents: [],\n primaryAgent: null,\n setPrimaryAgent: () => {},\n setIsCommissionPercentage: () => {},\n setTransactionTitle: () => {},\n setSelectedSource: () => {},\n setClosePrice: () => {},\n setCommission: () => {},\n setPropertyType: () => {},\n};\nexport default BuyerorSellerTransactionsField;\n","import { schemaGenerator } from \"../../shared/v2/utils\";\n\nconst dictionary = {\n default: {\n default: [\n \"tw-text-neutral-gray-50\",\n \"tw-font-semibold\",\n \"tw-rounded-[6px]\",\n \"tw-border-[1.5px]\",\n \"tw-border-solid\",\n \"tw-border-neutral-gray-15\",\n ],\n peerChecked: [\n \"peer-checked:tw-text-theme-text-toggle-color-checked\",\n \"peer-checked:tw-border-theme-text-toggle-border-checked\",\n ],\n peerFocusVisible: [\"peer-focus-visible:tw-outline-theme\"],\n },\n small: {\n default: [\"tw-text-12d\", \"tw-px-[12px]\", \"tw-py-[2px]\"],\n },\n medium: {\n default: [\"tw-text-14d\", \"tw-px-[16px]\", \"tw-py-[8px]\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport styleSchema from \"./ClientIntentTextBtn.styles\";\nimport { useGivenOrGeneratedId } from \"../../shared/hookHelpers\";\n\nconst ClientIntentTextBtn = ({ name, value, label, checked, size, ...otherProps }) => (\n <label className=\"tw-m-0 tw-text-center tw-cursor-pointer tw-h-[52px] tw-grow\">\n <input\n type=\"radio\"\n name={name}\n value={value}\n checked={checked}\n className=\"tw-sr-only tw-peer\"\n {...otherProps}\n />\n <div\n role=\"radio\"\n aria-checked={checked}\n className={`tw-h-[52px] tw-flex tw-items-center tw-justify-center ${styleSchema.default} ${styleSchema[size]}`}\n >\n {label}\n </div>\n </label>\n);\n\nClientIntentTextBtn.propTypes = {\n name: PropTypes.string,\n value: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n checked: PropTypes.bool.isRequired,\n size: PropTypes.oneOf([\"small\", \"medium\"]).isRequired,\n};\n\nClientIntentTextBtn.defaultProps = {\n name: null,\n};\n\nconst ClientIntentTextBtns = ({\n name: nameFromProps,\n options,\n value,\n size,\n clientIntentBtnsClassName,\n onChange,\n className,\n ...otherProps\n}) => {\n const name = useGivenOrGeneratedId(\"text-toggle\", nameFromProps);\n\n return (\n <div className=\"tw-w-full tw-grid tw-grid-cols-4 tw-gap-x-3 tw-gap-y-3 tw-h-full\">\n {options.map((option) => (\n <ClientIntentTextBtn\n key={option.value}\n name={name}\n value={option.value}\n label={option.label}\n checked={value === option.value}\n size={size}\n onChange={onChange}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n ))}\n </div>\n );\n};\n\nconst createOptionsCustomPropType = (isRequired) => (props, propName, componentName) => {\n const { options } = props;\n\n if (options === null || options === undefined) {\n return isRequired ? new Error(`Prop \\`${propName}\\` is required by \\`${componentName}\\`.`) : null;\n }\n\n if (!Array.isArray(options)) {\n return new Error(`Invalid prop \\`${propName}\\` supplied to \\`${componentName}\\`. It must be an array.`);\n }\n\n if (options.length < 2) {\n return new Error(\n `Invalid prop \\`${propName}\\` supplied to \\`${componentName}\\`. It must be an array with at least two elements.`,\n );\n }\n\n options.forEach((element) =>\n // Disabling `react/forbid-foreign-prop-types` here since we maintain the ClientIntentTextBtns.Option.propTypes\n // eslint-disable-next-line react/forbid-foreign-prop-types\n PropTypes.checkPropTypes(\n {\n value: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n },\n element,\n \"prop\",\n \"ClientIntentTextBtns.Option\",\n ),\n );\n\n return null;\n};\n\nconst optionsCustomPropType = createOptionsCustomPropType(false);\noptionsCustomPropType.isRequired = createOptionsCustomPropType(true);\n\nClientIntentTextBtns.propTypes = {\n name: PropTypes.string,\n options: optionsCustomPropType.isRequired,\n value: PropTypes.string.isRequired,\n size: PropTypes.oneOf([\"small\", \"medium\"]),\n onChange: PropTypes.func,\n className: PropTypes.string,\n clientIntentBtnsClassName: PropTypes.string,\n};\n\nClientIntentTextBtns.defaultProps = {\n name: null,\n size: \"medium\",\n onChange: null,\n className: \"\",\n clientIntentBtnsClassName: \"\",\n};\n\nexport default ClientIntentTextBtns;\n","import { useEffect, useState } from \"react\";\n\nimport { caseTransformingAxios as axios } from \"../../shared/v2/caseTransformingAxios\";\nimport { tryCatchHandlr } from \"../../shared/Utilities\";\n\nconst useFetch = (url, startState = null, onSuccess = () => {}, onError = () => {}) => {\n const [state, setState] = useState(startState);\n\n useEffect(() => {\n (async () => {\n const req = axios.get(url);\n const [res, err] = await tryCatchHandlr(req);\n if (res) {\n onSuccess(res.data, setState);\n } else {\n onError(err);\n }\n })();\n }, []);\n\n useEffect(() => () => setState(startState), []);\n\n return state;\n};\n\nexport default useFetch;\n","import React from \"react\";\nimport { sortBy } from \"lodash\";\nimport { func, shape, string } from \"prop-types\";\n\nimport useFetch from \"./hooks\";\n\nimport Dropdown from \"../../shared/v2/Dropdown\";\n\nexport const DropdownFromAPI = ({ url, value, setValue, onSuccess, onError }) => {\n const options = useFetch(url, [], onSuccess, onError);\n\n return <Dropdown options={options} onChange={setValue} value={value} isSearchable />;\n};\n\nconst onSuccess = (data, setState) => {\n const adaptedResponse = data.map(({ firstName, lastName, id }) => ({\n label: `${firstName} ${lastName}`.trim(),\n value: id,\n }));\n\n setState(sortBy(adaptedResponse, \"label\"));\n};\n\nconst DropdownTeamMembers = ({ value, setValue }) => (\n <div className=\"tw-my-[8px]\">\n <DropdownFromAPI\n url=\"/api/v4/account_people?active_agents=true\"\n value={value}\n setValue={setValue}\n onSuccess={onSuccess}\n />\n </div>\n);\n\nexport default DropdownTeamMembers;\n\nDropdownTeamMembers.propTypes = {\n value: shape({}),\n setValue: func.isRequired,\n};\n\nDropdownTeamMembers.defaultProps = {\n value: null,\n};\n\nDropdownFromAPI.propTypes = {\n url: string,\n value: shape({}),\n onSuccess: func,\n onError: func,\n setValue: func.isRequired,\n};\n\nDropdownFromAPI.defaultProps = {\n url: null,\n value: null,\n onSuccess: () => {},\n onError: () => {},\n};\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { useDebounce } from \"@shared/hookHelpers\";\nimport { MagnifyingGlassSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst DEFAULT_SCOPE = \"account\";\n\nconst getQueryKey = (scope) => {\n const scopes = { account: \"search\", teamMembers: \"q\" };\n return scopes[scope] || scopes[DEFAULT_SCOPE];\n};\n\nconst getScopeKey = (scope) => {\n const scopes = {\n account: \"account_people\",\n teamMembers: \"team_members\",\n };\n return scopes[scope] || scopes[DEFAULT_SCOPE];\n};\n\nconst searchPeople = ({ scope, search, signal }) =>\n axios\n .get(`/search/${getScopeKey(scope)}`, { signal, params: { [getQueryKey(scope)]: search } })\n .then((res) => (res.data.people || res.data).map((p) => ({ ...p, value: p.uuid })));\n\nconst useSearchPeople = ({ scope, search, excludeTrashAndArchived }) => {\n const [data, setData] = useState([]);\n const [loading, setLoading] = useState(false);\n const debouncedSearch = useDebounce(search, 300);\n\n useEffect(() => {\n if (!search) return;\n const abortController = new AbortController();\n searchPeople({ scope, search: debouncedSearch, signal: abortController.signal })\n .then((d) => {\n setLoading(false);\n setData(excludeTrashAndArchived ? d.filter((p) => ![\"trash\", \"archived\"].includes(p.status)) : d);\n })\n .catch((err) => {\n if (err.name === \"AbortError\") return;\n setLoading(false);\n });\n setLoading(true);\n }, [debouncedSearch, excludeTrashAndArchived, scope]);\n\n return { data, loading };\n};\n\nconst SearchPeople = ({\n labelClassName,\n searchBoxValue: propSearchBoxValue,\n onSelectFunction,\n scope,\n excludeTrashAndArchived,\n ...props\n}) => {\n const [searchBoxValue, setSearchBoxValue] = useState(propSearchBoxValue || \"\");\n const [searchTerm, setSearchTerm] = useState(\"\");\n const { data, loading } = useSearchPeople({ scope, search: searchTerm, excludeTrashAndArchived });\n\n useEffect(() => {\n setSearchBoxValue(propSearchBoxValue);\n }, [propSearchBoxValue]);\n\n const handleSearchChange = (value) => {\n setSearchBoxValue(value);\n setSearchTerm(value);\n };\n\n const handleClick = (option) => {\n setSearchBoxValue(option?.label || \"\");\n onSelectFunction(option);\n };\n\n return (\n <div className={`${labelClassName} tw-pb-[4px] tw-pt-[8px]`}>\n <Dropdown\n isLoading={loading}\n isSearchable\n placeholder=\"Begin typing a person's name\"\n inputValue={searchBoxValue}\n onInputChange={handleSearchChange}\n shouldFilterOptions={false}\n options={data}\n onChange={handleClick}\n menuShouldComeToFront\n inputTrailing={<MagnifyingGlassSolidV6 />}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...props}\n />\n </div>\n );\n};\n\nSearchPeople.propTypes = {\n labelClassName: PropTypes.string,\n searchBoxValue: PropTypes.string,\n onSelectFunction: PropTypes.func.isRequired,\n scope: PropTypes.oneOf([\"account\", \"teamMembers\"]),\n excludeTrashAndArchived: PropTypes.bool,\n};\n\nSearchPeople.defaultProps = {\n scope: \"account\",\n labelClassName: \"\",\n searchBoxValue: \"\",\n excludeTrashAndArchived: false,\n};\n\nexport default SearchPeople;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport FlatPercentToggle from \"@shared/v2/FlatPercentToggle\";\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport { formatNumber } from \"@shared/v2/inputFormatUtils\";\nimport ClientIntentTextBtns from \"../../../../Transactions/ClientIntentTextButtons/ClientIntentTextButtons\";\nimport DropdownTeamMembers from \"../../../../Transactions/DropdownTeamMembers\";\nimport SearchPeople from \"../../../../QuickSearch/components/SearchPeople\";\n\nconst CLIENT_INTENT_OPTIONS = [\n { label: \"Buyer\", value: \"buyer\" },\n { label: \"Seller\", value: \"seller\" },\n { label: \"Tenant\", value: \"tenant\" },\n { label: \"Landlord\", value: \"landlord\" },\n];\n\nconst formatNumberIfFlat = (value, type, commas) => (type === \"flat\" ? formatNumber(value, commas) : value);\n\nconst ReferralTransactionsField = ({\n transactionTitle,\n setTransactionTitle,\n propertyType,\n setPropertyType,\n referralFee,\n setReferralFee,\n referralAgent,\n setReferralAgent,\n client,\n setClient,\n clientIntent,\n setClientIntent,\n isReferralFeePercentage,\n setIsReferralFeePercentage,\n propertyTypes,\n}) => {\n return (\n <div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-1\">\n <FieldLabel label=\"Transaction Title\" isRequired className=\"tw-mb-3\" />\n <TextInput value={transactionTitle} onChange={(e) => setTransactionTitle(e.target.value)} />\n </div>\n <div className=\"tw-col-span-1\">\n <div className=\"tw-flex tw-items-center tw-gap-[4px] tw-w-[184px]\">\n <FlatPercentInput\n className=\"tw-w-[184px]\"\n label=\"Referral Fee\"\n value={formatNumberIfFlat(referralFee, isReferralFeePercentage ? \"percent\" : \"flat\", true)}\n placeholder=\"0.00\"\n isPercentage={isReferralFeePercentage}\n onChange={(e) => {\n const value = e.target.value.trim() || null;\n setReferralFee(value);\n }}\n />\n <FlatPercentToggle\n className=\"tw-mt-28px\"\n isPercentage={isReferralFeePercentage}\n onChange={(_, newIsPercentage) => {\n setReferralFee(\"\");\n setIsReferralFeePercentage(newIsPercentage);\n }}\n />\n </div>\n </div>\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-1\">\n <FieldLabel label=\"Referring Agent\" isRequired />\n <DropdownTeamMembers\n value={referralAgent}\n setValue={({ label, value }) => setReferralAgent({ label, value })}\n />\n </div>\n <div className=\"tw-col-span-1\">\n <FieldLabel label=\"Client\" isRequired />\n <SearchPeople\n excludeTrashAndArchived\n labelClassName=\"tw-relative\"\n searchBoxValue={client?.label}\n onSelectFunction={(val) => setClient({ label: val.label, value: val.object_id })}\n />\n </div>\n </div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-2\">\n <FieldLabel label=\"Client Intent\" className=\"tw-mb-[8px]\" />\n <ClientIntentTextBtns\n size=\"medium\"\n options={CLIENT_INTENT_OPTIONS}\n value={clientIntent}\n onChange={(e) => setClientIntent(e.target.value)}\n />\n </div>\n </div>\n {clientIntent === \"seller\" && (\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-2\">\n <Dropdown\n menuShouldComeToFront\n label=\"Property Type\"\n onChange={(val) => setPropertyType(val)}\n value={propertyType}\n options={propertyTypes}\n />\n </div>\n </div>\n )}\n </div>\n );\n};\nconst optionShape = PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n});\nReferralTransactionsField.propTypes = {\n transactionTitle: PropTypes.string,\n setTransactionTitle: PropTypes.func,\n propertyType: optionShape,\n setPropertyType: PropTypes.func,\n referralFee: PropTypes.string,\n setReferralFee: PropTypes.func,\n referralAgent: optionShape,\n setReferralAgent: PropTypes.func,\n client: PropTypes.string,\n setClient: PropTypes.func,\n clientIntent: PropTypes.string,\n setClientIntent: PropTypes.func,\n isReferralFeePercentage: PropTypes.bool,\n setIsReferralFeePercentage: PropTypes.func,\n propertyTypes: PropTypes.arrayOf(optionShape),\n};\nReferralTransactionsField.defaultProps = {\n transactionTitle: \"\",\n propertyType: null,\n referralFee: \"25\",\n referralAgent: null,\n client: \"\",\n clientIntent: \"buyer\",\n propertyTypes: [],\n isReferralFeePercentage: true,\n setIsReferralFeePercentage: () => {},\n setTransactionTitle: () => {},\n setReferralFee: () => {},\n setReferralAgent: () => {},\n setClient: () => {},\n setClientIntent: () => {},\n setPropertyType: () => {},\n};\nexport default ReferralTransactionsField;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport BuyerorSellerTransactionsField from \"./BuyerorSellerTransactionsField\";\nimport ReferralTransactionsField from \"./ReferralTransactionsField\";\n\nconst TransactionsField = ({\n selectedAgreementName,\n transactionTitle,\n setTransactionTitle,\n selectedSource,\n setSelectedSource,\n sources,\n propertyTypes,\n closePrice,\n setClosePrice,\n commission,\n setCommission,\n propertyType,\n setPropertyType,\n referralFee,\n setReferralFee,\n referralAgent,\n setReferralAgent,\n client,\n setClient,\n clientIntent,\n setClientIntent,\n isCommissionPercentage,\n setIsCommissionPercentage,\n isReferralFeePercentage,\n setIsReferralFeePercentage,\n setPrimaryAgent,\n primaryAgent,\n primaryAgents,\n}) => {\n return (\n <div>\n {selectedAgreementName == \"buyer\" || selectedAgreementName == \"seller\" ? (\n <BuyerorSellerTransactionsField\n transactionTitle={transactionTitle}\n setTransactionTitle={setTransactionTitle}\n selectedSource={selectedSource}\n setSelectedSource={setSelectedSource}\n sources={sources}\n closePrice={closePrice}\n setClosePrice={setClosePrice}\n commission={commission}\n setCommission={setCommission}\n propertyType={propertyType}\n propertyTypes={propertyTypes}\n setPropertyType={setPropertyType}\n isCommissionPercentage={isCommissionPercentage}\n setIsCommissionPercentage={setIsCommissionPercentage}\n primaryAgent={primaryAgent}\n setPrimaryAgent={setPrimaryAgent}\n primaryAgents={primaryAgents}\n />\n ) : (\n <ReferralTransactionsField\n transactionTitle={transactionTitle}\n setTransactionTitle={setTransactionTitle}\n propertyType={propertyType}\n propertyTypes={propertyTypes}\n setPropertyType={setPropertyType}\n referralFee={referralFee}\n setReferralFee={setReferralFee}\n referralAgent={referralAgent}\n setReferralAgent={setReferralAgent}\n client={client}\n setClient={setClient}\n clientIntent={clientIntent}\n setClientIntent={setClientIntent}\n isReferralFeePercentage={isReferralFeePercentage}\n setIsReferralFeePercentage={setIsReferralFeePercentage}\n />\n )}\n </div>\n );\n};\nconst optionShape = PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n});\n\nconst optionShapePrimaryAgent = PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n roleId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n visible: PropTypes.string,\n primary: PropTypes.string,\n});\n\nTransactionsField.propTypes = {\n selectedAgreementName: PropTypes.string,\n transactionTitle: PropTypes.string,\n setTransactionTitle: PropTypes.func,\n selectedSource: optionShape,\n setSelectedSource: PropTypes.func,\n sources: PropTypes.arrayOf(optionShape),\n propertyTypes: PropTypes.arrayOf(optionShape),\n closePrice: PropTypes.string,\n setClosePrice: PropTypes.func,\n commission: PropTypes.string,\n setCommission: PropTypes.func,\n propertyType: optionShape,\n setPropertyType: PropTypes.func,\n referralFee: PropTypes.string,\n setReferralFee: PropTypes.func,\n referralAgent: PropTypes.string,\n setReferralAgent: PropTypes.func,\n client: PropTypes.string,\n setClient: PropTypes.func,\n clientIntent: PropTypes.string,\n setClientIntent: PropTypes.func,\n primaryAgents: PropTypes.arrayOf(optionShape),\n primaryAgent: PropTypes.arrayOf(optionShapePrimaryAgent),\n setPrimaryAgent: PropTypes.func,\n isCommissionPercentage: PropTypes.bool,\n setIsCommissionPercentage: PropTypes.func,\n isReferralFeePercentage: PropTypes.bool,\n setIsReferralFeePercentage: PropTypes.func,\n};\nTransactionsField.defaultProps = {\n selectedAgreementName: \"buyer\",\n transactionTitle: \"\",\n selectedSource: null,\n closePrice: \"\",\n commission: \"\",\n propertyType: null,\n referralFee: \"25\",\n referralAgent: \"\",\n client: \"\",\n clientIntent: \"buyer\",\n primaryAgents: [],\n primaryAgent: null,\n sources: [],\n propertyTypes: [],\n isCommissionPercentage: true,\n isReferralFeePercentage: true,\n setPrimaryAgent: () => {},\n setIsReferralFeePercentage: () => {},\n setIsCommissionPercentage: () => {},\n setTransactionTitle: () => {},\n setSelectedSource: () => {},\n setClosePrice: () => {},\n setCommission: () => {},\n setPropertyType: () => {},\n setReferralFee: () => {},\n setReferralAgent: () => {},\n setClient: () => {},\n setClientIntent: () => {},\n};\nexport default TransactionsField;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\n\nconst AssociatedTransaction = ({\n availableTransactions,\n associatedTransaction,\n SetAssociatedTransaction,\n}) => (\n <div>\n <div className=\"tw-grid tw-grid-cols-2 tw-mb-[24px] tw-gap-[24px]\">\n <div className=\"tw-col-span-2\">\n <Dropdown\n menuShouldComeToFront\n value={associatedTransaction}\n options={availableTransactions}\n onChange={(value) => SetAssociatedTransaction(value)}\n label=\"Associated Transaction\"\n isSearchable\n toolTipInfoContent={\n <div className=\"tw-w-[406px] tw-text-left tw-font-normal tw-leading-[20px] tw-text-[14px]\">\n If this agreement is for an existing transaction, select it here\n </div>\n }\n toolTipPlacement=\"top\"\n />\n </div>\n </div>\n </div>\n);\n\nAssociatedTransaction.propTypes = {\n availableTransactions: PropTypes.arrayOf(PropTypes.shape({})),\n associatedTransaction: PropTypes.shape({}),\n SetAssociatedTransaction: PropTypes.func,\n};\nAssociatedTransaction.defaultProps = {\n availableTransactions: [],\n associatedTransaction: null,\n SetAssociatedTransaction: () => {},\n};\nexport default AssociatedTransaction;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport DatePicker from \"@shared/v2/DatePicker/DatePicker\";\n\nconst SignedorExpirationDate = ({ setExpirationDate, setSignedDate, signedDate, expirationDate }) => (\n <div className=\"tw-pb-4px tw-grid tw-grid-cols-2 tw-gap-[24px] tw-justify-between\">\n <div>\n <div className=\"tw-pb-[9px] tw-capitalize tw-text-14px tw-leading-[20px] tw-font-semibold tw-text-gray-50\">\n Agreement Signed Date\n </div>\n <DatePicker\n inputProps={{ placeholder: \"MM/DD/YYYY\" }}\n onChange={(value) => setSignedDate(moment(value).format(\"YYYY-MM-DD\"))}\n value={signedDate}\n />\n </div>\n\n <div>\n <div className=\"tw-pb-[9px] tw-capitalize tw-text-14px tw-leading-[20px] tw-font-semibold tw-text-gray-50\">\n Agreement Expiration Date\n </div>\n <DatePicker\n inputProps={{ placeholder: \"MM/DD/YYYY\" }}\n onChange={(value) => setExpirationDate(moment(value).format(\"YYYY-MM-DD\"))}\n value={expirationDate}\n />\n </div>\n </div>\n);\n\nSignedorExpirationDate.propTypes = {\n setExpirationDate: PropTypes.func,\n setSignedDate: PropTypes.func,\n signedDate: PropTypes.string,\n expirationDate: PropTypes.string,\n};\nSignedorExpirationDate.defaultProps = {\n setExpirationDate: () => {},\n setSignedDate: () => {},\n expirationDate: \"\",\n signedDate: \"\",\n};\nexport default SignedorExpirationDate;\n","import React, { useState, useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport { removeCommas } from \"@shared/v2/inputFormatUtils\";\nimport {\n handleDocumentUpload,\n handleAgreementCreate,\n fetchAvailableTransactions,\n loadPropertyTypes,\n loadSources,\n loadRoles,\n loadAllAvailableRoles,\n createTransactions,\n} from \"../../../actions/personDetailActionCreators\";\nimport UploadAgreement from \"./UploadAgreement\";\nimport CreateTransaction from \"./CreateTransaction\";\nimport TransactionsField from \"./TransactionsField\";\nimport AssociatedTransaction from \"./AssociatedTransaction\";\nimport SignedorExpirationDate from \"./SignedorExpirationDate\";\nimport { useCurrentUser } from \"../../../../reducers/layoutReducer/selectors\";\nimport Error from \"@shared/Error\";\n\nconst removeFirstObjIfKeyIsZero = (array) => {\n if (array.length > 0 && array[0].value === 0) {\n return array.slice(1); // Remove the first element\n }\n return array; // Return the original array if condition not met\n};\n\nconst findIdByTitle = (client, title) => {\n const clientObj = client.find((item) => item.title === title);\n return clientObj ? clientObj.id : null;\n};\n\nconst AddAgreementModal = ({\n agreementName,\n modalOpen,\n closeModal,\n person,\n apptAddHandler,\n uploadingDocument,\n availableTransactions,\n}) => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n\n const [uploadedFile, setUploadedFile] = useState(null);\n const [signedDate, setSignedDate] = useState(\"\");\n const [expirationDate, setExpirationDate] = useState(\"\");\n\n const [isCreateTransaction, setIsCreateTransaction] = useState(false);\n\n // transaction fields\n const [transactionTitle, setTransactionTitle] = useState(\"\");\n const [selectedSource, setSelectedSource] = useState(\"\");\n const [sources, setSources] = useState([]);\n const [allRoles, setAllRoles] = useState([]);\n const [closePrice, setClosePrice] = useState(\"\");\n const [commission, setCommission] = useState(\"\");\n const [isCommissionPercentage, setIsCommissionPercentage] = useState(true);\n const [propertyType, setPropertyType] = useState(\"\");\n const [propertyTypes, setPropertyTypes] = useState([]);\n const [primaryAgent, setPrimaryAgent] = useState(null);\n const [primaryAgents, setPrimaryAgents] = useState([]);\n const [referralFee, setReferralFee] = useState(\"25\");\n const [isReferralFeePercentage, setIsReferralFeePercentage] = useState(true);\n const [referralAgent, setReferralAgent] = useState(\"\");\n const [client, setClient] = useState(\"\");\n const [clientIntent, setClientIntent] = useState(\"buyer\");\n const [errors, setErrors] = useState(null);\n\n const [associatedTransaction, SetAssociatedTransaction] = useState(null);\n const [roles, setRoles] = useState([]);\n\n const loadDependencies = async () => {\n const [sources, propertyTypes, roleData, allRoles] = await Promise.all([\n loadSources(),\n loadPropertyTypes(),\n loadRoles(agreementName, currentUser.person.id),\n loadAllAvailableRoles(),\n ]);\n const defaultPropertyType = (propertyTypes || []).find((p) => p.label === \"Residential\") || {\n label: \"Residential\",\n value: -1,\n };\n setAllRoles(allRoles);\n setSources(sources);\n setPropertyTypes(propertyTypes);\n setPropertyType(defaultPropertyType);\n setPrimaryAgent(roleData.agentsOnTransaction?.length > 0 ? roleData.agentsOnTransaction[0] : null);\n setRoles(roleData.roles);\n\n setReferralAgent({\n label: currentUser.fullName,\n value: currentUser.person.id,\n });\n };\n\n useEffect(() => {\n if (isCreateTransaction && sources.length <= 0) {\n loadDependencies();\n }\n }, [isCreateTransaction]);\n\n useEffect(() => {\n if (primaryAgent && roles.length > 0 && primaryAgents?.length <= 0) {\n setPrimaryAgents(\n removeFirstObjIfKeyIsZero(roles.find((role) => role.value === primaryAgent.roleId)?.agents),\n );\n }\n }, [primaryAgent, roles]);\n\n useEffect(() => {\n if (person.data?.id) dispatch(fetchAvailableTransactions(person.data.attributes.uuid));\n }, [person.data?.id]);\n\n const handleHide = () => {\n closeModal();\n setUploadedFile(null);\n };\n\n const handleToggleTransaction = () => {\n if (isCreateTransaction) {\n setTransactionTitle(\"\");\n setSelectedSource(\"\");\n setClosePrice(\"\");\n setCommission(\"\");\n setIsCommissionPercentage(true);\n setReferralFee(\"25\");\n setIsReferralFeePercentage(true);\n setReferralAgent({\n label: currentUser.fullName,\n value: currentUser.person.id,\n });\n setClient(\"\");\n setClientIntent(\"buyer\");\n }\n setIsCreateTransaction(!isCreateTransaction);\n };\n\n const handleAddAgreement = async () => {\n const payloadData = {\n agreement_type: agreementName,\n signed_at: signedDate,\n expired_at: expirationDate,\n };\n let getRoleId = null;\n if (agreementName === \"buyer\") {\n getRoleId = findIdByTitle(allRoles, \"Buyer\");\n } else if (agreementName === \"seller\") {\n getRoleId = findIdByTitle(allRoles, \"Seller\");\n } else {\n // its referral\n if (clientIntent === \"buyer\") {\n getRoleId = findIdByTitle(allRoles, \"Buyer\");\n } else if (clientIntent === \"seller\") {\n getRoleId = findIdByTitle(allRoles, \"Seller\");\n } else if (clientIntent === \"tenant\") {\n getRoleId = findIdByTitle(allRoles, \"Renter\");\n } else {\n // its landlord\n getRoleId = findIdByTitle(allRoles, \"Landlord\");\n }\n }\n const transactionData = {\n selectedAgreementName: agreementName,\n propertyType: propertyType,\n closePrice: closePrice ? Number(removeCommas(closePrice)) : null,\n transactionTitle: transactionTitle,\n source: selectedSource,\n client_id: client?.value,\n clientIntent: clientIntent,\n referringAgent: referralAgent?.value,\n referralFee: referralFee,\n primaryAgent: primaryAgent,\n commission: commission,\n commission_percentage: isCommissionPercentage,\n referralFeeIsPercentage: isReferralFeePercentage,\n personId: person.data?.id,\n personRoleId: getRoleId,\n };\n const [listing_id] = isCreateTransaction\n ? await Promise.all([dispatch(createTransactions(transactionData))])\n : [associatedTransaction?.value || null];\n\n if (!uploadedFile) {\n const agreementData = {\n ...payloadData,\n document_id: null,\n listing_id,\n isCreateTransaction,\n };\n dispatch(handleAgreementCreate(person.data.attributes.uuid, agreementData));\n handleHide();\n } else {\n const [uploadResponse] = await Promise.all([dispatch(\n handleDocumentUpload(\n uploadedFile,\n person.data.attributes,\n true,\n { ...payloadData, listing_id, isCreateTransaction },\n true,\n ),\n )]);\n if (!uploadResponse || uploadResponse.CreatedDocID) {\n setErrors(null);\n handleHide();\n } else {\n setErrors(uploadResponse.errors);\n }\n }\n apptAddHandler();\n };\n\n const documentUpload = (event) => {\n if (event.target.files[0]) {\n setUploadedFile(event.target.files[0]);\n }\n };\n\n const handleFileDrop = (event) => {\n event.preventDefault();\n if (event.dataTransfer.files[0]) {\n setUploadedFile(event.dataTransfer.files[0]);\n }\n };\n\n const isDisabledbtn = () => {\n return (\n uploadingDocument ||\n (isCreateTransaction &&\n (agreementName === \"buyer\" || agreementName === \"seller\"\n ? !transactionTitle?.trim() || !selectedSource || Object.keys(selectedSource).length <= 0\n : !transactionTitle?.trim() || !client || Object.keys(client).length <= 0))\n );\n };\n\n return (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n // 636px = 616px from Figma + 10px for each horizontal padding (20px)\n dialogClassName=\"tw-w-[636px] tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n show={modalOpen}\n onHide={handleHide}\n data-cy=\"add-agreement-modal\"\n >\n <Modal.Header titleClassName=\"tw-mb-32px tw-text-neutral-gray-75\" title=\"Add Agreement\" closeButton />\n\n <Modal.Body className=\"tw-mb-32px tw-max-h-[70vh] tw-overflow-auto\">\n {errors && <Error errorMessage={errors} />}\n <UploadAgreement\n handleFileDrop={handleFileDrop}\n handleDocumentUpload={documentUpload}\n uploadedFile={uploadedFile}\n selectedAgreementName={agreementName}\n />\n <SignedorExpirationDate\n signedDate={signedDate}\n expirationDate={expirationDate}\n setSignedDate={setSignedDate}\n setExpirationDate={setExpirationDate}\n />\n\n <hr className=\"tw-border-t tw-border-solid tw-border-gray-10\" />\n\n <CreateTransaction\n handleToggleTransaction={handleToggleTransaction}\n isCreateTransaction={isCreateTransaction}\n selectedAgreementName={agreementName}\n />\n {isCreateTransaction ? (\n <TransactionsField\n selectedAgreementName={agreementName}\n transactionTitle={transactionTitle}\n setTransactionTitle={setTransactionTitle}\n selectedSource={selectedSource}\n setSelectedSource={setSelectedSource}\n sources={sources}\n propertyTypes={propertyTypes}\n closePrice={closePrice}\n setClosePrice={setClosePrice}\n commission={commission}\n setCommission={setCommission}\n propertyType={propertyType}\n setPropertyType={setPropertyType}\n referralFee={referralFee}\n setReferralFee={setReferralFee}\n referralAgent={referralAgent}\n setReferralAgent={setReferralAgent}\n client={client}\n setClient={setClient}\n clientIntent={clientIntent}\n setClientIntent={setClientIntent}\n isCommissionPercentage={isCommissionPercentage}\n setIsCommissionPercentage={setIsCommissionPercentage}\n isReferralFeePercentage={isReferralFeePercentage}\n setIsReferralFeePercentage={setIsReferralFeePercentage}\n primaryAgents={primaryAgents}\n setPrimaryAgent={setPrimaryAgent}\n primaryAgent={primaryAgent}\n />\n ) : (\n <AssociatedTransaction\n availableTransactions={availableTransactions}\n associatedTransaction={associatedTransaction}\n SetAssociatedTransaction={SetAssociatedTransaction}\n />\n )}\n </Modal.Body>\n\n <Modal.Footer className=\"tw-flex tw-justify-between\">\n <Button\n onClick={handleHide}\n className=\"tw-px-[20px] tw-py-[8px] tw-flex tw-items-center\"\n schema=\"tertiary\"\n size=\"medium\"\n data-cy=\"documents-upload-cancel-button\"\n >\n CANCEL\n </Button>\n <Button\n className=\"tw-flex tw-items-center\"\n size=\"medium\"\n schema=\"primary\"\n disabled={isDisabledbtn()}\n onClick={handleAddAgreement}\n data-cy=\"documents-upload-done-button\"\n >\n ADD\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nAddAgreementModal.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n agreementName: Proptypes.string,\n person: Proptypes.shape({}),\n apptAddHandler: Proptypes.func,\n};\nAddAgreementModal.defaultProps = {\n modalOpen: false,\n closeModal: null,\n agreementName: \"buyer\",\n person: {},\n apptAddHandler: () => {},\n};\nexport default AddAgreementModal;\n","import React, { useRef } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { useClickOutside } from \"@shared/hookHelpers\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport { HouseSolidV6, FileLinesSolidV6, KeySolidV6, ShareNodesSolidV6 } from \"@shared/v2/Icomoon/Icons\";\n\nexport const DocButton = ({ onClickFunc, Icon, text, doctype }) => {\n const onClickDocType = () => {\n onClickFunc(doctype);\n };\n return (\n <Button\n schema=\"secondary\"\n size=\"medium\"\n onClick={onClickDocType}\n className=\"tw-capitalize tw-text-[18px] !tw-text-gray-75 tw-leading-[24px] tw-font-bold tw-w-[299px] !tw-rounded-[4px]\n tw-flex tw-gap-[16px] tw-items-center tw-border-[1px] !tw-border-gray-10 tw-h-[72px] !tw-p-[24px]\n hover:!tw-bg-transparent\n hover:!tw-border-theme-button-secondary\n hover:!tw-text-theme-button-secondary\n active:!tw-text-theme-button-secondary\n active:!tw-bg-transparent\n active:!tw-border-theme-button-secondary\"\n >\n <Icon size=\"xxl\" />\n {text}\n </Button>\n );\n};\n\nconst SelectDocTypeModal = ({\n onSelectDocType,\n modalOpen,\n closeModal,\n children,\n title = \"Select Document Type\",\n}) => {\n const target = useRef(null);\n\n useClickOutside(target, () => closeModal());\n return (\n <Modal\n className=\"tw-flex tw-justify-center tw-items-center\"\n dialogClassName=\"tw-h-auto\"\n contentClassName=\"tw-w-full tw-h-full\"\n backdrop=\"static\"\n data-cy=\"select-doc-type-modal\"\n show={modalOpen}\n onHide={closeModal}\n ref={target}\n >\n <Modal.Header titleClassName=\"tw-mb-32px tw-text-gray-75\" title={title} />\n\n <Modal.Body>\n <div className=\"tw-grid tw-grid-cols-1 tw-gap-[24px]\">\n {children || (\n <>\n <DocButton\n text=\"Buyer Agreement\"\n doctype=\"buyer\"\n Icon={KeySolidV6}\n onClickFunc={onSelectDocType}\n />\n <DocButton\n text=\"Seller Agreement\"\n doctype=\"seller\"\n Icon={HouseSolidV6}\n onClickFunc={onSelectDocType}\n />\n <DocButton\n text=\"Referral Agreement\"\n doctype=\"referral\"\n Icon={ShareNodesSolidV6}\n onClickFunc={onSelectDocType}\n />\n <DocButton\n text=\"Other Document\"\n doctype=\"other\"\n Icon={FileLinesSolidV6}\n onClickFunc={onSelectDocType}\n />\n </>\n )}\n </div>\n </Modal.Body>\n </Modal>\n );\n};\n\nDocButton.Proptypes = {\n onClickFunc: Proptypes.func,\n Icon: Proptypes.shape({}).isRequired,\n doctype: Proptypes.string,\n text: Proptypes.string,\n};\nDocButton.defaultProps = {\n onClickFunc: null,\n text: null,\n doctype: null,\n};\n\nSelectDocTypeModal.Proptypes = {\n onSelectDocType: Proptypes.func,\n modalOpen: Proptypes.bool,\n isDocument: Proptypes.bool,\n closeModal: Proptypes.func,\n};\nSelectDocTypeModal.defaultProps = {\n modalOpen: false,\n onSelectDocType: null,\n closeModal: null,\n isDocument: false,\n};\nexport default SelectDocTypeModal;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { Download, Trash } from \"@shared/v2/Icomoon/Icons\";\nimport ViewAllDocumentsModal from \"./modals/ViewAllDocumentsModal\";\nimport icons from \"./icons.module.css\";\nimport cards from \"./cards.module.css\";\nimport colors from \"./colors.module.css\";\nimport css from \"./person-detail-styles.module.css\";\nimport {\n fetchDocuments,\n handleDocumentDelete,\n handleDocumentUpload,\n getAppointments,\n} from \"../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport Loading from \"../../Goals/components/Loader\";\nimport DeleteAgreementModal from \"./Agreements/DeleteAgreementModal\";\nimport AddAgreementModal from \"./Agreements/AddAgreementModal\";\nimport SelectDocTypeModal from \"./modals/SelectDocTypeModal\";\n\nconst FadeOut = () => (\n <div className=\"tw-absolute tw-top-0 tw-bottom-0 tw-right-0 tw-w-[48px] tw-bg-gradient-to-r tw-from-transparent tw-to-white\" />\n);\n\nconst DocumentCard = ({\n document: { id, date_added, file_name, image_icon, uploaded_by_name, uploaded_by_url, expiring_url },\n onDelete,\n onClickDownload,\n person,\n}) => (\n <div\n key={id}\n className=\"tw-relative tw-shadow-tdp-card tw-overflow-hidden tw-flex tw-flex-col tw-gap-[12px] tw-rounded-[7px] tw-p-[12px]\"\n >\n <div className=\"tw-flex tw-items-center tw-gap-[12px] tw-overflow-hidden\">\n <div className=\"tw-flex tw-items-center tw-gap-[12px] tw-flex-1 tw-min-w-0\">\n <i className={`fa ${image_icon} ${icons.faLg} ${colors.brivityBlue}`} />\n <div className=\"tw-flex-1 tw-relative tw-overflow-hidden\">\n <a\n className=\"tw-text-14d tw-text-neutral-gray-75 tw-font-semibold tw-whitespace-nowrap\"\n href={expiring_url}\n target=\"_blank\"\n title={file_name}\n >\n {file_name}\n <FadeOut />\n </a>\n </div>\n </div>\n <div className={`${icons.downloadAndDelete} tw-flex tw-gap-[4px]`}>\n <IconButton size=\"small\" schema=\"tertiary\" onClick={onClickDownload}>\n <Download className=\"!tw-w-[9px] !tw-h-[9px]\" />\n </IconButton>\n <IconButton size=\"small\" schema=\"tertiary\" onClick={() => onDelete(person.data.attributes, id)}>\n <Trash className=\"!tw-w-[9px] !tw-h-[9px]\" />\n </IconButton>\n </div>\n </div>\n <div className=\"tw-flex tw-whitespace-nowrap\">\n <div className=\"tw-flex-1 tw-relative tw-overflow-hidden tw-min-w-0\">\n <span>\n Uploaded by{\" \"}\n <a href={uploaded_by_url} title={uploaded_by_name}>\n {uploaded_by_name}\n </a>\n </span>\n <div className=\"tw-absolute tw-top-0 tw-bottom-0 tw-right-0 tw-w-[48px] tw-bg-gradient-to-r tw-from-transparent tw-to-white\" />\n <FadeOut />\n </div>\n <span>{date_added}</span>\n </div>\n </div>\n);\n\nconst getOption = (data) => {\n return data.map((item) => ({\n label: item.name,\n value: item.id,\n }));\n};\n\nconst Documents = ({\n docType,\n openAddAgreementModal,\n setDoc,\n agreementCloseModal,\n hiddenUploadInput,\n openSelectDocModal,\n setOpenSelectDocModal,\n}) => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const documents = useSelector((state) => state.personDetail.documents);\n const uploadingDocument = useSelector((state) => state.personDetail.uploadingDocument);\n const availableTransactions = useSelector((state) => getOption(state.personDetail.available_transactions));\n const [showDocumentsModal, setShowDocumentsModal] = useState(false);\n const [saveDocId, setSaveDocId] = useState(null);\n const [openDeleteModal, setOpenDeleteModal] = useState(false);\n\n useEffect(() => {\n if (person.data?.id) dispatch(fetchDocuments(person.data));\n }, [person.data?.id]);\n\n const onClickDownload = (expiringUrl) => {\n if (expiringUrl) {\n window.open(expiringUrl, \"_blank\");\n }\n };\n\n const onClickDeleteDoc = (docId) => {\n setOpenDeleteModal(true);\n setSaveDocId(docId);\n };\n\n const deleteCloseModal = () => {\n setOpenDeleteModal(false);\n };\n\n const deleteDoc = () => {\n dispatch(handleDocumentDelete(person.data.attributes, saveDocId));\n deleteCloseModal();\n };\n\n return (\n <CollapsibleElement\n id=\"pdp-documents\"\n title=\"Documents\"\n buttonText=\"UPLOAD\"\n buttonClickFunction={() => setOpenSelectDocModal(true)}\n >\n {!person.data && <Loading />}\n <input\n id=\"documentUploadInput\"\n type=\"file\"\n ref={hiddenUploadInput}\n onChange={(event) =>\n dispatch(handleDocumentUpload(event.target.files[0], person.data.attributes, false))\n }\n style={{ display: \"none\" }}\n />\n <div id=\"person-documents-card\" className=\"tw-flex tw-flex-col tw-gap-[12px]\">\n <div id=\"progress\" className=\"tw-relative tw-h-[12px] tw-my-[-12px]\">\n <div className={`progress-bar tw-bg-teal ${uploadingDocument ? \"tw-w-full\" : \"tw-w-0\"}`} />\n </div>\n\n {documents.length === 0 && (\n <div className={css.personDetailEmptyStateText}>\n Upload documents associated with this contact here (images, PDFs, .doc, etc.).\n </div>\n )}\n\n {documents.slice(0, 2).map((document) => (\n <DocumentCard\n key={document.id}\n document={document}\n onClickDownload={() => onClickDownload(document.expiring_url)}\n onDelete={() => onClickDeleteDoc(document.id)}\n person={person}\n />\n ))}\n\n {documents.length > 2 && (\n <a onClick={() => setShowDocumentsModal(true)} className={`${cards.viewAll} ${colors.brivityBlue}`}>\n VIEW ALL\n </a>\n )}\n\n {showDocumentsModal && (\n <ViewAllDocumentsModal\n documents={documents}\n onClose={() => setShowDocumentsModal(false)}\n handleDocumentDelete={(...args) => dispatch(handleDocumentDelete(...args))}\n person={person}\n />\n )}\n </div>\n {openDeleteModal && (\n <DeleteAgreementModal\n modalOpen={openDeleteModal}\n onDelete={deleteDoc}\n closeModal={deleteCloseModal}\n title=\"Delete Document?\"\n msg=\"Deleting this document will remove it from both the agreement and the Documents section.\"\n />\n )}\n {openSelectDocModal && (\n <SelectDocTypeModal\n modalOpen={openSelectDocModal}\n onSelectDocType={setDoc}\n closeModal={() => setOpenSelectDocModal(false)}\n />\n )}\n {openAddAgreementModal && (\n <AddAgreementModal\n person={person}\n agreementName={docType}\n modalOpen={openAddAgreementModal}\n closeModal={agreementCloseModal}\n uploadingDocument={uploadingDocument}\n availableTransactions={availableTransactions}\n apptAddHandler={() => dispatch(getAppointments(person.data.attributes.uuid))}\n />\n )}\n </CollapsibleElement>\n );\n};\n\nexport default Documents;\n","import React, { Component } from 'react';\nimport { Row, Col } from \"react-bootstrap\";\nimport { Dropdown } from '../../shared/v1';\nimport button from './button.module.css';\nimport css from \"./person-detail-styles.module.css\";\nimport cards from './cards.module.css'\nimport icons from './icons.module.css';\n\nclass EditAddRelationship extends Component {\n state = {\n editingRelationship: false,\n addingRelationship: false,\n newRelatedToLabel: this.props.relationship.related_person_label\n };\n\n onRelationshipEdit = () => {\n this.setState({ editingRelationship: true });\n };\n\n onDismissRelationshipEdit = () => {\n this.setState({ editingRelationship: false });\n };\n\n onAddNewRelationship = () => {\n this.setState({ addingRelationship: true });\n };\n\n onDismissRelationshipAdd = () => {\n this.setState({ addingRelationship: false });\n };\n\n handleChangeLabel = (value) => {\n this.setState({newRelatedToLabel: value})\n }\n\n onSaveChanges = () => {\n this.props.saveRelationship(this.props.person.data.attributes, this.props.relationship.id, null, this.state.newRelatedToLabel);\n this.setState({ editingRelationship: false });\n }\n\n handleDelete = () => {\n this.props.deleteRelationship(this.props.person.data.attributes, this.props.relationship.id)\n this.setState({ editingRelationship: false })\n }\n\n render() {\n return (\n <div className={cards.cardRowNarrow}>\n <Row className={`${icons.inlineEditable} ${cards.fullRowHover}`}>\n { !this.state.editingRelationship ? (\n <div>\n <Col xs={10} className=\"d-flex flex-items-center\" style={{height: \"50px\"}}>\n <a\n className={css.brivityPersonRelationshipAvatar}\n href={this.props.relationship.related_person_url}\n dangerouslySetInnerHTML={{__html: this.props.relationship.related_to_person_image}}\n style={{ marginRight: \"18px\" }}\n />\n <div className=\"overflow\">\n <a className={css.brivityPersonRelationshipName} href={this.props.relationship.related_person_url}>{this.props.relationship.related_person_name}</a>\n <div className={css.brivityPersonRelationshipType}>{this.props.relationship.related_person_label === \"Unspecified\" ? ' ' : this.props.relationship.related_person_label}</div>\n <div className={`${icons.hidden} fade-out`} />\n </div>\n </Col>\n <Col xs={2} className={`${icons.edit} d-flex flex-items-center`} style={{ height: \"50px\", justifyContent: \"flex-end\" }}>\n <a onClick={this.onRelationshipEdit} className={`${icons.blue} ${icons.button} ${icons.hidden}`}>\n <i className={`${icons.smIcon} fa fa-pencil`} />\n </a>\n </Col>\n </div>\n ) : (\n <div>\n <Col xs={9} className=\"d-flex flex-items-center\" style={{ height: \"50px\" }}>\n <a\n className={css.brivityPersonRelationshipAvatar}\n href={this.props.relationship.related_person_url}\n dangerouslySetInnerHTML={{__html: this.props.relationship.related_to_person_image}}\n style={{marginRight: \"18px\"}}\n />\n <div className=\"tw-text-14px\" style={{ width: \"100%\" }}>\n <Dropdown\n isSearchable={false}\n isClearable={false}\n options={this.props.relationshipOptions}\n onChange={(option) => this.handleChangeLabel(option.value)}\n value={this.state.newRelatedToLabel === \"Unspecified\" ? null : this.state.newRelatedToLabel}\n variant=\"flatBlueishGray\"\n />\n </div>\n </Col>\n <Col xs={3} className={`${icons.edit} d-flex flex-items-center`} style={{ height: \"50px\", justifyContent: \"flex-end\", flexWrap: \"wrap\"}}>\n <div style={{width: \"50px\"}}>\n <div className=\"text-center\" style={{ marginBottom: \"4px\" }}>\n <a className={`${button.btn} ${button.btnSmNarrow} ${button.btnBlue}`} onClick={this.onSaveChanges}>Save</a>\n </div>\n <div>\n <a className={`${icons.gray} ${icons.button} pull-left`} onClick={this.handleDelete}>\n <i className={`${icons.smIcon} fa fa-trash`} />\n </a>\n <a className={`${icons.gray} ${icons.button} pull-right`} onClick={this.onDismissRelationshipEdit}>\n <i className={`${icons.smIcon} fa fa-times`} />\n </a>\n </div>\n </div>\n </Col>\n </div>\n )}\n </Row>\n </div>\n );\n }\n}\n\nexport default EditAddRelationship;\n","import React, { Component } from 'react';\nimport { Col, Form, Modal, Row } from 'react-bootstrap';\nimport { Dropdown } from '../../../shared/v1';\nimport modal_css from '../modal.module.css';\nimport form_css from '../form.module.css';\nimport buttons from '../button.module.css';\nimport css from \"../person-detail-styles.module.css\";\nimport SearchPeople from \"../../../QuickSearch/components/SearchPeople\";\nimport axios from \"axios\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport Button from '@shared/v2/Button';\n\nclass AddRelationshipModal extends Component {\n state = {\n page: 1,\n selectedPersonId: null,\n relatedPerson: undefined,\n primary_person_label: null,\n related_person_label: null\n };\n\n headerTitle = () => {\n if (this.state.page === 1) {\n return \"Add a Relationship\"\n }\n return \"Edit Relationship\"\n };\n\n selectPerson = (newPerson) => {\n this.setState({selectedPersonId: newPerson?.object_id})\n }\n\n addRelationship = (e) => {\n e.preventDefault();\n const url = '/people/' + this.props.person.data.attributes.slug + '/relationships'\n let form_data = new FormData();\n form_data.append('authenticity_token', ReactOnRails.authenticityToken())\n form_data.append('relationship[person_y_id]', this.state.selectedPersonId)\n form_data.append('person_details_page', 'true')\n form_data.append('view_type', 'new')\n axios.post(url, form_data)\n .then(res => {\n this.setState({relatedPerson: res.data, page: 2});\n this.props.addRelationship(res.data);\n }).catch(err => {\n // TODO: Handle error\n console.log(err)\n })\n }\n\n handlePrimaryPersonLabelChange = (value) => {\n this.setState({primary_person_label: value})\n }\n\n handleRelatedPersonLabelChange = (value) => {\n this.setState({related_person_label: value})\n }\n\n handleSaveRelationshipClick = (e) => {\n e.preventDefault();\n this.props.saveRelationship(this.props.person.data.attributes, this.state.relatedPerson.id, this.state.primary_person_label, this.state.related_person_label);\n this.props.closeAddRelationShipModal();\n }\n\n handleCancelClick = (e) => {\n this.props.closeAddRelationShipModal();\n }\n\n render() {\n return (\n <Modal id=\"add-relationship-modal\" className=\"person-details-modal\" show={true} onHide={this.handleCancelClick}>\n <Modal.Header>\n <Modal.Title>\n <HeaderTitle title={this.headerTitle()} onClose={this.handleCancelClick} />\n </Modal.Title>\n </Modal.Header>\n <Modal.Body>\n <Form>\n { this.state.page === 1 &&\n <div>\n <Row>\n <Col xs={12} className={`form-group ${modal_css.pB15}`}>\n <SearchPeople label=\"Search\" excludeTrashAndArchived onSelectFunction={this.selectPerson} />\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <hr className={`${modal_css.divider} ${modal_css.pB30}`}/>\n </Col>\n </Row>\n <Row>\n <Col xs={12} className=\"form-group tw-flex tw-justify-between\">\n <Button onClick={this.props.closeAddRelationShipModal} size=\"medium\" schema=\"tertiary\">\n Cancel\n </Button>\n <Button\n onClick={this.addRelationship}\n disabled={!this.state.selectedPersonId}\n size=\"medium\"\n >\n Next\n </Button>\n </Col>\n </Row>\n </div>\n }\n { this.state.page === 2 &&\n <div>\n <Row>\n <Col xs={6}>\n <label className={form_css.formLabel}>PRIMARY PERSON</label>\n </Col>\n <Col xs={6}>\n <label className={form_css.formLabel}>RELATED PERSON</label>\n </Col>\n </Row>\n <Row>\n <Col xs={6} style={{ borderRight: \"1px solid #E6E6E6\"}}>\n <Row>\n <div style={{ position: \"absolute\", top: \"52px\", right: \"-15px\", width: \"30px\", height: \"56px\", backgroundColor: \"#fff\", textAlign: \"center\"}}>\n <i className=\"fa fa-link\" style={{ position: \"relative\", top: \"21px\", fontSize: \"20px\", color: \"rgba(89, 196, 196, 1)\" }}></i>\n </div>\n <Col xs={12} className={modal_css.pT30}>\n <div className={css.brivityPersonAvatarWrapper} style={{ height: \"78px\", width: \"78px\"}}>\n <div className={css.brivityPersonAvatarInitials}>\n {this.props.person.data.attributes.first_name?.[0].toUpperCase()}{this.props.person.data.attributes.last_name?.[0].toUpperCase()}\n </div>\n </div>\n <p className=\"text-center\" style={{ fontSize: \"19px\", fontWeight: \"600\"}}>{this.props.person.data.attributes.first_name} {this.props.person.data.attributes.last_name}</p>\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <label className={form_css.formLabel}>RELATIONSHIP</label>\n <Dropdown\n isSearchable\n isClearable={false}\n placeholder='Select...'\n value={this.state.primary_person_label}\n options={this.props.relationshipOptions.map(r => ({ value: r.value, label: r.label }))}\n onChange={(option) => this.handlePrimaryPersonLabelChange(option.value)}\n variant=\"flatGray\"\n />\n </Col>\n </Row>\n </Col>\n <Col xs={6}>\n <Row>\n <Col xs={12} className={modal_css.pT30}>\n <div className={css.brivityPersonAvatarWrapper} style={{ height: \"78px\", width: \"78px\"}}>\n <div className={css.brivityPersonAvatarInitials}>\n {this.state.relatedPerson.related_to_person_first_name[0].toUpperCase()}{this.state.relatedPerson.related_to_person_last_name[0].toUpperCase()}\n </div>\n </div>\n <p className=\"text-center\" style={{ fontSize: \"19px\", fontWeight: \"600\"}}>{this.state.relatedPerson.related_person_name}</p>\n </Col>\n </Row>\n <Row>\n <Col xs={12}>\n <label className={form_css.formLabel}>RELATIONSHIP</label>\n <Dropdown\n isSearchable\n isClearable={false}\n placeholder='Select...'\n value={this.state.related_person_label}\n options={this.props.relationshipOptions.map(r => ({ value: r.value, label: r.label }))}\n onChange={(option) => this.handleRelatedPersonLabelChange(option.value)}\n variant=\"flatGray\"\n />\n </Col>\n </Row>\n <Row className=\"m-t-30\">\n <Col xs={12}>\n <div className={css.brivityPersonContactLabel}>\n Email (Personal)\n </div>\n <div className=\"m-t-10\">\n <span className={css.brivityPersonContactIcon}>\n <i className=\"fa fa-envelope-o\"></i>\n </span>\n <span className={css.brivityPersonContactValue}>\n {this.state.relatedPerson.related_to_person_email ? this.state.relatedPerson.related_to_person_email : 'None'}\n </span>\n </div>\n </Col>\n </Row>\n <Row className=\"m-t-20\">\n <Col xs={12}>\n <div className={css.brivityPersonContactLabel}>\n Phone (Mobile)\n </div>\n <div className=\"m-t-10\">\n <span className={css.brivityPersonContactIcon}>\n <i className=\"fa fa-phone\"></i>\n </span>\n <span className={css.brivityPersonContactValue}>\n {this.state.relatedPerson.related_to_person_phone ? this.state.relatedPerson.related_to_person_phone : 'None'}\n </span>\n </div>\n </Col>\n </Row>\n <Row className=\"m-t-20\">\n <Col xs={12}>\n <div className={css.brivityPersonContactLabel}>\n Address (Home)\n </div>\n <div className=\"m-t-10\">\n <span className={css.brivityPersonContactIcon}>\n <i className=\"fa fa-map-marker\"></i>\n </span>\n <span className={css.brivityPersonContactValue}>\n { this.state.relatedPerson.related_to_person_address &&\n <span>{this.state.relatedPerson.address?.street_address}<br />\n {this.state.relatedPerson.related_to_person_address?.city}, {this.state.relatedPerson.related_to_person_address?.locality} {this.state.relatedPerson.related_to_person_address?.postal_code}\n </span>\n }\n { !this.state.relatedPerson.related_to_person_address &&\n <span>None</span>\n }\n </span>\n </div>\n </Col>\n </Row>\n </Col>\n </Row>\n <Row className={modal_css.pT30}>\n <Col xs={12}>\n <hr className={`${modal_css.divider} ${modal_css.pB30}`}/>\n </Col>\n </Row>\n <Row>\n <div className=\"tw-flex tw-justify-between\">\n <Button schema=\"tertiary\" size=\"medium\" onClick={e => this.handleCancelClick(e)}>\n Cancel\n </Button>\n <Button size=\"medium\" onClick={e => this.handleSaveRelationshipClick(e)}>\n Save\n </Button>\n </div>\n </Row>\n </div>\n }\n </Form>\n </Modal.Body>\n </Modal>\n );\n }\n}\n\nexport default AddRelationshipModal;\n","import React, { useEffect } from \"react\";\nimport css from \"./person-detail-styles.module.css\";\nimport EditAddRelationship from \"./EditAddRelationship\";\nimport AddRelationshipModal from \"./modals/AddRelationshipModal\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as actions from \"../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport Loading from \"../../Goals/components/Loader\";\n\nconst RELATIONSHIP_OPTIONS = [\n { label: \"Brother\", value: \"brother\" },\n { label: \"Child In Law\", value: \"child-in-law\" },\n { label: \"Child\", value: \"child\" },\n { label: \"Coworker\", value: \"coworker\" },\n { label: \"Daughter\", value: \"daughter\" },\n { label: \"Father\", value: \"father\" },\n { label: \"Friend\", value: \"friend\" },\n { label: \"Grandchild\", value: \"grandchild\" },\n { label: \"Grandparent\", value: \"grandparent\" },\n { label: \"Husband\", value: \"husband\" },\n { label: \"Landlord\", value: \"landlord\" },\n { label: \"Mother\", value: \"mother\" },\n { label: \"Other\", value: \"other\" },\n { label: \"Parent In Law\", value: \"parent-in-law\" },\n { label: \"Parent\", value: \"parent\" },\n { label: \"Partner\", value: \"partner\" },\n { label: \"Referee\", value: \"referee\" },\n { label: \"Referrer\", value: \"referrer\" },\n { label: \"Sibling\", value: \"sibling\" },\n { label: \"Sister\", value: \"sister\" },\n { label: \"Son\", value: \"son\" },\n { label: \"Spouse\", value: \"spouse\" },\n { label: \"Tenant\", value: \"tenant\" },\n { label: \"Wife\", value: \"wife\" },\n];\n\nconst Relationships = () => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const relationships = useSelector((state) => state.personDetail.relationships);\n const addRelationshipModalOpen = useSelector((state) => state.personDetail.addRelationshipModalOpen);\n\n useEffect(() => {\n if (!person.data?.id) return;\n dispatch(actions.fetchRelationships(person.data));\n }, [person.data?.id]);\n\n return (\n <CollapsibleElement\n id=\"pdp-relationships\"\n title=\"Relationships\"\n buttonText=\"+ ADD\"\n buttonClickFunction={() => dispatch(actions.openAddRelationShipModal())}\n >\n {!person.data && <Loading />}\n <div id=\"person-relationships-card\" className=\"tw-mx-[-20px]\">\n {/*TODO: need to look at what happens when person isn't readable... see link_to_or_text in relationship_decorator.rb */}\n {relationships.length === 0 && (\n <div\n className={css.personDetailEmptyStateText}\n style={{ paddingLeft: \"20px\", paddingRight: \"14px\" }}\n >\n Use relationships to link contacts and show how contacts know each other.\n </div>\n )}\n {relationships.map((relationship, index) => (\n <EditAddRelationship\n key={index}\n relationship={relationship}\n relationshipOptions={RELATIONSHIP_OPTIONS}\n saveRelationship={(...args) => dispatch(actions.saveRelationship(...args))}\n deleteRelationship={(...args) => dispatch(actions.deleteRelationship(...args))}\n person={person}\n />\n ))}\n {addRelationshipModalOpen && (\n <AddRelationshipModal\n closeAddRelationShipModal={() => dispatch(actions.closeAddRelationShipModal())}\n addRelationship={(...args) => dispatch(actions.addRelationship(...args))}\n person={person}\n relationshipOptions={RELATIONSHIP_OPTIONS}\n saveRelationship={(...args) => dispatch(actions.saveRelationship(...args))}\n />\n )}\n </div>\n </CollapsibleElement>\n );\n};\n\nexport default Relationships;\n","import React, { useEffect, useState } from \"react\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Modal from \"@shared/v2/Modal\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport Button from \"@shared/v2/Button\";\nimport { HandshakeRegularV6 } from \"@shared/v2/Icomoon\";\n\nconst useTransactions = ({ personId, show }) => {\n const [transactions, setTransactions] = useState([]);\n\n useEffect(() => {\n if (!personId || !show) return;\n const abortController = new AbortController();\n caseTransformingAxios\n .get(`/people/${personId}/transactions`, { signal: abortController.signal })\n .then((res) => setTransactions(res.data))\n .catch((err) => {\n console.log(err);\n });\n return () => abortController.abort();\n }, [personId, show]);\n\n return transactions;\n};\n\nconst ViewAllTransactionsModal = ({ onClose, person, show }) => {\n const transactions = useTransactions({ show, personId: person.data?.attributes.id });\n return (\n <Modal\n id=\"view-all-transactions-modal\"\n className=\"person-details-modal\"\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[720px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n show={show}\n onHide={onClose}\n >\n <Modal.Header title=\"Transactions\" closeButton />\n <Modal.Body className=\"tw-overflow-auto\">\n {transactions.map(({ address, lastUpdated, link, mls, primaryImage, status, statusClass }, i) => (\n <div\n key={i}\n className=\"tw-flex tw-flex-wrap tw-justify-between tw-gap-[16px] tw-px-[8px] tw-py-[32px] tw-border-solid tw-border-gray-10 tw-border-t-0 tw-border-x-0\"\n >\n <div className=\"tw-overflow-hidden tw-flex tw-gap-[16px]\">\n <div className=\"tw-flex-none tw-w-[42px] tw-h-[42px] tw-rounded-full tw-border-solid tw-border-[2px] tw-flex tw-justify-center tw-items-center\">\n <HandshakeRegularV6 size=\"xxl\" />\n </div>\n <div\n className=\"[&>img]:tw-h-[80px] [&>img]:tw-w-[120px]\"\n dangerouslySetInnerHTML={{ __html: primaryImage }}\n />\n <div className=\"tw-overflow-hidden tw-flex tw-flex-col tw-gap-[8px]\">\n <a\n href={link}\n target=\"_blank\"\n className=\"tw-text-gray-base tw-font-bold tw-whitespace-nowrap tw-text-ellipsis tw-overflow-hidden\"\n >\n {address}\n </a>\n <span>MLS {mls}</span>\n <span className={`${statusClass} tw-font-bold`}>{status}</span>\n </div>\n </div>\n <div className=\"tw-text-12d\">{lastUpdated}</div>\n </div>\n ))}\n </Modal.Body>\n <Modal.Footer className=\"tw-flex tw-justify-end\">\n <Button size=\"medium\" onClick={onClose}>\n Done\n </Button>\n </Modal.Footer>\n </Modal>\n );\n};\n\nexport default ViewAllTransactionsModal;\n","/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"../../../shared/v2/Tooltip\";\n\nconst colorDictionary = {\n buyer: {\n regular: \"tw-border-semantic-blue-10 tw-text-semantic-blue-110\",\n themed: \"tw-border-theme-type-cell-buyer tw-text-theme-type-cell-buyer\",\n },\n seller: {\n regular: \"tw-border-semantic-yellow-10 tw-text-semantic-yellow-110\",\n themed: \"tw-border-theme-type-cell-seller tw-text-theme-type-cell-seller\",\n },\n landlord: {\n regular: \"tw-border-semantic-red-10 tw-text-semantic-red-110\",\n themed: \"tw-border-theme-type-cell-landlord tw-text-theme-type-cell-landlord\",\n },\n referral: {\n regular: \"tw-border-semantic-pink-10 tw-text-semantic-pink-110\",\n themed: \"tw-border-theme-type-cell-referral tw-text-theme-type-cell-referral\",\n },\n tenant: {\n regular: \"tw-border-semantic-green-10 tw-text-semantic-green-110\",\n themed: \"tw-border-theme-type-cell-tenant tw-text-theme-type-cell-tenant\",\n },\n};\n\nconst colorFor = (type) => colorDictionary[type] || colorDictionary.seller;\n\nconst contentDictionary = {\n buyer: \"Buyer\",\n seller: \"Seller\",\n landlord: \"Landlord\",\n referral: \"Referral\",\n tenant: \"Tenant\",\n};\n\nconst contentFor = (type) => contentDictionary[type] || contentDictionary.seller;\n\nconst typeToken = (type, themed = false, withTooltip = true) => {\n const trigger = (\n <span\n className={`\n tw-border-2 tw-border-solid\n tw-flex tw-items-center tw-justify-center\n tw-w-20px tw-h-20px\n tw-rounded-4px\n tw-cursor-default\n tw-text-11d tw-font-bold\n ${themed ? colorFor(type).themed : colorFor(type).regular}\n `}\n >\n {contentFor(type).charAt(0)}\n </span>\n );\n\n if (!withTooltip) {\n return trigger;\n }\n\n return <Tooltip placement=\"top\" content={contentFor(type)} trigger={trigger} />;\n};\n\nconst TypeCell = ({ value, themed, withTooltip, className }) => (\n <div\n className={`\n tw-inline-flex tw-flex-row tw-items-center tw-justify-center tw-flex-nowrap\n ${className}\n `}\n >\n {typeToken(value, themed, withTooltip)}\n </div>\n);\n\nTypeCell.propTypes = {\n value: PropTypes.string,\n themed: PropTypes.bool,\n withTooltip: PropTypes.bool,\n className: PropTypes.string,\n};\n\nTypeCell.defaultProps = {\n value: null,\n themed: false,\n withTooltip: true,\n className: \"\",\n};\n\nexport default TypeCell;\n","// extracted by mini-css-extract-plugin\nexport default {\"thumb\":\"xHTTH0SBiT0uzttRjcrO\",\"thumbLg\":\"_KppuI2VoC0qo09AXs64\",\"transactionDetails\":\"XHkk60sqNJycMw0ePyEK\",\"handShake\":\"w1DlLngPKVlHDUTmpjSs\",\"modalRow\":\"LSKem3VWw3XlsEI1UqWd\",\"overflow\":\"v2_DDHdhjMZbXakTQC9Y\",\"modalScroll\":\"p29HksmR80cp6EA7tipk\",\"searchResults\":\"GDpS5i74xfOfowg0wQA3\",\"resultChildren\":\"j4KnGwiRwFSWAs9ZS3sw\",\"resultItem\":\"UcTDdZL7FXHCLVqSp4XF\",\"categories\":\"XVqZKOIaoF3KkGx9aKRz\",\"result\":\"ApS8LFQRXb4IL0jydxUR\",\"highlight\":\"AqJmZN3DSEHDCufJIbP0\",\"addRolePlus\":\"SgbtHpPdc_vFhSZW5M4l\",\"previewCard\":\"RR18iQe3QLzU6su4UVr2\",\"header\":\"u_qsyYKYH6VC3vhjE_lJ\",\"content\":\"BspfN6j5y6eruONxcsKm\",\"listingImg\":\"wc251LFZxnbBD0xJA4Sv\",\"details\":\"wSYjtRtaJ3MKM8A18aC0\",\"mlsCredit\":\"fbaYgZ7RcdLXYjC9D6XV\",\"deleteIcon\":\"yscwPJ7R72yicAWDtw8I\"};","/* eslint-disable import/prefer-default-export */\nexport const isReferral = (type) => type === \"referral\";\nexport const isSellerLandlordType = (type) => type === \"seller\" || type === \"landlord\";\n\nconst BUYER_TENANT = [\"buyer\", \"tenant\"];\nexport const isBuyerTenant = (clientIntent) => BUYER_TENANT.includes(clientIntent);\n\nexport const isAgent = (userType) => userType === \"Agent\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport {\n ApartmentSolidV6,\n HouseChimneySolidV6,\n HouseUserSolidV6,\n KeySolidV6,\n ShareNodesSolidV6,\n} from \"../../../shared/v2/Icomoon\";\n\nconst thumbnailIconsByType = {\n buyer: KeySolidV6,\n seller: HouseChimneySolidV6,\n tenant: HouseUserSolidV6,\n landlord: ApartmentSolidV6,\n referral: ShareNodesSolidV6,\n};\n\nconst containerSizeDictionary = {\n small: \"tw-w-48px tw-h-32px\",\n full: \"tw-w-full tw-h-full\",\n};\n\nconst containerSizeClasses = (size) => containerSizeDictionary[size] || containerSizeDictionary.small;\n\nconst ThumbnailIcon = ({ transactionType, containerSize, ...otherProps }) => {\n const Icon = thumbnailIconsByType[transactionType] || thumbnailIconsByType.seller;\n\n return (\n <div\n className={`\n tw-flex tw-justify-center tw-items-center\n tw-rounded-4px tw-bg-neutral-gray-10 tw-text-neutral-gray-50\n tw-cursor-pointer\n ${containerSizeClasses(containerSize)} \n `}\n >\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n <Icon {...otherProps} />\n </div>\n );\n};\n\nThumbnailIcon.propTypes = {\n transactionType: PropTypes.string,\n containerSize: PropTypes.oneOf([\"small\", \"full\"]),\n};\n\nThumbnailIcon.defaultProps = {\n transactionType: null,\n containerSize: \"small\",\n};\n\nexport default ThumbnailIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\n\nexport const ASCENDING_SORT = \"ASCENDING_SORT\";\nexport const DESCENDING_SORT = \"DESCENDING_SORT\";\n\nconst SortIcon = ({ sortBy }) => {\n const upperArrowColor = sortBy === ASCENDING_SORT ? \"#5e5e5e\" : \"#999999\";\n const lowerArrowColor = sortBy === DESCENDING_SORT ? \"#5e5e5e\" : \"#999999\";\n\n return (\n <svg width=\"8\" height=\"13\" viewBox=\"0 0 8 13\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n data-cy=\"sort-upper-arrow\"\n d=\"M7.32714 5.2644L0.672857 5.2644C0.0745311 5.2644 -0.224632 4.48919 0.197551 4.03723L3.52469 0.47542C3.78751 0.194067 4.21249 0.194067 4.47251 0.47542L7.80245 4.03723C8.22463 4.48919 7.92547 5.2644 7.32714 5.2644Z\"\n fill={upperArrowColor}\n />\n <path\n data-cy=\"sort-lower-arrow\"\n d=\"M0.672857 7.2644H7.32714C7.92547 7.2644 8.22463 8.03962 7.80245 8.49158L4.47531 12.0534C4.21249 12.3347 3.78751 12.3347 3.52749 12.0534L0.197551 8.49158C-0.224633 8.03962 0.0745303 7.2644 0.672857 7.2644Z\"\n fill={lowerArrowColor}\n />\n </svg>\n );\n};\n\nexport default SortIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPen } from \"@fortawesome/free-solid-svg-icons\";\n\nconst EditIcon = () => <FontAwesomeIcon icon={faPen} />;\n\nexport default EditIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\n\nconst CloseIcon = () => (\n <svg width=\"15\" height=\"16\" viewBox=\"0 0 15 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"0.052002\" y=\"0.00634766\" width=\"14.5193\" height=\"15.5564\" fill=\"url(#pattern0)\" />\n <defs>\n <pattern id=\"pattern0\" patternContentUnits=\"objectBoundingBox\" width=\"1\" height=\"1\">\n <use xlinkHref=\"#image0\" transform=\"translate(-6.67857 -0.433333) scale(0.0357143 0.0333333)\" />\n </pattern>\n <image\n id=\"image0\"\n width=\"234\"\n height=\"58\"\n xlinkHref=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOoAAAA6CAYAAAC+qsVhAAAOQUlEQVR4Ae2dh8vUTBDGv7/WhgVRsaBiwV6xotixN8Tee++9Yu+gLxYQQTQfv4MnzO1tks1d7q0bODaXzM7uzsyzMzub3P2XtPn4+/dv8uvXr+T79+/J169fk8+fPyefPn1KPn78mHz48CF+ogx6nA1gu9gwtoxNY9vYOLberuO/djCmwz9//ky+fPnS45QQJ484ebZiA9g8tl81aCsF6p8/f5Jv374VgpMZ6f3794V0rQgs1o2Aa5cNYLshESFYABNVHJUA9d+/fzX37xNMBGQEjM8ueuO1LFsnNAYjrRwtA/X379+1WL03Cj6OKU4yVdkA61mw0uzRElB//PgRw9eYDIo2UMIGwEwzR9NADVmLVjUbRT7Rs/UmGwA7ZY+mgNrR0RFn0RKzaG8ysjiWaiZNMFTmKA3U6EmrUVQ0+CjHMp61FFDjmjQaV5xgqrWB0DVrMFDJWEUlVaukKM8oT2wgJBscBFT2gEgvR8OKhhVtoHobAFtF+6xBQGXDNiqoegVFmUaZygbAWN5RCFQegRKzWEbDijbQPhvIe9ywEKgxy9s+xUSjj7K1NpCXBc4FKm8AWEb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\n\nexport default CloseIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\n\nconst TriangleDownIcon = ({ className = \"\", fillColor = \"#999999\" }) => (\n <svg\n width=\"8px\"\n height=\"5px\"\n viewBox=\"0 0 8 5\"\n version=\"1.1\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n >\n <title>Triangle Down Icon\n \n \n);\n\nexport default TriangleDownIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\n\nconst TriangleUpIcon = ({ className = \"\", fillColor = \"#999999\" }) => (\n \n Triangle Up Icon\n \n \n \n \n \n \n);\n\nexport default TriangleUpIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faTrash } from \"@fortawesome/free-solid-svg-icons\";\n\nconst TrashIcon = () => ;\n\nexport default TrashIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPencilAlt } from \"@fortawesome/free-solid-svg-icons\";\n\nconst InlineEditIcon = (props) => (\n \n);\n\nexport default InlineEditIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faArchive } from \"@fortawesome/free-solid-svg-icons\";\n\nconst ArchiveIcon = () => ;\n\nexport default ArchiveIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faAngleLeft } from \"@fortawesome/free-solid-svg-icons\";\n\nconst LeftCaret = () => ;\n\nexport default LeftCaret;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faAngleRight } from \"@fortawesome/free-solid-svg-icons\";\n\nconst RightCaret = () => ;\n\nexport default RightCaret;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faGripVertical } from \"@fortawesome/free-solid-svg-icons\";\n\nconst GripIcon = () => ;\n\nexport default GripIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faAngleDown } from \"@fortawesome/free-solid-svg-icons\";\n\nconst AngleDownIcon = () => ;\n\nexport default AngleDownIcon;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faEllipsisH } from \"@fortawesome/free-solid-svg-icons\";\n\nconst EllipsisIcon = () => ;\n\nexport default EllipsisIcon;\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n\nimport React, { useState } from \"react\";\nimport { EditIcon } from \"../icons\";\n\nconst ImageCell = ({ rounded, value, isEditable, alt, ratio, containerClass }) => {\n const [isEditing, setIsEditing] = useState(false);\n const [currentValue, setCurrentValue] = useState(value);\n\n const iconType = ;\n\n const image = (\n \n );\n\n const ratioClasses = ratio === \"wide\" ? \"tw-aspect-w-16 tw-aspect-h-9\" : \"\";\n const blankNonEditableDisplay = ;\n const blankEditableDisplay = Add;\n const nonEditableDisplay = image;\n const editableDisplay = (\n <>\n {image}\n {iconType}\n \n );\n const isEmpty = !currentValue || currentValue.length === 0;\n\n const maybeToggleToInput = () => {\n if (!isEditing) {\n setIsEditing(true);\n }\n };\n\n const triggerableContainer = (children) => (\n // eslint-disable-next-line jsx-a11y/interactive-supports-focus\n \n {children}\n \n );\n\n const input = (\n newInput && newInput.focus()}\n onChange={(e) => setCurrentValue(e.target.value)}\n onBlur={() => setIsEditing(false)}\n />\n );\n\n let content = null;\n\n if (!isEditable && !isEmpty) {\n content = nonEditableDisplay;\n } else if (!isEditable && isEmpty) {\n content = blankNonEditableDisplay;\n } else if (isEditable && isEditing) {\n content = input;\n } else if (isEditable && !isEditing && isEmpty) {\n content = blankEditableDisplay;\n } else if (isEditable && !isEditing && !isEmpty) {\n content = editableDisplay;\n }\n\n return triggerableContainer(content);\n};\n\nexport default ImageCell;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport RadioButton from \"@shared/v2/RadioButton\";\n\nconst VISIBILITY_OPTIONS = [\n { label: \"Hidden\", value: \"false\" },\n { label: \"Visible\", value: \"true\" },\n];\n\nconst RoleForTransaction = ({\n role: { label, value, agents },\n selectedAgentId,\n primary,\n setPrimaryAgent,\n visible,\n handleAgentSelect,\n handleVisibilitySelect,\n handleRemoveRole,\n showVisibility,\n}) => (\n // TODO: add key prop in ListingTransactionModal when mapping\n // TODO: extract transaction modals and this file into a separate folder\n
\n \n {label}{\" \"}\n handleRemoveRole(value)}>\n \n \n \n }\n isSearchable\n options={agents}\n value={agents.find((agent) => agent.value === selectedAgentId)}\n onChange={(agent) => handleAgentSelect(agent.value, value)}\n menuShouldComeToFront\n />\n v.value === visible)}\n onChange={(agent) => handleVisibilitySelect(agent.value, value)}\n menuShouldComeToFront\n />\n
\n \n setPrimaryAgent(e.target.value)}\n />\n
\n
\n);\n\nconst optionShape = Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n});\n\nconst optionShapeRole = Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n agents: Proptypes.arrayOf(optionShape),\n});\n\nRoleForTransaction.propTypes = {\n role: optionShapeRole,\n selectedAgentId: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n primary: Proptypes.string,\n showVisibility: Proptypes.string,\n setPrimaryAgent: Proptypes.func,\n handleAgentSelect: Proptypes.func,\n handleVisibilitySelect: Proptypes.func,\n handleRemoveRole: Proptypes.func,\n visible: optionShape,\n};\n\nRoleForTransaction.defaultProps = {\n selectedAgentId: null,\n primary: \"\",\n setPrimaryAgent: null,\n visible: null,\n handleAgentSelect: null,\n handleVisibilitySelect: null,\n handleRemoveRole: null,\n showVisibility: \"\",\n role: {\n label: null,\n value: null,\n agents: [],\n },\n};\n\nexport default RoleForTransaction;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport transactionCss from \"../PersonDetail/components/transactions.module.css\";\n\nconst ListingPreviewCard = ({ containerClassName, listingData, clearListing }) => {\n const {\n beds,\n bedrooms,\n city,\n baths,\n bathsTotalDecimal,\n listAgentName,\n listOfficeName,\n mlsNumber,\n photos,\n postalCode,\n price,\n sqFt,\n squareFeet,\n state,\n streetAddress,\n } = listingData ?? {};\n return (\n
\n
\n {`${listAgentName ? `Listed by ${listAgentName}` : listOfficeName || \"Listing\"}`}\n clearListing(null)}\n onClick={() => clearListing(null)}\n >\n \n
\n
\n
\n
\n \"listing\"\n
\n
\n

{streetAddress?.toUpperCase() || \"No address available\"}

\n

{`${city || \"-\"}, ${state || \"-\"} ${postalCode || \"-\"}`}

\n {Number.isInteger(parseInt(price, 10)) &&

${price.toLocaleString()}

}\n

{`${beds || bedrooms || \"-\"} beds | ${baths || bathsTotalDecimal || \"-\"} baths | ${sqFt?.toLocaleString() || squareFeet?.toLocaleString() || \"-\"} sqft`}

\n
\n
\n
{mlsNumber && {`${`MLS #${mlsNumber}`}`}}
\n \n );\n};\n\nexport default ListingPreviewCard;\n\nListingPreviewCard.propTypes = {\n listingData: Proptypes.shape({ name: Proptypes.bool }),\n clearListing: Proptypes.func,\n containerClassName: Proptypes.string,\n};\n\nListingPreviewCard.defaultProps = {\n listingData: null,\n clearListing: null,\n containerClassName: \"\",\n};\n","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport Proptypes from \"prop-types\";\nimport debounce from \"lodash/debounce\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport ListingPreviewCard from \"./ListingPreviewCard\";\n\nclass TransactionAutocomplete extends Component {\n debounceSearchAddress = debounce((term) => {\n this.searchAddress(term);\n }, 150);\n\n constructor(props) {\n super(props);\n this.state = {\n searchResults: [],\n currentTerm: \"\",\n };\n }\n\n selectListing = async (term) => {\n this.setState({ searchResults: [] });\n\n const { selectListing } = this.props;\n await selectListing(term);\n };\n\n searchAddress = async (term) => {\n if (!term.length) {\n return;\n }\n const { mlsIds } = this.props;\n const idsArrayQuery = mlsIds.map((id) => `mlsIds[]=${id}`).join(\"&\");\n const SearchAddress = this.doSearchAddress(idsArrayQuery, term);\n this.setState({ currentTerm: term }, async () => SearchAddress);\n };\n\n doSearchAddress = async (idsArrayQuery, term) => {\n const response = await axios.get(`/autocomplete?${idsArrayQuery}&term=${term}`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n const { currentTerm } = this.state;\n // This happens if a previous query returned later than a later query\n if (currentTerm !== term) {\n return;\n }\n\n const searchResults = response.data.map((d) => ({ value: d.selected_fields.id, label: d.value }));\n\n this.setState({ searchResults });\n };\n\n render() {\n const { selectedBlossorId, listingData, clearListing } = this.props;\n const { searchResults } = this.state;\n\n return selectedBlossorId ? (\n \n ) : (\n this.selectListing({ key: option.value })}\n placeholder=\"Search for a listing address to auto-populate the information below\"\n menuShouldComeToFront\n />\n );\n }\n}\n\nTransactionAutocomplete.propTypes = {\n selectedBlossorId: Proptypes.oneOfType([Proptypes.number, Proptypes.string]),\n mlsIds: Proptypes.oneOfType([Proptypes.number, Proptypes.string]),\n listingData: Proptypes.shape({}),\n clearListing: Proptypes.func,\n selectListing: Proptypes.func,\n};\n\nTransactionAutocomplete.defaultProps = {\n selectedBlossorId: null,\n listingData: null,\n clearListing: null,\n mlsIds: null,\n selectListing: null,\n};\n\nexport default TransactionAutocomplete;\n","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport Proptypes from \"prop-types\";\nimport { PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport RoleForTransaction from \"./RoleForTransaction\";\nimport TransactionAutocomplete from \"./TransactionAutocomplete\";\nimport modalCss from \"../PersonDetail/components/modal.module.css\";\n\nexport const TRANSACTION_STATUS = [\n { label: \"Pipeline\", value: \"pipeline\" },\n { label: \"Coming Soon\", value: \"coming soon\" },\n { label: \"Active\", value: \"active\" },\n { label: \"Pending\", value: \"pending\" },\n { label: \"Closed\", value: \"sold\" },\n { label: \"Expired\", value: \"expired\" },\n { label: \"Withdrawn\", value: \"withdrawn\" },\n { label: \"Canceled\", value: \"canceled\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst ERROR_LIST = {\n transactionTitle: \"Transaction Title can't be blank\",\n streetAddress: \"Street Address can't be blank\",\n postalCode: \"ZIP / Postal Code can't be blank\",\n source: \"Source is not included in the list\",\n};\n\nclass ListingTransactionModal extends Component {\n constructor(props) {\n super(props);\n const { defaultPropertyType, propertyTypes, defaultStatus, personId } = props;\n this.state = {\n mlsIdsState: [],\n streetAddress: \"\",\n propertyType: defaultPropertyType,\n propertyTypesState: propertyTypes,\n source: null,\n expirationDate: undefined,\n postalCode: \"\",\n price: \"\",\n mlsNumber: \"\",\n status: defaultStatus || { label: \"Pipeline\", value: \"pipeline\" },\n beds: \"\",\n baths: \"\",\n sqFt: \"\",\n description: \"\",\n photos: [],\n city: \"\",\n state: \"\",\n transactionTitle: \"\",\n addRole: false,\n availableRoles: [],\n primaryPosition: 0,\n agentsOnTransaction: [],\n submitDisabled: false,\n validationErrorHtml: \"\",\n closePrice: null,\n personId,\n personRoleId: null,\n };\n }\n\n componentDidMount = () => {\n this.loadDependencies();\n };\n\n loadDependencies = async () => {\n const promises = [this.loadRoles(), this.loadMls(), this.loadAllAvailableRoles()];\n\n await Promise.all(promises);\n };\n\n loadRoles = async () => {\n const { transactionType } = this.props;\n\n const path =\n transactionType === \"BuyerListing\"\n ? \"/roles/pending_transaction_roles\"\n : \"/roles/listing_transaction_roles\";\n\n const response = await axios.get(path, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n\n let defaultRoles = response.data.default_roles;\n const { roles } = response.data;\n\n // Reorder listing or buyer's agent role to be first\n if (transactionType === \"BuyerListing\") {\n const buyersAgentRole = roles.find((role) => role.label === \"Buyer's Agent\");\n defaultRoles = [\n buyersAgentRole,\n ...defaultRoles.filter((defaultRole) => defaultRole.label !== \"Buyer's Agent\"),\n ];\n } else {\n const listingAgentRole = roles.find((role) => role.label === \"Listing Agent\");\n defaultRoles = [\n listingAgentRole,\n ...defaultRoles.filter((defaultRole) => defaultRole.label !== \"Listing Agent\"),\n ];\n }\n\n // Undefined shows up if the account doesn't have \"Buyer's Agent\" or \"Listing Agent\"\n defaultRoles = defaultRoles.filter((defaultRole) => defaultRole !== undefined);\n\n this.setState({\n availableRoles: roles.filter(\n (role) => !defaultRoles.some((defaultRole) => role.value === defaultRole.value),\n ),\n agentsOnTransaction: defaultRoles.map((role, index) => ({\n ...(role.agents[0].label.includes(\"Role Default\") ? role.agents[0] : null),\n roleId: role.value,\n visible: \"false\",\n primary: index === 0 ? \"true\" : \"false\",\n })),\n roles,\n });\n };\n\n loadAllAvailableRoles = async () => {\n const { transactionType, personId } = this.props;\n\n if (!personId) return;\n\n const response = await axios.get(\"/api/v4/transactions/allAvailableRoles/people/roles\");\n\n this.setState({\n personRoleId: this.getPersonRoleId(response.data?.client, transactionType),\n });\n };\n\n getPersonRoleId = (roles, transactionType) => {\n const roleTitleMapping = {\n BuyerListing: \"Buyer\",\n SellerListing: \"Seller\",\n TenantListing: \"Renter\",\n LandlordListing: \"Landlord\",\n };\n return this.findRoleByTitle(roles, roleTitleMapping[transactionType]);\n };\n\n findRoleByTitle = (roles, title) => {\n const roleObj = roles?.find((role) => role.title === title);\n return roleObj ? roleObj.id : null;\n };\n\n loadMls = async () => {\n const { currentUserId } = this.props;\n const { mlsIdsState } = this.state;\n if (mlsIdsState.length) {\n return;\n }\n // This route throws a 500 when there are no MLS IDs which...shouldn't happen\n // So this try/catch is necessary for an otherwise normal response\n try {\n const response = await axios.get(`/users/${currentUserId}/mls_ids`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n\n this.setState({ mlsIdsState: response.data.ids });\n } catch (err) {\n console.log(\"Error loading MLS IDs:\", err);\n }\n };\n\n onListingFieldUpdate = (e) => {\n const { name, value } = e.target;\n\n this.setState({ [name]: value });\n };\n\n handleVisibilitySelect = (visible, roleId) => {\n const { agentsOnTransaction } = this.state;\n const newAgentsOnTransaction = agentsOnTransaction.slice();\n const agent = newAgentsOnTransaction.find((a) => a.roleId === roleId);\n if (agent) {\n agent.visible = visible;\n this.setState({ agentsOnTransaction: newAgentsOnTransaction });\n }\n };\n\n handleAgentSelect = (agentId, roleId) => {\n const { agentsOnTransaction } = this.state;\n const newAgentsOnTransaction = agentsOnTransaction.slice();\n const agent = newAgentsOnTransaction.find((a) => a.roleId === roleId);\n if (agent) {\n agent.value = agentId;\n this.setState({ agentsOnTransaction: newAgentsOnTransaction });\n }\n };\n\n handleSourceSelect = (value) => {\n this.setState({ source: value });\n };\n\n handlePropertyTypeSelect = (propertyType) => {\n this.setState({ propertyType });\n };\n\n handleExpirationDateChange = (date) => {\n this.setState({ expirationDate: date });\n };\n\n onRoleSelect = ({ value }) => {\n const { roles, agentsOnTransaction } = this.state;\n let defaultAgent = roles.find((role) => role.value === value).agents[0];\n defaultAgent = defaultAgent.label.includes(\"Role Default\") ? defaultAgent : null;\n const newAgentRole = { ...defaultAgent, visible: \"false\", roleId: value, primary: \"false\" };\n\n if (!agentsOnTransaction.length) {\n newAgentRole.primary = \"true\";\n }\n\n this.setState((prevState) => ({\n addRole: false,\n availableRoles: prevState.availableRoles.filter((r) => r.value !== value),\n agentsOnTransaction: [...prevState.agentsOnTransaction, newAgentRole],\n }));\n };\n\n handleRemoveRole = (roleId) => {\n const { roles, agentsOnTransaction } = this.state;\n const matchingRole = roles.find((role) => role.value === roleId);\n const matchingAgent = agentsOnTransaction.find((agent) => agent.roleId === roleId);\n const newAgentsOnTransaction = agentsOnTransaction.filter((agent) => agent.roleId !== roleId);\n\n if (matchingAgent.primary === \"true\" && newAgentsOnTransaction.length) {\n newAgentsOnTransaction[0].primary = \"true\";\n }\n\n this.setState((prevState) => ({\n availableRoles: [...prevState.availableRoles, matchingRole],\n agentsOnTransaction: newAgentsOnTransaction,\n }));\n };\n\n setPrimaryAgent = (roleId) => {\n const { agentsOnTransaction } = this.state;\n const newAgentsOnTransaction = agentsOnTransaction.slice();\n // eslint-disable-next-line no-restricted-syntax\n for (const agent of newAgentsOnTransaction) {\n agent.primary = String(agent.roleId) === String(roleId) ? \"true\" : \"false\";\n }\n\n this.setState({ agentsOnTransaction: newAgentsOnTransaction });\n };\n\n clearListing = () => {\n this.setState({\n selectedBlossorId: \"\",\n });\n };\n\n isPipeline = () => {\n const { status } = this.state;\n return status.value === \"pipeline\";\n };\n\n selectListing = async (term) => {\n const response = await axios.get(`/listings_api?blossor_id=${term.key}`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n });\n\n const listingPropertyType = response.data.standardPropertyType || response.data.propertyType;\n const { propertyTypesState } = this.state;\n const selectedPropertyType = propertyTypesState.find((pt) => pt.label === listingPropertyType) || {\n label: listingPropertyType,\n value: -1,\n };\n\n this.setState((prevState) => ({\n selectedBlossorId: term.key,\n streetAddress: response.data.streetAddress,\n postalCode: response.data.postalCode || prevState.postalCode,\n price: response.data.price || prevState.price,\n propertyTypesState:\n selectedPropertyType.value === -1\n ? [...prevState.propertyTypesState, selectedPropertyType]\n : prevState.propertyTypesState,\n propertyType: selectedPropertyType,\n mlsNumber: response.data.mlsNum,\n beds: response.data.bedrooms || prevState.beds,\n baths: response.data.bathsTotalDecimal || prevState.baths,\n sqFt: response.data.squareFeet || prevState.sqFt,\n description: response.data.remarks,\n photos: response.data.photos,\n city: response.data.city,\n state: response.data.state,\n }));\n };\n\n handleStatusSelect = (status) => {\n this.setState({ status });\n };\n\n isInvalidSubmit = () => {\n const {\n status: { value },\n transactionTitle, // pipeline\n streetAddress,\n postalCode,\n source, // pipeline && non\n } = this.state;\n\n const htmlErrors = [];\n\n if (value === \"pipeline\") {\n if (!transactionTitle.trim()) {\n htmlErrors.push(ERROR_LIST.transactionTitle);\n }\n } else {\n if (!streetAddress.trim()) {\n htmlErrors.push(ERROR_LIST.streetAddress);\n }\n if (!postalCode.trim()) {\n htmlErrors.push(ERROR_LIST.postalCode);\n }\n }\n\n if (!source) {\n htmlErrors.push(ERROR_LIST.source);\n }\n\n if (htmlErrors.length) {\n const htmlToShow = (\n
${htmlErrors.join(\"
\")}
`,\n }}\n />\n }\n />\n );\n this.setState({ submitDisabled: false, validationErrorHtml: htmlToShow });\n return true;\n }\n\n return false;\n };\n\n handleSubmit = async (publish) => {\n if (this.isInvalidSubmit()) return;\n const { transactionType, newMilestoneId } = this.props;\n this.setState({ submitDisabled: true });\n const {\n propertyType,\n status,\n price,\n mlsNumber,\n transactionTitle,\n closePrice,\n expirationDate,\n streetAddress,\n city,\n state,\n postalCode,\n agentsOnTransaction,\n photos,\n beds,\n baths,\n sqFt,\n source,\n description,\n personId,\n personRoleId,\n } = this.state;\n // Create property type if it doesn't already exist\n if (propertyType.value === -1) {\n const propertyTypeFormData = new FormData();\n propertyTypeFormData.append(\"utf8\", \"✓\");\n propertyTypeFormData.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n propertyTypeFormData.append(\"property_type[name]\", propertyType.label);\n\n const response = await axios.post(\"/property_types.json\", propertyTypeFormData);\n\n this.setState({ propertyType: { label: response.data.name, value: response.data.id } });\n }\n\n const formData = new FormData();\n\n const listingClosePrice = `listing[${status.value === \"sold\" ? \"close_price\" : \"est_close_price\"}]`;\n\n formData.append(\"utf8\", \"✓\");\n formData.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n\n formData.append(\"listing[type]\", transactionType);\n formData.append(\"property_type\", propertyType.value);\n formData.append(\"listing[price]\", price);\n formData.append(\"listing[mls_number]\", mlsNumber);\n formData.append(\"listing[status]\", status.value);\n formData.append(\"listing[title]\", transactionTitle);\n formData.append(listingClosePrice, closePrice);\n\n formData.append(\"listing[milestonable_milestones_attributes][0][new_milestone_id]\", newMilestoneId);\n formData.append(\"listing[milestonable_milestones_attributes][0][date]\", expirationDate);\n\n formData.append(\"listing[address_attributes][street_address]\", streetAddress);\n formData.append(\"listing[address_attributes][city]\", city);\n formData.append(\"listing[address_attributes][locality]\", state);\n formData.append(\"listing[address_attributes][postal_code]\", postalCode);\n formData.append(\"listing[address_attributes][address_type]\", \"listing\");\n\n if (personId) {\n formData.append(`listing[viewers_attributes][${personId}][person_id]`, personId);\n formData.append(`listing[viewers_attributes][${personId}][role_id]`, personRoleId);\n formData.append(`listing[viewers_attributes][${personId}][visible_to_public]`, true);\n formData.append(`listing[viewers_attributes][${personId}][collaborator]`, false);\n formData.append(`listing[viewers_attributes][${personId}][gets_updates]`, false);\n }\n\n for (let i = 0; i < agentsOnTransaction.length; i += 1) {\n const agent = agentsOnTransaction[i];\n\n formData.append(`listing[team_members_attributes][${agent.value}${i}][person_id]`, agent.value);\n formData.append(`listing[team_members_attributes][${agent.value}${i}][role_id]`, agent.roleId);\n formData.append(\n `listing[team_members_attributes][${agent.value}${i}][visible_to_public]`,\n agent.visible,\n );\n formData.append(`listing[team_members_attributes][${agent.value}${i}][primary]`, agent.primary);\n }\n\n for (let i = 0; i < photos.length; i += 1) {\n formData.append(\"photo_urls[]\", photos[i].url);\n }\n\n formData.append(\"add_new_role_id\", \"\");\n\n formData.append(\"listing[details_attributes][][name]\", \"beds\");\n formData.append(\"listing[details_attributes][][value]\", beds);\n\n formData.append(\"listing[details_attributes][][name]\", \"baths\");\n formData.append(\"listing[details_attributes][][value]\", baths);\n\n formData.append(\"listing[details_attributes][][name]\", \"sqft\");\n formData.append(\"listing[details_attributes][][value]\", sqFt);\n\n formData.append(\"listing[details_attributes][][_destroy]\", false);\n\n formData.append(\"listing[source_id]\", source?.value);\n formData.append(\"listing[description]\", description);\n formData.append(\"listing[published]\", publish && transactionType !== \"pending\");\n\n if (transactionType === \"BuyerListing\") {\n formData.append(\"listing[only_pending_info]\", \"true\");\n }\n\n try {\n await axios.post(\"/listings/validate_new_listing_steps\", formData);\n this.setState({ validationErrorHtml: \"\" });\n } catch (error) {\n // Well this is scary...\n const html = error.response.data.content;\n const htmlToShow = (\n \n }\n />\n );\n this.setState({ submitDisabled: false, validationErrorHtml: htmlToShow });\n return;\n }\n\n try {\n const createResponse = await axios.post(\"/listings\", formData);\n window.location.replace(createResponse.data);\n } catch (error) {\n this.setState({ submitDisabled: false });\n }\n };\n\n render() {\n const { propertyTypes, transactionType, closeModal, mlsIds, sources } = this.props;\n const {\n mlsIdsState,\n streetAddress,\n propertyType,\n source,\n postalCode,\n price,\n mlsNumber,\n status,\n beds,\n baths,\n sqFt,\n description,\n city,\n state,\n transactionTitle,\n roles,\n primaryPosition,\n agentsOnTransaction,\n validationErrorHtml,\n closePrice,\n addRole,\n availableRoles,\n submitDisabled,\n selectedBlossorId,\n } = this.state;\n return (\n \n \n \n
\n \n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n
\n \n \n this.onListingFieldUpdate({ target: { name: \"description\", value: text } })\n }\n />\n
\n \n
\n\n {agentsOnTransaction.map((agent, position) => (\n role.value === agent.roleId)}\n visible={agent.visible}\n selectedAgentId={agent.value}\n position={position}\n primaryPosition={primaryPosition}\n primary={agent.primary}\n showVisibility={transactionType !== \"BuyerListing\"}\n setPrimaryAgent={this.setPrimaryAgent}\n handleAgentSelect={this.handleAgentSelect}\n handleVisibilitySelect={this.handleVisibilitySelect}\n handleRemoveRole={this.handleRemoveRole}\n />\n ))}\n\n {addRole && (\n
\n \n
\n )}\n
\n \n
\n \n\n \n {validationErrorHtml}\n
\n {\n e.preventDefault();\n closeModal();\n }}\n >\n Cancel\n \n
\n this.handleSubmit(false)}\n >\n Save as Draft\n \n \n
\n
\n
\n \n );\n }\n}\n\nexport default ListingTransactionModal;\n\nexport const optionShape = Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n});\n\nListingTransactionModal.propTypes = {\n defaultPropertyType: optionShape,\n propertyTypes: Proptypes.arrayOf(optionShape),\n defaultStatus: optionShape,\n currentUserId: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n transactionType: Proptypes.string,\n closeModal: Proptypes.func,\n sources: Proptypes.arrayOf(optionShape),\n mlsIds: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n newMilestoneId: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n personId: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n};\n\nListingTransactionModal.defaultProps = {\n defaultPropertyType: null,\n propertyTypes: [],\n defaultStatus: null,\n currentUserId: null,\n transactionType: \"\",\n closeModal: null,\n sources: [],\n mlsIds: null,\n newMilestoneId: null,\n personId: null,\n};\n","import React from \"react\";\nimport { bool, shape, func, string, } from 'prop-types';\n\nimport DateSelector from \"./v2/DateSelector\";\nimport TextButton from \"./v2/TextButton\";\nimport Button from \"./v2/Button\";\n\nexport const DateSelectorWithOptions = ({\n show,\n refOuter,\n dateSelectorOnChangeHandlr,\n dateSelectorValue,\n clearHandlr,\n submitHandlr,\n}) =>\n show && (\n
\n
\n \n
\n
\n \n Clear\n \n \n Done\n \n
\n
\n
\n );\n\nDateSelectorWithOptions.propTypes = {\n show: bool,\n refOuter: shape({}),\n dateSelectorOnChangeHandlr: func,\n dateSelectorValue: string,\n clearHandlr: func,\n submitHandlr: func,\n};\n\nDateSelectorWithOptions.defaultProps = {\n show: false,\n refOuter: {},\n dateSelectorOnChangeHandlr: () => {},\n dateSelectorValue: \"\",\n clearHandlr: () => {},\n submitHandlr: () => {},\n};","import React, { useRef, useState } from \"react\";\nimport moment from \"moment\";\nimport { bool, func } from \"prop-types\";\nimport { useClickOutside } from \"../shared/hookHelpers\";\nimport { DateSelectorWithOptions } from \"../shared/DateSelectorWithOptions\";\n\nconst useClickOutsideCalendar = (cancelViewingCalendarHandlr) => {\n const target = useRef(null);\n useClickOutside(target, cancelViewingCalendarHandlr);\n\n return target;\n};\n\nconst useDate = () => {\n const [date, setDate] = useState(moment().format(\"MM/DD/YYYY\"));\n const onDateChangeHandlr = (e) => setDate(e.date);\n\n return { date, onDateChangeHandlr };\n};\n\nconst CustomTimeFrameDateSelector = ({ show, cancelViewingCalendarHandlr, submitHandlr }) => {\n const target = useClickOutsideCalendar(cancelViewingCalendarHandlr);\n const { date, onDateChangeHandlr } = useDate();\n const clearHandlr = () => onDateChangeHandlr({ date: \"\" });\n\n return (\n submitHandlr(date)}\n dateSelectorOnChangeHandlr={onDateChangeHandlr}\n />\n );\n};\n\nexport default CustomTimeFrameDateSelector;\n\nCustomTimeFrameDateSelector.propTypes = {\n show: bool,\n cancelViewingCalendarHandlr: func,\n submitHandlr: func,\n};\n\nCustomTimeFrameDateSelector.defaultProps = {\n show: false,\n cancelViewingCalendarHandlr: () => {},\n submitHandlr: () => {},\n};\n","import React, { Component } from \"react\";\nimport moment from \"moment\";\nimport Proptypes from \"prop-types\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport Modal from \"@shared/v2/Modal\";\nimport RadioButton from \"@shared/v2/RadioButton/RadioButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport CustomTimeFrameDateSelector from \"./CustomTimeFrameDateSelector\";\n\nconst TRANSACTION_STATUS_OPTIONS = [\n { label: \"Active\", value: \"active\" },\n { label: \"Closed\", value: \"sold\" },\n { label: \"Expired\", value: \"expired\" },\n { label: \"Cancelled\", value: \"cancelled\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst TIMEFRAME_OPTIONS = [\n { label: \"Immediate\", value: \"immediate\" },\n { label: \"Within 90 days\", value: \"within_90_days\" },\n { label: \"Within a year\", value: \"within_a_year\" },\n { label: \"After a year\", value: \"after_a_year\" },\n { label: \"Custom\", value: \"custom\" },\n { label: \"Unknown\", value: \"unknown\" },\n];\n\nconst TooltipList = () => (\n
\n
\n Active: Referral contract has been signed.\n
\n
\n Pending: Referral partner’s transaction with the client has\n gone under contract.\n
\n
\n Closed: Transaction has closed and your team has received the\n referral income payment.\n
\n
\n Expired: Referral contract expired prior to the transaction’s\n completion.\n
\n
\n Canceled: Referral contract was rejected or terminated after\n acceptance.\n
\n
\n);\n\nclass BuyerReferralModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n transactionTitle: \"\",\n transactionStatus: \"active\",\n acceptanceDate: \"\",\n expirationDate: \"\",\n closeDate: \"\",\n transactionAmt: \"0.00\",\n timeframe: { label: \"Immediate\", value: \"immediate\" },\n financing: \"None\",\n desiredLocations: \"\",\n isCalendarOpen: false,\n exactDate: moment().format(\"MM/DD/YYYY\"),\n source: null,\n };\n }\n\n componentDidUpdate(prevProps) {\n const { clientName } = this.props;\n if (prevProps.clientName !== clientName) {\n this.setState({ transactionTitle: clientName });\n }\n }\n\n backHandlr = () => {\n const { handleBack } = this.props;\n handleBack();\n this.setState({ source: null });\n };\n\n render() {\n const { showModal, sources, handleSubmit } = this.props;\n const {\n transactionTitle,\n source,\n transactionStatus,\n closeDate,\n acceptanceDate,\n expirationDate,\n transactionAmt,\n timeframe,\n isCalendarOpen,\n financing,\n desiredLocations,\n } = this.state;\n\n return (\n \n \n\n \n
\n\n
\n
\n \n this.setState({ transactionTitle: e.target.value })}\n />\n
\n
\n this.setState({ source: newSource })}\n value={source}\n options={sources}\n isSearchable\n />\n
\n
\n
\n
\n \n Transaction Status\n }\n content={}\n />\n \n {\n this.setState({ transactionStatus: e.value });\n }}\n value={TRANSACTION_STATUS_OPTIONS.find((opt) => opt.value === transactionStatus)}\n options={TRANSACTION_STATUS_OPTIONS}\n />\n
\n\n {transactionStatus === \"sold\" && (\n
\n \n Close Date\n }\n content=\"Date the referral income was received\"\n />\n \n this.setState({ closeDate: e })} value={closeDate} />\n
\n )}\n
\n\n
\n
\n \n Acceptance Date\n }\n content=\"Date the referral agreement was signed by both parties\"\n />\n \n this.setState({ acceptanceDate: e })} value={acceptanceDate} />\n
\n
\n \n Expiration Date\n }\n content=\"Date the referral agreement is effective through\"\n />\n \n this.setState({ expirationDate: e })} value={expirationDate} />\n
\n
\n\n
\n
\n this.setState({ transactionAmt: e.target.value })}\n />\n
\n
\n {\n this.setState({\n isCalendarOpen: newTimeframe.value === \"custom\",\n timeframe: newTimeframe,\n });\n }}\n value={timeframe}\n options={TIMEFRAME_OPTIONS}\n />\n \n this.setState({\n timeframe: { label: \"Unknown\", value: \"unknown\" },\n isCalendarOpen: false,\n })\n }\n submitHandlr={(exactDate) => {\n this.setState({\n isCalendarOpen: false,\n exactDate,\n });\n }}\n />\n Client`s timeframe for buying\n
\n
\n\n
\n \n
\n this.setState({ financing: e.target.value })}\n value=\"Pre-Approved\"\n checked={financing === \"Pre-Approved\"}\n />\n this.setState({ financing: e.target.value })}\n value=\"Pre-Qualified\"\n checked={financing === \"Pre-Qualified\"}\n />\n this.setState({ financing: e.target.value })}\n value=\"Cash Offer\"\n checked={financing === \"Cash Offer\"}\n />\n this.setState({ financing: e.target.value })}\n value=\"None\"\n checked={financing === \"None\"}\n />\n
\n
\n\n
\n this.setState({ desiredLocations: e.target.value })}\n value={desiredLocations}\n />\n
\n\n
\n \n\n \n \n Back\n \n handleSubmit({ ...this.state })}\n className=\"tw-flex tw-items-center\"\n schema=\"primary\"\n size=\"medium\"\n >\n Track Referral\n \n \n \n );\n }\n}\n\nBuyerReferralModal.propTypes = {\n handleBack: Proptypes.func,\n showModal: Proptypes.bool,\n clientName: Proptypes.string,\n handleSubmit: Proptypes.func,\n sources: Proptypes.arrayOf(Proptypes.shape({})),\n};\n\nBuyerReferralModal.defaultProps = {\n handleBack: null,\n showModal: false,\n clientName: \"\",\n sources: [],\n handleSubmit: null,\n};\n\nexport default BuyerReferralModal;\n","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport moment from \"moment\";\nimport Proptypes from \"prop-types\";\nimport { upperFirst } from \"lodash\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\nimport CustomTimeFrameDateSelector from \"./CustomTimeFrameDateSelector\";\n\nconst TRANSACTION_STATUS_OPTIONS = [\n { label: \"Active\", value: \"active\" },\n { label: \"Closed\", value: \"sold\" },\n { label: \"Expired\", value: \"expired\" },\n { label: \"Cancelled\", value: \"cancelled\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst TIMEFRAME_OPTIONS = [\n { label: \"Immediate\", value: \"immediate\" },\n { label: \"Within 90 days\", value: \"within_90_days\" },\n { label: \"Within a year\", value: \"within_a_year\" },\n { label: \"After a year\", value: \"after_a_year\" },\n { label: \"Custom\", value: \"custom\" },\n { label: \"Unknown\", value: \"unknown\" },\n];\n\nconst TooltipList = () => (\n
\n
\n Active: Referral contract has been signed.\n
\n
\n Pending: Referral partner’s transaction with the client has\n gone under contract.\n
\n
\n Closed: Transaction has closed and your team has received the\n referral income payment.\n
\n
\n Expired: Referral contract expired prior to the transaction’s\n completion.\n
\n
\n Canceled: Referral contract was rejected or terminated after\n acceptance.\n
\n
\n);\n\nconst PROPERTY_TYPE_OPTIONS = async () => {\n const req = axios.get(\"/transaction_property_types\");\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) return [];\n\n return res.data?.property_types.map((propertyType) => ({\n label: propertyType.name,\n value: propertyType.id,\n }));\n};\n\nclass SellerLandlordReferralModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n transactionTitle: \"\",\n transactionStatus: \"active\",\n acceptanceDate: \"\",\n expirationDate: \"\",\n closeDate: \"\",\n transactionAmt: \"0.00\",\n timeframe: { label: \"Immediate\", value: \"immediate\" },\n propertyType: null,\n propertyTypes: [],\n streetAddress: \"\",\n city: \"\",\n stateProvince: \"\",\n zipPostalCode: \"\",\n isCalendarOpen: false,\n source: null,\n exactDate: moment().format(\"MM/DD/YYYY\"),\n };\n }\n\n componentDidMount() {\n const { clientName } = this.props;\n this.setState({\n transactionTitle: clientName,\n });\n\n (async () => {\n const propertyTypes = await PROPERTY_TYPE_OPTIONS();\n const propertyType = (propertyTypes || []).find((p) => p.label === \"Residential\") || {\n label: \"Residential\",\n value: -1,\n };\n\n this.setState({\n propertyTypes,\n propertyType,\n });\n })();\n }\n\n componentDidUpdate(prevProps) {\n const { clientName } = this.props;\n if (prevProps.clientName !== clientName) {\n this.setState({ transactionTitle: clientName });\n }\n }\n\n backHandlr = () => {\n const { handleBack } = this.props;\n handleBack();\n this.setState({ source: null });\n };\n\n render() {\n const { showModal, clientIntent, sources, handleSubmit } = this.props;\n const {\n transactionTitle,\n source,\n closeDate,\n transactionStatus,\n acceptanceDate,\n expirationDate,\n transactionAmt,\n timeframe,\n isCalendarOpen,\n propertyType,\n propertyTypes,\n streetAddress,\n city,\n stateProvince,\n zipPostalCode,\n } = this.state;\n return (\n \n \n\n \n
\n\n
\n
\n this.setState({ transactionTitle: e.target.value })}\n />\n
\n
\n this.setState({ source: newSource })}\n value={source}\n options={sources}\n isSearchable\n />\n
\n
\n
\n
\n \n Transaction Status\n }\n content={}\n />\n \n {\n this.setState({ transactionStatus: e.value });\n }}\n value={TRANSACTION_STATUS_OPTIONS.find((opt) => opt.value === transactionStatus)}\n options={TRANSACTION_STATUS_OPTIONS}\n />\n
\n {transactionStatus === \"sold\" && (\n
\n \n Close Date\n }\n content=\"Date the referral income was received\"\n />\n \n this.setState({ closeDate: e })} value={closeDate} />\n
\n )}\n
\n
\n
\n \n Acceptance Date\n }\n content=\"Date the referral agreement was signed by both parties\"\n />\n \n this.setState({ acceptanceDate: e })} value={acceptanceDate} />\n
\n
\n \n Expiration Date\n }\n content=\"Date the referral agreement is effective through\"\n />\n \n this.setState({ expirationDate: e })} value={expirationDate} />\n
\n
\n\n
\n
\n this.setState({ transactionAmt: e.target.value })}\n />\n
\n
\n {\n this.setState({\n isCalendarOpen: newTimeframe.value === \"custom\",\n timeframe: newTimeframe,\n });\n }}\n value={timeframe}\n options={TIMEFRAME_OPTIONS}\n />\n \n this.setState({\n timeframe: { label: \"Unknown\", value: \"unknown\" },\n isCalendarOpen: false,\n })\n }\n submitHandlr={(exactDate) => {\n this.setState({\n isCalendarOpen: false,\n exactDate,\n });\n }}\n />\n Client`s timeframe for buying\n
\n
\n\n
\n\n

Property Information

\n\n
\n
\n {\n this.setState({ propertyType: newPropertyType });\n }}\n value={propertyType}\n options={propertyTypes}\n />\n
\n
\n\n
\n this.setState({ streetAddress: e.target.value })}\n value={streetAddress}\n />\n
\n\n
\n
\n this.setState({ city: e.target.value })}\n value={city}\n />\n
\n
\n this.setState({ stateProvince: e.target.value })}\n value={stateProvince}\n />\n
\n
\n this.setState({ zipPostalCode: e.target.value })}\n value={zipPostalCode}\n />\n
\n
\n\n
\n \n\n \n \n Back\n \n handleSubmit({ ...this.state })}\n className=\"tw-flex tw-items-center\"\n schema=\"primary\"\n size=\"medium\"\n >\n Track Referral\n \n \n \n );\n }\n}\nconst optionShape = Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n});\n\nSellerLandlordReferralModal.propTypes = {\n clientIntent: Proptypes.string,\n sources: Proptypes.arrayOf(optionShape),\n handleSubmit: Proptypes.func,\n clientName: Proptypes.string,\n showModal: Proptypes.bool,\n handleBack: Proptypes.func,\n};\n\nSellerLandlordReferralModal.defaultProps = {\n handleSubmit: null,\n clientIntent: \"\",\n sources: null,\n clientName: \"\",\n showModal: false,\n handleBack: null,\n};\n\nexport default SellerLandlordReferralModal;\n","import React, { Component } from \"react\";\nimport moment from \"moment\";\nimport Proptypes from \"prop-types\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport CustomTimeFrameDateSelector from \"./CustomTimeFrameDateSelector\";\n\nconst TRANSACTION_STATUS_OPTIONS = [\n { label: \"Active\", value: \"active\" },\n { label: \"Closed\", value: \"sold\" },\n { label: \"Expired\", value: \"expired\" },\n { label: \"Cancelled\", value: \"cancelled\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst TIMEFRAME_OPTIONS = [\n { label: \"Immediate\", value: \"immediate\" },\n { label: \"Within 90 days\", value: \"within_90_days\" },\n { label: \"Within a year\", value: \"within_a_year\" },\n { label: \"After a year\", value: \"after_a_year\" },\n { label: \"Custom\", value: \"custom\" },\n { label: \"Unknown\", value: \"unknown\" },\n];\n\nconst TooltipList = () => (\n
\n
\n Active: Referral contract has been signed.\n
\n
\n Pending: Referral partner’s transaction with the client has\n gone under contract.\n
\n
\n Closed: Transaction has closed and your team has received the\n referral income payment.\n
\n
\n Expired: Referral contract expired prior to the transaction’s\n completion.\n
\n
\n Canceled: Referral contract was rejected or terminated after\n acceptance.\n
\n
\n);\n\nclass TenantReferralModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n transactionTitle: \"\",\n transactionStatus: \"active\",\n acceptanceDate: \"\",\n expirationDate: \"\",\n closeDate: \"\",\n transactionAmt: \"0.00\",\n timeframe: { label: \"Immediate\", value: \"immediate\" },\n desiredLocations: \"\",\n isCalendarOpen: false,\n exactDate: moment().format(\"MM/DD/YYYY\"),\n source: null,\n };\n }\n\n componentDidMount() {\n const { clientName } = this.props;\n this.setState({ transactionTitle: clientName });\n }\n\n componentDidUpdate(prevProps) {\n const { clientName } = this.props;\n if (prevProps.clientName !== clientName) {\n this.setState({ transactionTitle: clientName });\n }\n }\n\n backHandlr = () => {\n const { handleBack } = this.props;\n handleBack();\n this.setState({ source: null });\n };\n\n render() {\n const { showModal, sources, handleSubmit } = this.props;\n const {\n transactionTitle,\n source,\n closeDate,\n transactionStatus,\n acceptanceDate,\n expirationDate,\n transactionAmt,\n timeframe,\n isCalendarOpen,\n desiredLocations,\n } = this.state;\n return (\n \n \n\n \n
\n\n
\n
\n this.setState({ transactionTitle: e.target.value })}\n />\n
\n
\n this.setState({ source: newSource })}\n value={source}\n options={sources}\n isSearchable\n />\n
\n
\n
\n
\n \n Transaction Status\n }\n content={}\n />\n \n {\n this.setState({ transactionStatus: e.value });\n }}\n value={TRANSACTION_STATUS_OPTIONS.find((opt) => opt.value === transactionStatus)}\n options={TRANSACTION_STATUS_OPTIONS}\n />\n
\n {transactionStatus === \"sold\" && (\n
\n \n Close Date\n }\n content=\"Date the referral income was received\"\n />\n \n this.setState({ closeDate: e })} value={closeDate} />\n
\n )}\n
\n
\n
\n \n Acceptance Date\n }\n content=\"Date the referral agreement was signed by both parties\"\n />\n \n this.setState({ acceptanceDate: e })} value={acceptanceDate} />\n
\n
\n \n Expiration Date\n }\n content=\"Date the referral agreement is effective through\"\n />\n \n this.setState({ expirationDate: e })} value={expirationDate} />\n
\n
\n\n
\n
\n this.setState({ transactionAmt: e.target.value })}\n />\n
\n
\n {\n this.setState({\n isCalendarOpen: newTimeframe.value === \"custom\",\n timeframe: newTimeframe,\n });\n }}\n value={timeframe}\n options={TIMEFRAME_OPTIONS}\n />\n \n this.setState({\n timeframe: { label: \"Unknown\", value: \"unknown\" },\n isCalendarOpen: false,\n })\n }\n submitHandlr={(exactDate) => {\n this.setState({\n isCalendarOpen: false,\n exactDate,\n });\n }}\n />\n Client`s timeframe for buying\n
\n
\n\n
\n this.setState({ desiredLocations: e.target.value })}\n value={desiredLocations}\n />\n
\n\n
\n \n\n \n \n Back\n \n handleSubmit({ ...this.state })}\n className=\"tw-flex tw-items-center\"\n schema=\"primary\"\n size=\"medium\"\n >\n Track Referral\n \n \n \n );\n }\n}\n\nconst optionShape = Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n});\nTenantReferralModal.propTypes = {\n sources: Proptypes.arrayOf(optionShape),\n handleSubmit: Proptypes.func,\n clientName: Proptypes.string,\n showModal: Proptypes.bool,\n handleBack: Proptypes.func,\n};\nTenantReferralModal.defaultProps = {\n handleSubmit: null,\n sources: null,\n clientName: \"\",\n showModal: false,\n handleBack: null,\n};\n\nexport default TenantReferralModal;\n","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport moment from \"moment\";\nimport Proptypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport FlatPercentToggle from \"@shared/v2/FlatPercentToggle\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport SearchPeople from \"../QuickSearch/components/SearchPeople\";\nimport ClientIntentTextBtns from \"./ClientIntentTextButtons\";\nimport BuyerReferralModal from \"./BuyerReferralModal\";\nimport SellerLandlordReferralModal from \"./SellerLandlordReferralModal\";\nimport TenantReferralModal from \"./TenantReferralModal\";\nimport { tryCatchHandlr } from \"../shared/Utilities\";\nimport DropdownTeamMembers from \"./DropdownTeamMembers\";\nimport PersonDetailsModal from \"../Contacts/PersonDetailsModal\";\n\nconst CLIENT_INTENT_OPTIONS = [\n { label: \"Buyer\", value: \"buyer\" },\n { label: \"Seller\", value: \"seller\" },\n { label: \"Tenant\", value: \"tenant\" },\n { label: \"Landlord\", value: \"landlord\" },\n];\n\nclass ReferralTransactionModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n showNewReferralModal: true,\n referringAgent: null,\n referringAgentLabel: null,\n referralPartner: null,\n referralPartnerLabel: null,\n brokerage: \"\",\n team: \"\",\n client: null,\n clientLabel: null,\n clientIntent: \"buyer\",\n clientName: null,\n referralFee: \"25\",\n referralFeeIsPercentage: true,\n showBuyerReferralModal: false,\n showSellerLandlordReferralModal: false,\n showTenantReferralModal: false,\n showLandlordReferralModal: false,\n submitDisabled: false,\n showNewContactModal: false,\n fromClient: false,\n fromReferralPartner: false,\n };\n }\n\n componentDidMount() {\n const {\n fullName: referringAgentLabel,\n currentUserTeamId: referringAgent,\n personId,\n personName,\n } = this.props;\n\n this.setState({\n referringAgent,\n referringAgentLabel,\n });\n\n if (personId) {\n this.setState({\n client: personId,\n clientName: personName,\n clientLabel: personName,\n showClient: false,\n });\n }\n }\n\n selectReferralPartnerOrClient = (person = {}) => {\n const { fromClient, fromReferralPartner } = this.state;\n const fullName = `${person.firstName || \"\"} ${person.lastName || \"\"}`.trim();\n if (fromClient) {\n this.setState({\n client: person.id,\n clientLabel: fullName,\n clientName: fullName,\n fromClient: false,\n });\n }\n if (fromReferralPartner) {\n this.setState({\n referralPartner: person.id,\n referralPartnerLabel: fullName,\n fromReferralPartner: false,\n });\n }\n };\n\n selectClient = (client) => {\n this.setState({\n client: client?.object_id,\n clientLabel: client?.label,\n clientName: client?.full_name,\n fromClient: false,\n });\n };\n\n selectReferralPartner = (partner) => {\n this.setState({\n referralPartner: partner?.object_id,\n referralPartnerLabel: partner?.label,\n fromReferralPartner: false,\n });\n };\n\n setReferralFeeIsPercentage = (bool) => {\n this.setState({ referralFeeIsPercentage: bool });\n };\n\n handleNext = () => {\n const { clientIntent } = this.state;\n switch (clientIntent) {\n case \"buyer\":\n this.setState({ showNewReferralModal: false, showBuyerReferralModal: true });\n break;\n case \"seller\":\n this.setState({ showNewReferralModal: false, showSellerLandlordReferralModal: true });\n break;\n case \"tenant\":\n this.setState({ showNewReferralModal: false, showTenantReferralModal: true });\n break;\n case \"landlord\":\n this.setState({ showNewReferralModal: false, showSellerLandlordReferralModal: true });\n break;\n default:\n // TODO: Implement better validation\n alert(\"Client Intent is required\");\n }\n };\n\n handleBack = () => {\n this.setState({\n showNewReferralModal: true,\n showBuyerReferralModal: false,\n showSellerLandlordReferralModal: false,\n showTenantReferralModal: false,\n });\n };\n\n handleSubmit = async (secondaryModalState) => {\n const adaptDateForPayload = (date) => moment(date, \"MM/DD/YYYY\").format(\"YYYY-MM-DD\");\n this.setState({ submitDisabled: true });\n\n const stateData = { ...this.state, ...secondaryModalState };\n const formData = new FormData();\n formData.append(\"utf8\", \"✓\");\n formData.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n\n formData.append(\"listing[title]\", stateData.transactionTitle);\n formData.append(\"listing[type]\", \"ReferralListing\");\n formData.append(\"listing[status]\", stateData.transactionStatus);\n formData.append(\"listing[source_id]\", null || stateData.source?.value);\n\n formData.append(\"listing[referral_attributes][brokerage]\", stateData.brokerage);\n formData.append(\"listing[referral_attributes][team]\", stateData.team);\n formData.append(\"listing[referral_attributes][client_intent]\", stateData.clientIntent);\n if (stateData.referralFee.length) {\n formData.append(\"listing[referral_attributes][referral_fee]\", stateData.referralFee);\n }\n formData.append(\"listing[referral_attributes][is_fee_percentage]\", stateData.referralFeeIsPercentage);\n formData.append(\"listing[referral_attributes][transaction_amount]\", stateData.transactionAmt);\n if ([\"buyer\", \"tenant\"].includes(stateData.clientIntent)) {\n formData.append(\"listing[referral_attributes][desired_locations]\", stateData.desiredLocations);\n }\n\n formData.append(\"listing[referral_attributes][timeframe]\", stateData.timeframe?.value);\n formData.append(\n \"listing[referral_attributes][timeframe_start]\",\n stateData.timeframe?.value === \"custom\"\n ? adaptDateForPayload(stateData.exactDate)\n : moment().format(\"YYYY-MM-DD\"),\n );\n if (stateData.expirationDate.length) {\n formData.append(\n \"listing[referral_attributes][expiration_date]\",\n adaptDateForPayload(stateData.expirationDate),\n );\n }\n\n if (stateData.closeDate.length) {\n formData.append(\"listing[referral_attributes][close_date]\", adaptDateForPayload(stateData.closeDate));\n }\n if (stateData.acceptanceDate.length) {\n formData.append(\n \"listing[referral_attributes][mutual_acceptance_date]\",\n adaptDateForPayload(stateData.acceptanceDate),\n );\n }\n\n if (stateData.clientIntent === \"buyer\") {\n formData.append(\"listing[referral_attributes][financing]\", stateData.financing);\n }\n\n formData.append(\"listing[referral_attributes][client_id]\", stateData.client);\n formData.append(\"listing[referral_attributes][referring_agent_id]\", stateData.referringAgent);\n if (stateData.referralPartner) {\n formData.append(\"listing[referral_attributes][referral_partner_id]\", stateData.referralPartner);\n }\n\n // seller && landlord\n if ([\"seller\", \"landlord\"].includes(stateData.clientIntent)) {\n formData.append(\"property_type\", stateData.propertyType?.value);\n formData.append(\"listing[address_attributes][street_address]\", stateData.streetAddress);\n formData.append(\"listing[address_attributes][city]\", stateData.city);\n formData.append(\"listing[address_attributes][locality]\", stateData.stateProvince);\n formData.append(\"listing[address_attributes][postal_code]\", stateData.zipPostalCode);\n formData.append(\"listing[address_attributes][address_type]\", \"listing\");\n }\n\n const [res, err] = await tryCatchHandlr(axios.post(\"/listings\", formData));\n if (err) {\n this.setState({ submitDisabled: false });\n } else {\n window.location.replace(res.data);\n }\n };\n\n isNextBtnDisabled = () => {\n const { referringAgentLabel, clientLabel } = this.state;\n return !(referringAgentLabel && clientLabel);\n };\n\n render() {\n const {\n clientIntent,\n referralFee,\n referralFeeIsPercentage,\n showNewReferralModal,\n showBuyerReferralModal,\n showSellerLandlordReferralModal,\n showTenantReferralModal,\n clientLabel,\n clientName,\n showNewContactModal,\n referringAgentLabel,\n referringAgent,\n referralPartnerLabel,\n brokerage,\n team,\n } = this.state;\n\n const { closeModal, sources } = this.props;\n\n return (\n <>\n \n \n \n {\n this.setState({ showNewContactModal: false });\n if (person) this.selectReferralPartnerOrClient(person);\n }}\n />\n \n \n\n \n
\n\n
\n \n \n this.setState({\n referringAgentLabel: label,\n referringAgent: value,\n })\n }\n />\n
\n\n
\n\n
\n \n \n \n Don’t have the referral partner as a contact in your CRM?\n \n this.setState({\n showNewContactModal: true,\n fromReferralPartner: true,\n fromClient: false,\n })\n }\n >\n Add them here\n \n \n
\n
\n
\n this.setState({ brokerage: e.target.value })}\n />\n
\n
\n this.setState({ team: e.target.value })}\n />\n
\n
\n\n
\n\n
\n \n \n
\n \n Don’t have the client as a contact in your CRM?\n \n this.setState({\n showNewContactModal: true,\n fromClient: true,\n fromReferralPartner: false,\n })\n }\n >\n Add them here\n \n \n
\n
\n
\n
\n
\n \n
\n
\n this.setState({ clientIntent: e.target.value })}\n />\n
\n
\n
\n\n
\n {\n const value = e.target.value.trim() || null;\n this.setState({ referralFee: value });\n }}\n hideDefaultLeading\n hideDefaultTrailing\n />\n this.setReferralFeeIsPercentage(newIsPercentage)}\n />\n
\n \n\n \n \n \n Next\n \n \n \n \n );\n }\n}\n\nReferralTransactionModal.propTypes = {\n fullName: Proptypes.string,\n closeModal: Proptypes.func,\n currentUserTeamId: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n sources: Proptypes.arrayOf(Proptypes.shape()).isRequired,\n personId: Proptypes.oneOfType([Proptypes.string, Proptypes.number]),\n personName: Proptypes.string,\n};\n\nReferralTransactionModal.defaultProps = {\n fullName: \"\",\n closeModal: null,\n currentUserTeamId: null,\n personId: null,\n personName: null,\n};\n\nexport default ReferralTransactionModal;\n","import React, { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport Proptypes from \"prop-types\";\nimport {\n ApartmentSolidV6,\n Home,\n HouseUserSolidV6,\n MultiUser,\n PlusSolidV6,\n ShareNodesSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport ListingTransactionModal from \"./ListingTransactionModal\";\nimport ReferralTransactionModal from \"./ReferralTransactionModal\";\nimport IconButton from \"../shared/v2/IconButton/IconButton\";\nimport colors from \"../Reports/components/DashboardShared/helpers/colors\";\nimport { useCurrentUser } from \"../reducers/layoutReducer/selectors\";\n\nconst TransactionButton = ({ onClick, Icon, text }) => {\n const isPlaceTheme = document.body.classList.contains(\"place-theme\");\n\n return (\n [\"Enter\", \" \"].includes(e.key) && onClick()}\n >\n \n {text}\n \n );\n};\n\nconst loadSources = async () => {\n const response = await axios.get(\"/sources\");\n return response.data.sources.map((source) => ({ label: source.text, value: source.id }));\n};\n\nconst loadPropertyTypes = async () => {\n const response = await axios.get(\"/transaction_property_types\");\n return response.data.property_types.map((propertyType) => ({\n label: propertyType.name,\n value: propertyType.id,\n }));\n};\n\nconst loadMlses = async (mlsIds = [], currentUserId) => {\n if (mlsIds.length) return mlsIds;\n // This route throws a 500 when there are no MLS IDs which...shouldn't happen\n // So this try/catch is necessary for an otherwise normal response\n try {\n const response = await axios.get(`/users/${currentUserId}/mls_ids`);\n return response.data.ids;\n } catch (err) {\n return null;\n }\n};\nconst AddTransactionModal = ({\n isStandalone,\n disableReferralBtn,\n newMilestoneId,\n showModal,\n defaultStatus,\n onClose,\n personId,\n personName,\n}) => {\n const currentUser = useCurrentUser();\n const [state, _setState] = useState({\n showModalState: false,\n showListingModal: false,\n showPendingModal: false,\n showReferralModal: false,\n sources: [],\n mlsIds: [],\n propertyTypes: [],\n defaultPropertyType: \"\",\n });\n\n const setState = (newState) => _setState((currentState) => ({ ...currentState, ...newState }));\n\n const loadDependencies = async () => {\n const { showModalState } = state;\n\n if (!showModalState && !showModal) return;\n\n const [sources, propertyTypes, mlsIds] = await Promise.all([\n loadSources(),\n loadPropertyTypes(),\n\n loadMlses(state.mlsIds, currentUser.id),\n ]);\n\n const defaultPropertyType = (propertyTypes || []).find((p) => p.label === \"Residential\") || {\n label: \"Residential\",\n value: -1,\n };\n\n setState({ sources, propertyTypes, defaultPropertyType, mlsIds });\n };\n\n useEffect(() => {\n loadDependencies();\n }, [state.showModalState, showModal]);\n\n const showModalfunc = () => setState({ showModalState: true });\n\n const closeModal = () => {\n if (onClose) onClose();\n setState({ showModalState: false });\n };\n\n const addSellerTransaction = () => {\n closeModal();\n setState({ transactionType: \"SellerListing\", showTransactionModal: true });\n };\n\n const addBuyerTransaction = () => {\n closeModal();\n setState({ transactionType: \"BuyerListing\", showTransactionModal: true });\n };\n\n const addTenantTransaction = () => {\n closeModal();\n setState({ transactionType: \"TenantListing\", showTransactionModal: true });\n };\n\n const addLandlordTransaction = () => {\n closeModal();\n setState({ transactionType: \"LandlordListing\", showTransactionModal: true });\n };\n\n const addReferralTransaction = () => {\n closeModal();\n setState({ transactionType: \"ReferralListing\", showReferralModal: true });\n };\n\n const closeTransaction = () => setState({ showTransactionModal: false });\n\n const closeReferralModal = () => {\n setState({ showReferralModal: false });\n };\n\n const [defaultStatusState, setDefaultStatus] = useState(null);\n useEffect(() => {\n if (defaultStatus) setDefaultStatus(defaultStatus);\n }, [defaultStatus]);\n return (\n <>\n {/* eslint-disable react/jsx-props-no-spreading */}\n\n {!isStandalone && (\n \n \n \n )}\n \n \n \n \n \n \n \n {!disableReferralBtn && (\n \n )}\n \n \n {state.showTransactionModal && (\n \n )}\n {state.showReferralModal && (\n \n )}\n \n );\n};\n\nexport default AddTransactionModal;\n\nTransactionButton.propTypes = {\n onClick: Proptypes.func,\n Icon: Proptypes.node,\n text: Proptypes.string,\n};\n\nTransactionButton.defaultProps = {\n onClick: null,\n Icon: null,\n text: \"\",\n};\n\nAddTransactionModal.propTypes = {\n showModal: Proptypes.bool,\n onClose: Proptypes.func,\n defaultStatus: Proptypes.string,\n isStandalone: Proptypes.bool,\n disableReferralBtn: Proptypes.bool,\n newMilestoneId: Proptypes.oneOfType([Proptypes.number, Proptypes.string]),\n personId: Proptypes.oneOfType([Proptypes.number, Proptypes.string]),\n personName: Proptypes.string,\n};\n\nAddTransactionModal.defaultProps = {\n showModal: false,\n onClose: null,\n defaultStatus: null,\n isStandalone: false,\n disableReferralBtn: false,\n newMilestoneId: null,\n personId: null,\n personName: null,\n};\n","import React, { useEffect, useState } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport classNames from \"classnames\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport ViewAllTransactionsModal from \"./modals/ViewAllTransactionsModal\";\nimport TypeCell from \"../../Transactions/components/shared/TypeCell\";\nimport cards from \"./cards.module.css\";\nimport transaction from \"./transactions.module.css\";\nimport css from \"./person-detail-styles.module.css\";\nimport { isReferral } from \"../../TransactionDetailsPage/shared/helpers\";\nimport ThumbnailIcon from \"../../Transactions/components/shared/ThumbnailIcon\";\nimport ImageCell from \"../../Transactions/components/shared/ImageCell\";\nimport * as actions from \"../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport AddTransactionModal from \"../../Transactions/AddTransactionModal\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport TextButton from \"@shared/v2/TextButton\";\n\nconst Transactions = ({ newMilestoneId }) => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const person = useSelector((state) => state.personDetail.person);\n const personFullName = `${person.data?.attributes?.first_name || \"\"} ${person.data?.attributes?.last_name || \"\"}`.trim();\n const transactions = useSelector((state) => state.personDetail.transactions);\n const transactionCount = useSelector((state) => state.personDetail.transactionCount);\n const transactionModalOpen = useSelector((state) => state.personDetail.transactionModalOpen);\n const [viewTransactionModal, setViewTransactionModal] = useState(false);\n\n useEffect(() => {\n if (person.data?.id) dispatch(actions.fetchTransactions(person.data.id));\n }, [person.data?.id]);\n\n const fetchListingType = (transactionType, buyerTransaction) => {\n if (isReferral(transactionType)) {\n return transactionType;\n }\n return buyerTransaction ? \"buyer\" : \"seller\";\n };\n\n return (\n \n Transactions\n {transactionCount > 0 && (\n
\n {transactionCount}\n
\n )}\n \n }\n buttonText=\"+ ADD\"\n buttonClickFunction={() => dispatch(actions.toggleTransactionModal())}\n >\n {!person.data && }\n
\n {transactions.length === 0 && (\n
\n Transactions associated with this contact will appear here.\n
\n )}\n \n {transactions\n .slice(0, 3)\n .map(\n (\n {\n address,\n link,\n mls,\n status,\n status_class,\n transaction_type,\n buyer_transaction,\n photo_without_placeholder,\n },\n i,\n ) => (\n
\n
\n \n
\n
\n {photo_without_placeholder ? (\n \n ) : (\n window.open(link, \"_self\")}\n containerSize=\"full\"\n transactionType={fetchListingType(transaction_type, buyer_transaction)}\n size=\"xxxl\"\n />\n )}\n
\n
\n
\n
\n {address}\n {mls !== \"#\" &&

MLS {mls}

}\n
\n \n

\n {status}\n

\n
\n
\n
\n
\n \n
\n
\n ),\n )}\n \n {transactionCount > 3 && (\n setViewTransactionModal(true)}>\n View All\n \n )}\n
\n\n setViewTransactionModal(false)}\n />\n\n dispatch(actions.toggleTransactionModal())}\n isStandalone\n />\n \n );\n};\n\nexport default Transactions;\n","import React from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport colors from \"./colors.module.css\";\nimport css from \"./person-detail-styles.module.css\";\nimport ViewWebActivityModal from \"./modals/ViewWebActivityModal\";\nimport { valueOrZero, lastVisit, visits } from \"../../shared/WebActivityHelpers\";\nimport * as actions from \"../actions/personDetailActionCreators\";\nimport Loading from \"../../Goals/components/Loader\";\nimport CollapsibleElement from \"./CollapsibleElement\";\n\nconst WebActivity = ({ openPlatformCTA }) => {\n const dispatch = useDispatch();\n const featureFlags = useSelector((state) => state.layout.featureFlags);\n const person = useSelector((state) => state.personDetail.person);\n const webActivityModalOpen = useSelector((state) => state.personDetail.webActivityModalOpen);\n\n const webActivityButtonText = featureFlags.platformAccount ? \"VIEW\" : \"LEARN MORE\";\n const webActivityButtonClick = featureFlags.platformAccount\n ? () => dispatch(actions.openWebActivityModal())\n : () => openPlatformCTA;\n\n const openWebActivityModal = () => dispatch(actions.openWebActivityModal());\n const closeWebActivityModal = () => dispatch(actions.closeWebActivityModal());\n\n const noActivity = (\n { idx_visits, idx_last_visit, idx_property_views, idx_favorites, idx_average_price } = {\n idx_visits: null,\n idx_last_visit: null,\n idx_property_views: null,\n idx_favorites: null,\n idx_average_price: null,\n },\n ) => {\n return (\n idx_visits === null &&\n idx_last_visit === null &&\n idx_property_views === null &&\n idx_favorites === null &&\n idx_average_price === null\n );\n };\n\n const formatPrice = (price) => {\n if (price === null) {\n return 0;\n }\n\n return (\n \"$\" +\n (price > 1000000 ? parseFloat(price / 1000000).toFixed(2) : parseInt(Math.floor(price / 1000))) +\n (price > 1000000 ? \"M\" : \"K\")\n );\n };\n\n const renderCTA = () => (\n \n \n
\n See when a contact visits your Brivity website and which homes they view.\n
\n \n
\n );\n\n const renderWebActivity = ({\n idx_visits,\n idx_last_visit,\n idx_property_views,\n idx_favorites,\n idx_average_price,\n }) => (\n
\n \n \n
\n VISITS:\n \n {visits(idx_visits)}\n \n
\n
\n LAST VISIT:\n \n {lastVisit(idx_last_visit)}\n \n
\n \n
\n \n
\n );\n\n const personAttributes = person.data?.attributes;\n\n return (\n \n {!person.data && }\n
\n {noActivity(personAttributes) ? renderCTA() : renderWebActivity(personAttributes)}\n {webActivityModalOpen && (\n \n )}\n
\n \n );\n};\n\nexport default WebActivity;\n","import { createCustomSelector } from \"@shared/hookHelpers\";\n\nconst useCreateSelector = createCustomSelector(({personDetail}) => personDetail);\n\nexport const useMainEmail = () => useCreateSelector((state) => state.person.data?.attributes.main_email);\n\n","import React, { useState } from \"react\";\nimport axios from \"axios\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport * as actions from \"../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport {\n CommentDotsSolidV6,\n EnvelopeSolidV6,\n LinkSolidV6,\n MobilePhone,\n SpinnerSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport { useMainEmail } from \"../../reducers/personalDetailReducer/selectors\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { homeAppTxt } from \"@shared/Utilities\";\n\nconst HomeApp = () => {\n const dispatch = useDispatch();\n const featureFlags = useFeatureFlags();\n const mainEmail = useMainEmail();\n const currentUser = useCurrentUser();\n const [state, _setState] = useState({ showPopover: false, loadingUrl: false });\n const setState = (newState) => _setState((prevState) => ({ ...prevState, ...newState }));\n const person = useSelector((state) => state.personDetail.person);\n const { home_app_invite_sent: homeAppInviteSent } = person.data?.attributes || {};\n const isEmailEnabled =\n (person.included?.filter((a) => a.type === \"email_detail\").map((a) => a.attributes) || []).length > 0;\n const isPhoneEnabled =\n featureFlags.platformAccount && person.data?.attributes.primary_phone_number.length > 0;\n\n const handleSelectedType = (type, appUrl) => {\n const sharedUrlContent = \"Download my Brivity Home search app to search for homes here: \";\n\n if (type == \"email\") {\n dispatch(\n actions.setInteractionTabWithHomeAppContent(\n `${sharedUrlContent} ${appUrl}.

`,\n 1,\n ),\n );\n } else if (type == \"text\") {\n dispatch(\n actions.setInteractionTabWithHomeAppContent(\n homeAppTxt({\n recipientFirstName: person.data?.attributes.first_name,\n recipientEmailAddress: mainEmail,\n teamName: currentUser.account?.teamName,\n primaryAgentName: currentUser.fullName,\n brivityAppLink: appUrl,\n }),\n 3,\n ),\n );\n } else if (type == \"copy\") {\n navigator.clipboard.writeText(appUrl).catch((error) => {\n console.log(error);\n });\n }\n };\n\n const fetchBrivityHomeURL = (type) => {\n setState({ loadingUrl: true, showPopover: false });\n\n axios\n .get(`/people/${person.data?.attributes.slug}/home_app`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n setState({ loadingUrl: false });\n handleSelectedType(type, response.data.url);\n })\n .catch(() => setState({ loadingUrl: false }));\n };\n\n const handleToggle = () => setState({ showPopover: !state.showPopover });\n\n return (\n \n {!person.data && }\n \n {homeAppInviteSent ? (\n

\n Invite sent {homeAppInviteSent}\n \n Resend\n {state.loadingUrl && }\n \n

\n ) : !mainEmail ? (\n \n An email address is required to log in to Brivity Home. Please add an email address to the\n contact before sending an invite.\n
\n }\n trigger={\n
\n \n \n {homeAppInviteSent ? `Invite sent ${homeAppInviteSent}` : \"Send search app invite\"}\n \n {state.loadingUrl && }\n
\n }\n />\n ) : (\n
\n \n \n {homeAppInviteSent ? `Invite sent ${homeAppInviteSent}` : \"Send search app invite\"}\n \n {state.loadingUrl && }\n
\n )}\n {state.showPopover && (\n
\n {isPhoneEnabled && (\n {\n fetchBrivityHomeURL(\"text\");\n }}\n >\n Text \n \n )}\n {isEmailEnabled && (\n {\n fetchBrivityHomeURL(\"email\");\n }}\n >\n Email \n \n )}\n {\n fetchBrivityHomeURL(\"copy\");\n }}\n >\n Copy Link \n \n
\n )}\n
\n \n );\n};\n\nexport default HomeApp;\n","import React, { useEffect, useMemo } from \"react\";\nimport axios from \"axios\";\nimport SharedAddAutoPlanModal from \"../../../shared/AddAutoPlanModal\";\n\nconst AddAutoPlanModal = ({\n assignableId,\n closeAddAutoPlanModal,\n isModalSubmitting,\n showPreviewPlanModal,\n submitApplyPlan,\n show,\n}) => {\n const [autoPlans, setAutoPlans] = React.useState([]);\n const [selectedPlan, setSelectedPlan] = React.useState(null);\n const options = useMemo(\n () =>\n autoPlans\n .map(({ id, name }) => ({ value: id, label: name }))\n .sort((a, b) => a.label.localeCompare(b.label)),\n [autoPlans],\n );\n const selectedAutoPlan = useMemo(\n () => (selectedPlan ? { label: selectedPlan.name, value: selectedPlan.id } : null),\n [selectedPlan],\n );\n\n useEffect(() => {\n const abortController = new AbortController();\n\n axios\n .get(\"/auto_plans/auto_plans_no_actions.json\", {\n params: { plan_type: \"undefined\", page: \"null\" },\n signal: abortController.signal,\n })\n .then((results) => {\n setAutoPlans(results.data);\n })\n .catch(console.log);\n\n return () => {\n abortController.abort();\n };\n }, []);\n\n const updateAutoPlan = (planId) => setSelectedPlan(autoPlans.find((p) => p.id == planId));\n\n return (\n submitApplyPlan(selectedPlan, assignableId)}\n isApplying={isModalSubmitting}\n onPreview={() => showPreviewPlanModal(selectedPlan.id)}\n disableInteractionButtons={!selectedPlan}\n availablePlansAsOptions={options}\n selectedAutoPlan={selectedAutoPlan}\n onSelectAutoPlan={(opt) => updateAutoPlan(opt.value)}\n />\n );\n};\n\nexport default AddAutoPlanModal;\n","import React from \"react\";\nimport buttons from \"../button.module.css\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\n\nconst DeleteAssignedPlanModal = ({ closeModal, deletePlan }) => (\n \n \n \n

\n Deleting an auto plan from a contact will delete all incomplete tasks and interactions generated by\n this plan. You are still able to keep track of all completed tasks.\n

\n
\n \n \n \n \n \n);\n\nexport default DeleteAssignedPlanModal;\n","// extracted by mini-css-extract-plugin\nexport default {\"actionButton\":\"ZRhfd2QCXZ4_24t_rN1t\",\"completed\":\"DUvFs14S1MSE411C9aQn\",\"deleted\":\"d63EjVxhZJZ9bsksh051\",\"started\":\"h01mCh8JqvE7vgsSyJmg\",\"paused\":\"y_x38Xp61tFcfvipolj2\",\"actionButtons\":\"qFvX2Eo0x7uhfzKjGsan\",\"headerName\":\"ARWaHbiR7qRh42oJ42LR\",\"state\":\"pqFlkxHrIUy8HdyxS8WA\",\"closeAutoPlan\":\"eVagyoyzBzsW2Oubf_e0\",\"planName\":\"BdipAdgNp8p3J_MawsGl\",\"cardState\":\"gxF9CbpUazqnH0elMgq1\"};","import React, { Component } from 'react';\nimport { Col, Row, Modal } from 'react-bootstrap';\nimport AssignedPlanDetailPreview from \"../../../AssignedPlans/components/AssignedPlanDetailPreview\";\nimport auto_plans from './auto_plans.module.css';\n\nclass PreviewAutoPlan extends Component {\n\n render() {\n const { activeAutoPlanActionId, autoPlanPreview, closeAutoPlanPreview, previewAutoPlanAction } = this.props\n return (\n \n \n \n \n \n {`Auto Plan: ${autoPlanPreview.name}`}\n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nexport default PreviewAutoPlan;\n","import React from \"react\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Modal from \"@shared/v2/Modal\";\nimport { PauseSolidV6, PlaySolidV6, TrashCanSolidV6 } from \"@shared/v2/Icomoon\";\nimport AssignedPlanDetail from \"../../../AssignedPlans/components/AssignedPlanDetail\";\nimport auto_plans from \"./auto_plans.module.css\";\n\nconst PlanDetails = (props) => {\n const {\n activeAssignedActionId,\n assignedPlan,\n closeModal,\n deleteAssignedActionModalOpen,\n isActionUpdating,\n previewAssignedAction,\n showAssignedActionDeleteModal,\n showDeleteAssignedPlanModal,\n updateAction,\n } = props;\n\n const updateCallback = () => {\n // TODO: this doesn't exist, so commenting out for now\n // getAssignedPlan(`/assigned_plans/${assignedPlan.id}`);\n };\n\n const updatePlanState = (state) => {\n const { updateAssignedPlan, assignedPlan } = props;\n const { id } = assignedPlan;\n const form = { state: state };\n updateAssignedPlan(`/assigned_plans/${id}`, form, updateCallback);\n };\n\n const plan = () => {\n switch (assignedPlan.state) {\n case \"completed\":\n return { state: \"Completed\", class: auto_plans.completed };\n case \"deleted\":\n return { state: \"Deleted\", class: auto_plans.deleted };\n case \"started\":\n return { state: \"Running\", class: auto_plans.started };\n case \"paused\":\n return { state: \"Paused\", class: auto_plans.paused };\n default:\n return {};\n }\n };\n\n return (\n \n \n
\n {`Auto Plan: ${assignedPlan.name}`}\n {plan().state}\n
\n
\n {assignedPlan.state == \"paused\" && (\n \n \n \n )}\n {assignedPlan.state == \"started\" && (\n \n \n \n )}\n {assignedPlan.state != \"deleted\" && assignedPlan.state != \"completed\" && (\n showDeleteAssignedPlanModal(assignedPlan)} schema=\"tertiary\">\n \n \n )}\n
\n
\n }\n />\n\n \n \n \n \n );\n};\n\nexport default PlanDetails;\n","import React from 'react';\nimport { Col, Modal, Row } from 'react-bootstrap';\nimport buttons from '../button.module.css';\nimport Error from \"../../../shared/Error\";\n\n\nconst DeleteAction = (props) => {\n const {\n assignedPlan,\n deleteAssignedActionModalOpen,\n isDeletingAction,\n closeModal,\n action,\n onActionDelete,\n assignedPlanName,\n hasActionError,\n actionErrorMessage,\n showPlanDetails\n } = props;\n\n const assignedActionPath = `/assigned_plans/${action.assigned_plan_id}/assigned_actions/${action.id}`;\n const afterDeleteCallback = () => { showPlanDetails(assignedPlan.id) }\n\n\n return (\n \n \n \n \n \n Do you really want to delete this action?\n \n \n \n \n \n \n \n \n { hasActionError && }\n \n Please note that {action.type}: {action.name} \n is generated from action plan \"{assignedPlanName}\" \n and deleting this action will delete all tasks and interactions contingent on that.\n \n \n \n \n \n
\n \n Cancel\n \n onActionDelete(action.id, assignedActionPath, afterDeleteCallback)}\n className={`${buttons.btn} ${buttons.btnLg} ${buttons.btnRed} pull-right`}\n >\n Delete\n \n
\n \n
\n
\n \n )\n}\n\nexport default DeleteAction;\n","import React, { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Row, Col } from \"react-bootstrap\";\nimport AddAutoPlanModal from \"./AddAutoPlanModal\";\nimport DeleteAssignedPlanModal from \"./DeleteAssignedPlanModal\";\nimport PreviewAutoPlan from \"./PreviewAutoPlan\";\nimport PlanDetails from \"./PlanDetails\";\nimport auto_plans from \"./auto_plans.module.css\";\nimport css from \"../person-detail-styles.module.css\";\nimport icons from \"../icons.module.css\";\nimport DeleteAction from \"./DeleteAction\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport Loading from \"../../../Goals/components/Loader\";\n\nconst AutoPlans = ({ openPlatformCTA }) => {\n const dispatch = useDispatch();\n const featureFlags = useSelector((state) => state.layout.featureFlags);\n const person = useSelector((state) => state.personDetail.person);\n const activeAutoPlanActionId = useSelector((state) => state.personDetail.activeActionId);\n const assignedPlan = useSelector((state) => state.personDetail.assignedPlan);\n const assignedPlans = useSelector((state) => state.personDetail.assignedPlans);\n const addAutoPlanModalOpen = useSelector((state) => state.personDetail.addAutoPlanModalOpen);\n const actionErrorMessage = useSelector((state) => state.personDetail.actionErrorMessage);\n const currentAction = useSelector((state) => state.personDetail.currentAction);\n const deleteAssignedPlanModalOpen = useSelector((state) => state.personDetail.deleteAssignedPlanModalOpen);\n const deleteAssignedActionModalOpen = useSelector(\n (state) => state.personDetail.deleteAssignedActionModalOpen,\n );\n const planToDelete = useSelector((state) => state.personDetail.planToDelete);\n const activeAssignedActionId = useSelector((state) => state.personDetail.assignedActionId);\n const autoPlanPreviewModalOpen = useSelector((state) => state.personDetail.autoPlanPreviewModalOpen);\n const autoPlanPreview = useSelector((state) => state.personDetail.planPreview);\n const autoPlanDetailsOpen = useSelector((state) => state.personDetail.autoPlanDetailsOpen);\n const hasActionError = useSelector((state) => state.personDetail.hasActionError);\n const isActionUpdating = useSelector((state) => state.personDetail.isActionUpdating);\n\n const deleteAction = (...args) => dispatch(actions.deleteAction(...args));\n const updateAction = (...args) => dispatch(actions.updateAction(...args));\n const closeAddAutoPlanModal = () => dispatch(actions.closeAddAutoPlanModal());\n const submitApplyPlan = (...args) => dispatch(actions.submitApplyPlan(...args));\n const updateAssignedPlan = (...args) => dispatch(actions.updateAssignedPlan(...args));\n const openDeleteAssignedPlanModal = (plan) => dispatch(actions.openDeleteAssignedPlanModal(plan));\n const closeDeleteAssignedPlanModal = () => dispatch(actions.closeDeleteAssignedPlanModal());\n const showAutoPlanPreview = (planId) => dispatch(actions.showAutoPlanPreview(planId));\n const previewAutoPlanAction = (actionId) => dispatch(actions.previewAction(actionId));\n const closeAutoPlanPreview = () => dispatch(actions.closeAutoPlanPreview());\n const showPlanDetails = (planId) => dispatch(actions.showPlanDetails(planId));\n const closePlanDetails = () => dispatch(actions.closePlanDetails());\n const previewAssignedAction = (assignedAction) => dispatch(actions.assignedActionPreview(assignedAction));\n const showAssignedActionDeleteModal = (action) => dispatch(actions.showAssignedActionDeleteModal(action));\n const closeAssignedActionDeleteModal = () => dispatch(actions.closeAssignedActionDeleteModal());\n const showDeleteAssignedPlanModal = (plan) => dispatch(actions.openDeleteCloseActionsModal(plan));\n const openAddAutoPlanModal = () => dispatch(actions.openAddAutoPlanModal());\n\n const autoPlanButtonText = featureFlags.platformAccount ? \"+ ADD\" : \"LEARN MORE\";\n const autoPlanButtonClick = featureFlags.platformAccount ? openAddAutoPlanModal : openPlatformCTA;\n\n useEffect(() => {\n if (person.data?.attributes.uuid) dispatch(actions.getAssignedPlans(person.data.attributes.uuid));\n }, [person.data?.attributes.uuid]);\n\n const showPreviewPlanModal = (planId) => {\n closeAddAutoPlanModal();\n showAutoPlanPreview(planId);\n };\n\n const updatePlanState = (id, state) => {\n const form = { state: state };\n updateAssignedPlan(`/assigned_plans/${id}`, form);\n };\n\n const deletePlan = () => {\n updatePlanState(planToDelete.id, \"deleted\");\n closeDeleteAssignedPlanModal();\n };\n\n const autoPlan = (plan) => {\n return (\n \n
\n \n \n showPlanDetails(plan.id)}\n >\n \n {plan.name}\n
\n \n \n\n \n
\n Progress:\n \n {plan.total_completed_actions} / {plan.assigned_actions_count}{\" \"}\n \n
\n
\n {plan.state === \"paused\" && (\n PAUSED\n )}\n {plan.state === \"started\" && (\n RUNNING\n )}\n {plan.state === \"completed\" && (\n COMPLETED\n )}\n
\n \n {plan.state != \"completed\" && (\n
\n \n NEXT STEP\n \n \n {plan.next_action_description}\n \n
\n )}\n
\n
\n \n );\n };\n\n return (\n \n {!person.data && }\n
\n {(assignedPlans.length === 0 || assignedPlans.every((plan) => plan.state === \"deleted\")) && (\n
\n Use Auto Plans to automate email, text, and tasks to save time.\n
\n )}\n {assignedPlans.map((a) => {\n return [\"started\", \"paused\", \"completed\"].includes(a.state) && autoPlan(a);\n })}\n \n {deleteAssignedPlanModalOpen && (\n \n )}\n {autoPlanPreviewModalOpen && (\n \n )}\n {autoPlanDetailsOpen && (\n \n )}\n {deleteAssignedActionModalOpen && (\n \n )}\n
\n \n );\n};\n\nexport default AutoPlans;\n","import React from \"react\";\nimport Button from \"../../../../bundles/shared/v2/Button\";\nimport { Modal } from \"react-bootstrap\";\nimport IconButton from \"../../../shared/v2/IconButton\";\n\nconst DeleteListingAlertModal = ({ loading, onClose, onDelete, open }) => (\n \n \n \n \n Are you sure you want to delete this Listing Alert?\n \n \n \n \n \n \n \n Deleting a listing alert will also delete the corresponding saved search from this contact's IDX\n account. This action cannot be undone.\n \n \n
\n \n \n
\n
\n
\n);\n\nexport default DeleteListingAlertModal;\n","import React, { Component, useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport moment from \"moment/moment\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport alerts from \"./listing_alerts.module.css\";\nimport css from \"../person-detail-styles.module.css\";\nimport cards from \"../cards.module.css\";\nimport colors from \"../colors.module.css\";\nimport icons from \"../icons.module.css\";\nimport ViewAllListingAlertsModal from \"../modals/ViewAllListingAlertsModal\";\nimport AddListingAlertModal from \"../modals/AddListingAlertModal\";\nimport EditListingAlertModal from \"../modals/EditListingAlertModal\";\nimport {\n formattedPriceRange,\n formattedRange,\n formatLocationsForDisplay,\n} from \"../../../shared/ListingAlertHelpers\";\nimport { capitalize } from \"lodash\";\nimport AlertStatus from \"./AlertStatus\";\nimport * as listingAlertService from \"./service\";\nimport DeleteListingAlertModal from \"../modals/DeleteListingAlertModal\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport Loading from \"../../../Goals/components/Loader\";\n\nconst ListingAlertCard = ({ openPlatformCTA }) => {\n const dispatch = useDispatch();\n const [\n {\n editListingAlertModalOpen,\n deleteListingAlertModalOpen,\n deleteAlertPending,\n deleteAlertIndex,\n indexOfAlertToEdit,\n listingAlerts,\n listingAlertsModalOpen,\n mlsIds,\n websiteUrl,\n },\n _setState,\n ] = useState({\n editListingAlertModalOpen: false,\n deleteListingAlertModalOpen: false,\n deleteAlertPending: false,\n indexOfAlertToEdit: 0,\n listingAlerts: [],\n listingAlertsModalOpen: false,\n mlsIds: [],\n websiteUrl: \"\",\n });\n const setState = (newState) => _setState((prevState) => ({ ...prevState, ...newState }));\n const featureFlags = useSelector((state) => state.layout.featureFlags);\n const basePerson = useSelector((state) => state.personDetail.person);\n const person = basePerson.data?.attributes;\n const geoCodeAccountAddress = basePerson.meta?.geo_code_account_address;\n const addListingAlertModalOpen = useSelector((state) => state.personDetail.addListingAlertModalOpen);\n\n const openAddListingAlertModal = () => dispatch(actions.openAddListingAlertModal());\n\n const listingAlertButtonText = featureFlags.platformAccount ? \"+ ADD\" : \"LEARN MORE\";\n const listingAlertButtonClick = featureFlags.platformAccount ? openAddListingAlertModal : openPlatformCTA;\n\n useEffect(() => {\n if (!person) return;\n getAlerts();\n }, [person?.main_email]);\n\n const getAlerts = async () => {\n try {\n const response = await listingAlertService.getAlerts(person.slug);\n setState({\n listingAlerts: response.data.alerts,\n websiteUrl: response.data.website_url,\n mlsIds: response.data.mls_ids,\n });\n } catch (e) {\n console.log(e);\n }\n };\n\n const renderLaCTA = () => {\n return (\n
\n Use Listing Alert emails to regularly send listings that your buyers might be interested in. When a\n contact saves a search on your website, it automatically creates a Listing Alert.\n
\n );\n };\n\n const renderListingAlert = (alert, index) => {\n return (\n \n
\n \n \n
\n \n \n \n {alert.searchName}\n \n \n
\n
\n
\n openEditListingAlertModal(index)}\n >\n \n \n openDeleteListingAlertModal(index)}\n >\n \n \n
\n \n
\n \n CREATED:\n {moment(alert.createdAt).format(\"MM/D/YYYY\")}\n \n \n \n \n {alert.active && (\n \n FREQUENCY:\n {capitalize(alert.frequency)}\n \n )}\n \n SEARCH TERM:\n {formatLocationsForDisplay(alert)}\n \n \n Price:\n \n {formattedPriceRange(alert.priceMin, alert.priceMax)}\n \n \n \n BED:\n {formattedRange(alert.bedsMin, alert.bedsMax)}\n \n \n BATH:\n {formattedRange(alert.bathsMin, alert.bathsMax)}\n \n \n SQUARE FEET:\n {formattedRange(alert.sqFtMin, alert.sqFtMax)}\n \n \n LOT:\n \n {formattedRange(alert.lotSizeMin, alert.lotSizeMax)}\n \n \n \n GARAGE:\n \n {formattedRange(alert.garageMin, alert.garageMax)}\n \n \n \n YEAR:\n {formattedRange(alert.yearMin, alert.yearMax)}\n \n
\n \n
\n
\n );\n };\n\n const renderNoEmail = () => {\n return (\n
\n Enter an email address for this contact in order to send Listing Alerts.\n
\n );\n };\n\n const openListingAlertModal = () => {\n setState({ listingAlertsModalOpen: true });\n };\n\n const closeListingAlertModal = () => {\n setState({ listingAlertsModalOpen: false });\n };\n\n const openEditListingAlertModal = (alertIndex) => {\n setState({ editListingAlertModalOpen: true, indexOfAlertToEdit: alertIndex });\n };\n\n const closeEditListingAlertModal = (status) => {\n setState({ editListingAlertModalOpen: false, indexOfAlertToEdit: 0 });\n if (status === \"success\") {\n getAlerts();\n }\n };\n\n const openDeleteListingAlertModal = (deleteAlertIndex) => {\n setState({ deleteListingAlertModalOpen: true, deleteAlertIndex });\n };\n\n const closeDeleteListingAlertModal = () => {\n setState({ deleteListingAlertModalOpen: false, deleteAlertIndex: null });\n };\n\n const emptyStateOrAlert = (listingAlerts) => {\n if (person?.main_email === null && listingAlerts.length === 0) {\n return renderNoEmail();\n }\n\n if (listingAlerts.length === 0) {\n return renderLaCTA();\n }\n\n return listingAlerts.slice(0, 2).map((alert, alertIndex) => renderListingAlert(alert, alertIndex));\n };\n\n const deleteAlert = (alertIndex) => {\n const alertId = listingAlerts[alertIndex].alertId;\n const url = `/people/${person?.id}/listing_alerts/${alertId}`;\n\n setState({ deleteAlertPending: true });\n\n axios\n .delete(url, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then(() => {\n setState({\n listingAlerts: listingAlerts.filter((alert) => alert.alertId !== alertId),\n deleteAlertIndex: null,\n deleteListingAlertModalOpen: false,\n deleteAlertPending: false,\n });\n })\n .catch((response) => console.log(response))\n .finally(() => setState({ deleteAlertPending: false }));\n };\n\n const openEditFromViewAll = (alertIndex) => {\n setState({\n indexOfAlertToEdit: alertIndex,\n editListingAlertModalOpen: true,\n listingAlertsModalOpen: false,\n });\n };\n\n const openAddFromViewAll = () => {\n setState({ listingAlertsModalOpen: false });\n dispatch(actions.openAddListingAlertModal());\n };\n\n const closeAddListingAlertModal = (status) => {\n dispatch(actions.closeAddListingAlertModal());\n\n if (status === \"success\") {\n getAlerts();\n }\n };\n\n return (\n \n {!basePerson.data && }\n
\n {emptyStateOrAlert(listingAlerts)}\n {listingAlerts.length > 2 && (\n \n \n \n VIEW ALL\n \n \n \n )}\n {listingAlertsModalOpen && (\n \n )}\n {addListingAlertModalOpen && (\n closeAddListingAlertModal(status)}\n mlsIds={mlsIds}\n geoCodeAccountAddress={geoCodeAccountAddress}\n />\n )}\n {editListingAlertModalOpen && (\n \n )}\n deleteAlert(deleteAlertIndex)}\n />\n
\n \n );\n};\n\nexport default ListingAlertCard;\n","import React, { useEffect, useState } from \"react\";\nimport { Bar } from \"react-chartjs-2\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { useTheme } from \"../../reducers/layoutReducer/selectors\";\nimport { calculateHomeAdjustment } from \"../../AddMarketReportModal/components/Panel2/helpers\";\n\nconst EstimatedValChart = ({\n handleClickAdjust,\n home_value_adjustment,\n home_value_adjustment_as_percentage,\n homeAdjVal,\n preview_url,\n}) => {\n const isPlaceTheme = useTheme().name === \"place-theme\";\n const [highVal, setHighVal] = useState(0);\n const [lowVal, setLowVal] = useState(0);\n const [automatedEst, setAutomatedEst] = useState(0);\n\n useEffect(() => {\n if (homeAdjVal) {\n setAutomatedEst(\n calculateHomeAdjustment({\n homeAdj: home_value_adjustment,\n isHomeAdjPercentage: home_value_adjustment_as_percentage,\n isHomeAdjPositive: checkValue,\n homeAdjVal,\n }),\n );\n }\n }, [homeAdjVal, home_value_adjustment]);\n\n useEffect(() => {\n if (automatedEst) {\n const result = calculatePercentage(automatedEst);\n setHighVal(result.High);\n setLowVal(result.Low);\n }\n }, [automatedEst]);\n\n const openMarketReport = () => {\n window.open(preview_url || window.location.href, \"_blank\");\n };\n\n const calculatePercentage = (valueStr) => {\n // Remove any non-numeric characters except for the minus sign\n const numericValue = parseFloat(valueStr.replace(/[^0-9.-]/g, \"\"));\n\n if (isNaN(numericValue)) {\n console.log(\"Invalid number format\");\n }\n\n // Calculate +10% and -10%\n const plusTenPercent = numericValue * 1.1;\n const minusTenPercent = numericValue * 0.9;\n // Format the numbers back with commas\n const formatNumber = (num) => num.toLocaleString(\"en-US\");\n\n return {\n High: formatNumber(Math.round(plusTenPercent)),\n Low: formatNumber(Math.round(minusTenPercent)),\n };\n };\n\n const checkValue = () => {\n // Convert the string to a number\n const numericValue = parseFloat(home_value_adjustment);\n\n // Check if positive, negative, or zero\n if (numericValue >= 0) {\n return true;\n } else {\n return false;\n }\n };\n\n const generateBarColors = () => {\n const barColors = Array(20).fill(\"#C4C4C4\"); // Default gray\n\n // Apply theme-based colors\n const themeColors = isPlaceTheme ? [\"#2454B2\", \"#3270FA\", \"#578EFA\"] : [\"#4CA7A7\", \"#59C4C4\", \"#94DCDC\"];\n\n // Leave the first and last 4 unchanged\n for (let i = 4; i < 16; i++) {\n if (i === 4 || i === 15) {\n barColors[i] = themeColors[2]; // First and last within range\n } else if (i === 5 || i === 14) {\n barColors[i] = themeColors[1]; // Second and second last within range\n } else {\n barColors[i] = themeColors[0]; // Middle range\n }\n }\n return barColors;\n };\n\n // Generate dynamic bar colors\n const barColors = generateBarColors();\n\n const lowValue = 100000; // Low value\n const highValue = 999999; // High value\n const data = {\n labels: Array(20).fill(\"\"), // Empty labels\n datasets: [\n {\n label: \"Value Range\",\n data: Array(20)\n .fill(0)\n .map((_, i) => lowValue + (i * (highValue - lowValue)) / 19),\n backgroundColor: barColors,\n borderRadius: Number.MAX_VALUE, // Rounded bars\n borderSkipped: false,\n barThickness: 5,\n },\n ],\n };\n\n const options = {\n responsive: true,\n maintainAspectRatio: false,\n plugins: {\n legend: {\n display: false, // Hide legend\n },\n tooltip: {\n enabled: false, // Disable tooltips\n },\n },\n scales: {\n x: {\n display: false,\n },\n y: {\n display: false, // Hide y-axis\n },\n },\n };\n\n return (\n <>\n
\n
\n \n Estimated Value\n \n \n {(() => {\n const homeValueAdj = home_value_adjustment * 1;\n const signValue = homeValueAdj > 0 ? \"\" : \"-\";\n return (\n \n {home_value_adjustment === null || homeValueAdj === 0\n ? \"ADJUST\"\n : `Adjusted ${home_value_adjustment_as_percentage ? `${signValue} ${Math.floor(Math.abs(homeValueAdj))}%` : `${signValue}$ ${Math.floor(Math.abs(homeValueAdj))}`}`}\n \n );\n })()}\n \n
\n \n {automatedEst}\n
\n
\n
\n
\n \n
\n
\n
\n
${lowVal}
\n
Low
\n
\n
\n
${highVal}
\n
High
\n
\n
\n
\n \n );\n};\n\nEstimatedValChart.propTypes = {\n homeAdjVal: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n handleClickAdjust: PropTypes.func,\n home_value_adjustment: PropTypes.string,\n home_value_adjustment_as_percentage: PropTypes.bool,\n preview_url: PropTypes.string,\n};\nEstimatedValChart.defaultProps = {\n homeAdjVal: 0,\n handleClickAdjust: () => {},\n home_value_adjustment: null,\n preview_url: \"\",\n home_value_adjustment_as_percentage: null,\n};\n\nexport default EstimatedValChart;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { ChevronDownSolidV6, ChevronUpSolidV6 } from \"@shared/v2/Icomoon/Icons\";\nimport MarketReportMenu from \"./MarketReportMenu\";\nimport EstimatedValChart from \"./EstimatedValChart\";\nimport { getHomeValue } from \"../../AddMarketReportModal/api\";\n\nconst LABEL_CLASS = \"tw-text-[12px] tw-text-gray-50 tw-font-semibold tw-inline-block tw-pb-[4px]\";\nconst VALUE_CLASS = \"tw-text-[14px] tw-text-gray-75 tw-font-normal tw-no-wrap tw-flex-1\";\n\nconst MarketReportCard = ({\n id,\n recurring_frequency,\n report_name,\n preview_url,\n view_count,\n street_address,\n city,\n state_abbreviation,\n postal_code,\n report_type,\n view_history,\n last_viewed,\n last_opened,\n location,\n showAdjustment,\n has_address,\n created_at,\n editReportFn,\n editMarketReportPanel2,\n deleteReportFn,\n home_value_adjustment,\n home_value_adjustment_as_percentage,\n}) => {\n const [isExpanded, setIsExpanded] = useState(false);\n const [homeAdjVal, setHomeAdjVal] = useState(0);\n const displayCondition = homeAdjVal && homeAdjVal != 0 ? homeAdjVal : null;\n\n useEffect(() => {\n if (street_address) {\n (async () => {\n const { response } = await getHomeValue({\n streetAddress: street_address,\n city: city,\n state: state_abbreviation,\n postalCode: postal_code,\n });\n\n setHomeAdjVal(Math.floor(response?.data?.value || 0));\n })();\n }\n }, [home_value_adjustment, street_address]);\n\n const handleExpanded = () => {\n setIsExpanded(!isExpanded);\n };\n\n const handleClickAdjust = () => {\n editMarketReportPanel2(id);\n };\n\n return (\n
\n \n
\n \n {report_name}\n \n\n \n
\n
\n
{location}
\n
\n
\n\n
\n {has_address && showAdjustment && displayCondition && report_type !== \"market\" && (\n <>\n
\n \n
\n
\n \n )}\n
\n
\n
Last Viewed
\n
{last_viewed}
\n
\n
\n
Last Opened
\n
{last_opened}
\n
\n
\n
Frequency
\n
{recurring_frequency}
\n
\n
\n
Created
\n
{created_at}
\n
\n
\n\n
\n View History\n ({view_count})\n
\n {view_history && (\n
\n {view_history.map((history, index) => {\n const [date, time] = history.replace(\"at\", \",\").split(\",\");\n return (\n
\n {date}\n {time}\n
\n );\n })}\n
\n )}\n
\n\n
\n
\n {isExpanded && (\n
\n )}\n
\n \n \n {isExpanded ? \"Less Info\" : \"More Info\"}\n \n \n {isExpanded ? (\n \n ) : (\n \n )}\n \n \n
\n
\n
\n );\n};\n\nMarketReportCard.propTypes = {\n id: PropTypes.string,\n recurring_frequency: PropTypes.string,\n report_name: PropTypes.string,\n location: PropTypes.string,\n street_address: PropTypes.string,\n city: PropTypes.string,\n state_abbreviation: PropTypes.string,\n postal_code: PropTypes.string,\n preview_url: PropTypes.string,\n view_count: PropTypes.number,\n last_viewed: PropTypes.string,\n last_opened: PropTypes.string,\n created_at: PropTypes.string,\n view_history: PropTypes.arrayOf(PropTypes.shape()),\n editReportFn: PropTypes.func,\n editMarketReportPanel2: PropTypes.func,\n deleteReportFn: PropTypes.func,\n home_value_adjustment: PropTypes.string,\n home_value_adjustment_as_percentage: PropTypes.bool,\n showAdjustment: PropTypes.bool,\n has_address: PropTypes.bool,\n report_type: PropTypes.string,\n};\nMarketReportCard.defaultProps = {\n id: null,\n recurring_frequency: \"\",\n location: \"\",\n street_address: \"\",\n city: \"\",\n state_abbreviation: \"\",\n postal_code: \"\",\n report_name: \"\",\n preview_url: \"\",\n view_count: \"\",\n last_viewed: \"\",\n last_opened: \"\",\n created_at: \"\",\n view_history: null,\n editReportFn: null,\n editMarketReportPanel2: () => {},\n deleteReportFn: null,\n home_value_adjustment: null,\n home_value_adjustment_as_percentage: null,\n showAdjustment: false,\n has_address: false,\n report_type: \"market\",\n};\n\nexport default MarketReportCard;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport { useSelector } from \"react-redux\";\nimport { TriangleExclamationSolidV6 } from \"@icons/index\";\nimport Button from \"@shared/v2/Button\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport css from \"./person-detail-styles.module.css\";\nimport MarketReportCard from \"../../shared/MarketReport/MarketReportCard\";\nimport MarketReportPreview from \"../../MarketReports/MarketReportPreview\";\nimport CollapsibleElement from \"./CollapsibleElement\";\nimport Loading from \"../../Goals/components/Loader\";\n\nconst getApiHeaders = () => ({\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n});\n\nconst useMarketReports = ({ person, refreshKey }) => {\n const [marketReports, setMarketReports] = useState([]);\n const [isMarketReportModalOpen, setIsMarketReportModalOpen] = useState(false);\n\n useEffect(() => {\n if (!person?.uuid) return;\n axios\n .get(`/market_reports?uuid=${person?.uuid}`, { headers: getApiHeaders() })\n .then(({ data }) => setMarketReports(data))\n .catch(console.log);\n }, [person?.uuid, refreshKey]);\n\n return {\n actions: {\n deleteMarketReport: ({ id, primaryAgent }) =>\n axios\n .post(\n \"/market_reports/delete_report\",\n { id, primary_agent_uuid: primaryAgent },\n { headers: getApiHeaders() },\n )\n .then(() => setMarketReports((currentReports) => currentReports.filter((r) => r.id !== id)))\n .catch((err) => console.log(err)),\n toggleModal: (value) => setIsMarketReportModalOpen((o) => (typeof value === \"boolean\" ? value : !o)),\n },\n data: { marketReports, isMarketReportModalOpen },\n };\n};\n\nconst MarketReports = ({\n editMarketReport,\n openMarketReport,\n refreshKey,\n editMarketReportPanel2,\n hasApprovedMls,\n loading,\n}) => {\n const basePerson = useSelector((state) => state.personDetail.person);\n const person = {\n ...basePerson.data?.attributes,\n status: basePerson.data?.attributes.status,\n person_avatar: basePerson.data?.attributes.avatar_url,\n lead_id: basePerson.data?.attributes.lead.id,\n person_lead_type: basePerson.data?.attributes.lead_type?.charAt(0),\n new_market_report_link: basePerson.data?.attributes.new_market_report_link,\n display_a_street_address: basePerson?.included\n ?.filter((i) => i.type === \"address\" && i.id !== null)\n .map((i) => `${i.attributes?.street_address}`)[0],\n };\n const {\n actions,\n data: { isMarketReportModalOpen, marketReports },\n } = useMarketReports({ person, refreshKey });\n const primaryAgent = basePerson.data?.attributes.primary_agent_uuid;\n\n const mostRecentReport = useMemo(() => {\n const viewedReports = marketReports.filter((report) => report.most_recent_view !== null);\n if (viewedReports.length > 1) {\n return viewedReports.sort((a, b) => new Date(b.most_recent_view) - new Date(a.most_recent_view))[0];\n }\n return marketReports[0];\n }, [marketReports]);\n\n const openLink = () => {\n window.open(\n \"https://www.brivityknowledge.com/v1/docs/en/set-upedit-your-cma-profile?highlight=cma%20profile\",\n \"_blank\",\n );\n };\n\n return (\n \n {!basePerson.data && }\n
\n {!loading && (!hasApprovedMls || marketReports.length === 0) ? (\n
\n {!hasApprovedMls && (\n
\n \n
\n
\n To start using Market Reports, your CMA profile must be set up.\n
\n \n
\n
\n )}\n\n
\n Send Market Reports to contacts to let them know what’s happening in the real estate market in\n their area.\n
\n
\n ) : (\n editMarketReport(id)}\n editMarketReportPanel2={editMarketReportPanel2}\n deleteReportFn={(id) => actions.deleteMarketReport({ id, primaryAgent })}\n showAdjustment\n />\n )}\n\n {hasApprovedMls && marketReports.length > 1 && (\n actions.toggleModal(true)}>\n View All\n \n )}\n\n {isMarketReportModalOpen && (\n actions.toggleModal(false)}\n person={person}\n person_status={person.status}\n person_address={person.display_a_street_address}\n person_lead_type={person.person_lead_type}\n person_avatar={person.person_avatar}\n editReportFn={(id) => editMarketReport(id)}\n editMarketReportPanel2={editMarketReportPanel2}\n deleteReportFn={(id) => actions.deleteMarketReport({ id, primaryAgent })}\n openMarketReport={() => openMarketReport()}\n />\n )}\n
\n \n );\n};\n\nMarketReports.propTypes = {\n editMarketReport: PropTypes.func.isRequired,\n openMarketReport: PropTypes.func.isRequired,\n refreshKey: PropTypes.string.isRequired,\n editMarketReportPanel2: PropTypes.func.isRequired,\n hasApprovedMls: PropTypes.bool.isRequired,\n loading: PropTypes.bool.isRequired,\n};\n\nexport default MarketReports;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport { EllipsisSolidV6 } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { setSnackbar } from \"../reducers/snackbarReducer\";\n\nconst CmaReportMenu = ({ deleteReportFn, id }) => {\n const dispatch = useDispatch();\n const host = process.env.NODE_ENV === \"production\" ? \"www.brivitycma.com\" : \"www.staging.brivitycma.com\";\n const previewUrl = `https://${host}/reports/${id}/preview`;\n const editUrl = `https://${host}/reports/build/${id}`;\n const openPreviewFn = () => window.open(previewUrl, \"_blank\");\n const editReportFn = () => window.open(editUrl, \"_blank\");\n const shareReportFn = () =>\n navigator.clipboard.writeText(previewUrl).then(() =>\n dispatch(\n setSnackbar({\n position: \"top\",\n show: true,\n text: \"Link copied\",\n schema: \"executed\",\n timeout: 3000,\n closeOnTimeout: () => dispatch(setSnackbar({ show: false })),\n }),\n ),\n );\n\n const dropdownLinks = [\n { key: \"edit\", onClick: editReportFn, icon: \"pencil\", text: \"Edit\" },\n { key: \"preview\", onClick: openPreviewFn, icon: \"eye\", text: \"Preview\" },\n { key: \"share\", onClick: shareReportFn, icon: \"link\", text: \"Copy Link\" },\n { key: \"delete\", onClick: deleteReportFn, icon: \"trash\", text: \"Delete\" },\n ];\n\n return (\n \n \n \n \n \n \n\n \n {dropdownLinks.map((link) => (\n \n \n {link.text}\n \n ))}\n \n \n );\n};\n\nCmaReportMenu.propTypes = {\n deleteReportFn: PropTypes.func,\n id: PropTypes.string,\n};\n\nCmaReportMenu.defaultProps = {\n deleteReportFn: null,\n id: null,\n};\n\nexport default CmaReportMenu;\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport moment from \"moment\";\nimport PropTypes from \"prop-types\";\nimport CmaReportMenu from \"./cmaReportMenu\";\n\nconst INLINE_DETAIL = \"tw-flex tw-overflow-ellipse tw-mb-[10px]\";\nconst LABEL_CLASS =\n \"tw-text-[12px] tw-text-neutral-gray-50 tw-font-semibold tw-w-[75px] tw-mr-[14px] tw-inline-block\";\nconst VALUE_CLASS = \"tw-text-[12px] tw-text-neutral-gray-75 tw-font-semibold tw-no-wrap tw-flex-1\";\n\nconst CmaReport = ({ id, name, location, last_viewed, view_count, created_at, deleteReportFn, cmaUrl }) => (\n
\n
\n \n {name}\n \n deleteReportFn(id)} />\n
\n
\n Address\n {location}\n
\n
\n Last Viewed\n {last_viewed ? moment(last_viewed).format(\"MM/DD/YY\") : \"N/A\"}\n
\n
\n Created\n {moment(created_at).format(\"MM/DD/YY\")}\n
\n
\n Total Views\n {view_count} views\n
\n
\n);\n\nCmaReport.propTypes = {\n id: PropTypes.string,\n name: PropTypes.string,\n location: PropTypes.string,\n view_count: PropTypes.number,\n last_viewed: PropTypes.string,\n created_at: PropTypes.string,\n cmaUrl: PropTypes.string,\n deleteReportFn: PropTypes.func,\n};\nCmaReport.defaultProps = {\n id: null,\n name: \"\",\n location: \"\",\n last_viewed: \"\",\n created_at: \"\",\n view_count: \"\",\n cmaUrl: \"\",\n deleteReportFn: null,\n};\n\nexport default CmaReport;\n","import React, { useState, useEffect } from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport CmaReport from \".\";\n\nfunction CmaReportPreview({\n deleteReportFn,\n modalIsOpen,\n person_status: personStatus,\n person_lead_type: personLeadType,\n person_address: personAddress,\n person_avatar: personAvatar,\n cmaUrl,\n person,\n onClose,\n}) {\n const [cmaReports, setCmaReports] = useState([]);\n\n const fetchCmaReports = () => {\n const { uuid } = person;\n axios.get(`/cma_reports?uuid=${uuid}`).then((res) => setCmaReports(res.data));\n };\n\n useEffect(() => {\n if (modalIsOpen) fetchCmaReports();\n else setCmaReports([]);\n }, [modalIsOpen]);\n\n const deleteReportFunc = (id) => {\n if (deleteReportFn(id)) {\n setCmaReports((prevState) => prevState.filter((r) => r.id !== id));\n } else {\n alert(\"Something went wrong...\");\n }\n };\n\n return (\n \n \n \n
\n \n
\n
\n \n {!person?.first_name && !person?.last_name\n ? \"No Name\"\n : `${person?.first_name} ${person?.last_name}`}\n \n {personLeadType &&\n personLeadType.split(\"/\").map((t) => (\n
\n {t}\n
\n ))}\n \n {personStatus}\n \n
\n {personAddress &&
{personAddress}
}\n
\n
\n
\n
\n {cmaReports?.map((report) => (\n
\n deleteReportFunc(id)}\n cmaUrl={cmaUrl}\n />\n
\n ))}\n
\n \n \n );\n}\n\nCmaReportPreview.propTypes = {\n deleteReportFn: PropTypes.func,\n modalIsOpen: PropTypes.bool,\n person_status: PropTypes.string,\n person_lead_type: PropTypes.string,\n person_address: PropTypes.string,\n person_avatar: PropTypes.string,\n cmaUrl: PropTypes.string,\n person: PropTypes.shape({\n uuid: PropTypes.string,\n first_name: PropTypes.string,\n last_name: PropTypes.string,\n }),\n openCmaReportModal: PropTypes.func,\n onClose: PropTypes.func,\n};\n\nCmaReportPreview.defaultProps = {\n deleteReportFn: null,\n modalIsOpen: false,\n person: {},\n openCmaReportModal: null,\n onClose: null,\n person_status: \"\",\n person_lead_type: \"\",\n person_address: \"\",\n person_avatar: \"\",\n cmaUrl: \"\",\n};\n\nexport default CmaReportPreview;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\nimport { useSelector } from \"react-redux\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { Popover, PopoverItem, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\nimport { EyeSolidV6, PlusSolidV6, TriangleExclamationSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport css from \"./person-detail-styles.module.css\";\nimport CmaReport from \"../../CmaReport\";\nimport CmaReportPreview from \"../../CmaReport/cmaReportPreview\";\nimport Loading from \"../../Goals/components/Loader\";\nimport CollapsibleElement from \"./CollapsibleElement\";\n\nconst getApiHeaders = () => ({\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n});\nconst cmaUrl = process.env.NODE_ENV === \"production\" ? \"www.brivitycma.com\" : \"www.staging.brivitycma.com\";\n\nconst useCmaReports = ({ person }) => {\n const [cmaReports, setCmaReports] = useState([]);\n const [isCmaReportModalOpen, setIsCmaReportModalOpen] = useState(false);\n\n useEffect(() => {\n if (person.data?.attributes.uuid) {\n axios\n .get(`/cma_reports?uuid=${person.data?.attributes.uuid}`, { headers: getApiHeaders() })\n .then(({ data }) => setCmaReports(data))\n // TODO: handle error\n .catch(console.log);\n }\n }, [person.data?.attributes.uuid]);\n\n return {\n actions: {\n deleteCmaReport: ({ id }) =>\n axios\n .delete(`/cma_reports/${id}`, { headers: getApiHeaders() })\n .then(() => setCmaReports((currentReports) => currentReports.filter((r) => r.id !== id)))\n .catch((err) => console.log(err)),\n toggleModal: (value) => setIsCmaReportModalOpen((o) => (typeof value === \"boolean\" ? value : !o)),\n },\n data: { cmaReports, isCmaReportModalOpen },\n };\n};\n\nconst CmaReports = ({ hasApprovedMls, loading }) => {\n const person = useSelector((state) => state.personDetail.person);\n const reportPreviewPerson = person.data?.attributes || {};\n\n const {\n actions,\n data: { isCmaReportModalOpen, cmaReports },\n } = useCmaReports({ person });\n\n const mostRecentReport = useMemo(() => {\n const viewedReports = cmaReports.filter((report) => report.last_viewed !== null);\n if (viewedReports.length > 1) {\n return viewedReports.sort((a, b) => new Date(b.last_viewed) - new Date(a.last_viewed))[0];\n }\n return cmaReports[0];\n }, [cmaReports]);\n\n const openLink = () => {\n window.open(\"https://www.brivityknowledge.com/v1/docs/en/set-upedit-your-cma-profile?highlight=cma%20profile\", \"_blank\");\n };\n\n return (\n \n \n \n \n \n } onClick={() => window.open(person.cma_links[0], \"_blank\")}>\n New CMA Report\n \n } onClick={() => window.open(person.cma_links[1], \"_blank\")}>\n View Report Status\n \n \n \n }\n >\n {!person.data && }\n
\n {!loading && (!hasApprovedMls || cmaReports.length === 0) ? (\n
\n {!loading && !hasApprovedMls && (\n \n \n
\n \n To start using CMA Reports, your CMA profile must be set up.\n
\n \n
\n
\n )}\n
\n Create a new Comparative Market Analysis to create a detailed report of the property.\n
\n
\n ) : (\n /* eslint-disable-next-line react/jsx-props-no-spreading */\n actions.deleteCmaReport({ id })}\n cmaUrl={cmaUrl}\n />\n )}\n\n {hasApprovedMls && cmaReports.length > 1 &&\n actions.toggleModal(true)}>VIEW ALL}\n\n actions.toggleModal(false)}\n person={reportPreviewPerson}\n person_status={person.data?.attributes.status}\n person_address={\n person.included\n ?.filter((i) => i.type === \"address\" && i.id !== null)\n .map((i) => `${i.attributes?.street_address}`)[0]\n }\n person_lead_type={person.data?.attributes.lead_type?.charAt(0)}\n person_avatar={person.data?.attributes.avatar_url}\n cmaUrl={cmaUrl}\n deleteReportFn={(id) => actions.deleteCmaReport({ id })}\n />\n
\n \n );\n};\n\nCmaReports.propTypes = {\n person: PropTypes.shape({\n status: PropTypes.string,\n display_a_street_address: PropTypes.string,\n person_lead_type: PropTypes.string,\n person_avatar: PropTypes.string,\n }),\n};\nCmaReports.defaultProps = {\n person: {},\n};\n\nexport default CmaReports;\n","import React from \"react\";\n\nconst CheckBox = ({ divClass, inputChecked, inputClass, inputName, label, labelClass, onUpdate }) => (\n
\n \n
\n);\n\nexport default CheckBox;\n","import React, { Component } from \"react\";\nimport { Col } from \"../../shared/v1\";\nimport Tooltip from \"../../shared/v2/Tooltip\";\n\nexport default class TaskSettings extends Component {\n recurringTooltip = () => {\n const { task } = this.props;\n return task.recurring ? \"This task is recurring\" : \"This is a one time task\";\n };\n\n visibleTooltip = () => {\n const { task } = this.props;\n if (task.taskable_type == \"Person\") {\n return \"Hidden from viewers\";\n } else {\n return task.externally_visible ? \"Visible to viewers\" : \"Hidden from viewers\";\n }\n };\n\n noteTooltip = () => {\n const { task } = this.props;\n return task.note ? \"Has a note\" : \"Does not have a note\";\n };\n\n instructionsTooltip = () => {\n const { task } = this.props;\n return task.instructions ? \"Has instructions\" : \"Does not have instructions\";\n };\n\n iconMute = (prop) => {\n return prop ? \"\" : \"tw-text-gray\";\n };\n\n eyeOrSlash = () => {\n const { task } = this.props;\n if (task.taskable_type == \"Person\") {\n return \"fa-eye-slash\";\n } else {\n return task.externally_visible ? \"fa-eye\" : \"fa-eye-slash\";\n }\n };\n\n render() {\n const { task, col_size } = this.props;\n const { recurring, externally_visible, note, instructions } = task;\n return (\n \n
\n
\n }\n content={this.recurringTooltip()}\n />\n \n }\n content={this.visibleTooltip()}\n />\n }\n content={this.noteTooltip()}\n />\n }\n content={this.instructionsTooltip()}\n />\n
\n
\n \n );\n }\n}\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Pluralize from \"react-pluralize\";\nimport { Row, Col } from \"react-bootstrap\";\nimport CheckBox from \"../../../shared/CheckBox\";\nimport ProfileIcon from \"../../../shared/ProfileIcon\";\nimport Moment from \"react-moment\";\nimport * as TaskHelpers from \"../TaskIndexModalHelpers\";\nimport TaskSettings from \"../TaskSettings\";\nimport capitalize from \"capitalize\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst defaultTask = {\n name: \"\",\n id: 0,\n priority: null,\n visibility: \"\",\n instructions: \"\",\n note: \"\",\n assigned_to_user_id: \"\",\n contingency_rule: {},\n contingency_event_and_type: [],\n taskable_id: \"\",\n taskable_type: \"\",\n taskable_name: \"\",\n contingent: false,\n recurring: false,\n showInstructions: false,\n showNotes: false,\n};\n\nexport default class Task extends Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n task: props.task,\n user: props.user,\n agents: props.agents,\n multiSelectWatcher: props.multiSelectWatcher,\n };\n this.multiSelectWatcher = this.props.multiSelectWatcher.bind(this);\n this.swapForDelete = TaskHelpers.swapForDelete.bind(this);\n this.showModal = TaskHelpers.showModal.bind(this);\n this.closeModal = TaskHelpers.closeModal.bind(this);\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this);\n this.handleMultiSelect = TaskHelpers.handleMultiSelect.bind(this);\n this.showModalComplete = TaskHelpers.showModalComplete.bind(this);\n this.showDetailModal = TaskHelpers.showDetailModal.bind(this);\n this.closeDetailModal = TaskHelpers.closeDetailModal.bind(this);\n this.swapModals = TaskHelpers.swapModals.bind(this);\n this.showDeleteModal = TaskHelpers.showDeleteModal.bind(this);\n this.closeDeleteModal = TaskHelpers.closeDeleteModal.bind(this);\n this.handleRecurrence = TaskHelpers.handleRecurrence.bind(this);\n this.handleAssignedToUser = TaskHelpers.handleAssignedToUser.bind(this);\n this.completeTask = TaskHelpers.completeTask.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n this.renderDeleteModal = TaskHelpers.renderDeleteModal.bind(this);\n this.renderDetailModal = TaskHelpers.renderDetailModal.bind(this);\n this.deleteTask = TaskHelpers.deleteTask.bind(this);\n this.renderModal = TaskHelpers.renderModal.bind(this);\n this.taskMultiSelect = TaskHelpers.taskMultiSelect.bind(this);\n this.showReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.renderReassignModal = TaskHelpers.renderReassignModal.bind(this);\n this.closeReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.setAgentsForModal = TaskHelpers.setAgentsForModal.bind(this);\n this.handleState = TaskHelpers.handleState.bind(this);\n this.handleRescheduleDate = TaskHelpers.handleRescheduleDate.bind(this);\n this.getTasks = this.props.getTasks.bind(this);\n this.weeklyOptions = TaskHelpers.weeklyOptions.bind(this);\n this.replaceURLWithHTMLLinks = TaskHelpers.replaceURLWithHTMLLinks.bind(this);\n this.completeAndEditAppointment = TaskHelpers.completeAndEditAppointment.bind(this);\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState({ ...this.state, ...nextProps });\n }\n\n toggleInstructions() {\n var task = { ...this.state.task };\n task[\"showInstructions\"] = !task[\"showInstructions\"];\n this.setState({ task });\n }\n\n onUpdateTaskTypeChecker = (e) => {\n if (this.state.task.type === \"Appointment\") {\n this.completeAndEditAppointment();\n } else this.handleTaskChange(e);\n };\n\n editMute = () => {\n return this.props.agent ? \"\" : \"text-mute\";\n };\n\n milestoneOptions = () => {\n const { accountMilestoneNames } = this.props;\n\n const personNames = accountMilestoneNames[\"Person\"];\n const listingNames = accountMilestoneNames[\"Listing\"];\n const projectNames = accountMilestoneNames[\"Project\"];\n\n const allNamesArray = personNames.concat(listingNames).concat(projectNames);\n\n let allNamesObject = {};\n\n allNamesArray.forEach((name) => {\n allNamesObject[name] = name\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n });\n\n return allNamesObject;\n };\n\n render() {\n var user = this.state.user;\n var task = this.state.task;\n return (\n \n \n
\n \n {/* check box select */}\n \n {!this.props.agent && (\n \n )}\n {this.props.agent && (\n this.props.editTask({ ...task, state: 'completed' })\n }\n />\n )}\n \n\n {/* Task name or link to Agent */}\n \n {!this.props.agent && (\n
\n {task.assigned_plan_id && (\n \n \n \n )}\n {task.name}\n
\n
\n )}\n {this.props.agent && (\n
\n {task.assigned_plan_id && (\n \n \n \n )}\n this.props.showTaskDetails(task)} className=\"no-underline\">\n {\" \"}\n {task.name}{\" \"}\n \n
\n
\n )}\n \n \n
\n \n\n {/* Task Date */}\n \n {task.state == \"completed\" && (\n
\n \n
\n )}\n {task.state != \"completed\" && (\n
\n {task.calculated_due_on ? : \"TBD\"}\n
\n )}\n \n\n \n {this.props.agent && (\n \n {task.priority && }\n {!task.priority && }\n \n )}\n \n\n {/* Person image or default */}\n \n {task.state == \"completed\" && }\n {task.state != \"completed\" && task.assigned_to_user_id && (\n \n )}\n {task.assigned_to_user_id == null && task.completed_by_user_id == null && (\n } content=\"Anyone\" />\n )}\n \n\n {/* Task Settings */}\n {this.props.agent && }\n\n {/* Task Edit */}\n \n {this.props.agent && (\n \n )}\n \n\n {/* Multi-select */}\n \n {this.props.agent && (\n \n )}\n \n \n );\n }\n}\n\nTask.propTypes = {\n task: PropTypes.object.isRequired,\n user: PropTypes.object.isRequired,\n};\n\nTask.defaultProps = {\n task: {},\n user: { name: \"No Name\" },\n nameColumnClass: \"task-column\",\n taskCssStyle: \"task\",\n};\n","import React, {Component} from 'react';\nimport { OverlayTrigger, Tooltip, Popover } from 'react-bootstrap'\nimport ReactDOM from 'react-dom';\n\nexport default class SelectAll extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n ...this.props\n }\n }\n\n componentWillReceiveProps(nextProps){\n this.setState({...this.state, ...nextProps})\n }\n\n render() {\n const { showSelectAll } = this.state;\n\n return (\n !!showSelectAll &&\n )}>\n \n \n \n \n \n \n All on Page\n \n \n
\n \n \n \n \n \n None\n \n \n
\n
\n \n )\n }\n}\n","import React from 'react';\n\nconst PreviousPageLink = ({ prevPage, onClick }) => {\n const leftArrow = ;\n\n if (prevPage) { \n return (\n onClick(prevPage)}>\n { leftArrow } Previous\n \n );\n }\n return { leftArrow } Previous;\n};\n\nconst PageLinks = ({ totalPages, currentPage, onClick }) => {\n const range = 4;\n\n const pageGap = (key) => ...;\n\n const pageLink = (pageNumber) => {\n const key = `pagination-${pageNumber}`;\n\n if (pageNumber === currentPage){\n return {pageNumber} \n }\n\n return onClick(pageNumber)}>{pageNumber} \n };\n\n const leftPages = (currentPage > range) ?\n [pageLink(1), pageLink(2), pageGap(totalPages + 1)] : [];\n\n const rightPages = ((totalPages - currentPage) > range ) ?\n [pageGap(totalPages + 2), pageLink(totalPages - 1), pageLink(totalPages)] : [];\n \n const start = Math.max(currentPage - range, 0);\n\n const end = Math.min(currentPage + range, totalPages);\n\n const centerPageRange = [...Array.from(new Array(end - start),(val,index)=>index+start)];\n\n const centerPages = centerPageRange.map(i => { return pageLink(i + 1) });\n\n return leftPages.concat(centerPages).concat(rightPages);\n}\n\nconst NextPageLink = ({ nextPage, onClick }) => {\n const rightArrow = \n\n if(nextPage){\n return (\n onClick(nextPage)}>\n Next {rightArrow}\n \n );\n }\n\n return Next {rightArrow};\n}\n\nconst Pagination = ({\n currentPage,\n nextPage,\n prevPage,\n totalPages,\n totalCount,\n onGoToPage\n}) => {\n const handleGoToPage = (pageNum) => {\n pageNum && onGoToPage && onGoToPage(pageNum);\n }\n\n return (\n
\n \n { \" \" }\n \n { \" \" }\n \n
\n )\n}\n\nexport default Pagination;\n","// extracted by mini-css-extract-plugin\nexport default {\"type\":\"t2opuN52SFf0KnF1FTdG\",\"name\":\"krOlH6n83O8WUs5grcQw\",\"assignedPlanApplied\":\"uHcLK4AGP5n2F97uDyru\",\"taskHeader\":\"IKwRGSnsKP9jaluppNiw\"};","import React, { Component } from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport Task from \"./Task\"; //need to implement this using code from PolymorphicTask\nimport axios from \"axios\";\nimport SelectAll from \"../../../shared/SelectAll\";\nimport Pagination from \"../../../shared/Pagination\";\nimport * as TaskHelpers from \"../TaskIndexModalHelpers\";\nimport button from \"../../../PersonDetail/components/button.module.css\";\nimport tasks from \"../../../PersonDetail/components/tasks/tasks.module.css\";\n\nexport default class Grid extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n user: props.user,\n tasks: [],\n taskable: props.taskable,\n account: props.account,\n pagination: {},\n page: props.page || 1,\n showButtons: false,\n showSelectAll: false,\n selectNone: false,\n selectAll: false,\n header_buttons: false,\n incomplete_buttons: false,\n showDeleteModal: false,\n assigned_to_user_id: \"anyone\",\n reschedule_date: moment(),\n selectAllTarget: null,\n };\n\n this.multiSelectWatcher = TaskHelpers.multiSelectWatcher.bind(this);\n this.selectAll = TaskHelpers.selectAll.bind(this);\n this.selectNone = TaskHelpers.selectNone.bind(this);\n this.taskMultiSelect = TaskHelpers.taskMultiSelect.bind(this);\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this);\n this.handleState = TaskHelpers.handleState.bind(this);\n this.handleRescheduleDate = TaskHelpers.handleRescheduleDate.bind(this);\n\n this.selectedTasks = TaskHelpers.selectedTasks.bind(this);\n this.setAgentsForModal = TaskHelpers.setAgentsForModal.bind(this);\n\n this.uncompleteTasks = TaskHelpers.uncompleteTasks.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n\n this.completeTasks = TaskHelpers.completeTasks.bind(this);\n this.completeTask = TaskHelpers.completeTask.bind(this);\n\n this.rescheduleTasks = TaskHelpers.rescheduleTasks.bind(this);\n this.rescheduleTask = TaskHelpers.rescheduleTask.bind(this);\n\n this.updateTask = TaskHelpers.updateTask.bind(this);\n this.handleGotoPage = this.handleGotoPage.bind(this);\n\n this.showSelectAllPopover = TaskHelpers.showSelectAllPopover.bind(this);\n this.closeSelectAllPopover = TaskHelpers.closeSelectAllPopover.bind(this);\n }\n\n getTasks = () => {\n let { page } = this.state;\n axios({\n method: \"get\",\n url: `/tasks/taskable_index?id=${this.props.taskable.uuid}&scopes=${this.props.scopes}`,\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n params: {\n page: page,\n },\n }).then((response) => {\n let { meta, tasks } = response.data;\n this.setState({ ...this.state, ...{ tasks: tasks, pagination: meta } });\n });\n };\n\n componentWillReceiveProps = (nextProps) => {\n this.multiSelectWatcher();\n };\n\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n\n componentDidMount() {\n this.getTasks();\n const TASK_LISTENER = \"task:polymorphic_count_change\";\n window.addEventListener(TASK_LISTENER, this.onEvent);\n window.addEventListener(\"task:update\", this.onEvent);\n }\n\n componentWillUnmount() {\n const TASK_LISTENER = \"task:polymorphic_count_change\";\n window.removeEventListener(TASK_LISTENER, this.onEvent);\n window.removeEventListener(\"task:update\", this.onEvent);\n }\n\n onEvent = () => {\n this.getTasks();\n };\n\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n\n filteredTasks = () => {\n return {\n incomplete: this.state.tasks,\n completed: this.state.tasks,\n contingent: this.state.tasks,\n };\n };\n\n handleGotoPage(newPage) {\n this.setState({ page: newPage }, this.getTasks);\n }\n\n showReassignModal = () => {\n this.props.showReassignModal({\n selectedTasks: this.selectedTasks(),\n assignedToUserId: this.state.assigned_to_user_id,\n agentsOptions: this.setAgentsForModal(),\n form: this.state,\n });\n };\n\n showRescheduleModal = () => {\n this.props.showRescheduleModal({\n selectedTasks: this.selectedTasks(),\n });\n };\n\n showDeleteModal = (task) => {\n this.props.showDeleteModal({\n selectedTasks: task ? [task] : this.selectedTasks(),\n });\n };\n\n render() {\n let { pagination } = this.state;\n return (\n
\n \n \n \n \n
{this.props.duenessTitle}
\n \n \n
Date
\n \n \n
\n {this.props.agent && \"Priority\"}\n {!this.props.agent && \"\\u00A0\"}\n
\n \n \n
Who
\n \n
\n \n
\n {this.props.agent && \"Settings\"}\n {!this.props.agent && \"\\u00A0\"}\n
\n \n {this.props.agent && (\n \n
Edit
\n \n )}\n {!this.props.agent && (\n \n
{\"\\u00A0\"}
\n \n )}\n {this.props.agent && (\n \n \n this.state.tasks && this.showSelectAllPopover(e)}\n id={\"all-incomplete-tasks-dropdown-toggle\"}\n className={\"btn btn-secondary select-task-button\"}\n >\n
\n SELECT\n \n
\n \n \n )}\n {!this.props.agent && (\n \n
 
\n \n )}\n
\n
\n \n \n {!this.state.header_buttons &&  }\n {this.props.multiSelectButtons && this.state.header_buttons && (\n \n \n \n \n Complete\n \n \n this.showDeleteModal(this.props.task)}\n className={`${button.btn} ${button.btnLg} ${button.btnDanger} m-l-5 delete`}\n >\n \n \n Delete\n \n \n \n \n \n Reschedule\n \n \n \n \n \n Reassign\n \n \n \n )}\n {this.props.uncomplete && this.state.header_buttons && (\n \n \n \n \n Un-complete\n \n \n \n )}\n \n \n
\n
\n \n \n
\n {this.state.tasks &&\n this.filteredTasks()[this.props.dueness].map((task) => (\n \n ))}\n
\n {pagination.total_count > 35 && pagination && (\n
\n
\n \n
\n
\n )}\n
\n );\n }\n}\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Grid from \"./Grid\";\n\nexport default class Tasks extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n user: props.user,\n target: null,\n toggleLoader: false,\n };\n }\n\n toggleTaskLoader = (isLoading) => {\n this.setState({ toggleLoader: isLoading });\n };\n\n render() {\n const {\n account,\n accountMilestoneNames,\n agent,\n agents,\n editTask,\n showTaskDetails,\n showDeleteModal,\n showReassignModal,\n showRescheduleModal,\n taskable,\n } = this.props;\n\n return (\n
\n \n \n \n
\n );\n }\n}\n\nTasks.propTypes = {\n user: PropTypes.object.isRequired,\n};\n\nTasks.defaultProps = {\n tasks: [],\n user: { name: \"No Name\" },\n pagination: {},\n};\n","import React from \"react\";\nimport { Col, Modal, Row } from \"react-bootstrap\";\nimport modal from \"../modal.module.css\";\nimport button from \"../button.module.css\";\nimport Tasks from \"../../../Tasks/components/People/Tasks\";\n\nconst ViewAllTasksModal = (props) => {\n const {\n account,\n accountMilestoneNames,\n allAgents,\n editTaskFromViewAll,\n isAgent,\n onClose,\n person,\n showReassignModal,\n showRescheduleModal,\n showDeleteModal,\n showTaskDetails,\n taskFromViewAll,\n user,\n } = props;\n\n return (\n \n \n \n \n \n Tasks\n \n \n
\n \n Create New Task\n \n \n \n
\n \n
\n
\n
\n \n
\n \n
\n \n \n \n \n Done\n \n \n \n
\n
\n );\n};\n\nexport default ViewAllTasksModal;\n","import React, { Component } from \"react\";\nimport Moment from \"react-moment\";\nimport CheckBox from \"../../../shared/CheckBox\";\nimport axios from \"axios\";\nimport tasks from \"./tasks.module.css\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nclass CardTask extends Component {\n constructor(props) {\n super(props);\n this.state = {\n task: props.task,\n image: undefined,\n };\n }\n\n componentDidMount() {\n this.getAgentImage();\n }\n\n componentDidUpdate(previousProps) {\n if (previousProps.task.assigned_to_user_id != this.props.task.assigned_to_user_id) {\n this.getAgentImage();\n }\n }\n\n getAgentImage = () => {\n axios\n .get(`/profile_icon?id=${this.props.task.assigned_to_user_id}`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n this.setState({\n image: { link: response.data.link, name: response.data.name, initials: response.data.initials },\n });\n })\n .catch((response) => {\n console.log(\"no assigned\");\n });\n };\n\n displayAgentImage = () => {\n if (this.props.task.assigned_to_user_id) {\n const { image } = this.state;\n\n return (\n
\n {image.link && (\n }\n content={image.name}\n />\n )}\n {image.initials && (\n {image.initials}}\n content={image.name}\n />\n )}\n
\n );\n }\n return (\n }\n content=\"Anyone\"\n />\n );\n };\n\n taskClass = (task) => {\n switch (task.dueness) {\n case \"overdue\":\n return \"text-danger\";\n case \"due_today\":\n return \"text-warning\";\n case \"upcoming\":\n return \"text-info\";\n }\n };\n\n handleTaskChange = (e) => {\n const { task } = this.state;\n const key = e.target.name;\n\n task[\"state\"] = \"completed\";\n this.setState({ task });\n\n if (key == \"complete\" && task[\"state\"] == \"completed\" && task[\"type\"] !== \"Appointment\") {\n this.props.completeTask(task);\n }\n if (key == \"complete\" && task[\"state\"] == \"completed\" && task[\"type\"] === \"Appointment\") {\n this.props.editTask(task);\n }\n };\n\n isChecked = () => (this.state.task.state === \"completed\" ? \"checked\" : \"unchecked\");\n\n render() {\n const task = this.props.task;\n\n return (\n
\n
\n \n
\n {task.assigned_plan_id && (\n \n \n \n )}\n \n
\n {task.type} -{\" \"}\n {task.calculated_due_on ? : \"TBD\"}\n
\n
\n
\n
\n {this.state.image && this.displayAgentImage()}\n
\n );\n }\n}\n\nexport default CardTask;\n","import React from \"react\";\nimport axios from \"axios\";\nimport _ from \"lodash\";\nimport capitalize from \"capitalize\";\nimport TaskForm from \"./TaskForm\";\nimport * as TaskHelpers from \"./TaskIndexModalHelpers\";\nimport buttons from \"../../PersonDetail/components/button.module.css\";\nconst defaultTask = {\n name: \"\",\n id: null,\n priority: 9,\n visibility: \"\",\n instructions: \"\",\n account_id: \"\",\n note: \"\",\n assigned_to_user_id: \"\",\n contingency_rule: {},\n contingency_event_and_type: [],\n taskable_id: \"\",\n taskable_type: \"\",\n taskable_name: \"\",\n appointment_type: \"\",\n outcome: \"\",\n location: \"\",\n externally_visible: false,\n contingent: false,\n recurring: false,\n showInstructions: false,\n showNotes: false,\n completed: false,\n user_id: \"\",\n};\n\nclass PersonTaskForm extends React.Component {\n constructor(props) {\n super(props);\n const task = props.task || {};\n const taskable = props.taskable || {};\n defaultTask.taskable_id = taskable.uuid || \"\";\n defaultTask.taskable_type = taskable.taskable_type || \"\";\n defaultTask.taskable_name = taskable.task_name || \"\";\n defaultTask.appointment_type = taskable.appointment_type || null;\n defaultTask.showInstructions = task.instructions;\n defaultTask.showNotes = task.note;\n defaultTask.contingent = task.contingent || false;\n defaultTask.recurring = task.recurring || false;\n defaultTask.scheduled_time = moment().add(1, \"hours\").startOf(\"hour\").unix();\n defaultTask.due_on = moment().format(\"YYYY-MM-DD\");\n defaultTask.location = taskable.location || \"\";\n defaultTask.user_id = taskable.user_id || \"\";\n const task_prop = props.task;\n const default_priority = (task_prop && task_prop.priority) || 9;\n const assignedToUserId =\n task_prop.assigned_to_user_id !== undefined ? task_prop.assigned_to_user_id : this.props.user.uuid;\n this.state = {\n task: {\n ...defaultTask,\n ...task_prop,\n priority: default_priority,\n account_id: props.account_uuid,\n assigned_to_user_id: assignedToUserId,\n },\n showRecurring: defaultTask.recurring,\n showContingency: defaultTask.contingent,\n showDue: !task.contingent,\n disabledButton: false,\n };\n\n this.toggleInstructions = this.toggleInstructions.bind(this);\n this.toggleNotes = this.toggleNotes.bind(this);\n this.toggleContingent = this.toggleContingent.bind(this);\n this.toggleRecurring = this.toggleRecurring.bind(this);\n this.focusTextInput = this.focusTextInput.bind(this);\n\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this);\n this.handleRecurrence = TaskHelpers.handleRecurrence.bind(this);\n this.handleMultiSelect = TaskHelpers.handleMultiSelect.bind(this);\n this.completeTask = TaskHelpers.completeTask.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n this.visibilityOptions = this.visibilityOptions.bind(this);\n }\n\n handleContingencyRuleChange = (e) => {\n let { contingency_rule } = this.state.task;\n contingency_rule[e.target.name] = e.target.value;\n this.setState({\n ...this.state,\n ...{ task: { ...this.state.task, ...contingency_rule } },\n });\n };\n\n toggleInstructions() {\n var task = { ...this.state.task };\n task[\"showInstructions\"] = !task[\"showInstructions\"];\n task.instructions = null;\n this.setState({ task });\n }\n\n toggleNotes() {\n var task = { ...this.state.task };\n task[\"showNotes\"] = !task[\"showNotes\"];\n task.note = null;\n this.setState({ task });\n }\n\n toggleContingent = () => {\n this.setState(\n (prevState) => ({\n showContingency: !prevState.showContingency,\n showDue: !prevState.showDue,\n }),\n () => this.makeTaskContingent(),\n );\n };\n\n toggleRecurring = () => {\n this.setState(\n (prevState) => ({ showRecurring: !prevState.showRecurring }),\n () => this.makeTaskRecurring(),\n );\n };\n\n makeTaskContingent = () => {\n var task = { ...this.state.task };\n task[\"contingent\"] = this.state.showContingency;\n this.setState({ task });\n };\n\n makeTaskRecurring = () => {\n var task = { ...this.state.task };\n task[\"recurring\"] = this.state.showRecurring;\n this.setState({ task });\n };\n\n focusTextInput() {\n this.textInput.focus();\n }\n\n taskableOptions = (taskable_type) => {\n let task_options_for_taskable = this.taskableOptionsHash()[taskable_type];\n if (\n this.state.task.contingency_event_and_type.length == 0 ||\n this.state.task.contingency_event_and_type[0] == \"milestone\"\n ) {\n return task_options_for_taskable;\n } else {\n let current_contingent_event = [\n {\n value: this.state.task.contingency_event_and_type.join(\"-\"),\n label: _.startCase(\n this.state.task.parent_task_name || this.state.task.contingency_event_and_type[1],\n ),\n },\n ];\n\n return current_contingent_event.concat(task_options_for_taskable);\n }\n };\n\n taskableOptionsHash = () => {\n return {\n Person: this.milestonableMilestoneOptions(this.props.accountMilestoneNames[\"Person\"]),\n Listing: this.milestonableMilestoneOptions(this.props.accountMilestoneNames[\"Listing\"]),\n Project: this.milestonableMilestoneOptions(this.props.accountMilestoneNames[\"Project\"]),\n };\n };\n\n milestonableMilestoneOptions = (milestones) => {\n let array = [];\n\n milestones.forEach(function (milestone) {\n array.push({\n value: `milestone-${milestone}`,\n label: milestone\n .split(\"_\")\n .map((element) => {\n return capitalize(element);\n })\n .join(\" \"),\n });\n });\n\n return array;\n };\n\n taskTypeOptions() {\n const taskTypes = [\"To-Do\", \"Call\", \"Text\", \"Email\", \"Appointment\", \"Mail\", \"Social Media\", \"Door Knock\"];\n return taskTypes.map(function (taskType) {\n return { value: taskType, label: taskType };\n });\n }\n\n visibilityOptions() {\n return [\n {\n value: false,\n label: (\n
\n \n Hidden from Viewers\n
\n ),\n },\n {\n value: true,\n label: (\n
\n \n Visible to Viewers\n
\n ),\n },\n ];\n }\n\n taskForWatcher = (result) => {\n this.setState({\n task: {\n ...this.state.task,\n taskable_type: result.object_type,\n taskable_id: result.uuid,\n },\n });\n };\n\n priorityselectionclass = (priority, value) => {\n if (priority == value) {\n return \"fa fa-dot-circle-o brivity-blue\";\n } else {\n return \"brivity-grey-text fa fa-circle-thin\";\n }\n };\n\n taskPriorityWatcher = (priority) => {\n this.setState({ task: { ...this.state.task, priority: priority } });\n };\n\n showContingencyButton = () => {\n let text = \"\";\n let classes = \"\";\n if (this.state.showContingency) {\n text = \"Select Specific Date\";\n classes = \"fa fa-calendar\";\n } else {\n text = \"Make Contingent\";\n classes = \"fa fa-magnet\";\n }\n\n return (\n \n {text}\n \n \n );\n };\n\n showRecurringButton = () => {\n let text = \"\";\n let classes = \"\";\n if (this.state.showRecurring) {\n text = \"Stop Recurrence\";\n classes = \"fa fa-refresh\";\n } else {\n text = \"Make Recurring\";\n classes = \"fa fa-refresh\";\n }\n\n return (\n \n {text}\n \n \n );\n };\n\n notesOrInstructionsClass = () => {\n const task = this.state.task;\n return task.showInstructions || task.showNotes ? \"\" : \"form-group\";\n };\n\n submitButton = () => (this.state.task.id ? \"SAVE\" : \"CREATE\");\n\n render() {\n const { task } = this.state;\n const { contactEmail } = this.props;\n return (\n \n );\n }\n}\n\nexport default PersonTaskForm;\n","import React, { Component } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport PersonTaskForm from \"../../../Tasks/components/PersonTaskForm\";\nimport HeaderTitle from \"../modals/HeaderTitle\";\n\nclass TaskModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n task: { ...props.task },\n error_messages: undefined,\n };\n }\n\n setAgentsForModal = () => {\n const agents = [];\n for (const obj in this.props.agents) {\n const agent = this.props.agents[obj];\n agents.push({ label: agent.full_name, value: agent.uuid, email: agent.email });\n }\n return agents;\n };\n\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n\n handleModalClose = () => {\n this.props.closeTaskModal();\n };\n\n taskTitle = () => {\n switch (true) {\n case this.state.task.id !== undefined:\n return `Edit task for ${this.state.task.taskable_name}`;\n\n case this.props.isAppointment:\n return \"New Appointment\";\n default:\n return \"New Task\";\n }\n };\n\n render() {\n const default_agents = [{ label: \"Anyone\", value: \"anyone\" }];\n const { task } = this.state;\n const { contactEmail } = this.props;\n return (\n
\n \n \n \n \n \n \n \n \n
\n );\n }\n}\n\nexport default TaskModal;\n","import React from 'react';\nimport { Col, Row, Modal } from 'react-bootstrap'\nimport buttons from '../../../PersonDetail/components/button.module.css';\n\nconst Delete = (props) => {\n const { closeModal, deleteTasksHandler, submitDisabled } = props\n\n return (\n \n \n \n \n \n
\n Are you sure?\n
\n \n \n
\n
\n
\n \n \n \n Fair warning: unlike archiving a person, deleting a Task is forever. Your client won't be able to see that you deleted it, but they won't see if you did it, either.\n \n \n \n \n \n Cancel\n \n \n Yes. Delete\n \n \n
\n );\n};\n\nexport default Delete;\n","import React from \"react\";\nimport { Col, Row, Modal } from \"react-bootstrap\";\nimport { Dropdown } from \"../../../shared/v1\";\nimport buttons from \"../../../PersonDetail/components/button.module.css\";\nimport forms from \"../../../PersonDetail/components/form.module.css\";\n\nconst Reassign = (props) => {\n const {\n agentsOptions,\n assignedToUserId,\n closeModal,\n dropdownUpdater,\n reassignTasksHandler,\n submitDisabled,\n taskCount,\n } = props;\n const default_agents = [{ label: \"Anyone\", value: \"anyone\" }];\n\n return (\n \n \n \n \n \n
\n Do you really want to reassign {taskCount} {taskCount > 1 ? \"tasks\" : \"task\"}?\n
\n \n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n Cancel\n \n \n Reassign\n \n \n
\n );\n};\n\nexport default Reassign;\n","import React from 'react';\nimport { Col, Row, Modal } from 'react-bootstrap'\nimport DatePicker from '../../../shared/DatePicker';\nimport buttons from '../../../PersonDetail/components/button.module.css';\n\nconst Reschedule = (props) => {\n const { closeModal, rescheduleDate, rescheduleDateHandler, rescheduleTasksHandler, submitDisabled, taskCount } = props\n\n return (\n \n \n \n \n \n
\n Hey! You're about to reschedule {taskCount} { taskCount > 1 ? 'tasks' : 'task' }!\n
\n \n \n
\n
\n
\n \n \n \n

\n Don't worry, your client doesn't see when you reschedule something. Select how far you want to move these dates around.\n

\n \n
\n \n \n \n \n \n
\n \n \n Cancel\n \n \n Reschedule\n \n \n
\n );\n};\n\nexport default Reschedule;\n","import React, { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport cards from \"../cards.module.css\";\nimport colors from \"../colors.module.css\";\nimport ViewAllTasksModal from \"../modals/ViewAllTasksModal\";\nimport CardTask from \"./CardTask\";\nimport TaskModal from \"./TaskModal\";\nimport css from \"../person-detail-styles.module.css\";\nimport Delete from \"../../../Tasks/components/People/Delete\";\nimport Details from \"./Details\";\nimport Reassign from \"../../../Tasks/components/People/Reassign\";\nimport Reschedule from \"../../../Tasks/components/People/Reschedule\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst initialMassActionModalState = {\n agentsOptions: undefined,\n assignedToUserId: undefined,\n dropdownUpdater: undefined,\n form: undefined,\n reassignTasksHandler: undefined,\n rescheduleDate: undefined,\n submitDisabled: false,\n selectedTasks: undefined,\n showDeleteModal: false,\n showReassignModal: false,\n showRescheduleModal: false,\n tasksUpdated: 0,\n};\n\nconst CardTasks = ({ allAgents, accountMilestoneNames, setOpenAddAgreementModal }) => {\n const dispatch = useDispatch();\n const [state, _setState] = useState({\n ...initialMassActionModalState,\n viewAlltasks: false,\n viewDetails: false,\n selectedTask: undefined,\n });\n const setState = (newState) =>\n _setState((prevState) => ({\n ...prevState,\n ...(typeof newState === \"function\" ? newState(prevState) : newState),\n }));\n const currentUser = useCurrentUser();\n const person = useSelector((state) => state.personDetail.person);\n const taskModalOpen = useSelector((state) => state.personDetail.taskModalOpen);\n const incompleteTasks = useSelector((state) => state.personDetail.tasks);\n const allTaskCount = useSelector((state) => state.personDetail.allTaskCount);\n\n const getTasks = (personUuid) => dispatch(actions.getTasks(personUuid));\n const openTaskModal = () => dispatch(actions.openTaskModal());\n const closeTaskModalAction = () => dispatch(actions.closeTaskModal());\n const updateCardTasks = (task) => dispatch(actions.updateCardTasks(task));\n\n useEffect(() => {\n if (person.data?.attributes.uuid) getTasks(person.data.attributes.uuid);\n }, [person.data?.attributes.uuid]);\n\n const openTasksModal = () => {\n setState({ viewAlltasks: true });\n };\n\n const closeViewAllTasksModal = () => {\n setState({ viewAlltasks: false });\n };\n\n const taskFromViewAll = () => {\n openTaskModal();\n };\n\n const showTaskDetails = (task) => setState({ viewDetails: true, selectedTask: task });\n\n const closeTaskDetails = () => setState({ viewDetails: false, selectedTask: undefined });\n\n const editTask = (task) => {\n setState({ viewDetails: false, selectedTask: task });\n openTaskModal();\n };\n\n const editAndComplete = (task) => {\n task[\"state\"] = \"completed\";\n setState({ viewDetails: false, selectedTask: task, task });\n openTaskModal();\n };\n\n const closeTaskModal = () => {\n setState({ selectedTask: undefined });\n closeTaskModalAction();\n };\n\n const updateQuickViewTask = (taskToUpdate) => {\n updateCardTasks(taskToUpdate);\n };\n\n const completeTask = (task) => {\n const formData = Object.assign({}, task);\n axios\n .patch(`/tasks/${task.id}/complete`, {\n task: formData,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n getTasks(task.taskable_id);\n })\n .catch((error) => {\n console.log(error);\n });\n };\n\n const completeTaskFromDetails = (task) => {\n closeTaskDetails();\n completeTask(task);\n };\n\n const editTaskFromViewAll = (task) => {\n setState({ selectedTask: task });\n openTaskModal();\n };\n\n const showReassignModal = ({ agentsOptions, assignedToUserId, form, selectedTasks }) => {\n setState({\n agentsOptions,\n assignedToUserId,\n form,\n selectedTasks,\n viewAlltasks: false,\n showReassignModal: true,\n });\n };\n\n const closeReassignModal = () => {\n setState({ ...initialMassActionModalState });\n openTasksModal();\n };\n\n const reassignAgent = (e) => {\n setState({ assignedToUserId: e.target.value });\n };\n\n const reassignTasks = () => {\n state.selectedTasks.forEach((task) => {\n task.assigned_to_user_id = state.assignedToUserId;\n if (task.assigned_to_user_id == \"anyone\") {\n task.assigned_to_user_id = null;\n }\n updateTask(task);\n });\n };\n\n const showRescheduleModal = ({ selectedTasks }) => {\n setState({\n selectedTasks,\n viewAlltasks: false,\n showRescheduleModal: true,\n });\n };\n\n const closeRescheduleModal = () => {\n setState({ ...initialMassActionModalState });\n openTasksModal();\n };\n\n const handleRescheduleDate = (e) => {\n setState({ rescheduleDate: moment(e).format(\"YYYY-MM-DD\") });\n };\n\n const rescheduleTasks = () => {\n state.selectedTasks.forEach((task) => {\n task.due_on = state.rescheduleDate;\n updateTask(task);\n });\n };\n\n const updateTask = (task) => {\n const task_path = `/tasks/${task.id}`;\n let formData = { ...task };\n setState({ submitDisabled: true });\n\n axios\n .patch(task_path, { task: formData, authenticity_token: ReactOnRails.authenticityToken() })\n .then((res) => {\n setState((prevState) => ({ tasksUpdated: prevState.tasksUpdated + 1 }));\n })\n .catch((err) => {\n setState((prevState) => ({ tasksUpdated: prevState.tasksUpdated + 1 }));\n console.log(\"Task failed to update successfully\");\n });\n };\n\n const showDeleteModal = ({ selectedTasks }) => {\n setState({\n selectedTasks,\n viewAlltasks: false,\n showDeleteModal: true,\n });\n };\n\n const closeDeleteModal = () => {\n setState({ ...initialMassActionModalState });\n openTasksModal();\n };\n\n const deleteTasks = () => {\n setState((prevState) => ({ ...prevState, submitDisabled: true }));\n state.selectedTasks.forEach((task) => {\n axios\n .delete(`/tasks/${task.id}`, { params: { authenticity_token: ReactOnRails.authenticityToken() } })\n .then((res) => {\n setState((prevState) => ({ tasksUpdated: prevState.tasksUpdated + 1 }));\n })\n .catch((err) => {\n setState((prevState) => ({ tasksUpdated: prevState.tasksUpdated + 1 }));\n console.log(\"Couldn't delete task\");\n });\n });\n };\n\n const viewTaskLink = (incompleteTasks, allTaskCount) => {\n const linkText =\n incompleteTasks.length > 0 ? \"VIEW ALL\" : allTaskCount > 0 ? \"VIEW COMPLETED TASKS\" : null;\n\n if (incompleteTasks.length == 0 && allTaskCount == 0) {\n return;\n }\n\n return (\n \n \n \n {linkText}\n \n \n \n );\n };\n\n const emptyState = (incompleteTasks, allTaskCount) => {\n if (incompleteTasks.length == 0 && allTaskCount == 0) {\n return (\n
\n Create a task for this contact and assign it to yourself or a teammate.\n
\n );\n } else if (incompleteTasks.length == 0 && allTaskCount > 0) {\n return
No upcoming tasks.
;\n }\n };\n\n const taskable = {\n task_name: `${person.data?.attributes.first_name} ${person.data?.attributes.last_name}`.trim(),\n uuid: person.data?.attributes.uuid,\n taskable_type: \"Person\",\n };\n\n const secondaryModalOpen = Boolean(state.selectedTask) || taskModalOpen;\n\n return (\n \n {!person.data && }\n
\n {emptyState(incompleteTasks, allTaskCount)}\n {incompleteTasks.map((task) => (\n \n ))}\n {viewTaskLink(incompleteTasks, allTaskCount)}\n {state.viewAlltasks && !secondaryModalOpen && (\n \n )}\n {taskModalOpen && (\n \n )}\n {state.viewDetails && (\n \n )}\n {state.showReassignModal && (\n \n )}\n {state.showRescheduleModal && (\n \n )}\n {state.showDeleteModal && (\n \n )}\n
\n
\n );\n};\n\nexport default CardTasks;\n","// extracted by mini-css-extract-plugin\nexport default {\"details\":\"ooZZi4Dfj9DfB96vmNBt\",\"checkMark\":\"ofUNiY6guYgOJssQG4Aw\",\"content\":\"dO5LSJCoYw3CXxLiHVn5\",\"appointmentRow\":\"yEU9gXChs_Qshi6sVjuP\"};","import React, { Component } from \"react\";\nimport axios from \"axios\";\nimport tasks from \"./tasks.module.css\";\nimport appointments from \"../appointments.module.css\";\nimport css from \"../person-detail-styles.module.css\";\nimport { Col, Row } from \"react-bootstrap\";\nimport moment from \"moment\";\nclass CardAppointment extends Component {\n constructor(props) {\n super(props);\n this.state = {\n image: undefined,\n };\n }\n\n componentDidMount() {\n this.getAgentImage();\n }\n\n componentDidUpdate(previousProps) {\n if (previousProps.task.assigned_to_user_id != this.props.task.assigned_to_user_id) {\n this.getAgentImage();\n }\n }\n\n getAgentImage = () => {\n axios\n .get(`/profile_icon?id=${this.props.task.assigned_to_user_id}`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n this.setState({\n image: { link: response.data.link, name: response.data.name, initials: response.data.initials },\n });\n })\n .catch((response) => {\n console.log(\"no assigned\");\n });\n };\n\n render() {\n const { task } = this.props;\n\n return (\n \n \n
\n
\n \n \n \n \n  \n {moment(task.due_on).format(\"MM/DD/YY\")}\n
\n\n {task.outcome && (\n
\n TYPE:\n {task.appointment_type}\n
\n )}\n {task.outcome && (\n
\n OUTCOME:\n {task.outcome}\n
\n )}\n {task.location && (\n
\n LOCATION:\n {task.location}\n
\n )}\n {task.note && (\n
\n NOTES:\n {task.note}\n
\n )}\n
\n STATUS:\n {task.completed_at ? \"Completed\" : \"Scheduled\"}\n
\n
\n \n
\n );\n }\n}\n\nexport default CardAppointment;\n","import React, { Component } from \"react\";\nimport { Col, Modal, Row } from \"react-bootstrap\";\nimport button from \"../button.module.css\";\nimport modal from \"../modal.module.css\";\nimport appointments from \"../appointments.module.css\";\nimport HeaderTitle from \"./HeaderTitle\";\nimport axios from \"axios\";\nimport TaskModal from \"../tasks/TaskModal\";\n\nclass ViewAllAppointmentsModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n allAppointments: [],\n selectedTask: null,\n editAppointment: false,\n };\n this.getAllAppointments(this.props.person.data.attributes.uuid);\n }\n\n getAllAppointments = (id) => {\n axios\n .get(\"/tasks/appointments\", {\n params: { id, limit: 100 },\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((res) => {\n this.getAllAppointmentsSuccess(res.data);\n })\n .catch((err) => {\n console.log(err);\n });\n };\n\n getAllAppointmentsSuccess = (data) => {\n this.setState({ ...this.state, allAppointments: data.tasks });\n };\n\n editTask = (task) => this.setState({ selectedTask: task, editAppointment: true });\n\n closeTaskDetails = () => this.setState({ editAppointment: false });\n render() {\n const allAppointments = this.state.allAppointments;\n return (\n <>\n \n \n \n \n \n \n \n
\n {allAppointments.map((object_attributes) => (\n \n \n
\n \n
\n
\n
\n
\n
\n

\n {\" \"}\n Name {object_attributes.name}\n

\n

\n {\" \"}\n Due{\" \"}\n {moment(object_attributes.due_on).format(\"MMMM D, YYYY [at] h:mm A\")}{\" \"}\n

\n

\n {\" \"}\n Appointment Type:\n {object_attributes.appointment_type}{\" \"}\n

\n

\n {\" \"}\n Outcome: {object_attributes.outcome}{\" \"}\n

\n

\n {\" \"}\n Location: {object_attributes.location}{\" \"}\n

\n

\n {\" \"}\n Notes: {object_attributes.note}{\" \"}\n

\n
\n \n this.editTask(object_attributes)}\n >\n Edit\n \n \n {object_attributes.logged_ago}\n \n \n ))}\n
\n \n \n \n {\" \"}\n DONE{\" \"}\n \n \n \n \n \n {this.state.editAppointment && (\n {\n this.setState({\n allAppointments: this.state.allAppointments.map((t) => (t.id === task.id ? task : t)),\n });\n this.props.updateTask({ ...task });\n }}\n />\n )}\n \n );\n }\n}\n\nexport default ViewAllAppointmentsModal;\n","import React, { useEffect, useState } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport cards from \"../cards.module.css\";\nimport colors from \"../colors.module.css\";\nimport CardAppointment from \"./CardAppointment\";\nimport TaskModal from \"./TaskModal\";\nimport css from \"../person-detail-styles.module.css\";\nimport Details from \"./Details\";\nimport ViewAllAppointmentsModal from \"../modals/ViewAllAppointmentsModal\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\n\nconst CardAppointments = ({ allAgents, accountMilestoneNames }) => {\n const dispatch = useDispatch();\n const [state, _setState] = useState({\n viewAlltasks: false,\n viewDetails: false,\n selectedTask: undefined,\n viewAppointmentModal: false,\n editAppointment: false,\n });\n const setState = (newState) => _setState((prevState) => ({ ...prevState, ...newState }));\n\n const currentUser = useCurrentUser();\n const person = useSelector((state) => state.personDetail.person);\n const incompleteAppointments = useSelector((state) => state.personDetail.appointments);\n const allAppointmentCount = useSelector((state) => state.personDetail.allAppointmentCount);\n const appointmentModalOpen = useSelector((state) => state.personDetail.appointmentModalOpen);\n\n const getAppointments = (personUuid) => dispatch(actions.getAppointments(personUuid));\n useEffect(() => {\n if (person.data?.attributes.uuid) getAppointments(person.data.attributes.uuid);\n }, [person.data?.attributes.uuid]);\n\n const openAppointmentModal = () => {\n setState({ viewAppointmentModal: true });\n };\n const closeAppointmentModal = () => {\n setState({ viewAppointmentModal: false });\n };\n const showTaskDetails = (task) => setState({ viewDetails: true, selectedTask: task });\n const editTask = (task) => setState({ viewDetails: false, selectedTask: task, editAppointment: true });\n const closeTaskDetails = () =>\n setState({ viewDetails: false, selectedTask: undefined, editAppointment: false });\n const updateQuickViewTask = (taskToUpdate) => dispatch(actions.updateCardTasks(taskToUpdate));\n const closeTaskModal = () => dispatch(actions.closeAppointmentModal());\n const editAndComplete = (task) => {\n task[\"state\"] = \"completed\";\n setState({ viewDetails: false, selectedTask: task, task });\n dispatch(actions.openAppointmentModal());\n };\n const openAddAppointmentModal = () => dispatch(actions.openAppointmentModal());\n\n const emptyState = (incompleteAppointments, allAppointmentCount) => {\n if (incompleteAppointments.length == 0 && allAppointmentCount == 0) {\n return (\n
\n Create an appointment for this contact and assign it to yourself or a teammate.\n
\n );\n } else if (incompleteAppointments.length == 0 && allAppointmentCount > 0) {\n return
No upcoming tasks.
;\n }\n };\n\n const taskable = {\n task_name: `${person.data?.attributes.first_name} ${person.data?.attributes.last_name}`.trim(),\n uuid: person.data?.attributes.uuid,\n taskable_type: \"Person\",\n };\n\n return (\n \n {!person.data && }\n
\n {emptyState(incompleteAppointments, allAppointmentCount)}\n \n {incompleteAppointments.map((task) => (\n \n ))}\n \n {allAppointmentCount > 2 && (\n \n \n \n VIEW ALL\n \n \n \n )}\n {state.viewAppointmentModal && (\n \n )}\n {state.viewDetails && (\n \n )}\n {state.editAppointment && (\n \n )}\n\n {appointmentModalOpen && (\n \n )}\n
\n \n );\n};\n\nexport default CardAppointments;\n","// extracted by mini-css-extract-plugin\nexport default {\"projectIcon\":\"VtKpbPbinnDElNAC9MjV\",\"type\":\"myPjzuiU9N78VG289W_n\"};","import React, { useEffect } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport { useSelector } from \"react-redux\";\nimport project from \"./projects.module.css\";\nimport css from \"./person-detail-styles.module.css\";\nimport CollapsibleElement from \"./CollapsibleElement\";\n\nconst Projects = () => {\n const projects = useSelector((state) => state.personDetail.projects);\n\n if (!projects?.length) return null;\n\n return (\n \n \n {projects.map(({ id, name, type }) => (\n
\n \n \n
\n \n \n \n
\n
\n \n {name}\n \n
{type}
\n
\n \n
\n
\n ))}\n
\n
\n );\n};\n\nexport default Projects;\n","import React, { useEffect, useState } from \"react\";\nimport { func, bool, shape } from \"prop-types\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport { fetchAvailableTransactions } from \"../../../actions/personDetailActionCreators\";\n\nconst getOption = (data) => {\n return data.map((item) => ({\n label: item.name,\n value: item.id,\n }));\n};\n\nconst AddTransactionModal = ({ modalOpen, closeModal, person, handleAddTransaction }) => {\n const dispatch = useDispatch();\n\n const availableTransactions = useSelector((state) => getOption(state.personDetail.available_transactions));\n\n const [associatedTransaction, SetAssociatedTransaction] = useState(null);\n\n useEffect(() => {\n if (person.data?.id) dispatch(fetchAvailableTransactions(person.data.attributes.uuid));\n }, [person.data?.id]);\n\n const handleAdd = () => {\n closeModal();\n handleAddTransaction(associatedTransaction);\n };\n return (\n \n \n Select the transaction associated with the loan. Only transactions in which the borrower is listed\n as a client are included for selection.\n \n }\n />\n \n
\n
\n
\n SetAssociatedTransaction(value)}\n isSearchable\n placeholder=\"Select transaction\"\n />\n
\n
\n
\n
\n \n \n \n \n \n );\n};\n\nAddTransactionModal.propTypes = {\n modalOpen: bool,\n closeModal: func,\n handleAddTransaction: func,\n person: shape,\n};\n\nAddTransactionModal.defaultProps = {\n modalOpen: false,\n closeModal: () => {},\n handleAddTransaction: () => {},\n person: {},\n};\n\nexport default AddTransactionModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover/Popover\";\nimport Button from \"@shared/v2/Button\";\nimport { ArrowUpRightFromSquareRegularV6 } from \"@shared/v2/Icomoon/Icons\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst FinancingStagesDropDown = ({\n financingStagesMapping,\n selectedStage,\n containerClassName,\n isLoading,\n}) => {\n const [showStagePicker, setShowStagePicker] = useState(false);\n const selectedTitle = financingStagesMapping.find((obj) => obj?.value === selectedStage)?.label || \"\";\n\n const handleClick = () => {\n window.open(\n \"https://knowledge.brivity.com/en/articles/5527189-email-reputation-deliverability\",\n \"_blank\",\n );\n };\n\n return (\n
\n \n \n setShowStagePicker(!showStagePicker)}\n className={`!tw-p-0 tw-border-none tw-flex tw-justify-start tw-flex-row tw-flex-nowrap tw-grow tw-shrink-0 tw-items-center\n tw-uppercase tw-text-center tw-align-middle tw-cursor-pointer tw-h-[24px] tw-text-[#666] tw-text-11px tw-leading-[16px]\n tw-font-bold hover:!tw-bg-transparent hover:tw-border-transparent !tw-bg-transparent tw-border-transparent ${containerClassName}`}\n >\n {selectedTitle}\n \n \n }\n content=\"View stages\"\n />\n \n \n {financingStagesMapping.map((financingStageOption) => (\n \n \n {financingStageOption?.label}\n \n \n ))}\n \n \n Status Info\n \n \n \n \n \n
\n );\n};\n\nFinancingStagesDropDown.propTypes = {\n financingStagesMapping: PropTypes.arrayOf(\n PropTypes.shape({ label: PropTypes.string, value: PropTypes.string }),\n ).isRequired,\n selectedStage: PropTypes.string,\n containerClassName: PropTypes.string,\n isLoading: PropTypes.bool,\n};\n\nFinancingStagesDropDown.defaultProps = {\n selectedStage: \"\",\n containerClassName: \"\",\n isLoading: false,\n};\n\nexport default FinancingStagesDropDown;\n","import React from \"react\";\nimport { func, bool } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\n\nconst RemoveTransactionModal = ({ modalOpen, closeModal, handleRemoveTransaction }) => {\n const handleRemove = () => {\n closeModal();\n handleRemoveTransaction();\n };\n return (\n \n Are you sure you want to detach this transaction from the loan record?}\n />\n\n \n \n \n \n \n );\n};\n\nRemoveTransactionModal.propTypes = {\n modalOpen: bool,\n closeModal: func,\n handleRemoveTransaction: func,\n};\n\nRemoveTransactionModal.defaultProps = {\n modalOpen: false,\n closeModal: () => {},\n handleRemoveTransaction: () => {},\n};\n\nexport default RemoveTransactionModal;\n","import React, { useMemo, useState } from \"react\";\nimport { func, bool, arrayOf, shape, string } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport Search from \"@shared/v2/Icomoon/Icons/Search\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport PersonDetailsModal from \"../../../../Contacts/PersonDetailsModal\";\nimport useQuickSearch from \"../../../../Dashboard/services/useQuickSearch\";\n\nconst AddCoBorrowerModal = ({ modalOpen, closeModal, handleAddCoBorrower, coborrowers }) => {\n const [value, setValue] = useState(null);\n const [showModal, setshowModal] = useState(false);\n const [search, setSearch] = useState(\"\");\n const { data: quickSearchData, loading } = useQuickSearch({ search, model: \"Person\" });\n const data = useMemo(\n () =>\n quickSearchData\n .filter((person) => !coborrowers.some((coBorrower) => coBorrower.uuid === person.uuid))\n .map((d) => ({\n ...d,\n value: d.objectId,\n })),\n [quickSearchData, coborrowers],\n );\n\n const handleAdd = () => {\n closeModal();\n handleAddCoBorrower(value);\n };\n\n const closeContactModal = () => {\n setshowModal(false);\n };\n\n const openModal = () => {\n setshowModal(true);\n };\n\n const handleCloseContact = (person) => {\n closeContactModal();\n if (person) {\n setValue({\n label: `${person?.firstName} ${person?.lastName}`,\n value: person?.id,\n object_type: \"Person\",\n slug: person?.slug,\n object_id: person?.id,\n uuid: person?.uuid,\n });\n }\n };\n return (\n <>\n \n \n \n }\n helperText={\n <>\n Don’t have the co-borrower as a contact in your CRM?{\" \"}\n \n Add them here\n \n \n }\n />\n \n \n \n \n \n \n\n \n \n );\n};\n\nAddCoBorrowerModal.propTypes = {\n modalOpen: bool,\n closeModal: func,\n handleAddCoBorrower: func,\n coborrowers: arrayOf(\n shape({\n id: string,\n full_name: string,\n }),\n ),\n};\n\nAddCoBorrowerModal.defaultProps = {\n modalOpen: false,\n closeModal: () => {},\n handleAddCoBorrower: () => {},\n coborrowers: [],\n};\n\nexport default AddCoBorrowerModal;\n","import React, { useState } from \"react\";\nimport { func, bool, shape, arrayOf, string } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\n\nconst getOption = (data) => {\n return data.map((item) => ({\n label: `${item.full_name} (${item.primary_email_address})`,\n value: item.id,\n }));\n};\n\nconst RemoveCoBorrowerModal = ({ modalOpen, closeModal, handleRemoveCoBorrower, coborrowers }) => {\n const coborrowersList = getOption(coborrowers);\n\n const [selectedCoBorrower, setSelectedCoBorrower] = useState(null);\n\n const handleRemove = () => {\n closeModal();\n handleRemoveCoBorrower(selectedCoBorrower);\n };\n return (\n \n \n Select a co-borrower to remove from the loan record. The loan will no longer appear on that\n person’s contact record.\n \n }\n />\n \n
\n
\n
\n setSelectedCoBorrower(value)}\n isSearchable\n placeholder=\"Select a co-borrower\"\n />\n
\n
\n
\n
\n \n \n \n Remove Co-Borrower\n \n \n \n );\n};\n\nRemoveCoBorrowerModal.propTypes = {\n modalOpen: bool,\n closeModal: func,\n handleRemoveCoBorrower: func,\n coborrowers: arrayOf(\n shape({\n id: string,\n full_name: string,\n primary_email_address: string,\n }),\n ),\n};\n\nRemoveCoBorrowerModal.defaultProps = {\n modalOpen: false,\n closeModal: () => {},\n handleRemoveCoBorrower: () => {},\n coborrowers: [],\n};\n\nexport default RemoveCoBorrowerModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Popover, PopoverItem, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { VerticalDots, XmarkSolidV6, UserPlusSolidV6, BoxArchiveSolidV6 } from \"@shared/v2/Icomoon/Icons\";\nimport RemoveTransactionModal from \"./RemoveTransactionModal\";\nimport AddCoBorrowerModal from \"./AddCoBorrowerModal\";\nimport RemoveCoBorrowerModal from \"./RemoveCoBorrowerModal\";\n\nconst MortgageLoanMenu = ({\n handleRemoveTransaction,\n handleAddRemoveCoBorrower,\n handleToggleArchive,\n coborrowers,\n primary_borrower,\n archived,\n}) => {\n const [isOpen, setIsOpen] = useState(false);\n const [showModal, setshowModal] = useState(false);\n const [showAddCoBorrowerModal, setshowAddCoBorrowerModal] = useState(false);\n const [showRemoveCoBorrowerModal, setshowRemoveCoBorrowerModal] = useState(false);\n\n const handleButtonClick = (e) => {\n e.stopPropagation();\n setIsOpen(!isOpen);\n };\n\n const onClickRemoveTransaction = () => {\n handleRemoveTransaction();\n setIsOpen(false);\n };\n\n const closeModal = () => {\n setshowModal(false);\n };\n\n const openModal = () => {\n setshowModal(true);\n };\n\n const closeCoBorrowerModal = () => {\n setshowAddCoBorrowerModal(false);\n };\n\n const openCoBorrowerModal = () => {\n setshowAddCoBorrowerModal(true);\n };\n\n const closeRemoveCoBorrowerModal = () => {\n setshowRemoveCoBorrowerModal(false);\n };\n\n const openRemoveCoBorrowerModal = () => {\n setshowRemoveCoBorrowerModal(true);\n };\n\n const onClickAddCoBorrower = (value) => {\n handleAddRemoveCoBorrower(value);\n setIsOpen(false);\n };\n\n const onClickRemoveCoBorrower = (selectedCoBorrower) => {\n handleAddRemoveCoBorrower(selectedCoBorrower, true);\n setIsOpen(false);\n };\n const onClickArchive = () => {\n handleToggleArchive();\n };\n return (\n <>\n
\n \n \n \n \n \n \n \n \n Add a Co-Borrower\n \n \n Remove a Co-Borrower\n \n \n Remove Transaction\n \n \n \n {archived ? \"Un-Archive Loan\" : \"Archive Loan\"}\n \n \n \n
\n {showModal && (\n \n )}\n\n {showAddCoBorrowerModal && (\n \n )}\n\n {showRemoveCoBorrowerModal && (\n \n )}\n \n );\n};\n\nMortgageLoanMenu.propTypes = {\n onClickRemoveTransaction: PropTypes.func,\n handleAddRemoveCoBorrower: PropTypes.func,\n handleToggleArchive: PropTypes.func,\n archived: PropTypes.bool,\n coborrowers: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n full_name: PropTypes.string,\n }),\n ),\n primary_borrower: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n full_name: PropTypes.string,\n }),\n ),\n};\n\nMortgageLoanMenu.defaultProps = {\n onClickRemoveTransaction: () => {},\n handleAddRemoveCoBorrower: () => {},\n handleToggleArchive: () => {},\n coborrowers: [],\n archived: false,\n primary_borrower: [],\n};\n\nexport default MortgageLoanMenu;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { BoxArchiveSolidV6 } from \"@shared/v2/Icomoon/Icons\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport moment from \"moment\";\nimport { handleLoanUpdate } from \"../../../actions/personDetailActionCreators\";\nimport AddTransactionModal from \"./AddTransactionModal\";\nimport FinancingStagesDropDown from \"./FinancingStagesDropDown/FinancingStagesDropDown\";\nimport MortgageLoanMenu from \"./MortgageLoanMenu\";\n\nconst LABEL_CLASS = \"tw-text-[12px] tw-leading-[16px] tw-text-neutral-gray-75 tw-font-semibold \";\nconst VALUE_CLASS = \"tw-text-[14px] tw-leading-[20px] tw-text-neutral-gray-75 tw-font-normal \";\n\nconst MortgageCard = ({ mortgageLoan, loansFinancingStages, person }) => {\n const dispatch = useDispatch();\n const [showModal, setshowModal] = useState(false);\n\n const {\n id,\n archived,\n financing_stage: financingStage,\n loan_officer_name: loanOfficerName,\n notes,\n updated_at: updatedAt,\n listing,\n primary_borrower: primaryBorrower,\n coborrowers,\n } = mortgageLoan;\n\n const closeModal = () => {\n setshowModal(false);\n };\n\n const openModal = () => {\n setshowModal(true);\n };\n\n const handleAddRemoveTransaction = (associatedTransaction) => {\n const param = {\n listing_id: associatedTransaction?.value || null,\n };\n dispatch(handleLoanUpdate(person.data?.id, param, id));\n };\n\n const handleAddRemoveCoBorrower = (selectedCoBorrower, isDestroy) => {\n const param = {\n coborrowers_attributes: isDestroy\n ? [{ id: selectedCoBorrower?.value, _destroy: true }]\n : [{ person_id: selectedCoBorrower?.value }],\n };\n dispatch(handleLoanUpdate(person.data?.id, param, id));\n };\n\n const handleToggleArchive = () => {\n const param = {\n archived: !archived,\n };\n dispatch(handleLoanUpdate(person.data?.id, param, id));\n };\n\n const handleOnClickAvatar = (slug) => {\n window.open(`/people/${slug}`, \"_blank\");\n };\n\n const handleOnClickTransaction = (link) => {\n if (link) {\n window.open(`${link}`, \"_blank\");\n }\n };\n return (\n <>\n
\n
\n
\n
\n
Loan For
\n
\n \n
\n
\n
\n {listing ? (\n handleOnClickTransaction(listing?.link)}\n >\n {`${listing?.address?.street_address || \"\"} ${listing?.address?.city || \"\"} ${listing?.address?.locality || \"\"} ${listing?.address?.postal_code || \"\"} ${listing?.address?.country || \"\"}`}\n \n ) : (\n \n Add Transaction to Loan\n \n )}\n
\n
\n
\n
\n
\n
Loan Officer
\n
\n
\n
{loanOfficerName || \"\"}
\n
\n
\n
\n
\n
Financing Stage
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
Notes
\n
\n
\n
{notes || \"\"}
\n
\n
\n
\n
\n
Borrowers
\n
\n
\n handleOnClickAvatar(primaryBorrower?.slug)}\n src={primaryBorrower?.avatar}\n alt={primaryBorrower?.full_name}\n />\n }\n content={`${primaryBorrower?.full_name || \"Anyone\"} (borrower)`}\n placement=\"right\"\n />\n {coborrowers.map((coborrower) => (\n handleOnClickAvatar(coborrower?.slug)}\n />\n }\n content={`${coborrower?.full_name || \"Anyone\"} (co-borrower)`}\n placement=\"right\"\n />\n ))}\n
\n
\n
\n Last Updated:\n {moment(updatedAt).format(\"MM/DD/YY [at] hh:mma\")}\n
\n {archived && (\n
\n
\n
\n \n
\n
Archived Loan
\n \n Remove Loan from Archive\n \n
\n
\n
\n
\n )}\n
\n
\n {showModal && (\n \n )}\n \n );\n};\n\nMortgageCard.propTypes = {\n mortgageLoan: PropTypes.shape({\n id: PropTypes.string,\n archived: PropTypes.bool,\n financing_stage: PropTypes.string,\n loan_officer_name: PropTypes.string,\n notes: PropTypes.string,\n updated_at: PropTypes.string,\n listing: PropTypes.shape({\n id: PropTypes.number,\n link: PropTypes.string,\n address: PropTypes.shape({\n city: PropTypes.string,\n country: PropTypes.string,\n locality: PropTypes.string,\n postal_code: PropTypes.string,\n street_address: PropTypes.string,\n }),\n }),\n primary_borrower: PropTypes.shape({\n avatar: PropTypes.string,\n full_name: PropTypes.string,\n id: PropTypes.string,\n slug: PropTypes.string,\n }),\n coborrowers: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string,\n full_name: PropTypes.string,\n slug: PropTypes.string,\n }),\n ),\n }),\n person: PropTypes.shape(),\n loansFinancingStages: PropTypes.arrayOf(PropTypes.shape()),\n};\nMortgageCard.defaultProps = {\n mortgageLoan: {},\n person: {},\n loansFinancingStages: [],\n};\nexport default MortgageCard;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport moment from \"moment\";\nimport Button from \"@shared/v2/Button\";\nimport { PlusSolidV6, ChevronDownSolidV6, ChevronUpSolidV6 } from \"@shared/v2/Icomoon\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport {\n useLastReferredDateTime,\n useLenderModalOpen,\n} from \"../../../reducers/personalDetailReducer/personDetailReducer\";\nimport { fetchLoans, fetchLoansFinancingStages } from \"../../actions/personDetailActionCreators\";\nimport { toggleLenderModal } from \"../../actions/personDetailActionCreators\";\nimport MortgageCard from \"./MortgageCard\";\nimport { useFeatureFlags } from \"../../../reducers/layoutReducer/selectors\";\n\nconst Mortgage = () => {\n const dispatch = useDispatch();\n const featureFlags = useFeatureFlags();\n const lenderModalOpen = useLenderModalOpen();\n const lastRefferedDateTime = useLastReferredDateTime();\n const person = useSelector((state) => state.personDetail.person);\n const loansData = useSelector((state) =>\n state.personDetail.loansData.sort((x, y) => (x.archived === y.archived ? 0 : x.archived ? 1 : -1)),\n );\n const loansFinancingStages = useSelector((state) => state.personDetail.loansFinancingStages);\n const [isArchived, setIsArchived] = useState(true);\n const divRef = useRef(null);\n\n const mortgageButtonText = loansData.length === 0 ? \"\" : \"+ Envoy Referral\";\n const hasArchived = loansData.length > 0 && loansData.some((item) => item?.archived === true);\n\n const filteredLoans = isArchived && hasArchived ? loansData.filter((loan) => !loan.archived) : loansData;\n\n useEffect(() => {\n if (person.data?.id) {\n dispatch(fetchLoans(person.data?.id));\n dispatch(fetchLoansFinancingStages(person.data?.id));\n }\n }, [person.data?.id]);\n\n useEffect(() => {\n if (!isArchived && divRef.current) {\n divRef.current.scrollTo({\n top: divRef.current.scrollHeight,\n behavior: \"smooth\", // Smooth scroll behavior\n });\n }\n }, [isArchived]);\n\n const toggleArchive = () => {\n setIsArchived(!isArchived);\n };\n\n return (\n dispatch(toggleLenderModal()) : null}\n >\n {!featureFlags.loans ? (\n <>\n dispatch(toggleLenderModal())}\n className=\"tw-mt-[4px] tw-w-full tw-h-[44px] !tw-rounded-[8px] tw-flex !tw-gap-[4px] tw-items-center tw-justify-center tw-text-14d !tw-normal-case\"\n >\n \n Envoy Referral\n \n\n {lastRefferedDateTime && (\n
\n Last Referral:\n \n {moment(lastRefferedDateTime).format(\"MM/DD/YY [at] hh:mma\")}\n \n
\n )}\n \n ) : (\n <>\n {loansData.length === 0 && (\n dispatch(toggleLenderModal())}\n className=\"tw-mt-[4px] tw-w-full tw-h-[44px] !tw-rounded-[8px] tw-flex !tw-gap-[4px] tw-items-center tw-justify-center tw-text-14d !tw-normal-case\"\n >\n \n Envoy Referral\n \n )}\n {loansData.length > 0 && (\n
\n \n
\n {filteredLoans.map((loan) => (\n \n ))}\n
\n
\n {hasArchived && (\n
\n \n {isArchived ? (\n \n Show Archived Loans\n \n \n ) : (\n \n Hide Archived Loans\n \n \n )}\n \n
\n )}\n
\n )}\n \n )}\n \n );\n};\n\nexport default Mortgage;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport PersonInteractionsNoteForm from \"../../../../PersonDetail/components/PersonInteractionsNoteForm\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Modal from \"../../../../shared/v2/Modal\";\n\nexport const DeleteNoteModal = ({ onClose, onDelete }) => (\n onClose(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[480px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n

Are you sure you want to delete this note?

\n
\n \n \n \n \n \n);\n\nDeleteNoteModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n};\n\nexport const DiscardNoteModal = ({ onClose, onDiscard }) => (\n \n \n \n

Are you sure you want to discard this note? Your note will not be saved.

\n
\n \n \n \n \n \n);\n\nDiscardNoteModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n onDiscard: PropTypes.func.isRequired,\n};\n\nexport const EditNoteModal = ({\n isEditing,\n isExternal = false,\n notableId,\n notableType,\n note,\n onClose,\n onDelete,\n updateNote,\n}) => {\n const [showDiscardForm, setShowDiscardForm] = useState(false);\n\n return (\n <>\n \n \n \n setShowDiscardForm(true)}\n submitNote={updateNote}\n />\n \n \n\n {showDiscardForm && (\n setShowDiscardForm(false)}\n onDiscard={() => {\n setShowDiscardForm(false);\n onClose();\n }}\n />\n )}\n \n );\n};\n\nEditNoteModal.propTypes = {\n isEditing: PropTypes.bool,\n isExternal: PropTypes.bool,\n notableId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n notableType: PropTypes.string,\n note: PropTypes.shape({}),\n onClose: PropTypes.func.isRequired,\n onDelete: PropTypes.func,\n updateNote: PropTypes.func.isRequired,\n};\n\nEditNoteModal.defaultProps = {\n isEditing: false,\n isExternal: false,\n notableId: null,\n notableType: \"\",\n note: null,\n onDelete: () => {},\n};\n","import React from \"react\";\nimport moment from \"moment\";\nimport Linkify from \"linkify-react\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6, StarRegularV6, StarSolidV6, TrashSolidV6 } from \"@shared/v2/Icomoon\";\nimport { EyeSlashSolidV6, EyeSolidV6 } from \"../../../shared/v2/Icomoon\";\n\nconst NoteCard = ({ note, onStar, onEdit, onDelete, onVisible, variant = \"tall\" }) => {\n return (\n \n
\n \n {moment(note.created_at).format(\"MM/DD/YYYY\")}\n \n
\n {onVisible && note.notable_type !== \"Person\" && (\n \n {note.externally_visible ? : }\n \n )}\n \n {note.starred ? : }\n \n \n \n \n \n \n \n
\n
\n
\n e.stopPropagation()}\n tagName=\"div\"\n options={{ defaultProtocol: \"https\", target: \"_blank\" }}\n >\n {note.content}\n \n
\n \n \n {note.user_full_name}\n \n
\n );\n};\n\nexport default NoteCard;\n","import React from \"react\";\nimport { reorderNotesBasedOnStarred } from \"../../../Transactions/utils/helpers\";\nimport Modal from \"../../../shared/v2/Modal\";\nimport Button from \"../../../shared/v2/Button\";\nimport { PenToSquareSolidV6 } from \"../../../shared/v2/Icomoon\";\nimport NoteCard from \"../notes/NoteCard\";\n\nconst ViewAllNotes = ({ notes, onClose, onAddNote, onStar, onEdit, onDelete }) => (\n \n \n \n \n \n Create New Note\n \n {reorderNotesBasedOnStarred(notes).map((note) => (\n onStar(note)}\n onEdit={() => onEdit(note)}\n onDelete={() => onDelete(note)}\n />\n ))}\n \n \n \n \n \n \n);\n\nexport default ViewAllNotes;\n","import React, { useState, useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { DeleteNoteModal, EditNoteModal } from \"../../../Transactions/components/Notes/helpers/forms\";\nimport ViewAllNotes from \"../modals/ViewAllNotes\";\nimport { reorderNotesBasedOnStarred } from \"../../../Transactions/utils/helpers\";\nimport * as actions from \"../../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport NoteCard from \"./NoteCard\";\nimport TextButton from \"../../../shared/v2/TextButton\";\n\nconst CardNotes = () => {\n const dispatch = useDispatch();\n\n const person = useSelector((state) => state.personDetail.person);\n const notes = useSelector((state) => state.personDetail.notes);\n\n const toggleStarred = (starred) => dispatch(actions.toggleStarred(starred));\n const updateNote = (...args) => dispatch(actions.updateNote(...args));\n const deleteNote = (note) => dispatch(actions.deleteNote(note));\n const submitNote = (...args) => dispatch(actions.submitNote(...args));\n\n const [addNoteModalOpen, setAddNoteModalOpen] = useState(false);\n const [showDeleteForm, setShowDeleteForm] = useState(false);\n const [showViewAllModal, setShowViewAllModal] = useState(false);\n const [showEditForm, setShowEditForm] = useState(false);\n\n useEffect(() => {\n if (person.data?.id) dispatch(actions.getNotes(person));\n }, [person.data?.id]);\n\n return (\n setAddNoteModalOpen(true)}\n >\n {!person.data && }\n\n {notes.length === 0 &&

Write a note about this contact or use @ to notify someone on your team.

}\n\n
\n {reorderNotesBasedOnStarred(notes)\n .slice(0, 3)\n .map((note) => (\n toggleStarred(note)}\n onDelete={() => setShowDeleteForm(note)}\n onEdit={() => setShowEditForm(note)}\n />\n ))}\n\n {notes.length > 3 && (\n setShowViewAllModal(!showViewAllModal)}>\n View All\n \n )}\n
\n\n {showViewAllModal && (\n setShowViewAllModal(false)}\n onAddNote={() => setAddNoteModalOpen(true)}\n onStar={(note) => toggleStarred(note)}\n onEdit={(note) => setShowEditForm(note)}\n onDelete={(note) => setShowDeleteForm(note)}\n />\n )}\n\n {addNoteModalOpen && (\n setAddNoteModalOpen(false)}\n updateNote={submitNote}\n />\n )}\n\n {showEditForm && (\n setShowEditForm(false)}\n onDelete={() => setShowDeleteForm(showEditForm)}\n updateNote={updateNote}\n />\n )}\n\n {showDeleteForm && (\n setShowDeleteForm(false)}\n onDelete={() => {\n deleteNote(showDeleteForm);\n setShowEditForm(false);\n setShowDeleteForm(false);\n }}\n />\n )}\n \n );\n};\n\nexport default CardNotes;\n","import React, { useState, useRef } from \"react\";\nimport { useSelector } from \"react-redux\";\n\nimport { useClickOutside } from \"@shared/hookHelpers\";\nimport CheckBox from \"@shared/CheckBox\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport {\n AngleDownRegularV6,\n CalendarCheckRegularV6,\n CommentDotsRegularV6,\n DesktopRegularV6,\n EnvelopeRegularV6,\n ListRegularV6,\n PenToSquareRegularV6,\n PhoneRegularV6,\n PlusSolidV6,\n} from \"@icons\";\nimport { MergeSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst OTHER_INTERACTION_TYPES = [\"Other\", \"Pop by\", \"Mail\", \"Social media\"];\nconst SMS_FILTER_TYPES = [\"sms-event\", \"group_sms_in\", \"group_sms_out\"];\n\nconst CustomCheckbox = ({ label, labelClass, checkboxClass, appliedFilters, onChange }) => {\n const labelClassApplied = labelClass.split(\" \").every((c) => appliedFilters.has(c));\n return (\n \n );\n};\n\nconst ToggleButton = ({ count, icon, tooltip, onClick, selected }) => {\n const button = (\n \n {icon}\n {count}\n \n );\n\n if (!tooltip) return button;\n\n return ;\n};\n\nconst PersonTimelineFilter = ({\n accountActivityFilter,\n appliedFilters,\n handleAccountActivityGroupCheckboxChange,\n handleAllActivityGroupCheckboxChange,\n handleCheckboxChange,\n handleFilterStatsButtonClick,\n handleOtherActivityCheckboxChange,\n handleWebActivityGroupCheckboxChange,\n initialFilters,\n otherActivityFilter,\n webActivityFilter,\n webActivityEventTypes,\n}) => {\n const {\n public_activity_events: publicActivityEvents,\n gmail_events: gmailEvents,\n task_events: taskEvents,\n timeline_events: timelineEvents,\n total_gmail_events: totalGmailEvents,\n } = useSelector(({ personDetail }) => personDetail.timeline);\n const timelineLoading = useSelector(({ personDetail }) => personDetail.timeline_loading);\n const [allToggleOpen, setAllToggleOpen] = useState(false);\n const buttonRef = useRef(null);\n useClickOutside(buttonRef, () => setAllToggleOpen(false));\n\n const messageCounts = () => {\n const mostRecentGmailEventsCount = gmailEvents.length;\n const nonGmailAndMostRecentGmailEventCount =\n publicActivityEvents.filter((event) => event.interaction_type === \"message\").length +\n mostRecentGmailEventsCount;\n const hasMoreGmailThreads =\n mostRecentGmailEventsCount > 0 && totalGmailEvents > mostRecentGmailEventsCount;\n\n return hasMoreGmailThreads\n ? `${nonGmailAndMostRecentGmailEventCount}+`\n : nonGmailAndMostRecentGmailEventCount;\n };\n\n const totalPersonMergeEvents = timelineEvents.filter((e) => e.interaction_type === \"person_merge\").length;\n\n return (\n 0 ? \"tw-gap-[4px]\" : \"tw-gap-[8px]\"}`}\n >\n setAllToggleOpen((open) => !open)}\n ref={buttonRef}\n >\n }\n selected={\n otherActivityFilter && accountActivityFilter && webActivityFilter && appliedFilters.size > 6\n }\n />\n
    \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
  • \n \n
  • \n
\n
\n\n e.interaction_type === \"note\").length\n }\n icon={}\n tooltip=\"Notes\"\n onClick={() => handleFilterStatsButtonClick(\"note-event\")}\n selected={appliedFilters.size === 1 && appliedFilters.has(\"note-event\")}\n />\n handleFilterStatsButtonClick(\"message-event\")}\n icon={}\n tooltip=\"Emails\"\n />\n e.interaction_type === \"call\").length\n }\n selected={appliedFilters.size === 1 && appliedFilters.has(\"call-event\")}\n onClick={() => handleFilterStatsButtonClick(\"call-event\")}\n icon={}\n tooltip=\"Phone Calls\"\n />\n \n [\"sms\", \"group_sms_in\", \"group_sms_out\"].includes(e.interaction_type),\n ).length\n }\n selected={appliedFilters.size === 3 && SMS_FILTER_TYPES.every((c) => appliedFilters.has(c))}\n onClick={() => handleFilterStatsButtonClick(SMS_FILTER_TYPES.join(\" \"))}\n icon={}\n tooltip=\"Texts\"\n />\n e.interaction_type && e.interaction_type.includes(\"appointment\"),\n ).length\n }\n selected={appliedFilters.size === 2 && appliedFilters.has(\"appointment-event\")}\n onClick={() => handleFilterStatsButtonClick(\"appointment-event\")}\n icon={}\n tooltip=\"Appointments\"\n />\n OTHER_INTERACTION_TYPES.includes(e.interaction_type)).length\n }\n selected={otherActivityFilter === true && appliedFilters.size === 4}\n onClick={() => handleFilterStatsButtonClick(\"other-activity\")}\n icon={}\n tooltip=\"Other\"\n />\n \n !webActivityEventTypes.includes(e.interaction_type) &&\n e.interaction_type !== \"property_view\",\n ).length\n }\n selected={accountActivityFilter === true && appliedFilters.size === 4}\n onClick={() => handleFilterStatsButtonClick(\"account-activity\")}\n icon={}\n tooltip=\"Account Activity\"\n />\n webActivityEventTypes.includes(e.interaction_type)).length\n }\n selected={webActivityFilter === true && appliedFilters.size === webActivityEventTypes.length}\n onClick={() => handleFilterStatsButtonClick(\"web-activity\")}\n icon={}\n tooltip=\"Web Activity\"\n />\n {totalPersonMergeEvents > 0 && (\n handleFilterStatsButtonClick(\"person_merge\")}\n icon={}\n tooltip=\"Merges\"\n />\n )}\n
\n );\n};\n\nexport default PersonTimelineFilter;\n","// extracted by mini-css-extract-plugin\nexport default {\"timelineSkeletonWrapper\":\"XYea8QjjoqdmmOw4nM8u\",\"timelineSkeletonWrapperInner\":\"InU3tD34CKmyRFfBArG6\",\"timelineSkeletonWrapperBody\":\"g32gldNVtJwiW7R5mEkx\",\"placeholderSkeleton\":\"zqZrx6FWrO3fTq_txVHA\",\"skeletonAnimate\":\"QUfooTgqcK4ui9Wdg8tA\",\"timelineSkeletonIcon\":\"SEc3loFkxOdAEFMUU5ow\",\"timelineSkeletonTitle\":\"FZaFLBQsjFvIc7uu3Ze4\",\"timelineSkeletonDetail1\":\"iyD8Ftg54hB42kXAP5ct\",\"timelineSkeletonDetail2\":\"KsvqQyjdrD3v1C0rCoCb\"};","import React from \"react\";\nimport skeletonCss from \"../../PersonDetail/components/person_detail_skeleton.module.css\";\n\nconst LoadingSkeleton = () => (\n
\n {_.times(8, (i) => (\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n ))}\n
\n);\n\nexport default LoadingSkeleton;\n","import React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport { fetchTimeline } from \"../../PersonDetail/actions/personDetailActionCreators\";\n\nconst LoadingFailure = () => {\n const dispatch = useDispatch();\n const person = useSelector(({ personDetail }) => personDetail.person);\n return (\n
\n
\n

Whoops! The page failed to load

\n

Sorry about that! Something went wrong on our end and the page failed to load.

\n

\n If you continue to have issues, you can contact Brivity Support by calling (855) 427-4848, and\n we'll make sure that we address the issue as quickly as possible.\n

\n
\n \n
\n
\n );\n};\n\nexport default LoadingFailure;\n","import React from \"react\";\n\nconst PageGap = () => (\n \n ...\n \n);\n\nexport default PageGap;\n","/* eslint-disable jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport IconButton from \"../IconButton/IconButton\";\nimport { ChevronLeft, ChevronRight } from \"../Icomoon\";\n\nconst ArrowLink = ({ targetPage, onClick, children }) => (\n onClick(targetPage)}\n data-cy=\"pagination-link\"\n disabled={!targetPage}\n >\n {children}\n \n);\n\nexport const LeftLink = ({ targetPage, onClick }) => (\n \n \n \n);\nexport const RightLink = ({ targetPage, onClick }) => (\n \n \n \n);\n\nLeftLink.propTypes = {\n targetPage: PropTypes.number,\n onClick: PropTypes.func.isRequired,\n};\n\nLeftLink.defaultProps = {\n targetPage: null,\n};\n\nRightLink.propTypes = {\n targetPage: PropTypes.number,\n onClick: PropTypes.func.isRequired,\n};\n\nRightLink.defaultProps = {\n targetPage: null,\n};\n\nArrowLink.propTypes = {\n targetPage: PropTypes.number,\n onClick: PropTypes.func.isRequired,\n children: PropTypes.element.isRequired,\n};\n\nArrowLink.defaultProps = {\n targetPage: null,\n};\n","export const baseLinkClasses = [\n \"tw-text-neutral-gray-75\",\n \"tw-flex\",\n \"tw-flex-row\",\n \"tw-justify-center\",\n \"tw-items-center\",\n \"tw-w-[32px]\",\n \"tw-h-[32px]\",\n];\n\nexport const activeBg = \"tw-bg-neutral-gray-10\";\n\nexport default { baseLinkClasses, activeBg };\n","import { schemaGenerator } from \"../utils\";\nimport { baseLinkClasses, activeBg } from \"./Pagination.styles\";\n\nconst currentDictionary = {\n regular: {\n default: [...baseLinkClasses, activeBg, \"tw-rounded-full\", \"tw-cursor-default\"],\n },\n};\n\nconst linkDictionary = {\n regular: {\n default: [...baseLinkClasses, \"tw-bg-transparent\", \"tw-border-0\", \"tw-cursor-pointer\"],\n hover: [\"hover:tw-text-theme-pagination-link-color-hover\"],\n active: [\"active:tw-text-theme-pagination-link-color-active\"],\n focusVisible: [\"focus-visible:tw-outline-theme-offset-none\"],\n },\n};\n\nexport const currentSchema = schemaGenerator(currentDictionary);\nexport const linkSchema = schemaGenerator(linkDictionary);\n\nexport default { currentSchema, linkSchema };\n","/* eslint-disable jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { linkSchema, currentSchema } from \"./NumberedLink.styles\";\n\nconst PageLink = ({ pageNumber, onClick }) => (\n onClick(pageNumber)}\n data-cy=\"pagination-link\"\n >\n {pageNumber}\n \n);\n\nconst CurrentPosition = ({ pageNumber }) => (\n \n {pageNumber}\n \n);\n\nexport const NumberedLink = ({ currentPage, pageNumber, onClick }) =>\n pageNumber === currentPage ? (\n \n ) : (\n \n );\n\nNumberedLink.propTypes = {\n currentPage: PropTypes.number.isRequired,\n onClick: PropTypes.func.isRequired,\n pageNumber: PropTypes.number.isRequired,\n};\n\nCurrentPosition.propTypes = {\n pageNumber: PropTypes.number.isRequired,\n};\n\nPageLink.propTypes = {\n pageNumber: PropTypes.number.isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nexport default NumberedLink;\n","import { numericalCompare, range, inRange, inSequence, uniqueArray } from \"../../Utilities\";\n\nconst paginationLeftBlock = (currentPage, maxEdgeSize) =>\n range(1, maxEdgeSize).filter((item) => inRange(1, currentPage - 1, item));\n\nexport const paginationCentralBlock = (currentPage, maxCentralNeighbors, totalPages) => {\n const leftCentral = [];\n const rightCentral = [];\n const leftEdge = Math.max(currentPage - maxCentralNeighbors, 1);\n const rightEdge = Math.min(currentPage + maxCentralNeighbors, totalPages);\n\n const withinLeft = (n) => inRange(leftEdge, currentPage - 1, n);\n const withinRight = (n) => inRange(currentPage + 1, rightEdge, n);\n const setCompleted = () => leftCentral.length + rightCentral.length === maxCentralNeighbors;\n\n range(1, maxCentralNeighbors).forEach((i) => {\n if (withinLeft(currentPage - i) && !setCompleted()) {\n leftCentral.push(currentPage - i);\n }\n if (withinRight(currentPage + i) && !setCompleted()) {\n rightCentral.push(currentPage + i);\n }\n });\n\n return [...leftCentral.sort(numericalCompare), currentPage, ...rightCentral.sort(numericalCompare)];\n};\n\nconst paginationRightBlock = (currentPage, maxEdgeSize, totalPages) =>\n range(totalPages - maxEdgeSize + 1, totalPages).filter((item) => inRange(currentPage, totalPages, item));\n\nconst paginationBlocks = (currentPage, maxEdgeSize, maxCentralNeighbors, totalPages) => [\n paginationLeftBlock(currentPage, maxEdgeSize, maxCentralNeighbors),\n paginationCentralBlock(currentPage, maxCentralNeighbors, totalPages),\n paginationRightBlock(currentPage, maxEdgeSize, totalPages),\n];\n\nexport const paginationOptions = ({ totalPages, currentPage, maxCentralNeighbors = 4, maxEdgeSize = 2 }) =>\n uniqueArray(paginationBlocks(currentPage, maxEdgeSize, maxCentralNeighbors, totalPages).flat());\n\nexport const paginationOptionsWithExplicitGaps = ({\n totalPages,\n currentPage,\n maxCentralNeighbors = 4,\n maxEdgeSize = 2,\n}) =>\n paginationOptions({ totalPages, currentPage, maxCentralNeighbors, maxEdgeSize })\n .map((item, index, array) => (inSequence(array[index - 1] || 0, item) ? item : [null, item]))\n .flat();\n","/* eslint-disable jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport PageGap from \"./PageGap\";\nimport { LeftLink, RightLink } from \"./ArrowLink\";\nimport { NumberedLink } from \"./NumberedLink\";\nimport { paginationOptionsWithExplicitGaps } from \"./helpers\";\n\nconst NumberedLinks = ({ totalPages, currentPage, onClick, maxEdgeSize, maxCentralNeighbors }) =>\n paginationOptionsWithExplicitGaps({\n totalPages,\n currentPage,\n maxCentralNeighbors,\n maxEdgeSize,\n }).map((pageNumber, index) =>\n pageNumber ? (\n \n ) : (\n // eslint-disable-next-line react/no-array-index-key\n \n ),\n );\n\nconst Pagination = ({\n currentPage,\n totalPages,\n onGoToPage,\n maxCentralNeighbors,\n maxEdgeSize,\n ...otherProps\n}) => {\n const handleGoToPage = (pageNum) => pageNum && onGoToPage && onGoToPage(pageNum);\n\n return (\n \n 0 ? currentPage - 1 : null} onClick={handleGoToPage} />\n \n \n
\n );\n};\n\nPagination.propTypes = {\n currentPage: PropTypes.number.isRequired,\n totalPages: PropTypes.number.isRequired,\n onGoToPage: PropTypes.func.isRequired,\n maxCentralNeighbors: PropTypes.number,\n maxEdgeSize: PropTypes.number,\n};\n\nPagination.defaultProps = {\n maxCentralNeighbors: 4,\n maxEdgeSize: 2,\n};\n\nexport default Pagination;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { pdfjs, Document, Page } from \"react-pdf\";\nimport \"react-pdf/dist/Page/TextLayer.css\";\nimport { debounce } from \"lodash\";\nimport Pagination from \"@shared/v2/Pagination\";\n\npdfjs.GlobalWorkerOptions.workerSrc = new URL(\n \"pdfjs-dist/build/pdf.worker.min.mjs\",\n import.meta.url,\n).toString();\n\nconst Pdf = ({ className, file, showPagination }) => {\n const [pages, setPages] = useState(1);\n const [page, setPage] = useState(1);\n const [passwordError, setPasswordError] = useState(\"\");\n const [size, setSize] = useState(0);\n const pageRef = useRef(null);\n\n const handleResize = useMemo(\n () =>\n debounce(() => {\n if (!pageRef.current) return;\n setSize(pageRef.current.clientWidth);\n }, 250),\n [pageRef.current, setSize],\n );\n\n useEffect(() => {\n window.addEventListener(\"resize\", handleResize);\n return () => window.removeEventListener(\"resize\", handleResize);\n }, [handleResize]);\n\n if (passwordError) return
{passwordError}
;\n\n return (\n <>\n
\n setPasswordError(\"Failed to load, this document is password protected.\")}\n >\n {\n // eslint-disable-next-line no-underscore-dangle\n setPages(_transport._numPages);\n handleResize();\n }}\n renderAnnotationLayer={false}\n width={size}\n />\n \n
\n {showPagination && (\n
\n \n
\n )}\n \n );\n};\n\nPdf.propTypes = {\n className: PropTypes.string,\n file: PropTypes.string.isRequired,\n showPagination: PropTypes.bool,\n};\n\nPdf.defaultProps = {\n className: \"\",\n showPagination: false,\n};\n\nexport default Pdf;\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Pdf from \"./Pdf\";\n\nclass TimelineEvent extends Component {\n constructor(props) {\n super(props);\n const { interacted_at_epoch: interactedAtEpoch } = this.props;\n this.state = { showModal: false };\n this.interacted_at_epoch = interactedAtEpoch;\n }\n\n showModal = () => {\n this.setState({ showModal: true });\n };\n\n hideModal = () => {\n this.setState({ showModal: false });\n };\n\n details = (showPagination) => {\n const { event } = this.props;\n const description = [];\n Object.entries(event.timeline_fields).forEach(([key, value]) => {\n const titleizedKey = key\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n description.push(`${titleizedKey}: ${value}`);\n });\n const { to, from, file_name: fileName, file_uri: fileUri, name } = event.timeline_fields;\n const newDescription = [`To: ${to}`, `From: ${from}`, `Name: ${name}`];\n\n switch (event.event_type) {\n case \"modified_listing_alert_frequency\":\n return newDescription.map((newD) => (\n
\n {newD}\n
\n ));\n case \"disabled_monthly_listing_alert\":\n return
Name: {name}
;\n case \"unsubscribed_listing_alerts\":\n return (\n

\n Listing Alert emails have been deactivated. To protect your email deliverability reputation, the\n status can not be changed. Please reach out to this contact via an alternate method.\n

\n );\n case \"recruiter_upload\":\n return (\n <>\n
\n File Name:{\" \"}\n \n {fileName}\n \n
\n \n \n );\n default:\n return description.map((desc) => (\n
\n {desc}\n
\n ));\n }\n };\n\n row = () => {\n const {\n event: {\n event_type: eventType,\n titleized_type: titleizedType,\n interacted_at_absolute: interactedAtAbsolute,\n },\n } = this.props;\n\n let eventText = titleizedType;\n if (eventType === \"modified_listing_alert_frequency\") {\n eventText = \"System modified Listing Alert frequency due to inactivity\";\n }\n if (eventType === \"disabled_monthly_listing_alert\") {\n eventText =\n \"Listing alert deactivated due to inactivity. To continue sending, please set up a new alert\";\n }\n if (eventType === \"unsubscribed_listing_alerts\") eventText = \"Contact unsubscribed from Listing Alerts\";\n\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events\n
\n
\n
\n \n
\n
\n Event: \n {eventText}\n
{this.details()}
\n
\n
\n {interactedAtAbsolute}\n
\n
\n
\n );\n };\n\n modal = () => {\n const { showModal } = this.state;\n const { event } = this.props;\n return (\n \n \n \n
\n Event: \n {event.titleized_type}\n
\n
Details:
\n {this.details(true)}\n
\n \n );\n };\n\n render() {\n return (\n
\n {this.row()}\n {this.modal()}\n
\n );\n }\n}\n\nTimelineEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n interacted_at_epoch: PropTypes.number.isRequired,\n};\n\nexport default TimelineEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst BaseEvent = ({ children, extraContent, icon, interactedAt, onClick, title }) => {\n const extraProps = onClick ? { onClick, role: \"button\", tabIndex: 0 } : {};\n\n return (\n
\n
\n
\n {icon}\n
\n
\n
\n {title}\n {interactedAt}\n
\n\n {children}\n
\n
\n {extraContent}\n
\n );\n};\n\nBaseEvent.propTypes = {\n children: PropTypes.node.isRequired,\n extraContent: PropTypes.node,\n icon: PropTypes.node.isRequired,\n interactedAt: PropTypes.node.isRequired,\n onClick: PropTypes.func,\n title: PropTypes.node.isRequired,\n};\n\nBaseEvent.defaultProps = {\n extraContent: null,\n onClick: null,\n};\n\nexport default BaseEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst SHORT_STATUS = {\n new: \"New\",\n unqualified: \"Unqual\",\n watch: \"Watch\",\n nurture: \"Nurt\",\n hot: \"Hot\",\n \"past-client\": \"Past\",\n inactive: \"Inactiv\",\n archived: \"Arch\",\n trash: \"Trash\",\n};\n\nconst ALLOWED_FIELDS = [\n \"personal_email\",\n \"work_email\",\n \"other_email\",\n \"mobile_phone\",\n \"home_phone\",\n \"work_phone\",\n \"other_phone\",\n \"source\",\n \"status\",\n];\n\nconst AddedBy = ({ timelineFields }) => {\n const updaterName = timelineFields.updater_name;\n if (updaterName === \"API\") return null;\n if (updaterName === \"Import\") return \"Added via import\";\n if (updaterName === \"Tracking Number\") {\n return (\n <>\n Lead automatically created from Tracking Number{\" \"}\n "{timelineFields.tracking_number_name}"`\n \n );\n }\n if (updaterName) return `Manually added by ${updaterName}`;\n return null;\n};\n\nAddedBy.propTypes = {\n timelineFields: PropTypes.shape().isRequired,\n};\n\nconst statusDetail = (event, change) => {\n const prevStatus = change[0];\n const newStatus = change[1];\n\n const prevShortStatus = SHORT_STATUS[prevStatus];\n const newShortStatus = SHORT_STATUS[newStatus];\n\n return (\n
\n {\"Status: \"}\n {prevStatus && (\n <>\n {prevShortStatus}\n to\n \n )}\n {newShortStatus}\n
\n );\n};\n\nconst standardDetail = (event, titleizedAttribute, change) => (\n
\n {titleizedAttribute}:{\" \"}\n {change[0] && {`(was ${change[0]}) `}}\n {!change[1] ? removed : change[1]}\n
\n);\n\nconst Details = ({ event, event: { timeline_fields: timelineFields } }) => (\n
\n {ALLOWED_FIELDS.map((field) => {\n let change = timelineFields[field];\n\n if (field === \"source\" && !change) {\n change = [\"\", \"Unknown\"];\n }\n\n if (change) {\n const titleizedAttribute = field\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n\n if (titleizedAttribute === \"Status\") {\n return statusDetail(event, change);\n }\n return standardDetail(event, titleizedAttribute, change);\n }\n return null;\n })}\n
\n);\n\nDetails.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nconst TimelineLeadCreateEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const [showModal, setShowModal] = useState(false);\n\n const contactName =\n `${timelineFields.first_name?.[1] || \"\"} ${timelineFields.last_name?.[1] || \"\"}`.trim() || \"No Name\";\n\n return (\n \n {contactName} became a contact\n
\n }\n icon={}\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n
\n \n setShowModal(false)}\n >\n \n \n
Details:
\n
\n \n \n \n \n );\n};\n\nTimelineLeadCreateEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineLeadCreateEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineLeadCreateUserNotificationEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const [showModal, setShowModal] = useState(false);\n\n const details = Object.keys(timelineFields).map((key) => {\n if ([\"name\", \"full name\"].includes(key)) return null;\n const titleizedKey = key\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n return (\n
\n {titleizedKey}: {timelineFields[key]}\n
\n );\n });\n\n const leadName = timelineFields.name || \"No name\";\n\n return (\n \n {leadName} \n became a new contact\n
\n }\n icon={}\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {details}\n setShowModal(false)}\n >\n \n \n
\n {leadName} \n became a new contact\n
\n
Details:
\n {details}\n
\n \n \n );\n};\n\nTimelineLeadCreateUserNotificationEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineLeadCreateUserNotificationEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { startCase } from \"lodash\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport { stripHtml } from \"../../../shared/Utilities\";\nimport IntentButton from \"../../../PersonDetail/components/IntentDropdown/IntentButton\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst SHORT_STATUS = {\n new: \"New\",\n unqualified: \"Unqual\",\n watch: \"Watch\",\n nurture: \"Nurt\",\n hot: \"Hot\",\n \"past-client\": \"Past\",\n inactive: \"Inactiv\",\n archived: \"Arch\",\n trash: \"Trash\",\n pending: \"Pending\",\n \"prospective-client\": \"Prospective\",\n \"active-client\": \"Active\",\n buyer: \"Buyer\",\n seller: \"Seller\",\n \"seller/buyer\": \"Seller & Buyer\",\n tenant: \"Tenant\",\n landlord: \"Landlord\",\n recruit: \"Recruit\",\n candidate: \"Candidate\",\n \"n/a\": \"N/A\",\n};\n\nconst statusDetail = (event, change) => {\n const prevStatus = change[0];\n const newStatus = change[1];\n\n const prevClasses = `btn btn-sm person-status-${prevStatus}`;\n const newClasses = `btn btn-sm person-status-${newStatus}`;\n\n const prevShortStatus = SHORT_STATUS[prevStatus];\n const newShortStatus = SHORT_STATUS[newStatus];\n\n return (\n
\n
\n {\"Status: \"}\n {prevStatus && (\n \n {prevShortStatus}\n {\" to \"}\n \n )}\n {newShortStatus}\n
\n
\n );\n};\n\nconst stageDetail = (event, change) => {\n const prevStage = change[0];\n const newStage = change[1];\n return (\n
\n {\"Stage: \"}\n {prevStage && (\n \n {prevStage}\n {\" to \"}\n \n )}\n {newStage}\n
\n );\n};\n\nconst personTypeDetail = (event, change) => {\n const prevPersonType = change[0];\n const newPersonType = change[1];\n return (\n
\n {\"Person Type: \"}\n {prevPersonType && (\n \n {capitalize(prevPersonType)}\n {\" to \"}\n \n )}\n {capitalize(newPersonType)}\n
\n );\n};\n\nconst intentDetail = (event, change) => {\n const prevStatus = change[0];\n const newStatus = change[1];\n const prevShortStatus = SHORT_STATUS[prevStatus];\n const newShortStatus = SHORT_STATUS[newStatus];\n\n return (\n
\n {\"Intent: \"}\n {prevStatus && (\n \n \n {\" to \"}\n \n )}\n \n
\n );\n};\n\nconst standardDetail = (event, titleizedAttribute, change) => {\n const zeroDate = [\"0000-\", \"\"];\n return (\n
\n {`${titleizedAttribute}: `}\n\n {change[0] && (\n \n {\"(was \"}\n {stripHtml(change[0].replace(...zeroDate))}\n {\") \"}\n \n )}\n\n {!change[1] ? (\n removed\n ) : (\n {stripHtml(change[1].replace(...zeroDate))}\n )}\n
\n );\n};\n\nconst TimelineLeadUpdateEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n const details = Object.keys(timelineFields)\n .sort()\n .map((attribute) => {\n if (attribute === \"updater_name\") return null;\n const titleizedAttribute =\n attribute === \"anniversary\" ? `Home ${startCase(attribute)}` : startCase(attribute);\n const change = timelineFields[attribute];\n\n if (titleizedAttribute === \"Status\") return statusDetail(event, change);\n if (titleizedAttribute === \"Lead Type\") return intentDetail(event, change);\n if (titleizedAttribute === \"Stage\") return stageDetail(event, change);\n if (titleizedAttribute === \"Person Type\") return personTypeDetail(event, change);\n return standardDetail(event, titleizedAttribute, change);\n });\n\n return (\n }\n title={\n
\n {event.timeline_fields.updater_name} updated profile\n
\n }\n interactedAt={event.interacted_at_absolute}\n onClick={() => setIsModalOpen(true)}\n >\n {details}\n setIsModalOpen(false)}\n >\n \n \n
Details:
\n {details}\n
\n \n \n );\n};\n\nTimelineLeadUpdateEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineLeadUpdateEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineLeadCreateEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const [showModal, setShowModal] = useState(false);\n\n const descriptions = [];\n\n Object.keys(timelineFields).forEach((key) => {\n if ([\"name\", \"full name\"].includes(key)) return;\n const titleizedKey = key\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n descriptions.push(`${titleizedKey}: ${timelineFields[key]}`);\n });\n\n const details = descriptions.map((description) =>
{description}
);\n\n return (\n }\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {details}\n setShowModal(false)}\n >\n \n \n
Details:
\n {details}\n
\n \n \n );\n};\n\nTimelineLeadCreateEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineLeadCreateEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport { FishSolidV6, UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineLeadCreateEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const [showModal, setShowModal] = useState(false);\n const isPondToPond = timelineFields.new_lead_pond && timelineFields.old_lead_pond;\n const isAgentToPond = timelineFields.old_primary_agent && timelineFields.new_lead_pond;\n\n const headline = (\n
\n {isPondToPond || isAgentToPond ? \"Assigned to \" : \"\"}\n \n {timelineFields.new_primary_agent}\n {timelineFields.new_lead_pond}\n \n {!isPondToPond && !isAgentToPond ? \" became the primary agent\" : \"\"}\n {isAgentToPond ? \" by \" : \"\"}\n {isAgentToPond ? timelineFields.transferred_by : \"\"}\n
\n );\n\n const description = (\n
\n {\"Transferred by \"}\n {timelineFields.transferred_by}\n {\" from \"}\n \n {timelineFields.old_primary_agent} {timelineFields.old_lead_pond}\n \n
\n );\n\n return (\n : }\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {description}\n setShowModal(false)}\n >\n \n \n {headline}\n
Details:
\n {description}\n
\n \n \n );\n};\n\nTimelineLeadCreateEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineLeadCreateEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport format from \"@shared/formatters\";\n\nconst HomeInfoOverlay = ({ timelineFields }) => (\n
\n {(timelineFields.photo || timelineFields.photo_url || timelineFields.main_photo) && (\n \n )}\n
\n {(timelineFields.price || timelineFields.property_price || timelineFields.value) && (\n
\n {format.currency(timelineFields.price || timelineFields.property_price || timelineFields.value, 0)}\n
\n )}\n
\n
{timelineFields.address || timelineFields.street_address}
\n
\n {timelineFields.city}, {timelineFields.state} {timelineFields.zip || timelineFields.postal_code}\n
\n
\n {(timelineFields.beds || timelineFields.bedrooms) && (\n {timelineFields.beds || timelineFields.bedrooms} Bed\n )}{\" \"}\n {(timelineFields.baths || timelineFields.bathrooms) && (\n {timelineFields.baths || timelineFields.bathrooms} Bath\n )}\n
\n
\n
\n
\n);\n\nHomeInfoOverlay.propTypes = {\n timelineFields: PropTypes.shape({\n address: PropTypes.string,\n baths: PropTypes.number,\n bathrooms: PropTypes.number,\n beds: PropTypes.number,\n bedrooms: PropTypes.number,\n city: PropTypes.string,\n main_photo: PropTypes.string,\n photo: PropTypes.string,\n photo_url: PropTypes.string,\n postal_code: PropTypes.string,\n price: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n property_price: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n state: PropTypes.string,\n street_address: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n zip: PropTypes.string,\n }),\n};\n\nHomeInfoOverlay.defaultProps = {\n timelineFields: {},\n};\n\nexport default HomeInfoOverlay;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineSubmittedFormEvent = ({\n event,\n event: {\n timeline_fields: { property, ...timelineFields },\n event_type: eventType,\n schedule_tour_type: scheduleTourType,\n },\n}) => {\n const isForcedSearch =\n eventType === \"forced_registration_search_page_combined\" && timelineFields.search_url;\n const descriptions = [];\n\n if (scheduleTourType) descriptions.push(`Type: ${scheduleTourType}`);\n Object.keys(timelineFields).forEach((key) => {\n const titleizedKey = key\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n if (titleizedKey === \"Search Url\" && timelineFields.search_url) {\n descriptions.push(`${titleizedKey}: View Search`);\n } else {\n descriptions.push(`${titleizedKey}: ${timelineFields[key]}`);\n }\n });\n\n return (\n }\n title={\n
\n Submitted Form: \n {event.titleized_type}\n
\n }\n onClick={() => {\n if (isForcedSearch) window.open(timelineFields.search_url);\n else if (property?.url) window.open(property.url);\n }}\n interactedAt={event.interacted_at_absolute}\n >\n {!isForcedSearch && property && }\n {descriptions.length > 0 &&
Details:
}\n
\n {descriptions.map((description) => (\n
\n ))}\n
\n \n );\n};\n\nTimelineSubmittedFormEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineSubmittedFormEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineQualificationFormEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const descriptions = [];\n\n const orderedDetails = {\n selling_or_buying: \"Selling or Buying\",\n buy_time_frame: \"Buy Time Frame\",\n sell_time_frame: \"Sell Time Frame\",\n time_frame: \"Time Frame\",\n \"mortgage_pre-approval\": \"Mortgage Pre-Approval\",\n \"morgage_pre-approval\": \"Mortgage Pre-Approval\", // Support typo until code and data are updated\n scheduled_consult: \"Scheduled Consult\",\n consultation: \"Consultation\",\n };\n\n Object.keys(orderedDetails).forEach((key) => {\n const value = timelineFields[key];\n if (!value) return;\n\n const titleizedValue = capitalize(value);\n const titleizedKey = orderedDetails[key];\n\n if (key === \"time_frame\") {\n const sellingOrBuying = timelineFields.selling_or_buying;\n\n if (!sellingOrBuying) {\n descriptions.push(`${titleizedKey}: ${titleizedValue}`);\n } else {\n const lowerSellingOrBuying = sellingOrBuying.toLocaleLowerCase();\n\n if (lowerSellingOrBuying === \"buying\") {\n descriptions.push(`Buy Time Frame: ${titleizedValue}`);\n } else if (lowerSellingOrBuying === \"selling\") {\n descriptions.push(`Sell Time Frame: ${titleizedValue}`);\n } else if (lowerSellingOrBuying === \"both\") {\n descriptions.push(`Buy Time Frame: ${titleizedValue}`);\n descriptions.push(`Sell Time Frame: ${titleizedValue}`);\n } else {\n descriptions.push(`${titleizedKey}: ${titleizedValue}`);\n }\n }\n } else {\n descriptions.push(`${titleizedKey}: ${titleizedValue}`);\n }\n });\n\n return (\n }\n title=\"Submitted Form: Qualification\"\n interactedAt={event.interacted_at_absolute}\n >\n {descriptions.length > 0 &&
Details:
}\n {descriptions.map((description) => (\n
{description}
\n ))}\n \n );\n};\n\nTimelineQualificationFormEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineQualificationFormEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\n\nconst FORMATTED_KEYS = {\n Amount: \"Offer Amount\",\n \"Need financing_advice\": \"Mortgage Pre-Approval\",\n \"Have seen_home_in_person\": \"Have Seen Home In Person\",\n Position: \"Position\",\n Date: \"Date\",\n Resume: \"Resume\",\n \"Submitted on\": \"Submitted On\",\n \"Form source_url\": \"Form Source URL\",\n};\n\nconst getTitle = (comments) => {\n let title = \"Contact Form\";\n if (comments.startsWith(\"Make offer form from mobile\")) {\n title = \"Make An Offer\";\n }\n return title;\n};\n\nconst TimelineContactFormEvent = ({\n event,\n event: {\n timeline_fields: { property, ...timelineFields },\n },\n}) => {\n const descriptions = timelineFields.comments.split(/
|
/).map((detail) => {\n // eslint-disable-next-line prefer-const\n let [key, value] = detail.split(\": \");\n const formattedKey = FORMATTED_KEYS[key];\n\n if (formattedKey) {\n value = value.replace(\"Http\", \"http\");\n value = value.replace(\"$ \", \"$\");\n value = capitalize(value);\n\n return `${formattedKey}: ${value}`;\n }\n return detail;\n });\n\n return (\n \n Submitted Form: \n {getTitle(timelineFields.comments)}\n
\n }\n icon={}\n onClick={() => {\n if (property?.url) window.open(property.url);\n }}\n interactedAt={event.interacted_at_absolute}\n >\n {property && }\n {descriptions.length > 0 &&
Details:
}\n {descriptions.map((d) => (\n
{d}
\n ))}\n \n );\n};\n\nTimelineContactFormEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineContactFormEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport { UserSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineTaggingEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const [showModal, setShowModal] = useState(false);\n const action = event.event_type === \"tagging_destroyed\" ? \"deleted\" : \"added\";\n\n const content = {timelineFields.tag};\n\n return (\n }\n title={\n
\n {timelineFields.updater_name} \n {action} a tag:\n
\n }\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {content}\n setShowModal(false)}\n >\n \n \n {timelineFields.updater_name} \n {action} a tag: {content}\n \n \n \n );\n};\n\nTimelineTaggingEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineTaggingEvent;\n","import React from \"react\";\nimport \"@brivity/ai-components/dist/style.css\";\nimport { AiComponentsProvider, Transcript } from \"@brivity/ai-components\";\nimport useAiToken from \"./hooks/useAiToken\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\n\nconst AiCallSummary = ({ callSid }) => {\n const featureFlags = useFeatureFlags();\n const { token, apiUrl } = useAiToken();\n\n if (!featureFlags.callRecording || !token) return null;\n\n return (\n \n \n \n );\n};\n\nexport default AiCallSummary;\n","import React from 'react';\nimport AiCallSummary from \"@shared/AiAssistant/AiCallSummary\";\n\nconst TimelineTrackingNumberEvent = ({ event }) => {\n const firstName = event.timeline_fields[\"first_name\"] || \"\";\n const lastName = event.timeline_fields[\"last_name\"] || \"\";\n const name = `${firstName} ${lastName}`.trim();\n\n return (\n
\n
\n
\n \n
\n
\n \n {name ? name : \"No Name\"}\n \n {' called Tracking Number'}\n
\n Call Type: Inbound Call to {event.timeline_fields[\"tracking_number_name\"]}\n
\n
\n
\n
\n {event.interacted_at_absolute}\n
\n
\n
\n \n
\n
\n );\n};\n\nexport default TimelineTrackingNumberEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { HeartSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\n\nconst PropertyFavoriteEvent = ({\n event: {\n event_type: eventType,\n interacted_at_absolute: interactedAt,\n timeline_fields: timelineFields = {},\n },\n}) => {\n const isFavorite = eventType === \"property_favorite_created\";\n return (\n {\n if (timelineFields.url) window.open(timelineFields.url);\n }}\n onKeyDown={(e) => {\n if ([\"Enter\", \" \"].includes(e.key)) {\n e.preventDefault();\n if (timelineFields.url) window.open(timelineFields.url);\n }\n }}\n >\n }\n title={\n
\n \n {timelineFields.first_name} {timelineFields.last_name}{\" \"}\n \n \n {isFavorite ? \"favorited\" : \"unfavorited\"} a property\n \n
\n }\n interactedAt={interactedAt}\n >\n \n \n
\n );\n};\n\nPropertyFavoriteEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default PropertyFavoriteEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst PublicActivityEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <>\n }\n title={event.interaction_type}\n onClick={() => setShowModal(true)}\n interactedAt={event.interacted_at_absolute}\n >\n {event.object_attributes.comment}\n \n\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[480px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n {event.object_attributes.comment}\n \n \n );\n};\n\nPublicActivityEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default PublicActivityEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { EnvelopeSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport Button from \"../../../shared/v2/Button\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst PublicActivityMessageEvent = ({\n event,\n personId,\n newDetailsPage,\n setInteractionTab,\n setGmailReplyThread,\n}) => {\n const [showModal, setShowModal] = useState(false);\n\n const handleReplyClick = () => {\n setShowModal(false);\n if (newDetailsPage) {\n const additionalRecipient = event.other_recipients || [];\n const ccVal = event.cc || [];\n const bccVal = event.bcc || [];\n setGmailReplyThread(event.id, `RE: ${event.email_subject}`, additionalRecipient, ccVal, bccVal);\n setInteractionTab(1);\n window.scrollTo(0, 0);\n } else {\n Brivity.EmailInteraction.showModal(personId, null, event.id, event.email_subject);\n }\n };\n\n const additionalRecipient = event.other_recipients || [];\n const recipientString = additionalRecipient.length > 0 ? `, ${additionalRecipient.join(\", \")}` : \"\";\n const from = `${event.agent_person.first_name} ${event.agent_person.last_name} <${event.agent_person.main_email}>`;\n const to = `${event.recipient.first_name} ${event.recipient.last_name} <${event.recipient.main_email}> ${recipientString}`;\n\n return (\n }\n title={\n
\n {from}\n {\" emailed \"}\n {to}\n
\n }\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n
{event.email_subject}
\n
{event.email_snippet}
\n\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[900px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n

Subject: {event.email_subject}

\n
\n
{`${from} to ${to}`}
\n
{event.interacted_at_relative_in_words}
\n
\n
\n
\n
\n \n \n \n\n
\n {event.other_recipients && event.other_recipients.length > 0 && (\n \n Reply All\n \n )}\n\n \n
\n
\n \n \n );\n};\n\nPublicActivityMessageEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n personId: PropTypes.number,\n newDetailsPage: PropTypes.bool.isRequired,\n setInteractionTab: PropTypes.func.isRequired,\n setGmailReplyThread: PropTypes.func.isRequired,\n};\n\nPublicActivityMessageEvent.defaultProps = {\n personId: undefined,\n};\n\nexport default PublicActivityMessageEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleExclamationRegularV6 } from \"@shared/v2/Icomoon\";\nimport twilioErrorCodes from \"@shared/v2/twilioErrorCodes\";\nimport PreTooltipContent from \"./PreTooltipContent\";\n\nconst MessageErrorTooltip = ({ error, errorCode, failedRecipients, size }) => {\n if (!error) return null;\n const twilioErrorMessage = twilioErrorCodes[errorCode];\n\n return (\n \n }\n content={\n \n This message failed to send to{\" \"}\n {error === \"allFailed\" ? \"all recipients.\" : \"to the following recipients:\"}\n {\"\\n\"}\n {error === \"someFailed\" && (\n
    \n {failedRecipients.map((recipient, i) => (\n // eslint-disable-next-line react/no-array-index-key\n
  • {recipient}
  • \n ))}\n
\n )}\n {\"\\n\"}\n {twilioErrorMessage}\n
\n }\n />\n );\n};\n\nMessageErrorTooltip.propTypes = {\n error: PropTypes.oneOf([\"allFailed\", \"someFailed\", false]),\n errorCode: PropTypes.number,\n failedRecipients: PropTypes.arrayOf(PropTypes.string).isRequired,\n size: PropTypes.string,\n};\n\nMessageErrorTooltip.defaultProps = {\n error: false,\n errorCode: undefined,\n size: \"xl\",\n};\n\nexport default MessageErrorTooltip;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { CheckCircleRegularV3, CircleExclamationRegularV6 } from \"@shared/v2/Icomoon/Icons\";\nimport MessageErrorTooltip from \"../../../Inbox/components/MessageErrorTooltip\";\n\nconst getStatusColor = (deliveryStatus) => {\n switch (deliveryStatus) {\n case \"Undelivered\":\n case \"Undelivered to all\":\n return \"tw-text-semantic-red-110\";\n case \"Undelivered to some\":\n return \"tw-text-[#E5941B]\";\n default:\n return \"tw-text-gray-50\";\n }\n};\n\nconst getConvertedStatus = (deliveryStatus) =>\n deliveryStatus === \"Undelivered to some\" ? \"someFailed\" : \"allFailed\";\n\nconst SmsStatus = ({ deliveryStatus, errorCode, failedRecipients }) => {\n const getStatusIcon = () => {\n if (deliveryStatus === \"Delivered\" || deliveryStatus === \"Delivered to all\") {\n return ;\n } else if (\n deliveryStatus === \"Undelivered\" ||\n deliveryStatus === \"Undelivered to all\" ||\n deliveryStatus === \"Undelivered to some\"\n ) {\n return errorCode ? (\n \n ) : (\n \n );\n } else {\n return null;\n }\n };\n\n if (!deliveryStatus) return null;\n\n return (\n
\n \n {deliveryStatus}\n \n {getStatusIcon()}\n
\n );\n};\n\nSmsStatus.propTypes = {\n deliveryStatus: PropTypes.string,\n errorCode: PropTypes.number,\n failedRecipients: PropTypes.arrayOf(PropTypes.string),\n};\n\nSmsStatus.defaultProps = {\n deliveryStatus: \"\",\n errorCode: undefined,\n nonDeliveryReasons: [],\n};\n\nexport default SmsStatus;\n","import React, { useState } from \"react\";\nimport SmsStatus from \"./SmsStatus\";\nimport MmsMediaModal from \"../../../shared/MmsMediaModal\";\nimport DncFlag from \"@shared/Sms/DncFlag\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\n\nconst SmsHeadline = ({ event }) => {\n const { agent_person: agentPerson, object_attributes: objectAttributes, recipient: lead } = event;\n const agentName = getContactName(agentPerson.first_name, agentPerson.last_name);\n const leadName = getContactName(lead.first_name, lead.last_name);\n\n const smsDirection = objectAttributes.interaction_type;\n const from = smsDirection === \"sms_out\" ? agentName : leadName;\n const to = smsDirection === \"sms_out\" ? leadName : agentName;\n\n return (\n
\n {from}\n {\" texted \"}\n {to}\n
\n );\n};\n\nconst DncSmsHeadline = ({ event }) => {\n const { agent_person: agentPerson, object_attributes: objectAttributes, recipient: lead, meta } = event;\n const agentName = getContactName(agentPerson.first_name, agentPerson.last_name);\n const leadName = getContactName(lead.first_name, lead.last_name);\n const leadPhone = formatPhoneNumber(meta.to_phone_number);\n const autoPlanName = meta.auto_plan_name;\n\n const smsDirection = objectAttributes.interaction_type;\n const from = smsDirection === \"sms_out\" ? agentName : leadName;\n const to = smsDirection === \"sms_out\" ? leadPhone : agentName;\n\n return (\n

\n {from}\n  texted \n {to}\n  \n \n \n \n  from \n {autoPlanName}\n

\n );\n};\n\nconst SmsMedia = ({ media }) => {\n if ([\"image/jpeg\", \"image/jpg\", \"image/gif\", \"image/png\"].indexOf(media.content_type) >= 0) {\n return ;\n } else {\n return
Unsupported media type
;\n }\n};\n\nconst getContactName = (firstName, lastName) => {\n let contactName = \"No Name\";\n\n if (firstName || lastName) {\n contactName = `${firstName} ${lastName}`.trim();\n }\n\n return contactName;\n};\n\nconst PublicActivitySmsEvent = ({ personId, event, newDetailsPage, setInteractionTab }) => {\n const [state, setState] = useState({\n messageForMmsMediaModal: null,\n mediaIndexForMmsMediaModal: null,\n });\n\n const openMmsMediaModal = (message, index) => {\n setState({\n messageForMmsMediaModal: message,\n mediaIndexForMmsMediaModal: index,\n });\n };\n\n const closeMmsMediaModal = () => {\n setState({\n messageForMmsMediaModal: null,\n mediaIndexForMmsMediaModal: null,\n });\n };\n\n const handleSmsEventClick = () => {\n if (event.mms_media) {\n return;\n } else if (newDetailsPage) {\n setInteractionTab(3);\n window.scrollTo(0, 0);\n } else {\n Brivity.SMSInteraction.showModal(personId, null);\n }\n };\n\n const useDnc = event.meta?.dnc === true && event.meta?.auto_plan_name;\n const Headline = useDnc ? DncSmsHeadline : SmsHeadline;\n return (\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n {event.object_attributes.comment}\n
\n {useDnc && (\n

\n \n At the time of texting, this number was on the Do Not Call Registry.\n \n \n Learn more\n \n

\n )}\n
\n
\n {event.mms_media?.map((media, index) => (\n
openMmsMediaModal(event, index)}>\n \n
\n ))}\n
\n
\n
\n {event.interacted_at_absolute}\n
\n r.error_code)?.error_code}\n failedRecipients={event.non_delivery_reasons?.map((reason) => reason.recipient) || []}\n />\n
\n
\n
\n \n
\n );\n};\n\nexport default PublicActivitySmsEvent;\n","import React, { Component } from \"react\";\nimport { DeleteNoteModal, EditNoteModal } from \"../../../Transactions/components/Notes/helpers/forms\";\nimport Linkify from \"linkify-react\";\n\nconst mentionMap = new Map();\n\nexport default class PublicActivityNoteEvent extends Component {\n constructor(props) {\n super(props);\n this.state = {\n showModal: false,\n showDiscardModal: false,\n showDeleteModal: false,\n markdown_content: props.event.object_attributes.markdown_content,\n note: {\n content: this.calculateNoteContent(props.event.object_attributes.markdown_content),\n notable_id: props.event.object_attributes.notable_id,\n notable_type: props.event.object_attributes.notable_type,\n id: props.event.object_attributes.id,\n starred: props.event.object_attributes.starred,\n externally_visible: props.event.object_attributes.externally_visible,\n created_by: props.event.object_attributes.created_by,\n },\n };\n this.interacted_at_epoch = this.props.interacted_at_epoch;\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.event.object_attributes !== this.props.event.object_attributes) {\n this.setState({\n note: { content: this.calculateNoteContent(this.props.event.object_attributes.markdown_content) },\n });\n }\n }\n\n calculateNoteContent(content) {\n return content.replace(/\\[([^\\]]+)\\]\\(([^)]+)\\)/g, (_, name, id) => {\n mentionMap.set(id, name);\n return `${window.location.host}/people/${id}`;\n });\n }\n\n showModal = () => {\n this.setState({ showModal: true });\n };\n\n hideModal = () => {\n this.setState({ showModal: false });\n };\n\n submitEditNoteForm = (note) => {\n this.props.updateNote(note);\n this.setState({\n note: { ...note, content: this.calculateNoteContent(note.content) },\n markdown_content: note.content,\n });\n this.hideModal();\n };\n\n setShowDiscardModal = (showDiscardModal) => {\n this.setState({\n showDiscardModal,\n });\n };\n\n setShowDeleteModal = (showDeleteModal) => {\n this.setState({\n showDeleteModal,\n });\n };\n\n handleDelete = (note) => {\n this.props.deleteNote(note);\n this.setState({\n showDeleteModal: false,\n showModal: false,\n });\n };\n\n render() {\n return (\n
\n
\n
\n
\n \n
\n\n
\n
\n {this.state.note.created_by === \"gabbi\" ? (\n <>\n AI Assistant added a note\n \n ) : (\n <>\n \n {this.props.event.agent_person.first_name} {this.props.event.agent_person.last_name}\n {\" \"}\n added a note\n \n )}\n
\n
\n Contents: \n {\n const potentialMentionId = content.split(\"/\").pop();\n return (\n e.stopPropagation()}\n {...attributes}\n >\n {mentionMap.has(potentialMentionId)\n ? `@${mentionMap.get(potentialMentionId)}`\n : content}\n \n );\n },\n },\n }}\n >\n {this.state.note.content}\n \n
\n
\n
\n {this.props.event.interacted_at_absolute}\n
\n
\n
\n\n {this.state.showModal && (\n this.setShowDeleteModal(true)}\n updateNote={this.submitEditNoteForm}\n />\n )}\n\n {this.state.showDeleteModal && (\n this.setShowDeleteModal(false)}\n onDelete={() => this.handleDelete(this.props.event.object_attributes)}\n />\n )}\n
\n );\n }\n}\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { CalendarCheckSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst Headline = ({ event }) => {\n const { agent_person: agentPerson, created_by_name: createdByName } = event;\n const from = `${agentPerson.first_name} ${agentPerson.last_name}`.trim();\n let interactionType = \"updated\";\n if (event.key === \"interaction.create\") interactionType = \"scheduled\";\n if (event.key === \"interaction.complete\") interactionType = \"completed\";\n\n if (createdByName !== null && createdByName.localeCompare(from)) {\n return (\n
\n {createdByName}\n {` ${interactionType} an appointment for `}\n {from}\n
\n );\n }\n if (createdByName === null) {\n return (\n
\n an appointment was\n {` ${interactionType} for ${from}`}\n
\n );\n }\n\n return (\n
\n {from}\n {` ${interactionType} an appointment`}\n
\n );\n};\n\nHeadline.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nconst Details = ({ event }) => {\n const { appointment_type: appointmentType, comment, location, outcome } = event.object_attributes;\n return (\n
\n
Details:
\n
\n Appointment Time: {moment(event.object_attributes.scheduled_at).format(\"LLL\")}\n
\n {!!appointmentType &&
Appointment Type: {appointmentType}
}\n {!!outcome &&
Outcome: {outcome}
}\n {!!comment &&
Notes: {comment}
}\n {!!location &&
Location: {location}
}\n
\n );\n};\n\nDetails.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nconst PublicActivityAppointmentEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n\n return (\n setShowModal(true)}\n onKeyDown={(e) => {\n if ([\"Enter\", \" \"].includes(e.key)) {\n e.preventDefault();\n setShowModal(true);\n }\n }}\n >\n }\n title={}\n interactedAt={event.interacted_at_absolute}\n >\n
\n \n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[400px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n \n
\n \n \n
\n );\n};\n\nPublicActivityAppointmentEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default PublicActivityAppointmentEvent;\n","// extracted by mini-css-extract-plugin\nexport default {\"verticalCenter\":\"ttICwfys7nfIxE0bT2pk\"};","import React from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport Error from \"../../../shared/Error\";\nimport person_detail_css from \"../../../PersonDetail/components/person-detail-styles.module.css\";\nimport phone_call_detail_css from \"./phone_call_detail_styles.module.css\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport FieldHelper from \"@shared/v2/FieldHelper\";\nimport MentionablePersonTextArea from \"@shared/mentions/MentionablePersonTextArea\";\n\nconst outcomeOptions = [\n { value: \"talked_to_lead\", label: \"Talked\" },\n { value: \"left_message\", label: \"Left Message\" },\n { value: \"busy\", label: \"Busy\" },\n { value: \"failed\", label: \"Failed\" },\n { value: \"no_answer\", label: \"No Answer\" },\n { value: \"wrong_number\", label: \"Wrong Number\" },\n];\n\nconst PhoneCallDetails = (props) => {\n const { interaction, updateValues, hasError, errorMessage, isDnc, notableId, isTimelineEvent } = props;\n const dncHelperText = isDnc ? (\n

\n The number you are contacting might be on the Do Not Call registry.\n \n Click here to learn more\n \n

\n ) : null;\n\n return (\n \n \n \n {hasError && }\n \n \n \n \n \n \n \n \n {outcomeOptions.map((outcome, index) => {\n return [\n updateValues(\"outcome\", outcome.value)}\n >\n {outcome.label}\n ,\n ];\n })}\n \n \n \n \n \n \n
\n \n props.updateValues(\"comment\", text)}\n />\n
\n props.updateValues(\"comment\", value)}\n isExternal={false}\n />\n {dncHelperText && }\n \n
\n );\n};\n\nexport default PhoneCallDetails;\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Linkify from \"linkify-react\";\nimport Button from \"@shared/v2/Button/Button\";\nimport AiCallSummary from \"@shared/AiAssistant/AiCallSummary\";\nimport { PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport PhoneCallDetails from \"../../../Interactions/PhoneCall/components/PhoneCallDetails\";\nimport { updateInteractionPromise } from \"../../../PersonDetail/actions/updateInteraction\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst mentionMap = new Map();\n\nconst calculateCallContent = (comment) =>\n comment.replace(/\\[([^\\]]+)\\]\\(([^)]+)\\)/g, (_, name, id) => {\n mentionMap.set(id, name);\n return `${window.location.host}/people/${id}`;\n });\n\nconst callDuration = (durationSeconds) => {\n const hours = Math.floor(durationSeconds / 60 / 60);\n const minutes = Math.floor((durationSeconds / 60) % 60);\n const seconds = Math.floor(durationSeconds % 60);\n\n const hoursString = hours.toString().padStart(2, \"0\");\n const minutesString = minutes.toString().padStart(2, \"0\");\n const secondsString = seconds.toString().padStart(2, \"0\");\n\n return (\n
Duration: {`${hoursString}:${minutesString}:${secondsString}`}
\n );\n};\n\nclass PublicActivityCallEvent extends Component {\n constructor(props) {\n super(props);\n this.state = {\n showModal: false,\n editableInteraction: {\n ...props.event.object_attributes,\n comment: calculateCallContent(props.event.object_attributes.markdown_comment),\n },\n editableInteractionHasErrors: false,\n editableInteractionErrorMessages: [],\n isSaving: false,\n };\n }\n\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState((state) => ({ ...state, ...nextProps }));\n }\n\n componentDidUpdate(prevProps) {\n const { event } = this.props;\n if (prevProps.event.object_attributes !== event.object_attributes) {\n this.setState({\n editableInteraction: {\n ...event.object_attributes,\n comment: calculateCallContent(event.object_attributes.markdown_comment),\n },\n });\n }\n }\n\n showModal = () => {\n this.setState({ showModal: true });\n };\n\n hideModal = () => {\n const { event } = this.props;\n this.setState({\n showModal: false,\n editableInteraction: {\n ...event.object_attributes,\n comment: calculateCallContent(event.object_attributes.markdown_comment),\n },\n editableInteractionHasErrors: false,\n isSaving: false,\n editableInteractionErrorMessages: [],\n });\n };\n\n headline = () => {\n const { event } = this.props;\n const rawFrom = `${event.agent_person.first_name} ${event.agent_person.last_name}`.trim();\n const fromString = rawFrom.trim().length > 0 ? rawFrom : \"An unnamed agent\";\n\n const { duration } = event.object_attributes;\n let callContext = \"\";\n\n if (duration == null) {\n callContext = \" logged a call\";\n } else {\n callContext = \" called this contact\";\n }\n\n return (\n
\n {fromString}\n {callContext}\n
\n );\n };\n\n callResult = () => {\n const {\n event: {\n object_attributes: { outcome },\n },\n } = this.props;\n\n switch (outcome) {\n case \"talked_to_lead\":\n return \"Talked\";\n case \"left_message\":\n return \"Left Voicemail\";\n case \"busy\":\n return \"Busy\";\n case \"failed\":\n return \"Call Failed\";\n case \"no_answer\":\n return \"No Answer\";\n case \"wrong_number\":\n return \"Wrong Number\";\n case \"canceled\":\n return \"Canceled\";\n case \"inbound_call\":\n return \"Inbound Call\";\n default:\n return \"Unknown\";\n }\n };\n\n notes = () => {\n const { editableInteraction } = this.state;\n return (\n
\n Notes: \n e.stopPropagation()}\n className=\"tw-whitespace-pre-wrap tw-break-words\"\n tagName=\"span\"\n options={{\n defaultProtocol: \"https\",\n target: \"_blank\",\n render: {\n url: ({ attributes, content }) => {\n const segments = content.split(\"/\");\n const potentialMentionId = segments[segments.length - 1];\n return (\n \n {mentionMap.has(potentialMentionId) ? `@${mentionMap.get(potentialMentionId)}` : content}\n \n );\n },\n },\n }}\n >\n {editableInteraction.comment}\n \n
\n );\n };\n\n details = () => {\n const {\n event: {\n meta,\n object_attributes: { duration, markdown_comment: notes },\n },\n } = this.props;\n\n return (\n <>\n Call Result: {this.callResult()}\n {meta?.call_source && Call Source: {meta.call_source}}\n {duration !== null && callDuration(duration)}\n {!!notes && this.notes()}\n \n );\n };\n\n updateEditableInteraction = (name, value) => {\n if (name === \"comment\") {\n this.setState((state) => ({\n editableInteraction: {\n ...state.editableInteraction,\n comment: value,\n markdown_comment: value,\n },\n }));\n } else {\n this.setState((state) => ({ editableInteraction: { ...state.editableInteraction, [name]: value } }));\n }\n };\n\n submitEditableInteraction = () => {\n const { editableInteraction } = this.state;\n const { submitUpdateInteraction } = this.props;\n this.setState({\n isSaving: true,\n });\n updateInteractionPromise(editableInteraction)\n .then((r) => {\n this.setState({\n showModal: false,\n editableInteractionHasErrors: false,\n isSaving: false,\n editableInteractionErrorMessages: [],\n });\n submitUpdateInteraction(r.data);\n })\n .catch((e) => {\n this.setState({\n editableInteractionHasErrors: true,\n isSaving: false,\n editableInteractionErrorMessages: e.data.errors,\n });\n });\n };\n\n render() {\n const {\n editableInteraction,\n editableInteractionHasErrors,\n editableInteractionErrorMessages,\n isSaving,\n showModal,\n } = this.state;\n const { event } = this.props;\n return (\n <>\n }\n title={this.headline()}\n interactedAt={event.interacted_at_absolute}\n extraContent={}\n onClick={this.showModal}\n >\n {this.details()}\n \n\n \n \n \n \n \n \n \n \n Save\n \n \n \n \n );\n }\n}\n\nPublicActivityCallEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n submitUpdateInteraction: PropTypes.func.isRequired,\n};\n\nexport default PublicActivityCallEvent;\n","import axios from \"axios\";\n\nexport const updateInteractionPromise = (interaction) => {\n return new Promise((resolve, reject) => {\n axios.patch(`/people/${interaction.person_id}/interactions/${interaction.id}.json`, { interaction: interaction, person_details_page: 'true', authenticity_token: ReactOnRails.authenticityToken()})\n .then(res => {\n const successObject = {\n success: true,\n data: res.data\n }\n resolve(successObject);\n }).catch(err => {\n const errorObject = {\n success: false,\n data: err.response.data\n }\n reject(errorObject);\n })\n });\n}\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { RightToBracketSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst PublicActivityLoginEvent = ({ event }) => {\n const {\n object_attributes: { first_name: firstName, last_name: lastName },\n interacted_at_absolute: interactedAt,\n } = event;\n const [showModal, setShowModal] = useState(false);\n\n const headline = (\n
\n {`${firstName} ${lastName}`.trim()}\n {\" logged into Brivity\"}\n
\n );\n\n return (\n <>\n }\n title={headline}\n onClick={() => setShowModal(true)}\n interactedAt={interactedAt}\n >\n
Time: {interactedAt}
\n \n\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[480px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n
{headline}
\n
Details:
\n
Time: {interactedAt}
\n
\n \n \n );\n};\n\nPublicActivityLoginEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default PublicActivityLoginEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { CommentsSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst PublicActivityOtherEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n const from = `${event.agent_person.first_name} ${event.agent_person.last_name}`.trim();\n const headline = (\n
\n {from}\n {\" created an Interaction\"}\n
\n );\n\n const details = (\n <>\n
Scheduled at: {moment(event.object_attributes.interacted_at).format(\"LL\")}
\n {event.interaction_type &&
Type: {event.interaction_type}
}\n {event.object_attributes.comment && (\n
Notes: {event.object_attributes.comment}
\n )}\n \n );\n\n return (\n }\n title={headline}\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {details}\n\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[400px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n {headline}\n {details}\n \n \n \n );\n};\n\nPublicActivityOtherEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default PublicActivityOtherEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { PaperclipSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst attachmentFileIconClass = (mimeType) => {\n switch (mimeType) {\n case \"image/gif\":\n case \"image/png\":\n case \"image/jpeg\":\n case \"image/jpg\":\n return \"fa fa-file-image-o\";\n case \"application/pdf\":\n return \"fa fa-file-pdf-o\";\n default:\n return \"fa fa-file-o\";\n }\n};\n\nconst GmailAttachment = ({ attachment, message }) => {\n const queryParams = new URLSearchParams();\n queryParams.append(\"message_id\", message.id);\n queryParams.append(\"filename\", attachment.filename);\n queryParams.append(\"content_type\", attachment.mime_type);\n\n return (\n \n \n {attachment.filename}\n \n );\n};\n\nGmailAttachment.propTypes = {\n attachment: PropTypes.shape().isRequired,\n message: PropTypes.shape().isRequired,\n};\n\nconst GmailMessage = ({ message, activeMessageId, toggleMessage }) => (\n <>\n toggleMessage(message.id)}\n onKeyDown={(e) => {\n if ([\"Enter\", \" \"].includes(e.key)) {\n e.preventDefault();\n toggleMessage(message.id);\n }\n }}\n >\n
\n {message.from} to {message.to}\n
\n
\n {message.attachments.length > 1 && } {message.interacted_at_relative_in_words}\n
\n
\n\n {message.id === activeMessageId && (\n
\n
\n\n
\n {message.attachments.map((attachment) => (\n \n ))}\n
\n
\n )}\n \n);\n\nGmailMessage.propTypes = {\n message: PropTypes.shape().isRequired,\n activeMessageId: PropTypes.number.isRequired,\n toggleMessage: PropTypes.func.isRequired,\n};\n\nexport default GmailMessage;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport GmailMessage from \"./GmailMessage\";\n\nconst GmailThread = ({ messages }) => {\n const [activeMessageId, setActiveMessageId] = useState(messages[0].id);\n\n return (\n
\n {messages.map((message) => (\n \n ))}\n
\n );\n};\n\nGmailThread.propTypes = {\n messages: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n};\n\nexport default GmailThread;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { EnvelopeRegularV6, PaperclipSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport GmailThread from \"./GmailThread\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst GmailInteraction = ({\n interaction,\n newDetailsPage,\n personId,\n setGmailReplyThread,\n setInteractionTab,\n}) => {\n const messageCount = interaction.messages.length;\n const [showModal, setShowModal] = useState(false);\n const [recipientsEmails, setRecipientsEmails] = useState([]);\n const [ccEmails, setCcEmails] = useState([]);\n\n useEffect(() => {\n const emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}/g;\n if (interaction.most_recent_message_to) {\n // Regular expression to match email addresses\n // Use the match method to find all email addresses in the most_recent_message_to\n const recipientEmailAddresses = interaction.most_recent_message_to.match(emailRegex);\n if (recipientEmailAddresses) setRecipientsEmails(recipientEmailAddresses);\n }\n\n if (interaction.most_recent_message_cc) {\n // Regular expression to match email addresses\n // Use the match method to find all email addresses in the most_recent_message_cc\n const ccEmailAddresses = interaction.most_recent_message_cc.match(emailRegex);\n if (ccEmailAddresses) setCcEmails(ccEmailAddresses);\n }\n }, []);\n\n const showGmailModal = () => setShowModal(true);\n const hideGmailModal = () => setShowModal(false);\n\n const showEmailModal = () => {\n hideGmailModal();\n Brivity.EmailInteraction.showModal(personId, null, interaction.id, interaction.subject);\n };\n\n const handleReplyClick = () => {\n if (newDetailsPage) {\n const additionalRecipient = recipientsEmails.length > 1 ? recipientsEmails.slice(1) : [];\n const ccVal = ccEmails || [];\n const bccVal = interaction.bcc || [];\n setGmailReplyThread(interaction.id, `RE: ${interaction.subject}`, additionalRecipient, ccVal, bccVal);\n setInteractionTab(1);\n hideGmailModal();\n window.scrollTo(0, 0);\n } else {\n showEmailModal();\n }\n };\n\n return (\n {\n if ([\"Enter\", \" \"].includes(e.key)) {\n e.preventDefault();\n showGmailModal();\n }\n }}\n >\n }\n title={\n
\n {interaction.most_recent_message_from}\n {` emailed `}\n {interaction.most_recent_message_to}\n {messageCount > 1 ? ` (${messageCount}) ` : \" \"}\n
\n }\n interactedAt={\n <>\n {interaction.interacted_at_absolute} {interaction.has_attachment && }\n \n }\n >\n
\n
{interaction.subject}
\n
\n
\n \n\n \n \n \n

Subject: {interaction.subject}

\n \n
\n \n \n\n
\n {recipientsEmails.length > 1 && (\n \n Reply All\n \n )}\n\n \n
\n
\n \n
\n );\n};\n\nGmailInteraction.propTypes = {\n interaction: PropTypes.shape().isRequired,\n newDetailsPage: PropTypes.bool.isRequired,\n personId: PropTypes.number.isRequired,\n setInteractionTab: PropTypes.func.isRequired,\n setGmailReplyThread: PropTypes.func.isRequired,\n};\n\nexport default GmailInteraction;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { SquareCheckSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TaskEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n\n const headline = (\n
\n {event.owning_user_name}\n {\" completed a task\"}\n
\n );\n\n return (\n }\n title={headline}\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {headline}\n
Details: {event.description}
\n\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[400px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n {headline}\n
Details: {event.description}
\n
\n \n \n );\n};\n\nTaskEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TaskEvent;\n","import React, { useState } from \"react\";\nimport capitalize from \"capitalize\";\nimport Modal from \"@shared/v2/Modal\";\n\nconst assignedPlanEvents = {\n assigned_plan_applied: {\n name: \"applied\",\n cssClass: \"assigned-plan-applied text-info\",\n iconClass: \"fa-bolt\",\n },\n assigned_plan_paused: { name: \"paused\", cssClass: \"assigned-plan-paused\", iconClass: \"fa-pause\" },\n assigned_plan_resumed: {\n name: \"resumed\",\n cssClass: \"assigned-plan-resumed text-info\",\n iconClass: \"fa-play\",\n },\n assigned_plan_completed: { name: \"completed\", cssClass: \"assigned-plan-completed\", iconClass: \"fa-bolt\" },\n assigned_plan_deleted: { name: \"deleted\", cssClass: \"assigned-plan-deleted\", iconClass: \"fa-trash\" },\n};\n\nconst getDetails = ({ id, timeline_fields: timelineFields }) => {\n const rows = [];\n\n for (const field in timelineFields) {\n if (field == \"user_name\") {\n continue;\n }\n const titleizedKey = field\n .split(\"_\")\n .map((element) => {\n return capitalize(element);\n })\n .join(\" \");\n\n const description = `${titleizedKey}: ${timelineFields[field]}`;\n rows.push(description);\n }\n\n return rows.sort().map((description) => {\n return
{description}
;\n });\n};\n\nconst getTitle = ({ event_type, timeline_fields }) => {\n const { cssClass, name } = assignedPlanEvents[event_type] || {};\n const updaterName = timeline_fields.user_name;\n const updatedViaTrigger = !updaterName;\n\n if (updatedViaTrigger) {\n return (\n
\n Auto Plan {name}\n {event_type !== \"assigned_plan_completed\" && \" via trigger\"}\n
\n );\n } else {\n return (\n
\n {updaterName} {name} an Auto\n Plan\n
\n );\n }\n};\n\nconst getIcon = ({ event_type }) => {\n const { cssClass, iconClass } = assignedPlanEvents[event_type] || {};\n return ;\n};\n\nconst AssignedPlanEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n\n const title = getTitle(event);\n\n return (\n
\n
setShowModal(true)}>\n
\n
{getIcon(event)}
\n
\n {title}\n
{getDetails(event)}
\n
\n
\n
\n {event.interacted_at_absolute}\n
\n
\n
\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-min-h-full tw-max-h-full timeline-content !tw-bg-transparent\"\n contentClassName=\"tw-w-[600px] tw-m-auto tw-space-y-[32px] timeline-event\"\n >\n \n \n
Details:
\n {getDetails(event)}\n
\n \n
\n );\n};\n\nexport default AssignedPlanEvent;\n","import React from \"react\";\n\nconst MarketReportSentEvent = ({ event }) => {\n const { sent_by, ...fields } = event.timeline_fields;\n const available_criteria = [\n fields.property_type,\n fields.beds,\n fields.baths,\n fields.sqft,\n fields.lot_sqft,\n fields.price,\n fields.search_radius,\n ].filter((obj) => obj);\n\n return (\n
\n
\n
\n
\n \"CMA\n
\n
\n
\n {sent_by == \"drip\" ? (\n
Market Report sent via drip
\n ) : (\n
\n {sent_by}\n {\" sent Market Report\"}\n
\n )}\n
\n
\n Report Name:{\" \"}\n \n {fields.report_name}\n \n
\n
Location: {fields.location}
\n
Criteria: {available_criteria.join(\" | \")}
\n
Scheduled Drip: {fields.drip_schedule}
\n
\n
\n
\n
\n {event.interacted_at_absolute}\n
\n
\n
\n );\n};\n\nexport default MarketReportSentEvent;\n","import React, { Component } from 'react';\nimport capitalize from 'capitalize';\n\nexport default class MarketReportViewedEvent extends Component {\n constructor(props, context){\n super(props, context)\n\n this.interacted_at_epoch = this.props.interacted_at_epoch\n this.event = this.props.event\n }\n\n details = () => {\n let rows = [];\n const fields = this.event.timeline_fields;\n\n return (\n
\n \n Report Name: {fields.report_name}\n \n
\n )\n }\n\n row = () => {\n return (\n
\n
\n
\n \n
\n
\n \n {this.event.timeline_fields.viewed_by}\n \n {' viewed Market Report'}\n
\n {this.details()}\n
\n
\n
\n
\n {this.event.interacted_at_absolute}\n
\n
\n
\n )\n }\n\n render() {\n return (\n
\n { this.row() }\n
\n )\n }\n}\n","import React, { Component } from 'react';\nimport capitalize from 'capitalize';\n\nexport default class MarketReportFrequencyUpdatedEvent extends Component {\n constructor(props, context){\n super(props, context)\n\n this.interacted_at_epoch = this.props.interacted_at_epoch\n this.event = this.props.event\n }\n\n details = () => {\n let rows = [];\n const fields = this.event.timeline_fields;\n\n return (\n
\n \n Report Name: {fields.report_name}\n \n \n Scheduled Drip: {fields.drip_schedule}\n \n
\n )\n }\n\n row = () => {\n return (\n
\n
\n
\n
\n \"CMA\n
\n
\n
\n \n {this.event.timeline_fields.updated_by}\n \n {' updated Market Report Frequency'}\n
\n {this.details()}\n
\n
\n
\n
\n {this.event.interacted_at_absolute}\n
\n
\n
\n )\n }\n\n render() {\n return (\n
\n { this.row() }\n
\n )\n }\n}\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport { UploadSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineDocumentEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n const from = event.timeline_fields.uploader_name;\n const action = event.event_type === \"document_destroyed\" ? \"deleted\" : \"uploaded\";\n\n const title = (\n
\n {from}\n {` ${action} a document`}\n
\n );\n\n const content = (\n <>\n
Details:
\n
\n Document Name:{\" \"}\n \n {event.timeline_fields.document_name}\n \n
\n \n );\n\n return (\n }\n title={title}\n interactedAt={event.interacted_at_absolute}\n onClick={() => setShowModal(true)}\n >\n {content}\n setShowModal(false)}\n >\n \n \n {title}\n {content}\n \n \n \n );\n};\n\nTimelineDocumentEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineDocumentEvent;\n","import React, { Component } from 'react';\n\nexport default class ListingAlertFrequencyEvent extends Component {\n constructor(props, context){\n super(props, context)\n\n this.interacted_at_epoch = this.props.interacted_at_epoch\n this.event = this.props.event\n }\n\n details = () => {\n let rows = [];\n const fields = this.event.timeline_fields;\n\n return (\n
\n \n {'Frequency: '}\n \n {fields.from}\n \n {' to '}\n \n {fields.to}\n \n \n
\n )\n }\n\n row = () => {\n return (\n
\n
\n
\n \n
\n
\n \n {'ATTENTION: Brivity'}\n \n {' auto-updated Listing Alert frequency for \"'}\n \n {this.event.timeline_fields.name}\n \n {'\" due to lack of engagement.'}\n
\n {this.details()}\n
\n
\n
\n
\n {this.event.interacted_at_absolute}\n
\n
\n
\n )\n }\n\n render() {\n return (\n
\n { this.row() }\n
\n )\n }\n}\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport { LocationArrowSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst Details = ({ event }) => (\n
\n
\n Location: {event.timeline_fields.address} {event.timeline_fields.city} {event.timeline_fields.state}{\" \"}\n {event.timeline_fields.zip}\n
\n
Keyword: {event.timeline_fields.keyword}
\n
\n);\n\nDetails.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nconst KwklyPropertyView = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n\n return (\n setShowModal(true)}\n onKeyDown={(e) => {\n if ([\"Enter\", \" \"].includes(e.key)) {\n e.preventDefault();\n setShowModal(true);\n }\n }}\n >\n }\n title=\"Contact viewed a property using KWKLY\"\n interactedAt={event.interacted_at_absolute}\n >\n
\n \n\n setShowModal(false)}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[480px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n \n
Details:
\n
\n \n \n
\n );\n};\n\nKwklyPropertyView.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default KwklyPropertyView;\n","import React, { Component } from 'react';\n\nexport default class TimelineValidationUpdateEvent extends Component {\n constructor(props, context){\n super(props, context)\n this.interacted_at_epoch = this.props.interacted_at_epoch\n this.event = this.props.event\n }\n\n changes = () => {\n if (this.event.timeline_fields.detail.validation.length > 1) {\n return (\n {this.event.timeline_fields.detail.value} changed from {this.event.timeline_fields.detail.validation[0]} to {this.event.timeline_fields.detail.validation[1]}\n )\n }\n else {\n return (\n {this.event.timeline_fields.detail.value} changed to {this.event.timeline_fields.detail.validation[0]}\n )\n }\n }\n\n render() {\n return (\n
\n
\n
\n \n
\n
\n {this.event.timeline_fields.updater_name}{` changed ${this.event.timeline_fields.detail.type} validation status`}\n
\n {this.changes()}\n
\n
\n
\n {this.event.interacted_at_absolute}\n
\n
\n
\n )\n }\n}\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport { PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst DirectToTimelineEvent = ({ event }) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n const showModal = () => {\n setIsModalOpen(true);\n };\n\n const hideModal = () => {\n setIsModalOpen(false);\n };\n\n return (\n {\n if ([\"Enter\", \" \"].includes(e.key)) {\n e.preventDefault();\n showModal();\n }\n }}\n >\n }\n title={\n
\n Event: Callingly Call\n
\n }\n interactedAt={event.interacted_at_absolute}\n >\n
\n
\n {event.timeline_fields.event}\n
\n
\n \n \n
\n \n \n
Details:
\n
\n
\n {event.timeline_fields.event}\n
\n
\n
\n
\n \n
\n );\n};\n\nDirectToTimelineEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default DirectToTimelineEvent;\n","import React from \"react\";\n\nconst CmaCreatedByEvent = ({ event }) => {\n const { report_created_by, report_location, report_url } = event.timeline_fields;\n\n return (\n
\n
\n
\n
\n \"CMA\n
\n
\n
\n
\n {report_created_by}\n {\" created a CMA\"}\n
\n
\n
\n Location:{\" \"}\n \n {report_location}\n \n
\n
\n
\n
\n
\n {event.interacted_at_absolute}\n
\n
\n
\n );\n};\n\nexport default CmaCreatedByEvent;\n","const getContactName = (firstName, lastName) => {\n let contactName = \"No Name\";\n\n if (firstName || lastName) {\n contactName = `${firstName} ${lastName}`.trim();\n }\n\n return contactName;\n};\n\nexport default getContactName;\n","import React from \"react\";\n\nconst Skeleton = ({ title, iconClassName, body, timestamp }) => (\n
\n
\n \n
\n
\n
{title}
\n
{body}
\n
\n
{timestamp}
\n
\n
\n
\n);\n\nexport default Skeleton;\n","import React from \"react\";\nimport getContactName from \"./getContactName\";\nimport Skeleton from \"./Skeleton\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\n\nconst TimelineSmsHardUnsubscribeEvent = ({ event }) => {\n const timelineFields = event.timeline_fields;\n const { lead, change, lead_phone_number } = timelineFields;\n const phone = viewPhoneFromFlat({ value: lead_phone_number });\n const leadName = getContactName(lead.first_name, lead.last_name);\n const initialState = change.named_status[0];\n const finalState = change.named_status[1];\n\n return (\n \n {leadName} has opted out of text contact\n \n }\n timestamp={event.interacted_at_absolute}\n body={\n

\n {phone.formattedNumber} changed Text Status from{\" \"}\n {initialState} to{\" \"}\n {finalState}\n

\n }\n />\n );\n};\n\nexport default TimelineSmsHardUnsubscribeEvent;\n","import React from \"react\";\nimport getContactName from \"./getContactName\";\nimport Skeleton from \"./Skeleton\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\n\nconst TimelineSmsHardUnsubscribeEvent = ({ event }) => {\n const timelineFields = event.timeline_fields;\n const { lead, change, lead_phone_number } = timelineFields;\n const phone = viewPhoneFromFlat({ value: lead_phone_number });\n const leadName = getContactName(lead.first_name, lead.last_name);\n const initialState = change.named_status[0];\n const finalState = change.named_status[1];\n\n return (\n \n {leadName} has opted into text contact\n \n }\n timestamp={event.interacted_at_absolute}\n body={\n

\n {phone.formattedNumber} changed Text Status from{\" \"}\n {initialState} to{\" \"}\n {finalState}\n

\n }\n />\n );\n};\n\nexport default TimelineSmsHardUnsubscribeEvent;\n","import React from \"react\";\nimport getContactName from \"./getContactName\";\nimport Skeleton from \"./Skeleton\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\n\nconst TimelineSmsHardUnsubscribeEvent = ({ event }) => {\n const timelineFields = event.timeline_fields;\n const { lead, change, lead_phone_number } = timelineFields;\n const phone = viewPhoneFromFlat({ value: lead_phone_number });\n const leadName = getContactName(lead.first_name, lead.last_name);\n const initialState = change.named_status[0];\n const finalState = change.named_status[1];\n\n return (\n \n {leadName} has opted out of phone contact\n \n }\n timestamp={event.interacted_at_absolute}\n body={\n

\n {phone.formattedNumber} changed Call Status from{\" \"}\n {initialState} to{\" \"}\n {finalState}\n

\n }\n />\n );\n};\n\nexport default TimelineSmsHardUnsubscribeEvent;\n","import React from \"react\";\nimport getContactName from \"./getContactName\";\nimport Skeleton from \"./Skeleton\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\n\nconst TimelineCallHardResubscribeEvent = ({ event }) => {\n const timelineFields = event.timeline_fields;\n const { lead, change, lead_phone_number } = timelineFields;\n const phone = viewPhoneFromFlat({ value: lead_phone_number });\n const leadName = getContactName(lead.first_name, lead.last_name);\n const initialState = change.named_status[0];\n const finalState = change.named_status[1];\n\n return (\n \n {leadName} has opted into phone contact.\n \n }\n timestamp={event.interacted_at_absolute}\n body={\n

\n {phone.formattedNumber} changed Call Status from{\" \"}\n {initialState} to{\" \"}\n {finalState}\n

\n }\n />\n );\n};\n\nexport default TimelineCallHardResubscribeEvent;\n","import React from \"react\";\nimport getContactName from \"./getContactName\";\nimport Skeleton from \"./Skeleton\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\n\nconst TimelineSmsHardUntextableEvent = ({ event }) => {\n const timelineFields = event.timeline_fields;\n const { lead, lead_phone_number, author } = timelineFields;\n const phone = viewPhoneFromFlat({ value: lead_phone_number });\n const leadName = getContactName(lead.first_name, lead.last_name);\n const autoPlanName = author.auto_plan_name;\n\n return (\n \n Failed to send text to {leadName} for {autoPlanName}\n \n }\n timestamp={event.interacted_at_absolute}\n body={\n

\n {phone.formattedNumber} is unable to receive text messages. It may be a landline or VOIP number.\n Change the number's text status to resume sending texts.\n

\n }\n />\n );\n};\n\nexport default TimelineSmsHardUntextableEvent;\n","import React from \"react\";\nimport Skeleton from \"./Skeleton\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\n\nconst SMS_DICITONARY = {\n valid: \"Can be Texted\",\n untextable: \"Cannot be Texted\",\n \"opted-out\": \"Opted Out\",\n};\n\nconst CALL_DICTIONARY = {\n valid: \"Can be Called\",\n \"opted-out\": \"Opted Out\",\n};\n\nconst TimelineSoftStatusChangeEvent = ({ event }) => {\n const timelineFields = event.timeline_fields;\n const { lead_phone_number, author_name, change } = timelineFields;\n const phone = viewPhoneFromFlat({ value: lead_phone_number });\n const authorName = author_name;\n const isSms = change.sms_status ? true : false;\n const changeSet = change.sms_status || change.call_status;\n const dictionary = isSms ? SMS_DICITONARY : CALL_DICTIONARY;\n const originalState = dictionary[changeSet[0]];\n const finalState = dictionary[changeSet[1]];\n const typeChange = isSms ? \"Text\" : \"Call\";\n\n return (\n \n {authorName} changed {typeChange} Status\n \n }\n timestamp={event.interacted_at_absolute}\n body={\n

\n {phone.formattedNumber} changed from {originalState} to{\" \"}\n {finalState}\n

\n }\n />\n );\n};\n\nexport default TimelineSoftStatusChangeEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport MmsMediaModal from \"@shared/MmsMediaModal\";\nimport { CommentDotsRegularV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\nimport SmsStatus from \"./SmsStatus\";\n\nconst TimelineGroupSmsEvent = ({ event }) => {\n const {\n attachments,\n delivery_status: deliveryStatus,\n error_code: errorCode,\n message,\n non_delivery_reasons: nonDeliveryReasons,\n recipients,\n sender,\n } = event.timeline_fields || {};\n const [state, setState] = useState({\n selectedMessage: null,\n mediaIndex: null,\n });\n return (\n \n {sender?.full_name} texted{\" \"}\n {recipients?.map((r) => r.full_name).join(\", \")}\n
\n }\n icon={}\n interactedAt={event.interacted_at_absolute}\n >\n
\n
{message}
\n r.error_code)?.error_code || errorCode}\n failedRecipients={\n (event.non_delivery_reasons || nonDeliveryReasons)?.map((reason) => reason.recipient) || []\n }\n />\n
\n
\n {(event.mms_media || attachments)?.map(({ url }, i) => (\n \n setState({\n selectedMessage: {\n createdByAlias: sender?.full_name,\n dateCreated: moment(event.interacted_at_absolute, \"MM/DD/YY [at] h:mm a z\"),\n attachments: (event.mms_media || attachments).map(({ url: fileUrl }) => ({ fileUrl })),\n },\n mediaIndex: i,\n })\n }\n >\n \n \n ))}\n
\n setState({ selectedMessage: null, mediaIndex: null })}\n />\n \n );\n};\n\nTimelineGroupSmsEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default TimelineGroupSmsEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FishSolidV3 from \"@shared/v2/Icomoon/Icons/FishSolidV3\";\n\nconst TimelineLeadPondDeleteEvent = ({ event }) => (\n
\n
\n
\n
\n \n \n \n
\n
\n {event.timeline_fields.updater_name}\n {\" deleted \"}\n {event.timeline_fields.lead_pond}\n
\n
\n
\n {\"Reassigned from \"}\n {event.timeline_fields.lead_pond}\n {\" to \"}\n {event.timeline_fields.account_owner}\n
\n
\n
\n
\n
\n
\n {event.interacted_at_absolute}\n
\n
\n
\n
\n);\nTimelineLeadPondDeleteEvent.propTypes = {\n event: PropTypes.shape({\n interacted_at_absolute: PropTypes.string,\n timeline_fields: PropTypes.shape({\n updater_name: PropTypes.string,\n lead_pond: PropTypes.string,\n account_owner: PropTypes.string,\n }),\n }),\n};\n\nTimelineLeadPondDeleteEvent.defaultProps = {\n event: null,\n};\n\nexport default TimelineLeadPondDeleteEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport { TrashSolidV6, UploadSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineAgreementEvent = ({ event }) => {\n const [showModal, setShowModal] = useState(false);\n\n const showModalHandler = () => {\n setShowModal(true);\n };\n\n const hideModalHandler = () => {\n setShowModal(false);\n };\n\n const headline = (\n
\n {event.timeline_fields.updater_name} \n {event.event_type === \"agreement_deleted\" ? \"deleted\" : \"added\"} a{\" \"}\n {event.timeline_fields.agreement_type} agreement\n
\n );\n\n return (\n : }\n title={headline}\n interactedAt={event.interacted_at_absolute}\n onClick={showModalHandler}\n >\n {event.timeline_fields.document_name &&
Document Name: {event.timeline_fields.document_name}
}\n\n \n \n \n {headline}\n {event.timeline_fields.document_name && (\n <>\n
Details:
\n
Document Name: {event.timeline_fields.document_name}
\n \n )}\n
\n \n \n );\n};\n\nTimelineAgreementEvent.propTypes = {\n event: PropTypes.shape({\n timeline_fields: PropTypes.shape({\n updater_name: PropTypes.string,\n agreement_type: PropTypes.string,\n document_name: PropTypes.string,\n }),\n event_type: PropTypes.string,\n interacted_at_absolute: PropTypes.string,\n }).isRequired,\n};\n\nexport default TimelineAgreementEvent;\n","import React from \"react\";\nimport Skeleton from \"./Skeleton\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\n\nconst TimelinePhoneNumbersArchivedConversations = ({\n event: {\n interacted_at_absolute: interactedAt,\n timeline_fields: { phone_number: phoneNumber },\n },\n}) => {\n const formattedNumber = formatPhoneNumber(phoneNumber);\n\n return (\n System archived existing conversation(s)}\n timestamp={interactedAt}\n body={\n

\n The phone number {formattedNumber} was removed from this contact. As a result, any existing\n conversations with this phone number were archived.\n

\n }\n />\n );\n};\n\nexport default TimelinePhoneNumbersArchivedConversations;\n","import React from \"react\";\nimport { HandHoldingDollarSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst EnvoyReferralCreated = ({ event }) => {\n const { ...fields } = event.timeline_fields;\n\n return (\n
\n
\n
\n
\n \n
\n
\n
\n
\n {fields.user} {\" submitted an Envoy Referral\"}\n
\n
\n
Loan Officer: {fields.loan_officer}
\n
Details: {fields.buy_or_refinance} | {fields.property_state} | {fields.budget ? fields.budget : \"No budget\"} | {fields.timeframe}
\n
Notes: {fields.notes}
\n
\n
\n
\n
\n {event.interacted_at_absolute}\n
\n
\n
\n );\n};\n\nexport default EnvoyReferralCreated;\n","import React, {Component} from 'react';\nimport capitalize from 'capitalize';\n\nexport default class HomeValueReportEvent extends Component {\n constructor(props, context) {\n super(props, context)\n\n this.interacted_at_epoch = this.props.interacted_at_epoch\n this.event = this.props.event\n }\n\n details = () => {\n let description = [];\n let fields = this.event.timeline_fields;\n for (var key in fields) {\n const titleized_key = key\n .split(\"_\")\n .map((element) => {\n return capitalize(element);\n })\n .join(\" \");\n if (key !== 'search_link') {\n description.push(titleized_key + \": \" + fields[key]);\n }\n }\n let report_type_name = this.event.event_type === 'market_report' ? 'Market Report' : 'Home Value Report';\n\n return (\n
\n {description.map((description) => {\n return (\n
\n {description}\n
\n );\n })}\n {fields.search_link && (\n \n )}\n
\n )\n }\n\n row = () => {\n return (\n
\n
\n
\n \n
\n
\n \n Event:\n \n {' Home Value'}\n
\n {this.details()}\n
\n
\n
\n
\n {this.event.interacted_at_absolute}\n
\n
\n
\n )\n }\n\n render() {\n return (\n
\n {this.row()}\n
\n )\n }\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n HouseChimneySolidV6,\n HouseSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { formatPrice } from \"../../../SearchListings/components/helpers\";\nimport { format } from \"date-fns\";\n\nconst AddressStatusChangeEvent = ({ event }) => {\n const {\n alert_type: alertType,\n list_price: listPrice,\n street_address: address,\n standard_address: standardAddress,\n status,\n previous_status: previousStatus,\n image,\n status_change_date: statusChangeDate\n } = event.timeline_fields;\n\n const formattedStatusChangeDate = formatDate(statusChangeDate);\n\n return (\n
\n
\n
\n \n \n \n
\n
\n
\n Address Information\n {` ${alertType === \"new\" ? \"added\" : \"updated\"} for `}\n {address || standardAddress}\n
\n
\n {alertType === \"new\" ? : }\n
\n List Price: {formatPrice(listPrice) || \"--\"}\n
\n {formattedStatusChangeDate && (\n
\n System notified of status change on {formattedStatusChangeDate}\n
\n )}\n
\n
\n
\n {event.interacted_at_absolute}\n
\n {image ? \"Property : NoImageDisplay}\n
\n
\n
\n
\n );\n};\n\nexport default AddressStatusChangeEvent;\n\nconst formatDate = (date) => {\n try {\n return format(new Date(date), \"M/d/yyyy\");\n } catch (e) {\n return null;\n }\n};\n\nAddressStatusChangeEvent.propTypes = {\n event: PropTypes.shape({\n interacted_at_absolute: PropTypes.string,\n timeline_fields: PropTypes.shape({\n alert_type: PropTypes.string,\n list_price: PropTypes.number,\n street_address: PropTypes.string,\n standard_address: PropTypes.string,\n status: PropTypes.string,\n previous_status: PropTypes.string,\n image: PropTypes.string,\n status_change_date: PropTypes.string\n })\n })\n};\n\nconst NoImageDisplay = (\n
\n \n
\n);\n\nconst StatusText = ({status, previousStatus}) => {\n return (\n
\n MLS status changed from \n {previousStatus}\n {\" to \"}\n {status}\n .\n
\n );\n};\n\nconst NewListingStatusText = ({status}) => {\n return (\n
\n MLS status set to \n {status}\n .\n
\n );\n};\n\nconst addConstraintsToImageUrl = (url) => `${url}&height=103&width=144&quality=50&mode=scale`;\n\nconst getListingStatusColors = (status) => {\n switch (status) {\n case \"Active\":\n case \"Coming Soon\":\n return { text: \"tw-text-[#36b25f]\", background: \"tw-bg-[#EDFAF1]\" };\n case \"Pending\":\n case \"Active Under Contract\":\n return { text: \"tw-text-[#e5941b]\", background: \"tw-bg-[#faf1e6]\" };\n case \"Closed\":\n return { text: \"tw-text-[#e5342e]\", background: \"tw-bg-[#fae6e6]\" };\n case \"Withdrawn\":\n default:\n return { text: \"tw-text-[#666666]\", background: \"tw-bg-[#f5f7f7]\" };\n }\n};\n","import { HouseSolidV6 } from \"@shared/v2/Icomoon\";\nimport React from \"react\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\n\nconst intentMap = {\n buyer: \"Buying\",\n seller: \"Selling\",\n buyer_seller: \"Both\",\n};\n\nconst OpenHouseEvent = ({ event, event: { timeline_fields: timelineFields } }) => (\n
\n
\n
\n \n
\n
\n
\n {timelineFields.contact || \"No Name\"} attended an open\n house\n
\n \n
\n Address: {timelineFields.street_address} {timelineFields.city}, {timelineFields.state}{\" \"}\n {timelineFields.postal_code}\n
\n
Host: {timelineFields.host}
\n {timelineFields.intent &&
Buying or Selling: {intentMap[timelineFields.intent]}
}\n {timelineFields.timline &&
{timelineFields.timeline}
}\n {timelineFields.home_value_address && (\n
Home Value Address: {timelineFields.home_value_address}
\n )}\n {timelineFields.working_with_an_agent && (\n
Working with an agent: {timelineFields.working_with_an_agent}
\n )}\n
\n
\n {event.interacted_at_absolute}\n
\n);\n\nexport default OpenHouseEvent;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ArrowsRotateSolidV6, TrashSolidV6, UploadSolidV6 } from \"@icons/index\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst Icon = ({ action }) => {\n if (action === \"replaced\") return ;\n if (action === \"deleted\") return ;\n if (action === \"added\") return ;\n return null;\n};\n\nIcon.propTypes = {\n action: PropTypes.string.isRequired,\n};\n\nconst TimelineAgreementDocumentEvent = ({ event }) => {\n const {\n timeline_fields: {\n updater_name: updaterName,\n agreement_type: agreementType,\n document_name: documentName,\n changes,\n transaction_name: transactionName,\n },\n interacted_at_absolute: interactedAtAbsolute,\n } = event;\n const [showModal, setShowModal] = useState(false);\n const [action, setAction] = useState(\"\");\n\n const showModalHandler = () => {\n setShowModal(true);\n };\n\n const hideModalHandler = () => {\n setShowModal(false);\n };\n\n const headline = (\n
\n {updaterName}\n {` ${action} a ${agreementType} agreement document`}\n
\n );\n\n const eventBody = () => {\n switch (action) {\n case \"added\":\n return ` ${documentName}`;\n case \"deleted\":\n return (\n <>\n ({changes.document[0]})\n removed\n \n );\n case \"replaced\":\n return (\n <>\n ({changes.document[0]}) \n {changes.document[1]}\n \n );\n default:\n return null;\n }\n };\n\n useEffect(() => {\n if (changes.document.length > 0) {\n setAction(() => {\n if (changes.document.length === 2) return \"replaced\";\n return documentName ? \"added\" : \"deleted\";\n });\n }\n }, [changes, documentName]);\n\n return (\n }\n title={headline}\n interactedAt={interactedAtAbsolute}\n onClick={showModalHandler}\n >\n {changes.document.length > 0 && (\n
\n Agreement:\n {eventBody()}\n
\n )}\n {transactionName && (\n
\n Transaction:\n {transactionName}\n
\n )}\n\n \n \n \n {headline}\n {changes.document.length > 0 && (\n <>\n
Details:
\n
\n Agreement:\n {eventBody()}\n
\n {transactionName && (\n
\n Transaction:\n {transactionName}\n
\n )}\n \n )}\n
\n \n \n );\n};\n\nTimelineAgreementDocumentEvent.propTypes = {\n event: PropTypes.shape({\n timeline_fields: PropTypes.shape({\n updater_name: PropTypes.string,\n agreement_type: PropTypes.string,\n document_name: PropTypes.string,\n transaction_name: PropTypes.string,\n changes: PropTypes.shape({\n document: PropTypes.arrayOf(PropTypes.string),\n }),\n }),\n interacted_at_absolute: PropTypes.string,\n }),\n};\n\nTimelineAgreementDocumentEvent.defaultProps = {\n event: {\n timeline_fields: {\n updater_name: \"\",\n agreement_type: \"\",\n document_name: \"\",\n transaction_name: \"\",\n changes: {\n document: [],\n },\n },\n interacted_at_absolute: \"\",\n },\n};\n\nexport default TimelineAgreementDocumentEvent;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { TrashSolidV6, UploadSolidV6 } from \"@shared/v2/Icomoon/Icons\";\nimport Modal from \"@shared/v2/Modal\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst TimelineAgreementAddendumEvent = ({ event }) => {\n const {\n timeline_fields: {\n updater_name: updaterName,\n addendum,\n agreement,\n transaction,\n agreement_type: agreementType,\n },\n event_type: eventType,\n interacted_at_absolute: interactedAtAbsolute,\n } = event;\n const [showModal, setShowModal] = useState(false);\n\n const showModalHandler = () => {\n setShowModal(true);\n };\n\n const hideModalHandler = () => {\n setShowModal(false);\n };\n\n const headline = (\n
\n {updaterName}\n {` ${eventType === \"agreement_addendum_created\" ? \"added\" : \"deleted\"} a ${agreementType} agreement addendum`}\n
\n );\n\n const eventBody = () => {\n switch (eventType) {\n case \"agreement_addendum_created\":\n return ` ${addendum}`;\n case \"agreement_addendum_deleted\":\n return (\n <>\n {` (${addendum})`}\n removed\n \n );\n default:\n return null;\n }\n };\n\n return (\n : \n }\n title={headline}\n interactedAt={interactedAtAbsolute}\n onClick={showModalHandler}\n >\n {addendum && (\n
\n Addendum: {eventBody()}\n
\n )}\n {agreement && (\n
\n Agreement: {agreement}\n
\n )}\n {transaction && (\n
\n Transaction: {transaction}\n
\n )}\n\n \n \n \n {headline}\n {addendum && (\n <>\n
Details:
\n
\n Addendum: {eventBody()}\n
\n {agreement && (\n
\n Agreement: {agreement}\n
\n )}\n {transaction && (\n
\n Transaction: {transaction}\n
\n )}\n \n )}\n
\n \n \n );\n};\n\nTimelineAgreementAddendumEvent.propTypes = {\n event: PropTypes.shape({\n timeline_fields: PropTypes.shape({\n updater_name: PropTypes.string,\n agreement_type: PropTypes.string,\n addendum: PropTypes.string,\n agreement: PropTypes.string,\n transaction: PropTypes.string,\n }),\n event_type: PropTypes.string,\n interacted_at_absolute: PropTypes.string,\n }),\n};\n\nTimelineAgreementAddendumEvent.defaultProps = {\n event: {\n timeline_fields: {\n updater_name: \"\",\n agreement_type: \"\",\n addendum: \"\",\n agreement: \"\",\n transaction: \"\",\n },\n event_type: \"\",\n interacted_at_absolute: \"\",\n },\n};\n\nexport default TimelineAgreementAddendumEvent;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { camelCase } from \"lodash\";\nimport { DollarSignSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\n\nconst transformComments = (comments) => {\n if (typeof comments !== \"string\") return {};\n return comments\n .split(\"
\")\n .map((s) => s.split(\": \"))\n .reduce((acc, [key, v]) => (key ? { ...acc, [camelCase(key)]: v } : acc), {});\n};\n\nconst TimelineMakeOfferEvent = ({ event }) => {\n const timelineFields = useMemo(() => {\n const {\n comments,\n property: { main_photo: mainPhoto, ...property },\n ...others\n } = event.timeline_fields;\n return {\n ...others,\n ...transformComments(comments),\n ...property,\n photo: mainPhoto,\n baths: Number(property.bathrooms),\n beds: Number(property.bedrooms),\n price: property.value,\n };\n }, [event.timeline_fields]);\n\n return (\n }\n title={\n \n Event: {event.titleized_type}\n \n }\n interactedAt={event.interacted_at_absolute}\n >\n \n {timelineFields.name &&
Name: {timelineFields.name}
}\n {timelineFields.email &&
Email: {timelineFields.email}
}\n {timelineFields.phone &&
Phone: {timelineFields.phone}
}\n {timelineFields.message &&
Comments: {timelineFields.message}
}\n {timelineFields.offerAmount &&
Offer Amount: {timelineFields.offerAmount}
}\n {timelineFields.preApprovedWithALender && (\n
Pre-approved with a lender?: {timelineFields.preApprovedWithALender}
\n )}\n {timelineFields.seenThisHomeInPerson && (\n
Seen this home in person?: {timelineFields.seenThisHomeInPerson}
\n )}\n {timelineFields.url && (\n
\n URL:{\" \"}\n \n {timelineFields.url}\n \n
\n )}\n {timelineFields.tags &&
Tags: {timelineFields.tags}
}\n {timelineFields.leadType &&
Lead type: {timelineFields.leadType}
}\n \n );\n};\n\nTimelineMakeOfferEvent.propTypes = {\n event: PropTypes.shape({\n titleized_type: PropTypes.string,\n timeline_fields: PropTypes.shape({\n comments: PropTypes.string,\n property: PropTypes.shape(),\n }),\n interacted_at_absolute: PropTypes.string,\n }).isRequired,\n};\n\nexport default TimelineMakeOfferEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { UserGroupSolidV6 } from \"@shared/v2/Icomoon\";\nimport { isEmpty, startCase } from \"lodash\";\n\nconst PersonMergeEvent = ({\n event: {\n interacted_at_absolute: interactedAtAbsolute,\n timeline_fields: {\n merged_details: mergedDetails = {},\n primary_person_name: primaryPersonName,\n primary_person_uuid: primaryPersonUuid,\n secondary_person_name: secondaryPersonName,\n secondary_person_uuid: secondaryPersonUuid,\n updater_name: updaterName,\n },\n },\n}) => (\n
\n
\n \n
\n
\n
\n {primaryPersonUuid && (\n
\n {updaterName} merged this contact into{\" \"}\n \n {primaryPersonName || \"No Name\"}\n \n
\n )}\n {secondaryPersonUuid && (\n
\n {updaterName} merged{\" \"}\n \n {secondaryPersonName || \"No Name\"}\n {\" \"}\n into this contact\n
\n )}\n {interactedAtAbsolute}\n
\n\n
\n
\n {Object.entries(mergedDetails).map(\n ([key, value]) =>\n !isEmpty(value) && (\n
\n \n {startCase(key)}: {typeof value === \"string\" ? value : \"\"}\n \n {Array.isArray(value) && (\n
    \n {value.map((v) => (\n
  • {v}
  • \n ))}\n
\n )}\n
\n ),\n )}\n
\n
\n
\n
\n
\n
\n);\n\nPersonMergeEvent.propTypes = {\n event: PropTypes.shape({\n interacted_at_absolute: PropTypes.string,\n timeline_fields: PropTypes.shape({\n merged_details: PropTypes.shape(),\n primary_person_name: PropTypes.string,\n primary_person_uuid: PropTypes.string,\n secondary_person_name: PropTypes.string,\n secondary_person_uuid: PropTypes,\n updater_name: PropTypes.string,\n }),\n }).isRequired,\n};\n\nexport default PersonMergeEvent;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { camelCase } from \"lodash\";\nimport format from \"@shared/formatters\";\nimport { HouseSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\n\nconst transformComments = (comments) => {\n const parsedObject = {};\n if (typeof comments !== \"string\") return parsedObject;\n const parts = comments\n .split(/\\r?\\n/)\n .map((l) =>\n l\n .split(\",\")\n .map((s) => s.replace(/\\s*<.+>(What size is your budget\\?)?/, \"\").split(\": \"))\n .flat(),\n )\n .flat()\n .filter(Boolean);\n\n for (let i = 0; i < parts.length; i += 2) {\n parsedObject[camelCase(parts[i])] = parts[i + 1];\n }\n\n return parsedObject;\n};\n\nconst TimelineGetPrequalifiedEvent = ({ event }) => {\n const timelineFields = useMemo(() => {\n const {\n comments,\n property: { main_photo: mainPhoto, ...property } = {},\n ...others\n } = event.timeline_fields;\n return {\n ...others,\n ...transformComments(comments),\n ...property,\n photo: mainPhoto,\n baths: property.bathrooms && Number(property.bathrooms),\n beds: property.bedrooms && Number(property.bedrooms),\n price: property.value,\n };\n }, [event.timeline_fields]);\n\n return (\n }\n title={\n \n Event: {event.titleized_type}\n \n }\n interactedAt={event.interacted_at_absolute}\n >\n \n {timelineFields.areYouPurchasingOrRefinancing && (\n
Purchasing or Refinancing?: {timelineFields.areYouPurchasingOrRefinancing}
\n )}\n {timelineFields.whatTypeOfPropertyAreYouPurchasing && (\n
Property Type: {timelineFields.whatTypeOfPropertyAreYouPurchasing}
\n )}\n {timelineFields.areYouAFirstTimeHomeBuyer && (\n
\n First time home buyer?: {timelineFields.areYouAFirstTimeHomeBuyer === \"true\" ? \"Yes\" : \"No\"}\n
\n )}\n {timelineFields.purchasePrice && (\n
\n Budget:{\" \"}\n {timelineFields.purchasePrice ? format.currency(timelineFields.purchasePrice, 0) : \"Not sure yet\"}\n
\n )}\n {timelineFields.downPayment && (\n
\n Down payment:{\" \"}\n {timelineFields.downPayment === \"undefined\"\n ? \"Not sure yet\"\n : format.currency(timelineFields.downPayment, 0)}\n
\n )}\n {timelineFields.url && (\n \n )}\n {timelineFields.tags &&
Tags: {timelineFields.tags}
}\n {timelineFields.leadType &&
Lead type: {timelineFields.leadType}
}\n \n );\n};\n\nTimelineGetPrequalifiedEvent.propTypes = {\n event: PropTypes.shape({\n titleized_type: PropTypes.string,\n timeline_fields: PropTypes.shape({\n comments: PropTypes.string,\n property: PropTypes.shape(),\n }),\n interacted_at_absolute: PropTypes.string,\n }).isRequired,\n};\n\nexport default TimelineGetPrequalifiedEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { ExpandSolidV6, UploadSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\n\nconst RecruiterUploadEvent = ({ event, event: { timeline_fields: timelineFields } }) => (\n }\n title={\n
\n
\n Recruiter Upload: {timelineFields.file_name}\n
\n window.open(timelineFields.file_uri, \"_blank\")}\n >\n \n \n
\n }\n interactedAt={event.interacted_at_absolute}\n >\n \n \n);\n\nRecruiterUploadEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default RecruiterUploadEvent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport { RotateRightSolidV6, UserPlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport BaseEvent from \"./BaseEvent\";\nimport HomeInfoOverlay from \"./HomeInfoOverlay\";\n\nconst BUYSELL_REGEX = /sell|buy/;\n\nconst BrivityAdsEvent = ({ event, event: { timeline_fields: timelineFields } }) => {\n const hasIntent = BUYSELL_REGEX.test(\n `${event.event_type}${timelineFields.utm_type}${timelineFields.utm_campaign}`,\n );\n const isBuyer = /buy/.test(`${event.event_type}${timelineFields.utm_type}${timelineFields.utm_campaign}`);\n return (\n : }\n interactedAt={event.interacted_at_absolute}\n title={\n
\n {event.event_type === \"ad_message\" ? (\n \"contact\"\n ) : (\n \n {`${timelineFields.f_name || timelineFields.first_name || \"\"} ${timelineFields.l_name || timelineFields.last_name || \"\"}`.trim() ||\n \"No Name\"}\n \n )}\n {event.new_lead ? \" came in\" : \" re-engaged\"}\n {hasIntent ? ` as a ${isBuyer ? \"buyer\" : \"seller\"} lead ` : \" \"}from Brivity Connect Ad\n
\n }\n >\n {timelineFields.property && }\n {timelineFields.message &&
Message: {timelineFields.message}
}\n {timelineFields.utm_campaign &&
Tags: {timelineFields.utm_campaign}
}\n {timelineFields.url && (\n
\n \n View Search URL\n \n
\n )}\n {timelineFields.additional_information && (\n
\n Additional Information: \n {timelineFields.additional_information.map((info) => info)}\n
\n )}\n \n );\n};\n\nBrivityAdsEvent.propTypes = {\n event: PropTypes.shape().isRequired,\n};\n\nexport default BrivityAdsEvent;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport TimelineEvent from \"./events/TimelineEvent\";\nimport TimelineLeadCreateEvent from \"./events/TimelineLeadCreateEvent\";\nimport TimelineLeadCreateUserNotificationEvent from \"./events/TimelineLeadCreateUserNotificationEvent\";\nimport TimelineLeadUpdateEvent from \"./events/TimelineLeadUpdateEvent\";\nimport TimelineFailedLeadCreateEvent from \"./events/TimelineFailedLeadCreateEvent\";\nimport TimelineLeadTransferEvent from \"./events/TimelineLeadTransferEvent\";\nimport TimelineSubmittedFormEvent from \"./events/TimelineSubmittedFormEvent\";\nimport TimelineQualificationFormEvent from \"./events/TimelineQualificationFormEvent\";\nimport TimelineContactFormEvent from \"./events/TimelineContactFormEvent\";\nimport TimelineTaggingEvent from \"./events/TimelineTaggingEvent\";\nimport TimelineTrackingNumberEvent from \"./events/TimelineTrackingNumberEvent\";\nimport PropertyFavoriteEvent from \"./events/PropertyFavoriteEvent\";\nimport PublicActivityEvent from \"./events/PublicActivityEvent\";\nimport PublicActivityMessageEvent from \"./events/PublicActivityMessageEvent\";\nimport PublicActivitySmsEvent from \"./events/PublicActivitySmsEvent\";\nimport PublicActivityNoteEvent from \"./events/PublicActivityNoteEvent\";\nimport PublicActivityAppointmentEvent from \"./events/PublicActivityAppointmentEvent\";\nimport PublicActivityCallEvent from \"./events/PublicActivityCallEvent\";\nimport PublicActivityLoginEvent from \"./events/PublicActivityLoginEvent\";\nimport PublicActivityOtherEvent from \"./events/PublicActivityOtherEvent\";\nimport GmailInteraction from \"./events/GmailInteraction\";\nimport TaskEvent from \"./events/TaskEvent\";\nimport AssignedPlanEvent from \"./events/AssignedPlanEvent\";\nimport MarketReportSentEvent from \"./events/MarketReportSentEvent\";\nimport MarketReportViewedEvent from \"./events/MarketReportViewedEvent\";\nimport MarketReportFrequencyUpdatedEvent from \"./events/MarketReportFrequencyUpdatedEvent\";\nimport TimelineDocumentEvent from \"./events/TimelineDocumentEvent\";\nimport ListingAlertFrequencyEvent from \"./events/ListingAlertFrequencyEvent\";\nimport KwklyPropertyView from \"./events/KwklyPropertyView\";\nimport TimelineValidationUpdateEvent from \"./events/TimelineValidationUpdateEvent\";\nimport DirectToTimelineEvent from \"./events/DirectToTimelineEvent\";\nimport CmaReportCreatedEvent from \"./events/CmaReportCreatedEvent\";\nimport TimelineSmsHardUnsubscribeEvent from \"./events/phones/TimelineSmsHardUnsubscribeEvent\";\nimport TimelineSmsHardResubscribeEvent from \"./events/phones/TimelineSmsHardResubscribeEvent\";\nimport TimelineCallHardUnsubscribeEvent from \"./events/phones/TimelineCallHardUnsubscribeEvent\";\nimport TimelineCallHardResubscribeEvent from \"./events/phones/TimelineCallHardResubscribeEvent\";\nimport TimelineSmsHardUntextableEvent from \"./events/phones/TimelineSmsHardUntextableEvent\";\nimport TimelineSoftStatusChangeEvent from \"./events/phones/TimelineSoftStatusChangeEvent\";\nimport * as actions from \"../../PersonDetail/actions/personDetailActionCreators\";\nimport TimelineGroupSmsEvent from \"./events/TimelineGroupSmsEvent\";\nimport TimelineLeadPondDeleteEvent from \"./events/TimelineLeadPondDeleteEvent\";\nimport TimelineAgreementEvent from \"./events/TimelineAgreementEvent\";\nimport TimelinePhoneNumbersArchivedConversations from \"./events/phones/TimelinePhoneNumbersArchivedConvesrations\";\nimport EnvoyReferralCreated from \"./events/EnvoyReferralCreated\";\nimport HomeValueReportEvent from \"./events/HomeValueReportEvent\";\nimport AddressStatusChangeEvent from \"./events/AddressStatusChangeEvent\";\nimport OpenHouseEvent from \"./events/OpenHouseEvent\";\nimport TimelineAgreementDocumentEvent from \"./events/TimelineAgreementDocumentEvent\";\nimport TimelineAgreementAddendumEvent from \"./events/TimelineAgreementAddendumEvent\";\nimport TimelineMakeOfferEvent from \"./events/TimelineMakeOfferEvent\";\nimport PersonMergeEvent from \"./events/PersonMergeEvent\";\nimport TimelineGetPrequalifiedEvent from \"./events/TimelineGetPrequalifiedEvent\";\nimport RecruiterUploadEvent from \"./events/RecruiterUploadEvent\";\nimport BrivityAdsEvent from \"./events/BrivityAdsEvent\";\n\nconst returnTimelineServiceEvent = (event) => {\n switch (event.event_type) {\n case \"lead_create\": // If this matches, it will run the next case\n case \"created\":\n return ;\n case \"person_created\":\n return ;\n case \"failed_lead_create\":\n return ;\n case \"transferred\":\n return ;\n case \"person_updated\":\n return ;\n case \"ads-retarget\":\n case \"ads-remarket\":\n case \"ads-sell\":\n case \"ads-buyer\":\n case \"ad_message\":\n return ;\n case \"submitted_form\":\n case \"registered_for_open_house\":\n case \"scheduled_showing\":\n case \"forced_registration_search_page_combined\":\n case \"forced_registration_property_page_social\":\n case \"forced_registration_property_page_light\":\n case \"forced_registration_property_page_combined\":\n case \"forced_registration_property_page_full\":\n case \"forced_registration_property_page_sold\":\n case \"contact_form_ask_question\":\n case \"contact_form_ask_a_question\":\n case \"contact_form_questions_about\":\n case \"signup\":\n case \"get_accurate_estimate\":\n case \"contact_form_get_in_touch\":\n case \"contact_form\":\n return ;\n case \"contact_form_get_prequalified\":\n return ;\n case \"contact_form_make_offer\":\n return ;\n case \"contact_form_block\":\n return ;\n case \"qualification_form\":\n return ;\n case \"tagging_created\":\n case \"tagging_updated\":\n case \"tagging_destroyed\":\n return ;\n case \"assigned_plan_applied\":\n case \"assigned_plan_paused\":\n case \"assigned_plan_resumed\":\n case \"assigned_plan_completed\":\n case \"assigned_plan_deleted\":\n return ;\n case \"envoy_referral_created\":\n return ;\n case \"market_report_frequency_updated\":\n return ;\n case \"market_report_viewed\":\n return ;\n case \"market_report_sent\":\n return ;\n case \"property_favorite_created\":\n case \"property_favorite_removed\":\n return ;\n case \"document_created\":\n case \"document_destroyed\":\n return ;\n case \"kwkly_property_view\":\n return ;\n case \"validation_updated\":\n return ;\n case \"direct_to_timeline\":\n return ;\n case \"cma_report_created\":\n return ;\n case \"phone_sms_hard_unsubscribe.create\":\n return ;\n case \"phone_sms_hard_unsubscribe.destroy\":\n return ;\n case \"phone_call_hard_unsubscribe.create\":\n return ;\n case \"phone_call_hard_unsubscribe.destroy\":\n return ;\n case \"phone_sms_hard_textable.stop\":\n return ;\n case \"phone_sms_soft_status.updated\":\n return ;\n case \"phone_call_soft_status.updated\":\n return ;\n case \"phone_numbers.archived_conversations\":\n return ;\n case \"group_sms_in\":\n case \"group_sms_out\":\n return ;\n case \"agreement_created\":\n case \"agreement_deleted\":\n return ;\n case \"agreement_document_updated\":\n return ;\n case \"agreement_addendum_created\":\n case \"agreement_addendum_deleted\":\n return ;\n case \"lead_called_tracking_number\":\n return ;\n case \"lead_pond_deleted\":\n return ;\n case \"home_value\":\n case \"market_report\":\n return ;\n case \"address_status_changed\":\n return ;\n case \"registered_on_open_house_app\":\n return ;\n case \"person_merge\":\n return ;\n case \"recruiter_upload\":\n return ;\n default:\n return ;\n }\n};\n\nconst EventComponentSelector = ({ appliedFilters, event, newDetailsPage, webActivityEventTypes }) => {\n const dispatch = useDispatch();\n // TODO: It seems like this is wanted but is not being set (even with the old code)\n const person_id = undefined;\n\n const setInteractionTab = (tabIndex) => dispatch(actions.setInteractionTab(tabIndex));\n const setGmailReplyThread = (id, subject, additionalRecipientsVal, CCval, BCCval) =>\n dispatch(actions.setGmailReplyThread(id, subject, additionalRecipientsVal, CCval, BCCval));\n const deleteNote = (note) => dispatch(actions.deleteNote(note));\n const updateNote = (note, starred, externallyVisible) =>\n dispatch(actions.updateNote(note, starred, externallyVisible));\n const toggleStarred = (note) => dispatch(actions.toggleStarred(note));\n const submitUpdateInteraction = (interaction) => dispatch(actions.submitUpdateInteraction(interaction));\n\n if (event.id.startsWith(\"timeline_\")) {\n if (\n appliedFilters.has(\"action-event\") &&\n ![\"group_sms_in\", \"group_sms_out\"].includes(event.event_type) &&\n !webActivityEventTypes.includes(event.event_type)\n ) {\n return returnTimelineServiceEvent(event);\n } else if (appliedFilters.has(event.event_type)) {\n return returnTimelineServiceEvent(event);\n } else if (\n appliedFilters.has(\"listing-alert-event\") &&\n event.event_type === \"modified_listing_alert_frequency\"\n ) {\n return ;\n }\n }\n\n if (event.id.startsWith(\"task_\")) {\n return ;\n }\n\n if (event.hasOwnProperty(\"gmail_api_version\")) {\n return (\n \n );\n }\n\n if (event.id.startsWith(\"public_activity_\") && appliedFilters.has(`${event.interaction_type}-event`)) {\n switch (event.interaction_type) {\n case \"message\":\n return (\n \n );\n case \"sms\":\n return (\n \n );\n case \"note\":\n return (\n \n );\n case \"appointment\":\n return ;\n case \"call\":\n return (\n \n );\n case \"login\":\n return ;\n case \"Other\":\n case \"Pop by\":\n case \"Mail\":\n case \"Social media\":\n return ;\n default:\n return ;\n }\n }\n return null;\n};\n\nexport default EventComponentSelector;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport PersonTimelineFilter from \"./PersonTimelineFilter\";\nimport personDetailCss from \"../../PersonDetail/components/person-detail-styles.module.css\";\nimport * as actions from \"../../PersonDetail/actions/personDetailActionCreators\";\nimport LoadingSkeleton from \"./LoadingSkeleton\";\nimport LoadingFailure from \"./LoadingFailure\";\nimport { useSelector } from \"react-redux\";\nimport EventComponentSelector from \"./EventComponentSelector\";\nimport ErrorBoundary from \"@shared/v2/ErrorBoundary\";\n\nconst WEB_ACTIVITY_EVENT_TYPES = [\n \"listing-alert-event\",\n \"modified_listing_alert_frequency\",\n \"property_favorite_created\",\n \"property_favorite_removed\",\n \"contact_form_questions_about\",\n \"home_value\",\n \"scheduled_showing\",\n \"market_report_frequency_updated\",\n \"market_report_sent\",\n \"qualification_form\",\n \"signup\",\n \"ads-retarget\",\n \"ads-remarket\",\n \"ads-sell\",\n \"contact_form_ask_a_question\",\n \"kwkly_property_view\",\n \"cma_report_created\",\n];\n\nconst INITIAL_FILTERS = new Set([\n \"action-event\",\n \"document-event\",\n \"note-event\",\n \"task-event\",\n \"listing-alert-event\",\n \"appointment-event\",\n \"appointment_scheduled-event\",\n \"call-event\",\n \"sms-event\",\n \"group_sms_in\",\n \"group_sms_out\",\n \"message-event\",\n \"login-event\",\n \"Pop by-event\",\n \"Other-event\",\n \"Mail-event\",\n \"Social media-event\",\n \"person_created\",\n \"person_updated\",\n \"person_merge\",\n ...WEB_ACTIVITY_EVENT_TYPES,\n]);\n\nconst timelineBubbleSort = (arr) => {\n var len = arr.length;\n for (var i = 0; i < len; i++) {\n for (var j = 0; j < len - i - 1; j++) {\n if (arr[j].interacted_at_epoch < arr[j + 1].interacted_at_epoch) {\n var temp = arr[j];\n arr[j] = arr[j + 1];\n arr[j + 1] = temp;\n }\n }\n }\n return arr;\n};\n\nconst TimelinesApp = ({ newDetailsPage }) => {\n const dispatch = useDispatch();\n const {\n gmail_events: gmailEvents,\n public_activity_events: publicActivityEvents,\n task_events: taskEvents,\n timeline_events: timelineEvents,\n } = useSelector(({ personDetail }) => personDetail.timeline);\n const timelineLoading = useSelector(({ personDetail }) => personDetail.timeline_loading);\n const timelineLoadingSuccess = useSelector(({ personDetail }) => personDetail.timeline_loading_success);\n const person = useSelector(({ personDetail }) => personDetail.person);\n const [sortedTimeline, setSortedTimeline] = useState([]);\n const [filters, _setFilters] = useState({\n appliedFilters: new Set(INITIAL_FILTERS),\n accountActivityFilter: true,\n webActivityFilter: true,\n otherActivityFilter: true,\n });\n const setFilters = (newData) => _setFilters((prevData) => ({ ...prevData, ...newData }));\n\n // TODO: setup a websocket for timeline so we don't need to call\n // fetchTimeline() with each update event\n useEffect(() => {\n if (person.data?.id) dispatch(actions.fetchTimeline(person.data.attributes.slug));\n }, [person.data?.id]);\n\n const handleCheckboxChange = (e) => {\n const filtersToChange = e.target.name.split(\" \");\n const value = e.target.value;\n const inputClass = e.target.input_class;\n const newAppliedFilters = new Set(filters.appliedFilters);\n if (value) {\n filtersToChange.forEach((filter) => newAppliedFilters.add(filter));\n } else {\n if (inputClass.includes(\"activity-filter\")) {\n setFilters({ activityFilter: false });\n } else if (inputClass.includes(\"interaction-filter\")) {\n setFilters({ interactionFilter: false });\n }\n\n filtersToChange.forEach((filter) => newAppliedFilters.delete(filter));\n }\n console.log(newAppliedFilters);\n\n setFilters({ appliedFilters: newAppliedFilters });\n };\n\n const handleAllActivityGroupCheckboxChange = () => {\n setFilters({\n appliedFilters: new Set(INITIAL_FILTERS),\n otherActivityFilter: true,\n accountActivityFilter: true,\n webActivityFilter: true,\n });\n };\n\n const handleAccountActivityGroupCheckboxChange = () => {\n const accountActivityFilter = !filters.accountActivityFilter;\n const appliedFilters = new Set(filters.appliedFilters);\n\n if (accountActivityFilter) {\n appliedFilters.add(\"action-event\");\n appliedFilters.add(\"document-event\");\n appliedFilters.add(\"task-event\");\n appliedFilters.add(\"login-event\");\n appliedFilters.add(\"person_created\");\n appliedFilters.add(\"person_updated\");\n } else {\n appliedFilters.delete(\"action-event\");\n appliedFilters.delete(\"document-event\");\n appliedFilters.delete(\"task-event\");\n appliedFilters.delete(\"login-event\");\n appliedFilters.delete(\"person_created\");\n appliedFilters.delete(\"person_updated\");\n }\n\n setFilters({ accountActivityFilter, appliedFilters });\n };\n\n const handleWebActivityGroupCheckboxChange = () => {\n const webActivityFilter = !filters.webActivityFilter;\n const appliedFilters = new Set(filters.appliedFilters);\n\n if (webActivityFilter) {\n WEB_ACTIVITY_EVENT_TYPES.forEach((e) => {\n appliedFilters.add(e);\n });\n } else {\n WEB_ACTIVITY_EVENT_TYPES.forEach((e) => {\n appliedFilters.delete(e);\n });\n }\n\n setFilters({ webActivityFilter, appliedFilters });\n };\n\n const handleOtherActivityCheckboxChange = () => {\n const otherActivityFilter = !filters.otherActivityFilter;\n const appliedFilters = new Set(filters.appliedFilters);\n\n if (otherActivityFilter) {\n appliedFilters.add(\"Other-event\");\n appliedFilters.add(\"Pop by-event\");\n appliedFilters.add(\"Mail-event\");\n appliedFilters.add(\"Social media-event\");\n } else {\n appliedFilters.delete(\"Other-event\");\n appliedFilters.delete(\"Pop by-event\");\n appliedFilters.delete(\"Mail-event\");\n appliedFilters.delete(\"Social media-event\");\n }\n\n setFilters({ otherActivityFilter, appliedFilters });\n };\n\n useEffect(() => {\n const newTimeline = [];\n\n timelineEvents?.forEach((event) => {\n if (event.event_type === \"property_view\") return;\n newTimeline.push(event);\n });\n\n taskEvents?.forEach(function (event) {\n if (filters.appliedFilters.has(event.interaction_type + \"-event\")) {\n newTimeline.push(event);\n }\n });\n\n gmailEvents?.forEach(function (event) {\n if (filters.appliedFilters.has(\"message-event\")) {\n newTimeline.push(event);\n }\n });\n\n publicActivityEvents?.forEach((event) => {\n if (filters.appliedFilters.has(`${event.interaction_type}-event`)) {\n newTimeline.push(event);\n }\n });\n\n setSortedTimeline(timelineBubbleSort(newTimeline));\n }, [filters, publicActivityEvents, timelineEvents, taskEvents, gmailEvents]);\n\n const handleFilterStatsButtonClick = (filter) => {\n if (filter === \"other-activity\") {\n setFilters({\n appliedFilters: new Set([\"Pop by-event\", \"Other-event\", \"Mail-event\", \"Social media-event\"]),\n otherActivityFilter: true,\n accountActivityFilter: false,\n webActivityFilter: false,\n });\n } else if (filter === \"web-activity\") {\n setFilters({\n appliedFilters: new Set(WEB_ACTIVITY_EVENT_TYPES),\n otherActivityFilter: false,\n accountActivityFilter: false,\n webActivityFilter: true,\n });\n } else if (filter === \"account-activity\") {\n setFilters({\n appliedFilters: new Set([\"action-event\", \"document-event\", \"task-event\", \"login-event\"]),\n otherActivityFilter: false,\n accountActivityFilter: true,\n webActivityFilter: false,\n });\n } else if (filter === \"appointment-event\") {\n setFilters({\n appliedFilters: new Set([\"appointment-event\", \"appointment_scheduled-event\"]),\n otherActivityFilter: false,\n accountActivityFilter: false,\n webActivityFilter: false,\n });\n } else {\n setFilters({\n appliedFilters: new Set(filter.split(\" \")),\n otherActivityFilter: false,\n accountActivityFilter: false,\n webActivityFilter: false,\n });\n }\n };\n\n return (\n <>\n
\n \n \n
\n
\n
\n {timelineLoading && }\n {!timelineLoading && !timelineLoadingSuccess && }\n {!timelineLoading && timelineLoadingSuccess\n ? sortedTimeline.map((event) => (\n \n \n \n ))\n : null}\n
\n \n );\n};\n\nexport default TimelinesApp;\n","import React from \"react\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport { bool, func } from \"prop-types\";\n\nconst AgreementsConfirmModal = ({ handleAddAgreement, handleHide, show }) => (\n \n \n\n \n Congrats on the signing! Would you like to add the agreement to the contact’s record?\n \n \n \n CANCEL\n \n \n ADD AGREEMENT\n \n \n \n);\n\nexport default AgreementsConfirmModal;\n\nAgreementsConfirmModal.propTypes = {\n handleAddAgreement: func,\n handleHide: func,\n show: bool\n}\n\nAgreementsConfirmModal.defaultProps = {\n handleAddAgreement: () => { },\n handleHide: () => { },\n show: false\n}","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport { Plus } from \"@shared/v2/Icomoon\";\n\nconst Agreementbtn = ({ containerClass, isEmptyState, agreementName, onClickFunc }) => {\n const onClickAgreement = () => {\n onClickFunc(agreementName);\n };\n return (\n \n {isEmptyState && }\n {agreementName}\n \n );\n};\n\nAgreementbtn.propTypes = {\n isEmptyState: PropTypes.bool,\n containerClass: PropTypes.string,\n agreementName: PropTypes.string.isRequired,\n onClickFunc: PropTypes.func.isRequired,\n};\nAgreementbtn.defaultProps = {\n isEmptyState: false,\n containerClass: \"\",\n};\nexport default Agreementbtn;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFile } from \"@fortawesome/free-solid-svg-icons\";\n\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { Edit, Image, Pdf, Word } from \"@shared/v2/Icomoon\";\n\nimport { useClickOutside } from \"@shared/hookHelpers\";\n\nconst getIcon = (context, fileType) => {\n const type = fileType?.trim().toLowerCase();\n const iconProps =\n context === \"documents-sidebar\"\n ? {\n className: \"tw-text-theme-icon-color tw-w-40px tw-h-40px\",\n size: \"custom\",\n }\n : {\n className: \"tw-text-theme-icon-color\",\n size: \"xxxl\",\n };\n switch (type) {\n case \"jpg\":\n case \"jpeg\":\n case \"png\":\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n case \"pdf\":\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n case \"doc\":\n case \"docx\":\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n default:\n return (\n \n );\n }\n};\n\nconst sidebarClasses = {\n width: \"tw-w-136px\",\n maxWidth: \"tw-max-w-136px\",\n margin: \"tw-mr-10px\",\n};\n\nconst tableClasses = {\n width: \"tw-w-180px\",\n maxWidth: \"tw-max-w-180px\",\n margin: \"tw-mr-12px\",\n};\n\nconst FileInformation = ({\n context,\n editFilename,\n setEditFilename,\n document,\n renameDocument,\n previewDocument,\n clearDocumentErrors,\n onClickOutside,\n}) => {\n const classes = context === \"documents-sidebar\" ? sidebarClasses : tableClasses;\n\n const [newName, setNewName] = useState(document.nakedName);\n const [renameError, setRenameError] = useState(\"\");\n\n // When a rename error happens, the input remains open,\n // and if the user continues to press the Enter key or click outside it without changing the name,\n // it will keep making the same rename request over and over again,\n // so we need this to make sure that a rename request only happens if the name has actually changed\n const [hasNewNameChanged, setHasNewNameChanged] = useState(false);\n\n // We need to keep track of when the input was open and the user clicked outside,\n // to prevent calling `submitRename` twice\n const [clickedOutside, setClickedOutside] = useState(false);\n\n const ref = useRef(null);\n\n useEffect(() => {\n setNewName(document.nakedName);\n setHasNewNameChanged(false);\n }, [document.nakedName]);\n\n useEffect(() => {\n setEditFilename(document?.renameErrors?.length > 0);\n setRenameError(document?.renameErrors?.join(\" \"));\n setHasNewNameChanged(false);\n }, [document?.renameErrors]);\n\n const handleClick = (e) => {\n if (document.isUploading || !document.canRename) return;\n\n e.preventDefault();\n e.stopPropagation();\n setEditFilename(true);\n };\n\n const submitRename = () => {\n const newNameTrimmed = newName.trim();\n\n if (!newNameTrimmed || newNameTrimmed === document.nakedName) {\n if (renameError) {\n // Clean rename errors when the name is empty or when it hasn't changed,\n // because in those cases a rename request is not made and the name remains the same\n clearDocumentErrors(document.id);\n } else {\n setEditFilename(false);\n }\n return;\n }\n\n // Only send a rename request if the name has actually changed\n if (!hasNewNameChanged) {\n return;\n }\n\n const newNameComplete = `${newName}${document.fileExtension}`;\n\n renameDocument(document.id, newNameComplete);\n };\n\n const handleKeyDown = (e) => {\n // Propagating this event triggers the `handleKeyDownToEdit` function in the container `div`\n e.stopPropagation();\n\n if (e.key === \"Enter\") {\n submitRename();\n }\n };\n\n const handleKeyDownToEdit = (e) => {\n if (e.key === \"Enter\") {\n handleClick(e);\n }\n };\n\n const handleInputChange = (e) => {\n setNewName(e.target.value);\n setHasNewNameChanged(true);\n };\n\n const handleInputBlur = () => {\n if (clickedOutside) {\n // Do not call `submitRename` a second time if it was already called from `handleClickOutside`\n setClickedOutside(false);\n return;\n }\n\n submitRename();\n };\n\n const handleClickOutside = () => {\n setClickedOutside(true);\n\n onClickOutside();\n submitRename();\n };\n\n const handleKeyDownToPreview = (e) => {\n if (e.key === \"Enter\") {\n previewDocument();\n }\n };\n\n useClickOutside(ref, handleClickOutside);\n\n return (\n \n \n
\n
\n {getIcon(context, document.fileType)}\n
\n
\n \n {editFilename ? (\n e.stopPropagation()}\n onBlur={handleInputBlur}\n className={classes.maxWidth}\n error={renameError}\n data-cy=\"document-list-item-rename-input\"\n />\n ) : (\n
\n \n \n {document.fileName}\n

\n {!document.isUploading && (\n \n \n
\n )}\n
\n }\n content={document.fileName}\n placement=\"top\"\n multiline\n />\n\n {context === \"documents-sidebar\" ? (\n \n Uploaded by{\" \"}\n {document.uploadedByName}\n

\n ) : (\n document.humanReadableSize && (\n \n {document.humanReadableSize}\n

\n )\n )}\n
\n )}\n
\n
\n \n );\n};\n\nFileInformation.propTypes = {\n context: PropTypes.shape({}).isRequired,\n editFilename: PropTypes.bool,\n setEditFilename: PropTypes.func,\n document: PropTypes.shape({}),\n renameDocument: PropTypes.func,\n previewDocument: PropTypes.func,\n clearDocumentErrors: PropTypes.func,\n onClickOutside: PropTypes.func,\n};\n\nFileInformation.defaultProps = {\n editFilename: false,\n setEditFilename: () => {},\n document: {},\n renameDocument: () => {},\n previewDocument: () => {},\n clearDocumentErrors: () => {},\n onClickOutside: () => {},\n};\n\nexport default FileInformation;\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Popover, PopoverItem, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\n\nimport IconButton from \"@shared/v2/IconButton\";\nimport { VerticalDots, Download, Trash, VisibilityVisible, Edit, Upload } from \"@shared/v2/Icomoon/Icons\";\n\nconst Menubtn = ({ document, triggerRename, deleteDocuments, triggerReplace }) => {\n const [isOpen, setIsOpen] = useState(false);\n const hiddenUploadagreementInput = useRef(null);\n\n const handleButtonClick = (e) => {\n e.stopPropagation();\n setIsOpen(!isOpen);\n };\n\n const handleDelete = () => {\n deleteDocuments(document.id);\n setIsOpen(false);\n };\n\n const handleRename = () => {\n setIsOpen(false);\n triggerRename();\n };\n\n const triggerReplaceDoc = (e) => {\n triggerReplace(document.id, e);\n setIsOpen(false);\n };\n\n const handleReplace = () => {\n hiddenUploadagreementInput.current?.click();\n };\n\n const handlePreview = () => {\n if (document.expiringUrl) {\n window.open(document.expiringUrl, \"_blank\");\n }\n setIsOpen(false);\n };\n return (\n
\n \n \n \n \n \n \n \n {document.expiringUrl && (\n <>\n \n Preview\n \n \n Download\n \n \n )}\n \n Rename\n \n \n \n \n Replace\n \n \n Delete\n \n \n \n
\n );\n};\n\nMenubtn.propTypes = {\n document: PropTypes.shape({}),\n triggerRename: PropTypes.func,\n deleteDocuments: PropTypes.func,\n triggerReplace: PropTypes.func,\n};\n\nMenubtn.defaultProps = {\n document: {},\n triggerRename: () => {},\n deleteDocuments: () => {},\n triggerReplace: () => {},\n};\n\nexport default Menubtn;\n","import React from \"react\";\n\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFileAlt } from \"@fortawesome/free-regular-svg-icons\";\n\nconst UploadDocContainer = () => (\n
\n \n
\n Drop your file here, or select from computer\n
\n \n (File Size Limit 15MB)\n \n
\n
\n);\n\nexport default UploadDocContainer;\n","import React, { useRef, useState } from \"react\";\nimport Proptypes from \"prop-types\";\n\nimport Button from \"@shared/v2/Button/Button\";\nimport Upload from \"@shared/v2/Icomoon/Icons/Upload\";\n\nimport FileInformation from \"@shared/ModalUpload/DocumentListItem/FileInformation\";\n\nimport Menubtn from \"./Menubtn\";\nimport UploadDocContainer from \"./UploadDocContainer\";\n\nconst EditAgreement = ({\n document,\n agreementType,\n handleFileDrop,\n handleDocumentUpload,\n handleAgreementDocumentReplace,\n deleteAgreementDocument,\n renameAgreementDocument,\n}) => {\n const [editFilename, setEditFilename] = useState(false);\n const hiddenUploaddocInput = useRef(null);\n\n const handleTriggerRename = () => {\n setEditFilename(true);\n };\n const handleTriggerReplace = (docId, e) => {\n handleAgreementDocumentReplace(docId, e);\n };\n const deleteDocuments = (docId) => {\n deleteAgreementDocument(docId);\n };\n\n const renameDocument = (docId, newName) => {\n renameAgreementDocument(docId, newName);\n };\n const handlePreview = () => {\n if (document.expiringUrl) {\n window.open(document.expiringUrl, \"_blank\");\n }\n };\n return (\n
\n
\n {agreementType} Agreement\n
\n\n event.preventDefault()}\n >\n \n\n
\n {!document?.fileName ? (\n \n ) : (\n \n )}\n\n
\n {document?.fileName ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n );\n};\n\nEditAgreement.propTypes = {\n document: Proptypes.shape({}),\n agreementType: Proptypes.string,\n handleAgreementDocumentReplace: Proptypes.func,\n deleteAgreementDocument: Proptypes.func,\n renameAgreementDocument: Proptypes.func,\n handleFileDrop: Proptypes.func,\n handleDocumentUpload: Proptypes.func,\n};\nEditAgreement.defaultProps = {\n document: {},\n agreementType: \"\",\n handleAgreementDocumentReplace: () => {},\n deleteAgreementDocument: () => {},\n renameAgreementDocument: () => {},\n handleFileDrop: () => {},\n handleDocumentUpload: () => {},\n};\nexport default EditAgreement;\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\n\nimport FileInformation from \"@shared/ModalUpload/DocumentListItem/FileInformation\";\n\nimport Menubtn from \"./Menubtn\";\n\nconst Addendum = ({ addendum, handleAddendumsReplace, deleteAddendum, renameAddendum }) => {\n const [editFilename, setEditFilename] = useState(false);\n\n const handleTriggerRename = () => {\n setEditFilename(true);\n };\n\n const handleTriggerReplace = (docId, e) => {\n handleAddendumsReplace(docId, e);\n };\n\n const deleteDocuments = (docId) => {\n deleteAddendum(docId);\n };\n\n const renameDocument = (docId, newName) => {\n renameAddendum(docId, newName);\n };\n\n const handlePreview = () => {\n if (addendum.expiringUrl) {\n window.open(addendum.expiringUrl, \"_blank\");\n }\n };\n\n return (\n \n
\n \n
\n \n
\n
\n
\n );\n};\n\nAddendum.propTypes = {\n addendum: Proptypes.shape({}),\n handleAddendumsReplace: Proptypes.func,\n deleteAddendum: Proptypes.func,\n renameAddendum: Proptypes.func,\n};\nAddendum.defaultProps = {\n addendum: {},\n handleAddendumsReplace: () => {},\n deleteAddendum: () => {},\n renameAddendum: () => {},\n};\nexport default Addendum;\n","import React, { useRef } from \"react\";\nimport Proptypes from \"prop-types\";\n\nimport Button from \"@shared/v2/Button/Button\";\nimport Upload from \"@shared/v2/Icomoon/Icons/Upload\";\nimport UploadDocContainer from \"./UploadDocContainer\";\nimport Addendum from \"./Addendum\";\n\nconst Addendums = ({\n addendums,\n handleFileDrop,\n handleDocumentUpload,\n handleAddendumsReplace,\n deleteAddendum,\n renameAddendum,\n}) => {\n const hiddenUploadAddendumsInput = useRef(null);\n\n return (\n
\n
\n Addendums\n
\n\n {addendums.map((addendum, index) => (\n \n ))}\n\n event.preventDefault()}\n >\n \n
\n \n
\n \n
\n
\n
\n
\n );\n};\n\nAddendums.propTypes = {\n addendums: Proptypes.arrayOf(Proptypes.shape({})),\n handleAddendumsReplace: Proptypes.func,\n deleteAddendum: Proptypes.func,\n renameAddendum: Proptypes.func,\n handleFileDrop: Proptypes.func,\n handleDocumentUpload: Proptypes.func,\n};\nAddendums.defaultProps = {\n addendums: [],\n handleAddendumsReplace: () => {},\n deleteAddendum: () => {},\n renameAddendum: () => {},\n handleFileDrop: () => {},\n handleDocumentUpload: () => {},\n};\nexport default Addendums;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nimport EditAgreement from \"./EditAgreement\";\nimport Addendums from \"./Addendums\";\nimport DatePicker from \"@shared/v2/DatePicker/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport Checkbox from \"@shared/v2/Checkbox/Checkbox\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Info from \"@shared/v2/Icomoon/Icons/Info\";\n\nconst EditAgreementBody = ({\n agreement,\n setAgreement,\n addendumState,\n handleAgreementDocumentUpload,\n handleAgreementFileDrop,\n handleAddendumsFileDrop,\n handleAddendumsDocumentUpload,\n handleAgreementDocumentReplace,\n handleAddendumsReplace,\n deleteAgreementDocument,\n deleteAddendum,\n renameAgreementDocument,\n renameAddendum,\n availableTransactions,\n}) => {\n return (\n
\n \n \n
\n
\n
\n
\n Agreement Signed Date\n
\n setAgreement(\"signedDate\", moment(value).format(\"YYYY-MM-DD\"))}\n value={agreement?.signedDate}\n />\n
\n\n
\n
\n Agreement Expiration Date\n
\n setAgreement(\"expirationDate\", moment(value).format(\"YYYY-MM-DD\"))}\n value={agreement?.expirationDate}\n />\n
\n
\n setAgreement(\"listing\", value)}\n label=\"Associated Transaction\"\n isSearchable\n />\n
\n
\n setAgreement(\"isCompleted\", !agreement?.isCompleted)}\n />\n \n An agreement is completed when the transaction it is associated with is closed. Setting a\n transaction to Closed will automatically update the associated agreement’s status to\n Completed unless the agreement has been Canceled.\n
\n }\n trigger={}\n />\n
\n setAgreement(\"isCanceled\", !agreement?.isCanceled)}\n />\n
\n {agreement?.isCanceled && (\n
\n
\n
\n Agreement Cancellation Date\n
\n setAgreement(\"cancellationDate\", moment(value).format(\"YYYY-MM-DD\"))}\n value={agreement?.cancellationDate}\n />\n
\n
\n )}\n
\n
\n );\n};\n\nEditAgreementBody.propTypes = {\n agreement: Proptypes.shape({\n id: Proptypes.number,\n agreementType: Proptypes.string,\n document: Proptypes.shape({}),\n expirationDate: null,\n cancellationDate: null,\n signedDate: null,\n }),\n addendumState: Proptypes.arrayOf(Proptypes.shape({})),\n handleAgreementDocumentUpload: Proptypes.func,\n handleAgreementFileDrop: Proptypes.func,\n handleAddendumsFileDrop: Proptypes.func,\n handleAddendumsDocumentUpload: Proptypes.func,\n handleAddendumsReplace: Proptypes.func,\n deleteAddendum: Proptypes.func,\n renameAddendum: Proptypes.func,\n handleAgreementDocumentReplace: Proptypes.func,\n deleteAgreementDocument: Proptypes.func,\n renameAgreementDocument: Proptypes.func,\n setAgreement: Proptypes.func,\n availableTransactions: Proptypes.arrayOf(Proptypes.shape({})),\n};\nEditAgreementBody.defaultProps = {\n agreement: {},\n addendumState: [],\n handleAgreementDocumentUpload: () => {},\n handleAgreementFileDrop: () => {},\n handleAddendumsFileDrop: () => {},\n handleAddendumsDocumentUpload: () => {},\n handleAddendumsReplace: () => {},\n deleteAddendum: () => {},\n renameAddendum: () => {},\n handleAgreementDocumentReplace: () => {},\n deleteAgreementDocument: () => {},\n renameAgreementDocument: () => {},\n setAgreement: () => {},\n availableTransactions: [],\n};\nexport default EditAgreementBody;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport EditAgreementBody from \"./EditAgreementBody\";\nimport { formatFileSize } from \"../../../actions/helper\";\nimport DeleteAgreementModal from \"../DeleteAgreementModal\";\nimport {\n handleDocumentDelete,\n handleDocumentUpload,\n handleDocumentRename,\n handleAddendumUpload,\n handleAddendumDelete,\n handleAddendumRename,\n handleAgreementUpdate,\n fetchAvailableTransactions,\n} from \"../../../actions/personDetailActionCreators\";\nimport Error from \"@shared/Error\";\n\nconst createDoc = (file, agreementType) => ({\n fileExtension: `.${file?.name.split(\".\").pop()}`,\n url: null,\n uploadedById: null,\n uploadedByImageUrl: null,\n uploadedByImage: null,\n uploadedByName: null,\n uploadedByUrl: null,\n fileName: file?.name,\n fileType: file?.type,\n humanReadableSize: formatFileSize(file?.size),\n id: file?.lastModified,\n nakedName: `${file?.name.split(\".\")[0]}`,\n imageIcon: null,\n size: file?.size,\n uploadedAt: null,\n addedAgo: null,\n dateAdded: null,\n expiringUrl: null,\n documentSubType: agreementType,\n isCreated: true,\n fileObj: file,\n canRename: true,\n});\n\nconst getOption = (data) => {\n return data.map((item) => ({\n label: item.name,\n value: item.id,\n }));\n};\n\nconst EditAgreementModal = ({ modalOpen, closeModal, person, onDelete, agreement }) => {\n const dispatch = useDispatch();\n const availableTransactions = useSelector((state) => getOption(state.personDetail.available_transactions));\n\n const [agreementState, setAgreementState] = useState(agreement);\n const [addendumState, setAddendumState] = useState(agreement?.addendums || []);\n const [isAddendumDelete, setIsAddendumDelete] = useState(false);\n const [saveDocId, setSaveDocId] = useState(null);\n\n const [openDeleteAgreementModal, setOpenDeleteAgreementModal] = useState(false);\n\n const [openDeleteModal, setOpenDeleteModal] = useState(false);\n\n const [errors, setErrors] = useState(null);\n\n useEffect(() => {\n if (person.data?.id) dispatch(fetchAvailableTransactions(person.data.attributes.uuid));\n }, [person.data?.id]);\n\n const handleAgreementDocumentUpload = (event) => {\n const tempfiles = event.target.files[0];\n if (tempfiles) {\n setAgreementState((prevState) => ({\n ...prevState,\n document: createDoc(tempfiles, agreementState.agreementType),\n }));\n }\n };\n\n const handleAgreementFileDrop = (event) => {\n event.preventDefault();\n if (event.dataTransfer.files[0]) {\n setAgreementState((prevState) => ({\n ...prevState,\n document: createDoc(event.dataTransfer.files[0], agreementState.agreementType),\n }));\n }\n };\n\n const handleAddendumsFileDrop = (event) => {\n event.preventDefault();\n\n if (event.dataTransfer.files[0]) {\n setAddendumState((prevState) => [\n ...prevState,\n createDoc(event.dataTransfer.files[0], agreementState.agreementType),\n ]);\n }\n };\n\n const handleAddendumsDocumentUpload = (event) => {\n const tempfiles = event.target.files[0];\n\n if (tempfiles) {\n setAddendumState((prevState) => [...prevState, createDoc(tempfiles, agreementState.agreementType)]);\n }\n };\n\n const handleAgreementDocumentReplace = (docId, event) => {\n deleteAgreementDocument(true);\n handleAgreementDocumentUpload(event);\n };\n\n const handleAddendumsReplace = (docId, event) => {\n deleteAddendum(docId);\n handleAddendumsDocumentUpload(event);\n };\n\n const deleteAgreementDocument = (isReplaced) => {\n if (agreementState?.document?.isCreated) {\n setAgreementState((prevState) => ({\n ...prevState,\n document: null,\n }));\n } else {\n setAgreementState((prevState) => ({\n ...prevState,\n deletedDocId: prevState.document ? prevState.document.id : null,\n document: null,\n ...(isReplaced && {\n replaced: true,\n replacedFileName: prevState.document.fileName,\n }),\n }));\n }\n };\n\n const deleteAddendum = (docId) => {\n // Check if the document with the specified id exists and if it is recently created\n const isDocCreated = addendumState.some((addendum) => addendum.id === docId && addendum?.isCreated);\n\n if (isDocCreated) {\n setAddendumState((prevState) => prevState.filter((addendum) => addendum.id !== docId));\n } else {\n setAddendumState((prevState) =>\n prevState.map((addendum) =>\n addendum.id === docId\n ? {\n ...addendum,\n isDeleted: true,\n isRenamed: false,\n }\n : addendum,\n ),\n );\n }\n };\n\n const renameAgreementDocument = (docId, newFileName) => {\n // Check if the id matches and isDocCreated is true\n const isDocCreated = agreementState?.document?.isCreated;\n\n setAgreementState((prevState) => ({\n ...prevState,\n\n document: prevState.document\n ? {\n ...prevState.document,\n fileName: newFileName,\n nakedName: `${newFileName.split(\".\")[0]}`,\n ...(isDocCreated\n ? {\n fileObj: new File([prevState.document.fileObj], newFileName, {\n type: prevState.document.fileObj.type,\n }),\n }\n : { isRenamed: true }),\n }\n : prevState.document,\n }));\n };\n\n const renameAddendum = (docId, newFileName) => {\n // Check if the document with the specified id exists and if it is recently created\n const isDocCreated = addendumState.some((addendum) => addendum.id === docId && addendum?.isCreated);\n\n setAddendumState((prevState) =>\n prevState.map((addendum) =>\n addendum.id === docId\n ? {\n ...addendum,\n fileName: newFileName,\n nakedName: `${newFileName.split(\".\")[0]}`,\n ...(isDocCreated\n ? {\n fileObj: new File([addendum.fileObj], newFileName, { type: addendum.fileObj.type }),\n }\n : { isRenamed: true }),\n }\n : addendum,\n ),\n );\n };\n\n const setAgreement = (name, value) => {\n setAgreementState((prevState) => ({\n ...prevState,\n [name]: value,\n }));\n };\n\n const onClickDeleteAgreement = () => {\n setOpenDeleteAgreementModal(true);\n };\n\n const onClickDeleteAddendum = (docId) => {\n setOpenDeleteModal(true);\n setIsAddendumDelete(true);\n setSaveDocId(docId);\n };\n\n const onClickDeleteAgreementDocument = (docId) => {\n setOpenDeleteModal(true);\n setIsAddendumDelete(false);\n setSaveDocId(docId);\n };\n\n const deleteCloseModal = () => {\n setOpenDeleteModal(false);\n };\n\n const deleteAgreementCloseModal = () => {\n setOpenDeleteAgreementModal(false);\n };\n\n const onSave = async () => {\n const createdDoc = agreementState?.document?.isCreated && agreementState?.document;\n const createAddendums = addendumState.filter((doc) => doc.isCreated === true);\n\n const isReplacedDoc =\n agreementState?.replaced && agreementState?.replacedFileName && agreementState?.document?.fileName;\n\n const deleteDocId = agreementState?.deletedDocId || null;\n const deleteAddendums = addendumState.filter((doc) => doc.isDeleted === true);\n\n const renameDoc = agreementState?.document?.isRenamed && agreementState?.document;\n const renameAddendums = addendumState.filter((doc) => doc.isRenamed === true);\n\n const dispatchPromises = [];\n\n if (createdDoc?.fileName) {\n const payloadData = {\n agreement_type: agreementState.agreementType,\n };\n dispatchPromises.push(\n dispatch(handleDocumentUpload(createdDoc?.fileObj, person.data.attributes, false, payloadData, true)),\n );\n }\n\n if (createAddendums.length > 0) {\n createAddendums.map((createAddendum) =>\n dispatchPromises.push(\n dispatch(handleAddendumUpload(createAddendum?.fileObj, person.data.attributes, agreementState?.id)),\n ),\n );\n }\n\n if (deleteDocId) {\n dispatchPromises.push(dispatch(handleDocumentDelete(person.data.attributes, deleteDocId)));\n }\n\n if (deleteAddendums.length > 0) {\n deleteAddendums.map((deleteAddendum) =>\n dispatchPromises.push(\n dispatch(handleAddendumDelete(person.data.attributes, agreementState?.id, deleteAddendum?.id)),\n ),\n );\n }\n\n if (renameDoc?.fileName) {\n dispatchPromises.push(\n dispatch(handleDocumentRename(person.data.attributes, renameDoc?.id, renameDoc?.fileName)),\n );\n }\n\n if (renameAddendums.length > 0) {\n renameAddendums.map((renameAddendum) =>\n dispatchPromises.push(\n dispatch(\n handleAddendumRename(\n person.data.attributes,\n agreementState?.id,\n renameAddendum?.id,\n renameAddendum?.fileName,\n ),\n ),\n ),\n );\n }\n\n if (dispatchPromises.length > 0) {\n // Wait for all document and addendum-related operations to complete\n const [result] = await Promise.all(dispatchPromises);\n\n // Check for upload errors\n if (result.errors) {\n setErrors(result.errors);\n setAgreementState((prevState) => ({\n ...prevState,\n document: null,\n }));\n } else {\n setErrors(null);\n closeModal();\n }\n }\n\n // Then, update the agreement\n const agreementData = {\n agreement_type: agreementState?.agreementType,\n id: agreementState?.id,\n signed_at: agreementState?.signedDate,\n expired_at: agreementState?.expirationDate,\n cancelled_at: agreementState?.cancellationDate,\n completed: agreementState?.isCompleted,\n cancelled: agreementState?.isCanceled,\n listing_id: agreementState?.listing?.value,\n ...(createdDoc?.fileName && result && result?.CreatedDocID && { document_id: result?.CreatedDocID }),\n ...(isReplacedDoc && { replaced: true, replaced_file_name: agreementState?.replacedFileName }),\n };\n await dispatch(handleAgreementUpdate(person.data.attributes, agreementData, agreementState?.id));\n closeModal();\n };\n\n const getActiveAgreementState = () => {\n if (agreementState?.document?.isDeleted) {\n return {\n ...agreementState,\n document: null,\n };\n }\n return agreementState;\n };\n\n const getActiveAddendumState = () => {\n return addendumState.filter((doc) => !doc.isDeleted);\n };\n\n return (\n <>\n \n \n\n \n {errors && }\n \n \n\n \n \n
\n \n Delete Agreement\n \n \n
\n
\n \n {openDeleteAgreementModal && (\n {\n onDelete(person, agreement.id);\n deleteAgreementCloseModal();\n closeModal();\n }}\n closeModal={deleteAgreementCloseModal}\n title=\"Delete Agreement?\"\n msg=\"Deleting this agreement will remove any associated documents from the Documents section.\"\n />\n )}\n {openDeleteModal && (\n {\n isAddendumDelete ? deleteAddendum(saveDocId) : deleteAgreementDocument(false);\n deleteCloseModal();\n }}\n closeModal={deleteCloseModal}\n title=\"Delete Document?\"\n msg=\"Deleting this document will remove it from both the agreement and the Documents section.\"\n />\n )}\n \n );\n};\n\nEditAgreementModal.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n agreement: Proptypes.shape({\n id: Proptypes.number,\n agreementType: Proptypes.string,\n }),\n person: Proptypes.shape({}),\n onDelete: Proptypes.func,\n};\nEditAgreementModal.defaultProps = {\n modalOpen: false,\n closeModal: null,\n person: {},\n agreement: {},\n onDelete: null,\n};\nexport default EditAgreementModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Edit from \"@shared/v2/Icomoon/Icons/Edit\";\nimport EditAgreementModal from \"./EditAgreementModal/EditAgreementModal\";\n\nconst AgreementSection = ({ agreement, onDelete, person }) => {\n const [isEditModalOpen, setIsEditModalOpen] = useState(false);\n\n const onClickEditAgreement = () => {\n setIsEditModalOpen(true);\n };\n const agreementCloseModal = () => {\n setIsEditModalOpen(false);\n };\n\n return (\n
\n \n
\n
\n
{`${agreement.agreementType} Agreement`}
\n {agreement.listing && agreement.listing?.value && (\n
{`For ${agreement.listing.label}`}
\n )}\n {agreement.status && agreement.status !== \"none\" && (\n
\n {agreement.status === \"active\" && (\n \n {`${agreement.status} ${agreement.expirationDate ? `until ${moment(agreement.expirationDate).format(\"MM/DD/YYYY\")}` : \"\"}`}\n \n )}\n {agreement.status === \"completed\" && (\n {`${agreement.status}`}\n )}\n {agreement.status === \"expired\" && (\n \n {`${agreement.status} ${agreement.expirationDate ? `on ${moment(agreement.expirationDate).format(\"MM/DD/YYYY\")}` : \"\"}`}\n \n )}\n {agreement.status === \"cancelled\" && (\n \n {`canceled ${agreement.cancellationDate ? `on ${moment(agreement.cancellationDate).format(\"MM/DD/YYYY\")}` : \"\"}`}\n \n )}\n
\n )}\n
\n\n
\n \n \n \n
\n
\n
\n {isEditModalOpen && (\n \n )}\n
\n );\n};\n\nAgreementSection.propTypes = {\n agreement: PropTypes.shape({\n id: PropTypes.number,\n agreementType: PropTypes.string,\n }),\n person: PropTypes.shape({}),\n onDelete: PropTypes.func,\n};\nAgreementSection.defaultProps = {\n agreement: {},\n person: {},\n onDelete: null,\n};\nexport default AgreementSection;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Alert from \"@shared/v2/Alert\";\nimport Check from \"@shared/v2/Icomoon/Icons/Check\";\nimport { HouseSolidV6, KeySolidV6, ShareNodesSolidV6 } from \"@shared/v2/Icomoon/Icons\";\nimport { fetchAgreements, handleAgreementDelete } from \"../../actions/personDetailActionCreators\";\nimport CollapsibleElement from \"../CollapsibleElement\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport Agreementbtn from \"./Agreementbtn\";\nimport AgreementSection from \"./AgreementSection\";\nimport AddAgreementModal from \"./AddAgreementModal/AddAgreementModal\";\nimport SelectDocTypeModal from \"../modals/SelectDocTypeModal\";\nimport { DocButton } from \"../modals/SelectDocTypeModal\";\n\nconst AlertToast = ({ msg, className }) => (\n \n \n {msg}\n \n }\n role=\"alert\"\n />\n);\n\nconst getOption = (data) => {\n return data.map((item) => ({\n label: item.name,\n value: item.id,\n }));\n};\n\nconst Agreements = () => {\n const dispatch = useDispatch();\n const person = useSelector((state) => state.personDetail.person);\n const agreements = useSelector((state) => state.personDetail.agreements);\n const displayToast = useSelector((state) => state.personDetail.displayToast);\n const uploadingDocument = useSelector((state) => state.personDetail.uploadingDocument);\n const availableTransactions = useSelector((state) => getOption(state.personDetail.available_transactions));\n const agreementsButtonText = agreements.length === 0 ? \"\" : \"+ ADD\";\n const [isModalOpen, setIsModalOpen] = useState(false);\n const [isAgreementModalOpen, setIsAgreementModalOpen] = useState(false);\n\n const [agreementName, setAgreementName] = useState(\"buyer\");\n\n const onClickAgreement = (agreementName) => {\n setIsAgreementModalOpen(true);\n setAgreementName(agreementName);\n };\n\n const onAddClick = () => {\n setIsModalOpen(true);\n setAgreementName(\"buyer\");\n };\n\n const selectDocTypeCloseModal = () => {\n setIsModalOpen(false);\n };\n\n const agreementCloseModal = () => {\n setIsAgreementModalOpen(false);\n };\n\n const setOpenAgreementModal = (documentType) => {\n setAgreementName(documentType);\n setIsAgreementModalOpen(true);\n selectDocTypeCloseModal();\n };\n\n useEffect(() => {\n if (person.data?.id) dispatch(fetchAgreements(person.data));\n }, [person.data?.id]);\n\n return (\n <>\n {displayToast?.show && displayToast?.msg && }\n {displayToast?.transactionMsg && (\n \n )}\n\n \n {!person.data && }\n\n
\n {agreements.length === 0 && (\n <>\n \n \n \n \n )}\n {agreements.length > 0 &&\n agreements.map((agreement) => (\n dispatch(handleAgreementDelete(...args))}\n person={person}\n />\n ))}\n {isModalOpen && (\n \n \n \n \n \n )}\n {isAgreementModalOpen && (\n \n )}\n
\n \n \n );\n};\n\nexport default Agreements;\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"@shared/Utilities\"\n\nexport const getEnvoyReferralsFormDataApi = async(personId) => {\n const [res, err] = await tryCatchHandlr(axios.get(`/api/v4/contact_people/${personId}/envoy_referrals/form_options`))\n\n return {res, err}\n};\n\nexport const postEnvoyReferralApi = async(personId, data) => {\n const [res, err] = await tryCatchHandlr(axios.post(`/api/v4/contact_people/${personId}/envoy_referrals`, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n }}))\n\n return {res, err}\n}\n","export const LABEL_VALUE_STATES = [\n { \"label\": \"Alabama\", \"value\": \"Alabama\", \"abbreviation\": \"AL\" },\n { \"label\": \"Alaska\", \"value\": \"Alaska\", \"abbreviation\": \"AK\" },\n { \"label\": \"American Samoa\", \"value\": \"American Samoa\", \"abbreviation\": \"AS\" },\n { \"label\": \"Arizona\", \"value\": \"Arizona\", \"abbreviation\": \"AZ\" },\n { \"label\": \"Arkansas\", \"value\": \"Arkansas\", \"abbreviation\": \"AR\" },\n { \"label\": \"California\", \"value\": \"California\", \"abbreviation\": \"CA\" },\n { \"label\": \"Colorado\", \"value\": \"Colorado\", \"abbreviation\": \"CO\" },\n { \"label\": \"Connecticut\", \"value\": \"Connecticut\", \"abbreviation\": \"CT\" },\n { \"label\": \"Delaware\", \"value\": \"Delaware\", \"abbreviation\": \"DE\" },\n { \"label\": \"Florida\", \"value\": \"Florida\", \"abbreviation\": \"FL\" },\n { \"label\": \"Georgia\", \"value\": \"Georgia\", \"abbreviation\": \"GA\" },\n { \"label\": \"Hawaii\", \"value\": \"Hawaii\", \"abbreviation\": \"HI\" },\n { \"label\": \"Idaho\", \"value\": \"Idaho\", \"abbreviation\": \"ID\" },\n { \"label\": \"Illinois\", \"value\": \"Illinois\", \"abbreviation\": \"IL\" },\n { \"label\": \"Indiana\", \"value\": \"Indiana\", \"abbreviation\": \"IN\" },\n { \"label\": \"Iowa\", \"value\": \"Iowa\", \"abbreviation\": \"IA\" },\n { \"label\": \"Kansas\", \"value\": \"Kansas\", \"abbreviation\": \"KS\" },\n { \"label\": \"Kentucky\", \"value\": \"Kentucky\", \"abbreviation\": \"KY\" },\n { \"label\": \"Louisiana\", \"value\": \"Louisiana\", \"abbreviation\": \"LA\" },\n { \"label\": \"Maine\", \"value\": \"Maine\", \"abbreviation\": \"ME\" },\n { \"label\": \"Maryland\", \"value\": \"Maryland\", \"abbreviation\": \"MD\" },\n { \"label\": \"Massachusetts\", \"value\": \"Massachusetts\", \"abbreviation\": \"MA\" },\n { \"label\": \"Michigan\", \"value\": \"Michigan\", \"abbreviation\": \"MI\" },\n { \"label\": \"Minnesota\", \"value\": \"Minnesota\", \"abbreviation\": \"MN\" },\n { \"label\": \"Mississippi\", \"value\": \"Mississippi\", \"abbreviation\": \"MS\" },\n { \"label\": \"Missouri\", \"value\": \"Missouri\", \"abbreviation\": \"MO\" },\n { \"label\": \"Montana\", \"value\": \"Montana\", \"abbreviation\": \"MT\" },\n { \"label\": \"Nebraska\", \"value\": \"Nebraska\", \"abbreviation\": \"NE\" },\n { \"label\": \"Nevada\", \"value\": \"Nevada\", \"abbreviation\": \"NV\" },\n { \"label\": \"New Hampshire\", \"value\": \"New Hampshire\", \"abbreviation\": \"NH\" },\n { \"label\": \"New Jersey\", \"value\": \"New Jersey\", \"abbreviation\": \"NJ\" },\n { \"label\": \"New Mexico\", \"value\": \"New Mexico\", \"abbreviation\": \"NM\" },\n { \"label\": \"New York\", \"value\": \"New York\", \"abbreviation\": \"NY\" },\n { \"label\": \"North Carolina\", \"value\": \"North Carolina\", \"abbreviation\": \"NC\" },\n { \"label\": \"North Dakota\", \"value\": \"North Dakota\", \"abbreviation\": \"ND\" },\n { \"label\": \"Ohio\", \"value\": \"Ohio\", \"abbreviation\": \"OH\" },\n { \"label\": \"Oklahoma\", \"value\": \"Oklahoma\", \"abbreviation\": \"OK\" },\n { \"label\": \"Oregon\", \"value\": \"Oregon\", \"abbreviation\": \"OR\" },\n { \"label\": \"Pennsylvania\", \"value\": \"Pennsylvania\", \"abbreviation\": \"PA\" },\n { \"label\": \"Rhode Island\", \"value\": \"Rhode Island\", \"abbreviation\": \"RI\" },\n { \"label\": \"South Carolina\", \"value\": \"South Carolina\", \"abbreviation\": \"SC\" },\n { \"label\": \"South Dakota\", \"value\": \"South Dakota\", \"abbreviation\": \"SD\" },\n { \"label\": \"Tennessee\", \"value\": \"Tennessee\", \"abbreviation\": \"TN\" },\n { \"label\": \"Texas\", \"value\": \"Texas\", \"abbreviation\": \"TX\" },\n { \"label\": \"Utah\", \"value\": \"Utah\", \"abbreviation\": \"UT\" },\n { \"label\": \"Vermont\", \"value\": \"Vermont\", \"abbreviation\": \"VT\" },\n { \"label\": \"Virginia\", \"value\": \"Virginia\", \"abbreviation\": \"VA\" },\n { \"label\": \"Washington\", \"value\": \"Washington\", \"abbreviation\": \"WA\" },\n { \"label\": \"West Virginia\", \"value\": \"West Virginia\", \"abbreviation\": \"WV\" },\n { \"label\": \"Wisconsin\", \"value\": \"Wisconsin\", \"abbreviation\": \"WI\" },\n { \"label\": \"Wyoming\", \"value\": \"Wyoming\", \"abbreviation\": \"WY\" }\n];\n","import React, { useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { filter } from \"lodash\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\n\nimport { LABEL_VALUE_STATES } from \"@shared/constants\";\nimport DropdownWithMultiCtrlledRemovable from \"@shared/DropdownWithMultiCtrlledRemovable\";\n\nconst FilterStatesModal = ({ show, onHide, onSubmit, filteredStates }) => {\n const useSpecificStatesAsOptions = useMemo(\n () =>\n filter(\n LABEL_VALUE_STATES,\n (state) => ![\"American Samoa\", \"Nevada\", \"New York\", \"Utah\"].includes(state.value),\n ),\n [],\n );\n\n const [modalfilteredStates, setModalfilteredStates] = useState(filteredStates);\n\n return (\n \n \n \n \n \n \n \n {\n onSubmit(modalfilteredStates);\n onHide();\n }}\n >\n Submit\n \n \n \n );\n};\n\nFilterStatesModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onHide: PropTypes.func.isRequired,\n onSubmit: PropTypes.func.isRequired,\n filteredStates: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n};\n\nexport default FilterStatesModal;\n","/* eslint-disable no-param-reassign */\nimport { useEffect, useState } from \"react\";\nimport { sortBy, find, forEach, each } from \"lodash\";\nimport { produce } from \"immer\";\n\nimport { LABEL_VALUE_STATES } from \"@shared/constants\";\nimport { getEnvoyReferralsFormDataApi } from \"../../shared/api\";\n\n// eslint-disable-next-line import/prefer-default-export\nexport const useGetEnvoyReferralData = (personId) => {\n const [formOptionsFromApi, setFormOptionsFromApi] = useState({});\n const [formDataFromApi, setFormDataFromApi] = useState({});\n const [isLoading, setIsLoading] = useState(false);\n\n useEffect(() => {\n if (!personId) return;\n\n (async () => {\n setIsLoading(true);\n const { res } = await getEnvoyReferralsFormDataApi(personId);\n\n if (res) {\n const retrievedLoanOfficers = sortBy(res.data.hub_spot_owner_options, \"name\");\n\n setFormOptionsFromApi((prev) =>\n produce(prev, (draft) => {\n draft.sourceOptions = res.data?.source_options.map((source) => ({\n label: source,\n value: source,\n }));\n draft.stateOptions = res.data?.state_options\n .map((state) => ({ label: state, value: state }))\n .slice(1);\n draft.bestTimeToCallOptions = res.data?.best_time_to_call_options.map((time) => ({\n label: time,\n value: time,\n }));\n draft.timeFrameOptions = res.data?.timeframe_options.map((time) => ({\n label: time,\n value: time,\n }));\n draft.referringAgentOptions = res.data?.agent_options.map((agent) => ({\n label: agent?.agent_name,\n value: { agentEmail: agent?.agent_email, agentPhone: agent?.agent_phone },\n }));\n draft.focusOptions = res.data?.focus_options;\n\n draft.originalLOList = retrievedLoanOfficers;\n const loanOfficersByState = {};\n forEach(retrievedLoanOfficers, (agent, index) => {\n const states = agent.licensedStates.split(\", \");\n each(states, (state) => {\n if (loanOfficersByState[state]) {\n loanOfficersByState[state].push(index);\n } else {\n loanOfficersByState[state] = [index];\n }\n });\n });\n\n draft.loanOfficersByState = loanOfficersByState;\n }),\n );\n\n setFormDataFromApi((prev) =>\n produce(prev, (draft) => {\n draft.agent_email = res.data.primary_agent?.agent_email;\n draft.agent_name = res.data.primary_agent?.agent_name;\n draft.agent_phone = res.data.primary_agent?.agent_phone;\n draft.team_name = res.data.team_name;\n draft.brokerage = res.data.brokerage;\n draft.lastReferredDate = res.data.last_envoy_referral?.referred_at;\n draft.hub_spot_owner_id = res.data.default_hub_spot_owner_id;\n\n if (res.data?.office_state) {\n const stateObj = find(LABEL_VALUE_STATES, { abbreviation: res.data.office_state });\n draft.state = stateObj ? stateObj.label : null;\n }\n }),\n );\n }\n\n setIsLoading(false);\n })();\n }, [personId]);\n\n return {\n formOptionsFromApi,\n formDataFromApi,\n setFormDataFromApi,\n isLoading,\n };\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\n\nconst CallLeadOption = ({ focusOptions, setFormDataValue, selectedFocusOption }) => (\n
\n
\n \n {focusOptions.map((option) => (\n setFormDataValue(\"focus\", option.value)}\n selected={option.value === selectedFocusOption}\n size=\"small\"\n variant=\"gray\"\n >\n {option.label}\n \n ))}\n
\n
\n);\n\nCallLeadOption.propTypes = {\n focusOptions: Proptypes.arrayOf(\n Proptypes.shape({\n label: Proptypes.string,\n value: Proptypes.string,\n }),\n ),\n selectedFocusOption: Proptypes.string,\n setFormDataValue: Proptypes.func,\n};\nCallLeadOption.defaultProps = {\n focusOptions: [],\n selectedFocusOption: \"B\",\n setFormDataValue: null,\n};\nexport default CallLeadOption;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { bool, func, shape, string } from \"prop-types\";\nimport { chain, map, find, keys, isNil, isString, trim, isEmpty } from \"lodash\";\nimport { produce } from \"immer\";\nimport moment from \"moment\";\nimport Banner from \"@shared/v2/Banner\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport Modal from \"@shared/v2/Modal\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6, TriangleExclamationSolidV6 } from \"@shared/v2/Icomoon\";\nimport { postEnvoyReferralApi } from \"../../shared/api\";\nimport {\n usePerson,\n useLenderModalOpen,\n useLastReferredDateTime,\n} from \"../../../reducers/personalDetailReducer/personDetailReducer\";\nimport {\n setLastRefferedDateTime,\n toggleLenderModal,\n toggleSuccessReferLoanToast,\n fetchLoans,\n} from \"../../actions/personDetailActionCreators\";\nimport FilterStatesModal from \"./FilterStatesModal\";\nimport { useGetEnvoyReferralData } from \"./hooks\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport CallLeadOption from \"./CallLeadOption\";\nimport { useFeatureFlags } from \"../../../reducers/layoutReducer/selectors\";\n\nconst STYLES = {\n hr: \"tw-border-t-gray-10 tw-my-24px\",\n header: \"tw-text-14d tw-font-semibold tw-color-gray-75 tw-mb-8px\",\n subHeader: \"tw-text-14d\",\n formBody: \"tw-flex tw-flex-col tw-gap-[24px] tw-mt-[24px]\",\n flexGroup: \"tw-flex tw-gap-[24px]\",\n};\n\nconst DEFAULT_FORM_DATA = (envoyAba) => ({\n agent_email: null,\n agent_name: null,\n agent_phone: null,\n team_name: null,\n brokerage: null,\n best_time_to_call: \"Mornings\",\n notes: null,\n budget: null,\n email: null,\n first_name: null,\n last_name: null,\n hub_spot_owner_id: \"First Available\",\n loan_type: \"Buy\",\n phone: null,\n source_name: null,\n state: null,\n timeframe: \"ASAP\",\n focus: \"B\",\n ...(envoyAba && { send_aba: true }),\n});\n\nfunction validateEnvoyReferralProperties(payload) {\n const referral = payload;\n const IGNORE_KEYS = [\"email\", \"phone\", \"notes\", \"budget\", \"lastReferredDate\"];\n\n const invalidProperties = keys(referral).reduce((acc, key) => {\n if (IGNORE_KEYS.includes(key)) {\n return acc;\n }\n const value = referral[key];\n\n if (isNil(value) || (isString(value) && trim(value) === \"\")) {\n acc[key] = \"This field is required.\";\n }\n return acc;\n }, {});\n\n const email = trim(referral.email);\n const phone = trim(referral.phone);\n\n if (isEmpty(email) && isEmpty(phone)) {\n invalidProperties.email = \"Email or Phone is required.\";\n invalidProperties.phone = \"Email or Phone is required.\";\n }\n if (email) {\n if (!/^\\S+@\\S+\\.\\S+$/.test(email)) invalidProperties.email = \"Email address must be a valid format\";\n }\n\n return invalidProperties;\n}\n\nconst ReferLenderModal = ({\n show,\n onSubmit,\n onHide,\n personId,\n initFormData,\n isSubmitting,\n hasError,\n initFormOptions,\n isLoading,\n}) => {\n const featureFlags = useFeatureFlags();\n const [showErrors, setErrors] = useState([]);\n const [filteredStates, setFilteredStates] = useState([]);\n const [isFilteredStatesModalOpen, setIsFilteredStatesModalOpen] = useState(false);\n const [formData, setFormData] = useState({\n envoy_referral: DEFAULT_FORM_DATA(featureFlags.envoyAba),\n });\n const lastRefferedDateTime = useLastReferredDateTime();\n\n useEffect(() => {\n setFormData({ envoy_referral: { ...DEFAULT_FORM_DATA(featureFlags.envoyAba), ...initFormData } });\n }, [initFormData]);\n\n useEffect(() => {\n if (personId === null || !show) {\n setFormData({ envoy_referral: { ...DEFAULT_FORM_DATA(featureFlags.envoyAba), ...initFormData } });\n setErrors([]);\n }\n }, [personId, show]);\n\n const setFormDataValue = (key, value) => {\n setFormData(\n produce(formData, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.envoy_referral[key] = value;\n }),\n );\n };\n\n const onSubmitHandlr = () => {\n const invalidProperties = validateEnvoyReferralProperties(formData.envoy_referral);\n setErrors(invalidProperties);\n\n if (!Object.keys(invalidProperties).length) onSubmit(formData);\n };\n\n const loanOfficersOptions = useMemo(() => {\n if (filteredStates.length) {\n return chain(filteredStates)\n .flatMap(({ abbreviation }) =>\n map(\n initFormOptions?.loanOfficersByState[abbreviation],\n (index) => initFormOptions.originalLOList[index],\n ),\n )\n .uniqBy(\"email\")\n .map((officer) => ({\n label: officer.name,\n value: officer.id,\n }))\n .value();\n }\n\n return [\n { label: \"First Available\", value: \"First Available\" },\n ...initFormOptions?.originalLOList?.map(({ name, id }) => ({ label: name, value: id })),\n ];\n }, [filteredStates, initFormOptions.originalLOList]);\n\n const selectedLoanOfficer = useMemo(() => {\n if (formData.envoy_referral.hub_spot_owner_id === \"First Available\")\n return { name: \"First Available\", id: \"First Available\" };\n\n return find(initFormOptions.originalLOList, { id: formData.envoy_referral.hub_spot_owner_id });\n }, [formData.envoy_referral.hub_spot_owner_id]);\n\n const removeErrorHandlr = (error) => {\n setErrors((errs) => {\n // eslint-disable-next-line no-param-reassign\n delete errs[error];\n return errs;\n });\n };\n\n return (\n <>\n setIsFilteredStatesModalOpen(false)}\n onSubmit={(arrayOfStates) => {\n setFilteredStates(arrayOfStates);\n setFormDataValue(\"hub_spot_owner_id\", null);\n }}\n filteredStates={filteredStates}\n />\n \n \n \n
\n \n \n There was a problem submitting the referral. Please try again.\n \n
\n
\n \n
\n \n \n Last referral submitted on {moment(lastRefferedDateTime).format(\"MM/DD/YY [at] hh:mma\")}\n \n
\n \n \n {isLoading ? (\n \n ) : (\n <>\n
\n {\n removeErrorHandlr(\"hub_spot_owner_id\");\n setFormDataValue(\"hub_spot_owner_id\", e.value);\n }}\n error={showErrors.hub_spot_owner_id}\n isRequired\n />\n setIsFilteredStatesModalOpen(true)}\n >\n {`Filter${filteredStates.length ? \"ed\" : \"\"}`}\n \n
\n \n
\n
Lead Information
\n
\n Enter the contact information of the person you are referring.\n
\n
\n
\n {\n removeErrorHandlr(\"first_name\");\n setFormDataValue(\"first_name\", e.target.value);\n }}\n error={showErrors.first_name}\n />\n {\n removeErrorHandlr(\"last_name\");\n setFormDataValue(\"last_name\", e.target.value);\n }}\n error={showErrors.last_name}\n />\n
\n
\n {\n removeErrorHandlr(\"email\");\n setFormDataValue(\"email\", e.target.value);\n }}\n error={showErrors.email}\n />\n {\n removeErrorHandlr(\"phone\");\n setFormDataValue(\"phone\", e.target.value);\n }}\n error={showErrors.phone}\n />\n
\n
\n {\n removeErrorHandlr(\"source_name\");\n setFormDataValue(\"source_name\", e.value);\n }}\n error={showErrors.source_name}\n value={\n formData.envoy_referral.source_name && {\n label: formData.envoy_referral.source_name,\n value: formData.envoy_referral.source_name,\n }\n }\n placeholder=\"Select\"\n backspaceRemovesValue={false}\n isSearchable\n isRequired\n />\n {\n removeErrorHandlr(\"state\");\n setFormDataValue(\"state\", e.value);\n }}\n error={showErrors.state}\n value={\n formData.envoy_referral.state && {\n label: formData.envoy_referral.state,\n value: formData.envoy_referral.state,\n }\n }\n isSearchable\n isRequired\n />\n
\n
\n {\n removeErrorHandlr(\"best_time_to_call\");\n setFormDataValue(\"best_time_to_call\", e.value);\n }}\n error={showErrors.best_time_to_call}\n />\n {\n removeErrorHandlr(\"budget\");\n setFormDataValue(\"budget\", e.target.value);\n }}\n />\n
\n
\n {\n removeErrorHandlr(\"timeframe\");\n setFormDataValue(\"timeframe\", e.value);\n }}\n error={showErrors.timeframe}\n placeholder=\"Select\"\n value={\n formData.envoy_referral.timeframe && {\n label: formData.envoy_referral.timeframe,\n value: formData.envoy_referral.timeframe,\n }\n }\n isRequired\n />\n
\n \n
\n setFormDataValue(\"loan_type\", \"Buy\")}\n />\n setFormDataValue(\"loan_type\", \"Refinance\")}\n />\n
\n
\n
\n {featureFlags.envoyAba && (\n
\n \n Send Affiliated Business Arrangement (ABA) Form{\" \"}\n }\n innerClassName=\"tw-max-w-[220px] !tw-text-left\"\n content=\"An ABA form will be generated and sent to the client over email or text. This form explains PLACE's relationship with Envoy Mortgage and must be signed and collected by the agent.\"\n />\n \n }\n />\n setFormDataValue(\"send_aba\", true)}\n />\n setFormDataValue(\"send_aba\", false)}\n />\n
\n )}\n
\n
\n
Agent Information
\n
Enter your contact information.
\n
\n {\n removeErrorHandlr(\"agent_name\");\n const {\n label,\n value: { agentEmail, agentPhone },\n } = e;\n setFormData((prev) =>\n produce(prev, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.envoy_referral.agent_name = label;\n // eslint-disable-next-line no-param-reassign\n draft.envoy_referral.agent_email = agentEmail;\n // eslint-disable-next-line no-param-reassign\n draft.envoy_referral.agent_phone = agentPhone;\n }),\n );\n }}\n error={showErrors.agent_name}\n isRequired\n />\n
\n {\n removeErrorHandlr(\"agent_email\");\n setFormDataValue(\"agent_email\", e.target.value);\n }}\n error={showErrors.agent_email}\n />\n {\n removeErrorHandlr(\"agent_phone\");\n setFormDataValue(\"agent_phone\", e.target.value);\n }}\n error={showErrors.agent_phone}\n />\n
\n
\n {\n removeErrorHandlr(\"team_name\");\n setFormDataValue(\"team_name\", e.target.value);\n }}\n error={showErrors.team_name}\n />\n {\n removeErrorHandlr(\"brokerage\");\n setFormDataValue(\"brokerage\", e.target.value);\n }}\n error={showErrors.brokerage}\n />\n
\n {\n setFormDataValue(\"notes\", e.target.value);\n }}\n />\n
\n \n )}\n
\n \n \n \n Submit\n \n \n \n \n );\n};\n\nReferLenderModal.propTypes = {\n show: bool,\n onSubmit: func,\n onHide: func,\n personId: string,\n isSubmitting: bool,\n hasError: bool,\n initFormOptions: shape(),\n initFormData: shape(),\n isLoading: bool,\n};\n\nReferLenderModal.defaultProps = {\n show: false,\n onSubmit: () => {},\n onHide: () => {},\n personId: null,\n isSubmitting: false,\n hasError: false,\n initFormOptions: {\n loanOfficersByState: {},\n originalLOList: [],\n },\n initFormData: {},\n isLoading: true,\n};\n\nexport default () => {\n const lenderModalOpen = useLenderModalOpen();\n const person = usePerson();\n const dispatch = useDispatch();\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [hasError, setHasError] = useState(false);\n const toggleLenderModalHandlr = () => dispatch(toggleLenderModal());\n const toggleSuccessReferLoanToastHandlr = () => dispatch(toggleSuccessReferLoanToast());\n const updateLastRefferedDateTime = (dateTime) => dispatch(setLastRefferedDateTime(dateTime));\n\n const { formOptionsFromApi, formDataFromApi, isLoading, setFormDataFromApi } = useGetEnvoyReferralData(\n person.data?.id,\n );\n\n useEffect(() => {\n updateLastRefferedDateTime(formDataFromApi.lastReferredDate);\n }, [formDataFromApi.lastReferredDate]);\n\n return (\n {\n toggleLenderModalHandlr();\n setHasError(false);\n }}\n personId={person.data?.id}\n isSubmitting={isSubmitting}\n hasError={hasError}\n initFormData={{\n ...formDataFromApi,\n email: person?.data?.attributes?.main_email,\n first_name: person?.data?.attributes?.first_name,\n last_name: person?.data?.attributes?.last_name,\n phone: person?.data?.attributes?.primary_phone_number,\n source_name: person?.data?.attributes?.source,\n }}\n initFormOptions={formOptionsFromApi}\n isLoading={isLoading}\n onSubmit={async (payload) => {\n setIsSubmitting(true);\n const { res, err } = await postEnvoyReferralApi(person.data?.id, payload);\n\n setHasError(Boolean(err));\n setIsSubmitting(false);\n\n if (res) {\n toggleLenderModalHandlr();\n toggleSuccessReferLoanToastHandlr();\n updateLastRefferedDateTime(res.data.last_envoy_referral?.referred_at);\n setFormDataFromApi((prev) => ({\n ...prev,\n hub_spot_owner_id: res.data.default_hub_spot_owner_id,\n }));\n\n dispatch(fetchLoans(person.data?.id));\n\n setTimeout(() => {\n toggleSuccessReferLoanToastHandlr();\n }, 3000);\n }\n }}\n />\n );\n};\n","import React, { useEffect, useMemo, useState, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport HubspotRequestDemoModal from \"@shared/HubspotRequestDemoModal\";\nimport AiSummary from \"@shared/AiAssistant/AiSummary\";\nimport Button from \"@shared/v2/Button\";\nimport { CheckSolidV6, HouseSolidV6, KeySolidV6 } from \"@shared/v2/Icomoon\";\nimport viewPhone from \"@shared/models/Communications/viewPhone\";\nimport useSimpleNavigation from \"@shared/v2/useSimpleNavigation\";\nimport axios from \"axios\";\nimport * as actions from \"../actions/personDetailActionCreators\";\nimport * as creators from \"../../AddMarketReportModal/actions/creators\";\nimport PersonInteractions from \"./PersonInteractions\";\nimport PersonInfo from \"./PersonInfo\";\nimport AssignedTo from \"./assigned_to/AssignedTo\";\nimport Details from \"./Details\";\nimport ContactInfo from \"./ContactInfo\";\nimport Documents from \"./Documents\";\nimport Relationships from \"./Relationships\";\nimport Transactions from \"./Transactions\";\nimport WebActivity from \"./WebActivity\";\nimport HomeApp from \"./HomeApp\";\nimport AutoPlans from \"./auto_plans/AutoPlans\";\nimport ListingAlertCard from \"./listing_alerts/ListingAlertCard\";\nimport MarketReports from \"./MarketReports\";\nimport CmaReports from \"./CmaReports\";\nimport CardTasks from \"./tasks/CardTasks\";\nimport CardAppointments from \"./tasks/CardAppointments\";\nimport Projects from \"./Projects\";\nimport Mortgage from \"./Mortgage\";\nimport AddMarketReportModal from \"../../AddMarketReportModal\";\nimport CardNotes from \"./notes/CardNotes\";\nimport TimelinesApp from \"../../Timelines/components/TimelinesApp\";\nimport PersonDetailsModal from \"../../Contacts/PersonDetailsModal\";\nimport ContactMergeModal from \"../../ContactMergeModal/ContactMergeModal\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport AgreementsConfirmModal from \"./AgreementsConfirmModal\";\nimport Agreements from \"./Agreements\";\nimport ReferLenderModal from \"./ReferLenderModal\";\nimport { useSuccessMessageOpen } from \"../../reducers/personalDetailReducer/personDetailReducer\";\nimport SelectDocTypeModal, { DocButton } from \"./modals/SelectDocTypeModal\";\nimport { viewMarketReportApi } from \"../../AddMarketReportModal/services\";\nimport useIsEditable from \"../shared/useIsEditable\";\nimport { getHasDuplicates } from \"../../reducers/contactMergeReducer\";\n\nconst getApiHeaders = () => ({\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n});\n\nconst PersonDetail = ({\n allAgents,\n newMilestoneId,\n gmailUnsynced,\n emailTemplates,\n appointmentOutcomes,\n accountMilestoneNames,\n idxDataToken,\n idxDataUri,\n}) => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const { pathname, push } = useSimpleNavigation();\n const editPersonModalOpen = useSelector((state) => state.personDetail.editPersonModalOpen);\n const person = useSelector((state) => state.personDetail.person);\n const error = useSelector((state) => state.personDetail.error);\n const featureFlags = useFeatureFlags();\n const [state, setState] = useState({\n platformCTAOpen: false,\n marketReportsRefreshKey: 0,\n });\n const successMessageOpen = useSuccessMessageOpen();\n const isEditable = useIsEditable();\n const primaryPhoneNumber = useMemo(\n () =>\n (person.included?.filter((i) => i.type === \"phone_detail\").map((i) => viewPhone(i)) || []).find(\n (i) => i.isPrimary,\n ),\n [person.included],\n );\n\n const marketReportPerson = useMemo(\n () => ({\n ...person,\n emails: person.included\n ?.filter((i) => i.type === \"email_detail\")\n .map((i) => ({\n address: i.attributes.value,\n category: i.attributes.detailable_type,\n })),\n addresses: person.included\n ?.filter((i) => i.type === \"address\" && i.id !== null)\n .map(\n (i) =>\n `${i.attributes?.street_address} ${i.attributes?.city}, ${i.attributes?.locality} ${i.attributes?.postal_code}`,\n ),\n }),\n [person.data],\n );\n\n const loadData = () => {\n const slug = pathname.split(\"/\").pop();\n dispatch(actions.getPerson(slug));\n dispatch(actions.getNavLinks(slug));\n dispatch(actions.fetchProjects(slug));\n };\n\n useEffect(() => {\n loadData();\n }, [pathname]);\n\n useEffect(() => {\n if (currentUser.account.isAdmin && isEditable && person.data) {\n dispatch(getHasDuplicates(person.data.attributes.slug));\n }\n }, [currentUser, isEditable, person.data]);\n\n const openPanel2 = async (marketReportId) => {\n const onFailure = (err) => dispatch(creators.getMarketReportError({ error: err }));\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error);\n }\n return dispatch(creators.getMarketReportSuccess({ data: response.data }, 0));\n };\n const data = { id: marketReportId, primary_agent_uuid: person.data?.attributes.primary_agent_uuid };\n\n await viewMarketReportApi({ data, successCb: onSuccess, errorCb: onFailure });\n\n setState((prevState) => ({\n ...prevState,\n editMarketReportId: marketReportId,\n showAddModal: true,\n }));\n };\n\n useEffect(() => {\n const urlParams = new URLSearchParams(window.location.search);\n const marketReportIdParam = urlParams.get(\"market_report_id\");\n if (marketReportIdParam && person.data?.attributes.primary_agent_uuid) {\n openPanel2(marketReportIdParam);\n }\n }, [person.data?.attributes.primary_agent_uuid]);\n\n useEffect(() => {\n if (!person.data?.id) return;\n\n const urlParams = new URLSearchParams(window.location.search);\n if (urlParams.get(\"edit\")) {\n dispatch(actions.openEditPersonModal());\n }\n }, [person.data?.id]);\n\n useEffect(() => {\n const firstName = person.data?.attributes.first_name || \"\";\n const lastName = person.data?.attributes.last_name || \"\";\n document.title = `${firstName} ${lastName}`.trim() || \"No Name\";\n }, [person.data?.attributes.first_name, person.data?.attributes.last_name]);\n\n const openPlatformCTA = () => setState((prevState) => ({ ...prevState, platformCTAOpen: true }));\n\n const closePlatformCTA = () => setState((prevState) => ({ ...prevState, platformCTAOpen: false }));\n\n const editMarketReport = (id) => {\n setState((prevState) => ({ ...prevState, editMarketReportId: id, showAddModal: !!id }));\n };\n\n const toggleAddMarketModal = () => {\n dispatch(creators.setTab(0));\n setState((prevState) => ({\n marketReportsRefreshKey: prevState.showAddModal\n ? prevState.marketReportsRefreshKey + 1\n : prevState.marketReportsRefreshKey,\n showAddModal: !prevState.showAddModal,\n editMarketReportId: null,\n }));\n };\n\n const hiddenUploadInput = useRef(null);\n const [docType, setDocType] = useState(\"\");\n const [openAddAgreementModal, setOpenAddAgreementModal] = useState(false);\n const [openSelectDocModal, setOpenSelectDocModal] = useState(false);\n const [openAgreementModalConfirmation, setOpenAgreementModalConfirmation] = useState(false);\n const [openAgreementTypeModal, setOpenAgreementTypeModal] = useState(false);\n\n const setDoc = (documentType) => {\n setDocType(documentType);\n if (documentType === \"other\") {\n hiddenUploadInput.current?.click();\n } else {\n setOpenAddAgreementModal(true);\n }\n setOpenSelectDocModal();\n };\n\n const getAppointments = () => dispatch(actions.getAppointments(person.data.attributes.uuid));\n\n const agreementCloseModal = () => {\n setOpenAddAgreementModal(false);\n getAppointments();\n };\n\n const closeSelectDocModal = () => {\n setOpenAgreementTypeModal(false);\n getAppointments();\n };\n\n const primaryAgent = person.data?.attributes.primary_agent_uuid;\n const [hasApprovedMls, setHasApprovedMls] = useState(false);\n const [loadingReports, setLoadingReports] = useState(true);\n useEffect(() => {\n if (!person.data?.id) return;\n axios\n .get(`/market_reports/user_mlses?primary_agent_uuid=${primaryAgent}`, {headers: getApiHeaders()})\n .then(({data}) => {\n setHasApprovedMls(data.length);\n setLoadingReports(false);\n })\n .catch(console.log);\n }, [person.data?.id, state.marketReportsRefreshKey]);\n\n return (\n
\n {\n getAppointments();\n setOpenAgreementModalConfirmation(false);\n }}\n handleAddAgreement={() => {\n setOpenAgreementModalConfirmation(false);\n if (docType === \"both\") {\n setOpenAgreementTypeModal(true);\n return;\n }\n\n setDoc(docType);\n }}\n />\n \n {\n setDoc(doc);\n closeSelectDocModal();\n }}\n />\n {\n setDoc(doc);\n closeSelectDocModal();\n }}\n />\n \n {successMessageOpen && (\n
\n \n Referral submitted successfully!\n
\n )}\n {featureFlags.lenderReferral && }\n
\n
\n \n \n
\n \n \n \n \n \n
\n\n
\n {error && (\n
\n Something went wrong. Please try again. \n
\n )}\n\n {featureFlags.gabbiAi && (\n \n )}\n\n {\n setDocType(type);\n setOpenAgreementModalConfirmation(true);\n }}\n />\n\n
\n \n
\n
\n\n
\n \n {featureFlags.lenderReferral && }\n \n \n \n \n {\n setDocType(type);\n setOpenAgreementModalConfirmation(true);\n }}\n />\n \n \n editMarketReport(id)}\n editMarketReportPanel2={openPanel2}\n openMarketReport={() => toggleAddMarketModal()}\n hasApprovedMls={hasApprovedMls}\n loading={loadingReports}\n />\n \n
\n\n {\n dispatch(actions.closeEditPersonModal());\n dispatch(actions.getPerson(person.data?.attributes.slug));\n }}\n />\n\n \n {state.showAddModal && (\n \n )}\n \n
\n
\n );\n};\n\nPersonDetail.propTypes = {\n allAgents: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n newMilestoneId: PropTypes.number.isRequired,\n gmailUnsynced: PropTypes.bool.isRequired,\n emailTemplates: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n appointmentOutcomes: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n accountMilestoneNames: PropTypes.arrayOf(PropTypes.string).isRequired,\n idxDataToken: PropTypes.string.isRequired,\n idxDataUri: PropTypes.string.isRequired,\n};\n\nexport default PersonDetail;\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Pluralize from \"react-pluralize\";\nimport { Row, Col } from \"react-bootstrap\";\nimport CheckBox from \"../../shared/CheckBox\";\nimport ProfileIcon from \"../../shared/ProfileIcon\";\nimport Moment from \"react-moment\";\nimport * as TaskHelpers from \"./TaskIndexModalHelpers\";\nimport \"./TaskForm.sass\";\nimport TaskSettings from \"./TaskSettings\";\nimport capitalize from \"capitalize\";\nimport { stripHtml } from \"../../shared/Utilities\";\nimport TaskModal from \"../../PersonDetail/components/tasks/TaskModal.jsx\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nexport default class PolymorphicTask extends Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n task: props.task,\n user: props.user,\n agents: props.agents,\n showModal: false,\n multiSelectWatcher: props.multiSelectWatcher,\n };\n this.multiSelectWatcher = this.props.multiSelectWatcher.bind(this);\n this.swapForDelete = TaskHelpers.swapForDelete.bind(this);\n this.showModal = TaskHelpers.showModal.bind(this);\n this.closeModal = TaskHelpers.closeModal.bind(this);\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this);\n this.handleMultiSelect = TaskHelpers.handleMultiSelect.bind(this);\n this.showDetailModal = TaskHelpers.showDetailModal.bind(this);\n this.closeDetailModal = TaskHelpers.closeDetailModal.bind(this);\n this.swapModals = TaskHelpers.swapModals.bind(this);\n this.showDeleteModal = TaskHelpers.showDeleteModal.bind(this);\n this.closeDeleteModal = TaskHelpers.closeDeleteModal.bind(this);\n this.completeTask = TaskHelpers.completeTask.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n this.renderDeleteModal = TaskHelpers.renderDeleteModal.bind(this);\n this.renderDetailModal = TaskHelpers.renderDetailModal.bind(this);\n this.deleteTasks = TaskHelpers.deleteTask.bind(this);\n this.renderModal = TaskHelpers.renderModal.bind(this);\n this.taskMultiSelect = TaskHelpers.taskMultiSelect.bind(this);\n this.showReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.renderReassignModal = TaskHelpers.renderReassignModal.bind(this);\n this.closeReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.setAgentsForModal = TaskHelpers.setAgentsForModal.bind(this);\n this.handleState = TaskHelpers.handleState.bind(this);\n this.handleRescheduleDate = TaskHelpers.handleRescheduleDate.bind(this);\n this.getTasks = this.props.getTasks.bind(this);\n this.weeklyOptions = TaskHelpers.weeklyOptions.bind(this);\n this.handleRecurrence = TaskHelpers.handleRecurrence.bind(this);\n this.replaceURLWithHTMLLinks = TaskHelpers.replaceURLWithHTMLLinks.bind(this);\n this.completeAndEditAppointment = TaskHelpers.completeAndEditAppointment.bind(this);\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState({ ...this.state, ...nextProps });\n }\n\n toggleInstructions() {\n var task = { ...this.state.task };\n task[\"showInstructions\"] = !task[\"showInstructions\"];\n this.setState({ task });\n }\n\n setAgentsForModal = () => {\n var agents = [];\n for (var obj in this.state.agents) {\n var agent = this.state.agents[`${obj}`];\n agents.push({ label: agent[\"full_name\"], value: agent[\"uuid\"] });\n }\n return agents;\n };\n\n editMute = () => {\n return this.props.agent ? \"\" : \"text-mute\";\n };\n\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n\n milestoneOptions = () => {\n const { accountMilestoneNames } = this.props;\n\n const personNames = accountMilestoneNames[\"Person\"];\n const listingNames = accountMilestoneNames[\"Listing\"];\n const projectNames = accountMilestoneNames[\"Project\"];\n\n const allNamesArray = personNames.concat(listingNames).concat(projectNames);\n\n let allNamesObject = {};\n\n allNamesArray.forEach((name) => {\n allNamesObject[name] = name\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n });\n\n return allNamesObject;\n };\n\n onUpdateTaskTypeChecker = (e) => {\n if (this.state.task.type === \"Appointment\") {\n this.setState({ completeAppointment: !this.state.completeAppointment });\n this.completeAndEditAppointment();\n } else this.handleTaskChange(e);\n };\n\n closeTaskDetails = () => {\n let task = { ...this.state.task };\n task[\"state\"] = \"running\";\n this.setState({ task, completeAppointment: false });\n };\n render() {\n var user = this.state.user;\n var task = this.state.task;\n return (\n <>\n {this.state.completeAppointment && (\n \n )}\n \n \n
\n \n {/* check box select */}\n \n {!this.props.agent && (\n \n )}\n {this.props.agent && (\n this.onUpdateTaskTypeChecker(e)}\n />\n )}\n \n\n {/* Task name or link to Agent */}\n \n {!this.props.agent && (\n
\n {task.assigned_plan_id && (\n \n \n \n )}\n {stripHtml(task.name)}\n
\n
\n )}\n {this.props.agent && (\n
\n {task.assigned_plan_id && (\n \n \n \n )}\n \n {\" \"}\n {task.name}{\" \"}\n \n
\n
\n )}\n \n \n
\n \n\n {/* Task Date */}\n \n {task.state == \"completed\" && }\n {task.state != \"completed\" && (\n
\n {task.calculated_due_on && }\n {!task.calculated_due_on && (\n \n )}\n {!task.calculated_due_on && \" \" + task.contingency_rule[\"position\"] + \" \"}\n {!task.calculated_due_on &&\n (task.parent_task_name\n ? task.parent_task_name\n : !task.calculated_due_on &&\n task.contingency_event_and_type[1] != undefined &&\n this.milestoneOptions()[task.contingency_event_and_type[1]])}\n
\n )}\n \n\n \n {this.props.agent && (\n \n {task.priority && }\n {!task.priority && }\n \n )}\n \n\n {/* Person image or default */}\n \n {task.state == \"completed\" && }\n {task.state != \"completed\" && task.assigned_to_user_id && (\n \n )}\n {task.assigned_to_user_id == null && task.completed_by_user_id == null && (\n } content=\"Anyone\" />\n )}\n \n\n {/* Task Settings */}\n {this.props.agent && }\n\n {/* Task Edit */}\n \n {this.props.agent && (\n \n )}\n \n\n {/* Multi-select */}\n \n {this.props.agent && (\n \n )}\n \n {this.renderModal()}\n {this.renderDetailModal()}\n {this.renderDeleteModal()}\n \n \n );\n }\n}\n\nPolymorphicTask.propTypes = {\n task: PropTypes.object.isRequired,\n user: PropTypes.object.isRequired,\n};\n\nPolymorphicTask.defaultProps = {\n task: {},\n user: { name: \"No Name\" },\n nameColumnClass: \"task-column\",\n taskCssStyle: \"task\",\n};\n","import React, {Component} from 'react';\nimport { Col, Row } from 'react-bootstrap'\nimport PolymorphicTask from './PolymorphicTask';\nimport axios from 'axios';\nimport SelectAll from '../../shared/SelectAll';\nimport Pagination from '../../shared/Pagination';\nimport * as TaskHelpers from './TaskIndexModalHelpers';\n\nexport default class PolymorphicGrid extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n user: props.user,\n tasks: [],\n taskable: props.taskable,\n account: props.account,\n pagination: {},\n page: props.page || 1,\n showButtons: false,\n showSelectAll: false,\n selectNone: false,\n selectAll: false,\n header_buttons: false,\n incomplete_buttons: false,\n showModal: false,\n showDeleteModal: false,\n showRescheduleModal: false,\n showReassignModal: false,\n assigned_to_user_id: 'anyone',\n reschedule_date: moment(),\n selectAllTarget: null,\n }\n\n this.renderNewPolymorphicTaskModal = TaskHelpers.renderNewPolymorphicTaskModal.bind(this)\n this.showSelectAllPopover = TaskHelpers.showSelectAllPopover.bind(this)\n this.closeSelectAllPopover = TaskHelpers.closeSelectAllPopover.bind(this)\n\n this.renderRescheduleModal = TaskHelpers.renderRescheduleModal.bind(this)\n this.showRescheduleModal = TaskHelpers.showRescheduleModal.bind(this)\n this.closeRescheduleModal = TaskHelpers.closeRescheduleModal.bind(this)\n\n this.renderDeleteModal = TaskHelpers.renderDeleteModal.bind(this)\n this.showDeleteModal = TaskHelpers.showDeleteModal.bind(this)\n this.closeDeleteModal = TaskHelpers.closeDeleteModal.bind(this)\n\n this.renderReassignModal = TaskHelpers.renderReassignModal.bind(this)\n this.showReassignModal = TaskHelpers.showReassignModal.bind(this)\n this.closeReassignModal= TaskHelpers.closeReassignModal.bind(this)\n\n this.multiSelectWatcher = TaskHelpers.multiSelectWatcher.bind(this)\n this.selectAll = TaskHelpers.selectAll.bind(this)\n this.selectNone = TaskHelpers.selectNone.bind(this)\n this.taskMultiSelect = TaskHelpers.taskMultiSelect.bind(this)\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this)\n this.handleState = TaskHelpers.handleState.bind(this)\n this.handleRescheduleDate = TaskHelpers.handleRescheduleDate.bind(this)\n\n this.showModal = TaskHelpers.showModal.bind(this)\n this.closeModal = TaskHelpers.closeModal.bind(this)\n\n this.selectedTasks = TaskHelpers.selectedTasks.bind(this)\n this.setAgentsForModal = TaskHelpers.setAgentsForModal.bind(this)\n\n this.uncompleteTasks = TaskHelpers.uncompleteTasks.bind(this)\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this)\n\n this.reassignTasks = TaskHelpers.reassignTasks.bind(this)\n this.reassignTask = TaskHelpers.reassignTask.bind(this)\n\n this.deleteTasks = TaskHelpers.deleteTasks.bind(this)\n this.deleteTask = TaskHelpers.deleteTask.bind(this)\n\n this.completeTasks = TaskHelpers.completeTasks.bind(this)\n this.completeTask = TaskHelpers.completeTask.bind(this)\n\n this.rescheduleTasks = TaskHelpers.rescheduleTasks.bind(this)\n this.rescheduleTask = TaskHelpers.rescheduleTask.bind(this)\n\n this.updateTask = TaskHelpers.updateTask.bind(this)\n this.handleGotoPage = this.handleGotoPage.bind(this);\n }\n\n getTasks = () => {\n let { page } = this.state;\n axios({\n method: \"get\",\n url: `/tasks/taskable_index?id=${this.props.taskable.uuid}&scopes=${this.props.scopes}`,\n headers: {\n \"Content-Type\": 'application/json',\n \"Accept\": 'application/json'\n },\n params: {\n page: page,\n }\n },\n ).then(response => {\n let { meta, tasks } = response.data;\n this.setState({...this.state, ...{ tasks: tasks, pagination: meta }});\n })\n }\n\n componentWillReceiveProps = (nextProps) => {\n this.multiSelectWatcher()\n }\n\n showErrors = (messages) => {\n this.setState({error_messages: messages})\n }\n\n componentDidMount() {\n this.getTasks()\n const TASK_LISTENER = 'task:polymorphic_count_change'\n window.addEventListener(TASK_LISTENER, this.onEvent )\n window.addEventListener('task:update', this.onEvent )\n }\n\n componentWillUnmount() {\n const TASK_LISTENER = 'task:polymorphic_count_change'\n window.removeEventListener(TASK_LISTENER, this.onEvent)\n window.removeEventListener('task:update', this.onEvent )\n }\n\n onEvent = () => {\n this.getTasks()\n }\n\n showErrors = (messages) => {\n this.setState({error_messages: messages})\n }\n\n filteredTasks = () => {\n return {\n 'incomplete': this.state.tasks,\n 'completed': this.state.tasks,\n 'contingent': this.state.tasks\n }\n }\n\n\n handleGotoPage(newPage){\n this.setState({page: newPage}, this.getTasks);\n }\n\n render() {\n let { pagination } = this.state;\n return(\n
\n \n \n \n \n \n
\n {this.props.duenessTitle}\n
\n \n \n
\n Date\n
\n \n \n
\n { this.props.agent &&\n 'Priority'\n }\n { !this.props.agent &&\n '\\u00A0'\n }\n
\n \n \n
\n Who\n
\n \n
\n \n
\n { this.props.agent &&\n 'Settings'\n }\n { !this.props.agent &&\n '\\u00A0'\n }\n
\n \n { this.props.agent &&\n \n
Edit
\n \n }\n { !this.props.agent &&\n \n
\n { '\\u00A0' }\n
\n \n }\n { this.props.agent &&\n \n this.state.tasks && this.showSelectAllPopover(e)}\n id={'all-incomplete-tasks-dropdown-toggle'}\n className={'btn btn-secondary select-task-button'}>\n
\n Select\n \n
\n \n \n }\n { !this.props.agent &&\n \n
 
\n \n }\n
\n \n \n \n { !this.state.header_buttons &&\n \n  \n \n }\n { this.props.multiSelectButtons && this.state.header_buttons &&\n \n \n \n \n Complete\n \n \n \n \n \n Delete\n \n \n \n \n \n Reschedule\n \n \n \n \n \n Reassign\n \n \n \n }\n { this.props.createButton &&\n
\n \n \n Create New Task\n \n
\n }\n { this.props.uncomplete && this.state.header_buttons &&\n \n \n \n \n Un-complete\n \n \n \n }\n \n
\n \n
\n \n
\n \n
\n \n { this.state.tasks && this.filteredTasks()[this.props.dueness].map( task =>\n )}\n
\n { this.renderNewPolymorphicTaskModal() }\n { this.renderDeleteModal() }\n { this.renderReassignModal() }\n { this.renderRescheduleModal() }\n { pagination.total_count > 35 && pagination &&\n
\n
\n \n
\n
\n }\n \n )\n }\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport ReactDOM from 'react-dom';\nimport PolymorphicTask from './PolymorphicTask';\nimport PolymorphicGrid from './PolymorphicGrid';\nimport axios from 'axios';\nimport TaskMultiSelect from './TaskMultiSelect'\nimport * as TaskHelpers from './TaskIndexModalHelpers';\n\nexport default class PolymorphicTasks extends Component {\n\n constructor(props) {\n super(props);\n\n this.state = {\n user: props.user,\n target: null,\n toggleLoader: false\n }\n\n }\n\n toggleTaskLoader = (isLoading) => {\n this.setState({ toggleLoader: isLoading});\n }\n\n render() {\n return(\n
\n { this.props.agent &&\n
\n \n \n
\n }\n { this.props.agent && }\n { !this.props.agent && }\n
\n )\n }\n}\n\nPolymorphicTasks.propTypes = {\n user: PropTypes.object.isRequired\n};\n\nPolymorphicTasks.defaultProps = {\n tasks: [],\n user: {name: \"No Name\"},\n pagination: {}\n};\n","import moment from 'moment-timezone';\n\nconst calculatePercent = (total, amount) => {\n return total !== 0 ? (amount / total * 100) : 0\n}\n\nconst determineCorrectPercentColor = (allTotalLeads, categoryTotal, individualTotalLeads,individualCategoryTotal) => {\n const individualPercent = calculatePercent(individualTotalLeads, individualCategoryTotal)\n\n const totalPercent = calculatePercent(allTotalLeads, categoryTotal)\n if (individualPercent === 0 || individualPercent === totalPercent) {\n return '#b3b3b3'\n }\n return individualPercent < totalPercent ? '#f2714d' :'#59c4c4';\n}\nconst truncateTime = (timeString) => {\n if (typeof timeString === 'undefined'){\n timeString = 0;\n }\n const trimmedString = timeString.length > 18 ?\n timeString.substring(0, 18 - 3) + \"...\" :\n timeString;\n return trimmedString;\n}\n\nconst calculateCallsTotals = (agents, key) => agents.reduce((sum, current) => sum + current[key], 0)\nconst calculateTextRespAvg = (agents, key) => {\n const agents_with_resp_time = agents.reduce((sum, current) => current[key] > 0 ? sum + 1 : sum + 0, 0);\n return agents.reduce((sum, current) => sum + current[key], 0) / agents_with_resp_time\n}\n\nconst secondsToHMS = (seconds) => {\n seconds = Number(seconds);\n const d = Math.floor(seconds / (3600*24));\n const h = Math.floor(seconds % (3600*24) / 3600);\n const m = Math.floor(seconds % 3600 / 60);\n const s = Math.floor(seconds % 60);\n\n const dDisplay = d > 0 ? d + (d == 1 ? \" day \" : \" days \") : \"\";\n const hDisplay = h > 0 ? h + (h == 1 ? \" hour \" : \" hours \") : \"\";\n const mDisplay = m > 0 ? m + (m == 1 ? \" minute \" : \" minutes \") : \"\";\n const sDisplay = s + (s == 1 ? \" second\" : \" seconds\");\n return dDisplay + hDisplay + mDisplay + sDisplay;\n}\n\nconst dateFormat = () => 'MM/DD/YY';\n\nconst daysAgoRangeDisplay = (min, max) => {\n return `(${daysAgoDisplay(min)} - ${daysAgoDisplay(max)})`;\n};\n\nconst daysAgoDisplay = numDaysAgo => {\n return moment().subtract(numDaysAgo, 'days').format(dateFormat());\n};\n\nconst thisYear = () => moment().startOf('year');\nconst lastYear = () => thisYear().subtract(1, 'year').startOf('year');\n\nconst thisMonth = () => moment().startOf('month');\nconst lastMonth = () => thisMonth().subtract(1, 'month').startOf('month');\n\nconst dateRangeOptions = [\n {\n label: 'Today', value: 'today'\n },\n {\n label: 'Yesterday', value: 'yesterday'\n },\n {\n label: `Last 7 days ${daysAgoRangeDisplay(7, 1)}`, value: 'last_seven_days'\n },\n {\n label: `Last 14 days ${daysAgoRangeDisplay(14, 1)}`, value: 'last_fourteen_days'\n },\n {\n label: `Last 30 days ${daysAgoRangeDisplay(30, 1)}`, value: 'last_thirty_days'\n },\n {\n label: `This Month (${thisMonth().format(dateFormat())} - ${daysAgoDisplay(1)})`, value: 'this_month'\n },\n {\n label: `Last Month (${lastMonth().format(dateFormat())} - ${lastMonth().endOf('month').format(dateFormat())})`, value: 'last_month'\n },\n {\n label: `This Year (${thisYear().format(dateFormat())} - ${daysAgoDisplay(1)})`, value: 'this_year'\n },\n {\n label: `Last Year (${lastYear().format(dateFormat())} - ${lastYear().endOf('year').format(dateFormat())})`, value: 'last_year'\n },\n {\n label: `All Time (through ${daysAgoDisplay(1)})`, value: 'all_time'\n },\n {\n label: 'Custom Range', value: 'custom'\n }\n];\n\nconst leadStatuses = {\n new: 'New',\n unqualified: 'Unqualified',\n watch: 'Watch',\n nurture: 'Nurture',\n hot: 'Hot',\n past: 'Past',\n inactive: 'Inactive',\n archived: 'Archived',\n trash: 'Trash'\n}\nexport {\n calculatePercent,\n determineCorrectPercentColor,\n truncateTime,\n dateRangeOptions,\n leadStatuses,\n calculateCallsTotals,\n secondsToHMS,\n calculateTextRespAvg\n}\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { calculatePercent, calculateCallsTotals } from \"./reportHelpers\";\n\nconst GENERAL_HEADERS = [\n { key: \"agent\", label: \"Name\" },\n { key: \"appointment_report_total_calls\", label: \"Called\" },\n {\n key: \"appointment_report_contacted_count\",\n label: \"Contacted\",\n tooltip: 'Based on the call outcome of \"Talked to Contact\"',\n },\n { key: \"appointment_report_total_set\", label: \"Total Set\" },\n { key: \"appointment_report_total_held\", label: \"Total Held\" },\n {\n key: \"appointment_report_total_signed\",\n label: \"Total Signed\",\n },\n {\n key: \"appointment_report_total_pending\",\n label: \"Total Pending\",\n },\n {\n key: \"appointment_report_total_sold\",\n label: \"Total Sold\",\n },\n {\n key: \"appointment_report_cancel\",\n label: \"Cancel\",\n border: true,\n },\n {\n key: \"appointment_report_no_show\",\n label: \"Total Canceled\",\n },\n];\n\nconst BUYER_HEADERS = [\n {\n key: \"appointment_report_buyer_set\",\n label: \"Buyer Set\",\n border: true,\n },\n {\n key: \"appointment_report_buyer_held\",\n label: \"Buyer Held\",\n },\n {\n key: \"appointment_report_buyer_signed\",\n label: \"Buyer Signed\",\n },\n];\n\nconst SELLER_HEADERS = [\n {\n key: \"appointment_report_seller_set\",\n label: \"Seller Set\",\n border: true,\n },\n {\n key: \"appointment_report_seller_held\",\n label: \"Seller Held\",\n },\n {\n key: \"appointment_report_seller_signed\",\n label: \"Seller Signed\",\n },\n];\n\nconst BUYER_SELLER_HEADERS = [\n {\n key: \"appointment_report_buyer_seller_set\",\n label: \"Buyer/Seller Set\",\n border: true,\n },\n {\n key: \"appointment_report_buyer_seller_held\",\n label: \"Buyer/Seller Held\",\n },\n {\n key: \"appointment_report_buyer_seller_signed\",\n label: \"Buyer/Seller Signed\",\n },\n];\n\nconst RECRUIT_HEADERS = [\n {\n key: \"appointment_report_recruit_set\",\n label: \"Recruit Set\",\n border: true,\n },\n {\n key: \"appointment_report_recruit_held\",\n label: \"Recruit Held\",\n },\n {\n key: \"appointment_report_recruit_signed\",\n label: \"Recruit Signed\",\n },\n];\n\nconst OTHER_HEADERS = [\n {\n key: \"appointment_report_other_set\",\n label: \"Other Set\",\n border: true,\n },\n {\n key: \"appointment_report_other_held\",\n label: \"Other Held\",\n },\n];\n\nexport const StatCard = ({ data }) => (\n \n {data.label}\n {data.value}\n \n {data.label === \"Called\" ? data.tag : \"\"}\n \n \n);\n\nStatCard.propTypes = {\n data: PropTypes.shape().isRequired,\n};\n\nexport function statCardsTotal(apptFilters, agents, dateRange) {\n const buyerSetTotal = calculateCallsTotals(agents, \"appointment_report_buyer_set\");\n const buyerSet = apptFilters.isBuyer ? buyerSetTotal : 0;\n const sellerSetTotal = calculateCallsTotals(agents, \"appointment_report_seller_set\");\n const sellerSet = apptFilters.isSeller ? sellerSetTotal : 0;\n const buyerSellerSetTotal = calculateCallsTotals(agents, \"appointment_report_buyer_seller_set\");\n const buyerSellerSet = apptFilters.isBuyerSeller ? buyerSellerSetTotal : 0;\n const recruitSetTotal = calculateCallsTotals(agents, \"appointment_report_recruit_set\");\n const recruitSet = apptFilters.isRecruit ? recruitSetTotal : 0;\n const otherSet = apptFilters.isOther\n ? calculateCallsTotals(agents, \"appointment_report_total_set\") -\n (buyerSetTotal + sellerSetTotal + buyerSellerSetTotal + recruitSetTotal)\n : 0;\n const buyerHeldTotal = calculateCallsTotals(agents, \"appointment_report_buyer_held\");\n const buyerHeld = apptFilters.isBuyer ? buyerHeldTotal : 0;\n const sellerHeldTotal = calculateCallsTotals(agents, \"appointment_report_seller_held\");\n const sellerHeld = apptFilters.isSeller ? sellerHeldTotal : 0;\n const buyerSellerHeldTotal = calculateCallsTotals(agents, \"appointment_report_buyer_seller_held\");\n const buyerSellerHeld = apptFilters.isBuyerSeller ? buyerSellerHeldTotal : 0;\n const recruitHeldTotal = calculateCallsTotals(agents, \"appointment_report_recruit_held\");\n const recruitHeld = apptFilters.isRecruit ? recruitHeldTotal : 0;\n const otherHeld = apptFilters.isOther\n ? calculateCallsTotals(agents, \"appointment_report_total_held\") -\n (buyerHeldTotal + sellerHeldTotal + buyerSellerHeldTotal + recruitHeldTotal)\n : 0;\n const buyerSellerSignedTotal = calculateCallsTotals(agents, \"appointment_report_buyer_seller_signed\");\n const buyerSellerSigned = apptFilters.isBuyerSeller ? buyerSellerSignedTotal : 0;\n const buyerSignedTotal = calculateCallsTotals(agents, \"appointment_report_buyer_signed\");\n const buyerSigned = apptFilters.isBuyer ? buyerSignedTotal : 0;\n const sellerSignedTotal = calculateCallsTotals(agents, \"appointment_report_seller_signed\");\n const sellerSigned = apptFilters.isSeller ? sellerSignedTotal : 0;\n const recruitSignedTotal = calculateCallsTotals(agents, \"appointment_report_recruit_signed\");\n const recruitSigned = apptFilters.isRecruit ? recruitSignedTotal : 0;\n const otherSigned = apptFilters.isOther\n ? calculateCallsTotals(agents, \"appointment_report_total_signed\") -\n (buyerSellerSigned + buyerSignedTotal + sellerSignedTotal + recruitSignedTotal)\n : 0;\n const totalCalls = calculateCallsTotals(agents, \"appointment_report_total_calls\");\n const totalContacted = calculateCallsTotals(agents, \"appointment_report_contacted_count\");\n const cancelled = calculateCallsTotals(agents, \"appointment_report_cancel\");\n const noShow = calculateCallsTotals(agents, \"appointment_report_no_show\");\n const buyerPending = calculateCallsTotals(agents, \"appointment_report_buyer_pending\");\n const sellerPending = calculateCallsTotals(agents, \"appointment_report_seller_pending\");\n const buyerSold = calculateCallsTotals(agents, \"appointment_report_buyer_sold\");\n const sellerSold = calculateCallsTotals(agents, \"appointment_report_seller_sold\");\n\n const totalApptSet = buyerSet + sellerSet + recruitSet + buyerSellerSet + otherSet;\n const totalApptHeld = buyerHeld + sellerHeld + recruitHeld + buyerSellerHeld + otherHeld;\n const totalApptSigned = buyerSellerSigned + buyerSigned + sellerSigned + recruitSigned + otherSigned;\n const totalUnderContract = buyerPending + sellerPending;\n const totalClosed = buyerSold + sellerSold;\n\n const leadStats = [\n { label: \"Called\", value: totalCalls, tag: dateRange.split(\"_\").join(\" \") },\n { label: \"Contacted\", value: totalContacted, denom: totalCalls },\n { label: \"Appt. Set\", value: totalApptSet, denom: totalContacted },\n { label: \"Appt. Held\", value: totalApptHeld, denom: totalApptSet },\n { label: \"Signed\", value: totalApptSigned, denom: totalApptHeld },\n { label: \"Pending\", value: totalUnderContract, denom: totalUnderContract },\n { label: \"Sold\", value: totalClosed, denom: totalApptSigned },\n { label: \"Buyer Pending\", value: buyerPending, denom: totalUnderContract },\n { label: \"Seller Pending\", value: sellerPending, denom: totalUnderContract },\n { label: \"Buyer Sold\", value: buyerSold, denom: totalClosed },\n { label: \"Seller Sold\", value: sellerSold, denom: totalClosed },\n { label: \"Buyer Set\", value: buyerSet, denom: totalApptSet },\n { label: \"Seller Set\", value: sellerSet, denom: totalApptSet },\n { label: \"Buyer/Seller Set\", value: buyerSellerSet, denom: totalApptSet },\n { label: \"Recruit Set\", value: recruitSet, denom: totalApptSet },\n { label: \"Other Set\", value: otherSet, denom: totalApptSet },\n { label: \"Buyer Held\", value: buyerHeld, denom: totalApptHeld },\n { label: \"Seller Held\", value: sellerHeld, denom: totalApptHeld },\n { label: \"Buyer/Seller Held\", value: buyerSellerHeld, denom: totalApptHeld },\n { label: \"Recruit Held\", value: recruitHeld, denom: totalApptHeld },\n { label: \"Other Held\", value: otherHeld, denom: totalApptHeld },\n { label: \"Buyer Signed\", value: buyerSigned, denom: totalApptSigned },\n { label: \"Seller Signed\", value: sellerSigned, denom: totalApptSigned },\n { label: \"Buyer/Seller Signed\", value: buyerSellerSigned, denom: totalApptSigned },\n { label: \"Recruit Signed\", value: recruitSigned, denom: totalApptSigned },\n { label: \"Other Signed\", value: otherSigned, denom: totalApptSigned },\n { label: \"Canceled\", value: cancelled, denom: totalApptSet },\n { label: \"No Show\", value: noShow, denom: totalApptSet },\n ];\n leadStats.slice(1).forEach((stat) => {\n // eslint-disable-next-line no-param-reassign\n stat.tag = `${calculatePercent(stat.denom, stat.value).toFixed(2)}%`;\n });\n return leadStats;\n}\n\nconst tooltipGenerator = (stat) =>\n stat.slice(1, 6).map((item, index) => (\n // eslint-disable-next-line react/no-array-index-key\n \n

{`${item.value} (${item.tag}) ${item.label.split(\" \")[0]}s`}

\n
\n ));\n\nconst tooltipGeneratorForTransactionsData = (stat) =>\n stat.slice(1, 3).map((item, index) => (\n // eslint-disable-next-line react/no-array-index-key\n \n

{`${item.value} (${item.tag}) ${item.label.split(\" \")[0]}s`}

\n
\n ));\n\nexport const ToolTipContent = ({ stat, leadStats }) => {\n const tooltipHeaders = [\n { key: \"set\" },\n { key: \"held\" },\n { key: \"signed\" },\n { key: \"called\" },\n { key: \"contacted\" },\n { key: \"pending\" },\n { key: \"sold\" },\n ].map((item) => ({\n ...item,\n data: leadStats.filter((s) => s.label.toLowerCase().includes(item.key)),\n }));\n\n return (\n <>\n {tooltipHeaders.map((item) => {\n if (\n (item.key === \"called\" && stat.label === \"Called\") ||\n (item.key === \"contacted\" && stat.label === \"Contacted\")\n ) {\n return (\n \n

{`${item.data[0].value} (${item.data[0].tag}) `}

\n
\n );\n }\n if (\n (stat.label === \"Appt. Set\" && item.key === \"set\") ||\n (stat.label === \"Appt. Held\" && item.key === \"held\") ||\n (stat.label === \"Signed\" && item.key === \"signed\")\n ) {\n return tooltipGenerator(item.data);\n }\n if (\n (stat.label === \"Pending\" && item.key === \"pending\") ||\n (stat.label === \"Sold\" && item.key === \"sold\")\n ) {\n return tooltipGeneratorForTransactionsData(item.data);\n }\n return null;\n })}\n \n );\n};\n\nToolTipContent.propTypes = {\n stat: PropTypes.shape().isRequired,\n leadStats: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n};\n\nexport function transformAppointmentRow(report, apptFilters) {\n const buyerSet = apptFilters.isBuyer ? report.appointment_report_buyer_set : 0;\n const sellerSet = apptFilters.isSeller ? report.appointment_report_seller_set : 0;\n const buyerSellerSet = apptFilters.isBuyerSeller ? report.appointment_report_buyer_seller_set : 0;\n const recruitSet = apptFilters.isRecruit ? report.appointment_report_recruit_set : 0;\n const buyerHeld = apptFilters.isBuyer ? report.appointment_report_buyer_held : 0;\n const sellerHeld = apptFilters.isSeller ? report.appointment_report_seller_held : 0;\n const buyerSellerHeld = apptFilters.isBuyerSeller ? report.appointment_report_buyer_seller_held : 0;\n const recruitHeld = apptFilters.isRecruit ? report.appointment_report_recruit_held : 0;\n const buyerSigned = apptFilters.isBuyer ? report.appointment_report_buyer_signed : 0;\n const sellerSigned = apptFilters.isSeller ? report.appointment_report_seller_signed : 0;\n const buyerSellerSigned = apptFilters.isBuyerSeller ? report.appointment_report_buyer_seller_signed : 0;\n const recruitSigned = apptFilters.isRecruit ? report.appointment_report_recruit_signed : 0;\n const buyerUnderContract = apptFilters.isBuyer ? report.transactions.pending.buyer : 0;\n const sellerUnderContract = apptFilters.isSeller ? report.transactions.pending.seller : 0;\n const buyerSold = apptFilters.isBuyer ? report.transactions.sold.buyer : 0;\n const sellerSold = apptFilters.isSeller ? report.transactions.sold.seller : 0;\n const buyerCanceled = apptFilters.isBuyer ? report.appointment_report_cancel_buyer : 0;\n const sellerCanceled = apptFilters.isSeller ? report.appointment_report_cancel_seller : 0;\n const recruitCanceled = apptFilters.isRecruit ? report.appointment_report_cancel_recruit : 0;\n const buyerNoShow = apptFilters.isBuyer ? report.appointment_report_no_show_buyer : 0;\n const sellerNoShow = apptFilters.isSeller ? report.appointment_report_no_show_seller : 0;\n const recruitNoShow = apptFilters.isRecruit ? report.appointment_report_no_show_recruit : 0;\n\n const otherSet = apptFilters.isOther\n ? report.appointment_report_total_set -\n (report.appointment_report_buyer_set +\n report.appointment_report_seller_set +\n report.appointment_report_buyer_seller_set +\n report.appointment_report_recruit_set)\n : 0;\n const otherHeld = apptFilters.isOther\n ? report.appointment_report_total_held -\n (report.appointment_report_buyer_held +\n report.appointment_report_seller_held +\n report.appointment_report_buyer_seller_held +\n report.appointment_report_recruit_held)\n : 0;\n const otherSigned = apptFilters.isOther\n ? report.appointment_report_total_signed -\n (report.appointment_report_buyer_signed +\n report.appointment_report_seller_signed +\n report.appointment_report_buyer_seller_signed +\n report.appointment_report_recruit_signed)\n : 0;\n const otherCanceled = apptFilters.isOther\n ? report.appointment_report_cancel -\n (report.appointment_report_cancel_buyer +\n report.appointment_report_cancel_seller +\n report.appointment_report_cancel_buyer_seller +\n report.appointment_report_cancel_recruit)\n : 0;\n const otherNoShow = apptFilters.isOther\n ? report.appointment_report_no_show -\n (report.appointment_report_no_show_buyer +\n report.appointment_report_no_show_seller +\n report.appointment_report_no_show_buyer_seller +\n report.appointment_report_no_show_recruit)\n : 0;\n\n const totalSet = buyerSet + sellerSet + buyerSellerSet + recruitSet + otherSet;\n const totalHeld = buyerHeld + sellerHeld + buyerSellerHeld + recruitHeld + otherHeld;\n const totalSigned = buyerSigned + sellerSigned + recruitSigned + otherSigned;\n const totalUnderContract = buyerUnderContract + sellerUnderContract;\n const totalClosed = buyerSold + sellerSold;\n const totalCanceled = buyerCanceled + sellerCanceled + recruitCanceled + otherCanceled;\n const totalNoShow = buyerNoShow + sellerNoShow + recruitNoShow + otherNoShow;\n\n const totalSetBundle = [\n { label: \"buyer\", value: buyerSet, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerSet, color: \"#FFA826\" },\n { label: \"buyer/seller\", value: buyerSellerSet, color: \"#F2714D\" },\n { label: \"recruit\", value: recruitSet, color: \"#66666\" },\n { label: \"other\", value: otherSet, color: \"333333\" },\n ];\n const totalHeldBundle = [\n { label: \"buyer\", value: buyerHeld, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerHeld, color: \"#FFA826\" },\n { label: \"buyer/seller\", value: buyerSellerHeld, color: \"#F2714D\" },\n { label: \"recruit\", value: recruitHeld, color: \"#66666\" },\n { label: \"other\", value: otherHeld, color: \"333333\" },\n ];\n const totalSignedBundle = [\n { label: \"buyer\", value: buyerSigned, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerSigned, color: \"#FFA826\" },\n { label: \"buyer/seller\", value: buyerSellerSigned, color: \"#F2714D\" },\n { label: \"recruit\", value: recruitSigned, color: \"#66666\" },\n { label: \"other\", value: otherSigned, color: \"333333\" },\n ];\n const totalUnderContractBundle = [\n { label: \"buyer\", value: buyerUnderContract, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerUnderContract, color: \"#FFA826\" },\n ];\n const totalSoldBundle = [\n { label: \"buyer\", value: buyerSold, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerSold, color: \"#FFA826\" },\n ];\n const totalCanceledBundle = [\n { label: \"buyer\", value: buyerCanceled, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerCanceled, color: \"#FFA826\" },\n { label: \"recruit\", value: recruitCanceled, color: \"#66666\" },\n { label: \"other\", value: otherCanceled, color: \"333333\" },\n ];\n const totalNoShowBundle = [\n { label: \"buyer\", value: buyerNoShow, color: \"#59C4C4\" },\n { label: \"seller\", value: sellerNoShow, color: \"#FFA826\" },\n { label: \"recruit\", value: recruitNoShow, color: \"#66666\" },\n { label: \"other\", value: otherNoShow, color: \"333333\" },\n ];\n\n const orderedCells = [\n { avatar: report.avatar, agent: report.agent, userPath: report.user_path, id: report.id },\n { value: report.appointment_report_total_calls },\n { value: report.appointment_report_contacted_count },\n { value: totalSet, dropDown: totalSetBundle },\n { value: totalHeld, dropDown: totalHeldBundle },\n { value: totalSigned, dropDown: totalSignedBundle },\n { value: totalUnderContract, dropDown: totalUnderContractBundle },\n { value: totalClosed, dropDown: totalSoldBundle },\n { value: totalCanceled, dropDown: totalCanceledBundle },\n { value: totalNoShow, dropDown: totalNoShowBundle },\n ];\n\n if (apptFilters.isBuyer) {\n orderedCells.push({ value: buyerSet }, { value: buyerHeld }, { value: buyerSigned });\n }\n if (apptFilters.isSeller) {\n orderedCells.push({ value: sellerSet }, { value: sellerHeld }, { value: sellerSigned });\n }\n if (apptFilters.isBuyerSeller) {\n orderedCells.push({ value: buyerSellerSet }, { value: buyerSellerHeld }, { value: buyerSellerSigned });\n }\n if (apptFilters.isRecruit) {\n orderedCells.push({ value: recruitSet }, { value: recruitHeld }, { value: recruitSigned });\n }\n if (apptFilters.isOther) {\n orderedCells.push({ value: otherSet }, { value: otherHeld });\n }\n return orderedCells;\n}\n\nexport const useAppointmentsData = ({ appointmentData = [], apptFilters, sortKey, sortBy, sortDesc }) => {\n const headersRow = useMemo(() => {\n const headers = [...GENERAL_HEADERS];\n if (apptFilters.isBuyer) {\n headers.push(...BUYER_HEADERS);\n }\n if (apptFilters.isSeller) {\n headers.push(...SELLER_HEADERS);\n }\n if (apptFilters.isBuyerSeller) {\n headers.push(...BUYER_SELLER_HEADERS);\n }\n if (apptFilters.isRecruit) {\n headers.push(...RECRUIT_HEADERS);\n }\n if (apptFilters.isOther) {\n headers.push(...OTHER_HEADERS);\n }\n return headers;\n }, [apptFilters]);\n\n const appointmentRows = useMemo(\n () => appointmentData.map((row) => transformAppointmentRow(row, apptFilters)),\n [appointmentData, apptFilters, sortKey, sortBy, sortDesc],\n );\n const appointmentTotalRow = useMemo(\n () =>\n appointmentRows.reduce(\n (acc, row) =>\n acc.map((item, index) => ({\n value: item.value + row[index + 1].value,\n })),\n Array(appointmentRows?.[0]?.length - 1 || 0).fill({ value: 0 }),\n ),\n [appointmentRows],\n );\n\n return { appointmentRows, appointmentTotalRow, headersRow };\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport { TH } from \"./BusinessDashboard/Table/Table\";\n\nconst getSortDir = (sortKey, name, sortDesc) => {\n if (sortKey === name) return sortDesc ? \"desc\" : \"asc\";\n return null;\n};\n\nconst ReportHeader = ({ handleSort, name, styles, label, sortKey, sortDesc, className, tooltipDesc }) => (\n handleSort(name)}\n >\n {tooltipDesc ? : label}\n {[\"contacted_count\", \"appointment_report_contacted_count\"].includes(name) && (\n }\n content=\"Based on the call outcome of 'Talked to Contact'\"\n />\n )}\n {name === \"text_report_lead_text_count\" && (\n }\n content=\"Leads texted who are assigned to the agent\"\n />\n )}\n {name === \"text_report_non_lead_text_count\" && (\n }\n content=\"Other contacts texted who are not assigned to the agent\"\n />\n )}\n \n);\n\nReportHeader.propTypes = {\n handleSort: PropTypes.func.isRequired,\n name: PropTypes.string.isRequired,\n styles: PropTypes.shape(),\n label: PropTypes.string.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n className: PropTypes.string,\n tooltipDesc: PropTypes.string,\n};\n\nReportHeader.defaultProps = {\n styles: undefined,\n className: \"\",\n tooltipDesc: \"\",\n};\n\nexport default ReportHeader;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ReportHeader from \"./ReportHeader\";\nimport { TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentActivityHeaders = ({ sortBy, sortKey, sortDesc }) => (\n \n \n \n\n \n\n \n \n \n \n \n \n \n \n \n);\n\nAgentActivityHeaders.propTypes = {\n sortBy: PropTypes.func.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n};\n\nexport default AgentActivityHeaders;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ReportHeader from \"./ReportHeader\";\nimport { TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentCallsHeaders = ({ sortBy, sortKey, sortDesc }) => (\n \n \n \n \n \n \n \n \n \n);\n\nAgentCallsHeaders.propTypes = {\n sortBy: PropTypes.func.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n};\n\nexport default AgentCallsHeaders;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ReportHeader from \"./ReportHeader\";\nimport { TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentTextsHeaders = ({ sortBy, sortKey, sortDesc }) => (\n \n \n \n \n \n \n \n \n \n);\n\nAgentTextsHeaders.propTypes = {\n sortBy: PropTypes.func.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n};\n\nexport default AgentTextsHeaders;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ReportHeader from \"./ReportHeader\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst LeadSourcesHeaders = ({ sortBy, sortKey, sortDesc, sourceTypeTitle, isOtherSources }) => (\n <>\n \n \n {sourceTypeTitle}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nLeadSourcesHeaders.propTypes = {\n sortBy: PropTypes.func.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n sourceTypeTitle: PropTypes.string.isRequired,\n isOtherSources: PropTypes.bool,\n};\n\nLeadSourcesHeaders.defaultProps = {\n isOtherSources: false,\n};\n\nexport default LeadSourcesHeaders;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport AgentActivityHeaders from \"./AgentActivityHeaders\";\nimport AgentCallsHeaders from \"./AgentCallsHeaders\";\nimport AgentTextsHeaders from \"./AgentTextsHeaders\";\nimport LeadSourcesHeaders from \"./LeadSourcesHeaders\";\nimport TasksHeaders from \"./TasksHeaders\";\n\nconst HEADER_COMPONENTS = {\n teamDashboard: () => null,\n agentActivity: AgentActivityHeaders,\n leadSource: LeadSourcesHeaders,\n tasks: TasksHeaders,\n appointments: () => null,\n agentCalls: AgentCallsHeaders,\n agentTexts: AgentTextsHeaders,\n leaderboards: () => null,\n};\n\nconst ReportHeaderSortContainer = (props) => {\n const { activeReport } = props;\n const ReportName = HEADER_COMPONENTS[activeReport || \"agentActivity\"];\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n};\n\nReportHeaderSortContainer.propTypes = {\n activeReport: PropTypes.string.isRequired,\n};\n\nexport default ReportHeaderSortContainer;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ReportHeader from \"./ReportHeader\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst TasksHeaders = ({ sortBy, sortKey, sortDesc, sourceTypeTitle }) => {\n const namePrefix = sourceTypeTitle === \"Administrators\" ? \"admin\" : \"agent\";\n return (\n <>\n \n \n {sourceTypeTitle}\n \n \n \n \n \n \n\n \n \n\n \n \n \n \n );\n};\n\nTasksHeaders.propTypes = {\n sortBy: PropTypes.func.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n sourceTypeTitle: PropTypes.string.isRequired,\n};\n\nexport default TasksHeaders;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { truncateTime } from \"./reportHelpers\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentCallsRow = ({ agent }) => (\n \n \n \n \n {agent.agent}\n \n \n\n {agent.call_report_agent_total_lead_count}\n {agent.call_report_lead_call_count}\n {agent.call_report_manual_calls}\n {agent.call_report_dialer_calls}\n {agent.call_report_total_calls}\n \n {agent.call_report_total_dialer_call_time !== \"0 seconds\" ? (\n \n ) : (\n truncateTime(agent.call_report_total_dialer_call_time)\n )}\n \n \n);\n\nAgentCallsRow.propTypes = {\n agent: PropTypes.shape().isRequired,\n};\n\nexport default AgentCallsRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { calculateCallsTotals, secondsToHMS, truncateTime } from \"./reportHelpers\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst TableData = ({ truncateTime: truncate, value }) => (\n \n {truncate ? (\n {truncateTime(value)}} content={value} />\n ) : (\n {value}\n )}\n \n);\n\nTableData.propTypes = {\n truncateTime: PropTypes.bool,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nTableData.defaultProps = {\n truncateTime: false,\n};\n\nconst AgentCallsTotalRow = ({ reportData }) => (\n \n \n \n \n \n \n \n \n \n);\n\nAgentCallsTotalRow.propTypes = {\n reportData: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n};\n\nexport default AgentCallsTotalRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport AgentCallsRow from \"./AgentCallsRow\";\nimport AgentCallsTotalRow from \"./AgentcallsTotalRow\";\n\nconst AgentCallsHolder = ({ agentCallData }) => (\n <>\n {agentCallData.callData.map((a) => (\n \n ))}\n\n {agentCallData.callData.length > 1 && }\n \n);\n\nAgentCallsHolder.propTypes = {\n agentCallData: PropTypes.shape({\n callData: PropTypes.arrayOf(PropTypes.shape()),\n }).isRequired,\n};\n\nexport default AgentCallsHolder;\n","// extracted by mini-css-extract-plugin\nexport default {\"flexxy\":\"OUtV57Zjd4PVRyKjPYxZ\",\"reportHeader\":\"oO6fJg80_p9Mp1Af2iBw\",\"headerTitle\":\"eQD3UyccZCxSQXGOVPVO\",\"headerTab\":\"p7MiznVVtGinxscH_zml\",\"headerTabOptions\":\"aks9ZKlfJ6AeG1xq4Qka\",\"reportHolder\":\"P1pTWthMrb8r0crsqbqX\",\"checkBoxLabel\":\"_KWnoU3mc9fWaekFS0hi\",\"singleReportHeader\":\"YlCL3r5LyAsYUNoc7q_R\",\"singleReportBodyTitle\":\"UiRwitfNOql16SD10a6s\",\"singleReportTitleSection\":\"Ki3yI5wmIPkbGh9DFj7j\",\"singleReportTitle\":\"P8FrNaYqGA3RluxAvCua\",\"dateRangeHolder\":\"hJcqMNwNGJ8GsyqYstzc\",\"selectDate\":\"SvTDHuOZLsJIVnXuVFB_\",\"reportText\":\"SQqoC0A5XKpfaGtdDKKw\",\"activeReport\":\"OpvVS9R9DDWOdGLDy7OV\",\"backgroundWhite\":\"yNctO84ACsnv28Ud902k\",\"upCase\":\"lmxoH5NCSB06IhCpS118\",\"downCaseH5\":\"xm01OG6F5OCyHs8zjBiL\",\"noWrap\":\"G6Mpxfg6jeGTbXAIVrhm\",\"noBorder\":\"sRdjCxrFoJI88g8EdNy4\",\"noMarginRight\":\"xjxbCL1o36ghiADJHPXQ\",\"loadingState\":\"FkjsnKvIOZd2hxWPGDPA\",\"fa-spinner\":\"TcyxdhlYbp_3ytt8kDui\",\"positionedSpinner\":\"ILdasVpCKjqYOBU9LNwW\",\"columnGenerator\":\"ywmDv7oYviFlkfFJOj2j\",\"card_gray_text\":\"AnFeLWtiawFS9xKJ9cX0\",\"card_arrangement\":\"LnpndL7pJJN_5OnDkEYL\",\"total_sign_width\":\"znHdQOs0TKSpX7mwyZqi\",\"no_show_width\":\"XZkXp885GfuGx_lDDdm8\",\"buyer_signed_width\":\"aMI_p4_FKGNC1149PlpU\",\"seller_signed_width\":\"JMaXKtxEf3IFFBjRNs21\",\"total_seller_signed_width\":\"VbrhPIMtWLtvOYsqHkNy\",\"arrow_container\":\"fnYVgWpZiZMxnODRkVwZ\",\"hiding_last_arrow\":\"vB13AHQwznhUSToIb0VP\",\"heightDropdown\":\"JAuC_65pGXKpkTv8Htny\",\"selecting_first_element\":\"DZGNhPpoiSSsiAbyLIAP\",\"border_right\":\"Mxq29CRpryKafZgHsgex\",\"cascading_first_letter\":\"L8pHnojcF2dO1J2Yvtcw\",\"padding_for_list_items\":\"t7D2wpoLqbpmvIJUE7NH\"};","import React from 'react';\nimport css from './report-styles.module.css';\n\nclass StatusFilter extends React.Component {\n render() {\n const { value, label, onChange, isChecked } = this.props;\n return (\n
\n onChange(value, e.target.checked)}\n checked={isChecked} />\n\n \n
\n )\n }\n}\nexport default StatusFilter;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { format } from \"date-fns\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { calculatePercent, determineCorrectPercentColor, truncateTime } from \"./reportHelpers\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentReportRow = ({\n report,\n total_calls: totalCalls,\n total_contacted: totalContacted,\n total_emails: totalEmails,\n total_leads: totalLeads,\n total_texts: totalTexts,\n}) => (\n \n \n \n \n
{report.agent}
\n
\n \n\n \n {report.lead_count}\n \n\n \n \n {report.email_count}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.email_count).toFixed(0)}%)\n \n \n }\n content={\n <>\n

\n % of Assigned Leads:{\" \"}\n \n ({calculatePercent(report.lead_count, report.email_count).toFixed(0)}%)\n \n

\n

\n Team Average:{\" \"}\n \n \n ({calculatePercent(totalLeads, totalEmails).toFixed(0)}%)\n \n \n

\n \n }\n />\n \n\n \n \n {report.call_count}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.call_count).toFixed(0)}%)\n \n \n }\n content={\n <>\n

\n % of Assigned Leads:{\" \"}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.call_count).toFixed(0)}%)\n \n

\n

\n Team Average:{\" \"}\n \n \n {\" \"}\n ({calculatePercent(totalLeads, totalCalls).toFixed(0)}%)\n \n \n

\n \n }\n />\n \n\n \n \n {report.contacted_count}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.contacted_count).toFixed(0)}%)\n \n \n }\n content={\n <>\n

\n % Assigned Leads:{\" \"}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.contacted_count).toFixed(0)}%)\n \n

\n

\n Team Average:{\" \"}\n \n \n {\" \"}\n ({calculatePercent(totalLeads, totalContacted).toFixed(0)}%)\n \n \n

\n \n }\n />\n \n\n \n \n {report.text_count}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.text_count).toFixed(0)}%)\n \n \n }\n content={\n <>\n

\n % of Assigned Leads:{\" \"}\n \n {\" \"}\n ({calculatePercent(report.lead_count, report.text_count).toFixed(0)}%)\n \n

\n

\n Team Average:{\" \"}\n \n \n {\" \"}\n ({calculatePercent(totalLeads, totalTexts).toFixed(0)}%)\n \n \n

\n \n }\n />\n \n\n \n {report.email_resp_label !== \"-\" ? (\n {truncateTime(report.email_resp_label)}}\n content={report.email_resp_label}\n />\n ) : (\n {truncateTime(report.email_resp_label)}\n )}\n \n\n \n {report.call_resp_label !== \"-\" ? (\n {truncateTime(report.call_resp_label)}}\n content={report.call_resp_label}\n />\n ) : (\n {truncateTime(report.call_resp_label)}\n )}\n \n\n \n {report.text_resp_label !== \"-\" ? (\n {truncateTime(report.text_resp_label)}}\n content={report.text_resp_label}\n />\n ) : (\n {truncateTime(report.text_resp_label)}\n )}\n \n\n {report.login_count}\n\n {report.last_login ? {format(report.last_login, \"MM/dd/yyyy\")} : }\n \n);\n\nAgentReportRow.propTypes = {\n report: PropTypes.shape({\n agent: PropTypes.string,\n avatar: PropTypes.string,\n call_count: PropTypes.number,\n call_resp_label: PropTypes.string,\n contacted_count: PropTypes.number,\n email_count: PropTypes.number,\n email_resp_label: PropTypes.string,\n last_login: PropTypes.string,\n lead_count: PropTypes.number,\n login_count: PropTypes.number,\n text_count: PropTypes.number,\n text_resp_label: PropTypes.string,\n user_path: PropTypes.string,\n }).isRequired,\n total_calls: PropTypes.number.isRequired,\n total_contacted: PropTypes.number.isRequired,\n total_leads: PropTypes.number.isRequired,\n total_emails: PropTypes.number.isRequired,\n total_texts: PropTypes.number.isRequired,\n};\n\nexport default AgentReportRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { calculatePercent } from \"./reportHelpers\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst TableData = ({ total, value }) => (\n \n {value}\n {total >= 0 && ({calculatePercent(total, value).toFixed(0)}%)}\n \n);\n\nTableData.propTypes = {\n total: PropTypes.number.isRequired,\n value: PropTypes.string.isRequired,\n};\n\nconst AgentReportTotalRow = ({\n total_leads: totalLeads,\n total_emails: totalEmails,\n total_calls: totalCalls,\n total_contacted: totalContacted,\n total_texts: totalTexts,\n total_logins: totalLogins,\n}) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nAgentReportTotalRow.propTypes = {\n total_leads: PropTypes.number.isRequired,\n total_emails: PropTypes.number.isRequired,\n total_calls: PropTypes.number.isRequired,\n total_contacted: PropTypes.number.isRequired,\n total_texts: PropTypes.number.isRequired,\n total_logins: PropTypes.number.isRequired,\n};\n\nexport default AgentReportTotalRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst LeadSourceRow = ({ source, isOtherSource }) => (\n \n {isOtherSource ? source.other_source : source.source}\n {isOtherSource ? source.other_new : source.new}\n {isOtherSource ? source.other_unqualified : source.unqualified}\n {isOtherSource ? source.other_watch : source.watch}\n {isOtherSource ? source.other_nurture : source.nurture}\n {isOtherSource ? source.other_hot : source.hot}\n {isOtherSource ? source.other_past : source.past}\n {isOtherSource ? source.other_inactive : source.inactive}\n {isOtherSource ? source.other_archived : source.archived}\n {isOtherSource ? source.other_trash : source.trash}\n \n {isOtherSource ? source.other_total_leads : source.total_leads}\n \n \n);\n\nLeadSourceRow.propTypes = {\n source: PropTypes.shape().isRequired,\n isOtherSource: PropTypes.bool.isRequired,\n};\n\nexport default LeadSourceRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst LeadSourceTotalRow = ({ statusCounts, totalLeadCount }) => (\n \n \n Totals\n \n \n {statusCounts.new}\n \n \n {statusCounts.unqualified}\n \n \n {statusCounts.watch}\n \n \n {statusCounts.nurture}\n \n \n {statusCounts.hot}\n \n \n {statusCounts.past}\n \n \n {statusCounts.inactive}\n \n \n {statusCounts.archived}\n \n \n {statusCounts.trash}\n \n \n {totalLeadCount}\n \n \n);\n\nLeadSourceTotalRow.propTypes = {\n statusCounts: PropTypes.shape().isRequired,\n totalLeadCount: PropTypes.number.isRequired,\n};\n\nexport default LeadSourceTotalRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport LeadSourceRow from \"./LeadSourceRow\";\nimport LeadSourceTotalRow from \"./LeadSourceTotalRow\";\n\nconst LeadSourcesHolder = ({ sources, isOtherSource, statusCounts, totalLeadCount }) => (\n <>\n {sources?.map((s, i) => (\n // eslint-disable-next-line react/no-array-index-key\n \n ))}\n {statusCounts && }\n \n);\n\nLeadSourcesHolder.propTypes = {\n sources: PropTypes.arrayOf(PropTypes.shape()),\n isOtherSource: PropTypes.bool,\n statusCounts: PropTypes.shape(),\n totalLeadCount: PropTypes.number,\n};\n\nLeadSourcesHolder.defaultProps = {\n sources: [],\n isOtherSource: false,\n statusCounts: {},\n totalLeadCount: 0,\n};\n\nexport default LeadSourcesHolder;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Moment from \"react-moment\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst UserDataRow = ({ agent, isAdmin }) => {\n const prefix = isAdmin ? \"admin\" : \"agent\";\n return (\n \n \n \n \n {agent[`${prefix}_agent`]}\n \n \n {agent[`${prefix}_assigned_task_count`]}\n {agent[`${prefix}_completed_task_count`]}\n {agent[`${prefix}_on_time_task_count`]}\n {agent[`${prefix}_late_task_count`]}\n {agent[`${prefix}_login_count`]}\n {agent[`${prefix}_last_login`] ? (\n \n {agent[`${prefix}_last_login`]}\n \n ) : (\n \n )}\n \n );\n};\n\nUserDataRow.propTypes = {\n agent: PropTypes.shape().isRequired,\n isAdmin: PropTypes.bool.isRequired,\n};\n\nexport default UserDataRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst TaskTotalsRow = ({ total, completedTotal, onTimeTotal, lateTotal }) => (\n \n \n Totals\n \n \n {total}\n \n \n {completedTotal}\n \n \n {onTimeTotal}\n \n \n {lateTotal}\n \n \n \n);\n\nTaskTotalsRow.propTypes = {\n total: PropTypes.number.isRequired,\n completedTotal: PropTypes.number.isRequired,\n onTimeTotal: PropTypes.number.isRequired,\n lateTotal: PropTypes.number.isRequired,\n};\n\nexport default TaskTotalsRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport UserDataRow from \"./UserDataRow\";\nimport TaskTotalsRow from \"./TaskTotalsRow\";\n\nconst UserTaskHolder = ({ agents, isAdmin, totals, completedTotal, onTimeTotal, lateTotal }) => (\n <>\n {agents.map((s) => (\n \n ))}\n\n {agents.length > 1 && (\n \n )}\n \n);\n\nUserTaskHolder.propTypes = {\n agents: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n isAdmin: PropTypes.bool.isRequired,\n totals: PropTypes.number.isRequired,\n completedTotal: PropTypes.number.isRequired,\n onTimeTotal: PropTypes.number.isRequired,\n lateTotal: PropTypes.number.isRequired,\n};\n\nexport default UserTaskHolder;\n","import RadioButton from \"@shared/v2/RadioButton\";\nimport React from \"react\";\n\nconst ALL_LABEL = {\n tasks: \"All tasks\",\n agentActivity: \"All Leads\",\n appointments: \"All Leads\",\n};\n\nconst RANGE_LABEL = {\n tasks: \"Newly created tasks (in date range)\",\n agentActivity: \"Newly assigned leads (in date range)\",\n appointments: \"Newly assigned leads (in date range)\",\n};\n\nconst AllOrDateRangeRadios = ({ onChange, report, allInRange }) => (\n
\n \n\n
\n onChange(report, true)} />\n onChange(report, false)}\n />\n
\n
\n);\n\nexport default AllOrDateRangeRadios;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentTextsRow = ({ agent }) => (\n \n \n \n \n {agent.agent}\n \n \n {agent.text_report_agent_total_lead_count}\n {agent.text_report_lead_text_count}\n {agent.text_report_non_lead_text_count}\n {agent.text_report_total_texts}\n {agent.text_report_total_texts_recd}\n {agent.text_report_total_text_count}\n \n);\n\nAgentTextsRow.propTypes = {\n agent: PropTypes.shape().isRequired,\n};\n\nexport default AgentTextsRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { calculateCallsTotals } from \"./reportHelpers\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AgentTextsTotalRow = ({ reportData }) => (\n \n \n Totals\n \n \n {calculateCallsTotals(reportData, \"text_report_agent_total_lead_count\")}\n \n \n {calculateCallsTotals(reportData, \"text_report_lead_text_count\")}\n \n \n {calculateCallsTotals(reportData, \"text_report_non_lead_text_count\")}\n \n \n {calculateCallsTotals(reportData, \"text_report_total_texts\")}\n \n \n {calculateCallsTotals(reportData, \"text_report_total_texts_recd\")}\n \n \n {calculateCallsTotals(reportData, \"text_report_total_text_count\")}\n \n \n);\n\nAgentTextsTotalRow.propTypes = {\n reportData: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n};\n\nexport default AgentTextsTotalRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport AgentTextsRow from \"./AgentTextsRow\";\nimport AgentTextsTotalRow from \"./AgentTextsTotalRow\";\n\nconst AgentTextsHolder = ({ agentTextData }) => (\n <>\n {agentTextData.textData.map((a) => (\n \n ))}\n\n {agentTextData.textData.length > 1 && }\n \n);\n\nAgentTextsHolder.propTypes = {\n agentTextData: PropTypes.shape().isRequired,\n};\n\nexport default AgentTextsHolder;\n","import React from \"react\";\nimport { ToolTipContent, StatCard } from \"./appointmentsReportHelper\";\nimport { ArrowRightLongSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst AppointmentsStatCards = ({ leadStats }) => {\n const stats = leadStats.slice(0, 7);\n return (\n
\n {stats.map((stat, i, a) => (\n \n }\n content={}\n />\n {i !== a.length - 1 && }\n \n ))}\n
\n );\n};\n\nexport default AppointmentsStatCards;\n","import React, { useState } from \"react\";\nimport { transformAppointmentRow } from \"./appointmentsReportHelper\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCaretUp, faCaretDown } from \"@fortawesome/free-solid-svg-icons\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport { TD, TR } from \"./BusinessDashboard/Table/Table\";\n\nconst AppointmentsRow = ({ cells }) => {\n const [isOpen, setIsOpen] = useState(false);\n const agentCell = cells?.[0];\n\n return (\n \n \n
\n \n \n \n {agentCell.agent}\n
\n \n\n {cells.slice(1).map((header, index) => (\n \n
\n {header.value}\n \n {header.dropDown && (\n setIsOpen(!isOpen)}\n />\n )}\n \n
\n
\n {isOpen &&\n header.dropDown?.map(({ color, label, value }, i) => (\n
\n {value}\n {label}\n
\n ))}\n
\n \n ))}\n \n );\n};\n\nexport default AppointmentsRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport AppointmentsRow from \"./AppointmentsRow\";\nimport { useAppointmentsData } from \"./appointmentsReportHelper\";\nimport { TBody, TD, TH, THead, TR, Table } from \"./BusinessDashboard/Table/Table\";\n\nconst AppointmentsContainer = ({ sortBy, sortKey, sortDesc, appointmentData, apptFilters }) => {\n const { appointmentRows, appointmentTotalRow, headersRow } = useAppointmentsData({\n appointmentData,\n apptFilters,\n sortKey,\n sortBy,\n sortDesc,\n });\n\n return (\n \n \n \n {headersRow.map((header) => (\n sortBy(header.key)}\n >\n {header.label}{\" \"}\n {header.tooltip && (\n }\n />\n )}\n \n ))}\n \n \n \n {appointmentRows.map((cells) => (\n \n ))}\n\n \n \n {appointmentTotalRow.map((cell, index) => (\n // eslint-disable-next-line react/no-array-index-key\n \n ))}\n \n \n
\n
Total:
\n
\n {cell.value}\n
\n );\n};\n\nAppointmentsContainer.propTypes = {\n sortBy: PropTypes.func.isRequired,\n sortKey: PropTypes.string.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n appointmentData: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n apptFilters: PropTypes.shape().isRequired,\n};\n\nexport default AppointmentsContainer;\n","import React from \"react\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst ApptTypeFilter = ({ apptFilters, handleAppointmentType }) => {\n const filters = [\n { value: \"Buyer\", label: \"Buyer\", isChecked: apptFilters.isBuyer },\n { value: \"Seller\", label: \"Seller\", isChecked: apptFilters.isSeller },\n { value: \"Recruit\", label: \"Recruit\", isChecked: apptFilters.isRecruit },\n { value: \"Buyer/Seller\", label: \"Buyer/Seller\", isChecked: apptFilters.isBuyerSeller },\n { value: \"Other\", label: \"Other\", isChecked: apptFilters.isOther },\n ];\n return (\n
\n \n {filters.map((filter, index) => (\n
\n handleAppointmentType(filter.value, e.target.checked)}\n />\n {index === filters.length - 1 && (\n }\n />\n )}\n
\n ))}\n
\n );\n};\n\nexport default ApptTypeFilter;\n","import { useEffect, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport formatter from \"../../../../shared/formatters\";\nimport { caseTransformingAxios as axios } from \"../../../../shared/v2/caseTransformingAxios\";\nimport colors from \"../../DashboardShared/helpers/colors\";\n\nconst keyToFormat = (key) => {\n if (/ratio/i.test(key)) return \"number\";\n return \"currency\";\n};\n\nconst transformProfile = ({ agent, summary }) => ({\n agent: {\n ...agent,\n fullName: `${agent.firstName} ${agent.lastName}`,\n },\n summary: Object.keys(summary).reduce(\n (o, key) => ({ ...o, [key]: formatter[keyToFormat(key)](summary[key]) }),\n {},\n ),\n progressBar: {\n values: [\n {\n value: Math.min(100, Math.round((summary.ytdNetIncomeGoal / (summary.netIncomeGoal || 1)) * 100)),\n color: colors.color2.default,\n },\n {\n value: Math.min(100, Math.round((summary.netIncome / (summary.netIncomeGoal || 1)) * 100)),\n color: colors.color1.default,\n },\n ],\n label: `${formatter.number(Math.round((summary.netIncome / (summary.netIncomeGoal || 1)) * 100))}%`,\n },\n});\n\nconst useAgentSummary = ({ agentUuid, year }) => {\n const [data, setData] = useState({ agent: {}, summary: {}, progressBar: { values: [] } });\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n setLoading(true);\n const abortController = new AbortController();\n axios\n .get(\"/api/v4/reporting/agent_dashboard\", {\n signal: abortController.signal,\n params: {\n selected_year: year,\n section: \"agent_dashboard_summary\",\n person_uuid: agentUuid,\n },\n })\n .then((res) => {\n setData(transformProfile(res.data));\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [agentUuid, year]);\n\n return { data, error, loading };\n};\n\nexport default useAgentSummary;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport colors from \"./helpers/colors\";\n\nconst ProgressBar = ({ label, values }) => (\n
\n
\n {values?.map(({ value, color }, i) => (\n \n ))}\n
\n {label && (\n \n {label}\n \n )}\n
\n);\n\nProgressBar.propTypes = {\n label: PropTypes.string,\n values: PropTypes.arrayOf(PropTypes.shape()),\n};\n\nProgressBar.defaultProps = {\n label: \"50%\",\n values: [\n { value: 75, color: colors.color2.default },\n { value: 50, color: colors.color1.default },\n ],\n};\n\nexport default ProgressBar;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dot from \"../BusinessDashboard/Dot\";\nimport colors from \"./helpers/colors\";\n\nconst TooltipDotRow = ({ color, title, value }) => (\n
\n \n {color === \"primary\" && (\n \n )}\n {color === \"secondary\" && (\n \n )}\n {color === \"gray\" && }\n {title}\n \n {value}\n
\n);\n\nTooltipDotRow.propTypes = {\n color: PropTypes.string,\n title: PropTypes.string.isRequired,\n value: PropTypes.string,\n};\n\nTooltipDotRow.defaultProps = {\n color: \"primary\",\n value: \"\",\n};\n\nexport default TooltipDotRow;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport useAgentSummary from \"./services/useAgentSummary\";\nimport Avatar from \"../../../shared/v2/Avatar\";\nimport { Section } from \"../BusinessDashboard\";\nimport Loader from \"../../../Dashboard/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport DashTooltip from \"../DashboardShared/DashTooltip\";\nimport ProgressBar from \"../DashboardShared/ProgressBar\";\nimport Tooltip from \"../../../shared/v2/Tooltip/Tooltip\";\nimport TooltipDotRow from \"../DashboardShared/TooltipDotRow\";\n\nconst AgentStat = ({ bold, name, tooltip, value }) => (\n
\n
\n
{name}
\n {tooltip && }\n
\n \n {value}\n
\n \n);\n\nAgentStat.propTypes = {\n bold: PropTypes.bool,\n name: PropTypes.string.isRequired,\n tooltip: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nAgentStat.defaultProps = {\n bold: false,\n tooltip: \"\",\n value: undefined,\n};\n\nconst AgentSummary = ({ agentUuid, year }) => {\n const {\n data: { agent, summary, progressBar },\n error,\n loading,\n } = useAgentSummary({ agentUuid, year });\n\n return (\n
\n
\n \n
{agent.fullName}
\n
\n {agent.admin ? \"Admin\" : \"Agent\"}\n
\n
\n
\n \n \n \n
\n \n }\n content={\n
\n

{year} Net Income

\n \n \n \n
\n }\n />\n
\n
\n \n \n
\n \n {/*
\n */}\n
\n \n {loading && }\n
\n );\n};\n\nAgentSummary.propTypes = {\n agentUuid: PropTypes.string.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default AgentSummary;\n","import { useEffect, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport formatter from \"../../../../shared/formatters\";\nimport { caseTransformingAxios as axios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nconst keyToFormat = (key) => {\n if (/income|volume/i.test(key)) return \"currency\";\n return \"number\";\n};\n\nconst transformData = ({ transactions }) => ({\n ...Object.keys(transactions).reduce(\n (d, transaction) => ({\n ...d,\n [transaction]: Object.keys(transactions[transaction]).reduce(\n (o, key) => ({ ...o, [key]: formatter[keyToFormat(key)](transactions[transaction][key]) }),\n {},\n ),\n }),\n {},\n ),\n});\n\nconst useAgentTransactions = ({ agentUuid, year }) => {\n const [data, setData] = useState({\n closings: {},\n pendings: {},\n activeListings: {},\n comingSoon: {},\n pipeline: {},\n });\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n setLoading(true);\n const abortController = new AbortController();\n axios\n .get(\"/api/v4/reporting/agent_dashboard\", {\n signal: abortController.signal,\n params: {\n selected_year: year,\n section: \"agent_transactions_overview\",\n person_uuid: agentUuid,\n },\n })\n .then((res) => {\n setData(\n transformData(res.data),\n );\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [agentUuid, year]);\n\n return { data, error, loading };\n};\n\nexport default useAgentTransactions;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport useAgentTransactions from \"./services/useAgentTransactions\";\nimport Loader from \"../../../Dashboard/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport StatCard from \"../DashboardShared/StatCard\";\nimport { getListingUrl } from \"../DashboardShared/helpers/createLeadSourceChartOptions\";\nimport { Section } from \"../BusinessDashboard\";\n\nconst BORDER_CLASS = \"tw-flex-1 tw-border-solid tw-border-neutral-gray-10 tw-border-y-0 tw-border-l-0\";\n\nconst AgentTransactions = ({ agentId, agentUuid, year }) => {\n const {\n data: { closings, pendings, activeListings, comingSoon, pipeline },\n error,\n loading,\n } = useAgentTransactions({ agentUuid, year });\n\n if (error) return ;\n\n return (\n
\n \n \n \n \n \n {loading && }\n
\n );\n};\n\nAgentTransactions.propTypes = {\n agentId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n agentUuid: PropTypes.string.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default AgentTransactions;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DEFAULT_YEAR_OPTIONS_DROPDOWN } from \"../../../Goals/components/HeadingSelect\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport GoalsSection from \"../DashboardShared/GoalsSection\";\nimport BusinessByLeadSource from \"../DashboardShared/BusinessByLeadSource\";\nimport AgentSummary from \"./AgentSummary\";\nimport MonthlyOverview from \"../DashboardShared/MonthlyOverview\";\nimport AgentTransactions from \"./AgentTransactions\";\nimport { Section } from \"../BusinessDashboard\";\nimport ClosingsBreakdown from \"../DashboardShared/ClosingsBreakdown\";\nimport SalesFunnel from \"../BusinessDashboard/SalesFunnel\";\n\nconst AgentDashboard = ({ agentList, isAdmin }) => {\n const [agent, setAgent] = useState(agentList.find(({ meta }) => meta.isCurrentUser));\n const [year, setYear] = useState(DEFAULT_YEAR_OPTIONS_DROPDOWN[DEFAULT_YEAR_OPTIONS_DROPDOWN.length - 2]);\n return (\n
\n
\n
\n
\n

Agent Dashboard

\n
\n {isAdmin && (\n
\n User:\n \n
\n )}\n \n
\n
\n
\n
\n
\n \n \n
\n
\n \n \n \n \n \n
\n
\n
\n
\n );\n};\n\nAgentDashboard.propTypes = {\n agentList: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n meta: PropTypes.shape({ is_current_user: PropTypes.bool }),\n }),\n ).isRequired,\n isAdmin: PropTypes.bool.isRequired,\n};\n\nexport default AgentDashboard;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { YtdDifference } from \"../BusinessDashboard/CardLabel\";\nimport DashTooltip from \"./DashTooltip\";\nimport colors from \"./helpers/colors\";\nimport formatter from \"../../../shared/formatters\";\nimport Tooltip from \"../../../shared/v2/Tooltip/Tooltip\";\n\nconst RollupStatCard = ({\n format,\n label,\n overviewTooltip,\n overviewTooltipPlacement,\n postfix,\n text,\n tooltip,\n value,\n ytdDifference,\n}) => {\n const actualFormat = format === \"percent\" ? \"number\" : format;\n const body = (\n
\n
\n {label} {tooltip && }\n
\n \n {formatter[actualFormat](value, format === \"percent\" ? 2 : undefined)}\n {postfix}\n
\n {(!Number.isNaN(Number(ytdDifference)) || text) && (\n \n )}\n \n );\n\n return (\n
\n {overviewTooltip ? (\n \n ) : (\n body\n )}\n
\n );\n};\n\nRollupStatCard.propTypes = {\n format: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n overviewTooltip: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n overviewTooltipPlacement: PropTypes.string,\n postfix: PropTypes.string,\n text: PropTypes.string,\n tooltip: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n ytdDifference: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nRollupStatCard.defaultProps = {\n overviewTooltip: \"\",\n overviewTooltipPlacement: \"top\",\n postfix: \"\",\n text: \"\",\n tooltip: \"\",\n value: \"\",\n ytdDifference: undefined,\n};\n\nexport default RollupStatCard;\n","import { useEffect, useMemo, useState } from \"react\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nconst getSummary = (signal, opts) =>\n caseTransformingAxios.get(\"/api/v4/reporting/operator_dashboard\", {\n params: { section: \"summary\", ...opts },\n signal,\n });\n\nconst useSummary = ({ year }) => {\n const [state, _setState] = useState({ data: null, error: null, loading: false });\n const setState = useMemo(\n () => (newState) => _setState((oldState) => ({ ...oldState, ...newState })),\n [_setState],\n );\n\n useEffect(() => {\n const abortController = new AbortController();\n setState({ loading: true });\n getSummary(abortController.signal, { selected_year: year })\n .then((res) => setState({ data: res.data, error: null, loading: false }))\n .catch(() => setState({ error: true, loading: false }));\n\n return () => abortController.abort();\n }, [year]);\n\n return {\n ...state,\n actions: {\n clearError: () => setState({ error: null }),\n },\n };\n};\n\nexport default useSummary;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport RollupStatCard from \"../DashboardShared/RollupStatCard\";\nimport useSummary from \"./services/useSummary\";\nimport { DashTooltipRow } from \"../DashboardShared/DashTooltip\";\nimport { YtdDifference } from \"../BusinessDashboard/CardLabel\";\nimport format from \"../../../shared/formatters\";\n\nconst SummarySection = ({ year }) => {\n const { actions, data, error, loading } = useSummary({ year });\n\n return (\n
\n
\n \n \n \n \n \n }\n />\n \n \n
\n }\n overviewTooltipPlacement=\"right\"\n format=\"number\"\n value={data?.closedUnits.value}\n ytdDifference={data?.closedUnits.ytdDifference}\n text=\"on target\"\n />\n \n \n \n \n }\n />\n \n \n
\n }\n overviewTooltipPlacement=\"right\"\n value={data?.closedGci.value}\n ytdDifference={data?.closedGci.ytdDifference}\n text=\"on target\"\n />\n \n \n \n \n }\n />\n \n \n \n }\n overviewTooltipPlacement=\"right\"\n value={data?.closedVolume.value}\n ytdDifference={data?.closedVolume.ytdDifference}\n text=\"on target\"\n />\n \n }\n overviewTooltipPlacement=\"left\"\n />\n \n \n {loading && }\n \n );\n};\n\nSummarySection.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default SummarySection;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Metric = ({ metricValue, metricTitle, span }) => (\n \n
{metricValue}
\n
{metricTitle}
\n \n);\n\nMetric.propTypes = {\n metricValue: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n metricTitle: PropTypes.string.isRequired,\n span: PropTypes.bool.isRequired,\n};\n\nexport default Metric;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Metric from \"./Metric\";\nimport { SectionLabel } from \"../BusinessDashboard\";\n\nconst MetricsGrid = ({ actions, titleName, titleValue, metrics }) => {\n const lastItemShouldSpan = (metrics?.length || 1) % 2 === 1;\n\n return (\n <>\n
\n \n {titleName}\n {typeof titleValue !== \"undefined\" && `: ${titleValue}`}\n \n {actions}\n
\n
\n {metrics?.map(({ metricValue, metricTitle }, i) => {\n const isLastItem = i + 1 === metrics.length;\n return (\n \n );\n })}\n
\n \n );\n};\n\nMetricsGrid.propTypes = {\n actions: PropTypes.node,\n titleName: PropTypes.string,\n titleValue: PropTypes.number,\n metrics: PropTypes.arrayOf(\n PropTypes.shape({\n metricValue: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n metricTitle: PropTypes.string.isRequired,\n }),\n ),\n};\n\nMetricsGrid.defaultProps = {\n actions: null,\n titleName: \"\",\n titleValue: undefined,\n metrics: [],\n};\n\nexport default MetricsGrid;\n","import React, { useEffect, useState } from \"react\";\nimport { isCancel } from \"axios\";\nimport { caseTransformingAxios as axios } from \"../../../../shared/v2/caseTransformingAxios\";\nimport colors from \"../../DashboardShared/helpers/colors\";\n\nconst DATA_TRANSFORMS = {\n agents: ({\n totalAgents = 0,\n totalShowingAgents = 0,\n totalOperatorAgents = 0,\n }) => ({\n titleName: \"Total Agents\",\n titleValue: totalAgents + totalShowingAgents + totalOperatorAgents,\n metrics: [\n {\n metricValue: totalAgents,\n metricTitle: \"Agents\",\n },\n {\n metricValue: totalShowingAgents,\n metricTitle: \"Showing Agent\",\n },\n {\n metricValue: totalOperatorAgents,\n metricTitle: colors.theme === \"place\" ? \"Operator\" : \"Team Lead\",\n },\n ],\n }),\n staff: ({\n totalStaff = 0,\n totalOperatorAdmin = 0,\n totalVirtualAdmin = 0,\n totalStaffInsideSales = 0,\n totalOtherStaff = 0,\n }) => ({\n titleName: \"Total Staff\",\n titleValue: totalStaff,\n metrics: [\n {\n metricValue: totalOperatorAdmin,\n metricTitle: \"Ops. Admin\",\n },\n {\n metricValue: totalVirtualAdmin,\n metricTitle: \"Virtual Admin\",\n },\n {\n metricValue: totalStaffInsideSales,\n metricTitle: \"Inside Sales\",\n },\n {\n metricValue: totalOtherStaff,\n metricTitle: \"Other\",\n },\n ],\n }),\n};\n\nconst useTotalByType = ({ year, type }) => {\n const [loading, setLoading] = useState(true);\n const [data, setData] = React.useState(DATA_TRANSFORMS[type]({}));\n const [error, setError] = React.useState(null);\n\n useEffect(() => {\n const abortController = new AbortController();\n setLoading(true);\n axios\n .get(\"/api/v4/reporting/operator_dashboard\", {\n signal: abortController.signal,\n params: {\n section: `total_${type}_breakdown`,\n selected_year: year,\n },\n })\n .then((res) => {\n setData(DATA_TRANSFORMS[type](res.data));\n setError(null);\n setLoading(false);\n })\n .catch((err) => {\n if (!isCancel(err)) {\n setError(err);\n setLoading(false);\n }\n });\n return () => abortController.abort();\n }, [year, type]);\n\n return { data, error, loading };\n};\n\nexport default useTotalByType;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Section } from \"../BusinessDashboard\";\nimport MetricsGrid from \"./MetricsGrid\";\nimport useTotalByType from \"./services/useTotalByType\";\nimport Error from \"../DashboardShared/Error\";\nimport Loader from \"../../../Dashboard/components/Loader\";\n\nconst TotalAgentsStaffSection = ({ year, type }) => {\n const { data, error, loading } = useTotalByType({ year, type });\n return (\n
\n \n \n {loading && }\n
\n );\n};\n\nTotalAgentsStaffSection.propTypes = {\n type: PropTypes.string.isRequired,\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default TotalAgentsStaffSection;\n","// At this point the scaled values are unreadable\nconst MIN_HYPOTENUSE = 375;\n// Predefined max in case the chart was initially rendered at small width\nconst MAX_HYPOTENUSE = 696;\n\nconst diffFormat = new Intl.NumberFormat(\"en-US\", {\n signDisplay: \"exceptZero\",\n style: \"decimal\",\n maximumFractionDigits: 1,\n});\n\n// TODO: make this generic\nexport const scaleValue = (ctx, option, origValue) => {\n const { chart } = ctx;\n if (option === \"paddingBottom\" && !chart.chartArea) {\n return origValue;\n }\n if (!chart.chartArea) return 0;\n const { width, height } = chart.chartArea;\n const hypo = Math.sqrt(width ** 2 + height ** 2);\n let size;\n let value;\n\n // don't render on really small widths\n if (hypo < MIN_HYPOTENUSE) {\n value = 0;\n } else if (!ctx.size) {\n size = MAX_HYPOTENUSE;\n ctx.size = size;\n value = origValue;\n } else {\n size = ctx.size;\n if (/yMin|yMax/.test(option)) value = (size / hypo) * origValue;\n else value = (hypo / size) * origValue;\n }\n if (option === \"font\") {\n return { size: value };\n }\n return value;\n};\n\nexport const generateDiffBox = (value, i) => {\n let backgroundColor = \"#F5F5F5\";\n let color = \"#666666\";\n if (value > 0) {\n backgroundColor = \"#EDFAF1\";\n color = \"#36B25F\";\n } else if (value < 0) {\n backgroundColor = \"#FAE6E6\";\n color = \"#E5342E\";\n }\n\n return {\n type: \"box\",\n backgroundColor,\n borderRadius: 3,\n borderWidth: 0,\n label: {\n color,\n display: true,\n content: diffFormat.format(value).replace(\"0.\", \".\"),\n font: (ctx) => scaleValue(ctx, \"font\", 12),\n },\n position: {\n x: \"center\",\n y: \"start\",\n },\n xMin: i - 0.3,\n xMax: i + 0.3,\n yMax: (ctx) => scaleValue(ctx, \"yMax\", ctx.chart.scales.y.max * -0.12),\n yMin: (ctx) => scaleValue(ctx, \"yMin\", ctx.chart.scales.y.max * -0.19),\n };\n};\n","import moment from \"moment\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport formatter from \"../../../../shared/formatters\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\nimport colors from \"../../DashboardShared/helpers/colors\";\nimport { generateDiffBox, scaleValue } from \"../utils/chart\";\n\nconst transformRecruiting = {\n activeAgents: (\n {\n activeAgents: { annualGoal, chartDataSelectedYear },\n summary: { activeAgents, agentsHiredYearGoal, agentsHiredYtd, activeNetAgentsAddedYtd },\n } = {\n activeAgents: {\n annualGoal: 0,\n chartDataSelectedYear: [],\n },\n summary: { activeAgents: 0, agentsHiredYearGoal: 0, agentsHiredYtd: 0, activeNetAgentsAddedYtd: 0 },\n },\n ) => ({\n summary: {\n agentsHiredYtd: {\n \"Agents Hired\": { value: agentsHiredYtd },\n \"Monthly Goal\": { value: Math.round(agentsHiredYearGoal / 12) },\n \"Annual Goal\": { value: agentsHiredYearGoal },\n },\n activeAgents: {\n \"Active Agents\": { value: activeAgents },\n \"Monthly Goal\": { value: Math.round(annualGoal / 12) },\n \"Annual Goal\": { value: annualGoal },\n },\n netAgentsAddedYtd: activeNetAgentsAddedYtd,\n },\n prevMonthDifferences: chartDataSelectedYear\n .filter((d) => moment(d.date, \"YYYY-MM-DD\").startOf(\"month\").isBefore(moment()))\n .map(({ prevMonthDiff }) => prevMonthDiff),\n chartData: {\n labels: chartDataSelectedYear.map((d) => moment(d.date).format(\"MMM\")),\n datasets: [\n {\n label: \"Full Time\",\n data: chartDataSelectedYear,\n parsing: { xAxisKey: \"fullTime\", yAxisKey: \"fullTime\" },\n backgroundColor: colors.color1.default,\n hoverBackgroundColor: colors.color1.hover,\n barPercentage: 0.25,\n datalabels: {\n formatter: () => \"\",\n },\n },\n {\n label: \"Part Time\",\n data: chartDataSelectedYear,\n parsing: { xAxisKey: \"partTime\", yAxisKey: \"partTime\" },\n datalabels: {\n anchor: \"end\",\n align: \"end\",\n offset: -4,\n color: colors.color1.default,\n formatter: (value, { dataIndex }) => {\n const { fullTime, partTime } = chartDataSelectedYear[dataIndex];\n const total = fullTime + partTime || 0;\n if (total < 1) return \"\";\n return formatter.number(total);\n },\n },\n backgroundColor: \"#ffa826\",\n barPercentage: 0.25,\n },\n ],\n },\n }),\n totalAgents: (\n { allAgents: { chartDataSelectedYear }, summary: { totalAgents, totalNetAgentsAddedYtd } } = {\n allAgents: {\n annualGoal: 0,\n chartDataSelectedYear: [],\n },\n summary: { totalAgents: 0, totalNetAgentsAddedYtd: 0 },\n },\n ) => ({\n summary: { totalAgents, netAgentsAddedYtd: totalNetAgentsAddedYtd },\n chartData: {\n labels: chartDataSelectedYear.map((d) => moment(d.date).format(\"MMM\")),\n datasets: [\n {\n label: \"Total Agents\",\n data: chartDataSelectedYear.map((d) => d.total),\n backgroundColor: colors.color1.default,\n hoverBackgroundColor: colors.color1.hover,\n barPercentage: 0.25,\n datalabels: {\n anchor: \"end\",\n align: \"end\",\n offset: -4,\n color: colors.color1.default,\n formatter: (value) => {\n if (value < 1) return \"\";\n return formatter.number(value);\n },\n },\n },\n ],\n },\n }),\n};\n\nconst getChartOptions = (data) => ({\n plugins: {\n legend: { display: false },\n tooltip: {},\n goalLine: {\n goal: data.activeAgents?.annualGoal,\n },\n annotation: {\n clip: false,\n common: {\n drawTime: \"afterDraw\",\n },\n annotations: data.prevMonthDifferences?.reduce(\n (p, c, i) => ({\n ...p,\n [i]: generateDiffBox(c, i),\n }),\n {},\n ),\n },\n },\n layout: {\n padding: { bottom: (ctx) => scaleValue(ctx, \"paddingBottom\", 32) },\n },\n scales: {\n x: {\n stacked: true,\n grid: {\n display: false,\n },\n offset: true,\n },\n y: {\n stacked: true,\n border: {\n display: false,\n },\n min: 0,\n ticks: {\n beginAtZero: true,\n autoSkip: false,\n padding: 10,\n stepSize: 1,\n },\n },\n },\n});\n\nconst getRecruitingData = ({ signal, params }) =>\n caseTransformingAxios.get(\"/api/v4/reporting/operator_dashboard\", {\n signal,\n params: { section: \"agent_monthly_counts\", ...params },\n });\n\nconst useRecruitingSection = ({ agentType, rangeType, year }) => {\n const [rawData, setRawData] = useState();\n const [state, _setState] = useState({\n data: { summary: {}, chartData: { datasets: [] } },\n error: null,\n loading: false,\n });\n const setState = useMemo(\n () => (newState) => _setState((oldState) => ({ ...oldState, ...newState })),\n [_setState],\n );\n\n useEffect(() => {\n setState({ data: transformRecruiting[agentType](rawData) });\n }, [agentType, rawData]);\n\n useEffect(() => {\n const abortController = new AbortController();\n setState({ loading: true });\n getRecruitingData({\n signal: abortController.signal,\n params: { selectedYear: year, rangeType: rangeType.value },\n })\n .then(({ data }) => {\n setRawData(data);\n setState({ error: null, loading: false });\n })\n .catch(() => {\n setState({ error: true, loading: false });\n });\n\n return () => abortController.abort();\n }, [rangeType, year]);\n\n return {\n ...state,\n chartOptions: getChartOptions(state.data),\n actions: {\n clearError: () => setState({ error: null }),\n },\n };\n};\n\nexport default useRecruitingSection;\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\n \"tw-font-16d\",\n \"tw-px-[8px]\",\n \"tw-py-[4px]\",\n \"tw-text-neutral-gray-50\",\n \"tw-font-semibold\",\n \"tw-rounded-[30px]\",\n ],\n peerChecked: [\"peer-checked:tw-text-white\", \"peer-checked:tw-bg-theme-icon-toggle-bg-checked\"],\n peerFocusVisible: [\n \"peer-focus-visible:tw-outline-theme\",\n \"peer-focus-visible:tw-outline-theme-offset-1px\",\n ],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\n\nimport styleSchema from \"./IconToggle.styles\";\n\nconst IconToggleOption = ({ name, value, icon, checked, ...otherProps }) => (\n \n);\n\nIconToggleOption.propTypes = {\n name: PropTypes.string,\n value: PropTypes.string.isRequired,\n icon: PropTypes.element.isRequired,\n checked: PropTypes.bool.isRequired,\n};\n\nIconToggleOption.defaultProps = {\n name: null,\n};\n\nconst IconToggle = ({ name: nameFromProps, options, value, onChange, className, ...otherProps }) => {\n const name = useGivenOrGeneratedId(\"icon-toggle\", nameFromProps);\n\n return (\n \n
\n {options.map((option) => (\n \n ))}\n
\n \n );\n};\n\nconst createOptionsCustomPropType = (isRequired) => (props, propName, componentName) => {\n const { options } = props;\n\n if (options === null || typeof options === \"undefined\") {\n return isRequired ? new Error(`Prop \\`${propName}\\` is required by \\`${componentName}\\`.`) : null;\n }\n\n if (!Array.isArray(options)) {\n return new Error(`Invalid prop \\`${propName}\\` supplied to \\`${componentName}\\`. It must be an array.`);\n }\n\n if (options.length < 2) {\n return new Error(\n `Invalid prop \\`${propName}\\` supplied to \\`${componentName}\\`. It must be an array with at least two elements.`,\n );\n }\n\n options.forEach((element) =>\n // Disabling `react/forbid-foreign-prop-types` here since we maintain the IconToggle.Option.propTypes\n // eslint-disable-next-line react/forbid-foreign-prop-types\n PropTypes.checkPropTypes(\n {\n value: PropTypes.string.isRequired,\n icon: PropTypes.element.isRequired,\n },\n element,\n \"prop\",\n \"IconToggle.Option\",\n ),\n );\n\n return null;\n};\n\nconst optionsCustomPropType = createOptionsCustomPropType(false);\noptionsCustomPropType.isRequired = createOptionsCustomPropType(true);\n\nIconToggle.propTypes = {\n name: PropTypes.string,\n options: optionsCustomPropType.isRequired,\n value: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n className: PropTypes.string,\n};\n\nIconToggle.defaultProps = {\n name: null,\n onChange: null,\n className: \"\",\n};\n\nexport default IconToggle;\n","const GoalLinePlugin = {\n id: \"goalLine\",\n beforeDatasetsDraw: (chart, args, options) => {\n if (!options.goal) return true;\n const {\n ctx,\n scales: { x, y },\n } = chart;\n const yPixel = y.getPixelForValue(options.goal);\n\n ctx.save();\n ctx.beginPath();\n\n ctx.strokeStyle = \"#999999\";\n ctx.setLineDash([8, 4]);\n ctx.moveTo(x.left, yPixel);\n ctx.lineTo(x.left + x.width, yPixel);\n ctx.stroke();\n\n ctx.closePath();\n ctx.restore();\n return true;\n },\n};\n\nexport default GoalLinePlugin;\n","/* eslint-disable import/prefer-default-export */\nexport const STAT_CLASSES =\n \"tw-flex-1 tw-min-h-[124px] tw-min-w-[150px] tw-border-solid tw-border-neutral-gray-10 tw-border-y-0 tw-border-l-0 tw-border-r-[1px] last-of-type:tw-border-0 first-of-type:tw-pl-0\";\n","import React from \"react\";\n\nconst DashIcon = () => (\n \n \n \n);\n\nexport default DashIcon;\n","import React, { useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Bar, Line } from \"react-chartjs-2\";\nimport ChartDataLabels from \"chartjs-plugin-datalabels\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport useRecruitingSection from \"./services/useRecruiting\";\nimport { Section, SectionLabel, StatCard } from \"../BusinessDashboard\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport CustomControl from \"../BusinessDashboard/Dropdown/CustomControl\";\nimport { CustomBasicSingleValue } from \"../BusinessDashboard/Dropdown/CustomSingleValue\";\nimport CustomValueContainer from \"../BusinessDashboard/Dropdown/CustomValueContainer\";\nimport getDateDropdownOptions from \"../DashboardShared/helpers/getDateDropdownOptions\";\nimport TextToggle from \"../../../shared/v2/TextToggle/TextToggle\";\nimport IconToggle from \"../../../shared/v2/IconToggle/IconToggle\";\nimport { ChartBarRegularV6, ChartLineRegularV6 } from \"../../../shared/v2/Icomoon\";\nimport Dot from \"../BusinessDashboard/Dot\";\nimport colors from \"../DashboardShared/helpers/colors\";\nimport GoalLinePlugin from \"./utils/GoalLinePlugin\";\nimport { STAT_CLASSES } from \"./helpers/StatCard\";\nimport CustomDropdownIndicator from \"../BusinessDashboard/Dropdown/CustomDropdownIndicator\";\nimport DashIcon from \"../DashboardShared/DashIcon\";\nimport DashTooltip from \"../DashboardShared/DashTooltip\";\n\nconst RecruitingSection = ({ year }) => {\n const MONTHLY_OVERVIEW_OPTIONS = useMemo(() => getDateDropdownOptions(year), [year]);\n const [agentType, setAgentType] = useState(\"activeAgents\");\n const [chartType, setChartType] = useState(\"bar\");\n const [rangeType, setRangeType] = useState(MONTHLY_OVERVIEW_OPTIONS[0]);\n const { actions, chartOptions, data, error, loading } = useRecruitingSection({\n agentType,\n rangeType,\n year,\n });\n\n return (\n
\n
\n Agent Count & Net Added\n \n
\n
\n setAgentType(e.target.value)}\n />\n
\n
\n {agentType === \"activeAgents\" && (\n <>\n \n }\n />\n \n \n \n )}\n {agentType === \"totalAgents\" && (\n <>\n \n \n \n )}\n
\n
\n },\n { value: \"line\", icon: },\n ]}\n onChange={(e) => setChartType(e.target.value)}\n value={chartType}\n />\n
\n {chartType === \"bar\" && (\n \n )}\n {chartType === \"line\" && (\n \n )}\n {/** TODO: May need custom chart.js plugin for additional labels */}\n
\n
\n \n {agentType === \"activeAgents\" && Full Time}\n {agentType === \"totalAgents\" && \"Total Agents\"}\n
\n {agentType === \"activeAgents\" && (\n <>\n
\n \n Part Time\n
\n
\n
\n Monthly Goal\n
\n
\n \n Annual Goal\n \n
\n \n )}\n
\n \n {loading && }\n
\n );\n};\n\nRecruitingSection.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default RecruitingSection;\n","import moment from \"moment\";\nimport { isCancel } from \"axios\";\nimport { startCase } from \"lodash\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\nimport colors from \"../../DashboardShared/helpers/colors\";\nimport { renderPapTooltip } from \"../../DashboardShared/helpers/renderCustomTooltip\";\nimport { generateDiffBox, scaleValue } from \"../utils/chart\";\n\nconst decimalFormat = new Intl.NumberFormat(\"en-US\", {\n style: \"decimal\",\n maximumFractionDigits: 1,\n});\n\nconst getChartOptions = ({ goal, data }) => ({\n plugins: {\n legend: { display: false },\n tooltip: {\n enabled: false,\n external: renderPapTooltip,\n },\n goalLine: {\n goal,\n },\n annotation: {\n clip: false,\n common: {\n drawTime: \"afterDraw\",\n },\n annotations: data.prevMonthDifferences.reduce(\n (p, c, i) => ({\n ...p,\n [i]: generateDiffBox(c, i),\n }),\n {},\n ),\n },\n },\n layout: {\n padding: { bottom: (ctx) => scaleValue(ctx, \"paddingBottom\", 32) },\n },\n scales: {\n x: {\n grid: {\n display: false,\n },\n offset: true,\n },\n x2: {\n stacked: true,\n display: false,\n type: \"category\",\n grid: {\n offset: true,\n },\n offset: true,\n },\n y: {\n border: {\n display: false,\n },\n min: 0,\n ticks: {\n beginAtZero: true,\n autoSkip: false,\n callback: (value) => (value > 1000 ? `${Math.ceil(value / 1000)}k` : value),\n padding: 10,\n stepSize: 0.5,\n },\n },\n },\n});\n\nconst transformPerAgentProduction = (\n rawData = {\n summary: { fullTimePapYtd: 0, papYtd: 0, partTimPapYtd: 0 },\n fullTime: { annualGoal: 0, chartDataPreviousYear: [], chartDataSelectedYear: [] },\n partTime: { chartDataPreviousYear: [], chartDataSelectedYear: [] },\n year: 0,\n },\n agentType,\n includeOperatorProduction,\n) => {\n const selectedData = rawData[agentType];\n const lastFromPreviousYear = selectedData.chartDataPreviousYear.at(-1);\n const parsingKey = `totalWith${includeOperatorProduction ? \"\" : \"out\"}Operator`;\n return {\n summary: rawData.summary,\n prevMonthDifferences: (lastFromPreviousYear\n ? [lastFromPreviousYear].concat(selectedData.chartDataSelectedYear)\n : []\n ).reduce((p, c, i, a) => {\n const current = c;\n const next = a[i + 1];\n if (typeof next === \"undefined\" || moment(next.date, \"YYYY-MM-DD\").startOf(\"month\").isAfter(moment())) {\n return p;\n }\n p.push(next[parsingKey] - current[parsingKey]);\n return p;\n }, []),\n chartData: {\n labels: selectedData.chartDataSelectedYear.map(({ date }) => moment(date).format(\"MMM\")),\n datasets: [\n {\n label: `${startCase(agentType)} ${rawData.year}`,\n data: selectedData.chartDataSelectedYear,\n parsing: { yAxisKey: parsingKey, xAxisKey: parsingKey },\n datalabels: {\n anchor: \"end\",\n align: \"end\",\n offset: -4,\n color: colors.color1.default,\n formatter: (d) => (d[parsingKey] > 0 ? decimalFormat.format(d[parsingKey]) : \"\"),\n },\n backgroundColor: colors.color1.default,\n borderColor: colors.color1.default,\n lineTension: 0,\n barPercentage: 0.25,\n },\n {\n label: `${startCase(agentType)} ${rawData.year - 1}`,\n data: selectedData.chartDataPreviousYear,\n parsing: { yAxisKey: parsingKey, xAxisKey: parsingKey },\n datalabels: { formatter: () => \"\" },\n backgroundColor: \"#ECEFEF\",\n borderColor: \"#ECEFEF\",\n lineTension: 0,\n barPercentage: 0.5,\n xAxisID: \"x2\",\n },\n ],\n },\n };\n};\n\nconst getPerAgentProduction = ({ signal, params }) =>\n caseTransformingAxios.get(\"/api/v4/reporting/operator_dashboard\", {\n params: { section: \"per_agent_production\", ...params },\n signal,\n });\n\nconst usePerAgentProduction = ({ year, agentType, rangeType, includeOperatorProduction }) => {\n const [rawData, setRawData] = useState(undefined);\n const [state, _setState] = useState({\n data: transformPerAgentProduction(rawData, agentType, includeOperatorProduction),\n error: null,\n loading: false,\n });\n const setState = useMemo(\n () => (newState) => _setState((oldState) => ({ ...oldState, ...newState })),\n [_setState],\n );\n\n useEffect(\n () => setState({ data: transformPerAgentProduction(rawData, agentType, includeOperatorProduction) }),\n [rawData, agentType, includeOperatorProduction],\n );\n\n useEffect(() => {\n const abortController = new AbortController();\n setState({ loading: true });\n getPerAgentProduction({\n signal: abortController.signal,\n params: { selected_year: year, range_type: rangeType.value },\n })\n .then(({ data }) => {\n setState({ error: null, loading: false });\n setRawData(data);\n })\n .catch((err) => {\n if (!isCancel(err)) setState({ error: true, loading: false });\n });\n\n return () => abortController.abort();\n }, [year, rangeType]);\n\n return {\n ...state,\n chartOptions: getChartOptions({ goal: rawData?.fullTime?.annualGoal, data: state.data }),\n actions: {\n clearError: () => setState({ error: null }),\n },\n };\n};\n\nexport default usePerAgentProduction;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Chart } from \"chart.js\";\nimport { Bar, Line } from \"react-chartjs-2\";\nimport ChartDataLabels from \"chartjs-plugin-datalabels\";\nimport AnnotationPlugin from \"chartjs-plugin-annotation\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\nimport { Section, SectionLabel, StatCard } from \"../BusinessDashboard\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport CustomControl from \"../BusinessDashboard/Dropdown/CustomControl\";\nimport { CustomBasicSingleValue } from \"../BusinessDashboard/Dropdown/CustomSingleValue\";\nimport CustomValueContainer from \"../BusinessDashboard/Dropdown/CustomValueContainer\";\nimport getDateDropdownOptions from \"../DashboardShared/helpers/getDateDropdownOptions\";\nimport TextToggle from \"../../../shared/v2/TextToggle/TextToggle\";\nimport IconToggle from \"../../../shared/v2/IconToggle/IconToggle\";\nimport { ChartBarRegularV6, ChartLineRegularV6 } from \"../../../shared/v2/Icomoon\";\nimport Dot from \"../BusinessDashboard/Dot\";\nimport usePerAgentProduction from \"./services/usePerAgentProduction\";\nimport Checkbox from \"../../../shared/v2/Checkbox\";\nimport GoalLinePlugin from \"./utils/GoalLinePlugin\";\nimport { STAT_CLASSES } from \"./helpers/StatCard\";\nimport CustomDropdownIndicator from \"../BusinessDashboard/Dropdown/CustomDropdownIndicator\";\nimport DashIcon from \"../DashboardShared/DashIcon\";\nimport DashTooltip from \"../DashboardShared/DashTooltip\";\n\nChart.register(AnnotationPlugin);\n\nconst PerAgentProductionSection = ({ year }) => {\n const MONTHLY_OVERVIEW_OPTIONS = useMemo(() => getDateDropdownOptions(year), [year]);\n const [agentType, setAgentType] = useState(\"fullTime\");\n const [chartType, setChartType] = useState(\"bar\");\n const [rangeType, setRangeType] = useState(MONTHLY_OVERVIEW_OPTIONS[0]);\n const [includeOperatorProduction, setIncludeOperatorProduction] = useState(true);\n const [rerender, setRerender] = useState(false);\n const { actions, chartOptions, data, error, loading } = usePerAgentProduction({\n year,\n agentType,\n rangeType,\n includeOperatorProduction,\n });\n // hack: when using parsing keys with chartjs it doesn't trigger rerender until next change\n const shouldRerender = rerender === includeOperatorProduction;\n\n useEffect(() => setRangeType(MONTHLY_OVERVIEW_OPTIONS[0]), [MONTHLY_OVERVIEW_OPTIONS, year]);\n useEffect(() => {\n if (rerender !== includeOperatorProduction) setRerender((r) => !r);\n }, [rerender, includeOperatorProduction]);\n\n return (\n
\n
\n \n Per Agent Production \n \n \n
\n
\n setAgentType(e.target.value)}\n />\n
\n
\n \n \n \n
\n
\n setIncludeOperatorProduction(e.target.checked)}\n />\n },\n { value: \"line\", icon: },\n ]}\n onChange={(e) => setChartType(e.target.value)}\n value={chartType}\n />\n
\n {chartType === \"bar\" && shouldRerender && (\n \n )}\n {chartType === \"line\" && shouldRerender && (\n \n )}\n {/** TODO: May need custom chart.js plugin for additional labels */}\n
\n
\n \n PAP\n
\n
\n \n PAP Last Year\n
\n
\n \n Annual Goal\n \n
\n
\n \n {loading && }\n
\n );\n};\n\nPerAgentProductionSection.propTypes = {\n year: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n};\n\nexport default PerAgentProductionSection;\n","import { useEffect, useMemo, useState } from \"react\";\nimport { upperFirst } from \"lodash\";\nimport formatter from \"../../../../shared/formatters\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nconst getProductionStats = (signal, opts) =>\n caseTransformingAxios.get(\"/api/v4/reporting/operator_dashboard\", {\n params: { section: \"monthly_avg_production_stats\", ...opts },\n signal,\n });\n\nconst transformProductionStats = (data, stat) => {\n const title = stat === \"gci\" ? \"GCI\" : \"Net Income\";\n const key = upperFirst(stat);\n return {\n titleName: \"Production Stats (Monthly Averages)\",\n metrics: [\n {\n metricValue: formatter.currency(data[`activeAgents${key}`]),\n metricTitle: `${title} for Active Agents`,\n },\n {\n metricValue: formatter.currency(data[`totalAgents${key}`]),\n metricTitle: `${title} for Total Agents`,\n },\n {\n metricValue: formatter.currency(data[`fullTimeAgents${key}`]),\n metricTitle: `${title} for Full Time Agents`,\n },\n {\n metricValue: formatter.currency(data[`partTimeAgents${key}`]),\n metricTitle: `${title} for Part Time Agents`,\n },\n ],\n };\n};\n\nconst useProductionStats = ({ year, stat }) => {\n const [rawData, setRawData] = useState(null);\n const [state, _setState] = useState({ data: null, error: null, loading: false });\n const setState = useMemo(\n () => (newState) => _setState((oldState) => ({ ...oldState, ...newState })),\n [_setState],\n );\n\n useEffect(() => {\n if (!rawData) return;\n setState({ data: transformProductionStats(rawData, stat) });\n }, [rawData, stat]);\n\n useEffect(() => {\n setState({ loading: true });\n const abortController = new AbortController();\n getProductionStats(abortController.signal, { selected_year: year })\n .then((res) => setState({ data: setRawData(res.data), error: null, loading: false }))\n .catch(() => setState({ error: true, loading: false }));\n\n return () => abortController.abort();\n }, [year]);\n\n return {\n ...state,\n actions: {\n clearError: () => setState({ error: null }),\n },\n };\n};\n\nexport default useProductionStats;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextToggle from \"@shared/v2/TextToggle/TextToggle\";\nimport { Section } from \"../BusinessDashboard\";\nimport MetricsGrid from \"./MetricsGrid\";\nimport useProductionStats from \"./services/useProductionStats\";\nimport Loader from \"../../../Dashboard/components/Loader\";\nimport Error from \"../DashboardShared/Error\";\n\nconst ProductionStatsSection = ({ year }) => {\n const [stat, setStat] = useState(\"gci\");\n const { data, loading, error } = useProductionStats({ year, stat });\n\n return (\n
\n \n setStat(e.target.value)}\n />\n }\n titleName={data?.titleName}\n metrics={data?.metrics}\n />\n {loading && }\n
\n );\n};\n\nProductionStatsSection.propTypes = {\n year: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n};\n\nexport default ProductionStatsSection;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport HeadingSelect from \"../../../Goals/components/HeadingSelect\";\nimport { Section } from \"../BusinessDashboard\";\nimport Button from \"../../../shared/v2/Button\";\nimport SummarySection from \"./SummarySection\";\nimport RecruitingPipelineSection from \"./RecruitingPipelineSection\";\nimport TotalAgentsStaffSection from \"./TotalAgentsStaffSection\";\nimport RecruitingSection from \"./RecruitingSection\";\nimport PerAgentProductionSection from \"./PerAgentProductionSection\";\nimport ProductionStatsSection from \"./ProductionStatsSection\";\n\nconst OperatorDashboard = ({ operatorDashboardGraphsEnabled }) => {\n const [year, setYear] = useState(new Date().getFullYear());\n return (\n
\n
\n
\n
\n Operator Dashboard}\n name=\"year\"\n value={year}\n onChange={setYear}\n />\n window.location.assign(`/settings/goals?year=${year}`)}\n >\n Settings\n \n
\n
\n \n \n {operatorDashboardGraphsEnabled && (\n
\n \n \n
\n )}\n
\n
\n \n \n
\n
\n \n
\n
\n
\n
\n );\n};\n\nOperatorDashboard.propTypes = {\n operatorDashboardGraphsEnabled: PropTypes.bool.isRequired,\n};\n\nexport default OperatorDashboard;\n","import React from \"react\";\n\nconst Dash = <>—;\n\nexport default Dash;\n","import axios from \"axios\";\nimport {\n differenceInDays,\n startOfYesterday,\n addSeconds,\n addDays,\n startOfDay,\n startOfWeek,\n startOfToday,\n endOfDay,\n endOfWeek,\n endOfMonth,\n endOfQuarter,\n subDays,\n subWeeks,\n startOfMonth,\n subMonths,\n startOfYear,\n addQuarters,\n format,\n} from \"date-fns\";\nimport { TZDate } from \"@date-fns/tz\";\n\nexport const getRollupsByDate = async ({ from, to, signal }) => {\n const params = {\n min_date: from,\n max_date: to,\n };\n\n const { data } = await axios.get(\"/leaderboards\", { params, signal });\n\n // TODO: do some of the formatting here as far as dividing goals, etc\n return data.users?.map(formatUser) || [];\n};\n\nconst formatUser = (user) => ({\n ...user,\n avatar_url: user[\"avatar_url\"]?.length > 3 ? user[\"avatar_url\"] : null,\n});\n\nexport const getRanksByDate = async ({ from, to, activity, userId, signal }) => {\n if (!activity || !userId) {\n return {};\n }\n const params = {\n min_date: from,\n max_date: to,\n metric: activity,\n user_id: userId,\n };\n\n const { data } = await axios.get(\"/leaderboards/ranking\", { params, signal });\n\n return {\n brivityRank: data[\"global_rank\"],\n placeRank: data[\"place_rank\"],\n };\n};\n\nexport const makeDateRangeFromPhrase = (year, timeFrame) => {\n const { from, to } = timeFrameConverters[timeFrame](year, timeFrame);\n\n return {\n from: from.toString(),\n to: to.toString(),\n };\n};\n\nexport const getFormattedWeekDates = (startingDate) => {\n if (!startingDate) {\n return \"\";\n }\n\n const dateFormat = \"L/d\";\n const start = new TZDate(startingDate, \"America/Los_Angeles\");\n const end = addDays(start, 6);\n\n return `${format(start, dateFormat)} - ${format(end, dateFormat)}`;\n};\n\nconst timeFrameConverters = {\n today: () => {\n const from = startOfToday();\n\n return {\n from,\n to: endOfDay(from),\n };\n },\n yesterday: () => {\n const from = startOfYesterday();\n\n return {\n from,\n to: endOfDay(from),\n };\n },\n \"this-week\": () => {\n const from = startOfWeek(new Date(), { weekStartsOn: 1 });\n\n return {\n from,\n to: endOfWeek(from, { weekStartsOn: 1 }),\n };\n },\n \"last-7-days\": () => {\n const to = new Date();\n\n return {\n from: startOfDay(subDays(to, 7)),\n to,\n };\n },\n \"last-week\": () => {\n const to = startOfWeek(new Date(), { weekStartsOn: 1 });\n\n return {\n from: subWeeks(to, 1),\n to: addSeconds(to, -1),\n };\n },\n \"last-14-days\": () => {\n const to = new Date();\n\n return {\n from: subDays(to, 14),\n to,\n };\n },\n \"this-month\": () => {\n const to = new Date();\n\n return {\n from: startOfMonth(to),\n to,\n };\n },\n \"last-30-days\": () => {\n const to = new Date();\n\n return {\n from: subDays(to, 30),\n to,\n };\n },\n \"last-month\": () => {\n const to = startOfMonth(new Date());\n\n return {\n from: subMonths(to, 1),\n to: addSeconds(to, -1),\n };\n },\n \"last-90-days\": () => {\n const to = new Date();\n\n return {\n from: subDays(to, 90),\n to,\n };\n },\n ytd: () => {\n const to = new Date();\n\n return {\n from: startOfYear(to),\n to,\n };\n },\n January: (year, timeFrame) => monthRange(year, timeFrame),\n February: (year, timeFrame) => monthRange(year, timeFrame),\n March: (year, timeFrame) => monthRange(year, timeFrame),\n April: (year, timeFrame) => monthRange(year, timeFrame),\n May: (year, timeFrame) => monthRange(year, timeFrame),\n June: (year, timeFrame) => monthRange(year, timeFrame),\n July: (year, timeFrame) => monthRange(year, timeFrame),\n August: (year, timeFrame) => monthRange(year, timeFrame),\n September: (year, timeFrame) => monthRange(year, timeFrame),\n October: (year, timeFrame) => monthRange(year, timeFrame),\n November: (year, timeFrame) => monthRange(year, timeFrame),\n December: (year, timeFrame) => monthRange(year, timeFrame),\n Q1: (year, timeFrame) => quarterRange(year, timeFrame),\n Q2: (year, timeFrame) => quarterRange(year, timeFrame),\n Q3: (year, timeFrame) => quarterRange(year, timeFrame),\n Q4: (year, timeFrame) => quarterRange(year, timeFrame),\n};\n\nconst quarterRange = (year, quarter) => {\n const quarterNumber = parseInt(quarter.substring(1));\n const yearStart = new Date(`January 01 ${year}`);\n const from = addQuarters(yearStart, quarterNumber - 1);\n\n return {\n from,\n to: endOfQuarter(from),\n };\n};\n\nconst monthRange = (year, month) => {\n const from = new Date(`${month} 01 ${year}`);\n\n return {\n from,\n to: endOfMonth(from),\n };\n};\n\nexport const CurrentYear = new Date().getFullYear();\n\nexport const Activities = [\n {\n fullName: \"Calls\",\n shortName: \"Calls\",\n key: \"outbound_calls\",\n },\n {\n fullName: \"Contacts\",\n shortName: \"Contacts\",\n key: \"contacts\",\n },\n {\n fullName: \"Texts\",\n shortName: \"Texts\",\n key: \"texts_sent\",\n },\n {\n fullName: \"Appointments Set\",\n shortName: \"Appt. Set\",\n key: \"appointments_set\",\n },\n {\n fullName: \"Appointments Held\",\n shortName: \"Appt. Held\",\n key: \"appointments_held\",\n },\n {\n fullName: \"Open Houses\",\n shortName: \"Open Houses\",\n key: \"open_houses\",\n },\n {\n fullName: \"Door Knocking\",\n shortName: \"Door Knocking\",\n key: \"door_knocking\",\n },\n {\n fullName: \"Networking Events\",\n shortName: \"Networking Ev...\",\n key: \"networking_events\",\n },\n {\n fullName: \"Circle Prospecting\",\n shortName: \"Circle Prosp...\",\n key: \"circle_prospecting_calls\",\n },\n {\n fullName: \"Canceled/Expired Calls\",\n shortName: \"Canceled/Exp...\",\n key: \"canceled_expired_calls\",\n },\n {\n fullName: \"For Sale By Owner Calls\",\n shortName: \"FSBO Calls\",\n key: \"fsbo_calls\",\n },\n];\n\nexport const getOrdinalNumber = (n) => {\n if (!n) {\n return \"\";\n }\n\n const lastOne = n % 10;\n const lastTwo = n % 100;\n\n if (lastTwo > 10 && lastTwo < 20) {\n return \"th\";\n } else if (lastOne === 1) {\n return \"st\";\n } else if (lastOne === 2) {\n return \"nd\";\n } else if (lastOne === 3) {\n return \"rd\";\n } else {\n return \"th\";\n }\n};\n\n/**\n * Sorts users by the count on the [activity] object and then\n * adds a rank for that activity. The users\n * array must be sorted by the [count] on the [activity] object. Modifies\n * the original objects.\n * @param {Array} sortedUsers\n * @param {String} activity\n * @returns {Array}\n */\nexport const sortAndRankUsers = (users = [], activity = \"\") => {\n const sortedUsers = [...users].sort((a, b) => {\n return b[activity].count - a[activity].count;\n });\n\n let currentRank = 0;\n let previousCount = -1;\n let rankMatches = 0;\n for (const user of sortedUsers) {\n const count = user[activity].count;\n\n if (!count) {\n user[activity].rank = null;\n continue;\n }\n\n if (count === previousCount) {\n rankMatches++;\n } else {\n currentRank += rankMatches + 1;\n rankMatches = 0;\n }\n\n user[activity].rank = currentRank;\n previousCount = count;\n }\n\n return sortedUsers;\n};\n","import React from \"react\";\nimport Avatar from \"../../../shared/v2/Avatar\";\n\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport Dash from \"./Dash\";\nimport { Activities } from \"./helpers\";\nimport \"./leaderboards.scss\";\nimport Loader from \"../../../Dashboard/components/Loader\";\n\nconst TeamLeaderboard = ({ users = [], selectedActivity, isPlaceUser, isLoading }) => {\n const activityName = Activities.find(({ key }) => key === selectedActivity).shortName;\n const filteredUsers = users.slice(0, 5);\n\n return (\n
\n \n Top {filteredUsers.length} Rankings {Dash}{\" \"}\n {Activities.find(({ key }) => key === selectedActivity).fullName}\n \n
\n {filteredUsers.map((user) => (\n \n ))}\n {isLoading && }\n
\n
\n );\n};\n\nexport default TeamLeaderboard;\n\nconst UserPortrait = ({ name, avatar, rank, activityCount, activityName, isPlaceUser }) => {\n const rankMargin = rank ? \"tw-left-[-4px]\" : \"tw-left-[-8px]\";\n return (\n
\n
\n \n {name}\n \n
\n \n {rank || Dash}\n \n
\n
\n
\n {name}\n
\n
\n {activityCount}\n
\n
\n {activityName}\n
\n
\n );\n};\n","import React from \"react\";\n\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport Avatar from \"../../../shared/v2/Avatar\";\n\nconst UsersDropdown = ({selectedUser, users, setSelectedUser}) => {\n const userOptions = users.map((u) => ({ value: u[\"user_id\"], label: `${u[\"first_name\"]} ${u[\"last_name\"]}`, avatar: u[\"avatar_url\"] }))\n .sort((a, b) => a.label > b.label ? 1 : -1);\n\n const user = userOptions.find(s => s.value === selectedUser);\n\n const onOptionSelected = ({value}) => {\n setSelectedUser(value);\n };\n\n return (\n \n );\n};\n\nexport default UsersDropdown;\n\nconst formatOptionLabel = ({label, avatar}) => {\n return (\n
\n \n
{label}
\n
\n );\n};\n","import React from \"react\";\n\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport { Activities, getOrdinalNumber } from \"./helpers\";\nimport UsersDropdown from \"./UsersDropdown\";\nimport Loader from \"../../../Dashboard/components/Loader\";\n\nconst GlobalLeaderboard = ({\n wasActivityInPeriod,\n selectedActivity,\n ranks,\n isPlaceUser,\n isLoading,\n users,\n selectedUser,\n setSelectedUser,\n}) => {\n const activityName = Activities.find(({ key }) => key === selectedActivity).fullName;\n const themeStyles = isPlaceUser ? \"tw-w-[512px]\" : \"tw-w-[460px]\";\n\n return (\n
\n \n
\n
\n Global Rankings\n {activityName}\n
\n \n
\n
\n
\n {wasActivityInPeriod === false ? (\n \n ) : (\n \n )}\n {isLoading && }\n
\n
\n );\n};\n\nexport default GlobalLeaderboard;\n\nconst EmptyState = ({ activityName }) => {\n return (\n
\n {`No ${activityName} logged for the selected time range`}\n
\n );\n};\n\nconst Rankings = ({ ranks, isPlaceUser }) => {\n return (\n
\n \n \n {isPlaceUser && }\n
\n );\n};\n\nconst Rank = ({ rank, group, isPlaceUser = true }) => {\n return (\n
\n \n {rank}\n {getOrdinalNumber(rank)}\n
\n in {group}\n \n );\n};\n","import React from \"react\";\n\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\n\nconst ActivitiesDropdown = ({activity, options, onActivityChosen}) => {\n const onOptionSelected = ({value}) => {\n onActivityChosen(value);\n };\n\n return (\n \n )\n};\n\nexport default ActivitiesDropdown;\n\nconst ActivitiesControl = ({ componentProps, children }) => (\n \n {children}\n \n);\n\nconst ActivitiesContainer = ({ componentProps, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {children}\n \n);\n\nconst ActivitiesValue = ({ componentProps, children }) => (\n \n {children}\n \n);\n\nconst ActivitiesMenu = ({ componentProps, children }) => (\n \n {children}\n \n);\n","import React, { useState, useEffect, useRef, forwardRef } from \"react\";\n\nimport Avatar from \"../../../shared/v2/Avatar\";\nimport { Section, SectionLabel } from \"../BusinessDashboard/Section\";\nimport ActivitiesDropdown from \"./ActivitiesDropdown\";\nimport Dash from \"./Dash\";\nimport { Activities } from \"./helpers\";\nimport \"./leaderboards.scss\";\nimport Loader from \"../../../Dashboard/components/Loader\";\n\nconst TeamTable = ({\n users = [],\n selectedActivity,\n timeFrame,\n setSelectedActivity,\n maxCount,\n goalDivider,\n selectedUser,\n isPlaceUser,\n isLoading,\n}) => {\n const columnRefs = useRef({});\n const shouldAutoScroll = useRef(false);\n const [hoveredColumn, setHoveredColumn] = useState(\"\");\n\n const activity = SortOptions.find((s) => s.value === selectedActivity);\n\n useEffect(() => {\n if (!shouldAutoScroll.current) {\n shouldAutoScroll.current = true;\n return;\n }\n\n if (columnRefs.current[selectedActivity]) {\n columnRefs.current[selectedActivity].scrollIntoView({\n behavior: \"smooth\",\n block: \"center\",\n });\n }\n }, [selectedActivity]);\n\n return (\n
\n
\n \n Leaderboard {Dash} {timeFrame}\n \n
\n Ranked By:\n \n
\n
\n
\n \n \n \n \n {Activities.map(({ key, shortName }) => (\n (columnRefs.current[key] = e)}\n name={shortName}\n nameForChange={key}\n isSelectedActivity={key === selectedActivity}\n setSelectedActivity={setSelectedActivity}\n isPlaceUser={isPlaceUser}\n isHoveredColumn={hoveredColumn === key}\n setHoveredColumn={setHoveredColumn}\n />\n ))}\n \n \n \n {users.map((user, i) => (\n \n ))}\n \n
\n
\n {isLoading && }\n
\n );\n};\n\nexport default TeamTable;\n\nconst SortOptions = Activities.map(({ fullName, key }) => ({ label: fullName, value: key }));\n\nconst InitialHeader = ({ isPlaceUser }) => {\n return (\n \n
\n \n
Actual Progress
\n \n
Goal for Period
\n \n
Surpassed Goal
\n
\n \n );\n};\n\nconst TableHeader = forwardRef(\n (\n {\n name,\n isSelectedActivity,\n nameForChange,\n setSelectedActivity,\n isPlaceUser,\n isHoveredColumn,\n setHoveredColumn,\n },\n ref,\n ) => {\n const headerBorderStyle =\n isSelectedActivity && isPlaceUser\n ? \"place-selected-header tw-text-semantic-blue-100\"\n : isSelectedActivity\n ? \"selected-header tw-text-brivity-blue-100\"\n : \"not-selected-header tw-text-gray-50 tw-cursor-pointer\";\n\n const hoverStyle = getHoverStyle(isHoveredColumn, isPlaceUser);\n\n return (\n setSelectedActivity(nameForChange)}\n onMouseEnter={() => setHoveredColumn(nameForChange)}\n onMouseLeave={() => setHoveredColumn(\"\")}\n >\n
\n {name}\n {isSelectedActivity && }\n
\n \n );\n },\n);\n\nconst TableRow = ({\n user,\n rank,\n maxActivityCount,\n isSelectedUser,\n selectedActivity,\n isLastRow,\n goalDivider,\n isPlaceUser,\n setSelectedActivity,\n hoveredColumn,\n setHoveredColumn,\n}) => {\n return (\n \n \n {Activities.map(({ key }) => (\n \n ))}\n \n );\n};\n\nconst InitialCell = ({\n user,\n rank,\n maxActivityCount,\n selectedActivity,\n isSelectedUser,\n goalDivider,\n isPlaceUser,\n}) => {\n const { count, goal } = getActivityData(user, selectedActivity, goalDivider);\n\n const goalPercent = Math.min(100, (goal / maxActivityCount) * 100);\n const countPercent = Math.min(100, (count / maxActivityCount) * 100);\n\n const wasGoalSurpassed = goal > 0 && count >= goal;\n const countStyle = wasGoalSurpassed\n ? { width: `${countPercent}%`, background: \"linear-gradient(270deg, #E5941B 0%, #FAE4C3 99.14%)\" }\n : { width: `${countPercent}%`, backgroundColor: isPlaceUser ? \"#3270FA\" : \"#59C4C4\" };\n\n const currentUserName = isPlaceUser ? \"tw-text-semantic-blue-100\" : \"tw-text-brivity-blue-100\";\n\n return (\n \n
\n \n {rank || Dash}\n \n \n {`${user[\"first_name\"]} ${user[\"last_name\"]}`}\n
\n
\n \n
\n {wasGoalSurpassed && (\n \n )}\n
\n
\n
\n \n );\n};\n\nconst TableCell = ({\n user,\n activity,\n setSelectedActivity,\n isSelectedActivity,\n isLastRow,\n goalDivider,\n isPlaceUser,\n isHoveredColumn,\n setHoveredColumn,\n}) => {\n const { count, goal } = getActivityData(user, activity, goalDivider);\n const hoverStyle = getHoverStyle(isHoveredColumn, isPlaceUser);\n\n const theme = isPlaceUser ? \"place-\" : \"\";\n const selectedStyle =\n isSelectedActivity && isLastRow\n ? `${theme}selected-bottom`\n : isSelectedActivity\n ? `${theme}selected-cells`\n : \"tw-cursor-pointer\";\n\n return (\n setHoveredColumn(activity)}\n onMouseLeave={() => setHoveredColumn(\"\")}\n onClick={() => setSelectedActivity(activity)}\n >\n
\n {count} / {goal}\n
\n \n );\n};\n\nconst Arrows = ({ isPlaceUser }) => {\n const fillColor = isPlaceUser ? \"#3270FA\" : \"#59c4c4\";\n\n return (\n \n \n \n \n );\n};\n\nconst getActivityData = (user, activity, goalDivider = 52) => {\n if (!user[activity]) {\n return { count: 0, goal: 0 };\n }\n\n const count = user[activity].count ?? 0;\n const goal = user[activity][\"annual_goal\"] ? Math.ceil(user[activity][\"annual_goal\"] / goalDivider) : 0;\n\n return { count, goal };\n};\n\nconst getHoverStyle = (isHoveredColumn, isPlaceUser) =>\n isHoveredColumn ? (isPlaceUser ? \"tw-bg-semantic-blue-2.5\" : \"tw-bg-brivity-blue-10\") : \"\";\n","import React from \"react\";\n\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport IconButton from \"../../../shared/v2/IconButton\";\nimport DatePicker from \"../../../shared/v2/DatePicker\";\nimport { Section } from \"../BusinessDashboard/Section\";\nimport { CurrentYear } from \"./helpers\";\n\nconst Header = ({year, setYear, timeFrame, setTimeFrame, customMinDate, customMaxDate, setCustomMinDate, setCustomMaxDate, setFullscreen}) => {\n const timeFrameOptions = year === CurrentYear\n ? CurrentYearPeriods\n : createOptionsPerYear(year);\n\n return (\n
\n
\n Activity Leaderboard\n
\n value === year)}\n onChange={({value}) => {setYear(value)}}\n />\n value === timeFrame)}\n onChange={({label, value}) => setTimeFrame(value, label)}\n />\n {timeFrame === \"custom\" ? (\n <>\n setCustomMinDate(moment(value, \"MM/DD/YYYY\").toISOString())}\n inputProps={{ size: 10 }}\n />\n setCustomMaxDate(moment(value, \"MM/DD/YYYY\").toISOString())}\n inputProps={{ size: 10 }}\n />\n \n ) : \"\"}\n \n \n \n
\n
\n
\n );\n};\n\nexport default Header;\n\nconst StartingYear = 2017;\n\nconst YearOptions = (() => {\n const range = CurrentYear - StartingYear;\n const options = [];\n for (let i = range; i > -1; i--) {\n const value = (StartingYear + i);\n options.push({ label: value, value });\n }\n\n return options;\n})();\n\nconst createOptionsPerYear = (year) => {\n return PreviousYearPeriods.map((value) => (\n {label: `${value} ${year}`, value }\n ));\n};\n\nconst CurrentYearPeriods = [\n {\n label: \"Today\",\n value: \"today\"\n },\n {\n label: \"Yesterday\",\n value: \"yesterday\"\n },\n {\n label: \"This Week (Mon - Sun)\",\n value: \"this-week\"\n },\n {\n label: \"Last 7 days\",\n value: \"last-7-days\"\n },\n {\n label: \"Last Week (Mon - Sun)\",\n value: \"last-week\"\n },\n {\n label: \"This Month\",\n value: \"this-month\"\n },\n {\n label: \"Last 30 days\",\n value: \"last-30-days\"\n },\n {\n label: \"Last Month\",\n value: \"last-month\"\n },\n {\n label: \"Last 90 days\",\n value: \"last-90-days\"\n },\n {\n label: \"This Year\",\n value: \"ytd\"\n },\n {\n label: \"Custom\",\n value: \"custom\"\n }\n];\n\nconst PreviousYearPeriods = [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n \"Q1\",\n \"Q2\",\n \"Q3\",\n \"Q4\"\n];\n","import React from \"react\";\n\nimport { Spinner } from \"../../../shared/v2/Icomoon\";\nimport Dash from \"./Dash\";\n\nconst BigQueryWarning = ({ customMinDate, customMaxDate, abandonCustomQuery }) => {\n const from = moment(customMinDate).format(\"MM/DD/YYYY\");\n const to = moment(customMaxDate).format(\"MM/DD/YYYY\");\n\n return (\n
\n
\n \n
\n

Large Query Detected: {from} {Dash} {to}

\n

The date range you requested is larger than usual. It may take a while to retrieve this data.

\n
\n
\n \n ABANDON\n \n
\n );\n};\n\nexport default BigQueryWarning;\n","import { useState, useEffect } from \"react\";\n\nexport default (key, defaultValue) => {\n const [value, setValue] = useState(() => {\n return loadValue(key) || defaultValue;\n });\n\n useEffect(() => {\n saveValue(key, value);\n }, [key, value]);\n\n return [value, setValue];\n};\n\nconst saveValue = (key, value) => {\n const stringy = JSON.stringify(value);\n localStorage.setItem(key, stringy);\n};\n\nconst loadValue = (key) => JSON.parse(localStorage.getItem(key));\n","import { useEffect, useState } from \"react\";\nimport { differenceInDays } from \"date-fns\";\nimport axios from \"axios\";\nimport { getRanksByDate, getRollupsByDate, sortAndRankUsers } from \"../helpers\";\n\nexport default ({ userId, activity, from, to }) => {\n const [rawUsers, setRawUsers] = useState([]);\n const [goalDivisor, setGoalDivisor] = useState(52);\n const [largeQuery, setLargeQuery] = useState(false);\n const [maxCount, setMaxCount] = useState(0);\n const [ranks, setRanks] = useState({});\n const [users, setUsers] = useState([]);\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(false);\n const [rankLoading, setRankLoading] = useState(false);\n\n useEffect(() => {\n const maxCount = rawUsers.reduce((prevGoal, user) => {\n const annualGoal = user[activity]?.count;\n return annualGoal > prevGoal ? annualGoal : prevGoal;\n }, 0);\n\n setMaxCount(maxCount);\n setUsers(sortAndRankUsers(rawUsers, activity));\n }, [rawUsers, activity]);\n\n useEffect(() => {\n const abortController = new AbortController();\n const daysInTimeFrame = differenceInDays(Date.parse(to), Date.parse(from));\n setGoalDivisor(365 / (daysInTimeFrame || 1));\n setLargeQuery(daysInTimeFrame > 365);\n setLoading(true);\n\n getRollupsByDate({ from, to, signal: abortController.signal })\n .then((rawUsers) => {\n setRawUsers(rawUsers);\n setLoading(false);\n setError(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(true);\n setLoading(false);\n }\n });\n\n return () => {\n abortController.abort();\n };\n }, [from, to]);\n\n useEffect(() => {\n const abortController = new AbortController();\n setRankLoading(true);\n getRanksByDate({ activity, from, to, userId, signal: abortController.signal })\n .then((rankData) => {\n const teamRank = rawUsers.find((u) => u.user_id === userId)?.[activity]?.rank;\n setRanks({ ...rankData, teamRank });\n setError(false);\n setRankLoading(false);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setError(true);\n setRankLoading(false);\n }\n });\n return () => {\n abortController.abort();\n };\n }, [rawUsers, userId, activity]);\n\n return { data: { goalDivisor, largeQuery, maxCount, ranks, users }, error, loading, rankLoading };\n};\n","import React, { useEffect, useState } from \"react\";\n\nimport TeamLeaderboard from \"./TeamLeaderboard\";\nimport GlobalLeaderboard from \"./GlobalLeaderboard\";\nimport TeamTable from \"./TeamTable\";\nimport Header from \"./Header\";\nimport BigQueryWarning from \"./BigQueryWarning\";\nimport { CurrentYear, makeDateRangeFromPhrase } from \"./helpers\";\nimport useFullscreen from \"../BusinessDashboard/hooks/useFullscreen\";\nimport useStateWithPersistence from \"./hooks/useStateWithPersistence\";\nimport useLeaderboard from \"./hooks/useLeaderboard\";\n\nconst Leaderboards = ({ currentUserId, isPlaceUser }) => {\n const [selectedUserId, setSelectedUserId] = useState(currentUserId);\n const [selectedActivity, setSelectedActivity] = useStateWithPersistence(\"activity\", \"outbound_calls\");\n const [year, setYear] = useStateWithPersistence(\"year\", CurrentYear);\n const [timeFrame, setTimeFrame] = useStateWithPersistence(\"timeFrame\", \"this-month\");\n const [timeFrameDescription, setTimeFrameDescription] = useStateWithPersistence(\n \"timeFrameDescription\",\n \"This Month\",\n );\n const [customMinDate, setCustomMinDate] = useStateWithPersistence(\"customMinDate\", new Date());\n const [customMaxDate, setCustomMaxDate] = useStateWithPersistence(\"customMaxDate\", new Date());\n const { ref, toggleFullscreen } = useFullscreen();\n\n const updateTimeFrameInfo = (key, description) => {\n setTimeFrame(key);\n setTimeFrameDescription(description);\n };\n\n const {\n data: { goalDivisor, largeQuery, maxCount, ranks, users },\n loading,\n rankLoading,\n } = useLeaderboard({\n activity: selectedActivity,\n userId: selectedUserId,\n from: customMinDate,\n to: customMaxDate,\n });\n\n useEffect(() => {\n if (timeFrame === \"custom\") return;\n const { from, to } = makeDateRangeFromPhrase(year, timeFrame);\n setCustomMinDate(from);\n setCustomMaxDate(to);\n }, [timeFrame, year]);\n\n const abandonCustomQuery = () => {\n // Reset to default - \"this month\"\n setYear(CurrentYear);\n setTimeFrame(\"this-month\");\n };\n\n return (\n
\n
\n {largeQuery === true && loading === true ? (\n \n ) : (\n \"\"\n )}\n \n
\n \n \n
\n \n
\n
\n );\n};\n\nexport default Leaderboards;\n\nconst wasActivityInPeriod = (ranks) => {\n return ranks.teamRank !== null && ranks.teamRank !== undefined;\n};\n","import React, { useState } from \"react\";\nimport { caseTransformingAxios } from \"../../../shared/v2/caseTransformingAxios\";\nimport TextInput from \"../../../shared/v2/TextInput\";\nimport Button from \"../../../shared/v2/Button\";\nimport ErrorBanner from \"../../../shared/v2/ErrorBanner/ErrorBanner\";\nimport FieldLabel from \"../../../shared/v2/FieldLabel\";\n\nconst secondAuth = (formData) =>\n caseTransformingAxios.post(\"/api/v4/reporting/powerbi_authenticate\", { formData });\n\nconst useSecondAuth = () => {\n const [state, setState] = useState({ error: false, loading: false });\n\n return {\n ...state,\n actions: {\n authorize: (formData, onSuccess) => {\n setState((prevState) => ({ ...prevState, error: false, loading: true }));\n secondAuth(formData)\n .then((res) => {\n setState((prevState) => ({ ...prevState, error: false, loading: false }));\n onSuccess?.(res.data);\n })\n .catch(() => setState((prevState) => ({ ...prevState, error: true, loading: false })));\n },\n },\n };\n};\n\nconst SecondAuthForm = ({ onSuccess }) => {\n const { actions, error, loading } = useSecondAuth();\n\n return (\n
\n {\n e.preventDefault();\n const formData = Object.fromEntries(new FormData(e.target).entries());\n actions.authorize(formData, onSuccess);\n }}\n >\n {error && }\n

Password Required

\n

Enter your Brivity credentials to access this page.

\n \n \n \n \n \n \n
\n );\n};\n\nexport default SecondAuthForm;\n","import { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { models } from \"powerbi-client\";\n\nconst iframe = document.createElement(\"iframe\");\n\nconst usePowerBi = ({ ref, shouldRun, url }) => {\n const [embedConfig, setEmbedConfig] = useState();\n\n useEffect(() => {\n if (!shouldRun) return;\n const abortController = new AbortController();\n\n caseTransformingAxios\n .get(url, { signal: abortController.signal })\n .then(({ data }) =>\n setEmbedConfig({\n type: \"report\",\n tokenType: models.TokenType.Embed,\n embedUrl: data.reportDetails.embedUrl,\n accessToken: data.token,\n settings: {\n filterPaneEnabled: false,\n navContentPaneEnabled: false,\n },\n }),\n )\n .catch((error) => {\n console.log(error);\n });\n return () => abortController.abort();\n }, [shouldRun]);\n\n useEffect(() => {\n const embedContainer = ref.current;\n if (!ref.current || !embedConfig) return;\n window.powerbi.embed(embedContainer, embedConfig, iframe);\n return () => window.powerbi.reset(embedContainer);\n }, [embedConfig]);\n};\n\nexport default usePowerBi;","import React, { useRef, useState } from \"react\";\nimport { models } from \"powerbi-client\";\nimport SecondAuthForm from \"./SecondAuthForm\";\nimport usePowerBi from \"../../hooks/usePowerBi\";\n\nconst PowerBIReport = ({ powerbiSecondAuth, url }) => {\n const powerBiRef = useRef(null);\n const [isPowerBiAuthenticated, setIsPowerBiAuthenticated] = useState(powerbiSecondAuth);\n usePowerBi({ ref: powerBiRef, shouldRun: isPowerBiAuthenticated, url });\n\n if (!isPowerBiAuthenticated) return setIsPowerBiAuthenticated(true)} />;\n\n // TODO: display some sort of error message if getting a token fails?\n return
;\n};\n\nexport default PowerBIReport;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst OverviewCard = ({ action, centered, description, title, value }) => (\n \n
{value}
\n
{title}
\n
\n
{description}
\n {action}\n
\n);\n\nOverviewCard.propTypes = {\n action: PropTypes.node,\n centered: PropTypes.bool,\n description: PropTypes.string,\n title: PropTypes.string,\n value: PropTypes.string,\n};\n\nOverviewCard.defaultProps = {\n action: null,\n centered: false,\n description: \"\",\n title: \"\",\n value: \"\",\n};\n\nexport default OverviewCard;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useOpenHouseDashboardOverview = ({ dateRange, selectedHosts }) => {\n const [data, setData] = useState({ completed: 0, attendees: 0, leads: 0 });\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n if (!dateRange || selectedHosts.length === 0) return () => {};\n const abortController = new AbortController();\n const hostPersonUuids = selectedHosts.map((host) => host.value);\n\n setLoading(true);\n setError(false);\n caseTransformingAxios\n .post(\n \"/api/v4/reporting/open_house_dashboard/stats\",\n {\n ...dateRange,\n hostPersonUuids,\n },\n { signal: abortController.signal },\n )\n .then(({ data: { data: overviewData } }) => {\n setLoading(false);\n setData({\n ...overviewData,\n avgLeads: (overviewData.leads / (overviewData.completed || 1)).toFixed(2),\n });\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setLoading(false);\n setError(true);\n }\n });\n\n return () => abortController.abort();\n }, [dateRange, selectedHosts]);\n\n return { data, error, loading };\n};\n\nexport default useOpenHouseDashboardOverview;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport { Section, SectionLabel } from \"../BusinessDashboard\";\nimport OverviewCard from \"./OverviewCard\";\nimport useOpenHouseDashboardOverview from \"./hooks/useOpenHouseDashboardOverview\";\nimport Loading from \"../../../Goals/components/Loader\";\n\nconst VerticalRule = () =>
;\n\nconst OpenHouseOverview = ({ dateRange, selectedHosts }) => {\n const { data, error, loading } = useOpenHouseDashboardOverview({ dateRange, selectedHosts });\n\n return (\n
\n
\n Overview\n
\n \n \n \n \n \n \n
\n {error && }\n
\n {loading && }\n
\n );\n};\n\nOpenHouseOverview.propTypes = {\n dateRange: PropTypes.shape({\n startDate: PropTypes.string,\n endDate: PropTypes.string,\n }).isRequired,\n selectedHosts: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).isRequired,\n};\n\nexport default OpenHouseOverview;\n","import { useEffect, useRef, useState } from \"react\";\nimport axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useOpenHouseDashboardList = ({ dateRange, selectedHosts, status }) => {\n const [page, setPage] = useState(1);\n const [data, setData] = useState({});\n const [loading, setLoading] = useState(false);\n\n const prevQuery = useRef({ dateRange, selectedHosts, status }).current;\n\n useEffect(() => {\n if (!dateRange || selectedHosts.length === 0) return () => {};\n if (\n prevQuery.dateRange !== dateRange ||\n prevQuery.selectedHosts !== selectedHosts ||\n prevQuery.status !== status\n ) {\n prevQuery.dateRange = dateRange;\n prevQuery.selectedHosts = selectedHosts;\n prevQuery.status = status;\n if (page !== 1) {\n setPage(1);\n return () => {};\n }\n }\n const abortController = new AbortController();\n const hostPersonUuids = selectedHosts.map((host) => host.value);\n\n setLoading(true);\n caseTransformingAxios\n .post(\n \"/api/v4/reporting/open_house_dashboard/list\",\n {\n ...dateRange,\n hostPersonUuids,\n status,\n page,\n perPage: 10,\n },\n { signal: abortController.signal },\n )\n .then(\n ({\n data: {\n data: { data: list, ...rest },\n },\n }) => {\n setData({ list, ...rest });\n setLoading(false);\n },\n )\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setLoading(false);\n }\n });\n\n return () => abortController.abort();\n }, [dateRange, page, selectedHosts, status]);\n\n return {\n actions: {\n delete: (openHouse) => {\n caseTransformingAxios.delete(\"/api/v4/reporting/open_house_dashboard\", {\n params: { uuid: openHouse.uuid },\n });\n },\n setPage,\n },\n data,\n loading,\n };\n};\n\nexport default useOpenHouseDashboardList;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useOpenHouseDetails = ({ openHouse }) => {\n const [data, setData] = useState({});\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(true);\n\n useEffect(() => {\n if (!openHouse?.uuid) return;\n const abortController = new AbortController();\n setData({});\n setLoading(true);\n caseTransformingAxios\n .get(\"/api/v4/reporting/open_house_dashboard/details\", {\n params: { openHouseUuid: openHouse.uuid },\n signal: abortController.signal,\n })\n .then((res) => {\n setData({ ...res.data.data, instructions: res.data.data.instructions || \"\" });\n setLoading(false);\n })\n .catch((err) => {\n if (axios.isCancel(err)) return;\n setLoading(false);\n setError(true);\n });\n }, [openHouse]);\n\n return { data, error, loading };\n};\n\nexport default useOpenHouseDetails;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport { startCase } from \"lodash\";\nimport { useDispatch } from \"react-redux\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Typography from \"@shared/v2/Typography\";\nimport { LockSolidV6, PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport TypeCell from \"../../../Transactions/components/shared/TypeCell\";\nimport Status from \"../../../LeadIndex/components/Status\";\nimport { setCallParams } from \"../../../reducers/dialerReducer/dialerReducer\";\nimport { TD, TR } from \"../BusinessDashboard/Table/Table\";\n\nconst STATUS_OPTIONS = {\n new: \"new\",\n unqual: \"unqualified\",\n hot: \"hot\",\n watch: \"watch\",\n nurt: \"nurture\",\n past: \"past-client\",\n inactiv: \"inactive\",\n trash: \"trash\",\n arch: \"archived\",\n pending: \"pending\",\n};\n\nconst LeadRow = ({\n lead: {\n canBeAccessedByCurrentUser,\n fullName,\n hasPrimaryPhoneNumber,\n intent,\n lastInteractionAt,\n lastInteractionType,\n leadId,\n status,\n uuid,\n },\n hasAgent,\n}) => {\n const dispatch = useDispatch();\n const person = useMemo(\n () => ({ person_lead_id: leadId, status_options: STATUS_OPTIONS, person: { status: status || \"new\" } }),\n [leadId, status],\n );\n\n return (\n \n \n
\n {fullName}{\" \"}\n {!canBeAccessedByCurrentUser && }\n
\n \n \n
\n {(intent === \"seller\" || intent === \"seller/buyer\") && }\n {(intent === \"buyer\" || intent === \"seller/buyer\") && }\n
\n \n \n \n {hasAgent === true ? \"Yes\" : \"\"}\n {hasAgent === false ? \"No\" : \"\"}\n {hasAgent === undefined ? \"—\" : \"\"}\n \n \n \n \n \n \n {lastInteractionType && (\n \n {startCase(lastInteractionType)} Logged{\" \"}\n {lastInteractionAt ? moment(lastInteractionAt).fromNow() : \"\"}\n \n )}\n \n \n dispatch(setCallParams({ leadUuids: [uuid], callSource: \"OpenHouse Dashboard\" }))}\n >\n \n \n \n \n );\n};\n\nLeadRow.propTypes = {\n lead: PropTypes.shape().isRequired,\n hasAgent: PropTypes.bool,\n};\n\nLeadRow.defaultProps = {\n hasAgent: undefined,\n};\n\nexport default LeadRow;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useOpenHouseLeads = ({ leadPersonUuids }) => {\n const [data, setData] = useState([]);\n const [error, setError] = useState(false);\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n if (!leadPersonUuids?.length) {\n setData([]);\n return;\n }\n const abortController = new AbortController();\n setData([]);\n setLoading(true);\n caseTransformingAxios\n .post(\n \"/api/v4/reporting/open_house_dashboard/leads\",\n { leadPersonUuids },\n {\n signal: abortController.signal,\n },\n )\n .then((res) => {\n setData(res.data);\n setLoading(false);\n })\n .catch((err) => {\n if (axios.isCancel(err)) return;\n setLoading(false);\n setError(true);\n });\n }, [leadPersonUuids]);\n\n return { data, error, loading };\n};\n\nexport default useOpenHouseLeads;\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst openLeadIndexFromTagName = (tagName) => (e) => {\n e.preventDefault();\n e.stopPropagation();\n caseTransformingAxios.post(\"/api/v4/tags/tag_by_name\", { tagName }).then(({ data }) => {\n const urlParams = new URLSearchParams();\n urlParams.append(\"leads_filter[selected_any_all_tags][]\", \"any\");\n urlParams.append(\"leads_filter[selected_tag_filters][]\", data.id);\n window.open(`/people/leads?${urlParams}`, true);\n });\n};\n\nexport default openLeadIndexFromTagName;\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { useCurrentUser } from \"../../../../reducers/layoutReducer/selectors\";\n\nconst getMlsListingDetails = (blossorId) =>\n caseTransformingAxios.get(\"/listings_api\", { params: { blossorId } });\n\nconst getSignInSheetUrls = ({ blossorData, openHouse, userUuid, displayAgentUuid, qrCodeUrl }) =>\n caseTransformingAxios.put(\"/api/v4/reporting/open_house_dashboard/sign_in_sheet\", {\n qrCodeUrl,\n ...(blossorData && { blueroofMlsId: blossorData.blueroofMlsId, mlsNum: blossorData.mlsNum }),\n ...(!blossorData && {\n address: openHouse.address.streetAddress,\n }),\n userUuid,\n displayAgentUuid,\n });\n\nconst useSignInSheet = (openHouse) => {\n const currentUser = useCurrentUser();\n const openhouseUrl = useSelector((state) => state.reports.openhouseUrl);\n const [loading, setLoading] = useState(false);\n\n const getSignInSheet = async (type, userMeta) => {\n setLoading(type);\n\n const blossorData = await getMlsListingDetails(openHouse.propertyId)\n .then((res) => res.data)\n .catch(() => null);\n\n const urlParams = new URLSearchParams();\n urlParams.append(\"id\", openHouse.checkInKey);\n urlParams.append(\"team\", currentUser.account.teamName);\n urlParams.append(\"phone\", userMeta.managedPhoneNumber);\n\n const signInData = await getSignInSheetUrls({\n blossorData,\n openHouse,\n userUuid: currentUser.uuid,\n displayAgentUuid: userMeta.userUuid,\n qrCodeUrl: `${openhouseUrl}?${urlParams}`,\n })\n .then((res) => res.data)\n .catch(() => null);\n\n setLoading(false);\n\n return signInData || { error: \"Something went wrong.\" };\n };\n\n return { loading, getSignInSheet };\n};\n\nexport default useSignInSheet;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport Typography from \"@shared/v2/Typography\";\nimport { ChevronDownSolidV6, DownloadSolidV6, PencilSolidV6, SpinnerSolidV6 } from \"@shared/v2/Icomoon\";\nimport { Popover } from \"@shared/v2/Popover\";\nimport useSignInSheet from \"./hooks/useSignInSheet\";\n\nconst getOpenHouseUserUuid = (selectedHosts, openHouse) =>\n selectedHosts.find((host) => host.value === openHouse.hostPersonUuid)?.meta;\n\nconst SignInSheetDropdown = ({ openHouse, selectedHosts }) => {\n const { loading, getSignInSheet } = useSignInSheet(openHouse);\n\n return (\n <>\n \n \n \n \n \n }\n onClick={(e) => {\n e.stopPropagation();\n getSignInSheet(\"pdf\", getOpenHouseUserUuid(selectedHosts, openHouse)).then(({ downloadPdf }) =>\n window.open(downloadPdf, \"_blank\"),\n );\n }}\n >\n Download Now\n \n }\n onClick={(e) => {\n e.stopPropagation();\n getSignInSheet(\"edit\", getOpenHouseUserUuid(selectedHosts, openHouse)).then(({ editUrl }) =>\n window.open(editUrl, \"_blank\"),\n );\n }}\n >\n Customize\n \n \n \n\n \n \n Creating Sign-In Sheet\n \n \n {loading === \"pdf\"\n ? \"Just a moment - your download is starting soon\"\n : \"We'll send you to Brivity Marketer for the final touches\"}\n \n \n \n \n );\n};\n\nSignInSheetDropdown.propTypes = {\n openHouse: PropTypes.shape().isRequired,\n selectedHosts: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nexport default SignInSheetDropdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport Typography from \"@shared/v2/Typography\";\n\nconst OpenHouseDeleteModal = ({ openHouse, onDelete, onClose }) => (\n \n \n\n \n \n {(openHouse?.attendees || openHouse?.leads) > 0\n ? `This Open House cannot be deleted because it has ${openHouse.attendees || openHouse.leads} attendees. Only Open Houses with no attendees can be deleted.`\n : \"Are you sure you want to delete this Open House?\"}\n \n \n\n \n \n {(openHouse?.attendees || openHouse?.leads) === 0 && (\n \n )}\n \n \n);\n\nOpenHouseDeleteModal.propTypes = {\n openHouse: PropTypes.shape().isRequired,\n onDelete: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default OpenHouseDeleteModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { format, parse } from \"date-fns\";\nimport { camelCase } from \"lodash\";\nimport formatters from \"@shared/formatters\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Flyout from \"@shared/v2/Flyout\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Typography from \"@shared/v2/Typography\";\nimport Tag from \"@shared/v2/Tag\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6, TrashSolidV6, XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport OverviewCard from \"./OverviewCard\";\nimport { Table, TBody, TH, THead, TR } from \"../BusinessDashboard/Table/Table\";\nimport useOpenHouseDetails from \"./hooks/useOpenHouseDetails\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport LeadRow from \"./LeadRow\";\nimport useOpenHouseLeads from \"./hooks/useOpenHouseLeads\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\nimport openLeadIndexFromTagName from \"./helpers/openLeadIndexFromTagName\";\nimport SignInSheetDropdown from \"./SignInSheetDropdown\";\nimport OpenHouseDeleteModal from \"./OpenHouseDeleteModal\";\n\nconst transformOpenHouse = ({ address, attendees, workingWithAgent, leads, tags, ...openHouse }) => ({\n openHouse,\n propertyDetails: address,\n tags,\n});\n\nconst getStatus = (openHouse) => {\n if (openHouse.activeAt && !openHouse.completedAt) return \"In Progress\";\n if (!openHouse.completedAt) return \"Upcoming\";\n return \"Completed\";\n};\n\nconst OpenHouseFlyout = ({ openHouse, onClose, onDelete, onEdit, selectedHosts }) => {\n const currentUser = useCurrentUser();\n const {\n data,\n data: {\n address,\n attendees,\n completedAt,\n hostName,\n hostPersonUuid,\n instructions,\n isActive,\n leads,\n leadPersonUuids,\n listing,\n startDate,\n startTime,\n endTime,\n tags,\n workingWithAgent,\n },\n error,\n loading,\n } = useOpenHouseDetails({ openHouse });\n const [showDelete, setShowDelete] = React.useState(null);\n const { data: leadList, loading: leadListLoading } = useOpenHouseLeads({ leadPersonUuids });\n\n const isPrivileged = currentUser.account.isAdmin || currentUser.person.uuid === hostPersonUuid;\n const canEdit = isPrivileged && !isActive && !completedAt;\n\n return (\n \n \n {(loading || leadListLoading) && }\n
\n
\n \n {address\n ? `${address.streetAddress} ${address.city}, ${address.state} ${address.postalCode}`\n : \"\"}\n \n
\n {isPrivileged && (\n setShowDelete(data)} disabled={isActive}>\n \n \n )}\n {canEdit && (\n onEdit(transformOpenHouse(data))}>\n \n \n )}\n \n \n \n
\n
\n
\n \n {getStatus(data)}:\n \n
\n \n {startDate ? format(parse(startDate, \"yyyy-MM-dd\", new Date()), \"EEE. MM/dd/yyyy\") : \"\"}\n \n |\n \n {`${startTime ? format(parse(startTime, \"HH:mm:ss\", new Date()), \"hh:mm a\") : \"\"} - ${endTime ? format(parse(endTime, \"HH:mm:ss\", new Date()), \"hh:mm a\") : \"\"}`}\n \n
\n
\n
\n
\n
\n
\n \n
\n Host\n {hostName}\n
\n
\n
\n
\n \n {listing?.price ? formatters.currency(listing?.price) : \"--\"}\n \n Listing Price\n
\n
\n {listing?.bedrooms || \"--\"}\n Beds\n
\n
\n {listing?.bathsTotalDecimal || \"--\"}\n Baths\n
\n
\n \n {listing?.squareFeet ? listing?.squareFeet.toLocaleString() : \"--\"}\n \n Sq Ft\n
\n
\n
\n \n Tags\n \n
\n {tags?.map((tag) => (\n \n {tag}\n \n ))}\n
\n
\n
\n\n
\n {completedAt && (\n <>\n
\n \n
\n
\n 0 ? (\n \n View Leads in Index\n \n ) : undefined\n }\n />\n
\n \n )}\n
\n
\n\n {instructions && (\n
\n \n Notes\n \n {instructions}\n
\n )}\n\n {!completedAt && (\n
\n \n
\n )}\n
\n\n {completedAt && (\n
\n \n \n \n \n \n \n \n \n \n \n \n {leadList.map((lead) => (\n \n ))}\n \n
NameIntentAgentStatusLast Interaction\n
\n\n {leadListLoading && }\n
\n )}\n\n {error && (\n \n )}\n
\n
\n {\n onDelete(showDelete);\n setShowDelete(null);\n onClose();\n onEdit((v) => (v === null ? \"\" : null));\n }}\n onClose={() => setShowDelete(null)}\n />\n
\n );\n};\n\nOpenHouseFlyout.propTypes = {\n openHouse: PropTypes.shape({ uuid: PropTypes.string }),\n onClose: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n onEdit: PropTypes.func.isRequired,\n selectedHosts: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nOpenHouseFlyout.defaultProps = {\n openHouse: null,\n};\n\nexport default OpenHouseFlyout;\n","import { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useUpcomingCount = ({ dateRange, selectedHosts }) => {\n const [upcomingCount, setUpcomingCount] = useState(0);\n\n useEffect(() => {\n if (!dateRange || selectedHosts.length === 0) return;\n const hostPersonUuids = selectedHosts.map((host) => host.value);\n caseTransformingAxios\n .post(\"/api/v4/reporting/open_house_dashboard/upcoming_count\", { hostPersonUuids, ...dateRange })\n .then((res) => setUpcomingCount(res.data.data || 0))\n .catch(console.log);\n }, [dateRange, selectedHosts]);\n\n return upcomingCount;\n};\n\nexport default useUpcomingCount;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { format, parse } from \"date-fns\";\nimport Pagination from \"@shared/v2/Pagination\";\nimport TabBar from \"@shared/v2/TabBar\";\nimport Tab from \"@shared/v2/Tab\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { Section } from \"../BusinessDashboard\";\nimport { Table, TBody, TD, TH, THead, TR } from \"../BusinessDashboard/Table/Table\";\nimport useOpenHouseDashboardList from \"./hooks/useOpenHouseDashboardList\";\nimport OpenHouseFlyout from \"./OpenHouseFlyout\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport openLeadIndexFromTagName from \"./helpers/openLeadIndexFromTagName\";\nimport SignInSheetDropdown from \"./SignInSheetDropdown\";\nimport useUpcomingCount from \"./hooks/useUpcomingCount\";\n\nconst OpenHouseDashboardList = ({ dateRange, selectedHosts, onEdit }) => {\n const [status, setStatus] = useState(\"completed\");\n const [openHouse, setOpenHouse] = useState(null);\n const { actions, data, loading } = useOpenHouseDashboardList({ dateRange, selectedHosts, status });\n const upcomingCount = useUpcomingCount({ dateRange, selectedHosts });\n\n useEffect(() => {\n if (!data.list?.find((oh) => oh.uuid === openHouse?.uuid)) {\n setOpenHouse(null);\n } else {\n setOpenHouse({ uuid: openHouse.uuid });\n }\n }, [data.list]);\n\n return (\n
\n
\n \n setStatus(\"completed\")} />\n \n Upcoming\n {upcomingCount > 0 && (\n
\n {upcomingCount}\n
\n )}\n \n }\n selected={status === \"upcoming\"}\n onClick={() => setStatus(\"upcoming\")}\n />\n
\n
\n \n \n \n \n \n \n \n \n {status === \"upcoming\" && \n \n \n {data.list?.map(\n (\n {\n address,\n attendees,\n hostName,\n leads,\n startDate,\n startTime,\n endTime,\n uuid,\n activeAt,\n completedAt,\n },\n i,\n ) => (\n setOpenHouse({ uuid })}\n >\n \n \n \n \n \n \n \n ),\n )}\n \n
AddressDate & TimeHostAttendeesLeads}\n
\n
\n {address.streetAddress}\n \n {address.city}, {address.state} {address.postalCode}\n \n
\n
\n
\n {format(parse(startDate, \"yyyy-MM-dd\", new Date()), \"EEE. MM/dd/yyyy\")}\n \n {activeAt && !completedAt ? (\n In Progress\n ) : (\n `${format(parse(startTime, \"HH:mm:ss\", new Date()), \"hh:mm a\")} - ${format(parse(endTime, \"HH:mm:ss\", new Date()), \"hh:mm a\")}`\n )}\n \n
\n
{hostName}{attendees}\n {leads > 0 ? (\n \n {leads}\n \n ) : (\n leads\n )}\n \n {!completedAt && (\n \n )}\n
\n\n {data.totalPages > 1 && (\n
\n actions.setPage(p)}\n />\n
\n )}\n\n {loading && }\n\n setOpenHouse(null)}\n onDelete={actions.delete}\n onEdit={onEdit}\n selectedHosts={selectedHosts}\n />\n
\n );\n};\n\nOpenHouseDashboardList.propTypes = {\n dateRange: PropTypes.shape({\n startDate: PropTypes.string,\n endDate: PropTypes.string,\n }).isRequired,\n selectedHosts: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n onEdit: PropTypes.func.isRequired,\n};\n\nexport default OpenHouseDashboardList;\n","import { endOfMonth, endOfYear, format, isBefore, startOfMonth, startOfYear, sub } from \"date-fns\";\nimport { useEffect, useMemo, useState } from \"react\";\n\nconst TIME_FRAME_OPTIONS = [\n { label: \"All Time\", value: \"all_time\" },\n {\n label: \"Today\",\n value: \"today\",\n },\n {\n label: \"Last 7 days\",\n value: \"last_7_days\",\n },\n {\n label: \"Last 14 days\",\n value: \"last_14_days\",\n },\n {\n label: \"Last 30 days\",\n value: \"last_30_days\",\n },\n {\n label: \"This Month\",\n value: \"this_month\",\n },\n {\n label: \"Last Month\",\n value: \"last_month\",\n },\n {\n label: \"This Year\",\n value: \"this_year\",\n },\n {\n label: \"Last Year\",\n value: \"last_year\",\n },\n];\n\nconst CUSTOM_OPTION = { label: \"Custom\", value: \"custom\" };\n\nconst useTimeFrameOptions = ({ includeCustom = false }) => {\n const [timeFrame, setTimeFrame] = useState(TIME_FRAME_OPTIONS[7]);\n const [startDate, setStartDate] = useState(null);\n const [endDate, setEndDate] = useState(null);\n\n const timeFrameOptions = useMemo(\n () => (includeCustom ? [...TIME_FRAME_OPTIONS, CUSTOM_OPTION] : TIME_FRAME_OPTIONS),\n [includeCustom],\n );\n\n useEffect(() => {\n let startAt = null;\n let endAt = null;\n switch (timeFrame.value) {\n case \"all_time\":\n startAt = null;\n endAt = null;\n break;\n case \"today\":\n startAt = format(new Date(), \"yyyy-MM-dd\");\n endAt = format(new Date(), \"yyyy-MM-dd\");\n break;\n case \"last_7_days\":\n startAt = format(sub(new Date(), { days: 7 }), \"yyyy-MM-dd\");\n endAt = format(new Date(), \"yyyy-MM-dd\");\n break;\n case \"last_14_days\":\n startAt = format(sub(new Date(), { days: 14 }), \"yyyy-MM-dd\");\n endAt = format(new Date(), \"yyyy-MM-dd\");\n break;\n case \"last_30_days\":\n startAt = format(sub(new Date(), { days: 30 }), \"yyyy-MM-dd\");\n endAt = format(new Date(), \"yyyy-MM-dd\");\n break;\n case \"this_month\":\n startAt = format(startOfMonth(new Date()), \"yyyy-MM-dd\");\n endAt = format(new Date(), \"yyyy-MM-dd\");\n break;\n case \"last_month\":\n startAt = format(startOfMonth(sub(new Date(), { months: 1 })), \"yyyy-MM-dd\");\n endAt = format(endOfMonth(sub(new Date(), { months: 1 })), \"yyyy-MM-dd\");\n break;\n case \"last_year\":\n startAt = format(startOfYear(sub(new Date(), { years: 1 })), \"yyyy-MM-dd\");\n endAt = format(endOfYear(sub(new Date(), { years: 1 })), \"yyyy-MM-dd\");\n break;\n default: // this_year\n startAt = format(startOfYear(new Date()), \"yyyy-MM-dd\");\n endAt = format(endOfYear(new Date()), \"yyyy-MM-dd\");\n }\n setStartDate(startAt);\n setEndDate(endAt);\n }, [timeFrame]);\n\n const dateRange = useMemo(() => ({ startAt: startDate, endAt: endDate }), [startDate, endDate]);\n\n const error = useMemo(() => {\n if (startDate && endDate && !isBefore(startDate, endDate)) {\n return \"End date must be after start date\";\n }\n return \"\";\n }, [startDate, endDate]);\n\n return {\n actions: { setStartDate, setEndDate },\n error,\n timeFrameOptions,\n timeFrame,\n setTimeFrame,\n dateRange,\n };\n};\n\nexport default useTimeFrameOptions;\n","import { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useOpenHouseDashboardHosts = () => {\n const [data, setData] = useState([]);\n\n useEffect(() => {\n const abortController = new AbortController();\n\n caseTransformingAxios\n .get(\"/api/v4/reporting/open_house_dashboard/hosts\", { signal: abortController.signal })\n .then((res) => setData(res.data))\n .catch(console.log);\n\n return () => abortController.abort();\n }, []);\n\n return data;\n};\n\nexport default useOpenHouseDashboardHosts;\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport axios from \"axios\";\nimport { debounce } from \"lodash\";\nimport { useEffect, useMemo, useState } from \"react\";\n\nconst useMlsListingSearch = (searchTerm) => {\n const [debouncedSearchTerm, _setDebouncedSearchTerm] = useState(\"\");\n const [data, setData] = useState([]);\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(false);\n const options = useMemo(() => data.map((d) => ({ value: d.selectedFields.id, label: d.value })), [data]);\n\n const setDebouncedSearchTerm = useMemo(\n () => debounce(_setDebouncedSearchTerm, 500),\n [_setDebouncedSearchTerm],\n );\n\n useEffect(() => {\n setDebouncedSearchTerm(searchTerm);\n }, [searchTerm]);\n\n useEffect(() => {\n if (!debouncedSearchTerm) return;\n const abortController = new AbortController();\n setData([]);\n setError(null);\n setLoading(true);\n\n caseTransformingAxios\n .get(\"/api/v4/transactions/autocomplete\", {\n params: { term: searchTerm },\n signal: abortController.signal,\n })\n .then((res) => {\n setLoading(false);\n setData(res.data);\n })\n .catch((err) => {\n if (!axios.isCancel(err)) {\n setLoading(false);\n setError(\"Search failed, try again later\");\n }\n });\n\n return () => {\n abortController.abort();\n };\n }, [debouncedSearchTerm]);\n\n return { data, error, loading, options };\n};\n\nexport default useMlsListingSearch;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { Search } from \"@shared/v2/Icomoon\";\nimport useMlsListingSearch from \"./useMlsListingSearch\";\n\nconst MlsListingDropdown = ({ label, onChange, placeholder, value }) => {\n const [searchTerm, setSearchTerm] = useState(\"\");\n const mlsSearch = useMlsListingSearch(searchTerm);\n\n return (\n onChange?.(option || null)}\n inputTrailing={}\n components={{ DropdownIndicator: null }}\n preventOptionUpdate\n />\n );\n};\n\nMlsListingDropdown.propTypes = {\n label: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n placeholder: PropTypes.string,\n value: PropTypes.shape(),\n};\n\nMlsListingDropdown.defaultProps = {\n label: \"\",\n placeholder: \"Search\",\n value: null,\n};\n\nexport default MlsListingDropdown;\n","import axios from \"axios\";\nimport { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useMlsListingDetails = (blossorId) => {\n const [data, setData] = useState(null);\n const [loading, setLoading] = useState(false);\n\n useEffect(() => {\n if (!blossorId) {\n setData(null);\n return;\n }\n const abortController = new AbortController();\n\n setLoading(true);\n caseTransformingAxios\n .get(\"/listings_api\", { params: { blossorId }, signal: abortController.signal })\n .then((res) => {\n setLoading(false);\n setData(res.data);\n })\n .catch((err) => {\n setLoading(false);\n if (!axios.isCancel(err)) {\n setData(null);\n }\n });\n\n return () => abortController.abort();\n }, [blossorId]);\n\n return { actions: { clear: () => setData(null) }, data, loading };\n};\n\nexport default useMlsListingDetails;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst HorizontalLine = ({ oversized }) => (\n \n);\n\nHorizontalLine.propTypes = {\n oversized: PropTypes.bool,\n};\n\nHorizontalLine.defaultProps = {\n oversized: false,\n};\n\nexport default HorizontalLine;\n","import { addMinutes, endOfDay, format, isBefore, startOfDay } from \"date-fns\";\nimport { useMemo } from \"react\";\n\nconst getTimeOptions = () => {\n const options = [];\n let startTime = startOfDay(new Date());\n const endTime = endOfDay(new Date());\n\n while (isBefore(startTime, endTime)) {\n options.push({ value: format(startTime, \"HH:mm:ss\"), label: format(startTime, \"h:mm a\") });\n startTime = addMinutes(startTime, 15);\n }\n\n return options;\n};\n\nconst useTimeOptions = () => useMemo(getTimeOptions, []);\n\nexport default useTimeOptions;\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { useEffect, useState } from \"react\";\n\nconst useTags = () => {\n const [tags, setTags] = useState([]);\n\n useEffect(() => {\n caseTransformingAxios(\"/api/v4/tags\")\n .then((res) => setTags(res.data.map(({ name }) => ({ value: name, label: name }))))\n .catch((err) => console.log(err));\n }, []);\n\n return tags;\n};\n\nexport default useTags;\n","import { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { useEffect, useState } from \"react\";\n\nconst useOpenHouseFormOptions = () => {\n const [data, setData] = useState([]);\n\n useEffect(() => {\n const abortController = new AbortController();\n caseTransformingAxios\n .get(\"/api/v4/reporting/open_house_dashboard/forms\", { signal: abortController.signal })\n .then((res) => setData(res.data.data.forms))\n .catch(console.log);\n\n return () => abortController.abort();\n }, []);\n\n return data;\n};\n\nexport default useOpenHouseFormOptions;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { format, parse } from \"date-fns\";\nimport { camelCase } from \"lodash\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport Modal, { Prompt } from \"@shared/v2/Modal\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Button from \"@shared/v2/Button\";\nimport MlsListingDropdown from \"@shared/MlsListingDropdown\";\nimport useMlsListingDetails from \"@shared/MlsListingDropdown/useMlsListingDetails\";\nimport Loading from \"../../../Goals/components/Loader\";\nimport ListingPreviewCard from \"../../../Transactions/ListingPreviewCard\";\nimport HorizontalLine from \"./HorizontalRule\";\nimport useTimeOptions from \"./hooks/useTimeOptions\";\nimport useTags from \"./hooks/useTags\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\nimport useOpenHouseFormOptions from \"./hooks/useOpenHouseFormOptions\";\n\nconst validateForm = ({ openHouse, propertyDetails } = { openHouse: {}, propertyDetails: {} }) => {\n const errors = new Map();\n if (!openHouse.startDate) errors.set(\"startDate\", \"Date is required\");\n if (!propertyDetails.streetAddress) errors.set(\"streetAddress\", \"Address is required\");\n if (!propertyDetails.city) errors.set(\"city\", \"City is required\");\n if (!propertyDetails.state) errors.set(\"state\", \"State is required\");\n if (!propertyDetails.postalCode) errors.set(\"postalCode\", \"ZIP / Postal Code is required\");\n\n return errors;\n};\n\nconst useOpenHouseApi = () => {\n const [loading, setLoading] = useState(false);\n return {\n actions: {\n delete: (openHouseUuid) => {\n setLoading(true);\n return caseTransformingAxios\n .delete(\"/api/v4/reporting/open_house_dashboard\", { params: { uuids: [openHouseUuid] } })\n .finally(() => setLoading(false));\n },\n save: (openHouseData) => {\n const isEdit = openHouseData?.openHouse?.uuid;\n setLoading(true);\n return caseTransformingAxios[isEdit ? \"patch\" : \"post\"](\"/api/v4/reporting/open_house_dashboard\", {\n ...openHouseData,\n openHouse: {\n ...openHouseData.openHouse,\n propertyId: openHouseData.openHouse.propertyId || undefined,\n },\n }).finally(() => setLoading(false));\n },\n },\n loading,\n };\n};\n\nconst OpenHouseModal = ({ hosts, onClose, openHouse: originalOpenHouse }) => {\n const [showDelete, setShowDelete] = useState(false);\n const currentUser = useCurrentUser();\n const openHouseApi = useOpenHouseApi();\n const [openHouseData, setOpenHouseData] = useState(originalOpenHouse);\n const { openHouse, propertyDetails, tags } = openHouseData || {};\n const [mlsListing, setMlsListing] = useState(null);\n const [errors, setErrors] = useState(new Map());\n const isEdit = Boolean(openHouse?.uuid);\n const mlsListingDetails = useMlsListingDetails(mlsListing?.value);\n const formOptions = useOpenHouseFormOptions();\n const timeOptions = useTimeOptions();\n const availableTags = useTags();\n const previousAddressTagRef = useRef(propertyDetails?.streetAddress || \"\");\n\n const selectedTags = useMemo(() => {\n const newTags = (tags || []).map((tag) => {\n const isAddressTag = tag === previousAddressTagRef.current;\n return {\n label: tag,\n value: tag,\n meta: { isDisabled: tag === \"Open House\" || tag === \"openhouseapp\" || isAddressTag },\n };\n });\n return newTags;\n }, [tags]);\n\n useEffect(() => {\n if (!originalOpenHouse) {\n setMlsListing(null);\n setErrors(new Map());\n } else if (originalOpenHouse.openHouse.propertyId) {\n setMlsListing({ value: originalOpenHouse.openHouse.propertyId });\n }\n\n setOpenHouseData(originalOpenHouse);\n }, [originalOpenHouse]);\n\n useEffect(() => {\n const addressTag = propertyDetails?.streetAddress || \"\";\n setOpenHouseData((prev) => {\n const newData = prev\n ? {\n ...prev,\n tags: prev.tags?.map((tag) => (tag === previousAddressTagRef.current ? addressTag : tag)),\n }\n : null;\n\n previousAddressTagRef.current = addressTag;\n\n return newData;\n });\n }, [propertyDetails?.streetAddress]);\n\n useEffect(() => {\n setOpenHouseData((prev) =>\n prev\n ? {\n ...prev,\n openHouse: {\n ...prev.openHouse,\n propertyId: mlsListingDetails.data?.blossorId || prev.openHouse.propertyId,\n },\n propertyDetails: mlsListingDetails.data\n ? {\n ...prev.propertyDetails,\n streetAddress: mlsListingDetails.data?.streetAddress,\n city: mlsListingDetails.data?.city,\n state: mlsListingDetails.data?.state,\n postalCode: mlsListingDetails.data?.postalCode,\n }\n : originalOpenHouse?.propertyDetails,\n }\n : null,\n );\n }, [mlsListingDetails.data]);\n\n const updateOpenHouseDetail = (key) => (value) =>\n setOpenHouseData((prev) => (prev ? { ...prev, openHouse: { ...prev.openHouse, [key]: value } } : null));\n\n const updatePropertyDetail = (key) => (e) => {\n const { value } = e.target;\n setOpenHouseData((prev) =>\n prev ? { ...prev, propertyDetails: { ...prev.propertyDetails, [key]: value } } : null,\n );\n };\n\n return (\n <>\n setShowDelete(false)}\n onPrimary={() => {\n openHouseApi.actions.delete(originalOpenHouse.openHouse.uuid).then(() => {\n onClose();\n setShowDelete(false);\n });\n }}\n cancelProps={{ isDisabled: openHouseApi.loading }}\n isPrimaryLoading={openHouseApi.loading}\n primaryOption=\"Yes, Delete\"\n primaryProps={{ schema: \"warning\" }}\n show={showDelete}\n />\n \n \n {isEdit\n ? \"Changes made here will update the open house in your Brivity Open House app.\"\n : \"Creates an open house in your Brivity Open House app. Import a listing or fill out the listing information below manually.\"}\n \n }\n closeButton={!openHouseApi.loading}\n />\n\n \n \n {!mlsListingDetails.data && (\n \n )}\n {mlsListingDetails.data && (\n {\n mlsListingDetails.actions.clear();\n setMlsListing(null);\n }}\n />\n )}\n {mlsListingDetails.loading && }\n \n \n \n
\n \n \n
\n
\n {\n if (startDate?.indexOf(\"/\") > 0) {\n const date = parse(startDate, \"MM/dd/yyyy\", new Date());\n updateOpenHouseDetail(\"startDate\")(format(date, \"yyyy-MM-dd\"));\n updateOpenHouseDetail(\"endDate\")(format(date, \"yyyy-MM-dd\"));\n }\n }}\n />\n
\n t.value === openHouse?.startTime) || null}\n onChange={(startTime) => updateOpenHouseDetail(\"startTime\")(startTime.value)}\n menuShouldComeToFront\n />\n t.value === openHouse?.endTime) || null}\n onChange={(endTime) => updateOpenHouseDetail(\"endTime\")(endTime.value)}\n menuShouldComeToFront\n />\n
\n
\n {currentUser.account.isAdmin && (\n Host
}\n isSearchable\n options={hosts}\n value={hosts.find((h) => h.value === openHouse?.hostPersonUuid) || null}\n onChange={(host) => updateOpenHouseDetail(\"hostPersonUuid\")(host.value)}\n menuShouldComeToFront\n />\n )}\n option === value[0] || option === value[1]}\n options={availableTags}\n value={selectedTags}\n onChange={(newTags) =>\n setOpenHouseData((prev) => ({ ...prev, tags: newTags.map((t) => t.value) }))\n }\n />\n updateOpenHouseDetail(\"instructions\")(e.target.value)}\n />\n \n\n \n \n
\n {isEdit && (\n setShowDelete(true)}\n >\n Delete Open House\n \n )}\n {\n const err = validateForm(openHouseData);\n setErrors(err);\n if (!err.size) {\n openHouseApi.actions\n .save({\n ...openHouseData,\n openHouse: { ...openHouseData.openHouse, formUuid: formOptions[0]?.uuid },\n })\n .then(onClose)\n .catch((axiosErr) => {\n const newErrors = new Map();\n if (axiosErr.response?.data?.errors) {\n axiosErr.response.data.errors.forEach((e) => {\n newErrors.set(camelCase(e.path.replace(/\\w+\\./g, \"\")), e.msg);\n });\n }\n setErrors(newErrors);\n });\n }\n }}\n >\n {isEdit ? \"Save\" : \"Create\"}\n \n
\n
\n \n \n );\n};\n\nOpenHouseModal.propTypes = {\n hosts: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n onClose: PropTypes.func.isRequired,\n openHouse: PropTypes.shape(),\n};\n\nOpenHouseModal.defaultProps = {\n openHouse: null,\n};\n\nexport default OpenHouseModal;\n","import React, { useEffect, useState, useMemo } from \"react\";\nimport { add, format, formatDate, parse, setSeconds } from \"date-fns\";\nimport { ArrowUpRightFromSquareSolidV6, PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Typography from \"@shared/v2/Typography\";\nimport { Section } from \"../BusinessDashboard\";\nimport OpenHouseOverview from \"./OpenHouseOverview\";\nimport OpenHouseDashboardList from \"./OpenHouseDashboardList\";\nimport CustomCheckboxOption from \"../../../Dashboard/components/CustomCheckboxOption\";\nimport useTimeFrameOptions from \"./hooks/useTimeFrameOptions\";\nimport useOpenHouseDashboardHosts from \"./hooks/useOpenHouseDashboardHosts\";\nimport { useCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\nimport OpenHouseModal from \"./OpenHouseModal\";\n\nconst generateNewOpenHouse = (currentUser) => {\n const startTime = setSeconds(add(new Date(), { minutes: 15 - (new Date().getMinutes() % 15) }), 0);\n return {\n openHouse: {\n startDate: format(startTime, \"yyyy-MM-dd\"),\n startTime: format(startTime, \"HH:mm:ss\"),\n endDate: format(startTime, \"yyyy-MM-dd\"),\n endTime: format(add(startTime, { hours: 2 }), \"HH:mm:ss\"),\n hostPersonUuid: currentUser.person.uuid,\n instructions: \"\",\n isPending: false,\n isActive: false,\n },\n propertyDetails: { country: \"US\" },\n tags: [\"Open House\", \"openhouseapp\", \"\"],\n };\n};\n\nconst OpenHouseDashboard = () => {\n const currentUser = useCurrentUser();\n const [openHouse, setOpenHouse] = useState(null);\n const [selectedHosts, setSelectedHosts] = useState([]);\n const { actions, error, timeFrameOptions, timeFrame, setTimeFrame, dateRange } = useTimeFrameOptions({\n includeCustom: true,\n });\n const hosts = useOpenHouseDashboardHosts();\n const modalHosts = useMemo(() => hosts.slice(1), [hosts]);\n const selectedHostsWithoutAll = useMemo(\n () => (selectedHosts[0]?.value === \"all\" ? hosts.filter((host) => host.value !== \"all\") : selectedHosts),\n [selectedHosts, hosts],\n );\n\n useEffect(() => {\n if (selectedHosts.length === 0 && hosts.length > 0) {\n setSelectedHosts([hosts[0]]);\n }\n }, [selectedHosts, hosts]);\n\n useEffect(() => {\n if (!openHouse) setSelectedHosts((prev) => [...prev]);\n }, [openHouse]);\n\n return (\n
\n
\n
\n
\n
\n

Open House Dashboard

\n
\n {currentUser.account.isAdmin && (\n
\n \n Host:\n \n (\n {\n if (host.value === \"all\") {\n setSelectedHosts(checked ? [host] : []);\n } else {\n setSelectedHosts((currentHosts) => {\n if (checked)\n return [...currentHosts.filter((a) => a.value !== \"all\"), host];\n return currentHosts.length > 1\n ? currentHosts.filter((a) => a.value !== host.value)\n : [hosts[0]];\n });\n }\n }}\n // eslint-disable-next-line\n showDivider={props.data.value === \"all\"}\n />\n ),\n }}\n placeholder={\n \n {selectedHosts[0]?.label}\n {selectedHosts.length > 1 ? ` +${selectedHosts.length - 1}` : \"\"}\n \n }\n options={hosts}\n value={selectedHosts}\n isMulti\n closeMenuOnSelect={false}\n isClearable={false}\n multiShouldRenderBelowSelect={false}\n controlShouldRenderValue={false}\n hideSelectedOptions={false}\n />\n
\n )}\n \n {timeFrame.value === \"custom\" && (\n <>\n actions.setStartDate(formatDate(value, \"yyyy-MM-dd\"))}\n inputProps={{ size: 10 }}\n />\n actions.setEndDate(formatDate(value, \"yyyy-MM-dd\"))}\n inputProps={{ error, size: 10 }}\n />\n \n )}\n setOpenHouse(generateNewOpenHouse(currentUser))}\n >\n Open House\n \n
\n
\n \n All data gathered from the Open House App.{\" \"}\n \n Learn More \n \n \n
\n
\n\n \n\n \n\n setOpenHouse(null)} openHouse={openHouse} hosts={modalHosts} />\n
\n
\n );\n};\n\nexport default OpenHouseDashboard;\n","import React, { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport Alert from \"@shared/v2/Alert\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\n\nconst MyBrivityReferrals = () => {\n const featureFlags = useFeatureFlags();\n const [embedData, setEmbedData] = useState({});\n\n useEffect(() => {\n if (!featureFlags.referralRock) return;\n caseTransformingAxios\n .post(\"/referral_rock_embeds\")\n .then(({ data }) => setEmbedData(data))\n .catch(() => setEmbedData({ error: true }));\n }, [featureFlags.referralRock]);\n\n if (!featureFlags.referralRock) return null;\n\n if (embedData.error) {\n return (\n
\n \n
\n );\n }\n\n if (!embedData.fullEmbedUrl) return ;\n\n return (\n \n );\n};\n\nexport default MyBrivityReferrals;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport { SpinnerSolidV6 } from \"@shared/v2/Icomoon\";\nimport DatetimeRangePicker from \"react-datetime-range-picker\";\nimport { Dropdown } from \"../../shared/v1\";\nimport { dateRangeOptions } from \"./reportHelpers\";\nimport { statCardsTotal } from \"./appointmentsReportHelper\";\nimport {\n ReportHeaderSortContainer,\n UserTaskHolder,\n AgentReportRow,\n AgentReportTotalRow,\n LeadSourcesHolder,\n AllOrDateRangeRadios,\n} from \".\";\nimport AgentCallsHolder from \"./AgentCallsHolder\";\nimport AgentTextsHolder from \"./AgentTextsHolder\";\nimport AppointmentsStatCards from \"./AppointmentsStatCards\";\nimport AppointmentsContainer from \"./AppointmentsContainer\";\nimport ApptTypeFilter from \"./ApptTypeFilter\";\nimport BusinessDashboard from \"./BusinessDashboard\";\nimport AgentDashboard from \"./AgentDashboard\";\nimport OperatorDashboard from \"./OperatorDashboard/OperatorDashboard\";\nimport Leaderboards from \"./Leaderboards/Leaderboards\";\nimport PowerBIReport from \"./FinancialDashboard/PowerBIReport\";\nimport useSimpleNavigation from \"../../shared/v2/useSimpleNavigation\";\nimport OpenHouseDashboard from \"./OpenHouseDashboard\";\nimport Referrals from \"./Referrals\";\nimport { Table, TBody, THead } from \"./BusinessDashboard/Table/Table\";\n\nconst ACTIVE_REPORT_TITLE = {\n appointments: \"Appointment Tracking\",\n leadSource: \"Lead Source\",\n tasks: \"Tasks\",\n agentActivity: \"Agent Activity\",\n agentCalls: \"Call Activity\",\n agentTexts: \"Text Activity\",\n};\n\nconst ACTIVE_REPORT_DESCRIPTION = {\n leadSource: \"Track the number of leads and status pipeline of all your leads.\",\n tasks: \"Track the number of assigned and completed tasks in a given date range.\",\n agentCalls: \"Track agent call statistics for a given date range.\",\n agentTexts: \"Track agent text statistics for a given date range.\",\n};\n\nconst SOURCE_TYPE_TITLE = {\n leadSource: \"Brivity Sources\",\n tasks: \"Administrators\",\n};\n\nconst Reports = (props) => {\n const {\n activeFilters,\n adminTasks,\n adminTotalCompletedTasks,\n adminTotalLateTasks,\n adminTotalOnTimeTasks,\n adminTotalTasks,\n agentList,\n agentPersonList,\n agents,\n agentTasks,\n agentTotalCompletedTasks,\n agentTotalLateTasks,\n agentTotalOnTimeTasks,\n agentTotalTasks,\n appointmentData,\n brivitySources,\n brivityStatusCounts,\n brivityTotalLeadSourceCount,\n callData,\n currentUserId,\n customDates,\n customRange,\n dateRange,\n error,\n fetchNewData,\n handleCustomDaySelect,\n handleDateRangeSelect,\n isActivityReportLoaded,\n isAdmin,\n isAllAppointmentsInRange,\n isAllLeadsInRange,\n isAllTasksInRange,\n isFetching,\n isPlaceUser,\n operatorDashboardEnabled,\n operatorDashboardGraphsEnabled,\n otherSources,\n otherStatusCounts,\n otherTotalLeadSourceCount,\n powerbiEnabled,\n powerbiSecondAuth,\n basePowerbiEnabled,\n basePowerbiSecondAuth,\n setError,\n setIsFetching,\n setLeadsConstraint,\n setTasksConstraint,\n sortBy,\n sortDesc,\n sortKey,\n textData,\n userId,\n } = props;\n\n const {\n query: { report_tab: activeReport },\n push,\n } = useSimpleNavigation();\n let isAllInRange = false;\n if (activeReport === \"agentActivity\") isAllInRange = isAllLeadsInRange;\n if (activeReport === \"tasks\") isAllInRange = isAllTasksInRange;\n if (activeReport === \"appointments\") isAllInRange = isAllAppointmentsInRange;\n\n const [apptFilters, _setApptFilters] = useState({\n isBuyer:\n JSON.parse(localStorage.getItem(\"isBuyer\")) === null\n ? true\n : JSON.parse(localStorage.getItem(\"isBuyer\")),\n isBuyerSeller:\n JSON.parse(localStorage.getItem(\"isBuyerSeller\")) === null\n ? true\n : JSON.parse(localStorage.getItem(\"isBuyerSeller\")),\n isSeller:\n JSON.parse(localStorage.getItem(\"isSeller\")) === null\n ? true\n : JSON.parse(localStorage.getItem(\"isSeller\")),\n isRecruit:\n JSON.parse(localStorage.getItem(\"isRecruit\")) === null\n ? true\n : JSON.parse(localStorage.getItem(\"isRecruit\")),\n isOther:\n JSON.parse(localStorage.getItem(\"isOther\")) === null\n ? true\n : JSON.parse(localStorage.getItem(\"isOther\")),\n });\n\n const setApptFilters = (newState) => _setApptFilters((prevState) => ({ ...prevState, ...newState }));\n\n const handleAgentActivityViewSwitch = () => {\n if (isActivityReportLoaded === false) {\n setIsFetching(true);\n fetchNewData(\n localStorage.getItem(\"date_range\") !== null ? localStorage.getItem(\"date_range\") : \"last_seven_days\",\n \"agentActivity\",\n );\n }\n };\n\n const handleAgentCallsViewSwitch = () => {\n if (callData.length === 0) {\n setIsFetching(true);\n fetchNewData(\n localStorage.getItem(\"date_range\") !== null ? localStorage.getItem(\"date_range\") : \"last_seven_days\",\n \"agentCalls\",\n );\n }\n };\n\n const handleAgentTextsViewSwitch = () => {\n if (textData.length === 0) {\n setIsFetching(true);\n fetchNewData(\n localStorage.getItem(\"date_range\") !== null ? localStorage.getItem(\"date_range\") : \"last_seven_days\",\n \"agentTexts\",\n );\n }\n };\n\n const handleTaskViewSwitch = () => {\n if (adminTasks.length === 0 || agentTasks.length === 0) {\n setIsFetching(true);\n fetchNewData(\n localStorage.getItem(\"date_range\") !== null ? localStorage.getItem(\"date_range\") : \"last_seven_days\",\n \"tasks\",\n );\n }\n };\n\n const handleAppointmentsViewSwitch = () => {\n if (!appointmentData.length) {\n setIsFetching(true);\n\n fetchNewData(\n localStorage.getItem(\"date_range\") !== null ? localStorage.getItem(\"date_range\") : \"last_seven_days\",\n \"appointments\",\n );\n }\n };\n\n const handleLeadSourceViewSwitch = () => {\n if (brivitySources.length === 0) {\n setIsFetching(true);\n fetchNewData(\n localStorage.getItem(\"date_range\") !== null ? localStorage.getItem(\"date_range\") : \"last_seven_days\",\n \"leadSource\",\n );\n }\n };\n\n useEffect(() => {\n if (!activeReport) {\n push(\"/agent_stats?report_tab=appointments\");\n return;\n }\n\n switch (activeReport) {\n case \"agentCalls\": {\n handleAgentCallsViewSwitch();\n break;\n }\n case \"agentTexts\": {\n handleAgentTextsViewSwitch();\n break;\n }\n case \"leadSource\": {\n handleLeadSourceViewSwitch();\n break;\n }\n case \"tasks\": {\n handleTaskViewSwitch();\n break;\n }\n case \"appointments\": {\n handleAppointmentsViewSwitch();\n break;\n }\n default:\n handleAgentActivityViewSwitch();\n break;\n }\n }, [activeReport]);\n\n const handleAppointmentType = (type) => {\n if (type === \"Buyer\") {\n localStorage.setItem(\"isBuyer\", JSON.stringify(!apptFilters.isBuyer));\n setApptFilters({ isBuyer: !apptFilters.isBuyer });\n }\n\n if (type === \"Seller\") {\n localStorage.setItem(\"isSeller\", JSON.stringify(!apptFilters.isSeller));\n setApptFilters({ isSeller: !apptFilters.isSeller });\n }\n if (type === \"Buyer/Seller\") {\n localStorage.setItem(\"isBuyerSeller\", JSON.stringify(!apptFilters.isBuyerSeller));\n setApptFilters({ isBuyerSeller: !apptFilters.isBuyerSeller });\n }\n if (type === \"Recruit\") {\n localStorage.setItem(\"isRecruit\", JSON.stringify(!apptFilters.isRecruit));\n setApptFilters({ isRecruit: !apptFilters.isRecruit });\n }\n if (type === \"Other\") {\n localStorage.setItem(\"isOther\", JSON.stringify(!apptFilters.isOther));\n setApptFilters({ isOther: !apptFilters.isOther });\n }\n };\n\n const handler = async (range) => {\n setIsFetching(true);\n try {\n await handleCustomDaySelect(range);\n await fetchNewData(\"custom\", activeReport, userId, activeFilters, range, isAllInRange);\n } catch (e) {\n console.log(\"ERROR\");\n }\n };\n\n const handleLeadConstraintChange = (allLeadsInRange) => {\n setIsFetching(true);\n setLeadsConstraint(allLeadsInRange);\n fetchNewData(dateRange, activeReport, userId, activeFilters, customDates, allLeadsInRange);\n };\n\n const handleTaskConstraintChange = (allTasksInRange) => {\n setIsFetching(true);\n setTasksConstraint(allTasksInRange);\n fetchNewData(dateRange, activeReport, null, null, customDates, allTasksInRange);\n };\n\n const handleAllOrDateRangeToggle = (reportType, allIsChecked) => {\n if (reportType === \"tasks\") handleTaskConstraintChange(allIsChecked);\n else handleLeadConstraintChange(allIsChecked);\n };\n\n const leadStats = statCardsTotal(apptFilters, appointmentData, dateRange);\n\n const isDashboardReport = [\n \"operatorDashboard\",\n \"businessDashboard\",\n \"agentDashboard\",\n \"leaderboards\",\n \"openHouseDashboard\",\n \"powerbi\",\n \"basePowerbi\",\n \"referrals\",\n ].includes(activeReport);\n\n return (\n
\n {activeReport === \"referrals\" && }\n\n {powerbiEnabled && activeReport === \"powerbi\" && (\n \n )}\n\n {basePowerbiEnabled && activeReport === \"basePowerbi\" && (\n \n )}\n\n {operatorDashboardEnabled && activeReport === \"operatorDashboard\" && (\n \n )}\n\n {isAdmin && activeReport === \"businessDashboard\" && }\n\n {activeReport === \"agentDashboard\" && }\n\n {activeReport === \"leaderboards\" && (\n \n )}\n\n {activeReport === \"openHouseDashboard\" && }\n\n {!isDashboardReport && (\n \n {isFetching && (\n
\n \n
\n )}\n\n {!isFetching && error && (\n
\n setError(false)}\n />\n
\n )}\n\n
\n
\n

{ACTIVE_REPORT_TITLE[activeReport]}

\n
\n
\n {[\"agentActivity\", \"tasks\"].includes(activeReport) && (\n \n )}\n\n {activeReport === \"appointments\" && (\n \n )}\n\n {![\"appointments\", \"agentActivity\", \"tasks\"].includes(activeReport) && (\n
{ACTIVE_REPORT_DESCRIPTION[activeReport]}
\n )}\n {activeReport === \"leadSource\" && agentList.length > 1 && (\n
\n {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}\n \n fetchNewData(dateRange, activeReport, e.value, null, customDates)}\n isClearable={false}\n />\n
\n )}\n
\n
Date Range
\n
\n {\n if (e.value !== \"custom\") setIsFetching(true);\n handleDateRangeSelect(e.value, activeReport, userId, activeFilters, isAllInRange);\n }}\n isSearchable={false}\n isClearable={false}\n // So all the options fit on-screen without having to scroll\n variantOverrides={{ menuListMaxHeight: \"100%\" }}\n />\n
\n\n {customRange && (\n current.toDate() < new Date()}\n isValidEndDate={(current) => current.toDate() <= new Date()}\n startDate={customDates.start}\n endDate={customDates.end}\n onChange={handler}\n />\n )}\n
\n
\n {activeReport === \"appointments\" && }\n
\n\n
\n \n \n {((activeReport === \"tasks\" && adminTasks.length > 0) ||\n (activeReport !== \"tasks\" && activeReport !== \"appointments\")) && (\n \n )}\n \n\n \n {activeReport === \"agentActivity\" && (\n <>\n {agents.map((agent) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ))}\n {agents.length > 1 && (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n )}\n \n )}\n\n {activeReport === \"appointments\" && (\n \n )}\n\n {activeReport === \"leadSource\" && (\n <>\n \n \n \n \n )}\n\n {activeReport === \"agentCalls\" && }\n\n {activeReport === \"agentTexts\" && }\n\n {activeReport === \"tasks\" && (\n <>\n {adminTasks.length > 0 && (\n \n )}\n \n \n \n )}\n \n
\n
\n
\n )}\n
\n );\n};\n\nReports.propTypes = {\n activeFilters: PropTypes.shape({}).isRequired,\n adminTasks: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n adminTotalCompletedTasks: PropTypes.number.isRequired,\n adminTotalLateTasks: PropTypes.number.isRequired,\n adminTotalOnTimeTasks: PropTypes.number.isRequired,\n adminTotalTasks: PropTypes.number.isRequired,\n agentList: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n agentPersonList: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n agents: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n agentTasks: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n agentTotalCompletedTasks: PropTypes.number.isRequired,\n agentTotalLateTasks: PropTypes.number.isRequired,\n agentTotalOnTimeTasks: PropTypes.number.isRequired,\n agentTotalTasks: PropTypes.number.isRequired,\n appointmentData: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n brivitySources: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n brivityStatusCounts: PropTypes.shape().isRequired,\n brivityTotalLeadSourceCount: PropTypes.number.isRequired,\n callData: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n currentUserId: PropTypes.number.isRequired,\n customDates: PropTypes.shape().isRequired,\n customRange: PropTypes.bool.isRequired,\n dateRange: PropTypes.string.isRequired,\n error: PropTypes.bool.isRequired,\n fetchNewData: PropTypes.func.isRequired,\n handleCustomDaySelect: PropTypes.func.isRequired,\n handleDateRangeSelect: PropTypes.func.isRequired,\n isActivityReportLoaded: PropTypes.bool.isRequired,\n isAdmin: PropTypes.bool.isRequired,\n isAllAppointmentsInRange: PropTypes.bool.isRequired,\n isAllLeadsInRange: PropTypes.bool.isRequired,\n isAllTasksInRange: PropTypes.bool.isRequired,\n isFetching: PropTypes.bool.isRequired,\n isPlaceUser: PropTypes.bool.isRequired,\n operatorDashboardEnabled: PropTypes.bool.isRequired,\n operatorDashboardGraphsEnabled: PropTypes.bool.isRequired,\n otherSources: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n otherStatusCounts: PropTypes.shape().isRequired,\n otherTotalLeadSourceCount: PropTypes.number.isRequired,\n powerbiEnabled: PropTypes.bool.isRequired,\n powerbiSecondAuth: PropTypes.string.isRequired,\n basePowerbiEnabled: PropTypes.bool.isRequired,\n basePowerbiSecondAuth: PropTypes.string.isRequired,\n setError: PropTypes.func.isRequired,\n setIsFetching: PropTypes.func.isRequired,\n setLeadsConstraint: PropTypes.func.isRequired,\n setTasksConstraint: PropTypes.func.isRequired,\n sortBy: PropTypes.func.isRequired,\n sortDesc: PropTypes.bool.isRequired,\n sortKey: PropTypes.string.isRequired,\n textData: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n userId: PropTypes.number.isRequired,\n};\n\nexport default Reports;\n","import axios from \"axios\";\nimport moment from \"moment\";\n\nconst ROUTE_OPTIONS = {\n agentActivity: \"agent_stats\",\n leadSource: \"agent_stats/lead_source_report\",\n tasks: \"agent_stats/task_report\",\n appointments: \"agent_stats/appointments_report\",\n agentCalls: \"agent_stats/agent_calls_report\",\n agentTexts: \"agent_stats/agent_texts_report\",\n};\n\nconst filterByForAgentActivity = (filterRange, data) => {\n localStorage.setItem(\"date_range\", filterRange);\n return {\n type: \"FILTER_REPORT\",\n dateRange: localStorage.getItem(\"date_range\") || \"today\",\n agents: data.agents,\n total_leads: data.total_leads,\n total_emails: data.total_emails,\n total_calls: data.total_calls,\n total_texts: data.total_texts,\n total_contacted: data.total_contacted,\n };\n};\n\nconst filterByForAgentCalls = (filterRange, data) => {\n localStorage.setItem(\"date_range\", filterRange);\n return {\n type: \"CALL_REPORT\",\n dateRange: localStorage.getItem(\"date_range\") || \"today\",\n agents: data.agents,\n total_calls: data.total_calls,\n };\n};\n\nconst filterByForAgentTexts = (filterRange, data) => {\n localStorage.setItem(\"date_range\", filterRange);\n return {\n type: \"TEXT_REPORT\",\n dateRange: localStorage.getItem(\"date_range\") || \"today\",\n agents: data.agents,\n };\n};\n\nconst filterByForTasks = (filterRange, data) => {\n localStorage.setItem(\"date_range\", filterRange);\n return {\n type: \"FILTER_TASK_REPORT\",\n dateRange: localStorage.getItem(\"date_range\") || \"today\",\n adminTasks: data.admin,\n agentTasks: data.agent,\n adminTotalTasks: data.admin_total_assigned_tasks,\n adminTotalCompletedTasks: data.admin_total_completed_tasks,\n adminTotalOnTimeTasks: data.admin_total_on_time_tasks,\n adminTotalLateTasks: data.admin_total_late_tasks,\n agentTotalTasks: data.agent_total_assigned_tasks,\n agentTotalCompletedTasks: data.agent_total_completed_tasks,\n agentTotalOnTimeTasks: data.agent_total_on_time_tasks,\n agentTotalLateTasks: data.agent_total_late_tasks,\n };\n};\n\nconst filterByForAppointments = (filterRange, data) => {\n localStorage.setItem(\"date_range\", filterRange);\n return {\n type: \"APPOINTMENT_REPORT\",\n dateRange: localStorage.getItem(\"date_range\") || \"today\",\n agents: data.agents,\n };\n};\nconst filterByForLeadSource = (filterRange, userId, data) => {\n localStorage.setItem(\"date_range\", filterRange);\n return {\n type: \"FILTER_SOURCE_REPORT\",\n dateRange: localStorage.getItem(\"date_range\") || \"today\",\n brivitySources: data.brivity_sources.results,\n otherSources: data.other_sources.results,\n userId,\n brivityTotalLeadSourceCount: data.brivity_sources.total,\n brivityStatusCounts: data.brivity_sources.status_counts,\n otherTotalLeadSourceCount: data.other_sources.total,\n otherStatusCounts: data.other_sources.status_counts,\n };\n};\n\nconst setActiveFilters = (selectedFilter, isChecked) => {\n return {\n type: \"SET_ACTIVE_FILTERS\",\n selectedFilter,\n isChecked,\n };\n};\n\nconst defaultStartEndDates = () => {\n const customDates = JSON.parse(localStorage.getItem(\"custom_dates\"));\n if (customDates) {\n return {\n start: moment(customDates.start).startOf(\"day\").toDate(),\n end: moment(customDates.end).toDate(),\n };\n } else {\n return { start: moment().startOf(\"day\").subtract(7, \"days\").toDate(), end: moment().toDate() };\n }\n};\n\nexport const sortBy = (sortKey) => {\n return {\n type: \"SORT_REPORT\",\n sortKey,\n };\n};\n\nexport const handleStatusCheckboxChange = (filter, isChecked) => {\n return (dispatch) => dispatch(setActiveFilters(filter, isChecked));\n};\n\nexport const handleDateRangeSelect = (range, activeReport, userId, filters, allLeadsOrTasks) => {\n return range === \"custom\"\n ? handleCustomRangeSelect(range)\n : fetchNewData(range, activeReport, userId, filters, null, allLeadsOrTasks);\n};\n\nconst handleCustomRangeSelect = (range) => {\n return (dispatch) =>\n dispatch({\n type: \"IS_CUSTOM_RANGE_ACTIVE\",\n customRangeVisible: true,\n dateRange: range,\n customDates: defaultStartEndDates(),\n });\n};\n\nexport const handleCustomDaySelect = (range) => {\n return (dispatch) => dispatch({ type: \"SET_CUSTOM_RANGE\", range });\n};\n\nexport const setLeadsConstraint = (isAllLeadsInRange) => {\n return (dispatch) => dispatch({ type: \"SET_LEADS_CONSTRAINT\", isAllLeadsInRange });\n};\nexport const setTasksConstraint = (isAllTasksInRange) => {\n return (dispatch) => dispatch({ type: \"SET_TASKS_CONSTRAINT\", isAllTasksInRange });\n};\nexport const setAppointmentsConstraint = (isAllAppointmentsInRange) => {\n return (dispatch) => dispatch({ type: \"SET_APPOINTMENTS_CONSTRAINT\", isAllAppointmentsInRange });\n};\nexport const setIsFetching = (isFetching) => {\n return (dispatch) => dispatch({ type: \"IS_FETCHING\", isFetching });\n};\nexport const setError = (error) => {\n return (dispatch) => dispatch({ type: \"SET_ERROR\", error });\n};\n\nconst filterByReport = (activeReport, range, data, userId = null) => {\n switch (activeReport) {\n case \"teamDashboard\":\n return {};\n case \"agentActivity\":\n return filterByForAgentActivity(range, data);\n case \"agentCalls\":\n return filterByForAgentCalls(range, data);\n case \"agentTexts\":\n return filterByForAgentTexts(range, data);\n case \"leadSource\":\n return filterByForLeadSource(range, userId, data);\n case \"tasks\":\n return filterByForTasks(range, data);\n case \"appointments\":\n return filterByForAppointments(range, data);\n default:\n return filterByForAgentActivity(range, data);\n }\n};\n\nexport const fetchNewData = (\n range,\n activeReport,\n userId = null,\n filters,\n customDates = null,\n allLeadsOrTasks = false,\n) => {\n const isCustomRange = range === \"custom\";\n customDates != null && isCustomRange && localStorage.setItem(\"custom_dates\", JSON.stringify(customDates));\n customDates = JSON.parse(localStorage.getItem(\"custom_dates\"));\n const convertedRange = isCustomRange\n ? `start_date=${moment(customDates.start).format().replace(\"+\", \"%2B\")}&end_date=${moment(customDates.end)\n .format()\n .replace(\"+\", \"%2B\")}`\n : range;\n const val = parseFloat(range);\n const route = ROUTE_OPTIONS[activeReport];\n\n const rangeParam = isCustomRange\n ? convertedRange\n : (val | 0) === val\n ? `days=${convertedRange}`\n : `date_range=${convertedRange}`;\n\n return (dispatch) => {\n dispatch(setError(false));\n if (isCustomRange) {\n dispatch(handleCustomRangeSelect(range));\n } else {\n dispatch({ type: \"IS_CUSTOM_RANGE_ACTIVE\", customRangeVisible: false });\n }\n axios\n .get(`/${route}?${rangeParam}&user_id=${userId}&filters=${filters}&all_in_range=${allLeadsOrTasks}`, {\n headers: { \"Content-Type\": \"application/json\", Accept: \"application/json\" },\n })\n .then((res) => {\n dispatch(filterByReport(activeReport, range, res.data, userId));\n dispatch(setIsFetching(false));\n dispatch(setError(false));\n })\n .catch((err) => {\n console.log(err);\n dispatch(setIsFetching(false));\n dispatch(setError(true));\n });\n };\n};\n","import { connect } from \"react-redux\";\nimport Reports from \"../components/Reports\";\nimport * as actions from \"../actions/reportActions\";\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({ ...state.reports });\nexport default connect(mapStateToProps, actions)(Reports);\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport ReportsContainer from \"../containers/ReportsContainer\";\n\nconst ReportsApp = ({}) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n\nexport default ReportsApp;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Provider, useDispatch } from \"react-redux\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport { setCallParams } from \"../reducers/dialerReducer/dialerReducer\";\n\nconst DialerButton = ({ leadUuid }) => {\n const dispatch = useDispatch();\n return (\n dispatch(setCallParams({ leadUuids: [leadUuid] }))}>\n \n \n );\n};\n\nDialerButton.propTypes = {\n leadUuid: PropTypes.string,\n};\n\nDialerButton.defaultProps = {\n leadUuid: null,\n};\n\nconst SingleDialerApp = ({ leadUuid }) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n\nSingleDialerApp.propTypes = {\n leadUuid: PropTypes.string,\n};\n\nSingleDialerApp.defaultProps = {\n leadUuid: null,\n};\n\nexport default SingleDialerApp;\n","import React from \"react\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport { bool, func } from \"prop-types\";\n\nconst UnAssignModal = ({ show, onHideHandlr, onSubmitHandlr }) => (\n \n \n \n
Are you sure you want to do this?
\n
\n Un-assigning this Brivity number will close and archive all text conversations that include this\n number, including group texts.{\" \"}\n
\n
\n Text message history will not be visible on contact detail pages or in the message center. Timeline\n events will still be visible.\n
\n
\n If this number is reassigned, texting any lead will start a new conversation thread and may send an\n opt-out message.\n
\n
\n \n \n \n \n \n);\n\nexport default UnAssignModal;\n\nUnAssignModal.propTypes = {\n show: bool,\n onHideHandlr: func.isRequired,\n onSubmitHandlr: func.isRequired,\n};\n\nUnAssignModal.defaultProps = {\n show: false,\n};\n","/* eslint-disable class-methods-use-this */\nimport React from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport Modal from \"@shared/v2/Modal\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport UnAssignModal from \"./UnAssignModal\";\n\nexport default class TwilioManageNumbers extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n subaccountSid: props.subaccountSid,\n loading: true,\n twilioNumbers: [],\n unassignedUsers: [],\n trackingNumbers: [],\n successAlerts: [],\n errors: [],\n assignModalVisible: false,\n numberToAssign: null,\n assignTo: \"user\",\n userToAssign: \"\",\n trackingNumberToAssign: \"\",\n moveAccountModalVisible: false,\n moveAccountUserEmail: \"\",\n numberToMove: null,\n userToMoveTo: null,\n moveNumberErrors: [],\n setUnAssignModalShow: false,\n unAssignedModalCb: () => {},\n };\n }\n\n componentDidMount() {\n const { subaccountSid } = this.state;\n const { developerRole } = this.props;\n if (subaccountSid && developerRole) {\n axios.get(\"/support/twilio/numbers\").then((res) => {\n this.setState({\n loading: false,\n twilioNumbers: res.data.twilio_numbers,\n trackingNumbers: res.data.tracking_numbers.map((t) => ({\n label: t.name,\n value: t.id,\n meta: t,\n })),\n unassignedUsers: res.data.unassigned_users.map((u) => ({\n label: `${u.name} - ${u.email}`,\n value: u.id,\n })),\n });\n });\n }\n }\n\n assignedNumbers = () => {\n const { twilioNumbers, trackingNumbers } = this.state;\n return (\n
\n
\n

\n Assigned Twilio Numbers\n

\n \n \n \n \n \n \n \n \n \n \n \n {twilioNumbers\n .filter((n) => n.user_id !== null)\n .map((n) => (\n \n \n \n \n \n \n \n ))}\n {trackingNumbers.map((n) => (\n \n \n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n ))}\n \n
Phone NumberSIDNameEmailActions
{n.phone_number}{n.sid}{n.name}{n.email}\n {n.toll_free ? (\n Toll-Free\n ) : (\n \n this.setState({\n setUnAssignModalShow: true,\n unAssignedModalCb: () => this.unassignNumber(e, n.user_id),\n })\n }\n >\n Un-assign\n \n )}\n
{n.meta.number}\n {n.meta.name}\n \n
\n
\n );\n };\n\n unassignedNumbers = () => {\n const { twilioNumbers } = this.state;\n return (\n
\n

\n Unassigned Twilio Numbers\n

\n \n \n \n \n \n \n \n \n \n \n {twilioNumbers\n .filter((n) => n.user_id === null)\n .map((n) => (\n \n \n \n \n \n \n ))}\n \n
Phone NumberSIDUnassigned onActions
{n.phone_number}{n.sid}{n.unassigned_at}\n {n.toll_free ? (\n Toll-Free\n ) : (\n
\n \n \n
\n )}\n
\n
\n );\n };\n\n successAlerts = () => {\n const { successAlerts } = this.state;\n return (\n
\n {successAlerts.map((e) => (\n
\n {e}\n
\n ))}\n
\n );\n };\n\n errorAlerts = () => {\n const { errors } = this.state;\n return (\n
\n {errors.map((e) => (\n
\n {e}\n
\n ))}\n
\n );\n };\n\n loadingState = () => (\n
\n
\n

\n Loading Twilio Numbers...\n

\n
\n
\n );\n\n unassignNumber = (e, userId) => {\n const { successAlerts, errors } = this.state;\n e.preventDefault();\n this.setState({ loading: true }, () => {\n axios\n .post(\"/support/twilio/unassign_number\", {\n user_id: userId,\n // eslint-disable-next-line no-undef\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n this.setState({\n loading: false,\n twilioNumbers: res.data.twilio_numbers,\n unassignedUsers: res.data.unassigned_users,\n successAlerts: [...successAlerts, res.data.success],\n });\n })\n .catch(() => {\n this.setState({\n loading: false,\n errors: [...errors, \"There was an error un-assigning the number.\"],\n });\n });\n });\n };\n\n showAssignModal = (number) => {\n this.setState({ assignModalVisible: true, numberToAssign: number });\n };\n\n selectUser = () => {\n const { unassignedUsers, numberToAssign, userToAssign } = this.state;\n return (\n <>\n u.value === userToAssign)}\n onChange={(option) => this.setState({ userToAssign: option.value })}\n />\n {\n this.assignNumber(numberToAssign, userToAssign);\n }}\n disabled={userToAssign === \"\"}\n >\n Assign Number\n \n \n );\n };\n\n selectTrackingNumber = () => {\n const { trackingNumbers, numberToAssign, trackingNumberToAssign } = this.state;\n return (\n <>\n t.value === trackingNumberToAssign)}\n onChange={(option) => this.setState({ trackingNumberToAssign: option.value })}\n />\n {\n this.assignNumberToTrackingNumber(numberToAssign, trackingNumberToAssign);\n }}\n disabled={trackingNumberToAssign === \"\"}\n >\n Assign Number\n \n \n );\n };\n\n assignModal = () => {\n const { assignModalVisible, assignTo, numberToAssign } = this.state;\n return (\n this.setState({ assignModalVisible: false, numberToAssign: null, userToAssign: \"\" })}\n >\n \n \n \n Number to assign: \n {numberToAssign?.phone_number}\n \n
\n \n
\n this.setState({ assignTo: \"user\" })}\n />\n this.setState({ assignTo: \"trackingNumber\" })}\n />\n
\n
\n {assignTo === \"user\" ? this.selectUser() : this.selectTrackingNumber()}\n
\n \n );\n };\n\n assignNumber = (number, userId) => {\n const { errors, successAlerts } = this.state;\n this.setState({ loading: true, assignModalVisible: false }, () => {\n axios\n .post(\"/support/twilio/assign_number\", {\n phone_number: number.phone_number,\n user_id: userId,\n // eslint-disable-next-line no-undef\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n this.setState({\n loading: false,\n twilioNumbers: res.data.twilio_numbers,\n trackingNumbers: res.data.tracking_numbers,\n unassignedUsers: res.data.unassigned_users,\n successAlerts: [...successAlerts, res.data.success],\n });\n })\n .catch((err) => {\n this.setState({\n loading: false,\n errors: [...errors, err.response.data.errors || \"There was an error assigning the number\"],\n });\n });\n });\n };\n\n assignNumberToTrackingNumber = (number, trackingNumberId) => {\n const { errors, successAlerts } = this.state;\n this.setState({ loading: true, assignModalVisible: false }, () => {\n axios\n .post(\"/support/twilio/assign_number_to_tracking_number\", {\n phone_number: number.phone_number,\n tracking_number_id: trackingNumberId,\n // eslint-disable-next-line no-undef\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n this.setState({\n loading: false,\n twilioNumbers: res.data.twilio_numbers,\n trackingNumbers: res.data.tracking_numbers,\n unassignedUsers: res.data.unassigned_users,\n successAlerts: [...successAlerts, res.data.success],\n });\n })\n .catch((err) => {\n this.setState({\n loading: false,\n errors: [...errors, err.response.data.errors || \"There was an error assigning the number\"],\n });\n });\n });\n };\n\n showMoveAccountModal = (number) => {\n this.setState({ moveAccountModalVisible: true, numberToMove: number });\n };\n\n moveAccountModal = () => {\n const { moveAccountModalVisible, moveAccountUserEmail, numberToMove, userToMoveTo, moveNumberErrors } =\n this.state;\n return (\n \n this.setState({ moveAccountModalVisible: false, numberToMove: null, userToMoveTo: null })\n }\n >\n \n \n {moveNumberErrors.map((e) => (\n
\n {e}\n
\n ))}\n Number to move: \n {numberToMove && numberToMove.phone_number}\n
\n

The destination user cannot have a currently assigned Twilio number.

\n
\n {!userToMoveTo && (\n this.setState({ moveAccountUserEmail: e.target.value })}\n />\n )}\n {userToMoveTo && (\n
\n

\n Confirm Destination User:\n

\n

\n Name: \n {userToMoveTo.user_name}\n

\n

\n Email: \n {userToMoveTo.user_email}\n

\n

\n Account: \n {userToMoveTo.account_name}\n

\n

\n Account Id: \n {userToMoveTo.account_id}\n

\n

\n Subaccount Sid: \n {userToMoveTo.subaccount_sid}\n

\n
\n )}\n
\n
\n {!userToMoveTo && (\n \n )}\n {userToMoveTo && (\n \n )}\n
\n \n );\n };\n\n moveNumber = (confirm) => {\n const { numberToMove, successAlerts, moveAccountUserEmail, errors } = this.state;\n if (confirm) {\n this.setState({ loading: true, moveAccountModalVisible: false }, () => {\n axios\n .post(\"/support/twilio/move_number_account\", {\n phone_number: numberToMove.phone_number,\n user_email: moveAccountUserEmail,\n confirm: \"true\",\n // eslint-disable-next-line no-undef\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n this.setState({\n loading: false,\n twilioNumbers: res.data.twilio_numbers,\n trackingNumbers: res.data.tracking_numbers,\n unassignedUsers: res.data.unassigned_users,\n successAlerts: [...successAlerts, res.data.success],\n moveAccountUserEmail: \"\",\n numberToMove: null,\n userToMoveTo: null,\n moveNumberErrors: [],\n });\n })\n .catch((err) => {\n this.setState({\n loading: false,\n errors: [...errors, err.response?.data?.errors || \"There was an error moving the number\"],\n });\n });\n });\n } else {\n axios\n .post(\"/support/twilio/move_number_account\", {\n phone_number: numberToMove.phone_number,\n user_email: moveAccountUserEmail,\n // eslint-disable-next-line no-undef\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n this.setState({\n userToMoveTo: res.data,\n moveNumberErrors: [],\n });\n })\n .catch((err) => {\n this.setState({ moveNumberErrors: err.response?.data?.errors || [\"An error occured\"] });\n });\n }\n };\n\n noSubaccountMessage = () => (\n
\n
\n

Provision a subaccount before managing numbers for this account

\n
\n
\n );\n\n developerOnlyMessage = () => (\n
\n
\n

The Twilio support tool is limited to superusers with developer access

\n
\n
\n );\n\n render() {\n const { loading, subaccountSid, setUnAssignModalShow, unAssignedModalCb } = this.state;\n const { developerRole } = this.props;\n return (\n <>\n this.setState({ setUnAssignModalShow: false })}\n onSubmitHandlr={() => {\n unAssignedModalCb();\n this.setState({ setUnAssignModalShow: false });\n }}\n />\n {!developerRole && this.developerOnlyMessage()}\n {!subaccountSid && this.noSubaccountMessage()}\n {developerRole && subaccountSid && loading && this.loadingState()}\n {developerRole && subaccountSid && !loading && this.successAlerts()}\n {developerRole && subaccountSid && !loading && this.errorAlerts()}\n {developerRole && subaccountSid && !loading && this.assignedNumbers()}\n {developerRole && subaccountSid && !loading &&
}\n {developerRole && subaccountSid && !loading && this.unassignedNumbers()}\n {developerRole && subaccountSid && this.assignModal()}\n {developerRole && subaccountSid && this.moveAccountModal()}\n \n );\n }\n}\n\nTwilioManageNumbers.propTypes = {\n subaccountSid: PropTypes.string,\n developerRole: PropTypes.bool,\n};\n\nTwilioManageNumbers.defaultProps = {\n subaccountSid: \"\",\n developerRole: false,\n};\n","export default (user) => `${user.person?.first_name} ${user.person?.last_name}`;\n","import React, { useState, useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"../../shared/v2/Dropdown/Dropdown\";\nimport Button from \"../../shared/v2/Button\";\nimport userName from \"./userName\";\n\nconst TollFreeAssignForm = ({ users, tollFreeNumbers, assignPhone, buyPhone }) => {\n const [selectedUser, setSelectedUser] = useState(null);\n const [selectedTollFreeNumber, setSelectedTollFreeNumber] = useState(null);\n\n const userOptions = useMemo(\n () =>\n users\n .map((user) => ({ value: user.id, label: userName(user) }))\n .sort((a, b) => a.label.localeCompare(b.label)),\n [users],\n );\n\n return (\n
\n
\n
\n setSelectedUser(option)}\n />\n
\n
\n\n
\n
\n ({ value: t.id, label: t.toll_free_phone_number }))}\n value={selectedTollFreeNumber}\n onChange={(option) => setSelectedTollFreeNumber(option)}\n />\n
\n
\n\n
\n assignPhone(selectedUser.value, selectedTollFreeNumber.value)}\n >\n Assign\n \n
\n\n
\n \n
\n
\n );\n};\n\nTollFreeAssignForm.propTypes = {\n users: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n tollFreeNumbers: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n assignPhone: PropTypes.func.isRequired,\n buyPhone: PropTypes.func.isRequired,\n};\n\nexport default TollFreeAssignForm;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../shared/v2/Button\";\nimport { Table, TBody, TD, THead, TR, TH } from \"../../Reports/components/BusinessDashboard/Table/Table\";\nimport userName from \"./userName\";\n\nconst TollFreeTable = ({ tollFreeNumbers, users, unassignPhone }) => {\n const findUser = (userId) => users.find((u) => u.id === userId);\n\n return (\n
\n

Purchased Toll-Free Numbers

\n\n \n \n \n \n \n \n \n \n \n \n \n {tollFreeNumbers.map((tollFreeNumber) => {\n const user = findUser(tollFreeNumber.user_id);\n\n return (\n \n \n \n \n \n \n \n );\n })}\n \n
Toll Free NumberUserPrevious Phone NumberAssigned atAssign
\n {tollFreeNumber.toll_free_phone_number}\n \n {user && userName(user)}\n \n {tollFreeNumber.previous_user_local_phone_number}\n \n {tollFreeNumber.assigned_at}\n \n {user && (\n \n )}\n
\n
\n );\n};\n\nTollFreeTable.propTypes = {\n users: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n tollFreeNumbers: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n unassignPhone: PropTypes.func.isRequired,\n};\n\nexport default TollFreeTable;\n","import React, { useState } from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\nimport TollFreeAssignForm from \"./TollFreeAssignForm\";\nimport TollFreeTable from \"./TollFreeTable\";\n\nconst TwilioTollFree = ({ users, tollFreeNumbers, account }) => {\n const [usersState, setUsersState] = useState(users);\n const [tollFreeNumbersState, setTollFreeNumbersState] = useState(tollFreeNumbers);\n\n const unassignedTollFreeNumbers = tollFreeNumbersState.filter((t) => t.user_id === null);\n const usersWithoutTollFreeNumbers = usersState.filter(\n (u) => !tollFreeNumbersState.find((t) => t.user_id === u.id),\n );\n\n const assignPhone = (userId, tollFreeNumberId) => {\n axios\n .post(\"/toll_free/assign\", {\n account_id: account.id,\n user_id: userId,\n toll_free_number_id: tollFreeNumberId,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n setUsersState(response.data.users);\n setTollFreeNumbersState(response.data.toll_free_numbers);\n })\n .catch(() => {});\n };\n\n const unassignPhone = (tollFreeNumberId) => {\n axios\n .post(\"/toll_free/unassign\", {\n account_id: account.id,\n toll_free_number_id: tollFreeNumberId,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n setUsersState(response.data.users);\n setTollFreeNumbersState(response.data.toll_free_numbers);\n })\n .catch(() => {});\n };\n\n const buyPhone = () => {\n axios\n .post(\"/toll_free/buy_phone\", {\n account_id: account.id,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((response) => {\n setUsersState(response.data.users);\n setTollFreeNumbersState(response.data.toll_free_numbers);\n })\n .catch(() => {});\n };\n\n return (\n
\n
\n
\n

Toll-Free

\n\n \n\n \n
\n
\n
\n );\n};\n\nTwilioTollFree.propTypes = {\n users: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n tollFreeNumbers: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n account: PropTypes.shape().isRequired,\n};\n\nexport default TwilioTollFree;\n","import React from \"react\";\nimport axios from \"axios\";\n\nexport default class TwilioSubaccountSid extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n loading: false,\n // eslint-disable-next-line react/prop-types\n subaccountSid: props.subaccountSid,\n };\n }\n\n handleProvisionSubaccount = (e) => {\n e.preventDefault();\n this.setState({ loading: true }, () => {\n axios\n .post(\"/support/twilio/provision_subaccount\")\n .then((res) => {\n this.setState({\n subaccountSid: res.data.twilio_sid,\n loading: false,\n });\n })\n .catch(() => {\n this.setState({ loading: false });\n // eslint-disable-next-line no-alert\n alert(`There was an error provisioning the subaccount`);\n });\n });\n };\n\n provisionSubaccountLink = () => (\n // eslint-disable-next-line jsx-a11y/anchor-is-valid\n \n Provision Subaccount\n \n );\n\n render() {\n const { subaccountSid, loading } = this.state;\n return (\n <>\n {subaccountSid}\n {loading && (\n
\n Provisioning Subaccount...\n
\n )}\n {!subaccountSid && !loading && this.provisionSubaccountLink()}\n \n );\n }\n}\n","import React from \"react\";\n\nconst ToggleableButton = ({ text, onClick, isSelected, className = \"\", includeMargins = true }) => {\n const colors = isSelected ? \"tw-bg-gray-75 tw-border-transparent\" : \"\";\n const textStyle = isSelected ? \"tw-text-white\" : \"tw-text-gray-75\";\n const margins = includeMargins ? \"tw-mr-4px \" : \"\";\n\n return (\n \n {text}\n \n );\n};\n\nexport default ToggleableButton;\n","export const getStatusValues = (status) => {\n switch (status) {\n case 1:\n case \"Active\":\n return { color: \"tw-text-semantic-green-100\", backgroundColor: \"tw-bg-semantic-green-100\", text: \"Active\" };\n case 2:\n case \"Pending\":\n return { color: \"tw-text-semantic-yellow-100\", backgroundColor: \"tw-bg-semantic-yellow-100\", text: \"Pending\" };\n case 3:\n case \"Active Under Contract\":\n case \"Active With Contingency\":\n return { color: \"tw-text-semantic-orange-100\", backgroundColor: \"tw-bg-semantic-orange-100\", text: \"Contingent\" };\n case 4:\n case \"Sold\":\n case \"Closed\":\n return { color: \"tw-text-semantic-blue-110\", backgroundColor: \"tw-bg-brand-success\", text: \"Sold\" };\n default:\n return { color: \"tw-text-gray-99\", backgroundColor: \"tw-bg-gray-99\", text: \"Off Market\" };\n }\n};\n","import React from \"react\";\n\nimport { getStatusValues } from \"../styleHelpers\";\n\nconst StatusOptions = ({ availableStatuses, statuses, onToggle }) => {\n return (\n
\n {availableStatuses.map((status) => (\n \n ))}\n
\n );\n};\n\nexport default StatusOptions;\n\nconst Status = ({ status, isSelected, onToggle }) => {\n const {backgroundColor, text} = getStatusValues(status);\n const colors = isSelected ? `${backgroundColor} tw-border-transparent` : \"tw-border-gray-15\";\n const textStyle = isSelected ? \"tw-text-white\" : \"tw-text-gray-75\";\n\n return (\n onToggle(status)}\n className={`tw-flex tw-justify-center tw-items-center tw-cursor-pointer tw-py-4px tw-px-12px tw-mr-4px tw-border tw-border-solid tw-rounded-full ${colors}`}\n >\n {text}\n \n );\n};\n","import React from \"react\";\n\nimport { formatPrice } from \"../helpers\";\nimport TextInput from \"@shared/v2/TextInput\";\n\nconst PriceInput = ({ name, placeholder, onChange, value }) => {\n const formattedValue = formatPrice(value) || \"\";\n\n const cleanValue = (e) => {\n const cleaned = e.target?.value.replace(/\\D/g, \"\");\n onChange(cleaned);\n };\n\n return (\n \n );\n};\n\nexport default PriceInput;\n","import FilterPill from \"@shared/v2/FilterPill\";\nimport React from \"react\";\n\nconst PropertyTypeOptions = ({ propertyTypes, availablePropertyTypes, onToggle }) => {\n return (\n
\n {availablePropertyTypes.map((propertyType) => (\n onToggle(propertyType)}\n selected={propertyTypes.includes(propertyType)}\n >\n {propertyType}\n \n ))}\n
\n );\n};\n\nexport default PropertyTypeOptions;\n","import React from \"react\";\n\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nconst FeatureSection = ({header, options, filters, toggleFeatureField}) => {\n return (\n
\n {header}\n
\n {options.map(({label, search_category, search_value}) => (\n \n s.term === search_value))}\n onChange={() => toggleFeatureField(search_category, search_value)}\n label={label}\n />\n
\n ))}\n
\n \n\n );\n};\n\nexport default FeatureSection;\n","import React from \"react\";\n\nconst Button = ({ size, color, text, classNameExtra, disabled, ...props }) => {\n let className =\n \"tw-border-0 tw-cursor-pointer tw-tracking-normal tw-text-center tw-uppercase tw-text-none tw-rounded-666px\";\n switch (size) {\n case \"large\":\n className += \" tw-text-14px tw-py-8px tw-px-20px tw-h-36px tw-font-bold\";\n break;\n default:\n className += \" tw-text-11px tw-font-bold tw-py-4px tw-px-8px\";\n break;\n }\n\n switch (color) {\n case \"blue\":\n className += ` tw-text-white ${disabled === \"disabled\" ? \"tw-bg-blue-40\" : \"tw-bg-teal\"}`;\n break;\n case \"clear\":\n className += \" tw-text-teal tw-bg-transparent\";\n break;\n case \"gray\":\n default:\n className += \" tw-text-gray-75 tw-bg-gray-10\";\n break;\n }\n\n className += ` ${classNameExtra || \"\"}`;\n\n return (\n \n );\n};\n\nexport default Button;\n","import React, { useState } from \"react\";\n\nimport { yearOptions, dropDownOptions, lotSizeOptions } from \"../../../shared/ListingAlertHelpers\";\nimport ToggleableButton from \"../ToggleableButton\";\nimport StatusOptions from \"./StatusOptions\";\nimport PriceInput from \"./PriceInput\";\nimport PropertyTypeOptions from \"./PropertyTypeOptions\";\nimport FeatureSection from \"./FeatureSection\";\nimport { ExistingFeatureFields } from \"../helpers\";\nimport Modal from \"@shared/v2/Modal\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Button from \"@shared/v2/Button\";\nimport ButtonCustom from \"../Button\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport FilterPill from \"@shared/v2/FilterPill\";\n\nconst Filters = ({ existingFilters, onApply, onClose, propertyTypes, featureFields, availableStatuses }) => {\n const [filters, setFilters] = useState(mergeFilters(existingFilters));\n\n const onChange = (field, value) => {\n updateFilters(field, value || \"\");\n };\n\n const toggleListingTypes = (listingType) => {\n updateFilters(listingType, !filters[listingType]);\n };\n\n // Assumes an array of primitives\n const onToggle = (field, value) => {\n const selected = filters[field]?.includes(value)\n ? filters[field].filter((v) => v !== value)\n : [...filters[field], value];\n\n updateFilters(field, selected);\n };\n\n const toggleFeatureField = (searchCategory, searchValue) => {\n const isSelected = filters[searchCategory]?.fields?.some(s => s.term === searchValue);\n const fields = isSelected\n ? filters[searchCategory].fields.filter(s => s.term !== searchValue)\n : [...(filters[searchCategory]?.fields || []), { term: searchValue, matchAny: false, excludeTerm: false }];\n\n updateFilters(searchCategory, fields.length ? { fields } : \"\");\n };\n\n const updateFilters = (field, value) => {\n setFilters(previousFilters => ({\n ...previousFilters,\n [field]: value\n }));\n };\n\n const resetFilters = (e) => {\n setFilters(createDefaultFilters());\n };\n\n const applyFilters = (e) => {\n onApply(filters);\n onClose();\n };\n\n return (\n \n \n \n \n \n \n \n Price\n \n \n onChange(\"priceMin\", e)}\n value={filters.priceMin}\n />\n onChange(\"priceMax\", e)}\n value={filters.priceMax}\n />\n \n \n \n \n \n \n \n Listing Types\n \n \n toggleListingTypes(\"showTeamListings\")} selected={filters.showTeamListings}>\n Company Listings\n \n toggleListingTypes(\"showOnlyNew\")} selected={filters.showOnlyNew}>\n New Listings\n \n \n \n \n \n \n \n Listing Status\n \n onToggle(\"statuses\", s)}\n />\n \n \n \n \n \n Property Types\n \n onToggle(\"propertyTypes\", s)}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {!!featureFields && (\n \n {Object.entries(featureFields).map(([header, options]) => (\n \n ))}\n \n )}\n \n \n \n \n \n Cancel\n \n \n Clear All\n \n \n Apply\n \n \n \n \n );\n};\n\nexport default Filters;\n\nconst mergeFilters = (existingFilters = {}) => ({ ...createDefaultFilters(), ...existingFilters });\n\nconst createDefaultFilters = () => ({\n priceMin: \"\",\n priceMax: \"\",\n sqFtMin: \"\",\n sqFtMax: \"\",\n showOnlyNew: false,\n showTeamListings: false,\n statuses: [],\n propertyTypes: [],\n bedsMin: \"\",\n bedsMax: \"\",\n bathsMin: \"\",\n bathsMax: \"\",\n lotSizeMin: \"\",\n lotSizeMax: \"\",\n yearMin: \"\",\n yearMax: \"\",\n garageMin: \"\",\n garageMax: \"\",\n storiesMin: \"\",\n storiesMax: \"\",\n ...(ExistingFeatureFields.reduce((acc, curr) => ({...acc, [curr]: \"\"}), {}))\n});\n\nconst FilterDropdownSection = ({\n label,\n name,\n onUpdate,\n minValue,\n maxValue,\n minOptions,\n maxOptions,\n className,\n includeMax = true,\n}) => (\n \n \n {label}\n \n \n
\n onUpdate(`${name}Min`, opt.value)}\n value={minOptions.find(m => m.value === minValue)}\n variant=\"outlined\"\n />\n
\n {includeMax && (\n
\n onUpdate(`${name}Max`, opt.value)}\n value={maxOptions.find(m => m.value === maxValue)}\n variant=\"outlined\"\n />\n
\n )}\n
\n
\n);\n\nconst Row = ({ children, className = \"\", ...props }) => (\n
\n {children}\n
\n);\n\nconst Column = ({ children, className = \"\", ...props }) => (\n
\n {children}\n
\n);\n\nconst squareFeetOptions = (firstOption) => {\n const formatter = Intl.NumberFormat();\n\n const options = [\n \"600\",\n \"800\",\n \"1000\",\n \"1200\",\n \"1400\",\n \"1600\",\n \"1800\",\n \"2000\",\n \"2250\",\n \"2500\",\n \"2750\",\n \"3000\",\n \"3500\",\n \"4000\",\n \"4500\",\n \"5000\",\n \"6000\",\n \"7000\",\n \"8000\",\n \"9000\",\n \"10000\",\n ].map((val) => ({ label: formatter.format(val), value: val }));\n\n return [{ label: firstOption, value: \"\" }, ...options];\n};\n","import React from \"react\";\n\nimport { getStatusValues } from \"./styleHelpers\";\n\nconst ListingStatus = ({ status, includeIcon = true }) => {\n const { text, color, backgroundColor } = getStatusValues(status);\n\n return (\n
\n {includeIcon &&
}\n \n {text}\n \n
\n );\n};\n\nexport default ListingStatus;\n","import React, { useState, useEffect } from \"react\";\n\nconst ListingImages = ({ images, size, imageToMoveTo, scrollToImage }) => {\n const [imageIndex, setImageIndex] = useState(0);\n const [mouseInArea, setMouseInArea] = useState(false);\n\n const cardValues = SizeValues[size || \"medium\"];\n const imgUrl = size === \"large\" ? images[imageIndex].largeUrl : images[imageIndex].url;\n const lastImage = images.length - 1;\n\n const nextImage = (e) => {\n e.stopPropagation();\n const nextIndex = imageIndex === lastImage ? 0 : imageIndex + 1;\n\n setImageIndex(nextIndex);\n };\n\n const previousImage = (e) => {\n e.stopPropagation();\n const previousIndex = imageIndex === 0 ? lastImage : imageIndex - 1;\n\n setImageIndex(previousIndex);\n };\n\n useEffect(() => {\n if (scrollToImage && imageToMoveTo !== imageIndex) {\n setImageIndex(imageToMoveTo);\n }\n }, [imageToMoveTo]);\n\n useEffect(() => {\n if (scrollToImage && imageIndex !== imageToMoveTo) {\n scrollToImage(imageIndex);\n }\n }, [imageIndex]);\n\n return (\n setMouseInArea(true)}\n onMouseLeave={() => setMouseInArea(false)}\n >\n
\n \n \n \n
\n {`${imageIndex + 1} / ${images.length}`}\n
\n
\n \n );\n};\n\nexport default ListingImages;\n\nconst ArrowButton = ({ cardValues, direction, mouseInArea, onClick }) => {\n const xSpacing = direction === \"right\" ? \"tw-right-5\" : \"tw-left-5\";\n const icon = direction === \"right\" ? \"fa-chevron-right\" : \"fa-chevron-left\";\n const bubbleStyle = { fontSize: `${cardValues.changeIconSize}px` };\n\n return (\n \n \n \n \n \n );\n};\n\nconst Loading = ({ url, height, width }) => {\n const [loaded, setLoaded] = useState(false);\n\n const loadingStyle = {\n height,\n width,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n };\n\n return (\n <>\n {loaded ? null : (\n
\n \n
\n )}\n setLoaded(true)}\n />\n \n );\n};\n\nconst SizeValues = {\n small: {\n imgHeight: 143,\n imgWidth: 235,\n changeBubbleSize: \"tw-h-24px tw-w-24px\",\n changeIconSize: 8,\n },\n medium: {\n imgHeight: 194,\n imgWidth: 320,\n changeBubbleSize: \"tw-h-32px tw-w-32px\",\n changeIconSize: 10,\n },\n large: {\n imgHeight: 353,\n imgWidth: 498,\n changeBubbleSize: \"tw-h-32px tw-w-32px\",\n changeIconSize: 10,\n },\n};\n","import React, { useState } from \"react\";\nimport { take } from \"lodash\";\n\nimport Button from \"../Button\";\n\nconst BuyerMatches = ({buyerMatches: {matches, linkToIndex, count, countText}, listingId, sendToLead}) => {\n const [collapsed, setCollapsed] = useState(true);\n\n const shownWhileCollapsed = 3;\n const shownWhileExpanded = 10;\n const matchesToShow = take(matches, collapsed ? shownWhileCollapsed : shownWhileExpanded);\n\n return (\n
\n
\n Buyer Matches\n \n
\n SEE ALL ({countText}) MATCHES\n \n
\n \n
\n {matchesToShow.map((match, i) => (\n
0 ? \"tw-mt-16px\" : \"\"}`}>\n
\n {match.initials}\n
\n {match.fullName}\n sendToLead(match, listingId)}\n >\n \n SHARE\n \n
\n ))}\n {count > shownWhileCollapsed && (\n
setCollapsed(!collapsed)}>\n \n SHOW {collapsed ? \"MORE\" : \"LESS\"}\n
\n )}\n
\n );\n};\n\nexport default BuyerMatches;\n","import React, { useState, useEffect, useRef } from \"react\";\n\nimport { ShareFromSquareSolidV6 } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\n\nimport ListingStatus from \"../ListingStatus\";\nimport ListingImages from \"../ListingImages\";\nimport BuyerMatches from \"./BuyerMatches\";\nimport { formatNumber, formatValue } from \"../helpers\";\n\nconst ListingDetails = ({\n listing,\n setSharedListing,\n buyerMatches,\n sendToLead,\n onShowAgentDetails,\n agentDetailsEnabled,\n onClose,\n}) => {\n return (\n
\n \n setSharedListing(listing)}\n onShowAgentDetails={onShowAgentDetails}\n agentDetailsEnabled={agentDetailsEnabled}\n onClose={onClose}\n />\n \n {listing.photos && listing.photos.length && (\n \n \n \n )}\n \n \n

{listing.remarks}

\n
\n \n {buyerMatches?.matches?.length > 0 && (\n <>\n \n \n \n \n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {listing.lat && listing.lng && (\n \n \n \n \n \n \n )}\n
\n );\n};\n\nexport default ListingDetails;\n\nconst Row = ({ children, className = \"\", ...props }) => {\n return (\n
\n {children}\n
\n );\n};\n\nconst Column = ({ children, reverse, className = \"\", ...props }) => {\n return (\n \n {children}\n \n );\n};\n\nconst ListingHeader = ({ listing, shareListing, onShowAgentDetails, agentDetailsEnabled, onClose }) => {\n return (\n <>\n \n
\n {`${listing.streetAddress}, ${listing.city} ${listing.state} ${listing.postalCode}`}\n shareListing(listing.blossorId)} size=\"small\">\n \n \n
\n
\n \n \n {`${formatValue(\n listing.price,\n true,\n )}`}\n \n \n \n \n Days on Site {listing.daysOnSite}\n \n \n \n Listed by{\" \"}\n {\n onClose();\n onShowAgentDetails(listing);\n }}\n >\n {formatValue(listing.listAgentName)}\n \n \n \n \n \n \n \n {`${formatValue(\n listing.bedrooms,\n )}`}\n Beds\n \n \n {`${formatValue(\n listing.bathsTotalDecimal,\n )}`}\n Baths\n \n \n {`${formatNumber(\n listing.squareFeet,\n )}`}\n Sq Ft\n \n \n \n \n \n );\n};\n\nconst Images = ({ images }) => {\n const [imageIndex, setImageIndex] = useState(0);\n\n const onSelectImage = (index) => {\n setImageIndex(index);\n };\n\n const scrollToImage = (index) => {\n setImageIndex(index);\n };\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst SecondaryImages = ({ images, imageIndex, onSelectImage }) => {\n const imageRefs = useRef({});\n\n useEffect(() => {\n if (imageRefs.current[imageIndex]) {\n imageRefs.current[imageIndex].scrollIntoView({\n behavior: \"smooth\",\n block: \"nearest\",\n });\n }\n }, [imageIndex]);\n\n return (\n
\n {images.map(({ url }, i) => (\n (imageRefs.current[i] = e)}\n src={url}\n width={165}\n height={100}\n onClick={() => onSelectImage(i)}\n />\n ))}\n
\n );\n};\n\nconst Location = ({ lat, lng, address }) => {\n useEffect(() => {\n const latLng = { lat, lng };\n const mapSettings = {\n zoom: 11,\n center: latLng,\n mapTypeId: \"roadmap\",\n panControl: false,\n disableDefaultUI: true,\n };\n\n const google = window.google;\n const map = new google.maps.Map(document.getElementById(\"listing-map\"), mapSettings);\n new google.maps.Marker({\n position: latLng,\n map,\n title: address,\n });\n }, []);\n\n return
;\n};\n\nconst HorizontalDivider = () => {\n return (\n \n \n \n );\n};\n\nconst SectionTitle = ({ text }) => {\n return {text};\n};\n\nconst DetailItem = ({ field, value, asPrice = false, verticalMargin = \"tw-my-12px\" }) => {\n return (\n
\n {field}\n {formatValue(value, asPrice)}\n
\n );\n};\n","import React from \"react\";\n\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport Flyout from \"@shared/v2/Flyout\";\n\nimport ListingDetails from \"./ListingDetails\";\nimport \"../details.scss\";\n\nconst ListingDetailsModal = ({\n listing,\n buyerMatches,\n isSelected,\n numberSelected,\n selectedLimit,\n onToggleShare,\n sendToLead,\n maxListingsSelected,\n setSharedListing,\n onClose,\n openAgentDetailsModal,\n agentDetailsEnabled,\n}) => (\n \n
\n \n onToggleShare(listing)}\n disabled={maxListingsSelected && !isSelected}\n label={` ${numberSelected}/${selectedLimit} selected`}\n />\n \n\n \n \n \n
\n
\n);\n\nexport default ListingDetailsModal;\n","import React from \"react\";\n\nconst AgentListingFilters = ({availableStatuses, selectedStatuses, onToggleStatus}) => {\n return (\n
\n Filter listings:\n {StatusOrder.filter(so => availableStatuses[so]).map((status) => {\n return (\n \n )\n })}\n
\n );\n};\n\nexport default AgentListingFilters;\n\n// Use this to preserve the order of the filters\nconst StatusOrder = [\n \"Active\",\n \"Pending\",\n \"Contingent\",\n \"Sold\",\n \"Off Market\"\n];\n\nconst FilterButton = ({status, selectedStatuses, statusCount, onToggle}) => {\n const active = selectedStatuses.includes(status) ? \"active\": \"inactive\";\n\n let textColor = FilterColor[status][active].textColor;\n let backgroundColor = FilterColor[status][active].bgColor;\n let borderColor = FilterColor[status][active].borderColor;\n let iconColor = FilterColor[status][active].iconColor;\n\n return (\n \n )\n};\n\nconst FilterColor = {\n \"Active\": {\n \"active\": {\n \"textColor\": \"tw-text-semantic-green-120\",\n \"bgColor\": \"tw-bg-semantic-green-5\",\n \"borderColor\": \"tw-border-semantic-green-50\",\n \"iconColor\": \"tw-bg-semantic-green-100\"\n },\n \"inactive\": {\n \"textColor\": \"tw-text-gray-75\",\n \"bgColor\": \"tw-bg-transparent\",\n \"borderColor\": \"tw-border-gray-15 hover:tw-border-semantic-green-50\",\n \"iconColor\": \"tw-bg-semantic-green-50 group-hover:tw-bg-semantic-green-100\"\n }\n },\n \"Pending\": {\n \"active\": {\n \"textColor\": \"tw-text-semantic-yellow-120\",\n \"bgColor\": \"tw-bg-semantic-yellow-5\",\n \"borderColor\": \"tw-border-semantic-yellow-50\",\n \"iconColor\": \"tw-bg-semantic-yellow-100\"\n },\n \"inactive\": {\n \"textColor\": \"tw-text-gray-75\",\n \"bgColor\": \"tw-bg-transparent\",\n \"borderColor\": \"tw-border-gray-15 hover:tw-border-semantic-yellow-50\",\n \"iconColor\": \"tw-bg-semantic-yellow-50 group-hover:tw-bg-semantic-yellow-100\"\n }\n },\n \"Contingent\": {\n \"active\": {\n \"textColor\": \"tw-text-semantic-orange-120\",\n \"bgColor\": \"tw-bg-semantic-orange-5\",\n \"borderColor\": \"tw-border-semantic-orange-50\",\n \"iconColor\": \"tw-bg-semantic-orange-100\"\n },\n \"inactive\": {\n \"textColor\": \"tw-text-gray-75\",\n \"bgColor\": \"tw-bg-transparent\",\n \"borderColor\": \"tw-border-gray-15 hover:tw-border-semantic-orange-50\",\n \"iconColor\": \"tw-bg-semantic-orange-50 group-hover:tw-bg-semantic-orange-100\"\n }\n },\n \"Sold\": {\n \"active\": {\n \"textColor\": \"tw-text-semantic-blue-120\",\n \"bgColor\": \"tw-bg-semantic-blue-5\",\n \"borderColor\": \"tw-border-semantic-blue-50\",\n \"iconColor\": \"tw-bg-semantic-blue-100\"\n },\n \"inactive\": {\n \"textColor\": \"tw-text-gray-75\",\n \"bgColor\": \"tw-bg-transparent\",\n \"borderColor\": \"tw-border-gray-15 hover:tw-border-semantic-blue-50\",\n \"iconColor\": \"tw-bg-semantic-blue-50 group-hover:tw-bg-semantic-blue-100\"\n }\n },\n \"Off Market\": {\n \"active\": {\n \"textColor\": \"tw-text-gray-75\",\n \"bgColor\": \"tw-bg-gray-5\",\n \"borderColor\": \"tw-border-gray-50\",\n \"iconColor\": \"tw-bg-gray-75\"\n },\n \"inactive\": {\n \"textColor\": \"tw-text-gray-75\",\n \"bgColor\": \"tw-bg-transparent\",\n \"borderColor\": \"tw-border-gray-15 hover:tw-border-gray-50\",\n \"iconColor\": \"tw-bg-gray-50 group-hover:tw-bg-gray-75\"\n }\n },\n\n};\n","import React from \"react\";\n\nimport { formatPrice } from \"../helpers\";\nimport RingChart from \"../../../shared/v2/RingChart/RingChart\";\n\nconst AgentStats = ({listingStats = {}}) => {\n if (!listingStats.closed || !listingStats.stats) {\n return null;\n }\n\n return (\n
\n
\n \n
\n \n
\n );\n};\n\nexport default AgentStats;\n\nconst ClosingSection = ({ data: {total, seller, buyer} }) => {\n const sellerVolume = seller.volume ? formatPrice(seller.volume) : Dash;\n const buyerVolume = buyer.volume ? formatPrice(buyer.volume) : Dash;\n\n return (\n
\n
\n \n
\n
\n Closings Breakdown\n
\n
\n Type\n \n \n
\n
\n Units\n {seller.units ? seller.units : Dash}\n {buyer.units ? buyer.units : Dash}\n
\n
\n Volume\n {sellerVolume}\n {buyerVolume}\n
\n
\n
\n
\n );\n};\n\nconst SummariesSection = ({data: { avgClosePrice, avgListPrice, grossProduction, totalListings }}) => {\n const style = {\n display: \"grid\",\n gridTemplateColumns: \"repeat(2, 1fr)\",\n rowGap: \"10px\",\n columnGap: \"12px\"\n };\n\n return (\n
\n \n \n \n \n
\n );\n};\n\nconst SummaryBlock = ({value, label, asPrice = true}) => {\n value = asPrice ? formatPrice(value) : value;\n\n return (\n
\n {value ?? Dash}\n {label}\n
\n )\n};\n\nconst AgentType = ({agentType, includePadding = false}) => {\n const color = agentType === \"Buyer\" ? \"tw-bg-yellow-50\" : \"tw-bg-teal\";\n\n return (\n
\n
\n {agentType}\n
\n );\n};\n\nconst Dash = <>—;\n","import React from \"react\";\n\nconst MlsListingCell = ({ textAlign, children, isFirstRow }) => {\n const textAlignClass = textAlign || \"\";\n const bottomBorder = `tw-border-solid tw-border-gray-10 tw-border-b tw-border-r-0 tw-border-l-0 tw-border-t-0 ${\n isFirstRow ? \"tw-border-t\" : \"tw-border-t-0\"\n }`;\n\n if (textAlignClass === \"\") {\n return (\n \n
{children}
\n \n );\n }\n\n return (\n \n {children}\n \n );\n};\n\nexport default MlsListingCell;\n","import React from \"react\";\n\nimport MlsListingCell from \"../MlsListingCell\";\nimport \"../listing-row.scss\";\n\n// Copied and trimmed down from MlsListingRow\nconst AgentListingRow = ({ listing }) => {\n const bottomBorder = \"tw-border-solid tw-border-gray-10 tw-border-b tw-border-r-0 tw-border-l-0 tw-border-t-0\";\n const rightBorder = \"tw-border-solid tw-border-gray-10 tw-border-b tw-border-r tw-border-l-0 tw-border-t-0\";\n\n return (\n \n \n
\n \n
\n

{listing.streetAddress}

\n

{`${listing.city}, ${listing.state} ${listing.postalCode}`}

\n
\n
\n \n {listing.mlsNum}\n {listing.represented}\n \n {listing.displayStatus}\n \n {listing.displayPrice}\n {listing.formattedListDate}\n {listing.displaySoldPrice}\n {listing.displaySoldDate}\n {listing.city}\n {listing.neighborhood}\n {listing.bedrooms}\n {listing.bathsTotalDecimal || \"—\"}\n {listing.displaySquareFeet}\n {listing.displayPricePerSquareFoot}\n {listing.lotSize}\n {listing.year}\n {listing.propertyType}\n {listing.displayHoaFee}\n \n );\n};\n\nexport default AgentListingRow;\n","/* eslint-disable react/prop-types, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n\nimport React from \"react\";\nimport { SortIcon } from \"../icons\";\nimport { ASCENDING_SORT, DESCENDING_SORT } from \"../icons/SortIcon\";\n\nconst isSortedBy = (options, value) => options.find((option) => option === value);\nfunction ascOrDesc(sortedBy) {\n if (!sortedBy) {\n return null;\n }\n // assumes 'x' and 'x_desc' as the template\n const isDescending = sortedBy.slice(-4) === \"desc\";\n return isDescending ? DESCENDING_SORT : ASCENDING_SORT;\n}\nconst sortStatus = (options, value) => ascOrDesc(isSortedBy(options, value));\n\nconst HeaderCell = ({\n title,\n isSortable,\n sortedBy,\n onSort,\n sortOptions = [],\n justify,\n px,\n className,\n fontSettings,\n}) => {\n const sortBy = isSortable ? sortStatus(sortOptions, sortedBy) : null;\n const toggleSortBy = () => {\n const order = sortBy === ASCENDING_SORT ? DESCENDING_SORT : ASCENDING_SORT;\n onSort(order === ASCENDING_SORT ? sortOptions[0] : sortOptions[1]);\n };\n\n const cursor = isSortable ? \"tw-cursor-pointer\" : \"\";\n const onClick = isSortable ? toggleSortBy : null;\n const textAlignment = justify || \"tw-justify-start\";\n const font = fontSettings || \"tw-font-normal\";\n\n return (\n \n
\n \n {title}\n \n {isSortable && (\n
\n \n
\n )}\n
\n \n );\n};\n\nexport default HeaderCell;\n","import React, { useState, useEffect } from \"react\";\n\nimport AgentListingRow from \"./AgentListingRow\";\nimport HeaderCell from \"../../../Transactions/components/shared/HeaderCell\";\n\nconst AgentListingsTable = ({ mlsListings }) => {\n const [ sortField, setSortField ] = useState(\"listDate\");\n const [ sortOrder, setSortOrder ] = useState(\"desc\");\n const [ listings, setListings ] = useState(mlsListings);\n\n const onSort = (field, order) => {\n const sorted = sortListings(listings, field, order);\n\n setListings(sorted);\n setSortOrder(order);\n setSortField(field);\n };\n\n const style = {\n flexBasis: \"100%\",\n marginLeft: \"-20px\",\n marginRight: \"-20px\",\n };\n const padding = \"tw-px-20px tw-pb-8px tw-pt-0 tw-border-b tw-border-r-0 tw-border-l-0 tw-border-t-0 tw-border-solid tw-border-gray-10\";\n const sortOptions = [\"asc\", \"desc\"];\n const getSortOrder = (field) => (sortField === field ? sortOrder : null);\n\n useEffect(() => {\n setListings(sortListings(mlsListings, sortField, sortOrder));\n }, [mlsListings]);\n\n return (\n \n \n \n \n \n \n onSort(\"represented\", order)}\n />\n onSort(\"displayStatus\", order)}\n />\n onSort(\"price\", order)}\n />\n onSort(\"listDate\", order)}\n />\n onSort(\"soldPrice\", order)}\n />\n onSort(\"soldDate\", order)}\n />\n \n \n onSort(\"bedrooms\", order)}\n />\n onSort(\"bathsTotalDecimal\", order)}\n />\n onSort(\"squareFeet\", order)}\n />\n onSort(\"pricePerSquareFoot\", order)}\n />\n onSort(\"lotSize\", order)}\n />\n \n onSort(\"propertyType\", order)}\n />\n \n \n \n \n {listings.map((l, index) => (\n \n ))}\n \n \n \n );\n};\n\nexport default AgentListingsTable;\n\nconst sortListings = (listings = [], sortField, sortOrder) => {\n return [...listings].sort((a, b) => {\n if (a[sortField] < b[sortField]) {\n return sortOrder === \"asc\" ? -1 : 1;\n }\n\n if (a[sortField] > b[sortField]) {\n return sortOrder === \"asc\" ? 1 : -1;\n }\n\n return 0;\n });\n};\n","import { useMemo, useEffect } from \"react\";\nimport ReactDOM from \"react-dom\";\n\n// borrows a bit from react-google-maps-api\nconst CustomOverlay = ({\n map,\n position,\n mapPaneName = \"floatPane\",\n pixelOffset,\n allowReposition,\n elementSize,\n zIndex,\n children\n}) => {\n const container = useMemo(() => {\n const div = document.createElement(\"div\");\n div.style.position = \"absolute\";\n\n return div;\n }, []);\n\n const overlay = useMemo(() => {\n return createOverlay(\n map,\n container,\n mapPaneName,\n position,\n pixelOffset,\n allowReposition,\n elementSize\n );\n }, [container, mapPaneName, position]);\n\n useEffect(() => {\n overlay?.setMap(map);\n\n return () => {\n overlay?.setMap(null);\n }\n }, [map, overlay]);\n\n useEffect(() => {\n container.style.zIndex = `${zIndex}`;\n }, [zIndex, container]);\n\n return ReactDOM.createPortal(children, container);\n}\n\nexport default CustomOverlay;\n\nconst createOverlay = (map, container, pane, position, pixelOffset, allowReposition, elementSize) => {\n class Overlay extends google.maps.OverlayView {\n constructor(position, pane, container) {\n super();\n\n this.container = container;\n this.pane = pane;\n this.position = position;\n }\n\n onAdd() {\n const pane = this.getPanes()?.[this.pane];\n pane?.appendChild(this.container);\n }\n\n draw() {\n window.google.maps.OverlayView.preventMapHitsFrom(this.container);\n\n const point = this.getProjection().fromLatLngToDivPixel(this.position);\n if (point === null) {\n return;\n }\n\n const { x, y } = point;\n let left = pixelOffset ? pixelOffset.x + x : x;\n let top = pixelOffset ? pixelOffset.y + y : y;\n\n if (allowReposition && elementSize) {\n const topVisible = this.isPointVisible(0, top);\n const leftVisible = this.isPointVisible(left, 0);\n const rightVisible = this.isPointVisible(left + elementSize.width, 0);\n\n if (!topVisible) {\n top = y + 12;\n }\n\n if (!leftVisible) {\n left = x;\n }\n\n if (!rightVisible) {\n left = x - elementSize.width;\n }\n }\n\n this.container.style.transform = `translate(${left}px, ${top}px)`;\n }\n\n isPointVisible = (x, y) => {\n const pointAsLatLng = this.getProjection()?.fromDivPixelToLatLng({ x, y });\n return map.getBounds().contains(pointAsLatLng);\n };\n\n onRemove() {\n if (this.container?.parentNode !== null) {\n this.container.parentNode.removeChild(this.container);\n }\n }\n }\n\n return new Overlay(position, pane, container);\n};\n","import React, { useState, useEffect, useRef } from \"react\";\n\nimport CustomOverlay from \"../CustomOverlay\";\nimport { formatSimplePrice } from \"../helpers\";\nimport \"./listings-map.scss\";\n\nconst ListingsMap = ({\n listings\n}) => {\n const container = useRef(null);\n const [bounds, setBounds] = useState(null);\n\n useEffect(() => {\n if (!listings?.length) {\n return;\n }\n\n const bounds = new window.google.maps.LatLngBounds();\n listings.forEach((listing) => {\n if (!listing.lat || !listing.lng) {\n return;\n }\n\n bounds.extend({ lat: listing.lat, lng: listing.lng });\n });\n\n setBounds(bounds);\n }, [listings]);\n\n return (\n
\n \n {listings &&\n listings.length &&\n listings.map((listing, i) => (\n \n \n \n ))}\n \n
\n );\n};\n\nexport default ListingsMap;\n\nconst ZIndexByStatus = {\n \"Active\": 5,\n \"Pending\": 4,\n \"Active Under Contract\": 3,\n \"Closed\": 2,\n \"Expired\": 1\n};\n\nconst ListingMarker = ({ price, standardStatus }) => {\n const styleByStatus = getStyleByStatus(standardStatus);\n const divStyle = `listings-map-marker tw-relative tw-flex tw-justify-center tw-px-8px tw-py-3px tw-items-center tw-rounded-666px tw-border tw-border-solid ${styleByStatus}`;\n\n return (\n
\n \n {formatSimplePrice(price) || \"N/A\"}\n \n
\n );\n};\n\nconst getStyleByStatus = standardStatus => {\n switch (standardStatus) {\n case \"Active\":\n return \"tw-text-semantic-green-120 tw-bg-semantic-green-10 tw-border-semantic-green-50 active\";\n case \"Pending\":\n return \"tw-text-semantic-yellow-120 tw-bg-semantic-yellow-10 tw-border-semantic-yellow-50 pending\";\n case \"Active Under Contract\":\n return \"tw-text-semantic-orange-120 tw-bg-semantic-orange-10 tw-border-semantic-orange-50 contingent\";\n case \"Closed\":\n return \"tw-text-semantic-blue-120 tw-bg-semantic-blue-10 tw-border-semantic-blue-50 sold\";\n default:\n return \"tw-text-gray-75 tw-bg-gray-5 tw-border-gray-50 offmarket\";\n }\n};\n\nconst Map = ({ bounds, options, style, className, children }) => {\n const mapRef = useRef(null);\n const [map, setMap] = useState(null);\n\n useEffect(() => {\n if (mapRef.current && !map) {\n const m = new window.google.maps.Map(mapRef.current, { ...options });\n\n setMap(m);\n }\n }, [mapRef, map]);\n\n useEffect(() => {\n if (bounds && map) {\n // If we have only one bound, don't zoom in quite so far\n if (bounds.getNorthEast().equals(bounds.getSouthWest())) {\n const coordinateManipulator = 0.01;\n bounds.extend({lat: bounds.getNorthEast().lat() + coordinateManipulator, lng: bounds.getNorthEast().lng() + coordinateManipulator});\n bounds.extend({lat: bounds.getSouthWest().lat() - coordinateManipulator, lng: bounds.getSouthWest().lng() - coordinateManipulator});\n }\n\n map.fitBounds(bounds);\n }\n }, [bounds]);\n\n return (\n
\n {React.Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { map });\n }\n })}\n
\n );\n};\n\nconst DefaultOptions = {\n zoom: 11,\n center: { lat: 33.773, lng: -112.3321 },\n mapTypeId: \"roadmap\",\n panControl: false,\n disableDefaultUI: true,\n zoomControl: true,\n zoomControlOptions: {\n position: 9, // Corresponds to RIGHT_BOTTOM\n },\n clickableIcons: false,\n};\n","import { useState, useEffect, useLayoutEffect } from \"react\";\n\nexport const useStateWithProps = (initialValue) => {\n const [state, setState] = useState(initialValue);\n\n useEffect(() => {\n setState(initialValue);\n }, [initialValue]);\n\n return [state, setState];\n};\n\n/**\n * @returns [number, number] view width, view height\n */\nexport const useViewSize = () => {\n const [viewSize, setViewSize] = useState([0, 0]);\n\n useLayoutEffect(() => {\n const update = () => {\n setViewSize([window.innerWidth, window.innerHeight]);\n };\n\n update();\n window.addEventListener(\"resize\", update);\n\n return () => {\n window.removeEventListener(\"resize\", update);\n };\n }, []);\n\n return viewSize;\n};\n","import React from \"react\";\n\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\n\nconst DateDropdown = ({monthsBack, options, onDateChosen}) => {\n const onOptionSelected = ({value}) => {\n onDateChosen(value);\n };\n\n return (\n \n )\n};\n\nexport default DateDropdown;\n\nconst DateControl = ({ componentProps, children }) => (\n \n {children}\n \n);\n\nconst DateContainer = ({ componentProps, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {children}\n \n);\n\nconst DateValue = ({ componentProps, children }) => (\n \n {children}\n \n);\n\nconst DateMenu = ({ componentProps, children }) => (\n \n {children}\n \n);\n","import React, { useState, useEffect } from \"react\";\n\nimport AgentListingFilters from \"./AgentListingFilters\";\nimport AgentStats from \"./AgentStats\";\nimport AgentListingsTable from \"./AgentListingsTable\";\nimport ListingsMap from \"./ListingsMap\";\nimport { getStatusValues } from \"../styleHelpers\";\nimport { useStateWithProps } from \"../customHooks\";\nimport DateDropdown from \"./DateDropdown\";\nimport { useFeatureFlags } from \"../../../reducers/layoutReducer/selectors\";\n\nconst AgentDetails = ({ agent, office, listingData, monthsBack, onDateChosen, onClose }) => {\n const [selectedStatuses, setSelectedStatuses] = useState(DefaultStatuses);\n const [listingsToShow, setListingsToShow] = useStateWithProps(listingData.listings);\n const featureFlags = useFeatureFlags();\n\n const showListingLimitDisclaimer = listingData.listings?.length >= 1000;\n\n const onToggleStatus = (status) => {\n const filtered = selectedStatuses.includes(status)\n ? selectedStatuses.filter(s => s !== status)\n : [...selectedStatuses, status];\n\n setSelectedStatuses(filtered);\n };\n\n useEffect(() => {\n const filtered = listingData.listings?.filter(({ standardStatus }) => {\n const mapped = getStatusValues(standardStatus).text;\n\n return selectedStatuses.includes(mapped);\n }) || [];\n\n setListingsToShow(filtered);\n }, [selectedStatuses, listingData]);\n\n return (\n
\n

\n {office.name || \"Unknown office\"}|Office ID: #{office.id}|Agent ID: #{agent.id}\n

\n

\n {agent.phone || \"Unknown phone number\"}|{agent.email || \"Unknown email address\"}\n

\n
\n onClose() || openAddToCrmModal(agent, office)}\n >\n
\n \n ADD TO CRM\n
\n \n
\n \n {featureFlags?.partnerSearch &&\n \n These estimated metrics are based on a variety of sources and may not represent finalized agent production\n \n }\n
\n \n
\n
\n \n
\n
\n
\n \n
\n \n \n
\n );\n};\n\nexport default AgentDetails;\n\nconst Disclaimer = ({ showListingLimitDisclaimer, marginBottom, monthsBack, onDateChosen }) => {\n const monthsBackOption = DateFilterOptions.find(o => o.value === monthsBack);\n const textColor = showListingLimitDisclaimer ? \"tw-text-brivity-coral-100\" : \"tw-text-gray-50\";\n const verbiage = showListingLimitDisclaimer\n ? `(Maxed out) Displaying agent's 1,000 most recent listings from the last ${monthsBackOption.label.toLowerCase()}.`\n : \"\";\n\n return (\n
\n Displaying data from the last:\n \n \n {verbiage}\n \n
\n\n );\n};\n\nconst openAddToCrmModal = (agent, office) => {\n const name = agent.name;\n let firstName = \"\";\n let lastName = \"\";\n if (name) {\n // Naive guessing at how to split up possible agent name;\n const space = name.indexOf(\" \");\n\n firstName = name.substring(0, space).trim();\n lastName = name.substring(space + 1).trim();\n }\n\n const brokerageDescription = office.name ? `${office.name}\\n` : \"\";\n const description = `${brokerageDescription}MLS Agent ID#${agent.id}`;\n\n Brivity.CreateLead.createRecruitModal(firstName, lastName, agent.email, agent.phone, description);\n};\n\nconst DefaultStatuses = [\"Active\", \"Pending\", \"Contingent\", \"Sold\", \"Off Market\"];\n\nconst DateFilterOptions = [\n { label: \"6 Months\", value: \"6\" },\n { label: \"1 Year\", value: \"12\" },\n { label: \"2 Years\", value: \"24\" }\n];\n","import _ from \"lodash\";\nimport { ExistingFeatureFields } from \"./helpers\";\n\nclass SearchModel {\n constructor(props, resetOffset = true) {\n this.queryOptions = {\n offset: 0,\n limit: DefaultLimit,\n sort: [{ field: \"listDate\", order: \"desc\" }]\n };\n\n this.namesByIds = { agentIds: {}, officeIds: {} };\n\n Object.assign(this, props);\n if (resetOffset) {\n this.queryOptions.offset = 0;\n }\n\n this.statuses = this.statuses?.length\n ? this.statuses\n : DefaultStatuses;\n }\n\n getFilters() {\n return FilterFields.reduce((acc, cur) => {\n if (_.isBoolean(this[cur]) || !_.isEmpty(this[cur])) {\n acc[cur] = this[cur];\n }\n\n return acc;\n }, {});\n }\n\n getNumberOfFilters() {\n let count = 0;\n if (this[\"showOnlyNew\"]) {\n count++;\n }\n\n if (this[\"showTeamListings\"]) {\n count++;\n }\n\n if (this[\"propertyTypes\"]?.length) {\n count += this[\"propertyTypes\"].length;\n }\n\n FilterPairs.forEach(([min, max]) => {\n if (this[min] || this[max]) {\n count++;\n }\n });\n\n ExistingFeatureFields.forEach((f) => {\n if (this[f]?.fields) {\n count += this[f].fields.length;\n }\n });\n\n return count;\n }\n\n update(field, value) {\n return new SearchModel({\n ...this,\n [field]: value,\n });\n }\n\n updateMany(values) {\n return new SearchModel({\n ...this,\n ...values,\n });\n }\n\n addToArray(field, value) {\n if (this.doesValueExist(field, value)) {\n return this;\n }\n\n return new SearchModel({\n ...this,\n [field]: [...(this[field] || []), value],\n });\n }\n\n addToArrayWithIdentifer(field, value, identifier) {\n if (this.doesValueExist(field, value)) {\n return this;\n }\n\n const namesByIds = {\n ...this.namesByIds,\n [field]: {\n ...this.namesByIds[field],\n [value]: identifier\n }\n };\n\n return new SearchModel({\n ...this,\n namesByIds,\n [field]: [...(this[field] || []), value],\n });\n }\n\n removeValue(field, value) {\n if (!this[field]?.length) {\n return this;\n }\n\n const filtered = this[field].filter((v) => !_.isEqual(v, value));\n\n if (field === \"agentIds\" || field === \"officeIds\") {\n delete this.namesByIds[field][value];\n }\n\n return new SearchModel({\n ...this,\n [field]: filtered.length ? filtered : null,\n });\n }\n\n removeFeatureValue(field, value) {\n if (!field || !value || !this[field]?.fields) {\n return this;\n }\n\n const filtered = this[field].fields.filter(f => f.term !== value);\n\n return new SearchModel({\n ...this,\n [field]: filtered.length\n ? {\n fields: filtered\n }\n : null\n });\n }\n\n getSort() {\n return this.queryOptions.sort?.[0];\n }\n\n getIdentifier(field, value) {\n return this.namesByIds[field]?.[value];\n }\n\n setSort(field, order) {\n if (!field || !order) {\n const { sort, ...queryOptions } = this.queryOptions;\n\n return !sort\n ? this\n : new SearchModel(\n {\n ...this,\n queryOptions,\n },\n true,\n );\n }\n\n return new SearchModel(\n {\n ...this,\n queryOptions: {\n ...this.queryOptions,\n sort: [\n {\n field,\n order,\n },\n ],\n },\n },\n true,\n );\n }\n\n updateOffset(newOffset) {\n return new SearchModel(\n {\n ...this,\n queryOptions: {\n ...this.queryOptions,\n offset: newOffset,\n },\n },\n false,\n );\n }\n\n clearSearchParams() {\n return new SearchModel({\n mlsIds: [...this.mlsIds],\n });\n }\n\n isValid() {\n return this.mlsIds?.length > 0 && this.hasRequiredFields();\n }\n\n doesValueExist(field, value) {\n if (!this[field]) {\n return false;\n }\n\n return Array.isArray(this[field]) ? this[field].some((v) => _.isEqual(v, value)) : this[field] === value;\n }\n\n hasRequiredFields() {\n return (\n this.cityStates?.length > 0 ||\n this.neighborhoodCityStates?.length > 0 ||\n this.countyStates?.length > 0 ||\n this.postalCodes?.length > 0 ||\n this.mlsNums?.length > 0 ||\n this.streetAddress?.length > 0 ||\n this.agentIds?.length > 0 ||\n this.officeIds?.length > 0 ||\n this.schoolDistricts?.length > 0\n );\n }\n}\n\nexport default SearchModel;\n\nconst DefaultStatuses = [1];\nconst DefaultLimit = 48;\n\nconst FilterFields = [\n \"propertyTypes\",\n \"statuses\",\n \"priceMin\",\n \"priceMax\",\n \"sqFtMin\",\n \"sqFtMax\",\n \"propertyTypes\",\n \"showOnlyNew\",\n \"showTeamListings\",\n \"statuses\",\n \"bedsMin\",\n \"bedsMax\",\n \"bathsMin\",\n \"bathsMax\",\n \"lotSizeMin\",\n \"lotSizeMax\",\n \"yearMin\",\n \"yearMax\",\n \"garageMin\",\n \"garageMax\",\n \"storiesMin\",\n ...ExistingFeatureFields\n];\n\nconst FilterPairs = [\n [\"priceMin\", \"priceMax\"],\n [\"sqFtMin\", \"sqFtMax\"],\n [\"bedsMin\", \"bedsMax\"],\n [\"bathsMin\", \"bathsMax\"],\n [\"lotSizeMin\", \"lotSizeMax\"],\n [\"yearMin\", \"yearMax\"],\n [\"garageMin\", \"garageMax\"],\n [\"storiesMin\", ],\n];\n","import axios from \"axios\";\nimport moment from \"moment/moment\";\nimport { differenceInDays, format } from \"date-fns\";\nimport { TZDate } from \"@date-fns/tz\";\n\nimport { getPostJsonHeaders } from \"../../shared/axiosHelpers\";\nimport { addParametersToImageUrl, ExistingFeatureFields, formatPrice } from \"./helpers\";\nimport SearchModel from \"./SearchModel\";\n\nexport const getUserInfoForSend = async () => {\n const deets = await axios.get(\"/search_listings\", getPostJsonHeaders());\n\n return deets.data;\n};\n\nexport const getListings = async (searchModel, teamIds, includeCount = false) => {\n const formatted = formatForSearch(searchModel, teamIds);\n const promises = [axios.post(`/listings_api/search`, { search_request: formatted }, getPostJsonHeaders())];\n\n if (includeCount) {\n promises.push(axios.post(`/listings_api/count`, { search_request: formatted }, getPostJsonHeaders()));\n }\n\n const [listingsResponse, countResponse] = await Promise.all(promises);\n\n return [formatListings(listingsResponse.data || []), countResponse?.data];\n};\n\nexport const getAgentListings = async (mlsId, agentId) => {\n const formatted = {\n mlsIds: [mlsId],\n agentIds: [agentId],\n statuses: [1, 2, 3, 4, 5],\n queryOptions: {\n limit: 1000,\n sort: [\n {\n field: \"listDate\",\n order: \"desc\",\n },\n ],\n },\n };\n\n const listingsResponse = await axios.post(\n `/listings_api/search`,\n { search_request: formatted },\n getPostJsonHeaders(),\n );\n\n return formatListings(listingsResponse.data || []);\n};\n\nexport const getPropertyTypes = async (mlsIds, userId) => {\n const response = await axios.get(\n `/people/${userId}/listing_alert_property_types.json?mls_ids=${mlsIds.join(\",\")}`,\n getPostJsonHeaders(),\n );\n\n return response.data?.property_types || [];\n};\n\nexport const getFeatureFields = async (mlsIds, userId) => {\n const response = await axios.get(\n `/people/${userId}/listing_alert_filter_options.json?mls_ids=${mlsIds.join(\",\")}`,\n getPostJsonHeaders(),\n );\n\n if (!response.data?.filter_options) {\n return {};\n }\n\n const ignoredCategories = [\"Stories\"];\n return Object.entries(response.data.filter_options).reduce((acc, [key, val]) => {\n if (ignoredCategories.includes(key)) {\n return acc;\n }\n\n const filtered = val\n .sort((a, b) => a.label.localeCompare(b.label))\n .filter((f) => ExistingFeatureFields.includes(f.search_category));\n\n if (!filtered.length) {\n return acc;\n }\n\n acc[key] = filtered;\n\n return acc;\n }, {});\n};\n\nexport const getBuyerMatches = async (city, state, price, blossorId, matchesToKeep = 10) => {\n const response = await axios.get(\n `/search_listings/buyer_matches?city=${city}&state=${state}&price=${price}&blossor_id=${blossorId}`,\n );\n if (!response.data?.buyer_matches?.length) {\n return {};\n }\n\n const matches = []; // this is to get the correct count but avoid 100 matches in JS when we don't show more than 10 (maybe a few more on the tooltip on the table view)\n const maxMatchesToKeep = Math.min(response.data.buyer_matches.length, matchesToKeep);\n for (let i = 0; i < maxMatchesToKeep; i++) {\n const { id, full_name, initials, email } = response.data.buyer_matches[i];\n matches.push({\n personId: `${id}`,\n fullName: full_name,\n initials,\n email,\n });\n }\n\n return {\n blossorId,\n matches,\n count: response.data.buyer_matches.length,\n countText: response.data.buyer_matches.length >= 99 ? \"99+\" : response.data.buyer_matches.length,\n linkToIndex: response.data.link_to_index,\n };\n};\n\nexport const getSearchUrl = async () => {\n const response = await axios.get(\"/search_listings/idx_search_url\");\n return response.data?.search_url;\n};\n\nexport const getSearchUrlWithLogin = async (personId) => {\n const response = await axios.get(`/search_listings/idx_search_url_with_login?person_id=${personId}`);\n return response.data?.search_url;\n};\n\nexport const getDetailsUrlsWithLogin = async (personId, blossorIds) => {\n const response = await axios.get(\n `/search_listings/idx_details_urls_with_login?person_id=${personId}&blossor_ids=${blossorIds.join(\"|\")}`,\n );\n return response.data?.details_urls || [];\n};\n\nexport const getDetailsUrls = async (blossorIds) => {\n const response = await axios.get(`/search_listings/idx_details_urls?blossor_ids=${blossorIds.join(\"|\")}`);\n return response.data?.details_urls || [];\n};\n\n// This logic is duplicated in the backend:\n// app/services/interactions/email_all/fetch_data.rb\nexport const formatListing = (listing) => {\n if (!listing) {\n return null;\n }\n\n const photos = listing.photos?.length\n ? listing.photos.map((photo) => ({\n url: addParametersToImageUrl(photo.url, 194, 320, 80),\n largeUrl: addParametersToImageUrl(photo.url, 353, 498, 80),\n emailUrl: addParametersToImageUrl(photo.url, 374, 528, 80),\n }))\n : [{ url: MissingImageUrl, largeUrl: MissingImageUrl }];\n\n const listDate = new Date(listing.listDate);\n\n return {\n ...listing,\n daysOnSite: differenceInDays(new Date(), listDate),\n formattedPrice: formatPrice(listing.price),\n formattedListDate: format(new TZDate(listDate, \"UTC\"), \"P\"),\n photos,\n };\n};\n\nexport const loadListingSearches = async (userId) => {\n const response = await axios.get(`/users/${userId}/search_listings_saved_searches`);\n\n return response.data?.saved_searches;\n};\n\nexport const saveListingSearch = async (userId, name, search) => {\n const data = { saved_search: { name, search: formatForSave(search) } };\n\n await axios.post(`/users/${userId}/search_listings_saved_searches`, data, getPostJsonHeaders());\n};\n\nexport const deleteListingSearch = async (userId, searchId) => {\n await axios.delete(`/users/${userId}/search_listings_saved_searches/${searchId}`, getPostJsonHeaders());\n};\n\nexport const saveCurrentSearch = (search) => saveObj(\"listing-search\", search);\n\nexport const saveViewSelections = (view) => saveObj(\"listing-view\", view);\n\nexport const loadMostRecentSearch = () => {\n const search = loadObj(\"listing-search\") || {};\n return new SearchModel(search);\n};\n\nexport const loadListingView = () => {\n const savedView = loadObj(\"listing-view\");\n return savedView || { map: false, grid: false };\n};\n\nconst formatForSave = (searchModel) => {\n return Object.entries(searchModel).reduce((acc, [key, val]) => {\n if (val === \"\" || (Array.isArray(val) && !val.length)) {\n return acc;\n }\n\n acc[key] = val;\n return acc;\n }, {});\n};\n\nconst formatForSearch = (searchModel, teamIds) => {\n const cleaned = Object.entries(searchModel).reduce((acc, [key, val]) => {\n if (!!val && !RemoveWhenSearching.has(key)) {\n acc[key] = val;\n }\n\n return acc;\n }, {});\n\n if (cleaned.storiesMin) {\n cleaned.storiesMin = parseInt(cleaned.storiesMin); // The listings API looks for numbers\n }\n\n if (searchModel.showOnlyNew) {\n // This is to deal with some situations where the .diff used for daysOnSite seems to round down and then listings that were shown as `New` dont show up when searching for only new\n const from = moment().utc().subtract(7, \"days\").startOf(\"day\").subtract(1, \"minute\");\n cleaned[\"listDate\"] = { from };\n }\n\n // currently assuming the team IDs would include the current agents ID because why wouldnt they\n if (searchModel.showTeamListings) {\n cleaned[\"agentIds\"] = teamIds;\n }\n\n if (cleaned.officeIds) {\n cleaned.officeIds = cleaned.officeIds.reduce((acc, cur) => {\n acc.push(...cur.split(\"|\"));\n return acc;\n }, []);\n }\n\n return cleaned;\n};\n\nconst RemoveWhenSearching = new Set([\"showOnlyNew\", \"showTeamListings\", \"namesByIds\"]);\n\nconst formatListings = (listings) => listings?.map(formatListing);\n\nconst MissingImageUrl = \"https://blossor.s3.amazonaws.com/images/default/defaultMissingImage.jpg?v=0\";\n\nconst saveObj = (key, obj) => {\n const s = JSON.stringify(obj);\n window.localStorage.setItem(key, s);\n};\n\nconst loadObj = (key) => {\n const s = window.localStorage.getItem(key);\n return JSON.parse(s);\n};\n","import React, { useState, useEffect } from \"react\";\nimport { Modal } from \"react-bootstrap\";\n\nimport AgentDetails from \"./AgentDetails\";\nimport \"../details.scss\";\nimport { getAgentListings } from \"../service\";\nimport { calculateAgentStats, formatPrice } from \"../helpers\";\nimport { getStatusValues } from \"../styleHelpers\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\n\nconst AgentDetailsModal = ({\n mlsId,\n listAgent,\n listOffice,\n onClose,\n}) => {\n const [listingData, setListingData] = useState({});\n const [monthsBack, setMonthsBack] = useState(\"12\");\n const [allListings, setAllListings] = useState([]);\n\n const onDateChosen = (monthsBack) => {\n const filtered = filterListingsByMonthsBack(allListings, monthsBack);\n\n setMonthsBack(monthsBack);\n setListingData(createListingData(filtered, listAgent.id));\n };\n\n useEffect(() => {\n const get = async () => {\n const listings = await getAgentListings(mlsId, listAgent.id);\n const filtered = filterListingsByMonthsBack(listings, monthsBack);\n\n setAllListings(listings);\n setListingData(createListingData(filtered, listAgent.id));\n };\n\n if (mlsId && listAgent) {\n get();\n }\n }, [listAgent, mlsId]);\n\n return (\n \n \n \n
\n {listAgent.name}\n
\n \n
\n
\n
\n
\n \n {listingData.listings?.length > 0\n ? \n :
\n \n
\n }\n
\n \n );\n};\n\nexport default AgentDetailsModal;\n\nconst createAgentListings = (listings, agentId) => {\n for (let listing of listings) {\n const statusValues = getStatusValues(listing.standardStatus);\n\n listing[\"statusColor\"] = statusValues.color;\n listing[\"represented\"] = getRepresented(listing, agentId);\n listing[\"pricePerSquareFoot\"] = getPricePerSqft(listing);\n listing[\"displayStatus\"] = statusValues.text;\n listing[\"displaySoldDate\"] = listing.soldDate ? moment(listing.soldDate).format(\"L\") : \"—\";\n listing[\"displayPrice\"] = formatPrice(listing.price);\n listing[\"displaySoldPrice\"] = formatPrice(listing.soldPrice) || \"—\";\n listing[\"displayPricePerSquareFoot\"] = formatPrice(listing.pricePerSquareFoot) || \"—\";\n listing[\"displaySquareFeet\"] = listing.squareFeet?.toLocaleString() || \"—\";\n listing[\"displayHoaFee\"] = formatPrice(listing.hoaFee) || \"—\";\n }\n\n return listings;\n};\n\nconst getRepresented = (listing, agentId) => {\n const agent = listing.agents.find(a => a.id === agentId);\n\n if (agent.agentType === \"Listing Agent\") {\n return \"Seller\";\n }\n\n if (agent.agentType === \"Co-Listing Agent\") {\n return \"Seller (co-list)\";\n }\n\n if (agent.agentType === \"Buyer Agent\") {\n return \"Buyer\";\n }\n\n return \"Buyer (co-buyer)\";\n};\n\nconst getPricePerSqft = listing => {\n if (listing.squareFeet > 0) {\n return Math.round(listing.price / listing.squareFeet);\n }\n\n return null;\n};\n\nconst getAvailableStatuses = (listings = []) => {\n const statuses = {};\n for (const { standardStatus } of listings) {\n const status = getStatusValues(standardStatus).text;\n statuses[status] = statuses[status]\n ? statuses[status] + 1\n : 1;\n }\n\n return statuses;\n};\n\nconst createListingData = (listings, listAgentId) => {\n return {\n listings: createAgentListings(listings, listAgentId),\n availableStatuses: getAvailableStatuses(listings),\n stats: calculateAgentStats(listings, listAgentId)\n };\n};\n\nconst filterListingsByMonthsBack = (listings, monthsBack) => {\n const now = moment();\n\n return listings.reduce((acc, listing) => {\n const asDate = moment(listing.listDate);\n if (now.diff(asDate, \"months\") <= monthsBack) {\n acc.push(listing);\n }\n\n return acc;\n }, []);\n};\n","import React from \"react\";\nimport { Col } from \"react-bootstrap\";\nimport Button from \"./Button\";\n\nconst SearchEmptyState = ({ isInitialState, searchBarRef }) => {\n return (\n \n
\n \n

\n {isInitialState ? \"Search Listings\" : \"No matching results\"}\n

\n

\n {isInitialState\n ? \"Enter an address, MLS#, neighborhood, city, ZIP code, or county to search\"\n : \"Please try searching with another term\"}\n

\n \n
\n \n );\n};\n\nexport default SearchEmptyState;\n","import React, { useEffect } from \"react\";\nimport Input from \"../../shared/Input\";\nimport axios from \"axios\";\n\nconst EmailAutocomplete = (props) => {\n useEffect(() => {\n let cancelled = false;\n\n const search = async () => {\n const maxSearchLength = 100;\n\n if (!props.term.length || props.term.length > maxSearchLength) {\n return;\n }\n\n const response = await axios.get(`/interactions/interactable_emails?search=${props.term}`);\n\n if (!cancelled) {\n const searchResults = response.data.map((d) => ({\n personId: d.person_id,\n email: d.id,\n fullName: d.full_name,\n label: d.label,\n status: d.status,\n type: d.type,\n }));\n props.setSearchResults(searchResults);\n }\n };\n\n search();\n return () => {\n cancelled = true;\n };\n }, [props.term]);\n\n const handleKeyDown = async (e) => {\n // Enter key\n if (e.keyCode === 13) {\n e.preventDefault();\n await props.selectResult(props.searchResults[props.childPosition]);\n } else if (e.keyCode === 38) {\n // Navigate up\n if (props.childPosition > 0) {\n props.setChildPosition(props.childPosition - 1);\n }\n } else if (e.keyCode === 40) {\n // Navigate down\n if (props.childPosition < props.searchResults.length - 1) {\n props.setChildPosition(props.childPosition + 1);\n }\n } else if (e.keyCode === 8 && props.term.length === 1) {\n // Removing last character with backspace\n props.setSearchResults([]);\n props.setChildPosition(0);\n }\n };\n\n return (\n props.setTerm(e.target.value)}\n onKeyDown={handleKeyDown}\n placeholder={props.placeholder}\n />\n );\n};\n\nexport default EmailAutocomplete;\n","import React from \"react\";\nimport transaction_css from \"../../PersonDetail/components/transactions.module.css\";\n\nconst EmailAutocompleteResults = (props) => {\n const handleHover = (newChildPosition) => {\n props.setChildPosition(newChildPosition);\n };\n\n return (\n
\n {props.searchResults.length > 0 && (\n
\n
\n {props.searchResults.map((result, index) => (\n handleHover(index)}\n onMouseDown={() => props.selectResult(result)}\n >\n \n {result.fullName} {result.email}\n \n {\" \"}\n ({result.status} {result.type})\n \n
\n ))}\n
\n
\n )}\n \n );\n};\n\nexport default EmailAutocompleteResults;\n","import React from \"react\";\n\nconst RemovableBubble = ({value, remove, includeMargins = true}) => {\n const margins = includeMargins ? \"tw-mx-4px tw-mb-4px\" : \"\";\n\n return (\n
\n {value}\n \n
\n );\n};\n\nexport default RemovableBubble;\n","import React from \"react\";\n\n// Copied from:\n// https://gitlab.brivity.com/brivity/notifications/-/blob/master/src/app/views/listing_alerts/_block_separator.html.erb\nconst EmailBodyBlockSeparator = () => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default EmailBodyBlockSeparator;\n","import React from \"react\";\n\n// Copied from:\n// https://gitlab.brivity.com/brivity/notifications/-/blob/master/src/app/views/listing_alerts/_property.html.erb\nconst EmailBodyProperty = ({\n photos,\n listingUrl,\n streetAddress,\n city,\n state,\n postalCode,\n formattedPrice,\n bedrooms,\n bathsTotalDecimal,\n}) => {\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n \n {streetAddress}\n \n \n \n
\n
\n \n {city}, {state} {postalCode}\n \n \n
\n
\n \n {formattedPrice}\n \n \n  |  {bedrooms} bed  |  {bathsTotalDecimal} bath\n \n
\n
\n \n \n \n \n \n );\n};\n\nexport default EmailBodyProperty;\n","import React from \"react\";\n\n// Copied from:\n// https://gitlab.brivity.com/brivity/notifications/-/blob/master/src/app/views/listing_alerts/_separator.html.erb\nconst EmailBodySeparator = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default EmailBodySeparator;\n","import React from \"react\";\nimport EmailBodyBlockSeparator from \"./EmailBodyBlockSeparator\";\nimport EmailBodyProperty from \"./EmailBodyProperty\";\nimport EmailBodySeparator from \"./EmailBodySeparator\";\n\n// Copied from:\n// https://gitlab.brivity.com/brivity/notifications/-/blob/master/src/app/views/listing_alerts/_properties.html.erb\nconst EmailBodyProperties = ({ listings, message, idxDomain, brokerImage, sender }) => {\n return (\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n {message}\n \n
\n \n \n
\n \n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n \n
\n \n
\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {listings.map((listing, index) => {\n return (\n \n \n {index < listings.length - 1 && (\n \n )}\n \n );\n })}\n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n {sender.fullName}\n \n \n
\n \n {sender.phoneNumber}\n \n
\n \n {\n sender.emailAddress\n }\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n You are receiving this email because you opted\n in via our website.\n \n
\n \n \n © {new Date().getFullYear()} All rights\n reserved.\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default EmailBodyProperties;\n","// Copied from:\n// https://gitlab.brivity.com/brivity/notifications/-/blob/master/src/app/views/listing_alerts/show.html.erb\nconst emailBody = (innerContent) => {\n return `\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ${innerContent}\n \n \n `;\n};\n\nexport default emailBody;\n","import React, { useState, useEffect } from \"react\";\nimport ReactDOMServer from \"react-dom/server\";\nimport axios from \"axios\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport { getPostJsonHeaders } from \"../../shared/axiosHelpers\";\nimport EmailAutocomplete from \"./EmailAutocomplete\";\nimport EmailAutocompleteResults from \"./EmailAutocompleteResults\";\nimport RemovableBubble from \"../../shared/RemovableBubble\";\nimport EmailBodyProperties from \"./EmailTemplates/EmailBodyProperties\";\nimport emailBody from \"./EmailTemplates/emailBody\";\nimport { getDetailsUrls, getDetailsUrlsWithLogin, getSearchUrl, getSearchUrlWithLogin } from \"./service\";\n\nconst EmailModal = (props) => {\n const defaultSubject = () => {\n const plural = props.listings.length !== 1;\n return `${props.listings.length} new ${plural ? \"properties\" : \"property\"} you may be interested in`;\n };\n\n const defaultEmailMessage = () => {\n const plural = props.listings.length !== 1;\n return `Hi {{recipient_first_name}}, here ${\n plural ? \"are some listings\" : \"is a listing\"\n } that I think you'll like. If you want to schedule a showing or have questions, please call or text me at ${\n props.sender.phoneNumber\n }.`;\n };\n\n const [subject, setSubject] = useState(defaultSubject());\n const [recipients, setRecipients] = useState(props.selectedRecipients || []);\n const [term, setTerm] = useState(\"\");\n const [searchResults, setSearchResults] = useState([]);\n const [childPosition, setChildPosition] = useState(0);\n const [message, setMessage] = useState(defaultEmailMessage());\n const [sendMeACopy, setSendMeACopy] = useState(false);\n const [isSending, setIsSending] = useState(false);\n const [previewListings, setPreviewListings] = useState([]);\n const [searchUrl, setSearchUrl] = useState(\"\");\n\n useEffect(() => {\n const get = async () => {\n const url = await getSearchUrl();\n setSearchUrl(url);\n };\n\n get();\n }, []);\n\n useEffect(() => {\n const get = async () => {\n const blossorIds = props.listings.map((l) => l.blossorId);\n const detailsUrls = await getDetailsUrls(blossorIds);\n\n const listingsWithUrls = listingsWithDetailsUrl(props.listings, detailsUrls);\n setPreviewListings(listingsWithUrls);\n };\n\n get();\n }, [props.listings]);\n\n const selectResult = (result) => {\n setSearchResults([]);\n setChildPosition(0);\n\n setTerm(\"\");\n\n if (!recipients.some((r) => r.email === result.email)) {\n setRecipients([...recipients, result]);\n }\n };\n\n const sendEmail = async () => {\n setIsSending(true);\n\n // TODO: Manuel will add support for a bulk lead + bulk blossorId route\n // which will let us replace this loop too\n // This is particularly important for the person index which calls this for up to 50 people\n for (let i = 0; i < recipients.length; i++) {\n const personId = recipients[i].personId;\n const sendCopy = sendMeACopy && i === 0;\n const blossorIds = props.listings.map((l) => l.blossorId);\n\n const [detailsUrls, searchUrlWithLogin] = await Promise.all([\n getDetailsUrlsWithLogin(personId, blossorIds),\n getSearchUrlWithLogin(personId),\n ]);\n\n const emailBodyPropertiesHtml = ReactDOMServer.renderToStaticMarkup(\n ,\n );\n\n const body = emailBody(emailBodyPropertiesHtml);\n await doSendEmail(body, personId, sendCopy);\n }\n\n setIsSending(false);\n props.onClose();\n };\n\n const doSendEmail = async (body, personId, sendCopy) => {\n const url = \"/interactions/email_all\";\n const data = {\n message: {\n // Controller wants this as a comma-delimited string\n recipient_ids: personId,\n send_me_a_copy: sendCopy === true ? \"1\" : \"0\",\n user_submitted: \"true\",\n body: body,\n subject: subject,\n },\n };\n\n await axios.post(url, data, getPostJsonHeaders());\n };\n\n return (\n \n \n \n
\n
\n \n \n \n
\n
\n {recipients.map((recipient) => (\n setRecipients(recipients.filter((r) => r.email !== recipient.email))}\n />\n ))}\n
\n {recipients.length >= 2 && (\n

\n Your mass email will be sent to each contact as an individual conversation.\n

\n )}\n
\n
\n setSubject(e.target.value)}\n className=\"\"\n placeholder={defaultSubject()}\n />\n
\n
\n \n setMessage(text)} />\n
\n setMessage(e.target.value)}\n value={message}\n className=\"tw-w-full tw-h-[118px] tw-block tw-border tw-border-solid tw-border-gray-15 tw-rounded-2px tw-px-12px tw-py-8px tw-bg-tinted-gray-50\"\n />\n
\n \n
\n
\n \n
\n \n\n sendEmail()}\n disabled={!recipients.length}\n size=\"medium\"\n isLoading={isSending}\n >\n Send Email\n \n
\n
\n \n );\n};\n\nexport default EmailModal;\n\nconst listingsWithDetailsUrl = (listings, detailsUrls) => {\n return listings.map((listing) => {\n const listingUrl = detailsUrls.find((d) => d.blossorId === listing.blossorId)?.url;\n return {\n ...listing,\n listingUrl,\n };\n });\n};\n","/* eslint-disable react/prop-types, jsx-a11y/anchor-is-valid, jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events */\nimport React from \"react\";\nimport { LeftCaret, RightCaret } from \"./icons\";\nimport { paginationOptionsWithExplicitGaps } from \"../utils/helpers\";\n\nconst ArrowLink = ({ targetPage, onClick, children }) => {\n const classNames =\n \"tw-cursor-pointer tw-text-gray-75 tw-flex tw-flex-row tw-bg-gray-10 tw-justify-center tw-items-center tw-rounded-full tw-w-32px tw-h-32px\";\n\n if (targetPage) {\n return (\n onClick(targetPage)}>\n {children}\n \n );\n }\n return
{children}
;\n};\n\nconst PreviousPageLink = ({ prevPage, onClick }) => (\n \n \n \n);\n\nconst NextPageLink = ({ nextPage, onClick }) => (\n \n \n \n);\n\nconst PageLinks = ({ totalPages, currentPage, onClick }) => {\n const range = 4;\n\n const pageGap = (key) => (\n \n ...\n \n );\n\n const pageLink = (pageNumber) => {\n const key = `pagination-${pageNumber}`;\n const classNames =\n \"tw-text-gray-99 tw-text-14px tw-flex tw-justify-center tw-items-center tw-w-24px tw-h-24px tw-rounded-full\";\n\n if (pageNumber === currentPage) {\n return (\n \n {pageNumber}{\" \"}\n \n );\n }\n\n return (\n onClick(pageNumber)}\n >\n {pageNumber}{\" \"}\n \n );\n };\n\n return paginationOptionsWithExplicitGaps({\n totalPages,\n currentPage,\n maxDistance: range,\n maxEdgeSize: 2,\n }).map((pageNumber, index) => (pageNumber ? pageLink(pageNumber) : pageGap(totalPages + index)));\n};\n\nconst Pagination = ({ currentPage, nextPage, prevPage, totalPages, onGoToPage }) => {\n const handleGoToPage = (pageNum) => pageNum && onGoToPage && onGoToPage(pageNum);\n\n return (\n
\n \n \n \n
\n );\n};\n\nexport default Pagination;\n","import React from \"react\";\n\nimport Pagination from \"../../Transactions/components/Pagination\";\n\nconst PageBar = ({ totalCount, currentOffset, pageSize, onChangePage }) => {\n const totalPages = Math.ceil(totalCount / pageSize);\n const currentPage = currentOffset ? currentOffset / pageSize + 1 : 1;\n const nextPage = currentPage === totalPages ? currentPage : currentPage + 1;\n const previousPage = currentPage === 1 ? currentPage : currentPage - 1;\n\n const onGoToPage = (pageNumber) => {\n const newOffset = (pageNumber - 1) * pageSize;\n onChangePage(newOffset);\n };\n\n return (\n
\n \n
\n );\n};\n\nexport default PageBar;\n","/* eslint-disable import/prefer-default-export */\n\nimport { pipe, sortBy } from \"./helpers\";\n\nconst prepare = (template, keyedCells) =>\n keyedCells.map((keyedCell) => ({\n element: keyedCell[1],\n key: keyedCell[0],\n position: template[keyedCell[0]]?.position,\n active: template[keyedCell[0]]?.active,\n }));\n\nconst isRenderable = (cell) => cell.active;\nconst filterColumns = (cells) => cells.filter(isRenderable);\nconst sortCells = (cells) => sortBy(cells, \"position\");\nconst extractElement = (cells) => cells.map((cell) => cell.element);\nexport const dynamicRow = (template, keyedCells) =>\n pipe(filterColumns, sortCells, extractElement)(prepare(template, keyedCells));\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport \"./Checkbox.css\";\n\nconst Checkbox = ({ checked, disabled, onChange, name, value, id }) => {\n let background = checked ? \"tw-bg-teal\" : \"tw-bg-white\";\n let border = checked ? \"tw-border-teal\" : \"tw-border-gray-50\";\n\n if (disabled) {\n border = \"tw-border-gray-15\";\n background = \"tw-bg-gray-5\";\n }\n\n return (\n
\n {} : onChange}\n checked={checked}\n value={value}\n className={`${border} ${background} tw-border-solid tw-border tw-appearance-none tw-rounded-[3px] tw-m-0 tw-checkbox`}\n />\n
\n );\n};\n\nexport default Checkbox;\n","import React, { forwardRef } from \"react\";\n\nimport { dynamicRow } from \"../../Transactions/utils/dynamicRow\";\nimport MlsListingCell from \"./MlsListingCell\";\nimport { formatPrice } from \"./helpers\";\nimport Checkbox from \"../../Transactions/components/shared/Checkbox\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst MlsListingRow = (\n { onShowDetails, onShowAgentDetails, agentDetailsEnabled, listing, columns, isFirstRow, selected, highlighted, onToggleShare, maxListingsSelected, buyerMatches = {} },\n ref,\n) => {\n const bottomBorder = `tw-border-solid tw-border-gray-10 tw-border-b tw-border-r-0 tw-border-l-0 ${\n isFirstRow ? \"tw-border-t\" : \"tw-border-t-0\"\n }`;\n const rightBorder = `tw-border-solid tw-border-gray-10 tw-border-b tw-border-r tw-border-l-0 tw-border-t-0 ${\n isFirstRow ? \"tw-border-t\" : \"tw-border-t-0\"\n }`;\n\n const fields = dynamicRow(columns, [\n [\n \"checkbox\",\n \n
\n onToggleShare(listing)}\n />\n
\n ,\n ],\n [\n \"address\",\n onShowDetails(listing.blossorId)}\n >\n
\n \n
\n

{listing.streetAddress}

\n

{`${listing.city}, ${listing.state} ${listing.postalCode}`}

\n
\n
\n ,\n ],\n [\n \"buyerMatches\",\n \n ],\n [\"mlsNum\", {listing.mlsNum}],\n [\n \"status\",\n \n {listing.standardStatus === \"Active Under Contract\" ? \"Contingent\" : listing.standardStatus}\n ,\n ],\n [\n \"price\",\n \n {formatPrice(listing.price)}\n ,\n ],\n [\n \"listDate\",\n {listing.formattedListDate},\n ],\n [\"city\", {listing.city}],\n [\"neighborhood\", {listing.neighborhood}],\n [\"beds\", {listing.bedrooms}],\n [\n \"totalBaths\",\n {listing.bathsTotalDecimal || \"—\"},\n ],\n [\n \"sqft\",\n \n {listing.squareFeet?.toLocaleString() || \"—\"}\n ,\n ],\n [\n \"ppsf\",\n \n {(listing.squareFeet > 0 && `$${Math.round(listing.price / listing.squareFeet).toLocaleString()}`) ||\n \"—\"}\n ,\n ],\n [\"lotSize\", {listing.lotSize}],\n [\"yearBuilt\", {listing.year}],\n [\"propertyType\", {listing.propertyType}],\n [\n \"hoaFee\",\n \n {formatPrice(listing.hoaFee) || \"—\"}\n ,\n ],\n [\n \"listedBy\",\n \n onShowAgentDetails(listing)}\n className={`tw-mb-4px ${agentDetailsEnabled ? \"tw-text-teal hover:tw-underline active:tw-text-brivity-blue-dark active:tw-underline tw-cursor-pointer\" : \"tw-text-gray-75\"}`}>\n {listing.listAgentName}\n

\n

{listing.listOfficeName || \"—\"}

\n ,\n ],\n ]);\n\n return (\n \n {fields}\n \n );\n};\n\nexport default forwardRef(MlsListingRow);\n\nconst getStatusColor = (standardStatus) => {\n if (standardStatus === \"Pending\") {\n return \"tw-text-semantic-yellow-100\";\n }\n\n if (standardStatus === \"Active Under Contract\") {\n return \"tw-text-semantic-orange-100\";\n }\n\n return \"tw-text-semantic-green-100\";\n};\n\nconst BuyerMatchCell = ({bottomBorder, blossorId, buyerMatches: {matches, linkToIndex, count, countText} = {}}) => {\n const tooltipText = generateNameTooltip(matches, count);\n\n const matchText = count === 1 ? \"Match\" : \"Matches\";\n const hoverStyle = \"hover:tw-rounded hover:tw-border hover:tw-border-solid hover:tw-border-brivity-blue-40 hover:tw-no-underline\";\n const activeStyle = \"active:tw-rounded active:tw-border active:tw-border-solid active:tw-border-brivity-blue-100 active:tw-no-underline\";\n\n return (\n \n {matches?.length ? (\n
\n \n

{countText}

\n

{matchText}

\n \n }\n content={{tooltipText}}\n />\n
) : (\n
\n \n
\n )}\n \n );\n};\n\n// count is the total, matches only includes a set amount as we just don't use that much data on the front end\nconst generateNameTooltip = (matches, count) => {\n if (!matches?.length) {\n return;\n }\n\n const MaxNames = 5;\n const names = matches.slice(0, MaxNames).map(m => m.fullName).join(\", \");\n\n return matches.length > MaxNames ? `${names},...+${count - MaxNames} More`: names;\n};\n","import React, { useEffect, useRef } from \"react\";\nimport MlsListingRow from \"./MlsListingRow\";\nimport HeaderCell from \"../../Transactions/components/shared/HeaderCell\";\nimport { dynamicRow } from \"../../Transactions/utils/dynamicRow\";\n\nconst SearchListingsTable = ({\n mlsListings,\n onShowDetails,\n onShowAgentDetails,\n agentDetailsEnabled,\n onToggleShare,\n maxListingsSelected,\n highlightedListing,\n selectedListings,\n availableHeight,\n currentSort,\n onSort,\n buyerMatches\n}) => {\n const rowRefs = useRef({});\n\n const style = {\n maxHeight: `${availableHeight}px`,\n flexBasis: \"100%\",\n marginLeft: \"-20px\",\n marginRight: \"-20px\",\n };\n const padding = \"tw-px-20px tw-pb-8px tw-pt-0\";\n const sortOptions = [\"asc\", \"desc\"];\n const getSortOrder = (field) => (currentSort?.field === field ? currentSort.order : null);\n\n const headerColumns = dynamicRow(allColumns, [\n [\"checkbox\", ],\n [\n \"address\",\n ,\n ],\n [\"buyerMatches\", ],\n [\"mlsNum\", ],\n [\"status\", ],\n [\n \"price\",\n onSort(\"price\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />,\n ],\n [\n \"listDate\",\n onSort(\"listDate\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />,\n ],\n [\"city\", ],\n [\"neighborhood\", ],\n [\n \"beds\",\n onSort(\"bedrooms\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />,\n ],\n [\n \"totalBaths\",\n onSort(\"bathsTotalDecimal\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />,\n ],\n [\n \"sqft\",\n onSort(\"squareFeet\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />,\n ],\n [\"ppsf\", ],\n [\"lotSize\", ],\n [\"yearBuilt\", ],\n [\"propertyType\", ],\n [\"hoaFee\", ],\n [\"listedBy\", ],\n ]);\n\n const isListingSelected = (blossorId) => {\n return selectedListings.some((l) => l.blossorId === blossorId);\n };\n\n useEffect(() => {\n if (rowRefs.current[highlightedListing]) {\n rowRefs.current[highlightedListing].scrollIntoView({\n behavior: \"smooth\",\n block: \"center\",\n });\n }\n }, [highlightedListing]);\n\n return (\n \n \n \n \n {headerColumns}\n \n \n \n {mlsListings.map((l, index) => (\n (rowRefs.current[l.blossorId] = e)}\n listing={l}\n columns={allColumns}\n isFirstRow={index === 0}\n selected={isListingSelected(l.blossorId)}\n highlighted={l.blossorId === highlightedListing}\n onToggleShare={onToggleShare}\n maxListingsSelected={maxListingsSelected}\n onShowDetails={onShowDetails}\n onShowAgentDetails={onShowAgentDetails}\n agentDetailsEnabled={agentDetailsEnabled}\n buyerMatches={buyerMatches[l.blossorId]}\n />\n ))}\n \n \n \n );\n};\n\nexport default SearchListingsTable;\n\n// Starting values when not yet saved in db\nconst allColumns = {\n checkbox: { active: true, position: 1 },\n address: { active: true, position: 2 },\n buyerMatches: {active: true, position: 3},\n mlsNum: { active: true, position: 4 },\n status: { active: true, position: 5 },\n price: { active: true, position: 6 },\n listDate: { active: true, position: 8 },\n city: { active: true, position: 8 },\n neighborhood: { active: true, position: 9 },\n beds: { active: true, position: 10 },\n totalBaths: { active: true, position: 11 },\n fullBaths: { active: true, position: 12 },\n sqft: { active: true, position: 13 },\n ppsf: { active: true, position: 14 },\n lotSize: { active: true, position: 15 },\n yearBuilt: { active: true, position: 16 },\n propertyType: { active: true, position: 17 },\n hoaFee: { active: true, position: 18 },\n listedBy: { active: true, position: 19 },\n};\n","import React from \"react\";\n\nimport ListingStatus from \"./ListingStatus\";\nimport ListingImages from \"./ListingImages\";\nimport Checkbox from \"../../Transactions/components/shared/Checkbox\";\nimport { formatNumber, formatValue } from \"./helpers\";\n\nconst ListingCard = ({\n listing,\n isChecked,\n onToggleShare,\n maxListingsSelected,\n size,\n includeNewBanner = false,\n buyerMatches = {}\n}) => {\n const cardValues = SizeValues[size || \"medium\"];\n\n const addToShare = (e) => {\n e.stopPropagation();\n onToggleShare(listing);\n };\n\n return (\n
\n
\n \n
e.stopPropagation()}>\n \n
\n {includeNewBanner && listing.daysOnSite <= 7 && (\n
\n NEW\n
\n )}\n {buyerMatches.matches && buyerMatches.matches.length > 0 && (\n \n )}\n
\n
\n
\n
\n \n {formatValue(listing.price, true)}\n \n \n \n \n \n {listing.daysOnSite} {listing.daysOnSite === 1 ? \"day\" : \"days\"} ago\n \n
\n \n {formatValue(listing.streetAddress)}\n \n
\n {`${formatValue(\n listing.bedrooms,\n )} Beds`}\n \n {`${formatValue(\n listing.bathsTotalDecimal,\n )} Baths`}\n \n {`${formatNumber(\n listing.squareFeet,\n )} SQFT`}\n
\n
\n
\n
\n );\n};\n\nexport default ListingCard;\n\nconst SizeValues = {\n small: {\n infoSectionPadding: \"tw-pt-6px tw-pb-8px tw-pr-12px tw-pl-12px\",\n infoBetweenMargin: \"tw-mb-3px\",\n mainFont: \"tw-text-14px tw-font-semibold\",\n secondaryFont: \"tw-text-12px\",\n tertiaryFontSize: \"tw-text-12px\",\n shareBubbleWidth: \"tw-w-24px\",\n shareBubbleHeight: \"tw-h-24px\",\n shareIconSize: 9,\n },\n medium: {\n infoSectionPadding: \"tw-pt-12px tw-pb-14px tw-pr-20px tw-pl-16px\",\n infoBetweenMargin: \"tw-mb-6px\",\n mainFont: \"tw-text-18px tw-font-bold\",\n secondaryFont: \"tw-text-14px tw-font-semibold\",\n tertiaryFontSize: \"tw-text-12px\",\n shareBubbleWidth: \"tw-w-32px\",\n shareBubbleHeight: \"tw-h-32px\",\n shareIconSize: 14,\n },\n};\n","import React, { useState, useEffect, useRef } from \"react\";\n\nimport CustomOverlay from \"./CustomOverlay\";\nimport ListingCard from \"./ListingCard\";\nimport { formatSimplePrice } from \"./helpers\";\nimport \"./search-map.scss\";\n\nconst SearchMap = ({\n listings,\n viewedListings,\n onClickListing,\n onToggleShare,\n maxListingsSelected,\n onUserDragMap,\n selectedListings,\n}) => {\n const container = useRef(null);\n const [heightOffset, setHeightOffset] = useState(null);\n const [selectedListing, setSelectedListing] = useState(null);\n const [bounds, setBounds] = useState(null);\n\n const mapOptions = {\n zoom: 11,\n center: { lat: 33.773, lng: -112.3321 },\n mapTypeId: \"roadmap\",\n panControl: false,\n disableDefaultUI: true,\n zoomControl: true,\n zoomControlOptions: {\n position: window.google.maps.ControlPosition.RIGHT_TOP,\n },\n clickableIcons: false,\n };\n\n const getCurrentViewPolygon = (map) => {\n if (!map) {\n return;\n }\n\n const bounds = map.getBounds();\n const north = bounds.getNorthEast().lat();\n const south = bounds.getSouthWest().lat();\n const east = bounds.getNorthEast().lng();\n const west = bounds.getSouthWest().lng();\n\n const polygon = [\n {\n lat: north,\n lng: east,\n },\n {\n lat: north,\n lng: west,\n },\n {\n lat: south,\n lng: west,\n },\n {\n lat: south,\n lng: east,\n },\n ];\n\n onUserDragMap(polygon);\n };\n\n const onClickMarker = (index) => {\n if (index === selectedListing) {\n deselectListing();\n return;\n }\n\n onClickListing(listings[index].blossorId);\n setSelectedListing(index);\n };\n\n const deselectListing = () => {\n onClickListing(null);\n setSelectedListing(null);\n };\n\n useEffect(() => {\n setHeightOffset(container.current.getBoundingClientRect().top || 0);\n }, []);\n\n useEffect(() => {\n if (!listings.length) {\n return;\n }\n\n const bounds = new window.google.maps.LatLngBounds();\n listings.forEach((listing) => {\n if (!listing.lat || !listing.lng) {\n return;\n }\n\n bounds.extend({ lat: listing.lat, lng: listing.lng });\n });\n\n deselectListing();\n setBounds(bounds);\n }, [listings]);\n\n return (\n
\n \n {listings &&\n listings.length &&\n listings.map((listing, i) => (\n \n onClickMarker(i)}\n isSelected={selectedListing === i}\n viewed={viewedListings.includes(listing.blossorId)}\n />\n \n ))}\n {listings.length && selectedListing !== null && (\n \n l.blossorId === listings[selectedListing].blossorId)}\n size={\"small\"}\n />\n \n )}\n \n
\n );\n};\n\nexport default SearchMap;\n\nconst ListingMarker = ({ price, onClick, isSelected, viewed }) => {\n let selectedStyling;\n if (isSelected) {\n selectedStyling = \"tw-bg-teal tw-border-teal selected\";\n } else if (viewed) {\n selectedStyling = \"tw-bg-gray-15 tw-border-gray-15 viewed\";\n } else {\n selectedStyling = \"tw-bg-white tw-border-gray-30\";\n }\n\n const divStyle = `search-map-marker tw-relative tw-flex tw-cursor-pointer tw-justify-center tw-px-8px tw-py-3px tw-items-center tw-rounded-666px tw-border-1px tw-border-solid ${selectedStyling}`;\n\n return (\n
\n \n {formatSimplePrice(price) || \"N/A\"}\n \n
\n );\n};\n\nconst Map = ({ bounds, options, style, onClick, onDragEnd, className, children }) => {\n const mapRef = useRef(null);\n const [map, setMap] = useState(null);\n const [listeners, setListeners] = useState([]);\n\n useEffect(() => {\n return () => {\n for (const listener of listeners || []) {\n listener.remove();\n }\n };\n }, []);\n\n useEffect(() => {\n if (mapRef.current && !map) {\n const m = new window.google.maps.Map(mapRef.current, { ...options });\n const newListeners = [\n window.google.maps.event.addListener(m, \"click\", onClick),\n window.google.maps.event.addListener(m, \"dragend\", () => onDragEnd(m)),\n ];\n\n setListeners(newListeners);\n setMap(m);\n }\n }, [mapRef, map]);\n\n useEffect(() => {\n if (bounds && map) {\n // If we have only one bound, don't zoom in quite so far\n if (bounds.getNorthEast().equals(bounds.getSouthWest())) {\n const coordinateManipulator = 0.01;\n bounds.extend({lat: bounds.getNorthEast().lat() + coordinateManipulator, lng: bounds.getNorthEast().lng() + coordinateManipulator});\n bounds.extend({lat: bounds.getSouthWest().lat() - coordinateManipulator, lng: bounds.getSouthWest().lng() - coordinateManipulator});\n }\n\n map.fitBounds(bounds);\n }\n }, [bounds]);\n\n return (\n
\n {React.Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { map });\n }\n })}\n
\n );\n};\n","import React, { useEffect, useRef } from \"react\";\n\nimport ListingCard from \"./ListingCard\";\n\nconst ListingGrid = ({\n listings,\n highlightedListing,\n selectedListings,\n maxListingsSelected,\n availableHeight,\n onToggleShare,\n onShowDetails,\n buyerMatches\n}) => {\n const cardRefs = useRef({});\n\n const boxShadow = { boxShadow: \"0px 2px 8px rgba(213, 213, 213, 0.5)\" };\n\n useEffect(() => {\n if (cardRefs.current[highlightedListing]) {\n cardRefs.current[highlightedListing].scrollIntoView({\n behavior: \"smooth\",\n block: \"nearest\",\n });\n }\n }, [highlightedListing]);\n\n return (\n \n \n {listings.length > 0 &&\n listings.map((listing) => (\n onShowDetails(listing.blossorId)}\n ref={(e) => (cardRefs.current[listing.blossorId] = e)}\n >\n l.blossorId === listing.blossorId)}\n maxListingsSelected={maxListingsSelected}\n size=\"medium\"\n includeNewBanner\n onToggleShare={onToggleShare}\n buyerMatches={buyerMatches[listing.blossorId]}\n />\n \n ))}\n \n \n );\n};\n\nexport default ListingGrid;\n","import React, { useState, useRef, useEffect } from \"react\";\n\nimport PageBar from \"./PageBar\";\nimport { useViewSize } from \"./customHooks\";\nimport SearchListingsTable from \"./SearchListingsTable\";\nimport SearchMap from \"./SearchMap\";\nimport ListingGrid from \"./ListingGrid\";\n\nconst Listings = ({\n listings,\n listingCount,\n searchModel,\n selectedListings,\n onToggleShare,\n maxListingsSelected,\n applySort,\n openListingDetailsModal,\n openAgentDetailsModal,\n agentDetailsEnabled,\n updateSearchPage,\n viewOptions,\n isSearching,\n viewedListings,\n buyerMatches\n}) => {\n const listingsContainer = useRef(null);\n const [listingsContainerHeight, setListingsContainerHeight] = useState(null);\n const [, viewHeight] = useViewSize();\n const [highlightedListing, setHighlightedListing] = useState(null);\n\n const shouldShowPageBar = () => listingCount > searchModel.queryOptions.limit;\n\n useEffect(() => {\n if (listingCount) {\n const pageBarHeight = shouldShowPageBar() ? 64 : 0;\n const unavailableSpace = listingsContainer?.current?.getBoundingClientRect()?.top;\n\n const heightAvailable = viewHeight - (unavailableSpace + pageBarHeight);\n setListingsContainerHeight(heightAvailable);\n }\n }, [listingCount, viewHeight]);\n\n return (\n
\n {isSearching && }\n {viewOptions.map && (\n
\n setHighlightedListing(listingId)}\n onUserDragMap={(polygon) => {}}\n onToggleShare={onToggleShare}\n maxListingsSelected={maxListingsSelected}\n selectedListings={selectedListings}\n />\n
\n )}\n
\n
\n {viewOptions.grid ? (\n \n ) : (\n \n )}\n
\n {shouldShowPageBar() && (\n \n )}\n
\n
\n );\n};\n\nexport default Listings;\n\nconst Loading = ({ height }) => {\n const style = { height: `${height}px` };\n\n return (\n \n \n \n );\n};\n","import React, { useEffect } from \"react\";\nimport axios from \"axios\";\nimport Input from \"@shared/Input\";\nimport { Search } from \"@shared/v2/Icomoon\";\nimport { useDebounce } from \"@shared/hookHelpers\";\n\nconst ListingsAutocomplete = ({\n mlsIds,\n setMlsIds,\n statuses,\n selectedFields,\n currentUserId,\n searchFields,\n searchResults,\n setSearchResults,\n term,\n setTerm,\n selectResult,\n setChildPosition,\n childPosition,\n searchBarRef,\n placeholder,\n ...props\n}) => {\n const debouncedTerm = useDebounce(term, 250);\n\n useEffect(() => {\n const loadMlses = async () => {\n const response = await axios.get(`/users/${currentUserId}/mls_ids`);\n setMlsIds(response.data.ids);\n };\n\n loadMlses();\n }, []);\n\n useEffect(() => {\n let cancelled = false;\n\n const search = async () => {\n const termCleaned = cleanSearchTerm(debouncedTerm);\n if (!termCleaned.length || termCleaned.length > maxSearchLength || !mlsIds || !statuses?.length) {\n setSearchResults([]);\n return;\n }\n\n const autocompleteStatuses = statuses.map((s) => getAutocompleteStatus(s)).join(\",\");\n const response = await axios.get(\"/autocomplete\", {\n params: {\n mlsIds,\n term: termCleaned,\n statuses: autocompleteStatuses,\n searchFields: searchFields.join(\",\"),\n selectedFields: selectedFields.join(\",\"),\n },\n });\n\n if (!cancelled) {\n setSearchResults(response.data);\n }\n };\n\n search();\n return () => {\n cancelled = true;\n };\n }, [debouncedTerm, mlsIds, statuses]);\n\n const handleKeyDown = async (e) => {\n // Enter key\n if (e.keyCode === 13) {\n e.preventDefault();\n await selectResult(searchResults[childPosition]);\n } else if (e.keyCode === 38) {\n // Navigate up\n if (childPosition > 0) {\n setChildPosition(childPosition - 1);\n }\n } else if (e.keyCode === 40) {\n // Navigate down\n if (childPosition < searchResults.length - 1) {\n setChildPosition(childPosition + 1);\n }\n } else if (e.keyCode === 8 && term.length === 1) {\n // Removing last character with backspace\n setSearchResults([]);\n setChildPosition(0);\n }\n };\n\n return (\n <>\n setTerm(e.target.value)}\n onKeyDown={handleKeyDown}\n placeholder={placeholder}\n maxLength={maxSearchLength.toString()}\n {...props}\n />\n \n \n );\n};\n\nexport default ListingsAutocomplete;\n\nconst maxSearchLength = 100;\n\nconst getAutocompleteStatus = (statusInteger) => {\n switch (statusInteger) {\n case 1:\n return \"Active\";\n case 2:\n return \"Pending\";\n case 3:\n return \"ActiveUnderContract\";\n default:\n return \"Active\";\n }\n};\n\nconst cleanSearchTerm = (term) => {\n let cleaned = term.trim();\n\n // Assuming this is a listing number, which is apparently frequently pasted in with a #\n if (cleaned.startsWith(\"#\") && !cleaned.includes(\" \")) {\n cleaned = cleaned.substring(1);\n }\n\n return cleaned;\n};\n","import React from \"react\";\nimport transaction_css from \"../../PersonDetail/components/transactions.module.css\";\n\nconst ListingsAutocompleteResults = ({ selectResult, childPosition, setChildPosition, searchResults, deleteSearch }) => {\n return (\n <>\n {searchResults.length > 0 && (\n
\n
\n {searchResults.map((result, index, array) => (\n \n ))}\n
\n
\n )}\n \n );\n};\n\nexport default ListingsAutocompleteResults;\n\nconst AutocompleteResult = ({result, index, array, selectResult, deleteSearch, childPosition, setChildPosition}) => {\n const prevResult = array[index - 1];\n const isHover = childPosition === index;\n const isSavedSearch = result.category === \"Saved Searches\";\n const categoryHeader = categoryHandler(prevResult, result);\n\n const displayValue = result.category === \"Office\" || result.category === \"Agent\"\n ? `${result.value} — #${result.selected_fields.officeIds?.[0] || result.selected_fields.agentId}`\n : result.value;\n\n const className = `\n tw-flex tw-flex-row tw-justify-between tw-px-12px tw-py-6px tw-cursor-pointer\n ${isHover ? \"tw-bg-tinted-gray-50\" : \"\"}\n `;\n\n const handleDelete = (e, searchId) => {\n e.stopPropagation();\n deleteSearch(searchId);\n };\n\n return (\n
\n {categoryHeader && (\n
\n {categoryHeader}\n
\n )}\n setChildPosition(index)}\n onMouseDown={() => selectResult(result)}\n >\n {displayValue}\n {isSavedSearch && isHover\n ? handleDelete(e, result.id)} />\n : \"\"\n }\n
\n \n );\n};\n\nconst categoryHandler = (prevResult, result) => {\n if (prevResult?.category === result.category) {\n return null;\n }\n\n switch (result.category) {\n case \"NeighborhoodCityState\":\n return \"Neighborhood\";\n case \"CityState\":\n return \"City\";\n case \"CountyState\":\n return \"County\";\n default:\n return result.category;\n }\n};\n","import React, { useState, useEffect } from \"react\";\n\nimport ListingsAutocomplete from \"../../shared/ListingsAutocomplete/ListingsAutocomplete\";\nimport ListingsAutocompleteResults from \"../../shared/ListingsAutocomplete/ListingsAutocompleteResults\";\n\nconst SearchAutocomplete = ({ mlsIds, setMlsIds, currentUserId, selectResult, searchBarRef, statuses, savedSearches, deleteSearch, selectSearch }) => {\n const [isActive, setIsActive] = useState(false);\n const [searchResults, setSearchResults] = useStateWithMappedProps(savedSearches);\n const [childPosition, setChildPosition] = useState(0);\n const [autocompleteTerm, setAutocompleteTerm] = useState(\"\");\n\n const createResultsList = (autocompleteResults) => {\n if (!savedSearches?.length) {\n setSearchResults(autocompleteResults);\n return;\n }\n\n const mappedSearches = mapSavedSearches(savedSearches)\n .filter(s => filterByTermIgnoreCase(s.value, autocompleteTerm));\n const results = [...mappedSearches, ...autocompleteResults];\n\n setSearchResults(results);\n };\n\n const selectAutocompleteResult = (result) => {\n setSearchResults(mapSavedSearches(savedSearches));\n setChildPosition(0);\n setAutocompleteTerm(\"\");\n\n if (result.category === \"Saved Searches\") {\n selectSearch(result.id);\n return;\n }\n\n const { field, newValue, identifier } = mapResultToSearchModel(result);\n selectResult(field, newValue, identifier);\n };\n\n return (\n <>\n setIsActive(true)}\n onBlur={() => setIsActive(false)}\n currentUserId={currentUserId}\n mlsIds={mlsIds}\n setMlsIds={setMlsIds}\n statuses={statuses}\n selectResult={selectAutocompleteResult}\n searchFields={searchFields}\n selectedFields={selectedFields}\n searchResults={searchResults}\n setSearchResults={createResultsList}\n childPosition={childPosition}\n setChildPosition={setChildPosition}\n term={autocompleteTerm}\n setTerm={setAutocompleteTerm}\n placeholder={\"Search by address, MLS#, neighborhood, city, ZIP code, county, school district, agent, or office\"}\n />\n {isActive && (\n \n )}\n \n );\n};\n\nexport default SearchAutocomplete;\n\nconst searchFields = [ \"ln\", \"fullAddress\", \"cityState\", \"districtCityState\", \"countyState\", \"postalCode\", \"schoolDistrict\", \"agentName\", \"officeName\" ];\n\nconst selectedFields = [ \"ln\", \"address\", \"city\", \"district\", \"postalCode\", \"countyState\", \"state\", \"schoolDistrict\", \"officeId\", \"agentId\", \"agentName\", \"officeName\" ];\n\nconst mapResultToSearchModel = (result) => {\n let field;\n let newValue;\n let identifier;\n\n switch (result.category) {\n case \"CityState\":\n field = \"cityStates\";\n newValue = {\n city: result.selected_fields.city,\n state: result.selected_fields.state,\n };\n break;\n case \"NeighborhoodCityState\":\n field = \"neighborhoodCityStates\";\n newValue = {\n neighborhood: result.selected_fields.district,\n city: result.selected_fields.city,\n state: result.selected_fields.state,\n };\n break;\n case \"CountyState\":\n field = \"countyStates\";\n newValue = {\n // Hack to handle data bug: Autocomplete db doesn't have \"county\" as its own field\n county: result.selected_fields.countyState.split(\",\")[0],\n state: result.selected_fields.state,\n };\n break;\n case \"Zip Code\":\n field = \"postalCodes\";\n newValue = result.selected_fields.postalCode;\n break;\n case \"School District\":\n field = \"schoolDistricts\";\n newValue = result.selected_fields.schoolDistrict;\n break;\n case \"MLS\":\n field = \"mlsNums\";\n newValue = result.selected_fields.ln;\n break;\n case \"Address\":\n field = \"streetAddress\";\n newValue = result.selected_fields.address;\n break;\n case \"Office\":\n field = \"officeIds\";\n newValue = result.selected_fields.officeIds.join(\"|\");\n identifier = result.selected_fields.officeName;\n break;\n case \"Agent\":\n field = \"agentIds\";\n newValue = result.selected_fields.agentId;\n identifier = result.selected_fields.agentName;\n break;\n }\n\n console.log(newValue);\n return { field, newValue, identifier };\n};\n\nconst useStateWithMappedProps = (initialValue) => {\n const [state, setState] = useState(initialValue);\n\n useEffect(() => {\n setState(mapSavedSearches(initialValue));\n }, [initialValue]);\n\n return [state, setState];\n};\n\nconst mapSavedSearches = (savedSearches) => savedSearches?.map(({id, name}) => ({id, value: name, category: \"Saved Searches\"})) || [];\n\nconst filterByTermIgnoreCase = (searchIn, target) => searchIn.match(new RegExp(target || \"\", \"gi\"))?.length > 0;\n","import React, { useState } from \"react\";\n\nimport Button from \"./Button\";\nimport { useStateWithProps } from \"./customHooks\";\nimport Dropdown from \"@shared/v2/Dropdown\";\n\nconst SortMenu = ({ sortField, sortOrder, onSave }) => {\n const [sortMenuOpen, setSortMenuOpen] = useState(false);\n const [field, setField] = useStateWithProps(sortField);\n const [order, setOrder] = useStateWithProps(sortOrder || \"asc\");\n\n const saveSort = () => {\n onSave(field, order);\n setSortMenuOpen(false);\n };\n\n const update = (opt, setFn) => {\n const value = opt.value || \"\";\n\n setFn(value);\n };\n\n return (\n <>\n setSortMenuOpen(!sortMenuOpen)}\n >\n \n SORT BY{sortField ? `: ${SortFields[sortField]}` : \"\"}\n \n \n \n {sortMenuOpen && (\n <>\n
\n
\n update(e, setField)}\n value={fieldOptions.find(f => f.value === field)}\n />\n
\n
\n update(e, setOrder)}\n value={orderOptions.find(o => o.value === order)}\n />\n
\n \n
\n setSortMenuOpen(false)}\n >\n \n )}\n \n );\n};\n\nexport default SortMenu;\n\nconst createOptions = (opts) => {\n return Object.entries(opts).map(([value, label]) => {\n return { value, label };\n });\n};\n\nconst SortOrder = {\n asc: \"Ascending\",\n desc: \"Descending\",\n};\n\nconst SortFields = {\n bedrooms: \"Beds\",\n price: \"List Price\",\n listDate: \"List Date\",\n squareFeet: \"SQFT\",\n bathsTotalDecimal: \"Total Baths\",\n};\n\nconst orderOptions = createOptions(SortOrder);\nconst fieldOptions = createOptions(SortFields);\n","import React, { useMemo } from 'react';\n\nimport RemovableBubble from \"../../../shared/RemovableBubble\";\nimport { formatPrice } from \"../helpers\";\nimport { ExistingFeatureFields } from '../helpers';\n\nconst FilterBubbles = ({searchModel, featureFields, clearSearchParams, clearArrayValue, clearFilterOption, clearFeatureOption, saveSearch}) => {\n const featureFieldsWithLabels = useMemo(() => parseFeatureOptions(featureFields), [featureFields]);\n\n const getOptionValuesAndClear = (description) => {\n const { min, max } = FilterDataForBubbles.find((f) => f.desc === description);\n clearFilterOption(min, max);\n };\n\n const createFilterBubbles = () => {\n const bubbles = [];\n const arrayFields = [\n { field: \"agentIds\", textFormatter: (a, identifier) => `${identifier} — #${a}` },\n { field: \"officeIds\", textFormatter: (o, identifier) => `${identifier} — #${o?.split('|')[0]}` },\n { field: \"cityStates\", textFormatter: (c) => `${c.city}, ${c.state}` },\n { field: \"neighborhoodCityStates\", textFormatter: (n) => `${n.neighborhood}, ${n.city}, ${n.state}` },\n { field: \"countyStates\", textFormatter: (cs) => `${cs.county}, ${cs.state}` },\n { field: \"postalCodes\", textFormatter: (p) => p },\n { field: \"mlsNums\", textFormatter: (m) => m },\n { field: \"streetAddress\", textFormatter: (s) => s },\n { field: \"propertyTypes\", textFormatter: (p) => p },\n { field: \"schoolDistricts\", textFormatter: (sd) => sd }\n ];\n\n arrayFields.forEach(({ field, textFormatter }) => {\n searchModel[field]?.forEach((v) => {\n bubbles.push(\n clearArrayValue(field, v)}\n includeMargins={false}\n />,\n );\n });\n });\n\n FilterDataForBubbles.forEach(({ desc, min, max, asPrice }) => {\n const text = createFilterText(desc, searchModel[min], searchModel[max], asPrice);\n if (text) {\n bubbles.push( getOptionValuesAndClear(desc)} includeMargins={false} />);\n }\n });\n\n ExistingFeatureFields.forEach(f => {\n if (searchModel[f]?.fields) {\n searchModel[f].fields.forEach(ff => {\n const key = makeFeatureKey(f, ff.term);\n bubbles.push( clearFeatureOption(f, ff.term)} includeMargins={false} />);\n });\n }\n });\n\n if (bubbles.length) {\n bubbles.push(\n \n SAVE SEARCH\n ,\n \n CLEAR ALL\n \n );\n }\n\n return bubbles;\n };\n\n return createFilterBubbles();\n}\n\nexport default FilterBubbles;\n\nconst makeFeatureKey = (category, value) => `${category}_${value}`;\n\nconst parseFeatureOptions = (featureFields) => {\n if (!featureFields) {\n return {};\n }\n\n return Object.values(featureFields).reduce((acc, vals) => {\n vals.forEach((v) => {\n acc[makeFeatureKey(v.search_category, v.search_value)] = v.label;\n });\n\n return acc;\n }, {});\n};\n\nconst FilterDataForBubbles = [\n {\n desc: \"Price\",\n min: \"priceMin\",\n max: \"priceMax\",\n asPrice: true,\n },\n {\n desc: \"Square Feet\",\n min: \"sqFtMin\",\n max: \"sqFtMax\",\n },\n {\n desc: \"Beds\",\n min: \"bedsMin\",\n max: \"bedsMax\",\n },\n {\n desc: \"Baths\",\n min: \"bathsMin\",\n max: \"bathsMax\",\n },\n {\n desc: \"Lot Size\",\n min: \"lotSizeMin\",\n max: \"lotSizeMax\",\n },\n {\n desc: \"Year Built\",\n min: \"yearMin\",\n max: \"yearMax\",\n },\n {\n desc: \"Garage Spaces\",\n min: \"garageMin\",\n max: \"garageMax\",\n },\n {\n desc: \"Stories\",\n min: \"storiesMin\",\n max: \"storiesMax\",\n },\n];\n\nconst createFilterText = (desc, min, max, asPrice = false) => {\n if (!min && !max) {\n return;\n }\n\n const minFormatted = asPrice ? formatPrice(min) : min;\n const maxFormatted = asPrice ? formatPrice(max) : max;\n\n return minFormatted === maxFormatted\n ? `${desc}: ${minFormatted}`\n : `${desc}: ${minFormatted || \"No Min\"} - ${maxFormatted || \"No Max\"}`;\n};\n","import React from \"react\";\n\nconst ViewToggle = ({ onClick, isActive, iconClassName, mxOverride }) => {\n return (\n \n \n \n );\n};\n\nexport default ViewToggle;\n","import React from \"react\";\n\nimport SortMenu from \"./SortMenu\";\nimport FilterBubbles from \"./Filters/FilterBubbles\";\nimport ViewToggle from \"./ViewToggle\";\nimport ToggleableButton from \"./ToggleableButton\";\n\nconst OptionsBar = ({\n searchModel,\n viewOptions,\n setViewOptions,\n applySort,\n clearSearchParams,\n clearArrayValue,\n clearFilterOption,\n clearNewListingFilter,\n toggleListingTypeFilter,\n clearFeatureOption,\n featureFields,\n saveSearch\n}) => {\n const updateViewOptions = (view, bool) => {\n setViewOptions((prevOptions) => ({\n ...prevOptions,\n [view]: bool,\n }));\n };\n\n return (\n
\n
\n toggleListingTypeFilter(\"showOnlyNew\", !searchModel[\"showOnlyNew\"])}\n isSelected={searchModel[\"showOnlyNew\"]}\n />\n toggleListingTypeFilter(\"showTeamListings\", !searchModel[\"showTeamListings\"])}\n isSelected={searchModel[\"showTeamListings\"]}\n />\n \n
\n
\n
\n \n
\n
\n updateViewOptions(\"map\", !viewOptions.map)}\n style={{ lineHeight: \"20px\" }}\n />\n updateViewOptions(\"map\", !viewOptions.map)}\n >\n Map\n \n
\n updateViewOptions(\"grid\", false)}\n isActive={!viewOptions.grid}\n iconClassName={\"fa-th-list\"}\n />\n updateViewOptions(\"grid\", true)}\n isActive={viewOptions.grid}\n iconClassName={\"fa-th-large\"}\n mxOverride=\"tw-ml-8px\"\n />\n
\n
\n );\n};\n\nexport default OptionsBar;\n","import React, { useState } from \"react\";\n\nimport { Modal } from \"../../../shared/v1\";\nimport Button from \"../Button\";\nimport { formatSimplePrice } from \"../helpers\";\nimport { saveListingSearch } from \"../service\";\n\nconst SaveSearchModal = ({search, onClose, userId}) => {\n const [saving, setSaving] = useState(false);\n const [name, setName] = useState(generateDefaultSearchName(search));\n\n const save = async () => {\n setSaving(true);\n await saveListingSearch(userId, name, search);\n setSaving(false);\n onClose(true);\n };\n\n return (\n \n \n \n Save Search\n \n \n \n
\n
\n The current locations and filters will be saved for you.\n
\n
\n Name the search\n
\n
\n setName(e.target?.value)}\n />\n
\n
\n \n \n Save\n \n
\n
\n
\n \n );\n};\n\nexport default SaveSearchModal;\n\nconst generateDefaultSearchName = (search) => {\n const formattedLocations = [];\n LocationFormatters.forEach(({field, textFormatter}) => {\n const locations = search[field]?.map(textFormatter);\n if (locations?.length) {\n formattedLocations.push(...locations);\n }\n });\n\n let defaultName = formattedLocations.join(\"; \");\n\n defaultName += createMinMaxDescription(formatSimplePrice(search.priceMin), formatSimplePrice(search.priceMax), null, \"$0\");\n defaultName += createMinMaxDescription(search.bedsMin, search.bedsMax, \"beds\");\n defaultName += createMinMaxDescription(search.bathsMin, search.bathsMax, \"baths\");\n defaultName += createMinMaxDescription(search.sqFtMin, search.sqFtMax, \"SQFT\");\n\n return defaultName;\n};\n\nconst LocationFormatters = [\n { field: \"cityStates\", textFormatter: (c) => `${c.city}, ${c.state}` },\n { field: \"neighborhoodCityStates\", textFormatter: (n) => `${n.neighborhood}, ${n.city}, ${n.state}` },\n { field: \"countyStates\", textFormatter: (cs) => `${cs.county}, ${cs.state}` },\n { field: \"postalCodes\", textFormatter: (p) => p },\n { field: \"mlsNums\", textFormatter: (m) => m },\n { field: \"streetAddress\", textFormatter: (s) => s },\n];\n\nconst createMinMaxDescription = (min, max, descriptor = \"\", base = \"0\") => {\n if (!min && !max) {\n return \"\";\n }\n\n return `; ${min ? min : base}${max ? \"-\" + max : \"+\"}${descriptor ? \" \" + descriptor : \"\"}`;\n};\n","import React, { useState } from \"react\";\n\nimport { Modal } from \"../../../shared/v1/Modal\";\nimport Button from \"../Button\";\nimport { deleteListingSearch } from \"../service\";\n\nconst DeleteSearchModal = ({searchId, onDelete, userId}) => {\n const [deleting, setDeleting] = useState(false);\n\n const deleteSearch = async () => {\n setDeleting(true);\n await deleteListingSearch(userId, searchId);\n setDeleting(false);\n onDelete(true);\n };\n\n return (\n \n \n \n Delete Saved Search\n \n \n \n
\n
\n Are you sure you want to delete this search? This action cannot be undone.\n
\n
\n \n \n \n YES, DELETE\n \n \n
\n
\n
\n \n );\n};\n\nexport default DeleteSearchModal;\n","import React, { useState, useEffect, useLayoutEffect, useRef } from \"react\";\n\nimport Button from \"@shared/v2/Button\";\nimport { ShareFromSquareSolidV6 } from \"@shared/v2/Icomoon\";\nimport FiltersModal from \"./Filters/Filters\";\nimport ListingDetailsModal from \"./ListingDetails/ListingDetailsModal\";\nimport AgentDetailsModal from \"./AgentDetails/AgentDetailsModal\";\nimport SearchEmptyState from \"./SearchEmptyState\";\nimport EmailModal from \"./EmailModal\";\nimport Listings from \"./Listings\";\nimport SearchAutocomplete from \"./SearchAutocomplete\";\nimport {\n getBuyerMatches,\n getListings,\n getPropertyTypes,\n saveCurrentSearch,\n saveViewSelections,\n loadMostRecentSearch,\n loadListingView,\n getFeatureFields,\n loadListingSearches,\n} from \"./service\";\nimport OptionsBar from \"./OptionsBar\";\nimport SaveSearchModal from \"./SavedSearches/SaveSearchModal\";\nimport DeleteSearchModal from \"./SavedSearches/DeleteSearchModal\";\nimport SearchModel from \"./SearchModel\";\n\nconst SearchListings = ({\n idxDomain,\n brokerImage,\n sender,\n current_user_id: currentUserId,\n team_ids: teamIds,\n agentDetailPageEnabled,\n}) => {\n const searchBar = useRef(null);\n const [mlsIds, setMlsIds] = useState([]);\n const [propertyTypes, setPropertyTypes] = useState([]);\n const [featureFields, setFeatureFields] = useState({});\n const [filtersModalOpen, setFiltersModalOpen] = useState(false);\n const [emailModalOpen, setEmailModalOpen] = useState(false);\n const [isSearching, setIsSearching] = useState(false);\n const [shouldRunCountQuery, setShouldRunCountQuery] = useState(true);\n const [listingCount, setListingCount] = useState(null);\n const [listings, setListings] = useState([]);\n const [buyerMatches, setBuyerMatches] = useState({});\n const [searchModel, setSearchModel] = useState(loadMostRecentSearch());\n const [viewOptions, setViewOptions] = useState(loadListingView());\n const [listingDetails, setListingDetails] = useState({ modalOpen: false, listingId: null });\n const [agentDetails, setAgentDetails] = useState({\n modalOpen: false,\n agent: null,\n office: null,\n mlsId: null,\n });\n const [selectedListings, setSelectedListings] = useState([]);\n const [viewedListings, setViewedListings] = useState([]);\n const [sharedListing, setSharedListing] = useState(null);\n const [selectedRecipients, setSelectedRecipients] = useState([]);\n const [savedSearches, setSavedSearches] = useState([]);\n const [saveSearchModalOpen, setSaveSearchModalOpen] = useState(false);\n const [deleteSearchModalOpen, setDeleteSearchModalOpen] = useState(false);\n const [searchIdToDelete, setSearchIdToDelete] = useState(\"\");\n\n const SharedListingsLimit = 10;\n const AvailableStatuses = [1, 2, 3];\n const areListingsLoaded = listings.length > 0;\n\n const onSearchModalClosed = async (refreshList = false) => {\n setSaveSearchModalOpen(false);\n\n if (refreshList) {\n const updatedList = await loadListingSearches(currentUserId);\n setSavedSearches(updatedList);\n }\n };\n\n const onDeleteModalClosed = async (refreshList = false) => {\n setSearchIdToDelete(\"\");\n setDeleteSearchModalOpen(false);\n\n if (refreshList) {\n const updatedList = await loadListingSearches(currentUserId);\n setSavedSearches(updatedList);\n }\n };\n\n const onDeleteSearchSelected = (searchId) => {\n setSearchIdToDelete(searchId);\n setDeleteSearchModalOpen(true);\n };\n\n const selectAutocompleteResult = (field, newValue, identifier = \"\") => {\n if (identifier) {\n setSearchModel(searchModel.addToArrayWithIdentifer(field, newValue, identifier));\n return;\n }\n\n setSearchModel(searchModel.addToArray(field, newValue));\n };\n\n const clearSearchParams = () => {\n setSearchModel(searchModel.clearSearchParams());\n };\n\n const clearArrayValue = (field, value) => {\n setSearchModel(searchModel.removeValue(field, value));\n };\n\n const clearFilterOption = (minField, maxField) => {\n setSearchModel(searchModel.updateMany({ [minField]: \"\", [maxField]: \"\" }));\n };\n\n const clearFeatureOption = (category, value) => {\n setSearchModel(searchModel.removeFeatureValue(category, value));\n };\n\n const toggleListingTypeFilter = (listingType, value) => {\n setSearchModel(searchModel.update(listingType, value));\n };\n\n const applyFilters = (appliedFilters) => {\n setSearchModel(searchModel.updateMany(appliedFilters));\n };\n\n const applySort = (field, order) => {\n setSearchModel(searchModel.setSort(field, order));\n setShouldRunCountQuery(false);\n };\n\n const openListingDetailsModal = (listingId) => {\n if (!viewedListings.includes(listingId)) {\n setViewedListings([listingId, ...viewedListings]);\n }\n\n setListingDetails({ modalOpen: true, listingId });\n };\n\n const closeListingDetailsModal = () => {\n setListingDetails({ modalOpen: false, listingId: null });\n };\n\n const closeAgentDetailsModal = () => {\n setAgentDetails({ modalOpen: false });\n };\n\n const openAgentDetailsModal = (listing) => {\n if (agentDetailPageEnabled) {\n const agent = listing.agents.find((a) => a.id === listing.listAgentId);\n const office = {\n id: listing.listOfficeId,\n name: listing.listOfficeName,\n email: listing.listOfficeEmail,\n phone: listing.listOfficePhone,\n };\n\n setAgentDetails({ modalOpen: true, agent: agent, office: office, mlsId: listing.blueroofMlsId });\n }\n };\n\n const onToggleShare = (listing) => {\n const alreadySelected = selectedListings.some((l) => l.blossorId === listing.blossorId);\n if (alreadySelected) {\n setSelectedListings(selectedListings.filter((l) => l.blossorId !== listing.blossorId));\n } else {\n setSelectedListings([...selectedListings, listing]);\n }\n };\n\n const sendToLead = (buyerMatch, listingId) => {\n const listing = listings.find((l) => l.blossorId === listingId);\n setSelectedRecipients([buyerMatch]);\n setSharedListing(listing);\n };\n\n const maxListingsSelected = () => {\n return selectedListings.length >= SharedListingsLimit;\n };\n\n const updateSearchPage = (newOffset) => {\n setShouldRunCountQuery(false);\n setSearchModel(searchModel.updateOffset(newOffset));\n };\n\n const loadSelectedSearch = (searchId) => {\n const savedSearch = savedSearches.find((s) => s.id === searchId);\n if (!savedSearch) {\n return;\n }\n\n const search = new SearchModel(savedSearch.search);\n setSearchModel(search);\n };\n\n useEffect(() => {\n if (sharedListing === null) {\n setEmailModalOpen(false);\n } else {\n setEmailModalOpen(true);\n }\n }, [sharedListing]);\n\n useEffect(() => {\n const get = async () => {\n const promises = [getPropertyTypes(mlsIds, currentUserId), getFeatureFields(mlsIds, currentUserId)];\n\n const [propertyTypes, featureFields] = await Promise.all(promises);\n\n setPropertyTypes(propertyTypes);\n setFeatureFields(featureFields);\n };\n\n setSearchModel(searchModel.update(\"mlsIds\", mlsIds));\n if (mlsIds.length) {\n get();\n }\n }, [mlsIds, currentUserId]);\n\n useEffect(() => {\n if (!listings.length) {\n return;\n }\n let isCancelled = false;\n const getMatches = async () => {\n const promises = [];\n listings.forEach(({ city, state, price, blossorId }) => {\n if (!buyerMatches[blossorId]) {\n promises.push(getBuyerMatches(city, state, price, blossorId));\n }\n });\n\n const matches = await Promise.all(promises);\n if (!isCancelled) {\n const mappedMatches = matches.reduce((acc, match) => {\n acc[match.blossorId] = match;\n return acc;\n }, {});\n\n setBuyerMatches((prevState) => ({\n ...prevState,\n ...mappedMatches,\n }));\n }\n };\n\n getMatches();\n\n return () => {\n isCancelled = true;\n };\n }, [listings]);\n\n useEffect(() => {\n saveCurrentSearch(searchModel);\n saveViewSelections(viewOptions);\n }, [searchModel, viewOptions]);\n\n useLayoutEffect(() => {\n let isCancelled = false;\n\n const searchListings = async () => {\n setIsSearching(true);\n const [listings, count] = await getListings(searchModel, teamIds, shouldRunCountQuery);\n\n if (isCancelled) {\n return;\n }\n\n if (shouldRunCountQuery) {\n setListingCount(count);\n setBuyerMatches({});\n }\n\n setListings(listings);\n setShouldRunCountQuery(true);\n setIsSearching(false);\n };\n\n if (searchModel.isValid()) {\n searchListings();\n } else {\n setListings([]);\n }\n\n return () => {\n isCancelled = true;\n };\n }, [searchModel]);\n\n useEffect(() => {\n const init = async () => {\n const searches = await loadListingSearches(currentUserId);\n setSavedSearches(searches);\n };\n\n init();\n }, []);\n\n return (\n
\n
\n
\n

Search Listings

\n {areListingsLoaded ? (\n \n {listingCount} results:{\" \"}\n {`${selectedListings.length}/${SharedListingsLimit}`}{\" \"}\n selected\n \n ) : (\n \n No Results\n \n )}\n
\n
\n 0 ? \"\" : \"disabled\"}\n onClick={() => {\n setEmailModalOpen(true);\n setSharedListing(null);\n }}\n >\n Share \n \n \n
\n
\n
\n
\n \n
\n {searchModel.isValid() && (\n
\n setSaveSearchModalOpen(true)}\n />\n
\n )}\n {areListingsLoaded && (\n \n )}\n {!areListingsLoaded && !isSearching && (\n \n )}\n
\n {filtersModalOpen && (\n setFiltersModalOpen(false)}\n />\n )}\n {listingDetails.modalOpen && (\n l.blossorId === listingDetails.listingId)}\n selectedLimit={SharedListingsLimit}\n maxListingsSelected={maxListingsSelected()}\n isSelected={selectedListings.some((l) => l.blossorId === listingDetails.listingId)}\n numberSelected={selectedListings.length}\n onToggleShare={onToggleShare}\n setSharedListing={setSharedListing}\n onClose={closeListingDetailsModal}\n buyerMatches={buyerMatches[listingDetails.listingId]}\n sendToLead={sendToLead}\n openAgentDetailsModal={openAgentDetailsModal}\n agentDetailsEnabled={agentDetailPageEnabled}\n />\n )}\n {agentDetails.modalOpen && (\n \n )}\n {emailModalOpen && (\n {\n setEmailModalOpen(false);\n setSharedListing(null);\n }}\n />\n )}\n {saveSearchModalOpen && (\n \n )}\n {deleteSearchModalOpen && (\n \n )}\n
\n );\n};\n\nexport default SearchListings;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\n\nimport SearchListings from \"../components/SearchListings\";\n\nexport default ({\n idxDomain,\n brokerImage,\n sender,\n current_user_id,\n team_ids,\n agentDetailPageEnabled\n}) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n \n \n \n )\n}","import React, { useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"../../shared/v2/Tooltip/Tooltip\";\n\nconst HoverButton = ({ children, isSelected, tooltip, ...props }) => {\n const Component = props.href ? \"a\" : \"button\";\n const theme = useSelector(({ layout }) => layout.theme);\n const selectedBgColor = theme.name === \"brivity-theme\" ? \"tw-bg-theme-primary\" : \"tw-bg-white\";\n const selectedTextColor = theme.name === \"brivity-theme\" ? \"tw-text-theme-primary\" : \"tw-text-white\";\n\n const [isHovering, setIsHovering] = useState(false);\n const [isFocused, setIsFocused] = useState(false);\n const [isActive, setIsActive] = useState(false);\n return (\n setIsHovering(true)}\n onMouseOut={() => setIsHovering(false)}\n onFocus={() => setIsFocused(true)}\n onBlur={() => setIsFocused(false)}\n onMouseDown={() => setIsActive(true)}\n onMouseUp={() => setIsActive(false)}\n onMouseLeave={() => setIsActive(false)}\n >\n \n {children}\n \n }\n content={tooltip}\n placement=\"right\"\n />\n );\n};\n\nHoverButton.propTypes = {\n children: PropTypes.node.isRequired,\n href: PropTypes.string,\n isSelected: PropTypes.bool.isRequired,\n target: PropTypes.string,\n tooltip: PropTypes.string.isRequired,\n};\n\nHoverButton.defaultProps = {\n href: undefined,\n target: undefined,\n};\n\nexport default HoverButton;\n","/* eslint-disable import/prefer-default-export */\n\nexport const isSmartFilters = (title) => title === \"Smart Filters\";\n","import {\n BullhornSolidV6,\n CalendarDaySolidV6,\n ChartColumnSolidV6,\n DropletSolidV6,\n GaugeHighSolidV6,\n GearSolidV6,\n GridSolidV6,\n HouseSolidV6,\n InboxSolidV6,\n ListCheckSolidV6,\n MagnifyingGlassSolidV6,\n RocketSolidV6,\n UserSolidV6,\n PhonePlusSolidV6,\n SuitcaseSolidV6,\n MapLocationSolidV6,\n WindowSolidV6,\n} from \"../../../shared/v2/Icomoon\";\n\nconst ICON_MAP = {\n Dashboard: GaugeHighSolidV6,\n Messages: InboxSolidV6,\n \"Phone System\": PhonePlusSolidV6,\n Leads: DropletSolidV6,\n Opportunities: MapLocationSolidV6,\n People: UserSolidV6,\n Search: MagnifyingGlassSolidV6,\n Transactions: HouseSolidV6,\n Tasks: ListCheckSolidV6,\n Projects: RocketSolidV6,\n Reporting: ChartColumnSolidV6,\n Marketer: BullhornSolidV6,\n \"Recruiter.ai\": SuitcaseSolidV6,\n Calendar: CalendarDaySolidV6,\n Apps: GridSolidV6,\n Settings: GearSolidV6,\n Website: WindowSolidV6,\n};\n\nexport default ICON_MAP;\n","import React, { useState } from \"react\";\nimport { useSelector } from \"react-redux\";\n\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport colors from \"../../Reports/components/DashboardShared/helpers/colors\";\nimport AddTransactionModal from \"../../Transactions/AddTransactionModal\";\nimport NewTask from \"../../Tasks/components/NewTask\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport PersonDetailsModal from \"../../Contacts/PersonDetailsModal\";\n\nexport const NewContactModal = () => {\n const currentUser = useCurrentUser();\n const [isModalOpen, setIsModalOpen] = useState(false);\n return (\n <>\n setIsModalOpen(true)}\n data-cy=\"add_contact_button\"\n >\n \n \n\n setIsModalOpen(false)}\n />\n \n );\n};\n\nexport const NewTaskModal = () => {\n const currentUser = useCurrentUser();\n const accountMilestoneNames = useSelector(({ layout }) => layout.sidebar.accountMilestoneNames);\n return (\n \n );\n};\n\nexport const NewTransactionModal = () => {\n const newMilestoneId = useSelector(({ layout }) => layout.sidebar.newMilestoneId);\n return ;\n};\n\nconst ACTION_MAP = {\n Leads: NewContactModal,\n People: NewContactModal,\n Tasks: NewTaskModal,\n Transactions: NewTransactionModal,\n};\n\nexport default ACTION_MAP;\n","import React, { Fragment, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { TrashSolidV6, ChevronRightSolidV6 } from \"../../shared/v2/Icomoon\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport { isSmartFilters } from \"../helpers/menu\";\nimport ICON_MAP from \"./helpers/icons\";\nimport ACTION_MAP from \"./ActionModals\";\nimport useSimpleNavigation from \"../../shared/v2/useSimpleNavigation\";\nimport { toggleMobileMenu } from \"../../reducers/layoutReducer\";\n\nconst BUTTON_CLASSES = {\n active: {\n \"brivity-theme\": \"tw-text-brivity-blue-dark tw-bg-[rgba(89,196,196,0.15)] tw-border-none\",\n \"place-theme\":\n \"tw-bg-white/10 tw-border-solid tw-border-[1px] tw-border-white/25 hover:tw-border-solid hover:tw-border-[1px]\",\n },\n base: {\n \"brivity-theme\":\n \"hover:tw-bg-black/5 hover:tw-text-brivity-blue-dark focus:tw-bg-black/5 focus:tw-text-brivity-blue-dark active:tw-bg-black/10 active:tw-text-brivity-blue-dark\",\n \"place-theme\":\n \"tw-text-white hover:tw-text-semantic-blue-25 focus:tw-text-semantic-blue-25 hover:tw-bg-white/10 focus:tw-bg-white/10 active:tw-bg-white/15\",\n },\n};\n\nconst MenuOption = ({\n className,\n counts,\n option,\n Menu,\n title,\n isEditing,\n isMobile,\n submenu,\n onBack,\n onClick,\n onDelete,\n}) => {\n const simpleNav = useSimpleNavigation();\n const dispatch = useDispatch();\n const theme = useSelector(({ layout }) => layout.theme);\n const { active, name, href, target, countIdentifier, options, deletePath, push } = option;\n // TODO: this is a stop-gap, use react-router when we have a SPA\n const isPushable = href?.startsWith(simpleNav.pathname) ?? false;\n const Icon = ICON_MAP[name];\n const Action = ACTION_MAP[name];\n\n useEffect(() => {\n if (!isMobile && !isSmartFilters(title) && options?.some((o) => o.active)) onClick?.();\n }, [options, title]);\n\n if (!options && !href) return null;\n\n return (\n \n {\n if (isEditing || (push && isPushable) || options) e.preventDefault();\n if (push && isPushable) simpleNav.push(href);\n if (options) onClick?.();\n }}\n >\n \n {isMobile && className && Icon && }\n {name}\n {isMobile && options && }\n \n \n {countIdentifier ? counts[countIdentifier] : \"\"}\n {!countIdentifier && options?.length ? `${options.length} ` : \"\"}\n {!isMobile && options && }\n {isEditing && deletePath && (\n {\n e.preventDefault();\n onDelete();\n }}\n >\n \n \n )}\n {isMobile && className && Action && (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions\n {\n // prevent modal action from triggering button/link\n e.stopPropagation();\n dispatch(toggleMobileMenu(false));\n }}\n >\n \n \n )}\n \n \n\n {options && Menu && (\n \n onBack?.()}\n options={options}\n counts={counts}\n theme={theme}\n />\n \n )}\n \n );\n};\n\nMenuOption.propTypes = {\n className: PropTypes.string,\n counts: PropTypes.shape(),\n option: PropTypes.shape().isRequired,\n Menu: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),\n isEditing: PropTypes.bool,\n isMobile: PropTypes.bool.isRequired,\n title: PropTypes.string,\n submenu: PropTypes.string,\n onBack: PropTypes.func,\n onClick: PropTypes.func,\n onDelete: PropTypes.func,\n};\n\nMenuOption.defaultProps = {\n className: \"\",\n counts: {},\n Menu: null,\n onDelete: undefined,\n isEditing: false,\n submenu: null,\n onBack: null,\n onClick: null,\n title: null,\n};\n\nexport default MenuOption;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Prompt from \"../../shared/v2/Modal/Prompt\";\nimport { caseTransformingAxios } from \"../../shared/v2/caseTransformingAxios\";\nimport { removeSmartFilterOption } from \"../../reducers/layoutReducer\";\n\nconst SmartFilterModal = ({ option, onClose }) => {\n const dispatch = useDispatch();\n const [loading, setLoading] = useState(false);\n\n return (\n {\n setLoading(true);\n caseTransformingAxios\n .delete(`${option?.deletePath}.json`)\n .then(() => {\n dispatch(removeSmartFilterOption({ option }));\n setLoading(false);\n onClose();\n })\n .catch(() => {\n // TODO: make this better, but unlikely to happen\n setLoading(false);\n onClose();\n });\n }}\n primaryOption=\"Delete\"\n primaryProps={{ schema: \"warning\" }}\n isPrimaryLoading={loading}\n cancelProps={{ disabled: loading }}\n onCancel={() => onClose()}\n />\n );\n};\n\nSmartFilterModal.propTypes = {\n name: PropTypes.string,\n option: PropTypes.shape(),\n onClose: PropTypes.func.isRequired,\n};\n\nSmartFilterModal.defaultProps = {\n name: \"\",\n option: null,\n};\n\nexport default SmartFilterModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useSelector } from \"react-redux\";\nimport TextButton from \"../../shared/v2/TextButton/TextButton\";\nimport { ChevronLeftSolidV6 } from \"../../shared/v2/Icomoon\";\n\nconst BackButton = ({ children, onClick }) => {\n const theme = useSelector(({ layout }) => layout.theme);\n return (\n \n \n {children}\n \n );\n};\n\nBackButton.propTypes = {\n children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]).isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nexport default BackButton;\n","import { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport axios from \"axios\";\nimport {\n updateLeadCounts,\n updatePeopleCounts,\n updateTaskCounts,\n updateTransactionCounts,\n} from \"../../../reducers/layoutReducer\";\n\n// milliseconds * seconds * minutes\nconst MINUTES_5 = 1000 * 60 * 5;\n\nconst TYPES = {\n Leads: { action: updateLeadCounts, url: \"/leads_counts\" },\n People: { action: updatePeopleCounts, url: \"/people_counts\" },\n Tasks: { action: updateTaskCounts, url: \"/tasks/counts\" },\n Transactions: { action: updateTransactionCounts, url: \"/listings/counts\" },\n};\n\nconst shouldUpdate = (counts) =>\n typeof counts?.lastUpdate === \"undefined\" || Date.now() - counts.lastUpdate > MINUTES_5;\n\nconst useCounts = (type) => {\n const counts = useSelector(({ layout }) => layout.counts?.[type]) || {};\n const dispatch = useDispatch();\n useEffect(() => {\n if (!TYPES[type]) return;\n const { action, url } = TYPES[type];\n // in the unlikely event that the page hasn't refreshed within 5 minutes\n // cache the sidebar counts for that amount of time before updating\n // TODO: provide dynamic way to update counts as things are changed\n if (shouldUpdate(counts)) {\n axios.get(url).then(({ data }) => dispatch(action(data)));\n }\n }, [counts]);\n\n return { counts };\n};\n\nexport default useCounts;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useSelector } from \"react-redux\";\nimport { MagnifyingGlassSolidV6, PencilSolidV6 } from \"../../shared/v2/Icomoon\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport TextInput from \"../../shared/v2/TextInput/TextInput\";\nimport MenuOption from \"./MenuOption\";\nimport SmartFilterModal from \"./SmartFilterModal\";\nimport { isSmartFilters } from \"../helpers/menu\";\nimport useMobileMenu from \"./hooks/useMobileMenu\";\nimport BackButton from \"./BackButton\";\nimport useCounts from \"./hooks/useCounts\";\n\nexport const MenuBase = ({ children, className }) => (\n \n {children}\n \n);\n\nMenuBase.propTypes = {\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n};\nMenuBase.defaultProps = {\n className: \"\",\n};\n\nexport const MenuTitle = ({ title, action, backTitle, onBack }) => (\n
\n {onBack && {backTitle}}\n
\n

{title}

\n {action}\n
\n
\n);\n\nMenuTitle.propTypes = {\n title: PropTypes.string.isRequired,\n backTitle: PropTypes.string,\n action: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n onBack: PropTypes.func,\n};\nMenuTitle.defaultProps = {\n action: null,\n onBack: undefined,\n backTitle: \"\",\n};\n\nconst Menu = ({ title, action, backTitle, counts: overrideCounts, options, onBack }) => {\n const {\n actions,\n data: { isMobile },\n } = useMobileMenu();\n const prevTitle = useRef(title);\n const { counts } = useCounts(title);\n const theme = useSelector(({ layout }) => layout.theme);\n const [submenu, setSubmenu] = useState(null);\n const [isEditing, setIsEditing] = useState(false);\n const [search, setSearch] = useState(\"\");\n const [optionToDelete, setOptionToDelete] = useState(null);\n const regexp = new RegExp(search, \"i\");\n const smartFilterAction = isSmartFilters(title) ? (\n setIsEditing((v) => !v)}\n schema={isEditing ? \"primary\" : \"tertiary\"}\n size=\"small\"\n >\n \n \n ) : null;\n\n useEffect(() => {\n if (prevTitle.current && prevTitle.current !== title) setSubmenu(null);\n prevTitle.current = title;\n }, [title, prevTitle]);\n\n useEffect(() => {\n actions.setIsSubmenuOpen(Boolean(submenu));\n }, [submenu]);\n\n return (\n \n {\n onBack();\n setIsEditing(false);\n }\n : null\n }\n theme={theme}\n />\n {isSmartFilters(title) && (\n
\n
\n setSearch(e.target.value)}\n />\n \n
\n
\n
\n )}\n \n {options?.map((option, i) =>\n regexp.test(option.name) ? (\n setSubmenu(option.name)}\n onBack={() => setSubmenu(null)}\n onDelete={() => setOptionToDelete(option)}\n />\n ) : null,\n )}\n
\n setOptionToDelete(null)} />\n
\n );\n};\n\nMenu.propTypes = {\n title: PropTypes.string.isRequired,\n backTitle: PropTypes.string,\n action: PropTypes.node,\n counts: PropTypes.shape(),\n options: PropTypes.arrayOf(PropTypes.shape()),\n onBack: PropTypes.func,\n};\n\nMenu.defaultProps = {\n action: null,\n onBack: undefined,\n backTitle: \"\",\n counts: null,\n options: null,\n};\n\nexport default Menu;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useSelector } from \"react-redux\";\n\nconst IntegrationButton = ({ integration, onClick }) => {\n const theme = useSelector(({ layout }) => layout.theme);\n return (\n {\n if (integration.launch) window.open(integration.launchUrl, \"_blank\");\n else onClick?.();\n }}\n >\n {integration.headline}\n {integration.headline}\n \n );\n};\n\nIntegrationButton.propTypes = {\n integration: PropTypes.shape().isRequired,\n onClick: PropTypes.func,\n};\n\nIntegrationButton.defaultProps = {\n onClick: undefined,\n};\n\nexport default IntegrationButton;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"../../shared/v2/Modal/Modal\";\n\nconst HubSpotModal = ({ formId, onClose, show }) => {\n useEffect(() => {\n if (!show) return;\n const createForm = () => {\n window.hbspt.forms.create({\n region: \"na1\",\n portalId: \"6041126\",\n formId: formId || \"c0592518-30e7-46d6-8b94-f6d8e79af7e7\",\n target: \"#hbspt-form-body\",\n onFormSubmitted: () => onClose(),\n });\n };\n if (!window.hbspt) {\n const script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n script.src = \"//js.hsforms.net/forms/v2.js\";\n script.defer = true;\n script.async = true;\n script.onload = createForm;\n } else {\n createForm();\n }\n }, [show]);\n return (\n \n \n \n \n );\n};\n\nHubSpotModal.propTypes = {\n formId: PropTypes.string,\n onClose: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n};\n\nHubSpotModal.defaultProps = {\n formId: null,\n};\n\nexport default HubSpotModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"../../shared/v2/Modal/Modal\";\n\nconst onRefRender = (div) => {\n if (!div) return;\n const zapScript = document.createElement(\"script\");\n zapScript.type = \"text/javascript\";\n zapScript.src =\n \"https://zapier.com/zapbook/embed/widget.js?services=brivity&container=true&limit=11&html_id=zapier-widget-content\";\n div.appendChild(zapScript);\n};\n\nconst ZapierWidgetModal = ({ onClose, show }) => (\n \n \n \n
\n \n \n);\n\nZapierWidgetModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n};\n\nexport default ZapierWidgetModal;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"../../shared/v2/Modal/Modal\";\nimport Button from \"../../shared/v2/Button/Button\";\nimport TextInput from \"../../shared/v2/TextInput/TextInput\";\nimport HubSpotModal from \"./HubSpotModal\";\nimport ZapierWidgetModal from \"./ZapierWidgetModal\";\n\nconst IntegrationModal = ({ currentUser, integration, onClose, show }) => {\n const [hasCopied, setHasCopied] = useState(false);\n const [thirdPartyModal, setThirdPartyModal] = useState(null);\n\n useEffect(() => {\n if (hasCopied) {\n setTimeout(() => {\n setHasCopied(false);\n }, 1000);\n }\n }, [hasCopied]);\n\n useEffect(() => {\n const onZapierLinkClick = (e) => {\n if (e.target.id === \"zapier-widget-link\") {\n setThirdPartyModal(\"zapier\");\n }\n };\n document.addEventListener(\"click\", onZapierLinkClick);\n return () => document.removeEventListener(\"click\", onZapierLinkClick);\n }, []);\n\n return (\n <>\n \n {integration && (\n <>\n \n
\n {integration.headline}\n
\n

\n {integration.headline}\n \n

\n
\n }\n closeButton\n />\n \n {integration.screenshotUrl && (\n {integration.headline}\n )}\n
\n {integration.urlText && (\n <>\n
\n Learn more at{\" \"}\n \n {integration.urlText}\n \n
\n
\n {integration.headline} is part of the Brivity Platform. If you are not a Brivity Platform\n customer yet, call 866-295-3322 and sign up today.\n
\n \n )}\n {integration.apiKey && (\n <>\n How to connect?\n
    \n
  1. \n
    Copy the API Key below.
    \n \n navigator.clipboard\n ?.writeText(currentUser.account.apiKey)\n .then(() => setHasCopied(true))\n }\n >\n {hasCopied ? \"Copied\" : \"Copy\"}\n \n }\n />\n
  2. \n {integration.steps?.map((step, i) => (\n // eslint-disable-next-line react/no-array-index-key\n
  3. \n ))}\n
\n \n )}\n \n \n {integration.slug === \"brivity-va\" && (\n <>\n

Request a consultation for Brivity VA today!

\n setThirdPartyModal(\"hubspot\")}\n >\n Request Consultation\n \n \n )}\n {[\"idx\", \"kwkly\"].includes(integration.slug) && (\n <>\n

\n Learn about the Brivity Platform in a 15 minute demo webinar\n

\n setThirdPartyModal(\"hubspot\")}\n >\n Get a Demo\n \n \n )}\n {integration.apiKey && (\n <>\n

\n Need help? Read this article\n

\n \n \n )}\n
\n \n )}\n \n {\n setThirdPartyModal(null);\n onClose(null);\n }}\n show={thirdPartyModal === \"hubspot\"}\n />\n {\n setThirdPartyModal(null);\n onClose(null);\n }}\n show={thirdPartyModal === \"zapier\"}\n />\n \n );\n};\n\nIntegrationModal.propTypes = {\n currentUser: PropTypes.shape().isRequired,\n integration: PropTypes.shape(),\n onClose: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n};\n\nIntegrationModal.defaultProps = {\n integration: undefined,\n};\n\nexport default IntegrationModal;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { MenuBase, MenuTitle } from \"./Menu\";\nimport IntegrationButton from \"./IntegrationButton\";\nimport IntegrationModal from \"./IntegrationModal\";\nimport { toggleMobileMenu } from \"../../reducers/layoutReducer\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst AppsMenu = () => {\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const options = useSelector(({ layout }) => layout?.sidebar?.menu?.find((m) => m.name === \"Apps\")?.options);\n const [openIntegration, setOpenIntegration] = useState(null);\n\n useEffect(() => {\n if (openIntegration) {\n dispatch(toggleMobileMenu(false));\n }\n });\n\n return (\n \n \n
\n {options.map((integration) =>\n integration.comingSoon ? null : (\n setOpenIntegration(integration)}\n />\n ),\n )}\n
\n setOpenIntegration(null)}\n />\n
\n );\n};\n\nexport default AppsMenu;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst PanelIcon = () => (\n \n \n \n);\n\nexport const PanelIconCaret = ({ className }) => (\n \n \n \n);\n\nPanelIconCaret.propTypes = { className: PropTypes.string };\nPanelIconCaret.defaultProps = { className: \"\" };\n\nexport default PanelIcon;\n","/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React, { useEffect, useState } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useSelector } from \"react-redux\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport { XmarkRegularV6 } from \"../../shared/v2/Icomoon\";\nimport useMobileMenu from \"./hooks/useMobileMenu\";\nimport MenuOption from \"./MenuOption\";\nimport AppsMenu from \"./AppsMenu\";\nimport Menu from \"./Menu\";\nimport BackButton from \"./BackButton\";\nimport ACTION_MAP from \"./ActionModals\";\nimport QuickSearch from \"../../QuickSearch/components/QuickSearch\";\n\nconst MobileSidebar = () => {\n const {\n actions,\n data: { isMobileMenuOpen, isSubmenuOpen },\n } = useMobileMenu();\n const theme = useSelector(({ layout }) => layout.theme);\n const sidebar = useSelector(({ layout }) => layout.sidebar);\n const [selected, setSelected] = useState({ name: null });\n const Action = ACTION_MAP[selected.name];\n\n useEffect(() => {\n const menuItem = sidebar.menu.find((m) => m.name === selected.name);\n if (menuItem) setSelected(menuItem);\n }, [sidebar]);\n\n return createPortal(\n <>\n {isMobileMenuOpen && (\n \n )}\n \n e.stopPropagation()}\n >\n
\n \n \n \n
\n \n
\n \n {sidebar.menu.map((m) => (\n setSelected(m)}\n />\n ))}\n
\n \n {!isSubmenuOpen && (\n
\n setSelected({ name: null })}>Back\n
\n )}\n {selected.name && selected.name !== \"Apps\" && (\n typeof o.enabled === \"undefined\" || o.enabled)}\n action={Action ? : null}\n />\n )}\n {selected.name === \"Apps\" && }\n
\n \n \n \n ,\n document.body,\n );\n};\n\nexport default MobileSidebar;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport IconButton from \"../../shared/v2/IconButton/IconButton\";\nimport HoverButton from \"./HoverButton\";\nimport Menu from \"./Menu\";\nimport AppsMenu from \"./AppsMenu\";\nimport PanelIcon, { PanelIconCaret } from \"./PanelIcon\";\nimport useMobileMenu from \"./hooks/useMobileMenu\";\nimport MobileSidebar from \"./MobileSidebar\";\nimport ICON_MAP from \"./helpers/icons\";\nimport ACTION_MAP from \"./ActionModals\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\nimport { setIsSidebarOpen } from \"../../reducers/layoutReducer\";\n\nconst Sidebar = () => {\n const {\n data: { isMobile },\n } = useMobileMenu();\n const dispatch = useDispatch();\n const currentUser = useCurrentUser();\n const featureFlags = useSelector(({ layout }) => layout.featureFlags);\n const sidebar = useSelector(({ layout }) => layout.sidebar);\n const theme = useSelector(({ layout }) => layout.theme);\n const mounted = useRef(false);\n const [isOpen, setIsOpen] = useState(localStorage.getItem(\"nav:closedManually\") !== \"true\");\n\n useEffect(() => {\n dispatch(setIsSidebarOpen(isOpen));\n }, [isOpen]);\n\n const [selected, setSelected] = useState({ name: null });\n const preventMenuOpen =\n [\n \"Dashboard\",\n \"Messages\",\n \"Projects\",\n \"Calendar\",\n \"Marketer\",\n \"Phone System\",\n \"Recruiter.ai\",\n \"Opportunities\",\n ].includes(selected.name) ||\n ([\"Search\"].includes(selected.name) && !(featureFlags.partnerSearch && theme.name === \"place-theme\"));\n const Action = ACTION_MAP[selected.name];\n\n useEffect(() => {\n const menuItem = sidebar.menu.find((m) => m.name === selected.name);\n if (menuItem) setSelected(menuItem);\n }, [sidebar]);\n\n useEffect(() => {\n let newSelection = \"Settings\";\n const { pathname, search } = window.location;\n const fullPath = `${pathname}${search}`;\n if (/^\\/dashboard/.test(fullPath)) newSelection = \"Dashboard\";\n else if (/^\\/messages/.test(fullPath)) newSelection = \"Messages\";\n else if (/^\\/phone_system/.test(fullPath)) newSelection = \"Phone System\";\n else if (\n /^\\/people\\/(?:leads|brivity_valuations|brivity_leads|brivity_idx|kwkly|zillow|all_people.+selected_lead_ponds)/.test(\n fullPath,\n )\n )\n newSelection = \"Leads\";\n else if (new RegExp(`^/people/(?!${currentUser.person.slug})`).test(fullPath)) newSelection = \"People\";\n else if (/^\\/(?:search_listings|partner_searches)/.test(fullPath)) newSelection = \"Search\";\n else if (/^\\/(?:listings|transactions)/.test(fullPath)) newSelection = \"Transactions\";\n else if (/^\\/projects/.test(fullPath)) newSelection = \"Projects\";\n else if (/^\\/agent_stats/.test(fullPath)) newSelection = \"Reporting\";\n else if (/^\\/marketing/.test(fullPath)) newSelection = \"Marketing\";\n else if (/^\\/events/.test(fullPath)) newSelection = \"Calendar\";\n else if (/^\\/tasks/.test(fullPath)) newSelection = \"Tasks\";\n else if (/^\\/opportunities/.test(fullPath)) newSelection = \"Opportunities\";\n else if (/^\\/website/.test(fullPath)) newSelection = \"Website\";\n\n setSelected(sidebar.menu.find((m) => m.name === newSelection));\n }, []);\n\n useEffect(() => {\n if (preventMenuOpen) {\n setIsOpen(false);\n } else if (mounted.current) {\n setIsOpen(true);\n }\n if (selected.name && !mounted.current) mounted.current = true;\n }, [selected.name, preventMenuOpen]);\n\n if (isMobile) return ;\n\n return (\n \n
\n
\n {sidebar.menu.map((menuItem) => {\n const { enabled, name, href, target } = menuItem;\n if (!enabled) return null;\n const Icon = ICON_MAP[name];\n return (\n {\n if (name === selected.name && !preventMenuOpen) setIsOpen((o) => !o);\n setSelected(menuItem);\n }}\n >\n \n \n );\n })}\n
\n\n
\n \n setIsOpen((o) => {\n const open = !o;\n window.localStorage.setItem(\"nav:closedManually\", !open);\n return open;\n })\n }\n >\n \n \n \n
\n
\n\n \n {selected.name !== \"Apps\" && (\n typeof o.enabled === \"undefined\" || o.enabled)}\n action={Action ? : null}\n />\n )}\n {selected.name === \"Apps\" && }\n \n \n );\n};\n\nexport default Sidebar;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport Sidebar from \"./Sidebar\";\n\nconst SidebarApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n\nexport default SidebarApp;\n","import React from \"react\";\nimport { Row, Col } from \"../../shared/v1\";\n\nexport default class SharedAutoPlan extends React.Component {\n displaySharedOrNot = () => {\n if (this.props.plan.share_pending) {\n return Adding Plan...;\n } else if (this.props.plan.share_accepted) {\n return Added;\n } else {\n return (\n {\n this.props.handleOpenModal(this.props.plan.id);\n }}\n >\n \n Add to my plans\n \n );\n }\n };\n\n render() {\n return (\n \n \n \n \n \n \n {this.props.plan.name}\n \n \n {this.props.plan.type}\n {this.props.plan.steps}\n {this.props.plan.enrolled}\n {this.props.plan.shared_by}\n {this.props.plan.shared_on}\n \n {this.displaySharedOrNot()}\n \n \n );\n }\n}\n","import React from \"react\";\nimport { Modal, Button, CancelButton } from \"../../shared/v1\";\n\nconst AcceptSharedPlanModal = (props) => {\n return (\n \n \n Are you sure?\n \n \n

\n Adding this Auto Plan to your account will also add any custom roles and dates associated with the\n plan. Are you sure you want to add \"{props.acceptedPlanName}\"?\n

\n \n props.handleAcceptPlan(props.acceptingPlanId)}\n >\n Yes, Add Plan\n \n
\n
\n );\n};\n\nexport default AcceptSharedPlanModal;\n","import React from \"react\";\nimport { Row } from \"../../shared/v1\";\n\nconst NoSharedPlan = (props) => {\n return (\n
\n \n \n

Shared auto plans will show here!

\n
\n
\n );\n};\n\nexport default NoSharedPlan;\n","import React from \"react\";\nimport { Row, Col } from \"../../shared/v1\";\nimport SharedAutoPlan from \"./SharedAutoPlan\";\n\nconst SharedAutoPlans = (props) => {\n return (\n
\n \n \n
\n \n \n \n \n Name\n \n \n \n Auto Plan Type\n Steps\n Enrolled\n Shared By\n Shared On\n \n {props.sharedPlans.map((plan) => (\n \n ))}\n
\n \n
\n
\n );\n};\n\nexport default SharedAutoPlans;\n","import React from 'react';\nimport SharedAutoPlan from './SharedAutoPlan';\nimport ShareAutoPlanModal from './AcceptSharedPlanModal';\nimport axios from 'axios';\nimport DismissibleAlert from '../../shared/DismissibleAlert';\nimport SharedAutoPlansEmptyState from './SharedAutoPlansEmptyState.png';\nimport NoSharedPlan from './NoSharedPlan';\nimport SharedAutoPlans from './SharedAutoPlans';\nimport './SharedAutoPlans.sass'\n\nexport default class SharedAutoPlansApp extends React.Component {\n state = {\n sharedPlans: [],\n isModalOpen: false,\n acceptingPlanId: undefined,\n acceptedPlanName: undefined,\n displayAlert: false\n };\n\n componentDidMount() {\n this.setState(() => ({\n sharedPlans: this.props.sharedPlans\n }));\n }\n\n handleOpenModal = (id) => {\n const acceptedPlan = this.state.sharedPlans.find((plan) => {\n return plan.id === id\n });\n this.setState(() => ({\n isModalOpen: true,\n acceptingPlanId: id,\n acceptedPlanName: acceptedPlan.name\n }));\n };\n\n handleCloseModal = () => {\n this.setState(() => ({\n isModalOpen: false,\n acceptingPlanId: undefined,\n acceptedPlanName: undefined\n }));\n };\n\n handleDismissAlert = () => {\n this.setState(() => ({\n displayAlert: false,\n acceptedPlanName: undefined\n }));\n };\n\n handleAcceptPlan = (acceptingPlanId) => {\n const path = `/shared_auto_plans/${acceptingPlanId}/accept`;\n axios.patch(path, { authenticity_token: ReactOnRails.authenticityToken() })\n .then((response) => {\n const updated = this.state.sharedPlans.map((plan) => {\n if (plan.id === acceptingPlanId) {\n return {\n ...plan,\n share_pending: true\n }\n } else {\n return plan;\n }\n });\n\n this.setState(() => ({\n sharedPlans: updated,\n isModalOpen: false,\n acceptingPlanId: undefined,\n displayAlert: true\n }));\n })\n .catch(err => {\n console.log('The was an error', err);\n });\n };\n\n render() {\n const { sharedPlans } = this.state;\n const alertMessage = (\n

\n The shared Auto Plan {this.state.acceptedPlanName} is being added to your account. This can take anywhere from 0-5\n minutes. Check back in a few minutes, or refresh the page until you see the status change to \"added\". If the\n status hasn't updated after 10 minutes, please contact support by calling 855-427-4848.\n

\n );\n\n return (\n
\n\n \n
\n
\n Shared With Me\n
\n
\n {!sharedPlans.length ? (\n \n ) : (\n \n )}\n \n
\n
\n
\n );\n }\n}\n","import React from \"react\";\nimport { TD, TR } from \"../../Reports/components/BusinessDashboard/Table/Table\";\nimport Toggle from \"@shared/v2/Toggle\";\nimport { LockSolidV6, TrashCanSolidV6 } from \"@shared/v2/Icomoon\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport IconButton from \"@shared/v2/IconButton\";\n\nconst Source = ({\n onToggle,\n onDelete,\n source,\n source: { id, hidden, name, isBrivityDefault, appliedTo, appliedToCount },\n}) => (\n \n {name}\n \n \n {appliedTo}\n \n \n \n {isBrivityDefault ? (\n \n ) : (\n onToggle(source)}\n labelClassName=\"tw-mb-0 !tw-inline-flex\"\n />\n )}\n \n \n {onDelete && !isBrivityDefault && appliedToCount === 0 && (\n \n \n \n )}\n \n \n);\n\nexport default Source;\n","import React, { useEffect, useMemo } from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Modal from \"@shared/v2/Modal\";\n\nconst SourceModal = ({ sources, show, onHide, onSubmit }) => {\n const options = useMemo(\n () => sources.map((source) => ({ label: source.name, value: source.id })),\n [sources],\n );\n const [name, setName] = React.useState(\"\");\n const error = useMemo(\n () =>\n options.find((s) => s.label.toLowerCase().trim() === name.toLowerCase().trim())\n ? \"This source already exists, try something else.\"\n : \"\",\n [options, name],\n );\n\n useEffect(() => {\n if (!show) setName(\"\");\n }, [show]);\n\n return (\n \n {\n e.preventDefault();\n onSubmit({ name });\n }}\n >\n \n \n \n option.label\n .replace(/\\s+/g, \"\")\n .toLowerCase()\n .includes(inputValue.replace(/\\s+/g, \"\").toLowerCase())\n }\n error={error}\n inputValue={name}\n isSearchable\n label=\"Source Name\"\n menuShouldComeToFront\n noOptionsMessage=\"No Source Found\"\n onInputChange={setName}\n onChange={(source) => setName(source?.label || \"\")}\n options={options}\n placeholder=\"\"\n selectInputOnMenuOpen={false}\n shouldFilterOptions\n />\n \n \n \n \n \n \n \n );\n};\n\nexport default SourceModal;\n","import { useEffect, useState } from \"react\";\nimport axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst useSources = () => {\n const [error, setError] = useState(null);\n const [loading, setLoading] = useState(true);\n const [sources, setSources] = useState([]);\n\n useEffect(() => {\n setLoading(true);\n const abortController = new AbortController();\n\n caseTransformingAxios\n .get(\"/source_settings.json\", { signal: abortController.signal })\n .then((res) => {\n setSources(res.data.data.map((s) => s.attributes));\n setLoading(false);\n })\n .catch((err) => {\n if (axios.isCancel(err)) return;\n console.error(err);\n setLoading(false);\n });\n\n return () => abortController.abort();\n }, []);\n\n return {\n actions: {\n addSource: (source) =>\n caseTransformingAxios\n .post(\"/source_settings\", source)\n .then((res) => {\n setSources((prev) => [...prev, res.data.data.attributes]);\n })\n .catch((err) => {\n setError(err.response?.data);\n }),\n toggleSource: (source) =>\n caseTransformingAxios\n .patch(`/source_settings/${source.id}`, {\n hidden: !source.hidden,\n })\n .then(() => {\n setSources((prev) => prev.map((s) => (s.id === source.id ? { ...s, hidden: !s.hidden } : s)));\n })\n .catch((err) => {\n console.error(err);\n }),\n deleteSource: (source) =>\n caseTransformingAxios\n .delete(`/source_settings/${source.id}`)\n .then(() => {\n setSources((prev) => prev.filter((s) => s.id !== source.id));\n })\n .catch((err) => {\n console.error(err);\n }),\n },\n error,\n loading,\n sources,\n };\n};\n\nexport default useSources;\n","import React from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\n\nconst DeleteSourceModal = ({ source, onDelete, onHide }) => (\n \n \n Are you sure you want to delete this source?\n \n \n \n \n \n);\n\nexport default DeleteSourceModal;\n","import React, { useMemo, useState } from \"react\";\nimport { sortBy } from \"lodash\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Button from \"@shared/v2/Button\";\nimport Source from \"./Source\";\nimport { TBody, TH, THead, TR, Table } from \"../../Reports/components/BusinessDashboard/Table/Table\";\nimport Loading from \"../../Goals/components/Loader\";\nimport SourceModal from \"./SourceModal\";\nimport useSources from \"../hooks/useSources\";\nimport DeleteSourceModal from \"./DeleteSourceModal\";\n\nconst Sources = () => {\n const [sourceToDelete, setSourceToDelete] = useState(null);\n const [sortKey, setSortKey] = useState(\"name\");\n const [sortDirection, setSortDirection] = useState(\"asc\");\n const [showNewSourceModal, setShowNewSourceModal] = useState(false);\n const { actions, loading, sources } = useSources();\n const sortedSources = useMemo(() => {\n const sorted = sortBy(sources, [sortKey]);\n if (sortDirection === \"desc\") sorted.reverse();\n return sorted;\n }, [sources, sortKey, sortDirection]);\n\n const onSort = (key) => () => {\n setSortKey(key);\n if (sortKey === key) setSortDirection(sortDirection === \"asc\" ? \"desc\" : \"asc\");\n };\n\n return (\n
\n
\n

Sources

\n \n
\n\n
\n {loading && }\n \n \n \n \n \n \n Hide/Show\n }\n content=\"Toggle which sources appear in your account's source list\"\n />\n \n \n \n \n {sortedSources.map((source) => (\n \n ))}\n \n
\n Source\n \n Applied To\n \n
\n
\n\n setShowNewSourceModal(false)}\n onSubmit={(source) => actions.addSource(source).then(() => setShowNewSourceModal(false))}\n />\n\n setSourceToDelete(null)}\n onDelete={() => actions.deleteSource(sourceToDelete).then(() => setSourceToDelete(null))}\n />\n
\n );\n};\n\nexport default Sources;\n","import React from 'react';\nimport { Button, Col, Row } from 'react-bootstrap';\nimport Moment from 'moment';\n\nconst SuperUsersTable = (props) => {\n const { onEdit, onRemove, superUsers } = props;\n\n const handleOnRemove = (e, superUser) => {\n e.preventDefault();\n\n if (window.confirm(\"Are you sure?\")) {\n onRemove(superUser.id);\n }\n }\n\n const dateFormat = \"MM/DD/YYYY h:mm:ss a\";\n\n const superUserTableRow = (superUser) =>\n \n {superUser.id}\n {superUser.email}\n {superUser.role}\n {Moment(superUser.created_at).format(dateFormat)}\n {Moment(superUser.updated_at).format(dateFormat)}\n \n onEdit(superUser)}>\n Edit\n \n \n \n handleOnRemove(e, superUser)}>\n Remove\n \n \n \n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n {superUsers.map(superUserTableRow)}\n
IDEmailRoleCreated AtUpdated At\n \n
\n \n
\n )\n}\nexport default SuperUsersTable;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Col, Row, ListGroup, ListGroupItem } from \"react-bootstrap\";\n\nconst FormErrors = ({ formErrors }) => (\n \n There were {Object.keys(formErrors).length} errors.\n \n \n {Object.entries(formErrors).map(([name, messages]) => (\n \n {name}: {messages.join(\", \")}\n \n ))}\n \n \n \n);\n\nFormErrors.propTypes = {\n formErrors: PropTypes.shape().isRequired,\n};\n\nexport default FormErrors;\n","import React from 'react';\nimport { Button, Form } from 'react-bootstrap';\nimport FormErrors from \"./FormErrors\";\n\nconst FormWrapper = (props) => {\n const { children, formErrors, onCancel, onSubmit } = props;\n\n return (\n
\n { formErrors && }\n
\n { children }\n
\n\n
\n
\n \n\n \n
\n
\n
\n );\n}\n\nexport default FormWrapper;\n","import React from 'react';\nimport { Col, ControlLabel, FormControl, FormGroup } from 'react-bootstrap';\n\nconst EmailInput = (props) => {\n const { onChange, validationState, value } = props;\n\n return (\n \n Email\n\n \n \n \n \n )\n}\n\nexport default EmailInput;\n","import React from 'react';\nimport { Col, ControlLabel, FormControl, FormGroup } from 'react-bootstrap';\n\nconst PasswordInput = (props) => {\n const { onChange, validationState, value } = props;\n\n return (\n \n Password\n\n \n \n \n \n );\n}\n\nexport default PasswordInput;\n","import React from 'react';\nimport { Col, ControlLabel, FormControl, FormGroup } from 'react-bootstrap';\n\nconst RoleSelectInput = (props) => {\n const { onChange, options, validationState, value } = props\n\n return (\n \n Role\n\n \n \n { options.map((o) => ) }\n \n \n \n )\n}\n\nexport default RoleSelectInput;\n","import React, { useState } from 'react';\nimport FormWrapper from \"./form_controls/FormWrapper\";\nimport EmailInput from \"./form_controls/EmailInput\";\nimport PasswordInput from \"./form_controls/PasswordInput\";\nimport RoleSelectInput from \"./form_controls/RoleSelectInput\";\n\nconst SuperUserForm = (props) => {\n const { onCancel, onSubmit, roleOptions, formErrors } = props;\n\n const [email, setEmail] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [role, setRole] = useState(roleOptions[0]);\n\n const handleOnSubmit = (e) => {\n e.preventDefault();\n\n onSubmit({ email, password, role });\n };\n\n const validate = (name) => {\n if (formErrors && formErrors[name]) {\n return \"error\"\n }\n return null;\n }\n\n return (\n \n setEmail(e.target.value)}\n />\n\n setPassword(e.target.value)}\n />\n\n setRole(e.target.value)}\n options={roleOptions}\n />\n \n );\n}\n\nexport default SuperUserForm;\n","import React from 'react';\nimport { Checkbox, Col, ControlLabel, FormControl, FormGroup } from 'react-bootstrap';\n\nconst ChangePasswordCheckboxInput = (props) => {\n const { onChange, value } = props;\n\n return (\n \n Change Password\n\n \n \n \n \n )\n}\n\nexport default ChangePasswordCheckboxInput;\n","import React, { useState } from 'react';\nimport FormWrapper from \"./form_controls/FormWrapper\";\nimport EmailInput from \"./form_controls/EmailInput\";\nimport PasswordInput from \"./form_controls/PasswordInput\";\nimport RoleSelectInput from \"./form_controls/RoleSelectInput\";\nimport ChangePasswordCheckboxInput from \"./form_controls/ChangePasswordCheckboxInput\";\n\nconst EditSuperUserForm = (props) => {\n const { onCancel, onSubmit, roleOptions, formErrors, superUser } = props;\n\n const [email, setEmail] = useState(superUser.email);\n const [password, setPassword] = useState(\"\");\n const [changePassword, setChangePassword] = useState(false);\n const [role, setRole] = useState(superUser.role);\n\n const handleOnSubmit = (e) => {\n e.preventDefault();\n\n const params = { email, role };\n\n if (changePassword) {\n params.password = password;\n }\n\n onSubmit(superUser.id, params);\n };\n\n const validate = (name) => {\n if (formErrors && formErrors[name]) {\n return \"error\"\n }\n return null;\n }\n\n return (\n \n setEmail(e.target.value)}\n />\n\n setChangePassword(e.target.checked)}\n />\n\n { changePassword &&\n setPassword(e.target.value) }\n />\n }\n\n setRole(e.target.value)}\n options={roleOptions}\n />\n \n );\n}\n\nexport default EditSuperUserForm;\n","import axios from \"axios\";\n\nconst route = \"/support/super_users\";\n\nconst jsonAcceptHeaders = {\n headers: {\n 'Content-Type': 'application/json',\n 'Accept': 'application/json'\n }\n};\n\nconst SuperUserRequests = {\n create: async (params) => {\n await axios.post(route, { super_user: params });\n },\n csvExport: () => window.open(`${route}.csv`),\n index: async (page) => {\n const response = await axios.get(\n `${route}?page=${page}`,\n jsonAcceptHeaders\n );\n\n return response.data;\n },\n search: async (searchTerm = \"\", roleFilter = \"\", page = 1) => {\n const response = await axios.get(\n `${route}?q=${searchTerm}&role=${roleFilter}&page=${page}`,\n jsonAcceptHeaders\n );\n\n return response.data;\n },\n update: async (id, params) => {\n await axios.put(\n `${route}/${id}`,\n { super_user: params }\n );\n },\n destroy: async (id) => {\n await axios.delete(`${route}/${id}`)\n }\n\n};\n\nexport default SuperUserRequests;\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport { Form, FormGroup, InputGroup, FormControl } from \"react-bootstrap\";\nimport {debounce, capitalize} from \"lodash\";\n\n\n\nconst SearchInput = ({onSearch, options}) => {\n const [currentSearchTerm, _setCurrentSearchTerm] = useState(new URLSearchParams(window.location.search).get(\"q\")||\"\");\n const [currentRoleFilter, setCurrentRoleFilter] = useState(new URLSearchParams(window.location.search).get(\"role\")||\"\");\n\n const setCurrentSearchTerm = useMemo(() => debounce(_setCurrentSearchTerm, 200),[])\n\n useEffect(() => {onSearch(currentSearchTerm, currentRoleFilter)}, [currentSearchTerm, currentRoleFilter])\n\n return (\n
\n \n \n\n setCurrentRoleFilter(e.target.value)}\n value={currentRoleFilter}\n >\n \n { options.map((o) => ) }\n \n \n \n Search by Email\n\n setCurrentSearchTerm(e.target.value)}\n />\n \n \n
\n )\n}\n\nexport default SearchInput;\n","import React from 'react';\nimport { Button, Col, Row } from 'react-bootstrap';\nimport SearchInput from './form_controls/SearchInput';\nimport SuperUserRequests from \"./SuperUserRequests\";\n\nconst HeaderControls = (props) => {\n const { backUrl, onAddSuperUser, onSearch, roleOptions } = props;\n\n const onExportCSV = () => {\n SuperUserRequests.csvExport();\n };\n\n return (\n \n Back\n\n \n
\n \n\n \n Export All Super Users\n \n\n \n
\n \n
\n )\n}\n\nexport default HeaderControls;\n \n","import React from \"react\"\nimport { Row }from \"react-bootstrap\"\nimport Pagination from \"../../shared/Pagination\";\n\nconst PaginationWrapper = ({ paginationInfo, onGoToPage }) => {\n return (\n \n
\n \n
\n
\n )\n}\n\nexport default PaginationWrapper;\n","import axios from \"axios\";\nimport React, { useState } from \"react\";\nimport SuperUsersTable from \"./SuperUsersTable\";\nimport NewSuperUserForm from \"./NewSuperUserForm\";\nimport EditSuperUserForm from \"./EditSuperUserForm\";\nimport SuperUserRequests from \"./SuperUserRequests\";\nimport HeaderControls from \"./HeaderControls\";\nimport PaginationWrapper from './PaginationWrapper';\n\nconst SuperUsersIndex = (props) => {\n const { backUrl, roleOptions } = props;\n\n const [superUsers, setSuperUsers] = useState(props.superUsers);\n\n const [editingSuperUser, setEditingSuperUser] = useState(undefined);\n\n const [formErrors, setFormErrors] = useState(undefined);\n\n const [paginationInfo, setPaginationInfo] = useState(props.paginationInfo);\n\n const [currentSearchTerm, setCurrentSearchTerm] = useState(\"\");\n\n const [currentRoleFilter, setCurrentRoleFilter] = useState(\"\");\n\n const SuperUserPanelViews = {\n SUPER_USERS_TABLE: \"Super Users Table\",\n NEW_SUPER_USER_FORM: \"New Super Users Form\",\n EDIT_SUPER_USER_FORM: \"Edit Super Users Form\"\n };\n\n const [panelView, setPanelView] = useState(\n SuperUserPanelViews.SUPER_USERS_TABLE\n );\n\n const showTableView = () => {\n setFormErrors(undefined);\n\n setPanelView(SuperUserPanelViews.SUPER_USERS_TABLE);\n }\n\n const refresh = async (pageNum = 1) => {\n const response = await SuperUserRequests.index(pageNum);\n\n setSuperUsers(response.super_users);\n\n setPaginationInfo(response.pagination_info);\n }\n\n const onSubmitCreate = async (params) => {\n try {\n await SuperUserRequests.create(params);\n\n await refresh();\n\n showTableView();\n } catch (e) {\n setFormErrors(e.response.data);\n }\n };\n\n const onSubmitUpdate = async (id, params) => {\n try {\n await SuperUserRequests.update(id, params)\n\n await refresh();\n\n showTableView();\n } catch (e) {\n setFormErrors(e.response.data);\n }\n }\n\n const onCancelForm = (e) => {\n e.preventDefault();\n\n showTableView();\n };\n\n const onRemoveSuperUser = async (superUserId) => {\n try {\n await SuperUserRequests.destroy(superUserId);\n\n await refresh();\n } catch (e) {\n // flash warning?\n }\n }\n\n const onSearchUsers = async (searchTerm, roleFilter) => {\n setCurrentSearchTerm(searchTerm);\n setCurrentRoleFilter(roleFilter);\n try {\n if (searchTerm === \"\" && roleFilter === \"\") {\n await refresh();\n } else {\n const response = await SuperUserRequests.search(searchTerm, roleFilter);\n setSuperUsers(response.super_users);\n\n setPaginationInfo(response.pagination_info);\n }\n } catch (e) {\n // flash warning?\n }\n }\n\n const onEditSuperUser = (superUser) => {\n setFormErrors(undefined);\n\n setEditingSuperUser(superUser);\n\n setPanelView(SuperUserPanelViews.EDIT_SUPER_USER_FORM);\n };\n\n const onGoToPage = async (pageNum) => {\n const response = await SuperUserRequests.search(currentSearchTerm, currentRoleFilter, pageNum);\n\n setSuperUsers(response.super_users);\n\n setPaginationInfo(response.pagination_info);\n };\n\n return (\n
\n
Super Users
\n\n
\n {\n panelView === SuperUserPanelViews.SUPER_USERS_TABLE &&\n
\n setPanelView(SuperUserPanelViews.NEW_SUPER_USER_FORM)\n }\n onSearch={onSearchUsers}\n roleOptions={roleOptions}\n />\n \n \n
\n }\n {\n panelView === SuperUserPanelViews.NEW_SUPER_USER_FORM &&\n \n }\n {\n panelView === SuperUserPanelViews.EDIT_SUPER_USER_FORM &&\n \n }\n
\n
\n );\n}\n\nexport default SuperUsersIndex;\n","import React from \"react\";\nimport ReactOnRails from \"react-on-rails\";\nimport { Button, Row, Table, ToggleButton, ToggleButtonGroup } from \"react-bootstrap\";\nimport axios from \"axios\";\nimport serialize from \"form-serialize\";\nimport capitalize from \"capitalize\";\n\nexport default class SupportAccountFeatures extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n isSubmitting: false,\n featureToggles: props.feature_toggles,\n features: props.features,\n accountError: false,\n };\n }\n\n FeatureRow = (feature) => {\n const feature_toggle = this.state.featureToggles.filter((ft) => ft.feature_id === feature.id);\n return (\n \n {feature_toggle[0] ? feature_toggle[0].id : \"\"}\n {feature.name.split(\"_\").map(element =>{return capitalize(element)}).join(\" \")}\n {feature.desc}\n {feature.category}\n \n \n Enabled\n Disabled\n \n \n \n );\n };\n\n handleSubmit = (event) => {\n event.preventDefault();\n this.setState({ isSubmitting: event });\n const featureUpdatePath = \"/support/accounts/\" + this.props.account.id + \"/update_account_features\";\n const formData = serialize(event.target, { hash: true });\n axios\n .post(\n featureUpdatePath,\n { features: formData, authenticity_token: ReactOnRails.authenticityToken() },\n { headers: { \"Content-Type\": \"application/json\" } },\n )\n .then((res) => this.featuresUpdateSuccess(res))\n .catch((error) => {\n this.handleError(error.response.data);\n });\n };\n\n featuresUpdateSuccess = (response) => {\n return this.setState({\n isSubmitting: false,\n featureToggles: response.data.feature_toggles,\n features: response.data.features,\n });\n };\n\n handleError = (error) => {\n this.setState({ isSubmitting: false, accountError: error });\n };\n\n accountErrors() {\n return (\n \n
\n {this.state.accountError.errors.map((error) => error + \" \")}\n
\n
\n );\n }\n\n render() {\n let displayError;\n if (this.state.accountError) {\n displayError = this.accountErrors();\n }\n return (\n
\n {displayError}\n \n
\n
\n {displayError}\n \n \n \n \n \n \n \n \n \n \n {this.state.features.map((feature) => this.FeatureRow(feature))}\n
Feature Toggle IDFeatureDescriptionCategory
\n
\n {this.state.isSubmitting ? (\n \n ) : (\n \n )}\n
\n
\n
\n
\n
\n );\n }\n}\n","import React from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\n\nconst BrokerageExpenses = (\n { transactionResults: { team_member_incomes, meta: { brokerage_cap, for_brokerage_cap, cap_less_total, has_developer_role, is_over, royalty_cap, total } },\n resetTeamMemberIncome\n }\n) => {\n const over_under_color = is_over ? \"red\" : \"green\";\n\n const can_reset = (brokerage_expense_amount) => brokerage_expense_amount && brokerage_expense_amount > 0 && has_developer_role\n\n return (\n
\n \n \n Listing\n \n \n Expense Amount\n \n \n {\n team_member_incomes.length == 0 &&
No results match that given user/slug
\n }\n {\n team_member_incomes.length > 0 && team_member_incomes.map(({ brokerage_expense_amount, id, listing_url, transaction_name, listing_id }) => (\n \n \n {transaction_name}\n \n {brokerage_expense_amount}\n {can_reset(brokerage_expense_amount) && resetTeamMemberIncome(for_brokerage_cap, id, listing_id)}>Reset }\n \n ))\n }\n \n Total Accumulated For Cap Period\n \n \n ${total}\n \n \n Agent's {for_brokerage_cap ? \"Brokerage Cap\" : \"Royalty Cap\"}\n \n \n ${for_brokerage_cap ? brokerage_cap : royalty_cap}\n \n \n Agent is {is_over ? \"over\" : \"under\"} by ${cap_less_total}\n \n
\n )\n}\n\nexport default BrokerageExpenses;\n","import React, { Component } from \"react\";\nimport { Row, Col } from \"react-bootstrap\";\nimport axios from \"axios\";\n\nexport default class ExpenseFinder extends Component {\n state = {\n email: '',\n fetchingData: false,\n forBrokerageCap: true,\n slug: ''\n }\n\n handleChange = (e) => this.setState({ [e.target.name]: e.target.value })\n\n handleSubmit = (e) => {\n e.preventDefault()\n this.setState({ fetchingData: true })\n const { email, forBrokerageCap, slug } = this.state\n const { accountId, setTransactionResults } = this.props\n\n axios.get(`/support/accounts/${accountId}/list_transaction_financials`, { params: { email, forBrokerageCap, slug } })\n .then((res) => this.setState({ fetchingData: false }, () => setTransactionResults(res.data)))\n }\n\n radioButtonClass = (isSelected) => isSelected ? \"fa fa-dot-circle-o brivity-blue\" : \"brivity-grey-text fa fa-circle-o\";\n\n toggleButtons = () => this.setState((prevState) => ({ forBrokerageCap: !prevState.forBrokerageCap }))\n\n render() {\n const { email, fetchingData, forBrokerageCap, slug } = this.state\n return (\n
\n \n \n
\n \n \n
\n \n \n
\n \n \n
\n \n
\n \n \n
\n
Issue with:
\n
\n this.toggleButtons()} style={{ marginRight: \"8px\" }} />\n Brokerage Split Amounts\n
\n
\n this.toggleButtons()} style={{ marginRight: \"8px\" }} />\n Royalty Amounts\n
\n
\n \n
\n \n
\n )\n }\n}\n","import React, { Component } from \"react\";\nimport BrokerageExpenses from \"./BrokerageExpenses\";\nimport ExpenseFinder from \"./ExpenseFinder\";\nimport axios from \"axios\";\n\nexport default class SupportTransactionFinancials extends Component {\n state = {\n transactionResults: undefined\n }\n\n setTransactionResults = (data) => this.setState({ transactionResults: data })\n\n resetTeamMemberIncome = (forBrokerageCap, incomeId, listingId) => {\n axios.patch(`/support/accounts/${this.props.accountId}/reset_team_member_income/${incomeId}`, { listing_id: listingId, for_brokerage_cap: forBrokerageCap })\n .then((res) => this.setState({ transactionResults: res.data }))\n }\n\n render() {\n const { transactionResults } = this.state\n const { accountId } = this.props\n\n return (\n
\n \n {transactionResults && }\n
\n )\n }\n}\n","const activateWithTempPassword = {\n endpoint: ({ accountId, userId }) => `/support/accounts/${accountId}/users/${userId}/run_activate_with_temp_password`,\n successMessage: \"Activated a user and set their password to \\\"Brivity1\\\".\",\n};\n\nconst clearOktaEmailBounce = {\n endpoint: ({ accountId, userId }) => `/support/accounts/${accountId}/users/${userId}/run_clear_okta_email_bounce`,\n successMessage: \"Cleared the bounce record from Okta (if one existed)\"\n}\n\nconst initializeUserGroups = {\n endpoint: ({ accountId, userId }) => `/support/accounts/${accountId}/users/${userId}/run_initialize_user_groups`,\n successMessage: \"Added user to CRM Users, and PLACE User groups if applicable. (does not remove groups)\"\n};\n\nconst runProvisionThinkificAccounts = {\n endpoint: ({accountId, userId }) => `/support/accounts/${accountId}/users/${userId}/run_provision_thinkific_accounts`,\n successMessage: \"User Provisioning Started\"\n}\n\nconst runOktaImport = {\n endpoint: ({ accountId, userId }) => `/support/accounts/${accountId}/users/${userId}/run_okta_import`,\n successMessage: \"Okta Import started.\",\n};\n\nconst setTemporaryPassword = {\n endpoint: ({ accountId, userId }) => `/support/accounts/${accountId}/users/${userId}/run_set_temporary_password`,\n successMessage: \"User's password set to \\\"Brivity1\\\".\",\n}\n\nconst Jobs = {\n \"Activate a user with a temporary password\": activateWithTempPassword,\n \"Clear the Okta email bounce\": clearOktaEmailBounce,\n \"Initialize User Groups\": initializeUserGroups,\n \"Provision Thinkific Accounts\": runProvisionThinkificAccounts,\n \"Run Okta Import\": runOktaImport,\n \"Set Temporary Password\": setTemporaryPassword\n};\n\nexport default Jobs;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport axios from 'axios';\nimport Jobs from './jobs'\n\nconst JobRunner = (props) => {\n const { accountId, handleSuccess, handleError, userId } = props;\n\n const [selectedJob, setSelectedJob] = useState(Object.keys(Jobs)[0]);\n\n const onJobSuccess = () => { handleSuccess(Jobs[selectedJob].successMessage) }\n\n const onJobError = (e) => {\n handleError(e.response.data)\n }\n\n const runJob = () => {\n const endpoint = Jobs[selectedJob].endpoint({ accountId, userId });\n\n axios.post(endpoint).then(onJobSuccess).catch(onJobError)\n }\n\n return (\n
\n \n\n setSelectedJob(e.target.value)}\n style={{ margin: \"0px 12px\" }}\n value = {selectedJob}\n >\n {Object.keys(Jobs).map((job) => )}\n \n\n \n
\n );\n}\n\nJobRunner.propTypes = { \n accountId: PropTypes.number.isRequired,\n handleSuccess: PropTypes.func.isRequired,\n handleError: PropTypes.func.isRequired,\n userId: PropTypes.number.isRequired\n}\n\nexport default JobRunner;\n","import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport axios from 'axios';\nimport css from \"../../Reports/components/report-styles.module.css\";\n\nconst OktaStatus = ({ accountId, userId }) => {\n const [oktaProfileUrl, setOktaProfileUrl] = useState(null);\n const [oktaStatus, setOktaStatus] = useState(null);\n const [statusLoading, setStatusLoading] = useState(true);\n\n useEffect(() => {\n axios.get(`/support/accounts/${accountId}/users/${userId}/okta_status`)\n .then((response) => {\n setStatusLoading(false);\n\n setOktaStatus(response.data.okta_status);\n\n setOktaProfileUrl(response.data.okta_profile_url);\n })\n }, []);\n\n return
\n Okta Status:\n {oktaStatus &&\n {oktaStatus}\n }\n {!statusLoading && oktaStatus === null &&\n NO OKTA ACCOUNT FOR THIS USER\n }\n {statusLoading &&\n Loading...\n }\n
\n}\n\nOktaStatus.propTypes = {\n accountId: PropTypes.number.isRequired,\n userId: PropTypes.number.isRequired\n}\n\nexport default OktaStatus;\n","import React, { useEffect, useState } from 'react';\nimport { Table } from 'react-bootstrap';\nimport PropTypes from 'prop-types';\nimport axios from 'axios';\n\nconst UserTable = ({ currentSuperUserRole, onEditUser, users }) => {\n const [oktaStatuses, setOktaStatuses] = useState([])\n\n useEffect(() => {\n if (users.length === 0) return;\n\n axios.get(`/support/accounts/${users[0].account_id}/users/okta_statuses`)\n .then((response) => {\n const tempOktaStatuses = {};\n\n users.forEach(user => {\n const oktaStatus = response.data.users.find((os) => os.user_id === user.id)\n\n tempOktaStatuses[user.id] = oktaStatus;\n })\n\n setOktaStatuses(tempOktaStatuses);\n })\n }, [])\n\n const renderBecomeButton = (user) => {\n const link = `/super_users/${user.id}/become?become_user_email=${encodeURIComponent(user.email)}`\n\n return (\n \n Become\n \n )\n }\n\n const renderEditButton = (user) => {\n if (currentSuperUserRole === \"place\") { return null }\n\n return (\n onEditUser(user)}\n key={user.id}\n style={{ cursor: 'pointer' }}\n >\n Edit\n \n )\n }\n\n const renderOktaStatus = (userId) => {\n if (!oktaStatuses) { return null }\n\n const oktaStatus = oktaStatuses[userId]\n\n if (oktaStatus) {\n return \n {oktaStatus.okta_status &&\n {oktaStatus.okta_status}\n }\n {!oktaStatus.okta_status &&\n \"not found\"\n }\n \n }\n\n return (loading)\n }\n\n return \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n { users.map(user => \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n }\n \n
ToolsIDUUIDFirst NameLast NameEmailActiveCRM AccessManaged PhoneStatusOkta StatusTypeExternal
\n {renderBecomeButton(user)}\n {renderEditButton(user)}\n {user.id}{user.uuid}{user.person ? user.person.first_name : \"MISSING PERSON\"}{user.person ? user.person.last_name : \"N/A\"}{user.email}{user.active.toString()}{user?.crm_access.toString()}{user.managed_phone_number}{user.person ? user.person.status : \"N/A\"}{renderOktaStatus(user.id)}{user.person ? user.person.type_name : \"N/A\"}{user.external}
\n}\n\nconst UserShape = PropTypes.shape({\n account_id: PropTypes.number\n})\n\nUserTable.propTypes = {\n currentSuperUserRole: PropTypes.string.isRequired,\n onEditUser: PropTypes.func.isRequired,\n users: PropTypes.arrayOf(UserShape).isRequired\n}\n\nexport default UserTable;\n","import React, {Component} from 'react';\nimport ReactOnRails from 'react-on-rails';\nimport {Button, Checkbox, FormGroup, Col, Row, Table, Modal, Form} from 'react-bootstrap';\nimport Moment from 'moment';\nimport axios from 'axios';\nimport serialize from 'form-serialize';\nimport css from \"../../Reports/components/report-styles.module.css\";\nimport JobRunner from './JobRunner';\nimport OktaStatus from './OktaStatus';\nimport UserTable from './UserTable';\n\nexport default class SupportUsersIndex extends React.Component {\n\n constructor(props) {\n super(props)\n\n this.state = {\n modalOpen: false,\n isSubmitting: false,\n editUser: null,\n users: props.users,\n current_super_user_role: props.current_super_user_role,\n userError: false,\n successMessage: null,\n }\n\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n showModal = () => {\n this.setState({modalOpen: true})\n }\n\n hideModal = () => {\n this.setState({modalOpen: false, userError: false, successMessage: null})\n }\n\n editUserModal = (user) => {\n this.setState({editUser: user, userError: false})\n this.showModal()\n }\n\n async handleSubmit(event){\n event.preventDefault();\n this.setState({isSubmitting: event});\n const formData = serialize(event.target, { hash: true });\n\n axios.post(`/support/accounts/${this.state.editUser.id}/update_user`,\n {user: formData, authenticity_token: ReactOnRails.authenticityToken()},\n { headers: {\"Content-Type\": \"application/json\"} }\n )\n .then(res => this.userUpdateSuccess(res))\n .catch(error => { this.handleError(error.response.data) });\n }\n\n updateTableRow = (data) => {\n let key = data.id;\n const index = this.state.users.findIndex(user => user.id === key),\n users = [...this.state.users]\n users[index] = data;\n this.setState({users});\n }\n\n userUpdateSuccess = (response) => {\n this.setState({isSubmitting: false});\n this.hideModal();\n this.updateTableRow(response.data);\n }\n\n handleJobSuccess = (message) => {\n this.setState({ successMessage: message });\n }\n\n handleError = (error) =>{\n this.setState({isSubmitting: false, userError: error});\n }\n\n userErrors(){\n return(\n \n
\n {this.state.userError.errors.map(error =>\n error + \" \"\n )}\n
\n
\n )\n }\n\n personFields = (user) => {\n return(\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n )\n }\n\n selectOption = (val) => {\n return(\n \n )\n }\n\n editUserForm = (user) => {\n let displayError;\n if(this.state.userError){\n displayError = this.userErrors();\n }\n return(\n
\n
\n { displayError }\n { this.state.successMessage &&\n \n
\n {this.state.successMessage}\n
\n
\n }\n \n \n
\n \n {Moment(user.created_at).format(\"MM/DD/YYYY hh:mm A\")}\n
\n \n \n
\n \n {Moment(user.updated_at).format(\"MM/DD/YYYY hh:mm A\")}\n
\n \n \n \n \n
\n
\n
\n \n \n \n \n \n
\n \n \n
User Details
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
Person Details
\n {user.person ? (\n this.personFields(user)\n ) : (\n
\n

THIS USER IS MISSING A PERSON

\n

\n This is indicative of an exception elsewhere. Find or create a person to associate with this user.\n
\n Enter a person UUID below to associate this user to a person.\n

\n \n
\n )}\n \n
\n
\n \n {this.state.isSubmitting ?\n :\n \n }\n\n
\n
\n )\n }\n\n render() {\n return(\n\n
\n \n \n \n\n \n \n \n Edit User {this.state.editUser ? this.state.editUser.id : ''}\n \n \n \n \n \n {this.state.editUser ? this.editUserForm(this.state.editUser) : \"No User Selected\"}\n \n \n \n \n
\n )\n }\n}\n","import React, {Component} from 'react';\n\nexport default class TaskTaskable extends Component {\n\n render(){\n return(\n
\n { this.props.link &&\n \n {this.props.taskable_name}\n }\n
\n )\n }\n}\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Col, Row } from \"../../shared/v1\";\nimport CheckBox from \"../../shared/CheckBox\";\nimport ProfileIcon from \"../../shared/ProfileIcon\";\nimport * as TaskHelpers from \"./TaskIndexModalHelpers\";\nimport Moment from \"react-moment\";\nimport TaskSettings from \"./TaskSettings\";\nimport TaskTaskable from \"./TaskTaskable\";\nimport capitalize from \"capitalize\";\nimport { stripHtml } from \"../../shared/Utilities\";\nimport Tooltip from \"../../shared/v2/Tooltip\";\n\nexport default class Task extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n showDeleteModal: false,\n task: props.task,\n user: props.user,\n agents: props.agents,\n showModal: false,\n taskable_name: \"\",\n cancel_get_user: null,\n cancel_taskable: null,\n };\n this.multiSelectWatcher = this.props.multiSelectWatcher.bind(this);\n this.selectAll = TaskHelpers.selectAll.bind(this);\n this.selectNone = TaskHelpers.selectNone.bind(this);\n this.taskMultiSelect = TaskHelpers.taskMultiSelect.bind(this);\n this.deleteTasks = TaskHelpers.deleteTask.bind(this);\n this.swapForDelete = TaskHelpers.swapForDelete.bind(this);\n this.showModal = TaskHelpers.showModal.bind(this);\n this.showModalComplete = TaskHelpers.showModalComplete.bind(this);\n this.closeModal = TaskHelpers.closeModal.bind(this);\n this.handleTaskChange = TaskHelpers.handleTaskChange.bind(this);\n this.showDetailModal = TaskHelpers.showDetailModal.bind(this);\n this.closeDetailModal = TaskHelpers.closeDetailModal.bind(this);\n this.swapModals = TaskHelpers.swapModals.bind(this);\n this.showDeleteModal = TaskHelpers.showDeleteModal.bind(this);\n this.closeDeleteModal = TaskHelpers.closeDeleteModal.bind(this);\n this.getTasks = this.props.getTasks.bind(this);\n this.completeTask = TaskHelpers.completeTask.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n this.renderDeleteModal = TaskHelpers.renderDeleteModal.bind(this);\n this.renderDetailModal = TaskHelpers.renderDetailModal.bind(this);\n this.renderModal = TaskHelpers.renderModal.bind(this);\n this.showReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.closeReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.setAgentsForModal = TaskHelpers.setAgentsForModal.bind(this);\n this.handleMultiSelect = TaskHelpers.handleMultiSelect.bind(this);\n this.weeklyOptions = TaskHelpers.weeklyOptions.bind(this);\n this.handleRecurrence = TaskHelpers.handleRecurrence.bind(this);\n this.replaceURLWithHTMLLinks = TaskHelpers.replaceURLWithHTMLLinks.bind(this);\n }\n\n componentWillUnmount() {\n this.state.cancel_taskable && this.state.cancel_taskable();\n }\n\n componentWillReceiveProps(nextProps) {\n this.setState({ ...this.state, ...nextProps });\n }\n\n milestoneOptions = () => {\n const { accountMilestoneNames } = this.props;\n\n const personNames = accountMilestoneNames[\"Person\"];\n const listingNames = accountMilestoneNames[\"Listing\"];\n const projectNames = accountMilestoneNames[\"Project\"];\n\n const allNamesArray = personNames.concat(listingNames).concat(projectNames);\n\n let allNamesObject = {};\n\n allNamesArray.forEach((name) => {\n allNamesObject[name] = name\n .split(\"_\")\n .map((element) => capitalize(element))\n .join(\" \");\n });\n\n return allNamesObject;\n };\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n render() {\n const { task, user } = this.state;\n return (\n \n \n
\n \n {/* check box select */}\n \n \n \n\n {/* Task name or link to Agent */}\n \n {task.assigned_plan_id && (\n \n \n \n )}\n\n {this.props.agent && (\n \n {stripHtml(task.name)}\n \n )}\n {!this.props.agent && task.name}\n
\n \n \n
\n \n\n \n {task.type}\n \n\n \n \n {task.priority && }\n {task.priority == null && }\n \n \n\n {/* Task Date */}\n \n {task.state == \"completed\" && }\n {task.state != \"completed\" && (\n
\n {task.calculated_due_on && }\n {!task.calculated_due_on && (\n \n )}\n {!task.calculated_due_on && \" \" + task.contingency_rule[\"position\"] + \" \"}\n {!task.calculated_due_on &&\n (task.parent_task_name\n ? task.parent_task_name\n : task.contingency_event_and_type[1] != undefined &&\n this.milestoneOptions()[task.contingency_event_and_type[1]])}\n
\n )}\n \n\n {/* Person image or default */}\n \n {task.link && }\n {task.initials && }\n {!task.link && !task.initials && (\n }\n content=\"Anyone\"\n />\n )}\n \n\n \n {task.taskable_link && (\n \n )}\n \n {/* Task Settings */}\n \n\n {/* Task Edit */}\n \n \n \n \n \n \n {\n \n \n \n \n \n }\n \n\n {/* Multi-select */}\n \n \n \n {this.renderModal()}\n {this.renderDeleteModal()}\n {this.renderDetailModal()}\n
\n );\n }\n}\n\nTask.propTypes = {\n task: PropTypes.object.isRequired,\n user: PropTypes.object.isRequired,\n};\n\nTask.defaultProps = {\n task: {},\n user: { name: \"No Name\" },\n nameColumnClass: \"task-column\",\n taskCssStyle: \"task\",\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"flexxy\":\"DqMcGe4Rbi7PY7KeGDz8\",\"dashboardHeader\":\"bNyirSga1gqW0AfJbP7T\",\"headerTab\":\"PDSF_TTP2qLp2TcWBDh5\",\"headerTabOptions\":\"gFTiRWJ9v3Bu_GIX9EYE\",\"dashboardHolder\":\"qqM_LavZAPN4s5haCs7I\",\"dashboardSectionTab\":\"fvHL4hDw7lxaio7SsOly\",\"dashboardTabTitleSection\":\"M3vTRRBVtm0f2HKXEo_2\",\"activeTabBorder\":\"sUvDIlfXbqv0H4v0nU4n\",\"filterTitle\":\"vJZw2Oe72_MkpcFFaRXC\",\"refreshIconHolder\":\"s6uBnzHlVhsq7bzd5oTs\",\"refreshIcon\":\"Ak5opgIlsAr6FWBq_XXw\",\"filterItem\":\"OwAyTVV8MvxxPpmUHhbm\",\"filterItemDismiss\":\"TLX2BJtk09KB9TOOWorg\",\"checkBoxLabel\":\"aPoEWLKuzDj_Fvy1CF2g\",\"selectUsersAndFilterHolder\":\"FefAT1FkJwDBxNfMSCZu\",\"selectUsers\":\"GjbtatuhV7kIA7TTpeNK\",\"eventItemsContainer\":\"phBYkHtXfJlwmC6NsDEy\",\"loadingState\":\"ANlbq1s2NpbbIy5oXjij\",\"fa-spinner\":\"uBjcJklhWjVHSTY7uK_a\",\"eventItem\":\"n7tSbPYR2Z7oLgup1wvD\",\"eventItemFadeOut\":\"hBtg3DFb70MCpEV9BIIB\",\"innerPhotoInfo\":\"oCK4jNcVO79TeVxnEkMU\",\"innerPhotoPrice\":\"tDfDmNfWWrqkp6c9hobM\",\"iconStyle\":\"KSTdmJozZfsKdvqajnIA\",\"unsubscribedHolder\":\"gAKjjg5Rx8NWyZaPqXqU\",\"unsubscribedImage\":\"Y6yHTUZpzJXMzuKSw6md\",\"dashboardTabTitle\":\"bWVl5WBGtRdcqPzJBkvO\",\"noBorder\":\"TvQmtDbFuwctrkrPhr7s\",\"boldText\":\"herFAgInUkIBCsu6_1R7\",\"redText\":\"Web6EMr0qB_CjDJJ2wJn\",\"leadQuickStats\":\"D0Pf62wloV1osigTpKKm\",\"leadQuickStatCard\":\"HCkCzHszi1EXtEIY5VLA\",\"statCardWidth\":\"Cd3YeXUl3FJZqm2aCgDT\",\"dashCardConstrained\":\"VK4SJWCyXp6OBsZWD1Kw\",\"leadQuickStatCardZero\":\"OtCzthdEDGVrgIcMWAKb\",\"opportunityContainer\":\"LiM9LQbYj0ppL8MIgltP\",\"opportunityContainerHeader\":\"dY0fQF1FrZRO2W2CVv0J\"};","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withCookies, Cookies } from \"react-cookie\";\nimport { Button, Col, Row, Overlay } from \"../../shared/v1\";\nimport capitalize from \"capitalize\";\nimport ReactDOM from \"react-dom\";\nimport Task from \"./Task\";\nimport PolymorphicGrid from \"./PolymorphicGrid\";\nimport SelectAll from \"../../shared/SelectAll\";\nimport CheckBox from \"../../shared/CheckBox\";\nimport ReassignModal from \"./ReassignModal\";\nimport * as TaskHelpers from \"./TaskIndexModalHelpers\";\nimport { instanceOf } from \"prop-types\";\nimport axios from \"axios\";\nimport css from \"../../Dashboard/components/dashboard-styles.module.css\";\n\nclass TaskGrid extends Component {\n static propTypes = {\n cookies: instanceOf(Cookies).isRequired,\n };\n\n constructor(props, context) {\n super(props, context);\n this.state = {\n selectedAgents: this.props.selectedAgents,\n user: this.props.user,\n tasks: this.props.tasks,\n tasksCount: this.props.tasksCount,\n header_buttons: false,\n showReassignModal: false,\n showRescheduleModal: false,\n showDeleteModal: false,\n showFilterOverlay: false,\n assigned_to_user_id: \"anyone\",\n selectAll: false,\n selectNone: false,\n filtered: this.props.filtered,\n reschedule_date: moment(),\n selectAllTarget: null,\n filterTarget: null,\n };\n\n //Select All popover\n this.showSelectAllPopover = TaskHelpers.showSelectAllPopover.bind(this);\n this.closeSelectAllPopover = TaskHelpers.closeSelectAllPopover.bind(this);\n\n //updating a task\n this.updateTask = TaskHelpers.updateTask.bind(this);\n\n this.completeTask = TaskHelpers.completeTask.bind(this);\n this.uncompleteTask = TaskHelpers.uncompleteTask.bind(this);\n\n //updating tasks\n this.completeTasks = TaskHelpers.completeTasks.bind(this);\n this.uncompleteTasks = TaskHelpers.uncompleteTasks.bind(this);\n this.closeModal = TaskHelpers.closeModal.bind(this);\n\n //reschedule modal\n this.handleRescheduleDate = TaskHelpers.handleRescheduleDate.bind(this);\n this.renderRescheduleModal = TaskHelpers.renderRescheduleModal.bind(this);\n this.showRescheduleModal = TaskHelpers.showRescheduleModal.bind(this);\n this.closeRescheduleModal = TaskHelpers.closeRescheduleModal.bind(this);\n this.rescheduleTask = TaskHelpers.rescheduleTask.bind(this);\n this.rescheduleTasks = TaskHelpers.rescheduleTasks.bind(this);\n this.handleState = TaskHelpers.handleState.bind(this);\n\n //delete modal\n this.renderDeleteModal = TaskHelpers.renderDeleteModal.bind(this);\n this.showDeleteModal = TaskHelpers.showDeleteModal.bind(this);\n this.closeDeleteModal = TaskHelpers.closeDeleteModal.bind(this);\n this.deleteTasks = TaskHelpers.deleteTasks.bind(this);\n this.deleteTask = TaskHelpers.deleteTask.bind(this);\n\n //reassign modal\n this.renderReassignModal = TaskHelpers.renderReassignModal.bind(this);\n this.showReassignModal = TaskHelpers.showReassignModal.bind(this);\n this.closeReassignModal = TaskHelpers.closeReassignModal.bind(this);\n this.reassignTasks = TaskHelpers.reassignTasks.bind(this);\n this.reassignTask = TaskHelpers.reassignTask.bind(this);\n\n // utility for agents in modals\n this.setAgentsForModal = TaskHelpers.setAgentsForModal.bind(this);\n\n // utility multi selected tasks\n this.selectedTasks = TaskHelpers.selectedTasks.bind(this);\n this.multiSelectWatcher = TaskHelpers.multiSelectWatcher.bind(this);\n\n this.selectNone = TaskHelpers.selectNone.bind(this);\n this.selectAll = TaskHelpers.selectAll.bind(this);\n this.taskMultiSelect = TaskHelpers.taskMultiSelect.bind(this);\n\n //Task filtering\n this.getTasks = this.props.getTasks.bind(this);\n this.showMyTasks = this.props.showMyTasks.bind(this);\n this.showUnassignedTasks = this.props.showUnassignedTasks.bind(this);\n this.showAllTasks = this.props.showAllTasks.bind(this);\n this.showTaskFor = this.props.showTaskFor.bind(this);\n this.removeAgentFromSelectedAgents = this.props.removeAgentFromSelectedAgents.bind(this);\n this.addAgentToSelectedAgents = this.props.addAgentToSelectedAgents.bind(this);\n\n // ref for filter\n this.filterRef = React.createRef();\n }\n\n componentWillMount() {\n const { cookies } = this.props;\n\n let filter = cookies.get(\"task_filter\");\n }\n\n componentWillReceiveProps = (nextProps) => {\n this.setState({ ...nextProps });\n };\n\n showFilter = (e) => {\n this.setState({ filterTarget: e.target, showFilter: !this.state.showFilter });\n };\n\n closeFilter = (e) => {\n const { cookies } = this.props;\n this.setState({ showFilter: !this.state.showFilter });\n const filter = {\n selected_filter: this.props.selectedFilter,\n selected_agents: this.props.selectedAgents,\n };\n\n let date = new Date();\n date.setFullYear(date.getFullYear() + 1);\n\n cookies.set(\"task_filter\", filter, { path: \"/\", expires: date });\n };\n\n hideFilter = (e) => {\n this.closeFilter();\n };\n\n headerString = (dueness) => {\n return this.headerStringOptions()[dueness];\n };\n\n headerStringOptions = () => {\n return {\n due_today: \"Due Today\",\n overdue: \"Overdue\",\n upcoming: \"Upcoming\",\n completed: \"Completed\",\n };\n };\n\n selectedArrow = (name, direction) => {\n if (name == this.props.order_by && direction == this.props.order_direction) {\n return \"selected\";\n }\n };\n\n tasksCountLabel() {\n if (!this.state.tasksCount) return \"\";\n\n const count = this.state.tasksCount + \" \";\n const description = this.state.filtered ? \"filtered tasks\" : \"tasks\";\n return count + description;\n }\n\n showErrors = (messages) => {\n this.setState({ error_messages: messages });\n };\n\n render() {\n return (\n
\n \n
\n
\n

{this.headerString(this.props.dueness)}

\n
\n {this.tasksCountLabel()}\n
\n
\n
\n {this.props.admin && (\n \n {this.state.filtered ? \"filtered \" : \"filter\"}\n \n )}\n
\n \n
\n

Task Filter

\n \n \n \n
\n {this.props.agents &&\n this.props.agents.map((agent, index) => (\n \n ))}\n
\n \n
\n
\n {!this.props.uncomplete && this.state.header_buttons && (\n \n \n \n \n Complete\n \n \n \n \n \n Delete\n \n \n \n \n \n Reschedule\n \n \n \n \n \n Reassign\n \n \n \n )}\n {this.props.uncomplete && this.state.header_buttons && (\n \n \n \n \n Un-complete\n \n \n \n )}\n
\n
\n \n \n \n
this.props.orderBy(\"name\")}>\n
\n Details\n \n \n \n \n
\n
\n \n \n
this.props.orderBy(\"type\")}>\n
\n Task Type\n \n \n \n \n
\n
\n \n \n this.props.orderBy(\"priority\", \"asc\")}\n >\n
\n Priority\n \n \n \n \n
\n
\n \n \n
this.props.orderBy(\"due_on\")}>\n
\n Date Due\n \n \n \n \n
\n
\n \n \n
\n
Who
\n
\n \n \n
this.props.orderBy(\"taskable_name\")}>\n
\n Task for\n \n \n \n \n
\n
\n \n \n
\n
Settings
\n
\n \n \n
\n
Edit
\n
\n \n {this.props.agent && (\n \n this.state.tasks && this.showSelectAllPopover(e)}\n id={\"all-incomplete-tasks-dropdown-toggle\"}\n className={\n \"tw-inline-block tw-align-middle tw-touch-manipulation tw-cursor-pointer tw-select-none select-task-button\"\n }\n >\n
\n Select\n \n
\n
\n \n )}\n \n
\n
\n {this.props.toggleLoader && (\n
\n \n
\n )}\n {this.state.tasks &&\n this.state.tasks.map((task) => (\n \n ))}\n
\n \n
\n {this.renderReassignModal()}\n {this.renderRescheduleModal()}\n {this.renderDeleteModal()}\n
\n );\n }\n}\n\nTaskGrid.propTypes = {\n user: PropTypes.object.isRequired,\n};\n\nTaskGrid.defaultProps = {\n tasks: [],\n user: { name: \"No Name\" },\n};\n\nexport default withCookies(TaskGrid);\n","import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport TaskGrid from \"./TaskGrid\";\nimport Task from \"./Task\";\nimport PolymorphicGrid from \"./PolymorphicGrid\";\nimport SelectAll from \"../../shared/SelectAll\";\nimport Pagination from \"../../shared/Pagination\";\nimport { Col, Row } from \"../../shared/v1\";\nimport ReassignModal from \"./ReassignModal\";\nimport * as TaskHelpers from \"./TaskIndexModalHelpers\";\nimport { Cookies, withCookies } from \"react-cookie\";\nimport { instanceOf } from \"prop-types\";\nimport axios from \"axios\";\n\nconst defaultPagination = {\n total_count: 0,\n current_page: 1,\n total_pages: 1,\n prev_page: null,\n next_page: null,\n};\n\nclass Tasks extends Component {\n constructor(props, context) {\n super(props, context);\n\n const { cookies } = this.props;\n var filter_cookie = undefined;\n if (this.props.admin) {\n filter_cookie = cookies.get(\"task_filter\") || { selected_filter: \"all_tasks\", selected_agents: [] };\n } else {\n filter_cookie = { selected_filter: \"my_tasks\", selected_agents: [] };\n }\n\n this.state = {\n user: props.user,\n order_by: \"name\",\n order_direction: \"desc\",\n order_by: props.orderBy,\n order_direction: props.orderDirection,\n all_tasks: filter_cookie.selected_filter == \"all_tasks\",\n unassigned_tasks: filter_cookie.selected_filter == \"unassigned_tasks\",\n my_tasks: filter_cookie.selected_filter == \"my_tasks\",\n selectedAgents: filter_cookie.selected_agents || [],\n selectedFilter: filter_cookie.selected_filter || \"my_tasks\",\n filtered: this.props.admin\n ? filter_cookie.selected_filter != \"all_tasks\"\n : filter_cookie.selected_filter != \"my_tasks\",\n tasks: undefined,\n anyone: false,\n pagination: props.pagination,\n page: props.page,\n dueness: props.dueness,\n toggleLoader: false,\n };\n\n this.handleGotoPage = this.handleGotoPage.bind(this);\n this.multiSelectWatcher = TaskHelpers.multiSelectWatcher.bind(this);\n }\n\n componentDidMount() {\n const TASK_LISTENER = \"task:update\";\n window.removeEventListener(TASK_LISTENER, this.onEvent);\n window.addEventListener(TASK_LISTENER, this.onEvent);\n this.getTasks();\n }\n\n componentWillUnmount() {\n const TASK_LISTENER = \"task:update\";\n window.removeEventListener(TASK_LISTENER, this.onEvent);\n }\n\n onEvent = () => {\n this.getTasks();\n };\n\n filterWatcher = (e) => {\n if (this.state.my_tasks || this.state.unassigned_tasks || this.state.selectedAgents.length > 0) {\n this.setState({ ...this.state, filtered: true });\n } else {\n this.setState({ selectedFilter: \"all_tasks\", all_tasks: true, filtered: false });\n }\n };\n\n handleGotoPage(newPage) {\n this.setState({ page: newPage }, this.getTasks);\n }\n\n showMyTasks = (e) => {\n this.setState(\n {\n ...this.state,\n selectedFilter: \"my_tasks\",\n my_tasks: !this.state.my_tasks,\n unassigned_tasks: false,\n all_tasks: false,\n selectedAgents: [],\n },\n () => {\n this.getTasks();\n this.filterWatcher();\n },\n );\n };\n\n showUnassignedTasks = (e) => {\n this.setState(\n {\n ...this.state,\n selectedFilter: \"unassigned_tasks\",\n unassigned_tasks: !this.state.unassigned_tasks,\n my_tasks: false,\n all_tasks: false,\n selectedAgents: [],\n },\n () => {\n this.getTasks();\n this.filterWatcher();\n },\n );\n };\n\n showAllTasks = (e) => {\n this.setState(\n {\n ...this.state,\n selectedFilter: \"all_tasks\",\n all_tasks: !this.state.all_tasks,\n unassigned_tasks: false,\n my_tasks: false,\n selectedAgents: [],\n },\n () => {\n this.getTasks();\n this.filterWatcher();\n },\n );\n };\n\n showTaskFor = (e) => {\n let agents = this.state.selectedAgents;\n this.setState(\n {\n ...this.state,\n selectedFilter: \"tasks_by_id\",\n all_tasks: false,\n unassigned_tasks: false,\n my_tasks: false,\n },\n () => {\n if (agents.includes(e.target.name)) {\n this.removeAgentFromSelectedAgents(e.target.name);\n this.getTasks();\n this.filterWatcher();\n } else {\n this.addAgentToSelectedAgents(e.target.name);\n this.getTasks();\n this.filterWatcher();\n }\n },\n );\n };\n\n removeAgentFromSelectedAgents = (id) => {\n let agents = this.state.selectedAgents;\n let index = agents.indexOf(id);\n if (index > -1) {\n agents.splice(index, 1);\n }\n this.setState({ ...this.state, selectedAgents: agents });\n };\n\n addAgentToSelectedAgents = (id) => {\n let agents = this.state.selectedAgents;\n agents.push(id);\n this.setState({ ...this.state, selectedAgents: agents });\n };\n\n idsForUrl = () => {\n return this.idsByFilterOptions()[this.state.selectedFilter];\n };\n\n // TODO: Avoid evaluating all values if only one is needed. Use a case statement or a constant.\n idsByFilterOptions = () => {\n return {\n all_tasks: \"\",\n my_tasks: this.props.user.uuid,\n unassigned_tasks: \"\",\n tasks_by_id:\n this.state.selectedAgents.length > 0 ? this.state.selectedAgents.join() : this.props.user.uuid,\n };\n };\n\n getTasks = (e) => {\n const { page, dueness, order_direction, order_by, selectedFilter } = this.state;\n\n axios({\n method: \"get\",\n url: `/tasks/${dueness}`,\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n params: {\n user_ids: this.idsForUrl(),\n anyone: selectedFilter == \"unassigned_tasks\",\n all: selectedFilter == \"all_tasks\",\n page: page,\n order_direction: order_direction,\n order_by: order_by,\n },\n }).then((response) => {\n const { meta, tasks } = response.data;\n const pagination = { ...meta, defaultPagination };\n this.setState({ ...this.state, ...{ tasks: tasks, pagination: pagination } });\n this.multiSelectWatcher();\n this.toggleTaskLoader(false);\n });\n };\n\n removeTask = () => {\n this.getTasks();\n };\n\n orderBy = (value_to_order_by, defaultOrder = \"desc\") => {\n let { state } = this;\n // The first click to order by a column orders 'desc' first and then 'asc' on 2nd click\n if (value_to_order_by !== this.state.order_by) {\n state[\"order_direction\"] = defaultOrder;\n } else {\n state[\"order_direction\"] = this.state.order_direction == \"asc\" ? \"desc\" : \"asc\";\n }\n state[\"order_by\"] = value_to_order_by;\n this.setState({ ...this.state, ...state });\n this.getTasks();\n };\n\n updateParentTasks = (task) => {\n this.getTasks();\n };\n\n toggleTaskLoader = (isLoading) => {\n this.setState({ toggleLoader: isLoading });\n };\n\n render() {\n const { pagination } = this.state;\n\n return (\n
\n \n {pagination.total_count > 50 && pagination.current_page && (\n
\n \n
\n )}\n
\n );\n }\n}\n\nTasks.propTypes = {\n user: PropTypes.object.isRequired,\n cookies: instanceOf(Cookies).isRequired,\n};\n\nTasks.defaultProps = {\n tasks: [],\n user: { name: \"No Name\" },\n pagination: {},\n};\n\nexport default withCookies(Tasks);\n","import React, { Component } from 'react';\n\nexport default class TaskCount extends Component {\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n count: this.props.count || {}\n }\n }\n\n componentWillReceiveProps = (nextProps) => {\n this.setState({...this.state, ...this.nextProps})\n }\n\n render() {\n return(\n \n {this.props.count[this.props.count_for]}\n \n )\n }\n}\n","import React, { Component} from 'react';\nimport TaskCount from './TaskCount'\nimport axios from 'axios';\nexport default class TaskCounts extends Component {\n constructor(props) {\n super(props);\n this.state = {\n count: {}\n }\n }\n\n componentWillMount() {\n this.getTaskCounts()\n }\n\n componentDidMount() {\n const TASK_LISTENER = 'task:count_change'\n window.removeEventListener(TASK_LISTENER, this.onEvent )\n window.addEventListener(TASK_LISTENER, this.onEvent )\n }\n\n componentWillUnmount() {\n const TASK_LISTENER = 'task:count_change'\n window.removeEventListener(TASK_LISTENER, this.onEvent)\n }\n\n onEvent = () => {\n this.getTaskCounts()\n }\n\n getTaskCounts = () => {\n const {enabled} = this.props\n\n enabled && axios.get('/tasks/counts')\n .then(response => {\n this.setState({count: response.data})\n })\n }\n\n render() {\n return(\n
    \n
  • \n \n Overdue\n \n \n
  • \n
  • \n \n Due Today\n \n \n
  • \n
  • \n \n Upcoming\n \n \n
  • \n
  • \n \n Completed\n \n \n
  • \n
\n )\n }\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Dropdown } from \"../../../shared/v1\";\n\nconst AgentDropdown = ({ agents, formatOptions, option, selectedAgents }) => (\n
\n \n AGENT\n \n 1 ? \"Multiple Users\" : selectedAgents[0]}\n value={selectedAgents.length === 1 ? selectedAgents[0] : null}\n closeMenuOnSelect={false}\n isClearable={false}\n options={formatOptions(agents)}\n variant=\"flatGray\"\n />\n
\n);\n\nAgentDropdown.propTypes = {\n agents: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n formatOptions: PropTypes.func.isRequired,\n option: PropTypes.node.isRequired,\n selectedAgents: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default AgentDropdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Dropdown } from \"../../../shared/v1\";\n\nconst DateRangeDropdown = ({ dateOptions, handleDateSelect, selectedDate }) => (\n
\n \n \n CLOSE DATE RANGE\n \n handleDateSelect(date)}\n value={selectedDate}\n isClearable={false}\n variant=\"flatGray\"\n />\n
\n);\n\nDateRangeDropdown.propTypes = {\n dateOptions: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n handleDateSelect: PropTypes.func.isRequired,\n selectedDate: PropTypes.shape().isRequired,\n};\n\nexport default DateRangeDropdown;\n","/* global Turbolinks */\nimport React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport css from \"../../../Dashboard/components/dashboard-styles.module.css\";\nimport { Dropdown } from \"../../../shared/v1\";\nimport AgentDropdown from \"./AgentDropdown\";\nimport DateRangeDropdown from \"./DateRangeDropdown\";\n\nconst formatOptions = (agents) => {\n const allAgents = agents.map((agent) => ({ value: agent.id, label: agent.name }));\n return [\n { label: \"All Active Users\", value: \"all_active_agents\" },\n { label: \"Only my transactions\", value: \"current_agent\" },\n ...allAgents,\n ];\n};\n\nconst getCookie = (name) => {\n let values = [];\n const decodedCookies = decodeURIComponent(document.cookie).split(\";\");\n decodedCookies.forEach((cookie) => {\n const trimmedCookie = cookie.trim();\n if (trimmedCookie.indexOf(name) === 0) {\n values = decodeURIComponent(trimmedCookie.substring(name.length + 1, trimmedCookie.length)).split(\",\");\n }\n });\n return values;\n};\n\nconst setCookie = (name, value, exp) => {\n const date = new Date();\n date.setTime(date.getTime() + exp * 24 * 60 * 60 * 1000);\n const expires = `; expires=${date.toGMTString()}`;\n const cookieString = `${encodeURIComponent(name)}=${encodeURIComponent(value)}${expires}; path=/;`;\n document.cookie = cookieString;\n};\n\nconst setDateRangeCookie = (range) => {\n setCookie(\"transaction_close_date_range\", range, 365);\n};\n\nconst setSourceCookie = (source) => {\n setCookie(\"transaction_sources\", source, 365);\n};\n\nconst setAgentCookie = (agents) => {\n setCookie(\"transaction_agent_ids\", agents, 365);\n};\n\nclass TransactionFilterModal extends Component {\n constructor(props) {\n super(props);\n this.state = {\n isOpen: false,\n agents: [],\n sources: [],\n selectedAgents: [\"all_active_agents\"],\n selectedSources: [],\n selectedDate: null,\n selectedListingsCount: 0,\n };\n }\n\n componentDidMount = () => {\n const { active_assignable_agents: agents } = this.props;\n this.setState({ agents });\n axios.get(`/sources`).then((res) => {\n const { sources } = res.data;\n this.setState({ sources });\n });\n this.getDateRangeFromCookie();\n this.getSourceFromCookie();\n this.getAgentsCookie();\n document.body.addEventListener(\"change\", this.onSelect);\n };\n\n componentWillUnmount() {\n document.body.removeEventListener(\"change\", this.onSelect);\n }\n\n onSelect = (e) => {\n if (e.target.type === \"checkbox\") {\n setTimeout(() => {\n this.setState({\n selectedListingsCount: document.querySelectorAll(\"input.multi-select:checked\").length,\n });\n }, 0);\n }\n };\n\n handleFilter = () => {\n this.setState((s) => ({\n isOpen: !s.isOpen,\n }));\n };\n\n handleFilterModal = (e) => {\n const { selectedAgents } = this.state;\n e.preventDefault();\n const agentsIdsQueryString = `?agent_ids=${selectedAgents}`;\n this.setState((s) => ({\n isOpen: !s.isOpen,\n }));\n Turbolinks.visit(window.location.pathname + agentsIdsQueryString, {\n change: \"content\",\n cacheRequest: false,\n });\n };\n\n option = (props) => {\n const {\n data: { label, value },\n } = props;\n const { selectedAgents } = this.state;\n\n return (\n
\n this.handleAgentSelect(value, e.target.checked)}\n checked={selectedAgents.includes(value)}\n />\n \n
\n );\n };\n\n handleAgentSelect = (selectedAgentId, isChecked) => {\n const { agents, selectedAgents } = this.state;\n const currentSelectedAgents = [...selectedAgents];\n let newSelectedAgents = [];\n if (selectedAgentId === \"all_active_agents\" && isChecked) {\n newSelectedAgents = [\"all_active_agents\"];\n } else if (selectedAgentId === \"current_agent\" && isChecked) {\n newSelectedAgents = [\"current_agent\"];\n } else if (currentSelectedAgents.includes(\"all_active_agents\" || \"current_agent\")) {\n newSelectedAgents = isChecked\n ? [selectedAgentId]\n : agents.filter((filter) => filter !== selectedAgentId);\n } else {\n newSelectedAgents = isChecked\n ? [...currentSelectedAgents, selectedAgentId]\n : currentSelectedAgents.filter((filter) => filter !== selectedAgentId);\n }\n this.setState({\n selectedAgents: newSelectedAgents.length ? newSelectedAgents : [],\n });\n setAgentCookie(newSelectedAgents);\n };\n\n handleSourceSelect = (source) => {\n const selectedSource = source == null ? null : source.value;\n this.setState(\n (s) => ({\n selectedSources: source == null ? [] : [...s.selectedSources, selectedSource],\n }),\n () => {\n const { selectedSources } = this.state;\n setSourceCookie(selectedSources);\n },\n );\n };\n\n handleDateSelect = (date) => {\n const selectedDate = date == null ? \"\" : date.value;\n this.setState({ selectedDate });\n setDateRangeCookie(selectedDate);\n };\n\n handleClear = (e) => {\n e.preventDefault();\n this.setState({\n selectedAgents: [],\n selectedSources: [],\n selectedDate: null,\n });\n setAgentCookie(\"all_active_agents\");\n setSourceCookie(\"\");\n setDateRangeCookie(\"\");\n };\n\n // eslint-disable-next-line consistent-return\n getDateRangeFromCookie = () => {\n const defaultRange = \"all_time\";\n if (getCookie(\"transaction_close_date_range\").length < 1) {\n setCookie(\"transaction_close_date_range\", defaultRange, 365);\n return defaultRange;\n }\n getCookie(\"transaction_close_date_range\");\n\n this.setState({\n selectedDate: getCookie(\"transaction_close_date_range\")[0],\n });\n };\n\n // eslint-disable-next-line consistent-return\n getSourceFromCookie = () => {\n if (getCookie(\"transaction_sources\").length < 1) {\n return false;\n }\n getCookie(\"transaction_sources\");\n\n const sourceCookie = getCookie(\"transaction_sources\");\n this.setState({\n selectedSources:\n sourceCookie.length > 0\n ? getCookie(\"transaction_sources\")\n .filter((id) => id !== \"\")\n .map((sourceId) => parseInt(sourceId, 10))\n : [],\n });\n };\n\n // eslint-disable-next-line consistent-return\n getAgentsCookie = () => {\n const defaultAgent = \"all_active_agents\";\n if (getCookie(\"transaction_agent_ids\").length < 1) {\n setCookie(\"transaction_agent_ids\", defaultAgent, 365);\n return defaultAgent;\n }\n getCookie(\"transaction_agent_ids\");\n\n this.setState({\n selectedAgents: getCookie(\"transaction_agent_ids\").map((agentId) =>\n agentId === \"all_active_agents\" || agentId === \"current_agent\" ? agentId : parseInt(agentId, 10),\n ),\n });\n };\n\n removeSource = (sourceId) => {\n const { selectedSources } = this.state;\n // eslint-disable-next-line eqeqeq\n const newSources = selectedSources.filter((id) => id != sourceId);\n this.setState({ selectedSources: newSources });\n setSourceCookie(newSources);\n };\n\n findSource(sourceId) {\n const { sources } = this.state;\n // eslint-disable-next-line eqeqeq\n return sources && sources.find((source) => source.id == sourceId);\n }\n\n renderSelectedSource(sourceId) {\n if (sourceId === \"\") {\n return null;\n }\n const source = this.findSource(sourceId) || {};\n return (\n
\n \n
\n \n {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions,jsx-a11y/click-events-have-key-events */}\n this.removeSource(source.id)}\n className=\"fa fa-remove\"\n style={{ paddingLeft: \"3px\" }}\n />\n
\n
\n );\n }\n\n render() {\n const { date_ranges: dateRanges, scope } = this.props;\n const { agents, isOpen, selectedAgents, selectedDate, selectedSources, sources, selectedListingsCount } =\n this.state;\n const sourceOptions = sources.map((source) => ({\n label: source.text,\n value: source.id,\n }));\n const dateOptions = dateRanges.map((date) => ({\n label: date[0],\n value: date[1],\n }));\n const dateOptionsCopy = [...dateOptions];\n const allTime = dateOptionsCopy.pop();\n dateOptionsCopy.unshift(allTime);\n return (\n
\n
\n {scope === \"archived\" && selectedListingsCount > 0 && (\n \n \n Delete\n \n \n )}\n \n
\n \n \n \n
\n \n\n
\n\n \n SOURCE\n \n this.handleSourceSelect(source)}\n value={null}\n isClearable={false}\n variant=\"flatGray\"\n />\n
\n {selectedSources.map((source) => this.renderSelectedSource(source))}\n
\n\n {/* eslint-disable-next-line eqeqeq */}\n {scope == \"pending\" || scope == \"sold\" ? (\n \n ) : null}\n
\n \n \n
\n \n Clear All\n \n \n
\n
\n \n \n
\n );\n }\n}\n\nTransactionFilterModal.propTypes = {\n active_assignable_agents: PropTypes.arrayOf(PropTypes.shape()).isRequired,\n date_ranges: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)).isRequired,\n scope: PropTypes.string.isRequired,\n};\n\nexport default TransactionFilterModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Header = ({ children }) => (\n
\n {children}\n
\n);\n\nHeader.propTypes = {\n children: PropTypes.element,\n};\n\nHeader.defaultProps = {\n children: null,\n};\n\nexport default Header;\n","import React from \"react\";\nimport { arrayOf, element } from \"prop-types\";\n\nconst Main = ({ children }) => (\n
\n {children}\n
\n);\n\nMain.propTypes = {\n children: arrayOf(element),\n};\n\nMain.defaultProps = {\n children: [],\n};\n\nexport default Main;\n","import React from \"react\";\nimport { node } from \"prop-types\";\n\nconst Side = ({ children }) => (\n
\n {children}\n
\n);\n\nexport default Side;\n\nSide.propTypes = {\n children: node,\n};\n\nSide.defaultProps = {\n children: null,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Nav = ({ children }) => (\n
\n {children}\n
\n);\n\nNav.propTypes = {\n children: PropTypes.element,\n};\n\nNav.defaultProps = {\n children: null,\n};\n\nexport default Nav;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Widget = ({ children }) =>
{children}
;\n\nWidget.propTypes = {\n children: PropTypes.node,\n};\n\nWidget.defaultProps = {\n children: null,\n};\n\nexport default Widget;\n","export const createDocument = (rawDoc, rawMeta, isFinancialsCDA) => ({\n id: rawDoc.id,\n fileName: rawDoc.file_name,\n nakedName: rawDoc.naked_name,\n fileExtension: `.${rawDoc.file_name.split(\".\").pop()}`,\n fileType: rawDoc.file_type,\n imageIcon: rawDoc.image_icon,\n size: rawDoc.size,\n humanReadableSize: rawDoc.human_readable_size,\n uploadedAt: rawDoc.uploaded_at,\n expiringUrl: rawDoc.expiring_url,\n url: rawDoc.url,\n uploadedById: rawDoc.uploaded_by_id,\n uploadedByImageUrl: rawDoc.uploaded_by_image_url,\n uploadedByName: rawDoc.uploaded_by_name,\n uploadedByUrl: rawDoc.uploaded_by_url,\n canRename: isFinancialsCDA ? true : rawMeta.permissions[rawDoc.id].rename,\n canDelete: isFinancialsCDA ? true : rawMeta.permissions[rawDoc.id].delete,\n viewers: [],\n renameErrors: [],\n isSelected: false,\n});\n\nconst createDocumentFromUpload = (rawDoc, rawMeta) => ({\n id: rawDoc.id,\n fileName: rawDoc.file_name,\n nakedName: rawDoc.naked_name,\n fileExtension: `.${rawDoc.file_name.split(\".\").pop()}`,\n fileType: rawDoc.file_type,\n imageIcon: rawDoc.image_icon,\n size: rawDoc.size,\n humanReadableSize: rawDoc.human_readable_size,\n uploadedAt: rawDoc.uploaded_at,\n expiringUrl: rawDoc.expiring_url,\n url: rawDoc.url,\n uploadedById: rawDoc.uploaded_by_id,\n uploadedByImageUrl: rawDoc.uploaded_by_image_url,\n uploadedByName: rawDoc.uploaded_by_name,\n uploadedByUrl: rawDoc.uploaded_by_url,\n canRename: rawMeta.permissions.rename,\n canDelete: rawMeta.permissions.delete,\n viewers: [],\n renameErrors: [],\n isSelected: false,\n});\n\nconst createDocumentFromRename = (rawDoc, newName) => ({\n fileName: newName,\n nakedName: newName.slice(0, newName.lastIndexOf(\".\")),\n expiringUrl: rawDoc.expiring_url,\n});\n\nconst createDocuments = (apiDocuments, rawMeta) =>\n apiDocuments.map((rawDoc) => createDocument(rawDoc, rawMeta, false));\n\nconst createDocumentViewer = (rawViewer) => ({\n id: rawViewer.id,\n role: rawViewer.role,\n name: `${rawViewer.first_name} ${rawViewer.last_name}`,\n avatar: rawViewer.avatar,\n isViewer: rawViewer.is_viewer,\n});\n\nconst createDocumentViewers = (viewers) => viewers.map((rawViewer) => createDocumentViewer(rawViewer));\n\nconst createMeta = (rawMeta) => {\n const meta = {\n pagination: {\n current: rawMeta.pagination.current,\n next: rawMeta.pagination.next,\n previous: rawMeta.pagination.previous,\n totalPages: rawMeta.pagination.total_pages,\n totalCount: rawMeta.pagination.total_count,\n countPerPage: 25,\n },\n viewerCounts: { ...rawMeta.viewer_counts },\n permissions: { ...rawMeta.permissions },\n updatedAtMs: Date.now(),\n };\n\n return meta;\n};\n\nexport const adapterGetDocuments = (data) => {\n const state = {\n documents: createDocuments(data.documents, data.meta),\n meta: createMeta(data.meta),\n };\n\n return state;\n};\n\nexport const adapterGetAllDocumentViewers = (data) => {\n const state = {\n viewers: createDocumentViewers(data.viewers),\n };\n\n return state;\n};\n\nexport const adapterDocumentFromRename = (rawDoc, newName) => createDocumentFromRename(rawDoc, newName);\n\nexport const adapterDocumentFromUpload = (rawDoc, rawMeta) => createDocumentFromUpload(rawDoc, rawMeta);\n","const FINANCIALS_UPDATE_TYPE = {\n UPDATE_TRANSACTION_CLOSE_PRICE: \"UPDATE_TRANSACTION_CLOSE_PRICE\",\n UPDATE_TRANSACTION_COMMISSION: \"UPDATE_TRANSACTION_COMMISSION\",\n UPDATE_TRANSACTION_COMMISSION_VALUE: \"UPDATE_TRANSACTION_COMMISSION_VALUE\",\n ADD_TRANSACTION_LINE_ITEM: \"ADD_TRANSACTION_LINE_ITEM\",\n UPDATE_TRANSACTION_LINE_ITEM: \"UPDATE_TRANSACTION_LINE_ITEM\",\n UPDATE_TRANSACTION_LINE_ITEM_TYPE: \"UPDATE_TRANSACTION_LINE_ITEM_TYPE\",\n UPDATE_TRANSACTION_LINE_ITEM_VALUE: \"UPDATE_TRANSACTION_LINE_ITEM_VALUE\",\n UPDATE_TRANSACTION_LINE_ITEM_POSITION: \"UPDATE_TRANSACTION_LINE_ITEM_POSITION\",\n REMOVE_TRANSACTION_LINE_ITEM: \"REMOVE_TRANSACTION_LINE_ITEM\",\n UPDATE_TEAM_MEMBER_GCI: \"UPDATE_TEAM_MEMBER_GCI\",\n UPDATE_TEAM_MEMBER_GCI_VALUE: \"UPDATE_TEAM_MEMBER_GCI_VALUE\",\n UPDATE_TEAM_MEMBER_UNITS: \"UPDATE_TEAM_MEMBER_UNITS\",\n ADD_TEAM_MEMBER_LINE_ITEM: \"ADD_TEAM_MEMBER_LINE_ITEM\",\n UPDATE_TEAM_MEMBER_LINE_ITEM: \"UPDATE_TEAM_MEMBER_LINE_ITEM\",\n UPDATE_TEAM_MEMBER_LINE_ITEM_TYPE: \"UPDATE_TEAM_MEMBER_LINE_ITEM_TYPE\",\n UPDATE_TEAM_MEMBER_LINE_ITEM_VALUE: \"UPDATE_TEAM_MEMBER_LINE_ITEM_VALUE\",\n UPDATE_TEAM_MEMBER_LINE_ITEM_POSITION: \"UPDATE_TEAM_MEMBER_LINE_ITEM_POSITION\",\n REMOVE_TEAM_MEMBER_LINE_ITEM: \"REMOVE_TEAM_MEMBER_LINE_ITEM\",\n UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT: \"UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT\",\n UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT_VALUE: \"UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT_VALUE\",\n UPDATE_TEAM_MEMBER_ROYALTY: \"UPDATE_TEAM_MEMBER_ROYALTY\",\n UPDATE_TEAM_MEMBER_ROYALTY_VALUE: \"UPDATE_TEAM_MEMBER_ROYALTY_VALUE\",\n ADD_TEAM_MEMBERS: \"ADD_TEAM_MEMBERS\",\n UPDATE_TEAM_MEMBER_LINE_ITEM_ACC: \"UPDATE_TEAM_MEMBER_LINE_ITEM_ACC\",\n UPDATE_COMPANY_LINE_ITEM_POSITION: \"UPDATE_COMPANY_LINE_ITEM_POSITION\",\n UPDATE_COMPANY_LINE_ITEM_TYPE: \"UPDATE_COMPANY_LINE_ITEM_TYPE\",\n UPDATE_COMPANY_LINE_ITEM_VALUE: \"UPDATE_COMPANY_LINE_ITEM_VALUE\",\n ADD_COMPANY_LINE_ITEM: \"ADD_COMPANY_LINE_ITEM\",\n UPDATE_COMPANY_LINE_ITEM: \"UPDATE_COMPANY_LINE_ITEM\",\n REMOVE_COMPANY_LINE_ITEM: \"REMOVE_COMPANY_LINE_ITEM\",\n UPDATE_COMPANY_GCI: \"UPDATE_COMPANY_GCI\",\n UPDATE_COMPANY_GCI_VALUE: \"UPDATE_COMPANY_GCI_VALUE\",\n};\n\nexport default FINANCIALS_UPDATE_TYPE;\n","import { sortBy } from \"../../../../Transactions/utils/helpers\";\n\nconst movedDown = ({ from, to }) => from < to;\n\nexport const moved = ({ current, from, to }) => {\n const rangeStart = Math.min(from, to);\n const rangeEnd = Math.max(from, to);\n return current >= rangeStart && current <= rangeEnd;\n};\n\nexport const positionDelta = ({ current, from, to }) => {\n if (from === current) {\n return to - from;\n }\n if (!moved({ current, from, to })) {\n return 0;\n }\n if (movedDown({ from, to }) && current <= to) {\n return -1;\n }\n return 1;\n};\n\nconst applyOrder = ({ items, from, to, key }) => {\n const deltas = items.map((item) => positionDelta({ current: item[key], from, to }));\n\n return items.map((item, index) => ({\n ...item,\n [key]: item[key] + deltas[index],\n }));\n};\n\nexport const reorderBy = ({ items, from, to, key }) => sortBy(applyOrder({ items, from, to, key }), key);\n\nexport const nextIndexForProperty = (collection, property) =>\n Math.max(\n ...[\n 0, // Added to prevent errors on empty arrays\n ...collection.map((item) => item[property]),\n ],\n ) + 1;\n","import { sortBy } from \"../../../../Transactions/utils/helpers\";\n\nimport { nextIndexForProperty } from \"./orderHelpers\";\n\nconst transactionExtrasOperations = (data) => {\n const collectionFor = (type) =>\n type === \"expense\"\n ? data.transaction_income.custom_transaction_expenses_attributes\n : data.transaction_income.custom_transaction_revenues_attributes;\n\n const combinedCollections = () => [...collectionFor(\"expense\"), ...collectionFor(\"income\")];\n const find = ({ type, id }) =>\n (type ? collectionFor(type) : combinedCollections()).find((lineItem) => lineItem.id === id);\n\n const nextPosition = () => nextIndexForProperty(combinedCollections(), \"position\");\n\n const reorderCollections = () => {\n // In place updating, as the rest of the actions\n // eslint-disable-next-line no-param-reassign\n data.transaction_income.custom_transaction_expenses_attributes = sortBy(\n data.transaction_income.custom_transaction_expenses_attributes,\n \"position\",\n );\n\n // In place updating, as the rest of the actions\n // eslint-disable-next-line no-param-reassign\n data.transaction_income.custom_transaction_revenues_attributes = sortBy(\n data.transaction_income.custom_transaction_revenues_attributes,\n \"position\",\n );\n };\n\n return {\n collectionFor,\n combinedCollections,\n find,\n nextPosition,\n reorderCollections,\n };\n};\n\nexport default transactionExtrasOperations;\n","/* eslint-disable no-param-reassign */\n/* eslint-disable no-underscore-dangle */\nimport { sortBy } from \"../../../../Transactions/utils/helpers\";\n\nimport { nextIndexForProperty } from \"./orderHelpers\";\n\nconst buildCustomTeamMemberExpense = ({ expense, base }) => {\n const expenseTypeName = Object.keys(base.agent_expense_types).find(\n (key) => base.agent_expense_types[key] === expense.agent_expense_type_id,\n );\n return { ...expense, name: expense.name !== null ? expense.name : expenseTypeName };\n};\n\nconst buildCustomTeamMemberExpenses = ({ selectedMember, base }) =>\n selectedMember.meta.customTeamMemberExpensesAttributes.map((expense) =>\n buildCustomTeamMemberExpense({ expense, base }),\n );\n\nconst buildNewTeamMember = ({ base, selectedMember }) => {\n const customTeamMemberExpenses = buildCustomTeamMemberExpenses({ selectedMember, base });\n\n return {\n user_id: selectedMember.value,\n name: selectedMember.label,\n agent_gci: 0,\n agent_gci_percentage: false,\n agent_gci_units: 0,\n agent_gci_notes: null,\n brokerage_split: selectedMember.meta.brokerageSplit,\n brokerage_split_percentage: selectedMember.meta.brokerageSplitType === \"percent\",\n brokerage_split_amount: 0,\n brokerake_split_line_total: 0,\n royalty: selectedMember.meta.royalty,\n royalty_percentage: selectedMember.meta.royaltyType === \"percent\",\n royalty_amount: 0,\n royalty_line_total: 0,\n gross_income: 0,\n net_income: 0,\n custom_team_member_expenses_attributes: customTeamMemberExpenses,\n };\n};\n\nexport const queries = (data) => {\n const collection = () => data.team_member_incomes.incomes;\n const find = ({ memberId }) => collection().find((teamMember) => teamMember.id === memberId);\n const extrasFor = (teamMember) => teamMember.custom_team_member_expenses_attributes;\n const extrasForType = (teamMember, type) => teamMember[`custom_team_member_${type}_attributes`];\n const findExtraForType = ({ memberId, id, type }) =>\n extrasForType(find({ memberId }), type).find((extra) => extra.id === id);\n const findExtraFor = ({ memberId, id }) => extrasFor(find({ memberId })).find((extra) => extra.id === id);\n\n // we need to include team member since royalty and brokerage line total is in this level;\n const combinedCollections = (teamMember) => [\n ...extrasForType(teamMember, \"expenses\"),\n ...extrasForType(teamMember, \"revenues\"),\n teamMember,\n ];\n const reorderCombinedCollections = (teamMember) => sortBy(combinedCollections(teamMember), \"position\");\n const reconcilePositionAfterDestroy = (teamMember) =>\n reorderCombinedCollections(teamMember)\n .filter((acc) => !acc._destroy)\n .forEach((acc, i) => {\n acc.position = i + 1;\n });\n const nextExtraPositionFor = (teamMember) =>\n nextIndexForProperty([teamMember, ...extrasFor(teamMember)], \"position\");\n\n const reorderExtrasFor = (teamMember) => {\n // In place updating, as the rest of the actions\n teamMember.custom_team_member_expenses_attributes = sortBy(\n teamMember.custom_team_member_expenses_attributes,\n \"position\",\n );\n\n teamMember.custom_team_member_revenues_attributes = sortBy(\n teamMember.custom_team_member_revenues_attributes,\n \"position\",\n );\n };\n\n return {\n collection,\n combinedCollections,\n reorderCombinedCollections,\n reconcilePositionAfterDestroy,\n find,\n extrasFor,\n extrasForType,\n findExtraFor,\n findExtraForType,\n nextExtraPositionFor,\n reorderExtrasFor,\n actions: {\n buildNewTeamMember,\n },\n };\n};\n\nexport default queries;\n","import { sortBy } from \"../../../../Transactions/utils/helpers\";\n\nimport { nextIndexForProperty } from \"./orderHelpers\";\n\nconst companyOperations = (data) => {\n const collectionFor = (type) =>\n type === \"expense\"\n ? data.company_income.custom_team_member_expenses_attributes\n : data.company_income.custom_team_member_revenues_attributes;\n\n const combinedCollections = () => [...collectionFor(\"expense\"), ...collectionFor(\"income\")];\n const find = ({ type, id }) =>\n (type ? collectionFor(type) : combinedCollections()).find((lineItem) => lineItem.id === id);\n\n const nextPosition = () => nextIndexForProperty(combinedCollections(), \"position\");\n\n const reorderCollections = () => {\n // In place updating, as the rest of the actions\n // eslint-disable-next-line no-param-reassign\n data.company_income.custom_team_member_expenses_attributes = sortBy(\n data.company_income.custom_team_member_expenses_attributes,\n \"position\",\n );\n\n // In place updating, as the rest of the actions\n // eslint-disable-next-line no-param-reassign\n data.company_income.custom_team_member_revenues_attributes = sortBy(\n data.company_income.custom_team_member_revenues_attributes,\n \"position\",\n );\n };\n\n return {\n collectionFor,\n combinedCollections,\n find,\n nextPosition,\n reorderCollections,\n };\n};\n\nexport default companyOperations;\n","/* eslint-disable no-underscore-dangle */\nimport { last } from \"lodash\";\nimport FINANCIALS_UPDATE_TYPE from \"./actionNames\";\nimport { positionDelta } from \"./orderHelpers\";\nimport transactionExtrasOperations from \"./transactionExtraOperations\";\nimport teamMemberOperations from \"./teamMemberOperations\";\nimport companyOperations from \"./companyOperations\";\nimport { assignIfDifferent, toNumber } from \"../../../../shared/Utilities\";\n\nconst changeTracker = ({ updateType, base, updateData }) => {\n const changeChecks = [];\n const transactionQueries = transactionExtrasOperations(base);\n const teamMemberQueries = teamMemberOperations(base);\n const companyQueries = companyOperations(base);\n\n const assignIfDifferentAndSaveResult = (obj, path, value) => {\n const didChange = assignIfDifferent(obj, path, value);\n changeChecks.push(didChange);\n return didChange;\n };\n\n switch (updateType) {\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_CLOSE_PRICE:\n assignIfDifferentAndSaveResult(\n base,\n \"transaction_income.closed_volume\",\n toNumber(updateData.closePrice),\n );\n break;\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_COMMISSION:\n assignIfDifferentAndSaveResult(base, \"transaction_income.commission\", toNumber(updateData.commission));\n assignIfDifferentAndSaveResult(\n base,\n \"transaction_income.commission_percentage\",\n updateData.commissionType === \"percent\",\n );\n assignIfDifferentAndSaveResult(base, \"transaction_income.commission_notes\", updateData.notes);\n break;\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_COMMISSION_VALUE:\n assignIfDifferentAndSaveResult(base, \"transaction_income.commission\", toNumber(updateData.commission));\n assignIfDifferentAndSaveResult(\n base,\n \"transaction_income.commission_percentage\",\n updateData.commissionType === \"percent\",\n );\n break;\n\n case FINANCIALS_UPDATE_TYPE.ADD_TRANSACTION_LINE_ITEM: {\n const selectedType = updateData.selectedOption.meta.type.replace(\"income\", \"revenue\");\n transactionQueries.collectionFor(selectedType).push({\n type: selectedType,\n transaction_expense_type_id: updateData.selectedOption.value,\n name: updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n value: toNumber(updateData.value),\n percentage: updateData.valueType === \"percent\",\n notes: updateData.notes,\n position: transactionQueries.nextPosition(),\n });\n changeChecks.push(true);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.ADD_COMPANY_LINE_ITEM: {\n const selectedType = updateData.selectedOption.meta.type.replace(\"income\", \"revenue\");\n companyQueries.collectionFor(selectedType).push({\n [`company_${selectedType}_type_id`]: updateData.selectedOption.value,\n [`${selectedType}_amount`]: toNumber(updateData.value),\n name: updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n value: toNumber(updateData.value),\n percentage: updateData.valueType === \"percent\",\n notes: updateData.notes,\n position: companyQueries.nextPosition(),\n });\n changeChecks.push(true);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM: {\n const lineItem = transactionQueries.find({ type: updateData.type, id: updateData.id });\n assignIfDifferentAndSaveResult(\n lineItem,\n \"transaction_expense_type_id\",\n updateData.selectedOption.value,\n );\n assignIfDifferentAndSaveResult(\n lineItem,\n \"name\",\n updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n );\n assignIfDifferentAndSaveResult(lineItem, \"value\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(lineItem, \"percentage\", updateData.valueType === \"percent\");\n assignIfDifferentAndSaveResult(lineItem, \"notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM: {\n const selectedType = updateData.selectedOption.meta.type.replace(\"income\", \"revenue\");\n const lineItem = companyQueries.find({ type: updateData.type, id: updateData.id });\n assignIfDifferentAndSaveResult(\n lineItem,\n `company_${selectedType}_type_id`,\n updateData.selectedOption.value,\n );\n assignIfDifferentAndSaveResult(\n lineItem,\n \"name\",\n updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n );\n assignIfDifferentAndSaveResult(lineItem, \"value\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(lineItem, \"percentage\", updateData.valueType === \"percent\");\n assignIfDifferentAndSaveResult(lineItem, \"notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM_TYPE: {\n const lineItem = transactionQueries.find({ type: updateData.type, id: updateData.id });\n const selectedType = updateData.selectedOption.meta.type.replace(\"income\", \"revenue\");\n const didTypeChange = assignIfDifferentAndSaveResult(lineItem, \"type\", selectedType);\n assignIfDifferentAndSaveResult(\n lineItem,\n \"transaction_expense_type_id\",\n updateData.selectedOption.value,\n );\n assignIfDifferentAndSaveResult(\n lineItem,\n \"name\",\n updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n );\n\n // If the type changed, we need to remove the expense/income from one array\n // and add it to the other\n if (didTypeChange) {\n transactionQueries.collectionFor(selectedType).push({\n ...lineItem,\n // Remove the id, since a new one must be created\n id: undefined,\n });\n // eslint-disable-next-line no-underscore-dangle\n lineItem._destroy = true;\n changeChecks.push(true);\n }\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM_TYPE: {\n const lineItem = companyQueries.find({ type: updateData.type, id: updateData.id });\n const selectedType = updateData.selectedOption.meta.type.replace(\"income\", \"revenue\");\n const didTypeChange = assignIfDifferentAndSaveResult(lineItem, \"type\", selectedType);\n assignIfDifferentAndSaveResult(\n lineItem,\n `company_${selectedType}_type_id`,\n updateData.selectedOption.value,\n );\n assignIfDifferentAndSaveResult(\n lineItem,\n \"name\",\n updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n );\n\n // If the type changed, we need to remove the expense/income from one array\n // and add it to the other\n if (didTypeChange) {\n companyQueries.collectionFor(selectedType).push({\n ...lineItem,\n // Remove the id, since a new one must be created\n id: undefined,\n });\n // eslint-disable-next-line no-underscore-dangle\n lineItem._destroy = true;\n changeChecks.push(true);\n }\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM_VALUE: {\n const lineItem = transactionQueries.find({ type: updateData.type, id: updateData.id });\n assignIfDifferentAndSaveResult(lineItem, \"value\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(lineItem, \"percentage\", updateData.valueType === \"percent\");\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM_VALUE: {\n const lineItem = companyQueries.find({ type: updateData.type, id: updateData.id });\n assignIfDifferentAndSaveResult(lineItem, \"value\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(lineItem, \"percentage\", updateData.valueType === \"percent\");\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM_POSITION: {\n if (updateData.from !== updateData.to) {\n const combinedCollections = transactionQueries.combinedCollections();\n const deltas = combinedCollections.map((lineItem) =>\n positionDelta({ current: lineItem.position, from: updateData.from, to: updateData.to }),\n );\n combinedCollections.forEach((lineItem, index) => {\n // In place updating, as the rest of the actions\n // eslint-disable-next-line no-param-reassign\n lineItem.position += deltas[index];\n });\n // We don't need to reorder the line items for transactions,\n // because the positions are not affected by the full recalculation,\n // but we do it anyway to keep it consistent with the classic\n transactionQueries.reorderCollections();\n changeChecks.push(true);\n }\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.REMOVE_TRANSACTION_LINE_ITEM: {\n const lineItem = transactionQueries.find({ type: updateData.type, id: updateData.id });\n // eslint-disable-next-line no-underscore-dangle\n lineItem._destroy = true;\n changeChecks.push(true);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.REMOVE_COMPANY_LINE_ITEM: {\n const lineItem = companyQueries.find({ type: updateData.type, id: updateData.id });\n // eslint-disable-next-line no-underscore-dangle\n lineItem._destroy = true;\n changeChecks.push(true);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_GCI: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"agent_gci\", toNumber(updateData.gci));\n assignIfDifferentAndSaveResult(teamMember, \"agent_gci_percentage\", updateData.gciType === \"percent\");\n assignIfDifferentAndSaveResult(teamMember, \"agent_gci_notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_GCI: {\n assignIfDifferentAndSaveResult(base, \"company_income.agent_gci\", toNumber(updateData.gci));\n assignIfDifferentAndSaveResult(\n base,\n \"company_income.agent_gci_percentage\",\n updateData.gciType === \"percent\",\n );\n assignIfDifferentAndSaveResult(base, \"company_income.agent_gci_notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_GCI_VALUE: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"agent_gci\", toNumber(updateData.gci));\n assignIfDifferentAndSaveResult(teamMember, \"agent_gci_percentage\", updateData.gciType === \"percent\");\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_GCI_VALUE: {\n assignIfDifferentAndSaveResult(base, \"company_income.agent_gci\", toNumber(updateData.gci));\n assignIfDifferentAndSaveResult(\n base,\n \"company_income.agent_gci_percentage\",\n updateData.gciType === \"percent\",\n );\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_UNITS: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"agent_gci_units\", toNumber(updateData.units));\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.ADD_TEAM_MEMBER_LINE_ITEM: {\n const AGENT_TYPE_MAP = {\n expense: \"expense\",\n income: \"revenue\",\n };\n const { type } = updateData.selectedOption.meta;\n const agentMappedType = AGENT_TYPE_MAP[type];\n\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n const collection = teamMemberQueries.reorderCombinedCollections(teamMember);\n\n teamMemberQueries.extrasForType(teamMember, `${agentMappedType}s`).push({\n [`agent_${agentMappedType}_type_id`]: updateData.selectedOption.value,\n [`${agentMappedType}_amount`]: toNumber(updateData.value),\n name: updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n value: toNumber(updateData.value),\n percentage: updateData.valueType === \"percent\",\n notes: updateData.notes,\n position: last(collection).position + 1,\n });\n\n changeChecks.push(true);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM: {\n // TODO: HERE\n const AGENT_TYPE_MAP = {\n expense: \"expense\",\n income: \"revenue\",\n };\n\n const agentMappedType = AGENT_TYPE_MAP[updateData.type];\n const lineItem = teamMemberQueries.findExtraForType({\n memberId: updateData.memberId,\n id: updateData.id,\n type: `${agentMappedType}s`,\n });\n assignIfDifferentAndSaveResult(\n lineItem,\n `agent_${agentMappedType}_type_id`,\n updateData.selectedOption.value,\n );\n assignIfDifferentAndSaveResult(\n lineItem,\n \"name\",\n updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n );\n assignIfDifferentAndSaveResult(lineItem, \"value\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(lineItem, \"percentage\", updateData.valueType === \"percent\");\n assignIfDifferentAndSaveResult(lineItem, \"notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_TYPE: {\n const lineItem = teamMemberQueries.findExtraForType({\n memberId: updateData.memberId,\n id: updateData.id,\n });\n assignIfDifferentAndSaveResult(lineItem, \"agent_expense_type_id\", updateData.selectedOption.value);\n assignIfDifferentAndSaveResult(\n lineItem,\n \"name\",\n updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n );\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_VALUE: {\n const lineItem = teamMemberQueries.findExtraFor({ memberId: updateData.memberId, id: updateData.id });\n assignIfDifferentAndSaveResult(lineItem, \"value\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(lineItem, \"percentage\", updateData.valueType === \"percent\");\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_POSITION: {\n if (updateData.from !== updateData.to) {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n\n const combinedCollections = teamMemberQueries.reorderCombinedCollections(teamMember);\n\n const elementToMove = combinedCollections.splice(updateData.from - 1, 1)[0];\n\n combinedCollections.splice(updateData.to - 1, 0, elementToMove);\n combinedCollections.forEach((acc, i) => {\n acc.position = i + 1;\n });\n\n changeChecks.push(true);\n }\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM_POSITION: {\n if (updateData.from !== updateData.to) {\n const combinedCollections = companyQueries.combinedCollections();\n const deltas = combinedCollections.map((lineItem) =>\n positionDelta({ current: lineItem.position, from: updateData.from, to: updateData.to }),\n );\n combinedCollections.forEach((lineItem, index) => {\n // In place updating, as the rest of the actions\n // eslint-disable-next-line no-param-reassign\n lineItem.position += deltas[index];\n });\n // We don't need to reorder the line items for transactions,\n // because the positions are not affected by the full recalculation,\n // but we do it anyway to keep it consistent with the classic\n companyQueries.reorderCollections();\n changeChecks.push(true);\n }\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.REMOVE_TEAM_MEMBER_LINE_ITEM: {\n const AGENT_TYPE_MAP = {\n expense: \"expense\",\n income: \"revenue\",\n };\n\n const member = teamMemberQueries.find({ memberId: updateData.memberId });\n const agentMappedType = AGENT_TYPE_MAP[updateData.type];\n const lineItem = teamMemberQueries.findExtraForType({\n memberId: updateData.memberId,\n id: updateData.id,\n type: `${agentMappedType}s`,\n });\n\n // eslint-disable-next-line no-underscore-dangle\n lineItem._destroy = true;\n teamMemberQueries.reconcilePositionAfterDestroy(member);\n changeChecks.push(true);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"brokerage_split\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(\n teamMember,\n \"brokerage_split_percentage\",\n updateData.valueType === \"percent\",\n );\n assignIfDifferentAndSaveResult(teamMember, \"brokerage_split_notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT_VALUE: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"brokerage_split\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(\n teamMember,\n \"brokerage_split_percentage\",\n updateData.valueType === \"percent\",\n );\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_ROYALTY: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"royalty\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(teamMember, \"royalty_percentage\", updateData.valueType === \"percent\");\n assignIfDifferentAndSaveResult(teamMember, \"royalty_notes\", updateData.notes);\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_ROYALTY_VALUE: {\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n assignIfDifferentAndSaveResult(teamMember, \"royalty\", toNumber(updateData.value));\n assignIfDifferentAndSaveResult(teamMember, \"royalty_percentage\", updateData.valueType === \"percent\");\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_ACC: {\n const AGENT_TYPE_MAP = {\n expense: \"expense\",\n income: \"revenue\",\n };\n const { type } = updateData.selectedOption.meta;\n const agentMappedType = AGENT_TYPE_MAP[type];\n\n const teamMember = teamMemberQueries.find({ memberId: updateData.memberId });\n\n teamMemberQueries.extrasForType(teamMember, `${agentMappedType}s`).push({\n [`agent_${agentMappedType}_type_id`]: updateData.selectedOption.value,\n [`${agentMappedType}_amount`]: toNumber(updateData.value),\n name: updateData.selectedOption.meta.isCustomOption\n ? updateData.selectedOption.meta.name\n : updateData.selectedOption.label,\n value: toNumber(updateData.value),\n percentage: updateData.valueType === \"percent\",\n notes: updateData.notes,\n position: updateData.editingLineItem.lineItem.position,\n });\n\n const destroyableLineItem = teamMemberQueries.findExtraForType({\n memberId: updateData.memberId,\n id: updateData.editingLineItem.lineItem.id,\n type: `${AGENT_TYPE_MAP[updateData.editingLineItem.lineItem.expenseOrIncome]}s`,\n });\n\n destroyableLineItem._destroy = true;\n changeChecks.push(true);\n\n break;\n }\n\n case FINANCIALS_UPDATE_TYPE.ADD_TEAM_MEMBERS:\n teamMemberQueries\n .collection()\n .push(\n ...updateData.selectedMembers.map((selectedMember) =>\n teamMemberQueries.actions.buildNewTeamMember({ base, selectedMember }),\n ),\n );\n changeChecks.push(true);\n break;\n\n default:\n break;\n }\n\n const didDataChange = changeChecks.find((changeResult) => changeResult === true);\n return [didDataChange, base];\n};\n\nexport default changeTracker;\n","/* eslint-disable no-constant-condition */\nimport { cloneDeep } from \"lodash\";\n\nimport {\n formatValue as originalFormatValue,\n fullRecalculation,\n} from \"../../../../Financials/components/shared/FinancialViewHelpers\";\nimport { camelizeKeys, toNumber } from \"../../../../shared/Utilities\";\nimport { createDocument } from \"../../Docs/api/apiAdapters\";\n\nimport uiChangeMerger from \"./uiChangeMerger\";\n\n// $/% is already handled by the front-end components, but the original\n// `formatValue` function also adds those, so we strip them here.\nconst formatValue = (value, isPercentage = false) =>\n originalFormatValue(value, isPercentage)\n // Remove a \"$\" prefix or \"%\" suffix.\n .replace(/\\$|%/, \"\");\n\n/**\n * Converts objects from something like `{ \"a\": 1, \"b\": 2 }` into:\n *\n * ```\n * [\n * { label: \"a\", value: 1 },\n * { label: \"b\", value: 2 }\n * ]\n * ```\n *\n * For usage as options in the Dropdown component.\n */\nconst convertObjectIntoDropdownOptions = (object, { addCustomIncome = false } = {}) => {\n const options = Object.entries(object).map(([key, value]) => ({\n // Rename \"Custom\" option to \"Custom Expense\" so that it's in line with the Figma.\n label: key === \"Custom\" ? \"Custom Expense\" : key,\n value,\n meta: {\n type:\n key === \"Admin Income Fee\" ||\n key === \"Buyer Fee Income\" ||\n key === \"Listing Fee Income\" ||\n key === \"Custom Income\"\n ? \"income\"\n : \"expense\",\n isCustomOption: key === \"Custom\" || key === \"Custom Income\" || key === \"Custom Expense\",\n name: \"\",\n },\n }));\n if (addCustomIncome) {\n // As of now, there's no such thing as a custom income,\n // so we add an extra \"Custom Income\" option to represent this within the front-end.\n options.push({\n label: \"Custom Income\",\n value: \"\",\n meta: {\n type: \"income\",\n isCustomOption: true,\n name: \"\",\n },\n });\n }\n return options;\n};\n\nconst convertObjectIntoDropdownOptionsCompany = (object, isExpense) => {\n const options = Object.entries(object).map(([key, value]) => ({\n // Rename \"Custom\" option to \"Custom Expense\" so that it's in line with the Figma.\n // eslint-disable-next-line no-nested-ternary\n label: key === \"Custom\" ? (isExpense ? \"Custom Expense\" : \"Custom Income\") : key,\n value,\n meta: {\n type: isExpense ? \"expense\" : \"income\",\n isCustomOption: key === \"Custom\" || key === \"Custom Income\" || key === \"Custom Expense\",\n name: \"\",\n },\n }));\n return options;\n};\n\n/**\n * Takes the given array and removes any\n * items where the `_destroy` field is truthy.\n */\nconst filterDeletedItems = (array) =>\n array\n // This name is due to a Rails pattern, so we ignore the linter here.\n // eslint-disable-next-line no-underscore-dangle\n .filter((x) => !x._destroy);\n\n/**\n * Takes the given array and sorts it by the `position` field, then removes any\n * items where the `_destroy` field is truthy.\n */\nconst sortByPositionAndFilterDeletedItems = (array) =>\n filterDeletedItems(array.sort((a, b) => a.position - b.position));\n\n/**\n * Takes in raw data (not camelized, as the case sensitivity on the keys is\n * important since they're used as names) and spits out available expense types\n * in a format compatible with the Dropdown component.\n */\nconst constructLineItemTypeOptionsFrom = (rawData) => ({\n agent: convertObjectIntoDropdownOptions(rawData.agent_expense_types, { addCustomIncome: true }),\n transactionExpense: convertObjectIntoDropdownOptions(rawData.transaction_expense_types, {\n addCustomIncome: false,\n }),\n transactionIncome: convertObjectIntoDropdownOptions(rawData.transaction_revenue_types, {\n addCustomIncome: true,\n }),\n company: { ...rawData.company_expense_types, ...rawData.company_revenue_types }\n ? [\n ...convertObjectIntoDropdownOptionsCompany(rawData.company_revenue_types, false),\n ...convertObjectIntoDropdownOptionsCompany(rawData.company_expense_types, true),\n ]\n : [],\n});\n\n/** Adapts a single transaction expense/income line item. */\nconst adaptTransactionLineItem = (lineItem, rawFinancialData) => {\n const expenseOrIncomeTypeId = lineItem.transactionExpenseTypeId || \"\";\n const expenseOrIncomeTypeOptions = constructLineItemTypeOptionsFrom(\n rawFinancialData,\n ).transactionExpense.concat(constructLineItemTypeOptionsFrom(rawFinancialData).transactionIncome);\n const selectedOption = expenseOrIncomeTypeOptions.find((option) => option.value === expenseOrIncomeTypeId);\n if (selectedOption.meta.isCustomOption) {\n selectedOption.meta.name = lineItem.name;\n }\n\n return {\n selectedOption,\n options: expenseOrIncomeTypeOptions,\n\n id: lineItem.id,\n position: lineItem.position,\n // BE uses \"revenue\" and \"income\" interchangeably, but we'll call everything\n // \"income\" here in the FE for consistency and simplicity's sake.\n expenseOrIncome: lineItem.type.replace(\"revenue\", \"income\"),\n notes: lineItem.notes,\n value: formatValue(lineItem.value),\n valueType: lineItem.percentage ? \"percent\" : \"flat\",\n calculatedValue: formatValue(\n lineItem.type === \"expense\" ? lineItem.expenseAmount : lineItem.revenueAmount,\n ),\n subtotal: formatValue(lineItem.lineTotal),\n };\n};\n\n/**\n * Adapts a transaction's raw financial data from the back-end into the schema\n * expected by the front-end components.\n */\nconst adaptCDAdocs = (CDAdocuments) => {\n if (CDAdocuments.length) {\n return CDAdocuments.map((doc) => createDocument(doc, null, true));\n }\n return [];\n};\n\nconst adaptTransaction = (originalRawFinancialData, transactionDetails) => {\n // The calculation code will mutate this object, so we need to make a writable\n // copy of it.\n const rawFinancialData = cloneDeep(originalRawFinancialData);\n\n // From here on out, we rename \"rawFinancialData\" to \"financialData\" to\n // differentiate between how the data comes in (snake_case, etc.) vs. the\n // camelCase, post-calculator version.\n let financialData;\n\n if (rawFinancialData.transaction_income) {\n // First order of business: create the `additionalIncome` field which doesn't\n // exist in the back-end, but is required to reuse the existing calculation\n // code. There's a bit of snake_case here because that's how the calculation\n // code expects the object's fields to be formatted, so we can't pass in a\n // camelCase version there.\n //\n // This is copy-pasted and adapted from `componentWillReceiveProps` from\n // `TransactionFinancial.jsx`.\n const additionalLineItems = sortByPositionAndFilterDeletedItems([\n ...rawFinancialData.transaction_income.custom_transaction_expenses_attributes,\n ...rawFinancialData.transaction_income.custom_transaction_revenues_attributes,\n ]);\n\n rawFinancialData.transaction_income.additionalIncome = additionalLineItems;\n\n // Then, re-use the existing calculation code.\n fullRecalculation(rawFinancialData, (updatedFinancialData) => {\n financialData = camelizeKeys(updatedFinancialData);\n });\n }\n\n // Finally, convert it into our desired schema.\n const transformedFinancialData = {\n // TODO: From what I could tell, the estimated close price exists both in\n // the listing's details _and_ the listing itself. The commission however,\n // is only present in the details. A little worse still is that\n // `estimated_commission_percentage` never seems to be handled in the FE,\n // even though it exists and is serialized properly.\n //\n // Given how unclear these are, I'm opting to just piggy-back off of the\n // existing data from another reducer for now so I can move quickly. We can\n // reconsider this decision later.\n estimated: {\n closePrice: {\n value: formatValue(transactionDetails.est_close_price || null),\n },\n commission: {\n type: transactionDetails.estimated_commission_percentage ? \"percent\" : \"flat\",\n value: formatValue(\n transactionDetails.estimated_commission || null,\n transactionDetails.estimated_commission_percentage,\n ),\n },\n\n subtotal: null,\n netCommission: null,\n grossCommission: null,\n },\n\n actual: {\n closePrice: {\n // TODO: Get this cleared up. This value technically exists as:\n // - transaction_income.closed_volume\n // - listing.details[\"close_price\"].value\n // - listing.close_price\n //\n // AFAIK, no-one agrees on what the source of truth should be, so I'm\n // going with #1 since that's the one used in the classic Financials.\n value: formatValue(financialData?.transactionIncome?.closedVolume || null),\n },\n commission: {\n type: financialData?.transactionIncome?.commissionPercentage ? \"percent\" : \"flat\",\n value: formatValue(\n financialData?.transactionIncome?.commission || null,\n financialData?.transactionIncome?.commissionPercentage,\n ),\n },\n\n // Comes from the calculations, field doesn't exist in the back-end.\n subtotal: financialData?.transactionIncome?.grossIncome\n ? formatValue(financialData.transactionIncome.grossIncome)\n : null,\n\n // Seems to come from the back-end, and the field name is really weird.\n // Try to validate later.\n netCommission: financialData?.transactionIncome?.gci\n ? formatValue(financialData.transactionIncome.gci)\n : null,\n\n grossCommission: financialData?.transactionIncome?.grossCommission\n ? formatValue(financialData.transactionIncome.grossCommission)\n : null,\n },\n\n // Indicates whether the financial data for this transaction was created or not\n hasFinancialData: !!financialData,\n\n // If we have financial data (which is our case since we're running through\n // the function to adapt financial data), default to showing actual GCI.\n isActualGCI: true,\n\n notes: financialData?.transactionIncome?.commissionNotes || \"\",\n\n type: transactionDetails.type,\n showClosePrice: transactionDetails.type !== \"referral\",\n };\n\n if (financialData?.transactionIncome?.additionalIncome) {\n transformedFinancialData.lineItems = financialData.transactionIncome.additionalIncome.map((item) =>\n adaptTransactionLineItem(item, rawFinancialData),\n );\n } else {\n transformedFinancialData.lineItems = [];\n }\n\n return transformedFinancialData;\n};\n\n/** Given a company, adapts and spits out all his relevant line items. */\nconst adaptCompanyLineItems = (companyObject, rawFinancialData) => {\n const expensesOrIncome = sortByPositionAndFilterDeletedItems([\n ...(companyObject.customTeamMemberExpensesAttributes || []),\n ...(companyObject.customTeamMemberRevenuesAttributes || []),\n ]);\n\n const LineItems = expensesOrIncome.map((item) => {\n const expenseOrIncomeTypeOptions = constructLineItemTypeOptionsFrom(rawFinancialData).company;\n\n const expenseOrIncomeTypeId =\n (item.type === \"expense\" ? item.companyExpenseTypeId : item.companyRevenueTypeId) || \"\";\n const selectedOption = expenseOrIncomeTypeOptions.find(\n (option) => option.value === expenseOrIncomeTypeId,\n );\n if (selectedOption.meta.isCustomOption) {\n selectedOption.meta.name = item.name;\n }\n return {\n expenseOrIncome: item.type.replace(\"revenue\", \"income\"),\n isRemovable: true,\n isEditable: true,\n id: item.id,\n name: item.name,\n position: item.position,\n selectedOption,\n options: expenseOrIncomeTypeOptions,\n notes: item.notes,\n valueType: item.percentage ? \"percent\" : \"flat\",\n value: formatValue(item.value),\n calculatedValue: formatValue(item.type === \"expense\" ? item.expenseAmount : item.revenueAmount),\n subtotal: formatValue(item.lineTotal),\n };\n });\n return sortByPositionAndFilterDeletedItems(LineItems);\n};\n\nconst adaptCompany = (rawFinancialData) => {\n const financialData = camelizeKeys(rawFinancialData);\n let companyLineItems = null;\n if (financialData?.companyIncome) {\n companyLineItems = {\n id: financialData.companyIncome.id,\n name: financialData.companyIncome.name,\n type: \"company\",\n // TODO: This is Primary Agent / Account Owner / Showing Agent / Company, etc. Not\n // present in the current serializers (\"TeamMember.role.name\").\n role: financialData.companyIncome?.role || \"\",\n\n profilePic: financialData.companyIncome.avatar,\n gci: {\n type: financialData.companyIncome.agentGciPercentage ? \"percent\" : \"flat\",\n value: formatValue(\n financialData.companyIncome.agentGci,\n financialData.companyIncome.agentGciPercentage,\n ),\n },\n subtotal: formatValue(financialData.companyIncome.grossIncome),\n netIncome: formatValue(financialData.companyIncome.netIncome),\n lineItems: adaptCompanyLineItems(financialData.companyIncome, rawFinancialData),\n };\n }\n return companyLineItems;\n};\n\n//\n// TODO: Temporary separator, consider breaking apart into different file. Stuff\n// below is similar to the above, but for team members.\n//\n\n/** Given a team member, adapts and spits out all his relevant line items. */\nconst adaptTeamMemberLineItems = (teamMemberIncomeObject, rawFinancialData) => {\n // Within the team member's income object, we have the brokerage split and\n // royalty, which must _always_ be handled (e.g. repositioned) together, and\n // only after do we have the other expense/income items.\n\n // As such, let's start off with those 2.\n const brokerageSplitAndRoyaltyDefaults = {\n expenseOrIncome: \"expense\",\n isRemovable: false,\n isEditable: true,\n };\n\n const brokerageSplitItem = {\n ...brokerageSplitAndRoyaltyDefaults,\n selectedOption: { label: \"Brokerage Split\", value: \"brokerage-split\" },\n options: [],\n notes: teamMemberIncomeObject.brokerageSplitNotes,\n value: formatValue(\n teamMemberIncomeObject.brokerageSplit,\n teamMemberIncomeObject.brokerageSplitPercentage,\n ),\n valueType: teamMemberIncomeObject.brokerageSplitPercentage ? \"percent\" : \"flat\",\n calculatedValue: formatValue(teamMemberIncomeObject.brokerageSplitAmount),\n subtotal: formatValue(teamMemberIncomeObject.brokerageSplitLineTotal),\n };\n\n const royaltyItem = {\n ...brokerageSplitAndRoyaltyDefaults,\n selectedOption: { label: \"Royalty\", value: \"royalty\" },\n options: [],\n notes: teamMemberIncomeObject.royaltyNotes,\n value: formatValue(teamMemberIncomeObject.royalty, teamMemberIncomeObject.royaltyPercentage),\n valueType: teamMemberIncomeObject.royaltyPercentage ? \"percent\" : \"flat\",\n calculatedValue: formatValue(teamMemberIncomeObject.royaltyAmount),\n subtotal: formatValue(teamMemberIncomeObject.royaltyLineTotal),\n };\n\n // Now, we can handle the other incomes and expenses.\n const otherLineItems = sortByPositionAndFilterDeletedItems([\n ...(teamMemberIncomeObject.customTeamMemberExpensesAttributes || []),\n ...(teamMemberIncomeObject.customTeamMemberRevenuesAttributes || []),\n ]).map((item) => {\n const expenseOrIncomeTypeOptions = constructLineItemTypeOptionsFrom(rawFinancialData).agent;\n\n const expenseOrIncomeTypeId = item.agentExpenseTypeId || \"\";\n const selectedOption = expenseOrIncomeTypeOptions.find(\n (option) => option.value === expenseOrIncomeTypeId,\n );\n if (selectedOption.meta.isCustomOption) {\n selectedOption.meta.name = item.name;\n }\n\n const amount = item.expenseAmount || item.revenueAmount;\n const expenseOrIncome = item.expenseAmount ? \"expense\" : \"income\";\n return {\n expenseOrIncome,\n isRemovable: true,\n isEditable: true,\n\n id: item.id,\n position: item.position,\n\n selectedOption,\n options: expenseOrIncomeTypeOptions,\n\n notes: item.notes,\n value: formatValue(item.value, item.percentage),\n valueType: item.percentage ? \"percent\" : \"flat\",\n\n calculatedValue: formatValue(amount),\n subtotal: formatValue(item.lineTotal),\n };\n });\n\n return sortByPositionAndFilterDeletedItems([\n {\n position: teamMemberIncomeObject.position,\n brokerageSplitItem,\n royaltyItem,\n },\n ...otherLineItems,\n ]);\n};\n\n/** Given a collaborator, adapts and spits out all his relevant line items. */\nconst adaptCollaboratorLineItems = (collaboratorObject) => {\n const expenses = sortByPositionAndFilterDeletedItems(\n collaboratorObject.customCollaboratorExpensesAttributes,\n );\n\n // To explain some of the hardcoded values in here: as far as I could tell,\n // collaborator items are _always_ expenses, _always_ custom and _always_\n // flat.\n return expenses.map((expense) => ({\n expenseOrIncome: \"expense\",\n isRemovable: true,\n isEditable: true,\n\n id: expense.id,\n name: expense.name,\n position: expense.position,\n\n selectedOption: { label: expense.name, value: \"custom\" },\n options: [],\n\n notes: expense.notes,\n\n // Since the value is always flat, the calculated value can't possibly be\n // diferent from the base value, so both of them read from the same field.\n valueType: \"flat\",\n value: expense.expenseAmount,\n calculatedValue: expense.expenseAmount,\n\n subtotal: formatValue(expense.lineTotal),\n }));\n};\n\n/**\n * Given a transaction's raw financial data, spits out expenses and incomes for\n * the team members.\n */\nconst adaptTeamMembers = (rawFinancialData, transactionDetails) => {\n const financialData = camelizeKeys(rawFinancialData);\n\n const teamMemberLineItems = filterDeletedItems(financialData.teamMemberIncomes.incomes).map(\n (incomeObject) => ({\n id: incomeObject.id,\n personId: incomeObject.personId,\n name: incomeObject.name,\n type: \"agent\",\n\n profilePic: incomeObject.avatar,\n\n // TODO: This is Primary Agent / Account Owner / Showing Agent, etc. Not\n // present in the current serializers (\"TeamMember.role.name\").\n role: \"\",\n\n gci: {\n type: incomeObject.agentGciPercentage ? \"percent\" : \"flat\",\n value: formatValue(incomeObject.agentGci, incomeObject.agentGciPercentage),\n },\n\n unit: incomeObject.agentGciUnits,\n notes: incomeObject.agentGciNotes,\n\n subtotal: formatValue(incomeObject.grossIncome),\n netIncome: formatValue(incomeObject.netIncome),\n lineItems: adaptTeamMemberLineItems(incomeObject, rawFinancialData),\n\n showUnits: transactionDetails.type !== \"referral\",\n }),\n );\n\n return teamMemberLineItems;\n};\n\n// A small note on the functions above and below: it _seems_ like collaborators\n// are a separate thing from team members (as in: collaborators always come\n// after team members, they can't be reordered within themselves, etc.). As such\n// I'm handling them with completely separate functions. If this assumption\n// turns out to be wrong though, we should refactor to handle everything within\n// a single array.\n\n/**\n * Given a transaction's raw financial data, spits out expenses and incomes for\n * the collaborators.\n */\nconst adaptCollaborators = (rawFinancialData) => {\n const financialData = camelizeKeys(rawFinancialData);\n\n const collaboratorLineItems = filterDeletedItems(financialData.collaboratorExpenses.expenses).map(\n (expenseObject) => ({\n id: expenseObject.id,\n name: expenseObject.name,\n type: \"collaborator\",\n // TODO: Might want to have this one come in from the BE instead.\n role: \"Collaborator\",\n\n // TODO: For some reason this is shown as a revenue/income on the classic\n // page _and_ it comes in that way from the back-end as well...\n // considering the field is called total**Expense**, I'm doing a * -1 here\n // for sanity but confirm later what's going on here.\n netIncome: formatValue(expenseObject.totalExpense * -1),\n\n lineItems: adaptCollaboratorLineItems(expenseObject),\n\n showUnits: false,\n }),\n );\n\n return collaboratorLineItems;\n};\n\nconst recalculateRawData = (rawData) => {\n let recalculatedRawData = rawData;\n\n // `transaction_income` is required to run the fullRecalculation algorithm\n if (!recalculatedRawData.transaction_income) {\n return recalculatedRawData;\n }\n\n const additionalLineItems = sortByPositionAndFilterDeletedItems([\n ...(recalculatedRawData.transaction_income.custom_transaction_expenses_attributes || []),\n ...(recalculatedRawData.transaction_income.custom_transaction_revenues_attributes || []),\n ]);\n recalculatedRawData.transaction_income.additionalIncome = additionalLineItems;\n\n fullRecalculation(recalculatedRawData, (newRecalculatedRawData) => {\n recalculatedRawData = newRecalculatedRawData;\n });\n\n return recalculatedRawData;\n};\n\nconst removeUnusedPropsFromRawDataInPlace = (rawData) => {\n if (rawData.listing_id) {\n // eslint-disable-next-line no-param-reassign\n delete rawData.listing_id;\n }\n\n if (rawData.transaction_income?.additionalIncome) {\n // eslint-disable-next-line no-param-reassign\n delete rawData.transaction_income.additionalIncome;\n }\n\n if (rawData.for_referral) {\n // Referrals have no units to be distributed\n rawData.team_member_incomes.incomes.forEach((income) => {\n // eslint-disable-next-line no-param-reassign\n income.agent_gci_units = 0;\n });\n }\n};\n\nexport const adaptFromApi = (rawData, transactionDetails) => {\n const base = cloneDeep(rawData);\n\n const transaction = adaptTransaction(base, transactionDetails);\n const company = adaptCompany(base);\n const teamMembers = adaptTeamMembers(base, transactionDetails);\n const collaborators = adaptCollaborators(base);\n const lineItemTypeOptions = constructLineItemTypeOptionsFrom(base);\n const CDAdocuments = adaptCDAdocs(base.financial_documents);\n\n removeUnusedPropsFromRawDataInPlace(base);\n\n return {\n rawData: base,\n adaptedData: { transaction, company, teamMembers, collaborators, CDAdocuments },\n lineItemTypeOptions,\n };\n};\n\n/**\n * Takes in UI update data and raw data,\n * and spits out raw data with the UI modifications.\n */\nexport const adaptFromUi = (updateType, updateData, rawData) => {\n const base = cloneDeep(rawData);\n\n const [didDataChange, newBase] = uiChangeMerger({ updateType, base, updateData });\n\n if (!didDataChange) {\n return null;\n }\n\n const recalculatedRawData = recalculateRawData(newBase);\n removeUnusedPropsFromRawDataInPlace(recalculatedRawData);\n return recalculatedRawData;\n};\n\n/**\n * Takes in raw data,\n * and spits out selectable team members in a format compatible with the Dropdown component.\n */\nexport const adaptSelectableTeamMembers = (rawData) => ({\n selectableTeamMembers: rawData.map((teamMember) => ({\n label: teamMember.name,\n value: teamMember.id,\n meta: {\n brokerageSplit: teamMember.brokerage_split,\n brokerageSplitType: teamMember.brokerage_split_percentage ? \"percent\" : \"flat\",\n royalty: teamMember.royalty,\n royaltyType: teamMember.royalty_percentage ? \"percent\" : \"flat\",\n customTeamMemberExpensesAttributes: teamMember.custom_team_member_expenses_attributes,\n customTeamMemberRevenuesAttributes: teamMember.custom_team_member_revenues_attributes,\n },\n })),\n});\n\nexport const adaptClosePriceToApi = (closePrice) => ({ closed_volume: toNumber(closePrice).toString() });\n","import axios from \"axios\";\n\nexport const getFinancialData = (transactionSlug) =>\n axios.get(`/listings/${transactionSlug}/financials`, {\n headers: { Accept: \"application/json\" },\n });\n\nexport const createFinancialData = (transactionSlug, createData) =>\n axios.post(`/listings/${transactionSlug}/financials`, createData, {\n headers: { Accept: \"application/json\", \"x-csrf-token\": ReactOnRails.authenticityToken() },\n });\n\nexport const getDefaultCompany = (transactionSlug) =>\n axios.post(`/listings/${transactionSlug}/financials/add_company_seat`, null, {\n headers: { Accept: \"application/json\", \"x-csrf-token\": ReactOnRails.authenticityToken() },\n });\n\nexport const updateFinancialData = (transactionSlug, updatedData) =>\n axios.patch(`/listings/${transactionSlug}/financials`, updatedData, {\n headers: { Accept: \"application/json\", \"x-csrf-token\": ReactOnRails.authenticityToken() },\n });\n\nexport const getFinancialSelectableTeamMembers = (transactionSlug) =>\n axios.get(`/listings/${transactionSlug}/financials/selectable_agents`, {\n headers: { Accept: \"application/json\" },\n });\n\nexport const deleteTeamMember = (transactionSlug, memberId) =>\n axios.delete(`/listings/${transactionSlug}/team_member_incomes/${memberId}`, {\n headers: { Accept: \"application/json\", \"x-csrf-token\": ReactOnRails.authenticityToken() },\n });\n","import { cloneDeep } from \"lodash\";\n\nimport {\n adaptClosePriceToApi,\n adaptFromApi,\n adaptFromUi,\n adaptSelectableTeamMembers,\n} from \"../api/apiAdapters\";\nimport {\n createFinancialData,\n getFinancialData,\n getFinancialSelectableTeamMembers,\n getDefaultCompany,\n deleteTeamMember,\n updateFinancialData,\n} from \"../api/apiWrappers\";\nimport FINANCIALS_UPDATE_TYPE from \"../api/actionNames\";\n\nimport {\n financialsCreateFailure,\n financialsCreateStarted,\n financialsCreateSuccess,\n financialsFetchFailure,\n financialsFetchSelectableTeamMembersSuccess,\n financialsFetchStarted,\n financialsFetchSuccess,\n financialsRemoveTeamMemberSuccess,\n financialsUpdateCanceled,\n financialsUpdateFailure,\n financialsUpdateProgress,\n financialsUpdateStarted,\n financialsUpdateSuccess,\n} from \"./creators\";\nimport { getCDAdocument } from \"../../Docs/actions/creators\";\n\nexport const fetchFinancials = () => async (dispatch, getState) => {\n try {\n dispatch(financialsFetchStarted());\n\n const currentState = getState();\n const { transactionSlug } = currentState.tdpFinancialsReducer;\n\n const res = await getFinancialData(transactionSlug);\n\n const rawData = res.data;\n\n const transactionDetails = { ...currentState.tdpDetailsReducer.transactionDetails };\n transactionDetails.est_close_price = transactionDetails.est_close_price.replace(/[$%,]/g, \"\");\n const adaptedData = adaptFromApi(rawData, transactionDetails);\n dispatch(getCDAdocument(adaptedData.adaptedData.CDAdocuments));\n dispatch(financialsFetchSuccess(adaptedData));\n } catch (err) {\n if (err.response?.data?.errors) {\n dispatch(financialsFetchFailure(err.response?.data?.errors));\n } else {\n dispatch(\n financialsFetchFailure([\"An unexpected error has occurred. Please, try again in a few minutes.\"]),\n );\n }\n }\n};\n\nexport const createFinancials = (closePrice) => async (dispatch, getState) => {\n try {\n dispatch(financialsCreateStarted());\n\n const currentState = getState();\n const { transactionSlug } = currentState.tdpFinancialsReducer;\n\n await createFinancialData(transactionSlug, adaptClosePriceToApi(closePrice));\n\n // Fetch financials again since the create route doesn't respond with all the required data\n const res = await getFinancialData(transactionSlug);\n\n const rawData = res.data;\n\n const adaptedData = adaptFromApi(rawData, currentState.tdpDetailsReducer.transactionDetails);\n dispatch(getCDAdocument(adaptedData.adaptedData.CDAdocuments));\n dispatch(financialsCreateSuccess(adaptedData));\n } catch (err) {\n if (err.response?.data?.errors) {\n dispatch(financialsCreateFailure(err.response?.data?.errors));\n } else {\n dispatch(\n financialsCreateFailure([\"An unexpected error has occurred. Please, try again in a few minutes.\"]),\n );\n }\n }\n};\n\nexport const updateFinancials = (type, data) => async (dispatch, getState) => {\n try {\n dispatch(financialsUpdateStarted());\n\n const currentState = getState();\n const {\n transactionSlug,\n financials: { rawData },\n } = currentState.tdpFinancialsReducer;\n\n let newRawData = adaptFromUi(type, data, rawData);\n\n if (!newRawData) {\n // Using a 0-second timeout to allow the UI to quickly change between loading / not loading state,\n // otherwise modals never close when saving without changes\n window.setTimeout(() => dispatch(financialsUpdateCanceled()), 0);\n return;\n }\n\n if (!data.isInModal) {\n // Keep adapted data to avoid reverting user changes in case of error\n const adaptedData = adaptFromApi(newRawData, currentState.tdpDetailsReducer.transactionDetails);\n dispatch(financialsUpdateProgress({ ...adaptedData }));\n }\n\n const res = await updateFinancialData(transactionSlug, newRawData);\n\n newRawData = res.data;\n\n const newAdaptedData = adaptFromApi(newRawData, currentState.tdpDetailsReducer.transactionDetails);\n dispatch(financialsUpdateSuccess({ ...newAdaptedData }));\n if (newRawData?.errors) dispatch(financialsUpdateFailure(newRawData?.errors, data.isInModal));\n } catch (err) {\n if (err.response?.data?.errors) {\n dispatch(financialsUpdateFailure(err.response?.data?.errors, data.isInModal));\n } else {\n dispatch(\n financialsUpdateFailure(\n [\"An unexpected error has occurred. Please, try again in a few minutes.\"],\n data.isInModal,\n ),\n );\n }\n }\n};\n\nexport const fetchFinancialsSelectableTeamMembers = () => async (dispatch, getState) => {\n try {\n const currentState = getState();\n const { transactionSlug } = currentState.tdpFinancialsReducer;\n\n const res = await getFinancialSelectableTeamMembers(transactionSlug);\n\n const rawData = res.data;\n\n const adaptedData = adaptSelectableTeamMembers(rawData);\n dispatch(financialsFetchSelectableTeamMembersSuccess(adaptedData));\n } catch (err) {\n // TODO: Handle the error\n }\n};\n\nexport const fetchFinancialsCompany = () => async (dispatch, getState) => {\n try {\n dispatch(financialsFetchStarted());\n\n const { transactionSlug } = getState().tdpFinancialsReducer;\n // eslint-disable-next-line no-unused-vars\n const res = await getDefaultCompany(transactionSlug);\n dispatch(fetchFinancials());\n } catch (err) {\n if (err.response?.data?.errors) {\n dispatch(financialsFetchFailure(err.response?.data?.errors));\n } else {\n dispatch(\n financialsFetchFailure([\"An unexpected error has occurred. Please, try again in a few minutes.\"]),\n );\n }\n }\n};\n\nexport const addTeamMembers = (selectedMembers) => (dispatch) => {\n dispatch(updateFinancials(FINANCIALS_UPDATE_TYPE.ADD_TEAM_MEMBERS, { selectedMembers })).then(() => {\n // TODO: improve this because the user could return to the add team members modal fast enough\n // to see team members that were already added\n\n // Update selectable team members to avoid adding multiple team members for the same user\n dispatch(fetchFinancialsSelectableTeamMembers());\n });\n};\nexport const addCompany = () => (dispatch) => {\n dispatch(fetchFinancialsCompany());\n};\n\nexport const removeTeamMember = (memberId, isCompany) => async (dispatch, getState) => {\n // TODO: improve this because the user doesn't have a visual feedback of progress and it could\n // take a while\n\n try {\n const currentState = getState();\n const {\n transactionSlug,\n financials: { rawData },\n } = currentState.tdpFinancialsReducer;\n\n await deleteTeamMember(transactionSlug, memberId);\n\n const newRawData = cloneDeep(rawData);\n if (!isCompany) {\n newRawData.team_member_incomes.incomes = newRawData.team_member_incomes.incomes.filter(\n (income) => income.id !== memberId,\n );\n } else {\n // there is only one company object so if its deleted then ti should be null, so set as null\n newRawData.company_income = null;\n }\n\n const adaptedData = adaptFromApi(newRawData, currentState.tdpDetailsReducer.transactionDetails);\n\n if (!isCompany) {\n // Update selectable team members to avoid missing users on the modal to add team members\n dispatch(fetchFinancialsSelectableTeamMembers()).then(() => {\n dispatch(financialsRemoveTeamMemberSuccess(adaptedData));\n });\n } else {\n // if its company then we dont need to update selectable team member\n dispatch(financialsRemoveTeamMemberSuccess(adaptedData));\n }\n } catch (err) {\n if (err.response?.data?.content) {\n dispatch(financialsUpdateFailure([err.response?.data?.content]));\n } else {\n dispatch(\n financialsUpdateFailure([\"An unexpected error has occurred. Please, try again in a few minutes.\"]),\n );\n }\n }\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TYPE, PHOTO } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport ThumbnailIcon from \"../../../../Transactions/components/shared/ThumbnailIcon\";\n\n/* eslint-disable camelcase */\nconst PhotoComp = ({ type, cloud_location }) =>\n cloud_location ? (\n \n ) : (\n \n );\n\nPhotoComp.propTypes = {\n cloud_location: PropTypes.string,\n type: PropTypes.string,\n};\n\nPhotoComp.defaultProps = {\n cloud_location: null,\n type: null,\n};\nconst Photo = tdpDetails({\n WrappedComponent: PhotoComp,\n states: [TYPE, PHOTO],\n});\nexport default Photo;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { isReferral } from \"../../../shared/helpers\";\nimport { Upload } from \"../../../../shared/v2/Icomoon\";\nimport { TYPE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { showModal } from \"../../../UI/Modals/ThumbnailSelector/actions/creators\";\nimport Photo from \"./Photo\";\n\nconst ImagePlaceHolderComp = ({ type, showModalFn }) => (\n showModalFn(true)}\n className=\"tw-w-[140px] tw-h-[116px] tw-mt-[29px] tw-relative tw-overflow-hidden tw-rounded tw-group tw-bg-transparent tw-p-0 tw-border-0\"\n >\n \n
\n {!isReferral(type) && (\n \n \n SELECT\n \n )}\n \n);\n\nImagePlaceHolderComp.propTypes = {\n type: Proptypes.string,\n showModalFn: Proptypes.func,\n};\n\nImagePlaceHolderComp.defaultProps = {\n type: null,\n showModalFn: null,\n};\nconst ImageWrapped = connect(null, { showModalFn: showModal })(ImagePlaceHolderComp);\n\nconst ImagePlaceHolder = tdpDetails({\n WrappedComponent: ImageWrapped,\n states: TYPE,\n});\n\nexport default ImagePlaceHolder;\n","// Will add when referral type is released\nexport const TYPE_STYLE = {\n buyer: \"tw-border-semantic-blue-10 tw-text-semantic-blue-110\",\n seller: \"tw-border-semantic-yellow-10 tw-text-semantic-yellow-110\",\n tenant: \"tw-border-semantic-green-10 tw-text-semantic-green-110\",\n landlord: \"tw-border-semantic-red-10 tw-text-semantic-red-110\",\n};\n\n// Will add when referral type is released\nexport const TYPE_TEXT = {\n buyer: \"BUYER\",\n seller: \"SELLER\",\n tenant: \"TENANT\",\n landlord: \"LANDLORD\",\n};\n","import React from \"react\";\nimport { bool, func, string, shape } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleCheckSolidV6, TriangleExclamationSolidV6 } from \"@shared/v2/Icomoon/Icons\";\n\nimport InlineEditingInput from \"../../../../shared/v2/InlineEditingInput/InlineEditingInput\";\nimport { putDetailAsThunk } from \"../../actions/thunks\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\nimport { TYPE_STYLE, TYPE_TEXT } from \"./constants\";\n\nconst DIGIT_TEST = /^\\d+/;\n\nconst AddressInfo = ({\n uuid,\n type,\n propertyType,\n title,\n useCustomTitle,\n streetAddress,\n city,\n locality,\n postalCode,\n beds,\n baths,\n sqft,\n daysOnMarket,\n source,\n mlsNumber,\n validMlsNumber,\n onPutDetailAsThunk,\n setRename,\n}) => (\n
\n
\n \n {TYPE_TEXT[type]}\n
\n
|
\n
\n {propertyType?.name}\n
\n
\n
\n \n {useCustomTitle ? title || \"Custom Transaction Title\" : streetAddress}\n
\n
\n
\n
\n {useCustomTitle && streetAddress ? `${streetAddress},` : \"\"} {city ? `${city},` : \"\"} {locality}{\" \"}\n {postalCode}\n {!(streetAddress || city || locality || postalCode) && (\n setRename(true)}\n >\n \n
ADDRESS
\n \n )}\n
|
\n
\n
\n
\n MLS#:\n
\n
\n {mlsNumber?.length && (\n \n {validMlsNumber ? \"Valid MLS number\" : \"Not a valid MLS number\"}\n
\n }\n trigger={\n validMlsNumber ? (\n \n ) : (\n \n )\n }\n />\n )}\n
\n
\n \n onPutDetailAsThunk({\n uuid,\n key: \"mls_number\",\n value: e,\n group: \"listingDetails\",\n })\n }\n editorClassName=\"tw-mt-[-2px]\"\n displayComponent={(onClick) => (\n \n
+
\n
\n Add\n
\n
\n )}\n />\n
\n
\n \n\n
\n
\n
\n {beds && (\n
\n
{beds}
\n
Bed
\n
\n )}\n {baths && (\n
\n {beds &&
|
}\n
{baths}
\n
Bath
\n
\n )}\n {sqft && (\n
\n {(baths || beds) &&
|
}\n
{sqft}
\n
SF
\n
\n )}\n {DIGIT_TEST.test(daysOnMarket) && (\n
\n {(sqft || baths || beds) &&
|
}\n
{daysOnMarket}
\n
DOM
\n
\n )}\n
\n {(baths || beds || sqft || (DIGIT_TEST.test(daysOnMarket) && source)) && (\n
|
\n )}\n {source && (\n
\n
\n Source:\n
\n
{source}
\n
\n )}\n
\n
\n \n);\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n type: state.tdpDetailsReducer.headerDetails?.type,\n propertyType: state.tdpDetailsReducer.propertyDetails.property_type,\n title: state.tdpDetailsReducer.transactionDetails.title,\n useCustomTitle: state.tdpDetailsReducer.transactionDetails.use_custom_title,\n streetAddress: state.tdpDetailsReducer.propertyDetails.street_address,\n city: state.tdpDetailsReducer.propertyDetails.city,\n locality: state.tdpDetailsReducer.propertyDetails.state,\n postalCode: state.tdpDetailsReducer.propertyDetails.zip,\n beds: state.tdpDetailsReducer.propertyDetails.beds,\n baths: state.tdpDetailsReducer.propertyDetails.baths,\n sqft: state.tdpDetailsReducer.propertyDetails.sqft,\n daysOnMarket: state.tdpDetailsReducer.headerDetails?.days_on_market,\n source: state.tdpDetailsReducer.listingDetails.source?.name,\n mlsNumber: state.tdpDetailsReducer.listingDetails.mls_number,\n validMlsNumber: state.tdpDetailsReducer.listingDetails.valid_mls_number,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (uuid) => dispatch(putDetailAsThunk(uuid)),\n});\n\nAddressInfo.propTypes = {\n uuid: string.isRequired,\n type: string,\n propertyType: shape({\n name: string,\n }),\n streetAddress: string,\n city: string,\n locality: string,\n postalCode: string,\n title: string,\n useCustomTitle: bool,\n beds: string,\n baths: string,\n sqft: string,\n daysOnMarket: string,\n source: string,\n mlsNumber: string,\n validMlsNumber: bool,\n onPutDetailAsThunk: () => {},\n setRename: func.isRequired,\n};\n\nAddressInfo.defaultProps = {\n type: \"\",\n propertyType: {\n name: \"\",\n },\n streetAddress: \"\",\n city: \"\",\n locality: \"\",\n postalCode: \"\",\n title: \"\",\n useCustomTitle: false,\n mlsNumber: \"\",\n validMlsNumber: false,\n source: \"\",\n beds: \"\",\n baths: \"\",\n sqft: \"\",\n daysOnMarket: \"\",\n onPutDetailAsThunk: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddressInfo);\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { STATUS } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst ClosePriceLabel = ({ label }) => (\n
\n
{label}
\n
\n);\n\nconst PipelineClosePriceLabel = ({ status }) => {\n const label = `${status !== \"sold\" ? \"Est. \" : \"\"}Close Price`;\n\n return ;\n};\n\nconst WithStatusPipelineClosePriceLabel = tdpDetails({\n WrappedComponent: PipelineClosePriceLabel,\n states: STATUS,\n});\n\nexport default WithStatusPipelineClosePriceLabel;\n\nClosePriceLabel.propTypes = {\n label: string,\n};\n\nClosePriceLabel.defaultProps = {\n label: \"Est. Close Price\",\n};\n\nPipelineClosePriceLabel.propTypes = {\n status: string,\n};\n\nPipelineClosePriceLabel.defaultProps = {\n status: null,\n};\n","export const CLOSED_VOLUME = 'financials.adaptedData.transaction.actual.closePrice.value'\nexport const HEADER_CLOSE_PRICE = 'closedPrice';","/* eslint-disable no-extra-boolean-cast */\nimport React from \"react\";\nimport { toNumber } from \"lodash\";\nimport { string } from \"prop-types\";\n\nimport format from \"../../../../shared/formatters\";\nimport { tdpFinancials } from \"../../../../shared/HOCs/withRedux\";\nimport { CLOSED_VOLUME, HEADER_CLOSE_PRICE } from \"../../../../shared/reduxRoutes/tdpFinancialsRoutes\";\n\nconst normalizeNumToString = (num) => toNumber(`${num}`.replace(/,/g, \"\"));\n\nconst ClosePriceVal = ({ closePriceVal, headerClosePriceVal }) => {\n const val = closePriceVal || headerClosePriceVal;\n const cpVal = val === null ? \"0\" : val;\n\n return (\n
\n
\n {format.currency(normalizeNumToString(cpVal))}\n
\n
\n );\n};\n\nconst WithFinancialsPipelineClosePriceVal = tdpFinancials({\n WrappedComponent: ClosePriceVal,\n states: [CLOSED_VOLUME, HEADER_CLOSE_PRICE],\n aliases: [\"closePriceVal\", \"headerClosePriceVal\"],\n});\n\nexport default WithFinancialsPipelineClosePriceVal;\n\nClosePriceVal.propTypes = {\n closePriceVal: string,\n headerClosePriceVal: string,\n};\n\nClosePriceVal.defaultProps = {\n closePriceVal: null,\n headerClosePriceVal: null,\n};\n","import React from \"react\";\n\nimport ClosePriceLabel from \"../ClosePriceLabel\";\nimport ClosePriceVal from \"../ClosePriceVal\";\n\nconst ClosePrice = () => (\n
\n \n \n
\n);\n\nexport default ClosePrice;\n","/* eslint-disable no-nested-ternary */\nimport React from \"react\";\nimport { string } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { removeCommas } from \"../../../../shared/v2/inputFormatUtils\";\nimport format from \"../../../../shared/formatters\";\nimport { putDetailAsThunk } from \"../../actions/thunks\";\n\nimport ClosePrice from \"../ClosePrice\";\n\nconst formatExistingNumber = (numericOrStringValue) =>\n numericOrStringValue ? format.number(removeCommas(numericOrStringValue.toString())) : null;\n\nconst PricesInfo = ({ price }) => {\n const textualPrice = formatExistingNumber(price);\n\n return (\n
\n \n
\n
\n
\n
\n Listing Price\n
\n
\n
\n
\n
\n {(price && `$${textualPrice}`) || \"-\"}\n
\n
\n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n price: state.tdpDetailsReducer?.listingDetails?.price,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (uuid) => dispatch(putDetailAsThunk(uuid)),\n});\n\nPricesInfo.propTypes = {\n price: string,\n};\n\nPricesInfo.defaultProps = {\n price: \"\",\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PricesInfo);\n","export default {\n REFERRAL_TEXT_LABEL: \"tw-text-14px tw-mt-8px\",\n TRANSACTION_DETAILS_LABEL:\n \"tw-font-semibold tw-tracking-normal tw-capitalize tw-mb-8px tw-whitespace-nowrap\",\n TYPE_BOX_seller: \"tw-border-semantic-yellow-10 tw-text-semantic-yellow-100\",\n TYPE_BOX_buyer: \"tw-border-semantic-blue-10 tw-text-semantic-blue-110\",\n TYPE_BOX_tenant: \"tw-border-semantic-blue-10 tw-text-semantic-blue-110\",\n TYPE_BOX_landlord: \"tw-border-semantic-yellow-10 tw-text-semantic-yellow-100\",\n TYPE_BOX_referral: \"tw-border-semantic-pink-10 tw-text-semantic-pink-100\",\n TYPE_STYLE: {\n buyer: \"tw-border-semantic-blue-10 tw-text-semantic-blue-110\",\n seller: \"tw-border-semantic-yellow-10 tw-text-semantic-yellow-110\",\n tenant: \"tw-border-semantic-green-10 tw-text-semantic-green-110\",\n landlord: \"tw-border-semantic-red-10 tw-text-semantic-red-110\",\n referral: \"tw-border-semantic-pink-10 tw-text-semantic-pink-110\",\n },\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport styles from \"../styles\";\n\nimport Avatar from \"../../../../shared/v2/Avatar\";\n\nconst PrimaryPerson = ({ name, avatarImg, descriptor, personType, containerClass }) => (\n
\n
{personType}
\n
\n \n
\n
{name}
\n
{descriptor}
\n
\n
\n
\n);\n\nexport default PrimaryPerson;\n\nPrimaryPerson.propTypes = {\n name: string,\n avatarImg: string,\n descriptor: string,\n personType: string,\n containerClass: string,\n};\n\nPrimaryPerson.defaultProps = {\n name: null,\n avatarImg: null,\n containerClass: null,\n descriptor: null,\n personType: \"Listing Agent\",\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport PrimaryPerson from \"../../shared/PrimaryPerson\";\n\nconst PERSON_TYPE = \"Primary Agent\";\n\nconst PrimaryAgentInfo = ({ agent, agentAvatar, primaryAgentRole }) => (\n
\n \n
\n);\n\nconst mapStateToProps = (state) => ({\n agent: state.tdpDetailsReducer.primaryAgentDetails?.agent,\n agentAvatar: state.tdpDetailsReducer.primaryAgentDetails?.agentAvatar,\n primaryAgentRole: state.tdpDetailsReducer.primaryAgentDetails?.primaryAgentRole,\n});\n\nPrimaryAgentInfo.propTypes = {\n agent: string,\n agentAvatar: string,\n primaryAgentRole: string,\n};\n\nPrimaryAgentInfo.defaultProps = {\n agent: \"\",\n agentAvatar: null,\n primaryAgentRole: \"\",\n};\n\nexport default connect(mapStateToProps)(PrimaryAgentInfo);\n","/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable react/prop-types, react/jsx-props-no-spreading */\nimport React, { useEffect, useState, useRef } from \"react\";\nimport _ from \"lodash\";\nimport Proptypes, { func, string } from \"prop-types\";\nimport \"./OptionsStatusCell.scss\";\n\nconst statusMapping = {\n pipeline: {\n title: \"PIPELINE\",\n className: \"pipeline\",\n value: \"pipeline\",\n },\n comingsoon: {\n title: \"COMING SOON\",\n className: \"comingsoon\",\n value: \"comingsoon\",\n },\n active: {\n title: \"ACTIVE\",\n className: \"active\",\n value: \"active\",\n },\n pending: {\n title: \"PENDING\",\n className: \"pending\",\n value: \"pending\",\n },\n sold: {\n title: \"CLOSED\",\n className: \"sold\",\n value: \"sold\",\n },\n expired: {\n title: \"EXPIRED\",\n className: \"expired\",\n value: \"expired\",\n },\n withdrawn: {\n title: \"WITHDRAWN\",\n className: \"withdrawn\",\n value: \"withdrawn\",\n },\n canceled: {\n title: \"CANCELED\",\n className: \"canceled\",\n value: \"canceled\",\n },\n archived: {\n title: \"ARCHIVED\",\n className: \"archived\",\n value: \"archived\",\n },\n};\n\nconst statusesToHide = {\n default: [],\n referral: [\"comingsoon\", \"pending\", \"withdrawn\", \"pipeline\"],\n};\n\nconst isStatusVisible = (transactionType, status) => {\n const statuses = statusesToHide[transactionType] || statusesToHide.default;\n return !statuses.includes(status);\n};\n\nexport const OptionsStatusCell = ({\n transactionType,\n isEditable = true,\n onStatusChange,\n size = 122,\n removeKey,\n setShowStatusPicker,\n showStatusPicker,\n status = \"active\",\n statusNode,\n}) => {\n const optionsBuilder = (statusOption) => (\n onStatusChange(statusMapping[statusOption]?.value)}\n >\n \n {statusMapping[statusOption]?.title}\n \n \n );\n\n return (\n
\n (isEditable ? setShowStatusPicker(!showStatusPicker) : _)}\n data-cy=\"listing-status-button\"\n >\n \n {statusMapping[status]?.title}\n {isEditable && (\n \n )}\n
\n \n {showStatusPicker && (\n
\n {/* Filter out statuses that match `removeKey` or that should be hidden based on transaction type */}\n {Object.keys(statusMapping)\n .filter((statusKey) => statusKey !== removeKey && isStatusVisible(transactionType, statusKey))\n .map(optionsBuilder)}\n
\n )}\n \n );\n};\n\n// Use this if you want to hook own state with specific behaviors/sideffect\nexport const WithShowPicker = ({ transactionType, status, selectedStatus }) => {\n const [showStatusPicker, setShowStatusPicker] = useState(false);\n\n const onStatusChange = (_status) => {\n setShowStatusPicker(false);\n selectedStatus(_status);\n };\n\n const statusNode = useRef();\n\n const handleClickOutside = (e) => {\n if (statusNode.current.contains(e.target)) {\n return;\n }\n\n setShowStatusPicker(false);\n };\n\n useEffect(() => {\n if (showStatusPicker) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [showStatusPicker]);\n\n return (\n \n );\n};\n\n// Use this for legacy functionality\nconst WithStatus = ({ selectedStatus, onUpdateStatus, ...props }) => {\n const [status, setStatus] = useState(selectedStatus);\n\n useEffect(() => {\n setStatus(selectedStatus);\n }, [selectedStatus]);\n\n const setStatusHandlr = () => {\n setStatus(status);\n onUpdateStatus(status);\n };\n\n return ;\n};\n\nOptionsStatusCell.propTypes = {\n transactionType: Proptypes.string,\n setShowStatusPicker: Proptypes.func,\n showStatusPicker: Proptypes.bool,\n status: Proptypes.string,\n onStatusChange: Proptypes.func,\n statusNode: Proptypes.node,\n};\n\nOptionsStatusCell.defaultProps = {\n transactionType: \"default\",\n setShowStatusPicker: () => {},\n showStatusPicker: false,\n status: \"active\",\n onStatusChange: () => {},\n statusNode: null,\n};\n\nWithShowPicker.propTypes = {\n selectedStatus: string,\n transactionType: string,\n status: string,\n};\n\nWithShowPicker.defaultProps = {\n selectedStatus: \"active\",\n transactionType: \"default\",\n status: \"active\",\n};\n\nWithStatus.propTypes = {\n selectedStatus: string,\n onUpdateStatus: func,\n};\n\nWithStatus.defaultProps = {\n selectedStatus: \"active\",\n onUpdateStatus: () => {},\n};\n\nexport default WithStatus;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport withDispatch from \"../../../shared/HOCs/withDispatch/withDispatch\";\nimport { tdpDetails } from \"../../../shared/HOCs/withRedux\";\nimport { putStatusWithPipelineAsThunk } from \"../../Header/actions/thunks\";\nimport { isUpdateAddressModal } from \"../../Header/actions/creators\";\n\nimport { WithShowPicker } from \"../../../Transactions/components/shared/OptionsStatusCell/OptionsStatusCell\";\nimport { LISTING_UUID, STATUS, STREET_ADDRESS, TYPE } from \"../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst TDPOptionsStatusCell = ({\n type,\n status,\n onSetStatus,\n onUpdateAddressModal,\n uuid,\n streetAddress,\n ...props\n}) => {\n const onSetStatusHandlr = (_status) => {\n // If status change is the same as current status, don't do anything\n if (_status === status) return;\n\n // else do a PUT req to change status\n onSetStatus({\n preStatus: status,\n status: _status,\n streetAddress: streetAddress,\n uuid,\n });\n };\n\n return (\n \n );\n};\n\nconst WithStatePipelineOptionsStatusCell = tdpDetails({\n WrappedComponent: TDPOptionsStatusCell,\n states: [STREET_ADDRESS, TYPE, STATUS, LISTING_UUID],\n aliases: [\"streetAddress\"],\n});\n\nexport default withDispatch({\n WrappedComponent: WithStatePipelineOptionsStatusCell,\n actions: [putStatusWithPipelineAsThunk, isUpdateAddressModal],\n aliases: [\"onSetStatus\", \"onUpdateAddressModal\"],\n});\n\nTDPOptionsStatusCell.propTypes = {\n type: string,\n status: string,\n onSetStatus: func,\n onUpdateAddressModal: func,\n streetAddress: string,\n uuid: string.isRequired,\n};\n\nTDPOptionsStatusCell.defaultProps = {\n type: \"buyer\",\n status: \"active\",\n onSetStatus: () => {},\n streetAddress: null,\n onUpdateAddressModal: () => {},\n};\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { string } from \"prop-types\";\n\nimport styles from \"../styles\";\n\nimport OptionsStatusCell from \"../../../shared/TDPOptionsStatusCell\";\n\nconst Status = ({ labelClassName }) => (\n
\n
Status
\n \n
\n);\n\nexport default Status;\n\nStatus.propTypes = {\n labelClassName: string,\n};\n\nStatus.defaultProps = {\n labelClassName: \"tw-text-[12px] tw-leading-[16px]\",\n};\n","const states = [\n {\n value: \"AK\",\n label: \"US - AK\",\n },\n {\n value: \"AL\",\n label: \"US - AL\",\n },\n {\n value: \"AR\",\n label: \"US - AR\",\n },\n {\n value: \"AZ\",\n label: \"US - AZ\",\n },\n {\n value: \"CA\",\n label: \"US - CA\",\n },\n {\n value: \"CO\",\n label: \"US - CO\",\n },\n {\n value: \"CT\",\n label: \"US - CT\",\n },\n {\n value: \"DC\",\n label: \"US - DC\",\n },\n {\n value: \"DE\",\n label: \"US - DE\",\n },\n {\n value: \"FL\",\n label: \"US - FL\",\n },\n {\n value: \"GA\",\n label: \"US - GA\",\n },\n {\n value: \"HI\",\n label: \"US - HI\",\n },\n {\n value: \"IA\",\n label: \"US - IA\",\n },\n {\n value: \"ID\",\n label: \"US - ID\",\n },\n {\n value: \"IL\",\n label: \"US - IL\",\n },\n {\n value: \"IN\",\n label: \"US - IN\",\n },\n {\n value: \"KS\",\n label: \"US - KS\",\n },\n {\n value: \"KY\",\n label: \"US - KY\",\n },\n {\n value: \"LA\",\n label: \"US - LA\",\n },\n {\n value: \"MA\",\n label: \"US - MA\",\n },\n {\n value: \"MD\",\n label: \"US - MD\",\n },\n {\n value: \"ME\",\n label: \"US - ME\",\n },\n {\n value: \"MI\",\n label: \"US - MI\",\n },\n {\n value: \"MN\",\n label: \"US - MN\",\n },\n {\n value: \"MO\",\n label: \"US - MO\",\n },\n {\n value: \"MS\",\n label: \"US - MS\",\n },\n {\n value: \"MT\",\n label: \"US - MT\",\n },\n {\n value: \"NC\",\n label: \"US - NC\",\n },\n {\n value: \"ND\",\n label: \"US - ND\",\n },\n {\n value: \"NE\",\n label: \"US - NE\",\n },\n {\n value: \"NH\",\n label: \"US - NH\",\n },\n {\n value: \"NJ\",\n label: \"US - NJ\",\n },\n {\n value: \"NM\",\n label: \"US - NM\",\n },\n {\n value: \"NV\",\n label: \"US - NV\",\n },\n {\n value: \"NY\",\n label: \"US - NY\",\n },\n {\n value: \"OH\",\n label: \"US - OH\",\n },\n {\n value: \"OK\",\n label: \"US - OK\",\n },\n {\n value: \"OR\",\n label: \"US - OR\",\n },\n {\n value: \"PA\",\n label: \"US - PA\",\n },\n {\n value: \"RI\",\n label: \"US - RI\",\n },\n {\n value: \"SC\",\n label: \"US - SC\",\n },\n {\n value: \"SD\",\n label: \"US - SD\",\n },\n {\n value: \"TN\",\n label: \"US - TN\",\n },\n {\n value: \"TX\",\n label: \"US - TX\",\n },\n {\n value: \"UT\",\n label: \"US - UT\",\n },\n {\n value: \"VA\",\n label: \"US - VA\",\n },\n {\n value: \"VT\",\n label: \"US - VT\",\n },\n {\n value: \"WA\",\n label: \"US - WA\",\n },\n {\n value: \"WI\",\n label: \"US - WI\",\n },\n {\n value: \"WV\",\n label: \"US - WV\",\n },\n {\n value: \"WY\",\n label: \"US - WY\",\n },\n {\n value: \"AB\",\n label: \"CAN - AB\",\n },\n {\n value: \"BC\",\n label: \"CAN - BC\",\n },\n {\n value: \"MB\",\n label: \"CAN - MB\",\n },\n {\n value: \"NB\",\n label: \"CAN - NB\",\n },\n {\n value: \"NL\",\n label: \"CAN - NL\",\n },\n {\n value: \"NS\",\n label: \" CAN - NS\",\n },\n {\n value: \"NF\",\n label: \"CAN - NF\",\n },\n {\n value: \"NT\",\n label: \"CAN - NT\",\n },\n\n {\n value: \"NU\",\n label: \"CAN - NU\",\n },\n {\n value: \"ON\",\n label: \"CAN - ON\",\n },\n {\n value: \"PE\",\n label: \"CAN - PE\",\n },\n {\n value: \"QC\",\n label: \"CAN - QC\",\n },\n {\n value: \"SK\",\n label: \"CAN - SK\",\n },\n {\n value: \"YT\",\n label: \"CAN - YT\",\n },\n];\n\nexport default states;\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, bool, func, number } from \"prop-types\";\nimport _ from \"lodash\";\nimport Modal from \"../../../../shared/v2/Modal/Modal\";\nimport RadioButton from \"../../../../shared/v2/RadioButton/RadioButton\";\nimport TextInput from \"../../../../shared/v2/TextInput/TextInput\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport Button from \"../../../../shared/v2/Button/Button\";\nimport { putDetailsAsThunk } from \"../../actions/thunks\";\nimport states from \"./states\";\nimport ErrorBanner, { errorForBanner } from \"../../../../shared/v2/ErrorBanner\";\n\nconst isSaveButtonDisabled = ({ title, useCustomTitle, address }) => {\n if (!address.street_address || address.street_address.length > 75) {\n return true;\n }\n\n if (title && title.length > 40) {\n return true;\n }\n\n if (useCustomTitle && !title) {\n return true;\n }\n\n if (!useCustomTitle && (!address.city || !address.locality || !address.postal_code)) {\n return true;\n }\n\n return false;\n};\n\nconst EditTitleModal = ({\n uuid,\n addressId,\n rename,\n setRename,\n title,\n useCustomTitle,\n streetAddress,\n city,\n locality,\n postalCode,\n onPutDetailsAsThunk,\n error,\n statusCode,\n}) => {\n const [togglecustomTitle, setToggleCustomTitle] = useState(false);\n const [customTitle, setCustomTitle] = useState(\"\");\n // Since we use the trimmed `customTitle` to check for title changes and disabled/error states,\n // we keep a separate state for it here so that we can reuse it,\n // as using a single state for it would prevent the user from being able to type spaces.\n const [customTitleTrimmed, setCustomTitleTrimmed] = useState(\"\");\n const [addressAttributes, setAddress] = useState({});\n const [status, setStatus] = useState(null);\n\n const errors = useMemo(() => (error ? [errorForBanner(error)] : null), [error]);\n\n useEffect(() => {\n setAddress({\n street_address: streetAddress,\n city,\n locality,\n postal_code: postalCode,\n id: addressId,\n });\n }, [streetAddress, city, locality, postalCode, addressId]);\n\n useEffect(() => {\n setCustomTitle(title);\n setCustomTitleTrimmed(title.trim());\n }, [title]);\n\n useEffect(() => {\n setToggleCustomTitle(useCustomTitle);\n }, [useCustomTitle]);\n\n useEffect(() => {\n setStatus(statusCode);\n }, [statusCode]);\n\n useEffect(() => {\n if (status === 200) {\n setRename(false);\n setStatus(null);\n }\n }, [status]);\n const handleSubmit = (e) => {\n const details = [];\n if (useCustomTitle !== togglecustomTitle) {\n details.push({\n key: \"use_custom_title\",\n value: togglecustomTitle,\n group: \"transactionDetails\",\n });\n }\n if (title !== customTitleTrimmed) {\n details.push({\n key: \"title\",\n value: customTitleTrimmed,\n group: \"transactionDetails\",\n });\n }\n if (\n !_.isEqual(addressAttributes, {\n street_address: streetAddress,\n city,\n locality,\n postal_code: postalCode,\n })\n ) {\n details.push({\n key: \"address_attributes\",\n value: addressAttributes,\n group: \"propertyDetails\",\n });\n }\n if (details.length > 0) {\n e.preventDefault();\n onPutDetailsAsThunk({ uuid, details });\n }\n };\n return (\n setRename(false)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n data-cy=\"header-edit-title-modal\"\n >\n \n\n \n {errors && }\n
\n setToggleCustomTitle(!togglecustomTitle)}\n data-cy=\"header-edit-title-modal-use-custom-title-radio\"\n />\n
\n
\n setToggleCustomTitle(!togglecustomTitle)}\n data-cy=\"header-edit-title-modal-use-address-title-radio\"\n />\n
\n
\n \n Transaction Title {togglecustomTitle && *}\n \n = 40 ? \"Max characters: 40\" : \"\"}\n disabled={!togglecustomTitle}\n onChange={(e) => {\n setCustomTitle(e.target.value);\n setCustomTitleTrimmed(e.target.value.trim());\n }}\n className=\"tw-border-red\"\n data-cy=\"header-edit-title-modal-title-input\"\n />\n
\n
\n \n Address *\n \n = 75\n ? \"Max characters: 75\"\n : \"\"\n }\n onChange={(e) => setAddress({ ...addressAttributes, street_address: e.target.value })}\n data-cy=\"header-edit-title-modal-address-input\"\n />\n
\n
\n
\n \n City {!togglecustomTitle && *}\n \n setAddress({ ...addressAttributes, city: e.target.value })}\n data-cy=\"header-edit-title-modal-city-input\"\n />\n
\n
\n \n State/Provence {!togglecustomTitle && *}\n \n setAddress({ ...addressAttributes, locality: e.value })}\n options={states}\n className=\"tw-bg-gray-5\"\n searchable\n data-cy=\"header-edit-title-modal-state-select\"\n />\n
\n
\n
\n \n Zip/Postal Code {!togglecustomTitle && *}\n \n setAddress({ ...addressAttributes, postal_code: e.target.value })}\n data-cy=\"header-edit-title-modal-zip-input\"\n />\n
\n
\n \n
\n setRename(false)}\n data-cy=\"header-edit-title-modal-cancel-button\"\n >\n Cancel\n \n {\n handleSubmit(e);\n setRename(false);\n }}\n data-cy=\"header-edit-title-modal-save-button\"\n >\n Save\n \n
\n
\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n addressId: state.tdpDetailsReducer.headerDetails.address_id,\n title: state.tdpDetailsReducer.transactionDetails.title,\n useCustomTitle: state.tdpDetailsReducer.transactionDetails.use_custom_title,\n streetAddress: state.tdpDetailsReducer.propertyDetails.street_address,\n city: state.tdpDetailsReducer.propertyDetails.city,\n locality: state.tdpDetailsReducer.propertyDetails.state,\n postalCode: state.tdpDetailsReducer.propertyDetails.zip,\n error: state.tdpDetailsReducer.headerDetails.error,\n statusCode: state.tdpDetailsReducer.headerDetails.statusCode,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailsAsThunk: (uuid) => dispatch(putDetailsAsThunk(uuid)),\n});\n\nEditTitleModal.propTypes = {\n uuid: string.isRequired,\n addressId: number,\n rename: bool.isRequired,\n setRename: func.isRequired,\n title: string,\n useCustomTitle: bool,\n onPutDetailsAsThunk: func.isRequired,\n streetAddress: string,\n city: string,\n locality: string,\n postalCode: string,\n error: string,\n statusCode: number,\n};\n\nEditTitleModal.defaultProps = {\n addressId: null,\n title: \"\",\n useCustomTitle: false,\n streetAddress: \"\",\n city: \"\",\n locality: \"\",\n postalCode: \"\",\n error: \"\",\n statusCode: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EditTitleModal);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, string } from \"prop-types\";\nimport Modal from \"../../../../shared/v2/Modal/Modal\";\nimport Button from \"../../../../shared/v2/Button/Button\";\nimport { deleteListingAsThunk } from \"../../actions/thunks\";\n\nconst ConfirmDeleteModal = ({ deleteListing, setDelete, uuid, onDeleteListing }) => (\n setDelete(false)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[487px]\"\n >\n \n
Delete Transaction
\n
\n\n \n
Are you sure you want to delete this listing?
\n
This action cannot be undone.
\n
\n \n
\n \n \n
\n
\n \n);\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onDeleteListing: (uuid) => dispatch(deleteListingAsThunk(uuid)),\n});\n\nConfirmDeleteModal.propTypes = {\n uuid: string,\n deleteListing: bool.isRequired,\n setDelete: func.isRequired,\n onDeleteListing: func.isRequired,\n};\n\nConfirmDeleteModal.defaultProps = {\n uuid: \"\",\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ConfirmDeleteModal);\n","import React, { useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Toggle from \"@shared/v2/Toggle\";\nimport {\n ArrowUpRightFromSquareSolidV6,\n BoxArchiveSolidV6,\n EllipsisSolidV6,\n PenToSquareSolidV6,\n TrashSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport ImagePlaceHolder from \"./ImagePlaceHolder\";\nimport AddressInfo from \"./AddressInfo\";\nimport PricesInfo from \"./PricesInfo\";\nimport PrimaryAgentInfo from \"./PrimaryAgentInfo\";\nimport Status from \"../shared/Status\";\nimport EditTitleModal from \"./EditTitleModal\";\nimport ConfirmDeleteModal from \"./ConfirmDeleteModal\";\nimport IconButton from \"../../../shared/v2/IconButton\";\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nconst Summary = () => {\n const dispatch = useDispatch();\n const uuid = useSelector((state) => state.tdpDetailsReducer.uuid);\n const status = useSelector((state) => state.tdpDetailsReducer.transactionDetails.status);\n const published = useSelector((state) => state.tdpDetailsReducer.headerDetails.published);\n const daysOnMarket = useSelector((state) => state.tdpDetailsReducer.headerDetails.days_on_market);\n const [showRename, setShowRename] = useState(false);\n const [showDeleteListing, setShowDeleteListing] = useState(false);\n\n return (\n <>\n
\n
\n \n\n \n
\n
\n \n
\n \n \n
\n
\n \n \n \n \n \n \n \n setShowRename(true)} icon={}>\n Rename\n \n {daysOnMarket && daysOnMarket !== \"n/a\" && (\n <>\n : }\n className={status === \"archived\" ? \"tw-text-semantic-red-120\" : \"\"}\n onClick={\n status === \"archived\"\n ? () => setShowDeleteListing(true)\n : () =>\n dispatch(\n putDetailAsThunk({\n uuid,\n key: \"status\",\n value: \"archived\",\n group: \"transactionDetails\",\n }),\n )\n }\n >\n {status === \"archived\" ? \"Delete\" : \"Archive\"}\n \n
\n {\n dispatch(\n putDetailAsThunk({\n uuid,\n key: \"published\",\n value: !published,\n group: \"headerDetails\",\n }),\n );\n }}\n >\n {}}\n text={\n \n Publish\n \n }\n labelClassName=\"tw-pointer-events-none tw-mb-0\"\n labelPlacement=\"start\"\n />\n \n \n )}\n
\n
\n
\n
\n
\n \n \n
\n \n );\n};\n\nexport default Summary;\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport styles from \"../styles\";\n\nconst { TYPE_STYLE } = styles;\n\nconst TransactionTypeBox = ({ type, className }) => (\n \n {type}\n
\n);\n\nTransactionTypeBox.propTypes = {\n type: string.isRequired,\n className: string,\n};\n\nTransactionTypeBox.defaultProps = {\n className: \"\",\n};\n\nexport default TransactionTypeBox;\n","import TransactionTypeBox from \"../../shared/TransactionTypeBox\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TRANSACTION_TYPE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nexport default tdpDetails({\n WrappedComponent: TransactionTypeBox,\n states: TRANSACTION_TYPE,\n});\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nconst PropertyType = ({ propertyType, className }) => (\n \n {propertyType}\n \n);\n\nPropertyType.propTypes = {\n propertyType: string.isRequired,\n className: string,\n};\n\nPropertyType.defaultProps = {\n className: \"\",\n};\n\nexport default PropertyType;\n","import PropertyType from \"../../shared/PropertyType\";\nimport { CLIENTINTENT } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\n\nexport default tdpDetails({\n WrappedComponent: PropertyType,\n states: CLIENTINTENT,\n aliases: \"propertyType\",\n});\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nconst TransactionTitle = ({ title, streetAddress, city, locality, postalCode, className }) => (\n
\n {title || `${streetAddress} ${city} ${locality} ${postalCode}` || \"Custom Transaction Title\"}\n
\n);\n\nTransactionTitle.propTypes = {\n streetAddress: string,\n city: string,\n locality: string,\n postalCode: string,\n title: string,\n className: string,\n};\n\nTransactionTitle.defaultProps = {\n streetAddress: \"\",\n city: \"\",\n locality: \"\",\n postalCode: \"\",\n title: \"\",\n className: \"\",\n};\n\nexport default TransactionTitle;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport TransactionTitle from \"../../shared/TransactionTitle\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n TRANSACTION_TITLE,\n STREET_ADDRESS,\n CITY,\n POSTAL_CODE,\n LOCALITY,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst ReferralTitle = ({ ...props }) => ;\n\nexport default tdpDetails({\n WrappedComponent: ReferralTitle,\n states: [LOCALITY, STREET_ADDRESS, TRANSACTION_TITLE, CITY, POSTAL_CODE],\n aliases: [\"locality\", \"streetAddress\"],\n});\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport { PlusSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst AddValueTxtBtn = ({ onClick, text, iconClassName, btnClassName }) => (\n \n \n {text}\n \n);\n\nAddValueTxtBtn.propTypes = {\n onClick: func.isRequired,\n text: string,\n iconClassName: string,\n btnClassName: string,\n};\n\nAddValueTxtBtn.defaultProps = {\n text: \"ADD\",\n iconClassName: \"\",\n btnClassName: \"\",\n};\n\nexport default AddValueTxtBtn;\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { referralDesiredAddressEditOn } from \"../../actions/creators\";\n\nimport AddValueTxtBtn from \"../../shared/AddValueTxtBtn\";\n\nconst ReferralDesiredAddressAdd = ({ onClick }) => (\n \n);\n\nReferralDesiredAddressAdd.propTypes = {\n onClick: func,\n};\n\nReferralDesiredAddressAdd.defaultProps = {\n onClick: null,\n};\n\nexport default withDispatch({\n WrappedComponent: ReferralDesiredAddressAdd,\n actions: referralDesiredAddressEditOn,\n aliases: \"onClick\",\n});\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React, { useState } from \"react\";\n\nexport default (WrappedComponent) =>\n ({ ...props }) => {\n const [isPencilVisible, setPencilVisible] = useState(false);\n return (\n \n );\n };\n","import React from \"react\";\nimport { func, string, bool } from \"prop-types\";\n\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport { PencilSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst TextBtnWithPencil = ({ txtField, isPencilVisible, setPencilVisible, onClick }) => (\n setPencilVisible(true)}\n onMouseLeave={() => setPencilVisible(false)}\n onClick={onClick}\n >\n {txtField}\n {isPencilVisible && }\n \n);\n\nTextBtnWithPencil.propTypes = {\n txtField: string,\n setPencilVisible: func,\n isPencilVisible: bool,\n onClick: func,\n};\n\nTextBtnWithPencil.defaultProps = {\n txtField: null,\n setPencilVisible: () => {},\n isPencilVisible: false,\n onClick: () => {},\n};\n\nexport default TextBtnWithPencil;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { ADDRESS_FIELD } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { referralDesiredAddressEditOn } from \"../../actions/creators\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport withPencilVisibleStates from \"../../shared/HOCs/withPencilVisibleStates\";\n\nimport TextBtnWithPencil from \"../../shared/TextBtnWithPencil\";\n\nconst withReduxState = tdpDetails({\n WrappedComponent: withPencilVisibleStates(TextBtnWithPencil),\n states: ADDRESS_FIELD,\n aliases: \"txtField\",\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxState,\n actions: referralDesiredAddressEditOn,\n aliases: \"onClick\",\n});\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { ADDRESS_FIELD } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport ReferralDesiredAddressAdd from \"../ReferralDesiredAddressAdd\";\nimport ReferralDesiredAddressRead from \"../ReferralDesiredAddressRead\";\n\nconst ReferralDesiredAddressVal = ({ addressField }) =>\n addressField ? : ;\n\nReferralDesiredAddressVal.propTypes = {\n addressField: string,\n};\n\nReferralDesiredAddressVal.defaultProps = {\n addressField: null,\n};\n\nexport default tdpDetails({\n WrappedComponent: ReferralDesiredAddressVal,\n states: ADDRESS_FIELD,\n});\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\nimport { isString, trim } from \"lodash\";\n\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { ADDRESS_FIELD, LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { referralDesiredAddressEditOff } from \"../../actions/creators\";\nimport { putRefDesiredAddressAsThunk } from \"../../actions/thunks\";\n\nimport InlineEditingInput from \"../../../../shared/v2/InlineEditingInput/InlineEditingInput\";\n\nconst ReferralDesiredAddressEdit = ({ onChange, onCancelEditing, addressField }) => (\n
\n \n
\n);\n\nconst ReferralDesiredAddressEditWrapper = ({\n onPutRefDesiredAddressAsThunk,\n onReferralDesiredAddressEditOff,\n addressField,\n uuid,\n}) => {\n const onChangeHandlr = (val) =>\n onPutRefDesiredAddressAsThunk({\n key: \"desired_locations\",\n value: isString(val) ? trim(val) : val,\n uuid,\n });\n\n return (\n \n );\n};\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ReferralDesiredAddressEditWrapper,\n states: [ADDRESS_FIELD, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: [putRefDesiredAddressAsThunk, referralDesiredAddressEditOff],\n aliases: [\"onPutRefDesiredAddressAsThunk\", \"onReferralDesiredAddressEditOff\"],\n});\n\nReferralDesiredAddressEdit.propTypes = {\n onChange: func,\n onCancelEditing: func,\n addressField: string,\n};\n\nReferralDesiredAddressEdit.defaultProps = {\n onChange: func,\n onCancelEditing: func,\n addressField: string,\n};\n\nReferralDesiredAddressEditWrapper.propTypes = {\n onPutRefDesiredAddressAsThunk: func,\n onReferralDesiredAddressEditOff: func,\n addressField: string,\n uuid: string,\n};\n\nReferralDesiredAddressEditWrapper.defaultProps = {\n onPutRefDesiredAddressAsThunk: () => {},\n onReferralDesiredAddressEditOff: () => {},\n addressField: null,\n uuid: null,\n};\n","import React from \"react\";\nimport { bool } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { IS_REFERRAL_DESIRED_ADDRESS_EDIT } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport ReferralDesiredAddressVal from \"../ReferralDesiredAddressVal\";\nimport ReferralDesiredAddressEdit from \"../ReferralDesiredAddressEdit\";\n\nconst ReferralDesiredAddress = ({ isReferralDesiredAddressEdit }) => (\n
\n Desired Locations:\n {isReferralDesiredAddressEdit ? : }\n
\n);\n\nReferralDesiredAddress.propTypes = {\n isReferralDesiredAddressEdit: bool,\n};\n\nReferralDesiredAddress.defaultProps = {\n isReferralDesiredAddressEdit: false,\n};\n\nexport default tdpDetails({\n WrappedComponent: ReferralDesiredAddress,\n states: IS_REFERRAL_DESIRED_ADDRESS_EDIT,\n});\n","import React from \"react\";\nimport { number, oneOfType, string } from \"prop-types\";\nimport { trim } from \"lodash\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { CITY, LOCALITY, POSTAL_CODE, STREET_ADDRESS } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst FullPropertyAddress = ({ streetAddress, city, state, zipCode }) => {\n const propertyAddress = [streetAddress, city, state, zipCode].filter(Boolean).join(\", \");\n\n return (\n
\n
Property Address:
\n
\n {trim(propertyAddress)}\n
\n
\n );\n};\n\nexport default tdpDetails({\n WrappedComponent: FullPropertyAddress,\n states: [STREET_ADDRESS, LOCALITY, POSTAL_CODE, CITY],\n aliases: [\"streetAddress\", \"state\", \"zipCode\"],\n});\n\nFullPropertyAddress.propTypes = {\n streetAddress: string,\n city: string,\n state: string,\n zipCode: oneOfType([string, number]),\n};\n\nFullPropertyAddress.defaultProps = {\n streetAddress: null,\n city: null,\n state: null,\n zipCode: null,\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { CLIENTINTENT } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isBuyerTenant } from \"../../../shared/helpers\";\n\nimport ReferralDesiredAddress from \"../ReferralDesiredAddress\";\nimport ReferralPropertyAddress from \"../ReferralPropertyAddress\";\n\nconst ReferralAddress = ({ clientIntent }) =>\n isBuyerTenant(clientIntent) ? : ;\n\nexport default tdpDetails({\n WrappedComponent: ReferralAddress,\n states: CLIENTINTENT,\n});\n\nReferralAddress.propTypes = {\n clientIntent: string,\n};\n\nReferralAddress.defaultProps = {\n clientIntent: null,\n};\n","import moment from \"moment\";\n\nexport const exactDateHelper = (days) => moment().add(days, \"days\").format(\"MM/DD/YYYY\");\nexport const exactDateYearHelper = () => moment().add(1, \"years\").format(\"MM/DD/YYYY\");\n\nconst TIMEFRAME_DICTIONARY = {\n Immediate: {\n prefix: \"\",\n value: \"date\",\n },\n Unknown: {\n prefix: \"\",\n value: \"date\",\n },\n \"Within 90 days\": {\n prefix: \"By\",\n value: exactDateHelper(90),\n },\n \"Within a year\": {\n prefix: \"By\",\n value: exactDateHelper(365),\n },\n \"After a year\": {\n prefix: \"After\",\n value: exactDateHelper(365),\n },\n Custom: {\n prefix: \"By\",\n value: null,\n },\n};\n\nexport const timeframeExactDate = (timeframe) => TIMEFRAME_DICTIONARY[timeframe].value;\n","/* eslint-disable react/prop-types */\n/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { func, shape } from \"prop-types\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID, TIMEFRAME } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { referralCalendarEditOn } from \"../../actions/creators\";\nimport { putRefTimeFrameAsThunk } from \"../../actions/thunks\";\n\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\nimport { exactDateHelper, exactDateYearHelper } from \"./helpers\";\n\nconst FIXED_DROPDOWN = [\n { label: \"Immediate\", value: \"Immediate\" },\n { label: \"Within 90 days\", value: \"Within 90 days\" },\n { label: \"Within a year\", value: \"Within a year\" },\n { label: \"After a year\", value: \"After a year\" },\n { label: \"Custom\", value: \"Custom\" },\n { label: \"Unknown\", value: \"Unknown\" },\n];\n\nconst TIMEFRAME_STARTDATES = {\n Immediate: exactDateHelper(0),\n \"Within 90 days\": exactDateHelper(90),\n \"Within a year\": exactDateYearHelper(),\n \"After a year\": exactDateYearHelper(),\n Custom: \"Custom\",\n Unknown: exactDateHelper(0),\n};\n\nconst TimeFrameEdit = ({ onChangeHandlr, timeframe }) => (\n
\n \n
\n);\n\nconst TimeFrameEditWrapper = ({ timeframe, uuid, onReferralCalendarEditOn, onPutRefTimeFrameAsThunk }) => {\n const onChangeHandlr = (option) =>\n option.value === \"Custom\"\n ? onReferralCalendarEditOn()\n : onPutRefTimeFrameAsThunk({ ...option, uuid }, TIMEFRAME_STARTDATES[option.value]);\n\n return ;\n};\n\nconst withReduxState = tdpDetails({\n WrappedComponent: TimeFrameEditWrapper,\n states: [TIMEFRAME, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxState,\n actions: [putRefTimeFrameAsThunk, referralCalendarEditOn],\n aliases: [\"onPutRefTimeFrameAsThunk\", \"onReferralCalendarEditOn\"],\n});\n\nTimeFrameEdit.propTypes = {\n onChangeHandlr: func,\n timeframe: shape({}),\n};\n\nTimeFrameEdit.defaultProps = {\n onChangeHandlr: () => {},\n timeframe: null,\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TIMEFRAME_READ } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { referralTimeFrameEditOn } from \"../../actions/creators\";\n\nimport TextBtnWithPencil from \"../../shared/TextBtnWithPencil/TextBtnWithPencil\";\nimport withPencilVisibleStates from \"../../shared/HOCs/withPencilVisibleStates\";\n\nconst TimeFrameValRead = ({ timeframeRead, isPencilVisible, setPencilVisible, onClick }) => (\n \n);\n\nconst withReduxState = tdpDetails({\n WrappedComponent: withPencilVisibleStates(TimeFrameValRead),\n states: TIMEFRAME_READ,\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxState,\n actions: referralTimeFrameEditOn,\n aliases: \"onClick\",\n});\n\nTimeFrameValRead.propTypes = {\n timeframeRead: string,\n isPencilVisible: bool,\n setPencilVisible: func,\n onClick: func,\n};\n\nTimeFrameValRead.defaultProps = {\n timeframeRead: null,\n isPencilVisible: false,\n setPencilVisible: () => {},\n onClick: () => {},\n};\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { referralTimeFrameEditOn } from \"../../actions/creators\";\n\nimport AddValueTxtBtn from \"../../shared/AddValueTxtBtn\";\n\nconst TimeFrameAdd = ({ onClick }) => ;\n\nTimeFrameAdd.propTypes = {\n onClick: func,\n};\n\nTimeFrameAdd.defaultProps = {\n onClick: null,\n};\n\nexport default withDispatch({\n WrappedComponent: TimeFrameAdd,\n actions: referralTimeFrameEditOn,\n aliases: \"onClick\",\n});\n","import React from \"react\";\nimport { shape } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TIMEFRAME } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport TimeFrameValRead from \"../TimeFrameValRead\";\nimport TimeFrameAdd from \"../TimeFrameAdd\";\n\nconst TimeFrameVal = ({ timeframe }) => (timeframe ? : );\n\nTimeFrameVal.propTypes = {\n timeframe: shape({}),\n};\n\nTimeFrameVal.defaultProps = {\n timeframe: null,\n};\n\nexport default tdpDetails({\n WrappedComponent: TimeFrameVal,\n states: TIMEFRAME,\n});\n","import React from \"react\";\nimport { bool } from \"prop-types\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\n\nimport TimeFrameEdit from \"../TimeFrameEdit\";\nimport TimeFrameVal from \"../TimeFrameVal\";\nimport { IS_TIMEFRAME_EDIT } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst TimeFrameEditVal = ({ isTimeFrameEdit }) => (isTimeFrameEdit ? : );\n\nTimeFrameEditVal.propTypes = {\n isTimeFrameEdit: bool,\n};\n\nTimeFrameEditVal.defaultProps = {\n isTimeFrameEdit: false,\n};\n\nexport default tdpDetails({\n WrappedComponent: TimeFrameEditVal,\n states: IS_TIMEFRAME_EDIT,\n});\n","import React from \"react\";\n\nimport TimeFrameEditVal from \"../TimeFrameEditVal\";\nimport TimeFrameDateSelector from \"../TimeFrameDateSelector\";\n\nexport default () => (\n
\n Timeframe:\n \n \n
\n);\n","import React from \"react\";\n\nimport ReferralTypeBox from \"../ReferralTypeBox\";\nimport ReferralPropertyType from \"../ReferralPropertyType\";\nimport ReferralTitle from \"../ReferralTitle\";\nimport ReferralAddress from \"../ReferralAddress/ReferralAddress\";\nimport TimeFrame from \"../TimeFrame\";\n\nconst TransactionSummary = () => (\n
\n
\n \n
\n \n
\n \n
\n \n \n
\n
\n);\n\nexport default TransactionSummary;\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport styles from \"../styles\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport { PlusSolidV6 } from \"../../../../shared/v2/Icomoon\";\nimport InlineEditingInput from \"../../../../shared/v2/InlineEditingInput\";\n\nconst AddFinBtn = (onClick) => (\n \n);\n\nconst HeaderFinancial = ({\n value,\n InlineEditComponent,\n label,\n onChange,\n containerClassName,\n flatOrPercent,\n onFlatSelected,\n onPercentSelected,\n}) => (\n
\n
{label}
\n *]:tw-text-18d tw-h-[25.5px]\"\n prefix={flatOrPercent === \"flat\" ? \"$ \" : \"\"}\n suffix={flatOrPercent === \"percent\" ? \" %\" : \"\"}\n placeholder=\"\"\n onChange={onChange}\n displayComponent={AddFinBtn}\n flatOrPercent={flatOrPercent}\n onFlatSelected={onFlatSelected}\n onPercentSelected={onPercentSelected}\n />\n
\n);\n\nexport default HeaderFinancial;\n\nHeaderFinancial.propTypes = {\n value: string,\n label: string,\n flatOrPercent: string,\n InlineEditComponent: func,\n onChange: func,\n containerClassName: string,\n onFlatSelected: func,\n onPercentSelected: func,\n};\n\nHeaderFinancial.defaultProps = {\n value: null,\n label: null,\n flatOrPercent: \"percent\",\n InlineEditComponent: InlineEditingInput.Flat,\n onChange: () => {},\n containerClassName: null,\n onFlatSelected: () => {},\n onPercentSelected: () => {},\n};\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TRANSACTIONAMT, CLIENTINTENT, LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { putRefTransactionAmtAsThunk } from \"../../actions/thunks\";\n\nimport HeaderFinancial from \"../../shared/HeaderFinancial\";\n\nconst TRANSACTION_AMT_ALIASES = {\n buyer: \"Budget\",\n seller: \"Estimated Home Value\",\n tenant: \"Monthly Budget\",\n landlord: \"Estimated Monthly Rent\",\n};\n\nconst TransactionAmt = ({ transactionAmt, clientIntent, onPutRefTransactionAmtAsThunk, uuid }) => {\n const onChangeHandlr = (transactionAmount) =>\n onPutRefTransactionAmtAsThunk({\n transactionAmount,\n uuid,\n });\n\n return (\n \n );\n};\n\nconst withReduxState = tdpDetails({\n WrappedComponent: TransactionAmt,\n states: [TRANSACTIONAMT, CLIENTINTENT, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxState,\n actions: putRefTransactionAmtAsThunk,\n aliases: \"onPutRefTransactionAmtAsThunk\",\n});\n\nTransactionAmt.propTypes = {\n transactionAmt: string,\n clientIntent: string.isRequired,\n onPutRefTransactionAmtAsThunk: func,\n uuid: string.isRequired,\n};\n\nTransactionAmt.defaultProps = {\n transactionAmt: \"0\",\n onPutRefTransactionAmtAsThunk: () => {},\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport {\n ISREFERRALFEEPERCENTAGE,\n LISTING_UUID,\n REFERRALFEE,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport HeaderFinancial from \"../../shared/HeaderFinancial\";\nimport InlineEditingInput from \"../../../../shared/v2/InlineEditingInput\";\nimport { putRefFeeAsThunk } from \"../../actions/thunks\";\nimport { editIsReferralFeePercentage } from \"../../actions/creators\";\n\nconst REF_LABEL = \"referral fee\";\n\nconst flatOrPercentHandlr = (isPercent) => (isPercent ? \"percent\" : \"flat\");\n\nconst ReferralFee = ({\n referralFee,\n onPutRefFeeAsThunk,\n uuid,\n isReferralFeePercentage,\n onEditIsReferralFeePercentage,\n}) => {\n const onChangeHandlr = (refFee) =>\n onPutRefFeeAsThunk({\n referralFee: refFee ? parseFloat(refFee.replace(\",\", \"\")) : null,\n isFeePercentage: isReferralFeePercentage,\n uuid,\n });\n\n return (\n onEditIsReferralFeePercentage(false)}\n onPercentSelected={() => onEditIsReferralFeePercentage(true)}\n />\n );\n};\n\nconst withReduxState = tdpDetails({\n WrappedComponent: ReferralFee,\n states: [REFERRALFEE, LISTING_UUID, ISREFERRALFEEPERCENTAGE],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxState,\n actions: [putRefFeeAsThunk, editIsReferralFeePercentage],\n aliases: [\"onPutRefFeeAsThunk\", \"onEditIsReferralFeePercentage\"],\n});\n\nReferralFee.propTypes = {\n referralFee: string,\n onPutRefFeeAsThunk: func,\n isReferralFeePercentage: bool,\n onEditIsReferralFeePercentage: func,\n uuid: string.isRequired,\n};\n\nReferralFee.defaultProps = {\n referralFee: null,\n onPutRefFeeAsThunk: () => {},\n isReferralFeePercentage: true,\n onEditIsReferralFeePercentage: () => {},\n};\n","import React from \"react\";\n\nimport TransactionAmt from \"../TransactionAmt\";\nimport ReferralFee from \"../ReferralFee\";\n\nconst FinancialDetails = () => (\n
\n \n \n
\n);\n\nexport default FinancialDetails;\n","import React from \"react\";\nimport { string } from \"prop-types\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\n\nimport {\n REFERRALPARTNER_AVATAR,\n REFERRALPARTNER_NAME,\n REFERRALPARTNER_TEAM,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport PrimaryPerson from \"../../shared/PrimaryPerson\";\n\nconst PERSON_TYPE = \"Referral Partner\";\n\nconst ReferralPartner = ({ team, avatar, name }) => (\n \n);\n\nexport default tdpDetails({\n WrappedComponent: ReferralPartner,\n states: [REFERRALPARTNER_TEAM, REFERRALPARTNER_AVATAR, REFERRALPARTNER_NAME],\n});\n\nReferralPartner.propTypes = {\n team: string,\n avatar: string,\n name: string,\n};\n\nReferralPartner.defaultProps = {\n team: null,\n avatar: null,\n name: null,\n};\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport { putStatusAsThunk } from \"../../actions/thunks\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nimport Status from \"../../shared/Status\";\n\nconst ReferralStatus = ({ onPutReferralStatusAsThunk, uuid }) => (\n {\n onPutReferralStatusAsThunk({\n status,\n uuid,\n });\n }}\n />\n);\n\nconst ReferralStatusState = tdpDetails({\n WrappedComponent: ReferralStatus,\n states: LISTING_UUID,\n});\n\nexport default withDispatch({\n WrappedComponent: ReferralStatusState,\n actions: putStatusAsThunk,\n aliases: \"onPutReferralStatusAsThunk\",\n});\n\nReferralStatus.propTypes = {\n onPutReferralStatusAsThunk: func,\n uuid: string.isRequired,\n};\n\nReferralStatus.defaultProps = {\n onPutReferralStatusAsThunk: () => {},\n};\n","import React from \"react\";\n\nimport ReferralPartner from \"../ReferralPartner\";\nimport ReferralStatus from \"../ReferralStatus\";\n\nconst SpecificDetails = () => (\n
\n \n \n
\n);\n\nexport default SpecificDetails;\n","import { useEffect, useRef } from \"react\";\n\nexport default function useOnClickOutsideRef(callback, initialValue = null) {\n const elementRef = useRef(initialValue);\n useEffect(() => {\n function handler(event) {\n if (!elementRef.current?.contains(event.target)) {\n callback();\n }\n }\n window.addEventListener(\"click\", handler);\n return () => window.removeEventListener(\"click\", handler);\n }, [callback]);\n return elementRef;\n}\n","import React from \"react\";\nimport { string, func } from \"prop-types\";\nimport { putStatusAsThunk } from \"../../actions/thunks\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n HEADERDETAILS_PUBLISHED,\n LISTING_UUID,\n STATUS,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nconst EllipsisDropdown = ({ uuid, setRename, status, onPutReferralStatusAsThunk }) => (\n
\n
\n setRename((prev) => !prev)}\n data-cy=\"header-dropdown-rename-button\"\n >\n \n \n \n\n
Rename
\n \n
\n
\n \n onPutReferralStatusAsThunk({\n status: \"archived\",\n uuid,\n })\n }\n data-cy={status === \"archived\" ? \"header-dropdown-delete-button\" : \"header-dropdown-archive-button\"}\n >\n \n \n \n \n Archive\n
\n \n
\n
\n);\n\nconst withTdpDetails = tdpDetails({\n WrappedComponent: EllipsisDropdown,\n states: [LISTING_UUID, STATUS, HEADERDETAILS_PUBLISHED],\n});\n\nexport default withDispatch({\n WrappedComponent: withTdpDetails,\n actions: putStatusAsThunk,\n aliases: \"onPutReferralStatusAsThunk\",\n});\n\nEllipsisDropdown.propTypes = {\n uuid: string.isRequired,\n setRename: func.isRequired,\n status: string.isRequired,\n onPutReferralStatusAsThunk: func,\n};\n\nEllipsisDropdown.defaultProps = {\n onPutReferralStatusAsThunk: () => {},\n};\n","import React, { useState } from \"react\";\nimport { func } from \"prop-types\";\n\nimport useOnClickOutsideRef from \"../../api/hooks\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { referralEditTitleModalOn } from \"../../actions/creators\";\n\nimport { EllipsisIcon } from \"../../../../Transactions/components/icons\";\nimport EllipsesDropdown from \"../EllipsesDropdown\";\n\nconst EllipsesComponents = ({ onReferralEditTitleModalOn }) => {\n const [toggleDropdown, setToggleDropdown] = useState(false);\n const [deleteListing, setDeleteListing] = useState(false);\n\n const ellipsisModal = useOnClickOutsideRef(() => setToggleDropdown(false));\n\n return (\n
\n setToggleDropdown(!toggleDropdown)}\n onKeyDown={() => setToggleDropdown(!toggleDropdown)}\n tabIndex={0}\n >\n \n
\n {toggleDropdown && (\n \n )}\n \n );\n};\n\nexport default withDispatch({\n WrappedComponent: EllipsesComponents,\n actions: referralEditTitleModalOn,\n aliases: \"onReferralEditTitleModalOn\",\n});\n\nEllipsesComponents.propTypes = {\n onReferralEditTitleModalOn: func,\n};\n\nEllipsesComponents.defaultProps = {\n onReferralEditTitleModalOn: () => {},\n};\n","import React from \"react\";\n\nimport FinancialDetails from \"../FinancialDetails\";\nimport SpecificDetails from \"../SpecificDetails\";\nimport EllipsesComponents from \"../EllipsesComponents\";\n\nconst TransactionDetails = () => (\n
\n \n \n \n
\n);\n\nexport default TransactionDetails;\n","import React, { useState } from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n IS_MODAL_RENAME_TITLE_OPEN,\n LISTING_UUID,\n TRANSACTION_TITLE,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport Button from \"../../../../shared/v2/Button\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { putReferralTitleAsThunk } from \"../../actions/thunks\";\nimport { referralEditTitleModalOff } from \"../../actions/creators\";\n\nconst ModalRename = ({ show, val, headerTitle, label, onChangeHandlr, onSubmitHandlr, onCloseHandlr }) => (\n \n \n \n
{label}
\n onChangeHandlr(value)} />\n
\n \n \n \n \n \n);\n\nconst ModalRenameWrapper = ({\n isModalRenameTitleOpen,\n title,\n onPutReferralTitleAsThunk,\n onReferralEditTitleModalOff,\n uuid,\n}) => {\n const [stateTitle, setStateTitle] = useState(title);\n const onSubmitHandlr = () =>\n onPutReferralTitleAsThunk({\n key: \"title\",\n title: stateTitle,\n uuid,\n });\n\n return (\n \n );\n};\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ModalRenameWrapper,\n states: [IS_MODAL_RENAME_TITLE_OPEN, TRANSACTION_TITLE, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: [putReferralTitleAsThunk, referralEditTitleModalOff],\n aliases: [\"onPutReferralTitleAsThunk\", \"onReferralEditTitleModalOff\"],\n});\n\nModalRenameWrapper.propTypes = {\n uuid: string.isRequired,\n isModalRenameTitleOpen: bool,\n title: string,\n onPutReferralTitleAsThunk: func,\n onReferralEditTitleModalOff: func,\n};\n\nModalRenameWrapper.defaultProps = {\n isModalRenameTitleOpen: false,\n title: null,\n onPutReferralTitleAsThunk: () => {},\n onReferralEditTitleModalOff: () => {},\n};\n\nModalRename.propTypes = {\n show: bool,\n val: string,\n headerTitle: string,\n label: string,\n onChangeHandlr: func,\n onSubmitHandlr: func,\n onCloseHandlr: func,\n};\n\nModalRename.defaultProps = {\n show: false,\n val: null,\n headerTitle: null,\n label: null,\n onChangeHandlr: () => {},\n onSubmitHandlr: () => {},\n onCloseHandlr: () => {},\n};\n","import React from \"react\";\n\nimport TransactionSummary from \"./TransactionSummary\";\nimport TransactionDetails from \"./TransactionDetails\";\nimport ModalRename from \"./ModalRename/ModalRename\";\n\nconst ReferralHeader = () => (\n <>\n \n
\n \n \n
\n \n);\n\nexport default ReferralHeader;\n","import React, { useEffect } from \"react\";\n\nimport { string, func } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { HeaderContainer } from \"../UI/Containers\";\nimport { getAllListingInfoAsThunk } from \"./actions/thunks\";\nimport { tdpDetails } from \"../../shared/HOCs/withRedux\";\nimport { TRANSACTION_TYPE } from \"../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isReferral } from \"../shared/helpers\";\nimport { fetchFinancials } from \"../Main/Financials/actions/thunks\";\n\nimport Summary from \"./Summary\";\nimport ReferralHeader from \"./ReferralHeader\";\n\nconst HeaderChildComponent = ({ type }) => (isReferral(type) ? : );\n\nconst HeaderChildComponentWrapper = tdpDetails({\n WrappedComponent: HeaderChildComponent,\n states: TRANSACTION_TYPE,\n});\n\nconst Header = ({ onGetAllListingInfoAsThunk, onGetFinancials, uuid }) => {\n useEffect(() => {\n onGetFinancials();\n onGetAllListingInfoAsThunk(uuid);\n }, [uuid]);\n return (\n
\n \n \n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onGetAllListingInfoAsThunk: (uuid) => dispatch(getAllListingInfoAsThunk(uuid)),\n onGetFinancials: () => dispatch(fetchFinancials()),\n});\n\nHeader.propTypes = {\n onGetAllListingInfoAsThunk: func.isRequired,\n uuid: string.isRequired,\n onGetFinancials: func,\n};\n\nHeader.defaultProps = {\n onGetFinancials: () => {},\n};\n\nHeaderChildComponent.propTypes = {\n type: string.isRequired,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Header);\n","import { useState, useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\n\nconst useInitPathName = () => {\n const [initPathName, setInitPathName] = useState(\"\");\n const loc = useLocation();\n\n useEffect(() => {\n const urlSegments = loc.pathname.split(\"/\");\n setInitPathName(`/${urlSegments[1]}/${urlSegments[2]}`);\n }, []);\n\n return { initPathName };\n};\n\nexport const usePagePathName = () => {\n const [pagePathName, setPagePathName] = useState(\"\");\n const loc = useLocation();\n\n useEffect(() => {\n const urlSegments = loc.pathname.split(\"/\");\n setPagePathName(urlSegments[3] || \"home\");\n }, [loc]);\n\n return { pagePathName };\n};\n\nexport default useInitPathName;\n","export const LINKS_TEXT = [\n \"timeline\",\n \"tasks\",\n \"notes\",\n \"details\",\n \"marketing\",\n \"feedback\",\n \"docs\",\n \"financials\",\n];\n\nexport const REF_LINKS_TEXT = [\"timeline\", \"tasks\", \"notes\", \"details\", \"docs\", \"financials\"];\n","import React from \"react\";\nimport { arrayOf, string } from \"prop-types\";\n\nimport { useLinkClickHandler, useMatch, useResolvedPath } from \"react-router-dom\";\nimport useInitPathName from \"../hooks\";\n\nimport { LINKS_TEXT, REF_LINKS_TEXT } from \"./fixtures\";\nimport { tdpDetails } from \"../../../shared/HOCs/withRedux\";\nimport { TRANSACTION_TYPE, USERTYPE } from \"../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isAgent, isReferral } from \"../../shared/helpers\";\n\nimport Tab from \"../../../shared/v2/Tab\";\nimport TabBar from \"../../../shared/v2/TabBar\";\n\nconst isTabSelected = (tabPath) => {\n const path = useResolvedPath(tabPath);\n const match = useMatch({ path: path.pathname, end: false, caseSensitive: false });\n return match !== null;\n};\n\nconst setLinkTextByTransactionType = (type) => (isReferral(type) ? REF_LINKS_TEXT : LINKS_TEXT);\n\nconst NaviLinksTab = ({ navText }) => {\n const { initPathName } = useInitPathName();\n const tabPath = `${initPathName}/${navText}`;\n const selected = isTabSelected(tabPath);\n const handleOnClick = useLinkClickHandler(tabPath);\n\n return (\n \n \n \n );\n};\n\nconst NaviLinks = ({ linksText }) => (\n
\n \n {linksText.map((navText) => (\n \n ))}\n \n
\n);\n\nconst NaviLinksWrapper = ({ userType, type }) => {\n let linksText = setLinkTextByTransactionType(type);\n if (isAgent(userType)) linksText = linksText.filter((tabName) => tabName !== \"financials\");\n\n return ;\n};\n\nexport default tdpDetails({\n WrappedComponent: NaviLinksWrapper,\n states: [TRANSACTION_TYPE, USERTYPE],\n});\n\nNaviLinksWrapper.propTypes = {\n type: string,\n userType: string.isRequired,\n};\n\nNaviLinksWrapper.defaultProps = {\n type: null,\n};\n\nNaviLinks.propTypes = {\n linksText: arrayOf(string),\n};\n\nNaviLinks.defaultProps = {\n linksText: [],\n};\n\nNaviLinks.propTypes = {\n linksText: arrayOf(string),\n};\n\nNaviLinks.defaultProps = {\n linksText: [],\n};\n\nNaviLinksTab.propTypes = {\n navText: string.isRequired,\n};\n","import React from \"react\";\nimport { node } from \"prop-types\";\n\nconst HeaderTitle = ({ children }) => (\n
{children}
\n);\n\nexport default HeaderTitle;\n\nHeaderTitle.propTypes = {\n children: node,\n};\n\nHeaderTitle.defaultProps = {\n children: \"\",\n};\n","import React from \"react\";\nimport { node, element } from \"prop-types\";\nimport HeaderTitle from \"../HeaderTitle\";\n\nconst Header = ({ header, add }) => (\n
\n {header}\n {add}\n
\n);\n\nexport default Header;\n\nHeader.propTypes = {\n header: node,\n add: element,\n};\n\nHeader.defaultProps = {\n header: \"\",\n add: null,\n};\n","import React from \"react\";\n\nimport Header from \"../../../UI/Header\";\n\nconst HeaderWrapper = () =>
;\n\nexport default HeaderWrapper;\n","import { useState } from \"react\";\n\nconst useFilterClickHandlr = (onSetActiveFilter) => {\n const [activeButton, setActiveButton] = useState(\"All\");\n\n const buttonClickHandlr = (tagName) => {\n setActiveButton(tagName);\n onSetActiveFilter(tagName);\n };\n\n return { activeButton, buttonClickHandlr };\n};\n\nexport default useFilterClickHandlr;\n","import React from \"react\";\nimport { string, func, node } from \"prop-types\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Tooltip from \"../../../../shared/v2/Tooltip\";\n\nconst TooltipBtn = ({ children, onClick, activeButton, hoverText, dataCy }) => (\n \n {children}\n \n);\n\nconst FilterButton = ({ children, onClick, activeButton, hoverText, dataCy }) =>\n hoverText !== \"All\" ? (\n
\n \n {children}\n \n }\n content={hoverText}\n placement=\"top\"\n />\n
\n ) : (\n
\n \n {children}\n \n
\n );\n\nTooltipBtn.propTypes = {\n children: node,\n onClick: func,\n activeButton: string,\n hoverText: string,\n dataCy: string,\n};\n\nTooltipBtn.defaultProps = {\n children: null,\n onClick: () => {},\n activeButton: null,\n hoverText: null,\n dataCy: null,\n};\n\nFilterButton.propTypes = {\n children: node,\n onClick: func,\n activeButton: string,\n hoverText: string,\n dataCy: string,\n};\n\nFilterButton.defaultProps = {\n children: null,\n onClick: () => {},\n activeButton: null,\n hoverText: null,\n dataCy: null,\n};\n\nexport default FilterButton;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { shape, number, arrayOf, func } from \"prop-types\";\n\nimport { setActiveFilter } from \"../actions/creators\";\nimport useFilterClickHandlr from \"./hooks\";\n\nimport {\n ChevronDown,\n Tasks,\n Envelope,\n Phone,\n Message,\n Calendar,\n Create,\n Templates,\n Home,\n} from \"../../../../shared/v2/Icomoon\";\nimport FilterButton from \"../FilterButton\";\n\nconst Filters = ({ tags, onSetActiveFilter }) => {\n const { activeButton, buttonClickHandlr } = useFilterClickHandlr(onSetActiveFilter);\n\n return (\n
\n buttonClickHandlr(\"All\")}\n >\n \n All \n \n \n buttonClickHandlr(\"Tasks\")}\n >\n \n {tags.Tasks?.count}\n \n buttonClickHandlr(\"Emails\")}\n >\n \n {tags.Emails?.count}\n \n buttonClickHandlr(\"Phone Calls\")}\n >\n \n {tags[\"Phone Calls\"]?.count}\n \n buttonClickHandlr(\"Texts\")}\n >\n \n {tags.Texts?.count}\n \n buttonClickHandlr(\"Appointments\")}\n >\n \n {tags.Appointments?.count}\n \n buttonClickHandlr(\"Notes\")}\n >\n \n {tags.Notes?.count}\n \n buttonClickHandlr(\"Documents\")}\n >\n \n {tags.Documents?.count}\n \n buttonClickHandlr(\"Transaction Activity\")}\n >\n \n {tags[\"Transaction Activity\"]?.count}\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n tags: state.tdpTimelineReducer.tags.byName,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSetActiveFilter: (tagName) => dispatch(setActiveFilter(tagName)),\n});\n\nFilters.propTypes = {\n tags: shape({\n \"Transaction Activity\": shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n Documents: shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n Notes: shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n Tasks: shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n Emails: shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n Texts: shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n \"Phone Calls\": shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n Appointments: shape({\n count: number,\n eventsById: arrayOf(number),\n }),\n }),\n onSetActiveFilter: func,\n};\n\nFilters.defaultProps = {\n tags: {\n \"Transaction Activity\": {\n count: 0,\n eventsById: [],\n },\n Documents: {\n count: 0,\n eventsById: [],\n },\n Notes: {\n count: 0,\n eventsById: [],\n },\n Tasks: {\n count: 0,\n eventsById: [],\n },\n Emails: {\n count: 0,\n eventsById: [],\n },\n Texts: {\n count: 0,\n eventsById: [],\n },\n \"Phone Calls\": {\n count: 0,\n eventsById: [],\n },\n Appointments: {\n count: 0,\n eventsById: [],\n },\n },\n onSetActiveFilter: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Filters);\n","import React from \"react\";\n\nimport Filters from \"../Filters\";\n\nconst FiltersWrapper = () => ;\n\nexport default FiltersWrapper;\n","import axios from \"axios\";\n\nconst getTimelineFromApi = (uuid, signal) =>\n axios.get(`/api/v4/transactions/timeline/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n signal,\n });\n\nexport default getTimelineFromApi;\n","/* eslint-disable guard-for-in */\n/* eslint-disable no-restricted-syntax */\n/* eslint-disable camelcase */\nimport moment from \"moment-timezone\";\nimport { capitalize, has, keys, values, startCase } from \"lodash\";\n\nconst getSocialKey = (meta) => meta.split(\".\")[1];\n\nconst createIcon = ({ type, sub_type, action, meta }) => {\n // eslint-disable-next-line default-case\n switch (sub_type) {\n case \"assigned_plan\":\n return action;\n case \"listing\":\n if (has(meta, \"status\")) return \"listing_status\";\n if (has(meta, \"title\")) return \"listing_transaction_name\";\n if (action === \"imported\") return \"listing_import\";\n return \"date\";\n }\n\n // eslint-disable-next-line default-case\n switch (type) {\n case \"timeline\":\n case \"interaction\":\n return sub_type;\n }\n\n return type;\n};\n\nconst createAction = ({ type, sub_type, meta, action, owner }) => {\n // the following events are identified by the type\n // eslint-disable-next-line default-case\n switch (type) {\n case \"showing\":\n if (owner == null) return \"Showing feedback\";\n return \"added a showing feedback\";\n case \"listingadvertiser\":\n return \"posted in advertising\";\n case \"marketer\":\n return `posted your listing to ${capitalize(getSocialKey(meta))}`;\n case \"task\":\n return `${action} a task`;\n case \"upload\":\n return `${action} a photo`;\n case \"note\":\n return `${action} a note`;\n }\n\n // the following events are identified by the sub_type\n // eslint-disable-next-line default-case\n switch (sub_type) {\n case \"sms_in\":\n case \"sms_out\":\n return \"texted \";\n case \"call\":\n return \"logged a call with\";\n case \"gmail\":\n case \"message\":\n return \"emailed \";\n case \"appointment\":\n return \"scheduled an appointment with\";\n case \"other\":\n case \"pop_by\":\n case \"mail\":\n case \"social_media\":\n return \"logged an interaction with\";\n case \"assigned_plan\":\n return `${action} an Auto Plan`;\n case \"document\":\n if (meta.cda_form) return `${action} a CDA document`;\n return `${action} a document`;\n case \"listing_person\":\n if (action === \"added\") return `${action} ${meta} to transaction`;\n return `${action} ${meta} from transaction`;\n case \"listing\":\n if (has(meta, \"status\")) return \"updated the transaction status\";\n if (has(meta, \"title\")) return \"renamed the transaction\";\n if (action === \"imported\") return \"imported listing data\";\n return \"changed a date\";\n case \"note\":\n return `${action} a note`;\n }\n\n return null;\n};\n\nconst createMeta = ({ type, sub_type, meta, action }) => {\n // the following events are identified by the sub_type\n // eslint-disable-next-line default-case\n switch (sub_type) {\n case \"message\":\n case \"gmail\":\n case \"sms_in\":\n case \"sms_out\":\n return {\n variant: \"message\",\n content: meta.message,\n };\n case \"call\":\n return {\n variant: \"call\",\n content: [\n {\n outcome: capitalize(meta.outcome).replaceAll(\"_\", \" \"),\n notes: meta.notes,\n },\n ],\n };\n case \"other\":\n case \"pop_by\":\n case \"mail\":\n case \"social_media\":\n return {\n variant: \"other\",\n content: [\n {\n type: capitalize(meta.type).replaceAll(\"_\", \" \"),\n notes: meta.notes,\n },\n ],\n };\n case \"appointment\":\n return {\n variant: \"appointment\",\n content: [\n {\n time: moment.unix(meta.time).tz(Brivity.LocalTimeZone).format(\"MM/DD/YY [at] hh:mm a z\"),\n type: capitalize(meta.type).replaceAll(\"_\", \" \"),\n },\n ],\n };\n case \"assigned_plan\":\n return {\n variant: \"label\",\n content: [\n \"Auto Plan name\",\n {\n text: meta.name,\n },\n ],\n };\n case \"document\":\n return {\n variant: \"document\",\n content: {\n name: meta.name,\n url: meta.url,\n cdaForm: meta.cda_form,\n },\n };\n case \"listing_person\":\n return {\n variant: \"normal\",\n content: \"\",\n };\n case \"note\":\n if (action === \"updated\") {\n return {\n variant: \"note\",\n content: [\n {\n before: meta.content?.[0],\n after: meta.content?.[1],\n },\n ],\n };\n }\n return {\n variant: \"normal\",\n content: meta.content?.[0],\n };\n case \"listing\": {\n // if title has changed\n if (has(meta, \"title\")) {\n return {\n variant: \"label\",\n content: [\n \"Transaction name\",\n {\n text: meta.title[1],\n },\n ],\n };\n }\n // if status has changed\n if (has(meta, \"status\")) {\n return {\n variant: \"status\",\n content: [\n {\n before: meta.status[0],\n after: meta.status[1],\n },\n ],\n };\n }\n // if listing data is imported\n if (action === \"imported\") {\n return {\n variant: \"import\",\n content: {\n mls_number: meta.mls_number,\n },\n };\n }\n // every other change is date related\n const parsedDate = moment(values(meta)[0][1]).tz(Brivity.LocalTimeZone);\n // check if the parsed date is valid\n const after = parsedDate.isValid() ? parsedDate.format(\"MM/DD/YYYY [at] hh:mm a z\") : \"Date removed\";\n return {\n variant: \"date\",\n content: [\n `${startCase(keys(meta)[0])}`,\n {\n before:\n values(meta)[0][0] === \"\"\n ? \"\"\n : moment(values(meta)[0][0]).tz(Brivity.LocalTimeZone).format(\"MM/DD/YYYY [at] hh:mm a z\"),\n after,\n },\n ],\n };\n }\n }\n\n // the following types are identified by the type\n // eslint-disable-next-line default-case\n switch (type) {\n case \"marketer\":\n return null;\n case \"showing\":\n return {\n variant: \"showing\",\n content: [\n {\n text: meta.body,\n liked: meta.liked,\n },\n ],\n };\n case \"listingadvertiser\":\n return {\n variant: \"ads\",\n content: [\n \"Your listing was posted on \",\n {\n text: meta.name,\n link: meta.url,\n },\n ],\n };\n case \"task\":\n return {\n variant: \"label\",\n content: [\n \"Task Detail\",\n {\n text: meta.name,\n },\n ],\n };\n case \"upload\":\n return {\n variant: \"upload\",\n content: meta,\n };\n }\n\n return { variant: \"normal\", content: meta };\n};\n\nconst createOwner = ({ owner }) => ({\n name: owner?.name,\n slug: owner?.slug,\n});\n\nconst createRecipient = ({ recipient }) => ({\n name: recipient ? `${recipient?.first_name} ${recipient?.last_name}` : \"\",\n slug: recipient?.slug,\n});\n\nconst createDate = ({ date }) =>\n moment.unix(date).tz(Brivity.LocalTimeZone).format(\"MM/DD/YY [at] hh:mm a z\") ?? \"No Date\";\n\nconst createGroup = ({ type, sub_type, meta, action }) => {\n // eslint-disable-next-line default-case\n switch (type) {\n case \"task\":\n return \"Tasks\";\n case \"note\":\n return \"Notes\";\n case \"showing\":\n case \"listingadvertiser\":\n case \"marketer\":\n case \"upload\":\n return \"Transaction Activity\";\n }\n\n switch (sub_type) {\n case \"sms_in\":\n case \"sms_out\":\n return \"Texts\";\n case \"call\":\n return \"Phone Calls\";\n case \"gmail\":\n case \"message\":\n return \"Emails\";\n case \"document\":\n return \"Documents\";\n case \"appointment\":\n case \"note\":\n return \"Notes\";\n case \"listing\":\n if (!has(meta, \"status\") && !has(meta, \"title\") && action !== \"imported\") return \"Appointments\";\n // the rest are transaction activities including listing status and title change\n // eslint-disable-next-line no-fallthrough\n default:\n return \"Transaction Activity\";\n }\n};\n\nexport const createTask = ({\n type,\n sub_type,\n meta,\n owner,\n action,\n recipient,\n date,\n externally_visible,\n id,\n}) => ({\n icon: createIcon({ type, sub_type, action, meta }),\n action: createAction({ type, sub_type, meta, action, owner }),\n meta: createMeta({ type, sub_type, meta, action }),\n owner: createOwner({ owner }),\n recipient: createRecipient({ recipient }),\n date: createDate({ date }),\n group: createGroup({ type, sub_type, meta, action }),\n externally_visible,\n id,\n});\n\nexport const createTags = (timeline) => {\n const tags = {\n byName: {},\n };\n\n // iterate over all the timeline events and group them by group name\n for (const idx in timeline.byId) {\n const { group } = timeline.byId[idx];\n const { byName } = tags;\n\n if (!byName[group]) {\n byName[group] = {\n count: 1,\n eventsById: [timeline.byId[idx].id],\n };\n } else {\n byName[group].count += 1;\n byName[group].eventsById.push(timeline.byId[idx].id);\n }\n }\n\n return tags;\n};\n","/* eslint-disable spaced-comment */\nimport { createTask, createTags } from \"./helpers\";\n\nexport const adaptGetTimeline = (events) => ({\n //using index for now, need to ask BE to supply event id\n byId: events.reduce(\n (prev, event, id) => ({\n ...prev,\n [id]: createTask({ ...event, id }),\n }),\n {},\n ),\n});\n\nexport const adaptGetTags = (timeline) => createTags(timeline);\n","/* eslint-disable no-restricted-syntax */\n/* eslint-disable no-unused-vars */\n/* eslint-disable spaced-comment */\nimport { saveTimeline, setEventsLoadingOff } from \"./creators\";\nimport getTimelineFromApi from \"../api/apiWrappers\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport { adaptGetTimeline, adaptGetTags } from \"../api/apiAdapters\";\n\nconst getTimelineAsThunk = (uuid, signal) => async (dispatch) => {\n const req = getTimelineFromApi(uuid, signal);\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n //TODO ask product/design for actions around error\n dispatch(setEventsLoadingOff());\n return;\n }\n\n // sort by date most recent at top\n res.data.sort((a, b) => parseFloat(b.date) - parseFloat(a.date));\n\n const timeline = adaptGetTimeline(res.data);\n const tags = adaptGetTags(timeline);\n\n dispatch(saveTimeline(timeline, tags));\n};\n\nexport default getTimelineAsThunk;\n","import React from \"react\";\n\nconst EventsHeaders = () => (\n
\n
Details
\n
Visibility
\n
Time
\n
\n);\n\nexport default EventsHeaders;\n","export const ARE_EVENTS_LOADING = 'areEventsLoading';\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport {\n FileSolidV3,\n ImageSolidV6,\n Bullhorn,\n Create,\n HeartOutline,\n Check,\n Bolt,\n Trash,\n Pause,\n Play,\n Envelope,\n Chat,\n Phone,\n Calendar,\n Home,\n User,\n ArrowDownToBracketSolidV6,\n} from \"../../../../shared/v2/Icomoon\";\n\nconst EventIcon = ({ icon }) => (\n
\n {icon === \"document\" && }\n {icon === \"listingadvertiser\" && }\n {icon === \"upload\" && }\n {icon === \"note\" && }\n {icon === \"showing\" && }\n {icon === \"marketer\" && }\n {icon === \"task\" && }\n {icon === \"added\" && }\n {icon === \"applied\" && }\n {icon === \"deleted\" && }\n {icon === \"paused\" && }\n {icon === \"resumed\" && }\n {icon === \"completed\" && }\n {(icon === \"message\" || icon === \"gmail\") && }\n {(icon === \"sms_in\" || icon === \"sms_out\") && }\n {icon === \"call\" && }\n {icon === \"appointment\" && }\n {icon === \"other\" && }\n {icon === \"pop_by\" && }\n {icon === \"mail\" && }\n {icon === \"social_media\" && }\n {icon === \"listing\" && }\n {icon === \"listing_import\" && }\n {icon === \"listing_status\" && }\n {icon === \"create\" && }\n {icon === \"trash\" && }\n {icon === \"listing_person\" && }\n {icon === \"listing_transaction_name\" && }\n {icon === \"date\" && }\n
\n);\n\nEventIcon.propTypes = {\n icon: string,\n};\n\nEventIcon.defaultProps = {\n icon: null,\n};\n\nexport default EventIcon;\n","import React from \"react\";\nimport { shape, string } from \"prop-types\";\n\nconst EventOwnerorReceiver = ({ user }) =>\n user.slug ? (\n \n {user.name}{\" \"}\n \n ) : (\n {user.name} \n );\nEventOwnerorReceiver.propTypes = {\n user: shape({\n slug: string,\n name: string,\n }),\n};\nEventOwnerorReceiver.defaultProps = {\n user: {\n slug: null,\n name: \"\",\n },\n};\nexport default EventOwnerorReceiver;\n","import React from \"react\";\nimport { string, shape } from \"prop-types\";\nimport EventOwnerorReceiver from \"./fractal\";\n\nconst EventAction = ({ owner, children, receiver }) => (\n <>\n \n {children}\n \n \n);\nEventAction.propTypes = {\n owner: shape({}),\n children: string,\n receiver: string,\n};\nEventAction.defaultProps = {\n owner: null,\n children: null,\n receiver: null,\n};\nexport default EventAction;\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { HeartFilled, HeartOutline } from \"../../../../shared/v2/Icomoon\";\n\nconst Rating = ({ rating, size, className }) => {\n const baseRef = useRef(null);\n const ratingRef = useRef(null);\n\n // The margin between the hearts impacts in the calculus of the filled hearts width\n // If the margin class is changed the `margin` variable must be changed accordingly otherwise\n // rendering issues might occur\n const margin = 4; // In pixels\n const marginClass = \"tw-ml-4px\";\n\n useEffect(() => {\n if (!baseRef.current || !ratingRef.current) {\n return;\n }\n\n if (rating === 0.0) {\n ratingRef.current.style.width = \"0\";\n return;\n }\n\n const fullRating = baseRef.current.firstChild.getBoundingClientRect().width * 5;\n ratingRef.current.style.width = `${fullRating * (rating / 5.0) + margin * Number.parseInt(rating, 10)}px`;\n }, [baseRef, ratingRef, rating]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\nRating.propTypes = {\n rating: PropTypes.number,\n size: PropTypes.oneOf([\"s\", \"m\", \"l\", \"xl\", \"xxl\", \"xxxl\"]),\n className: PropTypes.string,\n};\n\nRating.defaultProps = {\n rating: 0.0,\n size: \"l\",\n className: \"\",\n};\n\nexport default Rating;\n","import React, { useMemo } from \"react\";\nimport { string } from \"prop-types\";\nimport Linkify from \"linkify-react\";\n\nconst mentionMap = new Map();\n\nconst LinkifyNotes = ({ markdownContent }) => {\n const noteContent = useMemo(\n () =>\n (typeof markdownContent === \"string\" ? markdownContent : markdownContent?.message || \"\").replace(\n /\\[([^\\]]+)\\]\\(([^)]+)\\)/g,\n (_, name, id) => {\n mentionMap.set(id, name);\n return `${window.location.host}/people/${id}`;\n },\n ),\n [markdownContent],\n );\n\n return (\n {\n const segments = content.split(\"/\");\n const potentialMentionId = segments[segments.length - 1];\n return (\n \n {mentionMap.has(potentialMentionId) ? `@${mentionMap.get(potentialMentionId)}` : content}\n \n );\n },\n },\n }}\n >\n {noteContent}\n \n );\n};\n\nexport default LinkifyNotes;\n\nLinkifyNotes.propTypes = {\n markdownContent: string.isRequired,\n};\n","import React from \"react\";\nimport { string, shape, arrayOf, oneOfType } from \"prop-types\";\nimport { replace } from \"lodash\";\nimport Rating from \"../../Feedback/Rating\";\nimport LinkifyNotes from \"../../../shared/LinkifyNotes/LinkifyNotes\";\n\nconst soldToClosed = (status) => (status === \"sold\" ? \"closed\" : status);\n\nexport const DescriptionForAdPhoto = ({ content: [copy, linkGroup] }) => {\n const { link, text } = linkGroup;\n return (\n <>\n {copy}\n \n {text}\n \n \n );\n};\nDescriptionForAdPhoto.propTypes = {\n content: arrayOf(\n oneOfType([\n string,\n shape({\n link: string,\n text: string,\n }),\n ]),\n ),\n};\nDescriptionForAdPhoto.defaultProps = {\n content: [null, null],\n};\n\nexport const DescriptionForUpload = ({ content }) => (\n <>\n {content.filter(Boolean).map((link) => (\n
\n {link}\n
\n ))}\n \n);\n\nDescriptionForUpload.propTypes = {\n content: arrayOf(string),\n};\nDescriptionForUpload.defaultProps = {\n content: [],\n};\n\nexport const DescriptionForCall = ({ content: [callInteractionGroup] }) => {\n const { outcome, notes } = callInteractionGroup;\n return (\n <>\n
\n Call Result: {outcome}\n
\n
\n Notes: {notes}\n
\n \n );\n};\nDescriptionForCall.propTypes = {\n content: arrayOf(\n oneOfType([\n shape({\n outcome: string,\n notes: string,\n }),\n ]),\n ),\n};\nDescriptionForCall.defaultProps = {\n content: [null],\n};\n\nexport const DescriptionForMessage = ({ content }) => <>{content};\nDescriptionForMessage.propTypes = {\n content: string,\n};\nDescriptionForMessage.defaultProps = {\n content: null,\n};\n\nexport const DescriptionForAppointment = ({ content: [appointmentGroup] }) => {\n const { type, time } = appointmentGroup;\n return (\n <>\n
\n Time: {time}\n
\n
\n Type: {type}\n
\n \n );\n};\nDescriptionForAppointment.propTypes = {\n content: arrayOf(\n oneOfType([\n shape({\n time: string,\n type: string,\n }),\n ]),\n ),\n};\nDescriptionForAppointment.defaultProps = {\n content: [null],\n};\n\nexport const DescriptionForOtherInteraction = ({ content: [otherInteractionGroup] }) => {\n const { type, notes } = otherInteractionGroup;\n return (\n <>\n
\n Type: {type}\n
\n
\n Notes: {notes}\n
\n \n );\n};\nDescriptionForOtherInteraction.propTypes = {\n content: arrayOf(\n oneOfType([\n shape({\n type: string,\n notes: string,\n }),\n ]),\n ),\n};\nDescriptionForOtherInteraction.defaultProps = {\n content: [null],\n};\n\nexport const DescriptionWithLabel = ({ content: [label, timelineGroup] }) => {\n const { text } = timelineGroup;\n return (\n <>\n
\n {label}: {text}\n
\n \n );\n};\nDescriptionWithLabel.propTypes = {\n content: arrayOf(\n oneOfType([\n string,\n shape({\n text: string,\n }),\n ]),\n ),\n};\nDescriptionWithLabel.defaultProps = {\n content: [null, null],\n};\n\nexport const DescriptionForStatus = ({ content: [statusGroup] }) => {\n const { before, after } = statusGroup;\n return (\n <>\n \n {soldToClosed(before)}\n \n to\n \n {soldToClosed(after)}\n \n \n );\n};\nDescriptionForStatus.propTypes = {\n content: arrayOf(\n oneOfType([\n shape({\n before: string,\n after: string,\n }),\n ]),\n ),\n};\nDescriptionForStatus.defaultProps = {\n content: [null],\n};\n\nexport const DescriptionForShowing = ({ content: [showingGroup] }) => {\n const { text, liked } = showingGroup;\n return (\n <>\n
{text}
\n
\n \n
\n \n );\n};\nDescriptionForShowing.propTypes = {\n content: arrayOf(\n oneOfType([\n shape({\n text: string,\n liked: Number,\n }),\n ]),\n ),\n};\nDescriptionForShowing.defaultProps = {\n content: [null],\n};\n\nexport const DescriptionForDate = ({ content: [copy, dateGroup] }) => {\n const { before, after } = dateGroup;\n\n return (\n <>\n
\n Event: {copy}\n
\n
\n Previous Date: {before}\n
\n
\n New Date: {after}\n
\n \n );\n};\nDescriptionForDate.propTypes = {\n content: arrayOf(\n oneOfType([\n string,\n shape({\n before: string,\n after: string,\n }),\n ]),\n ),\n};\nDescriptionForDate.defaultProps = {\n content: [null, null],\n};\n\nexport const DescriptionForUpdate = ({ content: [group] }) => {\n const { before, after } = group;\n\n return (\n <>\n {before && (\n
\n Was:\n \n
\n )}\n {after && (\n
\n New:\n \n
\n )}\n \n );\n};\nDescriptionForUpdate.propTypes = {\n content: arrayOf(\n oneOfType([\n shape({\n before: string,\n after: string,\n }),\n ]),\n ),\n};\nDescriptionForUpdate.defaultProps = {\n content: [null, null],\n};\n\nexport const DescriptionForDocument = ({ content }) => {\n const { name, url, cdaForm } = content;\n\n // a CDA form document is not linkable for timelines\n if (cdaForm) return name;\n\n return url ? {` ${name}`} : name;\n};\nDescriptionForDocument.propTypes = {\n content: shape({\n name: string,\n url: string,\n }),\n};\nDescriptionForDocument.defaultProps = {\n content: {},\n};\n\nexport const DescriptionForImport = ({ content }) => {\n const { mls_number } = content;\n return (\n
\n MLS #: {mls_number}\n
\n );\n};\nDescriptionForImport.propTypes = {\n content: shape({\n mls_number: string,\n }),\n};\nDescriptionForImport.defaultProps = {\n content: {},\n};\n","import React from \"react\";\nimport { shape, string, oneOfType, arrayOf } from \"prop-types\";\nimport {\n DescriptionForAdPhoto,\n DescriptionForUpload,\n DescriptionForCall,\n DescriptionForMessage,\n DescriptionForAppointment,\n DescriptionWithLabel,\n DescriptionForStatus,\n DescriptionForShowing,\n DescriptionForDate,\n DescriptionForOtherInteraction,\n DescriptionForUpdate,\n DescriptionForDocument,\n DescriptionForImport,\n} from \"./fractals\";\nimport LinkifyNotes from \"../../../shared/LinkifyNotes/LinkifyNotes\";\n\nconst EventDescription = ({ description }) => (\n
\n {description === null && \"\"}\n {description?.variant === \"normal\" && }\n {description?.variant === \"ads\" && }\n {description?.variant === \"upload\" && }\n {description?.variant === \"call\" && }\n {description?.variant === \"message\" && }\n {description?.variant === \"appointment\" && }\n {description?.variant === \"label\" && }\n {description?.variant === \"status\" && }\n {description?.variant === \"showing\" && }\n {description?.variant === \"date\" && }\n {description?.variant === \"other\" && }\n {description?.variant === \"note\" && }\n {description?.variant === \"document\" && }\n {description?.variant === \"import\" && }\n
\n);\n\nEventDescription.propTypes = {\n description: shape({\n content: oneOfType([\n arrayOf(\n oneOfType([\n string,\n shape({\n link: string,\n text: string,\n }),\n ]),\n ),\n string,\n oneOfType([\n shape({\n type: string,\n time: string,\n }),\n ]),\n oneOfType([\n string,\n shape({\n text: string,\n }),\n ]),\n ]),\n variant: string,\n }),\n};\n\nEventDescription.defaultProps = {\n description: {\n variant: null,\n content: null,\n },\n};\n\nexport default EventDescription;\n","import React from \"react\";\nimport { bool } from \"prop-types\";\n\nimport { VisibilityVisible, VisibilityHidden } from \"../../../../shared/v2/Icomoon\";\n\nconst EventVisibility = ({ externallyVisible }) =>\n externallyVisible ? (\n \n ) : (\n \n );\n\nEventVisibility.propTypes = {\n externallyVisible: bool,\n};\n\nEventVisibility.defaultProps = {\n externallyVisible: false,\n};\n\nexport default EventVisibility;\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { string, shape, bool, oneOfType, arrayOf } from \"prop-types\";\n\nimport EventIcon from \"../EventIcon\";\nimport EventAction from \"../EventAction\";\nimport EventDescription from \"../EventDescription\";\nimport EventVisibility from \"../EventVisibility\";\n\nconst Event = ({ icon, action, owner, recipient, externally_visible, date, meta }) => {\n const checkUploadcondition =\n (meta?.variant === \"upload\" && meta?.content?.length > 0) || meta?.variant !== \"upload\";\n\n return (\n <>\n {checkUploadcondition && (\n
\n \n
\n \n {action}\n \n \n
\n \n
{date}
\n
\n )}\n \n );\n};\n\nEvent.propTypes = {\n icon: string,\n action: string,\n externally_visible: bool,\n meta: shape({\n variant: string,\n content: oneOfType([\n string,\n arrayOf(\n oneOfType([\n string,\n shape({\n link: string,\n text: string,\n }),\n ]),\n ),\n ]),\n }),\n owner: shape({}),\n recipient: string,\n date: string,\n};\n\nEvent.defaultProps = {\n icon: null,\n action: null,\n externally_visible: false,\n meta: {\n variant: null,\n content: null,\n },\n owner: null,\n recipient: string,\n date: null,\n};\n\nexport default Event;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { shape, arrayOf } from \"prop-types\";\nimport ErrorBoundary from \"@shared/v2/ErrorBoundary\";\n\nimport Event from \"../Event\";\n\nconst Events = ({ activeEvents = [] }) => (\n
\n {activeEvents.length ? (\n activeEvents.map((event) => (\n \n \n \n ))\n ) : (\n \n No events to show\n
\n )}\n \n);\n\nconst mapStateToProps = (state) => ({\n activeEvents: state.tdpTimelineReducer.activeEvents,\n});\n\nEvents.propTypes = {\n activeEvents: arrayOf(shape({})),\n};\n\nEvents.defaultProps = {\n activeEvents: [],\n};\n\nexport default connect(mapStateToProps)(Events);\n","import React from \"react\";\nimport { bool } from \"prop-types\";\nimport { tdpTimeline } from \"../../../../shared/HOCs/withRedux\";\nimport { ARE_EVENTS_LOADING } from \"../../../../shared/reduxRoutes/tdpTimelinesRoutes\";\n\nimport { Spinner } from \"../../../../shared/v2/Icomoon\";\nimport Events from \"../Events\";\n\nconst LoadingEvents = ({ areEventsLoading }) =>\n areEventsLoading ? (\n
\n \n
\n ) : (\n \n );\n\nexport default tdpTimeline({\n WrappedComponent: LoadingEvents,\n states: ARE_EVENTS_LOADING,\n});\n\nLoadingEvents.propTypes = {\n areEventsLoading: bool,\n};\n\nLoadingEvents.defaultProps = {\n areEventsLoading: true,\n};\n","import React, { useEffect } from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport getTimelineAsThunk from \"../actions/thunks\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch\";\nimport { LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport EventsHeader from \"../EventsHeaders\";\nimport LoadingEvents from \"../LoadingEvents\";\nimport { setEventsLoadingOn } from \"../actions/creators\";\n\nconst MainWrapper = ({ uuid, onGetTimelineAsThunk, onSetEventsLoadingOn }) => {\n useEffect(() => {\n const abortController = new AbortController();\n onSetEventsLoadingOn();\n onGetTimelineAsThunk(uuid, abortController.signal);\n\n return () => abortController.abort();\n }, []);\n\n return (\n <>\n \n \n \n );\n};\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: MainWrapper,\n states: LISTING_UUID,\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: [getTimelineAsThunk, setEventsLoadingOn],\n aliases: [\"onGetTimelineAsThunk\", \"onSetEventsLoadingOn\"],\n});\n\nMainWrapper.propTypes = {\n uuid: string,\n onGetTimelineAsThunk: func,\n onSetEventsLoadingOn: func,\n};\n\nMainWrapper.defaultProps = {\n uuid: null,\n onGetTimelineAsThunk: () => {},\n onSetEventsLoadingOn: () => {},\n};\n","import React from \"react\";\n\nimport HeaderWrapper from \"./HeaderWrapper\";\nimport FiltersWrapper from \"./FiltersWrapper\";\nimport MainWrapper from \"./MainWrapper\";\n\nconst TimelineWrapper = () => (\n <>\n \n \n \n \n);\n\nexport default TimelineWrapper;\n","import axios from \"axios\";\n\nexport const getTeamFromApi = () =>\n axios.get(\"/account_active_agents\", {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const getAllTasksFromApi = (uuid) =>\n axios.get(`/api/v4/transactions/tasks/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const createTaskFromApi = (payload) =>\n axios.post(`/api/v4/transactions/tasks`, {\n ...payload,\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const deleteTasksFromApi = (id, uuid) =>\n axios.delete(`/api/v4/transactions/tasks/${uuid}`, {\n params: {\n id,\n authenticity_token: window.ReactOnRails.authenticityToken(),\n },\n });\n\nexport const editTaskFromApi = (payload, uuid) =>\n axios.put(`/api/v4/transactions/tasks/${uuid}`, {\n task: { ...payload },\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const bulkEditTasksFromApi = (payload) => axios.put(`/api/v4/transactions/tasks/bulk_update`, payload);\n","import axios from \"axios\";\n\nconst basePath = \"/api/v4/transactions/details\";\nconst listingPath = (listingUuid) => `${basePath}/${listingUuid}`;\nconst options = {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n};\n\nconst apiClient = {\n listDetails: (listingUuid) => axios.get(listingPath(listingUuid), options),\n listAccountSources: (listingUuid) => axios.get(`${listingPath(listingUuid)}/sources`, options),\n listAccountPropertyTypes: (listingUuid) => axios.get(`${listingPath(listingUuid)}/property_types`, options),\n save: (listingUuid, payload) => axios.put(listingPath(listingUuid), { ...options, ...payload }),\n deleteListingImage: (imageDeletionUrl) =>\n axios({\n url: imageDeletionUrl,\n method: \"delete\",\n headers: {\n Accept: \"text/javascript\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n updatePropertyDetail: (uuid, payload) =>\n axios.put(`${listingPath(uuid)}`, {\n ...options,\n listing: {\n details: [payload],\n },\n }),\n};\n\nexport default apiClient;\n","const addressPayload = ({ name, value, addressId }) => ({\n address_attributes: { [name]: value, id: addressId },\n});\n\nconst detailPayload = ({ inOption, name, value }) => ({\n [inOption]: [{ name, value }],\n});\n\nconst linkPayload = ({ value }) => ({\n listing_links_attributes: value,\n});\n\nconst rawPayload = ({ name, value }) => ({ [name]: value });\n\nconst payloadMapper = {\n address_attributes: addressPayload,\n listing_links_attributes: linkPayload,\n null: rawPayload,\n};\n\nconst choosePayload = (inOption) => payloadMapper[inOption] || detailPayload;\n\nconst buildPayload = (inOption, name, value, addressId = null) => {\n const builder = choosePayload(inOption);\n return builder({ name, value, addressId, inOption });\n};\n\nexport default buildPayload;\n","import client from \"./apiClient\";\nimport buildPayload from \"./payloadBuilders\";\n\nexport const putDetailToApi = ({ uuid, key: name, value, inOption = null, addressId = null }) => {\n const payload = { listing: buildPayload(inOption, name, value, addressId) };\n\n return client.save(uuid, payload);\n};\nexport const importDetailToApi = (uuid, payload) => client.save(uuid, payload);\n\nexport const putRefDetailtoApi = (uuid, payload) => client.save(uuid, payload);\n\nexport const replacePhotoToApi = (uuid, payload) => client.save(uuid, payload);\n\nexport const deleteListingImageApi = client.deleteListingImage;\nexport const getAllDetailsFromApi = client.listDetails;\nexport const getSourcesFromApi = client.listAccountSources;\nexport const getPropertyTypesFromApi = client.listAccountPropertyTypes;\n\nexport const updatePropertyDetailApi = ({ uuid, ...restOfPayload }) =>\n client.updatePropertyDetail(uuid, restOfPayload);\n","/* eslint-disable camelcase */\nimport {\n createTask,\n adaptPostDueOn,\n createFilters,\n adaptRecurringDays,\n adaptRecurringDayOfWeek,\n adaptContingentRule,\n} from \"./helpers\";\nimport { DEFAULT_FILTERS } from \"../constants\";\n\nexport const adaptEditedCreatedTask = (task) => createTask(task);\n\nexport const adaptPostPutTask = (payload) => ({\n uuid: payload.uuid,\n name: payload.title,\n instructions: payload.instructions,\n note: payload.notes,\n priority: payload.priority,\n externally_visible: payload.visibility,\n type: payload.eventType.value,\n due_on: adaptPostDueOn(payload.date),\n assigned_to_user_id: payload.assignedPerson.value,\n completed_by_user_id: payload.completed_by_user_id,\n recurring: !!payload.recurring,\n completed: payload.completed,\n recurring_frequency: payload.recurring?.frequency?.value,\n recurring_every_so_many_days: adaptRecurringDays(payload),\n recurring_day_of_week: adaptRecurringDayOfWeek(payload),\n run: payload.run,\n contingent: !!payload.contingent,\n contingency_rule: adaptContingentRule(payload),\n});\n\nexport const adaptGetAllTasks = (tasks = []) => tasks.map((task) => createTask(task));\n\nexport const adaptTitle = ({ title }) => ({\n title,\n});\n\nexport const adaptTeam = (team) =>\n team.map(({ name: label, uuid: value }) => ({ label, value })).sort((a, b) => a - b);\n\nexport const adaptFilterPayload = (tasks) => {\n const filters = {\n ...DEFAULT_FILTERS,\n };\n\n return createFilters(filters, tasks);\n};\n\nexport const adaptPutBulkEditTask = (listingUuid, selectedTasks, payload) => ({\n uuid: listingUuid,\n tasks: selectedTasks.map((id) => ({ ...payload, id })),\n authenticity_token: window.ReactOnRails.authenticityToken(),\n});\n","/* eslint-disable camelcase */\nimport moment from \"moment/moment\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport {\n getAllTasksFromApi,\n getTeamFromApi,\n createTaskFromApi,\n editTaskFromApi,\n deleteTasksFromApi,\n bulkEditTasksFromApi,\n} from \"../api/apiWrappers\";\nimport { getAllDetailsFromApi } from \"../../Details/api/apiWrappers\";\nimport { sortTasks, dispatchEditedTasks } from \"./helpers\";\nimport {\n adaptGetAllTasks,\n adaptFilterPayload,\n adaptTeam,\n adaptTitle,\n adaptPostPutTask,\n adaptEditedCreatedTask,\n adaptPutBulkEditTask,\n} from \"../api/apiAdapters\";\nimport {\n saveAllTasksAndFilters,\n setBackFilterByAutoPlans,\n setBackFilterByTeamMembers,\n saveTeam,\n addCreatedTasks,\n deleteTask,\n togglePrimaryFilter,\n clearSelectedTasks,\n} from \"./creators\";\n\nimport saveTitleCrossDetail from \"./crossCreators\";\n\nimport FILTER_CALLBACKS from \"./constants\";\n\nexport const getAllTasksAsThunk = (uuid) => async (dispatch) => {\n const req = getAllTasksFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n const adaptedTasks = sortTasks(adaptGetAllTasks(res?.data?.tasks));\n const adaptedFilters = adaptFilterPayload(adaptedTasks);\n dispatch(\n saveAllTasksAndFilters({\n adaptedTasks,\n adaptedFilters,\n }),\n );\n\n dispatch(togglePrimaryFilter(\"overdue\"));\n dispatch(togglePrimaryFilter(\"due_today\"));\n};\n\nexport const asyncSetTasksByAutoPlansFilter = () => (dispatch) => {\n setTimeout(() => {\n dispatch(setBackFilterByAutoPlans());\n }, 1000);\n};\n\nexport const asyncSetTasksByTeamMemberFilter = () => (dispatch) => {\n setTimeout(() => {\n dispatch(setBackFilterByTeamMembers());\n }, 1000);\n};\n\nexport const getTeamAsThunk = () => async (dispatch) => {\n const req = getTeamFromApi();\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n const team = adaptTeam(res.data);\n dispatch(saveTeam(team));\n};\n\nexport const getTitleAsThunk = (uuid) => async (dispatch) => {\n const req = getAllDetailsFromApi(uuid);\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n const title = adaptTitle(res.data);\n\n dispatch(saveTitleCrossDetail(title));\n};\n\nexport const getAllTaskAfterRecurringPostAsThunk = (uuid, filtered) => async (dispatch) => {\n const req = getAllTasksFromApi(uuid);\n const [\n {\n data: { tasks },\n },\n err,\n ] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n const adaptedTasks = sortTasks(adaptGetAllTasks(tasks));\n const adaptedFilters = adaptFilterPayload(adaptedTasks);\n\n dispatch(\n saveAllTasksAndFilters({\n adaptedTasks,\n adaptedFilters,\n }),\n );\n\n if (filtered) {\n dispatch(FILTER_CALLBACKS[filtered]());\n }\n};\n\nexport const postTaskAsThunk = (payload, filtered) => async (dispatch) => {\n const adaptedPayload = adaptPostPutTask(payload);\n\n const req = createTaskFromApi(adaptedPayload);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n const { due_on, recurring } = adaptedPayload;\n if (due_on === moment().format(\"YYYY-MM-DD\") && recurring) {\n dispatch(getAllTaskAfterRecurringPostAsThunk(payload.uuid, filtered));\n }\n\n const adaptedCreatedTask = [adaptEditedCreatedTask(res.data)];\n\n dispatch(addCreatedTasks(adaptedCreatedTask));\n\n if (filtered) {\n dispatch(FILTER_CALLBACKS[filtered]());\n }\n};\n\nexport const deleteTasksAsThunk = (id, listingUuid, filtered) => async (dispatch) => {\n const req = deleteTasksFromApi(id.toString(), listingUuid);\n const [{ data }, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n dispatch(deleteTask([data.id]));\n\n if (filtered) {\n dispatch(FILTER_CALLBACKS[filtered]());\n }\n};\n\nexport const editTaskAsThunk = (payload, uuid, filtered) => async (dispatch) => {\n const adaptedPayload = adaptPostPutTask(payload);\n const req = editTaskFromApi(\n {\n ...adaptedPayload,\n id: payload.id,\n },\n uuid,\n );\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n const adaptedEditedTask = [adaptEditedCreatedTask(res.data)];\n\n dispatchEditedTasks(dispatch, payload)(adaptedEditedTask, filtered);\n};\n\nexport const bulkEditTasksAsThunk = (selectedTasks, listingUuid, filtered, payload) => async (dispatch) => {\n const adaptedPayload = adaptPutBulkEditTask(listingUuid, selectedTasks, payload);\n const req = bulkEditTasksFromApi(adaptedPayload);\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n const adaptedEditedTasks = res.data.tasks.map((task) => adaptEditedCreatedTask(task));\n\n dispatchEditedTasks(dispatch, payload)(adaptedEditedTasks, filtered);\n dispatch(clearSelectedTasks());\n};\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\n\nconst mapStateToProps = (state) => ({\n isTasksSelectionMode: state.tdpTasksReducer.isTasksSelectionMode,\n});\n\n// Wrapping any component with these props from redux ^^\nconst withTaskSelectionMode = (WrappedComponent) =>\n connect(mapStateToProps)(({ isTasksSelectionMode, ...otherProps }) => (\n \n ));\n\nexport default withTaskSelectionMode;\n","export const displayHidden = (show) => !show && \"tw-hidden\";\n\nexport const taskHasFilters = (hasPrimaryFilters, activeTeamMembers, activeUnassigned) => {\n if (hasPrimaryFilters) return \"primary\";\n if (activeTeamMembers) return \"teamMembers\";\n if (activeUnassigned) return \"unassigned\";\n return null;\n};\n","import { useState } from \"react\";\n\nconst useModalHandlr = ({ toggleDrawer, onCreateTasksByUnassignedFilter }) => {\n const [modalTeamMemberActive, setModalTeamMemberActive] = useState(false);\n const [modalAutoPlansActive, setModalAutoPlansActive] = useState(false);\n\n const secondaryFilterHandlr = (filterTxt) => {\n toggleDrawer((prev) => !prev);\n if (filterTxt === \"Unassigned\") onCreateTasksByUnassignedFilter();\n if (filterTxt === \"Team Members\") setModalTeamMemberActive(true);\n if (filterTxt === \"Auto Plans\") setModalAutoPlansActive(true);\n };\n\n return {\n modalTeamMemberActive,\n setModalTeamMemberActive,\n modalAutoPlansActive,\n setModalAutoPlansActive,\n secondaryFilterHandlr,\n };\n};\n\nexport default useModalHandlr;\n","import React from \"react\";\nimport { string, func, bool } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { clearSecondaryFilter } from \"../actions/creators\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\n\nconst mapDispatchToProps = (dispatch) => ({\n onClearSecondaryFilter: () => dispatch(clearSecondaryFilter()),\n});\n\nexport const SecondaryFilter = ({ children, clicked }) => (\n \n {children}\n \n);\n\nexport const Clearer = connect(\n (state) => ({ filtered: state.tdpTasksReducer.filtered }),\n mapDispatchToProps,\n)(({ filtered, onClearSecondaryFilter, toggleDrawer }) => (\n {\n onClearSecondaryFilter();\n toggleDrawer();\n }}\n >\n CLEAR FILTER\n \n));\n\nSecondaryFilter.propTypes = {\n children: string,\n clicked: func,\n};\n\nSecondaryFilter.defaultProps = {\n children: null,\n clicked: () => {},\n};\n\nClearer.propTypes = {\n filtered: bool,\n onClearSecondaryFilter: func,\n toggleDrawer: func,\n};\n\nClearer.defaultProps = {\n onClearSecondaryFilter: () => {},\n toggleDrawer: () => {},\n};\n","import React from \"react\";\nimport { arrayOf, func, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { filterTasksByTeamMembers } from \"../actions/creators\";\n\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\nimport Avatar from \"../../../../shared/v2/Avatar/Avatar\";\n\nconst TeamMember = ({ id, avatar, fullName, activeTeamMembers, onFilterByTeamMembers }) => (\n onFilterByTeamMembers(id)}\n className=\"tw-flex tw-items-center tw-cursor-pointer tw-text-neutral-gray-57 tw-border-0 tw-bg-transparent tw-m-0 tw-p-0 tw-mb-10px\"\n >\n \n \n {fullName}\n \n
{fullName}
\n \n);\n\nconst mapStateToProps = (state) => ({\n activeTeamMembers: state.tdpTasksReducer.secondaryFilters.activeTeamMembers,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onFilterByTeamMembers: (teamMember) => dispatch(filterTasksByTeamMembers(teamMember)),\n});\n\nTeamMember.propTypes = {\n id: string,\n avatar: string,\n fullName: string,\n onFilterByTeamMembers: func,\n activeTeamMembers: arrayOf(string),\n};\n\nTeamMember.defaultProps = {\n id: null,\n avatar: null,\n fullName: null,\n onFilterByTeamMembers: () => {},\n activeTeamMembers: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(TeamMember);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { sortBy } from \"lodash\";\nimport { shape } from \"prop-types\";\n\nimport TeamMember from \"./fractal\";\n\nconst TeamMembersInModal = ({ teamMembers }) => {\n const sortedTeamMembers = sortBy(Object.entries(teamMembers), [(ent) => ent[1].fullName]);\n\n return sortedTeamMembers.map(([id, { avatar, fullName }]) => (\n \n ));\n};\n\nconst mapStateToProps = (state) => ({\n teamMembers: state.tdpTasksReducer.secondaryFilters.byTeamMember,\n});\n\nTeamMembersInModal.propTypes = {\n teamMembers: shape({}),\n};\n\nTeamMembersInModal.defaultProps = {\n teamMembers: null,\n};\n\nexport default connect(mapStateToProps)(TeamMembersInModal);\n","const modalToggleHandlr = (onSetOrCreate, setModalAutoPlansActive, onClearTeamMemberFilter = () => {}) => {\n onSetOrCreate();\n setModalAutoPlansActive(false);\n onClearTeamMemberFilter();\n};\n\nexport default modalToggleHandlr;\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\n\nimport { connect } from \"react-redux\";\n\nimport { createTasksByTeamMemberFilter, clearTeamMemberFilter } from \"../actions/creators\";\nimport { asyncSetTasksByTeamMemberFilter } from \"../actions/thunks\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport TeamMembersInModal from \"../TeamMembersInModal\";\n\nimport modalToggleHandlr from \"../handlrs\";\n\nconst ModalSecondaryFilterMember = ({\n show,\n setModalTeamMemberActive,\n onCreateTasksByTeamMemberFilter,\n onClearTeamMemberFilter,\n onSetBackFilterByTeamMembers,\n}) => (\n \n modalToggleHandlr(onSetBackFilterByTeamMembers, setModalTeamMemberActive, onClearTeamMemberFilter)\n }\n closeButton\n >\n \n \n \n \n \n \n modalToggleHandlr(onSetBackFilterByTeamMembers, setModalTeamMemberActive, onClearTeamMemberFilter)\n }\n >\n CANCEL\n \n \n modalToggleHandlr(onCreateTasksByTeamMemberFilter, setModalTeamMemberActive)}\n >\n APPLY\n \n \n \n);\n\nconst mapStateToProps = (state) => ({\n activeTeamMembers: state.tdpTasksReducer.secondaryFilters.activeTeamMembers,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onCreateTasksByTeamMemberFilter: () => dispatch(createTasksByTeamMemberFilter()),\n onClearTeamMemberFilter: () => dispatch(clearTeamMemberFilter()),\n onSetBackFilterByTeamMembers: () => dispatch(asyncSetTasksByTeamMemberFilter()),\n});\n\nModalSecondaryFilterMember.propTypes = {\n show: bool,\n setModalTeamMemberActive: func,\n onCreateTasksByTeamMemberFilter: func,\n onClearTeamMemberFilter: func,\n onSetBackFilterByTeamMembers: func,\n};\n\nModalSecondaryFilterMember.defaultProps = {\n show: false,\n setModalTeamMemberActive: () => {},\n onCreateTasksByTeamMemberFilter: () => {},\n onClearTeamMemberFilter: () => {},\n onSetBackFilterByTeamMembers: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ModalSecondaryFilterMember);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, func, string } from \"prop-types\";\n\nimport { filterTasksByAutoPlans } from \"../actions/creators\";\n\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\n\nconst AutoPlan = ({ autoPlan, onFilterByAutoPlans, activeAutoPlans }) => (\n onFilterByAutoPlans(autoPlan)}\n className=\"tw-flex tw-items-center tw-cursor-pointer tw-text-neutral-gray-57 tw-border-0 tw-bg-transparent tw-m-0 tw-p-0 tw-mb-10px\"\n >\n \n
{autoPlan}
\n \n);\n\nconst mapStateToProps = (state) => ({\n activeAutoPlans: state.tdpTasksReducer.secondaryFilters.activeAutoPlans,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onFilterByAutoPlans: (autoPlan) => dispatch(filterTasksByAutoPlans(autoPlan)),\n});\n\nAutoPlan.propTypes = {\n autoPlan: string,\n onFilterByAutoPlans: func,\n activeAutoPlans: arrayOf(string),\n};\n\nAutoPlan.defaultProps = {\n autoPlan: null,\n onFilterByAutoPlans: () => {},\n activeAutoPlans: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AutoPlan);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, string } from \"prop-types\";\n\nimport AutoPlan from \"./fractal\";\n\nconst AutoPlansInModal = ({ autoPlans }) =>\n Object.keys(autoPlans).map((autoPlan) => );\n\nconst mapStateToProps = (state) => ({\n autoPlans: state.tdpTasksReducer.secondaryFilters.byAutoPlans,\n});\n\nAutoPlansInModal.propTypes = {\n autoPlans: arrayOf(string),\n};\n\nAutoPlansInModal.defaultProps = {\n autoPlans: [],\n};\n\nexport default connect(mapStateToProps)(AutoPlansInModal);\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { createTasksByAutoPlansFilter, clearAutoPlanFilter } from \"../actions/creators\";\nimport { asyncSetTasksByAutoPlansFilter } from \"../actions/thunks\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport AutoPlansInModal from \"../AutoPlansInModal\";\n\nimport modalToggleHandlr from \"../handlrs\";\n\nconst ModalSecondaryFilterAutoPlans = ({\n show,\n setModalAutoPlansActive,\n onCreateTasksByAutoPlansFilter,\n onClearAutoPlanFilter,\n onSetBackFilterByAutoPlans,\n}) => (\n modalToggleHandlr(onSetBackFilterByAutoPlans, setModalAutoPlansActive)}\n closeButton\n >\n \n \n \n \n \n modalToggleHandlr(onSetBackFilterByAutoPlans, setModalAutoPlansActive)}\n >\n CANCEL\n \n \n modalToggleHandlr(onCreateTasksByAutoPlansFilter, setModalAutoPlansActive)}\n >\n APPLY\n \n \n \n);\n\nconst mapStateToProps = (state) => ({\n activeAutoPlans: state.tdpTasksReducer.secondaryFilters.activeAutoPlans,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onCreateTasksByAutoPlansFilter: () => dispatch(createTasksByAutoPlansFilter()),\n onClearAutoPlanFilter: () => dispatch(clearAutoPlanFilter()),\n onSetBackFilterByAutoPlans: () => dispatch(asyncSetTasksByAutoPlansFilter()),\n});\n\nModalSecondaryFilterAutoPlans.propTypes = {\n show: bool,\n setModalAutoPlansActive: func,\n onCreateTasksByAutoPlansFilter: func,\n onClearAutoPlanFilter: func,\n onSetBackFilterByAutoPlans: func,\n};\n\nModalSecondaryFilterAutoPlans.defaultProps = {\n show: false,\n setModalAutoPlansActive: () => {},\n onCreateTasksByAutoPlansFilter: () => {},\n onClearAutoPlanFilter: () => {},\n onSetBackFilterByAutoPlans: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ModalSecondaryFilterAutoPlans);\n","const SECONDARY_FILTERS = [\"Unassigned\", \"Team Members\"];\n\nexport default SECONDARY_FILTERS;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func } from \"prop-types\";\nimport { displayHidden } from \"../helpers\";\n\nimport useModalHandlr from \"./hooks\";\n\nimport { createTasksByUnassignedFilter } from \"../actions/creators\";\n\nimport { SecondaryFilter, Clearer } from \"./fractals\";\nimport ModalSecondaryFilterMember from \"../ModalSecondaryFilterMember\";\nimport ModalSecondaryFilterAutoPlans from \"../ModalSecondaryFilterAutoPlans \";\n\nimport SECONDARY_FILTERS from \"./fixtures\";\n\nconst Drawer = ({ show, toggleDrawer, onCreateTasksByUnassignedFilter }) => {\n const {\n modalTeamMemberActive,\n setModalTeamMemberActive,\n modalAutoPlansActive,\n setModalAutoPlansActive,\n secondaryFilterHandlr,\n } = useModalHandlr({\n toggleDrawer,\n onCreateTasksByUnassignedFilter,\n });\n\n return (\n
\n \n \n
\n {SECONDARY_FILTERS.map((filterTxt) => (\n secondaryFilterHandlr(filterTxt)}>\n {filterTxt}\n \n ))}\n
\n \n
\n
\n
\n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n onCreateTasksByUnassignedFilter: () => dispatch(createTasksByUnassignedFilter()),\n});\n\nDrawer.propTypes = {\n show: bool,\n toggleDrawer: func,\n onCreateTasksByUnassignedFilter: func,\n};\n\nDrawer.defaultProps = {\n show: false,\n toggleDrawer: () => {},\n onCreateTasksByUnassignedFilter: () => {},\n};\n\nexport default connect(null, mapDispatchToProps)(Drawer);\n","import moment from \"moment/moment\";\n\n/* eslint-disable camelcase */\nconst RECURR_DICTIONARY = {\n number: { label: \"Every Day\", value: \"number\" },\n numberOther: { label: \"Every _ Day\", value: \"number\" },\n weekly: { label: \"Weekly\", value: \"weekly\" },\n};\n\nconst RECURR_WEEKDAYS = [\"Mondays\", \"Tuesdays\", \"Wednesdays\", \"Thursdays\", \"Fridays\", \"Saturdays\", \"Sundays\"];\n\nexport const taskHasRecurring = (task) => {\n if (!task.recurringFrequency) return null;\n\n let frequencyKey = \"numberOther\";\n\n if (task.recurringFrequency === \"weekly\") {\n frequencyKey = \"weekly\";\n } else if (task.recurringEverySoManyDays === 1) {\n frequencyKey = \"number\";\n }\n\n return {\n frequency: RECURR_DICTIONARY[frequencyKey],\n recurring_day_of_week: task.recurringDayOfWeek\n ? { label: RECURR_WEEKDAYS[task.recurringDayOfWeek - 1], value: `${task.recurringDayOfWeek}` }\n : null,\n recurring_every_so_many_days: task.recurringEverySoManyDays,\n };\n};\n\nconst MILESTONE_DICTIONARY = {\n \"milestone-close_date\": \"Close Date\",\n \"milestone-date_listed\": \"Date Listed\",\n \"milestone-escrow_signing_date\": \"Escrow Signing Date\",\n \"milestone-expiration_date\": \"Expiration Date\",\n \"milestone-home_inspection_date\": \"Home Inspection Date\",\n \"milestone-mutual_acceptance_date\": \"Mutual Acceptance Date\",\n \"milestone-appraisal_date\": \"Appraisal Date\",\n \"milestone-canceled_date\": \"Canceled Date\",\n \"milestone-termite_inspection\": \"Termite Inspection\",\n};\n\nexport const taskHasContingent = ({ contingent }) => {\n if (!contingent) return false;\n\n const { event: mileStone, position: next, days: numOfDays } = contingent;\n\n return {\n event: { label: MILESTONE_DICTIONARY[mileStone], value: mileStone },\n next,\n numOfDays,\n };\n};\n\nexport const taskHasAssignedPerson = ({ assigned_person }) => {\n if (!assigned_person) return false;\n\n return {\n label: assigned_person.fullName,\n value: assigned_person.uuid,\n };\n};\n\nexport const taskHasEventType = ({ type }) => {\n if (!type) return null;\n\n return {\n label: type,\n value: type,\n };\n};\n\nexport const taskHasDate = ({ due_on }) => {\n if (!due_on) return moment().format(\"MM/DD/YYYY\");\n\n return moment(due_on, \"MM/DD/YY\").format(\"MM/DD/YYYY\");\n};\n","import moment from \"moment/moment\";\n\nimport {\n taskHasRecurring,\n taskHasContingent,\n taskHasAssignedPerson,\n taskHasEventType,\n taskHasDate,\n} from \"./helpers\";\n\nconst taskState = (task) =>\n !task\n ? {}\n : {\n title: task.name,\n instructions: task.instructions,\n notes: task.note,\n priority: task.priority,\n visibility: task.externally_visible,\n recurring: taskHasRecurring(task),\n contingent: taskHasContingent(task),\n date: taskHasDate(task),\n assignedPerson: taskHasAssignedPerson(task),\n eventType: taskHasEventType(task),\n };\n\nexport const defaultState = (uuid, task) => ({\n uuid,\n title: \"\",\n instructions: \"\",\n notes: \"\",\n priority: 9,\n visibility: false,\n recurring: null,\n contingent: null,\n date: moment().format(\"MM/DD/YYYY\"),\n assignedPerson: null,\n eventType: null,\n ...taskState(task),\n});\n\nexport const DEFAULT_INPUT_STATE = {\n Instructions: false,\n Notes: false,\n};\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\n\nimport { taskHasFilters } from \"../../helpers\";\n\nconst mapStateToProps = (state) => ({\n hasPrimaryFilters: state.tdpTasksReducer.primaryActiveList.length,\n hasActiveTeamMembers: state.tdpTasksReducer.secondaryFilters.activeTeamMembers.length,\n hasActiveUnassigned: state.tdpTasksReducer.secondaryFilters.activeUnassigned,\n});\n\n// Wrapping any component with these props from redux ^^\nconst withFilters = (WrappedComponent) =>\n connect(mapStateToProps)(\n ({ hasPrimaryFilters, hasActiveTeamMembers, hasActiveUnassigned, ...otherProps }) => {\n const taskFilters = taskHasFilters(hasPrimaryFilters, hasActiveTeamMembers, hasActiveUnassigned);\n\n return ;\n },\n );\n\nexport default withFilters;\n","export default [\"Instructions\", \"Notes\"];\n","import React from \"react\";\nimport { bool, func, shape } from \"prop-types\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\n\nimport BUTTONS from \"./constants\";\n\nconst ModalAddEditTaskButtons = ({ enabledAddEditInputs, setEnabledAddEditInputs, payload }) => (\n
\n {BUTTONS.map((btnTxt) => (\n \n setEnabledAddEditInputs((prev) => ({\n ...prev,\n [btnTxt.toLowerCase()]: !prev[btnTxt.toLowerCase()],\n }))\n }\n >\n \n {btnTxt}\n \n ))}\n
\n);\n\nModalAddEditTaskButtons.propTypes = {\n enabledAddEditInputs: shape({\n Instructions: bool,\n Notes: bool,\n }),\n setEnabledAddEditInputs: func,\n payload: shape({}),\n};\n\nModalAddEditTaskButtons.defaultProps = {\n enabledAddEditInputs: {\n Instructions: false,\n Notes: false,\n },\n setEnabledAddEditInputs: null,\n payload: null,\n};\n\nexport default ModalAddEditTaskButtons;\n","import { shape, string, number, bool, oneOfType } from \"prop-types\";\n\nconst shapeValue = shape({ label: string, value: string });\n\nconst shapeContingent = shape({\n numOfDays: string,\n next: string,\n event: shapeValue,\n});\n\nexport const shapeRecurring = shape({\n frequency: shapeValue,\n recurring_every_so_many_days: number,\n recurring_day_of_week: shapeValue,\n});\n\nexport const payloadPropTypes = shape({\n title: string,\n Instructions: string,\n Notes: string,\n Priority: number,\n Visibility: bool,\n recurring: oneOfType([bool, shapeRecurring]),\n contingent: oneOfType([bool, shapeContingent]),\n Date: string,\n});\n\nexport const PAYLOAD_DEFAULT = {\n title: \"\",\n Instructions: \"\",\n Notes: \"\",\n Priority: null,\n Visibility: false,\n recurring: null,\n contingent: null,\n Date: null,\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\nimport AiAssistant from \"@shared/AiAssistant\";\n\nimport { displayHidden } from \"../helpers\";\nimport useTextInputHandlr from \"./hooks\";\nimport { PAYLOAD_DEFAULT, payloadPropTypes } from \"../propTypes\";\n\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport { Trash } from \"../../../../shared/v2/Icomoon\";\n\nconst ModalAddEditInput = ({ show, toggleShow, payloadHandlrs, btnTxt, payload }) => {\n const { textInputHandlr, trashHandlr } = useTextInputHandlr(payloadHandlrs, btnTxt, toggleShow);\n\n return (\n
\n
\n
{btnTxt}
\n {btnTxt === \"Instructions\" && (\n
\n textInputHandlr({ persist: () => {}, target: { value: text } })}\n />\n
\n )}\n
\n
\n
\n \n
\n \n \n \n
\n
\n );\n};\n\nModalAddEditInput.propTypes = {\n show: bool,\n toggleShow: func,\n payloadHandlrs: func,\n btnTxt: string,\n payload: payloadPropTypes,\n};\n\nModalAddEditInput.defaultProps = {\n show: false,\n toggleShow: null,\n payloadHandlrs: null,\n btnTxt: null,\n payload: PAYLOAD_DEFAULT,\n};\n\nexport default ModalAddEditInput;\n","export default (payloadHandlrs, btnTxt, toggleShow) => {\n const btnTxtKey = btnTxt.toLowerCase();\n\n const textInputHandlr = (e) => {\n e.persist();\n payloadHandlrs((prev) => ({\n ...prev,\n [btnTxtKey]: e.target.value,\n }));\n };\n\n const trashHandlr = (e) => {\n e.persist();\n payloadHandlrs((prev) => ({\n ...prev,\n [btnTxtKey]: \"\",\n }));\n toggleShow((prev) => ({\n ...prev,\n [btnTxtKey]: false,\n }));\n };\n\n return { textInputHandlr, trashHandlr };\n};\n","import React from \"react\";\nimport { bool, func, shape } from \"prop-types\";\n\nimport ModalAddEditInput from \"./fractals\";\n\nimport BUTTONS from \"../ModalAddEditTaskButtons/constants\";\n\nconst ModalAddEditInputs = ({ enabledAddEditInputs, setEnabledAddEditInputs, payloadHandlrs, payload }) =>\n BUTTONS.map((btnTxt) => (\n \n ));\n\nModalAddEditInputs.propTypes = {\n enabledAddEditInputs: shape({\n Instructions: bool,\n Notes: bool,\n }),\n setEnabledAddEditInputs: func,\n payloadHandlrs: func,\n};\n\nModalAddEditInputs.defaultProps = {\n enabledAddEditInputs: {\n Instructions: false,\n Notes: false,\n },\n setEnabledAddEditInputs: null,\n payloadHandlrs: null,\n};\n\nexport default ModalAddEditInputs;\n","import React from \"react\";\nimport { func, number } from \"prop-types\";\n\nimport useSelectedRadio from \"./hooks\";\n\nimport RadioButton from \"../../../../shared/v2/RadioButton/RadioButton\";\n\nconst ModalAddEditPriorityRadios = ({ payloadHandlrs, priority }) => {\n const [selectedRadio, selectedRadioHandlr] = useSelectedRadio(payloadHandlrs, priority);\n\n return (\n
\n
\n Priority (1: Highest, 9: Lowest)\n
\n
\n {Array.from({ length: 9 }, (_, idx) => (\n selectedRadioHandlr(idx)}\n />\n ))}\n
\n
\n );\n};\n\nModalAddEditPriorityRadios.propTypes = {\n payloadHandlrs: func,\n priority: number,\n};\n\nModalAddEditPriorityRadios.defaultProps = {\n payloadHandlrs: null,\n priority: 9,\n};\n\nexport default ModalAddEditPriorityRadios;\n","import { useState, useEffect } from \"react\";\n\nexport default (payloadHandlrs, priority) => {\n const [selectedRadio, setSelectedRadio] = useState(9);\n\n useEffect(() => {\n if (priority) setSelectedRadio(priority);\n }, []);\n\n const selectedRadioHandlr = (idx) => {\n setSelectedRadio(idx + 1);\n payloadHandlrs((prev) => ({\n ...prev,\n priority: idx + 1,\n }));\n };\n\n return [selectedRadio, selectedRadioHandlr];\n};\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\n\nimport useCheckHandlr from \"./hooks\";\n\nimport Checkbox from \"../../../../shared/v2/Checkbox/Checkbox\";\n\nconst ModalAddEditViewToggle = ({ payloadHandlrs, visibility }) => {\n const [checked, checkHandlr] = useCheckHandlr(payloadHandlrs, visibility);\n\n return (\n
\n \n
\n );\n};\n\nModalAddEditViewToggle.propTypes = {\n payloadHandlrs: func,\n visibility: bool,\n};\n\nModalAddEditViewToggle.defaultProps = {\n payloadHandlrs: null,\n visibility: false,\n};\n\nexport default ModalAddEditViewToggle;\n","import { useEffect, useState } from \"react\";\n\nexport default (payloadHandlrs, visibility) => {\n const [checked, setChecked] = useState(false);\n\n useEffect(() => {\n setChecked(visibility);\n }, []);\n\n const checkHandlr = () => {\n setChecked((prev) => {\n payloadHandlrs((payloadPrev) => ({\n ...payloadPrev,\n visibility: !prev,\n }));\n\n return !prev;\n });\n };\n\n return [checked, checkHandlr];\n};\n","import React from \"react\";\nimport { bool, string } from \"prop-types\";\n\nconst HoverInfoTxt = ({ show, children, containerStyling, textStyling, arrowStyling }) =>\n show && (\n \n
\n

{children}

\n
\n \n \n );\n\nHoverInfoTxt.propTypes = {\n show: bool,\n children: string,\n containerStyling: string,\n textStyling: string,\n arrowStyling: string,\n};\n\nHoverInfoTxt.defaultProps = {\n show: false,\n children: null,\n containerStyling: \"\",\n textStyling: \"\",\n arrowStyling: \"\",\n};\n\nexport default HoverInfoTxt;\n","import React, { useState } from \"react\";\nimport { func } from \"prop-types\";\n\nimport useToggleHandlrs from \"./hooks\";\nimport { payloadPropTypes, PAYLOAD_DEFAULT } from \"../propTypes\";\n\nimport { Info } from \"../../../../shared/v2/Icomoon\";\nimport Toggle from \"../../../../shared/v2/Toggle\";\nimport HoverInfoTxt from \"../HoverInfoTxt\";\n\nconst ModalAddEditTaskToggles = ({ payloadHandlrs, payload }) => {\n const { recurringHandlr, contingentHandlr } = useToggleHandlrs(payloadHandlrs);\n const [isHoverInfoOn, setIsHoverInfoOn] = useState(false);\n\n return (\n
\n
\n \n
\n
\n \n setIsHoverInfoOn(true)} onMouseLeave={() => setIsHoverInfoOn(false)} />\n \n Contingent tasks are due a specified amount of time before or after a specific event occurs\n \n
\n
\n );\n};\n\nModalAddEditTaskToggles.propTypes = {\n payloadHandlrs: func,\n payload: payloadPropTypes,\n};\n\nModalAddEditTaskToggles.defaultProps = {\n payloadHandlrs: null,\n payload: PAYLOAD_DEFAULT,\n};\n\nexport default ModalAddEditTaskToggles;\n","export default (payloadHandlrs) => {\n const recurringHandlr = () => {\n payloadHandlrs((payloadPrev) => ({\n ...payloadPrev,\n recurring: !payloadPrev.recurring\n ? {\n frequency: { label: \"Every Day\", value: \"number\" },\n recurring_every_so_many_days: 1,\n recurring_day_of_week: null,\n }\n : null,\n }));\n };\n\n const contingentHandlr = () => {\n payloadHandlrs((payloadPrev) => ({\n ...payloadPrev,\n contingent: !payloadPrev.contingent\n ? {\n numOfDays: \"1\",\n next: \"after\",\n event: { label: \"Close Date\", value: \"milestone-close_date\" },\n }\n : null,\n }));\n };\n\n return { recurringHandlr, contingentHandlr };\n};\n","/* eslint-disable no-param-reassign */\nimport { produce } from \"immer\";\n\nconst hashValue = ({ isHash, value }) => (isHash ? { ...value } : value);\n\nexport default (payloadHandlrs) => (e, group, key, isHash) => {\n if (e.persist) e.persist();\n const value = e.target?.value ?? e;\n\n payloadHandlrs((prev) =>\n produce(prev, (draft) => {\n if (key) draft[group][key] = hashValue({ isHash, value });\n if (!key) draft[group] = hashValue({ isHash, value });\n }),\n );\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport useHandlrs from \"../hooks\";\nimport { displayHidden } from \"../helpers\";\n\nimport DatePicker from \"../../../../shared/v2/DatePicker/DatePicker\";\n\nconst ModalAddEditTaskDate = ({ payloadHandlrs, show, value }) => {\n const dateHandlr = useHandlrs(payloadHandlrs);\n\n return (\n
\n
Date
\n dateHandlr(e, \"date\")} value={value} />\n
\n );\n};\n\nModalAddEditTaskDate.propTypes = {\n payloadHandlrs: func,\n show: bool,\n value: string,\n};\n\nModalAddEditTaskDate.defaultProps = {\n payloadHandlrs: null,\n show: false,\n value: null,\n};\n\nexport default ModalAddEditTaskDate;\n","export const CONTINGENT_EVENTS = [\n { label: \"Close Date\", value: \"milestone-close_date\" },\n { label: \"Date Listed\", value: \"milestone-date_listed\" },\n { label: \"Escrow Signing Date\", value: \"milestone-escrow_signing_date\" },\n { label: \"Expiration Date\", value: \"milestone-expiration_date\" },\n { label: \"Home Inspection Date\", value: \"milestone-home_inspection_date\" },\n { label: \"Mutual Acceptance Date\", value: \"milestone-mutual_acceptance_date\" },\n { label: \"Appraisal Date\", value: \"milestone-appraisal_date\" },\n { label: \"Canceled Date\", value: \"milestone-canceled_date\" },\n { label: \"Termite Inspection\", value: \"milestone-termite_inspection\" },\n];\n\nexport const POSITION = [\n { label: \"After\", value: \"after\" },\n { label: \"Before\", value: \"before\" },\n];\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport { displayHidden } from \"../helpers\";\nimport { payloadPropTypes, PAYLOAD_DEFAULT } from \"../propTypes\";\nimport { CONTINGENT_EVENTS, POSITION } from \"./constants\";\nimport { CONTINGENT_RECURRING } from \"../constants\";\n\nimport useHandlrs from \"../hooks\";\n\nimport TextToggle from \"../../../../shared/v2/TextToggle/TextToggle\";\nimport TextComboInput from \"../../../../shared/v2/TextComboInput\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst ModalAddEditContingentElements = ({ payloadHandlrs, payload }) => {\n const handlr = useHandlrs(payloadHandlrs);\n\n return (\n
\n
\n
\n handlr(e, CONTINGENT_RECURRING.contingent, \"numOfDays\")}\n isRequired\n />\n
\n
\n handlr(e, CONTINGENT_RECURRING.contingent, \"next\")}\n options={POSITION}\n />\n
\n
\n handlr(e, CONTINGENT_RECURRING.contingent, \"event\")}\n options={CONTINGENT_EVENTS}\n />\n
\n );\n};\n\nModalAddEditContingentElements.propTypes = {\n payloadHandlrs: func,\n payload: payloadPropTypes,\n};\n\nModalAddEditContingentElements.defaultProps = {\n payloadHandlrs: null,\n payload: PAYLOAD_DEFAULT,\n};\n\nexport default ModalAddEditContingentElements;\n","export const RECURRING_FREQUENCY = [\n { label: \"Every Day\", value: \"number\" },\n { label: \"Every _ Day\", value: \"number\" },\n { label: \"Weekly\", value: \"weekly\" },\n];\n\nexport const RECURRING_DAY_OF_WEEK = [\n { label: \"Mondays\", value: \"1\" },\n { label: \"Tuesdays\", value: \"2\" },\n { label: \"Wednesdays\", value: \"3\" },\n { label: \"Thursdays\", value: \"4\" },\n { label: \"Fridays\", value: \"5\" },\n { label: \"Saturdays\", value: \"6\" },\n { label: \"Sundays\", value: \"7\" },\n];\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport { RECURRING_FREQUENCY, RECURRING_DAY_OF_WEEK } from \"./constants\";\nimport { CONTINGENT_RECURRING } from \"../constants\";\nimport useRecurringFrequency from \"./hooks\";\nimport useHandlrs from \"../hooks\";\n\nimport { payloadPropTypes, PAYLOAD_DEFAULT } from \"../propTypes\";\nimport { displayHidden } from \"../helpers\";\n\nimport TextComboInput from \"../../../../shared/v2/TextComboInput\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst ModalAddEditRecurringElements = ({ payloadHandlrs, payload }) => {\n useRecurringFrequency(payloadHandlrs, payload);\n const handlr = useHandlrs(payloadHandlrs);\n\n return (\n
\n handlr(e, CONTINGENT_RECURRING.recurring, \"frequency\", true)}\n options={RECURRING_FREQUENCY}\n label=\"Recurrs\"\n menuShouldComeToFront\n />\n {payload.recurring?.frequency?.label === \"Every _ Day\" && (\n
\n handlr(e, CONTINGENT_RECURRING.recurring, \"recurring_every_so_many_days\")}\n isRequired\n />\n
\n )}\n {payload.recurring?.frequency?.label === \"Weekly\" && (\n handlr(e, CONTINGENT_RECURRING.recurring, \"recurring_day_of_week\", true)}\n options={RECURRING_DAY_OF_WEEK}\n label=\"Day Of Week\"\n menuShouldComeToFront\n />\n )}\n
\n );\n};\n\nModalAddEditRecurringElements.propTypes = {\n payloadHandlrs: func,\n payload: payloadPropTypes,\n};\n\nModalAddEditRecurringElements.defaultProps = {\n payloadHandlrs: null,\n payload: PAYLOAD_DEFAULT,\n};\n\nexport default ModalAddEditRecurringElements;\n","/* eslint-disable no-param-reassign */\nimport { useEffect } from \"react\";\nimport { produce } from \"immer\";\n\nexport default (payloadHandlrs, payload) => {\n useEffect(() => {\n if (payload.recurring?.frequency?.label === \"Every Day\") {\n payloadHandlrs((prev) =>\n produce(prev, (draft) => {\n draft.recurring.recurring_every_so_many_days = 1;\n }),\n );\n }\n\n if (payload.recurring?.frequency?.value === \"weekly\") {\n payloadHandlrs((prev) =>\n produce(prev, (draft) => {\n draft.recurring.recurring_every_so_many_days = null;\n draft.recurring.recurring_day_of_week = payload?.recurring?.recurring_day_of_week || {\n label: \"Mondays\",\n value: \"1\",\n };\n }),\n );\n }\n\n if (payload.recurring?.frequency?.value === \"number\") {\n payloadHandlrs((prev) =>\n produce(prev, (draft) => {\n draft.recurring.recurring_every_so_many_days = draft.recurring.recurring_every_so_many_days || 1;\n draft.recurring.recurring_day_of_week = null;\n }),\n );\n }\n }, [payload.recurring?.frequency?.label]);\n};\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport { PAYLOAD_DEFAULT, payloadPropTypes } from \"../propTypes\";\n\nimport ModalAddEditTaskDate from \"../ModalAddEditTaskDate\";\nimport ModalAddEditContingentElements from \"../ModalAddEditContingentElements\";\nimport ModalAddEditRecurringElements from \"../ModalAddEditRecurringElements\";\n\nconst ModalAddEditTaskFooter = ({ payload, setPayload }) => (\n <>\n \n \n \n \n);\n\nModalAddEditTaskFooter.propTypes = {\n payload: payloadPropTypes,\n setPayload: func,\n};\n\nModalAddEditTaskFooter.defaultProps = {\n payload: PAYLOAD_DEFAULT,\n setPayload: null,\n};\n\nexport default ModalAddEditTaskFooter;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, shape, string, func } from \"prop-types\";\n\nimport { EVENTS } from \"../constants\";\nimport useInit from \"./hooks\";\nimport useHandlrs from \"../hooks\";\nimport { payloadPropTypes } from \"../propTypes\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst ModalAddEditDropdowns = ({ assignableAgents, payloadHandlrs, payload, currentUserUuid }) => {\n const dropdownHandlr = useHandlrs(payloadHandlrs);\n useInit(payloadHandlrs, assignableAgents, payload, currentUserUuid);\n\n return (\n
\n dropdownHandlr(e, \"eventType\")}\n options={EVENTS}\n />\n dropdownHandlr(e, \"assignedPerson\")}\n label=\"Assigned To\"\n isSearchable\n />\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n assignableAgents: state.tdpTasksReducer.assignableAgents,\n currentUserUuid: state.tdpDetailsReducer.currentUser?.uuid,\n});\n\nModalAddEditDropdowns.propTypes = {\n assignableAgents: arrayOf(\n shape({\n label: string,\n value: string,\n }),\n ),\n payload: payloadPropTypes,\n payloadHandlrs: func,\n currentUserUuid: string,\n};\n\nModalAddEditDropdowns.defaultProps = {\n assignableAgents: [],\n payload: null,\n payloadHandlrs: null,\n currentUserUuid: \"\",\n};\n\nexport default connect(mapStateToProps)(ModalAddEditDropdowns);\n","import { useEffect } from \"react\";\n\nimport { EVENTS } from \"../constants\";\n\nexport default (payloadHandlrs, assignableAgents, payload, currentUserUuid) => {\n const { assignedPerson, eventType } = payload;\n const currentUser = assignableAgents.find((agent) => agent.value === currentUserUuid);\n\n useEffect(() => {\n payloadHandlrs((prev) => ({\n ...prev,\n eventType: eventType || EVENTS[0],\n assignedPerson: assignedPerson || currentUser,\n }));\n return () =>\n payloadHandlrs((prev) => ({\n ...prev,\n assignedPerson: assignedPerson || currentUser,\n }));\n }, [currentUser, EVENTS]);\n};\n","import React from \"react\";\nimport { bool, func, oneOfType, shape, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport usePayload from \"./hooks\";\nimport { postTaskAsThunk, editTaskAsThunk } from \"../actions/thunks\";\n\nimport withFilters from \"../HOCs/withFilters\";\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport ModalAddEditTaskButtons from \"../ModalAddEditTaskButtons\";\nimport ModalAddEditInputs from \"../ModalAddEditInputs\";\nimport ModalAddEditPriorityRadios from \"../ModalAddEditPriorityRadios\";\nimport ModalAddEditViewToggle from \"../ModalAddEditViewToggle\";\nimport ModalAddEditTaskToggles from \"../ModalAddEditTaskToggles\";\nimport ModalAddEditTaskFooter from \"../ModalAddEditTaskFooter\";\nimport ModalAddEditDropdowns from \"../ModalAddEditDropdowns\";\n\nconst ModalAddEditTask = ({\n show,\n toggleModalAddTaskOpen,\n title,\n uuid,\n onPostTaskAsThunk,\n toggleModalShowTask,\n onEditTaskAsThunk,\n task,\n taskFilters,\n}) => {\n const { payload, setPayload, enabledAddInputs, setEnabledAddInputs, closeHandlr, editHandlr } = usePayload(\n toggleModalAddTaskOpen,\n uuid,\n onPostTaskAsThunk,\n onEditTaskAsThunk,\n task,\n taskFilters,\n );\n\n return (\n {\n if (task) toggleModalShowTask((prev) => !prev);\n closeHandlr();\n }}\n closeButton\n >\n \n \n
\n Task Details *\n
\n {\n e.persist();\n setPayload((prev) => ({\n ...prev,\n title: e.target.value,\n }));\n }}\n />\n \n \n \n \n \n
\n \n \n
\n \n {\n if (task) toggleModalShowTask((prev) => !prev);\n closeHandlr();\n }}\n >\n CANCEL\n \n {\n if (task) {\n editHandlr({\n completed: \"true\",\n });\n return;\n }\n closeHandlr({ completed: \"true\" });\n }}\n >\n {`${task ? \"SAVE\" : \"ADD\"} & COMPLETE`}\n \n {\n if (task) {\n editHandlr({\n run: true,\n });\n return;\n }\n closeHandlr({ completed: false });\n }}\n >\n {task ? \"SAVE DETAILS\" : \"ADD TASK\"}\n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n title: state.tdpDetailsReducer.transactionDetails.title,\n uuid: state.tdpTasksReducer.uuid,\n});\n\nModalAddEditTask.propTypes = {\n show: bool,\n toggleModalAddTaskOpen: func,\n title: string,\n uuid: string,\n onPostTaskAsThunk: func,\n onEditTaskAsThunk: func,\n toggleModalShowTask: func,\n task: oneOfType([bool, shape({})]),\n taskFilters: string,\n};\n\nModalAddEditTask.defaultProps = {\n show: false,\n toggleModalAddTaskOpen: null,\n title: null,\n uuid: null,\n onPostTaskAsThunk: null,\n onEditTaskAsThunk: null,\n toggleModalShowTask: null,\n task: false,\n taskFilters: \"\",\n};\n\nexport default connect(mapStateToProps, {\n onEditTaskAsThunk: editTaskAsThunk,\n onPostTaskAsThunk: postTaskAsThunk,\n})(withFilters(ModalAddEditTask));\n","import { useEffect, useState } from \"react\";\nimport { defaultState, DEFAULT_INPUT_STATE } from \"./constants\";\n\nexport default (toggleModalAddTaskOpen, uuid, onPostTaskAsThunk, onEditTaskAsThunk, task, taskFilters) => {\n const [payload, setPayload] = useState(defaultState(uuid, task));\n\n const [enabledAddInputs, setEnabledAddInputs] = useState({\n ...DEFAULT_INPUT_STATE,\n });\n\n useEffect(() => {\n setPayload(defaultState(uuid, task));\n }, [uuid, task]);\n\n const resetStates = () => {\n setEnabledAddInputs({\n ...DEFAULT_INPUT_STATE,\n });\n toggleModalAddTaskOpen(false);\n };\n\n const editHandlr = (completed = {}) => {\n onEditTaskAsThunk(\n {\n ...payload,\n ...completed,\n id: task.id,\n },\n uuid,\n taskFilters,\n );\n\n resetStates();\n };\n\n const closeHandlr = (postTask) => {\n if (postTask) {\n onPostTaskAsThunk(\n {\n ...payload,\n ...postTask,\n },\n taskFilters,\n );\n }\n\n resetStates();\n };\n\n return {\n payload,\n setPayload,\n editHandlr,\n enabledAddInputs,\n setEnabledAddInputs,\n closeHandlr,\n };\n};\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func } from \"prop-types\";\n\nimport { toggleModalAddTaskOpen, toggleTasksSelectionMode } from \"../actions/creators\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport { ChevronDown } from \"../../../../shared/v2/Icomoon\";\n\nimport Drawer from \"../Drawer\";\nimport ModalAddEditTask from \"../ModalAddEditTask\";\n\nconst HeaderOptions = ({\n filtered,\n isModalAddTaskOpen,\n isTasksSelectionMode,\n onToggleModalAddTaskOpen,\n onToggleTasksSelectionMode,\n}) => {\n const [isDrawerOpen, toggleDrawer] = useState(false);\n\n return (\n
\n \n
\n \n {isTasksSelectionMode ? \"CANCEL\" : \"SELECT TASKS\"}\n \n toggleDrawer((prev) => !prev)}\n >\n {!filtered ? \"FILTER\" : \"FILTERED \"}\n {filtered && }\n \n {\n toggleDrawer(false);\n onToggleModalAddTaskOpen((prev) => !prev);\n }}\n >\n \n \n
\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n filtered: state.tdpTasksReducer.filtered,\n isModalAddTaskOpen: state.tdpTasksReducer.isModalAddTaskOpen,\n isTasksSelectionMode: state.tdpTasksReducer.isTasksSelectionMode,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onToggleModalAddTaskOpen: (boolean) => dispatch(toggleModalAddTaskOpen(boolean)),\n onToggleTasksSelectionMode: () => dispatch(toggleTasksSelectionMode()),\n});\n\nHeaderOptions.propTypes = {\n filtered: bool,\n isModalAddTaskOpen: bool,\n isTasksSelectionMode: bool,\n onToggleModalAddTaskOpen: func,\n onToggleTasksSelectionMode: func,\n};\n\nHeaderOptions.defaultProps = {\n filtered: false,\n isModalAddTaskOpen: false,\n isTasksSelectionMode: false,\n onToggleModalAddTaskOpen: null,\n onToggleTasksSelectionMode: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(HeaderOptions);\n","const FILTER_DICTIONARY = {\n BORDER_DICT: {\n red: \"tw-border-semantic-red-100\",\n yellow: \"tw-border-semantic-yellow-100\",\n green: \"tw-border-semantic-green-100\",\n orange: \"tw-border-semantic-orange-100\",\n blue: \"tw-border-semantic-blue-100\",\n },\n BG_DICT: {\n red: \"tw-bg-semantic-red-5\",\n yellow: \"tw-bg-semantic-yellow-5\",\n green: \"tw-bg-semantic-green-5\",\n orange: \"tw-bg-semantic-orange-5\",\n blue: \"tw-bg-semantic-blue-5\",\n },\n TEXT_DICT: {\n red: \"tw-text-semantic-red-120\",\n yellow: \"tw-text-semantic-yellow-120\",\n green: \"tw-text-semantic-green-120\",\n orange: \"tw-text-semantic-orange-120\",\n blue: \"tw-text-semantic-blue-120\",\n },\n CIRCLE_DICT: {\n red: \"tw-bg-semantic-red-50\",\n yellow: \"tw-bg-semantic-yellow-50\",\n green: \"tw-bg-semantic-green-50\",\n orange: \"tw-bg-semantic-orange-50\",\n blue: \"tw-bg-semantic-blue-50\",\n },\n};\n\nexport default FILTER_DICTIONARY;\n","import React from \"react\";\nimport { arrayOf, func, number, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { togglePrimaryFilter } from \"../actions/creators\";\n\nimport FILTER_DICTIONARY from \"./fixtures\";\n\nconst { BORDER_DICT, BG_DICT, TEXT_DICT, CIRCLE_DICT } = FILTER_DICTIONARY;\n\nconst Filter = ({ color, children, activeTarget, count, onTogglePrimaryFilter, primaryActiveList }) => (\n onTogglePrimaryFilter(activeTarget)}\n >\n
\n \n {children} ({count})\n \n \n);\n\nconst mapStateToProps = (state) => ({\n primaryActiveList: state.tdpTasksReducer.primaryActiveList,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onTogglePrimaryFilter: (primaryFilter) => dispatch(togglePrimaryFilter(primaryFilter)),\n});\n\nFilter.propTypes = {\n color: string,\n children: string,\n activeTarget: string,\n count: number,\n onTogglePrimaryFilter: func,\n primaryActiveList: arrayOf(string),\n};\n\nFilter.defaultProps = {\n color: \"\",\n children: \"\",\n activeTarget: \"\",\n count: 0,\n onTogglePrimaryFilter: () => {},\n primaryActiveList: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Filter);\n","/* eslint-disable camelcase */\nimport { arrayOf, number, shape } from \"prop-types\";\nimport React from \"react\";\nimport { connect } from \"react-redux\";\n\nimport Filter from \"../Filter\";\n\nconst Filters = ({ primaryFilters }) => {\n const { overdue, due_today, upcoming, contingent, completed_at } = primaryFilters;\n\n return (\n
\n \n Overdue\n \n \n Due Today\n \n \n Upcoming\n \n
\n \n Contingent\n \n \n Completed\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n primaryFilters: state.tdpTasksReducer.primaryFilters.byName,\n});\n\nconst filterShape = shape({\n count: number,\n tasks: arrayOf(number),\n});\n\nconst filterDefault = {\n count: 0,\n tasks: [],\n};\n\nFilters.propTypes = {\n primaryFilters: shape({\n overdue: filterShape,\n due_today: filterShape,\n upcoming: filterShape,\n contingent: filterShape,\n completed_at: filterShape,\n }),\n};\n\nFilters.defaultProps = {\n primaryFilters: {\n overdue: { ...filterDefault },\n due_today: { ...filterDefault },\n upcoming: { ...filterDefault },\n contingent: { ...filterDefault },\n completed_at: { ...filterDefault },\n },\n};\n\nexport default connect(mapStateToProps)(Filters);\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\n\nconst mapStateToProps = (state) => ({\n selectedTasks: state.tdpTasksReducer.selectedTasks,\n});\n\n// Wrapping any component with these props from redux ^^\nconst withSelectedTasks = (WrappedComponent) =>\n connect(mapStateToProps)(({ selectedTasks, ...otherProps }) => (\n \n ));\n\nexport default withSelectedTasks;\n","import React from \"react\";\nimport { arrayOf, func, string } from \"prop-types\";\n\nimport withSelectedTasks from \"../HOCs/withSelectedTasks\";\n\nimport Button from \"../../../../shared/v2/Button\";\n\nconst TaskSelection = ({ Icon, schema, selectedTasks, children, onClick }) => (\n \n \n {children}\n \n);\n\nTaskSelection.propTypes = {\n Icon: func,\n schema: string,\n children: string,\n selectedTasks: arrayOf(string),\n onClick: func,\n};\n\nTaskSelection.defaultProps = {\n Icon: null,\n schema: undefined,\n children: null,\n selectedTasks: [],\n onClick: null,\n};\n\nexport default withSelectedTasks(TaskSelection);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, func, string } from \"prop-types\";\n\nimport { Check, Trash, Calendar, MultiUser } from \"../../../../shared/v2/Icomoon\";\nimport withSelectedTasks from \"../HOCs/withSelectedTasks\";\nimport withFilters from \"../HOCs/withFilters/withFilters\";\nimport { bulkEditTasksAsThunk } from \"../actions/thunks\";\nimport {\n setTaskModalBulkDelete,\n setModalBulkRescheduleTaskOpen,\n setModalBulkReassignTaskOpen,\n} from \"../actions/creators\";\n\nimport TaskSelection from \"./fractals\";\n\nconst TaskSelections = ({\n onBulkEditTasksAsThunk,\n onSetTaskModalBulkDelete,\n onSetModalRescheduleTaskOpen,\n onSetModalReassignTaskOpen,\n selectedTasks,\n userUuid,\n listingUuid,\n taskFilters,\n primaryActiveList,\n}) => (\n
\n {primaryActiveList[0] !== \"completed_at\" ? (\n <>\n \n onBulkEditTasksAsThunk(selectedTasks, listingUuid, taskFilters, {\n state: \"complete\",\n user_id: userUuid,\n })\n }\n >\n Complete\n \n \n Delete\n \n \n Reschedule\n \n \n Reassign\n \n \n ) : (\n \n onBulkEditTasksAsThunk(selectedTasks, listingUuid, taskFilters, {\n state: \"run\",\n user_id: userUuid,\n })\n }\n >\n Mark As Incomplete\n \n )}\n
\n);\n\nTaskSelections.propTypes = {\n onBulkEditTasksAsThunk: func,\n userUuid: string,\n listingUuid: string,\n selectedTasks: arrayOf(string),\n taskFilters: string,\n onSetTaskModalBulkDelete: func,\n onSetModalRescheduleTaskOpen: func,\n onSetModalReassignTaskOpen: func,\n primaryActiveList: arrayOf(string),\n};\n\nTaskSelections.defaultProps = {\n onBulkEditTasksAsThunk: null,\n userUuid: null,\n listingUuid: null,\n selectedTasks: [],\n taskFilters: null,\n onSetTaskModalBulkDelete: null,\n onSetModalRescheduleTaskOpen: null,\n onSetModalReassignTaskOpen: null,\n primaryActiveList: [],\n};\n\nconst mapStateToProps = (state) => ({\n userUuid: state.tdpDetailsReducer.currentUser.uuid,\n listingUuid: state.tdpTasksReducer.uuid,\n primaryActiveList: state.tdpTasksReducer.primaryActiveList,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onBulkEditTasksAsThunk: (selectedTasks, listingUuid, taskFilters, payload) =>\n dispatch(bulkEditTasksAsThunk(selectedTasks, listingUuid, taskFilters, payload)),\n onSetTaskModalBulkDelete: () => dispatch(setTaskModalBulkDelete()),\n onSetModalRescheduleTaskOpen: () => dispatch(setModalBulkRescheduleTaskOpen()),\n onSetModalReassignTaskOpen: () => dispatch(setModalBulkReassignTaskOpen()),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withFilters(withSelectedTasks(TaskSelections)));\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, bool, func, string } from \"prop-types\";\n\nimport { selectAllTasks } from \"../actions/creators\";\nimport withSelectedTasks from \"../HOCs/withSelectedTasks/withSelectedTasks\";\n\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\n\nconst TaskSelectAll = ({ onSelectAllTasks, isSelectedAllTaskChecked, selectedTasks }) => (\n
\n \n \n {selectedTasks.length} Selected\n \n
\n);\n\nconst mapStateToProps = (state) => ({\n isSelectedAllTaskChecked: state.tdpTasksReducer.isSelectedAllTaskChecked,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSelectAllTasks: () => dispatch(selectAllTasks()),\n});\n\nTaskSelectAll.propTypes = {\n onSelectAllTasks: func,\n isSelectedAllTaskChecked: bool,\n selectedTasks: arrayOf(string),\n};\n\nTaskSelectAll.defaultProps = {\n onSelectAllTasks: null,\n isSelectedAllTaskChecked: false,\n selectedTasks: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withSelectedTasks(TaskSelectAll));\n","import React from \"react\";\nimport { bool } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport withTaskSelectionMode from \"../HOCs/withTaskSelectionMode\";\n\nimport TaskSelectAll from \"../TaskSelectAll\";\n\nconst Label = ({ isTasksSelectionMode, isCompletedTab }) => (\n
\n {isTasksSelectionMode ? :
Tasks
}\n
Who
\n
Priority
\n {isCompletedTab ? (\n
Date
\n ) : (\n
Due Date
\n )}\n
Visibility
\n
\n);\n\nconst mapStateToProps = (state) => ({\n isCompletedTab: state.tdpTasksReducer.primaryActiveList.indexOf(\"completed_at\") > -1,\n});\n\nLabel.propTypes = {\n isTasksSelectionMode: bool,\n isCompletedTab: bool,\n};\n\nLabel.defaultProps = {\n isTasksSelectionMode: false,\n isCompletedTab: false,\n};\n\nexport default connect(mapStateToProps)(withTaskSelectionMode(Label));\n","export default {\n taskSelected: \"tw-bg-neutral-gray-5\",\n};\n","export const UUID = 'uuid';\nexport const IS_TASK_SELECTION_MODE = 'isTasksSelectionMode';\nexport const SELECTED_TASK = 'selectedTasks';\nexport const CURRENT_USER = 'currentUser';\n","import React from \"react\";\nimport { shape } from \"prop-types\";\n\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst TaskAvatar = ({ assignedPerson }) => (\n
\n \n {assignedPerson?.fullName ?? \"Anyone\"}\n \n }\n />\n
\n);\n\nTaskAvatar.propTypes = {\n assignedPerson: shape({}),\n};\n\nTaskAvatar.defaultProps = {\n assignedPerson: null,\n};\n\nexport default TaskAvatar;\n","import { startCase, camelCase } from \"lodash\";\nimport { RECURRING_WEEKDAYS } from \"../constants\";\n\nexport const contingentText = (contingent, dueOn) => {\n const { days, position, event } = contingent || {};\n\n return contingent\n ? `${days} day${days > 1 ? \"s\" : \"\"} ${position} ${startCase(\n camelCase(event.substring(10).replace(\"_\", \" \")),\n )}`\n : dueOn;\n};\n\nexport const recurringText = (rf, rd, rn) => {\n if (!rf) return \"None\";\n\n if (rf === \"weekly\") return `Weekly (${RECURRING_WEEKDAYS[Number(rd) - 1]})`;\n\n const isEveryDay = Number(rn) === 1;\n if (rf === \"number\") return `Every${!isEveryDay ? ` ${rn} ` : \" \"}Day${!isEveryDay ? \"s\" : \"\"}`;\n return null;\n};\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React, { useMemo } from \"react\";\nimport { bool, elementType, string } from \"prop-types\";\nimport { BoltLightningSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst TaskItemAssignedPlanIcon = ({ IconComponent, show, className, iconSize, ...otherProps }) => {\n const Icon = useMemo(() => IconComponent || BoltLightningSolidV6, [IconComponent]);\n const size = iconSize || \"m\";\n\n return show && ;\n};\n\nTaskItemAssignedPlanIcon.propTypes = {\n IconComponent: elementType,\n show: bool,\n iconSize: string,\n className: string,\n};\n\nTaskItemAssignedPlanIcon.defaultProps = {\n IconComponent: null,\n iconSize: null,\n show: false,\n className: \"\",\n};\n\nexport default TaskItemAssignedPlanIcon;\n","import React from \"react\";\nimport { bool, element, number, oneOfType, string } from \"prop-types\";\n\nimport Avatar from \"../../../../shared/v2/Avatar\";\nimport TaskItemAssignedPlanIcon from \"../TaskItemAssignedPlanIcon\";\nimport { Bolt } from \"../../../../shared/v2/Icomoon\";\n\nexport const ModalShowSection = ({ headerTxt, children, childrenClass }) => (\n
\n
{headerTxt}
\n
{children}
\n
\n);\n\nexport const ModalShowAvatar = ({ assignee }) => (\n
\n {assignee && (\n \n {assignee?.fullName ?? \"Anyone\"}\n \n )}\n
{assignee?.fullName || \"None\"}
\n
\n);\n\nexport const ModalShowPriority = ({ priority }) =>\n priority ? (\n
\n {priority}\n
\n ) : (\n
None
\n );\n\nexport const ModalShowName = ({ title, hasAssignedPlans }) => (\n
\n \n
{title || \"No Title*\"}
\n
\n);\n\nModalShowName.propTypes = {\n title: string,\n hasAssignedPlans: bool,\n};\n\nModalShowName.defaultProps = {\n title: null,\n hasAssignedPlans: false,\n};\n\nModalShowSection.propTypes = {\n headerTxt: string,\n children: oneOfType([string, element]),\n childrenClass: string,\n};\n\nModalShowSection.defaultProps = {\n headerTxt: null,\n children: null,\n childrenClass: \"\",\n};\n\nModalShowAvatar.propTypes = {\n assignee: string,\n};\n\nModalShowAvatar.defaultProps = {\n assignee: null,\n};\n\nModalShowPriority.propTypes = {\n priority: number,\n};\n\nModalShowPriority.defaultProps = {\n priority: null,\n};\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, shape, string } from \"prop-types\";\n\nimport { contingentText, recurringText } from \"./helpers\";\nimport { editTaskAsThunk } from \"../actions/thunks\";\nimport { defaultState } from \"../ModalAddEditTask/constants\";\n\nimport withFilters from \"../HOCs/withFilters/withFilters\";\nimport { ModalShowSection, ModalShowAvatar, ModalShowPriority, ModalShowName } from \"./fractals\";\nimport Modal from \"../../../../shared/v2/Modal\";\nimport { Trash, Edit } from \"../../../../shared/v2/Icomoon\";\nimport Button from \"../../../../shared/v2/Button\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\n\nconst ModalShowTask = ({\n isTaskModalOpen,\n setModalAddTaskOpen,\n setTaskModalOpen,\n setTaskModalDelete,\n onEditTaskAsThunk,\n task,\n uuid,\n currentUser,\n taskFilters,\n}) => {\n const {\n name,\n contingent,\n due_on,\n priority,\n type,\n recurringFrequency,\n recurringDayOfWeek,\n assigned_person,\n recurringEverySoManyDays,\n instructions,\n completed_at,\n note,\n id,\n assignedPlan,\n } = task;\n\n return (\n setTaskModalOpen((prev) => !prev)}\n closeButton\n >\n \n
\n {\n setTaskModalDelete((prev) => !prev);\n setTaskModalOpen((prev) => !prev);\n }}\n >\n \n \n {\n setModalAddTaskOpen((prev) => !prev);\n setTaskModalOpen((prev) => !prev);\n }}\n >\n \n \n
\n
\n \n
\n
\n \n {due_on || contingentText(contingent, due_on)}\n \n \n \n \n \n \n \n {type}\n \n {recurringText(recurringFrequency, recurringDayOfWeek, recurringEverySoManyDays)}\n \n
\n
\n \n \n \n {completed_at && {completed_at}}\n {instructions && (\n \n {instructions}\n \n )}\n {note && (\n \n {note}\n \n )}\n
\n
\n
\n \n setTaskModalOpen((prev) => !prev)}\n >\n CLOSE\n \n {\n onEditTaskAsThunk(\n {\n ...defaultState(uuid, task),\n completed: \"true\",\n completed_by_user_id: currentUser.uuid,\n id,\n },\n uuid,\n taskFilters,\n );\n setTaskModalOpen((prev) => !prev);\n }}\n >\n {`COMPLETE${completed_at ? \"D\" : \"\"} TASK`}\n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpTasksReducer.uuid,\n currentUser: state.tdpDetailsReducer.currentUser,\n});\n\nconst mapDispatchToProps = {\n onEditTaskAsThunk: editTaskAsThunk,\n};\n\nModalShowTask.propTypes = {\n isTaskModalOpen: bool,\n uuid: string,\n currentUser: string.isRequired,\n setTaskModalOpen: func,\n setTaskModalDelete: func,\n onEditTaskAsThunk: func,\n task: shape({}),\n setModalAddTaskOpen: func,\n taskFilters: string,\n};\n\nModalShowTask.defaultProps = {\n isTaskModalOpen: false,\n uuid: null,\n setTaskModalOpen: null,\n setTaskModalDelete: null,\n onEditTaskAsThunk: null,\n task: null,\n setModalAddTaskOpen: null,\n taskFilters: \"\",\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withFilters(ModalShowTask));\n","import React from \"react\";\nimport { connect } from \"react-redux\";\n\nimport { arrayOf, bool, func, string } from \"prop-types\";\nimport { deleteTasksAsThunk, bulkEditTasksAsThunk } from \"../actions/thunks\";\n\nimport withFilters from \"../HOCs/withFilters\";\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst ModalDeleteTask = ({\n isTaskModalDeleteOpen,\n setTaskModalOpen,\n setTaskModalDelete,\n onDeleteTasksAsThunk,\n onBulkEditTasksAsThunk,\n ids,\n uuid,\n taskFilters,\n}) => (\n {\n setTaskModalDelete((prev) => !prev);\n setTaskModalOpen((prev) => !prev);\n }}\n closeButton\n >\n \n \n Unlike archiving a contact, deleting a task is permanent. Your client won’t be able to see that the\n task(s) was deleted, but they also won’t be able to see if you completed the task(s), either.\n \n \n {\n setTaskModalDelete((prev) => !prev);\n setTaskModalOpen((prev) => !prev);\n }}\n >\n CANCEL\n \n {\n if (ids.length > 1) {\n onBulkEditTasksAsThunk(ids, uuid, taskFilters, { _destroy: true });\n } else {\n onDeleteTasksAsThunk(ids, uuid, taskFilters);\n }\n\n setTaskModalDelete((prev) => !prev);\n }}\n >\n YES, DELETE\n \n \n \n);\n\nModalDeleteTask.propTypes = {\n isTaskModalDeleteOpen: bool,\n setTaskModalOpen: func,\n setTaskModalDelete: func,\n onDeleteTasksAsThunk: func,\n ids: arrayOf(string),\n uuid: string,\n taskFilters: string,\n onBulkEditTasksAsThunk: func,\n};\n\nModalDeleteTask.defaultProps = {\n isTaskModalDeleteOpen: false,\n setTaskModalOpen: null,\n setTaskModalDelete: null,\n onDeleteTasksAsThunk: null,\n ids: [],\n uuid: null,\n taskFilters: \"\",\n onBulkEditTasksAsThunk: null,\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpTasksReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onBulkEditTasksAsThunk: (selectedTasks, listingUuid, filtered, payload) =>\n dispatch(bulkEditTasksAsThunk(selectedTasks, listingUuid, filtered, payload)),\n onDeleteTasksAsThunk: (ids, uuid, taskFilters) => dispatch(deleteTasksAsThunk(ids, uuid, taskFilters)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withFilters(ModalDeleteTask));\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nconst TaskItemName = ({ onClick, name, className, ...otherProps }) => (\n \n

{name}

\n \n);\n\nTaskItemName.propTypes = {\n onClick: func,\n name: string,\n className: string,\n};\n\nTaskItemName.defaultProps = {\n onClick: null,\n name: \"\",\n className: \"\",\n};\n\nexport default TaskItemName;\n","import React from \"react\";\nimport { func, bool, string } from \"prop-types\";\n\nimport TaskItemName from \"../TaskItemName\";\nimport TaskItemAssignedPlanIcon from \"../TaskItemAssignedPlanIcon\";\n\nconst TaskItemNameFrame = ({ hasAssignedPlan, nameOnClick, name }) => (\n
\n \n \n
\n);\n\nTaskItemNameFrame.propTypes = {\n hasAssignedPlan: bool,\n nameOnClick: func.isRequired,\n name: string,\n};\n\nTaskItemNameFrame.defaultProps = {\n hasAssignedPlan: false,\n name: null,\n};\n\nexport default TaskItemNameFrame;\n","import React from \"react\";\nimport { bool } from \"prop-types\";\n\nimport { VisibilityVisible, VisibilityHidden } from \"../../../../shared/v2/Icomoon\";\n\nconst VisibilityView = ({ visibility }) =>\n visibility ? (\n \n ) : (\n \n );\n\nVisibilityView.propTypes = {\n visibility: bool,\n};\n\nVisibilityView.defaultProps = {\n visibility: false,\n};\n\nexport default VisibilityView;\n","/* eslint-disable camelcase */\nimport React, { useEffect, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, shape, string, bool, number, func } from \"prop-types\";\nimport { tdpTasks, tdpDetails } from \"../../../../shared/HOCs/withRedux\";\n\nimport { taskSelect } from \"../actions/creators\";\nimport { editTaskAsThunk } from \"../actions/thunks\";\nimport { defaultState } from \"../ModalAddEditTask/constants\";\n\nimport withFilters from \"../HOCs/withFilters\";\nimport TASK_STYLES from \"./constants\";\nimport {\n IS_TASK_SELECTION_MODE,\n UUID,\n SELECTED_TASK,\n CURRENT_USER,\n} from \"../../../../shared/reduxRoutes/tdpTasksRoutes\";\n\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\nimport TaskAvatar from \"../TaskAvatar\";\nimport ModalShowTask from \"../ModalShowTask\";\nimport ModalDeleteTask from \"../ModalDeleteTask\";\nimport ModalAddEditTask from \"../ModalAddEditTask\";\nimport TaskItemNameFrame from \"../TaskItemNameFrame\";\nimport VisibilityView from \"./fractals\";\nimport Tooltip from \"../../../../shared/v2/Tooltip\";\nimport { contingentText } from \"../ModalShowTask/helpers\";\n\nconst Task = ({\n currentUser,\n task,\n onEditTaskAsThunk,\n onTaskSelect,\n uuid,\n taskFilters,\n isTasksSelectionMode,\n selectedTasks,\n useCompletedUser,\n}) => {\n const {\n name,\n assigned_person,\n priority,\n due_on,\n externally_visible,\n id,\n completed_at,\n assignedPlan,\n completed_by,\n contingent,\n } = task;\n const [isTaskModalOpen, setTaskModalOpen] = useState(false);\n const [isTaskModalDeleteOpen, setTaskModalDelete] = useState(false);\n const [isModalAddTaskOpen, setModalAddTaskOpen] = useState(false);\n\n const [checked, toggleChecked] = useState(false);\n useEffect(() => {\n toggleChecked(!!completed_at);\n }, [completed_at]);\n\n let displayUser = useCompletedUser ? completed_by : assigned_person;\n const displayDate = useCompletedUser ? completed_at : due_on;\n if (displayUser === undefined) {\n displayUser = assigned_person;\n }\n return (\n <>\n \n \n \n \n {isTasksSelectionMode ? (\n {\n onTaskSelect(id);\n }}\n />\n ) : (\n {\n toggleChecked((prev) => !prev);\n onEditTaskAsThunk(\n {\n ...defaultState(uuid, task),\n ...(() =>\n checked\n ? { run: true }\n : { completed: \"true\", completed_by_user_id: currentUser.uuid })(),\n id,\n },\n uuid,\n taskFilters,\n );\n }}\n />\n )}\n setTaskModalOpen((prev) => !prev)}\n name={name}\n />\n
\n \n
\n
\n {priority}\n
\n
\n {displayDate || \"TBD\"}
\n }\n content={contingentText(contingent, due_on)}\n tooltipClassName=\"tw-ml-[-12px]\"\n />\n
\n \n
\n
\n
\n \n );\n};\n\nTask.propTypes = {\n task: shape({\n assigned_person: shape({}),\n completed_at: string,\n due_on: string,\n dueness: string,\n externally_visible: bool,\n id: string,\n name: string,\n priority: number,\n state: string,\n }),\n onEditTaskAsThunk: func,\n onTaskSelect: func,\n isTasksSelectionMode: bool,\n uuid: string,\n taskFilters: string,\n selectedTasks: arrayOf(string),\n useCompletedUser: bool,\n currentUser: shape({\n uuid: string.isRequired,\n }).isRequired,\n};\n\nTask.defaultProps = {\n task: {\n assigned_person: null,\n completed_at: null,\n due_on: null,\n dueness: null,\n externally_visible: false,\n id: null,\n name: null,\n priority: 0,\n state: null,\n },\n onEditTaskAsThunk: null,\n onTaskSelect: null,\n isTasksSelectionMode: false,\n uuid: \"\",\n taskFilters: \"\",\n selectedTasks: [],\n useCompletedUser: false,\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n onEditTaskAsThunk: (payload, uuid, filtered) => dispatch(editTaskAsThunk(payload, uuid, filtered)),\n onTaskSelect: (id) => dispatch(taskSelect(id)),\n});\n\nconst TaskWrapped = connect(null, mapDispatchToProps)(withFilters(Task));\n\nconst TaskWrapComp = tdpTasks({\n WrappedComponent: TaskWrapped,\n states: [IS_TASK_SELECTION_MODE, UUID, SELECTED_TASK],\n});\n\nexport default tdpDetails({\n WrappedComponent: TaskWrapComp,\n states: [CURRENT_USER],\n});\n","import React, { useState } from \"react\";\nimport moment from \"moment/moment\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, bool, func, string } from \"prop-types\";\n\nimport { setModalBulkRescheduleTaskOpen } from \"../actions/creators\";\nimport { bulkEditTasksAsThunk } from \"../actions/thunks\";\nimport withFilters from \"../HOCs/withFilters\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport DatePicker from \"../../../../shared/v2/DatePicker/DatePicker\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst ModalBulkRescheduleTask = ({\n isModalRescheduleTaskOpen,\n onSetModalRescheduleTaskOpen,\n onBulkEditTasksAsThunk,\n selectedTasks,\n listingUuid,\n taskFilters,\n}) => {\n const [rescheduleDate, setRescheduleDate] = useState(moment(new Date()).format(\"MM/DD/YYYY\"));\n\n return (\n \n \n \n
\n Your client does not see when you reschedule a task. Select a new due date below to reschedule.\n
\n
\n Reschedule Tasks To{\" \"}\n
\n \n
\n \n \n {\n onSetModalRescheduleTaskOpen();\n onBulkEditTasksAsThunk(selectedTasks, listingUuid, taskFilters, {\n due_on: moment(rescheduleDate, \"MM/DD/YYYY\").format(\"YYYY-MM-DD\"),\n });\n }}\n >\n RESCHEDULE\n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n isModalRescheduleTaskOpen: state.tdpTasksReducer.isModalRescheduleTaskOpen,\n selectedTasks: state.tdpTasksReducer.selectedTasks,\n listingUuid: state.tdpTasksReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSetModalRescheduleTaskOpen: () => dispatch(setModalBulkRescheduleTaskOpen()),\n onBulkEditTasksAsThunk: (selectedTasks, listingUuid, filtered, payload) =>\n dispatch(bulkEditTasksAsThunk(selectedTasks, listingUuid, filtered, payload)),\n});\n\nModalBulkRescheduleTask.propTypes = {\n isModalRescheduleTaskOpen: bool,\n selectedTasks: arrayOf(string),\n onSetModalRescheduleTaskOpen: func,\n onBulkEditTasksAsThunk: func,\n listingUuid: string,\n taskFilters: string,\n};\n\nModalBulkRescheduleTask.defaultProps = {\n isModalRescheduleTaskOpen: false,\n selectedTasks: [],\n onSetModalRescheduleTaskOpen: null,\n onBulkEditTasksAsThunk: null,\n listingUuid: null,\n taskFilters: string,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withFilters(ModalBulkRescheduleTask));\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, bool, func, shape, string } from \"prop-types\";\n\nimport { setModalBulkReassignTaskOpen } from \"../actions/creators\";\nimport { bulkEditTasksAsThunk } from \"../actions/thunks\";\nimport withFilters from \"../HOCs/withFilters\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst ModalBulkReassignTask = ({\n isModalReassignTaskOpen,\n onSetModalReassignTaskOpen,\n onBulkEditTasksAsThunk,\n selectedTasks,\n listingUuid,\n taskFilters,\n assignableAgents,\n}) => {\n const [assignedTeamMate, setAssignedTeamMate] = useState(assignableAgents[0]);\n\n return (\n \n \n \n \n \n \n \n {\n onSetModalReassignTaskOpen();\n onBulkEditTasksAsThunk(selectedTasks, listingUuid, taskFilters, {\n assigned_to_user_id: assignedTeamMate.value,\n });\n }}\n >\n REASSIGN\n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n isModalReassignTaskOpen: state.tdpTasksReducer.isModalReassignTaskOpen,\n selectedTasks: state.tdpTasksReducer.selectedTasks,\n listingUuid: state.tdpTasksReducer.uuid,\n assignableAgents: state.tdpTasksReducer.assignableAgents,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSetModalReassignTaskOpen: () => dispatch(setModalBulkReassignTaskOpen()),\n onBulkEditTasksAsThunk: (selectedTasks, listingUuid, filtered, payload) =>\n dispatch(bulkEditTasksAsThunk(selectedTasks, listingUuid, filtered, payload)),\n});\n\nModalBulkReassignTask.propTypes = {\n isModalReassignTaskOpen: bool,\n selectedTasks: arrayOf(string),\n onSetModalReassignTaskOpen: func,\n onBulkEditTasksAsThunk: func,\n listingUuid: string,\n taskFilters: string,\n assignableAgents: arrayOf(shape({})),\n};\n\nModalBulkReassignTask.defaultProps = {\n isModalReassignTaskOpen: false,\n selectedTasks: [],\n onSetModalReassignTaskOpen: null,\n onBulkEditTasksAsThunk: null,\n listingUuid: null,\n taskFilters: string,\n assignableAgents: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withFilters(ModalBulkReassignTask));\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, bool, func, shape, string } from \"prop-types\";\n\nimport { setTaskModalBulkDelete } from \"../actions/creators\";\n\nimport Task from \"../Task\";\nimport ModalDeleteTask from \"../ModalDeleteTask\";\nimport ModalBulkRescheduleTask from \"../ModalBulkRescheduleTask\";\nimport ModalBulkReassignTask from \"../ModalBulkReassignTask\";\n\nconst TaskList = ({\n activeTasks,\n selectedTasks,\n isModalBulkDeleteOpen,\n onSetTaskModalBulkDelete,\n isCompletedTab,\n}) => (\n <>\n \n \n \n
\n {activeTasks.map((task) => (\n \n ))}\n
\n \n);\n\nconst mapStateToProps = (state) => ({\n activeTasks: state.tdpTasksReducer.activeTasks,\n selectedTasks: state.tdpTasksReducer.selectedTasks,\n isModalBulkDeleteOpen: state.tdpTasksReducer.isModalBulkDeleteOpen,\n isCompletedTab: state.tdpTasksReducer.primaryActiveList.indexOf(\"completed_at\") > -1,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSetTaskModalBulkDelete: () => dispatch(setTaskModalBulkDelete()),\n});\n\nTaskList.propTypes = {\n activeTasks: arrayOf(shape({})),\n selectedTasks: arrayOf(string),\n isModalBulkDeleteOpen: bool,\n onSetTaskModalBulkDelete: func,\n isCompletedTab: bool.isRequired,\n};\n\nTaskList.defaultProps = {\n activeTasks: [],\n selectedTasks: arrayOf(string),\n isModalBulkDeleteOpen: false,\n onSetTaskModalBulkDelete: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(TaskList);\n","const PRIMARY_ACTIVE = {\n overdue: \"Overdue, Due Today, or Upcoming\",\n due_today: \"Overdue, Due Today, or Upcoming\",\n upcoming: \"Overdue, Due Today, or Upcoming\",\n contingent: \"Contingent\",\n completed_at: \"Completed\",\n};\n\nexport default (primaryActiveList) =>\n !primaryActiveList[0]\n ? \"No task categories are selected.\"\n : `No ${PRIMARY_ACTIVE[primaryActiveList[0]]} tasks to display.`;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\n\nimport { toggleModalAddTaskOpen } from \"../actions/creators\";\nimport taskFilterHelper from \"./helpers\";\n\nimport Button from \"../../../../shared/v2/Button\";\n\nconst NO_TASK_STYLING = {\n container:\n \"tw--mt-[4px] tw-border-t-[1px] tw-border-r-0 tw-border-l-0 tw-border-b-0 tw-border-neutral-gray-50 tw-border-solid tw-pt-[16px] tw-flex tw-flex-col tw-items-center\",\n text: \"tw-font-normal tw-font tw-text-neutral-gray-50 tw-mb-[16px]\",\n};\n\nconst mapStateToPropsFilters = (state) => ({\n primaryActiveList: state.tdpTasksReducer.primaryActiveList,\n});\n\nconst mapDispatchToPropsNoTasks = (dispatch) => ({\n onToggleModalAddTaskOpen: (boolean) => dispatch(toggleModalAddTaskOpen(boolean)),\n});\n\nexport const NoTasks = connect(\n null,\n mapDispatchToPropsNoTasks,\n)(({ onToggleModalAddTaskOpen }) => (\n
\n
No tasks have been added to this transaction.
\n \n
\n));\n\nexport const NoTasksInFilters = connect(mapStateToPropsFilters)(({ primaryActiveList }) => (\n
\n
{taskFilterHelper(primaryActiveList)}
\n
\n));\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool } from \"prop-types\";\n\nimport { NoTasksInFilters, NoTasks } from \"./fractals\";\n\nconst EmptyStates = ({ hasTasks }) => (hasTasks ? : );\n\nconst mapStateToProps = (state) => ({\n hasTasks: Boolean(state.tdpTasksReducer?.tasks?.length),\n});\n\nEmptyStates.defaultProps = {\n hasTasks: bool,\n};\n\nEmptyStates.propTypes = {\n hasTasks: false,\n};\n\nexport default connect(mapStateToProps)(EmptyStates);\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, number, string } from \"prop-types\";\n\nimport { getAllTasksAsThunk } from \"../actions/thunks\";\nimport { clearTasksAndFilters } from \"../actions/creators\";\n\nimport Label from \"../Label\";\nimport TaskList from \"../TaskList\";\nimport EmptyStates from \"../EmptyStates\";\n\nconst Main = ({ onGetAllTasksAsThunk, uuid, hasActiveTasks, onClearActiveTasks }) => {\n useEffect(() => {\n if (uuid.length) {\n onGetAllTasksAsThunk(uuid);\n }\n\n return () => {\n onClearActiveTasks();\n };\n }, []);\n\n return (\n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpTasksReducer.uuid,\n hasActiveTasks: state.tdpTasksReducer.activeTasks.length,\n primaryActiveList: state.tdpTasksReducer.primaryActiveList,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onGetAllTasksAsThunk: (uuid, primaryActiveList) => dispatch(getAllTasksAsThunk(uuid, primaryActiveList)),\n onClearActiveTasks: () => dispatch(clearTasksAndFilters()),\n});\n\nMain.propTypes = {\n uuid: string,\n onGetAllTasksAsThunk: func,\n hasActiveTasks: number,\n onClearActiveTasks: func,\n};\n\nMain.defaultProps = {\n uuid: \"\",\n onGetAllTasksAsThunk: null,\n hasActiveTasks: 0,\n onClearActiveTasks: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Main);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, shape, string } from \"prop-types\";\n\nimport Avatar from \"../../../../shared/v2/Avatar\";\nimport AvatarGroup from \"../../../../shared/v2/AvatarGroup/AvatarGroup\";\n\nconst mapStateToProps = (state) => ({\n byTeamMember: state.tdpTasksReducer.secondaryFilters.byTeamMember,\n});\n\nexport const TaskHeaderAvatars = connect(mapStateToProps)(({ activeTeamMembers, byTeamMember }) => (\n \n {activeTeamMembers.map((id) => (\n \n {byTeamMember[id]?.fullName}\n \n ))}\n \n));\n\nexport const TaskHeaderAutoPlansText = ({ activeAutoPlans }) => (\n {activeAutoPlans.length > 1 ? `${activeAutoPlans.length} Autoplans` : activeAutoPlans[0]}\n);\n\nTaskHeaderAvatars.propTypes = {\n activeTeamMembers: arrayOf(string),\n byTeamMember: shape({}),\n};\n\nTaskHeaderAvatars.defaultProps = {\n activeTeamMembers: arrayOf(string),\n byTeamMember: null,\n};\n\nTaskHeaderAutoPlansText.propTypes = {\n activeAutoPlans: arrayOf(string),\n};\n\nTaskHeaderAutoPlansText.defaultProps = {\n activeAutoPlans: arrayOf(string),\n};\n","import React, { useState } from \"react\";\nimport { arrayOf, bool, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport withTaskSelectionMode from \"../HOCs/withTaskSelectionMode\";\n\nimport { TaskHeaderAvatars, TaskHeaderAutoPlansText } from \"./fractals\";\nimport { Info } from \"../../../../shared/v2/Icomoon\";\nimport HoverInfoTxt from \"../HoverInfoTxt\";\n\nconst TasksHeader = ({ activeUnassigned, activeTeamMembers, activeAutoPlans, isTasksSelectionMode }) => {\n const [isHoverInfoOn, setIsHoverInfoOn] = useState(false);\n\n return (\n
\n \n {!isTasksSelectionMode && activeUnassigned && \"Unassigned Tasks\"}\n {(!!activeTeamMembers.length || !!activeAutoPlans.length) && !isTasksSelectionMode && \"Tasks for:\"}\n {!activeUnassigned &&\n !activeTeamMembers.length &&\n !activeAutoPlans.length &&\n !isTasksSelectionMode &&\n \"All Tasks\"}\n {isTasksSelectionMode && \"Task Selection\"}\n \n {isTasksSelectionMode && (\n setIsHoverInfoOn(true)} onMouseLeave={() => setIsHoverInfoOn(false)} />\n )}\n \n Select 1 or more tasks to apply a task action.\n \n
\n {!!activeTeamMembers.length && !isTasksSelectionMode && (\n \n )}\n \n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n activeUnassigned: state.tdpTasksReducer.secondaryFilters.activeUnassigned,\n activeTeamMembers: state.tdpTasksReducer.secondaryFilters.activeTeamMembers,\n activeAutoPlans: state.tdpTasksReducer.secondaryFilters.activeAutoPlans,\n});\n\nTasksHeader.propTypes = {\n activeUnassigned: bool,\n activeTeamMembers: arrayOf(string),\n activeAutoPlans: arrayOf(string),\n isTasksSelectionMode: bool,\n};\n\nTasksHeader.defaultProps = {\n activeUnassigned: false,\n activeTeamMembers: [],\n activeAutoPlans: [],\n isTasksSelectionMode: bool,\n};\n\nexport default connect(mapStateToProps)(withTaskSelectionMode(TasksHeader));\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { getTeamAsThunk, getTitleAsThunk } from \"./actions/thunks\";\n\nimport withTaskSelectionMode from \"./HOCs/withTaskSelectionMode\";\n\nimport Header from \"../../UI/Header\";\nimport HeaderOptions from \"./HeaderOptions\";\nimport Filters from \"./Filters\";\nimport TaskSelections from \"./TaskSelections\";\nimport Main from \"./Main\";\nimport TasksHeader from \"./TasksHeader\";\n\nconst TasksWrapper = ({ onGetTeamAsThunk, onGetTitleAsThunk, uuid, isTasksSelectionMode }) => {\n useEffect(() => {\n onGetTeamAsThunk();\n onGetTitleAsThunk(uuid);\n }, []);\n\n return (\n <>\n
} add={} />\n {isTasksSelectionMode ? : }\n
\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpTasksReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onGetTeamAsThunk: () => dispatch(getTeamAsThunk()),\n onGetTitleAsThunk: (uuid) => dispatch(getTitleAsThunk(uuid)),\n});\n\nTasksWrapper.propTypes = {\n onGetTeamAsThunk: func,\n onGetTitleAsThunk: func,\n uuid: string,\n isTasksSelectionMode: bool,\n};\n\nTasksWrapper.defaultProps = {\n onGetTeamAsThunk: null,\n onGetTitleAsThunk: null,\n uuid: \"\",\n isTasksSelectionMode: false,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(withTaskSelectionMode(TasksWrapper));\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport StarFilled from \"../../../../shared/v2/Icomoon/Icons/StarFilled\";\nimport StarOutline from \"../../../../shared/v2/Icomoon/Icons/StarOutline\";\nimport VisibilityVisible from \"../../../../shared/v2/Icomoon/Icons/VisibilityVisible\";\nimport VisibilityHidden from \"../../../../shared/v2/Icomoon/Icons/VisibilityHidden\";\n\nconst HeaderOptions = ({ starred, setStarred, externallyVisible, setExternallyVisible }) => (\n \n setExternallyVisible(!externallyVisible)}\n >\n {externallyVisible ? : }\n \n setStarred(!starred)}\n className=\"tw-ml-[6px]\"\n >\n {starred ? : }\n \n \n);\n\nHeaderOptions.propTypes = {\n starred: bool.isRequired,\n setStarred: func.isRequired,\n externallyVisible: bool.isRequired,\n setExternallyVisible: func.isRequired,\n};\nexport default HeaderOptions;\n","import axios from \"axios\";\n\nexport const getAllNotesFromApi = (uuid) =>\n axios.get(`/api/v4/transactions/notes/?uuid=${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const postNoteToApi = (note, uuid) =>\n axios.post(`/api/v4/transactions/notes/?uuid=${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n note,\n });\n\nexport const patchNoteFromApi = (note, uuid) =>\n axios.patch(`/api/v4/transactions/notes/${note.id}/?uuid=${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n note,\n });\n\nexport const deleteNoteFromApi = (note, uuid) =>\n axios.delete(`/api/v4/transactions/notes/${note.id}?uuid=${uuid}`, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n","import { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport { getAllNotesFromApi, postNoteToApi, patchNoteFromApi, deleteNoteFromApi } from \"../api/apiWrappers\";\nimport { saveAllNotes, saveError, saveErrors, addNote, updateNote, deleteNote } from \"./creators\";\n\nexport const getAllNotesAsThunk = (uuid) => async (dispatch) => {\n const req = getAllNotesFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n if (err) {\n dispatch(saveError(err.response.data.errors[0]));\n return;\n }\n return;\n }\n\n dispatch(saveAllNotes(res.data));\n};\n\nexport const postNoteAsThunk = (payload, uuid) => async (dispatch) => {\n const req = postNoteToApi(payload, uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(saveError(err.response.data.errors[0]));\n return;\n }\n dispatch(addNote(res.data));\n};\n\nexport const patchNoteAsThunk = (payload, uuid) => async (dispatch) => {\n const req = patchNoteFromApi(payload, uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n const status = err.response?.status;\n const errors = err.response.data?.errors;\n\n dispatch(saveErrors(errors, status));\n return;\n }\n\n dispatch(updateNote(res.data));\n};\n\nexport const deleteNoteAsThunk = (payload, uuid) => async (dispatch) => {\n const req = deleteNoteFromApi(payload, uuid);\n const [, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(saveError(err.response.data.errors[0]));\n return;\n }\n\n dispatch(deleteNote(payload.id));\n};\n","import React from \"react\";\nimport { bool, func, shape, string } from \"prop-types\";\nimport { postNoteAsThunk } from \"../actions/thunks\";\nimport Button from \"../../../../shared/v2/Button\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nconst FooterOptions = ({\n uuid,\n note,\n setNote,\n starred,\n externallyVisible,\n setExternallyVisible,\n onPostNoteAsThunk,\n}) => {\n const clearNote = () => {\n setNote({\n ...note,\n content: \"\",\n starred: false,\n externally_visible: false,\n });\n setExternallyVisible(false);\n };\n\n const postNote = async () => {\n await onPostNoteAsThunk({ ...note, starred, externally_visible: externallyVisible }, uuid);\n clearNote();\n };\n\n return (\n
\n \n \n
\n );\n};\n\nconst withTdpDetails = tdpDetails({\n WrappedComponent: FooterOptions,\n states: LISTING_UUID,\n});\n\nexport default withDispatch({\n WrappedComponent: withTdpDetails,\n actions: postNoteAsThunk,\n aliases: \"onPostNoteAsThunk\",\n});\n\nFooterOptions.propTypes = {\n uuid: string,\n note: shape({}),\n setNote: func.isRequired,\n starred: bool.isRequired,\n externallyVisible: bool.isRequired,\n setExternallyVisible: func.isRequired,\n onPostNoteAsThunk: func.isRequired,\n};\n\nFooterOptions.defaultProps = {\n uuid: \"\",\n note: {},\n};\n","export const NOTES = \"notes\";\nexport const ERRORS = 'errors';\nexport const ISEDITNOTEMODALOPEN = 'isEditNoteModalOpen';\nexport const EDITNOTE = 'editNote';","import React from \"react\";\nimport { string, func, shape, bool } from \"prop-types\";\n\nimport { deleteNoteAsThunk } from \"../actions/thunks\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst DeleteNoteConfirmationModal = ({\n deleteListing,\n setDeleteListing,\n onDeleteNoteAsThunk,\n uuid,\n note,\n}) => (\n setDeleteListing(false)}\n >\n \n
\n Delete Note\n
\n
\n \n

\n Are you sure you want to delete this note?\n

\n
\n \n \n \n \n \n);\n\nconst withTdpDetails = tdpDetails({\n WrappedComponent: DeleteNoteConfirmationModal,\n states: LISTING_UUID,\n});\n\nexport default withDispatch({\n WrappedComponent: withTdpDetails,\n actions: deleteNoteAsThunk,\n aliases: \"onDeleteNoteAsThunk\",\n});\n\nDeleteNoteConfirmationModal.propTypes = {\n deleteListing: bool,\n setDeleteListing: func,\n onDeleteNoteAsThunk: func,\n uuid: string,\n note: shape({}),\n};\n\nDeleteNoteConfirmationModal.defaultProps = {\n deleteListing: false,\n setDeleteListing: () => {},\n onDeleteNoteAsThunk: () => {},\n uuid: \"\",\n note: {},\n};\n","import React, { useState } from \"react\";\nimport { string, func, shape } from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faPencilAlt } from \"@fortawesome/free-solid-svg-icons\";\nimport VisibilityHidden from \"../../../../shared/v2/Icomoon/Icons/VisibilityHidden\";\nimport VisibilityVisible from \"../../../../shared/v2/Icomoon/Icons/VisibilityVisible\";\nimport StarFilled from \"../../../../shared/v2/Icomoon/Icons/StarFilled\";\nimport StarOutline from \"../../../../shared/v2/Icomoon/Icons/StarOutline\";\nimport Trash from \"../../../../shared/v2/Icomoon/Icons/Trash\";\nimport Toggle from \"../../../../shared/v2/Toggle/Toggle\";\nimport { patchNoteAsThunk } from \"../actions/thunks\";\nimport { setEditNoteModal } from \"../actions/creators\";\nimport DeleteNoteConfirmationModal from \"../DeleteNoteConfirmationModal\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nconst EllipsisDropdown = ({ uuid, note, onPatchNoteAsThunk, onSetEditNoteModal }) => {\n const [deleteListing, setDeleteListing] = useState(false);\n return (\n <>\n
\n
\n onSetEditNoteModal(true, note)}\n >\n \n
Edit
\n \n
\n\n
\n
{note.externally_visible ? : }
\n
Visible to Viewers
\n
\n {\n onPatchNoteAsThunk({ ...note, externally_visible: !note.externally_visible }, uuid);\n }}\n checked={note.externally_visible}\n />\n
\n
\n
\n
{note.starred ? : }
\n
Mark as Important
\n
\n {\n onPatchNoteAsThunk({ ...note, starred: !note.starred }, uuid);\n }}\n checked={note.starred}\n />\n
\n
\n
\n
\n
\n \n
\n\n setDeleteListing(true)}\n >\n
Delete
\n \n
\n
\n \n \n );\n};\n\nconst withTdpDetails = tdpDetails({\n WrappedComponent: EllipsisDropdown,\n states: LISTING_UUID,\n});\n\nexport default withDispatch({\n WrappedComponent: withTdpDetails,\n actions: [patchNoteAsThunk, setEditNoteModal],\n aliases: [\"onPatchNoteAsThunk\", \"onSetEditNoteModal\"],\n});\n\nEllipsisDropdown.propTypes = {\n uuid: string.isRequired,\n note: shape({\n id: string,\n }),\n onPatchNoteAsThunk: func.isRequired,\n onSetEditNoteModal: func.isRequired,\n};\n\nEllipsisDropdown.defaultProps = {\n note: {\n id: \"\",\n },\n};\n","import { useEffect, useRef } from \"react\";\n\nexport default function useOnClickOutsideRef(callback, initialValue = null) {\n const elementRef = useRef(initialValue);\n useEffect(() => {\n function handler(event) {\n if (!elementRef.current?.contains(event.target)) {\n callback();\n }\n }\n window.addEventListener(\"click\", handler);\n return () => window.removeEventListener(\"click\", handler);\n }, [callback]);\n return elementRef;\n}\n","import React, { useState, useEffect } from \"react\";\nimport moment from \"moment\";\nimport { shape, number, string, bool } from \"prop-types\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport VisibilityHidden from \"../../../../shared/v2/Icomoon/Icons/VisibilityHidden\";\nimport VisibilityVisible from \"../../../../shared/v2/Icomoon/Icons/VisibilityVisible\";\nimport StarFilled from \"../../../../shared/v2/Icomoon/Icons/StarFilled\";\nimport Avatar from \"../../../../shared/v2/Avatar\";\nimport EllipsisIcon from \"../../../../Transactions/components/icons/EllipsisIcon\";\nimport EllipsisDropDown from \"../EllipsisDropDown\";\nimport useOnClickOutsideRef from \"../api/hooks\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { CURRENTUSERID, ISADMIN } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport LinkifyNotes from \"../../../shared/LinkifyNotes/LinkifyNotes\";\n\nconst SingleNote = ({ note, currentUserId, isAdmin }) => {\n const [openDropdown, setOpenDropdown] = useState(false);\n const [openEditor, setOpenEditor] = useState(false);\n\n const ellipsisModal = useOnClickOutsideRef(() => setOpenDropdown(false));\n\n useEffect(() => {\n if (openEditor) {\n setOpenDropdown(false);\n }\n }, [openEditor]);\n\n return (\n <>\n
\n
\n
\n
\n
\n \n
{`${note.owner.first_name} ${note.owner.last_name}`}
\n
\n
\n
\n {note.created_at.localeCompare(note.updated_at) !== 0 && \"Edited\"}\n
\n \n
\n
\n
\n {note.starred && }\n {note.externally_visible ? : }\n
\n\n
\n {moment(note.updated_at).fromNow()}\n
\n
\n
{moment(note.updated_at).format(\"MM/DD/YYYY\")}
\n
{moment(note.updated_at).format(\"hh:mm A\")}
\n
\n {(isAdmin || note.owner.id === currentUserId) && (\n
\n setOpenDropdown(!openDropdown)}\n >\n \n \n {openDropdown && (\n \n )}\n
\n )}\n
\n
\n
\n \n );\n};\n\nexport default tdpDetails({\n WrappedComponent: SingleNote,\n states: [CURRENTUSERID, ISADMIN],\n});\n\nSingleNote.propTypes = {\n note: shape({\n id: number,\n content: string,\n created_at: string,\n owner: {\n first_name: string,\n last_name: string,\n avatar_file_name: string,\n id: number,\n },\n }),\n currentUserId: number,\n isAdmin: bool,\n};\n\nSingleNote.defaultProps = {\n note: {\n id: \"\",\n content: \"\",\n created_at: \"\",\n owner: {\n first_name: \"\",\n last_name: \"\",\n avatar_file_name: \"\",\n id: \"\",\n },\n },\n currentUserId: \"\",\n isAdmin: false,\n};\n","import React, { useState } from \"react\";\nimport { bool, func } from \"prop-types\";\nimport CaretDown from \"../../../../shared/v2/Icomoon/Icons/CaretDown\";\nimport VisibilityHidden from \"../../../../shared/v2/Icomoon/Icons/VisibilityHidden\";\nimport VisibilityVisible from \"../../../../shared/v2/Icomoon/Icons/VisibilityVisible\";\nimport useOnClickOutsideRef from \"../api/hooks\";\n\nconst FilterNotes = ({\n setShowAllNotes,\n showAllNotes,\n setShowExternallyVisibleNotes,\n showExternallyVisibleNotes,\n setNotExternallyVisibleNotes,\n notExternallyVisibleNotes,\n}) => {\n const [showFilter, setShowFilter] = useState(false);\n\n const outsideClick = useOnClickOutsideRef(() => setShowFilter(false));\n\n const switchFilter = (filter) => {\n switch (filter) {\n case \"showAllNotes\":\n setShowAllNotes(true);\n setShowExternallyVisibleNotes(false);\n setNotExternallyVisibleNotes(false);\n setShowFilter(false);\n break;\n case \"showExternallyVisibleNotes\":\n setShowAllNotes(false);\n setShowExternallyVisibleNotes(true);\n setNotExternallyVisibleNotes(false);\n setShowFilter(false);\n break;\n case \"notExternallyVisibleNotes\":\n setShowAllNotes(false);\n setShowExternallyVisibleNotes(false);\n setNotExternallyVisibleNotes(true);\n setShowFilter(false);\n break;\n default:\n setShowAllNotes(true);\n setShowExternallyVisibleNotes(false);\n setNotExternallyVisibleNotes(false);\n setShowFilter(false);\n }\n };\n\n return (\n
\n
\n setShowFilter(!showFilter)}\n >\n
\n {showAllNotes && (\n
\n All Notes\n
\n )}\n {showExternallyVisibleNotes && (\n
\n Visible to Viewers\n
\n )}\n {notExternallyVisibleNotes && (\n
\n \n Not Visible to Viewers\n
\n )}\n
\n \n
\n
\n \n {showFilter && (\n
\n switchFilter(\"showAllNotes\")}\n >\n
\n All Notes\n
\n \n switchFilter(\"showExternallyVisibleNotes\")}\n >\n
\n Visible to Viewers\n
\n \n switchFilter(\"notExternallyVisibleNotes\")}\n >\n
\n \n Not Visible to Viewers\n
\n \n
\n )}\n
\n
\n );\n};\n\nFilterNotes.propTypes = {\n setShowAllNotes: func.isRequired,\n showAllNotes: bool.isRequired,\n setShowExternallyVisibleNotes: func.isRequired,\n showExternallyVisibleNotes: bool.isRequired,\n setNotExternallyVisibleNotes: func.isRequired,\n notExternallyVisibleNotes: bool.isRequired,\n};\n\nexport default FilterNotes;\n","import React, { useEffect, useState } from \"react\";\nimport { shape, string, bool, func, number, oneOfType, arrayOf } from \"prop-types\";\n\nimport { patchNoteAsThunk } from \"../actions/thunks\";\nimport { setEditNoteModal } from \"../actions/creators\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport MentionablePersonTextArea from \"../../../../shared/mentions/MentionablePersonTextArea\";\nimport ErrorBanner from \"../../../../shared/v2/ErrorBanner\";\nimport { tdpDetails, tdpNotes } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID, NOTABLEID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { EDITNOTE, ERRORS, ISEDITNOTEMODALOPEN, NOTES } from \"../../../../shared/reduxRoutes/tdpNotesRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nconst EditNoteModal = ({\n note,\n onPatchNoteAsThunk,\n uuid,\n errors,\n notableId,\n isEditNoteModalOpen,\n onSetEditNoteModal,\n}) => {\n const [noteContent, setNoteContent] = useState(\"\");\n\n useEffect(() => {\n setNoteContent(note?.markdown_content);\n }, [note]);\n\n return (\n
\n onSetEditNoteModal(false)}\n >\n \n
\n Edit Note\n
\n
\n \n {errors && }\n
\n \n
\n
\n \n \n onPatchNoteAsThunk({ ...note, content: noteContent }, uuid)}\n disabled={!noteContent?.length}\n >\n Save\n \n \n \n
\n );\n};\n\nconst withTdpDetails = tdpDetails({\n WrappedComponent: EditNoteModal,\n states: [LISTING_UUID, NOTABLEID],\n});\n\nconst withTdpNotes = tdpNotes({\n WrappedComponent: withTdpDetails,\n states: [EDITNOTE, NOTES, ERRORS, ISEDITNOTEMODALOPEN],\n aliases: [\"note\"],\n});\n\nexport default withDispatch({\n WrappedComponent: withTdpNotes,\n actions: [patchNoteAsThunk, setEditNoteModal],\n aliases: [\"onPatchNoteAsThunk\", \"onSetEditNoteModal\"],\n});\n\nEditNoteModal.propTypes = {\n uuid: string.isRequired,\n note: shape({\n id: number,\n }),\n isEditNoteModalOpen: bool,\n onPatchNoteAsThunk: func.isRequired,\n errors: oneOfType([arrayOf(string), string]),\n notableId: number,\n onSetEditNoteModal: func,\n};\n\nEditNoteModal.defaultProps = {\n note: {\n id: \"\",\n },\n isEditNoteModalOpen: false,\n errors: \"\",\n notableId: \"\",\n onSetEditNoteModal: () => {},\n};\n","import React, { useState, useEffect } from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { getAllNotesAsThunk } from \"../actions/thunks\";\nimport { tdpDetails, tdpNotes } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { NOTES } from \"../../../../shared/reduxRoutes/tdpNotesRoutes\";\n\nimport SingleNote from \"../SingleNote\";\nimport FilterNotes from \"../Filter/FilterNotes\";\nimport EditNoteModal from \"../EditNoteModal\";\n\nconst AllNotes = ({ uuid, notes, onGetAllNotesAsThunk }) => {\n useEffect(() => {\n if (uuid.length) onGetAllNotesAsThunk(uuid);\n }, [uuid]);\n\n const [showMore, setShowMore] = useState(5);\n const [showAllNotes, setShowAllNotes] = useState(true);\n const [showExternallyVisibleNotes, setShowExternallyVisibleNotes] = useState(false);\n const [notExternallyVisibleNotes, setNotExternallyVisibleNotes] = useState(false);\n\n const notesToDisplay = notes?.filter((note) => {\n if (showAllNotes) return true;\n if (showExternallyVisibleNotes) return note.externally_visible;\n if (notExternallyVisibleNotes) return !note.externally_visible;\n return true;\n });\n return (\n
\n \n \n {notesToDisplay\n ?.filter((note) => note.starred)\n .map((note) => (\n \n ))}\n
\n
\n Recent\n
\n
\n
\n {notesToDisplay\n ?.filter((note) => !note.starred)\n .map((note) => (\n \n ))}\n\n {notesToDisplay.length >= showMore && (\n setShowMore(showMore + 5)}\n type=\"button\"\n className=\"tw-border-none tw-bg-transparent tw-text-center tw-text-[14px] tw-font-bold tw-leading-5 tw-tracking-normal tw-text-theme-primary\"\n >\n Show More\n \n )}\n {notesToDisplay.length ? (\n notesToDisplay?.length <= showMore && (\n
\n End of Notes\n
\n )\n ) : (\n
\n No one has written any notes yet.\n
\n )}\n
\n );\n};\n\nconst withTdpDetails = tdpDetails({\n WrappedComponent: AllNotes,\n states: LISTING_UUID,\n});\n\nconst withTdpNotes = tdpNotes({\n WrappedComponent: withTdpDetails,\n states: NOTES,\n});\n\nexport default withDispatch({\n WrappedComponent: withTdpNotes,\n actions: getAllNotesAsThunk,\n aliases: \"onGetAllNotesAsThunk\",\n});\n\nAllNotes.propTypes = {\n uuid: string,\n notes: [],\n onGetAllNotesAsThunk: func,\n};\n\nAllNotes.defaultProps = {\n uuid: \"\",\n notes: [],\n onGetAllNotesAsThunk: () => {},\n};\n","import React, { useState } from \"react\";\nimport { number } from \"prop-types\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Header from \"../../UI/Header\";\nimport HeaderOptions from \"./HeaderOptions\";\nimport MentionablePersonTextArea from \"../../../shared/mentions/MentionablePersonTextArea\";\nimport FooterOptions from \"./FooterOptions\";\nimport AllNotes from \"./AllNotes\";\nimport { tdpNotes } from \"../../../shared/HOCs/withRedux\";\nimport { NOTABLEID } from \"../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst NotesWrapper = ({ notableId }) => {\n const [starred, setStarred] = useState(false);\n const [externallyVisible, setExternallyVisible] = useState(false);\n const [note, setNote] = useState({\n content: \"\",\n });\n\n return (\n <>\n \n setNote({ ...note, content: text })}\n />\n \n
\n }\n />\n \n setNote({\n ...note,\n content: e,\n })\n }\n />\n \n\n \n \n );\n};\n\nexport default tdpNotes({\n WrappedComponent: NotesWrapper,\n states: NOTABLEID,\n});\n\nNotesWrapper.propTypes = {\n notableId: number,\n};\n\nNotesWrapper.defaultProps = {\n notableId: \"\",\n};\n","export default [\"baths\", \"beds\", \"foundation\", \"sqft\", \"year_built\", \"parking\"];\n","/* eslint-disable camelcase */\nimport moment from \"moment\";\nimport defaultPropertyDetails from \"../constants\";\nimport _ from \"lodash\";\nimport format from \"@shared/formatters\";\nimport { removeCommas } from \"@shared/v2/inputFormatUtils\";\n\nexport const mergeCompareObjects = (obj1, obj2) => {\n const result = {};\n\n for (const key in obj1) {\n if (obj1.hasOwnProperty(key) && obj2.hasOwnProperty(key)) {\n const nestedObj = {};\n nestedObj[`mls_${key}`] = obj1[key];\n nestedObj[`current_${key}`] = obj2[key];\n nestedObj.isSelectable = obj1[key] != \"—\" && obj2[key] != \"—\" && obj1[key] != obj2[key];\n nestedObj.mlsChecked = true;\n nestedObj.currentChecked = false;\n result[key] = nestedObj;\n }\n }\n return result;\n};\n\nexport const setDefaultValues = (obj, allKeys) => {\n const newObj = _.defaults({}, obj);\n\n allKeys.forEach((key) => {\n if (!(key in newObj) || newObj[key] === \"\" || newObj[key] === null || newObj[key] === undefined) {\n newObj[key] = \"—\";\n }\n });\n\n return newObj;\n};\n\nexport const calcCommission = (price, commission, commissionPerc) =>\n commissionPerc ? 0.01 * +commission * price : +commission;\n\nexport const calcStatus = (status) => status.toLowerCase().replace(/ /g, \"\");\n\nexport const createPeopleListed = (teamMembers) =>\n (teamMembers || []).map(({ avatar, first_name, last_name, id }) => ({\n alt: `${first_name} ${last_name}`,\n id,\n avatar,\n }));\n\nexport const sortPropDetails = (state, { details }) => {\n const exceptionDetails = [\n \"agent_gci\",\n \"appraisal_date\",\n \"close_date\",\n \"close_price\",\n \"commission\",\n \"escrow_signing_date\",\n \"home_inspection_date\",\n \"mutual_acceptance_date\",\n \"price\",\n \"purchase_price\",\n \"mls_number\",\n ];\n\n const newState = { ...state };\n\n details.forEach(({ name, value, created_at, id }) => {\n const lowerCasedName = name.toLowerCase();\n const inDefaultPropDetails = defaultPropertyDetails.includes(lowerCasedName);\n const inExceptionDetails = exceptionDetails.includes(lowerCasedName);\n\n if (inDefaultPropDetails) newState.propertyDetails[lowerCasedName] = value;\n if (name === \"mls_number\") newState.listingDetails[lowerCasedName] = value;\n if (!inDefaultPropDetails && !inExceptionDetails) {\n newState.additionalDetails[lowerCasedName] = {\n value,\n created_at: moment(created_at).valueOf(),\n id,\n };\n }\n });\n\n [\"propertyDetails\", \"listingDetails\", \"additionalDetails\"].forEach((detailType) => {\n Object.keys(newState[detailType]).forEach((detailName) => {\n if (detailName === detailName.toLowerCase()) return;\n delete newState[detailType][detailName]; // remove no normalized detail name\n });\n });\n\n return newState;\n};\n\nexport const formatExistingNumber = (numericOrStringValue) =>\n numericOrStringValue ? format.number(removeCommas(numericOrStringValue.toString())) : null;\n","export const DATE_FORMAT = \"MM/DD/YYYY\";\nexport const TEXT_CLASSES =\n \"tw-text-left tw-h-[36px] tw-rounded-[8px] tw-text-14px tw-font-semibold tw-text-gray-50 tw-leading-[20px] \";\nexport const HEADING_TEXT_CLASSES =\n \"tw-flex tw-text-center tw-h-[36px] tw-rounded-[8px] tw-text-18px tw-font-normal tw-text-gray-50 tw-leading-[24px] \";\nexport const DETAIL_TEXT_CLASSES =\n \"tw-inline-flex tw-flex-row tw-justify-start tw-w-[218px] tw-text-left tw-items-center tw-truncate tw-h-[36px] tw-rounded-[8px] tw-pl-[32px] tw-pr-[8px] tw-text-14px tw-font-normal tw-text-gray-75 tw-leading-[20px] \";\nexport const allKeys = [\n \"streetAddress\",\n \"postalCode\",\n \"price\",\n \"mlsNumber\",\n \"beds\",\n \"baths\",\n \"sqFt\",\n \"city\",\n \"state\",\n \"county\",\n \"property_type\",\n \"neighborhood\",\n \"year_built\",\n \"parking\",\n \"foundation\",\n \"photosAvailable\",\n \"photos\",\n \"description\",\n];\n","import moment from \"moment\";\nimport format from \"../../../../shared/formatters\";\nimport { removeCommas } from \"../../../../shared/v2/inputFormatUtils\";\nimport { calcStatus, createPeopleListed, sortPropDetails } from \"./helpers\";\nimport { DATE_FORMAT } from \"./constants\";\n\nconst SERVER_DATE_FORMAT = \"YYYY-MM-DD\";\n\nexport const adaptDetailsPayloadToApi = (payload) => {\n switch (payload.key) {\n case \"date_listed\":\n case \"expiration_date\": {\n const date = moment(payload.value, DATE_FORMAT);\n\n return {\n ...payload,\n value: date.isValid() ? date.format(SERVER_DATE_FORMAT) : null,\n };\n }\n case \"est_close_price\":\n return {\n ...payload,\n value: Number(removeCommas(payload.value)),\n };\n case \"status\":\n return {\n ...payload,\n value: payload.value === \"comingsoon\" ? \"coming soon\" : payload.value,\n };\n default:\n return payload;\n }\n};\n\nconst adaptDatesPayloadFromApi = (dateAsString) => {\n if (dateAsString === null) {\n return null;\n }\n\n const date = moment(dateAsString, SERVER_DATE_FORMAT);\n\n return date.isValid() ? date.format(DATE_FORMAT) : null;\n};\n\nconst createPhotoset = (photos) =>\n photos.map((url, index) => ({\n id: index + 1,\n url,\n original: url,\n checked: false,\n deleteUrl: \"\",\n name: \"\",\n isMLS: true,\n }));\n\nexport const adaptGetAllDetails = (data) => {\n const state = {\n transactionDetails: {\n title: data.title,\n use_custom_title: data.use_custom_title,\n published: data.published ? \"Published\" : \"Draft\",\n status: calcStatus(data.status),\n est_close_price: format.number(data.est_close_price, 2, true),\n estimated_commission: data.estimated_commission,\n type: data.type,\n },\n listingDetails: {\n date_listed: adaptDatesPayloadFromApi(data.date_listed),\n expiration_date: adaptDatesPayloadFromApi(data.expiration_date),\n price: data.price,\n source: data.source,\n description: data.description,\n valid_mls_number: data[\"valid_mls_number?\"],\n buyers_agent_commission: {\n id: data?.buyers_agent_commission?.id || \"\",\n percentage: data?.buyers_agent_commission?.percentage ?? true,\n value: data?.buyers_agent_commission?.value || \"\",\n cooperative_compensation: data?.buyers_agent_commission?.cooperative_compensation || false,\n exclude_from_commissions: data?.buyers_agent_commission?.exclude_from_commissions || false,\n status: data?.buyers_agent_commission?.status || \"\",\n },\n deposit: {\n id: data?.deposit?.id,\n hold_earnest_money: data?.deposit?.hold_earnest_money,\n amount: data?.deposit?.amount,\n additional_amount: data?.deposit?.additional_amount,\n deposit_due: {\n id: data?.deposit?.deposit_due?.id,\n date: data?.deposit?.deposit_due?.date,\n name: data?.deposit?.deposit_due?.name,\n include_time: data?.deposit?.deposit_due?.include_time,\n display_time: data?.deposit?.deposit_due?.display_time,\n },\n additional_earnest_money_due: {\n id: data?.deposit?.additional_earnest_money_due?.id,\n date: data?.deposit?.additional_earnest_money_due?.date,\n name: data?.deposit?.additional_earnest_money_due?.name,\n include_time: data?.deposit?.additional_earnest_money_due?.include_time,\n display_time: data?.deposit?.additional_earnest_money_due?.display_time,\n },\n },\n },\n propertyDetails: {\n id: data.address?.id,\n street_address: data.address?.street_address,\n city: data.address?.city,\n state: data.address?.locality,\n zip: data.address?.postal_code,\n property_type: data.property_type,\n neighborhood: data.address?.neighborhood,\n county: data.address?.county,\n },\n referralPartnerDetails: {\n team: data.team,\n brokerage: data.brokerage,\n name: data.referral_partner\n ? `${data.referral_partner?.first_name} ${data.referral_partner?.last_name}`\n : null,\n pdpLink: data.referral_partner ? `/people/${data.referral_partner?.slug}` : null,\n },\n referralDetails: {\n transactionAmt: format.number(data.transaction_amount, 2, true),\n referralFee: data.referral_fee ? format.number(data.referral_fee, 2, !data[\"fee_percentage?\"]) : null,\n clientIntent: data.client_intent,\n },\n clientDetails: {\n financing: data.financing,\n addressField: data.desired_locations,\n name: data.referral_client\n ? `${data.referral_client?.first_name} ${data.referral_client?.last_name}`\n : null,\n pdpLink: data.referral_client ? `/people/${data.referral_client?.slug}` : null,\n },\n additionalDetails: {},\n propertyPagePath: data.property_page_path,\n links: data.links,\n useMLSphotos: data.use_mls_photos,\n blossorId: data.blossor_id,\n listingImgs: data.use_mls_photos\n ? createPhotoset(data.photos || [])\n : (data.photos || []).map((p) => ({ ...p, checked: false })),\n peopleListed: createPeopleListed(data.visible_team_members),\n checkAll: false,\n };\n\n return sortPropDetails(state, data);\n};\n\nexport const adaptError = (error) => {\n const adaptedError = { ...error?.response?.data };\n\n if (!adaptedError.errors || !adaptedError.errors.length) {\n adaptedError.errors = [\"We're sorry, an unexpected error has occurred. Please try again later.\"];\n }\n\n return adaptedError;\n};\n","/* eslint-disable dot-notation */\nimport { uniq } from \"lodash\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport {\n getAllDetailsFromApi,\n putDetailToApi,\n deleteListingImageApi,\n getPropertyTypesFromApi,\n getSourcesFromApi,\n putRefDetailtoApi,\n importDetailToApi,\n updatePropertyDetailApi,\n replacePhotoToApi,\n} from \"../api/apiWrappers\";\nimport {\n saveAllDetails,\n saveDetail,\n saveLinks,\n deleteImg,\n setAccountSources,\n setAccountPropertyTypes,\n showDetailsFailure,\n clearDetailsFailure,\n setRefTitle,\n setRefStatus,\n setTransactionAmount,\n setReferralFee,\n setRefPartnerDetailsTeam,\n setRefPartnerDetailsBrokerage,\n setClientDetailsFinancing,\n updatePropertyDetail,\n} from \"./creators\";\nimport { editReferralDesiredAddress } from \"../../../Header/actions/creators\";\nimport { adaptGetAllDetails, adaptDetailsPayloadToApi, adaptError } from \"../api/apiAdapters\";\n\nexport const getAllDetailsAsThunk = (uuid) => async (dispatch) => {\n const req = getAllDetailsFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to get details\",\n }),\n );\n return;\n }\n\n const details = adaptGetAllDetails(res.data);\n dispatch(saveAllDetails(details, uuid));\n};\n\nexport const getSourcesAsThunk = (uuid) => async (dispatch) => {\n const req = getSourcesFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to get sources\",\n }),\n );\n return;\n }\n\n dispatch(setAccountSources(res.data));\n};\n\nexport const getPropertyTypesAsThunk = (uuid) => async (dispatch) => {\n const req = getPropertyTypesFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to get property types\",\n }),\n );\n return;\n }\n\n dispatch(setAccountPropertyTypes(res.data));\n};\n\nexport const importDetailAsThunk = (uuid, payload, setshowAlert) => async (dispatch) => {\n const req = importDetailToApi(uuid, { import: true, listing: payload });\n\n const [, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to import transaction\",\n }),\n );\n return;\n }\n setshowAlert(true);\n // To hide alert after 5 sec\n setTimeout(() => {\n setshowAlert(false);\n }, 5000);\n dispatch(getAllDetailsAsThunk(uuid));\n};\n\nexport const putDetailAsThunk = (payload) => async (dispatch) => {\n const req = putDetailToApi(adaptDetailsPayloadToApi(payload));\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to update transaction\",\n }),\n );\n return;\n }\n\n const { key, group, stateKey } = payload;\n // Dealing with data transformations, as there is tight coupling in state management\n // between the server-provided data and the client state. However, the keys expected\n // by the write APIs don't always match it, both due to inherent differences and\n // adapter changing key names.\n const usedKey = (stateKey || key).toLowerCase();\n\n const details = adaptGetAllDetails(res.data);\n\n dispatch(saveDetail(usedKey, details[group][usedKey], group));\n};\n\nexport const clearDetailsFailureAsThunk = () => async (dispatch) => {\n dispatch(clearDetailsFailure());\n};\n\nexport const putLinkAsThunk = (payload) => async (dispatch) => {\n const req = putDetailToApi(payload);\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to add link\",\n }),\n );\n return;\n }\n\n const details = adaptGetAllDetails(res.data);\n\n dispatch(saveLinks(details.links));\n};\n\nexport const replacePhotoAsThunk = (uuid, payload) => async (dispatch) => {\n const req = replacePhotoToApi(uuid, { listing: payload });\n\n const [, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to relace photos\",\n }),\n );\n return;\n }\n\n dispatch(getAllDetailsAsThunk(uuid));\n};\n\nexport const deleteListingImageAsThunk = (payload) => async (dispatch) => {\n if (!payload.id || !payload.deleteUrl) {\n return;\n }\n const req = deleteListingImageApi(payload.deleteUrl);\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(\n showDetailsFailure({\n ...adaptError(err),\n title: \"Error - Failed to delete image\",\n }),\n );\n return;\n }\n if (res) {\n dispatch(deleteImg(payload.id));\n }\n};\n\nexport const deleteAllSelectedImages = (listingImages) => (dispatch) => {\n if (!listingImages) {\n return;\n }\n\n let errors = [];\n\n listingImages\n .filter((image) => image.checked === true)\n .forEach(async (image, index, images) => {\n const req = deleteListingImageApi(image.deleteUrl);\n\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n // Use `uniq` to avoid duplicate error messages\n errors = uniq([...errors, adaptError(err).errors]);\n } else if (res) {\n dispatch(deleteImg(image.id));\n }\n // Check if the forEach has finished before showing errors, if any\n const finished = index + 1 === images.length;\n if (finished && errors.length > 0) {\n dispatch(\n showDetailsFailure({\n errors,\n title: \"Error - Failed to delete images\",\n }),\n );\n }\n });\n};\n\nconst putRefDetail = (creator, key) => (uuid, val) => async (dispatch) => {\n dispatch(creator(val));\n\n const req = putRefDetailtoApi(uuid, { listing: { [key]: val } });\n const [, err] = await tryCatchHandlr(req);\n\n // eslint-disable-next-line no-alert\n if (err) alert(\"Error in updating transaction.\");\n};\n\nexport const putRefTitle = putRefDetail(setRefTitle, \"title\");\n\nexport const putRefStatus = putRefDetail(setRefStatus, \"status\");\n\nexport const putRefTransactionAmt = putRefDetail(setTransactionAmount, \"transaction_amount\");\n\nexport const putRefFinancial = putRefDetail(setClientDetailsFinancing, \"financing\");\n\nexport const putReferralFee = putRefDetail(setReferralFee, \"referral_fee\");\n\nexport const putRefTeam = putRefDetail(setRefPartnerDetailsTeam, \"team\");\n\nexport const putRefBrokerage = putRefDetail(setRefPartnerDetailsBrokerage, \"brokerage\");\n\nexport const putRefDesiredLocations = putRefDetail(editReferralDesiredAddress, \"desired_locations\");\n\n// This deletes || edits propertyDetail. Usually like to seperate concerns per thunk but delete || edit are from PUT request > details_controller, seperated by _destroy attr.\nexport const updatePropertyDetailAsThunk = (payload) => async (dispatch) => {\n dispatch(updatePropertyDetail(payload));\n\n const req = updatePropertyDetailApi(payload);\n const [, err] = await tryCatchHandlr(req);\n\n // eslint-disable-next-line no-alert\n if (err) alert(\"Error in updating transaction.\");\n};\n","export const DETAILS_WRAPPER =\n \"tw-pt-[24px] tw-flex tw-justify-between tw-pb-[32px] tw-mb-[32px] tw-border-l-0 tw-border-t-0 tw-border-r-0 tw-border-b-1 tw-border-solid tw-border-neutral-gray-10\";\nexport const DETAILS_COLUMN = \"tw-w-[46.6%]\";\nexport const DETAIL_FIELD_CONTAINER =\n \"tw-relative tw-h-36px tw-w-full tw-flex tw-items-center tw-gap-12px tw-justify-between\";\nexport const DETAIL_FIELD_VALUE_LINK = \"tw-text-14d tw-font-normal tw-pr-0 tw-mr-20px tw-cursor-pointer\";\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nconst DetailsHeader = ({ header }) => (\n
\n
\n {header}\n
\n
\n
\n);\n\nDetailsHeader.propTypes = {\n header: string,\n};\n\nDetailsHeader.defaultProps = {\n header: \"\",\n};\n\nexport default DetailsHeader;\n","/* eslint-disable no-param-reassign */\nimport React, { useState, useRef, useEffect } from \"react\";\n\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport { useClickOutside, useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { Display } from \"../InlineEditor\";\nimport DateSelector from \"../DateSelector\";\nimport TextButton from \"../TextButton\";\nimport Button from \"../Button\";\nimport { isDateValid } from \"../DatePicker/utils/helpers\";\nimport { formatDate, getValidDateFormats } from \"../DateSelector/utils/helpers\";\n\nimport { Calendar } from \"../Icomoon\";\n\n/**\n * @summary InlineEditingDatePicker component. It's possible to enable up to 2 timepickers.\n * @param {string} value - The datepicker initial value. Provide a string in the following formats YYYY-MM-DD | YYYY-MM-DD HH:MM AM/PM | YYYY-MM-DD HH:MM AM/PM HH:MM AM/PM\n * @param {string} position - Provide the position of the calendar.\n * @param {func} onChange - It's triggered when the user clicks on \"done\" or outside the datepicker. It returns a string based on dateFormat. Default format is MM/DD/YYYY\n * @param {func} dateFormat - Provide a momentjs date format to override the default one (MM-DD-YYYY). See https://momentjs.com/docs/#/displaying/format/ for available formats.\n * @param {string} className - className for the outermost HTML element.\n * @param {string} displayClassName - className for the display HTML element.\n * */\nconst InlineEditingDatePicker = ({\n id: idFromProps,\n value,\n position,\n onChange,\n dateFormat,\n className,\n displayClassName,\n timeOnNewLine,\n customErrorCallBack,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"inline-editing-datepicker\", idFromProps);\n\n const initialDate = moment(value, getValidDateFormats(dateFormat)).isValid() ? value : \"\";\n\n const ref = useRef(null);\n const oldValueRef = useRef(initialDate);\n\n const [isOpen, setIsOpen] = useState(false);\n // final: Date shown on TextComboInput. \"ValidTemporary\" becomes \"final\" when the user clicks on the \"Done\" button or outside.\n // impureTemporary: User input. it might be wrong, correct or empty. Do not rely on it. It might be anything.\n // validTemporary: It's a valid impureTemporary date. Necessary to send only valid dates to the DateSelector component.\n const [date, setDate] = useState({\n final: initialDate,\n impureTemporary: initialDate,\n validTemporary: initialDate,\n });\n const [error, setError] = useState(false);\n\n const calendarPositionClassNames = (p) => {\n switch (p) {\n case \"right\":\n return `tw-absolute tw-top-30px tw-left-0`;\n case \"left\":\n return `tw-absolute tw-top-30px tw-right-0`;\n default:\n return \"\";\n }\n };\n\n const handleDone = () => {\n // custom error message handler, shoud return a string\n if (customErrorCallBack(date.validTemporary)) {\n setError(customErrorCallBack(date.validTemporary));\n } else if (date.validTemporary !== \"\" && !isDateValid(date, dateFormat)) {\n setError(true);\n } else {\n setDate({\n ...date,\n final: date.validTemporary,\n });\n setIsOpen(false);\n setError(false);\n }\n };\n\n useClickOutside(ref, handleDone);\n\n const isValid = (val) => val && moment(val, getValidDateFormats(dateFormat)).isValid();\n\n useEffect(() => {\n // an object breaks the datepicker, and in consequence, the page\n if (typeof value !== \"string\" && value !== null) return;\n\n const validDate = isValid(value) ? value : \"\";\n\n setDate({\n final: validDate,\n impureTemporary: validDate,\n validTemporary: validDate,\n });\n }, [value]);\n\n useEffect(() => {\n if (oldValueRef.current === date.final) return;\n oldValueRef.current = date.final;\n if (onChange) {\n onChange(date.final);\n }\n }, [date.final]);\n\n useEffect(() => {\n if (date.impureTemporary === \"\" || isDateValid(date, dateFormat)) {\n setDate({\n ...date,\n validTemporary: date.impureTemporary,\n });\n }\n }, [date.impureTemporary]);\n\n const display = isValid(value) ? (\n setIsOpen(true)}\n icon={}\n data-cy=\"inline-editing-datepicker-display\"\n className={displayClassName}\n />\n ) : (\n setIsOpen(true)}\n >\n add\n \n );\n\n return (\n
\n
\n {display}\n {isOpen && (\n \n {\n setDate({\n ...date,\n ...dateSelectorState, // necessary for edge case: leap year in date formats without year\n impureTemporary: dateSelectorState.formattedDate,\n });\n }}\n value={date.validTemporary}\n error={error}\n dateFormat={dateFormat}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n
\n
\n {\n setDate({\n ...date,\n validTemporary: \"\",\n impureTemporary: \"\",\n });\n }}\n type=\"button\"\n schema=\"default\"\n size=\"small\"\n data-cy=\"inline-editing-datepicker-clear\"\n >\n Clear\n \n \n Done\n \n
\n
\n )}\n
\n
\n );\n};\n\nInlineEditingDatePicker.propTypes = {\n id: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n dateFormat: PropTypes.string,\n position: PropTypes.oneOf([\"left\", \"right\"]),\n className: PropTypes.string,\n displayClassName: PropTypes.string,\n timeOnNewLine: PropTypes.bool,\n customErrorCallBack: PropTypes.func,\n};\n\nInlineEditingDatePicker.defaultProps = {\n id: null,\n value: null,\n dateFormat: \"\",\n position: \"left\",\n className: \"\",\n displayClassName: \"\",\n timeOnNewLine: false,\n customErrorCallBack: () => false,\n};\n\nexport default InlineEditingDatePicker;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { bool, func } from \"prop-types\";\n\nimport FieldLabel from \"../../../../shared/v2/FieldLabel\";\nimport { Edit } from \"../../../../shared/v2/Icomoon\";\n\nconst DETAILFIELD_CLASSES = {\n container: (_bool) => (_bool ? \"tw-group hover:tw-cursor-pointer hover:tw-underline\" : \"\"),\n label: (_bool) => (_bool ? \"tw-group group-hover:tw-cursor-pointer\" : \"\"),\n};\n\nconst DetailFieldLabelIcon = ({ show }) =>\n show && ;\n\nconst DetailFieldLabel = ({ onClick, ...props }) => (\n \n \n \n \n);\nexport default DetailFieldLabel;\n\nDetailFieldLabel.propTypes = {\n onClick: func,\n};\n\nDetailFieldLabel.defaultProps = {\n onClick: null,\n};\n\nDetailFieldLabelIcon.propTypes = {\n show: bool,\n};\n\nDetailFieldLabelIcon.defaultProps = {\n show: false,\n};\n","import React from \"react\";\nimport { string, func, number, bool } from \"prop-types\";\n\nimport InlineEditingInput from \"../../../../shared/v2/InlineEditingInput\";\nimport InlineEditingDatePicker from \"../../../../shared/v2/InlineEditingDatePicker/InlineEditingDatePicker\";\nimport { DATE_FORMAT } from \"../api/constants\";\n\nimport DetailFieldLabel from \"../DetailFieldLabel\";\n\n// The date is a special case because the calendar should be displayed, and the overflow-hidden class hides it.\nconst maybeOverflow = (schema) => (schema === \"date\" ? \"\" : \"tw-overflow-hidden\");\nconst maybeRightMargin = (value) => (value ? \"\" : \"!tw-mr-[21px]\");\n\n// These are hard-coded to enable the pencil and display to appear aligned to the top horizontal line below headers.\nconst layoutInlineAlignmentClasses = {\n base: (schema) => `tw-justify-end tw-flex tw-leading-36px ${maybeOverflow(schema)}`.trim(),\n displayMode: (value) =>\n `tw-h-auto tw-mt-1px tw-overflow-hidden tw-text-right hover:tw-underline ${maybeRightMargin(\n value,\n )}`.trim(),\n editorMode: \"tw-absolute tw-right-0 tw-flex tw-flex-grow tw-mt-[-8px] !tw-mr-[21px]\",\n};\n\nconst fieldTypeToEditorComponent = {\n currency: InlineEditingInput.Flat,\n percent: InlineEditingInput.Percent,\n text: InlineEditingInput,\n date: InlineEditingDatePicker,\n};\n\nconst editor = (schema) => fieldTypeToEditorComponent[schema] || fieldTypeToEditorComponent.text;\n\nconst editorTypeProps = {\n currency: { prefix: \"$\", suffix: \"\", withCancelConfirm: true },\n percent: { prefix: \"\", suffix: \"%\", withCancelConfirm: true },\n text: { prefix: \"\", suffix: \"\", withCancelConfirm: false },\n date: { dateFormat: DATE_FORMAT, position: \"right\" },\n};\n\nconst baseEditorProps = (schema) => editorTypeProps[schema] || editorTypeProps.text;\n\nconst DetailInput = ({\n label,\n schema,\n placeholder,\n hoistGroupClass,\n val,\n onBlur,\n id,\n name,\n dataCy,\n containerClass,\n onLabelClick,\n tooltipComp,\n ...otherProps\n}) => {\n const groupClass = hoistGroupClass ? \"tw-group\" : \"\";\n\n return (\n \n \n
\n {tooltipComp}\n {editor(schema)({\n id,\n name,\n placeholder,\n value: val,\n onChange: onBlur,\n showLineBreak: true,\n showRightAlign: true,\n className: layoutInlineAlignmentClasses.base(schema),\n displayClassName: layoutInlineAlignmentClasses.displayMode(val),\n editorClassName: layoutInlineAlignmentClasses.editorMode,\n ...baseEditorProps(schema),\n ...otherProps,\n })}\n
\n \n );\n};\n\nDetailInput.propTypes = {\n label: string,\n schema: string,\n val: string,\n onBlur: func,\n placeholder: string,\n id: number,\n name: string,\n dataCy: string,\n containerClass: string,\n hoistGroupClass: bool,\n onLabelClick: func,\n};\n\nDetailInput.defaultProps = {\n label: \"\",\n schema: \"text\",\n placeholder: null,\n id: null,\n name: null,\n val: \"\",\n onBlur: () => {},\n dataCy: null,\n containerClass: null,\n hoistGroupClass: true,\n onLabelClick: null,\n};\n\nexport default DetailInput;\n","/* eslint-disable no-unneeded-ternary */\nimport React from \"react\";\nimport { arrayOf, func, shape, string } from \"prop-types\";\nimport OptionsStatusCell from \"../../../shared/TDPOptionsStatusCell\";\nimport InlineEditingSelect from \"../../../../shared/v2/InlineEditingSelect/InlineEditingSelect\";\nimport FieldLabel from \"../../../../shared/v2/FieldLabel\";\n\n// These are hard-coded to enable the pencil and display to appear aligned to the top horizontal line below headers.\nconst layoutInlineAlignmentClasses = {\n base: \"tw-absolute tw-leading-36px tw-right-0\",\n displayMode: \"!tw-mr-[21px] hover:tw-underline\",\n editorMode: \"!tw-mr-[21px]\",\n};\n\nconst DetailDropdown = ({ label, schema, val, options, onBlur, dataCy, containerClass }) => (\n \n \n {schema !== \"normal\" ? (\n
\n \n
\n ) : (\n \n )}\n \n);\n\nDetailDropdown.propTypes = {\n label: string,\n schema: string,\n val: string,\n options: arrayOf(\n shape({\n label: string,\n value: string,\n }),\n ),\n onBlur: func.isRequired,\n dataCy: string,\n containerClass: string,\n};\n\nDetailDropdown.defaultProps = {\n label: \"\",\n schema: \"normal\",\n val: \"comingsoon\",\n options: [],\n dataCy: null,\n containerClass: \"\",\n};\n\nexport default DetailDropdown;\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport OptionStatusCell from \"../../../../shared/TDPOptionsStatusCell\";\nimport FieldLabel from \"../../../../../shared/v2/FieldLabel\";\n\nimport { DETAIL_FIELD_CONTAINER } from \"../styles\";\n\nconst DetailStatus = ({ id, label, dataCy, labelClassName }) => (\n \n \n \n \n);\n\nexport default DetailStatus;\n\nDetailStatus.propTypes = {\n id: string,\n label: string,\n dataCy: string,\n labelClassName: string,\n};\n\nDetailStatus.defaultProps = {\n id: null,\n label: null,\n dataCy: null,\n labelClassName: \"\",\n};\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, shape, func } from \"prop-types\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport DetailInput from \"../DetailInput\";\nimport DetailDropdown from \"../DetailDropdown\";\nimport DetailStatus from \"../shared/DetailStatus/DetailStatus\";\n\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nconst publishedOptions = [\n { value: false, label: \"Draft\" },\n { value: true, label: \"Published\" },\n];\n\nconst TransactionDetails = ({ uuid, transactionDetails, onPutDetailAsThunk }) => {\n const { title, published } = transactionDetails;\n const publishedValue = publishedOptions.find((o) => o.label === published || o.value === !!published);\n\n const saveValueFor = (key) => (value) => {\n onPutDetailAsThunk({\n uuid,\n key,\n value,\n group: \"transactionDetails\",\n });\n };\n\n const savePublished = (optionValue) => {\n const newPublished = publishedOptions.find((o) => o.label === optionValue.label).value;\n saveValueFor(\"published\")(newPublished);\n };\n\n return (\n
\n \n \n \n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n transactionDetails: state.tdpDetailsReducer.transactionDetails,\n type: state.tdpDetailsReducer.headerDetails.type,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (payload) => dispatch(putDetailAsThunk(payload)),\n});\n\nTransactionDetails.propTypes = {\n uuid: string,\n transactionDetails: shape({\n title: string,\n publishedState: string,\n status: string,\n }),\n onPutDetailAsThunk: func,\n};\n\nTransactionDetails.defaultProps = {\n uuid: null,\n transactionDetails: shape({\n title: null,\n publishedState: null,\n status: null,\n }),\n onPutDetailAsThunk: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(TransactionDetails);\n","import React from \"react\";\nimport { string, shape, func, bool } from \"prop-types\";\n\nimport FlatPercentInput from \"@shared/v2/FlatPercentInput\";\nimport FlatPercentToggle from \"@shared/v2/FlatPercentToggle\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport Checkbox from \"@shared/v2/Checkbox/Checkbox\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon/Icons\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { formatExistingNumber } from \"../api/helpers\";\n\nconst BACModalBody = ({ BACval, handleUpdateBAC }) => {\n const { percentage, value, cooperative_compensation, exclude_from_commissions } = BACval;\n\n return (\n
\n \n Active listings with a valid MLS number and a buyer agent commission will appear on your{\" \"}\n \n window.open(\"https://www.brivityknowledge.com/docs/buyer-agent-commission\", \"_blank\")\n }\n className=\"tw-text-teal tw-cursor-pointer\"\n >\n compensation page\n \n \n
\n handleUpdateBAC(\"cooperative_compensation\", false)}\n data-cy=\"bac-radio\"\n />\n
\n {\n handleUpdateBAC(\"cooperative_compensation\", true);\n handleUpdateBAC(\"value\", \"\");\n handleUpdateBAC(\"percentage\", true);\n handleUpdateBAC(\"exclude_from_commissions\", false);\n }}\n data-cy=\"bac-cooperative-compensation-radio\"\n />\n \n Use this option if you do not want to display a specific percentage or amount. “Contact Us”\n will be displayed on your website.\n
\n }\n trigger={}\n />\n
\n
\n {cooperative_compensation ? (\n
\n
\n \n
\n
\n “Contact us” will be displayed in place of a specific compensation value on your website.\n
\n
\n ) : (\n
\n
\n {\n handleUpdateBAC(\"value\", e.target.value);\n if (e.target.value == \"\") {\n handleUpdateBAC(\"exclude_from_commissions\", false);\n }\n }}\n />\n
\n
\n {\n handleUpdateBAC(\"percentage\", !percentage);\n handleUpdateBAC(\"value\", 0);\n handleUpdateBAC(\"exclude_from_commissions\", false);\n }}\n />\n
\n
\n )}\n\n
\n {!cooperative_compensation && !value ? (\n \n Enter a value for Buyer Agent Commission\n
\n }\n trigger={\n handleUpdateBAC(\"exclude_from_commissions\", !exclude_from_commissions)}\n disabled={!cooperative_compensation && !value}\n checked={exclude_from_commissions}\n value={exclude_from_commissions}\n name=\"exclude_from_commissions\"\n id=\"exclude_from_commissions\"\n label=\"Exclude from my compensation page\"\n />\n }\n />\n ) : (\n handleUpdateBAC(\"exclude_from_commissions\", !exclude_from_commissions)}\n disabled={!cooperative_compensation && !value}\n checked={exclude_from_commissions}\n value={exclude_from_commissions}\n name=\"exclude_from_commissions\"\n id=\"exclude_from_commissions\"\n label=\"Exclude from my compensation page\"\n />\n )}\n \n \n By adding this information I acknowledge that this listing is listed by my company and that I have\n permission to enhance the listing data.\n \n \n );\n};\n\nBACModalBody.propTypes = {\n BACval: shape({\n percentage: bool,\n value: string,\n cooperative_compensation: bool,\n exclude_from_commissions: bool,\n status: string,\n }),\n handleUpdateBAC: func,\n};\nBACModalBody.defaultProps = {\n BACval: {\n percentage: true,\n value: \"\",\n cooperative_compensation: false,\n exclude_from_commissions: false,\n status: \"\",\n },\n handleUpdateBAC: null,\n};\nexport default BACModalBody;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, shape, func, bool } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport { removeCommas } from \"@shared/v2/inputFormatUtils\";\n\nimport BACModalBody from \"./BACModalBody\";\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nconst AddEditBACModal = ({ uuid, modalOpen, closeModal, BACval, isEditing, onPutDetailAsThunk }) => {\n const [BACState, setBACState] = useState(BACval);\n\n const handleUpdateBAC = (name, value) => {\n setBACState((prevState) => ({\n ...prevState,\n [name]: value,\n }));\n };\n const onSave = () => {\n const newBACState = Object.assign({}, { ...BACState, value: removeCommas(BACState.value) });\n if (!isEditing && newBACState.hasOwnProperty(\"id\")) {\n delete newBACState.id;\n }\n // status is not needed\n if (newBACState.hasOwnProperty(\"status\")) {\n delete newBACState.status;\n }\n onPutDetailAsThunk({\n uuid,\n key: \"buyers_agent_commission_attributes\",\n value: newBACState,\n group: \"listingDetails\",\n stateKey: \"buyers_agent_commission\",\n });\n closeModal();\n };\n\n return (\n \n \n\n \n \n \n\n \n \n\n onSave()}\n data-cy=\"bac-submit-button\"\n >\n Save\n \n \n \n );\n};\n\nAddEditBACModal.propTypes = {\n modalOpen: bool,\n isEditing: bool,\n closeModal: func,\n BACval: shape({\n id: string,\n percentage: bool,\n value: string,\n cooperative_compensation: bool,\n exclude_from_commissions: bool,\n status: string,\n }),\n onPutDetailAsThunk: func,\n uuid: string,\n};\n\nAddEditBACModal.defaultProps = {\n modalOpen: false,\n isEditing: false,\n closeModal: {},\n BACval: {\n id: \"\",\n percentage: true,\n value: \"\",\n cooperative_compensation: false,\n exclude_from_commissions: false,\n status: \"\",\n },\n\n uuid: \"\",\n onPutDetailAsThunk: () => {},\n};\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n});\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (uuid) => dispatch(putDetailAsThunk(uuid)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(AddEditBACModal);\n","import React, { useState } from \"react\";\nimport { string, shape, bool } from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6, DesktopSolidV6 } from \"@shared/v2/Icomoon/Icons\";\n\nimport DetailFieldLabel from \"../DetailFieldLabel\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Edit from \"@shared/v2/Icomoon/Icons/Edit\";\nimport AddEditBACModal from \"./AddEditBACModal\";\nimport { formatExistingNumber } from \"../api/helpers\";\n\nconst BACDetailInput = ({ BACval, dataCy }) => {\n const { percentage, value, status, cooperative_compensation } = BACval;\n const [addingBAC, setAddingBAC] = useState(false);\n const [editingBAC, setEditingBAC] = useState(false);\n const [isHovered, setIsHovered] = useState(false);\n\n const handleOnClickAdd = () => {\n setAddingBAC(true);\n };\n\n const handleOnClickEdit = () => {\n setEditingBAC(true);\n };\n\n const BACCloseModal = () => {\n setEditingBAC(false);\n setAddingBAC(false);\n };\n\n return (\n \n
\n \n \n Amount offered to the buyer’s agent of this transaction. Active listings with a commission value\n can be displayed on the compensation page of your Brivity website.\n
\n }\n trigger={}\n />\n \n\n
\n {(cooperative_compensation || value) && status && (\n \n {status == \"active\"\n ? \"Displayed on compensation page\"\n : status == \"excluded\"\n ? \"Excluded from compensation page\"\n : \"Cannot be displayed on your compensation page. This listing must have a valid MLS number and be Active on the MLS.\"}\n
\n }\n trigger={\n \n }\n />\n )}\n\n \n {cooperative_compensation || value ? (\n
\n
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)}>\n {cooperative_compensation ? (\n Contact\n ) : (\n \n {!percentage && \"$\"}\n {!percentage ? formatExistingNumber(value) : value}\n {percentage && \"%\"}\n \n )}\n
\n
\n {isHovered && }\n
\n
\n ) : (\n \n add\n \n )}\n
\n \n\n {addingBAC && }\n\n {editingBAC && (\n \n )}\n \n );\n};\n\nBACDetailInput.propTypes = {\n BACval: shape({\n id: string,\n percentage: bool,\n value: string,\n cooperative_compensation: bool,\n exclude_from_commissions: bool,\n status: string,\n }),\n dataCy: string,\n};\n\nBACDetailInput.defaultProps = {\n BACval: {\n id: \"\",\n percentage: false,\n value: \"\",\n cooperative_compensation: false,\n exclude_from_commissions: false,\n status: \"\",\n },\n dataCy: null,\n};\n\nexport default BACDetailInput;\n","import React from \"react\";\n\nimport { arrayOf, func, shape, string } from \"prop-types\";\n\nimport { ACCOUNT_SOURCES, LISTING_UUID, SOURCE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nimport DetailDropdown from \"../DetailDropdown\";\n\nconst sourceToOption = (source) => (source ? { label: source.name, value: source.id } : null);\n\nconst DetailSourceDropdown = ({ accountSources, source, onPutDetailAsThunk, uuid, containerClass }) => {\n const saveValueFor =\n (key, stateKey = null) =>\n (value) => {\n onPutDetailAsThunk({\n uuid,\n key,\n value,\n group: \"listingDetails\",\n stateKey,\n });\n };\n\n const saveOptionFor = (key, stateKey) => (optionValue) => saveValueFor(key, stateKey)(optionValue?.value);\n\n return (\n \n );\n};\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: DetailSourceDropdown,\n states: [ACCOUNT_SOURCES, LISTING_UUID, SOURCE],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putDetailAsThunk,\n aliases: \"onPutDetailAsThunk\",\n});\n\nDetailSourceDropdown.propTypes = {\n accountSources: arrayOf(shape({})),\n source: shape({}),\n onPutDetailAsThunk: func,\n uuid: string,\n containerClass: string,\n};\n\nDetailSourceDropdown.defaultProps = {\n accountSources: [],\n source: null,\n onPutDetailAsThunk: () => {},\n uuid: null,\n containerClass: \"\",\n};\n","import React, { useEffect, useState } from \"react\";\nimport { useSelector } from \"react-redux\";\nimport { CheckSolidV6, CopySolidV6 } from \"@shared/v2/Icomoon\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport IconButton from \"@shared/v2/IconButton\";\n\nconst ListingUuid = () => {\n const uuid = useSelector((state) => state.tdpDetailsReducer.uuid);\n const [copied, setCopied] = useState(false);\n\n useEffect(() => {\n if (copied) {\n setTimeout(() => setCopied(false), 2000);\n }\n }, [copied]);\n\n return (\n
\n \n
\n {uuid}\n \n window\n .copyTextToClipboard(uuid)\n .then(() => setCopied(true))\n .catch(console.log)\n }\n >\n {copied ? : }\n \n
\n
\n );\n};\n\nexport default ListingUuid;\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, shape, string, bool } from \"prop-types\";\nimport { TriangleExclamationSolidV6, CircleCheckSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport DetailInput from \"../DetailInput\";\nimport BACDetailInput from \"../BACDetailInput\";\n\nimport { putDetailAsThunk } from \"../actions/thunks\";\nimport DetailSourceDropdown from \"../DetailSourceDropdown\";\nimport { formatExistingNumber } from \"../api/helpers\";\nimport ListingUuid from \"../ListingUuid\";\n\nconst ListingDetails = ({ uuid, listingDetails, onPutDetailAsThunk, type }) => {\n const { price, mls_number, valid_mls_number, buyers_agent_commission } = listingDetails;\n const saveValueFor =\n (key, stateKey = null) =>\n (value) => {\n onPutDetailAsThunk({\n uuid,\n key,\n value,\n group: \"listingDetails\",\n stateKey,\n });\n };\n\n return (\n
\n \n \n \n \n {valid_mls_number ? \"Valid MLS number\" : \"Not a valid MLS number\"}\n
\n }\n trigger={\n valid_mls_number ? (\n \n ) : (\n \n )\n }\n />\n )\n }\n />\n {(type === \"seller\" || type === \"landlord\") && (\n \n )}\n\n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n listingDetails: state.tdpDetailsReducer.listingDetails,\n type: state.tdpDetailsReducer.headerDetails?.type,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (uuid) => dispatch(putDetailAsThunk(uuid)),\n});\n\nListingDetails.propTypes = {\n uuid: string,\n type: string,\n listingDetails: shape({\n mls_number: string,\n price: string,\n valid_mls_number: bool,\n }),\n onPutDetailAsThunk: func,\n};\n\nListingDetails.defaultProps = {\n uuid: \"\",\n type: \"\",\n listingDetails: {\n mls_number: \"\",\n price: \"\",\n valid_mls_number: false,\n },\n onPutDetailAsThunk: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ListingDetails);\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, node, string } from \"prop-types\";\n\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport defaultPropertyDetails from \"../constants\";\nimport { showDetailsFailure } from \"../actions/creators\";\n\nconst ModalPropertyDetail = ({\n isModalOpen,\n toggleModal,\n uuid,\n onPutDetailAsThunk,\n onShowDetailsFailure,\n additionalDetails,\n}) => {\n const [detailValue, setDetailValue] = useState(null);\n\n const handleSave = () => {\n const value = detailValue.toLowerCase().split(\" \").join(\"_\");\n const checkNormalizedMatch = (details) => details.toLowerCase() === value;\n if (\n defaultPropertyDetails.some(checkNormalizedMatch) ||\n Object.keys(additionalDetails).some(checkNormalizedMatch)\n ) {\n onShowDetailsFailure({\n errors: [`Details [\"Name ${detailValue} already exists\"]`],\n title: \"Error - Failed to update transaction\",\n });\n } else {\n onPutDetailAsThunk({\n uuid,\n key: value, // any new values will use the standard convention\n inOption: \"details\",\n value: null,\n group: \"additionalDetails\",\n });\n }\n toggleModal((prev) => !prev);\n };\n\n return (\n toggleModal((prev) => !prev)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n closeButton\n >\n \n \n
\n Detail\n
\n setDetailValue(e.target.value)} />\n
\n \n \n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n additionalDetails: state.tdpDetailsReducer.additionalDetails,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (payload) => dispatch(putDetailAsThunk(payload)),\n onShowDetailsFailure: (error) => dispatch(showDetailsFailure(error)),\n});\n\nModalPropertyDetail.propTypes = {\n isModalOpen: bool,\n toggleModal: func,\n uuid: string,\n onPutDetailAsThunk: func,\n onShowDetailsFailure: func,\n additionalDetails: node,\n};\n\nModalPropertyDetail.defaultProps = {\n isModalOpen: false,\n toggleModal: () => {},\n uuid: null,\n onPutDetailAsThunk: () => {},\n onShowDetailsFailure: () => {},\n additionalDetails: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ModalPropertyDetail);\n","import React from \"react\";\nimport { bool, oneOfType, string, number, func } from \"prop-types\";\n\nimport TextInput from \"../../../shared/v2/TextInput\";\n\nconst ModalField = ({ label, isRequired, value, onChange }) => (\n <>\n
\n {label}\n {isRequired && *}\n
\n \n \n);\n\nexport default ModalField;\n\nModalField.propTypes = {\n label: string,\n isRequired: bool,\n value: oneOfType([string, number]),\n onChange: func,\n};\n\nModalField.defaultProps = {\n label: \"Custom Detail\",\n isRequired: true,\n value: \"\",\n onChange: () => {},\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { useDependencyWithCleanUp } from \"../../../../shared/hookHelpers\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport ModalField from \"../../../shared/ModalField\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst ModalEditLabel = ({ show, onHideHandlr, onRemoveHandlr, onSaveHandlr, labelValue, setLabelValue }) => (\n \n \n \n setLabelValue(e.target.value)} />\n \n \n \n
\n \n \n
\n
\n \n);\n\nconst WrapperModalEditLabel = ({ show, onHide, onRemove, onSave, labelValue }) => {\n const [_labelValue, setLabelValue] = useDependencyWithCleanUp(labelValue);\n\n const onHideHandlr = () => {\n setLabelValue(labelValue);\n onHide();\n };\n\n const onSaveHandlr = () => {\n onHideHandlr();\n return labelValue !== _labelValue && onSave(_labelValue);\n };\n\n const onRemoveHandlr = () => {\n onRemove();\n onHideHandlr();\n };\n\n return (\n \n );\n};\n\nexport default WrapperModalEditLabel;\n\nModalEditLabel.propTypes = {\n show: bool,\n onHideHandlr: func,\n onRemoveHandlr: func,\n onSaveHandlr: func,\n labelValue: string,\n setLabelValue: func,\n};\n\nModalEditLabel.defaultProps = {\n show: false,\n onHideHandlr: () => {},\n onRemoveHandlr: () => {},\n onSaveHandlr: () => {},\n labelValue: \"\",\n setLabelValue: () => {},\n};\n\nWrapperModalEditLabel.propTypes = {\n show: bool,\n onHide: func,\n onRemove: func,\n onSave: func,\n labelValue: string,\n};\n\nWrapperModalEditLabel.defaultProps = {\n show: false,\n onHide: () => {},\n onRemove: () => {},\n onSave: () => {},\n labelValue: \"\",\n};\n","/* eslint-disable camelcase */\nimport React, { useMemo, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, func, node, number, shape, string } from \"prop-types\";\n\nimport { putDetailAsThunk, updatePropertyDetailAsThunk } from \"../actions/thunks\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport DetailInput from \"../DetailInput\";\nimport DetailDropdown from \"../DetailDropdown\";\nimport ModalPropertyDetail from \"../ModalPropertyDetail\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\nimport ModalEditLabel from \"../ModalEditLabel\";\n\nconst propertyTypeToOption = (item) => (item ? { label: item.name, value: item.id } : null);\n\nconst PropertyDetails = ({\n uuid,\n propertyDetails,\n additionalDetails,\n accountPropertyTypes,\n onPutDetailAsThunk,\n onUpdatePropertyDetailAsThunk,\n}) => {\n const {\n id,\n street_address,\n city,\n state,\n neighborhood,\n county,\n zip,\n property_type,\n beds,\n baths,\n sqft,\n year_built,\n parking,\n foundation,\n } = propertyDetails;\n const [isModalOpen, toggleModal] = useState(false);\n const [isModalEditRemoveLabel, setModalEditRemoveLabel] = useState(false);\n const [customDetailEdit, setCustomDetailEdit] = useState({ label: \"\", id: null });\n\n const sortedAdditionalDetails = useMemo(\n () =>\n Object.entries(additionalDetails)\n .filter((detail) => detail[1] !== undefined)\n .sort((a, b) => a[1].created_at - b[1].created_at),\n [additionalDetails],\n );\n\n const saveToAddress =\n (key, stateKey = null) =>\n (value) => {\n onPutDetailAsThunk({\n uuid,\n key,\n inOption: \"address_attributes\",\n value,\n group: \"propertyDetails\",\n addressId: id,\n stateKey,\n });\n };\n const saveDetail = (key) => (value) =>\n onPutDetailAsThunk({\n uuid,\n key,\n inOption: \"details\",\n value,\n group: \"propertyDetails\",\n });\n\n const saveAdditionalDetail = (key) => (value) =>\n onPutDetailAsThunk({\n uuid,\n key,\n inOption: \"details\",\n value,\n group: \"additionalDetails\",\n });\n\n const saveOptionFor = (key, stateKey) => (optionValue) =>\n onPutDetailAsThunk({\n uuid,\n key,\n value: optionValue.value,\n group: \"propertyDetails\",\n stateKey,\n });\n\n const onRemovePropDetailHandlr = () => {\n const { id: labelId } = customDetailEdit;\n onUpdatePropertyDetailAsThunk({\n id: labelId,\n _destroy: true,\n uuid,\n });\n };\n\n const onSavePropDetailHandlr = (name) => {\n const { id: labelId } = customDetailEdit;\n onUpdatePropertyDetailAsThunk({\n id: labelId,\n name,\n uuid,\n });\n };\n\n return (\n
\n \n setModalEditRemoveLabel(false)}\n labelValue={customDetailEdit.label}\n onRemove={onRemovePropDetailHandlr}\n onSave={onSavePropDetailHandlr}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {sortedAdditionalDetails.map(([label, { value, id: labelId }]) => (\n {\n setModalEditRemoveLabel(true);\n setCustomDetailEdit({\n label: label.replace(\"_\", \" \"),\n id: labelId,\n });\n }}\n />\n ))}\n toggleModal((prev) => !prev)}>\n Add Property Detail\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n propertyDetails: state.tdpDetailsReducer.propertyDetails,\n additionalDetails: state.tdpDetailsReducer.additionalDetails,\n accountPropertyTypes: state.tdpDetailsReducer.meta.accountPropertyTypes,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (payload) => dispatch(putDetailAsThunk(payload)),\n onUpdatePropertyDetailAsThunk: (payload) => dispatch(updatePropertyDetailAsThunk(payload)),\n});\n\nPropertyDetails.propTypes = {\n uuid: string,\n propertyDetails: shape({\n street_address: string,\n city: string,\n state: string,\n zip: string,\n neighborhood: string,\n county: string,\n baths: string,\n beds: string,\n sqft: string,\n year_built: string,\n property_type: shape({ id: number, name: string }),\n }),\n additionalDetails: node,\n onPutDetailAsThunk: func,\n accountPropertyTypes: arrayOf(shape({ label: string, value: number })),\n onUpdatePropertyDetailAsThunk: func.isRequired,\n};\n\nPropertyDetails.defaultProps = {\n uuid: null,\n propertyDetails: shape({\n street_address: null,\n city: null,\n state: null,\n zip: null,\n neighborhood: null,\n county: null,\n baths: null,\n beds: null,\n sqft: null,\n year_built: null,\n property_type: { id: null, name: null },\n }),\n additionalDetails: null,\n onPutDetailAsThunk: () => {},\n accountPropertyTypes: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(PropertyDetails);\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID, REFERRALPARTNER_BROKERAGE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { putRefBrokerage } from \"../actions/thunks\";\n\nimport DetailInput from \"../DetailInput\";\n\nconst ReferralBrokerageField = ({ brokerage, onPutRefBrokerage, uuid }) => (\n onPutRefBrokerage(uuid, newBrokerage)}\n />\n);\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ReferralBrokerageField,\n states: [REFERRALPARTNER_BROKERAGE, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putRefBrokerage,\n aliases: \"onPutRefBrokerage\",\n});\n\nReferralBrokerageField.propTypes = {\n brokerage: string,\n onPutRefBrokerage: func,\n uuid: string,\n};\n\nReferralBrokerageField.defaultProps = {\n brokerage: null,\n onPutRefBrokerage: () => {},\n uuid: null,\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport FieldLabel from \"../../../../../shared/v2/FieldLabel\";\n\nimport { DETAIL_FIELD_CONTAINER } from \"../styles\";\n\nconst DetailLinkField = ({ id, label, dataCy, fieldValue, txtBtnClassName, txtLink }) => (\n \n);\n\nexport default DetailLinkField;\n\nDetailLinkField.propTypes = {\n id: string,\n label: string,\n dataCy: string,\n fieldValue: string,\n txtBtnClassName: string,\n txtLink: string,\n};\n\nDetailLinkField.defaultProps = {\n id: null,\n label: null,\n dataCy: null,\n fieldValue: null,\n txtBtnClassName: null,\n txtLink: null,\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport FieldLabel from \"../../../../../shared/v2/FieldLabel\";\n\nimport { DETAIL_FIELD_CONTAINER } from \"../styles\";\n\nconst DetailTxtNonEditField = ({ id, label, dataCy, fieldValue, txtContainerClassName }) => (\n
\n \n
{fieldValue}
\n
\n);\n\nexport default DetailTxtNonEditField;\n\nDetailTxtNonEditField.propTypes = {\n id: string,\n label: string,\n dataCy: string,\n fieldValue: string,\n txtContainerClassName: string,\n};\n\nDetailTxtNonEditField.defaultProps = {\n id: null,\n label: null,\n dataCy: null,\n fieldValue: null,\n txtContainerClassName: null,\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n REFERRALPARTNER_NAME,\n REFERRALPARTNER_PDPLINK,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport DetailLinkField from \"../shared/DetailLinkField\";\nimport DetailTxtNonEditField from \"../shared/DetailTxtNonEditField/DetailTxtNonEditField\";\n\nimport { DETAIL_FIELD_VALUE_LINK } from \"../shared/styles\";\n\nconst ReferralPartnerFieldWrapper = ({ name, pdpLink }) =>\n name ? (\n \n ) : (\n \n );\n\nexport default tdpDetails({\n WrappedComponent: ReferralPartnerFieldWrapper,\n states: [REFERRALPARTNER_NAME, REFERRALPARTNER_PDPLINK],\n});\n\nReferralPartnerFieldWrapper.propTypes = {\n name: string,\n pdpLink: string,\n};\n\nReferralPartnerFieldWrapper.defaultProps = {\n name: null,\n pdpLink: null,\n};\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { LISTING_UUID, REFERRALPARTNER_TEAM } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { putRefTeam } from \"../actions/thunks\";\n\nimport DetailInput from \"../DetailInput\";\n\nconst ReferralTeamFieldWrapper = ({ team, uuid, onPutRefTeam }) => (\n onPutRefTeam(uuid, newTeamName)}\n />\n);\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ReferralTeamFieldWrapper,\n states: [REFERRALPARTNER_TEAM, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putRefTeam,\n aliases: \"onPutRefTeam\",\n});\n\nReferralTeamFieldWrapper.propTypes = {\n team: string,\n uuid: string,\n onPutRefTeam: func,\n};\n\nReferralTeamFieldWrapper.defaultProps = {\n team: null,\n uuid: null,\n onPutRefTeam: () => {},\n};\n","import React from \"react\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport ReferralBrokerageField from \"../ReferralBrokerageField\";\nimport ReferralPartnerField from \"../ReferralPartnerField\";\nimport ReferralTeamField from \"../ReferralTeamField\";\n\nconst ReferralPartnerDetails = () => (\n
\n \n \n \n \n
\n);\n\nexport default ReferralPartnerDetails;\n","import React from \"react\";\nimport { func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { LISTING_UUID, TRANSACTION_TITLE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { putRefTitle } from \"../actions/thunks\";\n\nimport DetailInput from \"../DetailInput\";\n\nconst ReferralTitle = ({ title, onPutRefTitle, uuid }) => (\n onPutRefTitle(uuid, val)}\n />\n);\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ReferralTitle,\n states: [LISTING_UUID, TRANSACTION_TITLE],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putRefTitle,\n aliases: \"onPutRefTitle\",\n});\n\nReferralTitle.propTypes = {\n title: string,\n onPutRefTitle: func,\n uuid: string,\n};\n\nReferralTitle.defaultProps = {\n title: null,\n onPutRefTitle: () => {},\n uuid: null,\n};\n","/* eslint-disable import/prefer-default-export */\nexport const TRANSACTION_AMT_ALIASES = {\n buyer: \"Budget\",\n seller: \"Estimated Home Value\",\n tenant: \"Monthly Budget\",\n landlord: \"Estimated Monthly Rent\",\n};\n","import React from \"react\";\nimport { func, number, oneOfType, string } from \"prop-types\";\n\nimport { TRANSACTION_AMT_ALIASES } from \"../../../shared/constants\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TRANSACTIONAMT, CLIENTINTENT, LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { putRefTransactionAmt } from \"../actions/thunks\";\n\nimport DetailInput from \"../DetailInput\";\n\nconst ReferralTransactionAmount = ({ label, transactionAmt, onSetTransactionAmount }) => (\n \n);\n\nconst ReferralTransactionAmountWrapper = ({ clientIntent, transactionAmt, onPutRefTransactionAmt, uuid }) => (\n onPutRefTransactionAmt(uuid, val)}\n />\n);\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ReferralTransactionAmountWrapper,\n states: [CLIENTINTENT, TRANSACTIONAMT, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putRefTransactionAmt,\n aliases: \"onPutRefTransactionAmt\",\n});\n\nReferralTransactionAmount.propTypes = {\n label: string,\n transactionAmt: oneOfType([string, number]),\n onSetTransactionAmount: func,\n};\n\nReferralTransactionAmount.defaultProps = {\n label: null,\n transactionAmt: null,\n onSetTransactionAmount: () => {},\n};\n\nReferralTransactionAmountWrapper.propTypes = {\n clientIntent: string,\n transactionAmt: oneOfType([string, number]),\n onPutRefTransactionAmt: func,\n uuid: string,\n};\n\nReferralTransactionAmountWrapper.defaultProps = {\n clientIntent: null,\n transactionAmt: null,\n onPutRefTransactionAmt: () => {},\n uuid: null,\n};\n","import { bool, func, string } from \"prop-types\";\nimport React from \"react\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n REFERRAL_FEE,\n ISREFERRALFEEPERCENTAGE,\n LISTING_UUID,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { putRefFeeAsThunk } from \"../../../Header/actions/thunks\";\n\nimport InlineEditingInput from \"../../../../shared/v2/InlineEditingInput\";\nimport FieldLabel from \"../../../../shared/v2/FieldLabel/FieldLabel\";\nimport { editIsReferralFeePercentage } from \"../../../Header/actions/creators\";\n\nconst ReferralFee = ({\n referralFee,\n onPutRefFeeAsThunk,\n onEditIsReferralFeePercentage,\n isReferralFeePercentage,\n uuid,\n}) => {\n const onChangeHandlr = (refFee) =>\n onPutRefFeeAsThunk({\n referralFee: parseFloat(refFee.replace(\",\", \"\")),\n isFeePercentage: isReferralFeePercentage,\n uuid,\n });\n\n return (\n
\n \n onEditIsReferralFeePercentage(false)}\n onPercentSelected={() => onEditIsReferralFeePercentage(true)}\n />\n
\n );\n};\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: ReferralFee,\n states: [REFERRAL_FEE, ISREFERRALFEEPERCENTAGE, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: [putRefFeeAsThunk, editIsReferralFeePercentage],\n aliases: [\"onPutRefFeeAsThunk\", \"onEditIsReferralFeePercentage\"],\n});\n\nReferralFee.propTypes = {\n referralFee: string,\n isReferralFeePercentage: bool,\n onPutRefFeeAsThunk: func,\n onEditIsReferralFeePercentage: func,\n uuid: string,\n};\n\nReferralFee.defaultProps = {\n referralFee: null,\n isReferralFeePercentage: false,\n onPutRefFeeAsThunk: () => {},\n onEditIsReferralFeePercentage: () => {},\n uuid: null,\n};\n","import React from \"react\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport ReferralTitle from \"../ReferralTitle\";\nimport DetailStatus from \"../shared/DetailStatus\";\nimport ReferralTransactionAmount from \"../ReferralTransactionAmount\";\nimport ReferralFee from \"../ReferralFee\";\nimport DetailSouceDropdown from \"../DetailSourceDropdown\";\nimport ListingUuid from \"../ListingUuid\";\n\nconst RefDetails = () => (\n
\n \n \n \n \n \n \n \n
\n);\n\nexport default RefDetails;\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport DetailLinkField from \"../shared/DetailLinkField/DetailLinkField\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { CLIENTDETAILS_NAME, CLIENTDETAILS_PDPLINK } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport { DETAIL_FIELD_VALUE_LINK } from \"../shared/styles\";\n\nconst ClientNameField = ({ name, pdpLink }) => (\n \n);\n\nconst withReduxState = tdpDetails({\n WrappedComponent: ClientNameField,\n states: [CLIENTDETAILS_NAME, CLIENTDETAILS_PDPLINK],\n});\n\nexport default withReduxState;\n\nClientNameField.propTypes = {\n name: string,\n pdpLink: string,\n};\n\nClientNameField.defaultProps = {\n name: null,\n pdpLink: null,\n};\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { CLIENTINTENT } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport DetailTxtNonEditField from \"../shared/DetailTxtNonEditField\";\n\nconst ClientIntentField = ({ clientIntent }) => (\n \n);\n\nexport default tdpDetails({\n WrappedComponent: ClientIntentField,\n states: CLIENTINTENT,\n});\n\nClientIntentField.propTypes = {\n clientIntent: string,\n};\n\nClientIntentField.defaultProps = {\n clientIntent: null,\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport {\n CLIENTDETAILS_FINANCING,\n CLIENTINTENT,\n LISTING_UUID,\n} from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\n\nimport DetailDropdown from \"../DetailDropdown\";\nimport { putRefFinancial } from \"../actions/thunks\";\n\nconst isClientIntentBuyer = (clientIntent) => {\n if (!clientIntent) return clientIntent;\n return clientIntent.toLowerCase() === \"buyer\";\n};\n\nconst FINANCING_OPTIONS = [\n { label: \"Pre-Approved\", value: \"Pre-Approved\" },\n { label: \"Pre-Qualified\", value: \"Pre-Qualified\" },\n { label: \"Cash Offer\", value: \"Cash Offer\" },\n { label: \"None\", value: \"None\" },\n];\n\nconst FinancingField = ({ financing, onBlur, show }) =>\n show && (\n onBlur(value)}\n />\n );\n\nconst FinancingFieldWrapper = ({ financing, onPutRefFinancial, clientIntent, uuid }) => (\n onPutRefFinancial(uuid, fin)}\n />\n);\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: FinancingFieldWrapper,\n states: [CLIENTDETAILS_FINANCING, CLIENTINTENT, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putRefFinancial,\n aliases: \"onPutRefFinancial\",\n});\n\nFinancingField.propTypes = {\n financing: string,\n onBlur: func,\n show: bool,\n};\n\nFinancingField.defaultProps = {\n financing: null,\n onBlur: () => {},\n show: false,\n};\n\nFinancingFieldWrapper.propTypes = {\n financing: string,\n onPutRefFinancial: func,\n clientIntent: string,\n uuid: string,\n};\n\nFinancingFieldWrapper.defaultProps = {\n financing: null,\n onPutRefFinancial: () => {},\n clientIntent: null,\n uuid: null,\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport withDispatch from \"../../../../shared/HOCs/withDispatch/withDispatch\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { ADDRESS_FIELD, CLIENTINTENT, LISTING_UUID } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isBuyerTenant } from \"../../../shared/helpers\";\nimport { putRefDesiredLocations } from \"../actions/thunks\";\n\nimport DetailInput from \"../DetailInput\";\n\nexport const DesiredLocationsField = ({ addressField, onEditReferralDesiredAddress, show }) =>\n show && (\n \n );\n\nconst DesiredLocationsFieldWrapper = ({ addressField, onPutRefDesiredLocations, clientIntent, uuid }) => (\n onPutRefDesiredLocations(uuid, val)}\n show={isBuyerTenant(clientIntent)}\n />\n);\n\nconst withReduxStates = tdpDetails({\n WrappedComponent: DesiredLocationsFieldWrapper,\n states: [ADDRESS_FIELD, CLIENTINTENT, LISTING_UUID],\n});\n\nexport default withDispatch({\n WrappedComponent: withReduxStates,\n actions: putRefDesiredLocations,\n aliases: \"onPutRefDesiredLocations\",\n});\n\nDesiredLocationsField.propTypes = {\n addressField: string,\n onEditReferralDesiredAddress: func,\n show: bool,\n};\n\nDesiredLocationsField.defaultProps = {\n addressField: null,\n onEditReferralDesiredAddress: () => {},\n show: true,\n};\n\nDesiredLocationsFieldWrapper.propTypes = {\n addressField: string,\n onPutRefDesiredLocations: func,\n clientIntent: string,\n uuid: string,\n};\n\nDesiredLocationsFieldWrapper.defaultProps = {\n addressField: null,\n onPutRefDesiredLocations: () => {},\n clientIntent: null,\n uuid: null,\n};\n","import React from \"react\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport ClientNameField from \"../ClientNameField\";\nimport ClientIntentField from \"../ClientIntentField\";\nimport FinancingField from \"../FinancingField\";\nimport DesiredLocationsField from \"../DesiredLocationsField\";\n\nconst ClientIntentDetails = () => (\n
\n \n \n \n \n \n
\n);\n\nexport default ClientIntentDetails;\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, func, number, shape, string } from \"prop-types\";\n\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport DetailInput from \"../DetailInput\";\nimport DetailDropdown from \"../DetailDropdown\";\n\nconst propertyTypeToOption = (item) => (item ? { label: item.name, value: item.id } : null);\n\nconst SELLER_LANDLORD = [\"seller\", \"landlord\"];\nconst isSellerLandlord = (clientIntent) => SELLER_LANDLORD.includes(clientIntent);\n\nconst RefPropertyDetails = ({\n uuid,\n propertyDetails,\n accountPropertyTypes,\n onPutDetailAsThunk,\n clientIntent,\n}) => {\n const { id, street_address, city, state, zip, property_type } = propertyDetails;\n\n const saveToAddress =\n (key, stateKey = null) =>\n (value) => {\n onPutDetailAsThunk({\n uuid,\n key,\n inOption: \"address_attributes\",\n value,\n group: \"propertyDetails\",\n addressId: id,\n stateKey,\n });\n };\n\n const saveOptionFor = (key, stateKey) => (optionValue) =>\n onPutDetailAsThunk({\n uuid,\n key,\n value: optionValue.value,\n group: \"propertyDetails\",\n stateKey,\n });\n\n return (\n isSellerLandlord(clientIntent) && (\n
\n \n \n \n \n \n \n
\n )\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n propertyDetails: state.tdpDetailsReducer.propertyDetails,\n additionalDetails: state.tdpDetailsReducer.additionalDetails,\n accountPropertyTypes: state.tdpDetailsReducer.meta.accountPropertyTypes,\n clientIntent: state.tdpDetailsReducer.referralDetails.clientIntent,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (payload) => dispatch(putDetailAsThunk(payload)),\n});\n\nRefPropertyDetails.propTypes = {\n uuid: string,\n propertyDetails: shape({\n street_address: string,\n city: string,\n state: string,\n zip: string,\n id: string,\n property_type: shape({ id: number, name: string }),\n }),\n onPutDetailAsThunk: func,\n accountPropertyTypes: arrayOf(shape({ label: string, value: number })),\n clientIntent: string,\n};\n\nRefPropertyDetails.defaultProps = {\n uuid: null,\n propertyDetails: shape({\n street_address: null,\n city: null,\n state: null,\n zip: null,\n id: null,\n property_type: { id: null, name: null },\n }),\n onPutDetailAsThunk: () => {},\n accountPropertyTypes: [],\n clientIntent: \"buyer\",\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RefPropertyDetails);\n","import React from \"react\";\n\nimport { bool, func, string } from \"prop-types\";\nimport DetailDropdown from \"../DetailDropdown\";\n\nconst ToOption = (hold_earnest_money) => {\n if (hold_earnest_money === true) {\n return { label: \"Yes\", value: true };\n }\n if (hold_earnest_money === false) {\n return { label: \"No\", value: false };\n }\n return { label: \"Select\", value: null };\n};\n\nconst options = [\n { label: \"Select\", value: null },\n { label: \"Yes\", value: true },\n { label: \"No\", value: false },\n];\n\nconst EarnestMoneyDropdown = ({ hold_earnest_money, onBlur, containerClass }) => (\n \n);\n\nEarnestMoneyDropdown.propTypes = {\n hold_earnest_money: bool,\n onBlur: func,\n containerClass: string,\n};\n\nEarnestMoneyDropdown.defaultProps = {\n hold_earnest_money: null,\n onBlur: () => {},\n containerClass: \"\",\n};\nexport default EarnestMoneyDropdown;\n","/* eslint-disable no-unneeded-ternary */\nimport React from \"react\";\nimport { func, shape, string, bool } from \"prop-types\";\nimport FieldLabel from \"../../../../shared/v2/FieldLabel\";\nimport InlineEditingDatePicker from \"@shared/v2/InlineEditingDatePicker\";\n\nconst DATE_FORMAT = \"MM/DD/YYYY\";\nconst DATE_TIME_FORMAT = `${DATE_FORMAT} hh:mm A`;\n\nconst DetailDateDropdown = ({ date, onBlur, isNew, idFromLists, label, dataCy, containerClass }) => {\n const dateValue = `${date?.date}${date?.display_time ? ` ${date.display_time}` : \"\"}`;\n\n const submitDate = (newValue) => {\n const hasTime = / /.test(newValue);\n const newDate = moment.utc(newValue, hasTime ? DATE_TIME_FORMAT : DATE_FORMAT);\n if (newValue !== \"\" && !newDate.isValid()) return;\n const secondsSinceMidnight = hasTime ? newDate.diff(moment(newDate).startOf(\"day\"), \"seconds\") : null;\n const data = {\n new_milestone: isNew,\n date: newDate,\n seconds_since_midnight: secondsSinceMidnight,\n };\n onBlur(date?.id || idFromLists, data);\n };\n\n return (\n \n \n \n \n );\n};\n\nDetailDateDropdown.propTypes = {\n date: shape({\n id: string,\n date: string,\n name: string,\n include_time: bool,\n display_time: string,\n }),\n label: string,\n onBlur: func.isRequired,\n isNew: bool,\n dataCy: string,\n idFromLists: string,\n containerClass: string,\n};\n\nDetailDateDropdown.defaultProps = {\n date: null,\n isNew: false,\n dataCy: null,\n idFromLists: \"\",\n label: \"\",\n containerClass: \"\",\n};\n\nexport default DetailDateDropdown;\n","/* eslint-disable import/prefer-default-export */\nexport const adaptError = (error) => {\n if (!error?.response?.data?.message) {\n return {\n message: \"Unknown error occurred. Please try again later\",\n };\n }\n\n return error.response.data;\n};\n","import axios from \"axios\";\n\nconst basePath = \"/api/v4/transactions\";\nconst apiDatesUrl = (uuid) => `${basePath}/${uuid}/dates`;\n\nexport const getAllDatesFromApi = (uuid) => axios.get(`${apiDatesUrl(uuid)}`);\n\nexport const updateDatesFromApi = (uuid, optionId, data) =>\n axios.put(`${apiDatesUrl(uuid)}/${optionId}`, {\n ...data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n","import { adaptError } from \"../api/apiAdapters\";\nimport { getAllDatesFromApi, updateDatesFromApi } from \"../api/apiWrappers\";\nimport {\n saveAllDates,\n updateDates,\n fetchAllDatesFailure,\n updateDateFailure,\n showCustomDates,\n} from \"./creators\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport { getAllDetailsAsThunk } from \"../../../Main/Details/actions/thunks\";\n\nexport const getAllDates = (uuid) => async (dispatch) => {\n const req = getAllDatesFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(fetchAllDatesFailure(adaptError(err)));\n return;\n }\n\n const dates = res.data;\n dispatch(saveAllDates(dates));\n};\n\nexport const updateDate = (uuid, optionId, data) => async (dispatch) => {\n dispatch(showCustomDates(false));\n const req = updateDatesFromApi(uuid, optionId, data);\n /* eslint-disable no-unused-vars */\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(updateDateFailure(adaptError(err)));\n return;\n }\n\n const { date, id } = res.data;\n\n dispatch(updateDates(true, { date, id }));\n getAllDates(uuid);\n dispatch(getAllDetailsAsThunk(uuid));\n};\n\nexport const showCustomDateLists = (isOpen) => async (dispatch) => {\n dispatch(showCustomDates(isOpen));\n};\n","import React, { useEffect, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, shape, string } from \"prop-types\";\nimport DetailDateDropdown from \"../DetailDateDropdown\";\nimport { updateDate } from \"../../../SideRight/Dates/actions/thunks\";\n\nconst EarnestMoneyDateDropdown = ({ dates, date, updateDate, uuid, label, containerClass }) => {\n const saveUpdateDate = (id, data) => updateDate(uuid, id, data);\n const [options, setOptions] = useState(dates?.available_dates || []);\n const [idFromLists, setFromLists] = useState(null);\n\n const getIdByName = (name) => {\n const item = options.find((item) => item.name === name);\n return item ? item.id : null;\n };\n\n useEffect(() => {\n setOptions(dates?.available_dates || []);\n if (!date?.id) {\n setFromLists(getIdByName(date?.name || label));\n }\n }, [dates.available_dates]);\n\n return (\n \n );\n};\n\nEarnestMoneyDateDropdown.propTypes = {\n updateDate: func,\n uuid: string,\n label: string,\n date: shape({\n id: string,\n date: string,\n name: string,\n include_time: bool,\n display_time: string,\n }),\n containerClass: string,\n};\n\nEarnestMoneyDateDropdown.defaultProps = {\n updateDate: () => {},\n uuid: null,\n label: \"\",\n date: null,\n containerClass: \"\",\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n dates: state.tdpDatesReducer.dates,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n updateDate: (uuid, optionId, data) => dispatch(updateDate(uuid, optionId, data)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(EarnestMoneyDateDropdown);\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, shape, string, bool, number } from \"prop-types\";\nimport { removeCommas } from \"@shared/v2/inputFormatUtils\";\nimport DetailSectionHeader from \"../DetailSectionHeader\";\nimport DetailInput from \"../DetailInput\";\nimport { putDetailAsThunk } from \"../actions/thunks\";\nimport { formatExistingNumber } from \"../api/helpers\";\nimport EarnestMoneyDropdown from \"../EarnestMoneyDropdown\";\nimport EarnestMoneyDateDropdown from \"../EarnestMoneyDateDropdown\";\n\nconst EarnestMoney = ({ uuid, deposit, onPutDetailAsThunk, listingId }) => {\n const { id, amount, additional_amount, deposit_due, additional_earnest_money_due, hold_earnest_money } =\n deposit;\n\n const saveValueFor = (key) => (value) => {\n const newVal = {\n id: id || null,\n listing_id: listingId,\n [key]:\n key === \"hold_earnest_money\"\n ? value?.value\n : key === \"additional_amount\" || key === \"amount\"\n ? Number(removeCommas(value))\n : value,\n };\n\n onPutDetailAsThunk({\n uuid,\n key: \"deposit_attributes\",\n value: newVal,\n group: \"listingDetails\",\n stateKey: \"deposit\",\n });\n };\n\n return (\n
\n \n \n \n \n \n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n listingId: state.tdpDetailsReducer?.headerDetails?.listing_id,\n deposit: state.tdpDetailsReducer?.listingDetails?.deposit,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (uuid) => dispatch(putDetailAsThunk(uuid)),\n});\n\nEarnestMoney.propTypes = {\n uuid: string,\n listingId: number,\n deposit: shape({\n id: number,\n hold_earnest_money: bool,\n amount: number,\n additional_amount: number,\n deposit_due: shape({\n id: string,\n date: string,\n name: string,\n include_time: bool,\n display_time: string,\n }),\n additional_earnest_money_due: shape({\n id: string,\n date: string,\n name: string,\n include_time: bool,\n display_time: string,\n }),\n }),\n onPutDetailAsThunk: func,\n};\n\nEarnestMoney.defaultProps = {\n uuid: \"\",\n listingId: null,\n deposit: null,\n onPutDetailAsThunk: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EarnestMoney);\n","import React from \"react\";\nimport { string } from \"prop-types\";\n\nimport { DETAILS_WRAPPER, DETAILS_COLUMN } from \"../shared/styles\";\nimport { isReferral } from \"../../../shared/helpers\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TRANSACTION_TYPE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport TransactionDetails from \"../TransactionDetails\";\nimport ListingDetails from \"../ListingDetails\";\nimport PropertyDetails from \"../PropertyDetails\";\nimport ReferralPartnerDetails from \"../ReferralPartnerDetails\";\nimport RefDetails from \"../RefDetails\";\nimport ClientIntentDetails from \"../ClientIntentDetails\";\nimport RefPropertyDetails from \"../RefPropertyDetails\";\nimport EarnestMoney from \"../EarnestMoney\";\n\nconst NonReferralDetails = () => (\n
\n
\n \n \n \n
\n
\n \n
\n
\n);\n\nconst ReferralDetails = () => (\n
\n
\n \n \n
\n
\n \n \n
\n
\n);\n\nconst DetailsSpecifics = ({ type }) => (isReferral(type) ? : );\n\nexport default tdpDetails({\n WrappedComponent: DetailsSpecifics,\n states: TRANSACTION_TYPE,\n});\n\nDetailsSpecifics.propTypes = {\n type: string,\n};\n\nDetailsSpecifics.defaultProps = {\n type: null,\n};\n","import { number, shape, string, bool } from \"prop-types\";\n\nconst listingDataShape = shape({\n streetAddress: shape({\n mls_streetAddress: string.isRequired,\n current_streetAddress: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n postalCode: shape({\n mls_postalCode: string.isRequired,\n current_postalCode: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n price: shape({\n mls_price: number.isRequired,\n current_price: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n mlsNumber: shape({\n mls_mlsNumber: string.isRequired,\n current_mlsNumber: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n beds: shape({\n mls_beds: number.isRequired,\n current_beds: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n baths: shape({\n mls_baths: string.isRequired,\n current_baths: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n sqFt: shape({\n mls_sqFt: string.isRequired,\n current_sqFt: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n city: shape({\n mls_city: string.isRequired,\n current_city: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n state: shape({\n mls_state: string.isRequired,\n current_state: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n county: shape({\n mls_county: string.isRequired,\n current_county: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n property_type: shape({\n mls_property_type: string.isRequired,\n current_property_type: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n neighborhood: shape({\n mls_neighborhood: string.isRequired,\n current_neighborhood: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n year_built: shape({\n mls_year_built: string.isRequired,\n current_year_built: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n parking: shape({\n mls_parking: number.isRequired,\n current_parking: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n foundation: shape({\n mls_foundation: string.isRequired,\n current_foundation: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n photosAvailable: shape({\n mls_photosAvailable: number.isRequired,\n current_photosAvailable: number.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n description: shape({\n mls_description: string.isRequired,\n current_description: string.isRequired,\n isSelectable: bool.isRequired,\n mlsChecked: bool.isRequired,\n currentChecked: bool.isRequired,\n }).isRequired,\n}).isRequired;\n\nexport default listingDataShape;\n","import React from \"react\";\nimport { string, func } from \"prop-types\";\nimport ContactsDetailSelector from \"@shared/v2/DetailSelector/DetailSelector\";\nimport { TEXT_CLASSES, DETAIL_TEXT_CLASSES } from \"../api/constants\";\nimport listingDataShape from \"../model/listingData\";\n\nconst ListingDetailsField = ({ label, name, listingData, setListingData }) => {\n const setImportListingDetails = (selectedKey, targetname) => {\n const keyChecked = selectedKey === \"mls\" ? \"mlsChecked\" : \"currentChecked\";\n const keyUnChecked = selectedKey === \"mls\" ? \"currentChecked\" : \"mlsChecked\";\n setListingData((prevState) => ({\n ...prevState,\n [targetname]: {\n ...prevState[targetname],\n [keyChecked]: true,\n [keyUnChecked]: false,\n },\n }));\n };\n const mlsValue = String(listingData[name][`mls_${name}`]);\n const currentValue = String(listingData[name][`current_${name}`]);\n\n return (\n <>\n {listingData[name].isSelectable ? (\n
\n setImportListingDetails(value === mlsValue ? \"mls\" : \"current\", name)}\n secondValue={currentValue}\n selectedValue={listingData[name].currentChecked ? currentValue : mlsValue}\n />\n
\n ) : (\n
\n
\n {label}\n
\n
{mlsValue}
\n \n
{currentValue}
\n
\n
\n
\n )}\n \n );\n};\nListingDetailsField.propTypes = {\n label: string.isRequired,\n name: string.isRequired,\n listingData: listingDataShape,\n setListingData: func,\n};\nListingDetailsField.defaultProps = {\n setListingData: () => {},\n};\n\nexport default ListingDetailsField;\n","import React from \"react\";\nimport { string, func } from \"prop-types\";\nimport { HEADING_TEXT_CLASSES, TEXT_CLASSES } from \"../api/constants\";\nimport ListingDetailsField from \"./ListingDetailsField\";\nimport listingDataShape from \"../model/listingData\";\n\nconst ReviewImportListingDetails = ({ containerClassName, listingData, setListingData }) => (\n
\n
\n For fields containing existing data, decide whether to retain the current data or replace it with\n information from the MLS import.\n
\n
\n \n
\n \n MLS Listing Data\n
\n \n \n Current Listing Data\n
\n
\n
\n
\n
\n
\n
Listing Details
\n
\n
\n
\n \n \n
\n
\n
\n
Property Details
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n);\n\nReviewImportListingDetails.propTypes = {\n listingData: listingDataShape,\n setListingData: func,\n containerClassName: string,\n};\n\nReviewImportListingDetails.defaultProps = {\n containerClassName: \"\",\n setListingData: () => {},\n};\n\nexport default ReviewImportListingDetails;\n","import React, { useEffect, useState } from \"react\";\nimport { number, shape, string, func, bool, arrayOf } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport MlsListingDropdown from \"@shared/MlsListingDropdown\";\nimport { ArrowLeft } from \"@shared/v2/Icomoon\";\nimport useMlsListingDetails from \"@shared/MlsListingDropdown/useMlsListingDetails\";\nimport { mergeCompareObjects, setDefaultValues } from \"../api/helpers\";\nimport { allKeys } from \"../api/constants\";\nimport * as thunkActions from \"../actions/thunks\";\nimport ListingPreviewCard from \"../../../../Transactions/ListingPreviewCard\";\nimport ReviewImportListingDetails from \"./ReviewImportListingDetails\";\n\nconst getPropertyId = (accountPropertyTypes, labelToFind) => {\n const property = accountPropertyTypes.find((p) => p.label === labelToFind);\n return property ? property.value : null;\n};\n\nconst addToPayload = (payload, payloadProperty, isAddressAttr, isDetailAttr, propertyValue) => {\n if (isAddressAttr) {\n if (!Object.prototype.hasOwnProperty.call(payload, \"address_attributes\")) {\n // eslint-disable-next-line no-param-reassign\n payload.address_attributes = {};\n // eslint-disable-next-line no-param-reassign\n payload.address_attributes.address_type = \"listing\";\n }\n // eslint-disable-next-line no-param-reassign\n payload.address_attributes[payloadProperty] = propertyValue;\n } else if (isDetailAttr) {\n if (!Object.prototype.hasOwnProperty.call(payload, \"details\")) {\n // eslint-disable-next-line no-param-reassign\n payload.details = [];\n }\n payload.details.push({ name: payloadProperty, value: propertyValue });\n } else {\n // eslint-disable-next-line no-param-reassign\n payload[payloadProperty] = propertyValue;\n }\n return payload;\n};\n\nconst setProperty = (payload, data, listingProperty, payloadProperty, isAddressAttr, isDetailAttr) => {\n if (!data[listingProperty]) return undefined;\n const mlsProperty = data[listingProperty][`mls_${listingProperty}`];\n const currentProperty =\n data[listingProperty][`current_${listingProperty}`] === \"—\"\n ? null\n : data[listingProperty][`current_${listingProperty}`];\n\n const { isSelectable, mlsChecked } = data[listingProperty];\n\n if (isSelectable) {\n if (mlsChecked) {\n addToPayload(payload, payloadProperty, isAddressAttr, isDetailAttr, mlsProperty);\n } else if (isAddressAttr) {\n addToPayload(payload, payloadProperty, isAddressAttr, isDetailAttr, currentProperty);\n }\n } else if (mlsProperty !== \"—\") {\n addToPayload(payload, payloadProperty, isAddressAttr, isDetailAttr, mlsProperty);\n } else if (isAddressAttr) {\n addToPayload(payload, payloadProperty, isAddressAttr, isDetailAttr, currentProperty);\n }\n return payload;\n};\n\nconst ImportListingDetailsModal = ({\n modalOpen,\n isFromDetail,\n closeModal,\n setshowAlert,\n uuid,\n isFromIndex,\n listingUuid,\n onGetAllDetailsAsThunk,\n onGetPropertyTypesAsThunk,\n importDetailAsThunk,\n photosAvailable,\n propertyDetails,\n accountPropertyTypes,\n listingDetailsData,\n checkAddressAndcloseModal,\n}) => {\n const [selectedBlossorId, setSelectedBlossorId] = useState(null);\n const [openReview, setOpenReview] = useState(false);\n const [listingData, setListingData] = useState(null);\n const mlsListingDetails = useMlsListingDetails(selectedBlossorId);\n const updatedMlsListingDetails = mlsListingDetails.data\n ? {\n streetAddress: mlsListingDetails.data?.streetAddress,\n postalCode: mlsListingDetails.data?.postalCode,\n price: mlsListingDetails.data?.price,\n mlsNumber: mlsListingDetails.data?.mlsNum,\n beds: mlsListingDetails.data?.bedrooms,\n baths: mlsListingDetails.data?.bathsTotalDecimal,\n sqFt: mlsListingDetails.data?.squareFeet,\n city: mlsListingDetails.data?.city,\n state: mlsListingDetails.data?.state,\n county: mlsListingDetails.data?.county,\n property_type: mlsListingDetails.data?.propertyType,\n neighborhood: mlsListingDetails.data?.neighborhood,\n year_built: mlsListingDetails.data?.year,\n parking: String(mlsListingDetails.data?.parkingFeatures || []),\n photosAvailable: mlsListingDetails.data?.photosAvailable,\n photos: mlsListingDetails.data?.photos,\n description: mlsListingDetails.data?.remarks,\n blossorId: mlsListingDetails.data?.blossorId,\n }\n : null;\n\n useEffect(() => {\n if (isFromIndex && listingUuid) {\n onGetAllDetailsAsThunk(listingUuid);\n onGetPropertyTypesAsThunk(listingUuid);\n }\n }, [isFromIndex]);\n\n const handleReview = () => {\n const currentListingData = {\n ...propertyDetails,\n ...listingDetailsData,\n streetAddress: propertyDetails.street_address,\n sqFt: propertyDetails.sqft,\n postalCode: propertyDetails.zip,\n property_type: propertyDetails?.property_type?.name,\n photosAvailable,\n mlsNumber: listingDetailsData.mls_number,\n };\n\n const comparableListingData = mergeCompareObjects(\n setDefaultValues(updatedMlsListingDetails, allKeys),\n setDefaultValues(currentListingData, allKeys),\n );\n setListingData(comparableListingData);\n setOpenReview(true);\n };\n\n const handleImport = () => {\n const payloadListing = {};\n setProperty(payloadListing, listingData, \"property_type\", \"property_type\");\n setProperty(payloadListing, listingData, \"price\", \"price\");\n setProperty(payloadListing, listingData, \"mlsNumber\", \"mls_number\");\n setProperty(payloadListing, listingData, \"description\", \"description\");\n setProperty(payloadListing, listingData, \"photosAvailable\", \"photosAvailable\");\n setProperty(payloadListing, listingData, \"streetAddress\", \"street_address\", true);\n setProperty(payloadListing, listingData, \"city\", \"city\", true);\n setProperty(payloadListing, listingData, \"state\", \"locality\", true);\n setProperty(payloadListing, listingData, \"postalCode\", \"postal_code\", true);\n setProperty(payloadListing, listingData, \"county\", \"county\", true);\n setProperty(payloadListing, listingData, \"neighborhood\", \"neighborhood\", true);\n setProperty(payloadListing, listingData, \"beds\", \"beds\", false, true);\n setProperty(payloadListing, listingData, \"baths\", \"baths\", false, true);\n setProperty(payloadListing, listingData, \"sqFt\", \"sqft\", false, true);\n setProperty(payloadListing, listingData, \"year_built\", \"year_built\", false, true);\n setProperty(payloadListing, listingData, \"parking\", \"parking\", false, true);\n\n if (payloadListing.property_type) {\n payloadListing.property_type_id = getPropertyId(accountPropertyTypes, payloadListing.property_type);\n delete payloadListing.property_type;\n }\n if (payloadListing.photosAvailable) {\n payloadListing.blossor_id = mlsListingDetails.data.blossorId;\n payloadListing.use_mls_photos = true;\n delete payloadListing.photosAvailable;\n }\n const userUUID = isFromIndex && listingUuid ? listingUuid : uuid;\n importDetailAsThunk(userUUID, payloadListing, setshowAlert);\n closeModal();\n };\n\n const handleBack = () => {\n setOpenReview(false);\n };\n\n const handleClose = () => {\n if (isFromDetail) {\n closeModal();\n } else {\n closeModal();\n checkAddressAndcloseModal();\n }\n };\n\n const clearListing = () => {\n setOpenReview(false);\n mlsListingDetails.actions.clear();\n };\n\n return (\n \n \n\n \n {!openReview && !mlsListingDetails.data && (\n setSelectedBlossorId(option.value)}\n placeholder=\"Search by Listing Address or MLS #\"\n />\n )}\n\n {!openReview && mlsListingDetails.data && (\n \n )}\n\n {openReview && (\n \n )}\n \n\n \n \n {openReview ? (\n <>\n \n Back\n \n ) : (\n \"Cancel\"\n )}\n \n \n {openReview ? \"Import\" : \"Review\"}\n \n \n \n );\n};\n\nImportListingDetailsModal.propTypes = {\n modalOpen: bool,\n isFromDetail: bool,\n isFromIndex: bool,\n listingUuid: string,\n closeModal: func,\n checkAddressAndcloseModal: func,\n setshowAlert: func,\n uuid: string,\n onGetAllDetailsAsThunk: func.isRequired,\n onGetPropertyTypesAsThunk: func.isRequired,\n importDetailAsThunk: func.isRequired,\n photosAvailable: number,\n listingDetailsData: shape({\n mls_number: string,\n price: string,\n description: string,\n }),\n accountPropertyTypes: arrayOf(shape({ label: string, value: number })),\n propertyDetails: shape({\n street_address: string,\n city: string,\n state: string,\n zip: string,\n neighborhood: string,\n county: string,\n baths: string,\n beds: string,\n sqft: string,\n year_built: string,\n property_type: shape({ id: number, name: string }),\n }),\n};\n\nImportListingDetailsModal.defaultProps = {\n modalOpen: false,\n isFromDetail: false,\n isFromIndex: false,\n listingUuid: null,\n closeModal: () => {},\n checkAddressAndcloseModal: () => {},\n setshowAlert: () => {},\n photosAvailable: 0,\n listingDetailsData: {\n mls_number: \"\",\n price: \"\",\n description: \"\",\n },\n uuid: null,\n accountPropertyTypes: [],\n propertyDetails: shape({\n street_address: null,\n city: null,\n state: null,\n zip: null,\n neighborhood: null,\n county: null,\n baths: null,\n beds: null,\n sqft: null,\n year_built: null,\n property_type: { id: null, name: null },\n }),\n};\n\nconst mapStateToProps = (state) => ({\n accountPropertyTypes: state.tdpDetailsReducer.meta.accountPropertyTypes,\n listingDetailsData: state.tdpDetailsReducer.listingDetails,\n uuid: state.tdpDetailsReducer.uuid,\n photosAvailable: state.tdpDetailsReducer.listingImgs.length,\n propertyDetails: state.tdpDetailsReducer.propertyDetails,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n importDetailAsThunk: (uuid, payload, setshowAlert) =>\n dispatch(thunkActions.importDetailAsThunk(uuid, payload, setshowAlert)),\n onGetAllDetailsAsThunk: (uuid) => dispatch(thunkActions.getAllDetailsAsThunk(uuid)),\n onGetPropertyTypesAsThunk: (uuid) => dispatch(thunkActions.getPropertyTypesAsThunk(uuid)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ImportListingDetailsModal);\n","import React, { useState } from \"react\";\nimport Button from \"@shared/v2/Button/Button\";\nimport Alert from \"@shared/v2/Alert\";\nimport Check from \"@shared/v2/Icomoon/Icons/Check\";\nimport ImportListingDetailsModal from \"../ImportListingDetailsModal\";\n\nconst ImportListingDetailsBtn = () => {\n const [showModal, setshowModal] = useState(false);\n const [showAlert, setshowAlert] = useState(false);\n\n const closeModal = () => {\n setshowModal(false);\n };\n\n const openModal = () => {\n setshowModal(true);\n };\n\n return (\n <>\n {showAlert && (\n \n \n Listing details imported from MLS\n \n }\n role=\"alert\"\n />\n )}\n\n
\n \n
\n {showModal && (\n \n )}\n \n );\n};\n\nImportListingDetailsBtn.propTypes = {};\n\nImportListingDetailsBtn.defaultProps = {};\n\nexport default ImportListingDetailsBtn;\n","import React from \"react\";\n\nimport Header from \"../../../UI/Header\";\nimport DetailsSpecific from \"../DetailsSpecific\";\nimport ImportListingDetailsBtn from \"../ImportListingDetailsBtn\";\n\nconst DetailsWrapper = () => (\n
\n
} />\n \n
\n);\n\nexport default DetailsWrapper;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../Button\";\n\nconst CancelConfirmMultiline = ({ onCancelEditing, onConfirmEditing }) => (\n
\n \n \n
\n);\n\nCancelConfirmMultiline.propTypes = {\n onCancelEditing: PropTypes.func.isRequired,\n onConfirmEditing: PropTypes.func.isRequired,\n};\n\nexport default CancelConfirmMultiline;\n","import React from \"react\";\nimport { uniqueId } from \"lodash\";\n\n/**\n * Converts text into HTML paragraphs\n * @param {string} text Paragraph text\n * @return {React.node} Paragraph node with unique key\n */\nexport const convertTextToParagraph = (text) =>

{text}

;\n\n/**\n * Converts unix-style linebreaks (\\n) into HTML paragraphs\n * @param {string} text Raw text entry\n * @return {string | [React.node]} Either the original value or a collection of paragraphs\n */\nexport const linebreaksToParagraphs = (text) =>\n text && text.includes(\"\\n\") ? text.split(\"\\n\").map(convertTextToParagraph) : text;\n","import { schemaGenerator } from \"../../utils\";\n\nconst textAreaDictionary = {\n regular: {\n default: [\n \"tw-bg-transparent\",\n \"tw-border-0\",\n \"tw-outline-none\",\n \"tw-placeholder-neutral-gray-50\",\n \"tw-w-full\",\n ],\n focus: [\"focus:tw-outline-none\"],\n disabled: [\"disabled:tw-placeholder-neutral-gray-30\"],\n },\n};\n\nexport const textAreaStyleSchema = schemaGenerator(textAreaDictionary);\n\nconst textAreaResizeDictionary = {\n none: \"tw-resize-none\",\n both: \"tw-resize\",\n horizontal: \"tw-resize-x\",\n vertical: \"tw-resize-y\",\n};\n\nexport const textAreaResizeSchema = (schema) =>\n textAreaResizeDictionary[schema] || textAreaResizeDictionary.none;\n\nconst fieldsetBase = {\n default: [\n \"tw-font-regular\",\n \"tw-border-solid\",\n \"tw-border\",\n \"tw-rounded-[2px]\",\n \"tw-text-left\",\n \"tw-text-14px\",\n \"tw-px-12px\",\n \"tw-text-neutral-gray-75\",\n \"tw-bg-theme-text-input\",\n \"tw-z-2\",\n ],\n hover: [\"hover:tw-bg-theme-text-input-hover\"],\n focusWithin: [\n \"focus-within:tw-bg-white\",\n \"focus-within:hover:tw-bg-white\",\n \"focus-within:tw-outline-none\",\n \"focus-within:tw-ring-[1.5px]\",\n \"focus-within:tw-ring-theme-text-input-active\",\n ],\n disabled: [\"disabled:tw-text-neutral-gray-30\", \"disabled:tw-bg-theme-text-input-disabled\"],\n};\n\nconst fieldsetDictionary = {\n regular: {\n default: [...fieldsetBase.default, \"tw-border-theme-text-input\"],\n hover: [...fieldsetBase.hover, \"hover:tw-border-theme-text-input-hover\"],\n focusWithin: [\n ...fieldsetBase.focusWithin,\n \"focus-within:tw-border-theme-text-input-active\",\n \"focus-within:hover:tw-border-theme-text-input-active\",\n \"focus-within:tw-ring-offset-0\",\n ],\n disabled: [...fieldsetBase.disabled, \"disabled:tw-border-theme-text-input-disabled\"],\n },\n error: {\n default: [...fieldsetBase.default, \"tw-border-semantic-red-25\"],\n hover: [...fieldsetBase.hover, \"hover:tw-border-semantic-red-50\"],\n focusWithin: [\n ...fieldsetBase.focusWithin,\n \"focus-within:tw-border-semantic-red-100\",\n \"focus-within:tw-ring-semantic-red-10\",\n \"tw-ring-offset-0\",\n ],\n disabled: [...fieldsetBase.disabled, \"disabled:tw-border-neutral-gray-15\"],\n },\n};\n\nexport const fieldsetStyleSchema = schemaGenerator(fieldsetDictionary);\n","import React, { useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { textAreaStyleSchema, textAreaResizeSchema, fieldsetStyleSchema } from \"./TextArea.styles\";\n\nconst schemaBasedClasses = (schemaName) => fieldsetStyleSchema[schemaName] || fieldsetStyleSchema.default;\n\nconst TextArea = ({\n value,\n trailing,\n error,\n textAreaRef,\n onFieldClick,\n onFocusIn,\n onFocusOut,\n className,\n textAreaClassName,\n rows,\n resize,\n ...otherProps\n}) => {\n const fieldsetRef = useRef();\n const textAreaElementRef = textAreaRef || useRef();\n\n const classes = `\n ${schemaBasedClasses(error ? \"error\" : \"regular\")}\n ${className}\n `;\n\n const handleOnMouseDown = (e) => {\n if (!fieldsetRef.current || !textAreaElementRef.current) {\n return;\n }\n\n // Allow the input element handle the mousedown event\n if (textAreaElementRef.current === e.target) {\n return;\n }\n\n // Prevent this mouse down event to continue since the current target is the fieldset element\n if (fieldsetRef.current === e.currentTarget) {\n e.preventDefault();\n }\n };\n\n const handleOnBlur = (e) => {\n const { currentTarget } = e;\n\n // Give browser time to focus the next element\n window.requestAnimationFrame(() => {\n // Check if the new focused element is a child of the original container\n if (!currentTarget.contains(document.activeElement)) {\n onFocusOut();\n }\n });\n };\n\n return (\n
\n {/* Using fieldset to leverage the disabled attribute feature */}\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions */}\n \n
\n \n
{trailing}
\n
\n \n {error && (\n \n {error}\n \n )}\n
\n );\n};\n\nTextArea.defaultProps = {\n error: null,\n textAreaRef: null,\n onFieldClick: null,\n onFocusIn: null,\n onFocusOut: null,\n className: \"\",\n textAreaClassName: \"\",\n rows: 5,\n resize: \"none\",\n};\n\nTextArea.propTypes = {\n value: PropTypes.string.isRequired,\n trailing: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.element]).isRequired,\n error: PropTypes.string,\n onFieldClick: PropTypes.func,\n onFocusIn: PropTypes.func,\n onFocusOut: PropTypes.func,\n // See https://github.com/facebook/prop-types/issues/240#issue-384666636\n textAreaRef: PropTypes.oneOfType([\n PropTypes.func, // for legacy refs\n PropTypes.shape({ current: PropTypes.instanceOf(Element) }),\n ]),\n className: PropTypes.string,\n textAreaClassName: PropTypes.string,\n rows: PropTypes.number,\n resize: PropTypes.oneOf([\"none\", \"both\", \"horizontal\", \"vertical\"]),\n};\n\nexport default TextArea;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { Display, DisplayEditorToggleBase } from \"../InlineEditor\";\nimport TextButton from \"../TextButton\";\nimport CancelConfirmMultiline from \"../InlineEditor/CancelConfirmMultiline\";\nimport { linebreaksToParagraphs } from \"../InlineEditor/stringManipulation\";\nimport TextArea from \"./TextArea\";\n\nconst InlineEditingTextArea = ({\n id: idFromProps,\n value,\n disabled,\n error,\n placeholder,\n externalEditing,\n onInteract,\n onChange,\n onCancelEditing,\n onConfirmEditing,\n className,\n rows,\n displayComponent,\n displayClassName,\n showLineBreak,\n resize,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"inline-editing-text-area\", idFromProps);\n\n const ignoreExternalEdition = [null, undefined].includes(externalEditing);\n const [editing, setEditing] = useState(externalEditing ?? false);\n const [editingValue, setEditingValue] = useState(value);\n const textAreaRef = useRef();\n\n // We need to keep track of when the user clicked outside, to prevent calling `confirmEditing` twice\n const [clickedOutside, setClickedOutside] = useState(false);\n\n // Update the editing flag when `externalEditing` changes\n useEffect(() => setEditing(externalEditing ?? false), [externalEditing]);\n\n // Update the editing value when `value` changes\n useEffect(() => setEditingValue(value), [value]);\n\n const handleInteract = () => {\n if (onInteract) {\n onInteract();\n }\n if (ignoreExternalEdition) {\n setEditing(true);\n }\n };\n\n const cancelEditing = () => {\n if (ignoreExternalEdition) {\n setEditing(false);\n }\n setEditingValue(value); // Revert changes made on editing mode\n if (onCancelEditing) {\n onCancelEditing();\n }\n };\n\n const confirmEditing = () => {\n if (onChange) {\n onChange(editingValue);\n }\n if (ignoreExternalEdition) {\n setEditing(false);\n }\n if (onConfirmEditing) {\n onConfirmEditing();\n }\n };\n\n const focusTextArea = () => {\n if (!textAreaRef.current) {\n return;\n }\n const textArea = textAreaRef.current;\n textArea.select();\n textArea.focus();\n };\n\n // Auto-focus when switching to editing mode\n useEffect(() => {\n if (!editing) {\n return;\n }\n focusTextArea();\n }, [editing]);\n\n const handleKeyDown = (e) => {\n // In case the input is inside of a modal, this prevents closing the modal before closing the input\n e.stopPropagation();\n\n // We dont track 'enter' here, because we use enter to a new line (TextArea).\n switch (e.key) {\n case \"Esc\":\n case \"Escape\":\n cancelEditing();\n break;\n default:\n break;\n }\n };\n\n const handleFocusOut = () => {\n if (clickedOutside) {\n // Do not call `confirmEditing` a second time if it was already called from `handleClickOutside`\n setClickedOutside(false);\n return;\n }\n\n confirmEditing();\n };\n\n const handleClickOutside = () => {\n setClickedOutside(true);\n\n confirmEditing();\n };\n\n const displayWhenNoValueIsProvided = displayComponent ? (\n displayComponent(handleInteract)\n ) : (\n \n add\n \n );\n\n const label = useMemo(\n () => (showLineBreak ? linebreaksToParagraphs(value.trim()) : value.trim()),\n [showLineBreak, value],\n );\n\n const display = value ? (\n \n ) : (\n displayWhenNoValueIsProvided\n );\n\n const handleOnChange = (event) => {\n setEditingValue(event.target.value);\n };\n\n const editor = (\n }\n error={error}\n placeholder={placeholder}\n onChange={handleOnChange}\n onKeyDown={handleKeyDown}\n onFocusOut={handleFocusOut}\n className=\"tw-shadow-dropdown selection:tw-bg-theme-inline-editing-textarea\"\n data-cy=\"inline-editor-input\"\n rows={rows}\n resize={resize}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n );\n\n return (\n \n );\n};\n\nInlineEditingTextArea.propTypes = {\n id: PropTypes.string,\n value: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n error: PropTypes.string,\n placeholder: PropTypes.string,\n // To allow changing the `editing` state from the outside,\n // useful for when we don't want the input to close after confirming/canceling (e.g. need to make an external request)\n externalEditing: PropTypes.bool,\n onInteract: PropTypes.func,\n onChange: PropTypes.func,\n onCancelEditing: PropTypes.func,\n onConfirmEditing: PropTypes.func,\n className: PropTypes.string,\n rows: PropTypes.number,\n displayComponent: PropTypes.func,\n displayClassName: PropTypes.string,\n showLineBreak: PropTypes.bool,\n resize: PropTypes.oneOf([\"none\", \"both\", \"horizontal\", \"vertical\"]),\n};\n\nInlineEditingTextArea.defaultProps = {\n id: null,\n disabled: false,\n error: null,\n placeholder: \"\",\n externalEditing: null,\n onInteract: null,\n onChange: null,\n onCancelEditing: null,\n onConfirmEditing: null,\n className: \"\",\n rows: 5,\n displayComponent: null,\n displayClassName: \"\",\n showLineBreak: false,\n resize: \"none\",\n};\n\nexport default InlineEditingTextArea;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, string } from \"prop-types\";\nimport InlineEditingTextArea from \"../../../../shared/v2/InlineEditingTextArea\";\nimport { putDetailAsThunk } from \"../actions/thunks\";\n\nconst ListingDescription = ({ uuid, description, onPutDetailAsThunk }) => {\n const saveValueFor = (key) => (value) => {\n onPutDetailAsThunk({\n uuid,\n key,\n value,\n group: \"listingDetails\",\n });\n };\n\n return (\n
\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n description: state.tdpDetailsReducer.listingDetails.description,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPutDetailAsThunk: (payload) => dispatch(putDetailAsThunk(payload)),\n});\n\nListingDescription.propTypes = {\n uuid: string,\n description: string,\n onPutDetailAsThunk: func,\n};\n\nListingDescription.defaultProps = {\n uuid: null,\n description: \"\",\n onPutDetailAsThunk: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ListingDescription);\n","import React from \"react\";\nimport { func } from \"prop-types\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport Edit from \"../../../../shared/v2/Icomoon/Icons/Edit\";\n\nconst EditBtnCirc = ({ onClick }) => (\n
\n {/* Hide away for now, as the bulk editor is not a part of the TDP's MVP. */}\n {onClick && (\n \n \n \n )}\n
\n);\n\nEditBtnCirc.propTypes = {\n onClick: func,\n};\n\nEditBtnCirc.defaultProps = {\n onClick: null,\n};\n\nexport default EditBtnCirc;\n","import React from \"react\";\n\nimport ListingDescription from \"../ListingDescription\";\nimport Header from \"../../../UI/Header\";\nimport EditBtnCirc from \"../EditBtnCirc\";\n\nconst DescriptionWrapper = () => (\n
\n
} />\n \n
\n);\n\nexport default DescriptionWrapper;\n","import React from \"react\";\nimport { arrayOf, shape, number, string } from \"prop-types\";\n\nimport { connect } from \"react-redux\";\n\nimport AvatarGroup from \"../../../../shared/v2/AvatarGroup/AvatarGroup\";\nimport Avatar from \"../../../../shared/v2/Avatar\";\n\nconst LinkPeople = ({ avatars }) => (\n
\n
People Listed:
\n \n {avatars.map(({ alt, id, avatar }) => (\n \n ))}\n \n
\n);\n\nconst mapStateToProps = (state) => ({\n avatars: state.tdpDetailsReducer.peopleListed,\n});\n\nLinkPeople.propTypes = {\n avatars: arrayOf(\n shape({\n alt: string,\n id: number,\n avatar: string,\n }),\n ),\n};\n\nLinkPeople.defaultProps = {\n avatars: [],\n};\n\nexport default connect(mapStateToProps)(LinkPeople);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React from \"react\";\nimport { string } from \"prop-types\";\n\nimport LinkField from \"../../../../shared/v2/LinkField\";\n\nconst LinkMain = ({ link }) => (\n navigator.clipboard.writeText(link)}\n secondaryActionLabel=\"PREVIEW\"\n onSecondaryActionButtonClick={() => window.open(link, \"_blank\").focus()}\n data-cy=\"link-content\"\n />\n);\n\nLinkMain.propTypes = {\n link: string,\n};\n\nLinkMain.defaultProps = {\n link: \"\",\n};\n\nexport default LinkMain;\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { useDependencyWithCleanUp } from \"../../../../shared/hookHelpers\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport ModalField from \"../../../shared/ModalField\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst ModalEditLink = ({\n show,\n onHideHandlr,\n onRemoveHandlr,\n onSaveHandlr,\n titleValue,\n linkValue,\n setTitleValue,\n setLinkValue,\n}) => (\n \n \n \n setTitleValue(e.target.value)} />\n setLinkValue(e.target.value)} />\n \n \n \n
\n \n \n
\n
\n \n);\n\nconst WrapperModalEditLink = ({ show, onHide, onRemove, onSave, titleValue, linkValue }) => {\n const [_titleValue, setTitleValue] = useDependencyWithCleanUp(titleValue);\n const [_linkValue, setLinkValue] = useDependencyWithCleanUp(linkValue);\n\n const onHideHandlr = () => {\n setLinkValue(linkValue);\n setTitleValue(titleValue);\n onHide();\n };\n\n const onSaveHandlr = () => {\n if (titleValue !== _titleValue || linkValue !== _linkValue) onSave(_titleValue, _linkValue);\n onHideHandlr();\n };\n\n const onRemoveHandlr = () => {\n onRemove();\n onHideHandlr();\n };\n\n return (\n \n );\n};\n\nexport default WrapperModalEditLink;\n\nModalEditLink.propTypes = {\n show: bool,\n onHideHandlr: func,\n onRemoveHandlr: func,\n onSaveHandlr: func,\n titleValue: string,\n setTitleValue: func,\n linkValue: string,\n setLinkValue: func,\n};\n\nModalEditLink.defaultProps = {\n show: false,\n onHideHandlr: () => {},\n onRemoveHandlr: () => {},\n onSaveHandlr: () => {},\n titleValue: \"\",\n setTitleValue: () => {},\n linkValue: \"\",\n setLinkValue: () => {},\n};\n\nWrapperModalEditLink.propTypes = {\n show: bool,\n onHide: func,\n onRemove: func,\n onSave: func,\n titleValue: string,\n linkValue: string,\n};\n\nWrapperModalEditLink.defaultProps = {\n show: false,\n onHide: () => {},\n onRemove: () => {},\n onSave: () => {},\n titleValue: \"\",\n linkValue: \"\",\n};\n","import React, { useState } from \"react\";\nimport { bool, func, number, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport LinkPeople from \"../LinkPeople\";\nimport LinkMain from \"../LinkMain\";\nimport EditBtnCirc from \"../EditBtnCirc\";\nimport { putLinkAsThunk } from \"../actions/thunks\";\nimport ModalEditLink from \"../ModalEditLink\";\n\nconst LinkGroup = ({ link, title, id, enablePeople, listingUuid, onSaveLinkAsThunk }) => {\n const [openEditLinkModal, setOpenEditLinkModal] = useState(false);\n\n const editLink = (newTitle, newLink) =>\n onSaveLinkAsThunk({\n uuid: listingUuid,\n key: \"links\",\n value: [{ id, title: newTitle, url: newLink }],\n inOption: \"listing_links_attributes\",\n group: \"links\",\n });\n\n const removeLink = () =>\n onSaveLinkAsThunk({\n uuid: listingUuid,\n key: \"links\",\n value: [{ id, _destroy: true }],\n inOption: \"listing_links_attributes\",\n group: \"links\",\n });\n\n return (\n <>\n
\n
\n
{title}
\n {enablePeople ? : setOpenEditLinkModal(true)} />}\n
\n \n
\n setOpenEditLinkModal(false)}\n linkValue={link}\n titleValue={title}\n onRemove={removeLink}\n onSave={editLink}\n />\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n listingUuid: state.tdpDetailsReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSaveLinkAsThunk: (payload) => dispatch(putLinkAsThunk(payload)),\n});\n\nLinkGroup.propTypes = {\n link: string,\n title: string,\n id: number,\n enablePeople: bool,\n listingUuid: string.isRequired,\n onSaveLinkAsThunk: func.isRequired,\n};\n\nLinkGroup.defaultProps = {\n link: \"\",\n title: \"Property Page\",\n id: null,\n enablePeople: false,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(LinkGroup);\n","import React, { useReducer } from \"react\";\nimport { bool, func } from \"prop-types\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\n\nconst isValid = (state) => state.title.trim().length !== 0 && state.url.trim().length !== 0;\nconst canSave = (state) => isValid(state) && !state.saving;\n\nconst reducer = (state, action) => {\n switch (action.type) {\n case \"setTitle\":\n return { ...state, title: action.title, disabled: !canSave({ ...state, title: action.title }) };\n case \"setUrl\":\n return { ...state, url: action.url, disabled: !canSave({ ...state, url: action.url }) };\n case \"save\":\n return { ...state, saving: true, disabled: true };\n case \"saveSuccess\":\n return { ...state, saving: false };\n default:\n return state;\n }\n};\n\nconst ModalAddLink = ({ isModalOpen, toggleModal, onSave }) => {\n const [state, dispatch] = useReducer(reducer, { title: \"\", url: \"\", saving: false, disabled: true });\n const { title, url, disabled } = state;\n\n return (\n toggleModal((prev) => !prev)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n closeButton\n >\n \n \n
\n Title *\n
\n dispatch({ type: \"setTitle\", title: e.target.value })}\n className=\"tw-mb-32px\"\n data-cy=\"new-link-title\"\n />\n
\n Link *\n
\n dispatch({ type: \"setUrl\", url: e.target.value })}\n />\n
\n \n \n {\n if (!disabled) {\n dispatch({ type: \"save\" });\n // FIXME: refactor to handle error cases\n await onSave({ title, url });\n toggleModal((prev) => !prev);\n dispatch({ type: \"saveSuccess\" });\n }\n }}\n data-cy=\"modal-confirm-button\"\n >\n Save\n \n \n \n );\n};\n\nModalAddLink.propTypes = {\n isModalOpen: bool,\n toggleModal: func,\n onSave: func.isRequired,\n};\n\nModalAddLink.defaultProps = {\n isModalOpen: false,\n toggleModal: () => {},\n};\n\nexport default ModalAddLink;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, shape, string, func } from \"prop-types\";\n\nimport Header from \"../../../UI/Header\";\nimport LinkGroup from \"../LinkGroup\";\nimport EditBtnCirc from \"../EditBtnCirc\";\n\nimport { putLinkAsThunk } from \"../actions/thunks\";\n\nimport ModalAddLink from \"../ModalAddLink\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\n\nconst LinksWrapper = ({ listingUuid, links, propertyPagePath, onSaveLinkAsThunk }) => {\n const [isModalOpen, toggleModal] = useState(false);\n const urlOrigin = window.location.origin;\n\n const linksData = (newLink) => [...links, newLink];\n const addLink = (newLink) =>\n onSaveLinkAsThunk({\n uuid: listingUuid,\n key: \"links\",\n value: linksData(newLink),\n inOption: \"listing_links_attributes\",\n group: \"links\",\n });\n\n return (\n
\n \n
} />\n \n {links.map(({ title, url, id }) => (\n \n ))}\n \n Add Link\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n listingUuid: state.tdpDetailsReducer.uuid,\n links: state.tdpDetailsReducer.links,\n propertyPagePath: state.tdpDetailsReducer.propertyPagePath,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSaveLinkAsThunk: (payload) => dispatch(putLinkAsThunk(payload)),\n});\n\nLinksWrapper.propTypes = {\n links: arrayOf(\n shape({\n title: string,\n url: string,\n }),\n ),\n listingUuid: string.isRequired,\n propertyPagePath: string,\n onSaveLinkAsThunk: func.isRequired,\n};\n\nLinksWrapper.defaultProps = {\n links: [],\n propertyPagePath: \"\",\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(LinksWrapper);\n","import { useState, useEffect } from \"react\";\n\nconst useToggleAndOptionsHandlr = (checked) => {\n const [options, showOptions] = useState(false);\n const [toggle, setToggle] = useState(false);\n\n useEffect(() => {\n setToggle(checked);\n showOptions(checked);\n }, [checked]);\n\n return [options, showOptions, toggle, setToggle];\n};\n\nexport default useToggleAndOptionsHandlr;\n","import React, { cloneElement, useState } from \"react\";\nimport { element, func, string } from \"prop-types\";\n\nconst ImageOption = ({ children, clicked, dataCy }) => {\n const [iconColor, setIconColor] = useState(\"\");\n\n return (\n setIconColor(\"#FA423C\")}\n onMouseLeave={() => setIconColor(\"\")}\n onKeyDown={clicked}\n onClick={clicked}\n role=\"button\"\n tabIndex={-1}\n data-cy={dataCy}\n >\n {React.Children.map(children, (child) =>\n cloneElement(child, {\n className: [child.props?.className, `tw-text-[${iconColor}]`].filter(Boolean).join(\" \"),\n }),\n )}\n
\n );\n};\n\nImageOption.propTypes = {\n children: element,\n dataCy: string,\n clicked: func,\n};\n\nImageOption.defaultProps = {\n children: null,\n dataCy: null,\n clicked: () => {},\n};\n\nexport default ImageOption;\n","import { useState } from \"react\";\n\nconst useZoom = (centerView) => {\n const [zoomVal, setZoomVal] = useState(0);\n\n const zoomInOut = (zoomIn) => {\n setZoomVal((prev) => {\n const validator = zoomIn ? prev > 0 : prev < 100;\n const num = zoomIn ? prev - 10 : prev + 10;\n\n if (validator) centerView(1 + num * 0.01);\n\n return validator ? num : prev;\n });\n };\n\n const zoomRange = (e) => {\n setZoomVal(() => {\n const num = +e.target.value * 0.01;\n centerView(1 + num);\n return +e.target.value;\n });\n };\n\n return [zoomVal, zoomRange, zoomInOut];\n};\n\nexport default useZoom;\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport useZoom from \"./hooks\";\nimport { Plus, Minus } from \"../../../../shared/v2/Icomoon\";\n\nconst ZoomCtrls = ({ centerView }) => {\n const [zoomVal, zoomRange, zoomInOut] = useZoom(centerView);\n\n return (\n
\n zoomInOut(true)}\n type=\"button\"\n >\n \n \n
\n {\n e.persist();\n zoomRange(e);\n }}\n className=\"zoomer tw-appearance-none\"\n />\n
{`${100 + zoomVal}%`}
\n
\n zoomInOut()}\n type=\"button\"\n >\n \n \n
\n );\n};\n\nZoomCtrls.propTypes = {\n centerView: func,\n};\n\nZoomCtrls.defaultProps = {\n centerView: () => {},\n};\n\nexport default ZoomCtrls;\n","import React from \"react\";\nimport { func } from \"prop-types\";\n\nimport { Reset, Download } from \"../../../../shared/v2/Icomoon\";\nimport ZoomCtrls from \"./fractals\";\n\nconst BUTTON_STYLE = \"tw-bg-transparent tw-border-none tw-p-0 tw-cursor-pointer\";\n\nconst ListingImgPreviewCtrls = ({ setMirrored, centerView, onDownload }) => (\n
\n setMirrored((prev) => !prev)}\n type=\"button\"\n aria-label=\"reset\"\n >\n \n \n \n \n
\n);\n\nListingImgPreviewCtrls.propTypes = {\n setMirrored: func,\n centerView: func,\n onDownload: func,\n};\n\nListingImgPreviewCtrls.defaultProps = {\n setMirrored: () => {},\n centerView: () => {},\n onDownload: null,\n};\n\nexport default ListingImgPreviewCtrls;\n","import { useState } from \"react\";\n\nconst useImgStyle = () => {\n const [mirrored, setMirrored] = useState(false);\n\n const imgStyle = () => `tw-w-full tw-h-full tw-w-[630px] tw-h-[420px] ${mirrored && \"tw--scale-x-100\"}`;\n\n return [imgStyle, setMirrored];\n};\n\nexport default useImgStyle;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { TransformWrapper, TransformComponent } from \"react-zoom-pan-pinch\";\nimport { bool, func, string } from \"prop-types\";\n\nimport { deleteImg } from \"../actions/creators\";\nimport { downloadFile } from \"../../../../shared/AWSUploader\";\nimport ListingImgPreviewCtrls from \"../ListingImgPreviewCtrls\";\nimport Modal from \"../../../../shared/v2/Modal\";\n\nimport \"./styles.scss\";\nimport useImgStyle from \"./hooks\";\n\nconst ModalPreviewImg = ({ isModalOpen, toggleModal, url, id }) => {\n const [imgStyle, setMirrored] = useImgStyle(false);\n\n return (\n toggleModal((prev) => !prev)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-full tw-h-full\"\n dialogClassName=\"tw-max-w-[869px] tw-max-h-[714px] !tw-w-full tw-h-full\"\n closeButton\n >\n \n
\n
\n
\n
image.jpg
\n
\n Cyrus Texttest\n Aug 4th at 3:53 PM\n
\n
\n
\n
\n
\n \n
\n \n {({ centerView }) => (\n <>\n \n {url}\n \n {\n downloadFile(url, id);\n }}\n />\n \n )}\n \n
\n
\n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n deleteImg: (id) => dispatch(deleteImg(id)),\n});\n\nModalPreviewImg.propTypes = {\n isModalOpen: bool,\n toggleModal: func,\n url: string,\n id: string,\n};\n\nModalPreviewImg.defaultProps = {\n isModalOpen: false,\n toggleModal: () => {},\n url: \"\",\n id: \"\",\n};\n\nexport default connect(null, mapDispatchToProps)(ModalPreviewImg);\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\n\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst ModalDeleteImage = ({ isModalOpen, toggleModal, onDelete }) => (\n toggleModal((prev) => !prev)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n closeButton\n >\n \n

\n Fair warning: This will remove the image from the listing and this action cannot be undone\n

\n \n \n {\n onDelete();\n toggleModal((prev) => !prev);\n }}\n >\n Delete\n \n \n \n);\n\nModalDeleteImage.propTypes = {\n isModalOpen: bool,\n toggleModal: func,\n onDelete: func,\n};\n\nModalDeleteImage.defaultProps = {\n isModalOpen: false,\n toggleModal: () => {},\n onDelete: () => {},\n};\n\nexport default ModalDeleteImage;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, bool, func, number } from \"prop-types\";\n\nimport { deleteListingImageAsThunk } from \"../actions/thunks\";\nimport { toggleChecked } from \"../actions/creators\";\nimport ImageOption from \"../ImageOption\";\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\nimport ModalPreviewImg from \"../ModalPreviewImg\";\nimport ModalDeleteImage from \"../ModalDeleteImage\";\nimport { downloadFile } from \"../../../../shared/AWSUploader\";\nimport { Trash, VisibilityVisible, Download } from \"../../../../shared/v2/Icomoon\";\n\nconst ImageOptions = ({\n setToggle,\n showOptions,\n checked,\n id,\n onToggleChecked,\n onDeleteImg,\n url,\n deleteUrl,\n useMLSphotos,\n}) => {\n const checkBoxHandlr = () => {\n setToggle(false);\n onToggleChecked(id);\n };\n const [isModalOpen, toggleModal] = useState(\"\");\n const [isDeleteModalOpen, toggleDeleteModal] = useState(\"\");\n return (\n <>\n onDeleteImg({ id, deleteUrl })}\n />\n \n
\n
\n \n
\n
\n
\n {!useMLSphotos && (\n toggleDeleteModal(true)}>\n \n \n )}\n\n {\n showOptions(false);\n toggleModal(true);\n }}\n >\n \n \n {\n showOptions(false);\n downloadFile(url, id);\n }}\n >\n \n \n
\n
\n
\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n useMLSphotos: state.tdpDetailsReducer.useMLSphotos,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onToggleChecked: (id) => dispatch(toggleChecked(id)),\n onDeleteImg: (payload) => dispatch(deleteListingImageAsThunk(payload)),\n});\n\nImageOptions.propTypes = {\n useMLSphotos: bool,\n setToggle: func,\n showOptions: func,\n checked: bool,\n id: number,\n onToggleChecked: func,\n onDeleteImg: func,\n url: string,\n deleteUrl: string,\n};\n\nImageOptions.defaultProps = {\n useMLSphotos: false,\n setToggle: () => {},\n showOptions: null,\n checked: false,\n id: 0,\n onToggleChecked: () => {},\n onDeleteImg: () => {},\n url: \"\",\n deleteUrl: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ImageOptions);\n","import React from \"react\";\nimport { bool, number, string } from \"prop-types\";\n\nimport Image from \"../../../../shared/v2/Icomoon/Icons/Image\";\nimport useToggleAndOptionsHandlr from \"./hooks\";\nimport ImageOptions from \"../ImageOptions\";\n\nconst ListingImage = ({ checked, id, url, deleteUrl, highResUrl, isLoading, name }) => {\n const [options, showOptions, toggle, setToggle] = useToggleAndOptionsHandlr(checked);\n\n return isLoading ? (\n \n \n
\n PROCESSING IMAGE...\n
\n {name}\n
\n
\n ) : (\n showOptions(true)}\n onMouseLeave={() => {\n if (!toggle) showOptions(false);\n }}\n >\n
\n \n
\n
\n );\n};\n\nListingImage.propTypes = {\n checked: bool,\n isLoading: bool,\n id: number,\n name: string,\n url: string,\n highResUrl: string,\n deleteUrl: string,\n};\n\nListingImage.defaultProps = {\n checked: false,\n isLoading: false,\n id: null,\n name: \"\",\n url: \"\",\n highResUrl: \"\",\n deleteUrl: null,\n};\n\nexport default ListingImage;\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\n\nconst getListingImageById = async ({ id, tmpId, onSuccess, onError }) => {\n const url = `/listing_images/${id}?_=${new Date().getTime()}`;\n const [resData, err] = await tryCatchHandlr(\n axios.get(url, {\n headers: {\n Accept: \"application/json\",\n },\n }),\n );\n\n if (err) {\n return onError({ err });\n }\n return onSuccess({ ...resData?.data?.listing_image, tmpId });\n};\n\nexport const saveFileToListing = async ({ slug, file, onSuccess, onError }) => {\n const url = `/listings/${slug}/uploads`;\n\n const params = new URLSearchParams();\n params.append(\"files[]\", file?.path);\n const [resData, err] = await tryCatchHandlr(\n axios.post(url, params, {\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/x-www-form-urlencoded;\",\n \"X-CSRF-Token\": window.ReactOnRails.authenticityToken(),\n },\n }),\n );\n\n if (err) {\n return onError({ name: file.name, id: file.tmpId });\n }\n return getListingImageById({ id: resData?.data[0]?.imageId, tmpId: file?.id, onSuccess, onError });\n};\n\nexport const inputUploadFn =\n ({ addError, addImg, awsDirectPost, deleteImg, setProgress, slug, updateImg, uploadFiles, onAdd }) =>\n (e) =>\n uploadFiles({\n files: Array.from(e.target.files),\n config: {\n ...awsDirectPost,\n },\n onAdd: (file) => {\n addImg(file);\n },\n onSuccess: (file) => {\n saveFileToListing({\n slug,\n file,\n onSuccess: (listingImage) => {\n // TODO: populating original is a workaround... The api should pass this property\n const mod = { ...listingImage, original: listingImage.url };\n updateImg(mod);\n if (onAdd) {\n onAdd(mod);\n }\n },\n onError: (fileError) => {\n addError(fileError);\n deleteImg(fileError);\n },\n });\n },\n onError: (fileError) => {\n addError(fileError);\n deleteImg(fileError);\n },\n onProgress: setProgress,\n });\n","import React, { useState } from \"react\";\nimport { string, func, shape } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport * as actions from \"../actions/creators\";\n\nimport { inputUploadFn } from \"./helpers\";\nimport { uploadFiles } from \"../../../../shared/AWSUploader\";\nimport Upload from \"../../../../shared/v2/Icomoon/Icons/Upload\";\n\nconst mapStateToProps = (state) => ({\n awsDirectPost: state.tdpDetailsReducer.awsDirectPost,\n slug: state.tdpDetailsReducer.slug,\n});\n\nconst UploadImage = ({ awsDirectPost, slug, addImg, updateImg, deleteImg, addError, size, onAdd }) => {\n const [progress, setProgress] = useState(0);\n const inputUpload = inputUploadFn({\n addError,\n addImg,\n awsDirectPost,\n deleteImg,\n setProgress,\n slug,\n updateImg,\n uploadFiles,\n onAdd,\n });\n\n return (\n \n \n
\n UPLOAD PHOTOS
\n ONLY FILES LESS THAN 5MB\n
\n \n {progress < 100 && (\n \n )}\n \n );\n};\nUploadImage.propTypes = {\n awsDirectPost: shape,\n slug: string,\n addImg: func,\n updateImg: func,\n deleteImg: func,\n addError: func,\n size: string,\n onAdd: func,\n};\n\nUploadImage.defaultProps = {\n awsDirectPost: null,\n slug: null,\n addImg: null,\n updateImg: null,\n deleteImg: null,\n addError: null,\n size: \"large\",\n onAdd: null,\n};\nexport default connect(mapStateToProps, actions)(UploadImage);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, number, bool, arrayOf, shape } from \"prop-types\";\n\nimport ListingImage from \"../ListingImage\";\nimport UploadImage from \"../UploadImage\";\n\nconst ListingImages = ({ listingImgs, useMLSphotos }) => (\n
\n {!useMLSphotos && (\n
\n \n
\n )}\n\n {listingImgs.map(({ id, checked, url, deleteUrl, original, isLoading, name }) => (\n \n ))}\n
\n);\n\nconst mapStateToProps = (state) => ({\n listingImgs: state.tdpDetailsReducer.listingImgs,\n useMLSphotos: state.tdpDetailsReducer.useMLSphotos,\n});\n\nListingImages.propTypes = {\n useMLSphotos: bool,\n listingImgs: arrayOf(\n shape({\n url: string,\n name: string,\n id: number,\n checked: bool,\n isLoading: bool,\n deleteUrl: string,\n }),\n ),\n};\n\nListingImages.defaultProps = {\n useMLSphotos: false,\n listingImgs: [],\n};\n\nexport default connect(mapStateToProps)(ListingImages);\n","import { useState, useEffect } from \"react\";\n\nconst useEnabledButtons = (listingImgs) => {\n const [enable, setEnable] = useState(false);\n\n useEffect(() => {\n const foundChecked = listingImgs.find(({ checked }) => checked === true);\n setEnable(!!foundChecked);\n }, [listingImgs]);\n\n return enable;\n};\n\nexport default useEnabledButtons;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, shape, func, arrayOf } from \"prop-types\";\n\nimport { deleteAllSelectedImages } from \"../actions/thunks\";\nimport Modal from \"../../../../shared/v2/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst ModalDeleteImages = ({ isModalOpen, toggleModal, checked, onDeleteImages }) => (\n toggleModal((prev) => !prev)}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[616px]\"\n closeButton\n >\n \n \n \n {\n onDeleteImages(checked);\n toggleModal((prev) => !prev);\n }}\n >\n Delete\n \n \n \n);\n\nconst mapStateToProps = (state) => ({\n checked: state.tdpDetailsReducer.listingImgs.filter(({ checked }) => checked),\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onDeleteImages: (imgs) => dispatch(deleteAllSelectedImages(imgs)),\n});\n\nModalDeleteImages.propTypes = {\n isModalOpen: bool,\n toggleModal: func,\n checked: arrayOf(shape()),\n onDeleteImages: func,\n};\n\nModalDeleteImages.defaultProps = {\n isModalOpen: false,\n toggleModal: () => {},\n checked: null,\n onDeleteImages: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ModalDeleteImages);\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, shape, bool, number, string } from \"prop-types\";\n\nimport { downloadFile } from \"../../../../shared/AWSUploader\";\n\nimport useEnabledButtons from \"./hooks\";\nimport ModalDeleteImages from \"../ModalDeleteImages\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Download from \"../../../../shared/v2/Icomoon/Icons/Download\";\nimport Trash from \"../../../../shared/v2/Icomoon/Icons/Trash\";\n\nconst ImageActionButtons = ({ listingImgs, useMLSphotos }) => {\n const enable = useEnabledButtons(listingImgs);\n const [isModalOpen, toggleModal] = useState(false);\n const onDownloadAll = () => {\n listingImgs\n .filter((l) => l.checked)\n .forEach((l) => {\n setTimeout(() => {\n downloadFile(l.original, l.id);\n }, 300);\n });\n };\n return (\n <>\n \n
\n \n {!useMLSphotos && (\n toggleModal((prev) => !prev)}\n >\n Delete\n \n \n )}\n
\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n listingImgs: state.tdpDetailsReducer.listingImgs,\n useMLSphotos: state.tdpDetailsReducer.useMLSphotos,\n});\n\nImageActionButtons.propTypes = {\n useMLSphotos: bool,\n listingImgs: arrayOf(\n shape({\n checked: bool,\n id: number,\n url: string,\n }),\n ),\n};\n\nImageActionButtons.defaultProps = {\n useMLSphotos: false,\n listingImgs: [],\n};\n\nexport default connect(mapStateToProps)(ImageActionButtons);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, bool } from \"prop-types\";\n\nimport { checkAllImgs } from \"../actions/creators\";\n\nimport ImageActionButtons from \"../ImagesActionButtons\";\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\n\nconst ImagesOptions = ({ onCheckAllImgs, checkAll }) => (\n
\n \n onCheckAllImgs()}\n />\n
\n);\n\nconst mapDispatchToProps = (dispatch) => ({\n onCheckAllImgs: () => dispatch(checkAllImgs()),\n});\n\nconst mapStateToProps = (state) => ({\n checkAll: state.tdpDetailsReducer.checkAll,\n});\n\nImagesOptions.propTypes = {\n onCheckAllImgs: func,\n checkAll: bool,\n};\n\nImagesOptions.defaultProps = {\n onCheckAllImgs: () => {},\n checkAll: false,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ImagesOptions);\n","import React from \"react\";\nimport { func, bool } from \"prop-types\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\n\nconst ReplaceMLSPhotoModal = ({ modalOpen, closeModal, handleReplace }) => (\n \n \n\n \n
\n Warning: Syncing photos from the MLS listing will replace any manually uploaded photos.\n
\n
\n\n \n \n cancel\n \n \n replace\n \n \n \n);\n\nReplaceMLSPhotoModal.propTypes = {\n modalOpen: bool,\n closeModal: func,\n handleReplace: func,\n};\n\nReplaceMLSPhotoModal.defaultProps = {\n modalOpen: false,\n closeModal: () => {},\n handleReplace: () => {},\n};\n\nexport default ReplaceMLSPhotoModal;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, bool, func, number, shape, string } from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport Check from \"@shared/v2/Icomoon/Icons/Check\";\n\nimport Header from \"../../../UI/Header\";\nimport ListingImages from \"../ListingImages\";\nimport ImagesOptions from \"../ImagesOptions\";\nimport ReplaceMLSPhotoModal from \"../ReplaceMLSPhotoModal\";\nimport { replacePhotoAsThunk } from \"../actions/thunks\";\nimport { clearError } from \"../actions/creators\";\nimport ImportListingDetailsModal from \"../ImportListingDetailsModal\";\n\nconst ListingImagesWrapper = ({\n allImagesLength,\n imageErrors,\n clearError,\n useMLSphotos,\n blossorId,\n uuid,\n replacePhotoAsThunk,\n}) => {\n const [openWarningModal, setOpenWarningModal] = useState(false);\n const [openImportModal, setOpenImportModal] = useState(false);\n const [showAlert, setshowAlert] = useState(false);\n\n const openModal = () => {\n if (blossorId) {\n if (!useMLSphotos) {\n setOpenWarningModal(true);\n } else {\n handleReplace();\n }\n } else {\n setOpenImportModal(true);\n }\n };\n\n const closeModal = () => {\n setOpenWarningModal(false);\n };\n\n const closeImportModal = () => {\n setOpenImportModal(false);\n };\n\n const handleReplace = () => {\n if (blossorId) {\n const payloadListing = {\n use_mls_photos: !useMLSphotos ? true : false,\n blossor_id: blossorId,\n };\n replacePhotoAsThunk(uuid, payloadListing);\n }\n closeModal();\n };\n return (\n <>\n {showAlert && (\n \n \n Listing details imported from MLS\n \n }\n role=\"alert\"\n />\n )}\n\n
} />\n {imageErrors && (\n
\n
\n {imageErrors.map((file) => (\n
\n \n {`${file.name} is too large`}\n
\n ))}\n
\n
\n )}\n
\n {blossorId ? (\n <>\n {useMLSphotos ? \"Photos are synced from the MLS listing. \" : \"Photos are manually uploaded. \"}\n \n {useMLSphotos ? \"Replace with your own photos.\" : \"Replace with photos from the MLS listing.\"}\n \n \n ) : (\n <>\n {allImagesLength > 0 ? (\n <>\n Photos are manually uploaded.{\" \"}\n \n Import listing details{\" \"}\n \n to replace with MLS listing photos\n \n ) : (\n <>\n \n Import listing details{\" \"}\n \n to sync photos with the MLS listing.\n \n )}\n \n )}\n
\n \n {openWarningModal && (\n \n )}\n {openImportModal && (\n \n )}\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n allImagesLength: state.tdpDetailsReducer.listingImgs.length,\n useMLSphotos: state.tdpDetailsReducer.useMLSphotos,\n blossorId: state.tdpDetailsReducer.blossorId,\n imageErrors: state.tdpDetailsReducer.listingImgErrors,\n uuid: state.tdpDetailsReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n replacePhotoAsThunk: (uuid, payload) => dispatch(replacePhotoAsThunk(uuid, payload)),\n clearError: (error) => dispatch(clearError(error)),\n});\n\nListingImagesWrapper.propTypes = {\n allImagesLength: number,\n useMLSphotos: bool,\n imageErrors: arrayOf(shape({})),\n clearError: func,\n replacePhotoAsThunk: func.isRequired,\n blossorId: string,\n uuid: string,\n};\n\nListingImagesWrapper.defaultProps = {\n allImagesLength: 0,\n useMLSphotos: false,\n imageErrors: null,\n clearError: null,\n blossorId: \"\",\n uuid: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ListingImagesWrapper);\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, func, shape, string } from \"prop-types\";\n\nimport ErrorBanner from \"../../../shared/v2/ErrorBanner\";\nimport { Prompt } from \"../../../shared/v2/Modal\";\n\nimport {\n getAllDetailsAsThunk,\n getSourcesAsThunk,\n getPropertyTypesAsThunk,\n clearDetailsFailureAsThunk,\n} from \"./actions/thunks\";\n\nimport DetailsWrapper from \"./DetailsWrapper\";\nimport DescriptionWrapper from \"./DescriptionWrapper\";\nimport LinksWrapper from \"./LinksWrapper\";\nimport ListingImagesWrapper from \"./ListingImagesWrapper\";\nimport { isReferral } from \"../../shared/helpers\";\n\nconst Details = ({\n uuid,\n error,\n type,\n onGetAllDetailsAsThunk,\n onGetSourcesAsThunk,\n onGetPropertyTypesAsThunk,\n onClearDetailsFailureAsThunk,\n}) => {\n useEffect(() => {\n if (uuid.length) {\n onGetAllDetailsAsThunk(uuid);\n onGetSourcesAsThunk(uuid);\n onGetPropertyTypesAsThunk(uuid);\n }\n }, [uuid]);\n\n const errorPrompt = (\n }\n primaryOption=\"OK\"\n onCancel={onClearDetailsFailureAsThunk}\n onPrimary={onClearDetailsFailureAsThunk}\n />\n );\n\n const DescriptionLinksImages = (\n <>\n \n \n \n \n );\n\n return (\n <>\n {errorPrompt}\n \n {!isReferral(type) && DescriptionLinksImages}\n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n onGetAllDetailsAsThunk: (uuid) => dispatch(getAllDetailsAsThunk(uuid)),\n onGetSourcesAsThunk: (uuid) => dispatch(getSourcesAsThunk(uuid)),\n onGetPropertyTypesAsThunk: (uuid) => dispatch(getPropertyTypesAsThunk(uuid)),\n onClearDetailsFailureAsThunk: () => dispatch(clearDetailsFailureAsThunk()),\n});\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n error: state.tdpDetailsReducer.error,\n type: state.tdpDetailsReducer.headerDetails.type,\n});\n\nDetails.propTypes = {\n uuid: string,\n error: shape({\n title: string,\n errors: arrayOf(string),\n }),\n type: string,\n onGetAllDetailsAsThunk: func.isRequired,\n onGetPropertyTypesAsThunk: func.isRequired,\n onGetSourcesAsThunk: func.isRequired,\n onClearDetailsFailureAsThunk: func.isRequired,\n};\n\nDetails.defaultProps = {\n uuid: \"\",\n error: null,\n type: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Details);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\n\n/**\n * Stop-gap, general use loading indicator overlay. For when the design team\n * does not specify what the loading state should look like for a given\n * component/page.\n */\nconst LoadingOverlay = ({ children, isLoading }) => (\n
\n {isLoading && (\n
\n
\n \n
\n
\n )}\n\n {children}\n
\n);\nLoadingOverlay.propTypes = { children: PropTypes.node, isLoading: PropTypes.bool.isRequired };\nLoadingOverlay.defaultProps = { children: null };\n\nexport default LoadingOverlay;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport LinkIcon from \"../../../../shared/v2/Icomoon/Icons/Link\";\nimport Edit from \"../../../../shared/v2/Icomoon/Icons/Edit\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\n\nconst Links = ({ hovered, links, onSiteInputOpen, setEdit, setlink }) => (\n <>\n {hovered ? (\n \n \n \n ) : (\n window.open(links, \"_blank\")} size=\"small\" schema=\"primary\">\n \n \n )}\n \n);\n\nLinks.propTypes = {\n links: Proptypes.string,\n hovered: Proptypes.bool,\n onSiteInputOpen: Proptypes.func,\n setEdit: Proptypes.func,\n setlink: Proptypes.func,\n};\nLinks.defaultProps = {\n links: \"\",\n hovered: false,\n onSiteInputOpen: () => {},\n setEdit: () => {},\n setlink: () => {},\n};\n\nexport default Links;\n","export const widthBar = (item, sum) => (100 * item) / sum;\n\nexport const sumOfKey = (array, objkey) => array.reduce((prev, current) => prev + +current[objkey], 0);\n\nexport const iff = (condition, then, otherwise) => (condition ? then : otherwise);\n\nexport const sortByPosition = (arr) =>\n arr.sort((a, b) => {\n if (a.position === b.position) {\n return 0;\n }\n // nulls sort after anything else\n if (a.position === null) {\n return 1;\n }\n if (b.position === null) {\n return -1;\n }\n return a.position - b.position;\n });\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport Links from \"./Links\";\nimport { iff } from \"../actions/helpers\";\n\nconst ListingLink = ({ googleSearchUrl, siteinput, hovered, links, onSiteInputOpen, setEdit, setlink }) => (\n <>\n {!siteinput ? (\n iff(\n links,\n ,\n <>\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\n window.open(googleSearchUrl, \"_blank\")}\n className=\"tw-font-normal tw-text-teal tw-cursor-pointer tw-leading-[16px] tw-ml-[-8px] tw-text-[12px] tw-pr-[8px]\"\n >\n Search Google\n \n \n \n \n ,\n )\n ) : (\n // eslint-disable-next-line jsx-a11y/click-events-have-key-events\n window.open(googleSearchUrl, \"_blank\")}\n className=\"tw-font-normal tw-text-teal tw-cursor-pointer tw-leading-[16px] tw-ml-[-8px] tw-text-[12px] tw-pr-[8px]\"\n >\n Search Google\n \n )}\n \n);\n\nListingLink.propTypes = {\n links: Proptypes.string,\n googleSearchUrl: Proptypes.string,\n hovered: Proptypes.bool,\n siteinput: Proptypes.bool,\n onSiteInputOpen: Proptypes.func,\n setEdit: Proptypes.func,\n setlink: Proptypes.func,\n};\nListingLink.defaultProps = {\n links: \"\",\n googleSearchUrl: \"\",\n hovered: false,\n siteinput: false,\n onSiteInputOpen: () => {},\n setEdit: () => {},\n setlink: () => {},\n};\n\nexport default ListingLink;\n","import axios from \"axios\";\nimport { caseTransformingAxios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nconst uuidDresser = (uuid) => (uuid ? `/${uuid}` : \"\");\nconst basePath = (uuid) => `/api/v4/transactions${uuidDresser(uuid)}`;\n\nexport const searchListingFromApi = async (search) => {\n const params = {\n term: search,\n };\n const queryParams = new URLSearchParams(params);\n return axios.get(`${basePath()}/autocomplete?${queryParams.toString()}`);\n};\n\nexport const getImportedListingFromApi = async (autocompleteId) =>\n axios.get(`${basePath()}/autocomplete/${autocompleteId.toString()}`);\n\nexport const editListingFromApi = (uuid, data) =>\n axios.patch(`${basePath()}/header/${uuid}`, {\n listing: data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const getMlsIdFromApi = async (uuid) =>\n caseTransformingAxios.get(`${basePath(uuid)}/marketing/mls_id`);\n\nexport const getAssetsCardFromApi = async (uuid) => axios.get(`${basePath(uuid)}/marketing/assets`);\n\nexport const getMetricsFromApi = async (uuid) => axios.get(`${basePath(uuid)}/marketing/page_views`);\n\nexport const getAdvertisingPlanFromApi = async (uuid) => axios.get(`${basePath(uuid)}/advertising_plans`);\n\nexport const getManagePlanFromApi = async (uuid, planId) =>\n axios.get(`${basePath(uuid)}/advertising_plans/${planId}`);\n\nexport const deleteAdPlanFromApi = (uuid, planId) =>\n axios.delete(`${basePath(uuid)}/advertising_plans/${planId}/remove`, {\n data: {\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n });\n\nexport const getAvailablePlanFromApi = async (uuid) =>\n axios.get(`${basePath(uuid)}/advertising_plans/available`);\n\nexport const submitAvailablePlanFromApi = async (uuid, planId) =>\n axios.post(`${basePath(uuid)}/advertising_plans/${planId}/apply`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const submitAdSiteFromApi = async (uuid, planId, data) =>\n axios.post(`${basePath(uuid)}/advertising_plans/${planId}/sites`, {\n listing_advertiser: data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const updateAdSiteFromApi = async (uuid, planId, siteId, data) =>\n axios.patch(`${basePath(uuid)}/advertising_plans/${planId}/sites/${siteId}`, {\n listing_advertiser: data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const shareAdSiteFromApi = async (uuid, planId, siteId) =>\n axios.patch(`${basePath(uuid)}/advertising_plans/${planId}/sites/${siteId}/complete`, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const removeAdSiteFromApi = async (uuid, planId, siteId) =>\n axios.delete(`${basePath(uuid)}/advertising_plans/${planId}/sites/${siteId}`, {\n data: {\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n });\n\nexport const submitEditListingURLFromApi = async (uuid, data) =>\n axios.post(`${basePath(uuid)}/marketing/interactions`, {\n listing: data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n","export const adaptError = (error) => {\n if (!error?.response?.data?.message) {\n return {\n message: \"Unknown error occurred. Please try again later\",\n };\n }\n return error.response.data;\n};\nexport const AdSiteError = (error) => {\n if (!error?.response?.data?.message) {\n return {\n message: \"Site Name is required.\",\n };\n }\n return error.response.data;\n};\n","import {\n saveAllAdvertisingPlan,\n saveAllAvailablePlan,\n saveAllAdsitesPlan,\n saveAllListingViews,\n saveAllAssetsCardViews,\n getListingFromSearch,\n saveImportedListing,\n updateMLS,\n fetchAutoCompleteFailure,\n importSearchListingFailure,\n fetchAssetsCardFailure,\n fetchEditListingURLFailure,\n fetchAdvertisingPlanFailure,\n fetchManagePlanFailure,\n destroyPlanFailure,\n fetchAvailablePlanFailure,\n fetchAdSiteFailure,\n loadData,\n loadMarketingData,\n setSearchKeyword,\n setIsSearched,\n loadMlsId,\n} from \"./creators\";\n\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\n\nimport {\n searchListingFromApi,\n getImportedListingFromApi,\n getAssetsCardFromApi,\n editListingFromApi,\n updateAdSiteFromApi,\n shareAdSiteFromApi,\n removeAdSiteFromApi,\n deleteAdPlanFromApi,\n submitAvailablePlanFromApi,\n submitAdSiteFromApi,\n submitEditListingURLFromApi,\n getAvailablePlanFromApi,\n getManagePlanFromApi,\n getAdvertisingPlanFromApi,\n getMetricsFromApi,\n getMlsIdFromApi,\n} from \"../api/apiWrappers\";\nimport { adaptError, AdSiteError } from \"../api/apiAdapters\";\nimport { sortByPosition } from \"./helpers\";\n\nexport const getAdvertisingPlanAsThunk = (uuid) => async (dispatch) => {\n dispatch(loadData(true));\n const req = getAdvertisingPlanFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchAdvertisingPlanFailure(adaptError(err)));\n return;\n }\n\n const advertisingplans = res.data;\n dispatch(loadData(false));\n dispatch(saveAllAdvertisingPlan(sortByPosition(advertisingplans)));\n};\n\nexport const getAvailablePlanAsThunk = (uuid) => async (dispatch) => {\n dispatch(loadData(true));\n const req = getAvailablePlanFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchAvailablePlanFailure(adaptError(err)));\n return;\n }\n\n const availablePlan = res.data;\n dispatch(loadData(false));\n dispatch(saveAllAvailablePlan(availablePlan));\n};\n\nexport const submitAvailablePlanAsThunk = (uuid, planId, closeModal) => async (dispatch) => {\n dispatch(loadData(true));\n const req = submitAvailablePlanFromApi(uuid, planId);\n // eslint-disable-next-line no-unused-vars\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchAvailablePlanFailure(adaptError(err)));\n return;\n }\n closeModal();\n dispatch(getAdvertisingPlanAsThunk(uuid));\n};\n\nexport const getManagePlanAsThunk = (uuid, planId) => async (dispatch) => {\n dispatch(loadData(true));\n const req = getManagePlanFromApi(uuid, planId);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchManagePlanFailure(adaptError(err)));\n return;\n }\n const adsites = res.data;\n adsites.sites = sortByPosition(adsites.sites);\n dispatch(loadData(false));\n dispatch(saveAllAdsitesPlan(adsites));\n};\n\nexport const submitAdSiteAsThunk =\n (uuid, planId, data, closeModal, isFromManageModal) => async (dispatch) => {\n if (data.name) {\n dispatch(loadData(true));\n const req = submitAdSiteFromApi(uuid, planId, data);\n // eslint-disable-next-line no-unused-vars\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchAdSiteFailure(adaptError(err)));\n return;\n }\n closeModal();\n if (isFromManageModal) {\n dispatch(getManagePlanAsThunk(uuid, planId));\n } else {\n dispatch(getAdvertisingPlanAsThunk(uuid)(dispatch));\n }\n } else {\n dispatch(fetchAdSiteFailure(AdSiteError(null)));\n }\n };\n\nexport const updateAdSiteAsThunk = (uuid, planId, siteId, data) => async (dispatch) => {\n dispatch(loadData(true));\n const req = updateAdSiteFromApi(uuid, planId, siteId, data);\n // eslint-disable-next-line no-unused-vars\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchManagePlanFailure(adaptError(err)));\n return;\n }\n dispatch(getManagePlanAsThunk(uuid, planId));\n dispatch(getAdvertisingPlanAsThunk(uuid));\n};\nexport const shareAdSiteAsThunk = (uuid, planId, siteId) => async (dispatch) => {\n dispatch(loadData(true));\n const req = shareAdSiteFromApi(uuid, planId, siteId);\n // eslint-disable-next-line no-unused-vars\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchManagePlanFailure(adaptError(err)));\n return;\n }\n dispatch(getManagePlanAsThunk(uuid, planId));\n dispatch(getAdvertisingPlanAsThunk(uuid));\n};\nexport const removeAdSiteAsThunk = (uuid, planId, siteId) => async (dispatch) => {\n dispatch(loadData(true));\n const req = removeAdSiteFromApi(uuid, planId, siteId);\n // eslint-disable-next-line no-unused-vars\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadData(false));\n dispatch(fetchManagePlanFailure(adaptError(err)));\n return;\n }\n dispatch(getManagePlanAsThunk(uuid, planId));\n dispatch(getAdvertisingPlanAsThunk(uuid));\n};\n\nexport const deleteAdvertisingPlan = (uuid, planId, closeModal) => async (dispatch) => {\n dispatch(loadData(true));\n try {\n await deleteAdPlanFromApi(uuid, planId);\n closeModal(\"true\");\n dispatch(getAdvertisingPlanAsThunk(uuid));\n } catch (err) {\n closeModal(\"true\");\n dispatch(loadData(false));\n dispatch(destroyPlanFailure(adaptError(err)));\n }\n};\n\nexport const getListingViewsAsThunk = (uuid) => async (dispatch) => {\n const req = getMetricsFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n const listingViews = res.data;\n dispatch(saveAllListingViews(listingViews));\n};\n\nexport const getListingMlsIDAsThunk = (uuid) => async (dispatch) => {\n const req = getMlsIdFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(loadMlsId({ loaded: false }));\n // dispatch(fetchAssetsCardFailure(adaptError(err)));\n return;\n }\n\n dispatch(updateMLS(res.data.blueroofMlsId));\n dispatch(loadMlsId({ loaded: true, mlsID: res.data.blueroofMlsId, mlsNumber: res.data.mlsNumber }));\n};\n\nexport const getAssetsCardViewsAsThunk = (uuid) => async (dispatch) => {\n dispatch(loadMarketingData(true));\n const req = getAssetsCardFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(loadMarketingData(false));\n dispatch(fetchAssetsCardFailure(adaptError(err)));\n return;\n }\n\n const assetsCardViews = res.data;\n dispatch(loadMarketingData(false));\n dispatch(saveAllAssetsCardViews(assetsCardViews));\n};\n\nexport const submitEditListingURLAsThunk = (uuid, data, closeModal) => async (dispatch) => {\n dispatch(loadMarketingData(true));\n const req = submitEditListingURLFromApi(uuid, data);\n // eslint-disable-next-line no-unused-vars\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadMarketingData(false));\n dispatch(fetchEditListingURLFailure(adaptError(err)));\n return;\n }\n closeModal();\n dispatch(getListingViewsAsThunk(uuid));\n dispatch(getAssetsCardViewsAsThunk(uuid));\n};\n\nexport const setSearch = (search, isDelete) => (dispatch) => {\n if (isDelete) {\n dispatch(getListingFromSearch([]));\n dispatch(saveImportedListing(null));\n }\n dispatch(setSearchKeyword(search));\n};\n\nexport const getsearchListingAsThunk = (search) => async (dispatch) => {\n const req = searchListingFromApi(search);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(fetchAutoCompleteFailure(adaptError(err)));\n return;\n }\n\n const homelisting = res.data;\n dispatch(setSearch(search, false));\n dispatch(getListingFromSearch(homelisting));\n};\n\nexport const importSearchListingAsThunk = (search, autocompleteId) => async (dispatch) => {\n dispatch(loadMarketingData(true));\n dispatch(setSearch(search, false));\n dispatch(getListingFromSearch([]));\n const req = getImportedListingFromApi(autocompleteId);\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadMarketingData(false));\n dispatch(importSearchListingFailure(adaptError(err)));\n return;\n }\n\n const importedListing = res.data;\n dispatch(loadMarketingData(false));\n\n dispatch(saveImportedListing(importedListing));\n};\n\nexport const editListing = (uuid, listingBody) => async (dispatch) => {\n dispatch(loadMarketingData(true));\n const req = editListingFromApi(uuid, listingBody);\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n dispatch(loadMarketingData(false));\n dispatch(importSearchListingFailure(adaptError(err)));\n return;\n }\n const mlsID = res.data.blueroof_mls_id;\n dispatch(loadMarketingData(false));\n dispatch(updateMLS(mlsID));\n};\n\nexport const setSearched = (isSearched) => (dispatch) => {\n dispatch(setIsSearched(isSearched));\n};\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as actionCreators from \"../actions/thunks\";\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\nimport { iff } from \"../actions/helpers\";\n\nconst Share = ({ links, shared, planId, siteId, shareAdSiteAsThunk, uuid }) => {\n const [checked, toggleChecked] = useState(false);\n const handleShare = () => {\n shareAdSiteAsThunk(uuid, planId, siteId);\n toggleChecked(!checked);\n };\n return (\n <>\n {iff(\n shared,\n
Shared
,\n \n \n ,\n )}\n \n );\n};\n\nShare.propTypes = {\n shareAdSiteAsThunk: Proptypes.func.isRequired,\n uuid: Proptypes.string.isRequired,\n planId: Proptypes.string,\n siteId: Proptypes.string,\n links: Proptypes.string,\n shared: Proptypes.bool,\n};\nShare.defaultProps = {\n links: \"\",\n planId: null,\n siteId: null,\n shared: false,\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpMarketingReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n shareAdSiteAsThunk: (uuid, planId, siteId) =>\n dispatch(actionCreators.shareAdSiteAsThunk(uuid, planId, siteId)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Share);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Avatar from \"../../../../shared/v2/Avatar\";\nimport Tooltip from \"../../../../shared/v2/Tooltip\";\n\nconst ProfileIcon = ({ imglink, name, initials }) => (\n {initials}} content={name || \"Anyone\"} placement=\"right\" />\n);\n\nProfileIcon.propTypes = {\n imglink: Proptypes.string,\n name: Proptypes.string,\n initials: Proptypes.string,\n};\nProfileIcon.defaultProps = {\n imglink: \"\",\n name: \"\",\n initials: \"\",\n};\n\nexport default ProfileIcon;\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport Button from \"../../../../shared/v2/Button\";\nimport LinkIcon from \"../../../../shared/v2/Icomoon/Icons/Link\";\nimport * as actionCreators from \"../actions/thunks\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\n\nconst SiteInput = ({\n planId,\n siteId,\n updateAdSiteAsThunk,\n removeAdSiteAsThunk,\n isLoading,\n shared,\n uuid,\n isedit,\n link,\n}) => {\n const [adlink, setlink] = useState(link);\n const handleSubmit = () => {\n const data = {\n url: adlink,\n };\n updateAdSiteAsThunk(uuid, planId, siteId, data);\n };\n const hadndleRemoveSite = () => {\n removeAdSiteAsThunk(uuid, planId, siteId);\n };\n return (\n \n \n {!shared && !planId && (\n \n REMOVE SITE\n \n )}\n
\n \n \n
\n setlink(e.target.value)}\n value={adlink}\n placeholder=\"Paste Site URL\"\n className=\"tw-border-none tw-outline-none tw-text-14px tw-text-gray-75 tw-w-full\"\n />\n
\n \n {isedit ? \"UPDATE\" : \"ADD\"}\n \n
\n
\n \n \n );\n};\n\nSiteInput.propTypes = {\n updateAdSiteAsThunk: Proptypes.func.isRequired,\n removeAdSiteAsThunk: Proptypes.func.isRequired,\n uuid: Proptypes.string.isRequired,\n planId: Proptypes.string,\n siteId: Proptypes.string,\n isLoading: Proptypes.bool,\n isedit: Proptypes.bool,\n link: Proptypes.string,\n shared: Proptypes.bool,\n};\n\nSiteInput.defaultProps = {\n isLoading: false,\n planId: null,\n siteId: null,\n isedit: false,\n link: null,\n shared: false,\n};\nconst mapStateToProps = (state) => ({\n uuid: state.tdpMarketingReducer.uuid,\n isLoading: state.tdpMarketingReducer.isLoading,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n updateAdSiteAsThunk: (uuid, planId, siteId, data) =>\n dispatch(actionCreators.updateAdSiteAsThunk(uuid, planId, siteId, data)),\n removeAdSiteAsThunk: (uuid, planId, siteId) =>\n dispatch(actionCreators.removeAdSiteAsThunk(uuid, planId, siteId)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(SiteInput);\n","export default {\n HEADER_FONT: \"tw-p-0 tw-border-b-[1px] tw-border-b-gray-10\",\n ROW_FONT: \"tw-p-0 tw-px-0 tw-py-[10px] tw-border-hidden tw-align-middle\",\n FONT_STYLE: \"tw-leading-[20px] tw-text-[14px] tw-font-semibold tw-text-gray-75\",\n};\n","import React, { useState, useRef, useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport moment from \"moment\";\nimport { connect } from \"react-redux\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport ListingLink from \"./ListingLink\";\nimport Share from \"./Share\";\nimport ProfileIcon from \"../ProfileIcon\";\nimport SiteInput from \"./SiteInput\";\nimport { useClickOutside } from \"../../../../shared/hookHelpers\";\nimport LAYOUT_STYLES from \"../actions/hooks\";\n\nconst { ROW_FONT, FONT_STYLE } = LAYOUT_STYLES;\n\nconst Rows = ({ adsite, isLoading, planId }) => {\n const [hovered, toggleHovered] = useState(false);\n const [siteinput, setSiteinput] = useState(false);\n const [siteEdit, setEdit] = useState(false);\n const [adlink, setlink] = useState(null);\n const ref = useRef(null);\n\n useClickOutside(ref, () => setSiteinput(false));\n\n useEffect(() => {\n if (isLoading) {\n setSiteinput(false);\n }\n }, [isLoading]);\n\n const onSiteInputOpen = () => {\n setSiteinput(true);\n };\n const onSiteInputClose = () => {\n setSiteinput(false);\n };\n\n return (\n <>\n toggleHovered(true)}\n onMouseLeave={() => toggleHovered(false)}\n className={`${FONT_STYLE} tw-flex tw-p-0 tw-m-0 tw-mx-[0px] tw-items-center tw-h-[40px] hover:tw-bg-[#FAFAFA]`}\n >\n \n {adsite.name}\n \n \n \n \n {!siteinput && (\n \n \n \n )}\n \n {adsite.completed_at ? moment(adsite.completed_at).format(\"MM/DD/YYYY\") : null}\n \n {!siteinput && (\n \n \n \n )}\n \n {siteinput && (\n \n \n \n )}\n \n );\n};\n\nRows.propTypes = {\n adsite: Proptypes.shape({\n id: Proptypes.string,\n name: Proptypes.string,\n complete: Proptypes.bool,\n google_search_url: Proptypes.string,\n completed_by: Proptypes.shape({\n id: Proptypes.string,\n first_name: Proptypes.string,\n last_name: Proptypes.string,\n avatar: Proptypes.string,\n initials: Proptypes.string,\n }),\n completed_at: Proptypes.string,\n position: Proptypes.number,\n url: Proptypes.string,\n advertising_plan_id: Proptypes.string,\n externally_visible: Proptypes.bool,\n }),\n isLoading: Proptypes.bool,\n planId: Proptypes.number,\n};\nRows.defaultProps = {\n adsite: null,\n isLoading: false,\n planId: null,\n};\n\nconst mapStateToProps = (state) => ({\n isLoading: state.tdpMarketingReducer.isLoading,\n});\n\nexport default connect(mapStateToProps)(Rows);\n","import React from \"react\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport LAYOUT_STYLES from \"../actions/hooks\";\n\nconst { HEADER_FONT, FONT_STYLE } = LAYOUT_STYLES;\n\nconst Headers = () => (\n <>\n \n \n Ad Site\n \n \n Link\n \n \n Who\n \n \n Date\n \n \n Share\n \n \n
\n \n);\n\nexport default Headers;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport * as actionCreators from \"../actions/thunks\";\n\nconst DeleteAdPlan = ({ modalOpen, deleteAdvertisingPlan, isLoading, uuid, planId, closeModal }) => {\n const destroyPlan = () => {\n deleteAdvertisingPlan(uuid, planId, closeModal);\n };\n return (\n \n \n\n \n \n Deleting this plan will not un-share any sites shared with the client.\n \n \n\n \n \n \n \n \n );\n};\n\nDeleteAdPlan.propTypes = {\n uuid: Proptypes.string.isRequired,\n modalOpen: Proptypes.bool,\n isLoading: Proptypes.bool,\n closeModal: Proptypes.func,\n deleteAdvertisingPlan: Proptypes.func.isRequired,\n planId: Proptypes.number,\n};\nDeleteAdPlan.defaultProps = {\n modalOpen: false,\n isLoading: false,\n closeModal: null,\n planId: null,\n};\nconst mapStateToProps = (state) => ({\n uuid: state.tdpMarketingReducer.uuid,\n isLoading: state.tdpMarketingReducer.isLoading,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n deleteAdvertisingPlan: (uuid, planId, closeModal) =>\n dispatch(actionCreators.deleteAdvertisingPlan(uuid, planId, closeModal)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(DeleteAdPlan);\n","import PropTypes from \"prop-types\";\n\nconst errorShape = PropTypes.shape({\n message: PropTypes.string.isRequired,\n errors: PropTypes.arrayOf(PropTypes.string),\n});\n\nexport default errorShape;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Error = ({ message }) => (\n
\n {message}\n
\n);\n\nError.propTypes = {\n message: PropTypes.string.isRequired,\n};\n\nexport default Error;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\nimport * as actionCreators from \"../actions/thunks\";\nimport Button from \"../../../../shared/v2/Button\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\nimport LoadingOverlay from \"../../../../shared/v2/LoadingOverlay\";\n\nconst Sitebody = ({\n submitAdSiteAsThunk,\n isFromManageModal,\n uuid,\n planId,\n isLoading,\n submitAdSiteError,\n closeModal,\n}) => {\n const [checked, toggleChecked] = useState(false);\n const [nameVal, setsitename] = useState(null);\n const [urlVal, seturl] = useState(null);\n const handleSubmit = () => {\n const data = {\n url: urlVal,\n position: null,\n name: nameVal,\n complete: checked,\n };\n submitAdSiteAsThunk(uuid, planId, data, closeModal, isFromManageModal);\n };\n return (\n \n {submitAdSiteError && }\n \n \n
\n Site Name *\n
\n setsitename(e.target.value)}\n className=\"tw-w-full\"\n data-cy=\"marketing-advertising-plan-adsite-modal-name-input\"\n />\n
\n URL\n
\n seturl(e.target.value)}\n className=\"tw-w-full tw-mb-[8px]\"\n data-cy=\"marketing-advertising-plan-adsite-modal-url-input\"\n />\n toggleChecked(!checked)}\n data-cy=\"marketing-advertising-plan-adsite-modal-share-checkbox\"\n />\n \n
\n \n \n \n CANCEL\n \n \n \n \n ADD\n \n \n \n
\n );\n};\n\nSitebody.propTypes = {\n isFromManageModal: Proptypes.bool,\n submitAdSiteAsThunk: Proptypes.func.isRequired,\n uuid: Proptypes.string.isRequired,\n isLoading: Proptypes.bool,\n submitAdSiteError: errorShape,\n closeModal: Proptypes.func,\n planId: Proptypes.string,\n};\nSitebody.defaultProps = {\n submitAdSiteError: null,\n isLoading: false,\n isFromManageModal: false,\n closeModal: null,\n planId: null,\n};\nconst mapStateToProps = (state) => ({\n uuid: state.tdpMarketingReducer.uuid,\n submitAdSiteError: state.tdpMarketingReducer.submitAdSiteError,\n isLoading: state.tdpMarketingReducer.isLoading,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n submitAdSiteAsThunk: (uuid, planId, data, closeModal, isFromManageModal) =>\n dispatch(actionCreators.submitAdSiteAsThunk(uuid, planId, data, closeModal, isFromManageModal)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Sitebody);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Sitebody from \"./Sitebody\";\n\nconst AdSite = ({ isFromManageModal, modalOpen, planId, closeModal }) => (\n \n \n \n \n When you promote this listing on a 3rd party website, add the link here to have it appear in the\n Client Email Update and client timeline for this transaction.\n \n \n \n \n);\n\nAdSite.propTypes = {\n modalOpen: Proptypes.bool,\n isFromManageModal: Proptypes.bool,\n closeModal: Proptypes.func,\n planId: Proptypes.string,\n};\n\nAdSite.defaultProps = {\n modalOpen: false,\n isFromManageModal: false,\n closeModal: null,\n planId: null,\n};\n\nexport default AdSite;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst Footer = ({ onClose }) => (\n \n \n \n CANCEL\n \n \n \n \n SAVE\n \n \n SAVE & CLOSE\n \n \n \n);\n\nFooter.propTypes = {\n onClose: Proptypes.func,\n};\nFooter.defaultProps = {\n onClose: null,\n};\n\nexport default Footer;\n","import { sortBy } from \"lodash\";\n\nconst completedFirst = (obj) => !obj.complete;\nconst alphabetical = (obj) => obj.name;\n\nconst adSort = (ads) => sortBy(ads, [completedFirst, alphabetical]);\n\nexport default adSort;\n","import React, { useEffect, useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport Trash from \"../../../../shared/v2/Icomoon/Icons/Trash\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport LoadingOverlay from \"../../../../shared/v2/LoadingOverlay\";\nimport Rows from \"./Rows\";\nimport Headers from \"./Headers\";\nimport DeleteAdPlan from \"./DeleteAdPlan\";\nimport AdSite from \"../AdSite\";\nimport * as actionCreators from \"../actions/thunks\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\nimport Footer from \"./Footer\";\nimport adSort from \"./adSorting\";\n\nconst AdPlan = ({\n planId,\n getManagePlanAsThunk,\n uuid,\n isLoading,\n getManagePlanError,\n adsites,\n closeModal,\n}) => {\n const [deleteModalOpen, setdeleteModalOpen] = useState(false);\n const [adsiteModalOpen, setadsiteModalOpen] = useState(false);\n\n useEffect(() => {\n getManagePlanAsThunk(uuid, planId);\n }, []);\n const deletecloseModal = (isAppliedDelete) => {\n if (isAppliedDelete === \"true\") {\n closeModal();\n }\n setdeleteModalOpen(false);\n };\n\n const adsitecloseModal = () => {\n setadsiteModalOpen(false);\n };\n return (\n <>\n \n
\n Sharing sites from your advertising plan will add them to the Client Email Update and create an\n event in the client timeline.\n
\n {getManagePlanError && }\n {adsites?.plan && adsites?.sites && (\n <>\n \n \n {adsites?.plan?.name}\n \n \n setdeleteModalOpen(true)}\n size=\"medium\"\n schema=\"misc-trash\"\n >\n \n \n \n \n \n {adsites.sites.length > 0 ? (\n adSort(adsites.sites).map((adsite, i) => (\n \n ))\n ) : (\n
\n )}\n\n
\n setadsiteModalOpen(true)}\n data-cy=\"marketing-advertising-plan-modal-additional-site-button\"\n >\n \n ADDITIONAL SITE\n \n
\n \n )}\n \n\n \n\n \n \n );\n};\n\nAdPlan.propTypes = {\n closeModal: Proptypes.func,\n uuid: Proptypes.string.isRequired,\n getManagePlanAsThunk: Proptypes.func.isRequired,\n isLoading: Proptypes.bool,\n adsites: Proptypes.shape({\n plan: Proptypes.shape({\n id: Proptypes.number,\n name: Proptypes.string,\n }),\n sites: Proptypes.arrayOf(Proptypes.shape({})),\n }),\n getManagePlanError: errorShape,\n planId: Proptypes.number,\n};\nAdPlan.defaultProps = {\n closeModal: null,\n adsites: null,\n getManagePlanError: null,\n isLoading: false,\n planId: null,\n};\nconst mapStateToProps = (state) => ({\n adsites: state.tdpMarketingReducer.adsites,\n uuid: state.tdpMarketingReducer.uuid,\n getManagePlanError: state.tdpMarketingReducer.getManagePlanError,\n isLoading: state.tdpMarketingReducer.isLoading,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n getManagePlanAsThunk: (uuid, planId) => dispatch(actionCreators.getManagePlanAsThunk(uuid, planId)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(AdPlan);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport AdPlan from \"./AdPlan\";\n\nconst PlanModal = ({ planId, modalOpen, closeModal }) => (\n <>\n \n \n \n \n \n \n \n);\n\nPlanModal.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n planId: Proptypes.number,\n};\n\nPlanModal.defaultProps = {\n modalOpen: false,\n closeModal: null,\n planId: null,\n};\n\nexport default PlanModal;\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport Button from \"../../../../shared/v2/Button\";\nimport PlanModal from \"../PlanModal\";\n\nconst PlansOrSites = ({ planId, name, sharedCount, totalCount }) => {\n const [modalOpen, setModalOpen] = useState(false);\n const closeModal = () => {\n setModalOpen(false);\n };\n return (\n <>\n
\n
\n
\n \n {name}\n
\n \n {`${sharedCount} of ${totalCount} sites shared with client`}\n
\n setModalOpen(true)}\n className=\"tw-flex tw-items-center\"\n schema=\"secondary\"\n size=\"small\"\n data-cy=\"marketing-advertising-plan-manage-button\"\n >\n Manage\n \n
\n
\n
\n \n \n );\n};\n\nPlansOrSites.propTypes = {\n name: Proptypes.string,\n sharedCount: Proptypes.number,\n totalCount: Proptypes.number,\n planId: Proptypes.number,\n};\nPlansOrSites.defaultProps = {\n name: null,\n sharedCount: 0,\n totalCount: 0,\n planId: null,\n};\n\nexport default PlansOrSites;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport LoadingOverlay from \"@shared/v2/LoadingOverlay\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Error from \"../Error\";\nimport { getAvailablePlanAsThunk, submitAvailablePlanAsThunk } from \"../actions/thunks\";\n\nconst AdApplyPlan = ({ modalOpen, closeModal }) => {\n const dispatch = useDispatch();\n const availablePlans = useSelector((state) => state.tdpMarketingReducer.availablePlan);\n const uuid = useSelector((state) => state.tdpMarketingReducer.uuid);\n const getAvailablePlanError = useSelector((state) => state.tdpMarketingReducer.getAvailablePlanError);\n const isLoading = useSelector((state) => state.tdpMarketingReducer.isLoading);\n const [selectedPlan, setSelectedPlan] = useState({});\n\n const planOptions = useMemo(\n () =>\n availablePlans.map((result) => ({\n value: result.id.toString(),\n label: result.name,\n })),\n [availablePlans],\n );\n\n useEffect(() => {\n if (modalOpen && uuid) dispatch(getAvailablePlanAsThunk(uuid));\n if (!modalOpen) setSelectedPlan({});\n }, [modalOpen, uuid]);\n\n const handleApplyPlan = () => {\n if (selectedPlan?.value) {\n dispatch(submitAvailablePlanAsThunk(uuid, selectedPlan.value, closeModal));\n }\n };\n\n return (\n \n \n\n \n \n {getAvailablePlanError && }\n
\n \n window.location.assign(\"/action_plans\")}\n >\n Set up a new advertising plan\n \n
\n
\n
\n\n \n \n Cancel\n \n \n Apply\n \n \n \n );\n};\n\nAdApplyPlan.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n};\n\nAdApplyPlan.defaultProps = {\n modalOpen: false,\n closeModal: null,\n};\n\nexport default AdApplyPlan;\n","import React, { useState } from \"react\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport AdApplyPlan from \"../AdApplyPlan\";\nimport AdSite from \"../AdSite\";\n\nconst EmptyState = () => {\n const [adsiteModalOpen, setadsiteModalOpen] = useState(false);\n const [adplanModalOpen, setadplanModalOpen] = useState(false);\n\n const adsitecloseModal = () => {\n setadsiteModalOpen(false);\n };\n const adplancloseModal = () => {\n setadplanModalOpen(false);\n };\n return (\n <>\n \n \n
\n

\n No advertising plans have been applied.\n

\n

\n Add a plan to share links to sites where this property is advertised with your client.\n

\n
\n \n \n
\n
\n \n
\n\n \n\n \n \n );\n};\n\nexport default EmptyState;\n","import React, { useState } from \"react\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCog } from \"@fortawesome/free-solid-svg-icons\";\nimport Button from \"../../../../shared/v2/Button\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport AdSite from \"../AdSite\";\nimport AdApplyPlan from \"../AdApplyPlan\";\n\nconst AdHeaderOptions = () => {\n const [adsiteModalOpen, setadsiteModalOpen] = useState(false);\n const [adplanModalOpen, setadplanModalOpen] = useState(false);\n\n const adsitecloseModal = () => {\n setadsiteModalOpen(false);\n };\n const adplancloseModal = () => {\n setadplanModalOpen(false);\n };\n return (\n <>\n
\n setadplanModalOpen(true)}\n className=\"tw-mr-[8px] tw-gap-4px tw-flex tw-items-center\"\n schema=\"tertiary\"\n size=\"small\"\n >\n \n PLAN\n \n setadsiteModalOpen(true)}\n className=\"tw-mr-[8px] tw-gap-4px tw-flex tw-items-center\"\n schema=\"tertiary\"\n size=\"small\"\n >\n \n SITE\n \n window.location.assign(\"/action_plans\")} size=\"small\" schema=\"tertiary\">\n \n \n
\n\n \n\n \n \n );\n};\n\nexport default AdHeaderOptions;\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport PlansOrSites from \"./plansorsites\";\nimport EmptyState from \"./emptystate\";\nimport Header from \"../../../UI/Header\";\nimport AdHeaderOptions from \"../HeaderOptions/AdHeaderOptions\";\nimport * as actionCreators from \"../actions/thunks\";\nimport LoadingOverlay from \"../../../../shared/v2/LoadingOverlay\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\n\nconst AdvertisingPlan = ({\n getAdvertisingPlanAsThunk,\n uuid,\n isLoading,\n advertisingplans,\n getDeletePlanError,\n}) => {\n useEffect(() => {\n getAdvertisingPlanAsThunk(uuid);\n }, []);\n\n return (\n <>\n
} />\n {getDeletePlanError && }\n \n
\n {advertisingplans.length > 0 ? (\n
\n {advertisingplans.map((advertisingplan, i) => (\n \n ))}\n
\n ) : (\n !isLoading && \n )}\n
\n
\n \n );\n};\n\nAdvertisingPlan.propTypes = {\n uuid: Proptypes.string.isRequired,\n isLoading: Proptypes.bool,\n getDeletePlanError: errorShape,\n getAdvertisingPlanAsThunk: Proptypes.func.isRequired,\n advertisingplans: Proptypes.arrayOf(Proptypes.shape({})),\n};\nAdvertisingPlan.defaultProps = {\n advertisingplans: [],\n getDeletePlanError: null,\n isLoading: false,\n};\nconst mapStateToProps = (state) => ({\n uuid: state.tdpMarketingReducer.uuid,\n advertisingplans: state.tdpMarketingReducer.advertisingplans,\n getDeletePlanError: state.tdpMarketingReducer.getDeletePlanError,\n isLoading: state.tdpMarketingReducer.isLoading,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n getAdvertisingPlanAsThunk: (uuid) => dispatch(actionCreators.getAdvertisingPlanAsThunk(uuid)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(AdvertisingPlan);\n","export const CREATE_MEDIA_OPTIONS = [\n {\n cardName: \"Mailer Campaigns\",\n name: \"Mailer Campaign\",\n url: \"https://www.brivitymarketer.com/v2/create-mailer\",\n },\n {\n cardName: \"Digital Ads\",\n name: \"Social Media Ad\",\n url: \"https://www.brivitymarketer.com/v2/listings?filter=active&adType=listed&adsModal=true\",\n },\n {\n cardName: \"Printed Media\",\n name: \"Print Media\",\n url: \"https://www.brivitymarketer.com/v2/create-print-media\",\n },\n {\n cardName: \"Social Media Graphics\",\n name: \"Social Media Post\",\n url: \"https://www.brivitymarketer.com/v2/create-social-media\",\n },\n { cardName: \"Videos\", name: \"Video\", url: \"https://www.brivitymarketer.com/v2/create-video\" },\n];\n\nexport const getCardLink = (name) => CREATE_MEDIA_OPTIONS.filter((option) => option.cardName === name)[0];\n\nexport const getImglink = (avatarCollection) => {\n const defaultAvatarUrl = \"/assets/user-default.svg\";\n const isCustomAvatar = (url) => url !== defaultAvatarUrl;\n const size = \"public\"; // or the size we want to use\n if (isCustomAvatar(avatarCollection[size])) {\n return avatarCollection[size];\n }\n return null;\n};\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport { getCardLink } from \"../api/helpers\";\n\nconst CardsCount = ({ cardName, counter, name }) => {\n const getCardUrl = () => getCardLink(cardName);\n\n return (\n
\n
\n {counter}\n
\n
\n {name}\n
\n window.open(getCardUrl().url, \"_blank\")} size=\"small\">\n CREATE\n \n
\n );\n};\n\nCardsCount.propTypes = {\n name: Proptypes.string,\n cardName: Proptypes.string,\n counter: Proptypes.number,\n};\nCardsCount.defaultProps = {\n name: \"\",\n cardName: \"\",\n counter: 0,\n};\n\nexport default CardsCount;\n","import React, { useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Row, Col } from \"../../../../shared/v1\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport MultiUser from \"../../../../shared/v2/Icomoon/Icons/MultiUser\";\nimport ChevronUp from \"../../../../shared/v2/Icomoon/Icons/ChevronUp\";\nimport { DollarSignSolidV6, EyeSolidV3, TintSolidV3 } from \"../../../../shared/v2/Icomoon\";\nimport { getCardLink } from \"../api/helpers\";\n\nconst CollapsibleCards = ({ name, impressions, leads, recipients, budget, counter, children }) => {\n const [isOpen, setisOpen] = useState(true);\n const getCardUrl = () => getCardLink(name);\n\n return (\n
\n \n \n \n
\n
\n {counter}\n {name}\n {impressions !== undefined && (\n \n )}\n {leads !== undefined && }\n {recipients !== undefined && (\n \n )}\n {budget !== undefined && (\n \n )}\n
\n
\n window.open(getCardUrl().url, \"_blank\")}\n className=\"tw-gap-1\ttw-flex tw-items-center\"\n schema=\"primary\"\n size=\"small\"\n >\n \n NEW\n \n setisOpen(!isOpen)}\n size=\"small\"\n schema=\"tertiary\"\n >\n \n \n
\n
\n \n
\n {children}\n
\n
\n );\n};\n\nconst CardSnippet = ({ name, value, icon }) => (\n
\n {icon({ size: \"m\", className: \"tw-mr-[4px]\" })}\n {name}:\n {value}\n
\n);\n\nCardSnippet.propTypes = {\n name: Proptypes.string.isRequired,\n icon: Proptypes.func.isRequired,\n value: Proptypes.number,\n};\n\nCardSnippet.defaultProps = {\n value: null,\n};\n\nCollapsibleCards.propTypes = {\n name: Proptypes.string,\n impressions: Proptypes.number,\n leads: Proptypes.number,\n recipients: Proptypes.number,\n budget: Proptypes.number,\n counter: Proptypes.number,\n children: Proptypes.oneOfType([Proptypes.arrayOf(Proptypes.node), Proptypes.node]),\n};\nCollapsibleCards.defaultProps = {\n name: \"\",\n impressions: undefined,\n leads: undefined,\n recipients: undefined,\n budget: undefined,\n counter: undefined,\n children: null,\n};\nexport default CollapsibleCards;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport moment from \"moment\";\nimport { Row, Col } from \"../../../../shared/v1\";\nimport ProfileIcon from \"../ProfileIcon\";\nimport MultiUser from \"../../../../shared/v2/Icomoon/Icons/MultiUser\";\nimport { getImglink } from \"../api/helpers\";\nimport { DollarSignRegularV6 } from \"../../../../shared/v2/Icomoon\";\nimport format from \"../../../../shared/formatters\";\n\nconst CardSnippet = ({ icon, value, name }) => (\n \n {icon({ className: \"tw-text-teal\", size: \"xl\" })}\n
{value}
\n
{name}
\n \n);\n\nCardSnippet.propTypes = {\n name: Proptypes.string.isRequired,\n value: Proptypes.number,\n icon: Proptypes.func.isRequired,\n};\n\nCardSnippet.defaultProps = {\n value: null,\n};\n\nconst MailerCards = ({\n name,\n status,\n type,\n createdBy,\n size,\n createdAt,\n coverImage,\n recipients,\n budgetCents,\n}) => {\n const normalizedBudget = budgetCents ? format.currency(budgetCents / 100, 0) : \"-\";\n const normalizedRecipients = recipients ? format.number(recipients, 0) : \"-\";\n\n return (\n
\n
\n \n \n
\n {name}\n
\n
\n {type}\n
\n \n \n \n \n \n \n
\n SIZE:\n \n {size}\n \n
\n \n \n
\n CREATED:\n \n {moment(createdAt).format(\"MM/DD/YYYY\")}\n \n
\n \n \n
\n {status}\n
\n \n
\n \n \n \n \n \n \n \n \n \n
\n
\n );\n};\n\nMailerCards.propTypes = {\n name: Proptypes.string,\n status: Proptypes.string,\n type: Proptypes.string,\n createdBy: Proptypes.shape({\n avatar_collection: Proptypes.shape({}),\n imglink: Proptypes.string,\n first_name: Proptypes.string,\n last_name: Proptypes.string,\n initials: Proptypes.string,\n }),\n size: Proptypes.string,\n coverImage: Proptypes.string,\n createdAt: Proptypes.string,\n recipients: Proptypes.number,\n budgetCents: Proptypes.number,\n};\nMailerCards.defaultProps = {\n name: \"\",\n status: \"\",\n type: \"\",\n createdBy: {\n avatar_collection: {},\n imglink: \"\",\n first_name: \"\",\n last_name: \"\",\n initials: \"\",\n },\n size: \"\",\n coverImage: \"\",\n createdAt: moment().format(),\n recipients: 0,\n budgetCents: 0,\n};\nexport default MailerCards;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport ProfileIcon from \"../ProfileIcon\";\nimport { getImglink } from \"../api/helpers\";\n\nconst Cards = ({ name, numberOfPages, createdBy, coverImage }) => (\n \n \n \n
\n {numberOfPages && \"Listed:\"} {name}\n
\n \n \n  \n \n \n \n \n {numberOfPages && (\n \n
\n PAGES:\n \n {numberOfPages}\n \n
\n \n )}\n
\n \n \n \n \n \n \n);\n\nCards.propTypes = {\n name: Proptypes.string,\n numberOfPages: Proptypes.number,\n createdBy: Proptypes.shape({\n avatar_collection: Proptypes.shape({}),\n imglink: Proptypes.string,\n first_name: Proptypes.string,\n last_name: Proptypes.string,\n initials: Proptypes.string,\n }),\n coverImage: Proptypes.string,\n};\nCards.defaultProps = {\n name: null,\n numberOfPages: undefined,\n createdBy: { avatar_collection: {}, imglink: \"\", first_name: \"\", last_name: \"\", initials: \"\" },\n coverImage: \"\",\n};\n\nexport default Cards;\n","import React, { useState, useRef, useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Row } from \"../../../../shared/v1\";\nimport Cards from \"./Cards\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport ChevronRight from \"../../../../shared/v2/Icomoon/Icons/ChevronRight\";\nimport ChevronLeft from \"../../../../shared/v2/Icomoon/Icons/ChevronLeft\";\n\nconst ListingCards = ({ carddata }) => {\n const [activeSlide, setActiveSlide] = useState(0);\n const ref = useRef(null);\n useEffect(() => {\n if (ref.current) {\n ref.current.scrollIntoView({\n behavior: \"smooth\",\n block: \"nearest\",\n inline: \"nearest\",\n });\n }\n }, [activeSlide]);\n const moveLeft = Math.max(0, activeSlide - 2);\n const moveRight = Math.min(carddata.length - 1, activeSlide + 2);\n return (\n
\n {activeSlide > 0 && (\n setActiveSlide(moveLeft)}\n size=\"medium\"\n schema=\"tertiary\"\n >\n \n \n )}\n \n {carddata.map((carddetails, index) => {\n const active = index === activeSlide;\n return (\n /* eslint-disable react/no-array-index-key */\n \n \n
\n );\n })}\n \n {activeSlide < carddata.length - 1 && (\n setActiveSlide(moveRight)}\n size=\"medium\"\n schema=\"tertiary\"\n >\n \n \n )}\n \n );\n};\nListingCards.propTypes = {\n carddata: Proptypes.arrayOf(\n Proptypes.shape({\n name: Proptypes.string,\n }),\n ),\n};\nListingCards.defaultProps = {\n carddata: [],\n};\n\nexport default ListingCards;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { Row, Col } from \"../../../../shared/v1\";\nimport Button from \"../../../../shared/v2/Button\";\nimport { getCardLink } from \"../api/helpers\";\n\nconst NoCards = ({ name, imageURL, description }) => {\n const getCardUrl = () => getCardLink(name);\n\n return (\n
\n \n \n
\n \n
\n
\n {description}\n
\n
\n window.open(getCardUrl().url, \"_blank\")}\n className=\"tw-flex tw-items-center\"\n schema=\"primary\"\n size=\"medium\"\n >\n GET STARTED\n \n
\n \n
\n
\n );\n};\n\nNoCards.propTypes = {\n name: Proptypes.string,\n description: Proptypes.string,\n imageURL: Proptypes.string,\n};\nNoCards.defaultProps = {\n description: \"\",\n name: \"\",\n imageURL: \"\",\n};\nexport default NoCards;\n","import React from \"react\";\n\nconst StatCardIcon = () => (\n \n \n \n);\n\nexport default StatCardIcon;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport moment from \"moment\";\nimport { Row, Col } from \"../../../../shared/v1\";\nimport ProfileIcon from \"../ProfileIcon\";\nimport { getImglink } from \"../api/helpers\";\nimport StatCardIcon from \"./StatCardIcon\";\n\nconst SocialAds = ({\n name,\n type,\n createdBy,\n startDate,\n endDate,\n coverImage,\n impressions,\n leads,\n budget,\n ctr,\n clicks,\n cpc,\n status,\n}) => (\n
\n
\n \n \n
\n {name}\n
\n {type && (\n
\n {type}\n
\n )}\n \n \n \n \n \n\n \n
\n DURATION:\n \n {`${moment(startDate).format(\"MM/DD/YYYY\")} - ${moment(endDate).format(\"MM/DD/YYYY\")}`}\n \n
\n \n \n
\n {status}\n
\n \n
\n \n {coverImage && (\n \n \n \n )}\n\n \n \n \n
\n \n
\n {impressions}\n
\n
Impressions
\n
\n \n \n
\n \n
{leads}
\n
Leads
\n
\n \n \n
\n
\n $\n
\n
{budget}
\n
Budget
\n
\n \n \n \n \n
\n \n\n
\n {ctr.toFixed(2)}\n
\n
CTR
\n
\n \n\n \n
\n \n
{clicks}
\n
Clicks
\n
\n \n \n
\n \n
\n {cpc.toFixed(2)}\n
\n
CPC
\n
\n \n \n \n \n
\n
\n);\n\nSocialAds.propTypes = {\n name: Proptypes.string,\n type: Proptypes.string,\n createdBy: Proptypes.shape({\n avatar_collection: Proptypes.shape({}),\n imglink: Proptypes.string,\n first_name: Proptypes.string,\n last_name: Proptypes.string,\n initials: Proptypes.string,\n }),\n coverImage: Proptypes.string,\n startDate: Proptypes.string,\n endDate: Proptypes.string,\n budget: Proptypes.string,\n ctr: Proptypes.number,\n clicks: Proptypes.number,\n impressions: Proptypes.number,\n leads: Proptypes.number,\n cpc: Proptypes.number,\n status: Proptypes.string,\n};\nSocialAds.defaultProps = {\n name: \"\",\n type: \"\",\n createdBy: {\n avatar_collection: {},\n imglink: \"\",\n first_name: \"\",\n last_name: \"\",\n initials: \"\",\n },\n coverImage: \"\",\n budget: \"0\",\n startDate: moment().format(),\n endDate: moment().format(),\n ctr: 0,\n clicks: 0,\n impressions: 0,\n leads: 0,\n cpc: 0,\n status: \"\",\n};\nexport default SocialAds;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport CollapsibleCards from \"./CollapsibleCards\";\nimport { sumOfKey } from \"../actions/helpers\";\nimport MailerCards from \"./MailerCards\";\nimport ListingCards from \"./ListingCards\";\nimport NoCards from \"./NoCards\";\nimport SocialAds from \"./SocialAds\";\nimport format from \"../../../../shared/formatters\";\n\nconst numberOrDash = (value, decimals = 0) => {\n if (value === 0) return 0;\n if (!value) return \"-\";\n return format.number(value, decimals);\n};\n\nconst normalizeData = (data) => {\n // TODO: get this to the adapter/reducer level\n // This is likely in the wrong place, as the component should not handle it.\n // However, for the sake of a hot patch, this is where it remains.\n const mailers = data.mailers || [];\n const ads = data.ads || [];\n\n return {\n ...data,\n mailers: {\n data: mailers,\n budget: numberOrDash(sumOfKey(mailers, \"budget_cents\") / 100, 2),\n recipients: numberOrDash(sumOfKey(mailers, \"recipients\")),\n },\n ads: {\n data: ads,\n leads: numberOrDash(sumOfKey(ads, \"leads\")),\n budget: numberOrDash(sumOfKey(ads, \"budget\") / 100, 2),\n impressions: numberOrDash(sumOfKey(ads, \"impressions\")),\n counter: numberOrDash(ads.length),\n },\n };\n};\n\nconst AssetsCards = ({ assetsCardViews }) => {\n const normalizedData = normalizeData(assetsCardViews);\n\n return (\n
\n \n {normalizedData.mailers.data.length > 0 ? (\n normalizedData.mailers.data.map((mailer, i) => (\n \n ))\n ) : (\n \n )}\n \n\n \n {normalizedData.ads.data.length > 0 ? (\n // eslint-disable-next-line react/prop-types\n normalizedData.ads.data.map((ad, i) => (\n \n ))\n ) : (\n \n )}\n \n\n \n {assetsCardViews?.print_media?.length > 0 ? (\n \n ) : (\n \n )}\n \n\n \n {assetsCardViews?.social_media?.length > 0 ? (\n \n ) : (\n \n )}\n \n\n \n {assetsCardViews?.videos?.length > 0 ? (\n \n ) : (\n \n )}\n \n
\n );\n};\n\nAssetsCards.propTypes = {\n assetsCardViews: Proptypes.shape({\n ads: Proptypes.arrayOf(Proptypes.shape({})),\n social_media: Proptypes.arrayOf(Proptypes.shape({})),\n mailers: Proptypes.arrayOf(Proptypes.shape({})),\n print_media: Proptypes.arrayOf(Proptypes.shape({})),\n videos: Proptypes.arrayOf(Proptypes.shape({})),\n empty_states: Proptypes.shape({\n mailers: Proptypes.shape({ image_url: Proptypes.string }),\n ads: Proptypes.shape({ image_url: Proptypes.string }),\n social_media: Proptypes.shape({ image_url: Proptypes.string }),\n print_media: Proptypes.shape({ image_url: Proptypes.string }),\n videos: Proptypes.shape({ image_url: Proptypes.string }),\n }),\n }),\n};\nAssetsCards.defaultProps = {\n assetsCardViews: {\n ads: [],\n social_media: [],\n mailers: [],\n print_media: [],\n videos: [],\n empty_states: {\n mailers: {\n image_url: \"\",\n },\n ads: {\n image_url: \"\",\n },\n social_media: {\n image_url: \"\",\n },\n print_media: {\n image_url: \"\",\n },\n videos: {\n image_url: \"\",\n },\n },\n },\n};\n\nconst mapStateToProps = (state) => ({\n assetsCardViews: state.tdpMarketingReducer.assetsCardViews,\n});\nexport default connect(mapStateToProps)(AssetsCards);\n","import React from \"react\";\n\nconst HomeSearchingIcon = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default HomeSearchingIcon;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\n\nconst SearchTermResults = ({ handleSelect, results }) => (\n
\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\n
handleSelect(results.value, results?.selected_fields?.id)}\n >\n {results.value}\n
\n
\n);\nSearchTermResults.propTypes = {\n results: Proptypes.shape({\n value: Proptypes.string,\n selected_fields: Proptypes.shape({\n id: Proptypes.string,\n }),\n }),\n handleSelect: Proptypes.func,\n};\nSearchTermResults.defaultProps = {\n results: {},\n handleSelect: () => {},\n};\nexport default SearchTermResults;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Button from \"../../../../shared/v2/Button\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport Trash from \"../../../../shared/v2/Icomoon/Icons/Trash\";\nimport * as actionCreators from \"../actions/thunks\";\n\nconst ImportSearch = ({ uuid, editListing, isMarketingLoading, importedListing, deleteImport }) => {\n const enableMarketingsec = () => {\n const listingBody = { blueroof_mls_id: importedListing.blueroofMlsId };\n editListing(uuid, listingBody);\n };\n return (\n <>\n
\n
\n
\n \n {`listed by ${importedListing?.listAgentName || \"-\"}`}\n \n \n deleteImport(false)}\n size=\"medium\"\n schema=\"misc-trash\"\n >\n \n \n \n
\n
\n
\n {importedListing?.streetAddress || \"-\"}\n
\n
\n {`${importedListing?.city || \"\"} ${importedListing?.state || \"\"} ${\n importedListing?.postalCode || \"\"\n } ${importedListing?.county || \"\"}`}\n
\n
\n {`$${importedListing?.price || \"-\"}`}\n
\n
\n {`${importedListing?.bedrooms || \"-\"} beds | ${\n importedListing?.bathsTotalDecimal || \"-\"\n } baths | ${importedListing?.squareFeet || \"-\"} sqft`}\n
\n
\n
\n
\n \n IMPORT\n \n
\n \n );\n};\n\nImportSearch.propTypes = {\n isMarketingLoading: Proptypes.bool,\n uuid: Proptypes.string.isRequired,\n importedListing: Proptypes.shape({\n blueroofMlsId: Proptypes.number,\n listAgentName: Proptypes.string,\n streetAddress: Proptypes.string,\n city: Proptypes.string,\n postalCode: Proptypes.string,\n county: Proptypes.string,\n bedrooms: Proptypes.number,\n bathsTotalDecimal: Proptypes.number,\n squareFeet: Proptypes.number,\n title: Proptypes.string,\n name: Proptypes.string,\n state: Proptypes.string,\n price: Proptypes.string,\n }),\n editListing: Proptypes.func,\n deleteImport: Proptypes.func,\n};\nImportSearch.defaultProps = {\n isMarketingLoading: false,\n importedListing: {},\n deleteImport: () => {},\n editListing: () => {},\n};\nconst mapStateToProps = (state) => ({\n isMarketingLoading: state.tdpMarketingReducer.isMarketingLoading,\n uuid: state.tdpMarketingReducer.uuid,\n importedListing: state.tdpMarketingReducer.importedListing,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n editListing: (uuid, listingBody) => dispatch(actionCreators.editListing(uuid, listingBody)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(ImportSearch);\n","import React, { useCallback, useEffect, useState } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { Search as SearchIcon } from \"../../../../shared/v2/Icomoon\";\nimport TextComboInput from \"../../../../shared/v2/TextComboInput\";\nimport SearchTermResults from \"./SearchTermResults\";\nimport * as actionCreators from \"../actions/thunks\";\nimport ImportSearch from \"./ImportSearch\";\nimport errorShape from \"../model/error\";\n\nconst HomeSearch = ({\n importSearchError,\n getAssetCardError,\n getsearchListingAsThunk,\n importSearchListingAsThunk,\n homelisting,\n search,\n setSearch,\n isSearched,\n importedListing,\n setSearched,\n}) => {\n const [searchTerm, setSearchTerm] = useState(search);\n const [hasTyped, setHasTyped] = useState(false);\n const [selectedAutocompleteId, setSelectedAutocompleteId] = useState(null);\n\n const handleMouseSelect = (searchvalue, autocompleteId) => {\n setSearchTerm(searchvalue);\n setSelectedAutocompleteId(autocompleteId);\n setSearched(true);\n };\n useEffect(() => {\n if (isSearched && searchTerm && selectedAutocompleteId) {\n importSearchListingAsThunk(searchTerm, selectedAutocompleteId);\n }\n }, [isSearched]);\n const handleChange = (e) => {\n setSearchTerm(e.target.value);\n setHasTyped(true);\n };\n const deleteImport = () => {\n setSearched(false);\n setSearchTerm(\"\");\n setSelectedAutocompleteId(null);\n setSearch(\"\", true);\n };\n useEffect(() => {\n if (importSearchError || getAssetCardError) {\n deleteImport();\n }\n }, [importSearchError, getAssetCardError]);\n const submitSearch = useCallback(() => {\n const searchTermTrimmed = searchTerm.trim();\n if (searchTermTrimmed === search) {\n // We already searched for this term, so no need to search again\n // (happens when typing a space and waiting 1 second)\n return;\n }\n getsearchListingAsThunk(searchTermTrimmed);\n }, [search, searchTerm]);\n\n useEffect(() => {\n if (hasTyped) {\n // Trigger search while user types, with a max of 1 search per second\n const timeoutId = window.setTimeout(submitSearch, 1000);\n return () => window.clearTimeout(timeoutId);\n }\n return () => {};\n }, [hasTyped, submitSearch]);\n return (\n
\n {!importedListing && (\n \n ) : (\n
\n \n
\n )\n }\n />\n )}\n {!isSearched && search && (\n
\n {homelisting.length > 0 ? (\n homelisting.map((results, i) => (\n \n ))\n ) : (\n
No matches found! try another search.
\n )}\n
\n )}\n {isSearched && importedListing && }\n
\n );\n};\n\nHomeSearch.propTypes = {\n importSearchError: errorShape,\n getAssetCardError: errorShape,\n search: Proptypes.string,\n homelisting: Proptypes.arrayOf(Proptypes.shape({})),\n getsearchListingAsThunk: Proptypes.func.isRequired,\n importSearchListingAsThunk: Proptypes.func.isRequired,\n setSearch: Proptypes.func.isRequired,\n setSearched: Proptypes.func.isRequired,\n isSearched: Proptypes.bool,\n importedListing: Proptypes.shape({}),\n};\nHomeSearch.defaultProps = {\n search: \"\",\n importSearchError: null,\n getAssetCardError: null,\n homelisting: [],\n isSearched: false,\n importedListing: null,\n};\nconst mapStateToProps = (state) => ({\n importSearchError: state.tdpMarketingReducer.importSearchError,\n getAssetCardError: state.tdpMarketingReducer.getAssetCardError,\n homelisting: state.tdpMarketingReducer.homelisting,\n importedListing: state.tdpMarketingReducer.importedListing,\n search: state.tdpMarketingReducer.search,\n isSearched: state.tdpMarketingReducer.isSearched,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n getsearchListingAsThunk: (search) => dispatch(actionCreators.getsearchListingAsThunk(search)),\n importSearchListingAsThunk: (searchvalue, autocompleteId) =>\n dispatch(actionCreators.importSearchListingAsThunk(searchvalue, autocompleteId)),\n setSearch: (search, isDelete) => dispatch(actionCreators.setSearch(search, isDelete)),\n setSearched: (isSearched) => dispatch(actionCreators.setSearched(isSearched)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(HomeSearch);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport HomeSearchingIcon from \"./HouseSearchingIcon\";\nimport HomeSearch from \"./HomeSearch\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\n\nconst NoListing = ({ autoCompleteError, importSearchError }) => (\n
\n
\n
\n {autoCompleteError && }\n {importSearchError && }\n To display marketing materials created in Brivity Marketer, an MLS # is required.\n
Import the listing’s MLS #:
\n
\n \n
\n
\n \n \n If the listing doesn’t have an MLS #, you can still create marketing materials in Brivity\n Marketer, but they won’t appear on this page. \n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */}\n window.open(\"https://ads.brivitymarketer.com/v2\", \"_blank\")}\n className=\"tw-text-teal tw-cursor-pointer\"\n >\n Launch Brivity Marketer\n \n \n \n \n \n \n
\n
\n
\n
\n);\n\nNoListing.propTypes = {\n autoCompleteError: errorShape,\n importSearchError: errorShape,\n};\n\nNoListing.defaultProps = {\n autoCompleteError: null,\n importSearchError: null,\n};\nconst mapStateToProps = (state) => ({\n autoCompleteError: state.tdpMarketingReducer.autoCompleteError,\n importSearchError: state.tdpMarketingReducer.importSearchError,\n});\n\nexport default connect(mapStateToProps)(NoListing);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport Plus from \"@shared/v2/Icomoon/Icons/Plus\";\nimport { CREATE_MEDIA_OPTIONS } from \"../api/helpers\";\n\nconst MarketingHeaderOptions = ({ mlsID }) => (\n \n \n \n \n \n {CREATE_MEDIA_OPTIONS.map(\n (option) =>\n (mlsID || option.name !== \"Social Media Ad\") && (\n window.open(option.url, \"_blank\")}>\n {option.name}\n \n ),\n )}\n \n \n);\n\nMarketingHeaderOptions.propTypes = {\n mlsID: Proptypes.string,\n};\n\nMarketingHeaderOptions.defaultProps = {\n mlsID: null,\n};\n\nconst mapStateToProps = (state) => ({\n mlsID: state.tdpMarketingReducer.mlsID,\n});\n\nexport default connect(mapStateToProps)(MarketingHeaderOptions);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { widthBar, iff } from \"../actions/helpers\";\n\nconst Bars = ({ listingViews }) => (\n <>\n {listingViews?.views?.total && listingViews.views.total > 0 && listingViews?.views?.breakdown ? (\n <>\n {Object.entries(listingViews.views.breakdown).map((item, i) => (\n \n ))}\n \n ) : (\n
\n )}\n \n);\n\nBars.propTypes = {\n listingViews: Proptypes.shape({\n views: Proptypes.shape({\n total: Proptypes.number,\n breakdown: Proptypes.shape({\n brivity: Proptypes.number,\n zillow: Proptypes.number,\n }),\n }),\n }),\n};\nBars.defaultProps = {\n listingViews: {\n views: {\n total: 0,\n breakdown: {\n brivity: 0,\n zillow: 0,\n },\n },\n },\n};\n\nconst mapStateToProps = (state) => ({\n listingViews: state.tdpMarketingReducer.listingViews,\n});\nexport default connect(mapStateToProps)(Bars);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { widthBar, iff } from \"../actions/helpers\";\n\nconst TrackLabel = ({ listingViews }) => (\n <>\n
\n {Object.entries(listingViews.views.breakdown).map((item, index) => (\n \n \n \n ●\n \n {item[1]}\n \n \n \n {item[0]}\n \n
\n \n {listingViews.views?.timeframe && `(${listingViews.views.timeframe[`${item[0]}`]})`}\n \n
\n
\n ))}\n
\n \n);\n\nTrackLabel.propTypes = {\n listingViews: Proptypes.shape({\n views: Proptypes.shape({\n total: Proptypes.number,\n breakdown: Proptypes.shape({\n brivity: Proptypes.number,\n zillow: Proptypes.number,\n }),\n timeframe: Proptypes.shape({\n brivity: Proptypes.string,\n zillow: Proptypes.string,\n }),\n }),\n }),\n};\nTrackLabel.defaultProps = {\n listingViews: {\n views: {\n total: 0,\n breakdown: {\n brivity: 0,\n zillow: 0,\n },\n timeframe: {},\n },\n },\n};\n\nconst mapStateToProps = (state) => ({\n listingViews: state.tdpMarketingReducer.listingViews,\n});\nexport default connect(mapStateToProps)(TrackLabel);\n","import React from \"react\";\nimport Bars from \"./Bars\";\nimport TrackLabel from \"./TrackLabel\";\n\nconst TrackProgressBar = () => (\n <>\n \n \n \n);\n\nexport default TrackProgressBar;\n","import React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport * as actionCreators from \"../actions/thunks\";\nimport { Col, Row } from \"../../../../shared/v1\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport errorShape from \"../model/error\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Error from \"../Error\";\n\nconst EditListingBody = ({\n uuid,\n assetsCardViews,\n submitEditListingURLAsThunk,\n getEditListingURLError,\n closeModal,\n isMarketingLoading,\n}) => {\n const [zillow, setZillow] = useState(assetsCardViews?.external_interactions?.sites?.zillow?.url);\n\n const handleSubmit = () => {\n const data = {\n zillow_url: zillow,\n blossor_id: assetsCardViews?.external_interactions?.blossor_id,\n };\n submitEditListingURLAsThunk(uuid, data, closeModal);\n };\n return (\n <>\n {getEditListingURLError && }\n \n \n
\n Zillow URL\n
\n setZillow(e.target.value)}\n value={zillow}\n disabled={isMarketingLoading}\n multiline\n className=\"tw-w-full\"\n />\n \n
\n \n \n \n CANCEL\n \n \n \n \n SAVE\n \n \n \n \n );\n};\n\nEditListingBody.propTypes = {\n closeModal: Proptypes.func,\n uuid: Proptypes.string.isRequired,\n submitEditListingURLAsThunk: Proptypes.func.isRequired,\n getEditListingURLError: errorShape,\n isMarketingLoading: Proptypes.bool,\n assetsCardViews: Proptypes.shape({\n external_interactions: Proptypes.shape({\n sites: Proptypes.shape({\n zillow: Proptypes.shape({\n url: Proptypes.string,\n }),\n }),\n blossor_id: Proptypes.string,\n }),\n }),\n};\nEditListingBody.defaultProps = {\n closeModal: null,\n isMarketingLoading: false,\n getEditListingURLError: null,\n assetsCardViews: {\n external_interactions: {\n sites: {\n zillow: {\n url: \"\",\n },\n },\n blossor_id: \"\",\n },\n },\n};\nconst mapStateToProps = (state) => ({\n isMarketingLoading: state.tdpMarketingReducer.isMarketingLoading,\n uuid: state.tdpMarketingReducer.uuid,\n assetsCardViews: state.tdpMarketingReducer.assetsCardViews,\n getEditListingURLError: state.tdpMarketingReducer.getEditListingURLError,\n});\nconst mapDispatchToProps = (dispatch) => ({\n submitEditListingURLAsThunk: (uuid, data, closeModal) =>\n dispatch(actionCreators.submitEditListingURLAsThunk(uuid, data, closeModal)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(EditListingBody);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport EditListingBody from \"./EditListingBody\";\n\nconst EditListing = ({ modalOpen, closeModal }) => (\n \n \n \n \n \n \n);\n\nEditListing.propTypes = {\n modalOpen: Proptypes.bool,\n closeModal: Proptypes.func,\n};\nEditListing.defaultProps = {\n modalOpen: false,\n closeModal: null,\n};\nexport default EditListing;\n","import React, { useState, useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport * as actionCreators from \"../actions/thunks\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport TrackProgressBar from \"./TrackProgressBar\";\nimport Check from \"../../../../shared/v2/Icomoon/Icons/Check\";\nimport EllipsisIcon from \"../../../../Transactions/components/icons/EllipsisIcon\";\nimport EditListing from \"./EditListing\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\n\nconst ListingViews = ({\n viewReportURL,\n shareLink,\n getListingViewsAsThunk,\n getMetricsError,\n uuid,\n listingViews,\n}) => {\n const [copied, setCopied] = useState(false);\n const [ModalOpen, setModalOpen] = useState(false);\n const closeModal = () => {\n setModalOpen(false);\n };\n useEffect(() => {\n getListingViewsAsThunk(uuid);\n }, []);\n const copyToClipboard = () => {\n setCopied(true);\n navigator.clipboard.writeText(shareLink);\n setTimeout(() => {\n setCopied(false);\n }, 2000);\n };\n return (\n <>\n {getMetricsError ? (\n \n ) : (\n
\n
\n Listing views: {listingViews?.views?.total || 0}\n
\n window.open(viewReportURL, \"_blank\")}\n size=\"small\"\n className=\"tw-border-r tw-border-gray-10\"\n >\n View Report\n \n \n {copied ? (\n <>\n Copied \n \n ) : (\n \"Share Link\"\n )}\n \n setModalOpen(true)}>\n \n \n
\n
\n \n
\n )}\n\n \n \n );\n};\n\nListingViews.propTypes = {\n uuid: Proptypes.string.isRequired,\n shareLink: Proptypes.string,\n viewReportURL: Proptypes.string,\n getListingViewsAsThunk: Proptypes.func.isRequired,\n getMetricsError: errorShape,\n listingViews: Proptypes.shape({\n views: Proptypes.shape({\n total: Proptypes.number,\n breakdown: Proptypes.shape({\n brivity: Proptypes.number,\n zillow: Proptypes.number,\n }),\n }),\n }),\n};\nListingViews.defaultProps = {\n getMetricsError: null,\n shareLink: \"\",\n viewReportURL: \"\",\n listingViews: {\n views: {\n total: 0,\n breakdown: {\n brivity: 0,\n zillow: 0,\n },\n },\n },\n};\nconst mapStateToProps = (state) => ({\n listingViews: state.tdpMarketingReducer.listingViews,\n viewReportURL: state.tdpMarketingReducer.viewReportURL,\n uuid: state.tdpMarketingReducer.uuid,\n getMetricsError: state.tdpMarketingReducer.getMetricsError,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n getListingViewsAsThunk: (uuid) => dispatch(actionCreators.getListingViewsAsThunk(uuid)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(ListingViews);\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport * as actionCreators from \"../actions/thunks\";\nimport CardsCount from \"./CardsCount\";\nimport AssetsCards from \"../AssetsCards\";\nimport NoListing from \"./NoListing\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\nimport Header from \"../../../UI/Header\";\nimport MarketingHeaderOptions from \"../HeaderOptions/MarketingHeaderOptions\";\nimport ListingViews from \"../MarketingMaterials/ListingViews\";\nimport LoadingOverlay from \"../../../../shared/v2/LoadingOverlay\";\n\nconst Cards = ({\n uuid,\n isMarketingLoading,\n mlsID,\n getAssetsCardViewsAsThunk,\n getListingMlsIDAsThunk,\n assetsCardViews,\n getAssetCardError,\n fetchedMlsId,\n}) => {\n useEffect(() => {\n if (fetchedMlsId && mlsID) {\n getAssetsCardViewsAsThunk(uuid);\n }\n }, [fetchedMlsId, mlsID]);\n\n useEffect(() => {\n if (!fetchedMlsId) {\n getListingMlsIDAsThunk(uuid);\n }\n }, [fetchedMlsId]);\n\n const MarketingMaterials = () => (\n <>\n \n \n {assetsCardViews?.mailers && (\n \n )}\n {assetsCardViews?.ads && (\n \n )}\n {assetsCardViews?.print_media && (\n \n )}\n {assetsCardViews?.social_media && (\n \n )}\n {assetsCardViews?.videos && (\n \n )}\n \n \n \n );\n\n const states = {\n fetchingMls: !fetchedMlsId,\n import: fetchedMlsId && !mlsID,\n marketing: fetchedMlsId && mlsID,\n };\n\n const currentState = Object.keys(states).find((key) => states[key]);\n\n const components = {\n fetchingMls:

Loading Mls Id

,\n import: ,\n marketing: ,\n };\n\n return (\n <>\n
\n
} />\n
\n \n {fetchedMlsId && mlsID && getAssetCardError && }\n
{components[currentState]}
\n
\n \n );\n};\nCards.propTypes = {\n uuid: Proptypes.string.isRequired,\n mlsID: Proptypes.string,\n isMarketingLoading: Proptypes.bool,\n getAssetsCardViewsAsThunk: Proptypes.func.isRequired,\n getListingMlsIDAsThunk: Proptypes.func.isRequired,\n getAssetCardError: errorShape,\n assetsCardViews: Proptypes.shape({\n ads: Proptypes.arrayOf(Proptypes.shape({})),\n social_media: Proptypes.arrayOf(Proptypes.shape({})),\n mailers: Proptypes.arrayOf(Proptypes.shape({})),\n print_media: Proptypes.arrayOf(Proptypes.shape({})),\n videos: Proptypes.arrayOf(Proptypes.shape({})),\n share_link: Proptypes.string,\n }),\n fetchedMlsId: Proptypes.bool,\n};\nCards.defaultProps = {\n mlsID: null,\n isMarketingLoading: false,\n getAssetCardError: null,\n assetsCardViews: { ads: [], social_media: [], mailers: [], print_media: [], videos: [] },\n fetchedMlsId: false,\n};\nconst mapStateToProps = (state) => ({\n uuid: state.tdpMarketingReducer.uuid,\n mlsID: state.tdpMarketingReducer.mlsID,\n getAssetCardError: state.tdpMarketingReducer.getAssetCardError,\n assetsCardViews: state.tdpMarketingReducer.assetsCardViews,\n isMarketingLoading: state.tdpMarketingReducer.isMarketingLoading,\n fetchedMlsId: state.tdpMarketingReducer.fetchedMlsId,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n getAssetsCardViewsAsThunk: (uuid) => dispatch(actionCreators.getAssetsCardViewsAsThunk(uuid)),\n getListingMlsIDAsThunk: (uuid) => dispatch(actionCreators.getListingMlsIDAsThunk(uuid)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Cards);\n","import React from \"react\";\nimport AdvertisingPlan from \"./AdvertisingPlan\";\nimport Cards from \"./Cards\";\n\nconst MarketingWrapper = () => (\n <>\n \n \n \n);\n\nexport default MarketingWrapper;\n","import PropTypes from \"prop-types\";\n\nconst errorShape = PropTypes.shape({\n message: PropTypes.string.isRequired,\n errors: PropTypes.arrayOf(PropTypes.string),\n});\n\nexport default errorShape;\n","import PropTypes from \"prop-types\";\nimport errorShape from \"./error\";\n\nconst changeVisibilityShape = PropTypes.shape({\n isLoading: PropTypes.bool.isRequired,\n error: errorShape,\n});\n\nexport default changeVisibilityShape;\n","import PropTypes from \"prop-types\";\nimport moment from \"moment\";\nimport changeVisibilityShape from \"./changeVisibility\";\n\nconst feedbackShape = PropTypes.shape({\n id: PropTypes.number,\n liked: PropTypes.number,\n body: PropTypes.string,\n externallyVisible: PropTypes.bool,\n shownBy: PropTypes.string,\n showingType: PropTypes.string,\n shownAt: PropTypes.instanceOf(moment),\n meta: PropTypes.shape({\n changeVisibility: changeVisibilityShape,\n }),\n});\n\nexport default feedbackShape;\n","import PropTypes from \"prop-types\";\nimport errorShape from \"./error\";\nimport feedbackShape from \"./feedback\";\n\nconst formDataShape = PropTypes.shape({\n action: PropTypes.string.isRequired,\n data: feedbackShape,\n isVisible: PropTypes.bool.isRequired,\n error: errorShape,\n isLoading: PropTypes.bool.isRequired,\n});\n\nexport default formDataShape;\n","import PropTypes from \"prop-types\";\n\nconst paginationShape = PropTypes.shape({\n current: PropTypes.number,\n next: PropTypes.number,\n previous: PropTypes.number,\n totalPages: PropTypes.number.isRequired,\n totalCount: PropTypes.number.isRequired,\n});\n\nexport default paginationShape;\n","import PropTypes from \"prop-types\";\nimport paginationShape from \"./pagination\";\n\nconst metaShape = PropTypes.shape({\n averageRating: PropTypes.number.isRequired,\n pagination: paginationShape,\n});\n\nexport default metaShape;\n","import PropTypes from \"prop-types\";\nimport errorShape from \"./error\";\nimport feedbackShape from \"./feedback\";\n\nconst promptDataShape = PropTypes.shape({\n data: feedbackShape,\n isVisible: PropTypes.bool.isRequired,\n error: errorShape,\n isLoading: PropTypes.bool.isRequired,\n});\n\nexport default promptDataShape;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Error = ({ message }) => (\n \n {message}\n \n);\n\nError.propTypes = {\n message: PropTypes.string.isRequired,\n};\n\nexport default Error;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\nimport { Prompt } from \"../../../../shared/v2/Modal\";\n\nconst DeleteFeedbackPrompt = ({ show, shownBy, error, isLoading, onDeleteFeedback, onCancel }) => (\n \n {error && }\n \n Are you sure you want to delete the showing feedback by {shownBy}? Please note that this\n action cannot be undone.\n \n \n }\n primaryOption=\"Delete\"\n primaryProps={{ schema: \"warning\" }}\n isPrimaryLoading={isLoading}\n onPrimary={onDeleteFeedback}\n show={show}\n onCancel={onCancel}\n />\n);\n\nDeleteFeedbackPrompt.propTypes = {\n show: PropTypes.bool.isRequired,\n shownBy: PropTypes.string.isRequired,\n error: errorShape,\n isLoading: PropTypes.bool.isRequired,\n onDeleteFeedback: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n};\n\nDeleteFeedbackPrompt.defaultProps = {\n error: null,\n};\n\nexport default DeleteFeedbackPrompt;\n","// The date format of the `feedback.shownAt` property (client-side)\nconst shownAtDateFormat = \"MM/DD/YYYY\";\n\nexport default shownAtDateFormat;\n","export const showingTypesOptions = [\n {\n value: \"showing_by_team\",\n label: \"Showing by Team\",\n },\n {\n value: \"external_showing\",\n label: \"External Showing\",\n },\n {\n value: \"open_house\",\n label: \"Open House\",\n },\n {\n value: \"broker_tour\",\n label: \"Broker Tour\",\n },\n];\n\nexport const showingTypeOptionByValue = (showingType) =>\n showingTypesOptions.find((type) => type.value === showingType);\n\nexport const showingTypeLabel = (showingType) => showingTypeOptionByValue(showingType)?.label;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { VisibilityHidden, VisibilityVisible } from \"../../../../shared/v2/Icomoon\";\n\nconst FeedbackVisibility = ({ externallyVisible, iconSize, ...otherProps }) =>\n externallyVisible ? (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ) : (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n );\n\nFeedbackVisibility.propTypes = {\n externallyVisible: PropTypes.bool.isRequired,\n iconSize: PropTypes.oneOf([\"s\", \"m\", \"l\", \"xl\", \"xxl\", \"xxxl\"]),\n};\n\nFeedbackVisibility.defaultProps = {\n iconSize: \"m\",\n};\n\nexport default FeedbackVisibility;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FeedbackVisibility from \"../FeedbackVisibility\";\nimport { Edit, Trash } from \"../../../../shared/v2/Icomoon\";\nimport Toggle from \"../../../../shared/v2/Toggle\";\n\nconst FeedbackMenuDropdown = ({\n externallyVisible,\n isVisibilityToggleEnabled,\n onEdit,\n onChangeVisibility,\n onDelete,\n className,\n}) => (\n \n \n \n Edit\n \n
\n
\n \n \n {`${externallyVisible ? \"Visible to\" : \"Hidden from\"} Viewers`}\n \n
\n
\n onChangeVisibility(!externallyVisible)}\n data-cy=\"feedback-menu-dropdown-externally-visible-toggle\"\n />\n
\n
\n
\n \n \n Delete\n \n \n);\nFeedbackMenuDropdown.propTypes = {\n externallyVisible: PropTypes.bool.isRequired,\n isVisibilityToggleEnabled: PropTypes.bool.isRequired,\n onEdit: PropTypes.func.isRequired,\n onChangeVisibility: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n className: PropTypes.string,\n};\n\nFeedbackMenuDropdown.defaultProps = {\n className: \"\",\n};\n\nexport default FeedbackMenuDropdown;\n","import React, { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport shownAtDateFormat from \"../constants\";\nimport feedbackShape from \"../model/feedback\";\nimport { showingTypeLabel } from \"../model/showingTypes\";\nimport Error from \"../Error\";\nimport FeedbackMenuDropdown from \"../FeedbackMenuDropdown\";\nimport FeedbackVisibility from \"../FeedbackVisibility\";\nimport Rating from \"../Rating\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport { VerticalDots } from \"../../../../shared/v2/Icomoon\";\nimport { Prompt } from \"../../../../shared/v2/Modal\";\nimport { useClickOutside } from \"../../../../shared/hookHelpers\";\n\nconst FeedbackCard = ({\n feedback,\n showEditFeedbackForm,\n changeFeedbackVisibility,\n clearChangeFeedbackVisibilityError,\n showDeleteFeedbackPrompt,\n}) => {\n const dropdownContainerRef = useRef(null);\n const [isDropdownMenuVisible, setIsDropdownMenuVisible] = useState(false);\n\n useClickOutside(dropdownContainerRef, () => {\n if (!isDropdownMenuVisible) {\n return;\n }\n\n setIsDropdownMenuVisible(false);\n });\n\n const handleOnEdit = () => {\n setIsDropdownMenuVisible(false);\n showEditFeedbackForm(feedback);\n };\n\n const showingType = showingTypeLabel(feedback.showingType);\n\n const isVisibilityToggleEnabled = !(\n feedback.meta?.changeVisibility && feedback.meta?.changeVisibility.isLoading\n );\n\n const handleOnChangeVisibility = (externallyVisible) => {\n changeFeedbackVisibility(feedback.id, externallyVisible);\n };\n\n const handleOnDelete = () => {\n setIsDropdownMenuVisible(false);\n showDeleteFeedbackPrompt(feedback);\n };\n\n const didChangeVisibilityFail = feedback.meta?.changeVisibility?.error;\n\n const changeVisibilityErrorMessage = feedback.meta?.changeVisibility?.error?.message ?? \"\";\n\n const clearChangeVisibilityError = () => {\n clearChangeFeedbackVisibilityError(feedback.id);\n };\n\n return (\n <>\n \n
\n \n
\n \n
\n
\n \n "{feedback.body}"\n \n
\n
\n
\n
\n {showingType && (\n \n {showingType}\n \n )}\n \n {feedback.shownAt.format(shownAtDateFormat)}\n \n \n
\n Shown by: {feedback.shownBy}\n
\n
\n
\n setIsDropdownMenuVisible(!isDropdownMenuVisible)}\n data-cy=\"feedback-card-action-button\"\n >\n \n \n {isDropdownMenuVisible && (\n \n )}\n
\n
\n
\n }\n primaryOption=\"OK\"\n onPrimary={clearChangeVisibilityError}\n />\n \n );\n};\nFeedbackCard.propTypes = {\n feedback: feedbackShape.isRequired,\n showEditFeedbackForm: PropTypes.func.isRequired,\n changeFeedbackVisibility: PropTypes.func.isRequired,\n clearChangeFeedbackVisibilityError: PropTypes.func.isRequired,\n showDeleteFeedbackPrompt: PropTypes.func.isRequired,\n};\n\nFeedbackCard.defaultProps = {};\n\nexport default FeedbackCard;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport errorShape from \"../model/error\";\nimport feedbackShape from \"../model/feedback\";\nimport Error from \"../Error\";\nimport FeedbackCard from \"../FeedbackCard\";\n\nconst FeedbackBody = ({\n feedbacks,\n error,\n showEditFeedbackForm,\n changeFeedbackVisibility,\n clearChangeFeedbackVisibilityError,\n showDeleteFeedbackPrompt,\n}) => (\n
\n {error && }\n {feedbacks?.map((feedback) => (\n \n ))}\n
\n);\nFeedbackBody.propTypes = {\n feedbacks: PropTypes.arrayOf(feedbackShape),\n error: errorShape,\n showEditFeedbackForm: PropTypes.func.isRequired,\n changeFeedbackVisibility: PropTypes.func.isRequired,\n clearChangeFeedbackVisibilityError: PropTypes.func.isRequired,\n showDeleteFeedbackPrompt: PropTypes.func.isRequired,\n};\n\nFeedbackBody.defaultProps = {\n feedbacks: [],\n error: null,\n};\n\nexport default FeedbackBody;\n","export const interestLevels = [\"5\", \"4\", \"3\", \"2\", \"1\"];\n\nexport const interestLevelsOptions = Array.from(interestLevels, (level) => ({\n value: level,\n label: level,\n}));\n\nexport const interestLevelOptionByValue = (interestLevel) => ({\n value: `${interestLevel}`,\n label: `${interestLevel}`,\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Rating from \"../Rating\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst RatingDropdownOption = ({ componentProps, data }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n \n \n);\n\nRatingDropdownOption.propTypes = {\n // `componentProps` and `data` are an internal implementation detail of the Dropdown component,\n // we don't want to validate their shape here.\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.object,\n // eslint-disable-next-line react/forbid-prop-types\n data: PropTypes.object,\n};\n\nRatingDropdownOption.defaultProps = {\n componentProps: {},\n data: {},\n};\n\nexport default RatingDropdownOption;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Rating from \"../Rating\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst RatingDropdownSingleValue = ({ componentProps, data }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n \n \n);\n\nRatingDropdownSingleValue.propTypes = {\n // `componentProps` and `data` are an internal implementation detail of the Dropdown component,\n // we don't want to validate their shape here.\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.object,\n // eslint-disable-next-line react/forbid-prop-types\n data: PropTypes.object,\n};\n\nRatingDropdownSingleValue.defaultProps = {\n componentProps: {},\n data: {},\n};\n\nexport default RatingDropdownSingleValue;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst ShowingTypeDropdownMenu = ({ componentProps, children }) => (\n \n {children}\n \n);\n\nShowingTypeDropdownMenu.propTypes = {\n // `componentProps` is an internal implementation detail of the Dropdown component, we don't want\n // to validate its shape here.\n // eslint-disable-next-line react/forbid-prop-types\n componentProps: PropTypes.object,\n children: PropTypes.node,\n};\n\nShowingTypeDropdownMenu.defaultProps = {\n componentProps: {},\n children: null,\n};\n\nexport default ShowingTypeDropdownMenu;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport capitalize from \"capitalize\";\nimport moment from \"moment\";\nimport shownAtDateFormat from \"../constants\";\nimport errorShape from \"../model/error\";\nimport feedbackShape from \"../model/feedback\";\nimport { interestLevelsOptions, interestLevelOptionByValue } from \"../model/interestLevel\";\nimport { showingTypesOptions, showingTypeOptionByValue } from \"../model/showingTypes\";\nimport FeedbackVisibility from \"../FeedbackVisibility\";\nimport RatingDropdownOption from \"../RatingDropdownOption\";\nimport RatingDropdownSingleValue from \"../RatingDropdownSingleValue\";\nimport ShowingTypeDropdownMenu from \"../ShowingTypeDropdownMenu\";\nimport Button from \"../../../../shared/v2/Button\";\nimport DatePicker from \"../../../../shared/v2/DatePicker\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\nimport { errorForBanner } from \"../../../../shared/v2/ErrorBanner\";\nimport { FloatingForm } from \"../../../../shared/v2/Modal\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\nimport Toggle from \"../../../../shared/v2/Toggle\";\n\nconst FeedbackForm = ({\n action,\n show,\n feedback,\n error,\n isLoading,\n showDeleteFeedbackPrompt,\n onNewFeedback,\n onUpdateFeedback,\n onCancel,\n}) => {\n const [state, setState] = useState({\n feedback: { ...feedback },\n });\n\n useEffect(() => {\n setState({ ...state, feedback: { ...feedback } });\n }, [feedback]);\n\n // Make sure interest level has a value\n useEffect(() => {\n if (state.feedback.liked) {\n return;\n }\n\n setState({ ...state, feedback: { ...state.feedback, liked: 5 } });\n }, [state.feedback]);\n\n useEffect(() => {\n if (show) {\n return;\n }\n\n // Clear form state when the modal is closed\n setState({ ...state, feedback: { liked: 5 } });\n }, [show]);\n\n const memoizedErrors = useMemo(\n () => (error?.errors ? error.errors.map((err) => errorForBanner(err)) : []),\n [error],\n );\n\n const handleOnPrimary = () => {\n if (action === \"new\") {\n onNewFeedback(state.feedback);\n } else if (onUpdateFeedback) {\n onUpdateFeedback(state.feedback);\n }\n };\n\n const updateFeedbackField = (field, value) => {\n const data = { ...state.feedback };\n data[field] = value;\n\n setState({ ...state, feedback: data });\n };\n\n const footer = (\n <>\n
\n \n {action === \"edit\" && (\n {\n if (showDeleteFeedbackPrompt) {\n showDeleteFeedbackPrompt(feedback);\n }\n }}\n data-cy=\"feedback-form-delete-action\"\n >\n Delete\n \n )}\n
\n
\n \n {action === \"new\" ? \"Add\" : \"Save\"}\n \n
\n \n );\n\n return (\n \n {/* Use Tailwind JIT due to missing values for spacing/gap */}\n
\n
\n \n updateFeedbackField(\"shownBy\", event.target.value)}\n />\n
\n
\n \n Showing Type\n \n updateFeedbackField(\"showingType\", option?.value)}\n options={showingTypesOptions}\n components={{\n Menu: ShowingTypeDropdownMenu,\n }}\n isSearchable\n data-cy=\"feedback-form-showing-type-dropdown\"\n />\n
\n
\n \n updateFeedbackField(\"shownAt\", moment(value, shownAtDateFormat))}\n />\n
\n
\n \n updateFeedbackField(\"liked\", option.value)}\n options={interestLevelsOptions}\n components={{\n SingleValue: RatingDropdownSingleValue,\n Option: RatingDropdownOption,\n }}\n data-cy=\"feedback-form-rating-dropdown\"\n />\n
\n
\n
\n \n \n {`${state.feedback.externallyVisible ? \"Visible to\" : \"Hidden from\"} Viewers`}\n \n
\n updateFeedbackField(\"externallyVisible\", !state.feedback.externallyVisible)}\n data-cy=\"feedback-form-externally-visible-toggle\"\n />\n
\n
\n
\n \n updateFeedbackField(\"body\", event.target.value)}\n multiline\n rows={4}\n />\n
\n \n );\n};\nFeedbackForm.propTypes = {\n action: PropTypes.oneOf([\"new\", \"edit\"]).isRequired,\n show: PropTypes.bool.isRequired,\n feedback: feedbackShape,\n error: errorShape,\n isLoading: PropTypes.bool.isRequired,\n showDeleteFeedbackPrompt: PropTypes.func,\n onNewFeedback: PropTypes.func.isRequired,\n onUpdateFeedback: PropTypes.func,\n onCancel: PropTypes.func.isRequired,\n};\n\nFeedbackForm.defaultProps = {\n feedback: {},\n error: null,\n showDeleteFeedbackPrompt: null,\n onUpdateFeedback: null,\n};\n\nexport default FeedbackForm;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Rating from \"../Rating\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\n\nconst FeedbackHeader = ({ reviewCount, averageRating, showNewFeedbackForm }) => (\n \n \n Showing Feedback\n \n \n \n {reviewCount} Reviews\n \n \n \n \n \n \n \n \n \n \n);\nFeedbackHeader.propTypes = {\n reviewCount: PropTypes.number,\n averageRating: PropTypes.number,\n showNewFeedbackForm: PropTypes.func.isRequired,\n};\n\nFeedbackHeader.defaultProps = {\n reviewCount: 0,\n averageRating: 0.0,\n};\n\nexport default FeedbackHeader;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport paginationShape from \"../model/pagination\";\nimport Button from \"../../../../shared/v2/Button\";\n\nconst FeedbackInfiniteScroll = ({ pagination, isLoading, loadMoreFeedbacks }) => {\n // Do not render anything when there is no next page\n if (!pagination.next) {\n return null;\n }\n\n return (\n
\n \n {isLoading ? \"Loading...\" : \"Load More\"}\n \n
\n );\n};\n\nFeedbackInfiniteScroll.propTypes = {\n pagination: paginationShape.isRequired,\n isLoading: PropTypes.bool.isRequired,\n loadMoreFeedbacks: PropTypes.func.isRequired,\n};\n\nexport default FeedbackInfiniteScroll;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport errorShape from \"../model/error\";\nimport feedbackShape from \"../model/feedback\";\nimport formDataShape from \"../model/formData\";\nimport metaShape from \"../model/meta\";\nimport promptDataShape from \"../model/promptData\";\nimport DeleteFeedbackPrompt from \"../DeleteFeedbackPrompt\";\nimport FeedbackBody from \"../FeedbackBody\";\nimport FeedbackForm from \"../FeedbackForm\";\nimport FeedbackHeader from \"../FeedbackHeader\";\nimport FeedbackInfiniteScroll from \"../FeedbackInfiniteScroll\";\n\nconst Feedback = ({\n getAllFeedbacks,\n loadMoreFeedbacks,\n newFeedback,\n editFeedback,\n changeFeedbackVisibility,\n clearChangeFeedbackVisibilityError,\n deleteFeedback,\n showFeedbackForm,\n hideFeedbackForm,\n showDeleteFeedbackPrompt,\n hideDeleteFeedbackPrompt,\n uuid,\n feedbacks,\n meta,\n error,\n isLoading,\n formData,\n promptData,\n}) => {\n const defaultDataForFormAndPrompt = {\n isVisible: true,\n error: null,\n isLoading: false,\n };\n\n const showNewFeedbackForm = () =>\n showFeedbackForm({ ...defaultDataForFormAndPrompt, action: \"new\", data: null });\n\n const showEditFeedbackForm = (feedback) =>\n showFeedbackForm({ ...defaultDataForFormAndPrompt, action: \"edit\", data: feedback });\n\n const showDeletePrompt = (feedback) =>\n showDeleteFeedbackPrompt({ ...defaultDataForFormAndPrompt, data: feedback });\n\n useEffect(() => {\n getAllFeedbacks();\n }, [uuid]);\n\n return (\n <>\n newFeedback(feedback)}\n onUpdateFeedback={(feedback) => editFeedback(feedback)}\n onCancel={() => hideFeedbackForm()}\n />\n {promptData.data && (\n deleteFeedback(promptData.data.id)}\n onCancel={() => hideDeleteFeedbackPrompt(formData)}\n />\n )}\n \n \n {meta?.pagination && (\n \n )}\n \n );\n};\n\nFeedback.propTypes = {\n getAllFeedbacks: PropTypes.func.isRequired,\n loadMoreFeedbacks: PropTypes.func.isRequired,\n newFeedback: PropTypes.func.isRequired,\n editFeedback: PropTypes.func.isRequired,\n changeFeedbackVisibility: PropTypes.func.isRequired,\n clearChangeFeedbackVisibilityError: PropTypes.func.isRequired,\n deleteFeedback: PropTypes.func.isRequired,\n showFeedbackForm: PropTypes.func.isRequired,\n hideFeedbackForm: PropTypes.func.isRequired,\n showDeleteFeedbackPrompt: PropTypes.func.isRequired,\n hideDeleteFeedbackPrompt: PropTypes.func.isRequired,\n uuid: PropTypes.string.isRequired,\n feedbacks: PropTypes.arrayOf(feedbackShape),\n meta: metaShape,\n error: errorShape,\n isLoading: PropTypes.bool,\n formData: formDataShape,\n promptData: promptDataShape,\n};\n\nFeedback.defaultProps = {\n feedbacks: [],\n meta: {\n averageRating: 0.0,\n pagination: {\n totalPages: 0,\n totalCount: 0,\n },\n },\n error: null,\n isLoading: false,\n formData: {\n action: \"new\",\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n promptData: {\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n};\n\nexport default Feedback;\n","import axios from \"axios\";\n\nexport const getAllFeedbacksFromApi = (uuid, page = 1, perPage = undefined) => {\n let queryString = `?page=${page}`;\n\n if (perPage) {\n queryString += `&per_page=${perPage}`;\n }\n\n return axios.get(`/api/v4/transactions/${uuid}/showings${queryString}`);\n};\n\nexport const newFeedbackFromApi = (uuid, data) =>\n axios.post(`/api/v4/transactions/${uuid}/showings`, {\n showing: data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const editFeedbackFromApi = (uuid, feedbackId, data) =>\n axios.patch(`/api/v4/transactions/${uuid}/showings/${feedbackId}`, {\n showing: data,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n\nexport const deleteFeedbackFromApi = (uuid, feedbackId) =>\n axios.delete(`/api/v4/transactions/${uuid}/showings/${feedbackId}`, {\n data: {\n authenticity_token: ReactOnRails.authenticityToken(),\n },\n });\n","import { pick } from \"lodash\";\nimport moment from \"moment\";\nimport { camelizeKeys, snakefyKeys } from \"../../../../shared/Utilities\";\n\n// The date format of the `shown_at` column (server-side)\nconst shownAtDateFormat = \"YYYY-MM-DD\";\n\nconst feedbackFromApi = (feedback) => ({\n ...camelizeKeys(pick(feedback, [\"id\", \"liked\", \"body\", \"shown_by\", \"showing_type\"])),\n externallyVisible: !!feedback.externally_visible, // It handles null as false\n shownAt: moment(feedback.shown_at, shownAtDateFormat),\n});\n\nconst metaFromApi = (meta) => ({\n ...camelizeKeys(pick(meta, [\"pagination\"])),\n averageRating: Number.parseFloat(meta.average_rating ?? 0.0),\n});\n\nexport const adaptGetAllFeedbacks = (data) => {\n let { showings, meta } = data;\n\n if (showings?.length) {\n showings = showings.map((showing) => feedbackFromApi(showing));\n } else {\n showings = [];\n }\n\n if (meta) {\n meta = metaFromApi(meta);\n }\n\n return { feedbacks: showings, meta };\n};\n\nexport const adaptFeedback = (data) => feedbackFromApi(data);\n\nexport const feedbackToApi = (feedback) => ({\n ...snakefyKeys(pick(feedback, [\"liked\", \"body\", \"externallyVisible\", \"shownBy\", \"showingType\"])),\n ...(feedback.shownAt ? { shown_at: feedback.shownAt.format(shownAtDateFormat) } : {}),\n});\n\nexport const adaptError = (error) => {\n if (!error?.response?.data?.message) {\n return {\n message: \"Unknown error occurred. Please try again later\",\n };\n }\n\n return error.response.data;\n};\n","import { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport {\n deleteFeedbackFromApi,\n editFeedbackFromApi,\n getAllFeedbacksFromApi,\n newFeedbackFromApi,\n} from \"../api/apiWrappers\";\nimport {\n fetchAllFeedbacksSuccess,\n fetchAllFeedbacksFailure,\n fetchAllFeedbacksStarted,\n setFeedbackFormData,\n createFeedbackStarted,\n createFeedbackSuccess,\n createFeedbackFailure,\n updateFeedbackStarted,\n updateFeedbackFailure,\n updateFeedbackSuccess,\n destroyFeedbackSuccess,\n destroyFeedbackStarted,\n destroyFeedbackFailure,\n setDeleteFeedbackPromptData,\n changeFeedbackVisibilityStarted,\n changeFeedbackVisibilityFailure,\n changeFeedbackVisibilitySuccess,\n clearChangeFeedbackVisibilityFailure,\n updateAllFeedbacksStats,\n loadMoreFeedbacksStarted,\n loadMoreFeedbacksFailure,\n loadMoreFeedbacksSuccess,\n} from \"./creators\";\nimport { adaptGetAllFeedbacks, adaptFeedback, feedbackToApi, adaptError } from \"../api/apiAdapters\";\n\nconst hideFeedbackFormData = {\n action: \"new\",\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n};\n\nconst hideDeleteFeedbackPromptData = { data: null, isVisible: false, error: null, isLoading: false };\n\nexport const getAllFeedbacks = (uuid) => async (dispatch) => {\n dispatch(fetchAllFeedbacksStarted());\n\n const req = getAllFeedbacksFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(fetchAllFeedbacksFailure(adaptError(err)));\n return;\n }\n\n const { feedbacks, meta } = adaptGetAllFeedbacks(res.data);\n\n dispatch(fetchAllFeedbacksSuccess(feedbacks, meta));\n};\n\nexport const loadMoreFeedbacks = (uuid, page) => async (dispatch) => {\n dispatch(loadMoreFeedbacksStarted());\n\n const req = getAllFeedbacksFromApi(uuid, page);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(loadMoreFeedbacksFailure(adaptError(err)));\n return;\n }\n\n const { feedbacks, meta } = adaptGetAllFeedbacks(res.data);\n\n dispatch(loadMoreFeedbacksSuccess(feedbacks, meta));\n};\n\nconst updateShowingFeedbackStats = (uuid) => async (dispatch) => {\n try {\n // TODO: implement an endpoint to fetch only the showing feedback stats\n const page = 1;\n const perPage = 1; // Request only one item per page to reduce the response payload\n const res = await getAllFeedbacksFromApi(uuid, page, perPage);\n\n const { meta } = adaptGetAllFeedbacks(res.data);\n\n dispatch(updateAllFeedbacksStats(meta));\n } catch (_err) {\n // Just ignore this error since this thunk should silently update the showing feedback stats\n }\n};\n\nexport const showFeedbackForm = (formData) => (dispatch) => {\n dispatch(setFeedbackFormData(formData));\n};\n\nexport const hideFeedbackForm = () => (dispatch) => {\n dispatch(setFeedbackFormData(hideFeedbackFormData));\n};\n\nexport const newFeedback = (uuid, feedback) => async (dispatch) => {\n dispatch(createFeedbackStarted());\n\n const req = newFeedbackFromApi(uuid, feedbackToApi(feedback));\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(createFeedbackFailure(adaptError(err)));\n return;\n }\n\n dispatch(createFeedbackSuccess(adaptFeedback(res.data)));\n // Hide feedback form\n dispatch(setFeedbackFormData(hideFeedbackFormData));\n\n dispatch(updateShowingFeedbackStats(uuid));\n};\n\nexport const editFeedback = (uuid, feedback) => async (dispatch) => {\n dispatch(updateFeedbackStarted());\n\n const req = editFeedbackFromApi(uuid, feedback.id, feedbackToApi(feedback));\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(updateFeedbackFailure(adaptError(err)));\n return;\n }\n\n dispatch(updateFeedbackSuccess(adaptFeedback(res.data)));\n // Hide feedback form\n dispatch(setFeedbackFormData(hideFeedbackFormData));\n\n dispatch(updateShowingFeedbackStats(uuid));\n};\n\nexport const changeFeedbackVisibility = (uuid, feedbackId, externallyVisible) => async (dispatch) => {\n dispatch(changeFeedbackVisibilityStarted(feedbackId));\n\n try {\n await editFeedbackFromApi(uuid, feedbackId, feedbackToApi({ externallyVisible }));\n\n dispatch(changeFeedbackVisibilitySuccess(feedbackId, externallyVisible));\n } catch (err) {\n dispatch(changeFeedbackVisibilityFailure(feedbackId, adaptError(err)));\n }\n};\n\nexport const clearChangeFeedbackVisibilityError = (feedbackId) => (dispatch) => {\n dispatch(clearChangeFeedbackVisibilityFailure(feedbackId));\n};\n\nexport const showDeleteFeedbackPrompt = (promptData) => (dispatch) => {\n dispatch(setDeleteFeedbackPromptData(promptData));\n};\n\nexport const hideDeleteFeedbackPrompt = (formData) => (dispatch) => {\n dispatch(setDeleteFeedbackPromptData(hideDeleteFeedbackPromptData));\n dispatch(setFeedbackFormData(formData));\n};\n\nconst updateCurrentPageAndShowingFeedbackStats = (uuid, page) => async (dispatch) => {\n try {\n const res = await getAllFeedbacksFromApi(uuid, page);\n\n const { feedbacks, meta } = adaptGetAllFeedbacks(res.data);\n\n dispatch(loadMoreFeedbacksSuccess(feedbacks, meta));\n } catch (_err) {\n // Just ignore this error since this thunk should silently update the current page and showing\n // feedback stats\n }\n};\n\nexport const deleteFeedback = (uuid, feedbackId, page) => async (dispatch) => {\n dispatch(destroyFeedbackStarted());\n\n try {\n await deleteFeedbackFromApi(uuid, feedbackId);\n\n dispatch(destroyFeedbackSuccess(feedbackId));\n // Hide delete prompt\n dispatch(setDeleteFeedbackPromptData(hideDeleteFeedbackPromptData));\n // Hide feedback form\n dispatch(setFeedbackFormData(hideFeedbackFormData));\n\n // Reload the current page since after deletion the user view from the current page becomes\n // invalid, and the next page might miss items\n dispatch(updateCurrentPageAndShowingFeedbackStats(uuid, page));\n } catch (err) {\n dispatch(destroyFeedbackFailure(adaptError(err)));\n }\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport errorShape from \"../model/error\";\nimport feedbackShape from \"../model/feedback\";\nimport formDataShape from \"../model/formData\";\nimport metaShape from \"../model/meta\";\nimport promptDataShape from \"../model/promptData\";\nimport Feedback from \"../Feedback\";\nimport {\n getAllFeedbacks,\n newFeedback,\n editFeedback,\n deleteFeedback,\n hideDeleteFeedbackPrompt,\n showDeleteFeedbackPrompt,\n hideFeedbackForm,\n showFeedbackForm,\n changeFeedbackVisibility,\n clearChangeFeedbackVisibilityError,\n loadMoreFeedbacks,\n} from \"../actions/thunks\";\n\nconst FeedbackWrapper = ({ dispatch, uuid, feedbacks, meta, error, isLoading, formData, promptData }) => (\n dispatch(getAllFeedbacks(uuid))}\n loadMoreFeedbacks={() => dispatch(loadMoreFeedbacks(uuid, meta.pagination.next))}\n newFeedback={(feedback) => dispatch(newFeedback(uuid, feedback))}\n editFeedback={(feedback) => dispatch(editFeedback(uuid, feedback))}\n changeFeedbackVisibility={(feedbackId, externallyVisible) =>\n dispatch(changeFeedbackVisibility(uuid, feedbackId, externallyVisible))\n }\n clearChangeFeedbackVisibilityError={(feedbackId) =>\n dispatch(clearChangeFeedbackVisibilityError(feedbackId))\n }\n deleteFeedback={(feedbackId) => dispatch(deleteFeedback(uuid, feedbackId, meta.pagination.current))}\n showFeedbackForm={(data) => dispatch(showFeedbackForm(data))}\n hideFeedbackForm={() => dispatch(hideFeedbackForm())}\n showDeleteFeedbackPrompt={(data) => dispatch(showDeleteFeedbackPrompt(data))}\n hideDeleteFeedbackPrompt={(data) => dispatch(hideDeleteFeedbackPrompt(data))}\n uuid={uuid}\n feedbacks={feedbacks}\n meta={meta}\n error={error}\n isLoading={isLoading}\n formData={formData}\n promptData={promptData}\n />\n);\n\nFeedbackWrapper.propTypes = {\n dispatch: PropTypes.func.isRequired,\n uuid: PropTypes.string.isRequired,\n feedbacks: PropTypes.arrayOf(feedbackShape),\n meta: metaShape,\n error: errorShape,\n isLoading: PropTypes.bool,\n formData: formDataShape,\n promptData: promptDataShape,\n};\n\nFeedbackWrapper.defaultProps = {\n feedbacks: [],\n meta: {\n averageRating: 0.0,\n pagination: {\n totalPages: 0,\n totalCount: 0,\n },\n },\n error: null,\n isLoading: false,\n formData: {\n action: \"new\",\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n promptData: {\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpFeedbackReducer.uuid,\n feedbacks: state.tdpFeedbackReducer.feedbacks,\n meta: state.tdpFeedbackReducer.meta,\n error: state.tdpFeedbackReducer.error,\n isLoading: state.tdpFeedbackReducer.isLoading,\n formData: state.tdpFeedbackReducer.formData,\n promptData: state.tdpFeedbackReducer.promptData,\n});\n\nexport default connect(mapStateToProps)(FeedbackWrapper);\n","import React from \"react\";\nimport FeedbackWrapper from \"./FeedbackWrapper\";\n\nconst Feedback = () => ;\n\nexport default Feedback;\n","import axios from \"axios\";\n\nconst basePath = \"/api/v4/transactions\";\nconst apiDocumentsUrl = (uuid) => `${basePath}/${uuid}/documents`;\n\nexport const getDocumentsFromApi = async (uuid, page, search, orderBy, orderDir) => {\n const params = {\n ...(page && { page }),\n ...(search && { query: search }),\n ...(orderBy && { order_by: orderBy }),\n ...(orderDir && { order_dir: orderDir }),\n };\n const queryParams = new URLSearchParams(params);\n\n return axios.get(`${apiDocumentsUrl(uuid)}?${queryParams.toString()}`);\n};\n\nexport const getAllDocumentViewersFromApi = async (uuid, documentId) =>\n axios.get(`${apiDocumentsUrl(uuid)}/${documentId}/viewers`);\n\nexport const searchDocumentsFromApi = async (uuid, search, orderBy, orderDir) => {\n const params = {\n ...(search && { query: search }),\n ...(orderBy && { order_by: orderBy }),\n ...(orderDir && { order_dir: orderDir }),\n };\n\n const queryParams = new URLSearchParams(params);\n\n return axios.get(`${apiDocumentsUrl(uuid)}?${queryParams.toString()}`);\n};\n\nexport const sortDocumentsFromApi = async (uuid, orderBy, orderDir, search) => {\n const params = {\n ...(orderBy && { order_by: orderBy }),\n ...(orderDir && { order_dir: orderDir }),\n ...(search && { query: search }),\n };\n\n const queryParams = new URLSearchParams(params);\n\n return axios.get(`${apiDocumentsUrl(uuid)}?${queryParams.toString()}`);\n};\n\nexport const renameDocumentFromApi = async (uuid, documentId, newName) =>\n axios.patch(`${apiDocumentsUrl(uuid)}/${documentId}/rename`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n file_name: newName,\n });\n\nexport const uploadDocumentFromApi = async (uuid, formData) =>\n axios.post(apiDocumentsUrl(uuid), formData, {\n headers: {\n \"Content-Type\": \"multipart/form-data\",\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n });\n\nexport const deleteDocumentsFromApi = async (uuid, documentIds) =>\n axios.delete(`${apiDocumentsUrl(uuid)}/batch_destroy`, {\n headers: {\n \"x-csrf-token\": window.ReactOnRails.authenticityToken(),\n },\n data: {\n document_ids: documentIds,\n },\n });\n","import {\n getDocumentsFromApi,\n getAllDocumentViewersFromApi,\n renameDocumentFromApi,\n uploadDocumentFromApi,\n deleteDocumentsFromApi,\n searchDocumentsFromApi,\n sortDocumentsFromApi,\n} from \"../api/apiWrappers\";\n\nimport {\n getDocuments,\n getDocumentsStart,\n getDocumentsError,\n getSidebarDocuments,\n getSidebarDocumentsStart,\n getSidebarDocumentsError,\n getDocumentsFromSearch,\n searchDocumentsError,\n getDocumentsFromSort,\n sortDocumentsError,\n getAllDocumentViewers,\n renameDocumentSuccess,\n renameDocumentError,\n uploadDocumentStart,\n uploadDocumentSuccess,\n uploadDocumentError,\n deleteDocumentsSuccess,\n deleteDocumentsError,\n uploadCDADocSuccess,\n} from \"./creators\";\n\nimport {\n adapterGetDocuments,\n adapterDocumentFromRename,\n adapterDocumentFromUpload,\n adapterGetAllDocumentViewers,\n} from \"../api/apiAdapters\";\nimport { fetchFinancials } from \"../../Financials/actions/thunks\";\n\n/**\n * @param {string} uuid\n * @param {number} page\n * @param {bool} quiet When `true`, fetches documents without setting the `isFetchingDocuments` flag,\n * and without reporting errors.\n *\n * Useful for when we want to update the documents without triggering a loading screen,\n * or when we don't want to show an error message if the request failed.\n */\nexport const getDocumentsAsThunk = (page, quiet) => async (dispatch, getState) => {\n let response;\n\n const { search, orderBy, orderDir, uuid } = getState().tdpDocumentsReducer;\n\n if (!quiet) {\n dispatch(getDocumentsStart());\n }\n\n try {\n response = await getDocumentsFromApi(uuid, page, search, orderBy, orderDir);\n } catch (error) {\n if (quiet) {\n return;\n }\n\n if (error.response?.data?.errors) {\n dispatch(getDocumentsError(error.response.data.errors));\n } else {\n dispatch(getDocumentsError([\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n\n return;\n }\n\n if (response.status === 200) {\n const adaptedData = adapterGetDocuments(response.data);\n dispatch(getDocuments(adaptedData.documents, adaptedData.meta, uuid));\n } else if (!quiet) {\n dispatch(getDocumentsError([\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n};\n\n/**\n * @param {string} uuid\n * @param {bool} quiet When `true`, fetches documents without setting the `isFetchingDocuments` flag,\n * and without reporting errors.\n *\n * Useful for when we want to update the documents without triggering a loading screen,\n * or when we don't want to show an error message if the request failed.\n */\nexport const getSidebarDocumentsAsThunk = (quiet) => async (dispatch, getState) => {\n let response;\n\n const { uuid } = getState().tdpDocumentsReducer;\n\n if (!quiet) {\n dispatch(getSidebarDocumentsStart());\n }\n\n try {\n response = await getDocumentsFromApi(uuid);\n } catch (error) {\n if (quiet) {\n return;\n }\n\n if (error.response?.data?.errors) {\n dispatch(getSidebarDocumentsError(error.response.data.errors));\n } else {\n dispatch(getSidebarDocumentsError([\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n\n return;\n }\n\n if (response.status === 200) {\n const adaptedData = adapterGetDocuments(response.data);\n dispatch(getSidebarDocuments(adaptedData.documents, adaptedData.meta));\n } else if (!quiet) {\n dispatch(getSidebarDocumentsError([\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n};\n\nexport const getAllDocumentViewersAsThunk = (documentId) => async (dispatch, getState) => {\n let response;\n\n const { uuid } = getState().tdpDocumentsReducer;\n\n try {\n response = await getAllDocumentViewersFromApi(uuid, documentId);\n } catch (error) {\n // TODO: this should be handled once we add viewers\n }\n\n if (response.status === 200) {\n const adaptedData = adapterGetAllDocumentViewers(response.data);\n dispatch(getAllDocumentViewers(documentId, adaptedData.viewers));\n } else {\n // TODO: this should be handled once we add viewers\n }\n};\n\nexport const searchDocumentsAsThunk = (search) => async (dispatch, getState) => {\n let response;\n\n const { orderBy, orderDir, uuid } = getState().tdpDocumentsReducer;\n\n dispatch(getDocumentsStart());\n\n try {\n response = await searchDocumentsFromApi(uuid, search, orderBy, orderDir);\n } catch (error) {\n if (error.response?.data?.errors) {\n dispatch(searchDocumentsError(search, error.response.data.errors));\n } else {\n dispatch(searchDocumentsError(search, [\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n\n return;\n }\n\n if (response.status === 200) {\n const adaptedData = adapterGetDocuments(response.data);\n dispatch(getDocumentsFromSearch(adaptedData.documents, adaptedData.meta, search));\n } else {\n dispatch(searchDocumentsError(search, [\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n};\n\nexport const renameDocumentAsThunk = (context, documentId, newName) => async (dispatch, getState) => {\n let response;\n\n const { search, orderBy, meta, uuid } = getState().tdpDocumentsReducer;\n\n try {\n response = await renameDocumentFromApi(uuid, documentId, newName);\n } catch (error) {\n if (error.response?.data?.errors) {\n dispatch(renameDocumentError(context, documentId, error.response.data.errors));\n } else {\n dispatch(\n renameDocumentError(context, documentId, [\"Oops, something went wrong, try again in a few minutes.\"]),\n );\n }\n\n return;\n }\n\n if (response.status === 200) {\n const document = adapterDocumentFromRename(response.data.document, newName);\n\n const adaptedResponse = {\n document,\n };\n\n dispatch(renameDocumentSuccess(documentId, adaptedResponse));\n\n if (context === \"CDA-document\") {\n dispatch(fetchFinancials());\n } else if (search || orderBy === \"file_name\") {\n // When searching or ordering by file name, refresh documents after renaming\n dispatch(getDocumentsAsThunk(meta.pagination.current, true));\n }\n } else {\n dispatch(\n renameDocumentError(context, documentId, [\"Oops, something went wrong, try again in a few minutes.\"]),\n );\n }\n};\n\nexport const uploadDocumentAsThunk = (data, formData, isFinancialsCDA) => async (dispatch, getState) => {\n let response;\n\n const { documents, search, orderBy, meta: statefulMeta, uuid } = getState().tdpDocumentsReducer;\n\n dispatch(uploadDocumentStart(data));\n\n try {\n response = await uploadDocumentFromApi(uuid, formData);\n } catch (error) {\n if (error.response?.data?.errors) {\n dispatch(uploadDocumentError(isFinancialsCDA, data.uploadKey, error.response.data.errors));\n } else {\n dispatch(\n uploadDocumentError(isFinancialsCDA, data.uploadKey, [\n \"Oops, something went wrong, try again in a few minutes.\",\n ]),\n );\n }\n\n return;\n }\n\n if (response.status === 200) {\n let dispatchDocType;\n const document = adapterDocumentFromUpload(response.data.document, response.data.meta);\n const { meta } = response.data;\n\n const adaptedResponse = {\n document,\n meta,\n };\n\n if (isFinancialsCDA) {\n dispatch(fetchFinancials());\n dispatchDocType = uploadCDADocSuccess;\n } else {\n dispatchDocType = uploadDocumentSuccess;\n\n // When searching or ordering by file name,\n // or not in the first page,\n // or in the first page and the number of documents exceeds the count per page,\n // refresh documents after uploading\n if (\n search ||\n orderBy === \"file_name\" ||\n statefulMeta.pagination.current > 1 ||\n documents.length + 1 > statefulMeta.pagination.countPerPage\n ) {\n dispatch(getDocumentsAsThunk(statefulMeta.pagination.current, true));\n }\n }\n\n dispatch(dispatchDocType(adaptedResponse, data.uploadKey));\n } else {\n dispatch(\n uploadDocumentError(isFinancialsCDA, data.uploadKey, [\n \"Oops, something went wrong, try again in a few minutes.\",\n ]),\n );\n }\n};\n\nexport const deleteDocumentsAsThunk = (documentIds, isFinancialsCDA) => async (dispatch, getState) => {\n let response;\n\n const { documents, sidebarDocuments, search, orderBy, orderDir, meta, uuid } =\n getState().tdpDocumentsReducer;\n\n try {\n response = await deleteDocumentsFromApi(uuid, documentIds);\n } catch (error) {\n if (error.response?.data?.errors) {\n dispatch(deleteDocumentsError(error.response.data.errors));\n } else {\n dispatch(deleteDocumentsError([\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n\n return;\n }\n\n if (response.status === 204) {\n dispatch(deleteDocumentsSuccess(documentIds));\n\n if (isFinancialsCDA) {\n dispatch(fetchFinancials());\n } else {\n // When all documents from the current page have been deleted and not in the first page,\n // go back to the previous page,\n // or refresh the current page when not in the last page\n if (documentIds.length === documents.length && meta.pagination.current > 1) {\n dispatch(getDocumentsAsThunk(meta.pagination.previous, true));\n } else if (meta.pagination.next) {\n dispatch(getDocumentsAsThunk(meta.pagination.current, true));\n }\n\n // When not in the first page or in the first page with search/sort,\n // refresh the sidebar documents if any document was deleted from it\n if (meta.pagination.current > 1 || search || orderBy || orderDir) {\n const wasAnySidebarDocumentDeleted = sidebarDocuments.some((doc) => documentIds.includes(doc.id));\n\n if (wasAnySidebarDocumentDeleted) {\n dispatch(getSidebarDocumentsAsThunk(true));\n }\n }\n }\n } else {\n dispatch(deleteDocumentsError([\"Oops, something went wrong, try again in a few minutes.\"]));\n }\n};\n\nexport const sortDocumentsAsThunk = (orderBy, orderDir) => async (dispatch, getState) => {\n let response;\n\n const { search, uuid } = getState().tdpDocumentsReducer;\n\n try {\n response = await sortDocumentsFromApi(uuid, orderBy, orderDir, search);\n } catch (error) {\n if (error.response?.data?.errors) {\n dispatch(sortDocumentsError(orderBy, orderDir, error.response.data.errors));\n } else {\n dispatch(\n sortDocumentsError(orderBy, orderDir, [\"Oops, something went wrong, try again in a few minutes.\"]),\n );\n }\n\n return;\n }\n\n if (response.status === 200) {\n const adaptedData = adapterGetDocuments(response.data);\n dispatch(getDocumentsFromSort(adaptedData.documents, adaptedData.meta, orderBy, orderDir));\n } else {\n dispatch(\n sortDocumentsError(orderBy, orderDir, [\"Oops, something went wrong, try again in a few minutes.\"]),\n );\n }\n};\n","import React, { useCallback, useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { Search as SearchIcon } from \"../../../../shared/v2/Icomoon\";\nimport TextComboInput from \"../../../../shared/v2/TextComboInput\";\nimport { searchDocumentsError } from \"../actions/creators\";\nimport { searchDocumentsAsThunk } from \"../actions/thunks\";\n\nconst Search = ({ statefulSearch, dispatch }) => {\n const [searchTerm, setSearchTerm] = useState(statefulSearch);\n const [hasTyped, setHasTyped] = useState(false);\n\n const handleChange = (e) => {\n setSearchTerm(e.target.value);\n setHasTyped(true);\n };\n\n const submitSearch = useCallback(() => {\n const searchTermTrimmed = searchTerm.trim();\n\n if (searchTermTrimmed === statefulSearch) {\n // We already searched for this term, so no need to search again\n // (happens when typing a space and waiting 1 second)\n return;\n }\n\n if (searchTermTrimmed && searchTermTrimmed.length < 3) {\n dispatch(searchDocumentsError(searchTerm, [\"Search term must have 3 characters or more.\"]));\n return;\n }\n\n dispatch(searchDocumentsAsThunk(searchTermTrimmed));\n }, [statefulSearch, searchTerm]);\n\n useEffect(() => {\n if (hasTyped) {\n // Trigger search while user types, with a max of 1 search per second\n const timeoutId = window.setTimeout(submitSearch, 1000);\n return () => window.clearTimeout(timeoutId);\n }\n\n return () => {};\n }, [hasTyped, submitSearch]);\n\n return (\n
\n \n \n
\n }\n onChange={handleChange}\n />\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n statefulSearch: state.tdpDocumentsReducer.search,\n});\n\nSearch.propTypes = {\n statefulSearch: PropTypes.string,\n dispatch: PropTypes.func,\n};\n\nSearch.defaultProps = {\n statefulSearch: \"\",\n dispatch: () => {},\n};\n\nexport default connect(mapStateToProps)(Search);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport { Upload as UploadIcon } from \"../../../../shared/v2/Icomoon\";\nimport { toggleUploadModal } from \"../actions/creators\";\n\nconst Upload = ({ dispatch }) => (\n dispatch(toggleUploadModal(true))}\n data-cy=\"documents-upload-button\"\n >\n Upload\n \n \n);\n\nUpload.propTypes = {\n dispatch: PropTypes.func,\n};\n\nUpload.defaultProps = {\n dispatch: () => {},\n};\n\nexport default connect()(Upload);\n","import React from \"react\";\n\nimport Search from \"./Search\";\nimport Upload from \"./Upload\";\n\nconst SearchUpload = () => (\n
\n \n \n
\n);\n\nexport default SearchUpload;\n","import React, { useMemo, useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nconst DocumentCheckbox = ({ context, isSelected, onSelect, id }) => {\n const checkboxId = useMemo(() => `${context}-${String(id)}`, [context, id]);\n\n const [checked, setChecked] = useState(isSelected);\n\n useEffect(() => {\n setChecked(isSelected);\n }, [isSelected]);\n\n const handleClick = (e) => {\n e.stopPropagation();\n };\n\n const handleOnChange = (checkStatus) => {\n setChecked(checkStatus);\n onSelect(checkStatus, id);\n };\n\n return (\n
\n {\n handleOnChange(e.target.checked);\n }}\n data-cy=\"document-list-item-checkbox\"\n />\n
\n );\n};\n\nDocumentCheckbox.propTypes = {\n context: PropTypes.shape({}).isRequired,\n isSelected: PropTypes.bool,\n onSelect: PropTypes.func,\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nDocumentCheckbox.defaultProps = {\n isSelected: false,\n onSelect: () => {},\n id: \"\",\n};\n\nexport default DocumentCheckbox;\n","import React from \"react\";\nimport { shape } from \"prop-types\";\n\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { getInitials } from \"@shared/v2/utils\";\n\nconst UploadedBy = ({ document }) => (\n \n
\n \n {!document.uploadedByImageUrl && getInitials(document.uploadedByName)}\n
\n }\n content={document.uploadedByName}\n placement=\"top\"\n />\n \n \n);\n\nUploadedBy.propTypes = {\n document: shape({}),\n};\n\nUploadedBy.defaultProps = {\n document: {},\n};\n\nexport default UploadedBy;\n","import React from \"react\";\nimport moment from \"moment\";\nimport { shape } from \"prop-types\";\n\nconst TimeUploaded = ({ document }) => (\n \n
\n {moment(document.uploadedAt).format(\"MM/DD/YYYY\")}\n
\n
\n {moment(document.uploadedAt).format(\"hh:mm A\")}\n
\n \n);\n\nTimeUploaded.propTypes = {\n document: shape({}),\n};\n\nTimeUploaded.defaultProps = {\n document: {},\n};\n\nexport default TimeUploaded;\n","export const contextContainer = \"tw-flex tw-items-center tw-justify-center tw-ml-auto\";\nexport const overlayContainer =\n \"tw-absolute tw-bg-white tw-w-[120px] tw-rounded-4px tw-right-full tw-top-10px tw-py-4px tw-shadow-md\";\nexport const actionClassNames =\n \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-text-neutral-gray-75 tw-bg-white hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0\";\nexport const actionIconClassName = \"tw-mr-8px tw-text-neutral-gray-50\";\nexport const downloadClassNames =\n \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-text-neutral-gray-75 tw-bg-white hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0 hover:tw-text-neutral-gray-75 visited:tw-text-neutral-gray-75 hover:tw-no-underline\";\nexport const trashClassNames =\n \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-bg-white tw-text-semantic-red-100 hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0 tw-border-0 tw-border-t tw-border-solid tw-border-neutral-gray-10\";\nexport const trashIconClassName = \"tw-mr-8px tw-text-semantic-red-100\";\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { Overlay } from \"@shared/v1/Overlay\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport {\n VerticalDots,\n Download,\n Trash,\n VisibilityVisible,\n Edit,\n} from \"@shared/v2/Icomoon/Icons\";\n\nimport {\n contextContainer,\n overlayContainer,\n actionClassNames,\n actionIconClassName,\n downloadClassNames,\n trashClassNames,\n trashIconClassName,\n} from \"./Context.styles\";\n\nconst Context = ({ document, triggerRename, deleteDocuments, previewDocument }) => {\n const [isOpen, setIsOpen] = useState(false);\n\n const handleButtonClick = (e) => {\n e.stopPropagation();\n setIsOpen(!isOpen);\n };\n\n const handleOverlayClick = (e) => {\n e.stopPropagation();\n };\n\n const onHideHandler = () => {\n setIsOpen(false);\n };\n\n const handleDelete = () => {\n deleteDocuments([document.id]);\n };\n\n const handleRename = () => {\n setIsOpen(false);\n triggerRename();\n };\n\n const handleKeyDownPreview = (e) => {\n if (e.key === \"Enter\") {\n previewDocument();\n }\n };\n\n const handleKeyDownRename = (e) => {\n if (e.key === \"Enter\") {\n handleRename();\n }\n };\n\n const handleKeyDownDelete = (e) => {\n if (e.key === \"Enter\") {\n handleDelete();\n }\n };\n\n return (\n \n
\n \n \n \n \n
\n \n Preview\n
\n {document.canRename && (\n <>\n \n Rename\n
\n \n )}\n {document.expiringUrl && (\n \n Download\n \n )}\n {document.canDelete && (\n <>\n \n Delete\n \n \n )}\n \n \n \n \n );\n};\n\nContext.propTypes = {\n document: PropTypes.shape({}),\n triggerRename: PropTypes.func,\n deleteDocuments: PropTypes.func,\n previewDocument: PropTypes.func,\n};\n\nContext.defaultProps = {\n document: {},\n triggerRename: () => {},\n deleteDocuments: () => {},\n previewDocument: () => {},\n};\n\nexport default Context;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport { Download, Trash } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\n\nconst downloadDocument = (fileName, url) => {\n const anchor = document.createElement(\"a\");\n anchor.setAttribute(\"download\", fileName);\n anchor.setAttribute(\"href\", url);\n anchor.setAttribute(\"target\", \"_blank\");\n document.body.appendChild(anchor);\n anchor.click();\n document.body.removeChild(anchor);\n};\n\nconst InlineContext = ({ document, handleDeleteDocument }) => {\n const handleDownload = (e) => {\n e.stopPropagation();\n downloadDocument(document.fileName, document.expiringUrl);\n };\n\n return (\n \n
\n \n \n \n\n \n \n \n
\n\n \n {moment(document.uploadedAt).format(\"MM/DD/YYYY\")}\n

\n \n );\n};\n\nInlineContext.propTypes = {\n document: PropTypes.shape({}).isRequired,\n handleDeleteDocument: PropTypes.func,\n};\n\nInlineContext.defaultProps = {\n handleDeleteDocument: () => {},\n};\n\nexport default InlineContext;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport IconButton from \"@shared/v2/IconButton\";\nimport { Trash } from \"@shared/v2/Icomoon\";\n\nimport DocumentCheckbox from \"./DocumentCheckbox\";\nimport FileInformation from \"./FileInformation\";\nimport UploadedBy from \"./UploadedBy\";\nimport TimeUploaded from \"./TimeUploaded\";\nimport Context from \"./Context\";\nimport InlineContext from \"./InlineContext\";\n\nconst rowContainerClassNames = (context) => `\n tw-relative tw-h-64px tw-w-full tw-py-12px tw-bg-white tw-border-t-0 tw-border-l-0 tw-border-r-0 tw-border-b-1px tw-border-solid tw-border-gray-10 hover:tw-bg-tinted-gray-50\n ${context === \"documents-sidebar\" ? \"last:tw-border-b-0\" : \"\"}\n`;\n\nconst DocumentListItem = ({\n context,\n document,\n clearDocumentErrors,\n renameDocument,\n deleteDocuments,\n isSelected,\n onSelect,\n handlePreview,\n}) => {\n // Lifted state up to parent component because and needs to be aware of this boolean/setter\n const [editFilename, setEditFilename] = useState(false);\n\n // We need to keep track of when the input was open and the user clicked outside,\n // to prevent the preview from opening\n const [clickedOutside, setClickedOutside] = useState(false);\n\n const handleClickOutside = () => {\n setClickedOutside(true);\n };\n\n const handleClick = () => {\n if (context === \"documents-upload\" || clickedOutside || window.getSelection().toString()) {\n // Do not open preview if triggered from the upload modal, or if the user clicked outside, or if the user is selecting a text\n setClickedOutside(false);\n return;\n }\n\n handlePreview();\n };\n\n const handleTriggerRename = () => {\n setEditFilename(true);\n };\n\n const handleDeleteDocument = () => {\n deleteDocuments([document.id]);\n };\n\n return (\n \n {context !== \"documents-sidebar\" && (\n \n {!document.isUploading && (\n \n )}\n \n )}\n \n {document.uploadErrors?.length ? (\n \n {document.uploadErrors.join(\" \")}\n \n ) : (\n <>\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n {/* Space for viewers_count */}\n {/* eslint-disable-next-line no-nested-ternary */}\n {context === \"documents-table\" ? (\n <>\n \n \n \n \n ) : context === \"documents-sidebar\" ? (\n \n ) : (\n \n {document.isUploading ? (\n \"Uploading...\"\n ) : (\n \n \n \n )}\n \n )}\n \n )}\n \n );\n};\n\nDocumentListItem.propTypes = {\n handlePreview: PropTypes.func,\n context: PropTypes.shape({}),\n document: PropTypes.shape({}),\n renameDocument: PropTypes.func,\n deleteDocuments: PropTypes.func,\n clearDocumentErrors: PropTypes.func,\n isSelected: PropTypes.bool,\n onSelect: PropTypes.func,\n};\n\nDocumentListItem.defaultProps = {\n handlePreview: () => {},\n document: {},\n renameDocument: () => {},\n deleteDocuments: () => {},\n clearDocumentErrors: () => {},\n isSelected: false,\n onSelect: () => {},\n};\n\nexport default DocumentListItem;\n","import PropTypes from \"prop-types\";\n\nexport const ContextPropType = PropTypes.oneOf([\n \"documents-table\",\n \"documents-sidebar\",\n \"documents-upload\",\n \"documents-preview\",\n \"CDA-document\",\n]);\n\nexport const DocumentPropType = PropTypes.shape({\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n fileName: PropTypes.string,\n nakedName: PropTypes.string,\n fileExtension: PropTypes.string,\n fileType: PropTypes.string,\n imageIcon: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n humanReadableSize: PropTypes.string,\n uploadedAt: PropTypes.string,\n expiringUrl: PropTypes.string,\n url: PropTypes.string,\n uploadedById: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n uploadedByImageUrl: PropTypes.string,\n uploadedByName: PropTypes.string,\n uploadedByUrl: PropTypes.string,\n canRename: PropTypes.bool,\n canDelete: PropTypes.bool,\n viewersCount: PropTypes.arrayOf(PropTypes.number),\n renameErrors: PropTypes.arrayOf(PropTypes.string),\n});\n\nexport const MetaPropType = PropTypes.shape({\n pagination: PropTypes.shape({\n current: PropTypes.number,\n next: PropTypes.number,\n previous: PropTypes.number,\n totalPages: PropTypes.number,\n totalCount: PropTypes.number,\n countPerPage: PropTypes.number,\n }),\n updatedAtMs: PropTypes.number,\n});\n","import React, { useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport DocumentListItem from \"@shared/ModalUpload/DocumentListItem\";\n\nimport { DocumentPropType, MetaPropType } from \"../propTypes\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport { CaretUp, CaretDown, Download, Trash, Upload as UploadIcon } from \"../../../../shared/v2/Icomoon\";\n\nimport {\n toggleUploadModal,\n toggleDeleteModal,\n toggleDocumentsSelected,\n setDocumentIndex,\n renameDocumentError,\n} from \"../actions/creators\";\nimport { renameDocumentAsThunk, sortDocumentsAsThunk } from \"../actions/thunks\";\n\nconst headerClassNames = {\n th: \"tw-text-neutral-gray-50 tw-text-12d tw-font-semibold\",\n};\n\nconst getColor = (column, orderBy, orderDir, direction) => {\n if (orderBy !== column) return \"tw-text-neutral-gray-50\";\n if ((orderDir === \"asc\" && direction === \"asc\") || (orderDir === \"desc\" && direction === \"desc\"))\n return \"tw-text-neutral-gray-100\";\n\n return \"tw-text-neutral-gray-50\";\n};\n\nconst UpDown = ({ column, orderBy, orderDir }) => (\n
\n \n \n
\n);\n\nUpDown.propTypes = {\n column: PropTypes.string,\n orderBy: PropTypes.string,\n orderDir: PropTypes.string,\n};\n\nUpDown.defaultProps = {\n column: \"filename\",\n orderBy: \"date\",\n orderDir: \"desc\",\n};\n\nconst Table = ({ dispatch, search, documents, meta, isFetchingDocuments, errors }) => {\n const context = \"documents-table\";\n\n const [orderBy, setOrderBy] = useState(\"date\");\n const [orderDir, setOrderDir] = useState(\"desc\");\n\n const allChecked = useMemo(() => documents.every((doc) => doc.isSelected), [documents]);\n\n const shouldOpenBulkActions = useMemo(() => documents.some((doc) => doc.isSelected), [documents]);\n\n const handleOnChangeAll = (checkStatus) => {\n dispatch(\n toggleDocumentsSelected(\n context,\n documents.map((doc) => doc.id),\n checkStatus,\n ),\n );\n };\n\n const handleSelect = (checkedStatus, documentId) => {\n dispatch(toggleDocumentsSelected(context, [documentId], checkedStatus));\n };\n\n const handleSortDocumentsByFilename = () => {\n setOrderBy(\"filename\");\n const newOrderDir = orderDir === \"desc\" ? \"asc\" : \"desc\";\n setOrderDir(newOrderDir);\n dispatch(sortDocumentsAsThunk(\"file_name\", newOrderDir));\n };\n\n const handleSortDocumentsByTimeUpload = () => {\n setOrderBy(\"date\");\n const newOrderDir = orderDir === \"desc\" ? \"asc\" : \"desc\";\n setOrderDir(newOrderDir);\n dispatch(sortDocumentsAsThunk(\"created_at\", newOrderDir));\n };\n\n const handleBulkDelete = () => {\n const documentIds = documents.filter((doc) => doc.isSelected).map((doc) => doc.id);\n dispatch(toggleDeleteModal(documentIds, false));\n };\n\n const handleBulkDownload = () => {\n const documentsToDownload = documents.filter((doc) => doc.isSelected);\n\n documentsToDownload.forEach((doc) => {\n // TODO the ideal solution would be to create a zip file with all the documents\n\n // This requires the user to accept popups\n window.open(doc.expiringUrl, \"_blank\");\n });\n };\n\n const handleKeyDownSortByFilename = (e) => {\n if (e.key === \"Enter\") {\n handleSortDocumentsByFilename();\n }\n };\n\n const handleKeyDownSortByTimeUpload = (e) => {\n if (e.key === \"Enter\") {\n handleSortDocumentsByFilename();\n }\n };\n\n const handleRenameDocument = (documentId, newName) => {\n dispatch(renameDocumentAsThunk(context, documentId, newName));\n };\n\n const handleDeleteDocuments = (documentIds) => {\n dispatch(toggleDeleteModal(documentIds, false));\n };\n\n const handlePreview = (index) => {\n dispatch(setDocumentIndex(context, index));\n };\n\n const clearDocumentErrors = (documentId) => {\n dispatch(renameDocumentError(context, documentId, []));\n };\n\n if (isFetchingDocuments) {\n return

Loading documents...

;\n }\n\n if (errors.length) {\n return (\n
\n

\n {errors.join(\" \")}\n

\n
\n );\n }\n\n return (\n
\n {documents.length > 0 ? (\n \n \n \n \n \n \n \n \n \n \n \n \n {documents.map((doc, index) => (\n handlePreview(index)}\n />\n ))}\n \n
\n
\n {\n handleOnChangeAll(e.target.checked);\n }}\n data-cy=\"documents-table-select-all\"\n />\n
\n
\n
\n \n Name \n
\n {shouldOpenBulkActions && (\n \n \n \n \n \n \n \n \n )}\n \n
ViewersUploaded by\n \n Time Uploaded \n \n Context
\n ) : (\n \n {search !== \"\" ? (\n

\n We didn't find any documents when searching for {search}.\n

\n ) : (\n <>\n

No documents have been uploaded.

\n {\n dispatch(toggleUploadModal(true));\n }}\n >\n Upload \n \n \n )}\n
\n )}\n \n );\n};\n\nTable.propTypes = {\n dispatch: PropTypes.func,\n search: PropTypes.string,\n documents: PropTypes.arrayOf(DocumentPropType),\n meta: MetaPropType,\n isFetchingDocuments: PropTypes.bool,\n errors: PropTypes.arrayOf(PropTypes.string),\n};\n\nTable.defaultProps = {\n dispatch() {},\n search: \"\",\n documents: [],\n meta: [],\n isFetchingDocuments: false,\n errors: [],\n};\n\nconst mapStateToProps = (state) => ({\n search: state.tdpDocumentsReducer.search,\n documents: state.tdpDocumentsReducer.documents,\n meta: state.tdpDocumentsReducer.meta,\n isFetchingDocuments: state.tdpDocumentsReducer.isFetchingDocuments,\n errors: state.tdpDocumentsReducer.errors,\n});\n\nexport default connect(mapStateToProps)(Table);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport Pagination from \"../../../../shared/v2/Pagination\";\nimport { getDocumentsAsThunk } from \"../actions/thunks\";\nimport { MetaPropType } from \"../propTypes\";\n\nconst PaginationSection = ({ isFetchingDocuments, meta, numDocuments, numErrors, dispatch }) => {\n if (isFetchingDocuments || numDocuments === 0 || numErrors > 0) {\n // Only show pagination if there are documents being displayed\n return null;\n }\n\n const handleGoToPage = (page) => {\n dispatch(getDocumentsAsThunk(page));\n };\n\n return (\n
\n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n isFetchingDocuments: state.tdpDocumentsReducer.isFetchingDocuments,\n meta: state.tdpDocumentsReducer.meta,\n numDocuments: state.tdpDocumentsReducer.documents.length,\n numErrors: state.tdpDocumentsReducer.errors.length,\n});\n\nPaginationSection.propTypes = {\n isFetchingDocuments: PropTypes.bool,\n meta: MetaPropType,\n numDocuments: PropTypes.number,\n numErrors: PropTypes.number,\n dispatch: PropTypes.func,\n};\n\nPaginationSection.defaultProps = {\n isFetchingDocuments: false,\n meta: [],\n numDocuments: 0,\n numErrors: 0,\n dispatch: () => {},\n};\n\nexport default connect(mapStateToProps)(PaginationSection);\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { func } from \"prop-types\";\nimport { getDocumentsAsThunk } from \"./actions/thunks\";\n\nimport SearchUpload from \"./SearchUpload\";\nimport Table from \"./Table\";\nimport Pagination from \"./Pagination\";\nimport { MetaPropType } from \"./propTypes\";\n\nconst Documents = ({ dispatch, meta }) => {\n useEffect(() => {\n if (!meta.pagination.current) {\n // Only fetch documents if they haven't been fetched yet\n dispatch(getDocumentsAsThunk());\n }\n }, [meta.pagination.current]);\n\n useEffect(() => {\n if (meta.pagination.current > 0) {\n // Document URLs expire every 600 seconds (from `DocumentDecorator`)\n const expireAtMs = meta.updatedAtMs + 600000;\n\n // Refresh documents to prevent URLs from expiring for when previewing/downloading\n const timeoutMs = Math.max(0, expireAtMs - Date.now());\n const timeoutId = window.setTimeout(\n () => dispatch(getDocumentsAsThunk(meta.pagination.current, true)),\n timeoutMs,\n );\n return () => window.clearTimeout(timeoutId);\n }\n\n return () => {};\n }, [meta.pagination.current, meta.updatedAtMs]);\n\n return (\n
\n

Documents

\n \n \n \n \n );\n};\n\nDocuments.propTypes = {\n dispatch: func,\n meta: MetaPropType,\n};\n\nDocuments.defaultProps = {\n dispatch: () => {},\n meta: {},\n};\n\nconst mapStateToProps = (state) => ({\n meta: state.tdpDocumentsReducer.meta,\n});\n\nexport default connect(mapStateToProps)(Documents);\n","import PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\n\nconst valueAndTypeShape = PropTypes.shape({\n value: nullable(PropTypes.string).isRequired,\n type: PropTypes.oneOf([\"percent\", \"flat\"]),\n});\n\nconst gciDataShape = PropTypes.shape({\n closePrice: PropTypes.shape({\n value: nullable(PropTypes.string).isRequired,\n }).isRequired,\n commission: valueAndTypeShape.isRequired,\n netCommission: nullable(PropTypes.string).isRequired,\n grossCommission: nullable(PropTypes.string).isRequired,\n subtotal: nullable(PropTypes.string).isRequired,\n});\n\nconst lineItemOptionShape = PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n meta: PropTypes.shape({\n type: PropTypes.oneOf([\"expense\", \"income\"]),\n isCustomOption: PropTypes.bool,\n name: PropTypes.string,\n }),\n});\n\nconst basicLineItemShape = PropTypes.shape({\n selectedOption: lineItemOptionShape.isRequired,\n options: PropTypes.arrayOf(lineItemOptionShape).isRequired,\n id: PropTypes.number,\n position: PropTypes.number,\n expenseOrIncome: PropTypes.oneOf([\"expense\", \"income\"]).isRequired,\n notes: nullable(PropTypes.string).isRequired,\n value: PropTypes.string.isRequired,\n valueType: PropTypes.oneOf([\"percent\", \"flat\"]).isRequired,\n calculatedValue: PropTypes.string.isRequired,\n subtotal: nullable(PropTypes.string).isRequired,\n isEditable: PropTypes.bool,\n isRemovable: PropTypes.bool,\n});\n\nconst brokerageSplitAndRoyaltyLineItemShape = PropTypes.shape({\n position: PropTypes.number,\n brokerageSplitItem: basicLineItemShape.isRequired,\n royaltyItem: basicLineItemShape.isRequired,\n});\n\nexport const lineItemShape = PropTypes.oneOfType([basicLineItemShape, brokerageSplitAndRoyaltyLineItemShape]);\n\nexport const transactionShape = PropTypes.shape({\n estimated: gciDataShape.isRequired,\n actual: gciDataShape.isRequired,\n isActualGCI: PropTypes.bool.isRequired,\n hasFinancialData: PropTypes.bool.isRequired,\n notes: PropTypes.string,\n});\n\nexport const teamMemberShape = PropTypes.shape({\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n personId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n name: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n profilePic: PropTypes.string,\n role: PropTypes.string,\n gci: valueAndTypeShape.isRequired,\n unit: PropTypes.number.isRequired,\n notes: nullable(PropTypes.string).isRequired,\n subtotal: nullable(PropTypes.string).isRequired,\n netIncome: nullable(PropTypes.string).isRequired,\n});\n\nexport const companyShape = PropTypes.shape({\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n name: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n profilePic: PropTypes.string,\n role: PropTypes.string,\n gci: valueAndTypeShape.isRequired,\n subtotal: nullable(PropTypes.string).isRequired,\n netIncome: nullable(PropTypes.string).isRequired,\n});\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport {\n ChevronRight,\n ChevronDown,\n Trash as TrashIcon,\n Plus as PlusIcon,\n Edit as EditIcon,\n} from \"../../../../../shared/v2/Icomoon\";\n\nimport Avatar from \"../../../../../shared/v2/Avatar\";\nimport InlineEditingInput from \"../../../../../shared/v2/InlineEditingInput\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { toNumber } from \"../../../../../shared/Utilities\";\nimport { formatNumber } from \"../../../../../shared/v2/inputFormatUtils\";\nimport { teamMemberShape } from \"../../utils\";\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\nimport { STATUS, TYPE } from \"../../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst formatNumberIfFlat = (value, type, commas) => (type === \"flat\" ? formatNumber(value, commas) : value);\n\nconst headerClasses = (isOpen) =>\n `${\n isOpen ? \"tw-bg-tinted-gray-50\" : \"tw-bg-white hover:tw-bg-tinted-gray-50\"\n } tw-relative tw-z-10 tw-group tw-flex tw-flex-row tw-items-center tw-h-58px tw-select-none tw-border tw-border-neutral-gray-10 active:tw-border-gray-30 tw-border-solid tw-rounded-4px tw-px-24px tw-py-9px`;\n\nconst nameClasses = (isOpen) =>\n `tw-mb-0 tw-text-14d ${\n isOpen ? \"tw-text-neutral-gray-75\" : \"tw-text-neutral-gray-50 group-active:tw-text-neutral-gray-75\"\n }`;\n\nconst collapseIconClasses = (isOpen) =>\n isOpen\n ? \"tw-text-theme-tdp-financials-collapse-icon\"\n : \"tw-text-theme-tdp-financials-collapse-icon group-hover:tw-text-theme-tdp-financials-collapse-icon-hover group-active:tw-text-theme-tdp-financials-collapse-icon-active\";\n\nconst Value = ({ children, ...otherProps }) => (\n
\n {children}\n
\n);\n\nValue.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\n/** Formats values like \"-100\" into \"-$100\", \"50.0\" into \"$50.0\" and so on. */\nconst formatFlatValue = (valueStr) => {\n if (!valueStr) {\n return \"$0.00\";\n }\n\n return valueStr[0] === \"-\"\n ? `-$${formatNumber(valueStr.substring(1), true)}`\n : `$${formatNumber(valueStr, true)}`;\n};\n\n/** Added prefix to labels based on status (primarily: sold) */\nconst prefixStatusLabel = (status, type) => (status !== \"sold\" && type !== \"referral\" ? \"Est. \" : \"\");\n\n/**\n * @summary TDP Financials TeamMember component. Responsible to render both an agent or a company row.\n * @param {func} onGciLabelClick - callback to be called when the GCI label is clicked.\n * @param {func} onGciValueClick - callback to be called when the GCI value is clicked.\n * @param {func} onTrashClick - callback to be called when the trash icon is clicked. It works only for agents.\n * @param {func} onUnitClick - callback to be called when the Unit value is clicked.\n * @param {func} onAddExpenses - callback to be called when the add expenses icon is clicked.\n * @param {object} member - member object to be rendered.\n * */\nconst TeamMember = ({\n children,\n onGciLabelClick,\n onGciValueClick,\n onTrashClick,\n onUnitClick,\n onAddExpenses,\n member,\n status,\n transactionType,\n}) => {\n const [isOpen, setOpen] = useState(false);\n const [gciValueType, setGciValueType] = useState(member.gci.type);\n\n useEffect(() => setGciValueType(member.gci.type), [member]);\n // \"Agent GCI\" : \"Team GCI\"\n const agentGciLabel = `${prefixStatusLabel(status, transactionType)}Agent GCI`;\n const teamGciLabel = `${prefixStatusLabel(status, transactionType)}Team GCI`;\n const netIncomeLabel = `${prefixStatusLabel(status, transactionType)}Net Income`;\n\n return (\n
\n {\n if (e.key === \"Enter\") setOpen(!isOpen);\n }}\n onClick={() => setOpen(!isOpen)}\n className={headerClasses(isOpen)}\n data-cy=\"financials-team-member-header\"\n >\n {isOpen ? (\n \n ) : (\n \n )}\n \n
\n {member.role ? (\n <>\n

\n {member.type === \"company\" ? \"Company\" : member.role}\n

\n

{member.name}

\n \n ) : (\n

{member.name}

\n )}\n
\n
\n {member.type === \"company\" && (\n
\n \n {formatFlatValue(member.netIncome)}\n \n
\n )}\n {member.type === \"agent\" && (\n <>\n
\n \n {formatFlatValue(member.netIncome)}\n \n
\n
\n {toNumber(member.gci.value) > 0 ? (\n \n \n \n }\n content={\n status === \"sold\"\n ? \"Please remove the Agent GCI before deleting the Company Seat\"\n : \"Please remove the Estimated Agent GCI before deleting the Company Seat\"\n }\n />\n ) : (\n {\n // Prevents the header from being clicked\n e.stopPropagation();\n onTrashClick(member);\n }}\n data-cy=\"financials-team-member-remove\"\n >\n \n \n )}\n
\n \n )}\n
\n
\n {isOpen && (\n
\n {member.type !== \"collaborator\" && (\n
\n
\n
\n \n {member.type === \"agent\" ? agentGciLabel : teamGciLabel}\n \n onGciLabelClick(member)}\n data-cy=\"financials-team-member-edit-gci\"\n >\n \n \n \n
\n
\n onGciValueClick(member, newValue, gciValueType)}\n onFlatSelected={() => setGciValueType(\"flat\")}\n onPercentSelected={() => setGciValueType(\"percent\")}\n />\n
\n
\n {member.showUnits && (\n
\n \n Units\n \n
\n onUnitClick(member, newValue)}\n />\n
\n
\n )}\n\n
\n
\n Subtotal\n
\n {formatFlatValue(member.subtotal)}\n
\n
\n {member.notes && (\n \n {member.notes}\n

\n )}\n
\n
\n )}\n
\n
Expenses & Income
\n
\n onAddExpenses(member)}\n size=\"small\"\n schema=\"tertiary\"\n data-cy=\"financials-team-member-add-line-item\"\n >\n \n \n
\n
\n
{children}
\n
\n
\n
{netIncomeLabel}
\n \n {formatFlatValue(member.netIncome)}\n
\n \n \n )}\n \n );\n};\n\nTeamMember.propTypes = {\n children: PropTypes.node,\n member: teamMemberShape.isRequired,\n onGciLabelClick: PropTypes.func.isRequired,\n onGciValueClick: PropTypes.func.isRequired,\n onTrashClick: PropTypes.func.isRequired,\n onUnitClick: PropTypes.func.isRequired,\n onAddExpenses: PropTypes.func.isRequired,\n status: PropTypes.string.isRequired,\n transactionType: PropTypes.string.isRequired,\n};\n\nTeamMember.defaultProps = { children: null };\n\nexport default tdpDetails({\n WrappedComponent: TeamMember,\n states: [TYPE, STATUS],\n aliases: [\"transactionType\"],\n});\n","import { schemaGenerator } from \"../utils\";\n\nconst dictionary = {\n regular: {\n default: [\"tw-text-neutral-gray-30\"],\n hover: [\"hover:tw-text-neutral-gray-50\"],\n active: [\"active:tw-text-neutral-gray-75\"],\n },\n // FontAwesome also provides styles that conflicts with the sized based styles\n // Adding `!important` here to be able to override it\n medium: {\n default: [\"!tw-w-[12px]\", \"!tw-h-[12px]\", \"!tw-text-12d\"],\n },\n large: {\n default: [\"!tw-w-[16px]\", \"!tw-h-[16px]\", \"!tw-text-16d\"],\n },\n};\n\nconst schema = schemaGenerator(dictionary);\n\nexport default schema;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n// TODO: replace with v6 icons\nimport { faGripHorizontal, faGripVertical } from \"@fortawesome/free-solid-svg-icons\";\nimport styleSchema from \"./DragHandle.styles\";\n\nconst DragHandle = ({ orientation, size, className, ...otherProps }) => (\n \n);\n\nDragHandle.propTypes = {\n orientation: PropTypes.oneOf([\"horizontal\", \"vertical\"]).isRequired,\n size: PropTypes.oneOf([\"medium\", \"large\"]),\n className: PropTypes.string,\n};\n\nDragHandle.defaultProps = {\n size: \"medium\",\n className: \"\",\n};\n\nexport default DragHandle;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport DragHandle from \"../../../../../shared/v2/DragHandle\";\nimport { option, optionShape } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { Trash, Edit } from \"../../../../../shared/v2/Icomoon\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport InlineEditingInput from \"../../../../../shared/v2/InlineEditingInput\";\nimport InlineEditingSelect from \"../../../../../shared/v2/InlineEditingSelect\";\nimport { formatNumber } from \"../../../../../shared/v2/inputFormatUtils\";\n\nconst formatNumberIfFlat = (value, type, commas) => (type === \"flat\" ? formatNumber(value, commas) : value);\n\nconst ExpenseIncomeLineItem = ({\n expenseOrIncome,\n selectedOption,\n options: optionsFromProps,\n onOptionChange,\n notes,\n value,\n valueType: valueTypeFromProps,\n onValueChange,\n calculatedValue,\n subtotal,\n // TODO: Currently this just shows/hides the edit IconButton - it does not\n // disable any of the other editing (value, expense/income type, etc.).\n // Confirm whether these cases also need to be handled or not.\n isEditable,\n onEditLineItem,\n isRemovable,\n onRemoveLineItem,\n isDraggingOver,\n dragHandleProps,\n}) => {\n const [options, setOptions] = useState(optionsFromProps);\n const [customOption, setCustomOption] = useState(null);\n const [valueType, setValueType] = useState(valueTypeFromProps);\n\n useEffect(() => setOptions(optionsFromProps), [optionsFromProps]);\n useEffect(() => setValueType(valueTypeFromProps), [valueTypeFromProps]);\n\n const handleCustomNameChange = (newValue) => {\n if (newValue) {\n const newOption = {\n ...customOption,\n meta: {\n ...customOption.meta,\n name: newValue,\n },\n };\n setOptions((prevOptions) =>\n prevOptions.map((prevOption) => {\n if (prevOption.value === customOption.value) {\n return newOption;\n }\n\n return prevOption;\n }),\n );\n onOptionChange(newOption);\n } else {\n setCustomOption(null);\n }\n };\n\n const renderLabel = () => {\n if (customOption) {\n // While the custom expense/income is being edited, the label could become an empty string,\n // so we style the add button differently\n const isLabelEmpty = selectedOption.label === \"\";\n\n return (\n setCustomOption(null)}\n onCancelEditing={() => setCustomOption(null)}\n />\n );\n }\n\n if (options?.length) {\n return (\n {\n if (newOption.meta.isCustomOption) {\n setCustomOption(newOption);\n }\n }}\n onChange={(newOption) => {\n if (!newOption.meta.isCustomOption) {\n onOptionChange(newOption);\n }\n }}\n // Manually configuring line-height and negative margins to match the designs\n displayClassName=\"tw-w-fit !tw-text-neutral-gray-50 tw-font-semibold tw-leading-20px tw-mt-[-7px]\"\n editorClassName=\"tw-mt-[-8px]\"\n displayIconAlwaysVisible={false}\n menuShouldComeToFront\n />\n );\n }\n\n return (\n {selectedOption.label}\n );\n };\n\n const isExpense = expenseOrIncome === \"expense\";\n\n return (\n \n \n \n \n \n \n
\n {renderLabel()}\n
\n {notes && (\n \n {notes}\n
\n )}\n
\n onValueChange(newValue, valueType)}\n onFlatSelected={() => setValueType(\"flat\")}\n onPercentSelected={() => setValueType(\"percent\")}\n // Manually configuring line-height and negative margins to match the designs\n displayClassName=\"tw-leading-20px tw-mt-[-7px]\"\n editorClassName=\"tw-mt-[-8px]\"\n />\n
\n \n \n\n \n \n {isEditable && (\n \n \n \n )}\n\n {isRemovable && (\n \n \n \n )}\n \n\n \n \n {isExpense ? \"-\" : \"+\"}(${calculatedValue ? formatNumber(calculatedValue, true) : \"0.00\"})\n \n \n ${subtotal ? formatNumber(subtotal, true) : \"0.00\"}\n \n \n \n \n );\n};\n\nExpenseIncomeLineItem.propTypes = {\n expenseOrIncome: PropTypes.oneOf([\"expense\", \"income\"]).isRequired,\n selectedOption: optionShape.isRequired,\n options: PropTypes.arrayOf(option),\n onOptionChange: PropTypes.func,\n notes: PropTypes.string,\n value: PropTypes.string.isRequired,\n valueType: PropTypes.oneOf([\"flat\", \"percent\"]).isRequired,\n onValueChange: PropTypes.func,\n calculatedValue: PropTypes.string.isRequired,\n subtotal: PropTypes.string.isRequired,\n isEditable: PropTypes.bool,\n onEditLineItem: PropTypes.func,\n isRemovable: PropTypes.bool,\n onRemoveLineItem: PropTypes.func,\n isDraggingOver: PropTypes.bool,\n // Ignoring the validation here since we don't want to rely on internal implementation details\n // from react-beautiful-dnd\n // eslint-disable-next-line react/forbid-prop-types\n dragHandleProps: PropTypes.any,\n};\n\nExpenseIncomeLineItem.defaultProps = {\n options: [],\n onOptionChange: null,\n notes: \"\",\n onValueChange: () => {},\n isEditable: true,\n onEditLineItem: null,\n isRemovable: true,\n onRemoveLineItem: null,\n isDraggingOver: false,\n dragHandleProps: undefined,\n};\n\nexport default ExpenseIncomeLineItem;\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { uniqueId } from \"lodash\";\nimport { Draggable } from \"react-beautiful-dnd\";\nimport ExpenseIncomeLineItem from \"./ExpenseIncomeLineItem\";\nimport { lineItemShape } from \"../../utils\";\n\nconst DraggableExpenseIncomeLineItem = ({ id, index, children }) => (\n \n {(provided, snapshot) => (\n \n {children(provided, snapshot)}\n \n )}\n \n);\n\nDraggableExpenseIncomeLineItem.propTypes = {\n id: PropTypes.string.isRequired,\n index: PropTypes.number.isRequired,\n children: PropTypes.func.isRequired,\n};\n\nconst DraggableBrokerageSplitAndRoyaltyLineItems = ({\n index,\n brokerageSplitLineItem,\n royaltyLineItem,\n isDraggingOver,\n onBrokerageSplitValueChange,\n onEditBrokerageSplitLineItem,\n onRoyaltyValueChange,\n onEditRoyaltyLineItem,\n}) => (\n \n {(provided) => (\n <>\n onBrokerageSplitValueChange(brokerageSplitLineItem, ...args)}\n onEditLineItem={(...args) => onEditBrokerageSplitLineItem(brokerageSplitLineItem, ...args)}\n />\n onRoyaltyValueChange(royaltyLineItem, ...args)}\n onEditLineItem={(...args) => onEditRoyaltyLineItem(royaltyLineItem, ...args)}\n />\n \n )}\n \n);\n\nDraggableBrokerageSplitAndRoyaltyLineItems.propTypes = {\n index: PropTypes.number.isRequired,\n brokerageSplitLineItem: lineItemShape.isRequired,\n royaltyLineItem: lineItemShape.isRequired,\n isDraggingOver: PropTypes.bool.isRequired,\n onBrokerageSplitValueChange: PropTypes.func,\n onEditBrokerageSplitLineItem: PropTypes.func,\n onRoyaltyValueChange: PropTypes.func,\n onEditRoyaltyLineItem: PropTypes.func,\n};\n\nDraggableBrokerageSplitAndRoyaltyLineItems.defaultProps = {\n onBrokerageSplitValueChange: () => {},\n onEditBrokerageSplitLineItem: () => {},\n onRoyaltyValueChange: () => {},\n onEditRoyaltyLineItem: () => {},\n};\n\nconst lineItemIdForDnD = (lineItem) => {\n if (!lineItem.id) {\n return uniqueId(`${lineItem.expenseOrIncome}-line-item-`);\n }\n\n // Prefix with its type to avoid clashing IDs between expenses and incomes\n return `${lineItem.expenseOrIncome}-line-item-${lineItem.id}`;\n};\n\nconst DraggableExpenseIncomeLineItems = ({\n lineItems,\n isDraggingOver,\n onOptionChange,\n onValueChange,\n onEditLineItem,\n onRemoveLineItem,\n onBrokerageSplitValueChange,\n onEditBrokerageSplitLineItem,\n onRoyaltyValueChange,\n onEditRoyaltyLineItem,\n}) =>\n lineItems.map((lineItem) =>\n lineItem.brokerageSplitItem && lineItem.royaltyItem ? (\n \n ) : (\n \n {(provided) => (\n onOptionChange(lineItem, ...args)}\n onValueChange={(...args) => onValueChange(lineItem, ...args)}\n onEditLineItem={(...args) => onEditLineItem(lineItem, ...args)}\n onRemoveLineItem={(...args) => onRemoveLineItem(lineItem, ...args)}\n />\n )}\n \n ),\n );\n\nDraggableExpenseIncomeLineItems.propTypes = {\n lineItems: PropTypes.arrayOf(lineItemShape).isRequired,\n isDraggingOver: PropTypes.bool.isRequired,\n onOptionChange: PropTypes.func,\n onValueChange: PropTypes.func,\n onEditLineItem: PropTypes.func,\n onRemoveLineItem: PropTypes.func,\n onBrokerageSplitValueChange: PropTypes.func,\n onEditBrokerageSplitLineItem: PropTypes.func,\n onRoyaltyValueChange: PropTypes.func,\n onEditRoyaltyLineItem: PropTypes.func,\n};\n\nDraggableExpenseIncomeLineItems.defaultProps = {\n onOptionChange: () => {},\n onValueChange: () => {},\n onEditLineItem: () => {},\n onRemoveLineItem: () => {},\n onBrokerageSplitValueChange: () => {},\n onEditBrokerageSplitLineItem: () => {},\n onRoyaltyValueChange: () => {},\n onEditRoyaltyLineItem: () => {},\n};\n\nexport default DraggableExpenseIncomeLineItems;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DragDropContext, Droppable } from \"react-beautiful-dnd\";\n\nimport DraggableExpenseIncomeLineItems from \"../ExpenseIncomeLineItem/DraggableExpenseIncomeLineItems\";\nimport { teamMemberShape } from \"../../utils\";\n\nimport TeamMember from \"./TeamMember\";\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\n\nconst TeamMembersWithLineItems = ({\n members,\n onGciLabelClick,\n onGciValueChange,\n onUnitsChange,\n onRemoveTeamMember,\n onAddLineItem,\n onLineItemDragEnd,\n onLineItemOptionChange,\n onLineItemValueChange,\n onEditLineItem,\n onRemoveLineItem,\n onBrokerageSplitValueChange,\n onEditBrokerageSplitLineItem,\n onRoyaltyValueChange,\n onEditRoyaltyLineItem,\n}) =>\n members.map((member) => (\n \n onLineItemDragEnd(member, ...args)}>\n \n {(provided, snapshot) => (\n
\n onLineItemOptionChange(member, ...args)}\n onValueChange={(...args) => onLineItemValueChange(member, ...args)}\n onEditLineItem={(...args) => onEditLineItem(member, ...args)}\n onRemoveLineItem={(...args) => onRemoveLineItem(member, ...args)}\n onBrokerageSplitValueChange={(...args) => onBrokerageSplitValueChange(member, ...args)}\n onEditBrokerageSplitLineItem={(...args) => onEditBrokerageSplitLineItem(member, ...args)}\n onRoyaltyValueChange={(...args) => onRoyaltyValueChange(member, ...args)}\n onEditRoyaltyLineItem={(...args) => onEditRoyaltyLineItem(member, ...args)}\n />\n\n {provided.placeholder}\n
\n )}\n
\n
\n \n ));\n\nTeamMembersWithLineItems.propTypes = {\n members: PropTypes.arrayOf(teamMemberShape).isRequired,\n onGciLabelClick: PropTypes.func,\n onGciValueChange: PropTypes.func,\n onUnitsChange: PropTypes.func,\n onRemoveTeamMember: PropTypes.func,\n onAddLineItem: PropTypes.func,\n onLineItemDragEnd: PropTypes.func,\n onLineItemOptionChange: PropTypes.func,\n onLineItemValueChange: PropTypes.func,\n onEditLineItem: PropTypes.func,\n onRemoveLineItem: PropTypes.func,\n onBrokerageSplitValueChange: PropTypes.func,\n onEditBrokerageSplitLineItem: PropTypes.func,\n onRoyaltyValueChange: PropTypes.func,\n onEditRoyaltyLineItem: PropTypes.func,\n};\n\nTeamMembersWithLineItems.defaultProps = {\n onGciLabelClick: () => {},\n onGciValueChange: () => {},\n onUnitsChange: () => {},\n onRemoveTeamMember: () => {},\n onAddLineItem: () => {},\n onLineItemDragEnd: () => {},\n onLineItemOptionChange: () => {},\n onLineItemValueChange: () => {},\n onEditLineItem: () => {},\n onRemoveLineItem: () => {},\n onBrokerageSplitValueChange: () => {},\n onEditBrokerageSplitLineItem: () => {},\n onRoyaltyValueChange: () => {},\n onEditRoyaltyLineItem: () => {},\n};\n\n// export default TeamMembersWithLineItems;\nexport default tdpDetails({\n WrappedComponent: TeamMembersWithLineItems,\n});\n","import React from \"react\";\n\nimport Dropdown from \"../../../../../shared/v2/Dropdown\";\nimport { customDefaultProps, customPropTypes } from \"../../../../../shared/v2/Dropdown/utils\";\n\nconst MemberMultiValue = ({ componentProps, children }) => (\n
\n \n {children}\n \n
\n);\n\nMemberMultiValue.propTypes = customPropTypes;\n\nMemberMultiValue.defaultProps = customDefaultProps;\n\nexport default MemberMultiValue;\n","import React from \"react\";\n\nimport Dropdown, { getAvatarFromDropdownData } from \"../../../../../shared/v2/Dropdown\";\nimport { customDefaultProps, customPropTypes } from \"../../../../../shared/v2/Dropdown/utils\";\n\nconst MemberMultiValueLabel = ({ componentProps, data, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n
\n {getAvatarFromDropdownData(componentProps, data)}\n {children}\n
\n
\n);\n\nMemberMultiValueLabel.propTypes = customPropTypes;\n\nMemberMultiValueLabel.defaultProps = customDefaultProps;\n\nexport default MemberMultiValueLabel;\n","import React from \"react\";\n\nimport Dropdown from \"../../../../../shared/v2/Dropdown\";\nimport { customDefaultProps, customPropTypes } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { Trash } from \"../../../../../shared/v2/Icomoon\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\n\nconst MemberMultiValueRemove = ({ componentProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n \n \n \n \n);\n\nMemberMultiValueRemove.propTypes = customPropTypes;\n\nMemberMultiValueRemove.defaultProps = customDefaultProps;\n\nexport default MemberMultiValueRemove;\n","import React from \"react\";\n\nimport Dropdown, { getAvatarFromDropdownData } from \"../../../../../shared/v2/Dropdown\";\nimport { customDefaultProps, customPropTypes } from \"../../../../../shared/v2/Dropdown/utils\";\n\nconst MemberOption = ({ componentProps, data, children }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n
\n {getAvatarFromDropdownData(componentProps, data)}\n {children}\n
\n
\n);\n\nMemberOption.propTypes = customPropTypes;\n\nMemberOption.defaultProps = customDefaultProps;\n\nexport default MemberOption;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Dropdown from \"../../../../../shared/v2/Dropdown\";\nimport { optionShape } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { errorShapeForErrorBanner } from \"../../../../../shared/v2/ErrorBanner\";\nimport { FloatingForm } from \"../../../../../shared/v2/Modal\";\n\nimport MemberMultiValue from \"./MemberMultiValue\";\nimport MemberMultiValueLabel from \"./MemberMultiValueLabel\";\nimport MemberMultiValueRemove from \"./MemberMultiValueRemove\";\nimport MemberOption from \"./MemberOption\";\n\nconst AddTeamMemberModal = ({ show, isAdding, errors, members, onAdd, onCancel }) => {\n const [placeholder, setPlaceholder] = useState(\"Select team member\");\n const [selectedMembers, setSelectedMembers] = useState([]);\n\n const handleAdd = () => {\n onAdd(selectedMembers);\n };\n\n const handleCancel = () => {\n onCancel();\n };\n\n const handleChange = (newSelectedMembers) => {\n setSelectedMembers(newSelectedMembers);\n };\n\n const handleMenuOpen = () => {\n setPlaceholder(\"Search team member name\");\n };\n\n const handleMenuClose = () => {\n setPlaceholder(\"Select team member\");\n };\n\n useEffect(() => {\n setSelectedMembers([]);\n }, [show]);\n\n return (\n \n \n \n );\n};\n\nAddTeamMemberModal.propTypes = {\n show: PropTypes.bool,\n isAdding: PropTypes.bool,\n errors: PropTypes.arrayOf(errorShapeForErrorBanner),\n members: PropTypes.arrayOf(optionShape).isRequired,\n onAdd: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n};\n\nAddTeamMemberModal.defaultProps = {\n show: true,\n isAdding: false,\n errors: [],\n};\n\nexport default AddTeamMemberModal;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Dropdown from \"../../../../../shared/v2/Dropdown\";\nimport { customDefaultProps, customPropTypes, optionShape } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { errorShapeForErrorBanner } from \"../../../../../shared/v2/ErrorBanner\";\nimport FlatPercentInput from \"../../../../../shared/v2/FlatPercentInput\";\nimport FlatPercentToggle from \"../../../../../shared/v2/FlatPercentToggle\";\nimport { FloatingForm } from \"../../../../../shared/v2/Modal\";\nimport TextInput from \"../../../../../shared/v2/TextInput\";\n\nconst CustomNameSingleValue = ({ componentProps, data }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {data?.meta?.name || data?.label}\n \n);\n\nCustomNameSingleValue.propTypes = customPropTypes;\n\nCustomNameSingleValue.defaultProps = customDefaultProps;\n\nconst AddEditExpenseIncomeModal = ({\n show,\n isEditing,\n isSaving,\n isDeleting,\n errors,\n nameList,\n name,\n value,\n expenseOrincome,\n isPercentage,\n notes,\n onSave,\n onDelete,\n onCancel,\n}) => {\n const [currentNameList, setCurrentNameList] = useState(nameList);\n const [currentName, setCurrentName] = useState(name);\n\n const [currentValue, setCurrentValue] = useState(value);\n const [isCurrentlyPercentage, setIsCurrentlyPercentage] = useState(isPercentage);\n const [currentNotes, setCurrentNotes] = useState(notes);\n\n const [showCustomNameField, setShowCustomNameField] = useState(false);\n\n const shouldDisableSaveButton = useMemo(\n () => !currentName || Number(currentValue) === 0,\n [currentName, currentValue],\n );\n\n const resetNameIfInvalid = () => {\n if (currentName.meta.isCustomOption && !currentName.meta.name) {\n // Design wants invalid custom options to be the same as no option\n setCurrentName(null);\n }\n };\n\n const handleSave = () => {\n onSave({\n name: currentName,\n value: currentValue,\n isPercentage: isCurrentlyPercentage,\n notes: currentNotes,\n });\n };\n\n const handleDelete = () => {\n onDelete();\n };\n\n const handleCancel = () => {\n onCancel();\n };\n\n const customNameRef = (node) => {\n node?.focus();\n };\n\n const handleCustomNameChange = (e) => {\n const newValue = e.target.value;\n\n const newCurrentName = {\n ...currentName,\n meta: {\n ...currentName.meta,\n name: newValue,\n },\n };\n\n setCurrentNameList((prevNameList) =>\n prevNameList.map((prevName) => {\n if (prevName.value === currentName.value) {\n return newCurrentName;\n }\n\n return prevName;\n }),\n );\n\n setCurrentName(newCurrentName);\n };\n\n const handleCustomNameBlur = () => {\n setShowCustomNameField(false);\n resetNameIfInvalid();\n };\n\n const handleNameChange = (newName) => {\n setCurrentName(newName);\n if (newName.meta.isCustomOption) {\n setShowCustomNameField(true);\n }\n };\n\n const handleValueChange = (_, newValue) => {\n setCurrentValue(newValue);\n };\n\n const handleIsPercentageChange = (_, newIsPercentage) => {\n setIsCurrentlyPercentage(newIsPercentage);\n };\n\n const handleNotesChange = (e) => {\n setCurrentNotes(e.target.value);\n };\n\n const iff = (condition, then, otherwise) => (condition ? then : otherwise);\n\n const getTitle = () =>\n `${isEditing ? \"Edit\" : \"Add\"} ${iff(\n expenseOrincome === \"expenses\",\n \"Expense\",\n iff(expenseOrincome === \"income\", \"Income\", \"Expense/Income\"),\n )}`;\n\n const getPlaceholder = () =>\n `Select an ${iff(\n expenseOrincome === \"expenses\",\n \"expense\",\n iff(expenseOrincome === \"income\", \"income\", \"expense/income\"),\n )}`;\n\n useEffect(() => setCurrentNameList(nameList), [nameList]);\n useEffect(() => setCurrentName(name), [name]);\n useEffect(() => setCurrentValue(value), [value]);\n useEffect(() => setIsCurrentlyPercentage(isPercentage), [isPercentage]);\n useEffect(() => setCurrentNotes(notes), [notes]);\n\n return (\n \n
\n
\n {showCustomNameField && currentName ? (\n
\n \n
\n ) : (\n \n )}\n\n
\n \n\n \n
\n
\n\n \n
\n \n );\n};\n\nAddEditExpenseIncomeModal.propTypes = {\n show: PropTypes.bool,\n isEditing: PropTypes.bool,\n isSaving: PropTypes.bool,\n isDeleting: PropTypes.bool,\n errors: PropTypes.arrayOf(errorShapeForErrorBanner),\n nameList: PropTypes.arrayOf(optionShape).isRequired,\n name: optionShape,\n value: PropTypes.string,\n isPercentage: PropTypes.bool,\n notes: PropTypes.string,\n onSave: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n expenseOrincome: PropTypes.string,\n};\n\nAddEditExpenseIncomeModal.defaultProps = {\n show: true,\n isEditing: false,\n isSaving: false,\n isDeleting: false,\n errors: [],\n name: null,\n value: \"0\",\n isPercentage: false,\n notes: \"\",\n expenseOrincome: \"\",\n};\n\nexport default AddEditExpenseIncomeModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Prompt from \"../../../../../shared/v2/Modal/Prompt\";\n\nconst DeleteExpenseIncomeModal = ({ show, isDeleting, onConfirm, onCancel }) => {\n const description = (\n
\n

Deleting an expense or income cannot be undone.

\n

Are you sure you wish to proceed?

\n
\n );\n\n const handleConfirm = () => {\n onConfirm();\n };\n\n const handleCancel = () => {\n onCancel();\n };\n\n return (\n \n );\n};\n\nDeleteExpenseIncomeModal.propTypes = {\n show: PropTypes.bool,\n isDeleting: PropTypes.bool,\n onConfirm: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n};\n\nDeleteExpenseIncomeModal.defaultProps = {\n show: false,\n isDeleting: false,\n};\n\nexport default DeleteExpenseIncomeModal;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { errorShapeForErrorBanner } from \"../../../../../shared/v2/ErrorBanner\";\nimport FlatPercentInput from \"../../../../../shared/v2/FlatPercentInput\";\nimport FlatPercentToggle from \"../../../../../shared/v2/FlatPercentToggle\";\nimport { FloatingForm } from \"../../../../../shared/v2/Modal\";\nimport TextComboInput from \"../../../../../shared/v2/TextComboInput\";\nimport TextInput from \"../../../../../shared/v2/TextInput\";\n\nconst EditAmountModal = ({\n errors,\n isSaving,\n allowPercentage,\n isPercentage,\n notes,\n onCancel,\n onSave,\n show,\n title,\n value,\n}) => {\n // This modal is used in many places with different titles (e.g.: edit agent\n // GCI, edit team GCI, edit brokerage split and so on). Since all of them\n // behave in exactly the same while editing, I opted to keep the state\n // handling logic in here as to not duplicate it for each individual modal\n // instance.\n //\n // That being the case, we need to have some component state but also remember\n // to keep it in sync with the props that are passed in, hence the side-effects\n // defined below.\n const [isCurrentlyPercentage, setIsCurrentlyPercentage] = useState(isPercentage);\n const [currentValue, setCurrentValue] = useState(value);\n const [currentNotes, setCurrentNotes] = useState(notes);\n\n useEffect(() => setIsCurrentlyPercentage(isPercentage), [isPercentage]);\n useEffect(() => setCurrentValue(value), [value]);\n useEffect(() => setCurrentNotes(notes), [notes]);\n\n return (\n \n onSave({\n // As specified in the Figma: \"Notes can be removed by clearing the\n // Notes field of text\".\n notes: currentNotes === \"\" ? null : currentNotes,\n value: currentValue,\n isPercentage: isCurrentlyPercentage,\n })\n }\n show={show}\n onCancel={onCancel}\n closeOnClickOutside\n closeOnEscape\n >\n
\n {allowPercentage ? (\n <>\n
\n setCurrentValue(evt.target.value)}\n />\n
\n setIsCurrentlyPercentage(newIsPercentage)}\n />\n \n ) : (\n
\n setCurrentValue(evt.target.value)}\n />\n
\n )}\n
\n\n setCurrentNotes(evt.target.value)} />\n \n );\n};\n\nEditAmountModal.propTypes = {\n errors: PropTypes.arrayOf(errorShapeForErrorBanner),\n isSaving: PropTypes.bool.isRequired,\n allowPercentage: PropTypes.bool,\n isPercentage: PropTypes.bool,\n notes: PropTypes.string,\n onCancel: PropTypes.func.isRequired,\n onSave: PropTypes.func.isRequired,\n show: PropTypes.bool.isRequired,\n title: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n};\n\nEditAmountModal.defaultProps = {\n errors: [],\n allowPercentage: true,\n isPercentage: false,\n notes: null,\n};\n\nexport default EditAmountModal;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\nimport { connect } from \"react-redux\";\nimport { uniqueId } from \"lodash\";\n\nimport { optionShape } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { errorForBanner } from \"../../../../../shared/v2/ErrorBanner\";\nimport { financialsUpdateCanceled } from \"../../actions/creators\";\nimport { removeTeamMember, updateFinancials } from \"../../actions/thunks\";\nimport FINANCIALS_UPDATE_TYPE from \"../../api/actionNames\";\n\nimport AddEditExpenseIncomeModal from \"../AddEditExpenseIncomeModal\";\nimport DeleteExpenseIncomeModal from \"../DeleteExpenseIncomeModal\";\nimport EditAmountModal from \"../EditAmountModal/EditAmountModal\";\nimport TeamMembersWithLineItems from \"../TeamMember/TeamMembersWithLineItems\";\n\nconst TeamMemberSection = ({ financials, listingTeamMembers, dispatch }) => {\n const [editingGci, setEditingGci] = useState(null);\n const [addingLineItem, setAddingLineItem] = useState(null);\n const [editingLineItem, setEditingLineItem] = useState(null);\n const [removingLineItem, setRemovingLineItem] = useState(null);\n const [editingBrokerageSplitLineItem, setEditingBrokerageSplitLineItem] = useState(null);\n const [editingRoyaltyLineItem, setEditingRoyaltyLineItem] = useState(null);\n\n const {\n adaptedData,\n lineItemTypeOptions,\n meta: { isUpdating, modalErrors: metaModalErrors },\n } = financials;\n const teamMembers = useMemo(() => {\n if (!adaptedData.teamMembers || adaptedData.teamMembers.length === 0) {\n return [];\n }\n\n if (listingTeamMembers.length === 0) {\n return adaptedData.teamMembers;\n }\n\n return adaptedData.teamMembers.map((teamMember) => {\n const teamMemberWithId = {\n ...teamMember,\n id: teamMember.id || uniqueId(\"tdp-financials-team-member-id-\"),\n personId: teamMember.personId || uniqueId(\"tdp-financials-team-member-person-id-\"),\n };\n\n // Fetch role from `listingTeamMembers`\n const listingTeamMember = listingTeamMembers.find(\n (member) => member.person?.id === teamMember.personId,\n );\n\n if (!listingTeamMember) {\n return teamMemberWithId;\n }\n\n return {\n ...teamMemberWithId,\n role: listingTeamMember.role?.title,\n };\n });\n }, [adaptedData.teamMembers, listingTeamMembers]);\n\n const modalErrors = useMemo(() => metaModalErrors.map((error) => errorForBanner(error)), [metaModalErrors]);\n\n const handleGciLabelClick = (member) => {\n setEditingGci({ member });\n };\n\n const handleAddLineItem = (member) => {\n setAddingLineItem({ member });\n };\n\n const handleEditLineItem = (member, lineItem) => {\n setEditingLineItem({ member, lineItem });\n };\n\n const handleRemoveLineItem = (member, lineItem) => {\n setRemovingLineItem({ member, lineItem });\n };\n\n const handleEditBrokerageSplitLineItem = (member, lineItem) => {\n setEditingBrokerageSplitLineItem({ member, lineItem });\n };\n\n const handleEditRoyaltyLineItem = (member, lineItem) => {\n setEditingRoyaltyLineItem({ member, lineItem });\n };\n\n const handleGciValueChange = (member, newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_GCI_VALUE, {\n memberId: member.id,\n gci: newValue,\n gciType: newValueType,\n }),\n );\n };\n\n const handleUnitsChange = (member, newUnits) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_UNITS, {\n memberId: member.id,\n units: newUnits,\n }),\n );\n };\n\n const handleRemoveTeamMember = (member) => {\n dispatch(removeTeamMember(member.id, false));\n };\n\n const handleLineItemDragEnd = (member, { source, destination }) => {\n if (!destination) {\n return;\n }\n\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_POSITION, {\n memberId: member.id,\n from: source.index,\n to: destination.index,\n }),\n );\n };\n\n const handleLineItemOptionChange = (member, lineItem, newOption) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_TYPE, {\n memberId: member.id,\n id: lineItem.id,\n selectedOption: newOption,\n }),\n );\n };\n\n const handleLineItemValueChange = (member, lineItem, newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_VALUE, {\n memberId: member.id,\n id: lineItem.id,\n value: newValue,\n valueType: newValueType,\n }),\n );\n };\n\n const handleBrokerageSplitValueChange = (member, lineItem, newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT_VALUE, {\n memberId: member.id,\n value: newValue,\n valueType: newValueType,\n }),\n );\n };\n\n const handleRoyaltyValueChange = (member, lineItem, newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_ROYALTY_VALUE, {\n memberId: member.id,\n value: newValue,\n valueType: newValueType,\n }),\n );\n };\n\n const handleSaveGci = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_GCI, {\n memberId: editingGci.member.id,\n gci: data.value,\n gciType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveNewLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.ADD_TEAM_MEMBER_LINE_ITEM, {\n memberId: addingLineItem.member.id,\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveEditedLineItem = (data) => {\n if (data.name.meta.type !== editingLineItem.lineItem.expenseOrIncome) {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM_ACC, {\n memberId: editingLineItem.member.id,\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n editingLineItem,\n }),\n );\n\n return;\n }\n\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_LINE_ITEM, {\n memberId: editingLineItem.member.id,\n id: editingLineItem.lineItem.id,\n type: data.name.meta.type,\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveRemovedLineItem = () => {\n const lineItem = removingLineItem || editingLineItem;\n\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.REMOVE_TEAM_MEMBER_LINE_ITEM, {\n memberId: lineItem.member.id,\n id: lineItem.lineItem.id,\n isInModal: true,\n type: lineItem.lineItem.expenseOrIncome,\n }),\n );\n };\n\n const handleSaveEditedBrokerageSplitLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT, {\n memberId: editingBrokerageSplitLineItem.member.id,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveEditedRoyaltyLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TEAM_MEMBER_ROYALTY, {\n memberId: editingRoyaltyLineItem.member.id,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleCancelSaveGci = () => {\n setEditingGci(null);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveNewLineItem = () => {\n setAddingLineItem(false);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveEditedLineItem = () => {\n setEditingLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveRemovedLineItem = () => {\n setRemovingLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveEditedBrokerageSplitLineItem = () => {\n setEditingBrokerageSplitLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveEditedRoyaltyLineItem = () => {\n setEditingRoyaltyLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n useEffect(() => {\n if (!isUpdating && modalErrors.length === 0) {\n setEditingGci(null);\n setAddingLineItem(null);\n setEditingLineItem(null);\n setRemovingLineItem(null);\n setEditingBrokerageSplitLineItem(null);\n setEditingRoyaltyLineItem(null);\n }\n }, [isUpdating, modalErrors]);\n\n return (\n <>\n \n\n {editingGci && (\n \n )}\n\n {addingLineItem && (\n {}}\n onCancel={handleCancelSaveNewLineItem}\n />\n )}\n\n {editingLineItem && (\n \n )}\n\n {removingLineItem && (\n \n )}\n\n {editingBrokerageSplitLineItem && (\n \n )}\n\n {editingRoyaltyLineItem && (\n \n )}\n \n );\n};\n\nTeamMemberSection.propTypes = {\n financials: PropTypes.shape({\n // Schema validation for the inner fields will be handled by the inner\n // components, so we mark them as \"any\" here.\n adaptedData: PropTypes.shape({\n // eslint-disable-next-line react/forbid-prop-types\n teamMembers: nullable(PropTypes.any).isRequired,\n }).isRequired,\n\n lineItemTypeOptions: PropTypes.shape({\n transactionIncome: PropTypes.arrayOf(optionShape),\n transactionExpense: PropTypes.arrayOf(optionShape),\n agent: PropTypes.arrayOf(optionShape),\n }),\n\n meta: PropTypes.shape({\n isUpdating: PropTypes.bool.isRequired,\n modalErrors: PropTypes.arrayOf(PropTypes.string),\n }),\n }).isRequired,\n // Allow forbid prop types since this is implemented by another TDP section\n // eslint-disable-next-line react/forbid-prop-types\n listingTeamMembers: PropTypes.arrayOf(PropTypes.any).isRequired,\n\n dispatch: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = ({ tdpFinancialsReducer, tdpPeopleReducer }) => ({\n financials: { ...tdpFinancialsReducer.financials },\n listingTeamMembers: tdpPeopleReducer.people.team_members ?? [],\n});\n\nexport default connect(mapStateToProps)(TeamMemberSection);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DragDropContext, Droppable } from \"react-beautiful-dnd\";\nimport DraggableExpenseIncomeLineItems from \"../ExpenseIncomeLineItem/DraggableExpenseIncomeLineItems\";\nimport { transactionShape } from \"../../utils\";\n\n/** differentiate expenses or incomes draggable line items. */\nconst ExpensesIncomeLineItems = ({\n transaction,\n onLineItemDragEnd,\n onLineItemOptionChange,\n onLineItemValueChange,\n onEditLineItem,\n onRemoveLineItem,\n isExpensesLine,\n}) => {\n const financialItems = () => {\n if (transaction && transaction.lineItems) {\n return transaction.lineItems.filter(\n (item) => item.expenseOrIncome === (isExpensesLine ? \"expense\" : \"income\"),\n );\n }\n return [];\n };\n return (\n \n \n {(provided, snapshot) => (\n
\n \n\n {provided.placeholder}\n
\n )}\n
\n
\n );\n};\n\nExpensesIncomeLineItems.propTypes = {\n transaction: transactionShape.isRequired,\n onLineItemDragEnd: PropTypes.func,\n onLineItemOptionChange: PropTypes.func,\n onLineItemValueChange: PropTypes.func,\n onEditLineItem: PropTypes.func,\n onRemoveLineItem: PropTypes.func,\n isExpensesLine: PropTypes.bool,\n};\n\nExpensesIncomeLineItems.defaultProps = {\n onLineItemDragEnd: () => {},\n onLineItemOptionChange: () => {},\n onLineItemValueChange: () => {},\n onEditLineItem: () => {},\n onRemoveLineItem: () => {},\n isExpensesLine: false,\n};\n\nexport default ExpensesIncomeLineItems;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\nimport { STATUS, TYPE } from \"../../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isReferral as isReferralHelper } from \"../../../../shared/helpers\";\n\nimport { Plus as PlusIcon, Edit as EditIcon } from \"../../../../../shared/v2/Icomoon\";\nimport Toggle from \"../../../../../shared/v2/Toggle\";\nimport InlineEditingInput from \"../../../../../shared/v2/InlineEditingInput\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { formatNumber } from \"../../../../../shared/v2/inputFormatUtils\";\nimport Tooltip from \"../../../../../shared/v2/Tooltip\";\nimport { transactionShape } from \"../../utils\";\nimport ExpensesIncomeLineItems from \"./ExpensesIncomeLineItems\";\n\nconst transactionNames = () => ({\n default: \"Transaction Income\",\n referral: \"Referral Income\",\n});\n\nconst commissionNames = (actual) => ({\n default: actual ? \"Commission\" : \"Est. Commission\",\n referral: \"Referral Commission\",\n});\n\nconst transactionName = (type, actual) => transactionNames(actual)[type] || transactionNames(actual).default;\n\nconst commissionName = (type, actual) => commissionNames(actual)[type] || commissionNames(actual).default;\n\nconst formatNumberIfFlat = (value, type, commas) => (type === \"flat\" ? formatNumber(value, commas) : value);\n\n/**\n * @summary TDP Financials Transaction GCI component.\n * @param {func} onEstCommissionLabelClick - callback to be called when the est commission label is clicked.\n * @param {func} onCommissionLabelClick - callback to be called when the commission label is clicked.\n * @param {func} onCommissionValueChange - callback to be called when the commission value is changed.\n * @param {func} onClosedPriceChange - callback to be called when the closed price value is changed.\n * @param {func} onAddExpenses - callback to be called when the add expenses icon is clicked.\n * @param {func} onAddIncome - callback to be called when the add income icon is clicked.\n * @param {object} transaction - transaction object.\n * */\n\nexport const TransactionGci = ({\n onEstCommissionLabelClick,\n onCommissionLabelClick,\n onCommissionValueChange,\n onClosedPriceChange,\n onAddExpenses,\n onAddIncome,\n transaction,\n isReferral,\n status,\n transactionType,\n onLineItemDragEnd,\n onEditExpenseLineItem,\n onEditIncomeLineItem,\n onRemoveLineItem,\n onLineItemOptionChange,\n onLineItemValueChange,\n}) => {\n const [commissionValueType, setCommissionValueType] = useState(transaction.actual.commission.type);\n\n const editableCommission = transaction.hasFinancialData;\n\n // TODO Product Requirement: isEstimated is true by default. Confirm if the user can toggle\n\n const internalIsActualGCI = status === \"sold\" || isReferral;\n\n useEffect(() => {\n setCommissionValueType(transaction.actual.commission.type);\n }, [transaction]);\n\n // TODO #2, kinda related to the above: should we be showing expenses and\n // incomes if we're looking at the estimated values?\n\n // Subtotal and Net Commission might not be filled in yet, so we fall back to\n // a placeholder in those cases.\n const subtotalValue = transaction.actual.subtotal;\n const subtotalString = subtotalValue ? `$${formatNumber(subtotalValue, true)}` : \"—\";\n const subtotalTextColor = subtotalValue ? \"tw-text-neutral-gray-75\" : \"tw-text-neutral-gray-30\";\n\n const netCommissionValue = transaction.actual.netCommission;\n const netCommissionString = netCommissionValue ? `$${formatNumber(netCommissionValue, true)}` : \"—\";\n const netCommissionTextColor = netCommissionValue ? \"tw-text-neutral-gray-75\" : \"tw-text-neutral-gray-30\";\n\n const grossCommissionValue = transaction.actual.grossCommission;\n const grossCommissionString = grossCommissionValue ? `$${formatNumber(grossCommissionValue, true)}` : \"—\";\n const grossCommissionTextColor = grossCommissionValue\n ? \"tw-text-neutral-gray-75\"\n : \"tw-text-neutral-gray-30\";\n\n let CommissionInput;\n if (isReferral) {\n CommissionInput = InlineEditingInput.Flat;\n } else {\n CommissionInput = transaction.showClosePrice ? InlineEditingInput.FlatPercent : InlineEditingInput.Flat;\n }\n\n const additionalCommissionInputProps = transaction.showClosePrice\n ? {\n flatOrPercent: commissionValueType,\n onFlatSelected: () => setCommissionValueType(\"flat\"),\n onPercentSelected: () => setCommissionValueType(\"percent\"),\n }\n : {};\n\n return (\n
\n
\n

\n {transactionName(transactionType, internalIsActualGCI)}\n

\n {false && (\n // Hide away for now, as the estimated not a part of the TDP's MVP.\n
\n \n Estimated\n \n \n \n Actual\n \n
\n )}\n
\n
\n
\n {transaction.showClosePrice && !isReferralHelper(transactionType) && (\n \n
\n {internalIsActualGCI ? \"Close Price\" : \"Est. Close Price\"}\n
\n \n \n
\n
\n )}\n
\n \n {commissionName(transactionType, internalIsActualGCI)}\n\n {editableCommission && (\n \n \n internalIsActualGCI ? onCommissionLabelClick() : onEstCommissionLabelClick()\n }\n data-cy=\"financials-transaction-edit-commission\"\n >\n \n \n \n )}\n
\n
\n {editableCommission ? (\n onCommissionValueChange(newValue, commissionValueType)}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...additionalCommissionInputProps}\n />\n ) : (\n \n }\n content={`\n Missing \"${internalIsActualGCI ? \"Close Price\" : \"Est. Close Price\"}\" to allow editing ${\n internalIsActualGCI ? \"Commission\" : \"Est. Commission\"\n }.\n `}\n />\n )}\n
\n
\n\n
\n
\n Subtotal\n
\n
\n {subtotalString}\n
\n
\n \n {transaction.notes && (\n \n {transaction.notes}\n

\n )}\n \n
\n
Income
\n
\n {transaction.hasFinancialData ? (\n \n \n \n ) : (\n \n \n \n }\n content={`\n Missing \"${\n internalIsActualGCI ? \"Close Price\" : \"Est. Close Price\"\n }\" to allow adding expenses & income.\n `}\n />\n )}\n
\n
\n
\n \n
\n
\n\n
\n
Gross Commission
\n \n {grossCommissionString}\n
\n \n
\n\n
\n
Expenses
\n
\n {transaction.hasFinancialData ? (\n \n \n \n ) : (\n \n \n \n }\n content={`\n Missing \"${\n internalIsActualGCI ? \"Close Price\" : \"Est. Close Price\"\n }\" to allow adding expenses & income.\n `}\n />\n )}\n
\n
\n
\n \n
\n
\n
\n
\n {internalIsActualGCI ? \"Net Commission\" : \"Est. Net Commission\"}\n
\n \n {netCommissionString}\n
\n \n \n \n );\n};\n\nTransactionGci.propTypes = {\n transaction: transactionShape.isRequired,\n onEstCommissionLabelClick: PropTypes.func.isRequired,\n onCommissionLabelClick: PropTypes.func.isRequired,\n onCommissionValueChange: PropTypes.func.isRequired,\n onClosedPriceChange: PropTypes.func.isRequired,\n onAddExpenses: PropTypes.func.isRequired,\n onAddIncome: PropTypes.func.isRequired,\n transactionType: PropTypes.string.isRequired,\n isReferral: PropTypes.bool,\n status: PropTypes.string,\n onLineItemDragEnd: PropTypes.func,\n onEditExpenseLineItem: PropTypes.func,\n onEditIncomeLineItem: PropTypes.func,\n onRemoveLineItem: PropTypes.func,\n onLineItemOptionChange: PropTypes.func,\n onLineItemValueChange: PropTypes.func,\n};\n\nTransactionGci.defaultProps = {\n isReferral: false,\n status: \"pipeline\",\n onLineItemDragEnd: () => {},\n onLineItemOptionChange: () => {},\n onLineItemValueChange: () => {},\n onEditExpenseLineItem: () => {},\n onEditIncomeLineItem: () => {},\n onRemoveLineItem: () => {},\n};\n\nexport default tdpDetails({\n WrappedComponent: TransactionGci,\n states: [TYPE, STATUS],\n aliases: \"transactionType\",\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { transactionShape } from \"../../utils\";\n\nimport TransactionGCI from \"./TransactionGCI\";\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\n\n/** The TransactionGci component, plus its line items. */\nconst TransactionGciWithLineItems = ({\n transaction,\n onClosedPriceChange,\n onCommissionLabelClick,\n onCommissionValueChange,\n onAddExpenses,\n onAddIncome,\n onLineItemDragEnd,\n onLineItemOptionChange,\n onLineItemValueChange,\n onEditExpenseLineItem,\n onEditIncomeLineItem,\n onRemoveLineItem,\n isReferral,\n}) => (\n {}}\n onCommissionValueChange={onCommissionValueChange}\n onAddExpenses={onAddExpenses}\n onAddIncome={onAddIncome}\n isReferral={isReferral}\n onLineItemDragEnd={onLineItemDragEnd}\n onLineItemOptionChange={onLineItemOptionChange}\n onLineItemValueChange={onLineItemValueChange}\n onEditExpenseLineItem={onEditExpenseLineItem}\n onEditIncomeLineItem={onEditIncomeLineItem}\n onRemoveLineItem={onRemoveLineItem}\n />\n);\n\nTransactionGciWithLineItems.propTypes = {\n transaction: transactionShape.isRequired,\n onClosedPriceChange: PropTypes.func,\n onCommissionLabelClick: PropTypes.func,\n onCommissionValueChange: PropTypes.func,\n onAddExpenses: PropTypes.func,\n onAddIncome: PropTypes.func,\n onLineItemDragEnd: PropTypes.func,\n onLineItemOptionChange: PropTypes.func,\n onLineItemValueChange: PropTypes.func,\n onEditExpenseLineItem: PropTypes.func,\n onEditIncomeLineItem: PropTypes.func,\n onRemoveLineItem: PropTypes.func,\n isReferral: PropTypes.bool,\n};\n\nTransactionGciWithLineItems.defaultProps = {\n onClosedPriceChange: () => {},\n onCommissionLabelClick: () => {},\n onCommissionValueChange: () => {},\n onAddExpenses: () => {},\n onAddIncome: () => {},\n onLineItemDragEnd: () => {},\n onLineItemOptionChange: () => {},\n onLineItemValueChange: () => {},\n onEditExpenseLineItem: () => {},\n onEditIncomeLineItem: () => {},\n onRemoveLineItem: () => {},\n isReferral: false,\n};\n\nexport default tdpDetails({\n WrappedComponent: TransactionGciWithLineItems,\n});\n","export const exampleTransactionData = {\n estimated: {\n closePrice: {\n value: \"50,000.10\",\n },\n commission: {\n type: \"percent\",\n value: \"10\",\n },\n netCommission: \"30,000.25\",\n grossCommission: \"33,000.25\",\n subtotal: \"35,000.50\",\n },\n actual: {\n closePrice: {\n value: \"63,000.00\",\n },\n commission: {\n type: \"percent\",\n value: \"25\",\n },\n netCommission: \"31,500.60\",\n grossCommission: \"33,500.60\",\n subtotal: \"60,000.50\",\n },\n hasFinancialData: true,\n isActualGCI: true,\n notes:\n \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\",\n};\n\nexport const emptyTransactionData = {\n estimated: {\n closePrice: {\n value: null,\n },\n commission: {\n type: \"percent\",\n value: null,\n },\n netCommission: null,\n grossCommission: null,\n subtotal: null,\n },\n actual: {\n closePrice: {\n value: null,\n },\n commission: {\n type: \"percent\",\n value: null,\n },\n netCommission: null,\n grossCommission: null,\n subtotal: null,\n },\n hasFinancialData: false,\n isActualGCI: true,\n notes: null,\n lineItems: [],\n};\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\nimport { connect } from \"react-redux\";\nimport { produce } from \"immer\";\nimport { optionShape } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { errorForBanner } from \"../../../../../shared/v2/ErrorBanner\";\nimport { financialsUpdateCanceled } from \"../../actions/creators\";\nimport { createFinancials, updateFinancials } from \"../../actions/thunks\";\nimport FINANCIALS_UPDATE_TYPE from \"../../api/actionNames\";\n\nimport AddEditExpenseIncomeModal from \"../AddEditExpenseIncomeModal\";\nimport DeleteExpenseIncomeModal from \"../DeleteExpenseIncomeModal\";\nimport EditAmountModal from \"../EditAmountModal/EditAmountModal\";\nimport { TransactionGciWithLineItems } from \"../TransactionGCI\";\nimport { emptyTransactionData } from \"../TransactionGCI/helperData\";\n\nconst TransactionSection = ({ financials, dispatch }) => {\n const [editingCommission, setEditingCommission] = useState(false);\n const [addingExpensesLineItem, setAddingExpensesLineItem] = useState(false);\n const [addingIncomeLineItem, setAddingIncomeLineItem] = useState(false);\n const [editingExpenseLineItem, setEditingExpenseLineItem] = useState(false);\n const [editingIncomeLineItem, setEditingIncomeLineItem] = useState(false);\n\n const [editingLineItem, setEditingLineItem] = useState(null);\n\n const [removingLineItem, setRemovingLineItem] = useState(null);\n\n const {\n adaptedData,\n lineItemTypeOptions,\n meta: { isUpdating, modalErrors: metaModalErrors },\n isReferral,\n } = financials;\n const transaction = adaptedData.transaction || emptyTransactionData;\n\n const modalErrors = useMemo(() => metaModalErrors.map((error) => errorForBanner(error)), [metaModalErrors]);\n\n const lineItemExpensesOptions = lineItemTypeOptions.transactionExpense;\n const lineItemIncomeOptions = lineItemTypeOptions.transactionIncome;\n\n const handleCommissionLabelClick = () => {\n setEditingCommission(true);\n };\n\n const handleAddExpensesLineItem = () => {\n setAddingExpensesLineItem(true);\n };\n\n const handleAddIncomeLineItem = () => {\n setAddingIncomeLineItem(true);\n };\n\n const handleEditExpenseLineItem = (lineItem) => {\n setEditingExpenseLineItem(true);\n setEditingLineItem(\n produce(lineItem, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.options = draft.options.filter((option) => option.meta.type === \"expense\");\n }),\n );\n };\n\n const handleEditIncomeLineItem = (lineItem) => {\n setEditingIncomeLineItem(true);\n setEditingLineItem(\n produce(lineItem, (draft) => {\n // eslint-disable-next-line no-param-reassign\n draft.options = draft.options.filter((option) => option.meta.type === \"income\");\n }),\n );\n };\n\n const handleRemoveLineItem = (lineItem) => {\n setRemovingLineItem(lineItem);\n };\n\n const handleClosePriceChange = (newValue) => {\n if (!transaction.hasFinancialData) {\n dispatch(createFinancials(newValue));\n return;\n }\n\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_CLOSE_PRICE, {\n closePrice: newValue,\n }),\n );\n };\n\n const handleCommissionValueChange = (newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_COMMISSION_VALUE, {\n commission: newValue,\n commissionType: newValueType,\n }),\n );\n };\n\n const handleLineItemDragEnd = ({ source, destination }) => {\n if (!destination) {\n return;\n }\n\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM_POSITION, {\n from: source.index,\n to: destination.index,\n }),\n );\n };\n\n const handleLineItemOptionChange = (lineItem, newOption) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM_TYPE, {\n type: lineItem.expenseOrIncome,\n id: lineItem.id,\n selectedOption: newOption,\n }),\n );\n };\n\n const handleLineItemValueChange = (lineItem, newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM_VALUE, {\n type: lineItem.expenseOrIncome,\n id: lineItem.id,\n value: newValue,\n valueType: newValueType,\n }),\n );\n };\n\n const handleSaveCommission = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_COMMISSION, {\n commission: data.value,\n commissionType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveNewLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.ADD_TRANSACTION_LINE_ITEM, {\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveEditedLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_TRANSACTION_LINE_ITEM, {\n type: editingLineItem.expenseOrIncome,\n id: editingLineItem.id,\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveRemovedLineItem = () => {\n const lineItem = removingLineItem || editingLineItem;\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.REMOVE_TRANSACTION_LINE_ITEM, {\n type: lineItem.expenseOrIncome,\n id: lineItem.id,\n isInModal: true,\n }),\n );\n };\n\n const handleCancelSaveCommission = () => {\n setEditingCommission(false);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveNewLineItem = () => {\n setAddingExpensesLineItem(false);\n setAddingIncomeLineItem(false);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveEditedLineItem = () => {\n setEditingLineItem(null);\n setEditingExpenseLineItem(false);\n setEditingIncomeLineItem(false);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveRemovedLineItem = () => {\n setRemovingLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n useEffect(() => {\n if (!isUpdating && modalErrors.length === 0) {\n setEditingCommission(false);\n setAddingExpensesLineItem(false);\n setAddingIncomeLineItem(false);\n setEditingLineItem(null);\n setEditingExpenseLineItem(false);\n setEditingIncomeLineItem(false);\n setRemovingLineItem(null);\n }\n }, [isUpdating, modalErrors]);\n\n return (\n <>\n \n\n {editingCommission && (\n \n )}\n\n {(addingExpensesLineItem || addingIncomeLineItem) && (\n {}}\n onCancel={handleCancelSaveNewLineItem}\n />\n )}\n\n {(editingExpenseLineItem || editingIncomeLineItem) && (\n \n )}\n\n {removingLineItem && (\n \n )}\n \n );\n};\n\nTransactionSection.propTypes = {\n financials: PropTypes.shape({\n isReferral: PropTypes.bool,\n // Schema validation for the inner fields will be handled by the inner\n // components, so we mark them as \"any\" here.\n adaptedData: PropTypes.shape({\n // eslint-disable-next-line react/forbid-prop-types\n transaction: nullable(PropTypes.any).isRequired,\n }).isRequired,\n\n lineItemTypeOptions: PropTypes.shape({\n transactionIncome: PropTypes.arrayOf(optionShape),\n transactionExpense: PropTypes.arrayOf(optionShape),\n agent: PropTypes.arrayOf(optionShape),\n }),\n\n meta: PropTypes.shape({\n isUpdating: PropTypes.bool.isRequired,\n modalErrors: PropTypes.arrayOf(PropTypes.string),\n }),\n }).isRequired,\n\n dispatch: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = ({ tdpFinancialsReducer: reducer }) => ({\n financials: { ...reducer.financials },\n});\n\nexport default connect(mapStateToProps)(TransactionSection);\n","import React from \"react\";\nimport { bool, string } from \"prop-types\";\n\nimport { Info } from \"../../../../../shared/v2/Icomoon\";\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\nimport { STATUS, TYPE } from \"../../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst FeatureBanner = ({ containerClassName, show }) =>\n show && (\n \n \n \n Values are Estimated until transaction status is set to Closed.\n \n \n );\n\nconst BANNER_TYPE = [\"referral\"];\n\nconst WithStatusFeatureBanner = ({ status, transactionType }) => {\n const show = status !== \"sold\" && !BANNER_TYPE.includes(transactionType);\n\n return ;\n};\n\nexport default tdpDetails({\n WrappedComponent: WithStatusFeatureBanner,\n states: [TYPE, STATUS],\n aliases: [\"transactionType\"],\n});\n\nFeatureBanner.propTypes = {\n containerClassName: string,\n show: bool,\n};\n\nFeatureBanner.defaultProps = {\n containerClassName: \"\",\n show: true,\n};\n\nWithStatusFeatureBanner.propTypes = {\n transactionType: string.isRequired,\n status: string,\n};\n\nWithStatusFeatureBanner.defaultProps = {\n status: \"pipeline\",\n};\n","import React from \"react\";\nimport { arrayOf, func, shape } from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { toggleCDAUploadModal } from \"../../../Docs/actions/creators\";\nimport Button from \"../../../../../shared/v2/Button\";\nimport { Upload as UploadIcon } from \"../../../../../shared/v2/Icomoon\";\n\nconst Upload = ({ toggleCDAUploadModl, CDAdocuments }) => (\n toggleCDAUploadModl(true)}\n data-cy=\"documents-upload-button\"\n >\n Upload\n \n \n);\n\nconst mapDispatchToProps = (dispatch) => ({\n toggleCDAUploadModl: () => dispatch(toggleCDAUploadModal(true)),\n});\n\nconst mapStateToProps = (state) => ({\n CDAdocuments: state.tdpDocumentsReducer.CDAdocuments,\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Upload);\n\nUpload.propTypes = {\n toggleCDAUploadModl: func.isRequired,\n CDAdocuments: arrayOf(shape({})),\n};\n\nUpload.defaultProps = {\n CDAdocuments: [],\n};\n","import React from \"react\";\n\nimport { Info } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nimport Upload from \"./Upload\";\n\nconst UploadedDocHeader = () => (\n
\n Revenue Supporting Documents\n \n Upload the transaction’s CDA, settlement statement, notice of transaction completion, or alternative\n revenue support.\n
\n }\n tooltipClassName=\"tw-ml-[2px]\"\n trigger={}\n />\n \n \n \n \n);\n\nexport default UploadedDocHeader;\n","import React from \"react\";\n\nimport { Overlay } from \"@shared/v1\";\nimport { VisibilityVisible, Edit, Download, Trash } from \"@shared/v2/Icomoon\";\nimport { bool, func, string } from \"prop-types\";\n\nconst ACTION_STYLE = \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-text-neutral-gray-75 tw-bg-white hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0\";\nconst ACTION_ICON_STYLE = \"tw-mr-8px tw-text-neutral-gray-50\";\nconst DOWNLOAD_STYLE = \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-text-neutral-gray-75 tw-bg-white hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0 hover:tw-text-neutral-gray-75 visited:tw-text-neutral-gray-75 hover:tw-no-underline\";\nconst TRASH_STYLE = \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-bg-white tw-text-semantic-red-100 hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0 tw-border-0 tw-border-t tw-border-solid tw-border-neutral-gray-10\";\nconst TRASH_ICON_STYLE = \"tw-mr-8px tw-text-semantic-red-100\";\n\nconst OverlayDropdown = ({ onHide, isOpen, handlePreview, handleRename, downloadLink, handleDelete, containerClassName }) => (\n e.stopPropagation()}\n onHide={onHide}\n rootClose\n >\n
\n \n Preview\n
\n {handleRename && (\n <>\n \n Rename\n \n \n )}\n {downloadLink && (\n \n Download\n \n )}\n {handleDelete && (\n <>\n \n Delete\n \n \n )}\n \n \n);\n\nexport default OverlayDropdown;\n\nOverlayDropdown.propTypes = {\n onHide: func, \n isOpen: bool, \n handlePreview: func, \n handleRename: func, \n downloadLink: string, \n handleDelete: func,\n containerClassName: string\n}\n\nOverlayDropdown.propTypes = {\n onHide: null, \n isOpen: false, \n handlePreview: null, \n handleRename: null, \n downloadLink: null, \n handleDelete: null,\n containerClassName: \"\"\n}","import React, { useState } from \"react\";\nimport { func, number, shape, string } from \"prop-types\";\nimport moment from \"moment\";\nimport { connect } from \"react-redux\";\n\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport OverlayDropdown from \"@shared/OverlayDropdown\";\nimport { ArrowUpRightFromSquareRegularV6, VerticalDots } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport FileInformation from \"@shared/ModalUpload/DocumentListItem/FileInformation\";\n\nimport { setDocumentIndex, toggleDocumentsSelected } from \"../../../Docs/actions/creators\";\nimport { renameDocumentAsThunk } from \"../../../Docs/actions/thunks\";\n\nconst UploadDoc = ({\n doc,\n context,\n handleDeleteDocument,\n onToggleDocumentsSelected,\n onSetDocumentIndex,\n onRenameDocumentAsThunk,\n idx,\n}) => {\n const [isOverlayDropdownOpen, setIsOverlayDropdownOpen] = useState(false);\n const [editFilename, setEditFilename] = useState(false);\n\n const handleOverlayCb = (cb) => () => {\n cb();\n setIsOverlayDropdownOpen(false);\n };\n\n const handleRenameDocument = (docId, newName) => onRenameDocumentAsThunk(context, docId, newName);\n\n return (\n
\n onToggleDocumentsSelected(doc.id, !doc.isSelected)} />\n
\n onSetDocumentIndex(idx)}\n document={doc}\n />\n
\n
\n \n
\n
\n
\n {moment(doc.uploadedAt).format(\"MM/DD/YYYY\")}\n
\n
\n {moment(doc.uploadedAt).format(\"hh:mm A\")}\n
\n
\n onSetDocumentIndex(idx)}\n >\n \n Open\n \n setIsOverlayDropdownOpen(true)}\n data-cy=\"document-list-item-context-actions\"\n >\n \n \n setIsOverlayDropdownOpen(false)}\n containerClassName=\"tw-mt-[4px]\"\n handlePreview={handleOverlayCb(() => onSetDocumentIndex(idx))}\n handleRename={handleOverlayCb(() => setEditFilename(true))}\n downloadLink={doc.expiringUrl}\n handleDelete={handleOverlayCb(handleDeleteDocument)}\n />\n
\n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n onToggleDocumentsSelected: (documentId, checkedStatus) =>\n dispatch(toggleDocumentsSelected(\"CDA-document\", [documentId], checkedStatus)),\n onSetDocumentIndex: (index) => dispatch(setDocumentIndex(\"CDA-document\", index)),\n onRenameDocumentAsThunk: (context, documentId, newName) =>\n dispatch(renameDocumentAsThunk(context, documentId, newName)),\n});\n\nexport default connect(null, mapDispatchToProps)(UploadDoc);\n\nUploadDoc.propTypes = {\n doc: shape({}),\n context: string,\n handleDeleteDocument: func.isRequired,\n onToggleDocumentsSelected: func.isRequired,\n onSetDocumentIndex: func.isRequired,\n onRenameDocumentAsThunk: func.isRequired,\n idx: number,\n};\n\nUploadDoc.defaultProps = {\n doc: {},\n context: \"\",\n idx: null,\n};\n","/* eslint-disable jsx-a11y/interactive-supports-focus */\nimport React, { useMemo } from \"react\";\nimport { arrayOf, shape } from \"prop-types\";\nimport { connect, useDispatch } from \"react-redux\";\n\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { Download, Trash } from \"@shared/v2/Icomoon\";\n\nimport { SortIcon } from \"../../../../../Transactions/components/icons\";\nimport UploadDoc from \"./UploadedDoc\";\n\nimport { toggleDeleteModal, toggleDocumentsSelected, sortByCDAType } from \"../../../Docs/actions/creators\";\n\nconst LABEL_STYLE = \"tw-text-12d tw-text-gray-50 tw-font-semibold\";\nconst context = \"CDA-document\";\n\nconst mapDispatchToProps = (dispatch) => ({\n onToggleDocumentsSelected: (ctx, docs, checkStatus) =>\n dispatch(toggleDocumentsSelected(ctx, docs, checkStatus)),\n onToggleDeleteModal: (documentIds) => dispatch(toggleDeleteModal(documentIds, true)),\n onSortByType: (sortType) => dispatch(sortByCDAType(sortType)),\n});\n\nconst mapStateToProps = (state) => ({\n documents: state.tdpDocumentsReducer.CDAdocuments,\n sortByCDA: state.tdpDocumentsReducer.sortByCDA,\n sortCDADirection: state.tdpDocumentsReducer.sortCDADirection,\n});\n\nconst UploadedDocsSorts = connect(\n mapStateToProps,\n mapDispatchToProps,\n)(({\n onToggleDocumentsSelected,\n documents,\n onToggleDeleteModal,\n onSortByType,\n sortByCDA,\n sortCDADirection,\n}) => {\n const allChecked = useMemo(() => documents.every((doc) => doc.isSelected), [documents]);\n\n const shouldOpenBulkActions = useMemo(() => documents.some((doc) => doc.isSelected), [documents]);\n\n const handleOnChangeAll = (checkStatus) => {\n onToggleDocumentsSelected(\n context,\n documents.map((doc) => doc.id),\n checkStatus,\n );\n };\n\n const handleBulkDownload = () => {\n const documentsToDownload = documents.filter((doc) => doc.isSelected);\n\n documentsToDownload.forEach((doc) => {\n // TODO the ideal solution would be to create a zip file with all the documents\n\n // This requires the user to accept popups\n window.open(doc.expiringUrl, \"_blank\");\n });\n };\n\n const handleBulkDelete = () => {\n const documentIds = documents.filter((doc) => doc.isSelected).map((doc) => doc.id);\n onToggleDeleteModal(documentIds);\n };\n\n return (\n
\n {\n handleOnChangeAll(e.target.checked);\n }}\n />\n
\n
Name
\n onSortByType(\"fileName\")}\n onKeyDown={() => onSortByType(\"fileName\")}\n role=\"button\"\n aria-label=\"Sort by Name\"\n >\n \n
\n {shouldOpenBulkActions && (\n
\n \n \n \n \n \n \n
\n )}\n
\n
Uploaded By
\n
\n
Time Uploaded
\n onSortByType(\"uploadedAt\")}\n onKeyDown={() => onSortByType(\"uploadedAt\")}\n role=\"button\"\n aria-label=\"Sort by Name\"\n >\n \n
\n \n \n );\n});\n\nconst UploadedDocs = ({ docs }) => {\n const dispatch = useDispatch();\n\n const handleDeleteDocument = (documentIds) => {\n dispatch(toggleDeleteModal(documentIds, true));\n };\n\n return (\n
\n \n {docs.map((doc, idx) => (\n handleDeleteDocument([doc.id])}\n idx={idx}\n />\n ))}\n
\n );\n};\n\nexport default UploadedDocs;\n\nUploadedDocs.propTypes = {\n docs: arrayOf(shape({})),\n};\n\nUploadedDocs.defaultProps = {\n docs: [],\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { Row } from \"../../../../../shared/v1\";\nimport UploadedDocHeader from \"./UploadedDocHeader\";\nimport UploadedDocs from \"./UploadedDocs\";\n\nconst CDAdoc = ({ CDAuploadErrors, docs }) => (\n <>\n {CDAuploadErrors.length > 0 && (\n
\n {CDAuploadErrors.join(\" \")}\n
\n )}\n \n \n {Boolean(docs.length) && }\n \n \n);\n\nCDAdoc.propTypes = {\n CDAuploadErrors: PropTypes.arrayOf(PropTypes.string),\n docs: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\nCDAdoc.defaultProps = {\n CDAuploadErrors: [],\n};\nconst mapStateToProps = (state) => ({\n CDAuploadErrors: state.tdpDocumentsReducer.CDAuploadErrors,\n docs: state.tdpDocumentsReducer.CDAdocuments,\n});\nexport default connect(mapStateToProps)(CDAdoc);\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport {\n ChevronRight,\n ChevronDown,\n Trash as TrashIcon,\n Plus as PlusIcon,\n Edit as EditIcon,\n} from \"../../../../../shared/v2/Icomoon\";\n\nimport { toNumber } from \"../../../../../shared/Utilities\";\nimport InlineEditingInput from \"../../../../../shared/v2/InlineEditingInput\";\nimport Avatar from \"../../../../../shared/v2/Avatar\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { formatNumber } from \"../../../../../shared/v2/inputFormatUtils\";\nimport { companyShape } from \"../../utils\";\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\nimport { STATUS, TYPE } from \"../../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst formatNumberIfFlat = (value, type, commas) => (type === \"flat\" ? formatNumber(value, commas) : value);\n\nconst headerClasses = (isOpen) =>\n `${\n isOpen ? \"tw-bg-tinted-gray-50\" : \"tw-bg-white hover:tw-bg-tinted-gray-50\"\n } tw-relative tw-z-10 tw-group tw-flex tw-flex-row tw-items-center tw-h-58px tw-select-none tw-border tw-border-neutral-gray-10 active:tw-border-gray-30 tw-border-solid tw-rounded-4px tw-px-24px tw-py-9px`;\n\nconst nameClasses = (isOpen) =>\n `tw-mb-0 tw-text-14d ${\n isOpen ? \"tw-text-neutral-gray-75\" : \"tw-text-neutral-gray-50 group-active:tw-text-neutral-gray-75\"\n }`;\n\nconst collapseIconClasses = (isOpen) =>\n isOpen\n ? \"tw-text-theme-tdp-financials-collapse-icon\"\n : \"tw-text-theme-tdp-financials-collapse-icon group-hover:tw-text-theme-tdp-financials-collapse-icon-hover group-active:tw-text-theme-tdp-financials-collapse-icon-active\";\n\nconst Value = ({ children, ...otherProps }) => (\n
\n {children}\n
\n);\n\nValue.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\n/** Formats values like \"-100\" into \"-$100\", \"50.0\" into \"$50.0\" and so on. */\nconst formatFlatValue = (valueStr) => {\n if (!valueStr) {\n return \"$0.00\";\n }\n\n return valueStr[0] === \"-\"\n ? `-$${formatNumber(valueStr.substring(1), true)}`\n : `$${formatNumber(valueStr, true)}`;\n};\n\n/** Added prefix to labels based on status (primarily: sold) */\nconst prefixStatusLabel = (status, type) => (status !== \"sold\" && type !== \"referral\" ? \"Est. \" : \"\");\n\n/**\n * @summary TDP Financials Company component. Responsible to render both an agent or a company row.\n * @param {func} onGciLabelClick - callback to be called when the GCI label is clicked.\n * @param {func} onGciValueClick - callback to be called when the GCI value is clicked.\n * @param {func} onTrashClick - callback to be called when the trash icon is clicked. It works only for agents.\n * @param {func} onAddExpenses - callback to be called when the add expenses icon is clicked.\n * @param {object} company - company object to be rendered.\n * */\nconst Company = ({\n children,\n onGciLabelClick,\n onGciValueClick,\n onTrashClick,\n onAddExpenses,\n company,\n status,\n transactionType,\n}) => {\n const [isOpen, setOpen] = useState(false);\n const [gciValueType, setGciValueType] = useState(company.gci.type);\n\n const teamGciLabel = `${prefixStatusLabel(status, transactionType)}Team GCI`;\n const netIncomeLabel = `${prefixStatusLabel(status, transactionType)}Net Income`;\n return (\n
\n {\n if (e.key === \"Enter\") setOpen(!isOpen);\n }}\n onClick={() => setOpen(!isOpen)}\n className={headerClasses(isOpen)}\n data-cy=\"financials-company-header\"\n >\n {isOpen ? (\n \n ) : (\n \n )}\n \n
\n {company.role ? (\n <>\n

\n {company.type === \"company\" ? \"Company\" : company.role}\n

\n

{company.name}

\n \n ) : (\n

{company.name}

\n )}\n
\n
\n
\n {formatFlatValue(company.netIncome)}\n
\n
\n {toNumber(company.gci.value) > 0 ? (\n \n \n \n }\n content={\n status === \"sold\"\n ? \"Please remove the Team GCI before deleting the Company Seat\"\n : \"Please remove the Estimated Team GCI before deleting the Company Seat\"\n }\n />\n ) : (\n {\n // Prevents the header from being clicked\n e.stopPropagation();\n onTrashClick(company);\n }}\n data-cy=\"financials-company-remove\"\n >\n \n \n )}\n
\n
\n
\n {isOpen && (\n
\n
\n
\n
\n \n {teamGciLabel}\n \n onGciLabelClick(company)}\n data-cy=\"financials-company-edit-gci\"\n >\n \n \n \n
\n
\n onGciValueClick(newValue, gciValueType)}\n onFlatSelected={() => setGciValueType(\"flat\")}\n onPercentSelected={() => setGciValueType(\"percent\")}\n />\n
\n
\n
\n
\n Subtotal\n
\n {formatFlatValue(company.subtotal)}\n
\n
\n\n
\n
\n\n
\n
Expenses & Income
\n
\n onAddExpenses(company)}\n size=\"small\"\n schema=\"tertiary\"\n data-cy=\"financials-company-add-line-item\"\n >\n \n \n
\n
\n
{children}
\n
\n
\n
{netIncomeLabel}
\n
\n {formatFlatValue(company.netIncome)}\n
\n
\n \n )}\n \n );\n};\n\nCompany.propTypes = {\n children: PropTypes.node,\n company: companyShape.isRequired,\n onGciLabelClick: PropTypes.func.isRequired,\n onGciValueClick: PropTypes.func.isRequired,\n onTrashClick: PropTypes.func.isRequired,\n onAddExpenses: PropTypes.func.isRequired,\n status: PropTypes.string.isRequired,\n transactionType: PropTypes.string.isRequired,\n};\n\nCompany.defaultProps = { children: null };\n\nexport default tdpDetails({\n WrappedComponent: Company,\n states: [TYPE, STATUS],\n aliases: [\"transactionType\"],\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DragDropContext, Droppable } from \"react-beautiful-dnd\";\n\nimport DraggableExpenseIncomeLineItems from \"../ExpenseIncomeLineItem/DraggableExpenseIncomeLineItems\";\n\nimport Company from \"./Company\";\nimport { tdpDetails } from \"../../../../../shared/HOCs/withRedux\";\nimport { companyShape } from \"../../utils\";\n\nconst CompanyWithLineItems = ({\n company,\n onGciLabelClick,\n onGciValueChange,\n onRemoveCompany,\n onAddLineItem,\n onLineItemDragEnd,\n onLineItemOptionChange,\n onLineItemValueChange,\n onEditLineItem,\n onRemoveLineItem,\n}) => (\n \n \n \n {(provided, snapshot) => (\n
\n \n {provided.placeholder}\n
\n )}\n
\n
\n \n);\n\nCompanyWithLineItems.propTypes = {\n company: PropTypes.arrayOf(companyShape).isRequired,\n onGciLabelClick: PropTypes.func,\n onGciValueChange: PropTypes.func,\n onRemoveCompany: PropTypes.func,\n onAddLineItem: PropTypes.func,\n onLineItemDragEnd: PropTypes.func,\n onLineItemOptionChange: PropTypes.func,\n onLineItemValueChange: PropTypes.func,\n onEditLineItem: PropTypes.func,\n onRemoveLineItem: PropTypes.func,\n};\n\nCompanyWithLineItems.defaultProps = {\n onGciLabelClick: () => {},\n onGciValueChange: () => {},\n onRemoveCompany: () => {},\n onAddLineItem: () => {},\n onLineItemDragEnd: () => {},\n onLineItemOptionChange: () => {},\n onLineItemValueChange: () => {},\n onEditLineItem: () => {},\n onRemoveLineItem: () => {},\n};\n\nexport default tdpDetails({\n WrappedComponent: CompanyWithLineItems,\n});\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\nimport { connect } from \"react-redux\";\n\nimport { optionShape } from \"../../../../../shared/v2/Dropdown/utils\";\nimport { errorForBanner } from \"../../../../../shared/v2/ErrorBanner\";\nimport { financialsUpdateCanceled } from \"../../actions/creators\";\nimport { removeTeamMember, updateFinancials } from \"../../actions/thunks\";\nimport FINANCIALS_UPDATE_TYPE from \"../../api/actionNames\";\n\nimport EditAmountModal from \"../EditAmountModal/EditAmountModal\";\nimport AddEditExpenseIncomeModal from \"../AddEditExpenseIncomeModal\";\nimport DeleteExpenseIncomeModal from \"../DeleteExpenseIncomeModal\";\nimport { CompanyWithLineItems } from \"../Company\";\n\nconst CompanySection = ({ financials, dispatch }) => {\n const [addingLineItem, setAddingLineItem] = useState(null);\n const [editingLineItem, setEditingLineItem] = useState(null);\n const [removingLineItem, setRemovingLineItem] = useState(null);\n const [editingGci, setEditingGci] = useState(null);\n\n const {\n adaptedData,\n lineItemTypeOptions,\n meta: { isUpdating, modalErrors: metaModalErrors },\n } = financials;\n\n const { company } = adaptedData;\n\n const modalErrors = useMemo(() => metaModalErrors.map((error) => errorForBanner(error)), [metaModalErrors]);\n\n const handleGciLabelClick = (comp) => {\n setEditingGci({ comp });\n };\n\n const handleAddLineItem = (comp) => {\n setAddingLineItem({ comp });\n };\n\n const handleEditLineItem = (lineItem) => {\n setEditingLineItem(lineItem);\n };\n\n const handleRemoveLineItem = (lineItem) => {\n setRemovingLineItem(lineItem);\n };\n\n const handleRemoveCompany = (comp) => {\n dispatch(removeTeamMember(comp.id, true));\n };\n\n const handleSaveGci = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_GCI, {\n gci: data.value,\n gciType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleGciValueChange = (newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_GCI_VALUE, {\n gci: newValue,\n gciType: newValueType,\n }),\n );\n };\n\n const handleLineItemDragEnd = ({ source, destination }) => {\n if (!destination) {\n return;\n }\n\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM_POSITION, {\n from: source.index,\n to: destination.index,\n }),\n );\n };\n\n const handleLineItemOptionChange = (lineItem, newOption) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM_TYPE, {\n type: newOption.meta.type,\n id: lineItem.id,\n selectedOption: newOption,\n }),\n );\n };\n\n const handleLineItemValueChange = (lineItem, newValue, newValueType) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM_VALUE, {\n type: lineItem.expenseOrIncome,\n id: lineItem.id,\n value: newValue,\n valueType: newValueType,\n }),\n );\n };\n\n const handleSaveNewLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.ADD_COMPANY_LINE_ITEM, {\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveEditedLineItem = (data) => {\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.UPDATE_COMPANY_LINE_ITEM, {\n type: data.name.meta.type,\n id: editingLineItem.id,\n selectedOption: data.name,\n value: data.value,\n valueType: data.isPercentage ? \"percent\" : \"flat\",\n notes: data.notes,\n isInModal: true,\n }),\n );\n };\n\n const handleSaveRemovedLineItem = () => {\n const lineItem = removingLineItem || editingLineItem;\n dispatch(\n updateFinancials(FINANCIALS_UPDATE_TYPE.REMOVE_COMPANY_LINE_ITEM, {\n type: lineItem.expenseOrIncome,\n id: lineItem.id,\n isInModal: true,\n }),\n );\n };\n\n const handleCancelSaveGci = () => {\n setEditingGci(null);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveNewLineItem = () => {\n setAddingLineItem(false);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveEditedLineItem = () => {\n setEditingLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n const handleCancelSaveRemovedLineItem = () => {\n setRemovingLineItem(null);\n dispatch(financialsUpdateCanceled());\n };\n\n useEffect(() => {\n if (!isUpdating && modalErrors.length === 0) {\n setEditingGci(null);\n setAddingLineItem(null);\n setEditingLineItem(null);\n setRemovingLineItem(null);\n }\n }, [isUpdating, modalErrors]);\n\n return (\n <>\n {company && (\n \n )}\n {addingLineItem && (\n {}}\n onCancel={handleCancelSaveNewLineItem}\n />\n )}\n\n {editingLineItem && (\n \n )}\n {removingLineItem && (\n \n )}\n {editingGci && (\n \n )}\n \n );\n};\n\nCompanySection.propTypes = {\n financials: PropTypes.shape({\n // Schema validation for the inner fields will be handled by the inner\n // components, so we mark them as \"any\" here.\n adaptedData: PropTypes.shape({\n // eslint-disable-next-line react/forbid-prop-types\n company: nullable(PropTypes.any).isRequired,\n }).isRequired,\n\n lineItemTypeOptions: PropTypes.shape({\n transactionIncome: PropTypes.arrayOf(optionShape),\n transactionExpense: PropTypes.arrayOf(optionShape),\n company: PropTypes.arrayOf(optionShape),\n }),\n\n meta: PropTypes.shape({\n isUpdating: PropTypes.bool.isRequired,\n modalErrors: PropTypes.arrayOf(PropTypes.string),\n }),\n }).isRequired,\n\n dispatch: PropTypes.func.isRequired,\n};\n\nconst mapStateToProps = ({ tdpFinancialsReducer }) => ({\n financials: { ...tdpFinancialsReducer.financials },\n});\n\nexport default connect(mapStateToProps)(CompanySection);\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport nullable from \"prop-types-nullable\";\n\nimport Button from \"../../../shared/v2/Button\";\nimport { optionShape } from \"../../../shared/v2/Dropdown/utils\";\nimport ErrorBanner, { errorForBanner } from \"../../../shared/v2/ErrorBanner\";\nimport { Edit } from \"../../../shared/v2/Icomoon\";\nimport LoadingOverlay from \"../../../shared/v2/LoadingOverlay\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport Tooltip from \"../../../shared/v2/Tooltip\";\n\nimport { CollaboratorsWithLineItems } from \"./components/TeamMember\";\n\nimport { addTeamMembers, addCompany, fetchFinancialsSelectableTeamMembers } from \"./actions/thunks\";\nimport AddTeamMemberModal from \"./components/AddTeamMemberModal\";\nimport TeamMemberSection from \"./components/TeamMemberSection\";\nimport TransactionSection from \"./components/TransactionSection\";\nimport { emptyTransactionData } from \"./components/TransactionGCI/helperData\";\nimport FeatureBanner from \"./components/FeatureBanner\";\nimport CDAdoc from \"./components/CDAdoc\";\nimport CompanySection from \"./components/CompanySection\";\n\nconst AddTeamMemberorCompanyButton = ({ isTeamMember, hasFinancialData, isActualGCI, onClick }) => (\n \n {hasFinancialData ? (\n \n {isTeamMember ? \"+ Team Member\" : \"+ Company\"}\n \n ) : (\n \n {isTeamMember ? \"+ Team Member\" : \"+ Company\"}\n \n }\n content={`\n Missing \"${isActualGCI ? \"Close Price\" : \"Est. Close Price\"}\" to allow adding ${\n isTeamMember ? \"team members\" : \"company\"\n }.\n `}\n />\n )}\n \n);\n\nAddTeamMemberorCompanyButton.propTypes = {\n isTeamMember: PropTypes.bool.isRequired,\n hasFinancialData: PropTypes.bool.isRequired,\n isActualGCI: PropTypes.bool.isRequired,\n onClick: PropTypes.func.isRequired,\n};\n\nconst FinancialsWrapper = ({ dispatch, listingId, financials }) => {\n const [addingTeamMember, setAddingTeamMember] = useState(false);\n\n useEffect(() => {\n // Since we reuse the `transactionDetails` data from the details reducer in the financials API adapters,\n // we need to ensure that the financials data is only fetched after the header/details data has been fetched,\n // so we wait until `listingId` exists.\n if (listingId) {\n dispatch(fetchFinancialsSelectableTeamMembers());\n }\n }, [listingId]);\n\n const {\n adaptedData,\n selectableTeamMembers,\n meta: { isLoading, isUpdating, errors: metaErrors },\n } = financials;\n const collaborators = adaptedData.collaborators || [];\n const company = adaptedData.company || null;\n const transaction = adaptedData.transaction || emptyTransactionData;\n\n const handleAddTeamMember = () => {\n setAddingTeamMember(true);\n };\n\n const handleAddCompany = () => {\n dispatch(addCompany());\n };\n\n const handleSaveAddedTeamMembers = (selectedMembers) => {\n dispatch(addTeamMembers(selectedMembers));\n };\n\n useEffect(() => {\n if (!isUpdating) {\n setAddingTeamMember(false);\n }\n }, [isUpdating]);\n\n const errors = useMemo(() => metaErrors.map((error) => errorForBanner(error)), [metaErrors]);\n\n return (\n \n
\n {errors.length > 0 && }\n\n
\n

Financials

\n {false && (\n // Hide away for now, as the bulk editor is not a part of the TDP's MVP.\n \n )}\n
\n \n \n
\n \n {company && }\n \n\n {false && (\n // Hide away collaborators for now. As of the TDP's MVP, they're not\n // being correctly accounted for within the back-end validations _or_\n // the front-end's calculations, so Product has given us the green\n // light to ignore their existence for now. Also, there's no official\n // design for them in the TDP Figma.\n \n )}\n\n
\n \n {!company && (\n \n )}\n
\n {addingTeamMember && (\n setAddingTeamMember(false)}\n />\n )}\n
\n
\n
\n );\n};\n\nFinancialsWrapper.propTypes = {\n dispatch: PropTypes.func.isRequired,\n\n listingId: PropTypes.number,\n\n financials: PropTypes.shape({\n // Schema validation for the inner fields will be handled by the inner\n // components, so we mark them as \"any\" here.\n adaptedData: PropTypes.shape({\n // eslint-disable-next-line react/forbid-prop-types\n collaborators: nullable(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n transaction: nullable(PropTypes.any).isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n company: nullable(PropTypes.any).isRequired,\n }).isRequired,\n\n selectableTeamMembers: PropTypes.arrayOf(optionShape),\n\n meta: PropTypes.shape({\n isLoading: PropTypes.bool.isRequired,\n isUpdating: PropTypes.bool.isRequired,\n // TODO: Error handling will likely need to be more advanced than a single\n // string, since we'll need to map individual errors to one or more fields\n // (see the Financials Bulk Editor on Figma for an example of this).\n errors: PropTypes.arrayOf(PropTypes.string),\n }),\n }).isRequired,\n};\n\nFinancialsWrapper.defaultProps = {\n listingId: null,\n};\n\nconst mapStateToProps = ({ tdpDetailsReducer, tdpFinancialsReducer: reducer }) => ({\n listingId: tdpDetailsReducer.headerDetails.listing_id,\n financials: { ...reducer.financials },\n});\n\nexport default connect(mapStateToProps)(FinancialsWrapper);\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport { string } from \"prop-types\";\nimport { Routes, Route, Navigate } from \"react-router-dom\";\nimport useInitPathName from \"./hooks\";\n\nimport { MainContainer } from \"../UI/Containers\";\nimport { tdpDetails } from \"../../shared/HOCs/withRedux\";\nimport { USERTYPE } from \"../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isAgent } from \"../shared/helpers\";\n\nimport NaviLinks from \"./Navigation\";\nimport Timeline from \"./Timeline\";\nimport Tasks from \"./Tasks\";\nimport Notes from \"./Notes\";\nimport Details from \"./Details\";\nimport Marketing from \"./Marketing\";\nimport Feedback from \"./Feedback\";\nimport Docs from \"./Docs\";\nimport Financials from \"./Financials\";\n\nconst Main = ({ userType }) => {\n const { initPathName } = useInitPathName();\n\n return (\n \n \n \n } />\n } />\n } />\n } />\n } />\n } />\n } />\n : }\n />\n } />\n \n \n );\n};\n\nexport default tdpDetails({\n WrappedComponent: Main,\n states: USERTYPE,\n});\n\nMain.propTypes = {\n userType: string.isRequired,\n};\n","import React from \"react\";\n\nconst Divider = () =>
;\n\nexport default Divider;\n","import axios from \"axios\";\n\nexport const getAllPeopleFromApi = (uuid) =>\n axios.get(`/api/v4/transactions/${uuid}/people/`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const searchPeopleFromApi = (uuid) =>\n axios.get(`/api/v4/transactions/${uuid}/people/search`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const postPersonToApi = (person, uuid) =>\n axios.post(`/api/v4/transactions/${uuid}/people`, person, {\n params: { authenticity_token: window.ReactOnRails.authenticityToken() },\n });\n\nexport const getSourcesFromApi = () =>\n axios.get(`/sources`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n\nexport const patchPersonToApi = (person, uuid, id) =>\n axios.patch(`/api/v4/transactions/${uuid}/people/${id}`, person, {\n params: { authenticity_token: window.ReactOnRails.authenticityToken() },\n });\n\nexport const deletePersonFromApi = (uuid, id) =>\n axios.delete(`/api/v4/transactions/${uuid}/people/${id}`, {\n params: { authenticity_token: window.ReactOnRails.authenticityToken() },\n });\n\nexport const getAvailablePeopleFromApi = (uuid) =>\n axios.get(`/api/v4/transactions/${uuid}/people/available`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n });\n","export const adaptPeople = (data) => ({\n people: data,\n});\n\nexport const adaptError = (err) => ({\n error: err,\n});\n\nexport const closeModalAdapter = (bool) => ({\n closeModal: bool,\n});\n","import { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport {\n getAllPeopleFromApi,\n postPersonToApi,\n patchPersonToApi,\n deletePersonFromApi,\n getAvailablePeopleFromApi,\n} from \"../api/apiWrappers\";\nimport {\n saveAllPeople,\n postPerson,\n getAvailablePeople,\n errorHandler,\n closeModal,\n patchPerson,\n} from \"./creators\";\nimport { adaptError, adaptPeople } from \"../api/apiAdapters\";\n\nexport const getAllPeopleAsThunk = (uuid) => async (dispatch) => {\n const req = getAllPeopleFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n return;\n }\n const details = adaptPeople(res.data);\n\n dispatch(saveAllPeople(details, uuid));\n};\n\nexport const postPersonAsThunk = (person, uuid, category) => async (dispatch) => {\n const req = postPersonToApi(person, uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n const error = adaptError(err.response.data.errors);\n dispatch(errorHandler(error));\n return;\n }\n\n dispatch(postPerson(res.data, uuid, category));\n dispatch(closeModal(true));\n setTimeout(() => {\n dispatch(closeModal(false));\n }, 1000);\n};\n\nexport const patchPersonAsThunk = (person, uuid, id, category) => async (dispatch) => {\n const req = patchPersonToApi(person, uuid, id);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n const error = adaptError(err.response.data.errors);\n dispatch(errorHandler(error));\n return;\n }\n\n dispatch(patchPerson(id, category, res.data));\n dispatch(closeModal(true));\n setTimeout(() => {\n dispatch(closeModal(false));\n }, 1000);\n};\n\nexport const deletePersonAsThunk = (uuid, listingPersonId) => async (dispatch) => {\n const req = deletePersonFromApi(uuid, listingPersonId);\n const [, err] = await tryCatchHandlr(req);\n if (err) {\n const error = adaptError(err.response.data.errors || [err.response.data.message]);\n dispatch(errorHandler(error));\n return;\n }\n dispatch(getAllPeopleAsThunk(uuid));\n};\n\nexport const getAvailablePeopleAsThunk = (uuid) => async (dispatch) => {\n const req = getAvailablePeopleFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n if (err) {\n const error = adaptError(err.response.data.errors);\n dispatch(errorHandler(error));\n return;\n }\n\n const details = adaptPeople(res.data);\n dispatch(getAvailablePeople(details, uuid));\n};\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\nimport Checkbox from \"../../../../shared/v2/Checkbox/Checkbox\";\nimport { isReferral } from \"../../../shared/helpers\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TYPE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nconst AccessViewerCheckbox = ({ toggleViewerAccess, onChangeSetToggle, isDisabled }) => (\n
\n onChangeSetToggle(!toggleViewerAccess)}\n className=\"tw-cursor-pointer\"\n disabled={isDisabled}\n />\n\n
\n Allow clients to access a limited view of this transaction.\n
\n
\n);\n\nconst AccessViewer = ({\n type,\n isCollaborator,\n isClient,\n toggleViewerAccess,\n onChangeSetToggle,\n isDisabled,\n}) => (\n <>\n {!isReferral(type) && (isCollaborator || isClient) && (\n \n )}\n \n);\n\nAccessViewerCheckbox.propTypes = {\n toggleViewerAccess: bool,\n onChangeSetToggle: func,\n isDisabled: bool,\n};\n\nAccessViewerCheckbox.defaultProps = {\n toggleViewerAccess: false,\n isDisabled: false,\n onChangeSetToggle: () => {},\n};\nAccessViewer.propTypes = {\n isCollaborator: bool,\n isClient: bool,\n type: string,\n toggleViewerAccess: bool,\n onChangeSetToggle: func,\n isDisabled: bool,\n};\n\nAccessViewer.defaultProps = {\n isCollaborator: false,\n isClient: false,\n toggleViewerAccess: false,\n isDisabled: false,\n onChangeSetToggle: () => {},\n type: null,\n};\nconst WrappedAccessViewer = tdpDetails({\n WrappedComponent: AccessViewer,\n states: TYPE,\n});\n\nexport default WrappedAccessViewer;\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\nimport Checkbox from \"../../../../shared/v2/Checkbox/Checkbox\";\nimport { tdpDetails } from \"../../../../shared/HOCs/withRedux\";\nimport { TYPE } from \"../../../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { isReferral } from \"../../../shared/helpers\";\n\nconst SubscribeClientCheckbox = ({ toggleEmailUpdate, onChangeSetToggle, isDisabled }) => (\n
\n onChangeSetToggle(!toggleEmailUpdate)}\n className=\"tw-cursor-pointer\"\n disabled={isDisabled}\n />\n\n
\n Share your completed tasks and marketing efforts in a daily automated email.\n
\n
\n);\n\nconst SubscribeClient = ({ type, isClient, isOpen, toggleEmailUpdate, onChangeSetToggle, isDisabled }) => (\n <>\n {!isReferral(type) && isClient && isOpen && (\n \n )}\n \n);\n\nSubscribeClientCheckbox.propTypes = {\n toggleEmailUpdate: bool,\n onChangeSetToggle: func,\n isDisabled: bool,\n};\n\nSubscribeClientCheckbox.defaultProps = {\n toggleEmailUpdate: false,\n onChangeSetToggle: () => {},\n isDisabled: false,\n};\nSubscribeClient.propTypes = {\n isClient: bool,\n isOpen: bool,\n type: string,\n toggleEmailUpdate: bool,\n onChangeSetToggle: func,\n isDisabled: bool,\n};\n\nSubscribeClient.defaultProps = {\n isClient: false,\n isOpen: false,\n isDisabled: false,\n type: null,\n toggleEmailUpdate: false,\n onChangeSetToggle: () => {},\n};\nconst WrappedSubscribeClient = tdpDetails({\n WrappedComponent: SubscribeClient,\n states: TYPE,\n});\n\nexport default WrappedSubscribeClient;\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport Checkbox from \"../../../../shared/v2/Checkbox\";\n\nconst DEFAULT_VALUES = {\n label: \"Set as Primary Agent\",\n};\n\nconst PrimaryAgentCheckbox = ({ checked, onClickCheckBox, label, containerClassName, disabled, show }) =>\n show && (\n
\n \n {label}\n
\n );\n\nexport default PrimaryAgentCheckbox;\n\nPrimaryAgentCheckbox.propTypes = {\n checked: bool,\n disabled: bool,\n onClickCheckBox: func,\n label: string,\n containerClassName: string,\n show: bool,\n};\n\nPrimaryAgentCheckbox.defaultProps = {\n checked: false,\n disabled: false,\n onClickCheckBox: () => {},\n label: DEFAULT_VALUES.label,\n containerClassName: \"\",\n show: true,\n};\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, string, arrayOf, shape, number } from \"prop-types\";\nimport { faKey } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { sortBy } from \"lodash\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport Button from \"../../../../shared/v2/Button/Button\";\nimport { postPersonAsThunk, getAvailablePeopleAsThunk, getAllPeopleAsThunk } from \"../actions/thunks\";\nimport ErrorBanner from \"../../../../shared/v2/ErrorBanner\";\nimport useDropdownSearch from \"./hooks\";\nimport AccessViewer from \"../AccessViewer\";\nimport SubscribeClient from \"../SubscribeClient\";\nimport { clearError } from \"../actions/creators\";\nimport PrimaryAgentCheckbox from \"../PrimaryAgentCheckbox\";\nimport PersonDetailsModal from \"../../../../Contacts/PersonDetailsModal\";\n\nconst ADD_DEFAULT_FIELDS = [\n { field: \"type_name\", value: \"lead\" },\n { field: \"status\", value: \"new\" },\n { field: \"lead_type\", value: \"buyer\" },\n];\n\nconst AddModal = ({\n currentUser,\n toggleAddModal,\n setToggleAddModal,\n title,\n onClearError,\n isClient,\n isCollaborator,\n isTeamMember,\n roles,\n onPostPersonAsThunk,\n onSearchPeopleAsThunk,\n onGetAvailablePeopleAsThunk,\n uuid,\n isAdmin,\n currentUserId,\n primaryAgentId,\n error,\n onGetAllPeopleAsThunk,\n onUpdateMultipleFormFields,\n type,\n}) => {\n const rolesDropdown = useMemo(\n () =>\n sortBy(\n roles.map((role) => ({\n value: role.id,\n label: role.title,\n })),\n \"label\",\n ),\n [roles],\n );\n const newContact = useMemo(\n () => ({\n isLead: true,\n primaryAgentId: currentUser.id,\n leadType: \"buyer\",\n typeName: \"lead\",\n status: \"new\",\n }),\n [],\n );\n\n const [checkError, setCheckError] = useState(false);\n const [selectedRole, setSelectedRole] = useState(null);\n const [selectedPerson, setSelectedPerson] = useState(null);\n const [toggleViewerAccess, setToggleViewerAccess] = useState(!!isTeamMember);\n const [toggleEmailUpdate, setToggleEmailUpdate] = useState(false);\n const [toggleAddContactModal, setToggleAddContactModal] = useState(false);\n const [person, setPerson] = useState({ person: {} });\n // eslint-disable-next-line no-nested-ternary\n const category = isClient ? \"listing_clients\" : isCollaborator ? \"collaborators\" : \"team_members\";\n\n useEffect(() => {\n if (checkError && (!error || error?.length === 0)) {\n setToggleAddModal(false);\n }\n setCheckError(false);\n }, [checkError]);\n\n const handleSave = () => {\n onPostPersonAsThunk(person, uuid, category).then(() => {\n setCheckError(true);\n onGetAllPeopleAsThunk(uuid);\n });\n };\n\n useEffect(() => {\n setPerson({\n person: {\n external: !!(isClient || isCollaborator),\n collaborator: !!isCollaborator,\n portal_access: toggleViewerAccess,\n gets_updates: toggleEmailUpdate,\n role_id: selectedRole?.value || null,\n person_id: parseInt(selectedPerson?.value, 10) || null,\n primary: false,\n },\n });\n }, [selectedRole, selectedPerson, toggleViewerAccess, toggleEmailUpdate]);\n\n useEffect(() => {\n if (toggleAddModal) onGetAvailablePeopleAsThunk(uuid);\n }, [toggleAddModal, uuid]);\n\n const {\n noOptionsMessage,\n availablePeopleDropdown,\n setSearch,\n isLoading,\n error: personError,\n } = useDropdownSearch({\n title,\n uuid,\n });\n return (\n <>\n {\n onClearError();\n setToggleAddModal(false);\n setToggleViewerAccess(!!isTeamMember);\n }}\n dialogClassName=\"tw-flex tw-items-center tw-justify-center tw-h-full\"\n contentClassName=\"tw-max-w-[500px] tw-max-h-[90vh] tw-w-full tw-flex tw-flex-col tw-gap-[32px]\"\n >\n \n\n \n {error && }\n \n\n \n\n {!isTeamMember && (\n {\n onUpdateMultipleFormFields(ADD_DEFAULT_FIELDS);\n setToggleAddContactModal(true);\n }}\n >\n Add New Contact\n \n )}\n\n
\n \n setToggleViewerAccess((prev) => {\n if (prev) setToggleEmailUpdate(false);\n return !prev;\n })\n }\n isDisabled={!selectedPerson?.email}\n />\n setToggleEmailUpdate(!toggleEmailUpdate)}\n isDisabled={!selectedPerson?.email}\n />\n {isTeamMember && (\n
\n \n setPerson((prev) => ({\n ...prev,\n person: {\n ...prev.person,\n primary: !prev.person.primary,\n },\n }))\n }\n show={type !== \"referral\"}\n />\n
\n \n
\n Login Access: {isAdmin || currentUserId === primaryAgentId ? \"Admin\" : \"Agent\"}\n
\n
\n Administrators can view and edit all parts of a transaction.\n
\n
\n
\n )}\n
\n
\n \n {\n onClearError();\n setToggleAddModal(false);\n }}\n className=\"tw-px-[20px] tw-py-[8px] tw-flex tw-items-center\"\n schema=\"tertiary\"\n size=\"medium\"\n >\n Cancel\n \n \n Save\n \n \n \n\n {\n setToggleAddContactModal(false);\n onGetAllPeopleAsThunk(uuid);\n onSearchPeopleAsThunk(uuid);\n }}\n />\n \n );\n};\n\nconst mapStateToProps = (state) => ({\n availablePeople: state.tdpPeopleReducer.availablePeople?.people?.people,\n currentUser: state.layout.currentUser,\n uuid: state.tdpDetailsReducer.uuid,\n isAdmin: state.tdpDetailsReducer.isAdmin,\n currentUserId: state.tdpDetailsReducer.currentUserId,\n primaryAgentId: state.tdpDetailsReducer.primaryAgentDetails.agentId,\n error: state.tdpPeopleReducer.error.error,\n closeModal: state.tdpPeopleReducer.closeModal,\n type: state.tdpDetailsReducer.transactionDetails.type,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPostPersonAsThunk: (person, uuid, category) => dispatch(postPersonAsThunk(person, uuid, category)),\n onGetAllPeopleAsThunk: (uuid) => dispatch(getAllPeopleAsThunk(uuid)),\n onGetAvailablePeopleAsThunk: (uuid) => dispatch(getAvailablePeopleAsThunk(uuid)),\n onClearError: () => dispatch(clearError()),\n});\n\nAddModal.propTypes = {\n currentUser: shape().isRequired,\n toggleAddModal: bool,\n setToggleAddModal: func,\n title: string,\n isClient: bool,\n isCollaborator: bool,\n isTeamMember: bool,\n roles: arrayOf(shape({})),\n onPostPersonAsThunk: func,\n onSearchPeopleAsThunk: func,\n onGetAvailablePeopleAsThunk: func,\n uuid: string,\n isAdmin: bool,\n currentUserId: number,\n primaryAgentId: number,\n error: arrayOf(shape({})),\n onUpdateMultipleFormFields: func,\n onGetAllPeopleAsThunk: func,\n onClearError: func,\n type: string,\n};\n\nAddModal.defaultProps = {\n toggleAddModal: false,\n setToggleAddModal: () => {},\n title: \"\",\n isClient: false,\n isCollaborator: false,\n isTeamMember: false,\n roles: [],\n onPostPersonAsThunk: () => {},\n onSearchPeopleAsThunk: () => {},\n onGetAvailablePeopleAsThunk: () => {},\n uuid: \"\",\n isAdmin: false,\n currentUserId: 0,\n primaryAgentId: 0,\n error: [],\n onUpdateMultipleFormFields: () => {},\n onGetAllPeopleAsThunk: () => {},\n onClearError: () => {},\n type: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddModal);\n","import { snakeCase } from \"lodash\";\nimport { useState, useEffect } from \"react\";\nimport { useDebounce } from \"../../../../shared/hookHelpers\";\nimport { caseTransformingAxios as axios } from \"../../../../shared/v2/caseTransformingAxios\";\n\nexport default ({ title, uuid }) => {\n const [_search, setSearch] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState(\"\");\n const [availablePeopleDropdown, setAvailablePeopleDropdown] = useState([]);\n\n const noOptionsMessage =\n _search.length > 2\n ? `No ${title.toLowerCase()} found`\n : `Enter ${3 - _search.length} more characters to search`;\n\n const search = useDebounce(_search, 250);\n\n useEffect(() => {\n if (search.length < 3) return;\n const abortController = new AbortController();\n setIsLoading(true);\n axios\n .get(`/api/v4/transactions/${uuid}/people/search`, {\n params: {\n type: snakeCase(title),\n query: search,\n },\n signal: abortController.signal,\n })\n .then(({ data }) => {\n setIsLoading(false);\n setError(\"\");\n setAvailablePeopleDropdown(\n data.people.map((result) => ({\n value: result.id,\n label: result.label,\n email: result.emailAddress,\n })),\n );\n })\n .catch(() => {\n setIsLoading(false);\n setError(\"Whoops! Something went wrong.\");\n });\n }, [search]);\n\n return {\n noOptionsMessage,\n availablePeopleDropdown,\n setSearch,\n isLoading,\n error,\n };\n};\n","import React from \"react\";\nimport { string, bool } from \"prop-types\";\n\nconst Tooltip = ({ tooltipEnabled, hoverText, className, pointerClassName }) =>\n tooltipEnabled &&\n hoverText && (\n \n
{hoverText}
\n \n \n );\n\nTooltip.propTypes = {\n tooltipEnabled: bool,\n hoverText: string,\n className: string,\n pointerClassName: string,\n};\n\nTooltip.defaultProps = {\n tooltipEnabled: false,\n hoverText: \"\",\n className: \"\",\n pointerClassName: \"\",\n};\n\nexport default Tooltip;\n","import React, { useState, useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, string, shape, arrayOf } from \"prop-types\";\nimport { uniqBy } from \"lodash\";\nimport Modal from \"../../../../shared/v2/Modal/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport { patchPersonAsThunk } from \"../actions/thunks\";\nimport ErrorBanner from \"../../../../shared/v2/ErrorBanner\";\nimport AccessViewer from \"../AccessViewer\";\nimport SubscribeClient from \"../SubscribeClient\";\nimport { clearError } from \"../actions/creators\";\nimport PrimaryAgentCheckbox from \"../PrimaryAgentCheckbox\";\n\nconst EditModal = ({\n show,\n onHide,\n title,\n onPatchPersonAsThunk,\n roles,\n uuid,\n personData,\n isCollaborator,\n isClient,\n category,\n error,\n onClearError,\n type,\n}) => {\n const generateRolesDropdown = () => {\n const rolesDropdown = [];\n switch (title) {\n case \"Client\":\n rolesDropdown.push(...roles.client);\n break;\n case \"Collaborator\":\n rolesDropdown.push(...roles.collaborator);\n break;\n case \"Team Member\":\n rolesDropdown.push(...roles.team_member);\n break;\n default:\n break;\n }\n\n return rolesDropdown.map((role) => ({\n value: role?.id,\n label: role?.title,\n }));\n };\n\n const [selectedRole, setSelectedRole] = useState({\n label: personData.role?.title,\n value: personData.role?.id,\n });\n const [toggleViewerAccess, setToggleViewerAccess] = useState(personData.viewer_portal_access);\n const [toggleEmailUpdate, setToggleEmailUpdate] = useState(personData.email_updates);\n const [deselectedEmailUpdates, setDeselectedEmailUpdates] = useState(false);\n const [person, setPerson] = useState({ person: {} });\n\n useEffect(() => {\n setPerson({\n person: {\n external: !!(isClient || isCollaborator),\n collaborator: !!isCollaborator,\n portal_access: toggleViewerAccess,\n gets_updates: toggleEmailUpdate,\n role_id: selectedRole?.value,\n role_label: selectedRole?.label,\n primary: personData.primary,\n deselected_email_updates: deselectedEmailUpdates,\n },\n });\n }, [selectedRole, toggleViewerAccess, toggleEmailUpdate, personData]);\n\n const onChangeSetToggle = () => {\n setDeselectedEmailUpdates(toggleEmailUpdate);\n setToggleEmailUpdate(!toggleEmailUpdate);\n };\n\n const handleSave = () => {\n onPatchPersonAsThunk(person, uuid, personData.listing_person_id, category).then(\n () => (!error || error?.length === 0) && onHide(),\n );\n };\n\n return (\n {\n onHide();\n onClearError();\n setToggleViewerAccess(personData.viewer_portal_access);\n setToggleEmailUpdate(personData.email_updates);\n }}\n className=\"tw-flex tw-items-center tw-justify-center\"\n contentClassName=\"tw-w-[496px]\"\n >\n \n \n {error && }\n
\n
\n {personData.name}\n
\n
\n {personData.email_address}\n
\n
\n \n Role *\n \n \n
\n setToggleViewerAccess((prev) => !prev)}\n isDisabled={personData.viewer_portal_access || !personData.email_address}\n />\n \n {category === \"team_members\" && (\n \n setPerson((prev) => ({\n ...prev,\n person: {\n ...prev.person,\n primary: !prev.person.primary,\n },\n }))\n }\n show={type !== \"referral\"}\n />\n )}\n
\n
\n \n {\n onHide();\n onClearError();\n setToggleViewerAccess(personData.viewer_portal_access);\n setToggleEmailUpdate(personData.email_updates);\n }}\n >\n CANCEL\n \n\n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n roles: {\n client: uniqBy(state.tdpPeopleReducer.people.roles?.client, \"title\"),\n collaborator: uniqBy(state.tdpPeopleReducer.people.roles?.collaborator, \"title\"),\n team_member: uniqBy(state.tdpPeopleReducer.people.roles?.team_member, \"title\"),\n },\n uuid: state.tdpDetailsReducer.uuid,\n error: state.tdpPeopleReducer.error.error,\n closeModal: state.tdpPeopleReducer.closeModal,\n type: state.tdpDetailsReducer.transactionDetails.type,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPatchPersonAsThunk: (person, uuid, id, category) =>\n dispatch(patchPersonAsThunk(person, uuid, id, category)),\n onClearError: () => dispatch(clearError()),\n});\n\nEditModal.propTypes = {\n show: bool,\n onHide: func,\n title: string,\n onPatchPersonAsThunk: func,\n roles: shape({\n client: arrayOf(shape({})),\n collaborator: arrayOf(shape({})),\n team_member: arrayOf(shape({})),\n }),\n uuid: string,\n personData: shape({}),\n isCollaborator: bool,\n isClient: bool,\n category: string,\n error: [],\n onClearError: func,\n type: string,\n};\n\nEditModal.defaultProps = {\n show: false,\n onHide: () => {},\n title: \"\",\n onPatchPersonAsThunk: () => {},\n roles: {},\n uuid: \"\",\n personData: {},\n isCollaborator: false,\n isClient: false,\n category: \"\",\n error: [],\n onClearError: () => {},\n type: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(EditModal);\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Modal from \"../../../../shared/v2/Modal/Modal\";\nimport Button from \"../../../../shared/v2/Button\";\nimport { deletePersonAsThunk } from \"../actions/thunks\";\nimport ErrorBanner from \"../../../../shared/v2/ErrorBanner\";\nimport { clearError } from \"../actions/creators\";\n\nconst DeleteModal = ({ show, onHide, uuid, listingPersonId, onDeletePersonAsThunk, error, onClearError }) => (\n {\n onHide();\n onClearError();\n }}\n contentClassName=\"tw-w-[487px]\"\n className=\"tw-flex tw-items-center tw-justify-center\"\n >\n \n \n {error && }\n
\n Are you sure you want to remove this person from the transaction?\n
\n
\n \n {\n onHide();\n onClearError();\n }}\n >\n Cancel\n \n onDeletePersonAsThunk(uuid, listingPersonId).then(() => !error && onHide())}\n >\n Remove\n \n \n \n);\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n error: state.tdpPeopleReducer.error.error,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onDeletePersonAsThunk: (uuid, listingPersonId) => dispatch(deletePersonAsThunk(uuid, listingPersonId)),\n onClearError: () => dispatch(clearError()),\n});\n\nDeleteModal.propTypes = {\n show: bool,\n onHide: func,\n uuid: string,\n listingPersonId: string,\n onDeletePersonAsThunk: func,\n error: [],\n onClearError: func,\n};\n\nDeleteModal.defaultProps = {\n show: false,\n onHide: () => {},\n uuid: \"\",\n listingPersonId: \"\",\n onDeletePersonAsThunk: () => {},\n error: [],\n onClearError: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(DeleteModal);\n","import axios from \"axios\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport { getExternalApi } from \"@shared/externalApi\";\n\nexport const postOtherInteraction = (data, uuid) =>\n axios.post(`/api/v4/transactions/interactions?uuid=${uuid}`, data, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n\nexport const postSmsInteraction = ({ conversation, message, messagingServiceUrl, listingId }) => {\n const messagingApi = getExternalApi(messagingServiceUrl);\n\n const formData = new FormData();\n formData.append(\"conversationUuid\", conversation.uuid);\n formData.append(\"messageType\", \"standard\");\n if (message.message) formData.append(\"message\", message.message);\n if (message.media) formData.append(\"attachment\", message.media);\n if (listingId) {\n formData.append(\"attributes\", JSON.stringify([{ key: \"listing_id\", value: listingId }]));\n }\n\n return messagingApi.post(\"/Message/Sms\", formData);\n};\n\nexport const getOrCreateConversation = ({ personUuid, personPhoneNumber, messagingServiceUrl }) => {\n const messagingApi = getExternalApi(messagingServiceUrl);\n return messagingApi\n .post(\"/Conversation/WithUsers\", {\n conversationType: \"groupSms\",\n isChannel: false,\n users: [\n {\n address: personPhoneNumber,\n personUuid,\n isConversationOwner: false,\n },\n ],\n })\n .catch((err) => {\n if (err?.response?.status === 409) return { data: { ...err.response.data, isConflict: true } };\n throw err;\n });\n};\n\nexport const getSmsHistory = (payload) =>\n caseTransformingAxios.get(`/people/${payload.personId}/interactions/sms_message_history`, {\n params: { max_id: payload.maxId },\n });\n\nexport const postEmailInteraction = (interaction, uuid) =>\n axios.post(`/api/v4/transactions/interactions/email?uuid=${uuid}`, interaction, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n\nexport const getEmailTemplates = () =>\n axios.get(`/api/v4/transactions/interactions/email_templates`, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n\nexport const parseInteractionTemplate = (id, listingId, recipientId, senderId) => {\n const formData = new FormData();\n formData.append(\"id\", id);\n formData.append(\"listing_id\", listingId);\n formData.append(\"recipient_id\", recipientId);\n formData.append(\"sender_id\", senderId);\n\n return axios.post(\"/interaction_templates/parse.json\", formData, {\n headers: {\n \"X-CSRF-Token\": window.ReactOnRails.authenticityToken(),\n },\n });\n};\n\nexport const getInteractableEmails = (term) =>\n axios.get(`/interactions/interactable_emails?search=${term}`, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n","import { reverse } from \"lodash\";\nimport { transformSms } from \"../../../../Inbox/helpers/transformSms\";\n\nexport const smsHistoryAdapter = (smsHistory) => ({\n smsHistory: reverse(smsHistory?.map(transformSms)),\n sendingMessage: false,\n fetchingMessages: false,\n conversationLoaded: true,\n moreSmsToLoad: smsHistory.length === 10,\n});\n\nexport const closeModalAdapter = (bool) => ({\n closeModal: bool,\n});\n\nexport const adaptError = (err) => ({\n error: err,\n});\n","import { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport {\n postOtherInteraction,\n getEmailTemplates,\n parseInteractionTemplate,\n getInteractableEmails,\n postSmsInteraction,\n getSmsHistory,\n getOrCreateConversation,\n} from \"../api/apiWrappers\";\nimport {\n closeModal,\n errorHandler,\n sendEmailError,\n emailTemplates,\n parsedTemplate,\n interactableEmails,\n getSMSHistory,\n sendingMessage,\n fetchingMessages,\n conversationLoaded,\n moreSmsToLoad,\n setConversation,\n} from \"./creators\";\nimport { adaptError, smsHistoryAdapter } from \"../api/apiAdapters\";\n\nexport const postOtherInteractionAsThunk = (interaction, uuid) => async (dispatch) => {\n const req = postOtherInteraction(interaction, uuid);\n const [, err] = await tryCatchHandlr(req);\n\n if (err) {\n const error = adaptError(err.response.data.errors.person);\n dispatch(errorHandler(error));\n }\n dispatch(closeModal(true));\n // TODO: Re-write memory leak?\n setTimeout(() => {\n dispatch(closeModal(false));\n }, 1000);\n};\n\nexport const getEmailTemplatesAsThunk = () => async (dispatch) => {\n const req = getEmailTemplates();\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(sendEmailError(err.response.data));\n }\n dispatch(emailTemplates(res.data));\n};\n\nexport const parseInteractionTemplateAsThunk = (id, listingId, recipientId, senderId) => async (dispatch) => {\n const req = parseInteractionTemplate(id, listingId, recipientId, senderId);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(sendEmailError(err.response.data));\n }\n dispatch(parsedTemplate({ ...res.data, id }));\n};\n\nexport const getInteractableEmailsAsThunk = (searchTerm) => async (dispatch) => {\n const req = getInteractableEmails(searchTerm);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(sendEmailError(err.response.data));\n }\n dispatch(interactableEmails(res.data));\n};\n\nexport const getOrCreateConversationAsThunk = (payload) => async (dispatch, getState) => {\n const { messagingServiceUrl } = getState().tdpDetailsReducer;\n getOrCreateConversation({ ...payload, messagingServiceUrl })\n .catch((err) => {\n if (err.response.status === 409) return { data: { ...err.response.data, isConflict: true } };\n throw err;\n })\n .then(({ data }) => {\n dispatch(setConversation(data));\n })\n .catch((err) => {\n const error = err.response?.data.errors ? err.response.data.errors : [err.response?.data];\n dispatch(errorHandler(error));\n });\n};\n\nexport const getSmsHistoryAsThunk = (payload) => async (dispatch) => {\n getSmsHistory(payload)\n .then(({ data }) => {\n const details = smsHistoryAdapter(data);\n dispatch(getSMSHistory(details));\n dispatch(sendingMessage(false));\n dispatch(fetchingMessages(false));\n dispatch(conversationLoaded(true));\n dispatch(moreSmsToLoad(data.length === 10));\n })\n .catch((err) => {\n const error = adaptError(err.response.data.errors);\n dispatch(errorHandler(error));\n });\n};\n\nexport const postSmsInteractionAsThunk =\n ({ message, personUuid, personPhoneNumber }) =>\n async (dispatch, getState) => {\n const {\n tdpDetailsReducer: {\n messagingServiceUrl,\n headerDetails: { listing_id },\n },\n tdpInteractionsReducer: { conversation },\n } = getState();\n dispatch(sendingMessage(true));\n const req = postSmsInteraction({ conversation, message, messagingServiceUrl, listingId: listing_id });\n const [, err] = await tryCatchHandlr(req);\n\n if (err) {\n const error = adaptError(err.response.data.errors);\n dispatch(errorHandler(error));\n }\n\n dispatch(sendingMessage(false));\n dispatch(\n getSmsHistoryAsThunk({\n personId: message.person_to_text,\n maxId: null,\n personUuid,\n personPhoneNumber,\n messagingServiceUrl,\n }),\n );\n };\n\nexport const resetMessageHistory = () => (dispatch) => {\n dispatch(errorHandler([]));\n dispatch(setConversation(null));\n dispatch(getSMSHistory([]));\n dispatch(fetchingMessages(true));\n dispatch(conversationLoaded(false));\n dispatch(moreSmsToLoad(true));\n dispatch(sendingMessage(false));\n};\n","/* eslint-disable camelcase */\nimport React from \"react\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport personDetailCss from \"../../../../PersonDetail/components/person-detail-styles.module.css\";\n\nexport const OTHER_OPTIONS = [\n {\n label: \"Other\",\n value: \"other\",\n },\n {\n label: \"Pop By\",\n value: \"pop_by\",\n },\n {\n label: \"Mail\",\n value: \"mail\",\n },\n {\n label: \"Social Media\",\n value: \"social_media\",\n },\n];\n\nexport const emailStatus = (unsubscribedMessageTypes, emailDetails) => {\n if (unsubscribedMessageTypes?.length > 0) {\n return (\n
\n \n }\n content=\"Unsubscribed Email\"\n />\n
\n );\n }\n switch (emailDetails !== undefined && emailDetails[0]?.is_verified) {\n case true:\n return (\n
\n \n }\n content=\"Valid Email\"\n />\n
\n );\n case false:\n return (\n
\n \n }\n content=\"Email may be invalid\"\n />\n
\n );\n case null:\n return (\n
\n \n }\n content=\"Unverified Email\"\n />\n
\n );\n default:\n return null;\n }\n};\n\nexport const otherEmailDetails = (emailDetails) => {\n const otherEmails = emailDetails.filter((d) => d.name === \"email\" && d.position !== 1);\n return otherEmails;\n};\n\nexport const resultsExist = (results) => results.length > 0;\n\n// eslint-disable-next-line no-unneeded-ternary\nexport const sendMeACopy = (interaction) => (interaction.message.send_me_a_copy === 1 ? true : false);\n\nexport const SMS_IN = \"sms_in\";\nexport const SMS_OUT = \"sms_out\";\n\nexport const isSms = (intType, smsInOrOut) => intType === smsInOrOut;\n","import React, { useState, useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, number, string } from \"prop-types\";\nimport moment from \"moment\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Modal from \"@shared/v2/Modal\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Button from \"@shared/v2/Button\";\nimport { postOtherInteractionAsThunk } from \"../actions/thunks\";\nimport { OTHER_OPTIONS } from \"../api/helpers\";\n\nconst Other = ({ show, onHide, personId, currentUserId, onPostOtherInteraction, closeModal, uuid }) => {\n const [otherInteraction, setInteraction] = useState({\n interaction_type: OTHER_OPTIONS[0],\n comment: \"\",\n contingency_rule: {},\n contingent: false,\n externally_visible: false,\n interacted_at: moment(new Date()).format(),\n marked_as_read: true,\n person_id: personId,\n user_id: currentUserId,\n uuid,\n });\n\n const handleSave = () => {\n try {\n onPostOtherInteraction(\n {\n ...otherInteraction,\n interaction_type: otherInteraction.interaction_type.value,\n },\n uuid,\n );\n\n setInteraction({\n ...otherInteraction,\n interaction_type: OTHER_OPTIONS[0],\n comment: \"\",\n });\n } catch (e) {\n // console.log(e)\n }\n };\n\n useEffect(() => {\n if (closeModal) {\n onHide(false);\n }\n }, [closeModal]);\n\n return (\n onHide(false)}\n contentClassName=\"tw-w-[616px]\"\n className=\"tw-flex tw-items-center tw-justify-center\"\n >\n \n \n
\n setInteraction({ ...otherInteraction, interacted_at: moment(date).format() })}\n />\n setInteraction({ ...otherInteraction, interaction_type: e })}\n containerClassName=\"tw-flex-1\"\n />\n
\n \n Notes\n setInteraction({ ...otherInteraction, comment: text })}\n />\n \n }\n value={otherInteraction.comment}\n onChange={(e) => setInteraction({ ...otherInteraction, comment: e.target.value })}\n name=\"comment\"\n multiline\n rows={5}\n />\n
\n \n \n \n \n \n );\n};\n\nOther.propTypes = {\n show: bool,\n onHide: func,\n personId: number,\n currentUserId: number,\n onPostOtherInteraction: func.isRequired,\n closeModal: bool.isRequired,\n uuid: string,\n};\n\nOther.defaultProps = {\n show: false,\n onHide: () => {},\n personId: \"\",\n currentUserId: \"\",\n uuid: \"\",\n};\n\nconst mapStateToProps = (state) => ({\n personId: state.tdpDetailsReducer.person.data.attributes.id,\n currentUserId: state.tdpDetailsReducer.currentUser.id,\n closeModal: state.tdpInteractionsReducer.closeModal,\n uuid: state.tdpDetailsReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onPostOtherInteraction: (data, uuid) => dispatch(postOtherInteractionAsThunk(data, uuid)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Other);\n","/* eslint-disable camelcase */\nimport React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { bool, func, shape, arrayOf, string, number } from \"prop-types\";\nimport { submitSendEmail, clearEmailState } from \"../../../../LeadIndex/actions/default\";\nimport { sendEmailError, clearEmailError } from \"../actions/creators\";\nimport Modal from \"../../../../shared/v2/Modal\";\nimport PersonInteractionEmailForm from \"../../../../PersonDetail/components/PersonInteractionEmailForm\";\n\nconst Email = ({\n show,\n onHide,\n senderId,\n onSendEmailError,\n person,\n emailTemplates,\n onSubmitSendEmail,\n uuid,\n emailErrors,\n onClearEmailState,\n isEmailSent,\n listingId,\n onClearEmailError,\n}) => {\n useEffect(() => {\n if (isEmailSent) {\n onHide(false);\n onClearEmailError();\n }\n }, [isEmailSent]);\n\n const submitEmail = () => {\n onSubmitSendEmail();\n\n setTimeout(() => {\n onHide();\n onClearEmailState();\n onClearEmailError();\n }, 5000);\n };\n\n const handleSubmitEmailError = (err) => {\n const data = err?.response?.data;\n let errors = data?.content || data?.error || \"Whoops something went wrong! Try again later.\";\n if (typeof data?.errors === \"object\" || typeof data?.error === \"object\") {\n const firstKey = Object.keys(data.errors || data.error)[0];\n errors = `${firstKey} ${data.errors[firstKey].join(\", \")}`;\n }\n\n onSendEmailError({ errors, isSupportError: errors.startsWith(\"We apologize\") });\n };\n\n return (\n {\n onHide();\n onClearEmailState();\n onClearEmailError();\n }}\n className=\"tw-flex tw-items-center tw-justify-center tm-pl-[25px] tw-mr-[25px]\"\n contentClassName=\"tw-flex tw-flex-col tw-gap-[32px] tw-w-[616px] tw-max-h-[90vh] tw-overflow-hidden\"\n closeOnEscape={false}\n >\n \n \n \n \n \n );\n};\n\nEmail.propTypes = {\n uuid: string,\n show: bool,\n onHide: func,\n senderId: func,\n isEmailSent: bool,\n onSubmitSendEmail: func,\n person: shape({}),\n emailTemplates: arrayOf(shape({})),\n onSendEmailError: func,\n onClearEmailState: func,\n listingId: number.isRequired,\n emailErrors: shape({}),\n onClearEmailError: func,\n};\n\nEmail.defaultProps = {\n uuid: \"\",\n show: false,\n onHide: () => {},\n senderId: () => {},\n isEmailSent: false,\n onSubmitSendEmail: null,\n person: {},\n emailTemplates: {},\n onSendEmailError: () => {},\n onClearEmailState: null,\n emailErrors: null,\n onClearEmailError: () => {},\n};\n\nconst mapStateToProps = (state) => ({\n senderId: state.tdpDetailsReducer.currentUser.id,\n emailErrors: state.tdpInteractionsReducer.sendEmailError,\n isEmailSent: state.tdpInteractionsReducer.isEmailSent,\n emailTemplates: state.tdpInteractionsReducer.emailTemplates,\n uuid: state.tdpDetailsReducer.uuid,\n listingId: state.tdpDetailsReducer.headerDetails.listing_id,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSubmitSendEmail: () => dispatch(submitSendEmail()),\n onSendEmailError: (err) => dispatch(sendEmailError(err)),\n onClearEmailState: () => dispatch(clearEmailState()),\n onClearEmailError: () => dispatch(clearEmailError()),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Email);\n","/* eslint-disable no-nested-ternary */\nimport React, { useState, useMemo } from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, bool, shape, number, func, arrayOf } from \"prop-types\";\nimport { viewPhoneFromFlat } from \"@shared/models/Communications/viewPhone\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Avatar from \"../../../../shared/v2/Avatar\";\nimport Check from \"../../../../shared/v2/Icomoon/Icons/Check\";\nimport Tooltip from \"../../../UI/ToolTip\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport { submitSendEmail } from \"../../../../LeadIndex/actions/default\";\nimport {\n Envelope,\n Phone,\n Chat,\n Calendar,\n Edit,\n CloneRegularV6,\n AngleRightSolidV6,\n BuildingSolidV6,\n} from \"../../../../shared/v2/Icomoon\";\nimport EllipsisIcon from \"../../../../Transactions/components/icons/EllipsisIcon\";\nimport Trash from \"../../../../shared/v2/Icomoon/Icons/Trash\";\nimport EditModal from \"../EditModal\";\nimport DeleteModal from \"../DeleteModal\";\nimport Other from \"../../Interactions/Other\";\nimport SmsModal from \"../../../../SmsModal/components/SmsModal\";\nimport Email from \"../../Interactions/Email\";\nimport { setCallParams as setCallParameters } from \"../../../../reducers/dialerReducer/dialerReducer\";\n\nconst isActionElement = (rootEl, el) => {\n let currEl = el;\n while (currEl !== rootEl) {\n if (currEl === null || [\"BUTTON\", \"A\"].includes(currEl.tagName)) return true;\n currEl = currEl.parentElement;\n }\n return false;\n};\n\n// requires tw-group class on parent element\nconst CopyButton = ({ copyText }) => (\n navigator.clipboard.writeText(copyText)}\n >\n Copy\n \n);\n\nCopyButton.propTypes = {\n copyText: string.isRequired,\n};\n\nconst Person = ({\n person,\n title,\n isCollaborator,\n isClient,\n isAdmin,\n setAppointmentModalUser,\n setCallParams,\n currentUserId,\n team,\n messagingServiceUrl,\n listingId,\n listingUuid,\n gabbiAi,\n}) => {\n const [tooltipEnabled, setToolTipEnabled] = useState(false);\n const [displayExpand, setDisplayExpand] = useState(false);\n const [viewPortal, setViewPortal] = useState(false);\n const [toggleEditModal, setToggleEditModal] = useState(false);\n const [toggleDeleteModal, setToggleDeleteModal] = useState(false);\n const [toggleSmsInteractModal, setToggleSmsInteractModal] = useState(false);\n const [toggleOtherInteractModal, setToggleOtherInteractModal] = useState(false);\n const [toggleEmailInteractModal, setToggleEmailInteractModal] = useState(false);\n const hasEditPeoplePrivilages = useMemo(\n () => isAdmin || team.some((member) => member.person.call_interaction.user_id === currentUserId),\n [team, currentUserId],\n );\n const [showDisabledTrashToolTip, setShowDisabledTrashToolTip] = useState(false);\n\n const phones = useMemo(\n () => person.person_dialable_phone_numbers?.map(viewPhoneFromFlat),\n [person.person_dialable_phone_numbers, currentUserId],\n );\n const primaryPhone = useMemo(\n () =>\n phones?.reduce((acc, phone) => {\n if (phone.isPrimary || (phone.position && phone.position < acc.position)) {\n return phone;\n }\n return acc;\n }, phones[0]),\n [phones],\n );\n\n const smsPerson = useMemo(\n () => ({\n data: {\n attributes: {\n first_name: person.first_name,\n last_name: person.last_name,\n primary_phone_number: person.phone_number,\n id: person.id,\n uuid: person.uuid,\n },\n },\n }),\n [person],\n );\n\n const closeModal = () => {\n setToggleEmailInteractModal(false);\n };\n\n return (\n setDisplayExpand(true)}\n onMouseLeave={!viewPortal ? () => setDisplayExpand(false) : null}\n onClick={(e) => {\n if (!isActionElement(e.currentTarget, e.target)) setViewPortal((open) => !open);\n }}\n role=\"button\"\n tabIndex=\"0\"\n onKeyDown={(e) => {\n if ([\"Enter\"].includes(e.key)) setViewPortal((open) => !open);\n }}\n >\n
\n
\n \n \n \n
\n
\n {person.role?.title}\n
\n\n
\n {person.viewer_portal_access && (\n <>\n
\n {tooltipEnabled && (\n \n )}\n
\n\n setToolTipEnabled(true)}\n onMouseLeave={() => setToolTipEnabled(false)}\n className={`${\n title === \"Team\" && \"tw-hidden\"\n } tw-border-solid tw-border-[2px] tw-rounded-full tw-w-[16px] tw-h-[16px] tw-flex tw-justify-center tw-items-center tw-mt-[3px] tw-mr-[5px]`}\n >\n \n
\n \n )}\n
\n \n {person.name}\n \n
\n
\n
\n
\n \n \n {viewPortal && (\n
\n
\n setToggleEmailInteractModal(true)} disabled={!person.email_address}>\n \n \n \n setCallParams({\n leadUuids: [person.uuid],\n listingUuid,\n callSource: \"Transaction Details Page\",\n })\n }\n disabled={!person.phone_number}\n >\n \n \n setToggleSmsInteractModal(true)} disabled={!person.phone_number}>\n \n \n setAppointmentModalUser(person)}>\n \n \n setToggleOtherInteractModal(true)}>\n \n \n
\n
\n {person.email_address && (\n
\n \n
{person.email_address}
\n \n
\n )}\n {person.phone_number && (\n
\n \n {person.phone_number}\n \n
\n )}\n {isCollaborator && person.company && (\n
\n \n {person.company}\n
\n )}\n
\n {hasEditPeoplePrivilages && (\n
\n setToggleEditModal(true)}>\n \n \n \n setShowDisabledTrashToolTip((prev) => !prev)}\n onMouseLeave={() => setShowDisabledTrashToolTip((prev) => !prev)}\n className={`tw-absolute !tw-bg-transparent tw-border-0 ${!person.primary && \"tw-hidden\"}`}\n />\n setToggleDeleteModal(true)} disabled={person.primary}>\n \n \n
\n )}\n
\n )}\n \n \n \n setToggleSmsInteractModal(false)}\n person={smsPerson}\n phone={primaryPhone}\n messagingServiceUrl={messagingServiceUrl}\n listingId={listingId}\n />\n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n isAdmin: state.tdpDetailsReducer.isAdmin,\n interaction: state.tdpInteractionsReducer.interaction,\n team: state.tdpPeopleReducer.people?.team_members,\n currentUserId: state.tdpDetailsReducer.currentUser.id,\n messagingServiceUrl: state.tdpDetailsReducer.messagingServiceUrl,\n listingId: state.tdpDetailsReducer.headerDetails.listing_id,\n listingUuid: state.tdpDetailsReducer.uuid,\n gabbiAi: state.tdpDetailsReducer.gabbiAi,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onSubmitSendEmail: () => dispatch(submitSendEmail()),\n setCallParams: (payload) => dispatch(setCallParameters(payload)),\n});\n\nPerson.propTypes = {\n person: shape({\n id: number,\n avatar: string,\n name: string,\n role: shape({\n title: string,\n id: number,\n }),\n viewer_portal_access: bool,\n primary: bool,\n }),\n title: string,\n isCollaborator: bool,\n isClient: bool,\n isAdmin: bool,\n setAppointmentModalUser: func.isRequired,\n setCallParams: func.isRequired,\n currentUserId: string,\n team: arrayOf(shape({})),\n messagingServiceUrl: string.isRequired,\n listingId: number.isRequired,\n listingUuid: string.isRequired,\n gabbiAi: bool.isRequired,\n};\n\nPerson.defaultProps = {\n person: {\n id: 0,\n avatar: \"\",\n name: \"\",\n role: {\n title: \"\",\n id: 0,\n },\n viewer_portal_access: false,\n primary: false,\n },\n title: \"\",\n isCollaborator: false,\n isClient: false,\n isAdmin: false,\n currentUserId: null,\n team: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Person);\n","import React from \"react\";\nimport { func, bool, arrayOf, shape, string } from \"prop-types\";\nimport Person from \"../Person\";\nimport { AngleRightSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst PeopleSubCategories = ({ setDropdown, dropdown, data, title, setAppointmentModalUser }) => (\n
\n setDropdown((open) => !open)}\n >\n \n
{`${title} (${data?.length})`}
\n \n\n {!dropdown && (\n
\n {data?.map((listingPerson) => {\n const person = {\n ...listingPerson.person,\n ...{\n role: listingPerson.role,\n viewer_portal_access: listingPerson.viewer_portal_access,\n email_updates: listingPerson.email_updates,\n listing_person_id: listingPerson.id,\n primary: listingPerson?.primary,\n },\n };\n return (\n \n );\n })}\n
\n )}\n
\n);\n\nPeopleSubCategories.propTypes = {\n setDropdown: func.isRequired,\n dropdown: bool.isRequired,\n data: arrayOf(shape({})),\n title: string,\n setAppointmentModalUser: func.isRequired,\n};\n\nPeopleSubCategories.defaultProps = {\n data: [],\n title: \"\",\n};\n\nexport default PeopleSubCategories;\n","import React from \"react\";\nimport { func, node } from \"prop-types\";\n\nconst EllipsisButton = ({ children, onClick }) => (\n \n {children}\n \n);\n\nEllipsisButton.propTypes = {\n children: node.isRequired,\n onClick: func.isRequired,\n};\n\nconst EllipsisDropdown = ({ setToggleAddClientModal, setToggleAddCollaboratorModal, setToggleAddModal }) => (\n
\n setToggleAddClientModal(true)}>Client\n setToggleAddCollaboratorModal(true)}>Collaborator\n setToggleAddModal(true)}>Team Member\n
\n);\n\nEllipsisDropdown.propTypes = {\n setToggleAddClientModal: func.isRequired,\n setToggleAddCollaboratorModal: func.isRequired,\n setToggleAddModal: func.isRequired,\n};\n\nexport default EllipsisDropdown;\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport { connect } from \"react-redux\";\nimport { string, func, arrayOf, shape, bool } from \"prop-types\";\nimport _ from \"lodash\";\nimport IconButton from \"../../../shared/v2/IconButton/IconButton\";\nimport Plus from \"../../../shared/v2/Icomoon/Icons/Plus\";\nimport AddModal from \"./AddModal\";\nimport TaskFormLogAppointment from \"../../../Tasks/components/TaskFormLogAppointment\";\nimport PeopleSubCategories from \"./PeopleSubCategories\";\nimport { getAllPeopleAsThunk } from \"./actions/thunks\";\nimport { getEmailTemplatesAsThunk } from \"../Interactions/actions/thunks\";\nimport EllipsisDropdown from \"./EllipsisDropdown\";\nimport useOnClickOutsideRef from \"../../Header/api/hooks\";\n\nconst People = ({\n uuid,\n currentUserUUID,\n currentUserId,\n accountUUID,\n isAdmin,\n onGetAllPeopleAsThunk,\n clients,\n collaborators,\n team,\n roles,\n personUuid,\n onGetEmailTemplatesAsThunk,\n}) => {\n const [clientsDropdown, setClientsDropdown] = useState(false);\n const [collaboratorsDropdown, setCollaboratorsDropdown] = useState(false);\n const [teamDropdown, setTeamDropdown] = useState(false);\n const [addDropdownOpen, setAddDropdownOpen] = useState(false);\n const [toggleAddModal, setToggleAddModal] = useState(false);\n const [toggleAddClientModal, setToggleAddClientModal] = useState(false);\n const [toggleAddCollaboratorModal, setToggleAddCollaboratorModal] = useState(false);\n const [appointmentModalUser, setAppointmentModalUser] = useState(null);\n const hasAddPeoplePrivilages = useMemo(\n () => isAdmin || team.some((member) => member.person.call_interaction.user_id === currentUserId),\n [team, currentUserId],\n );\n\n useEffect(() => {\n if (toggleAddModal || toggleAddClientModal || toggleAddCollaboratorModal) setAddDropdownOpen(false);\n }, [toggleAddModal, toggleAddClientModal, toggleAddCollaboratorModal]);\n\n useEffect(() => {\n onGetAllPeopleAsThunk(uuid);\n }, [uuid]);\n\n useEffect(() => {\n onGetEmailTemplatesAsThunk();\n }, [personUuid]);\n\n const ellipsisModal = useOnClickOutsideRef(() => setAddDropdownOpen(false));\n\n return (\n <>\n
\n
People
\n {hasAddPeoplePrivilages && (\n
\n setAddDropdownOpen((prev) => !prev)}>\n \n \n {addDropdownOpen && (\n \n )}\n
\n )}\n
\n
\n \n \n \n
\n {appointmentModalUser && (\n setAppointmentModalUser(null)}\n contactEmail={appointmentModalUser?.email_address} // email of the person to make the apt for\n current_user={{ uuid: currentUserUUID }} // current logged in user\n person={appointmentModalUser} // the person we are making an apt for\n account={{ uuid: accountUUID }} // current users account ID\n user={appointmentModalUser?.primary_agent} // primary agent uuid\n isfromIndex // show the right modal\n isSchedulingAppointment // show the right modal fields\n onClose={() => setAppointmentModalUser(null)} // clear the user when the modal closes\n v4TaskApi // use the new api\n listingUUID={uuid}\n />\n )}\n \n \n \n \n );\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n onGetAllPeopleAsThunk: (uuid) => dispatch(getAllPeopleAsThunk(uuid)),\n onGetEmailTemplatesAsThunk: () => dispatch(getEmailTemplatesAsThunk()),\n});\n\nconst mapStateToProps = (state) => ({\n isAdmin: state.tdpDetailsReducer.isAdmin,\n accountUUID: state.tdpDetailsReducer.accountUUID,\n currentUserUUID: state.tdpDetailsReducer.currentUser?.uuid,\n currentUserId: state.tdpDetailsReducer.currentUser.id,\n uuid: state.tdpDetailsReducer.uuid,\n personUuid: state.tdpDetailsReducer.person.data.attributes.uuid,\n clients: state.tdpPeopleReducer.people?.listing_clients,\n collaborators: state.tdpPeopleReducer.people?.collaborators,\n team: state.tdpPeopleReducer.people?.team_members,\n roles: {\n client: _.uniqBy(state.tdpPeopleReducer.people.roles?.client, \"title\"),\n collaborator: _.uniqBy(state.tdpPeopleReducer.people.roles?.collaborator, \"title\"),\n team_member: _.uniqBy(state.tdpPeopleReducer.people.roles?.team_member, \"title\"),\n },\n});\n\nPeople.propTypes = {\n uuid: string,\n isAdmin: bool,\n currentUserUUID: string,\n currentUserId: string,\n accountUUID: string,\n onGetAllPeopleAsThunk: func,\n clients: arrayOf(shape({})),\n collaborators: arrayOf(shape({})),\n team: arrayOf(shape({})),\n roles: shape({}),\n personUuid: string,\n onGetEmailTemplatesAsThunk: func,\n};\n\nPeople.defaultProps = {\n uuid: null,\n isAdmin: false,\n currentUserUUID: null,\n currentUserId: null,\n accountUUID: false,\n clients: [],\n collaborators: [],\n team: [],\n roles: {\n client: [],\n collaborator: [],\n team_member: [],\n },\n personUuid: null,\n onGetAllPeopleAsThunk: () => {},\n onGetEmailTemplatesAsThunk: () => {},\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(People);\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { DocumentPropType } from \"../propTypes\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport { errorForBanner } from \"../../../../shared/v2/ErrorBanner\";\nimport Modal from \"../../../../shared/v2/Modal\";\nimport { toggleDeleteModal } from \"../actions/creators\";\nimport { deleteDocumentsAsThunk } from \"../actions/thunks\";\n\nconst getDocumentName = (documentId, documents) =>\n documents.find((document) => document.id === documentId).fileName;\n\nconst ModalDeleteDocuments = ({ documents, isCDA, documentIdsToDelete, errors, isModalOpen, dispatch }) => {\n const [numDocumentIdsToDelete, setNumDocumentIdsToDelete] = useState(0);\n\n const handleHide = () => {\n dispatch(toggleDeleteModal([], false));\n };\n\n const handleDelete = () => {\n dispatch(deleteDocumentsAsThunk(documentIdsToDelete, isCDA));\n };\n\n useEffect(() => {\n if (documentIdsToDelete.length > 0) {\n setNumDocumentIdsToDelete(documentIdsToDelete.length);\n }\n }, [documentIdsToDelete]);\n\n return (\n \n 1 ? `Delete ${numDocumentIdsToDelete} documents?` : \"Delete this document?\"\n }\n errors={errors.map(errorForBanner)}\n closeButton\n />\n\n {documentIdsToDelete.length === 1 && (\n \n

Are you sure you want to delete this document?

\n

{getDocumentName(documentIdsToDelete[0], documents)}

\n

Please note that this action cannot be undone.

\n
\n )}\n\n \n \n\n \n Delete\n \n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n documents: state.tdpDocumentsReducer.isCDA\n ? state.tdpDocumentsReducer.CDAdocuments\n : state.tdpDocumentsReducer.documents,\n isCDA: state.tdpDocumentsReducer.isCDA,\n documentIdsToDelete: state.tdpDocumentsReducer.documentIdsToDelete,\n errors: state.tdpDocumentsReducer.deleteErrors,\n isModalOpen: state.tdpDocumentsReducer.isDeleteModalOpen,\n});\n\nModalDeleteDocuments.propTypes = {\n documents: PropTypes.arrayOf(DocumentPropType),\n documentIdsToDelete: PropTypes.arrayOf(PropTypes.number),\n errors: PropTypes.arrayOf(PropTypes.string),\n isModalOpen: PropTypes.bool,\n isCDA: PropTypes.bool,\n dispatch: PropTypes.func,\n};\n\nModalDeleteDocuments.defaultProps = {\n documents: [],\n documentIdsToDelete: [],\n errors: [],\n isModalOpen: false,\n isCDA: false,\n dispatch: () => {},\n};\n\nexport default connect(mapStateToProps)(ModalDeleteDocuments);\n","import React, { useMemo, useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Checkbox from \"../../../../../shared/v2/Checkbox\";\nimport { ContextPropType } from \"../../propTypes\";\n\nconst DocumentCheckbox = ({ context, isSelected, onSelect, id }) => {\n const checkboxId = useMemo(() => `${context}-${String(id)}`, [context, id]);\n\n const [checked, setChecked] = useState(isSelected);\n\n useEffect(() => {\n setChecked(isSelected);\n }, [isSelected]);\n\n const handleClick = (e) => {\n e.stopPropagation();\n };\n\n const handleOnChange = (checkStatus) => {\n setChecked(checkStatus);\n onSelect(checkStatus, id);\n };\n\n return (\n
\n {\n handleOnChange(e.target.checked);\n }}\n data-cy=\"document-list-item-checkbox\"\n />\n
\n );\n};\n\nDocumentCheckbox.propTypes = {\n context: ContextPropType.isRequired,\n isSelected: PropTypes.bool,\n onSelect: PropTypes.func,\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n};\n\nDocumentCheckbox.defaultProps = {\n isSelected: false,\n onSelect: () => {},\n id: \"\",\n};\n\nexport default DocumentCheckbox;\n","import React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFile } from \"@fortawesome/free-solid-svg-icons\";\nimport { ContextPropType, DocumentPropType } from \"../../propTypes\";\n\nimport TextInput from \"../../../../../shared/v2/TextInput\";\nimport Tooltip from \"../../../../../shared/v2/Tooltip\";\nimport { Edit, Image, Pdf, Word } from \"../../../../../shared/v2/Icomoon\";\n\nimport { useClickOutside } from \"../../../../../shared/hookHelpers\";\n\nexport const getIcon = (context, fileType) => {\n const type = fileType?.trim().toLowerCase();\n const iconProps =\n context === \"documents-sidebar\"\n ? {\n className: \"tw-text-theme-icon-color tw-w-40px tw-h-40px\",\n size: \"custom\",\n }\n : {\n className: \"tw-text-theme-icon-color\",\n size: \"xxxl\",\n };\n switch (type) {\n case \"jpg\":\n case \"jpeg\":\n case \"png\":\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n case \"pdf\":\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n case \"doc\":\n case \"docx\":\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n default:\n return (\n \n );\n }\n};\n\nconst sidebarClasses = {\n width: \"tw-w-136px\",\n maxWidth: \"tw-max-w-136px\",\n margin: \"tw-mr-10px\",\n};\n\nconst tableClasses = {\n width: \"tw-w-180px\",\n maxWidth: \"tw-max-w-180px\",\n margin: \"tw-mr-12px\",\n};\n\nconst FileInformation = ({\n context,\n editFilename,\n setEditFilename,\n document,\n renameDocument,\n previewDocument,\n clearDocumentErrors,\n onClickOutside,\n}) => {\n const classes = context === \"documents-sidebar\" ? sidebarClasses : tableClasses;\n\n const [newName, setNewName] = useState(document.nakedName);\n const [renameError, setRenameError] = useState(\"\");\n\n // When a rename error happens, the input remains open,\n // and if the user continues to press the Enter key or click outside it without changing the name,\n // it will keep making the same rename request over and over again,\n // so we need this to make sure that a rename request only happens if the name has actually changed\n const [hasNewNameChanged, setHasNewNameChanged] = useState(false);\n\n // We need to keep track of when the input was open and the user clicked outside,\n // to prevent calling `submitRename` twice\n const [clickedOutside, setClickedOutside] = useState(false);\n\n const ref = useRef(null);\n\n useEffect(() => {\n setNewName(document.nakedName);\n setHasNewNameChanged(false);\n }, [document.nakedName]);\n\n useEffect(() => {\n setEditFilename(document.renameErrors.length > 0);\n setRenameError(document.renameErrors.join(\" \"));\n setHasNewNameChanged(false);\n }, [document.renameErrors]);\n\n const handleClick = (e) => {\n if (document.isUploading || !document.canRename) return;\n\n e.preventDefault();\n e.stopPropagation();\n setEditFilename(true);\n };\n\n const submitRename = () => {\n const newNameTrimmed = newName.trim();\n\n if (!newNameTrimmed || newNameTrimmed === document.nakedName) {\n if (renameError) {\n // Clean rename errors when the name is empty or when it hasn't changed,\n // because in those cases a rename request is not made and the name remains the same\n clearDocumentErrors(document.id);\n } else {\n setEditFilename(false);\n }\n return;\n }\n\n // Only send a rename request if the name has actually changed\n if (!hasNewNameChanged) {\n return;\n }\n\n const newNameComplete = `${newName}${document.fileExtension}`;\n\n renameDocument(document.id, newNameComplete);\n };\n\n const handleKeyDown = (e) => {\n // Propagating this event triggers the `handleKeyDownToEdit` function in the container `div`\n e.stopPropagation();\n\n if (e.key === \"Enter\") {\n submitRename();\n }\n };\n\n const handleKeyDownToEdit = (e) => {\n if (e.key === \"Enter\") {\n handleClick(e);\n }\n };\n\n const handleInputChange = (e) => {\n setNewName(e.target.value);\n setHasNewNameChanged(true);\n };\n\n const handleInputBlur = () => {\n if (clickedOutside) {\n // Do not call `submitRename` a second time if it was already called from `handleClickOutside`\n setClickedOutside(false);\n return;\n }\n\n submitRename();\n };\n\n const handleClickOutside = () => {\n setClickedOutside(true);\n\n onClickOutside();\n submitRename();\n };\n\n const handleKeyDownToPreview = (e) => {\n if (e.key === \"Enter\") {\n previewDocument();\n }\n };\n\n useClickOutside(ref, handleClickOutside);\n\n return (\n
\n );\n};\n\nFileInformation.propTypes = {\n context: ContextPropType.isRequired,\n editFilename: PropTypes.bool,\n setEditFilename: PropTypes.func,\n document: DocumentPropType,\n renameDocument: PropTypes.func,\n previewDocument: PropTypes.func,\n clearDocumentErrors: PropTypes.func,\n onClickOutside: PropTypes.func,\n};\n\nFileInformation.defaultProps = {\n editFilename: false,\n setEditFilename: () => {},\n document: {},\n renameDocument: () => {},\n previewDocument: () => {},\n clearDocumentErrors: () => {},\n onClickOutside: () => {},\n};\n\nexport default FileInformation;\n","import React from \"react\";\nimport { DocumentPropType } from \"../../propTypes\";\n\nimport Tooltip from \"../../../../../shared/v2/Tooltip\";\nimport { getInitials } from \"../../../../../shared/v2/utils\";\n\nconst UploadedBy = ({ document }) => (\n \n);\n\nUploadedBy.propTypes = {\n document: DocumentPropType,\n};\n\nUploadedBy.defaultProps = {\n document: {},\n};\n\nexport default UploadedBy;\n","import React from \"react\";\nimport moment from \"moment\";\nimport { DocumentPropType } from \"../../propTypes\";\n\nconst TimeUploaded = ({ document }) => (\n \n);\n\nTimeUploaded.propTypes = {\n document: DocumentPropType,\n};\n\nTimeUploaded.defaultProps = {\n document: {},\n};\n\nexport default TimeUploaded;\n","export const contextContainer = \"tw-flex tw-items-center tw-justify-center tw-ml-auto\";\nexport const overlayContainer =\n \"tw-absolute tw-bg-white tw-w-[120px] tw-rounded-4px tw-right-full tw-top-10px tw-py-4px tw-shadow-md\";\nexport const actionClassNames =\n \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-text-neutral-gray-75 tw-bg-white hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0\";\nexport const actionIconClassName = \"tw-mr-8px tw-text-neutral-gray-50\";\nexport const downloadClassNames =\n \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-text-neutral-gray-75 tw-bg-white hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0 hover:tw-text-neutral-gray-75 visited:tw-text-neutral-gray-75 hover:tw-no-underline\";\nexport const trashClassNames =\n \"tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-bg-white tw-text-semantic-red-100 hover:tw-bg-neutral-gray-5 active:tw-bg-neutral-gray-15 tw-pl-12px tw-pt-9px tw-pb-9px tw-m-0 tw-border-0 tw-border-t tw-border-solid tw-border-neutral-gray-10\";\nexport const trashIconClassName = \"tw-mr-8px tw-text-semantic-red-100\";\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DocumentPropType } from \"../../propTypes\";\n\nimport { Overlay } from \"../../../../../shared/v1/Overlay\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport {\n VerticalDots,\n Download,\n Trash,\n VisibilityVisible,\n Edit,\n} from \"../../../../../shared/v2/Icomoon/Icons\";\n\nimport {\n contextContainer,\n overlayContainer,\n actionClassNames,\n actionIconClassName,\n downloadClassNames,\n trashClassNames,\n trashIconClassName,\n} from \"./Context.styles\";\n\nconst Context = ({ document, triggerRename, deleteDocuments, previewDocument }) => {\n const [isOpen, setIsOpen] = useState(false);\n\n const handleButtonClick = (e) => {\n e.stopPropagation();\n setIsOpen(!isOpen);\n };\n\n const handleOverlayClick = (e) => {\n e.stopPropagation();\n };\n\n const onHideHandler = () => {\n setIsOpen(false);\n };\n\n const handleDelete = () => {\n deleteDocuments([document.id]);\n };\n\n const handleRename = () => {\n setIsOpen(false);\n triggerRename();\n };\n\n const handleKeyDownPreview = (e) => {\n if (e.key === \"Enter\") {\n previewDocument();\n }\n };\n\n const handleKeyDownRename = (e) => {\n if (e.key === \"Enter\") {\n handleRename();\n }\n };\n\n const handleKeyDownDelete = (e) => {\n if (e.key === \"Enter\") {\n handleDelete();\n }\n };\n\n return (\n \n );\n};\n\nContext.propTypes = {\n document: DocumentPropType,\n triggerRename: PropTypes.func,\n deleteDocuments: PropTypes.func,\n previewDocument: PropTypes.func,\n};\n\nContext.defaultProps = {\n document: {},\n triggerRename: () => {},\n deleteDocuments: () => {},\n previewDocument: () => {},\n};\n\nexport default Context;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport moment from \"moment\";\n\nimport { Download, Trash } from \"../../../../../shared/v2/Icomoon\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { toggleDeleteModal } from \"../../actions/creators\";\nimport { DocumentPropType } from \"../../propTypes\";\n\nconst downloadDocument = (fileName, url) => {\n const anchor = document.createElement(\"a\");\n anchor.setAttribute(\"download\", fileName);\n anchor.setAttribute(\"href\", url);\n anchor.setAttribute(\"target\", \"_blank\");\n document.body.appendChild(anchor);\n anchor.click();\n document.body.removeChild(anchor);\n};\n\nconst InlineContext = ({ document, dispatch }) => {\n const handleDownload = (e) => {\n e.stopPropagation();\n downloadDocument(document.fileName, document.expiringUrl);\n };\n\n const handleDelete = (e) => {\n e.stopPropagation();\n dispatch(toggleDeleteModal([document.id], false));\n };\n\n return (\n \n );\n};\n\nInlineContext.propTypes = {\n document: DocumentPropType.isRequired,\n dispatch: PropTypes.func,\n};\n\nInlineContext.defaultProps = {\n dispatch: () => {},\n};\n\nexport default connect()(InlineContext);\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ContextPropType, DocumentPropType } from \"../../propTypes\";\n\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { Trash } from \"../../../../../shared/v2/Icomoon\";\n\nimport DocumentCheckbox from \"./DocumentCheckbox\";\nimport FileInformation from \"./FileInformation\";\nimport UploadedBy from \"./UploadedBy\";\nimport TimeUploaded from \"./TimeUploaded\";\nimport Context from \"./Context\";\nimport InlineContext from \"./InlineContext\";\n\nconst rowContainerClassNames = (context) => `\n tw-relative tw-h-64px tw-w-full tw-py-12px tw-bg-white tw-border-t-0 tw-border-l-0 tw-border-r-0 tw-border-b-1px tw-border-solid tw-border-gray-10 hover:tw-bg-tinted-gray-50\n ${context === \"documents-sidebar\" ? \"last:tw-border-b-0\" : \"\"}\n`;\n\nconst DocumentListItem = ({\n context,\n document,\n clearDocumentErrors,\n renameDocument,\n deleteDocuments,\n isSelected,\n onSelect,\n handlePreview,\n}) => {\n // Lifted state up to parent component because and needs to be aware of this boolean/setter\n const [editFilename, setEditFilename] = useState(false);\n\n // We need to keep track of when the input was open and the user clicked outside,\n // to prevent the preview from opening\n const [clickedOutside, setClickedOutside] = useState(false);\n\n const handleClickOutside = () => {\n setClickedOutside(true);\n };\n\n const handleClick = () => {\n if (context === \"documents-upload\" || clickedOutside || window.getSelection().toString()) {\n // Do not open preview if triggered from the upload modal, or if the user clicked outside, or if the user is selecting a text\n setClickedOutside(false);\n return;\n }\n\n handlePreview();\n };\n\n const handleTriggerRename = () => {\n setEditFilename(true);\n };\n\n const handleDeleteDocument = () => {\n deleteDocuments([document.id]);\n };\n\n return (\n \n {context !== \"documents-sidebar\" && (\n \n )}\n \n {document.uploadErrors?.length ? (\n \n {document.uploadErrors.join(\" \")}\n \n ) : (\n <>\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n )}\n \n )}\n \n );\n};\n\nDocumentListItem.propTypes = {\n handlePreview: PropTypes.func,\n context: ContextPropType.isRequired,\n document: DocumentPropType,\n renameDocument: PropTypes.func,\n deleteDocuments: PropTypes.func,\n clearDocumentErrors: PropTypes.func,\n isSelected: PropTypes.bool,\n onSelect: PropTypes.func,\n};\n\nDocumentListItem.defaultProps = {\n handlePreview: () => {},\n document: {},\n renameDocument: () => {},\n deleteDocuments: () => {},\n clearDocumentErrors: () => {},\n isSelected: false,\n onSelect: () => {},\n};\n\nexport default DocumentListItem;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { useNavigate } from \"react-router-dom\";\n\nimport { ChevronRight } from \"../../../shared/v2/Icomoon\";\nimport TextButton from \"../../../shared/v2/TextButton\";\nimport DocumentListItem from \"../../Main/Docs/Table/DocumentListItem\";\nimport { setDocumentIndex, toggleDeleteModal } from \"../../Main/Docs/actions/creators\";\nimport { renameDocumentAsThunk } from \"../../Main/Docs/actions/thunks\";\nimport { DocumentPropType, MetaPropType } from \"../../Main/Docs/propTypes\";\nimport useInitPathName from \"../../Main/hooks\";\n\nconst SidebarTable = ({ documents, isFetchingDocuments, errors, meta, dispatch }) => {\n const context = \"documents-sidebar\";\n\n const navigate = useNavigate();\n const { initPathName } = useInitPathName();\n\n const goToDocumentsPage = () => {\n navigate(`${initPathName}/docs`);\n };\n\n const handleRenameDocument = (documentId, newName) => {\n dispatch(renameDocumentAsThunk(context, documentId, newName));\n };\n\n const handlePreview = (index) => {\n dispatch(setDocumentIndex(context, index));\n };\n\n const handleDeleteDocuments = (documentIds) => {\n dispatch(toggleDeleteModal(documentIds, false));\n };\n\n if (isFetchingDocuments) {\n return

Loading documents...

;\n }\n\n if (errors.length > 0) {\n return (\n

\n {errors.join(\" \")}\n

\n );\n }\n\n if (documents.length === 0) {\n return

No documents have been uploaded.

;\n }\n\n return (\n
\n
\n \n
\n
\n {getIcon(context, document.fileType)}\n
\n
\n \n {editFilename ? (\n e.stopPropagation()}\n onBlur={handleInputBlur}\n className={classes.maxWidth}\n error={renameError}\n data-cy=\"document-list-item-rename-input\"\n />\n ) : (\n
\n \n \n {document.fileName}\n

\n {!document.isUploading && (\n \n \n
\n )}\n \n }\n content={document.fileName}\n placement=\"top\"\n multiline\n />\n\n {context === \"documents-sidebar\" ? (\n \n Uploaded by{\" \"}\n {document.uploadedByName}\n

\n ) : (\n document.humanReadableSize && (\n \n {document.humanReadableSize}\n

\n )\n )}\n \n )}\n \n \n
\n
\n \n {!document.uploadedByImageUrl && getInitials(document.uploadedByName)}\n
\n }\n content={document.uploadedByName}\n placement=\"top\"\n />\n \n
\n
\n {moment(document.uploadedAt).format(\"MM/DD/YYYY\")}\n
\n
\n {moment(document.uploadedAt).format(\"hh:mm A\")}\n
\n
\n
\n \n \n \n \n
\n \n Preview\n
\n {document.canRename && (\n <>\n \n Rename\n
\n \n )}\n {document.expiringUrl && (\n \n Download\n \n )}\n {document.canDelete && (\n <>\n \n Delete\n \n \n )}\n \n \n \n
\n
\n \n \n \n\n \n \n \n
\n\n \n {moment(document.uploadedAt).format(\"MM/DD/YYYY\")}\n

\n
\n {!document.isUploading && (\n \n )}\n \n {/* Space for viewers_count */}\n {/* eslint-disable-next-line no-nested-ternary */}\n {context === \"documents-table\" ? (\n <>\n \n \n \n \n ) : context === \"documents-sidebar\" ? (\n \n ) : (\n \n {document.isUploading ? (\n \"Uploading...\"\n ) : (\n \n \n \n )}\n
\n \n {documents.map((doc, index) => (\n handlePreview(index)}\n />\n ))}\n \n
\n\n
\n \n View All\n \n \n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n documents: state.tdpDocumentsReducer.sidebarDocuments,\n isFetchingDocuments: state.tdpDocumentsReducer.isFetchingSidebarDocuments,\n errors: state.tdpDocumentsReducer.sidebarErrors,\n meta: state.tdpDocumentsReducer.meta,\n});\n\nSidebarTable.propTypes = {\n documents: PropTypes.arrayOf(DocumentPropType),\n isFetchingDocuments: PropTypes.bool,\n errors: PropTypes.arrayOf(PropTypes.string),\n meta: MetaPropType,\n dispatch: PropTypes.func,\n};\n\nSidebarTable.defaultProps = {\n documents: [],\n isFetchingDocuments: false,\n errors: [],\n meta: [],\n dispatch() {},\n};\n\nexport default connect(mapStateToProps)(SidebarTable);\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { ChevronDown, ChevronRight, Plus } from \"../../../shared/v2/Icomoon\";\nimport IconButton from \"../../../shared/v2/IconButton\";\nimport { toggleUploadModal } from \"../../Main/Docs/actions/creators\";\nimport { getDocumentsAsThunk, getSidebarDocumentsAsThunk } from \"../../Main/Docs/actions/thunks\";\n\nimport ModalDeleteDocuments from \"../../Main/Docs/ModalDeleteDocuments\";\nimport { MetaPropType } from \"../../Main/Docs/propTypes\";\nimport { usePagePathName } from \"../../Main/hooks\";\n\nimport SidebarTable from \"./SidebarTable\";\n\nconst Documents = ({ meta, sidebarMeta, dispatch }) => {\n const { pagePathName } = usePagePathName();\n\n const [isExpanded, setExpanded] = useState(false);\n\n const Icon = isExpanded ? ChevronDown : ChevronRight;\n\n const handleClick = () => {\n setExpanded(!isExpanded);\n };\n\n const handleKeyDown = (e) => {\n if (e.key === \"Enter\") {\n setExpanded(!isExpanded);\n }\n };\n\n const handleOpenUploadModal = () => {\n dispatch(toggleUploadModal(true));\n };\n\n useEffect(() => {\n if (!meta.pagination.current && pagePathName && pagePathName !== \"docs\") {\n // Only fetch documents if they haven't been fetched yet,\n // and only if the documents page isn't open\n dispatch(getDocumentsAsThunk());\n }\n }, [meta.pagination.current, pagePathName]);\n\n useEffect(() => {\n if (sidebarMeta.pagination.current > 0) {\n // Document URLs expire every 600 seconds (from `DocumentDecorator`)\n const expireAtMs = sidebarMeta.updatedAtMs + 600000;\n\n // Refresh documents to prevent URLs from expiring for when previewing/downloading\n const timeoutMs = Math.max(0, expireAtMs - Date.now());\n const timeoutId = window.setTimeout(() => dispatch(getSidebarDocumentsAsThunk(), true), timeoutMs);\n return () => window.clearTimeout(timeoutId);\n }\n\n return () => {};\n }, [sidebarMeta.pagination.current, sidebarMeta.updatedAtMs]);\n\n return (\n
\n
\n \n

\n \n \n Documents (\n {sidebarMeta.pagination.totalCount})\n \n

\n
\n\n \n \n \n
\n\n {isExpanded && }\n \n \n );\n};\n\nconst mapStateToProps = (state) => ({\n meta: state.tdpDocumentsReducer.meta,\n sidebarMeta: state.tdpDocumentsReducer.sidebarMeta,\n});\n\nDocuments.propTypes = {\n meta: MetaPropType,\n sidebarMeta: MetaPropType,\n dispatch: PropTypes.func,\n};\n\nDocuments.defaultProps = {\n meta: {},\n sidebarMeta: {},\n dispatch: () => {},\n};\n\nexport default connect(mapStateToProps)(Documents);\n","import React from \"react\";\nimport { SideContainer, WidgetContainer } from \"../UI/Containers\";\nimport Divider from \"../UI/Divider\";\n\nimport People from \"./People\";\nimport Documents from \"./Documents\";\n\nconst SideLeft = () => (\n \n \n \n \n \n \n \n \n \n);\n\nexport default SideLeft;\n","import { pick } from \"lodash\";\nimport { camelizeKeys } from \"../../../../shared/Utilities\";\n\n/** Converts an AssignedPlan/AutoPlan object from an API response into our desired representation */\nexport const planFromApi = (originalAutoPlan) => {\n const autoPlan = camelizeKeys(originalAutoPlan);\n if (autoPlan.state === \"started\") {\n autoPlan.state = \"running\";\n }\n\n return autoPlan;\n};\n\n/** Same as `planFromApi`, but extracts only the minimal set of fields required for our use-case. */\nexport const minimalPlanFromApi = (originalAssignedPlan) =>\n planFromApi(\n pick(originalAssignedPlan, [\n \"id\",\n \"name\",\n \"state\",\n \"assigned_actions_count\",\n \"auto_plan_id\",\n \"total_completed_actions\",\n ]),\n );\n\n/**\n * Takes an array of `assignedPlans` and spits out an object, where each key is\n * a possible plan state, and the values are the plans currently in that state.\n */\nexport const indexAssignedPlansByState = (assignedPlans) =>\n assignedPlans.reduce(\n (acc, plan) => {\n acc[plan.state].push(plan);\n return acc;\n },\n { running: [], paused: [], completed: [], deleted: [] },\n );\n","import axios from \"axios\";\n\nimport { minimalPlanFromApi, planFromApi } from \"../api/apiAdapters\";\n\nimport {\n applyAutoPlanFailure,\n applyAutoPlanStarted,\n applyAutoPlanSuccess,\n assignedActionDeletion,\n assignedActionRestartOrMarkAsComplete,\n autoPlanPreview,\n fetchAssignedPlanDetailsFailure,\n fetchAssignedPlanDetailsStarted,\n fetchAssignedPlanDetailsSuccess,\n fetchAssignedPlansFailure,\n fetchAssignedPlansStarted,\n fetchAssignedPlansSuccess,\n fetchAvailableAutoPlansFailure,\n fetchAvailableAutoPlansStarted,\n fetchAvailableAutoPlansSuccess,\n setApplyAutoPlanModalVisible,\n setShowDetailsModalForAssignedPlan,\n setShowPreviewModalForAutoPlan,\n updateAssignedPlanStateFailure,\n updateAssignedPlanStateStarted,\n updateAssignedPlanStateSuccess,\n} from \"./creators\";\n\nexport const fetchAssignedPlans = (uuid) => async (dispatch) => {\n try {\n dispatch(fetchAssignedPlansStarted());\n\n const res = await axios.get(`/assigned_plans?assignable_type=Listing&assignable_id=${uuid}`);\n if (res.status !== 200) {\n dispatch(fetchAssignedPlansFailure(res.data));\n return;\n }\n\n dispatch(fetchAssignedPlansSuccess(res.data.map(minimalPlanFromApi)));\n } catch (err) {\n dispatch(fetchAssignedPlansFailure(err));\n }\n};\n\n// TODO: Drop this and incorporate it into `showDetailsModalForAssignedPlan`?\nexport const fetchAssignedPlanDetails = (assignedPlanId) => async (dispatch) => {\n try {\n dispatch(fetchAssignedPlanDetailsStarted());\n\n const res = await axios.get(`/assigned_plans/${assignedPlanId}`);\n if (res.status !== 200) {\n dispatch(fetchAssignedPlanDetailsFailure(res.data));\n return;\n }\n\n dispatch(fetchAssignedPlanDetailsSuccess(planFromApi(res.data.assigned_plan)));\n } catch (err) {\n dispatch(fetchAssignedPlanDetailsFailure(err));\n }\n};\n\nexport const showDetailsModalForAssignedPlan = (assignedPlanId) => async (dispatch) => {\n dispatch(setShowDetailsModalForAssignedPlan(assignedPlanId));\n\n if (assignedPlanId !== null) {\n dispatch(fetchAssignedPlanDetails(assignedPlanId));\n }\n};\n\nexport const fetchAutoPlanPreview = (transactionUuid, autoPlanId) => async (dispatch) => {\n try {\n dispatch(autoPlanPreview(\"loading\"));\n\n const endpoint = `/auto_plans/${autoPlanId}/preview?assignable_type=Listing&assignable_id=${transactionUuid}`;\n const res = await axios.get(endpoint);\n if (res.status !== 200) {\n dispatch(autoPlanPreview(\"failed\", res.data));\n return;\n }\n\n dispatch(autoPlanPreview(\"succeeded\", planFromApi(res.data.auto_plan)));\n } catch (err) {\n dispatch(autoPlanPreview(\"failed\", err.message));\n }\n};\n\nexport const showPreviewModalForAssignedPlan = (transactionUuid, assignedPlanId) => async (dispatch) => {\n dispatch(setShowPreviewModalForAutoPlan(assignedPlanId));\n\n if (transactionUuid && assignedPlanId) {\n dispatch(fetchAutoPlanPreview(transactionUuid, assignedPlanId));\n }\n};\n\nexport const deleteAction = (assignedPlanId, assignedActionId) => async (dispatch) => {\n try {\n dispatch(assignedActionDeletion(\"loading\"));\n\n const endpoint = `/assigned_plans/${assignedPlanId}/assigned_actions/${assignedActionId}`;\n const res = await axios.delete(endpoint, {\n params: { authenticity_token: ReactOnRails.authenticityToken() },\n });\n if (res.status !== 204) {\n dispatch(assignedActionDeletion(\"failed\", res.data));\n return;\n }\n\n dispatch(assignedActionDeletion(\"succeeded\"));\n dispatch(fetchAssignedPlanDetails(assignedPlanId));\n } catch (err) {\n dispatch(assignedActionDeletion(\"failed\", err.message));\n }\n};\n\nexport const markActionAsComplete = (assignedPlanId, assignedActionId) => async (dispatch) => {\n try {\n dispatch(assignedActionRestartOrMarkAsComplete(\"loading\"));\n\n const endpoint = `/assigned_plans/${assignedPlanId}/assigned_actions/${assignedActionId}/mark_complete`;\n const res = await axios.patch(endpoint, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n if (res.status !== 200) {\n dispatch(assignedActionRestartOrMarkAsComplete(\"failed\", res.data));\n return;\n }\n\n dispatch(assignedActionRestartOrMarkAsComplete(\"succeeded\"));\n dispatch(fetchAssignedPlanDetails(assignedPlanId));\n } catch (err) {\n dispatch(assignedActionRestartOrMarkAsComplete(\"failed\", err.message));\n }\n};\n\nexport const restartAction = (assignedPlanId, assignedActionId) => async (dispatch) => {\n try {\n dispatch(assignedActionRestartOrMarkAsComplete(\"loading\"));\n\n const endpoint = `/assigned_plans/${assignedPlanId}/assigned_actions/${assignedActionId}/restart`;\n const res = await axios.patch(endpoint, {\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n if (res.status !== 200) {\n dispatch(assignedActionRestartOrMarkAsComplete(\"failed\", res.data));\n return;\n }\n\n dispatch(assignedActionRestartOrMarkAsComplete(\"succeeded\"));\n dispatch(fetchAssignedPlanDetails(assignedPlanId));\n } catch (err) {\n dispatch(assignedActionRestartOrMarkAsComplete(\"failed\", err.message));\n }\n};\n\nexport const updateAssignedPlanState =\n (assignedPlanId, desiredState, options = {}) =>\n async (dispatch) => {\n try {\n dispatch(updateAssignedPlanStateStarted(assignedPlanId));\n\n const res = await axios.patch(`/assigned_plans/${assignedPlanId}`, {\n state: desiredState,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n if (res.status !== 200) {\n dispatch(updateAssignedPlanStateFailure(res.data));\n return;\n }\n\n dispatch(updateAssignedPlanStateSuccess(minimalPlanFromApi(res.data.assigned_plan)));\n\n // When the plan's state is updated from within the details modal, we need\n // to reload the details so the modal reflects the new state.\n if (options.triggerPlanDetailsRefresh) {\n dispatch(fetchAssignedPlanDetails(assignedPlanId));\n }\n\n // And upon deleting, close the details modal if it's currently open.\n if (desiredState === \"deleted\") {\n dispatch(showDetailsModalForAssignedPlan(null));\n }\n } catch (err) {\n dispatch(updateAssignedPlanStateFailure(err));\n }\n };\n\nexport const fetchAvailableAutoPlans = () => async (dispatch) => {\n try {\n dispatch(fetchAvailableAutoPlansStarted());\n\n const res = await axios.get(`/auto_plans/auto_plans_no_actions?plan_type=transactions`);\n if (res.status !== 200) {\n dispatch(fetchAvailableAutoPlansFailure(res.data));\n return;\n }\n\n dispatch(fetchAvailableAutoPlansSuccess(res.data.map(minimalPlanFromApi)));\n } catch (err) {\n dispatch(fetchAvailableAutoPlansFailure(err));\n }\n};\n\nexport const applyAutoPlan = (transactionUuid, autoPlanId) => async (dispatch) => {\n try {\n dispatch(applyAutoPlanStarted());\n\n const res = await axios.post(\"/assigned_plans\", {\n assignable_id: transactionUuid,\n assignable_type: \"Listing\",\n auto_plan_id: autoPlanId,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n if (res.status !== 201) {\n dispatch(applyAutoPlanFailure(res.data));\n return;\n }\n\n dispatch(applyAutoPlanSuccess(minimalPlanFromApi(res.data)));\n dispatch(setApplyAutoPlanModalVisible(false));\n dispatch(showPreviewModalForAssignedPlan(null));\n dispatch(fetchAssignedPlans(transactionUuid));\n } catch (err) {\n let errorsArray = [err.message];\n if (err.response?.data?.errors && err.response?.data?.errors.length) {\n errorsArray = err.response?.data?.errors;\n }\n\n dispatch(applyAutoPlanFailure(errorsArray));\n }\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"../../../../shared/v2/Button\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\n\nconst ApplyAutoPlanCallToAction = ({ onApplyAutoPlanClicked }) => (\n
\n

No auto plans have been applied.

\n\n \n
\n);\nApplyAutoPlanCallToAction.propTypes = {\n onApplyAutoPlanClicked: PropTypes.func.isRequired,\n};\n\nexport default ApplyAutoPlanCallToAction;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { Prompt } from \"../../../../shared/v2/Modal\";\n\nconst AssignedPlanDeletionConfirmationModal = ({ show, onCancel, onConfirm }) => (\n \n);\nAssignedPlanDeletionConfirmationModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onCancel: PropTypes.func.isRequired,\n onConfirm: PropTypes.func.isRequired,\n};\n\nexport default AssignedPlanDeletionConfirmationModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst stateToTextColorMap = {\n running: \"tw-text-semantic-green-100\",\n paused: \"tw-text-semantic-yellow-100\",\n completed: \"tw-text-semantic-blue-100\",\n deleted: \"tw-text-semantic-red-100\",\n};\n\nconst AssignedPlanStateLabel = ({ state }) => (\n \n {state}\n \n);\n\nAssignedPlanStateLabel.propTypes = { state: PropTypes.oneOf(Object.keys(stateToTextColorMap)).isRequired };\n\nexport default AssignedPlanStateLabel;\n","import { eventDetailString as eventDetailStringForSnakeCasedAction } from \"../../../../../../AssignedPlans/components/AssignedPlanDetailHelpers\";\nimport { snakefyKeys } from \"../../../../../../shared/Utilities\";\n\nexport const shouldShowPlayOrPauseAndDeleteButtons = (planState) =>\n ![\"completed\", \"deleted\"].includes(planState);\n\nexport const shouldShowContingencyInfoFor = (action) =>\n action.contingent && action.parentAction && action.parentAction.name;\n\nexport const shouldShowEventFieldFor = (action) => !!action.milestoneName;\n\nexport const eventDetailStringFor = (action) => eventDetailStringForSnakeCasedAction(snakefyKeys(action));\n\nexport const canDeleteAction = (actionState, planState) =>\n [\"running\", \"paused\"].includes(planState) && actionState !== \"completed\";\n\nexport const canMarkActionAsComplete = (actionType, planState) =>\n planState === \"running\" && actionType !== \"Task\";\n\nexport const canRestartAction = (actionType, actionState, planState) => {\n // An action can only be restarted if the plan it belongs to is started/running.\n if (planState !== \"running\") {\n return false;\n }\n\n // A task action can only be restarted if it has failed.\n if (actionType === \"Task\") {\n return actionState === \"failed\";\n }\n\n // Other action types can be restarted whenever, unless they're already completed.\n return actionState !== \"completed\";\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\n/** Individual detail field for an action. E.g. \"Priority\", \"Recurring\", etc. */\nconst ActionDetailField = ({ children, name, value, hideUnless }) => {\n // This prop is used to improve code readability in components higher up the\n // tree: instead of writing conditionals everywhere, we can write a bunch of\n // `ActionDetailField`s side-by-side and simply hide them by passing in the\n // conditional to `hideUnless`.\n if (!hideUnless) {\n return null;\n }\n\n return (\n \n
{name}
\n {children || value}\n
\n );\n};\n\nActionDetailField.propTypes = {\n children: PropTypes.node,\n name: PropTypes.string.isRequired,\n value: PropTypes.node,\n hideUnless: PropTypes.bool,\n};\n\nActionDetailField.defaultProps = {\n children: null,\n value: null,\n hideUnless: true,\n};\n\nexport default ActionDetailField;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment-timezone\";\n\n/** Date and time that an action runs at (a.k.a. is due at/sent at/etc.) */\nconst ActionRunAtFields = ({ actionState, actionCompletedAt, actionRunAt, hideDate }) => {\n const actionCompleted = actionState === \"completed\";\n const rawRunAtDateTime = actionCompleted ? actionCompletedAt : actionRunAt;\n const runAtDateTimeAsMoment = moment(rawRunAtDateTime).tz(Brivity.LocalTimeZone);\n const runAtDate = runAtDateTimeAsMoment.format(\"MM/DD/YYYY\");\n const runAtTime = runAtDateTimeAsMoment.format(\"hh:mm A z\");\n\n if (hideDate) {\n return runAtTime;\n }\n\n return (\n <>\n
{runAtDate}
\n
{runAtTime}
\n \n );\n};\n\nActionRunAtFields.propTypes = {\n actionState: PropTypes.string.isRequired,\n actionCompletedAt: PropTypes.string,\n actionRunAt: PropTypes.string.isRequired,\n\n hideDate: PropTypes.bool,\n};\n\nActionRunAtFields.defaultProps = {\n actionCompletedAt: null,\n\n hideDate: false,\n};\n\nexport default ActionRunAtFields;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Linkify from \"linkify-react\";\n\nimport { runAtLabel, visibilityLabel } from \"../../../../../../AssignedPlans/components/helpers\";\nimport { RecurringDetailInnerFields } from \"../../../../../../AssignedPlans/components/RecurringDetail\";\n\nimport ActionDetailField from \"./ActionDetailField\";\nimport ActionRunAtFields from \"./ActionRunAtFields\";\n\nimport { eventDetailStringFor, shouldShowContingencyInfoFor, shouldShowEventFieldFor } from \"./helpers\";\n\n/** Details for a Task action. */\nconst TaskActionDetails = ({ action }) => {\n const shouldShowRecurrenceInfo = action.recurringFrequency !== \"never\";\n const shouldShowInstructions = !!action.instructions;\n const shouldShowNotes = !!action.note;\n\n return (\n <>\n
\n \n
{action.name}
\n
\n
\n\n
\n
\n \n \n {action.overdue &&
Overdue
}\n
\n\n \n\n \n \n
Priority
\n
\n {action.priority ? (\n \n ) : (\n \"Unset\"\n )}\n
\n
\n
\n\n \n
\n\n
\n \n \n \n \n \n \n
\n
\n\n
\n \n \n {action.instructions}\n \n \n\n \n \n {action.note}\n \n \n
\n \n );\n};\n\nTaskActionDetails.propTypes = {\n action: PropTypes.shape({\n name: PropTypes.string.isRequired,\n state: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n\n priority: PropTypes.number,\n overdue: PropTypes.bool,\n\n completedAt: PropTypes.string,\n runAt: PropTypes.string,\n\n instructions: PropTypes.string,\n note: PropTypes.string,\n\n recurringDaysOfFrequency: PropTypes.arrayOf(PropTypes.number),\n recurringFrequency: PropTypes.string,\n recurringLimit: PropTypes.string,\n\n assignedToLabel: PropTypes.string.isRequired,\n parentAction: PropTypes.shape({ name: PropTypes.string.isRequired }),\n visibility: PropTypes.bool,\n }).isRequired,\n};\n\nexport default TaskActionDetails;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Linkify from \"linkify-react\";\n\nimport { runAtLabel } from \"../../../../../../AssignedPlans/components/helpers\";\n\nimport ActionDetailField from \"./ActionDetailField\";\nimport ActionRunAtFields from \"./ActionRunAtFields\";\n\nimport { eventDetailStringFor, shouldShowContingencyInfoFor, shouldShowEventFieldFor } from \"./helpers\";\n\nconst EmailBody = ({ contents }) => (\n \n \n \n);\nEmailBody.propTypes = { contents: PropTypes.string.isRequired };\n\nconst TextBody = ({ contents }) => (\n \n \n {contents}\n \n \n);\nTextBody.propTypes = { contents: PropTypes.string.isRequired };\n\n/** Details for an action of either \"Email\" or \"Text\" type. */\nconst EmailOrTextActionDetails = ({ action }) => (\n <>\n {action.type === \"Email\" && (\n
\n \n
{action.name}
\n
\n
\n )}\n\n
\n
\n \n \n \n \n \n \n \n
\n
\n\n {action.type === \"Text\" && action.state === \"failed\" && action.failedDescription && (\n
\n \n

\n {action.failedDescription_type === \"error\" ? \"Text Failure\" : \"Possible Failure\"}\n

\n

{action.failedDescription}

\n
\n \n )}\n\n
\n {action.type === \"Email\" && }\n {action.type === \"Text\" && }\n
\n \n);\n\nEmailOrTextActionDetails.propTypes = {\n action: PropTypes.shape({\n name: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n state: PropTypes.string.isRequired,\n\n completedAt: PropTypes.string,\n runAt: PropTypes.string,\n\n assignedForLabel: PropTypes.string.isRequired,\n assignedToLabel: PropTypes.string.isRequired,\n\n parentAction: PropTypes.shape({ name: PropTypes.string.isRequired }),\n templateBody: PropTypes.string.isRequired,\n }).isRequired,\n};\n\nexport default EmailOrTextActionDetails;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { FloatingForm } from \"../../../../../shared/v2/Modal\";\nimport ErrorBanner, { errorForBanner } from \"../../../../../shared/v2/ErrorBanner\";\n\nconst ActionDeletionConfirmationModal = ({\n action,\n planName,\n error,\n show,\n isLoading,\n onCancel,\n onConfirm,\n}) => {\n const willDeleteOtherActions = !!action.descendants?.length;\n\n return (\n \n
\n \n\n

\n Please note that{\" \"}\n \n {action.type}: {action.name}\n {\" \"}\n is generated from Auto Plan: {planName}, and deleting this action will delete all tasks and\n interactions contingent on that.\n

\n\n {willDeleteOtherActions && (\n <>\n

As such, the following actions will also be deleted if this action is removed:

\n
    \n {action.descendants.map((descendantAction) => (\n
  • \n \n {descendantAction.type}: {descendantAction.name}\n \n
  • \n ))}\n
\n \n )}\n
\n \n );\n};\n\nActionDeletionConfirmationModal.propTypes = {\n action: PropTypes.shape({\n name: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n\n descendants: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n type: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n }),\n ),\n }).isRequired,\n planName: PropTypes.string.isRequired,\n error: PropTypes.string,\n\n show: PropTypes.bool.isRequired,\n isLoading: PropTypes.bool.isRequired,\n onCancel: PropTypes.func.isRequired,\n onConfirm: PropTypes.func.isRequired,\n};\n\nActionDeletionConfirmationModal.defaultProps = {\n error: null,\n};\n\nexport default ActionDeletionConfirmationModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faComment, faEnvelope } from \"@fortawesome/free-regular-svg-icons\";\nimport { faList } from \"@fortawesome/free-solid-svg-icons\";\n\nimport { Check, Close, VisibilityHidden, VisibilityVisible } from \"../../../../../shared/v2/Icomoon\";\n\nimport ActionRunAtFields from \"./ActionDetails/ActionRunAtFields\";\n\nconst ACTION_STATE_TO_CLASSES_MAP = {\n completed: \"tw-bg-semantic-blue-50 tw-border-semantic-blue-50 tw-text-white\",\n failed: \"tw-bg-semantic-red-50 tw-border-semantic-red-50 tw-text-white\",\n};\n\nconst ACTION_STATE_TO_ICON_MAP = {\n completed: ,\n failed: , // TODO: Use the proper icon as show in the Figma, figure out where it's coming from.\n};\n\nconst ACTION_TYPE_TO_ICON_MAP = {\n text: ,\n task: ,\n email: ,\n};\n\nconst validActionStates = [\"started\", \"completed\", \"failed\"];\n\nconst ActionIcon = ({ state, type, isOverdueTask }) => {\n const renderedIcon = ACTION_STATE_TO_ICON_MAP[state] || ACTION_TYPE_TO_ICON_MAP[type.toLowerCase()];\n const defaultBorderColorClasses = isOverdueTask\n ? \"tw-border-brivity-coral-100 tw-bg-white\"\n : \"tw-border-neutral-gray-30 tw-bg-white\";\n\n const borderColorClasses = ACTION_STATE_TO_CLASSES_MAP[state] || defaultBorderColorClasses;\n const classes = [\n \"tw-flex\",\n \"tw-justify-center\",\n \"tw-items-center\",\n \"tw-w-24px\",\n \"tw-h-24px\",\n \"tw-rounded-full\",\n \"tw-border\",\n \"tw-border-solid\",\n borderColorClasses,\n ].join(\" \");\n\n return
{renderedIcon}
;\n};\nActionIcon.propTypes = {\n state: PropTypes.oneOf(validActionStates).isRequired,\n type: PropTypes.oneOf([\"Email\", \"Task\", \"Text\"]).isRequired,\n isOverdueTask: PropTypes.bool.isRequired,\n};\n\nconst ActionRow = ({\n actionName,\n actionState,\n actionSubtitle,\n actionType,\n errorMessage,\n isActionVisible,\n isOverdueTask,\n isSelected,\n onClick,\n}) => {\n const rootClasses = [\n isSelected ? \"tw-bg-tinted-gray-50\" : \"\",\n \"tw-flex\",\n \"tw-justify-between\",\n \"tw-items-center\",\n \"tw-py-12px\",\n \"tw-border-solid\",\n \"tw-border-0\",\n \"tw-border-b\",\n \"tw-border-neutral-gray-10\",\n\n \"tw-bg-transparent\",\n \"tw-p-0\",\n \"tw-block\",\n \"tw-w-full\",\n ].join(\" \");\n\n return (\n \n );\n};\nActionRow.propTypes = {\n actionName: PropTypes.string.isRequired,\n actionState: PropTypes.oneOf(validActionStates).isRequired,\n actionSubtitle: PropTypes.node.isRequired,\n actionType: PropTypes.oneOf([\"Email\", \"Task\", \"Text\"]).isRequired,\n errorMessage: PropTypes.string,\n isActionVisible: PropTypes.bool.isRequired,\n isOverdueTask: PropTypes.bool.isRequired,\n isSelected: PropTypes.bool.isRequired,\n onClick: PropTypes.func.isRequired,\n};\nActionRow.defaultProps = {\n errorMessage: null,\n};\n\nconst ActionList = ({ actions, currentlySelectedActionId, setCurrentlySelectedActionId }) => (\n <>\n {actions.map((action) => (\n \n }\n actionState={action.state}\n actionType={action.type}\n errorMessage={action.failedMessage}\n onClick={() => setCurrentlySelectedActionId(action.id)}\n isActionVisible={action.visibility}\n isOverdueTask={action.type === \"Task\" && action.overdue}\n isSelected={currentlySelectedActionId === action.id}\n />\n ))}\n \n);\nActionList.propTypes = {\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n state: PropTypes.oneOf(validActionStates).isRequired,\n type: PropTypes.oneOf([\"Email\", \"Task\", \"Text\"]),\n failedMessage: PropTypes.string,\n overdue: PropTypes.bool,\n }),\n ).isRequired,\n currentlySelectedActionId: PropTypes.string.isRequired,\n setCurrentlySelectedActionId: PropTypes.func.isRequired,\n};\n\nexport default ActionList;\n","import React, { useEffect, useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"../../../../../shared/v2/Button\";\n\nimport { confirmAssignedActionDeletion } from \"../../actions/creators\";\nimport { deleteAction, markActionAsComplete, restartAction } from \"../../actions/thunks\";\n\nimport { canDeleteAction, canMarkActionAsComplete, canRestartAction } from \"./ActionDetails/helpers\";\n\nimport TaskActionDetails from \"./ActionDetails/TaskActionDetails\";\nimport EmailOrTextActionDetails from \"./ActionDetails/EmailOrTextActionDetails\";\nimport ActionDeletionConfirmationModal from \"./ActionDeletionConfirmationModal\";\nimport ActionList from \"./ActionList\";\n\nconst LeftPanel = ({ children }) => (\n
\n
\n {children}\n
\n
\n);\nLeftPanel.propTypes = { children: PropTypes.node.isRequired };\n\nconst RightPanel = ({ children, footer }) => (\n
\n \n {children}\n
\n {footer &&
{footer}
}\n \n);\nRightPanel.propTypes = { children: PropTypes.node.isRequired, footer: PropTypes.node };\nRightPanel.defaultProps = { footer: null };\n\n/** Actions for an assigned action (heh). E.g.: delete, restart, mark as complete */\nconst ActionButtons = ({\n disabled,\n onDeleteClicked,\n onMarkAsCompleteClicked,\n onSendNowClicked,\n showDelete,\n showMarkAsComplete,\n showSendNow,\n}) => (\n
\n
\n \n {showDelete && (\n \n Delete\n \n )}\n \n\n \n {showMarkAsComplete && (\n \n Mark as complete\n \n )}\n\n {showSendNow && (\n \n Send now\n \n )}\n \n
\n
\n);\nActionButtons.propTypes = {\n disabled: PropTypes.bool.isRequired,\n onDeleteClicked: PropTypes.func.isRequired,\n onMarkAsCompleteClicked: PropTypes.func.isRequired,\n onSendNowClicked: PropTypes.func.isRequired,\n showDelete: PropTypes.bool.isRequired,\n showMarkAsComplete: PropTypes.bool.isRequired,\n showSendNow: PropTypes.bool.isRequired,\n};\n\nconst PlanDetails = ({\n dispatch,\n plan,\n actionDeletionStatus,\n actionDeletionError,\n actionRestartOrMarkAsCompleteStatus,\n showActionDeletionConfirmationModalFor,\n}) => {\n const [currentlySelectedActionId, setCurrentlySelectedActionId] = useState(null);\n\n const planActions = plan.assignedActions || plan.actions;\n\n useEffect(() => {\n if (currentlySelectedActionId !== null) {\n return;\n }\n\n const firstAvailableAction = planActions[0];\n setCurrentlySelectedActionId(firstAvailableAction.id);\n }, [plan]);\n\n const currentlySelectedAction = planActions.find(\n (assignedAction) => assignedAction.id === currentlySelectedActionId,\n );\n\n if (currentlySelectedActionId === null || currentlySelectedAction === null) {\n // Ignore the first render - we only care about rendering once we have the\n // action selected.\n //\n // The reason we do this instead of simply passing the desired\n // initial/default selected action to `useState` is because then, we can use\n // the `useEffect` to _only_ set `currentlySelectedActionId` if it hasn't\n // been set before.\n //\n // This makes it so that when the plan details reload after, for example,\n // marking an action as complete, we don't lose the user's previous\n // selection.\n return null;\n }\n\n const ActionDetails =\n currentlySelectedAction?.type === \"Task\" ? TaskActionDetails : EmailOrTextActionDetails;\n\n const shouldShowFooterButtons =\n (currentlySelectedAction && canDeleteAction(currentlySelectedAction.state, plan.state)) ||\n canMarkActionAsComplete(currentlySelectedAction.type, plan.state) ||\n canRestartAction(currentlySelectedAction.type, currentlySelectedAction.state, plan.state);\n\n const calltoActionFooter = (\n dispatch(confirmAssignedActionDeletion(plan.id, currentlySelectedActionId))}\n onMarkAsCompleteClicked={() => dispatch(markActionAsComplete(plan.id, currentlySelectedActionId))}\n onSendNowClicked={() => dispatch(restartAction(plan.id, currentlySelectedActionId))}\n showDelete={canDeleteAction(currentlySelectedAction.state, plan.state)}\n showMarkAsComplete={canMarkActionAsComplete(currentlySelectedAction.type, plan.state)}\n showSendNow={canRestartAction(currentlySelectedAction.type, currentlySelectedAction.state, plan.state)}\n />\n );\n\n return (\n
\n dispatch(deleteAction(plan.id, currentlySelectedActionId))}\n onCancel={() => dispatch(confirmAssignedActionDeletion(null))}\n />\n\n \n {\n // groupedActions has `events` before `days`, which is the opposite of\n // how we want to show these, so we `.reverse()` the array.\n Object.entries(plan.groupedActions)\n .reverse()\n .map(([groupType, groupKeys]) =>\n // groupType is either \"events\" or \"days\". Inside, we have either the\n // relevant event name or date (e.g. 20221005).\n Object.entries(groupKeys).map(([dayOrEventName, actionsMetadata]) => {\n const sortingField = groupType === \"days\" ? \"runAt\" : \"sortKey\";\n\n // At the moment we're iterating over `plan.groupedActions`,\n // which only contains a minimal set of fields for any given\n // action, so we need to go into the `planActions`\n // field, which actually has all the data we'll need for the\n // actions.\n const actions = actionsMetadata\n .map(({ id: currentActionId }) =>\n planActions.find((assignedAction) => assignedAction.id === currentActionId),\n )\n .sort((a, b) => (a[sortingField] > b[sortingField] ? 1 : -1))\n .sort((a, b) => ((a.position || 0) > (b.position || 0) ? 1 : -1));\n\n return (\n \n );\n }),\n )\n }\n \n\n \n
\n \n
\n
\n
\n );\n};\n\nPlanDetails.propTypes = {\n dispatch: PropTypes.func.isRequired,\n // TODO: Type this up properly.\n // eslint-disable-next-line react/forbid-prop-types\n plan: PropTypes.any.isRequired,\n actionDeletionStatus: PropTypes.oneOf([\"idle\", \"loading\", \"succeeded\", \"failed\"]).isRequired,\n actionDeletionError: PropTypes.string,\n actionRestartOrMarkAsCompleteStatus: PropTypes.oneOf([\"idle\", \"loading\", \"succeeded\", \"failed\"]).isRequired,\n showActionDeletionConfirmationModalFor: PropTypes.shape({\n actionId: PropTypes.string.isRequired,\n planId: PropTypes.string.isRequired,\n }),\n};\n\nPlanDetails.defaultProps = {\n showActionDeletionConfirmationModalFor: null,\n actionDeletionError: null,\n};\n\nconst mapStateToProps = (state) => ({\n actionDeletionStatus: state.tdpAutoPlansReducer.assignedActionDelete.status,\n actionDeletionError: state.tdpAutoPlansReducer.assignedActionDelete.error,\n actionRestartOrMarkAsCompleteStatus: state.tdpAutoPlansReducer.assignedActionRestartOrMarkAsComplete.status,\n showActionDeletionConfirmationModalFor: state.tdpAutoPlansReducer.assignedActionDelete.showModalFor,\n});\n\nexport default connect(mapStateToProps)(PlanDetails);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\n\nimport Loader from \"../../../../../Goals/components/Loader\";\n\nimport { PlayOrPauseButton, TrashIcon } from \"../AssignedPlanIconButtons\";\nimport AssignedPlanStateLabel from \"../AssignedPlanStateLabel\";\nimport { shouldShowPlayOrPauseAndDeleteButtons } from \"./ActionDetails/helpers\";\nimport PlanDetails from \"./PlanDetails\";\n\nconst AssignedPlanDetailsModal = ({\n plan,\n meta: { error, isLoading },\n isStateUpdateLoading,\n show,\n onClose,\n onPlayOrPauseButtonClicked,\n onTrashButtonClicked,\n}) => {\n const modalTitle = isLoading ? \"Loading Auto Plan...\" : `Auto Plan: ${plan?.name}`;\n\n // There's no error state design for this modal, so for now we just kick the\n // user back out so he retries.\n if (show && error) {\n onClose();\n return null;\n }\n\n return (\n \n \n \n {modalTitle}\n \n \n {!isLoading && shouldShowPlayOrPauseAndDeleteButtons(plan.state) && (\n
\n {\n const desiredState = plan.state === \"paused\" ? \"started\" : \"paused\";\n onPlayOrPauseButtonClicked(plan.id, desiredState);\n }}\n />\n onTrashButtonClicked(plan.id)}\n />\n
\n )}\n \n }\n />\n\n \n {isLoading ? (\n
\n \n
\n ) : (\n \n )}\n
\n\n \n
\n \n
\n
\n \n );\n};\n\nAssignedPlanDetailsModal.propTypes = {\n // Validation of this prop will happen further down the component tree.\n // eslint-disable-next-line react/forbid-prop-types\n plan: PropTypes.any,\n meta: PropTypes.shape({\n error: PropTypes.string,\n isLoading: PropTypes.bool,\n }).isRequired,\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n isStateUpdateLoading: PropTypes.bool.isRequired,\n onPlayOrPauseButtonClicked: PropTypes.func.isRequired,\n onTrashButtonClicked: PropTypes.func.isRequired,\n};\n\nAssignedPlanDetailsModal.defaultProps = {\n plan: null,\n};\n\nconst mapStateToProps = (state) => ({\n plan: state.tdpAutoPlansReducer.planDetails.plan,\n meta: {\n error: state.tdpAutoPlansReducer.planDetails.meta.error,\n isLoading: state.tdpAutoPlansReducer.planDetails.meta.isLoading,\n },\n});\n\nexport default connect(mapStateToProps)(AssignedPlanDetailsModal);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { PlayOrPauseButton, TrashIcon } from \"./AssignedPlanIconButtons\";\nimport AssignedPlanStateLabel from \"./AssignedPlanStateLabel\";\nimport { shouldShowPlayOrPauseAndDeleteButtons } from \"./PlanDetails/ActionDetails/helpers\";\n\nconst AssignedPlanRow = ({\n id,\n name,\n state,\n isLoading,\n currentAction,\n totalActionCount,\n onPlanClicked,\n onPlayOrPauseButtonClicked,\n onTrashButtonClicked,\n}) => (\n \n \n \n
\n {name}\n
\n \n\n
\n Progress: {currentAction} / {totalActionCount}\n
\n
\n\n \n \n\n {shouldShowPlayOrPauseAndDeleteButtons(state) && (\n
\n \n \n
\n )}\n
\n \n);\nAssignedPlanRow.propTypes = {\n id: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n state: PropTypes.string.isRequired,\n isLoading: PropTypes.bool.isRequired,\n totalActionCount: PropTypes.number.isRequired,\n currentAction: PropTypes.number.isRequired,\n onPlanClicked: PropTypes.func.isRequired,\n onPlayOrPauseButtonClicked: PropTypes.func,\n onTrashButtonClicked: PropTypes.func,\n};\nAssignedPlanRow.defaultProps = {\n onPlayOrPauseButtonClicked: null,\n onTrashButtonClicked: null,\n};\n\nexport default AssignedPlanRow;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport { ChevronDown, ChevronRight } from \"../../../../shared/v2/Icomoon\";\n\nconst ChevronButton = ({ disabled, isExpanded, onClick, ...otherProps }) => {\n const ChevronIcon = isExpanded ? ChevronDown : ChevronRight;\n\n const chevronColorClass = disabled ? \"tw-text-neutral-gray-15\" : \"tw-text-theme-primary\";\n\n return (\n \n \n \n );\n};\nChevronButton.propTypes = {\n disabled: PropTypes.bool,\n isExpanded: PropTypes.bool.isRequired,\n onClick: PropTypes.func.isRequired,\n};\nChevronButton.defaultProps = { disabled: false };\n\nconst CollapsibleCategory = ({ name, count, children }) => {\n const [isExpandedByUser, setExpanded] = useState(false);\n\n // If there are no items for this item/category, it should be disabled.\n const isDisabled = count === 0;\n\n // If the category is disabled, it must not be expanded even if the user had\n // previously manually expanded it.\n const isExpanded = isDisabled ? false : isExpandedByUser;\n\n // Separator should only show up when the section is expanded.\n let borderClasses = \"tw-border-solid tw-border-0 tw-border-b-neutral-gray-10\";\n if (isExpanded) {\n borderClasses += \" tw-border-b-1px\";\n }\n\n return (\n <>\n
\n setExpanded(!isExpanded)}\n data-cy={`${name}-plans-chevron`}\n />\n \n {name} ({count})\n \n
\n\n {isExpanded &&
{children}
}\n \n );\n};\nCollapsibleCategory.propTypes = {\n name: PropTypes.string.isRequired,\n count: PropTypes.number.isRequired,\n children: PropTypes.node.isRequired,\n};\n\nexport default CollapsibleCategory;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { indexAssignedPlansByState } from \"../api/apiAdapters\";\n\nimport AssignedPlanRow from \"./AssignedPlanRow\";\nimport CollapsibleCategory from \"./CollapsibleCategory\";\n\nconst AssignedPlansByState = ({\n assignedPlans,\n onPlanClicked,\n onPlayOrPauseButtonClicked,\n onTrashButtonClicked,\n}) =>\n Object.entries(indexAssignedPlansByState(assignedPlans)).map(([stateName, statePlans]) => {\n const statePlanCount = statePlans.length;\n\n return (\n \n {statePlans.map((plan) => (\n onPlanClicked(plan.id)}\n onPlayOrPauseButtonClicked={() => {\n const desiredState = plan.state === \"paused\" ? \"started\" : \"paused\";\n onPlayOrPauseButtonClicked(plan.id, desiredState);\n }}\n onTrashButtonClicked={() => onTrashButtonClicked(plan.id)}\n />\n ))}\n \n );\n });\nAssignedPlansByState.propTypes = {\n assignedPlans: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n state: PropTypes.string.isRequired,\n totalCompletedActions: PropTypes.number.isRequired,\n assignedActionsCount: PropTypes.number.isRequired,\n /* To disable pause/resume buttons while a request is underway. */\n isLoading: PropTypes.bool.isRequired,\n }),\n ).isRequired,\n onPlanClicked: PropTypes.func.isRequired,\n onPlayOrPauseButtonClicked: PropTypes.func.isRequired,\n onTrashButtonClicked: PropTypes.func.isRequired,\n};\n\nexport default AssignedPlansByState;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\n\nimport { errorForBanner } from \"../../../../shared/v2/ErrorBanner\";\n\nimport { setApplyAutoPlanSelectedPlan, setApplyAutoPlanModalVisible } from \"../actions/creators\";\nimport { applyAutoPlan, showPreviewModalForAssignedPlan } from \"../actions/thunks\";\nimport AddAutoPlanModal from \"../../../../shared/AddAutoPlanModal\";\n\nconst AutoPlanApplyModal = ({\n uuid,\n assignedPlans,\n availablePlans,\n availablePlansError,\n availablePlansLoading,\n autoPlanApply,\n autoPlanPreviewStatus,\n isApplyAutoPlanModalVisible,\n onHide,\n onApply,\n onPreview,\n onSelectAutoPlan,\n}) => {\n const idsOfAutoPlansCurrentlyAssigned = new Set(\n assignedPlans\n .filter((plan) => ![\"deleted\", \"completed\"].includes(plan.state))\n .map((plan) => plan.autoPlanId),\n );\n\n const availablePlansAsOptions = availablePlans\n .map((plan) => ({ label: plan.name, value: plan.id }))\n // Don't show plans that are already applied.\n .filter((planOption) => !idsOfAutoPlansCurrentlyAssigned.has(planOption.value));\n\n const selectedAutoPlan = autoPlanApply.selectedPlanOption;\n\n const disableInteractionButtons =\n availablePlansLoading ||\n selectedAutoPlan === null ||\n autoPlanApply.status === \"applying\" ||\n autoPlanPreviewStatus === \"loading\";\n\n const errors = [];\n if (availablePlansError) {\n errors.push(\"Failed to fetch available auto plans.\");\n }\n if (autoPlanApply.errors) {\n errors.push(...autoPlanApply.errors);\n }\n\n return (\n errorForBanner(error)) : null}\n onApply={() => onApply(uuid, selectedAutoPlan.value)}\n isApplying={autoPlanApply.status === \"applying\"}\n isLoading={autoPlanPreviewStatus === \"loading\"}\n onPreview={() => onPreview(uuid, selectedAutoPlan.value)}\n disableInteractionButtons={disableInteractionButtons}\n availablePlansLoading={availablePlansLoading}\n availablePlansAsOptions={availablePlansAsOptions}\n selectedAutoPlan={selectedAutoPlan}\n onSelectAutoPlan={onSelectAutoPlan}\n />\n );\n};\n\nAutoPlanApplyModal.propTypes = {\n uuid: PropTypes.string.isRequired,\n assignedPlans: PropTypes.arrayOf(\n PropTypes.shape({\n autoPlanId: PropTypes.string.isRequired,\n state: PropTypes.string.isRequired,\n }),\n ).isRequired,\n availablePlans: PropTypes.arrayOf(\n PropTypes.shape({\n name: PropTypes.string.isRequired,\n id: PropTypes.string.isRequired,\n }),\n ).isRequired,\n availablePlansError: PropTypes.string,\n availablePlansLoading: PropTypes.bool.isRequired,\n autoPlanApply: PropTypes.shape({\n selectedPlanOption: PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n }),\n status: PropTypes.string,\n errors: PropTypes.arrayOf(PropTypes.string),\n }).isRequired,\n autoPlanPreviewStatus: PropTypes.oneOf([\"idle\", \"loading\", \"succeeded\", \"failed\"]).isRequired,\n isApplyAutoPlanModalVisible: PropTypes.bool,\n onHide: PropTypes.func,\n onApply: PropTypes.func,\n onPreview: PropTypes.func,\n onSelectAutoPlan: PropTypes.func,\n};\n\nAutoPlanApplyModal.defaultProps = {\n availablePlansError: null,\n isApplyAutoPlanModalVisible: false,\n onHide: () => {},\n onApply: () => {},\n onPreview: () => {},\n onSelectAutoPlan: () => {},\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpAutoPlansReducer.uuid,\n assignedPlans: state.tdpAutoPlansReducer.assignedPlans.plans,\n availablePlans: state.tdpAutoPlansReducer.availableAutoPlans.plans,\n availablePlansError: state.tdpAutoPlansReducer.availableAutoPlans.meta.error,\n availablePlansLoading: state.tdpAutoPlansReducer.availableAutoPlans.meta.isLoading,\n autoPlanApply: state.tdpAutoPlansReducer.autoPlanApply,\n autoPlanPreviewStatus: state.tdpAutoPlansReducer.planPreview.meta.status,\n isApplyAutoPlanModalVisible: state.tdpAutoPlansReducer.autoPlanApply.showModal,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onHide: () => dispatch(setApplyAutoPlanModalVisible(false)),\n onApply: (uuid, autoPlan) => dispatch(applyAutoPlan(uuid, autoPlan)),\n onPreview: (uuid, autoPlan) => dispatch(showPreviewModalForAssignedPlan(uuid, autoPlan)),\n onSelectAutoPlan: (autoPlanId) => dispatch(setApplyAutoPlanSelectedPlan(autoPlanId)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AutoPlanApplyModal);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\n\nimport Loader from \"../../../../../Goals/components/Loader\";\n\nimport Button from \"../../../../../shared/v2/Button\";\nimport Modal from \"../../../../../shared/v2/Modal\";\n\nimport PlanDetails from \"./PlanDetails\";\nimport { applyAutoPlan } from \"../../actions/thunks\";\n\nconst AssignedPlanPreviewModal = ({\n dispatch,\n transactionUuid,\n plan,\n meta,\n show,\n onClose,\n planApplyStatus,\n}) => {\n const isLoading = meta.state === \"loading\";\n const modalTitle = isLoading ? \"Loading Auto Plan Preview...\" : `Previewing Auto Plan: ${plan?.name}`;\n\n // There's no error state design for this modal, so for now we just kick the\n // user back out so he retries.\n if (show && meta.error) {\n onClose();\n return null;\n }\n\n return (\n \n \n\n \n {isLoading || plan === null ? (\n
\n \n
\n ) : (\n \n )}\n
\n\n \n \n\n dispatch(applyAutoPlan(transactionUuid, plan?.id))}\n isLoading={planApplyStatus === \"applying\"}\n disabled={plan === null}\n >\n Apply\n \n \n \n );\n};\n\nAssignedPlanPreviewModal.propTypes = {\n dispatch: PropTypes.func.isRequired,\n transactionUuid: PropTypes.string.isRequired,\n // Validation of this prop will happen further down the component tree.\n // eslint-disable-next-line react/forbid-prop-types\n plan: PropTypes.any,\n meta: PropTypes.shape({\n error: PropTypes.string,\n state: PropTypes.oneOf([\"idle\", \"loading\", \"succeeded\", \"failed\"]),\n }).isRequired,\n show: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n planApplyStatus: PropTypes.oneOf([\"applying\", \"success\"]),\n};\n\nAssignedPlanPreviewModal.defaultProps = {\n plan: null,\n planApplyStatus: null,\n};\n\nconst mapStateToProps = (state) => ({\n plan: state.tdpAutoPlansReducer.planPreview.plan,\n meta: {\n error: state.tdpAutoPlansReducer.planPreview.meta.error,\n state: state.tdpAutoPlansReducer.planPreview.meta.state,\n },\n planApplyStatus: state.tdpAutoPlansReducer.autoPlanApply.status,\n});\n\nexport default connect(mapStateToProps)(AssignedPlanPreviewModal);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\n\nconst Header = ({ onApplyAutoPlanClicked }) => (\n
\n Auto Plans\n\n \n \n \n
\n);\nHeader.propTypes = {\n onApplyAutoPlanClicked: PropTypes.func.isRequired,\n};\n\nexport default Header;\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport PropTypes from \"prop-types\";\n\nimport TextButton from \"../../../shared/v2/TextButton\";\n\nimport {\n confirmAssignedPlanDeletion,\n setApplyAutoPlanModalVisible,\n setShowPreviewModalForAutoPlan,\n} from \"./actions/creators\";\nimport {\n fetchAssignedPlans,\n fetchAvailableAutoPlans,\n showDetailsModalForAssignedPlan,\n updateAssignedPlanState,\n} from \"./actions/thunks\";\n\nimport ApplyAutoPlanCallToAction from \"./Components/ApplyAutoPlanCallToAction\";\nimport AssignedPlanDeletionConfirmationModal from \"./Components/AssignedPlanDeletionConfirmationModal\";\nimport AssignedPlanDetailsModal from \"./Components/PlanDetails/AssignedPlanDetailsModal\";\nimport AssignedPlansByState from \"./Components/AssignedPlansByState\";\nimport AutoPlanApplyModal from \"./Components/AutoPlanApplyModal\";\nimport AutoPlanPreviewModal from \"./Components/PlanDetails/AutoPlanPreviewModal\";\nimport Header from \"./Components/Header\";\n\nconst AutoPlans = ({\n dispatch,\n uuid,\n assignedPlans,\n meta: { error, isLoading, idsBeingUpdated },\n confirmingDeletionForPlanId,\n showingDetailsForPlanId,\n showingPreviewForPlanId,\n}) => {\n useEffect(() => {\n dispatch(fetchAssignedPlans(uuid));\n dispatch(fetchAvailableAutoPlans());\n }, [uuid]);\n\n const shouldShowCallToAction = !error && !isLoading && assignedPlans.length === 0;\n\n return (\n
\n
dispatch(setApplyAutoPlanModalVisible(true))} />\n\n \n dispatch(updateAssignedPlanState(confirmingDeletionForPlanId, \"deleted\"))}\n onCancel={() => dispatch(confirmAssignedPlanDeletion(null))}\n />\n\n dispatch(showDetailsModalForAssignedPlan(null))}\n isStateUpdateLoading={idsBeingUpdated.has(showingDetailsForPlanId)}\n onPlayOrPauseButtonClicked={(assignedPlanId, desiredState) =>\n dispatch(updateAssignedPlanState(assignedPlanId, desiredState, { triggerPlanDetailsRefresh: true }))\n }\n onTrashButtonClicked={(assignedPlanId) => dispatch(confirmAssignedPlanDeletion(assignedPlanId))}\n />\n\n dispatch(setShowPreviewModalForAutoPlan(null))}\n />\n\n {error && (\n <>\n {/* eslint-disable-next-line react/no-unescaped-entities */}\n

We couldn't fetch the auto plans for this transaction.

\n dispatch(fetchAssignedPlans(uuid))}>\n Try again?\n \n \n )}\n\n {shouldShowCallToAction && (\n dispatch(setApplyAutoPlanModalVisible(true))}\n />\n )}\n\n ({\n ...plan,\n isLoading: idsBeingUpdated.has(plan.id),\n }))}\n onPlanClicked={(planId) => dispatch(showDetailsModalForAssignedPlan(planId))}\n onPlayOrPauseButtonClicked={(assignedPlanId, desiredState) =>\n dispatch(updateAssignedPlanState(assignedPlanId, desiredState))\n }\n onTrashButtonClicked={(assignedPlanId) => dispatch(confirmAssignedPlanDeletion(assignedPlanId))}\n />\n
\n );\n};\n\nAutoPlans.propTypes = {\n dispatch: PropTypes.func.isRequired,\n uuid: PropTypes.string.isRequired,\n // Shape validation of the items inside the `assignedPlans` array is handled\n // by a component further down the tree, so we ignore it here.\n // eslint-disable-next-line react/forbid-prop-types\n assignedPlans: PropTypes.array.isRequired,\n meta: PropTypes.shape({\n error: PropTypes.string,\n isLoading: PropTypes.bool.isRequired,\n // This is a JS Set, which has no PropType validator.\n // eslint-disable-next-line react/forbid-prop-types\n idsBeingUpdated: PropTypes.object.isRequired,\n }).isRequired,\n confirmingDeletionForPlanId: PropTypes.string,\n showingDetailsForPlanId: PropTypes.string,\n showingPreviewForPlanId: PropTypes.string,\n};\n\nAutoPlans.defaultProps = {\n confirmingDeletionForPlanId: null,\n showingDetailsForPlanId: null,\n showingPreviewForPlanId: null,\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpAutoPlansReducer.uuid,\n\n assignedPlans: state.tdpAutoPlansReducer.assignedPlans.plans,\n meta: {\n error: state.tdpAutoPlansReducer.assignedPlans.meta.error,\n isLoading: state.tdpAutoPlansReducer.assignedPlans.meta.isLoading,\n idsBeingUpdated: state.tdpAutoPlansReducer.assignedPlans.meta.idsBeingUpdated,\n },\n confirmingDeletionForPlanId: state.tdpAutoPlansReducer.assignedPlanDelete.showModalForId,\n showingDetailsForPlanId: state.tdpAutoPlansReducer.planDetails.meta.showDetailsModalForId,\n showingPreviewForPlanId: state.tdpAutoPlansReducer.planPreview.showModalForId,\n});\n\nexport default connect(mapStateToProps)(AutoPlans);\n","import PropTypes from \"prop-types\";\n\nconst errorShape = PropTypes.shape({\n message: PropTypes.string.isRequired,\n errors: PropTypes.arrayOf(PropTypes.string),\n});\n\nexport default errorShape;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst Error = ({ message }) => (\n
\n {message}\n
\n);\n\nError.propTypes = {\n message: PropTypes.string.isRequired,\n};\n\nexport default Error;\n","/* eslint-disable no-param-reassign */\nimport React, { useState, useRef, useEffect } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport PropTypes from \"prop-types\";\nimport moment from \"moment\";\n\nimport { useClickOutside, useGivenOrGeneratedId } from \"../../hookHelpers\";\nimport { Display } from \"../InlineEditor\";\nimport DateSelector from \"../DateSelector\";\nimport TextButton from \"../TextButton\";\nimport Button from \"../Button\";\nimport { isDateValid } from \"../DatePicker/utils/helpers\";\nimport { formatDate, getValidDateFormats } from \"../DateSelector/utils/helpers\";\n\nimport { Calendar } from \"../Icomoon\";\n\n/**\n * @summary InlineEditingDatePicker component. It's possible to enable up to 2 timepickers.\n * @param {string} value - The datepicker initial value. Provide a string in the following formats YYYY-MM-DD | YYYY-MM-DD HH:MM AM/PM | YYYY-MM-DD HH:MM AM/PM HH:MM AM/PM\n * @param {string} position - Provide the position of the calendar.\n * @param {func} onChange - It's triggered when the user clicks on \"done\" or outside the datepicker. It returns a string based on dateFormat. Default format is MM/DD/YYYY\n * @param {func} dateFormat - Provide a momentjs date format to override the default one (MM-DD-YYYY). See https://momentjs.com/docs/#/displaying/format/ for available formats.\n * @param {string} className - className for the outermost HTML element.\n * @param {string} displayClassName - className for the display HTML element.\n * */\n/* eslint-disable react/prop-types */\nconst InlineEditingDatePicker = ({\n id: idFromProps,\n value,\n position,\n onChange,\n dateFormat,\n className,\n displayClassName,\n portalDOMElement,\n customErrorCallBack,\n ...otherProps\n}) => {\n const id = useGivenOrGeneratedId(\"inline-editing-datepicker\", idFromProps);\n\n const initialDate = moment(value, getValidDateFormats(dateFormat)).isValid() ? value : \"\";\n\n const ref = useRef(null);\n const oldValueRef = useRef(initialDate);\n\n const [isOpen, setIsOpen] = useState(false);\n // final: Date shown on TextComboInput. \"ValidTemporary\" becomes \"final\" when the user clicks on the \"Done\" button or outside.\n // impureTemporary: User input. it might be wrong, correct or empty. Do not rely on it. It might be anything.\n // validTemporary: It's a valid impureTemporary date. Necessary to send only valid dates to the DateSelector component.\n const [date, setDate] = useState({\n final: initialDate,\n impureTemporary: initialDate,\n validTemporary: initialDate,\n });\n const [error, setError] = useState(false);\n const portalElm = document.getElementById(portalDOMElement);\n\n const calendarPositionClassNames = (p) => {\n switch (p) {\n case \"right\":\n return `tw-absolute tw-top-30px tw-left-0`;\n case \"left\":\n return `tw-absolute tw-top-30px tw-right-0`;\n default:\n return \"\";\n }\n };\n\n const handleDone = () => {\n // custom error message handler, shoud return a string\n if (customErrorCallBack(date.validTemporary)) {\n setError(customErrorCallBack(date.validTemporary));\n } else if (date.validTemporary !== \"\" && !isDateValid(date, dateFormat)) {\n setError(true);\n } else {\n setDate({\n ...date,\n final: date.validTemporary,\n });\n setIsOpen(false);\n setError(false);\n }\n };\n\n useClickOutside(ref, handleDone);\n\n const isValid = (val) => val && moment(val, getValidDateFormats(dateFormat)).isValid();\n\n useEffect(() => {\n // an object breaks the datepicker, and in consequence, the page\n if (typeof value !== \"string\" && value !== null) return;\n\n const validDate = isValid(value) ? value : \"\";\n\n setDate({\n final: validDate,\n impureTemporary: validDate,\n validTemporary: validDate,\n });\n }, [value]);\n\n useEffect(() => {\n if (oldValueRef.current === date.final) return;\n oldValueRef.current = date.final;\n if (onChange) {\n onChange(date.final);\n }\n }, [date.final]);\n\n useEffect(() => {\n if (date.impureTemporary === \"\" || isDateValid(date, dateFormat)) {\n setDate({\n ...date,\n validTemporary: date.impureTemporary,\n });\n }\n }, [date.impureTemporary]);\n\n const display = isValid(value) ? (\n setIsOpen(true)}\n icon={}\n data-cy=\"inline-editing-datepicker-display\"\n className={displayClassName}\n />\n ) : (\n setIsOpen(true)}>\n add\n \n );\n\n const PICKER_COMP = (\n \n {\n setDate({\n ...date,\n ...dateSelectorState, // necessary for edge case: leap year in date formats without year\n impureTemporary: dateSelectorState.formattedDate,\n });\n }}\n value={date.validTemporary}\n error={error}\n dateFormat={dateFormat}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...otherProps}\n />\n
\n
\n {\n setDate({\n ...date,\n validTemporary: \"\",\n impureTemporary: \"\",\n });\n }}\n type=\"button\"\n schema=\"default\"\n size=\"small\"\n data-cy=\"inline-editing-datepicker-clear\"\n >\n Clear\n \n \n
\n \n );\n const PICKER_DOM = portalDOMElement && portalElm ? createPortal(PICKER_COMP, portalElm) : PICKER_COMP;\n return (\n
\n
\n {display}\n {isOpen && PICKER_DOM}\n
\n
\n );\n};\n\nInlineEditingDatePicker.propTypes = {\n id: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func.isRequired,\n dateFormat: PropTypes.string,\n position: PropTypes.oneOf([\"left\", \"right\"]),\n className: PropTypes.string,\n displayClassName: PropTypes.string,\n customErrorCallBack: PropTypes.func,\n};\n\nInlineEditingDatePicker.defaultProps = {\n id: null,\n value: null,\n dateFormat: \"\",\n position: \"left\",\n className: \"\",\n displayClassName: \"\",\n customErrorCallBack: () => false,\n};\n\nexport default InlineEditingDatePicker;\n","import React from \"react\";\nimport moment from \"moment\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport * as actionCreators from \"../actions/thunks\";\nimport InlineEditingDatePicker from \"../../../../shared/v2/InlineEditingDatePicker/InlineEditingDatePicker\";\nimport InlineEditingDatePickerPortal from \"../../../../shared/v2/InlineEditingDatePickerPortal\";\n\nconst DATE_FORMAT = \"MM/DD/YYYY\";\nconst DATE_TIME_FORMAT = `${DATE_FORMAT} hh:mm A`;\n\nconst ModifyDate = ({ date, isNew, updateDate, uuid }) => {\n const DatePicker = isNew ? InlineEditingDatePickerPortal : InlineEditingDatePicker;\n const dateValue = `${date?.date}${date?.display_time ? ` ${date.display_time}` : \"\"}`;\n\n const submitDate = (newValue) => {\n const hasTime = / /.test(newValue);\n const newDate = moment.utc(newValue, hasTime ? DATE_TIME_FORMAT : DATE_FORMAT);\n if (newValue !== \"\" && !newDate.isValid()) return;\n const secondsSinceMidnight = hasTime ? newDate.diff(moment(newDate).startOf(\"day\"), \"seconds\") : null;\n const data = {\n new_milestone: isNew,\n date: newDate,\n seconds_since_midnight: secondsSinceMidnight,\n };\n updateDate(uuid, date?.id, data);\n };\n\n return (\n {\n const inputDate = moment(dateStr, \"MM/DD/YYYY\", true);\n if (!inputDate.isValid()) return false;\n\n return Math.abs(moment().diff(inputDate, \"years\")) >= 10 ? \"Invalid Date\" : false;\n }}\n />\n );\n};\n\nModifyDate.propTypes = {\n date: Proptypes.shape({\n id: Proptypes.string.isRequired,\n date: Proptypes.string,\n include_time: Proptypes.bool.isRequired,\n display_time: Proptypes.string,\n }).isRequired,\n isNew: Proptypes.bool,\n updateDate: Proptypes.func.isRequired,\n uuid: Proptypes.string.isRequired,\n};\n\nModifyDate.defaultProps = {\n isNew: false,\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDatesReducer.uuid,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n updateDate: (uuid, optionId, data) => dispatch(actionCreators.updateDate(uuid, optionId, data)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(ModifyDate);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { startCase } from \"lodash\";\nimport ModifyDate from \"./ModifyDate\";\n\nconst TimeFrame = ({ date }) => (\n
\n {startCase(date.name)}\n \n
\n);\n\nTimeFrame.propTypes = {\n date: Proptypes.shape({\n id: Proptypes.string,\n date: Proptypes.string,\n name: Proptypes.string,\n include_time: Proptypes.bool,\n }).isRequired,\n};\n\nexport default TimeFrame;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport ModifyDate from \"../Date/ModifyDate\";\n\nconst CustomDates = ({ option }) => (\n
\n {option.name}\n
\n \n
\n
\n);\n\nCustomDates.propTypes = {\n option: Proptypes.shape({ name: Proptypes.string, id: Proptypes.string }).isRequired,\n};\n\nexport default CustomDates;\n","import React, { useState, useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCog } from \"@fortawesome/free-solid-svg-icons\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"@shared/v2/Popover\";\nimport IconButton from \"../../../../shared/v2/IconButton\";\nimport * as actionCreators from \"../actions/thunks\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\nimport TextComboInput from \"../../../../shared/v2/TextComboInput\";\nimport Plus from \"../../../../shared/v2/Icomoon/Icons/Plus\";\nimport CustomDates from \"../CustomDates/CustomDates\";\nimport { getSearchableDate } from \"../actions/helper\";\nimport { Search } from \"../../../../shared/v2/Icomoon\";\nimport colors from \"../../../../Reports/components/DashboardShared/helpers/colors\";\n\nconst DateHeaderOptions = ({ dates, isOpen, showCustomDateLists }) => {\n const [search, setSearch] = useState(null);\n const [options, setOptions] = useState(dates?.available_dates || []);\n\n useEffect(() => {\n if (search) {\n setOptions(getSearchableDate(dates?.available_dates || [], search));\n } else {\n setOptions(dates?.available_dates || []);\n }\n }, [dates.available_dates, search]);\n\n return (\n \n \n showCustomDateLists(!isOpen)}\n className=\"tw-ml-auto\"\n size=\"small\"\n schema=\"tertiary\"\n >\n \n \n \n
\n \n
\n
\n \n }\n placeholder=\"Search dates\"\n onChange={(e) => setSearch(e.target.value)}\n className=\"tw-w-full\"\n />\n
\n
\n
\n {options.map((option) => (\n \n ))}\n
\n
\n
\n window.location.assign(\"/new_milestones\")}>\n \n Custom Dates Settings\n \n
\n
\n
\n \n );\n};\n\nDateHeaderOptions.propTypes = {\n showCustomDateLists: Proptypes.func.isRequired,\n isOpen: Proptypes.bool,\n dates: Proptypes.shape({\n available_dates: Proptypes.arrayOf(Proptypes.string),\n }),\n};\n\nDateHeaderOptions.defaultProps = {\n dates: {\n available_dates: [],\n },\n isOpen: false,\n};\n\nconst mapStateToProps = (state) => ({\n dates: state.tdpDatesReducer.dates,\n isOpen: state.tdpDatesReducer.isOpen,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n showCustomDateLists: (show) => dispatch(actionCreators.showCustomDateLists(show)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(DateHeaderOptions);\n","// eslint-disable-next-line import/prefer-default-export\nexport const getSearchableDate = (customDates, search) => {\n const results = customDates.filter((date) => {\n if (search === \"\") return customDates;\n return date.name.toLowerCase().includes(search.trim().toLowerCase());\n });\n return results;\n};\n","export const EXPIRATION_DATE = \"dates.expiration\";\nexport const DATE_LISTED = \"dates.date_listed_milestone\";\nexport const CLOSE_DATE = \"dates.close_date_milestone\";\nexport const MUTUAL_ACCEPTANCE_DATE = \"dates.mutual_acceptance_date_milestone\";\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport moment from \"moment\";\nimport { tdpDates } from \"../../../../shared/HOCs/withRedux\";\nimport { EXPIRATION_DATE } from \"../../../../shared/reduxRoutes/tdpDatesRoutes\";\nimport ModifyDate from \"./ModifyDate\";\n\nconst getExpiredCounter = (date) => {\n const isPositive = Math.sign(moment().diff(moment(date)));\n let result = \"-\";\n if (Number.isNaN(isPositive)) {\n result = \"-\";\n } else if (isPositive === 1) {\n result = \"Expired\";\n } else {\n result = `${Math.abs(moment().diff(moment(date), \"days\"))} Days`;\n }\n return result;\n};\n\nconst Expiration = ({ expiration }) => (\n
\n Expiration\n {getExpiredCounter(expiration.date)}\n \n
\n);\n\nExpiration.propTypes = {\n expiration: Proptypes.shape({ id: Proptypes.string, name: Proptypes.string, date: Proptypes.string }),\n};\nExpiration.defaultProps = {\n expiration: null,\n};\n\nconst ExpirationWrapped = tdpDates({\n WrappedComponent: Expiration,\n states: EXPIRATION_DATE,\n});\n\nexport default ExpirationWrapped;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { tdpDates } from \"../../../../shared/HOCs/withRedux\";\nimport { DATE_LISTED } from \"../../../../shared/reduxRoutes/tdpDatesRoutes\";\nimport ModifyDate from \"./ModifyDate\";\n\nconst DateListed = ({ date_listed_milestone: dateListed }) => (\n
\n Date Listed\n \n
\n);\n\nDateListed.propTypes = {\n date_listed_milestone: Proptypes.shape({\n id: Proptypes.string,\n name: Proptypes.string,\n date: Proptypes.string,\n }),\n};\nDateListed.defaultProps = {\n date_listed_milestone: null,\n};\n\nconst DateListedWrapped = tdpDates({\n WrappedComponent: DateListed,\n states: DATE_LISTED,\n});\n\nexport default DateListedWrapped;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport ModifyDate from \"./ModifyDate\";\nimport { CircleInfoSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst ReferralExpiration = ({ expirationDate }) => (\n
\n \n Expiration\n }\n content=\"Date the referral agreement is effective through\"\n />\n \n \n \n \n
\n);\n\nReferralExpiration.propTypes = {\n expirationDate: Proptypes.shape({ id: Proptypes.string, name: Proptypes.string, date: Proptypes.string }),\n};\nReferralExpiration.defaultProps = {\n expirationDate: null,\n};\n\nconst mapStateToProps = (state) => ({\n expirationDate: state.tdpDatesReducer.dates.expiration,\n});\nexport default connect(mapStateToProps)(ReferralExpiration);\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { tdpDates } from \"../../../../shared/HOCs/withRedux\";\nimport { CLOSE_DATE } from \"../../../../shared/reduxRoutes/tdpDatesRoutes\";\nimport ModifyDate from \"./ModifyDate\";\n\nconst CloseDate = ({ close_date_milestone: closeDate }) => (\n
\n Close Date\n \n
\n);\n\nCloseDate.propTypes = {\n close_date_milestone: Proptypes.shape({\n id: Proptypes.string,\n name: Proptypes.string,\n date: Proptypes.string,\n }),\n};\nCloseDate.defaultProps = {\n close_date_milestone: null,\n};\n\nconst CloseDateWrapped = tdpDates({\n WrappedComponent: CloseDate,\n states: CLOSE_DATE,\n});\n\nexport default CloseDateWrapped;\n","import React from \"react\";\nimport Proptypes from \"prop-types\";\nimport { tdpDates } from \"../../../../shared/HOCs/withRedux\";\nimport { MUTUAL_ACCEPTANCE_DATE } from \"../../../../shared/reduxRoutes/tdpDatesRoutes\";\nimport ModifyDate from \"./ModifyDate\";\nimport { isReferral } from \"../../../shared/helpers\";\n\nconst MutualAcceptanceDate = ({ mutual_acceptance_date_milestone: mutualAcceptanceDate, type }) => (\n
\n {isReferral(type) ? \"Acceptance Date\" : \"Mutual Acceptance\"}\n \n
\n);\n\nMutualAcceptanceDate.propTypes = {\n mutual_acceptance_date_milestone: Proptypes.shape({\n id: Proptypes.string,\n name: Proptypes.string,\n date: Proptypes.string,\n }),\n};\nMutualAcceptanceDate.defaultProps = {\n mutual_acceptance_date_milestone: null,\n};\n\nconst MutualAcceptanceDateWrapped = tdpDates({\n WrappedComponent: MutualAcceptanceDate,\n states: MUTUAL_ACCEPTANCE_DATE,\n});\n\nexport default MutualAcceptanceDateWrapped;\n","import React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport Proptypes from \"prop-types\";\nimport { isReferral, isSellerLandlordType } from \"../../../shared/helpers\";\nimport errorShape from \"../model/error\";\nimport Error from \"../Error\";\nimport * as actionCreators from \"../actions/thunks\";\nimport TimeFrame from \"./TimeFrame\";\nimport Header from \"../../../UI/Header\";\nimport DateHeaderOptions from \"../HeaderOptions/DateHeaderOptions\";\nimport Expiration from \"./Expiration\";\nimport DateListed from \"./DateListed\";\nimport ReferralExpiration from \"./ReferralExpiration\";\nimport CloseDate from \"./CloseDate\";\nimport MutualAcceptanceDate from \"./MutualAcceptanceDate\";\n\nconst Date = ({ getAllDates, uuid, type, dates, error, updateError, isUpdate, status }) => {\n useEffect(() => {\n getAllDates(uuid);\n }, [uuid, isUpdate, status]);\n return (\n
\n {error && }\n
} />\n {updateError && }\n {!isReferral(type) ? dates?.expiration && : }\n {isSellerLandlordType(type) && }\n \n \n
\n {dates?.dates?.map((date) => (\n \n ))}\n
\n
\n );\n};\n\nDate.propTypes = {\n getAllDates: Proptypes.func.isRequired,\n uuid: Proptypes.string.isRequired,\n dates: Proptypes.shape({\n expiration: Proptypes.shape({ id: Proptypes.string, name: Proptypes.string, date: Proptypes.string }),\n dates: Proptypes.arrayOf(Proptypes.shape({})),\n }),\n error: errorShape,\n updateError: errorShape,\n isUpdate: Proptypes.bool,\n status: Proptypes.string.isRequired,\n type: Proptypes.string,\n};\n\nDate.defaultProps = {\n dates: {},\n error: null,\n updateError: null,\n isUpdate: false,\n type: null,\n};\n\nconst mapStateToProps = (state) => ({\n status: state.tdpDetailsReducer.transactionDetails.status,\n uuid: state.tdpDatesReducer.uuid,\n dates: state.tdpDatesReducer.dates,\n error: state.tdpDatesReducer.error,\n updateError: state.tdpDatesReducer.updateError,\n isUpdate: state.tdpDatesReducer.isUpdate,\n type: state.tdpDetailsReducer.headerDetails.type,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n getAllDates: (uuid) => dispatch(actionCreators.getAllDates(uuid)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(Date);\n","import React from \"react\";\nimport Date from \"./Date\";\n\nconst Dates = () => ;\n\nexport default Dates;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Link } from \"react-router-dom\";\nimport feedbackShape from \"../../../Main/Feedback/model/feedback\";\nimport { HeartFilled } from \"../../../../shared/v2/Icomoon\";\n\nconst MarketingBody = ({ reviewCount, feedbackTabPath, mostRecentFeedback }) => {\n const additionalDivs = Math.min(2, reviewCount - 1);\n // Vary the z-index of the additional divs to accomplish the cards stack from the design\n const additionalDivsZIndex = [\"tw-z-5\", \"tw-z-3\"];\n\n return (\n \n \n
\n \n Most Recent\n \n \n {mostRecentFeedback.shownAt.format(\"MM/DD/YY\")}\n \n \n \n {mostRecentFeedback.liked}\n \n \n \n
\n \n "{mostRecentFeedback.body}"\n

\n
\n {Array(additionalDivs)\n .fill(1)\n .map((_x, i) => (\n \n ))}\n \n );\n};\n\nMarketingBody.propTypes = {\n reviewCount: PropTypes.number.isRequired,\n feedbackTabPath: PropTypes.string.isRequired,\n mostRecentFeedback: feedbackShape.isRequired,\n};\n\nexport default MarketingBody;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\n\nconst MarketingLoadError = ({ getAllFeedbacks }) => (\n <>\n {/* eslint-disable-next-line react/no-unescaped-entities */}\n

We couldn't fetch showing feedback for this transaction.

\n \n Try again?\n \n \n);\n\nMarketingLoadError.propTypes = {\n getAllFeedbacks: PropTypes.func.isRequired,\n};\n\nexport default MarketingLoadError;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../../../shared/v2/Button\";\nimport { Plus } from \"../../../../shared/v2/Icomoon\";\n\nconst MarketingHeader = ({ showNewFeedbackForm }) => (\n \n \n Showing Feedback\n \n \n \n \n \n feedback\n \n \n \n \n);\n\nMarketingHeader.propTypes = {\n showNewFeedbackForm: PropTypes.func.isRequired,\n};\n\nexport default MarketingHeader;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useHref, useLinkClickHandler } from \"react-router-dom\";\nimport Rating from \"../../../Main/Feedback/Rating\";\nimport TextLink from \"../../../../shared/v2/TextLink\";\n\nconst MarketingSubheader = ({ reviewCount, averageRating, feedbackTabPath }) => (\n \n \n \n {reviewCount > 0 ? `See all ${reviewCount} reviews` : \"No reviews\"}\n \n \n);\n\nMarketingSubheader.propTypes = {\n reviewCount: PropTypes.number.isRequired,\n averageRating: PropTypes.number.isRequired,\n feedbackTabPath: PropTypes.string.isRequired,\n};\n\nexport default MarketingSubheader;\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useMatch, useResolvedPath } from \"react-router-dom\";\nimport errorShape from \"../../../Main/Feedback/model/error\";\nimport feedbackShape from \"../../../Main/Feedback/model/feedback\";\nimport formDataShape from \"../../../Main/Feedback/model/formData\";\nimport metaShape from \"../../../Main/Feedback/model/meta\";\nimport MarketingBody from \"../MarketingBody\";\nimport MarketingLoadError from \"../MarketingLoadError\";\nimport MarketingHeader from \"../MarketingHeader\";\nimport MarketingSubheader from \"../MarketingSubheader\";\nimport useInitPathName from \"../../../Main/hooks\";\nimport FeedbackForm from \"../../../Main/Feedback/FeedbackForm\";\n\nconst Marketing = ({\n getAllFeedbacks,\n newFeedback,\n hideFeedbackForm,\n showFeedbackForm,\n uuid,\n feedbacks,\n meta,\n error,\n formData,\n}) => {\n const { initPathName } = useInitPathName();\n const feedbackTabPath = `${initPathName}/feedback`;\n\n // Verify if the feedback tab is selected\n const feedbackTabResolvedPath = useResolvedPath(feedbackTabPath);\n const isFeedbackTabSelected =\n useMatch({\n path: feedbackTabResolvedPath.pathname,\n end: false,\n caseSensitive: false,\n }) !== null;\n\n const showNewFeedbackForm = () =>\n showFeedbackForm({ action: \"new\", data: null, isVisible: true, error: null, isLoading: false });\n\n const reviewCount = meta?.pagination?.totalCount ?? 0;\n const averageRating = meta?.averageRating ?? 0.0;\n const mostRecentFeedback = feedbacks?.length ? feedbacks[0] : null;\n\n useEffect(() => {\n getAllFeedbacks();\n }, [uuid]);\n\n return (\n <>\n \n \n {error && }\n {mostRecentFeedback && (\n \n )}\n {!isFeedbackTabSelected && (\n // Only render the feedback form here if the feedback tab is not selected\n newFeedback(feedback)}\n onCancel={() => hideFeedbackForm()}\n />\n )}\n \n );\n};\n\nMarketing.propTypes = {\n getAllFeedbacks: PropTypes.func.isRequired,\n newFeedback: PropTypes.func.isRequired,\n hideFeedbackForm: PropTypes.func.isRequired,\n showFeedbackForm: PropTypes.func.isRequired,\n uuid: PropTypes.string.isRequired,\n feedbacks: PropTypes.arrayOf(feedbackShape),\n meta: metaShape,\n error: errorShape,\n formData: formDataShape,\n};\n\nMarketing.defaultProps = {\n feedbacks: [],\n meta: {\n averageRating: 0.0,\n pagination: {\n totalPages: 0,\n totalCount: 0,\n },\n },\n error: null,\n formData: {\n action: \"new\",\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n};\n\nexport default Marketing;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport errorShape from \"../../Main/Feedback/model/error\";\nimport feedbackShape from \"../../Main/Feedback/model/feedback\";\nimport formDataShape from \"../../Main/Feedback/model/formData\";\nimport metaShape from \"../../Main/Feedback/model/meta\";\nimport {\n getAllFeedbacks,\n hideFeedbackForm,\n newFeedback,\n showFeedbackForm,\n} from \"../../Main/Feedback/actions/thunks\";\nimport Marketing from \"./Marketing\";\n\nconst MarketingWrapper = ({ dispatch, uuid, feedbacks, meta, error, formData }) => (\n dispatch(getAllFeedbacks(uuid))}\n newFeedback={(feedback) => dispatch(newFeedback(uuid, feedback))}\n hideFeedbackForm={() => dispatch(hideFeedbackForm())}\n showFeedbackForm={(data) => dispatch(showFeedbackForm(data))}\n uuid={uuid}\n feedbacks={feedbacks}\n meta={meta}\n error={error}\n formData={formData}\n />\n);\n\nMarketingWrapper.propTypes = {\n dispatch: PropTypes.func.isRequired,\n uuid: PropTypes.string.isRequired,\n feedbacks: PropTypes.arrayOf(feedbackShape),\n meta: metaShape,\n error: errorShape,\n formData: formDataShape,\n};\n\nMarketingWrapper.defaultProps = {\n feedbacks: [],\n meta: {\n averageRating: 0.0,\n pagination: {\n totalPages: 0,\n totalCount: 0,\n },\n },\n error: null,\n formData: {\n action: \"new\",\n data: null,\n isVisible: false,\n error: null,\n isLoading: false,\n },\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpFeedbackReducer.uuid,\n feedbacks: state.tdpFeedbackReducer.feedbacks,\n meta: state.tdpFeedbackReducer.meta,\n error: state.tdpFeedbackReducer.error,\n formData: state.tdpFeedbackReducer.formData,\n});\n\nexport default connect(mapStateToProps)(MarketingWrapper);\n","import PropTypes from \"prop-types\";\n\nconst errorShape = PropTypes.shape({\n message: PropTypes.string.isRequired,\n errors: PropTypes.arrayOf(PropTypes.string),\n});\n\nexport default errorShape;\n","/* eslint-disable import/prefer-default-export */\nexport const adaptError = (error) => {\n if (!error?.response?.data?.message) {\n return {\n message: \"Unknown error occurred. Please try again later\",\n };\n }\n\n return error.response.data;\n};\n","import { adaptError } from \"../api/apiAdapters\";\nimport { sendBlueprintRequestFromApi } from \"../api/apiWrappers\";\nimport { sentBlueprintRequest, fetchSendBlueprintRequestFailure, showSuccessToast } from \"./creators\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\n\nexport const sendBlueprintRequest = () => async (dispatch) => {\n const req = sendBlueprintRequestFromApi();\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(fetchSendBlueprintRequestFailure(adaptError(err)));\n return;\n }\n\n dispatch(sentBlueprintRequest());\n dispatch(\n showSuccessToast({\n show: true,\n msg: \"Request Sent! A representative from Blueprint should be reaching out to you shortly.\",\n }),\n );\n setTimeout(() => {\n dispatch(showSuccessToast({ show: false, msg: \"\" }));\n }, 7000);\n};\n","import axios from \"axios\";\n\nconst basePath = \"/api/v4/transactions\";\n\nexport const sendBlueprintRequestFromApi = () => axios.get(`${basePath}/blueprint/inform`);\n","import React from \"react\";\nimport { bool, func } from \"prop-types\";\nimport Modal from \"@shared/v2/Modal/Modal\";\nimport Close from \"@shared/v2/Icomoon/Icons/Close\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport CheckSolidV6 from \"@shared/v2/Icomoon/Icons/CheckSolidV6\";\nimport ArrowRightSolidV6 from \"@shared/v2/Icomoon/Icons/ArrowRightSolidV6\";\nimport Button from \"@shared/v2/Button/Button\";\n\nconst FEATURE_LIST = [\n {\n title: \"Seamless Integration\",\n desc: \"Initiate title orders without leaving Brivity.\",\n },\n {\n title: \"Exceptional Client Experience\",\n desc: \"Keep your agents and clients informed throughout the process.\",\n },\n {\n title: \"Ownership and Hospitality\",\n desc: \"Turn current clients into Forever Clients. Working with Blueprint means that you have ownership throughout the contract-to-close period.\",\n },\n];\n\nconst BlueprintAccessModal = ({ isModalOpen, onHideHandlr, onGetAccess }) => {\n return (\n \n \n \n \n \n \n Close\n \n \n \n \n
\n
\n Launch transactions with YOUR title company\n
\n
\n Contro! more of your business within the PLACE family.\n
Managing the transaction process just got easier!
\n
\n {FEATURE_LIST.map((item, index) => (\n
\n \n
\n \n {item.title}\n {\" - \"}\n \n {item.desc}\n
\n
\n ))}\n
\n
\n Make more of every closing. Request access to get started!\n
\n
\n
\n
\n \n \n \n \n );\n};\nBlueprintAccessModal.propTypes = {\n isModalOpen: bool,\n onHideHandlr: func,\n onGetAccess: func,\n};\n\nBlueprintAccessModal.defaultProps = {\n isModalOpen: false,\n onHideHandlr: () => {},\n onGetAccess: () => {},\n};\nexport default BlueprintAccessModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as actionCreators from \"./actions/thunks\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Button from \"@shared/v2/Button/Button\";\nimport BlueprintAccessModal from \"./BlueprintAccessModal\";\n\nconst TitleAndEscrowCard = ({ type, sendBlueprintRequest }) => {\n const [isModalOpen, setModalOpen] = useState(false);\n\n const showModal = () => {\n setModalOpen(true);\n };\n const onHideHandlr = () => {\n setModalOpen(false);\n };\n const onGetAccess = () => {\n if (isModalOpen) {\n setModalOpen(false);\n }\n sendBlueprintRequest();\n };\n return (\n <>\n \n
\n Open title directly from Brivity!\n
\n
\n {type === \"buyer\"\n ? \"Upload your signed purchase and sale agreement to get started.\"\n : \"Upload an executed Purchase and Sale Agreement or initiate a pre-contract title search.\"}\n
\n
\n \n
\n
\n \n Learn More\n \n \n
\n \n {isModalOpen && (\n \n )}\n \n );\n};\n\nTitleAndEscrowCard.propTypes = {\n sendBlueprintRequest: PropTypes.func,\n type: PropTypes.string,\n};\n\nTitleAndEscrowCard.defaultProps = {\n sendBlueprintRequest: () => {},\n type: null,\n};\n\nconst mapStateToProps = (state) => ({\n type: state.tdpDetailsReducer.headerDetails.type,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n sendBlueprintRequest: () => dispatch(actionCreators.sendBlueprintRequest()),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(TitleAndEscrowCard);\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Alert from \"@shared/v2/Alert\";\nimport Check from \"@shared/v2/Icomoon/Icons/Check\";\nimport Error from \"@shared/Error\";\nimport PlusSolidV6 from \"@shared/v2/Icomoon/Icons/PlusSolidV6\";\nimport Button from \"@shared/v2/Button/Button\";\nimport errorShape from \"./model/error\";\nimport Header from \"../../UI/Header\";\nimport TitleAndEscrowCard from \"./TitleAndEscrowCard\";\n\nconst TitleAndEscrow = ({ error, toastState }) => {\n const [isModalOpen, setModalOpen] = useState(false);\n\n const showModal = () => {\n setModalOpen(true);\n };\n return (\n <>\n {toastState?.show && toastState?.msg && (\n \n \n {toastState?.msg}\n \n }\n role=\"alert\"\n />\n )}\n
\n
\n {error && }\n \n
\n \n \n Open Title with Blueprint\n \n
\n
\n \n );\n};\n\nTitleAndEscrow.propTypes = {\n error: errorShape,\n toastState: PropTypes.shape({\n show: PropTypes.bool,\n msg: PropTypes.string,\n }),\n};\n\nTitleAndEscrow.defaultProps = {\n error: null,\n toastState: {\n show: false,\n msg: \"\",\n },\n};\n\nconst mapStateToProps = (state) => ({\n error: state.tdpTitleAndEscrowReducer.error,\n toastState: state.tdpTitleAndEscrowReducer.toastState,\n});\n\nexport default connect(mapStateToProps)(TitleAndEscrow);\n","import React from \"react\";\nimport { string } from \"prop-types\";\nimport { SideContainer, WidgetContainer } from \"../UI/Containers\";\nimport Divider from \"../UI/Divider\";\nimport AutoPlans from \"./AutoPlans\";\nimport Dates from \"./Dates\";\nimport Marketing from \"./Marketing\";\nimport { tdpDetails } from \"../../shared/HOCs/withRedux\";\nimport { TYPE } from \"../../shared/reduxRoutes/tdpDetailsRoutes\";\nimport { useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport { isReferral } from \"../shared/helpers\";\nimport TitleAndEscrow from \"./TitleAndEscrow\";\n\nconst ReferralSideRight = () => (\n \n
\n \n \n \n \n \n \n \n
\n
\n);\n\nconst NonReferralSideRight = ({ type }) => {\n const featureFlags = useFeatureFlags();\n return (\n \n
\n \n \n \n \n {featureFlags.blueprintTitle && (type === \"buyer\" || type === \"seller\") && (\n <>\n \n \n \n \n \n )}\n \n \n \n \n \n \n \n
\n
\n );\n};\n\nconst SideRight = ({ type }) =>\n !isReferral(type) ? : ;\n\nSideRight.propTypes = {\n type: string,\n};\n\nSideRight.defaultProps = {\n type: null,\n};\nexport default tdpDetails({ WrappedComponent: SideRight, states: TYPE });\n","/* eslint-disable import/prefer-default-export */\nimport { caseTransformingAxios } from \"../../../shared/v2/caseTransformingAxios\";\n\nexport const getPrevNextListingsAsApi = (uuid, params) =>\n caseTransformingAxios.get(`/api/v4/transactions/navigation_bar/navigation_slugs`, {\n params: { ...params, uuid },\n });\n","/* eslint-disable import/prefer-default-export */\nimport { tryCatchHandlr } from \"../../../shared/Utilities\";\nimport { getPrevNextListingsAsApi } from \"../api/apiWrappers\";\nimport { saveNavigationListings } from \"./creators\";\n\nexport const getPrevNextListingsAsThunk = (uuid, params) => async (dispatch) => {\n const queryParams = {\n ...params,\n uuid,\n use_classic: false, // force new view\n };\n\n const req = getPrevNextListingsAsApi(uuid, queryParams);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n return;\n }\n\n dispatch(saveNavigationListings(res.data));\n};\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\n\nconst cellSizeDictionary = {\n small: \"tw-h-24px tw-w-24px\",\n medium: \"tw-h-36px tw-w-36px\",\n large: \"tw-h-48px tw-w-48px\",\n};\n\nconst imageSizeDictionary = {\n small: \"tw-h-20px\",\n medium: \"tw-h-30px\",\n large: \"tw-h-40px\",\n};\n\nconst InitialsCircle = ({ initials, name, size = \"large\" }) => (\n \n {initials}\n \n);\n\nconst AgentCell = ({ agent, size = \"large\" }) => {\n const { photoURL, name, showURL } = agent;\n const hasImage = !!photoURL;\n const hasProfileLink = !!showURL;\n\n const content = hasImage ? (\n \n ) : (\n \n );\n\n return (\n \n {hasProfileLink ? (\n \n {content}\n \n ) : (\n
{content}
\n )}\n \n );\n};\n\nexport default AgentCell;\n","/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n\nimport React from \"react\";\n\nconst Switcher = ({ children, justify, onClick, isActionable }) => {\n const triggerableContainer = () => (\n \n {children}\n \n );\n\n return triggerableContainer(children);\n};\n\nexport default Switcher;\n","/* eslint-disable react/prop-types */\nimport React, { useState } from \"react\";\nimport { InlineEditIcon } from \"../icons\";\nimport Switcher from \"./Switcher\";\nimport TextInput from \"../../../shared/v2/TextInput\";\n\nconst TextCell = ({\n value,\n isEditable,\n onChange,\n justify,\n editableDisplayClassName,\n editableContainerClassName,\n iconProps,\n}) => {\n const [isEditing, setIsEditing] = useState(false);\n const [currentValue, setCurrentValue] = useState(value);\n\n const iconType = ;\n\n const blankNonEditableDisplay = ;\n const blankEditableDisplay = (\n \n Add\n \n );\n const nonEditableDisplay = {currentValue};\n const editableDisplay = (\n
\n {currentValue}\n {iconType}\n
\n );\n const isEmpty = !currentValue || currentValue.length === 0;\n\n const maybeToggleToInput = () => {\n if (!isEditing) {\n setIsEditing(true);\n }\n };\n\n const updateIfChanged = (newValue) => {\n if (newValue !== value) onChange(newValue);\n };\n\n const handlekeydownEvent = (event) => {\n const { keyCode } = event;\n if (keyCode === 13) {\n updateIfChanged(event.target.value);\n setIsEditing(false);\n }\n };\n\n const input = (\n newInput && newInput.focus()}\n onChange={(e) => setCurrentValue(e.target.value)}\n onKeyDown={handlekeydownEvent}\n onBlur={(e) => {\n updateIfChanged(e.target.value);\n setIsEditing(false);\n }}\n />\n );\n\n let content = null;\n if (!isEditable && !isEmpty) {\n content = nonEditableDisplay;\n } else if (!isEditable && isEmpty) {\n content = blankNonEditableDisplay;\n } else if (isEditable && isEditing) {\n content = input;\n } else if (isEditable && !isEditing && isEmpty) {\n content = blankEditableDisplay;\n } else if (isEditable && !isEditing && !isEmpty) {\n content = editableDisplay;\n }\n\n return (\n \n {content}\n \n );\n};\n\nexport default TextCell;\n","const toUSString = (valueString) =>\n valueString.toLocaleString(\"en-us\", {\n style: \"currency\",\n currency: \"USD\",\n minimumFractionDigits: 0,\n });\n\nexport default toUSString;\n","/* eslint-disable react/prop-types */\n\nimport React, { useState } from \"react\";\nimport { InlineEditIcon } from \"../icons\";\nimport { pipe } from \"../../utils/helpers\";\nimport toUSString from \"../../utils/Currency\";\nimport Switcher from \"./Switcher\";\nimport TextInput from \"../../../shared/v2/TextInput\";\n\nconst ignoreNaN = (valueString) => (valueString === \"$NaN\" ? \"\" : valueString);\nconst adjustSeparator = (valueString) => valueString.replace(/,/g, \"\");\nconst numberify = (valueString) => Math.round(parseFloat(valueString));\nconst format = (value) => pipe(adjustSeparator, numberify, toUSString, ignoreNaN)(value);\n\nconst CurrencyCell = ({ value, isEditable, onChange, onActivate, justify }) => {\n const [isEditing, setIsEditing] = useState(false);\n const [currentValue, setCurrentValue] = useState(value || \"\");\n\n const iconType = ;\n const formattedValue = format(value || \"\");\n\n const blankNonEditableDisplay = ;\n const blankEditableDisplay = (\n \n Add\n \n );\n const nonEditableDisplay = {formattedValue};\n const editableDisplay = (\n
\n {formattedValue}\n {iconType}\n
\n );\n const isEmpty = !currentValue || currentValue.length === 0;\n\n const maybeToggleToInput = () => {\n if (!isEditing && isEditable) {\n if (onActivate) {\n onActivate();\n } else {\n setIsEditing(true);\n }\n }\n };\n\n const updateIfChanged = (newValue) => {\n if (newValue !== value) onChange(newValue);\n };\n\n const handlekeydownEvent = (event) => {\n const { keyCode } = event;\n if (keyCode === 13) {\n updateIfChanged(event.target.value);\n setIsEditing(false);\n }\n };\n\n const input = (\n newInput && newInput.focus()}\n onChange={(e) => setCurrentValue(e.target.value)}\n onKeyDown={handlekeydownEvent}\n onBlur={(e) => {\n updateIfChanged(e.target.value);\n setIsEditing(false);\n }}\n />\n );\n\n let content = null;\n if (!isEditable && !isEmpty) {\n content = nonEditableDisplay;\n } else if (!isEditable && isEmpty) {\n content = blankNonEditableDisplay;\n } else if (isEditable && isEditing) {\n content = input;\n } else if (isEditable && !isEditing && isEmpty) {\n content = blankEditableDisplay;\n } else if (isEditable && !isEditing && !isEmpty) {\n content = editableDisplay;\n }\n\n return (\n \n {content}\n \n );\n};\n\nexport default CurrencyCell;\n","/* eslint-disable react/prop-types, react/jsx-props-no-spreading */\n\nimport React, { useEffect, useRef } from \"react\";\nimport Datetime from \"react-datetime\";\nimport moment from \"moment\";\nimport \"react-datetime/css/react-datetime.css\";\nimport \"./DatePicker.scss\";\nimport TextInput from \"../../../shared/v2/TextInput\";\n\nconst DatePicker = ({ style, className, inputProps, value, ...otherProps }) => {\n const inputRef = useRef();\n\n useEffect(() => {\n // Force date picker to show after clicking on input. \"open\" prop on library disables onBlur handler.\n inputRef.current.focus();\n }, []);\n\n const handleDataOnSave = (momentObj) => {\n otherProps.onChange(momentObj);\n };\n\n const handleDateOnChange = (val) => {\n if (moment(val, [\"MM-DD-YYYY\", \"YYYY-MM-DD\"], true).isValid()) {\n handleDataOnSave(val);\n }\n };\n\n const handleDateOnBlur = (val) => {\n otherProps.onBlur(val);\n };\n\n const handleDateOnFocus = () => {\n if (!moment(value, [\"MM-DD-YYYY\", \"YYYY-MM-DD\"], true).isValid()) {\n otherProps.onChange(moment().format(\"YYYY-MM-DD\"));\n }\n };\n\n const showCalendar = (originalOtherProps) => (\n \n );\n\n const formatValue = () => {\n if (otherProps.dateFormat !== undefined && otherProps.dateFormat === \"MM-DD\") {\n return moment(value, \"MM-DD\").format(\"MM-DD\");\n }\n if (moment(value, \"YYYY-MM-DD\", true).isValid()) {\n return moment(value, \"YYYY-MM-DD\").format(\"MM-DD-YYYY\");\n }\n return \"\";\n };\n\n return (\n
\n \n
\n );\n};\n\nexport default DatePicker;\n","/* eslint-disable react/prop-types */\n\nimport React, { useState, useEffect } from \"react\";\nimport moment from \"moment\";\nimport { InlineEditIcon } from \"../icons\";\nimport DatePicker from \"./DatePicker\";\nimport Switcher from \"./Switcher\";\n\nconst format = (dateValue) => moment(dateValue).format(\"MM-DD-YYYY\");\n\nconst DateCell = ({ value, isEditable, onChange, justify }) => {\n const [isEditing, setIsEditing] = useState(false);\n const [currentValue, setCurrentValue] = useState(value);\n\n useEffect(() => {\n setCurrentValue(value);\n }, [value]);\n\n const iconType = ;\n\n const blankNonEditableDisplay = ;\n const blankEditableDisplay = (\n \n Add\n \n );\n const nonEditableDisplay = {format(currentValue)};\n const editableDisplay = (\n
\n {format(currentValue)}\n {iconType}\n
\n );\n const isEmpty = !currentValue || currentValue.length === 0;\n\n const maybeToggleToInput = () => {\n if (!isEditing) {\n setIsEditing(true);\n }\n };\n\n const updateIfChanged = (newValue) => {\n if (newValue !== value) onChange(newValue);\n };\n\n const closeAndUpdateIfChanged = (momentValue) => {\n const ISOValue = momentValue.format(\"YYYY-MM-DD\");\n updateIfChanged(ISOValue);\n setIsEditing(false);\n };\n\n const input = (\n {\n if (typeof e === \"string\") {\n return;\n }\n closeAndUpdateIfChanged(e);\n }}\n onBlur={() => setIsEditing(false)}\n timeFormat={false}\n showCalendar\n value={value}\n />\n );\n\n let content = null;\n if (!isEditable && !isEmpty) {\n content = nonEditableDisplay;\n } else if (!isEditable && isEmpty) {\n content = blankNonEditableDisplay;\n } else if (isEditable && isEditing) {\n content = input;\n } else if (isEditable && !isEditing && isEmpty) {\n content = blankEditableDisplay;\n } else if (isEditable && !isEditing && !isEmpty) {\n content = editableDisplay;\n }\n\n return (\n \n {content}\n \n );\n};\n\nexport default DateCell;\n","const actions = {\n updateAddressModal: {\n toggleUpdateAddressModal: (bool, tempStatus, listing) => ({\n name: \"TOGGLE_UPDATE_ADDRESS_MODAL\",\n bool,\n tempStatus,\n listing,\n }),\n },\n\n filters: {\n add: ({ type, value }) => ({\n name: \"FILTERS_ADD\",\n filter: { type, value },\n }),\n remove: ({ type, value }) => ({\n name: \"FILTERS_REMOVE\",\n filter: { type, value },\n }),\n set: (filters) => ({ name: \"FILTERS_SET\", filters }),\n clear: () => ({ name: \"FILTERS_CLEAR\" }),\n openModal: () => ({ name: \"FILTERS_OPEN_MODAL\" }),\n closeModal: () => ({ name: \"FILTERS_CLOSE_MODAL\" }),\n },\n\n order: {\n set: (value) => ({ name: \"ORDER_SET\", value }),\n },\n\n pagination: {\n setPage: (pageNumber) => ({ name: \"PAGE_NUMBER_SET\", value: pageNumber }),\n setPaginationInfo: (info) => ({ name: \"PAGINATION_INFORMATION_SET\", value: info }),\n },\n\n listings: {\n fetchStart: () => ({ name: \"LISTING_FETCH_START\" }),\n fetchSuccess: (listingData) => ({\n name: \"LISTING_FETCH_SUCCESS\",\n data: listingData,\n }),\n fetchFailure: () => ({ name: \"LISTING_FETCH_FAILURE\" }),\n\n cardFetchStart: (status) => ({ name: \"LISTING_CARD_FETCH_START\", status }),\n cardFetchSuccess: (listingData, status) => ({\n name: \"LISTING_CARD_FETCH_SUCCESS\",\n data: listingData,\n status,\n }),\n\n updateStart: (originalListing, changes) => ({ name: \"LISTING_UPDATE_START\", originalListing, changes }),\n updateSuccess: (listingData) => ({\n name: \"LISTING_UPDATE_SUCCESS\",\n listingData,\n }),\n updateListing: (listing, status, addressDetails) => ({\n name: \"LISTING_UPDATE_STATE\",\n listing,\n status,\n addressDetails,\n }),\n updateStatusRequest: (originalListing, stateChanges) => ({\n name: \"LISTING_UPDATE_STATUS_REQ\",\n originalListing,\n stateChanges,\n }),\n updateFailure: (originalListing, error) => ({\n name: \"LISTING_UPDATE_FAILURE\",\n originalListing,\n error,\n }),\n\n deleteStart: (listing) => ({ name: \"LISTING_DELETE_START\", listing }),\n deleteSuccess: (listingData) => ({\n name: \"LISTING_DELETE_SUCCESS\",\n listingData,\n }),\n deleteFailure: (listingData) => ({\n name: \"LISTING_DELETE_FAILURE\",\n listingData,\n }),\n\n archiveStart: (listing) => ({ name: \"LISTING_ARCHIVE_START\", listing }),\n archiveSuccess: (listingData) => ({\n name: \"LISTING_ARCHIVE_SUCCESS\",\n listingData,\n }),\n archiveFailure: (listingData) => ({\n name: \"LISTING_ARCHIVE_FAILURE\",\n listingData,\n }),\n updateAggregations: (data) => ({ name: \"LISTING_UPDATE_AGGREGATIONS\", data }),\n },\n\n importModal: {\n toggleImportModal: (bool, listing, updatedStatus) => ({\n name: \"TOGGLE_IMPORT_MODAL\",\n bool,\n listing,\n updatedStatus,\n }),\n },\n\n saveFiltersModal: {\n openModal: () => ({\n name: \"LISTING_FILTERS_OPEN_MODAL\",\n }),\n closeModal: () => ({\n name: \"LISTING_FILTERS_CLOSE_MODAL\",\n }),\n saveStart: (data) => ({\n name: \"LISTING_FILTERS_SAVE_START\",\n data,\n }),\n saveSuccess: () => ({\n name: \"LISTING_FILTERS_SAVE_SUCCESS\",\n }),\n saveFailure: (errors) => ({\n name: \"LISTING_FILTERS_SAVE_FAILURE\",\n errors,\n }),\n },\n\n financials: {\n get: (listing) => ({ name: \"FINANCIALS_GET\", listing }),\n show: (listing, detail) => ({ name: \"FINANCIALS_SHOW\", listing, detail }),\n hide: () => ({ name: \"FINANCIALS_HIDE\" }),\n updateStart: (listing, detail) => ({\n name: \"FINANCIALS_UPDATES_START\",\n listing,\n detail,\n }),\n updateSuccess: (data) => ({ name: \"FINANCIALS_UPDATES_SUCCESS\", data }),\n updateFailure: (listing, detail) => ({\n name: \"FINANCIALS_UPDATES_FAILURE\",\n listing,\n detail,\n }),\n index: () => ({ name: \"FINANCIALS_INDEX\" }),\n },\n\n errors: {\n general: () => ({ name: \"GENERAL_ERROR\" }),\n clear: () => ({ name: \"NO_GENERAL_ERROR\" }),\n },\n\n rendering: {\n setColumns: (columns) => ({ name: \"RENDERING_SET_COLUMNS\", columns }),\n reorderColumn: ({ sourceIndex, destinationIndex }) => ({\n name: \"RENDERING_REORDER_COLUMNS\",\n sourceIndex,\n destinationIndex,\n }),\n setDisplay: (display) => ({ name: \"RENDERING_SET_DISPLAY\", display }),\n setAddTransactionModal: (isOpen, status) => ({\n name: \"RENDERING_TOGGLE_ADD_TRANSACTION_MODAL\",\n isOpen,\n status,\n }),\n },\n\n preferences: {\n save: (preferences) => ({ name: \"PREFERENCESS_SAVE\", preferences }),\n },\n};\n\nexport default actions;\n","import axios from \"axios\";\nimport queryString from \"query-string\";\nimport ReactOnRails from \"react-on-rails\";\n\nconst dashboardPreferencePath = () => \"/api/v4/dashboard_preferences\";\nconst saveListingFiltersPath = \"/listing_filters\";\nconst listingsPath = (listing) => `/api/v4/listings${listing ? `/${listing.id}` : \"\"}`;\nconst listingsDeletionPath = () => `/listings/delete_multiple`;\nconst financialsPath = (listing) => `${listingsPath(listing)}/financials`;\nconst aggregationsPath = (filters) =>\n `${listingsPath()}/aggregations?${queryString.stringify(filters, { arrayFormat: \"bracket\" })}`;\nconst listingsQueryPath = (filters) =>\n `${listingsPath()}?${queryString.stringify(filters, { arrayFormat: \"bracket\" })}`;\n\nconst csrfToken = () => ReactOnRails.authenticityToken();\nconst apiWrapper = {\n saveFiltersModal: {\n create: async (data) =>\n axios.post(saveListingFiltersPath, data, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"x-csrf-token\": csrfToken(),\n },\n }),\n },\n listings: {\n list: async (filters) => axios.get(listingsQueryPath(filters)),\n show: async (id) => axios.get(listingsPath({ id })),\n update: async (listing, changes) =>\n axios({\n method: \"put\",\n url: listingsPath(listing),\n headers: {\n \"X-CSRF-Token\": csrfToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n data: { listing: changes },\n }),\n delete: async (listing) =>\n axios({\n method: \"delete\",\n url: listingsDeletionPath(),\n headers: {\n \"X-CSRF-Token\": csrfToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n data: { ids: [listing.id] },\n }),\n },\n financials: {\n list: async (listing) => axios.get(financialsPath(listing)),\n index: async () => axios.get(aggregationsPath()),\n create: async (listing, detailData) =>\n axios({\n method: \"post\",\n url: financialsPath(listing),\n headers: {\n \"X-CSRF-Token\": csrfToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n data: { transaction_income: { ...detailData } },\n }),\n },\n preferences: {\n create: async ({ dashboard, preferences }) =>\n axios({\n method: \"post\",\n url: dashboardPreferencePath(),\n headers: {\n \"X-CSRF-Token\": csrfToken(),\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n data: { dashboard_preference: { dashboard, configuration: { ...preferences } } },\n }),\n },\n};\n\nexport default apiWrapper;\n","const NotifyError = (error, customMessage = \"\", context = {}) => {\n console.log(error)\n};\n\nexport default NotifyError;\n","/* eslint-disable no-param-reassign, camelcase, no-restricted-globals, no-unused-vars */\nimport { UpdateWithSideEffect, Update, NoUpdate, SideEffect } from \"use-reducer-with-side-effects\";\nimport { produce } from \"immer\";\nimport actions from \"./actions\";\nimport { Listing } from \"./models\";\nimport apiWrapper from \"./apiWrapper\";\nimport {\n listingFromAPI,\n listingToAPI,\n financialDetailFromAPI,\n financialDetailToAPI,\n aggregationsByStatus,\n} from \"./apiAdapters\";\nimport { newUrlBuilder, pipe, sortBy } from \"./utils/helpers\";\nimport NotifyError from \"../shared/NotifyError\";\n\nconst reorder = (list, startIndex, endIndex) => {\n const result = sortBy([...list], \"position\");\n const [removed] = result.splice(startIndex, 1);\n result.splice(endIndex, 0, removed);\n\n return result;\n};\n\nconst reassignPositions = (list) => list.map((item, index) => ({ ...item, position: index + 1 }));\nconst hashifyColumns = (array) => array.reduce((acc, column) => ({ ...acc, [column.id]: column }), {});\n\nconst clearIfAll = (selectedIds) =>\n selectedIds.map((id) => id.toString()).indexOf(\"-1\") >= 0 ? [] : selectedIds;\n\nconst normalizeStatus = (statuses) => statuses.map((status) => status.replace(\"-\", \"_\"));\n\nexport const normalizeFilters = ({ filters, pagination, order }, includePageOrder = true) => {\n const keysToIgnore = [\n \"closeDateRange\",\n \"statusChangedRange\",\n \"statusChangedDates\",\n \"publishedState\",\n \"search\",\n ];\n const filtersWithAll = Object.keys(filters).reduce((acc, key) => {\n if (keysToIgnore.includes(key)) {\n return acc;\n }\n\n acc[key] = clearIfAll(filters[key]);\n return acc;\n }, {});\n\n // Prevent the server from crashing when the user omits the status changed dates\n const statusChangedDates = filters.statusChangedDates.filter((date) => date);\n let statusChangedRange;\n if (filters.statusChangedRange.includes(\"custom\") && statusChangedDates.length !== 2) {\n statusChangedRange = filters.statusChangedRange.filter((item) => item !== \"custom\");\n } else {\n statusChangedRange = filters.statusChangedRange;\n }\n\n return {\n ...filtersWithAll,\n close_date_range: filters.closeDateRange,\n status_changed_range: statusChangedRange,\n status_changed_dates: statusChangedDates,\n status: normalizeStatus(filters.status),\n published_state: filters.publishedState,\n search: filters.search,\n ...(includePageOrder && { page: pagination?.currentPage }),\n ...(includePageOrder && { order: [order] }),\n };\n};\n\nconst newAddress = (filters) => {\n const targetUrl = newUrlBuilder(filters, window.location);\n window.location = targetUrl;\n};\n\nconst addFilter = (filters, { type, value }) => {\n const newFilters = { ...filters };\n if (newFilters[type] && newFilters[type].indexOf(value) < 0) {\n newFilters[type].push(value);\n }\n return newFilters;\n};\n\nconst removeFilter = (filters, { type, value }) => {\n const newFilters = { ...filters };\n if (newFilters[type]) {\n newFilters[type] =\n typeof newFilters[type] === \"string\" ? null : newFilters[type].filter((f) => f !== value);\n }\n return newFilters;\n};\n\nconst initialStateGen = () => ({\n updateAddressModal: {\n isUpdateAddressModalOpen: false,\n listing: {\n uuid: \"\",\n },\n tempStatus: null,\n },\n importModal: {\n isImportModalOpen: false,\n listing: null,\n updatedStatus: \"\",\n },\n listings: {\n isFetching: false,\n data: [],\n entries: [],\n totals: {\n buyers: 0,\n sellers: 0,\n landlords: 0,\n tenants: 0,\n referrals: 0,\n gci: 0,\n closedVolume: 0,\n },\n },\n saveFiltersModal: {\n isLoading: false,\n isVisible: false,\n errors: [],\n },\n filters: {\n agent: [],\n search: \"\",\n status: [],\n source: [],\n closeDateRange: [],\n statusChangedRange: [],\n statusChangedDates: [],\n type: [],\n publishedState: [],\n },\n order: \"\",\n filterModalIsOpen: false,\n pagination: {\n currentPage: 1,\n nextPage: null,\n prevPage: null,\n totalPages: 1,\n totalCount: 0,\n },\n error: {\n showError: false,\n message: \"\",\n },\n renderableColumns: null,\n display: \"list\",\n addTransactionModalIsOpen: false,\n});\n\nexport const initialState = initialStateGen();\n\nexport const reducer = (state, action) => {\n switch (action.name) {\n case actions.pagination.setPage().name: {\n return UpdateWithSideEffect(\n { ...state, pagination: { ...state.pagination, currentPage: action.value } },\n (_, dispatch) => dispatch(actions.listings.fetchStart()),\n );\n }\n\n case actions.pagination.setPaginationInfo().name: {\n return Update({ ...state, pagination: action.value });\n }\n\n case actions.listings.fetchStart().name: {\n return UpdateWithSideEffect({ ...state, listings: { ...state.listings, isFetching: true } }, () => {\n newAddress(normalizeFilters(state));\n });\n }\n case actions.listings.fetchSuccess().name: {\n return Update({\n ...state,\n listings: {\n ...state.listings,\n isFetching: false,\n data: action.data.listings,\n entries: action.data.listings.map((listing) => new Listing(listing)),\n totals: action.data.totals,\n },\n pagination: {\n currentPage: action.data.pagination.current_page,\n nextPage: action.data.pagination.next_page,\n prevPage: action.data.pagination.prev_page,\n totalPages: action.data.pagination.total_pages,\n totalCount: action.data.pagination.total_count,\n },\n });\n }\n case actions.listings.fetchFailure().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n listings: {\n ...state.listings,\n isFetching: false,\n },\n },\n (_, dispatch) => {\n dispatch(actions.errors.general());\n },\n );\n }\n case actions.listings.cardFetchStart(\"\").name: {\n const { status } = action;\n const pagination = state.listings.byStatusPagination || {};\n if (pagination[status] && (pagination[status].next_page === null || pagination[status].isFetching)) {\n return NoUpdate();\n }\n\n return UpdateWithSideEffect(\n {\n ...state,\n listings: {\n ...state.listings,\n byStatusPagination: {\n ...pagination,\n [status]: {\n ...pagination[status],\n isFetching: true,\n },\n },\n },\n },\n\n (currentState, dispatch) => {\n const onSuccess = (response) => {\n dispatch(actions.listings.cardFetchSuccess(response.data, status));\n };\n const onFailure = (response) => {\n // eslint-disable-next-line no-console\n console.log(response);\n };\n\n const newPage = pagination[status]?.next_page || 1;\n const filters = {\n ...normalizeFilters(currentState),\n status: [status.replace(\"comingsoon\", \"coming-soon\")],\n page: newPage,\n };\n\n apiWrapper.listings.list(filters).then(onSuccess, onFailure);\n },\n );\n }\n case actions.listings.cardFetchSuccess(\"\").name: {\n return Update({\n ...state,\n listings: {\n ...state.listings,\n data: [...state.listings.data, ...action.data.listings.map(listingFromAPI)],\n entries: [\n ...state.listings.entries,\n ...action.data.listings.map((listingData) => new Listing(listingFromAPI(listingData))),\n ],\n byStatusPagination: {\n ...state.listings.byStatusPagination,\n [action.status]: {\n ...action.data.meta,\n isFetching: false,\n },\n },\n byStatusTotals: {\n ...state.listings.byStatusTotals,\n [action.status.replace(/coming[-_ ]soon/, \"comingsoon\")]: {\n ...action.data.totals,\n },\n },\n },\n });\n }\n\n case actions.listings.updateStart().name: {\n // something is changing actions\n const initialListingState = { ...action.originalListing };\n return SideEffect([\n (_, dispatch) => {\n const data = listingToAPI({ ...action.originalListing, ...action.changes });\n const changedStatus =\n initialListingState.status !== action.changes.status ||\n (Object.keys(action.changes).length === 1 && action.changes.status);\n\n const onSuccess = (response) => {\n dispatch(actions.listings.updateSuccess(response.data.listing));\n if (changedStatus) {\n dispatch(actions.financials.index());\n if (\n initialListingState.status === \"pipeline\" &&\n (action.changes.status === \"active\" || action.changes.status === \"pending\")\n ) {\n dispatch(\n actions.importModal.toggleImportModal(true, initialListingState, action.changes.status),\n );\n } else if (\n action.changes.status === \"comingsoon\" &&\n !initialListingState?.address?.streetAddress\n ) {\n dispatch(\n actions.updateAddressModal.toggleUpdateAddressModal(\n true,\n action.changes.status,\n initialListingState,\n ),\n );\n }\n }\n };\n\n const onFailure = (error) => {\n if (error.response.status > 404) {\n NotifyError(error, \"Failed updating listing\");\n }\n\n dispatch(actions.listings.updateFailure(initialListingState, error.response.data));\n };\n\n apiWrapper.listings.update(action.originalListing, data).then(onSuccess, onFailure);\n },\n ]);\n }\n\n // Update listing status and/or address only\n case actions.listings.updateListing().name: {\n return Update(\n produce(state, (draft) => {\n const listingIdx = state.listings.entries.findIndex(({ uuid }) => uuid === action.listing.uuid);\n const listing = draft.listings.entries[listingIdx];\n\n // Update Totals\n const STATUS_ACTUAL_VALUES = \"sold\";\n const isActualValues = listing.status === STATUS_ACTUAL_VALUES;\n const isActionActualValues = action.status === STATUS_ACTUAL_VALUES;\n const closePrice = Number(listing.closePrice || 0);\n const gci = Number(listing.gci || 0);\n\n if (isActualValues && !isActionActualValues) {\n draft.listings.totals.actualClosedVolume -= closePrice;\n draft.listings.totals.estimatedClosedVolume += closePrice;\n draft.listings.totals.actualGci -= gci;\n draft.listings.totals.estimatedGci += gci;\n }\n\n if (!isActualValues && isActionActualValues) {\n draft.listings.totals.actualClosedVolume += closePrice;\n draft.listings.totals.estimatedClosedVolume -= closePrice;\n draft.listings.totals.actualGci += gci;\n draft.listings.totals.estimatedGci -= gci;\n }\n\n draft.listings.byStatusTotals[listing.status].gci =\n Number(draft.listings.byStatusTotals[listing.status].gci) - gci;\n draft.listings.byStatusTotals[listing.status].closed_volume =\n Number(draft.listings.byStatusTotals[listing.status].closed_volume) - closePrice;\n draft.listings.byStatusTotals[listing.status][`${listing.type}s`] -= 1;\n\n draft.listings.byStatusTotals[action.status].gci =\n Number(draft.listings.byStatusTotals[action.status].gci) + gci;\n draft.listings.byStatusTotals[action.status].closed_volume =\n Number(draft.listings.byStatusTotals[action.status].closed_volume) + closePrice;\n draft.listings.byStatusTotals[action.status][`${listing.type}s`] += 1;\n\n // Update listing\n listing.status = action.status;\n\n if (action.addressDetails) {\n listing.address.city = action.addressDetails.city || \"\";\n listing.address.locality = action.addressDetails.locality || \"\";\n listing.address.postalCode = action.addressDetails.postal_code || \"\";\n listing.address.streetAddress = action.addressDetails.street_address || \"\";\n draft.updateAddressModal.isUpdateAddressModalOpen = false;\n }\n }),\n );\n }\n\n case actions.listings.updateStatusRequest().name: {\n // something is changing actions\n const initialListingState = { ...action.originalListing };\n return SideEffect([\n (_, dispatch) => {\n const data = listingToAPI({ ...action.originalListing, ...action.stateChanges });\n\n const onFailure = (error) => {\n if (error.response.status > 404) {\n NotifyError(error, \"Failed updating listing\");\n }\n\n dispatch(actions.listings.updateFailure(initialListingState, error.response.data));\n };\n\n apiWrapper.listings.update(action.originalListing, data).then(() => {\n if (\n initialListingState.status === \"pipeline\" &&\n (action.stateChanges?.status === \"active\" || action.stateChanges?.status === \"pending\")\n ) {\n dispatch(\n actions.importModal.toggleImportModal(\n true,\n action.originalListing,\n action.stateChanges?.status,\n ),\n );\n } else if (\n action.stateChanges?.status === \"comingsoon\" &&\n !action.originalListing?.address?.streetAddress\n ) {\n dispatch(\n actions.updateAddressModal.toggleUpdateAddressModal(\n true,\n action.stateChanges?.status,\n action.originalListing,\n ),\n );\n }\n }, onFailure);\n },\n ]);\n }\n\n case actions.listings.updateSuccess().name: {\n const adaptedData = listingFromAPI(action.listingData);\n\n return Update({\n ...state,\n listings: {\n ...state.listings,\n data: state.listings.data.map((entry) => (entry.id === adaptedData.id ? adaptedData : entry)),\n entries: state.listings.data.map((entry) =>\n entry.id === adaptedData.id ? new Listing(adaptedData) : new Listing(entry),\n ),\n },\n });\n }\n case actions.listings.updateFailure().name: {\n const error = action.error || {};\n // Grab the first error message, which is most likely relevant\n const message = error[Object.keys(error)?.[0]]?.[0];\n return Update({\n ...state,\n listings: {\n ...state.listings,\n entries: state.listings.entries.map((entry) =>\n entry.id === action.originalListing.id\n ? new Listing({ ...action.originalListing, failedAt: new Date() })\n : new Listing(entry),\n ),\n },\n error: {\n showError: true,\n message,\n },\n });\n }\n\n case actions.listings.archiveStart().name: {\n return UpdateWithSideEffect({ ...state }, (_, dispatch) => {\n // the second argument can also be an array of side effects\n const onSuccess = (listing) => dispatch(actions.listings.archiveSuccess(listing));\n const onFailure = (error) => {\n if (error.response.status > 404) {\n NotifyError(error, \"Failed archiving listing\");\n }\n dispatch(actions.listings.archiveFailure());\n };\n apiWrapper.listings.archive(action.listing).then(onSuccess, onFailure);\n });\n }\n case actions.listings.archiveSuccess().name: {\n return Update({\n ...state,\n listings: {\n ...state.listings,\n data: state.listings.data.map((entry) =>\n entry.id === action.listingData.id ? action.listingData : entry,\n ),\n entries: state.listings.data.map((entry) =>\n entry.id === action.listingData.id ? new Listing(action.listingData) : entry,\n ),\n },\n });\n }\n case actions.listings.archiveFailure().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n listings: {\n ...state.listings,\n entries: state.listings.data.map((entry) => new Listing(entry)),\n },\n },\n (_, dispatch) => {\n dispatch(actions.errors.general());\n },\n );\n }\n\n case actions.listings.deleteStart().name: {\n return UpdateWithSideEffect({ ...state }, (_, dispatch) => {\n const onSuccess = () => {\n dispatch(actions.listings.deleteSuccess(action.listing));\n };\n const onFailure = (error) => {\n if (error.response.status > 404) {\n NotifyError(error, \"Failed archiving listing\");\n }\n dispatch(actions.listings.deleteFailure());\n };\n // the second argument can also be an array of side effects\n apiWrapper.listings.delete(action.listing).then(onSuccess, onFailure);\n });\n }\n case actions.listings.deleteSuccess().name: {\n return Update({\n ...state,\n listings: {\n ...state.listings,\n data: state.listings.data.filter((entry) => entry.id !== action.listingData.id),\n entries: state.listings.entries.filter((entry) => entry.id !== action.listingData.id),\n },\n });\n }\n case actions.listings.deleteFailure().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n listings: {\n ...state.listings,\n entries: state.listings.data.map((entry) => new Listing(entry)),\n },\n },\n (_, dispatch) => {\n dispatch(actions.errors.general());\n },\n );\n }\n\n case \"LISTING_UPDATE_AGGREGATIONS\": {\n const newAggregation = aggregationsByStatus(action.data);\n\n return Update({\n ...state,\n listings: {\n ...state.listings,\n byStatusTotals: newAggregation,\n },\n });\n }\n\n case actions.saveFiltersModal.openModal().name: {\n return Update({\n ...state,\n saveFiltersModal: {\n ...state.saveFiltersModal,\n isVisible: true,\n errors: [],\n },\n });\n }\n\n case actions.saveFiltersModal.closeModal().name: {\n return Update({\n ...state,\n saveFiltersModal: {\n ...state.saveFiltersModal,\n isVisible: false,\n errors: [],\n },\n });\n }\n\n case actions.saveFiltersModal.saveStart().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n saveFiltersModal: {\n ...state.saveFiltersModal,\n isLoading: true,\n isVisible: true,\n errors: [],\n },\n },\n (_, dispatch) => {\n const onSuccess = () => {\n dispatch(actions.saveFiltersModal.saveSuccess());\n };\n\n const onFailure = (res) => {\n dispatch(actions.saveFiltersModal.saveFailure(res.response.data.errors));\n };\n\n apiWrapper.saveFiltersModal.create(action.data).then(onSuccess, onFailure);\n },\n );\n }\n\n case actions.saveFiltersModal.saveSuccess().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n listings: {\n ...state.listings,\n isFetching: true,\n },\n saveFiltersModal: {\n isLoading: false,\n isVisible: false,\n errors: [],\n },\n },\n (_, __) => {\n // Necessary to populate the smart filters on the left navigation bar.\n location.reload();\n },\n );\n }\n\n case actions.saveFiltersModal.saveFailure().name: {\n return Update({\n ...state,\n saveFiltersModal: {\n isLoading: false,\n isVisible: true,\n errors: action.errors,\n },\n });\n }\n\n case actions.filters.add({ filter: {} }).name: {\n return UpdateWithSideEffect(\n {\n ...state,\n filters: addFilter(state.filters, action.filter),\n pagination: { ...state.pagination, currentPage: 1 },\n },\n (_, dispatch) => {\n // the second argument can also be an array of side effects\n dispatch(actions.listings.fetchStart());\n },\n );\n }\n case actions.filters.remove({ filter: {} }).name: {\n return UpdateWithSideEffect(\n {\n ...state,\n filters: removeFilter(state.filters, action.filter),\n pagination: { ...state.pagination, currentPage: 1 },\n },\n (_, dispatch) => {\n // the second argument can also be an array of side effects\n dispatch(actions.listings.fetchStart());\n },\n );\n }\n case actions.filters.set().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n filters: { ...initialStateGen().filters, ...action.filters },\n pagination: { ...state.pagination, currentPage: 1 },\n },\n (_, dispatch) => {\n dispatch(actions.listings.fetchStart());\n },\n );\n }\n case actions.filters.clear().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n filters: initialStateGen().filters,\n },\n (_, dispatch) => {\n dispatch(actions.listings.fetchStart());\n },\n );\n }\n\n case actions.filters.openModal().name: {\n return Update({ ...state, filterModalIsOpen: true });\n }\n\n case actions.filters.closeModal().name: {\n return Update({ ...state, filterModalIsOpen: false });\n }\n\n case actions.order.set().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n order: action.value,\n },\n (_, dispatch) => {\n dispatch(actions.listings.fetchStart());\n },\n );\n }\n\n case actions.errors.general().name: {\n return Update({\n ...state,\n error: {\n showError: true,\n message: \"Something went wrong\",\n },\n });\n }\n\n case actions.errors.clear().name: {\n return Update({\n ...state,\n error: {\n showError: false,\n message: \"\",\n },\n });\n }\n\n case actions.rendering.setColumns().name: {\n return UpdateWithSideEffect(\n {\n ...state,\n renderableColumns: action.columns,\n },\n (_, dispatch) => dispatch(actions.preferences.save(action.columns)),\n );\n }\n\n case actions.rendering.reorderColumn({}).name: {\n const columnArray = Object.keys(state.renderableColumns).map((key) => ({\n ...state.renderableColumns[key],\n id: key,\n }));\n const result = pipe(\n () => reorder(columnArray, action.sourceIndex, action.destinationIndex),\n reassignPositions,\n hashifyColumns,\n )(columnArray);\n\n return UpdateWithSideEffect(\n {\n ...state,\n renderableColumns: result,\n },\n (_, dispatch) => dispatch(actions.preferences.save(result)),\n );\n }\n\n case actions.rendering.setAddTransactionModal().name: {\n return Update({\n ...state,\n addTransactionModalIsOpen: action.isOpen,\n status: action.status,\n });\n }\n\n case actions.preferences.save({}).name: {\n return SideEffect([\n () => {\n apiWrapper.preferences.create({ dashboard: \"listings\", preferences: action.preferences });\n },\n ]);\n }\n\n case actions.rendering.setDisplay(\"\").name: {\n return SideEffect(() => {\n newAddress({ ...normalizeFilters(state), display: action.display });\n });\n }\n\n case actions.updateAddressModal.toggleUpdateAddressModal().name: {\n return Update(\n produce(state, (draft) => {\n draft.updateAddressModal.isUpdateAddressModalOpen = action.bool;\n draft.updateAddressModal.tempStatus = action.tempStatus;\n draft.updateAddressModal.listing = action.listing;\n }),\n );\n }\n\n case actions.importModal.toggleImportModal().name: {\n return Update(\n produce(state, (draft) => {\n draft.importModal.isImportModalOpen = action.bool;\n draft.importModal.listing = action.listing;\n draft.importModal.updatedStatus = action.updatedStatus;\n }),\n );\n }\n\n default: {\n return NoUpdate();\n }\n }\n};\n","/* eslint-disable react/prop-types, jsx-a11y/interactive-supports-focus, jsx-a11y/click-events-have-key-events */\n\nimport React from \"react\";\nimport { CloseIcon } from \"../../icons\";\nimport PillButton from \"../PillButton\";\n\nconst AppliedFilter = ({ label, onRemove }) => (\n \n
\n \n {label}\n \n \n \n \n
\n \n);\n\nexport default AppliedFilter;\n","/* eslint-disable react/prop-types */\n\nimport React, { useState } from \"react\";\nimport queryString from \"query-string\";\n\nimport AppliedFilter from \"./AppliedFilter\";\nimport FloatingForm from \"../../../../shared/v2/Modal/FloatingForm\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\n\nimport { normalizeFilters } from \"../../../reducer\";\n\nconst AppliedFiltersWithSave = ({\n openSaveFiltersModal,\n closeSaveFiltersModal,\n saveListingFilters,\n saveFiltersData,\n rawFilters = [],\n filters = [],\n onChange,\n clearFilters,\n className = \"\",\n}) => {\n const [filterName, setFilterName] = useState(\"\");\n\n if (filters.length === 0) {\n return null;\n }\n\n const handleSaveFilter = async () => {\n const normalizedFilters = normalizeFilters({ filters: rawFilters }, false);\n const stringfiedQuery = queryString.stringify(normalizedFilters, { arrayFormat: \"bracket\" });\n\n const data = {\n name: filterName,\n filters: stringfiedQuery,\n };\n\n saveListingFilters(data);\n };\n\n const removeFilter = (removedFilterId) => {\n onChange(removedFilterId);\n };\n\n return (\n
\n {filters.map(({ id, label }) => (\n removeFilter(id)} />\n ))}\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid, no-script-url */}\n \n Save Filter\n \n \n Clear all\n \n handleSaveFilter()}\n primaryProps={{ \"data-cy\": \"save-smart-filter\" }}\n onCancel={() => {\n closeSaveFiltersModal();\n }}\n errors={saveFiltersData.errors}\n >\n
\n

\n The current filters will be saved as a smart filter for you on the left navigation bar, under\n Transactions.\n

\n setFilterName(e.target.value)}\n />\n
\n \n
\n );\n};\n\nexport default AppliedFiltersWithSave;\n","import { useEffect } from \"react\";\n\nconst useOutsideClick = (ref, callback) => {\n const handleClick = (e) => {\n if (ref.current && !ref.current.contains(e.target)) {\n callback();\n }\n };\n\n useEffect(() => {\n document.addEventListener(\"click\", handleClick);\n\n return () => {\n document.removeEventListener(\"click\", handleClick);\n };\n });\n};\n\nexport default useOutsideClick;\n","import React, { useState, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\nimport { Grip as GripIcon, AngleDownIcon } from \"./icons\";\nimport useOutsideClick from \"../utils/useOnClickOutside\";\nimport Checkbox from \"./shared/Checkbox\";\nimport Button from \"../../shared/v2/Button\";\n\nconst ColumnOption = ({ label, checked, id, onChange, fixed }) => {\n const labelColor = fixed ? \"tw-text-gray\" : \"tw-text-gray-75\";\n const gripColor = fixed ? \"tw-invisible\" : \"tw-text-gray tw-cursor-move\";\n\n return (\n \n
\n {} : onChange} checked={checked} />\n {label}\n
\n
\n \n \n \n
\n \n );\n};\n\nconst MaybeOrderableOption = ({ option, onChange, index }) => {\n const content = (\n onChange(option.id)}\n checked={option.active}\n fixed={!!option.fixed}\n />\n );\n if (option.fixed) return
{content}
;\n return (\n \n {(provided) => (\n
\n {content}\n
\n )}\n
\n );\n};\n\nconst ColumnsDropdown = ({ options, onChange, onDrag }) => {\n const [opened, setOpened] = useState(false);\n const ref = useRef();\n\n useOutsideClick(ref, () => setOpened(false));\n const prepareDrag = ({ destination, source }) => {\n if (destination.index === null) return;\n if (destination.index === source.index) return;\n if (options[destination.index].fixed) return;\n\n onDrag(source.index, destination.index);\n };\n return (\n
\n \n {opened && (\n \n \n {(provided) => (\n \n {options.map((option, index) => (\n \n ))}\n {provided.placeholder}\n
\n )}\n \n \n )}\n \n );\n};\n\nColumnOption.propTypes = {\n label: PropTypes.string,\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n checked: PropTypes.bool,\n fixed: PropTypes.bool,\n onChange: PropTypes.func,\n};\n\nColumnOption.defaultProps = {\n label: null,\n id: null,\n checked: false,\n fixed: false,\n onChange: null,\n};\n\nMaybeOrderableOption.propTypes = {\n option: PropTypes.shape({\n label: PropTypes.string,\n id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n active: PropTypes.bool,\n fixed: PropTypes.bool,\n }),\n onChange: PropTypes.func,\n index: PropTypes.number.isRequired,\n};\n\nMaybeOrderableOption.defaultProps = {\n option: null,\n onChange: null,\n};\n\nColumnsDropdown.propTypes = {\n options: PropTypes.arrayOf(PropTypes.shape({})),\n onChange: PropTypes.func,\n onDrag: PropTypes.func,\n};\n\nColumnsDropdown.defaultProps = {\n options: [],\n onChange: null,\n onDrag: null,\n};\n\nexport default ColumnsDropdown;\n","export const justifyDictionary = {\n start: \"tw-justify-start\",\n end: \"tw-justify-end\",\n center: \"tw-justify-center\",\n between: \"tw-justify-between\",\n around: \"tw-justify-around\",\n evenly: \"tw-justify-evenly\",\n};\nexport const justifyValue = (justify) => justifyDictionary[justify] || \"\";\n\nexport const alignDictionary = {\n start: \"tw-items-start\",\n end: \"tw-items-end\",\n center: \"tw-items-center\",\n baseline: \"tw-items-baseline\",\n stretch: \"tw-items-stretch\",\n};\n\nexport const alignValue = (align) => alignDictionary[align] || \"\";\n\nexport const spaceDictionary = {\n none: \"tw-space-x-0\",\n xs: \"tw-space-x-[2px]\",\n sm: \"tw-space-x-[4px]\",\n md: \"tw-space-x-[6px]\",\n lg: \"tw-space-x-[8px]\",\n xl: \"tw-space-x-[12px]\",\n};\n\nexport const spaceValue = (space) => spaceDictionary[space] || space || \"\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { justifyValue, alignValue, spaceValue } from \"./styleHelpers\";\n\nconst Cluster = ({ justify, align, space, children }) => (\n \n {children}\n \n);\n\nCluster.propTypes = {\n justify: PropTypes.oneOf([\"\", \"start\", \"end\", \"center\", \"between\", \"around\", \"evenly\"]),\n align: PropTypes.oneOf([\"\", \"start\", \"end\", \"center\", \"baseline\", \"stretch\"]),\n space: PropTypes.string,\n children: PropTypes.node,\n};\n\nCluster.defaultProps = {\n justify: \"\",\n align: \"\",\n space: \"\",\n children: null,\n};\n\nexport default Cluster;\n","/* eslint-disable react/prop-types */\n\nimport React, { useEffect, useState, useRef } from \"react\";\nimport useOutsideClick from \"../../utils/useOnClickOutside\";\nimport Cluster from \"../../../shared/v2/Cluster\";\nimport Button from \"../../../shared/v2/Button\";\nimport { AngleDownIcon } from \"../icons\";\n\nconst orderDirection = (sortedBy) =>\n // assumes 'x' and 'x_desc' as the template\n sortedBy.slice(-4) === \"desc\" ? \"desc\" : \"asc\";\nconst orderParam = (sortedBy) => (orderDirection(sortedBy) === \"desc\" ? sortedBy.slice(0, -5) : sortedBy);\n\n// Commented out items are the oens with no clear definition yet\nconst paramOptions = {\n address: {\n value: \"address\",\n label: \"Address / Title\",\n },\n // agent: {\n // value: \"agent\",\n // label: \"Agent\",\n // },\n close_date: {\n value: \"close_date\",\n label: \"Close Date\",\n },\n close_price: {\n value: \"close_price\",\n label: \"Close Price\",\n },\n date_canceled: {\n value: \"date_canceled\",\n label: \"Date Canceled\",\n },\n date_listed: {\n value: \"date_listed\",\n label: \"Date Listed\",\n },\n // dom: {\n // value: \"dom\",\n // label: \"DOM\",\n // },\n expiration_date: {\n value: \"expiration_date\",\n label: \"Expiration\",\n },\n gross_commission: {\n value: \"gross_commission\",\n label: \"GCI\",\n },\n last_updated: {\n value: \"last_updated\",\n label: \"Last Updated\",\n },\n listing_price: {\n value: \"listing_price\",\n label: \"Listing Price\",\n },\n // mls: {\n // value: \"mls\",\n // label: \"MLS#\",\n // },\n source: {\n value: \"source\",\n label: \"Source\",\n },\n type: {\n value: \"type\",\n label: \"Type\",\n },\n};\n\nexport const paramOptionsArray = Object.keys(paramOptions)\n .sort()\n .map((key) => paramOptions[key]);\nconst directionOptionsArray = [\n { value: \"asc\", label: \"Ascending\" },\n { value: \"desc\", label: \"Descending\" },\n];\n\nconst Ordering = ({ param, direction }) => ({\n param,\n direction: direction || \"asc\",\n string: `${param}${direction === \"desc\" ? \"_desc\" : \"\"}`,\n});\n\nconst orderFromString = (string) =>\n Ordering({\n param: orderParam(string),\n direction: orderDirection(string),\n });\n\nconst SortingMenu = ({ order, setOrder }) => {\n const [opened, setOpened] = useState(false);\n const ref = useRef();\n useOutsideClick(ref, () => setOpened(false));\n\n const originalOrder = orderFromString(order);\n const [presentedOrder, setPresentedOrderOrder] = useState(orderFromString(order));\n useEffect(() => {\n setPresentedOrderOrder(orderFromString(order));\n setOpened(false);\n }, [order]);\n\n const onOrderChange = (property, value) => {\n setPresentedOrderOrder(Ordering({ ...presentedOrder, [property]: value }));\n };\n\n return (\n
\n \n\n {opened && (\n \n \n \n\n onOrderChange(\"direction\", e.target.value)}\n >\n {directionOptionsArray.map((o) => (\n \n ))}\n \n\n \n \n
\n )}\n \n );\n};\n\nexport default SortingMenu;\n","/* eslint-disable react/prop-types, jsx-a11y/interactive-supports-focus, jsx-a11y/click-events-have-key-events, react/jsx-props-no-spreading */\n\nimport React, { forwardRef } from \"react\";\nimport PillButton from \"./shared/PillButton\";\nimport AppliedFiltersWithSave from \"./shared/Filters/AppliedFiltersWithSave\";\nimport ColumnsDropdown from \"./ColumnsDropdown\";\nimport { sortBy } from \"../utils/helpers\";\nimport SortingMenu from \"./shared/SortingMenu\";\nimport ViewToggle from \"../../SearchListings/components/ViewToggle\";\n\nconst prepareOptions = (options) =>\n sortBy(\n Object.keys(options).map((key) => ({ id: key, ...options[key] })),\n \"position\",\n );\n\nconst Headings = forwardRef(\n (\n {\n openFilterModal,\n removeFilter,\n clearFilters,\n rawFilters,\n openSaveFiltersModal,\n closeSaveFiltersModal,\n saveListingFilters,\n saveFiltersData,\n filters,\n renderableColumns,\n setRenderableColumns,\n reorderColumn,\n updateDisplay,\n display,\n order,\n setOrder,\n },\n ref,\n ) => (\n
\n
\n
\n

Transactions

\n
\n\n
\n \n {display === \"list\" && (\n \n )}\n \n \n \n Filter\n \n \n
\n
\n {filters.length > 0 && (\n
\n \n
\n )}\n
\n ),\n);\n\nconst DisplaySwitch = ({ display, updateDisplay }) => {\n const activeListing = display === \"list\";\n\n return (\n <>\n !activeListing && updateDisplay()}\n isActive={activeListing}\n iconClassName=\"fa-th-list\"\n mxOverride=\" \"\n />\n activeListing && updateDisplay()}\n isActive={!activeListing}\n iconClassName=\"fa-th-large\"\n mxOverride=\" \"\n />\n \n );\n};\n\nexport default Headings;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ChartPieSolidV6 from \"../../../shared/v2/Icomoon/Icons/ChartPieSolidV6\";\nimport Tooltip from \"../../../shared/v2/Tooltip\";\nimport TypeCell from \"./TypeCell\";\n\nconst allTypes = [\n { value: \"buyer\", totalsKey: \"buyers\" },\n { value: \"seller\", totalsKey: \"sellers\" },\n { value: \"tenant\", totalsKey: \"tenants\" },\n { value: \"landlord\", totalsKey: \"landlords\" },\n { value: \"referral\", totalsKey: \"referrals\" },\n];\n\nconst TotalsBreakdown = ({ totals }) => (\n \n \n \n }\n content={\n
\n {allTypes.map((type) => (\n
\n \n {type.value}\n {totals[type.totalsKey] || 0}\n
\n ))}\n
\n }\n />\n);\n\nTotalsBreakdown.propTypes = {\n totals: PropTypes.shape({\n buyers: PropTypes.number,\n sellers: PropTypes.number,\n landlords: PropTypes.number,\n referrals: PropTypes.number,\n tenants: PropTypes.number,\n }),\n};\n\nTotalsBreakdown.defaultProps = {\n totals: {},\n};\n\nexport default TotalsBreakdown;\n","/* eslint-disable react/prop-types, react/jsx-props-no-spreading, import/no-named-as-default, import/no-named-as-default-member */\n\nimport React from \"react\";\nimport HeaderCell from \"./shared/HeaderCell\";\n// eslint-disable-next-line import/no-cycle\nimport Transaction from \"./Transaction\";\nimport TotalsBreakdown from \"./shared/TotalsBreakdown\";\nimport CurrencyCell from \"./shared/CurrencyCell\";\nimport { dynamicRow } from \"../utils/dynamicRow\";\nimport Pagination from \"./Pagination\";\nimport Cluster from \"../../shared/v2/Cluster\";\nimport ChartPieSolidV6 from \"../../shared/v2/Icomoon/Icons/ChartPieSolidV6\";\nimport Tooltip from \"../../shared/v2/Tooltip\";\n\nconst sortOptions = (key) => [key, `${key}_desc`];\n\nconst CurrencyTotalCell = ({ value }) => (\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n \n);\n\nconst EstimatedBreakdown = ({ total, estimated, actual }) => (\n \n
\n
\n {/* eslint-disable-next-line jsx-a11y/control-has-associated-label */}\n \n \n \n \n \n
\n }\n content={\n
\n
\n Estimated:\n \n \n \n
\n
\n Closed:\n \n \n \n
\n
\n }\n />\n
\n \n \n);\n\nconst TransactionsTable = ({\n listings,\n totals = {},\n order,\n sources,\n updateListing,\n archiveListing,\n deleteListing,\n setOrder: onSort,\n renderableColumns,\n newMilestonesColumns,\n permissions,\n pagination,\n setPage,\n}) => {\n const newMilestonesKeys = Object.keys(newMilestonesColumns);\n\n const headerColumns = dynamicRow(renderableColumns, [\n [\"photo\", ],\n [\n \"address\",\n ,\n ],\n [\"type\", ],\n [\n \"status\",\n ,\n ],\n [\"mls\", ],\n [\"agent\", ],\n [\n \"dateListed\",\n ,\n ],\n [\n \"price\",\n ,\n ],\n [\n \"expiration\",\n ,\n ],\n [\n \"closePrice\",\n ,\n ],\n [\n \"gci\",\n ,\n ],\n [\n \"closeDate\",\n ,\n ],\n [\"dom\", ],\n [\n \"dateCanceled\",\n ,\n ],\n [\n \"mutualAcceptanceDate\",\n ,\n ],\n [\n \"lastUpdated\",\n ,\n ],\n [\"source\", ],\n [\n \"statusChangedAt\",\n ,\n ],\n ...newMilestonesKeys.map((key) => [key, ]),\n ]);\n\n const footerColumns = dynamicRow(renderableColumns, [\n [\n \"photo\",\n \n
\n
\n Totals:\n {totals.totals || 0}\n \n \n \n
\n
\n ,\n ],\n [\"type\", ],\n [\"status\", ],\n [\"mls\", ],\n [\"agent\", ],\n [\"dateListed\", ],\n [\"price\", ],\n [\"expiration\", ],\n [\n \"closePrice\",\n\n ,\n ],\n [\n \"gci\",\n ,\n ],\n [\"closeDate\", ],\n [\"dom\", ],\n [\"dateCanceled\", ],\n [\"mutualAcceptanceDate\", ],\n [\"lastUpdated\", ],\n [\"source\", ],\n [\"statusChangedAt\", ],\n ...newMilestonesKeys.map((key) => [key, ]),\n ]);\n\n return (\n <>\n
\n \n \n \n {headerColumns}\n \n \n \n \n {listings.map((listing) => (\n \n ))}\n \n \n {listings.length > 0 && (\n \n {footerColumns}\n \n \n )}\n \n \n
\n\n {pagination.totalPages > 1 && (\n \n
\n \n
\n
\n )}\n \n );\n};\n\nexport default TransactionsTable;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\nimport TextButton from \"../../../../shared/v2/TextButton\";\n\nconst ClearIndicator = ({ componentProps }) => (\n \n \n Clear all\n \n \n);\nClearIndicator.propTypes = {\n componentProps: PropTypes.shape({}),\n};\n\nClearIndicator.defaultProps = {\n componentProps: null,\n};\nexport default ClearIndicator;\n","/* eslint-disable react/prop-types */\n\nimport React, { useMemo } from \"react\";\nimport { isEqual } from \"lodash\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport ClearIndicator from \"./ClearIndicator\";\n\nconst getAgentsList = (agents) =>\n agents.map((agent) => ({\n label: agent.name,\n value: agent.id.toString(),\n }));\n\nconst getSelectedAgents = (agents, agentIds) =>\n getAgentsList(agents.filter((agent) => agentIds.includes(agent.id.toString())));\n\nconst getSelectedAgentsIds = (agents) => agents.map((agent) => agent.value);\n\nconst AgentsFilter = ({ initialAgents, onAgentsChange, agentIds }) => {\n const selectedAgents = useMemo(() => getSelectedAgents(initialAgents, agentIds), [initialAgents, agentIds]);\n const agentsList = useMemo(() => getAgentsList(initialAgents), [initialAgents]);\n\n const handleOnChange = (newSelectedAgents) => {\n if (isEqual(newSelectedAgents, selectedAgents)) {\n return;\n }\n\n onAgentsChange(getSelectedAgentsIds(newSelectedAgents));\n };\n\n return (\n \n );\n};\n\nexport default AgentsFilter;\n","/* eslint-disable react/prop-types */\n\nimport React, { useMemo } from \"react\";\nimport { isEqual } from \"lodash\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst closeDateRangeToOption = (range) => ({\n label: range.name,\n value: range.value,\n});\n\nconst getCloseDateRangeList = (ranges) => ranges.map(closeDateRangeToOption);\n\nconst getSelectedDateRange = (ranges, rangeValue) => {\n if (!rangeValue) {\n return null;\n }\n\n const selectedRange = ranges.find((range) => range.value === rangeValue);\n\n if (!selectedRange) {\n return null;\n }\n\n return closeDateRangeToOption(selectedRange);\n};\n\nconst CloseDateRangeFilter = ({ initiallySelectedDateRange, dateRangeOptions, onDateRangeChange }) => {\n const selectedDateRange = useMemo(\n () => getSelectedDateRange(dateRangeOptions, initiallySelectedDateRange),\n [dateRangeOptions, initiallySelectedDateRange],\n );\n const dateRangeList = useMemo(() => getCloseDateRangeList(dateRangeOptions), [dateRangeOptions]);\n\n const handleOnChange = (newSelectedDateRange) => {\n if (isEqual(newSelectedDateRange, selectedDateRange)) {\n return;\n }\n\n if (!newSelectedDateRange) {\n onDateRangeChange(null);\n return;\n }\n\n onDateRangeChange(newSelectedDateRange.value);\n };\n\n return (\n \n );\n};\n\nexport default CloseDateRangeFilter;\n","/* eslint-disable react/prop-types, react/jsx-props-no-spreading */\n\nimport React, { useMemo } from \"react\";\nimport { isEqual } from \"lodash\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport ClearIndicator from \"./ClearIndicator\";\n\nconst getSourceList = (sources) =>\n sources.map((source) => ({\n label: source.name,\n value: source.id.toString(),\n }));\n\nconst getSelectedSources = (sources, sourceIds) =>\n getSourceList(sources.filter((source) => sourceIds.includes(source.id.toString())));\n\nconst getSelectedSourcesIds = (sources) => sources.map((agent) => agent.value);\n\nconst SourceFilter = ({ initialSources, onSourceChange, sourceIds = [] }) => {\n const selectedSources = useMemo(\n () => getSelectedSources(initialSources, sourceIds),\n [initialSources, sourceIds],\n );\n const sourceList = useMemo(() => getSourceList(initialSources), [initialSources]);\n\n const handleOnChange = (newSelectedSources) => {\n if (isEqual(newSelectedSources, selectedSources)) {\n return;\n }\n\n onSourceChange(getSelectedSourcesIds(newSelectedSources));\n };\n\n return (\n \n );\n};\n\nexport default SourceFilter;\n","/* eslint-disable react/prop-types */\nimport React, { useEffect, useMemo, useRef } from \"react\";\nimport moment from \"moment\";\nimport { isEqual } from \"lodash\";\nimport DatePicker from \"../../../../shared/v2/DatePicker\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\nimport FieldLabel from \"../../../../shared/v2/FieldLabel\";\nimport { QUERY_DATE_FORMAT } from \"../../../../shared/DatePicker\";\n\nconst DateContainer = ({ children }) =>
{children}
;\n\nconst statusDateRangeToOption = (range) => ({\n label: range.name,\n value: range.value,\n});\n\nconst getDateRangeOptionsList = (ranges) => ranges.map(statusDateRangeToOption);\n\nconst getSelectedDateRangeOption = (ranges, rangeValue) => {\n if (!rangeValue) {\n return null;\n }\n\n const selectedRange = ranges.find((range) => range.value === rangeValue);\n\n if (!selectedRange) {\n return null;\n }\n\n return statusDateRangeToOption(selectedRange);\n};\n\nconst StatusChangeDateFilter = ({\n initiallySelectedOption,\n initiallySelectedDateRange: selectedDateRange,\n dateRangeOptions,\n onChangeRange,\n onChangeDates,\n}) => {\n const customOptionRef = useRef();\n\n const selectedOption = useMemo(\n () => getSelectedDateRangeOption(dateRangeOptions, initiallySelectedOption),\n [dateRangeOptions, initiallySelectedOption],\n );\n const dateRangeOptionsList = useMemo(() => getDateRangeOptionsList(dateRangeOptions), [dateRangeOptions]);\n\n const handleOnChange = (newSelectedOption) => {\n if (isEqual(newSelectedOption, selectedOption)) {\n return;\n }\n\n if (!newSelectedOption) {\n onChangeRange(null);\n return;\n }\n\n onChangeRange(newSelectedOption.value);\n };\n\n const isCustomOption = selectedOption?.value === \"custom\";\n\n let scrollHandler;\n const scrollHandlerTimeout = 100;\n\n useEffect(() => {\n if (!customOptionRef.current || !isCustomOption) {\n return;\n }\n\n // Schedule the scroll using JS timeout\n scrollHandler = setTimeout(() => customOptionRef.current.scrollIntoView(), scrollHandlerTimeout);\n }, [customOptionRef, isCustomOption]);\n\n // This useEffect cancels the previous scheduled scroll handler to avoid scrolling the filters\n // modal when it is opened with the custom option already selected.\n useEffect(() => clearTimeout(scrollHandler), []);\n\n const setSelectedDateRange = (callback) => callback(selectedDateRange);\n\n const setStartDate = (date) =>\n onChangeDates(\n setSelectedDateRange(([, end]) =>\n date ? [moment(date).format(QUERY_DATE_FORMAT), end] : [undefined, end],\n ),\n );\n\n const setEndDate = (date) =>\n onChangeDates(\n setSelectedDateRange(([start]) =>\n date ? [start, moment(date).format(QUERY_DATE_FORMAT)] : [start, undefined],\n ),\n );\n\n return (\n <>\n \n\n {isCustomOption && (\n
\n \n \n \n \n \n \n \n \n
\n )}\n \n );\n};\n\nexport default StatusChangeDateFilter;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"../../../../shared/v2/FieldLabel\";\nimport FilterPill from \"../../../../shared/v2/FilterPill\";\n\nconst InlineFilter = ({ title, initialOptions, onOptionsChange }) => {\n const [options, setOptions] = useState(initialOptions);\n\n useEffect(() => onOptionsChange(options), [options]);\n\n const toggleOption = (optionId) => {\n const updatedOptions = options.map((option) => {\n if (option.id !== optionId) return option;\n\n return {\n ...option,\n isActive: !option.isActive,\n };\n });\n\n setOptions(updatedOptions);\n };\n\n return (\n
\n \n
\n {options.map((option) => (\n toggleOption(option.id)}\n selected={option.isActive}\n data-cy={option.id}\n >\n {option.name}\n \n ))}\n
\n
\n );\n};\n\nconst optionShape = PropTypes.shape({\n id: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n isActive: PropTypes.bool.isRequired,\n});\n\nInlineFilter.propTypes = {\n title: PropTypes.string.isRequired,\n initialOptions: PropTypes.arrayOf(optionShape).isRequired,\n onOptionsChange: PropTypes.func.isRequired,\n};\n\nexport default InlineFilter;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport InlineFilter from \"./shared/Filters/InlineFilter\";\n\nconst FilterInlineOptions = ({\n initialTypes,\n initialPublishedStates,\n initialStatuses,\n onTypesChange,\n onPublishedStatesChange,\n onStatusesChange,\n}) => (\n <>\n \n \n \n \n);\n\nexport default FilterInlineOptions;\n","/* eslint-disable react/prop-types, react/jsx-props-no-spreading */\n\nimport React, { useMemo } from \"react\";\nimport TextInput from \"../../../../shared/v2/TextInput\";\n\nconst SearchFilter = ({ value }) => {\n return ;\n};\n\nexport default SearchFilter;\n","/* eslint-disable react/prop-types, jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events, no-underscore-dangle */\n\nimport React, { useState } from \"react\";\nimport Button from \"../../shared/v2/Button\";\nimport Modal from \"../../shared/v2/Modal\";\nimport TextButton from \"../../shared/v2/TextButton\";\nimport AgentsFilter from \"./shared/Filters/AgentsFilter\";\nimport CloseDateRangeFilter from \"./shared/Filters/CloseDateRangeFilter\";\nimport SourceFilter from \"./shared/Filters/SourceFilter\";\nimport StatusChangeRangeFilter from \"./shared/Filters/StatusChangeDateFilter\";\nimport FilterInlineOptions from \"./FilterInlineOptions\";\nimport SearchFilter from \"./shared/Filters/SearchFilter\";\n\nconst FiltersModal = ({\n initialFilters,\n isModalShown,\n onModalClose,\n initialTypes,\n initialAgents,\n initialPublishedStates,\n initialStatuses,\n initialSources,\n dateRangeOptions,\n statusDateOptions,\n onClearAll,\n onFilter,\n}) => {\n const [filters, setFilters] = useState(initialFilters);\n const setAgents = (agents) => {\n setFilters({ ...filters, agent: agents });\n };\n\n const setType = (types) => {\n setFilters({\n ...filters,\n type: types.filter((f) => f.isActive).map((f) => f.id),\n });\n };\n\n const setPublishedState = (publishedStates) => {\n setFilters({\n ...filters,\n publishedState: publishedStates.filter((f) => f.isActive).map((f) => f.id),\n });\n };\n\n const setStatus = (statuses) => {\n setFilters({\n ...filters,\n status: statuses.filter((f) => f.isActive).map((f) => f.id),\n });\n };\n\n const setSource = (sources) => {\n setFilters({ ...filters, source: sources });\n };\n\n const setCloseDate = (rangeId) => {\n setFilters({ ...filters, closeDateRange: rangeId ? [rangeId] : [] });\n };\n\n const setStatusRange = (rangeId) => {\n setFilters({ ...filters, statusChangedRange: rangeId ? [rangeId] : [] });\n };\n\n const setStatusDate = (dates) => {\n setFilters({ ...filters, statusChangedDates: dates || [] });\n };\n\n const _filters = { ...initialFilters };\n // eslint-disable-next-line no-return-assign\n Object.keys(_filters).forEach((k) => {\n _filters[k] = Array.isArray(filters[k]) ? new Set(filters[k].map((x) => x)) : filters[k];\n });\n const usedStatuses = initialStatuses.map((item) => ({ ...item, isActive: _filters.status.has(item.id) }));\n const usedPublishedStates = initialPublishedStates.map((item) => ({\n ...item,\n isActive: _filters.publishedState.has(item.id),\n }));\n const usedTypes = initialTypes.map((item) => ({ ...item, isActive: _filters.type.has(item.id) }));\n const initialCloseDateRange = Array.from(_filters.closeDateRange)[0];\n const initialStatusChangedRange = Array.from(_filters.statusChangedRange)[0];\n const initialStatusChangedDates = Array.from(_filters.statusChangedDates);\n\n return (\n \n \n \n
\n \n
\n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n \n \n
\n onClearAll()}>\n Clear All\n \n \n
\n
\n \n );\n};\n\nexport default FiltersModal;\n","import { format } from \"date-fns\";\nimport { QUERY_DATE_FORMAT } from \"../../../shared/DatePicker\";\n\nexport const types = [\n {\n name: \"Buyer\",\n isActive: false,\n id: \"buyer\",\n },\n {\n name: \"Seller\",\n isActive: false,\n id: \"seller\",\n },\n {\n name: \"Tenant\",\n isActive: false,\n id: \"tenant\",\n },\n {\n name: \"Landlord\",\n isActive: false,\n id: \"landlord\",\n },\n {\n name: \"Referral\",\n isActive: false,\n id: \"referral\",\n },\n];\n\nexport const publishedStates = [\n {\n name: \"Published\",\n isActive: false,\n id: \"published\",\n },\n {\n name: \"Drafts\",\n isActive: false,\n id: \"drafts\",\n },\n];\n\nexport const statuses = [\n {\n name: \"Pipeline\",\n isActive: false,\n id: \"pipeline\",\n },\n {\n name: \"Coming Soon\",\n isActive: false,\n id: \"coming-soon\",\n },\n {\n name: \"Active\",\n isActive: false,\n id: \"active\",\n },\n {\n name: \"Pending\",\n isActive: false,\n id: \"pending\",\n },\n {\n name: \"Closed\",\n isActive: false,\n id: \"sold\",\n },\n {\n name: \"Expired\",\n isActive: false,\n id: \"expired\",\n },\n {\n name: \"Withdrawn\",\n isActive: false,\n id: \"withdrawn\",\n },\n {\n name: \"Canceled\",\n isActive: false,\n id: \"canceled\",\n },\n {\n name: \"Archived\",\n isActive: false,\n id: \"archived\",\n },\n];\n\nexport const agents = [\n {\n name: \"Pulkit\",\n id: 1,\n },\n {\n name: \"Renan\",\n id: 2,\n },\n {\n name: \"Igor\",\n id: 3,\n },\n {\n name: \"Justin\",\n id: 4,\n },\n {\n name: \"Alex\",\n id: 5,\n },\n {\n name: \"John Doe\",\n id: 6,\n },\n {\n name: \"Tony Stark\",\n id: 7,\n },\n];\n\nexport const sources = [\n {\n name: \"Source - 1\",\n id: 1,\n },\n {\n name: \"Source - 2\",\n id: 2,\n },\n {\n name: \"Source - 3\",\n id: 3,\n },\n {\n name: \"Source - 4\",\n id: 4,\n },\n {\n name: \"Source - 5\",\n id: 5,\n },\n {\n name: \"Source - 6\",\n id: 6,\n },\n {\n name: \"Source - 7\",\n id: 7,\n },\n];\n\nexport const dateRanges = [\n {\n name: \"All time\",\n value: \"all-time\",\n },\n {\n name: \"Today\",\n value: format(new Date(), QUERY_DATE_FORMAT, {\n useAdditionalDayOfYearTokens: true,\n useAdditionalWeekYearTokens: true,\n }),\n },\n {\n name: \"Last 7 Days\",\n value: \"7-day\",\n },\n {\n name: \"Last 14 Days\",\n value: \"14-day\",\n },\n {\n name: \"Last 30 Days\",\n value: \"30-day\",\n },\n {\n name: \"Next Month\",\n value: \"next-month\",\n },\n {\n name: \"This Month\",\n value: \"this-month\",\n },\n {\n name: \"Last Month\",\n value: \"last-month\",\n },\n {\n name: \"This Year\",\n value: \"this-year\",\n },\n {\n name: \"Last Year\",\n value: \"last-year\",\n },\n];\n\nexport const statusChangeDateRanges = [\n {\n name: \"All time\",\n value: \"all-time\",\n },\n {\n name: \"Today\",\n value: format(new Date(), QUERY_DATE_FORMAT, {\n useAdditionalDayOfYearTokens: true,\n useAdditionalWeekYearTokens: true,\n }),\n },\n {\n name: \"Last 7 Days\",\n value: \"7-day\",\n },\n {\n name: \"Last 14 Days\",\n value: \"14-day\",\n },\n {\n name: \"Last 30 Days\",\n value: \"30-day\",\n },\n {\n name: \"Next Month\",\n value: \"next-month\",\n },\n {\n name: \"This Month\",\n value: \"this-month\",\n },\n {\n name: \"Last Month\",\n value: \"last-month\",\n },\n {\n name: \"This Year\",\n value: \"this-year\",\n },\n {\n name: \"Last Year\",\n value: \"last-year\",\n },\n {\n name: \"Custom\",\n value: \"custom\",\n },\n];\n","import { range } from \"../../utils/helpers\";\n\nconst limitYear = 2016;\nconst namedOptions = [\n [\"all_time\", \"All Time\"],\n [\"today\", \"Today\"],\n [\"7_days\", \"Last 7 Days\"],\n [\"14_days\", \"Last 14 Days\"],\n [\"next_month\", \"Next Month\"],\n [\"this_month\", \"This Month\"],\n [\"last_month\", \"Last Month\"],\n [\"this_year\", \"This Year\"],\n [\"last_year\", \"Last Year\"],\n];\n\nconst closeDateOptionsBuilder = ([value, name]) => ({\n value,\n id: value,\n name,\n title: name,\n});\n\nconst baseOptions = namedOptions.map(closeDateOptionsBuilder);\n\nconst closeDateOptionsGenerator = () => {\n const thisYear = new Date().getFullYear();\n const literalYears = range(limitYear, thisYear - 2)\n .map((year) => [year.toString(), year.toString()])\n .reverse()\n .map(closeDateOptionsBuilder);\n\n return [...baseOptions, ...literalYears];\n};\n\nexport const closeDateOptions = closeDateOptionsGenerator();\nexport const statusDateOptions = [\n ...baseOptions.filter((option) => option.id !== \"next_month\"),\n closeDateOptionsBuilder([\"custom\", \"Custom\"]),\n];\n","export const reorderList = (list, startIndex, endIndex) => {\n const result = Array.from(list);\n const [removed] = result.splice(startIndex, 1);\n result.splice(endIndex, 0, removed);\n\n return result;\n};\n\nexport const removeFromColumn = (column, removeIndex) => {\n const newColumn = {\n ...column,\n items: [...column.items],\n };\n newColumn.items.splice(removeIndex, 1);\n return newColumn;\n};\n\nexport const addToColumn = (column, item, index) => {\n const newColumn = {\n ...column,\n items: [...column.items],\n };\n // in line modification of items\n newColumn.items.splice(index, 0, item);\n return newColumn;\n};\n\nexport const transferBetweenColumns = ({ columns, sourceId, targetId, sourceIndex, targetIndex }) => {\n const sourceColumn = columns[sourceId];\n const destinationColumn = columns[targetId];\n const item = sourceColumn.items[sourceIndex];\n item.status = targetId;\n\n return {\n ...columns,\n [sourceId]: removeFromColumn(sourceColumn, sourceIndex),\n [targetId]: addToColumn(destinationColumn, item, targetIndex),\n };\n};\n","/* eslint-disable react/prop-types, jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n\nimport React, { useEffect, useState, useRef } from \"react\";\nimport { filter, includes } from \"lodash\";\n\nimport { TriangleDownIcon, TriangleUpIcon } from \"../icons\";\nimport \"./OptionsCell.scss\";\n\nconst OptionsInlineCell = ({\n optionsList = [],\n selectedId = 0,\n onUpdateOption,\n fullWidth = true,\n hint = \"\",\n isEditable = true,\n wrapperClassName = \"\",\n selectionWrapperClassName = \"\",\n}) => {\n const [showSelectionPicker, setShowSelectionPicker] = useState(false);\n const [search, setSearch] = useState(\"\");\n const [searchResults, setSearchResults] = useState(optionsList);\n const [option, setOption] = useState(selectedId);\n const optionsNode = useRef();\n\n const handleClickOutside = (e) => {\n if (optionsNode.current.contains(e.target)) {\n return;\n }\n\n setShowSelectionPicker(false);\n };\n\n const selectOption = (id) => {\n setShowSelectionPicker(false);\n setOption(id);\n onUpdateOption(id);\n };\n\n const selectedTitle = (id) => {\n const fallback = \"No option selected\";\n const selectedOption = optionsList.find((o) => o.id === id) || {};\n\n return selectedOption.title || selectedOption.name || fallback;\n };\n\n const handleSearchChange = (e) => {\n setSearch(e.target.value);\n };\n\n const filterBySearch = () => {\n const tempResults = filter(optionsList, (o) =>\n includes((o.title || o.name).toLowerCase(), search.toLowerCase()),\n );\n\n setSearchResults(tempResults);\n };\n\n const optionsBuilder = (_option) => {\n const { title, id, name } = _option;\n const label = title || name;\n return (\n
selectOption(id)}>\n
\n {option === id ? {label} : label}\n
\n
\n );\n };\n\n useEffect(() => {\n setOption(selectedId);\n }, [selectedId]);\n\n useEffect(() => {\n filterBySearch();\n }, [search]);\n\n useEffect(() => {\n if (showSelectionPicker) {\n document.addEventListener(\"mousedown\", handleClickOutside);\n } else {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n }\n\n return () => {\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [showSelectionPicker]);\n\n const isEmpty = !selectedId || selectedId === 0;\n const displayValue = isEmpty ? \"Add\" : selectedTitle(option);\n\n if (!isEditable && isEmpty) {\n return
;\n }\n\n return (\n \n isEditable && setShowSelectionPicker(!showSelectionPicker)}\n >\n
\n {displayValue}\n\n {isEditable &&\n !isEmpty &&\n (showSelectionPicker ? (\n \n ) : (\n \n ))}\n
\n \n {showSelectionPicker && (\n \n \n {hint &&
{hint}
}\n \n \n \n {searchResults.length > 0 ? (\n searchResults.map(optionsBuilder)\n ) : (\n
\n no results\n
\n )}\n \n \n )}\n \n );\n};\n\nexport default OptionsInlineCell;\n","/* eslint-disable react/prop-types */\nimport React from \"react\";\nimport TextCell from \"../../shared/TextCell\";\nimport DateCell from \"../../shared/DateCell\";\nimport { Listing } from \"../../../models\";\nimport CurrencyCell from \"../../shared/CurrencyCell\";\nimport OptionsInlineCell from \"../../shared/OptionsInlineCell\";\nimport { isEditableAt } from \"../../../utils/helpers\";\n\nconst label = (name) => (\n \n {name}:\n \n);\n\nconst financialCurrency = ({ value, isEditable, onChange }) => (\n \n);\nconst currency = ({ value, isEditable, onChange }) => (\n \n);\nconst date = ({ value, isEditable, onChange }) => (\n \n);\nconst raw = ({ value, isEditable, onChange }) => (\n \n);\nconst dropdown = ({ value, isEditable, onChange, options }) => (\n
\n \n
\n);\n\nconst fieldDictionary = {\n text: raw,\n date,\n currency,\n financialCurrency,\n options: dropdown,\n};\n\nconst Field = ({ type, name, value, onChange, isEditable, options = null, propertyKey }) => (\n \n {label(name)}\n {(fieldDictionary[type] || raw)({ value, isEditable, onChange, options })}\n \n);\n\nconst collapsableProperties = [\n { name: \"MLS#\", type: \"raw\", key: \"mlsNumber\" },\n { name: \"Expiration\", type: \"date\", key: \"dateExpired\" },\n { name: \"Close Date\", type: \"date\", key: \"closeDate\" },\n { name: \"DOM\", type: \"raw\", key: \"dom\" },\n { name: \"Source\", type: \"options\", key: \"sourceId\" },\n { name: \"Last Updated\", type: \"date\", key: \"lastUpdated\" },\n];\n\nconst uncollapsableProperties = [\n { name: \"Date Listed\", type: \"date\", key: \"dateListed\" },\n { name: \"Listing Price\", type: \"currency\", key: \"listingPrice\" },\n { name: \"Close Price\", type: \"financialCurrency\", key: \"closePrice\" },\n { name: \"GCI\", type: \"financialCurrency\", key: \"grossCommission\" },\n];\n\nconst buildGenericField = (property, listing, listUpdater, sources) => ({\n ...property,\n value: listing[property.key],\n isEditable: isEditableAt(listing, property.key),\n onChange: (value) => listUpdater(property.key, value),\n options: property.type === \"options\" ? sources : null,\n});\n\nconst ListingCardBody = ({ listing, collapsed, updateListing, sources }) => {\n const listUpdater = (key, value) => updateListing(listing)(new Listing({ ...listing, [key]: value }));\n const collapsableFields = collapsableProperties.map((property) =>\n buildGenericField(property, listing, listUpdater, sources),\n );\n const uncollapsableFields = uncollapsableProperties.map((property) =>\n buildGenericField(property, listing, listUpdater, sources),\n );\n const collapsableHeight = collapsed ? \"tw-h-[0px]\" : \"tw-h-auto tw-z-10\";\n\n return (\n
\n {uncollapsableFields.map((f) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ))}\n\n {!collapsed && (\n
\n {collapsableFields.map((f) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ))}\n
\n )}\n
\n );\n};\n\nexport default ListingCardBody;\n","/* eslint-disable react/prop-types */\nimport React from \"react\";\nimport Cluster from \"../../../../shared/v2/Cluster\";\nimport AgentCell from \"../../shared/AgentCell\";\nimport TypeCell from \"../../shared/TypeCell\";\nimport { LeftCaret } from \"../../icons\";\n// eslint-disable-next-line import/no-cycle\nimport TDIOptionsStatusCell from \"../../TDIOptionsStatusCell\";\n\nconst ListingCardFooter = ({ listing, collapsed, setCollapsed }) => (\n
\n \n \n \n \n \n \n
\n setCollapsed(!collapsed)}\n >\n \n \n
\n
\n
\n);\n\nexport default ListingCardFooter;\n","import React, { useState, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Cluster from \"../../../../shared/v2/Cluster\";\nimport { EditIcon, ArchiveIcon, EllipsisIcon, TrashIcon } from \"../../icons\";\nimport Listing from \"../../../models/Listing\";\nimport useOutsideClick from \"../../../utils/useOnClickOutside\";\n// eslint-disable-next-line import/no-cycle\nimport { isCustomTitle } from \"../../Transaction\";\n\nconst DeleteButton = ({ onDeletion, listing }) => (\n onDeletion(listing)}\n >\n \n \n \n \n Delete\n \n \n);\n\nconst ArchiveButton = ({ onArchive, listing }) => (\n onArchive(listing)}\n >\n \n \n \n \n Archive\n \n \n);\n\nconst ListingOptions = ({ listing, onArchive, onDeletion, permissions }) => {\n const [opened, setOpened] = useState(false);\n const ref = useRef();\n useOutsideClick(ref, () => setOpened(false));\n const canDelete = listing.isDeletable && permissions.listings.delete;\n const canArchive = !listing.isDeletable;\n\n const deleteButton = ;\n const archiveButton = ;\n\n return (\n
\n setOpened(!opened)}\n >\n \n \n {opened && (\n \n \n \n \n \n \n Edit\n \n \n {canDelete && deleteButton}\n {canArchive && archiveButton}\n
\n )}\n \n );\n};\nconst ListingCardHeader = ({ listing, onArchive, onDeletion, permissions }) => (\n
\n \n \n \n {isCustomTitle(listing.type, listing.useCustomTitle) ? listing.title : listing.address.firstLine}\n \n \n
\n \n
\n
\n\n {listing.type !== \"referral\" && (\n
{listing.address.secondLine}
\n )}\n
\n);\n\nDeleteButton.propTypes = {\n listing: PropTypes.instanceOf(Listing),\n onDeletion: PropTypes.func,\n};\n\nDeleteButton.defaultProps = {\n listing: null,\n onDeletion: null,\n};\n\nArchiveButton.propTypes = {\n listing: PropTypes.instanceOf(Listing),\n onArchive: PropTypes.func,\n};\n\nArchiveButton.defaultProps = {\n listing: null,\n onArchive: null,\n};\n\nListingCardHeader.propTypes = {\n listing: PropTypes.instanceOf(Listing),\n onArchive: PropTypes.func,\n onDeletion: PropTypes.func,\n permissions: PropTypes.shape({}),\n};\n\nListingCardHeader.defaultProps = {\n listing: null,\n onArchive: null,\n onDeletion: null,\n permissions: null,\n};\n\nListingOptions.propTypes = {\n listing: PropTypes.instanceOf(Listing),\n onArchive: PropTypes.func,\n onDeletion: PropTypes.func,\n permissions: PropTypes.shape({ listings: PropTypes.shape({ delete: PropTypes.bool }) }),\n};\n\nListingOptions.defaultProps = {\n listing: null,\n onArchive: null,\n onDeletion: null,\n permissions: null,\n};\n\nexport default ListingCardHeader;\n","/* eslint-disable react/prop-types */\nimport React, { useState } from \"react\";\nimport ListingCardBody from \"./ListingCardBody\";\n// eslint-disable-next-line import/no-cycle\nimport ListingCardFooter from \"./ListingCardFooter\";\nimport ListingCardHeader from \"./ListingCardHeader\";\n\nconst ListingCard = ({ listing, onStatusChanged, updateListing, sources, onDeletion, permissions }) => {\n const [collapsed, setCollapsed] = useState(true);\n\n return (\n \n updateListing(listing)({ status: \"archived\" })}\n onDeletion={() => onDeletion(listing)}\n permissions={permissions}\n />\n \n\n \n \n );\n};\n\nexport default ListingCard;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n// eslint-disable-next-line import/no-cycle\nimport ListingCard from \"./ListingCard/ListingCard\";\nimport Listing from \"../../models/Listing\";\n\nconst getStyle = ({ draggableStyle, virtualStyle }) => {\n const combined = {\n ...virtualStyle,\n ...draggableStyle,\n };\n\n return combined;\n};\n\nconst Item = ({\n item,\n provided,\n isDragging,\n onStatusChanged,\n updateListing,\n sources,\n onDeletion,\n permissions,\n}) => (\n \n \n \n);\n\nItem.propTypes = {\n item: PropTypes.instanceOf(Listing),\n // This comes from the library, so we don't much care about internals\n // eslint-disable-next-line react/forbid-prop-types\n provided: PropTypes.any,\n isDragging: PropTypes.bool,\n editFinancials: PropTypes.bool,\n onStatusChanged: PropTypes.func,\n onDeletion: PropTypes.func,\n updateListing: PropTypes.func,\n // No Source class\n // eslint-disable-next-line react/forbid-prop-types\n sources: PropTypes.array,\n permissions: PropTypes.shape({}),\n};\n\nItem.defaultProps = {\n item: null,\n provided: null,\n isDragging: false,\n editFinancials: null,\n onStatusChanged: null,\n onDeletion: null,\n updateListing: null,\n permissions: null,\n sources: [],\n};\nexport default Item;\n","// extracted by mini-css-extract-plugin\nexport default {\"task-list\":\"yLMeTSKvP0Gz3nIbProi\"};","/* eslint-disable react/prop-types */\nimport React, { useEffect, useRef } from \"react\";\nimport { Droppable, Draggable } from \"react-beautiful-dnd\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\nimport debounce from \"lodash/debounce\";\n// eslint-disable-next-line import/no-cycle\nimport Item from \"./Item\";\nimport scrollStyle from \"./ItemsList.module.css\";\n\nconst bottomScrollReached = (element) => element.offsetHeight + element.scrollTop >= element.scrollHeight;\nconst maybeTriggerLoadMore = (ref, callback) => {\n if (ref && ref.current && bottomScrollReached(ref.current)) {\n callback();\n }\n};\n\nconst loader = () => (\n
\n
\n \n
\n
\n);\nconst ItemList = React.memo(\n ({ column, onStatusChanged, updateListing, sources, agents, onLoadMore, onDeletion, permissions }) => {\n const listingsContainer = useRef(null);\n\n useEffect(() => {\n // Scroll to bottom as the loader appears and appends content to the container\n if (column.pagination.isFetching && listingsContainer && listingsContainer.current) {\n listingsContainer.current.scrollTop = listingsContainer.current.scrollHeight;\n }\n }, [column.pagination.isFetching, listingsContainer]);\n\n return (\n {\n if (column.pagination.isFetching) {\n // Do not consider loading more when there is already a pending request\n return;\n }\n maybeTriggerLoadMore(listingsContainer, onLoadMore);\n }, 150)}\n >\n \n {(droppableProvided) => (\n \n {column.items.map((item, index) => (\n \n {/* library uses exactly this template, with shadowing */}\n {(draggableProvided) => (\n \n )}\n \n ))}\n {droppableProvided.placeholder}\n {column.pagination.isFetching && loader()}\n \n )}\n \n \n );\n },\n);\n\nexport default ItemList;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport Cluster from \"../../../shared/v2/Cluster\";\nimport IconButton from \"../../../shared/v2/IconButton\";\n// eslint-disable-next-line import/no-cycle\nimport ItemsList from \"./ItemsList\";\nimport format from \"../../../shared/formatters\";\n\nconst Field = ({ value, name }) => (\n
\n {name}:\n {format.currency(value, 0)}\n
\n);\n\nconst EXCLUDE_AGGREGATED_COUNT = new Set([\"gross_commission\", \"price\", \"closed_volume\"]);\n\nconst totalListingsCount = (aggregations) => {\n if (aggregations.count !== undefined) {\n return Number(aggregations.count);\n }\n\n return Object.entries(aggregations).reduce((acc, [key, val]) => {\n if (EXCLUDE_AGGREGATED_COUNT.has(key)) return acc;\n return Number(acc) + Number(val);\n }, 0);\n};\nconst Column = React.memo(\n ({\n column,\n index,\n onStatusChanged,\n updateListing,\n sources,\n agents,\n editFinancials,\n totals,\n onLoadMore,\n onDeletion,\n openAddTransactionModal,\n permissions,\n }) => {\n const columnTotals = totals[column.id];\n const totalListings = totalListingsCount(columnTotals);\n const totalGrossCommission = columnTotals.gross_commission;\n const totalVolume = columnTotals.closed_volume;\n\n return (\n
\n
\n \n \n

\n {column.title === \"comingsoon\" ? \"coming soon\" : column.title}\n

\n {totalListings}\n
\n openAddTransactionModal(column.title.toLowerCase())}\n >\n +\n \n
\n
\n \n
\n \n \n \n \n
\n
\n );\n },\n);\n\nexport default Column;\n","/* eslint-disable react/prop-types */\nimport React, { useState, useEffect, useContext } from \"react\";\nimport { DragDropContext } from \"react-beautiful-dnd\";\nimport { reorderList, transferBetweenColumns } from \"./BoardManipulation\";\n// eslint-disable-next-line import/no-cycle\nimport Column from \"./Column\";\nimport { isReferral } from \"../../../TransactionDetailsPage/shared/helpers\";\nimport { UpdateFromPipelineContext } from \"../Wrapper\";\nimport actions from \"../../actions\";\n\nconst STATUSES = [\n \"pipeline\",\n \"comingsoon\",\n \"active\",\n \"pending\",\n \"sold\",\n \"expired\",\n \"withdrawn\",\n \"canceled\",\n \"archived\",\n];\n\nconst normalizeStatus = (status) => status.replace(/coming[ -_]soon/, \"comingsoon\");\n\nconst getLastWord = (words) => {\n const n = words.split(\" \");\n return n[n.length - 1];\n};\n\nconst validDroppables = (droppable) => [\"pipeline\", \"pending\", \"comingsoon\", \"withdrawn\"].includes(droppable);\n\nconst dragged = (draggableStr, droppableStr) => isReferral(draggableStr) && validDroppables(droppableStr);\n\nconst groupByStatus = (listings, statusPagination) => {\n const temp = listings.reduce((acc, listing) => {\n const status = normalizeStatus(listing.status);\n if (!acc[normalizeStatus(status)]) acc[status] = [];\n acc[status].push(listing);\n return acc;\n }, {});\n\n return {\n columns: STATUSES.reduce((acc, status) => {\n acc[normalizeStatus(status)] = {\n id: status,\n title: status,\n items: temp[status] || [],\n pagination: statusPagination[status] || {},\n };\n return acc;\n }, {}),\n columnOrder: STATUSES,\n };\n};\n\nconst initialState = (listings, statusPagination) => groupByStatus(listings || [], statusPagination || {});\n\nconst Board = ({\n listings = [],\n updateListing,\n sources,\n agents,\n setOrder,\n order,\n totals,\n onLoadMore,\n onDeletion,\n openAddTransactionModal,\n statusPagination = {},\n permissions,\n}) => {\n const [state, setState] = useState(initialState(listings, statusPagination));\n const [pipelineStatusApproved, setPipelineStatusApproved] = useState(false);\n const [tempStatus, setTempStatus] = useState({});\n const { dispatch } = useContext(UpdateFromPipelineContext);\n\n useEffect(() => {\n setState(groupByStatus(listings, statusPagination));\n }, [listings, updateListing, sources, agents, setOrder, order, permissions, openAddTransactionModal]);\n\n const transferDraggedListing = (result) => {\n const listing = state.columns[result.source.droppableId].items[result.source.index];\n\n updateListing(listing)({ status: result.destination.droppableId });\n\n const newState = {\n ...state,\n columns: transferBetweenColumns({\n columns: state.columns,\n sourceId: result.source.droppableId,\n sourceIndex: result.source.index,\n targetId: result.destination.droppableId,\n targetIndex: result.destination.index,\n }),\n };\n\n setState(newState);\n };\n\n const onDragEnd = (result) => {\n if (!result.destination) {\n return;\n }\n\n if (result.type === \"column\") {\n const columnOrder = reorderList(state.columnOrder, result.source.index, result.destination.index);\n setState({\n ...state,\n columnOrder,\n });\n return;\n }\n\n // if a user tries to drag a Referral transaction card into one of the forbidden statuses then return\n if (dragged(getLastWord(result.draggableId), result.destination.droppableId)) return;\n\n if (result.source.droppableId === result.destination.droppableId) {\n // reordering in same list\n const column = state.columns[result.source.droppableId];\n const items = reorderList(column.items, result.source.index, result.destination.index);\n\n // updating column entry\n const newState = {\n ...state,\n columns: {\n ...state.columns,\n [column.id]: {\n ...column,\n items,\n },\n },\n };\n setState(newState);\n return;\n }\n\n transferDraggedListing(result);\n };\n\n const onStatusChanged = (listing, oldStatus, newStatus) => {\n const sourceIndex = state.columns[oldStatus].items.findIndex((item) => item.id === listing.id);\n\n if (sourceIndex === -1) {\n return;\n }\n\n updateListing(listing)({ status: newStatus });\n\n const newState = {\n ...state,\n columns: transferBetweenColumns({\n columns: state.columns,\n sourceId: oldStatus,\n sourceIndex,\n targetId: newStatus,\n targetIndex: 0, // FIXME: check the best place to send the listing to\n }),\n };\n\n setState(newState);\n };\n\n useEffect(() => {\n if (!pipelineStatusApproved) return;\n\n transferDraggedListing(tempStatus);\n setPipelineStatusApproved(false);\n setTempStatus({});\n }, [pipelineStatusApproved]);\n\n return (\n // This is the default for how the library is used\n // eslint-disable-next-line react/jsx-no-bind\n <>\n \n \n {state.columnOrder.map((columnId, index) => (\n onLoadMore(columnId)}\n onDeletion={onDeletion}\n openAddTransactionModal={openAddTransactionModal}\n />\n ))}\n \n \n {/* {openPipelineStatusChangeModal && (\n \n )} */}\n \n );\n};\n\nexport default Board;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { TRANSACTION_STATUS } from \"../../ListingTransactionModal\";\n\nimport AddTransactionModal from \"../../AddTransactionModal\";\n\nconst WrapperAddTransactionModal = ({ columnStatus, ...props }) => (\n status.value.replace(\" \", \"\") === columnStatus)}\n />\n);\nWrapperAddTransactionModal.propTypes = {\n columnStatus: PropTypes.string,\n};\n\nWrapperAddTransactionModal.defaultProps = {\n columnStatus: null,\n};\n\nexport default WrapperAddTransactionModal;\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../../../shared/Utilities\";\n\nconst updateListingReq = async (details, uuid) => {\n const req = axios.put(`/api/v4/transactions/header/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n listing: {\n ...Object.fromEntries(details.map(({ key, value }) => [key, value])),\n },\n });\n\n const [, err] = await tryCatchHandlr(req);\n\n // eslint-disable-next-line no-alert\n if (err) alert(err.response.data.errors[0]);\n};\n\nexport default updateListingReq;\n","import React, { useState, useEffect } from \"react\";\nimport _ from \"lodash\";\nimport { bool, func, string } from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport ErrorBanner from \"@shared/v2/ErrorBanner\";\nimport Modal from \"@shared/v2/Modal\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport states from \"../TransactionDetailsPage/Header/Summary/EditTitleModal/states\";\nimport { getAllListingInfoFromApi, putDetailsToApi } from \"../TransactionDetailsPage/Header/api/apiWrappers\";\nimport { tryCatchHandlr } from \"../shared/Utilities\";\n\nconst UpdatePipelineStatusModal = ({\n isModalOpen,\n closeModal,\n setSubmitted,\n uuid,\n onSubmit,\n revertStatuscloseModal,\n}) => {\n const [existingAddressAttributes, setExistingAddressAttributes] = useState({});\n const [addressId, setAddressId] = useState(\"\");\n const [streetAddress, setStreetAddress] = useState(\"\");\n const [customTitle, setCustomTitle] = useState(\"\");\n const [city, setCity] = useState(\"\");\n const [locality, setLocality] = useState(\"\");\n const [postalCode, setPostalCode] = useState(\"\");\n const [error, setError] = useState(\"\");\n const [saveButtonDisabled, setSaveButtonDisabled] = useState(false);\n const [togglecustomTitle, setToggleCustomTitle] = useState(false);\n const [details, setDetails] = useState([]);\n\n const getAllListingInfo = async () => {\n const req = getAllListingInfoFromApi(uuid);\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n setError(err.response.data?.statusText);\n return;\n }\n setStreetAddress(\"\");\n setExistingAddressAttributes(res.data.address);\n setAddressId(res.data.address?.id);\n setCity(res.data.address?.city);\n setCustomTitle(res.data?.title);\n setLocality(res.data.address?.locality);\n setPostalCode(res.data.address?.postal_code);\n };\n const setDefault = () => {\n setError(\"\");\n setExistingAddressAttributes({});\n setAddressId(\"\");\n setStreetAddress(\"\");\n setCity(\"\");\n setCustomTitle(\"\");\n setLocality(\"\");\n setPostalCode(\"\");\n setSaveButtonDisabled(false);\n setToggleCustomTitle(false);\n setDetails([]);\n };\n const closeAddressModal = () => {\n setDefault();\n revertStatuscloseModal();\n };\n\n const putAllListingInfo = async () => {\n if (!_.isEqual(existingAddressAttributes, details.value)) {\n const req = putDetailsToApi({ uuid, details });\n const [, err] = await tryCatchHandlr(req);\n\n if (err) {\n setError(err.response.data?.statusText);\n return;\n }\n }\n\n setSubmitted(true);\n setDefault();\n closeModal(false);\n };\n\n useEffect(() => {\n (async () => {\n if (uuid.length) await getAllListingInfo();\n })();\n }, [uuid]);\n\n useEffect(() => {\n setToggleCustomTitle(false);\n setStreetAddress(\"\");\n }, [isModalOpen]);\n\n useEffect(() => {\n if (togglecustomTitle) {\n const filteredDetails = details.filter((item) => item.key !== \"use_custom_title\");\n const updatedDetails = [\n ...filteredDetails,\n { key: \"title\", value: customTitle, group: \"transactionDetails\" },\n ];\n setDetails(updatedDetails);\n } else {\n const filteredDetails = details.filter((item) => item.key !== \"title\");\n const updatedDetails = [\n ...filteredDetails,\n { key: \"use_custom_title\", value: togglecustomTitle, group: \"transactionDetails\" },\n ];\n setDetails(updatedDetails);\n }\n }, [togglecustomTitle]);\n\n useEffect(() => {\n setSaveButtonDisabled(!streetAddress || !streetAddress.length);\n }, [streetAddress]);\n\n const handleSubmit = async (e) => {\n e.preventDefault();\n const updatedDetails = [\n ...details,\n {\n key: \"address_attributes\",\n value: {\n id: addressId,\n street_address: streetAddress,\n city,\n locality,\n postal_code: postalCode,\n },\n group: \"propertyDetails\",\n },\n ];\n setDetails(updatedDetails);\n const submitHandlr = onSubmit ? () => onSubmit(updatedDetails) : () => putAllListingInfo();\n\n if (!_.isEqual(existingAddressAttributes, updatedDetails.value)) await submitHandlr();\n };\n\n return (\n \n \n \n {error && }\n
\n Street Address *\n
\n = 75 ? \"Max characters: 75\" : \"\"}\n onChange={(e) => setStreetAddress(e.target.value)}\n data-cy=\"header-edit-title-modal-address-input\"\n className=\"tw-mb-24px tw-rounded-[4px]\"\n />\n
\n
\n \n City\n \n setCity(e.target.value)}\n data-cy=\"header-edit-title-modal-city-input\"\n className=\"tw-rounded-[4px]\"\n />\n
\n
\n \n State / Province\n \n setLocality(e.value)}\n options={states}\n className=\"tw-bg-gray-10 tw-rounded-[4px]\"\n isSearchable\n data-cy=\"header-edit-title-modal-state-select\"\n placeholder=\"Select\"\n isPipeline\n />\n
\n
\n \n ZIP / Postal Code\n \n setPostalCode(e.target.value)}\n data-cy=\"header-edit-title-modal-zip-input\"\n className=\"tw-rounded-[4px]\"\n />\n
\n
\n
\n
\n setToggleCustomTitle(!togglecustomTitle)}\n data-cy=\"header-edit-title-modal-use-address-title-radio\"\n />\n
\n
\n setToggleCustomTitle(!togglecustomTitle)}\n data-cy=\"header-edit-title-modal-use-custom-title-radio\"\n />\n
\n
\n
\n \n \n Cancel\n \n handleSubmit(e)}\n data-cy=\"header-edit-title-modal-save-button\"\n >\n Save\n \n \n \n );\n};\n\nUpdatePipelineStatusModal.propTypes = {\n isModalOpen: bool.isRequired,\n closeModal: func.isRequired,\n uuid: string.isRequired,\n onSubmit: func,\n setSubmitted: func,\n revertStatuscloseModal: func.isRequired,\n};\n\nUpdatePipelineStatusModal.defaultProps = {\n setSubmitted: () => {},\n onSubmit: () => {},\n};\n\nexport default UpdatePipelineStatusModal;\n","import React, { useContext } from \"react\";\nimport updateListingReq from \"./shared/apiHelper\";\n// eslint-disable-next-line import/no-cycle\nimport { UpdateFromPipelineContext } from \"./Wrapper\";\nimport actions from \"../actions\";\n\nimport UpdatePipelineStatusModal from \"../UpdatePipelineStatusModal\";\n\nconst TDIUpdatePipelineStatusModal = () => {\n const { state, dispatch } = useContext(UpdateFromPipelineContext);\n\n const setToggleModal = (bool) => {\n dispatch(actions.updateAddressModal.toggleUpdateAddressModal(bool));\n };\n\n const onSubmit = (details) => {\n const addressDetails = details.find((item) => item.key === \"address_attributes\").value;\n dispatch(\n actions.listings.updateListing(\n state.updateAddressModal.listing,\n state.updateAddressModal.tempStatus,\n addressDetails,\n ),\n );\n details.push({\n key: \"status\",\n value:\n state.updateAddressModal.tempStatus === \"comingsoon\"\n ? \"coming soon\"\n : state.updateAddressModal.tempStatus,\n });\n\n updateListingReq(details, state.updateAddressModal.listing.uuid);\n };\n\n const revertStatuscloseModal = () => {\n // Dispatching state changes before preflight req, will revert if theres error on actions.listings.updateStateRequest\n const copyListing = JSON.parse(JSON.stringify(state.updateAddressModal.listing));\n dispatch(\n actions.listings.updateListing(\n state.updateAddressModal.listing,\n state.updateAddressModal.listing?.status,\n ),\n );\n dispatch(\n actions.listings.updateStatusRequest(copyListing, { status: state.updateAddressModal.listing?.status }),\n );\n setToggleModal(false);\n };\n\n return (\n \n );\n};\n\nexport default TDIUpdatePipelineStatusModal;\n","import React, { useState } from \"react\";\nimport { func, bool, string } from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Check from \"@shared/v2/Icomoon/Icons/Check\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button/Button\";\nimport ImportListingDetailsModal from \"../ImportListingDetailsModal\";\n\nconst ImportDetailModal = ({\n preStatus,\n isImportModalOpen,\n closeModalAsThunk,\n status,\n isFromIndex,\n listingUuid,\n closeCurrentModal,\n}) => {\n const [showModal, setshowModal] = useState(false);\n const [showAlert, setshowAlert] = useState(false);\n\n const closeModal = () => {\n closeModalAsThunk();\n };\n const closeNextModal = () => {\n setshowModal(false);\n };\n const importClick = () => {\n closeCurrentModal();\n setshowModal(true);\n };\n\n return (\n <>\n {showAlert && (\n \n \n Listing details imported from MLS\n \n }\n role=\"alert\"\n />\n )}\n \n \n\n \n
\n We noticed you've updated the transaction status from{\" \"}\n {preStatus} to{\" \"}\n {status}. Would you like to import listing\n details from the MLS?\n
\n
\n\n \n \n No THanks\n \n\n \n IMPORT\n \n \n \n {showModal && (\n \n )}\n \n );\n};\n\nImportDetailModal.propTypes = {\n isImportModalOpen: bool,\n isFromIndex: bool,\n listingUuid: string,\n closeModalAsThunk: func,\n closeCurrentModal: func,\n preStatus: string,\n status: string.isRequired,\n};\n\nImportDetailModal.defaultProps = {\n isImportModalOpen: false,\n isFromIndex: false,\n listingUuid: null,\n preStatus: null,\n closeModalAsThunk: () => {},\n closeCurrentModal: () => {},\n};\n\nexport default ImportDetailModal;\n","import React, { useContext } from \"react\";\nimport ImportDetailModal from \"../../TransactionDetailsPage/Main/Details/ImportModal/ImportDetailModal\";\nimport actions from \"../actions\";\nimport { UpdateFromPipelineContext } from \"./Wrapper\";\n\nconst ImportListingModal = () => {\n const { state, dispatch } = useContext(UpdateFromPipelineContext);\n\n const closeModal = () => {\n dispatch(\n actions.importModal.toggleImportModal(\n false,\n state?.importModal?.listing,\n state?.importModal?.updatedStatus,\n ),\n );\n };\n\n const handleCloseModal = () => {\n closeModal();\n if (!state?.importModal?.listing?.address?.streetAddress) {\n dispatch(\n actions.updateAddressModal.toggleUpdateAddressModal(\n true,\n state?.importModal?.updatedStatus,\n state?.importModal?.listing,\n ),\n );\n }\n };\n\n return (\n \n );\n};\n\nexport default ImportListingModal;\n","/* eslint-disable react/prop-types, no-alert, no-restricted-globals */\nimport React, { createContext, useEffect, useMemo, useRef } from \"react\";\nimport { Provider } from \"react-redux\";\nimport useReducerWithSideEffects from \"use-reducer-with-side-effects\";\nimport { ToastContainer, toast } from \"react-toastify\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faSpinner } from \"@fortawesome/free-solid-svg-icons\";\nimport ReactTooltip from \"react-tooltip\";\nimport { reducer } from \"../reducer\";\nimport actions from \"../actions\";\nimport Headings from \"./Headings\";\n// eslint-disable-next-line import/no-cycle\nimport TransactionsTable from \"./TransactionsTable\";\nimport FiltersModal from \"./FiltersModal\";\nimport { types, statuses, publishedStates } from \"./stubs/filterStubs\";\nimport \"./Transaction.scss\";\nimport { titleize } from \"../utils/helpers\";\nimport { closeDateOptions, statusDateOptions } from \"./stubs/closeDateOptions\";\n// eslint-disable-next-line import/no-cycle\nimport Board from \"./CardsView/Board\";\nimport WrapperAddTransactionModal from \"./WrapperAddTransactionModal\";\n// eslint-disable-next-line import/no-cycle\nimport TDIUpdatePipelineStatusModal from \"./TDIUpdatePipelineStatusModal\";\nimport ImportListingModal from \"./ImportListingModal\";\n\nexport const UpdateFromPipelineContext = createContext();\n\nexport const allColumns = {\n photo: { active: true, position: 1, label: \"Photo\", fixed: true },\n address: { active: true, position: 2, label: \"Address / Title\", fixed: true },\n type: { active: true, position: 3, label: \"Type\" },\n status: { active: true, position: 4, label: \"Status\" },\n mls: { active: true, position: 5, label: \"MLS#\" },\n agent: { active: true, position: 6, label: \"Agent\" },\n dateListed: { active: true, position: 7, label: \"Date Listed\" },\n price: { active: true, position: 8, label: \"Listing Price\" },\n expiration: { active: true, position: 9, label: \"Expiration\" },\n closePrice: { active: true, position: 10, label: \"Close Price\" },\n gci: { active: true, position: 11, label: \"GCI\" },\n closeDate: { active: true, position: 12, label: \"Close Date\" },\n dom: { active: true, position: 13, label: \"DOM\" },\n dateCanceled: { active: true, position: 14, label: \"Date Canceled\" },\n mutualAcceptanceDate: { active: true, position: 15, label: \"Mutual Acceptance Date\" },\n lastUpdated: { active: true, position: 16, label: \"Last Updated\" },\n source: { active: true, position: 17, label: \"Source\" },\n statusChangedAt: { active: true, position: 18, label: \"Status Changed At\" },\n};\n\nconst toggleColumnId = (id, columns) => ({\n ...columns,\n [id]: { ...columns[id], active: !columns[id].active },\n});\nconst getName = (type, id, filtersMapping) => {\n if (id === -1) return \"all\";\n const usedFilter = filtersMapping[type].find(\n (filter) => filter.id && (filter.id === id || filter.id.toString() === id),\n );\n return usedFilter?.name || \"not found\";\n};\n\nconst transformFilterType = (type) => type !== undefined && titleize(type);\nconst toFilterLabel = (type, value, filtersMapping) => ({\n id: { type, value },\n label: `${transformFilterType(type)}: ${titleize(getName(type, value, filtersMapping))}`,\n});\n\nconst filtersAdapter = (filtersObject, filtersMapping) => {\n const orderedKeys = [\n \"agent\",\n \"type\",\n \"search\",\n \"status\",\n \"source\",\n \"closeDateRange\",\n \"statusChangedRange\",\n \"publishedState\",\n ];\n return orderedKeys\n .map((key) => {\n if (Array.isArray(filtersObject[key])) {\n return filtersObject[key].map((f) => toFilterLabel(key, f, filtersMapping));\n }\n return filtersObject[key] ? toFilterLabel(key, filtersObject[key], filtersMapping) : [];\n })\n .flat();\n};\n\nconst loader = () => (\n
\n
\n \n
\n
\n);\n\nconst filterUnknownMilestones = (_renderableColumns, newMilestonesColumns) => {\n const renderableColumns = { ..._renderableColumns };\n Object.keys(renderableColumns).forEach((key) => {\n if (renderableColumns[key].isNewMilestone && !newMilestonesColumns[key]) {\n delete renderableColumns[key];\n }\n });\n return { ...newMilestonesColumns, ...renderableColumns };\n};\n\nconst Wrapper = ({ initialState, agents, sources }) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n const [state, dispatch] = useReducerWithSideEffects(reducer, { ...initialState });\n const { buyers, sellers, landlords, tenants, referrals } = state.listings.totals;\n const totalListings =\n Number(buyers) + Number(sellers) + Number(landlords) + Number(tenants) + Number(referrals);\n const openAddTransactionModal = (status = null) =>\n dispatch(actions.rendering.setAddTransactionModal(true, status));\n const closeAddTransactionModal = () => dispatch(actions.rendering.setAddTransactionModal(false));\n const reorderColumn = (sourceIndex, destinationIndex) =>\n dispatch(actions.rendering.reorderColumn({ sourceIndex, destinationIndex }));\n const setRenderableColumns = (columns) => dispatch(actions.rendering.setColumns(columns));\n const toggleColumn = (id) => setRenderableColumns(toggleColumnId(id, state.renderableColumns));\n const deleteListing = (listing) => dispatch(actions.listings.deleteStart(listing));\n const promptForDeletion = (listing) => {\n const confirmed = confirm(\"Are you sure you want to delete this transaction?\");\n if (confirmed) {\n deleteListing(listing);\n }\n };\n const updateListing = (listing) => (changes) => {\n if (changes === undefined) {\n return;\n }\n dispatch(actions.listings.updateStart(listing, changes));\n };\n const archiveListing = (listing) => {\n updateListing(listing)({ status: \"archived\" });\n };\n\n const openFilterModal = () => dispatch(actions.filters.openModal());\n const closeFilterModal = () => dispatch(actions.filters.closeModal());\n const removeFilter = (filter) => dispatch(actions.filters.remove(filter));\n const clearFilters = () => dispatch(actions.filters.clear());\n const setFilters = (filters) => dispatch(actions.filters.set(filters));\n const setOrder = (value) => dispatch(actions.order.set(value));\n const setPage = (pageNumber) => dispatch(actions.pagination.setPage(pageNumber));\n const setDisplay = (display) => dispatch(actions.rendering.setDisplay(display));\n const toggleDisplay = () => setDisplay(state.display === \"list\" ? \"card\" : \"list\");\n const loadMore = (status) => dispatch(actions.listings.cardFetchStart(status));\n const saveListingFilters = (data) => dispatch(actions.saveFiltersModal.saveStart(data));\n const openSaveFiltersModal = () => dispatch(actions.saveFiltersModal.openModal());\n const closeSaveFiltersModal = () => dispatch(actions.saveFiltersModal.closeModal());\n\n const usePrevious = (value) => {\n const ref = useRef();\n useEffect(() => {\n ref.current = value || false;\n });\n return ref.current;\n };\n\n const prevError = usePrevious(state.error && state.error.showError);\n\n useEffect(() => {\n if (state.error !== undefined && state.error.showError && !prevError) {\n toast(state.error.message !== \"\" ? state.error.message : \"Something went wrong\", {\n onOpen: () => {\n dispatch(actions.errors.clear());\n },\n });\n }\n }, [state.error]);\n\n useEffect(() => {\n setRenderableColumns({\n ...allColumns,\n ...filterUnknownMilestones(initialState.renderableColumns, initialState.newMilestonesColumns),\n });\n }, [initialState]);\n\n useEffect(() => {\n if (state.display === \"card\") {\n const possibleStatuses = [\n \"pipeline\",\n \"comingsoon\",\n \"active\",\n \"pending\",\n \"sold\",\n \"expired\",\n \"canceled\",\n \"withdrawn\",\n \"archived\",\n ];\n\n const usedStatuses = state.filters.status.length === 0 ? possibleStatuses : state.filters.status;\n usedStatuses.forEach((status) => loadMore(status));\n }\n }, [state.display, state.filters]);\n\n const filtersMapping = {\n agent: agents,\n status: statuses,\n publishedState: publishedStates,\n type: types,\n search: state.filters.search ? [{ id: state.filters.search, name: state.filters.search }] : [],\n source: sources,\n closeDateRange: closeDateOptions,\n statusChangedRange: [\n { id: \"custom\", name: state.filters.statusChangedDates?.join(\" - \") },\n { id: \"yesterday\", name: \"Yesterday\" },\n { id: \"30_days\", name: \"Last 30 Days\" },\n ...statusDateOptions,\n ],\n };\n\n const renderableColumns = state.renderableColumns || initialState.renderableColumns || allColumns;\n\n const listView = (\n \n );\n\n const cardView = (\n \n );\n\n const baseBackground = state.display === \"list\" ? \"tw-bg-white\" : \"tw-bg-tinted-gray-100\";\n\n return (\n \n \n \n \n\n \n\n \n {state.listings.isFetching && loader()}\n {\n closeFilterModal();\n clearFilters();\n }}\n onFilter={(filters) => {\n closeFilterModal();\n setFilters(filters);\n }}\n onModalClose={closeFilterModal}\n />\n \n {state.display === \"list\" ? listView : cardView}\n \n \n \n \n \n );\n};\n\nexport default Wrapper;\n","import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport actions from \"../actions\";\n// eslint-disable-next-line import/no-cycle\nimport { UpdateFromPipelineContext } from \"./Wrapper\";\n\nimport { WithShowPicker as OptionsStatusCell } from \"./shared/OptionsStatusCell/OptionsStatusCell\";\n\nconst TDIOptionsStatusCell = ({ listing }) => {\n const { dispatch } = useContext(UpdateFromPipelineContext);\n\n const onChangeHandlr = async (_status) => {\n if (_status === listing.status) return;\n\n // Dispatching state changes before preflight req, will revert if theres error on actions.listings.updateStateRequest\n const copyListing = JSON.parse(JSON.stringify(listing));\n dispatch(actions.listings.updateListing(listing, _status));\n dispatch(actions.listings.updateStatusRequest(copyListing, { status: _status }));\n };\n\n return (\n \n );\n};\n\nTDIOptionsStatusCell.propTypes = {\n listing: PropTypes.shape({\n address: PropTypes.shape({ streetAddress: PropTypes.string }),\n status: PropTypes.string,\n type: PropTypes.string,\n uuid: PropTypes.string,\n }),\n};\n\nTDIOptionsStatusCell.defaultProps = {\n listing: null,\n};\nexport default TDIOptionsStatusCell;\n","import React from \"react\";\n\nconst fadeStyle = {\n backgroundImage: \"linear-gradient(to right, rgba(255,255,255,0), #fff)\",\n height: \"47px\",\n position: \"absolute\",\n top: \"0\",\n right: \"0\",\n width: \"40px\",\n zIndex: \"1\",\n};\n\nconst FadeOut = () =>
;\n\nexport default FadeOut;\n","/* eslint-disable react/prop-types */\n\nimport React from \"react\";\nimport ImageCell from \"./shared/ImageCell\";\nimport AgentCell from \"./shared/AgentCell\";\nimport TextCell from \"./shared/TextCell\";\nimport TypeCell from \"./shared/TypeCell\";\nimport CurrencyCell from \"./shared/CurrencyCell\";\nimport DateCell from \"./shared/DateCell\";\n// TODO: Revert when pipeline feature flag is merged\n// eslint-disable-next-line import/no-cycle\nimport TDIOptionsStatusCell from \"./TDIOptionsStatusCell\";\nimport OptionsInlineCell from \"./shared/OptionsInlineCell\";\nimport FadeOut from \"./shared/FadeOut\";\nimport { EditIcon, ArchiveIcon, TrashIcon } from \"./icons\";\nimport { Listing } from \"../models\";\nimport { dynamicRow } from \"../utils/dynamicRow\";\n// eslint-disable-next-line import/no-cycle\nimport { currentFiltersAsString } from \"../utils/urlHelpers\";\nimport { isEditableAt } from \"../utils/helpers\";\nimport ThumbnailIcon from \"./shared/ThumbnailIcon\";\nimport { isReferral } from \"../../TransactionDetailsPage/shared/helpers\";\n\nconst widths = {\n minWidth: \"150px\",\n maxWidth: \"300px\",\n};\nexport const STATUSES = [\n \"pipeline\",\n \"comingsoon\",\n \"active\",\n \"pending\",\n \"sold\",\n \"expired\",\n \"withdrawn\",\n \"canceled\",\n \"archived\",\n];\n\nexport const isCustomTitle = (type, useCustomTitle) => isReferral(type) || useCustomTitle;\n\nconst Transaction = ({\n listing,\n sources,\n updateListing,\n archiveListing,\n deleteListing,\n renderableColumns,\n permissions,\n}) => {\n const onChange = (key) => (value) => updateListing(new Listing({ ...listing, [key]: value }));\n const canDeleteListing = permissions.listings.delete && listing.status === \"archived\";\n const canArchiveListing = !listing.status === \"archived\";\n const canEditFinancials = false;\n const editableCheck = (property) => isEditableAt(listing, property, canEditFinancials);\n const searchString = currentFiltersAsString();\n const baseColumns = dynamicRow(renderableColumns, [\n [\n \"photo\",\n \n
\n {listing.photoURL ? (\n \n ) : (\n \n )}\n
\n ,\n ],\n [\n \"address\",\n \n \n {isCustomTitle(listing.type, listing.useCustomTitle) ? (\n

{listing.title}

\n ) : (\n listing.address.fullAddress\n .filter((line) => !!line)\n .map((line) =>

{line}

)\n )}\n \n \n ,\n ],\n [\n \"type\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"status\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"mls\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"agent\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"dateListed\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"price\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n \n ,\n ],\n [\n \"expiration\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"closePrice\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n \n ,\n ],\n [\n \"gci\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n \n ,\n ],\n [\n \"closeDate\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"dom\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"dateCanceled\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"mutualAcceptanceDate\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"lastUpdated\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"source\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n [\n \"statusChangedAt\",\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ],\n ...Object.keys(listing.newMilestones).map((key) => [\n key,\n // eslint-disable-next-line jsx-a11y/control-has-associated-label\n \n \n ,\n ]),\n ]);\n\n return (\n \n {baseColumns}\n \n
\n \n \n \n {canDeleteListing && (\n deleteListing(listing)}\n className=\"tw-border-0 tw-p-0 tw-bg-transparent tw-text-coral\"\n data-tip=\"Delete\"\n data-cy=\"delete-listing\"\n >\n \n \n )}\n {canArchiveListing && (\n archiveListing(listing)}\n className=\"tw-border-0 tw-p-0 tw-bg-transparent\"\n data-tip=\"Archive\"\n data-cy=\"archive-listing\"\n >\n \n \n )}\n
\n \n \n );\n};\n\nexport default Transaction;\n","import queryString from \"query-string\";\n// eslint-disable-next-line import/no-cycle\nimport { STATUSES } from \"../components/Transaction\";\n\n// comingsoon -> coming_soon\nconst NORMALIZED_STATUSES = () => [...STATUSES, \"coming_soon\"];\nconst ENCODING_PROPS = { arrayFormat: \"bracket\" };\n\nexport const windowLocation = () => (window === undefined ? null : window.location);\nexport const queryToString = (params) => queryString.stringify(params, ENCODING_PROPS);\nexport const queryToObject = (query) => queryString.parse(query, ENCODING_PROPS);\nexport const pathStatus = (location) => {\n // /listings/[singleStatus]?queryString\n // listings/{{uuid|slug}}/section?queryString\n const parts = location.pathname.split(\"/\");\n\n if (parts.length === 3 && NORMALIZED_STATUSES().includes(parts[2])) {\n return parts[2];\n }\n return undefined;\n};\n\nexport const filters = (location) => {\n const searchParams = queryToObject(location.search);\n const statusFromPath = pathStatus(location);\n\n /* To pass in status (as pathName if available) as param to TDP */\n if (statusFromPath) {\n searchParams.status = [statusFromPath];\n }\n return searchParams;\n};\n\nexport const currentPathStatus = () => pathStatus(windowLocation());\nexport const currentQueryAsObject = () => queryToObject(windowLocation().search);\nexport const currentQueryAsString = () => queryToString(currentQueryAsObject());\nexport const currentFilters = () => filters(windowLocation());\nexport const currentFiltersAsString = () => queryToString(currentFilters());\n\nexport const backToListingsUrl = (params) => `/listings?${queryToString(params)}`;\nexport const listingUrl = (url, params) => `${url}?${queryToString(params)}`;\n","import React from \"react\";\nimport { object, string } from \"prop-types\";\n\nimport { ChevronLeft, ChevronRight } from \"../../../shared/v2/Icomoon\";\nimport { listingUrl } from \"../../../Transactions/utils/urlHelpers\";\n\nconst NavigationDirection = ({ schema, slug, title, searchParams, url }) => (\n \n {schema === \"prev\" && }\n {title}\n {schema === \"next\" && }\n \n);\n\nNavigationDirection.propTypes = {\n schema: string,\n slug: string,\n title: string,\n // eslint-disable-next-line react/forbid-prop-types\n searchParams: object,\n url: string,\n};\n\nNavigationDirection.defaultProps = {\n schema: \"\",\n slug: null,\n title: null,\n searchParams: null,\n url: null,\n};\n\nexport default NavigationDirection;\n","/* eslint-disable spaced-comment */\n\nimport React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, string } from \"prop-types\";\n\nimport { getPrevNextListingsAsThunk } from \"./action/thunks\";\n\nimport NavigationDirection from \"./NavigationDirection\";\nimport { backToListingsUrl, currentFilters } from \"../../Transactions/utils/urlHelpers\";\n\nconst NavigationListings = ({\n uuid,\n nextSlug,\n prevSlug,\n nextTitle,\n prevTitle,\n nextUrl,\n prevUrl,\n onGetPrevNextListingsAsThunk,\n}) => {\n const searchParams = currentFilters();\n searchParams.use_classic = searchParams.use_classic || false;\n\n /*URL to go back to listings w/ filters*/\n const backToListingsURL = backToListingsUrl(searchParams);\n\n useEffect(() => {\n onGetPrevNextListingsAsThunk(uuid, searchParams);\n }, [uuid]);\n\n return (\n
\n \n \n BACK TO TRANSACTIONS\n \n \n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n uuid: state.tdpDetailsReducer.uuid,\n nextSlug: state.tdpDetailsReducer.navigationListing.nextSlug,\n prevSlug: state.tdpDetailsReducer.navigationListing.previousSlug,\n nextTitle: state.tdpDetailsReducer.navigationListing.nextTitle,\n prevTitle: state.tdpDetailsReducer.navigationListing.previousTitle,\n nextUrl: state.tdpDetailsReducer.navigationListing.nextUrl,\n prevUrl: state.tdpDetailsReducer.navigationListing.previousUrl,\n});\n\nconst mapDispatchToProps = {\n onGetPrevNextListingsAsThunk: getPrevNextListingsAsThunk,\n};\n\nNavigationListings.propTypes = {\n uuid: string,\n onGetPrevNextListingsAsThunk: func,\n nextSlug: string,\n prevSlug: string,\n nextTitle: string,\n prevTitle: string,\n nextUrl: string,\n prevUrl: string,\n};\nNavigationListings.defaultProps = {\n uuid: null,\n onGetPrevNextListingsAsThunk: null,\n nextSlug: null,\n prevSlug: null,\n nextTitle: null,\n prevTitle: null,\n nextUrl: null,\n prevUrl: null,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(NavigationListings);\n","import React from \"react\";\n\nimport { NavContainer } from \"../UI/Containers\";\nimport NavigationListings from \"../NavigationListings\";\n\nexport default () => (\n \n \n \n);\n","import axios from \"axios\";\n\nexport const saveListingThumbnail = ({ listingId, id, model }) => {\n const params = new URLSearchParams();\n Object.keys(model).forEach((k) => {\n params.append(k, model[k]);\n });\n params.append(\"authenticity_token\", ReactOnRails.authenticityToken());\n return axios.put(`/listings/${listingId}/listing_images/${id}`, params);\n};\n\nexport const saveListingMLSThumbnail = ({ uuid, data }) => {\n return axios.put(`/api/v4/transactions/header/${uuid}`, {\n authenticity_token: window.ReactOnRails.authenticityToken(),\n listing: data,\n });\n};\n","/* eslint-disable import/prefer-default-export */\nimport { setThumnail, setSaved, setSaving, setSaveError } from \"./creators\";\nimport { saveListingThumbnail, saveListingMLSThumbnail } from \"../services\";\n\nexport const saveForm =\n ({ listingId, selectedPhoto, uuid }) =>\n (dispatch) => {\n dispatch(setSaving());\n const onSuccess = () => {\n dispatch(\n setThumnail(\"photo\", { ...selectedPhoto, cloud_location: selectedPhoto.url }, \"headerDetails\"),\n );\n dispatch(setSaved());\n };\n const onFailure = (error) => dispatch(setSaveError({ error }));\n const model = { \"listing_image[position]\": 1 };\n\n if (selectedPhoto.isMLS) {\n const data = { primary_mls_photo: selectedPhoto.url };\n saveListingMLSThumbnail({ uuid, data }).then(onSuccess).catch(onFailure);\n } else {\n const data = { primary_mls_photo: null };\n saveListingMLSThumbnail({ uuid, data });\n saveListingThumbnail({ listingId, id: selectedPhoto.id, model }).then(onSuccess).catch(onFailure);\n }\n };\n","import React, { useEffect } from \"react\";\nimport Proptypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Image from \"../../../../../shared/v2/Icomoon/Icons/Image\";\n\nimport * as actions from \"../actions/creators\";\nimport * as thunks from \"../actions/thunks\";\n\nimport Modal from \"../../../../../shared/v2/Modal\";\nimport Button from \"../../../../../shared/v2/Button\";\nimport UploadImage from \"../../../../Main/Details/UploadImage\";\n\nconst mapStateToProps = (state) => ({\n listingId: state.tdpDetailsReducer.slug,\n show: state.tdpThumbnailSelector.show,\n availableImages: state.tdpDetailsReducer.listingImgs,\n savedThumbnail: state.tdpDetailsReducer.headerDetails.photo,\n selectedPhoto: state.tdpThumbnailSelector.selectedPhoto,\n saving: state.tdpThumbnailSelector.isSaving,\n saved: state.tdpThumbnailSelector.isSaved,\n uuid: state.tdpDetailsReducer.uuid,\n});\nconst ThumbnailSelector = ({\n listingId,\n show,\n availableImages,\n savedThumbnail,\n selectedPhoto,\n selectPhoto,\n saveForm,\n saving,\n saved,\n reset,\n uuid,\n}) => {\n const canSave = selectedPhoto && selectedPhoto?.id !== savedThumbnail?.id;\n useEffect(() => {\n if (saved) {\n reset();\n }\n }, [saved]);\n useEffect(() => {\n if (show) {\n selectPhoto(savedThumbnail);\n }\n }, [show]);\n return (\n \n \n

\n Listing Photos {`(${availableImages?.length || 0})`}\n

\n
\n {\n selectPhoto({ ...photo, cloud_location: photo.url });\n }}\n />\n {availableImages?.length\n ? availableImages.map((p) =>\n p?.isLoading ? (\n \n \n
\n PROCESSING IMAGE...\n
\n {p?.name}\n
\n
\n ) : (\n selectPhoto(p)}\n >\n \"Listing\n \n ),\n )\n : null}\n
\n\n
\n \n
\n saveForm({ listingId, selectedPhoto, uuid })}\n >\n {saving && }\n {!saving && !saved && \"Save\"}\n \n {saving}\n
\n \n );\n};\n\nexport default connect(mapStateToProps, { ...actions, ...thunks })(ThumbnailSelector);\n\nThumbnailSelector.propTypes = {\n listingId: Proptypes.oneOfType([Proptypes.number, Proptypes.string]),\n show: Proptypes.bool,\n savedThumbnail: Proptypes.shape({\n id: Proptypes.number,\n }),\n selectedPhoto: Proptypes.shape({\n id: Proptypes.number,\n }),\n availableImages: Proptypes.arrayOf(Proptypes.shape({})),\n selectPhoto: Proptypes.func,\n saveForm: Proptypes.func,\n saving: Proptypes.bool,\n saved: Proptypes.bool,\n reset: Proptypes.func,\n uuid: Proptypes.string.isRequired,\n};\n\nThumbnailSelector.defaultProps = {\n listingId: null,\n show: false,\n savedThumbnail: null,\n selectedPhoto: null,\n availableImages: null,\n selectPhoto: null,\n saveForm: null,\n saving: null,\n saved: false,\n reset: null,\n};\n","import React from \"react\";\nimport ThumbnailSelector from \"./components/ThumbnailSelector\";\n\nexport default () => ;\n","import React from \"react\";\nimport { bool, func, string } from \"prop-types\";\n\nimport withDispatch from \"../../../shared/HOCs/withDispatch/withDispatch\";\nimport { isUpdateAddressModal } from \"../../Header/actions/creators\";\nimport { putAddressFromPipelineStatus, putStatusWithPipelineAsThunk } from \"../../Header/actions/thunks\";\nimport { tdpDetails } from \"../../../shared/HOCs/withRedux\";\nimport {\n ISUPDATEADDRESSMODALOPEN,\n LISTING_UUID,\n STREET_ADDRESS,\n TEMP_UPDATED_STATUS,\n TEMP_PRE_STATUS,\n} from \"../../../shared/reduxRoutes/tdpDetailsRoutes\";\n\nimport UpdatePipelineStatusModal from \"../../../Transactions/UpdatePipelineStatusModal\";\n\nconst TDPPipelineStatusModal = ({\n show,\n uuid,\n setToggleModal,\n onChangeFromPipelineStatus,\n tempUpdatedStatus,\n tempPreStatus,\n onRevertStatus,\n streetAddress,\n}) => {\n const revertStatuscloseModal = () => {\n setToggleModal(false);\n // PUT req to revert status\n onRevertStatus({\n status: tempPreStatus,\n streetAddress: streetAddress,\n uuid,\n });\n };\n\n return (\n {\n details.push({\n key: \"status\",\n value: tempUpdatedStatus === \"comingsoon\" ? \"coming soon\" : tempUpdatedStatus,\n });\n onChangeFromPipelineStatus(details, uuid);\n }}\n revertStatuscloseModal={revertStatuscloseModal}\n />\n );\n};\n\nconst WithStateTDPPipelineStatusModal = tdpDetails({\n WrappedComponent: TDPPipelineStatusModal,\n states: [ISUPDATEADDRESSMODALOPEN, LISTING_UUID, TEMP_UPDATED_STATUS, TEMP_PRE_STATUS, STREET_ADDRESS],\n aliases: [\"show\", \"uuid\", \"tempUpdatedStatus\", \"tempPreStatus\", \"streetAddress\"],\n});\n\nexport default withDispatch({\n WrappedComponent: WithStateTDPPipelineStatusModal,\n actions: [putAddressFromPipelineStatus, isUpdateAddressModal, putStatusWithPipelineAsThunk],\n aliases: [\"onChangeFromPipelineStatus\", \"setToggleModal\", \"onRevertStatus\"],\n});\n\nTDPPipelineStatusModal.propTypes = {\n show: bool,\n setToggleModal: func,\n onRevertStatus: func,\n onChangeFromPipelineStatus: func,\n tempUpdatedStatus: string,\n tempPreStatus: string,\n uuid: string,\n streetAddress: string,\n};\n\nTDPPipelineStatusModal.defaultProps = {\n show: false,\n setToggleModal: () => {},\n onRevertStatus: () => {},\n onChangeFromPipelineStatus: () => {},\n tempUpdatedStatus: \"active\",\n tempPreStatus: \"\",\n uuid: \"\",\n streetAddress: null,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport { Trash } from \"@shared/v2/Icomoon\";\nimport DocumentListItem from \"./DocumentListItem\";\n\nconst headerClassNames = {\n th: \"tw-text-12d tw-font-semibold tw-text-neutral-gray-50\",\n};\n\nconst UploadTable = ({\n shouldShowAllCheckbox,\n areAllDocumentsSelected,\n shouldShowBulkActions,\n handleSelectAllDocuments,\n handleBulkDelete,\n handleSelect,\n handleRenameDocument,\n handleDeleteDocuments,\n uploadedDocuments,\n clearDocumentErrors,\n handlePreview,\n context,\n}) => (\n \n \n \n \n\n \n\n \n\n \n \n \n\n \n {uploadedDocuments.map((doc, index) => (\n handlePreview(index)}\n />\n ))}\n \n
\n {shouldShowAllCheckbox && (\n
\n \n
\n )}\n
\n
\n Name\n\n {shouldShowBulkActions && (\n \n \n \n Delete\n \n
\n )}\n \n
Viewers{/* Action */}
\n);\n\nUploadTable.propTypes = {\n shouldShowAllCheckbox: PropTypes.arrayOf(PropTypes.shape({})),\n areAllDocumentsSelected: PropTypes.arrayOf(PropTypes.shape({})),\n shouldShowBulkActions: PropTypes.arrayOf(PropTypes.shape({})),\n handleSelectAllDocuments: PropTypes.func,\n handleBulkDelete: PropTypes.func,\n handleSelect: PropTypes.func,\n handleRenameDocument: PropTypes.func,\n handleDeleteDocuments: PropTypes.func,\n handlePreview: PropTypes.func,\n clearDocumentErrors: PropTypes.func,\n uploadedDocuments: PropTypes.arrayOf(PropTypes.shape({})),\n context: PropTypes.string,\n};\n\nUploadTable.defaultProps = {\n shouldShowAllCheckbox: [],\n areAllDocumentsSelected: [],\n shouldShowBulkActions: [],\n handleSelectAllDocuments: () => {},\n handleBulkDelete: () => {},\n handleSelect: () => {},\n handleRenameDocument: () => {},\n handleDeleteDocuments: () => {},\n handlePreview: () => {},\n clearDocumentErrors: () => {},\n uploadedDocuments: [],\n context: \"\",\n};\n\nexport default UploadTable;\n","import React, { useCallback, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDropzone } from \"react-dropzone\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faFileAlt } from \"@fortawesome/free-regular-svg-icons\";\n\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextLink from \"@shared/v2/TextLink\";\n\nimport UploadTable from \"./UploadTable\";\n\nconst ModalUpload = ({\n shouldShowAllCheckbox,\n areAllDocumentsSelected,\n shouldShowBulkActions,\n\n handlePreview,\n clearDocumentErrors,\n\n handleSelectAllDocuments,\n handleBulkDelete,\n handleSelect,\n handleRenameDocument,\n handleDeleteDocuments,\n uploadedDocuments,\n context,\n isModalOpen,\n dispatchedThunkCb,\n onHideHandlr,\n}) => {\n const uploadIndex = useRef(0);\n\n const onDrop = useCallback(dispatchedThunkCb, []);\n\n const { inputRef, getRootProps, getInputProps, isDragActive } = useDropzone({ noClick: true, onDrop });\n\n const handleHide = () => {\n onHideHandlr();\n uploadIndex.current = 0;\n };\n\n const handleBrowseClick = () => {\n if (inputRef.current) {\n inputRef.current.click();\n }\n };\n\n return (\n \n \n\n \n

\n Admins and added viewers can preview and download the document(s).\n

\n\n \n \n\n \n\n

\n Drop your files here, or select from computer\n

\n

\n (File Size Limit 15MB)\n

\n \n Click to browse\n \n
\n\n {uploadedDocuments.length > 0 && (\n
\n \n
\n )}\n \n\n \n \n Done\n \n \n \n );\n};\n\nModalUpload.propTypes = {\n uploadedDocuments: PropTypes.arrayOf(PropTypes.shape({})),\n isModalOpen: PropTypes.bool,\n dispatchedThunkCb: PropTypes.func,\n onHideHandlr: PropTypes.func,\n shouldShowAllCheckbox: PropTypes.arrayOf(PropTypes.shape({})),\n areAllDocumentsSelected: PropTypes.arrayOf(PropTypes.shape({})),\n shouldShowBulkActions: PropTypes.arrayOf(PropTypes.shape({})),\n handleSelectAllDocuments: PropTypes.func,\n handleBulkDelete: PropTypes.func,\n handleSelect: PropTypes.func,\n handleRenameDocument: PropTypes.func,\n handleDeleteDocuments: PropTypes.func,\n handlePreview: PropTypes.func,\n clearDocumentErrors: PropTypes.func,\n context: PropTypes.string.isRequired,\n};\n\nModalUpload.defaultProps = {\n uploadedDocuments: [],\n isModalOpen: false,\n dispatchedThunkCb: () => {},\n onHideHandlr: () => {},\n shouldShowAllCheckbox: [],\n areAllDocumentsSelected: [],\n shouldShowBulkActions: [],\n handleSelectAllDocuments: () => {},\n handleBulkDelete: () => {},\n handleSelect: () => {},\n handlePreview: () => {},\n handleRenameDocument: () => {},\n handleDeleteDocuments: () => {},\n clearDocumentErrors: () => {},\n};\n\nexport default ModalUpload;\n","import React, { useMemo } from \"react\";\nimport { connect, useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\n\nimport ModalUpload from \"@shared/ModalUpload\";\nimport { uploadDocumentAsThunk, renameDocumentAsThunk } from \"../../Main/Docs/actions/thunks\";\nimport {\n toggleUploadModal,\n toggleDeleteModal,\n toggleDocumentsSelected,\n setDocumentIndex,\n renameDocumentError,\n} from \"../../Main/Docs/actions/creators\";\n\nconst DocModalUpload = ({ uploadedDocuments, isModalOpen }) => {\n const dispatch = useDispatch();\n\n const context = \"documents-upload\";\n\n const shouldShowAllCheckbox = useMemo(\n () => uploadedDocuments.some((doc) => !doc.isUploading),\n [uploadedDocuments],\n );\n\n const areAllDocumentsSelected = useMemo(\n () => uploadedDocuments.filter((doc) => !doc.isUploading).every((doc) => doc.isSelected),\n [uploadedDocuments],\n );\n\n const shouldShowBulkActions = useMemo(\n () => uploadedDocuments.some((doc) => doc.isSelected),\n [uploadedDocuments],\n );\n\n const handleSelectAllDocuments = (e) => {\n const documentIds = uploadedDocuments.filter((doc) => !doc.isUploading).map((doc) => doc.id);\n dispatch(toggleDocumentsSelected(context, documentIds, e.target.checked));\n };\n\n const handleBulkDelete = () => {\n const documentIds = uploadedDocuments.filter((doc) => doc.isSelected).map((doc) => doc.id);\n dispatch(toggleDeleteModal(documentIds, false));\n };\n\n const handleSelect = (isSelected, documentId) => {\n dispatch(toggleDocumentsSelected(context, [documentId], isSelected));\n };\n\n const handleRenameDocument = (documentId, newName) => {\n dispatch(renameDocumentAsThunk(context, documentId, newName));\n };\n\n const handleDeleteDocuments = (documentIds) => {\n dispatch(toggleDeleteModal(documentIds, false));\n };\n\n const handlePreview = (index) => {\n dispatch(setDocumentIndex(context, index));\n };\n\n const clearDocumentErrors = (documentId) => {\n dispatch(renameDocumentError(context, documentId, []));\n };\n\n return (\n {\n acceptedFiles.forEach((file, i) => {\n const data = {\n uploadKey: `upload-${i}`,\n fileName: file.name,\n isUploading: true,\n uploadErrors: [],\n renameErrors: [],\n };\n const formData = new FormData();\n formData.append(\"upload\", file);\n formData.append(\"cda_form\", false);\n dispatch(uploadDocumentAsThunk(data, formData, false));\n });\n }}\n onHideHandlr={() => dispatch(toggleUploadModal(false))}\n context={context}\n />\n );\n};\n\nconst mapStateToProps = (state) => ({\n uploadedDocuments: state.tdpDocumentsReducer.uploadedDocuments,\n isModalOpen: state.tdpDocumentsReducer.isUploadModalOpen,\n});\n\nexport default connect(mapStateToProps)(DocModalUpload);\n\nDocModalUpload.propTypes = {\n uploadedDocuments: PropTypes.arrayOf(\n PropTypes.shape({\n uploadKey: PropTypes.string.isRequired,\n fileName: PropTypes.string.isRequired,\n isUploading: PropTypes.bool.isRequired,\n uploadErrors: PropTypes.arrayOf(PropTypes.string).isRequired,\n renameErrors: PropTypes.arrayOf(PropTypes.string).isRequired,\n }),\n ).isRequired,\n isModalOpen: PropTypes.bool.isRequired,\n};\n","import React, { useMemo } from \"react\";\nimport { connect } from \"react-redux\";\nimport { arrayOf, bool, func, shape } from \"prop-types\";\n\nimport ModalUpload from \"@shared/ModalUpload\";\n\nimport {\n setDocumentIndex,\n toggleCDAUploadModal,\n toggleDeleteModal,\n toggleDocumentsSelected,\n} from \"../../Main/Docs/actions/creators\";\nimport { uploadDocumentAsThunk, renameDocumentAsThunk } from \"../../Main/Docs/actions/thunks\";\n\nconst CDAUploadModal = ({\n isCDAUploadModalOpen,\n onHideHandlr,\n onUploadDocumentAsThunk,\n onToggleDocumentsSelected,\n onToggleDeleteModal,\n onRenameDocumentAsThunk,\n onPreviewDocument,\n uploadedDocuments,\n}) => {\n const context = \"documents-upload\";\n\n const shouldShowAllCheckbox = useMemo(\n () => uploadedDocuments.some((doc) => !doc.isUploading),\n [uploadedDocuments],\n );\n\n const areAllDocumentsSelected = useMemo(\n () => uploadedDocuments.filter((doc) => !doc.isUploading).every((doc) => doc.isSelected),\n [uploadedDocuments],\n );\n\n const handleSelectAllDocuments = (e) => {\n const documentIds = uploadedDocuments.filter((doc) => !doc.isUploading).map((doc) => doc.id);\n\n onToggleDocumentsSelected(context, documentIds, e.target.checked);\n };\n\n const shouldShowBulkActions = useMemo(\n () => uploadedDocuments.some((doc) => doc.isSelected),\n [uploadedDocuments],\n );\n\n const handleBulkDelete = () => {\n const documentIds = uploadedDocuments.filter((doc) => doc.isSelected).map((doc) => doc.id);\n onToggleDeleteModal(documentIds, true);\n };\n\n const handleDeleteDocuments = (documentIds) => {\n onToggleDeleteModal(documentIds, true);\n };\n\n const handleRenameDocument = (documentId, newName) => {\n onRenameDocumentAsThunk(context, documentId, newName);\n };\n\n const handlePreview = (index) => {\n onPreviewDocument(context, index);\n };\n\n return (\n {\n acceptedFiles.forEach((file, i) => {\n const data = {\n uploadKey: `cda-upload-${i}`,\n fileName: file.name,\n isUploading: true,\n uploadErrors: [],\n renameErrors: [],\n };\n const formData = new FormData();\n formData.append(\"upload\", file);\n formData.append(\"cda_form\", true);\n onUploadDocumentAsThunk(data, formData, true);\n });\n }}\n />\n );\n};\n\nconst mapStateToProps = (state) => ({\n isCDAUploadModalOpen: state.tdpDocumentsReducer.isCDAUploadModalOpen,\n uploadedDocuments: state.tdpDocumentsReducer.uploadedDocuments,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n onHideHandlr: () => dispatch(toggleCDAUploadModal(false)),\n onUploadDocumentAsThunk: (data, formData, isFinancialsCDA) =>\n dispatch(uploadDocumentAsThunk(data, formData, isFinancialsCDA)),\n onToggleDocumentsSelected: (context, documentIds, isSelected) =>\n dispatch(toggleDocumentsSelected(context, documentIds, isSelected)),\n onToggleDeleteModal: (documentIds, isCDA) => dispatch(toggleDeleteModal(documentIds, isCDA)),\n onRenameDocumentAsThunk: (context, documentId, newName) =>\n dispatch(renameDocumentAsThunk(context, documentId, newName)),\n onPreviewDocument: (context, index) => dispatch(setDocumentIndex(context, index)),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(CDAUploadModal);\n\nCDAUploadModal.propTypes = {\n isCDAUploadModalOpen: bool.isRequired,\n onHideHandlr: func.isRequired,\n onUploadDocumentAsThunk: func.isRequired,\n onToggleDocumentsSelected: func.isRequired,\n onToggleDeleteModal: func.isRequired,\n onRenameDocumentAsThunk: func.isRequired,\n onPreviewDocument: func.isRequired,\n uploadedDocuments: arrayOf(shape({})),\n};\n\nCDAUploadModal.defaultProps = {\n uploadedDocuments: [],\n};\n","export const baseZ = \"tw-z-[1040]\";\nexport const containerZ = \"tw-z-[2000]\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst PreviewPlaceholder = ({ children }) => (\n \n {children}\n \n);\n\nPreviewPlaceholder.propTypes = {\n children: PropTypes.node,\n};\n\nPreviewPlaceholder.defaultProps = {\n children: null,\n};\n\nexport default PreviewPlaceholder;\n","import React, { useEffect, useMemo, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { debounce } from \"lodash\";\nimport { pdfjs, Document, Page } from \"react-pdf\";\nimport \"react-pdf/dist/Page/TextLayer.css\";\n\nimport PreviewPlaceholder from \"./PreviewPlaceholder\";\n\npdfjs.GlobalWorkerOptions.workerSrc = new URL(\n \"pdfjs-dist/build/pdf.worker.min.mjs\",\n import.meta.url,\n).toString();\n\nconst PreviewPdf = ({ url }) => {\n const pageRef = useRef(null);\n const [passwordError, setPasswordError] = useState(\"\");\n\n const [numPages, setNumPages] = useState(0);\n const [size, setSize] = useState({ width: 0, height: 0 });\n\n const pages = useMemo(() => new Array(numPages).fill(null).map((_, index) => index + 1), [numPages]);\n\n const handleLoadSuccess = ({ numPages: newNumPages }) => {\n setNumPages(newNumPages);\n };\n\n const handleResize = useMemo(\n () =>\n debounce(() => {\n if (!pageRef.current) {\n return;\n }\n\n const pageElement = pageRef.current.pageElement.current;\n const width = pageElement.clientWidth;\n const height = pageElement.clientHeight;\n setSize({ width, height });\n }, 100),\n [pageRef.current],\n );\n\n useEffect(() => {\n setNumPages(0);\n setSize({ width: 0, height: 0 });\n }, [url]);\n\n useEffect(() => {\n window.addEventListener(\"resize\", handleResize);\n return () => window.removeEventListener(\"resize\", handleResize);\n }, [handleResize]);\n\n if (passwordError) return {passwordError};\n return (\n Loading document...}\n error={Failed to load document.}\n onLoadSuccess={handleLoadSuccess}\n onPassword={() => setPasswordError(\"Failed to load, this document is password protected.\")}\n >\n {pages.map((page) => (\n \n ))}\n \n );\n};\n\nPreviewPdf.propTypes = {\n url: PropTypes.string.isRequired,\n};\n\nexport default PreviewPdf;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport PreviewPlaceholder from \"./PreviewPlaceholder\";\n\nconst PreviewImage = ({ url, name }) => {\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(false);\n\n useEffect(() => {\n setLoading(true);\n setError(false);\n }, [url]);\n\n useEffect(() => {\n const img = document.createElement(\"img\");\n img.onload = () => setLoading(false);\n img.onerror = () => setError(true);\n img.onabort = () => setError(true);\n img.src = url;\n }, [url]);\n\n if (error) {\n return Failed to load document.;\n }\n\n if (loading) {\n return Loading document...;\n }\n\n return (\n \n {name}\n \n );\n};\n\nPreviewImage.propTypes = {\n url: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n};\n\nexport default PreviewImage;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { ChevronLeft, ChevronRight } from \"../../../../../shared/v2/Icomoon\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { setDocumentIndex } from \"../../actions/creators\";\nimport { ContextPropType, DocumentPropType } from \"../../propTypes\";\nimport { baseZ, containerZ } from \"../utils\";\n\nimport PreviewPlaceholder from \"./PreviewPlaceholder\";\nimport PreviewPdf from \"./PreviewPdf\";\nimport PreviewImage from \"./PreviewImage\";\n\nconst PreviewNavigator = ({ context, document, index, numDocuments, dispatch }) => {\n const handleClose = () => {\n dispatch(setDocumentIndex(null, null));\n };\n\n const handleClick = (e) => {\n e.stopPropagation();\n };\n\n const goToPreviousDocument = () => {\n dispatch(setDocumentIndex(context, index - 1));\n };\n\n const goToNextDocument = () => {\n dispatch(setDocumentIndex(context, index + 1));\n };\n\n const preview = useMemo(() => {\n const type = document.fileType.toLowerCase();\n const url = document.expiringUrl;\n\n switch (type) {\n case \"pdf\":\n return ;\n\n case \"jpg\":\n case \"jpeg\":\n case \"png\":\n return ;\n\n default:\n return Cannot preview documents of type {document.fileType}.;\n }\n\n // Do not re-render document while it's being previewed\n }, [document.id]);\n\n return (\n <>\n \n\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n \n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n
\n \n \n \n
\n\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n \n {preview}\n \n\n {/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}\n
\n \n \n \n
\n \n \n );\n};\n\nPreviewNavigator.propTypes = {\n context: ContextPropType.isRequired,\n document: DocumentPropType.isRequired,\n index: PropTypes.number.isRequired,\n numDocuments: PropTypes.number.isRequired,\n dispatch: PropTypes.func,\n};\n\nPreviewNavigator.defaultProps = {\n dispatch: () => {},\n};\n\nexport default connect()(PreviewNavigator);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { Close, Download } from \"../../../../../shared/v2/Icomoon\";\nimport IconButton from \"../../../../../shared/v2/IconButton\";\nimport { setDocumentIndex } from \"../../actions/creators\";\nimport { DocumentPropType } from \"../../propTypes\";\n\nconst downloadDocument = (fileName, url) => {\n const anchor = document.createElement(\"a\");\n anchor.setAttribute(\"download\", fileName);\n anchor.setAttribute(\"href\", url);\n anchor.setAttribute(\"target\", \"_blank\");\n document.body.appendChild(anchor);\n anchor.click();\n document.body.removeChild(anchor);\n};\n\nconst PreviewDetailsHeader = ({ document, dispatch }) => {\n const handleDownload = () => {\n downloadDocument(document.fileName, document.expiringUrl);\n };\n\n const handleClose = () => {\n dispatch(setDocumentIndex(null, null));\n };\n\n return (\n
\n

Details

\n\n
\n \n \n \n\n \n \n \n
\n
\n );\n};\n\nPreviewDetailsHeader.propTypes = {\n document: DocumentPropType.isRequired,\n dispatch: PropTypes.func,\n};\n\nPreviewDetailsHeader.defaultProps = {\n dispatch: () => {},\n};\n\nexport default connect()(PreviewDetailsHeader);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport const PreviewDetailsDivider = ({ ...otherProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n
\n);\n\nexport const PreviewDetailsGroup = ({ children, ...otherProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n
\n {children}\n
\n);\n\nPreviewDetailsGroup.propTypes = {\n children: PropTypes.node,\n};\n\nPreviewDetailsGroup.defaultProps = {\n children: null,\n};\n\nconst gapSizeDictionary = {\n small: \"tw-gap-8px\",\n medium: \"tw-gap-12px\",\n large: \"tw-gap-16px\",\n};\n\nexport const PreviewDetail = ({ gapSize, children, ...otherProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n
\n {children}\n
\n);\n\nPreviewDetail.propTypes = {\n gapSize: PropTypes.oneOf([\"small\", \"medium\", \"large\"]),\n children: PropTypes.node,\n};\n\nPreviewDetail.defaultProps = {\n gapSize: \"small\",\n children: null,\n};\n\nexport const PreviewDetailTitle = ({ children, ...otherProps }) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n

\n {children}\n

\n);\n\nPreviewDetailTitle.propTypes = {\n children: PropTypes.node,\n};\n\nPreviewDetailTitle.defaultProps = {\n children: null,\n};\n\nexport const PreviewDetailText = ({ shouldTruncate, children, ...otherProps }) => (\n \n {children}\n

\n);\n\nPreviewDetailText.propTypes = {\n shouldTruncate: PropTypes.bool,\n children: PropTypes.node,\n};\n\nPreviewDetailText.defaultProps = {\n shouldTruncate: true,\n children: null,\n};\n","import React from \"react\";\nimport moment from \"moment\";\n\nimport Avatar from \"../../../../../shared/v2/Avatar\";\nimport { DocumentPropType } from \"../../propTypes\";\n\nimport { PreviewDetailsDivider, PreviewDetailsGroup, PreviewDetail, PreviewDetailTitle } from \"./common\";\n\nconst PreviewUploadedBy = ({ document }) => (\n <>\n \n\n \n \n Uploaded By\n\n
\n
\n \n {document.uploadedByName}\n \n\n
\n \n {document.uploadedByName}\n

\n\n \n {document.uploadedByRole}\n

\n
\n
\n\n \n {moment(document.uploadedAt).format(\"MM/DD/YYYY hh:mm A\")}\n

\n
\n
\n
\n \n);\n\nPreviewUploadedBy.propTypes = {\n document: DocumentPropType.isRequired,\n};\n\nexport default PreviewUploadedBy;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport InlineEditingInput from \"../../../../../shared/v2/InlineEditingInput\";\nimport { renameDocumentError } from \"../../actions/creators\";\nimport { renameDocumentAsThunk } from \"../../actions/thunks\";\nimport { DocumentPropType } from \"../../propTypes\";\nimport { containerZ } from \"../utils\";\n\nimport PreviewDetailsHeader from \"./PreviewDetailsHeader\";\nimport PreviewUploadedBy from \"./PreviewUploadedBy\";\nimport {\n PreviewDetailsDivider,\n PreviewDetailsGroup,\n PreviewDetail,\n PreviewDetailTitle,\n PreviewDetailText,\n} from \"./common\";\n\nconst PreviewDetails = ({ document, renameErrors, dispatch }) => {\n const context = \"documents-preview\";\n\n const [editingName, setEditingName] = useState(false);\n const [renameError, setRenameError] = useState(\"\");\n\n // When a rename error happens, the input remains open,\n // and if the user continues to press the Enter key or click outside it without changing the name,\n // it will keep making the same rename request over and over again,\n // so we need this to make sure that a rename request only happens if the name has actually changed\n const [name, setName] = useState(document.nakedName);\n\n const handleNameInteract = () => {\n setEditingName(true);\n };\n\n const handleNameCancel = () => {\n setEditingName(false);\n };\n\n const handleNameChange = (newName) => {\n const newNameTrimmed = newName.trim();\n\n if (!newNameTrimmed || newNameTrimmed === document.nakedName) {\n if (renameError) {\n // Clear rename errors when the name is empty or when it hasn't changed,\n // because in those cases a rename request is not made and the name remains the same\n dispatch(renameDocumentError(context, document.id, []));\n } else {\n setEditingName(false);\n }\n return;\n }\n\n // Only send a rename request if the name has actually changed\n if (newName === name) {\n return;\n }\n\n const newNameComplete = `${newName}${document.fileExtension}`;\n dispatch(renameDocumentAsThunk(context, document.id, newNameComplete));\n\n setName(newName);\n };\n\n useEffect(() => {\n setEditingName(renameErrors.length > 0);\n setRenameError(renameErrors.join(\" \"));\n }, [renameErrors]);\n\n return (\n \n \n\n \n\n
\n \n \n Name\n {document.canRename ? (\n \n ) : (\n {document.nakedName}\n )}\n \n\n \n Type\n {document.fileType}\n \n\n \n Size\n \n {document.humanReadableSize}\n \n \n \n\n \n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n renameErrors: state.tdpDocumentsReducer.preview.renameErrors,\n});\n\nPreviewDetails.propTypes = {\n document: DocumentPropType.isRequired,\n renameErrors: PropTypes.arrayOf(PropTypes.string),\n dispatch: PropTypes.func,\n};\n\nPreviewDetails.defaultProps = {\n renameErrors: [],\n dispatch: () => {},\n};\n\nexport default connect(mapStateToProps)(PreviewDetails);\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport { Overlay } from \"../../../../shared/v1/Overlay\";\nimport { setDocumentIndex } from \"../actions/creators\";\nimport { getAllDocumentViewersAsThunk } from \"../actions/thunks\";\nimport { ContextPropType, DocumentPropType } from \"../propTypes\";\n\nimport PreviewNavigator from \"./PreviewNavigator\";\nimport PreviewDetails from \"./PreviewDetails\";\nimport { containerZ } from \"./utils\";\n\nconst Preview = ({\n documents,\n CDAdocuments,\n sidebarDocuments,\n currentDocumentContext,\n currentDocumentIndex,\n dispatch,\n}) => {\n const [isOpen, setOpen] = useState(false);\n\n const iff = (condition, then, otherwise) => (condition ? then : otherwise);\n\n const relevantDocuments = iff(\n currentDocumentContext === \"documents-table\",\n documents,\n iff(currentDocumentContext === \"CDA-document\", CDAdocuments, sidebarDocuments),\n );\n\n const document = useMemo(() => {\n if (typeof currentDocumentIndex === \"number\") {\n return relevantDocuments[currentDocumentIndex] || null;\n }\n\n return null;\n }, [relevantDocuments, currentDocumentIndex]);\n\n const handleKeyDown = (e) => {\n switch (e.key) {\n case \"Esc\":\n case \"Escape\":\n dispatch(setDocumentIndex(null, null));\n break;\n\n default:\n break;\n }\n };\n\n useEffect(() => {\n if (document && document.viewers.length === 0) {\n // Fetch the document viewers to get the uploader's role,\n // since this information is not available in the document\n dispatch(getAllDocumentViewersAsThunk(document.id));\n }\n }, [document]);\n\n useEffect(() => {\n setOpen(!!document);\n }, [document]);\n\n useEffect(() => {\n // Hide body scroll while preview is open because it has its own scroll\n window.document.body.classList.toggle(\"tw-overflow-hidden\", isOpen);\n }, [isOpen]);\n\n useEffect(() => {\n window.addEventListener(\"keydown\", handleKeyDown);\n return () => window.removeEventListener(\"keydown\", handleKeyDown);\n }, [isOpen]);\n\n return (\n \n
\n {document && (\n <>\n \n \n \n )}\n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n documents: state.tdpDocumentsReducer.documents,\n CDAdocuments: state.tdpDocumentsReducer.CDAdocuments,\n sidebarDocuments: state.tdpDocumentsReducer.sidebarDocuments,\n currentDocumentContext: state.tdpDocumentsReducer.preview.currentDocumentContext,\n currentDocumentIndex: state.tdpDocumentsReducer.preview.currentDocumentIndex,\n});\n\nPreview.propTypes = {\n documents: PropTypes.arrayOf(DocumentPropType),\n CDAdocuments: PropTypes.arrayOf(DocumentPropType),\n sidebarDocuments: PropTypes.arrayOf(DocumentPropType),\n currentDocumentContext: ContextPropType,\n currentDocumentIndex: PropTypes.number,\n dispatch: PropTypes.func,\n};\n\nPreview.defaultProps = {\n documents: [],\n CDAdocuments: [],\n sidebarDocuments: [],\n currentDocumentContext: null,\n currentDocumentIndex: null,\n dispatch: () => {},\n};\n\nexport default connect(mapStateToProps)(Preview);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport { func, bool, string } from \"prop-types\";\nimport { closeModalAsThunk, openAddressModalAsThunk } from \"../../../Header/actions/thunks\";\nimport ImportDetailModal from \"./ImportDetailModal\";\n\nconst ImportModal = ({\n isImportModalOpen,\n closeModalAsThunk,\n status,\n streetAddress,\n setToggleModal,\n preStatus,\n}) => {\n const closeModal = () => {\n closeModalAsThunk(preStatus);\n };\n\n const handleCloseModal = () => {\n closeModal();\n if (!streetAddress) {\n setToggleModal(true, status, preStatus);\n }\n };\n\n return (\n \n );\n};\n\nImportModal.propTypes = {\n isImportModalOpen: bool,\n closeModalAsThunk: func,\n setToggleModal: func,\n status: string.isRequired,\n streetAddress: string,\n preStatus: string,\n};\n\nImportModal.defaultProps = {\n isImportModalOpen: false,\n closeModalAsThunk: () => {},\n setToggleModal: () => {},\n streetAddress: null,\n preStatus: null,\n};\n\nconst mapStateToProps = (state) => ({\n isImportModalOpen: state.tdpDetailsReducer.isImportModalOpen,\n preStatus: state.tdpDetailsReducer.preStatus,\n status: state.tdpDetailsReducer.transactionDetails.status,\n streetAddress: state.tdpDetailsReducer.propertyDetails?.street_address,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n closeModalAsThunk: (preStatus) => dispatch(closeModalAsThunk(preStatus)),\n setToggleModal: (isOpen, updatedStatus, preStatus) =>\n dispatch(openAddressModalAsThunk(isOpen, updatedStatus, preStatus)),\n});\nexport default connect(mapStateToProps, mapDispatchToProps)(ImportModal);\n","import React from \"react\";\n\nimport Header from \"./Header\";\nimport Main from \"./Main\";\nimport SideLeft from \"./SideLeft\";\nimport SideRight from \"./SideRight\";\nimport TransactionsNavigation from \"./TransactionsNavigation\";\nimport ThumbnailSelectorModal from \"./UI/Modals/ThumbnailSelector\";\nimport TDPPipelineStatusModal from \"./shared/TDPPipelineStatusModal\";\nimport DocModalUpload from \"./shared/DocModalUpload\";\nimport CDAUploadModal from \"./shared/CDAUploadModal\";\nimport Preview from \"./Main/Docs/Preview\";\nimport ImportModal from \"./Main/Details/ImportModal\";\n\nconst App = () => (\n <>\n \n \n \n
\n
\n \n
\n
\n \n
\n \n
\n \n \n \n
\n
\n \n);\n\nexport default App;\n","/* eslint-disable camelcase */\nimport React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport { BrowserRouter } from \"react-router-dom\";\n\nimport App from \"./App\";\n\nconst TDPIndex = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n \n \n );\n};\n\nexport default TDPIndex;\n","import { useState, useEffect } from 'react';\n\nexport const useStartHandlr = (saveClosedVolume, listingData, closedVolume) => {\n const [startButtonDisabled, setStartButtonDisabled] = useState(false);\n\n const startButtonHandlr = () => {\n setStartButtonDisabled(true);\n saveClosedVolume(listingData, closedVolume, setStartButtonDisabled);\n }\n\n return { startButtonHandlr, startButtonDisabled } \n}\n\nexport const useInit = (listingData, setIsShowTrDetail) => {\n useEffect(() => {\n if (!!listingData.transaction_income) {\n if (!!listingData.transaction_income.closed_volume) {\n setIsShowTrDetail(true);\n }\n }\n }, [setIsShowTrDetail, listingData])\n}\n","import React from 'react';\nimport { Row, Col } from '../../../../shared/v1';\nimport { useStartHandlr, useInit } from './customHooks';\nimport TransactionInput from '../../shared/TransactionInput';\n\nexport const ClosedVolumeForm = props => {\n const {\n listingData,\n closedVolume,\n setClosedVolume,\n saveClosedVolume,\n setIsShowTrDetail\n } = props;\n\n useInit(listingData, setIsShowTrDetail);\n\n const { startButtonHandlr, startButtonDisabled } = useStartHandlr(saveClosedVolume, listingData, closedVolume);\n\n return (\n
\n

Enter the expected closed price and hit Start.

\n\n
\n
\n \n \n {\n setClosedVolume(e.target.value);\n }} />\n \n \n\n \n
\n
\n
\n );\n}\n","export const listingsTransactionRemoveSubKey = listingData => {\n const { transaction_income: {\n additionalIncome\n }} = listingData;\n\n for(let add of additionalIncome){\n delete add.subKey;\n }\n}\n","import axios from \"axios\";\nimport { listingsTransactionRemoveSubKey } from \"./apiAdapter\";\nimport { tryCatchHandlr } from \"../../shared/Utilities\";\n\nexport const setTransactionExpenseList = (transactionExpenseList) => {\n return {\n type: \"SET_TRANSACTION_EXPENSE_LIST\",\n transactionExpenseList,\n };\n};\n\nexport const setIsShowTr = (data) => {\n return {\n type: \"SET_IS_SHOW_TR_DETAIL\",\n data,\n };\n};\n\nexport const setIsEditTr = (data) => {\n return {\n type: \"SET_IS_EDIT_TR_DETAIL\",\n data,\n };\n};\n\nexport const setIsShowTrDetail = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_IS_SHOW_TR_DETAIL\",\n data,\n });\n };\n};\n\nexport const setIsEditTrDetail = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_IS_EDIT_TR_DETAIL\",\n data,\n });\n };\n};\n\nexport const setIsOpenAddAgentModal = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_IS_OPEN_ADD_AGENT_MODAL\",\n data,\n });\n };\n};\n\nexport const setIsOpenNewIncomeModal = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_IS_OPEN_NEW_INCOME_MODAL\",\n data,\n });\n };\n};\n\nexport const setIsExpenseModal = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_IS_EXPENSE_MODAL\",\n data,\n });\n };\n};\n\nexport const setAlert = (data) => {\n return {\n type: \"SET_ALERT\",\n data,\n };\n};\n\nexport const setDangerAlert = (data) => {\n return {\n type: \"SET_DANGER_ALERT\",\n data,\n };\n};\n\nexport const setFinancialData = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_FINANCIAL_DATA\",\n data,\n });\n };\n};\n\nexport const setFinancial = (data) => {\n return {\n type: \"SET_FINANCIAL_DATA\",\n data,\n };\n};\n\nexport const setClosedVolume = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_CLOSED_VOLUME\",\n data,\n });\n };\n};\n\nexport const setModalIndex = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_MODAL_INDEX\",\n data,\n });\n };\n};\n\nexport const setErrData = (err) => {\n return {\n type: \"ERR_DATA\",\n errors: err.response.data.errors,\n };\n};\n\nexport const setAgentList = (data) => {\n return {\n type: \"SET_AGENT_LIST\",\n data,\n };\n};\n\nexport const setIsCollaboratorExpenseModalOpen = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_IS_COLLABORATOR_EXPENSE_MODAL_OPEN\",\n data,\n });\n };\n};\n\nexport const setCollaboratorModalIndex = (data) => {\n return (dispatch) => {\n dispatch({\n type: \"SET_COLLABORATOR_MODAL_INDEX\",\n data,\n });\n };\n};\n\nexport const saveClosedVolume = (listingData, closedVolume, setStartButtonDisabled) => {\n return async (dispatch) => {\n try {\n await axios\n .post(\"/listings/\" + listingData.listing_id + \"/financials\", {\n closed_volume: closedVolume,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n dispatch(setAlert(true));\n dispatch(setFinancial(res.data));\n dispatch(setIsShowTr(true));\n setTimeout(function () {\n dispatch(setAlert(false));\n }, 2500);\n });\n } catch (err) {\n setStartButtonDisabled(false);\n dispatch(setErrData(err));\n dispatch(setDangerAlert(true));\n }\n };\n};\n\nexport const saveFinancialData = (listingData) => {\n return async (dispatch) => {\n listingsTransactionRemoveSubKey(listingData);\n const req = axios.patch(\"/listings/\" + listingData.listing_id + \"/financials\", {\n ...listingData,\n authenticity_token: ReactOnRails.authenticityToken(),\n });\n const [res, err] = await tryCatchHandlr(req);\n\n if (err) {\n dispatch(setErrData(err));\n dispatch(setDangerAlert(true));\n } else {\n dispatch(setAlert(true));\n dispatch(setIsShowTr(true));\n dispatch(setIsEditTr(false));\n const { data } = res;\n dispatch(setFinancial(data));\n setTimeout(function () {\n dispatch(setAlert(false));\n }, 2500);\n }\n window.scrollTo(0, 0);\n };\n};\n\nexport const getAgentList = (listingId) => {\n return async (dispatch) => {\n try {\n await axios\n .get(\"/listings/\" + listingId + \"/financials/selectable_agents\", {\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((res) => {\n res.data.map((obj) => {\n obj[\"value\"] = obj.id;\n obj[\"label\"] = obj.name;\n });\n dispatch(setAgentList(res.data));\n });\n } catch (err) {\n dispatch(setErrData(err));\n dispatch(setDangerAlert(true));\n }\n };\n};\n\nexport const removeIncome = (incomeId) => {\n return {\n type: \"REMOVE_INCOME\",\n data: incomeId,\n };\n};\n\nexport const removeCollaboratorExpense = (expenseId) => {\n return {\n type: \"REMOVE_COLLABORATOR_EXPENSE\",\n data: expenseId,\n };\n};\n\nexport const calculate_amount = (previous_line_total, amount, percentage) => {\n if (percentage) {\n let clcAmt = (Number(amount) / 100) * Number(previous_line_total);\n return twoDecimalPlaces(clcAmt);\n } else {\n return twoDecimalPlaces(amount);\n }\n};\n\nexport const recalculate_transaction_gci_and_team_member_net_incomes = (listingData) => {\n return async (dispatch) => {\n calculate_transaction_gci(listingData);\n let owner = listingData.team_member_incomes.incomes.find((agent) => {\n return agent.owner === true;\n });\n\n let non_owners_with_flat_gci = listingData.team_member_incomes.incomes.filter((agent) => {\n return agent.owner === false && agent.agent_gci_percentage === false;\n });\n\n let non_owners_percent_gci = listingData.team_member_incomes.incomes.filter((agent) => {\n return agent.owner === false && agent.agent_gci_percentage === true;\n });\n\n calculate_team_member_net_income(owner, listingData);\n non_owners_with_flat_gci.forEach((agent) => {\n calculate_team_member_net_income(agent, listingData);\n });\n non_owners_percent_gci.forEach((agent) => {\n calculate_team_member_net_income(agent, listingData);\n });\n\n dispatch(setFinancial(listingData));\n };\n};\n\nexport const recalculate_all_team_member_net_incomes = (income, listingData) => {\n return async (dispatch) => {\n if (!income.agent_gci_percentage) {\n //updating flat gci\n calculate_team_member_net_income(income, listingData);\n listingData.team_member_incomes.incomes.forEach((agent) => {\n if (agent.agent_gci_percentage && !agent.owner) {\n calculate_team_member_net_income(agent, listingData);\n }\n });\n } else {\n let flatAgents = listingData.team_member_incomes.incomes.filter(\n (agent) => agent.agent_gci_percentage === false,\n );\n if (income.owner && flatAgents.length > 0) {\n calculate_team_member_net_income(income, listingData);\n listingData.team_member_incomes.incomes.forEach((agent) => {\n if (agent.agent_gci_percentage && !agent.owner) {\n calculate_team_member_net_income(agent, listingData);\n }\n });\n } else {\n calculate_team_member_net_income(income, listingData);\n }\n }\n\n dispatch(setFinancial(listingData));\n };\n};\n\nexport const recalculate_team_member_net_income = (income, listingData) => {\n return async (dispatch) => {\n calculate_team_member_net_income(income, listingData);\n dispatch(setFinancial(listingData));\n };\n};\n\nexport const calculate_transaction_gci = (listingData) => {\n let closedVolume = listingData.transaction_income.closed_volume;\n let commission = listingData.transaction_income.commission;\n let commissionPercentage = listingData.transaction_income.commission_percentage;\n let grossIncome = calculate_amount(closedVolume, commission, commissionPercentage);\n let additionals = listingData.transaction_income.additionalIncome;\n listingData.transaction_income.gross_income = grossIncome;\n let nonDeletedAdditionals = additionals.filter((additional) => additional._destroy !== \"1\");\n nonDeletedAdditionals.forEach((element, index) => {\n if (element.position === 1) {\n let additional_amount = calculate_amount(grossIncome, element.value, element.percentage);\n if (element.type === \"revenue\") {\n element.revenue_amount = additional_amount;\n } else if (element.type === \"expense\") {\n element.expense_amount = additional_amount;\n additional_amount *= -1;\n }\n element.line_total = twoDecimalPlaces(Number(grossIncome) + Number(additional_amount));\n } else {\n let previous_line_total = nonDeletedAdditionals[index - 1].line_total;\n let additional_amount = calculate_amount(previous_line_total, element.value, element.percentage);\n if (element.type === \"revenue\") {\n element.revenue_amount = additional_amount;\n } else if (element.type === \"expense\") {\n element.expense_amount = additional_amount;\n additional_amount *= -1;\n }\n element.line_total = twoDecimalPlaces(Number(previous_line_total) + Number(additional_amount));\n }\n });\n\n listingData.transaction_income.custom_transaction_expenses_attributes = [];\n listingData.transaction_income.custom_transaction_revenues_attributes = [];\n additionals.forEach((obj) => {\n if (obj.type === \"expense\") {\n listingData.transaction_income.custom_transaction_expenses_attributes.push(obj);\n }\n if (obj.type === \"revenue\") {\n listingData.transaction_income.custom_transaction_revenues_attributes.push(obj);\n }\n });\n if (nonDeletedAdditionals.length > 0) {\n listingData.transaction_income.gci = twoDecimalPlaces(\n nonDeletedAdditionals[nonDeletedAdditionals.length - 1].line_total,\n );\n } else {\n listingData.transaction_income.gci = grossIncome;\n }\n};\n\nexport const gross_income = (agent, listingData) => {\n if (!agent.agent_gci_percentage) {\n return agent.agent_gci;\n } else {\n if (agent.owner) {\n return twoDecimalPlaces((Number(agent.agent_gci) / 100) * Number(listingData.transaction_income.gci));\n } else {\n let non_owners_with_flat_gci = listingData.team_member_incomes.incomes.filter(\n (obj) => obj.agent_gci_percentage === false,\n );\n let ownerGrossIncome = 0;\n listingData.team_member_incomes.incomes.map((obj) => {\n if (obj.owner) {\n ownerGrossIncome += Number(obj.gross_income);\n }\n });\n let sumOfAgentsGrossIncomeWithFlatGci = 0;\n listingData.team_member_incomes.incomes.map((obj) => {\n if (!obj.agent_gci_percentage) {\n sumOfAgentsGrossIncomeWithFlatGci += Number(obj.gross_income);\n }\n });\n if (non_owners_with_flat_gci.length > 0 && sumOfAgentsGrossIncomeWithFlatGci > 0) {\n let owner_and_flat_incomes = ownerGrossIncome + sumOfAgentsGrossIncomeWithFlatGci;\n let transaction_gci_less_owner_and_flat_incomes =\n Number(listingData.transaction_income.gci) - Number(owner_and_flat_incomes);\n return twoDecimalPlaces(\n (Number(agent.agent_gci) / 100) * transaction_gci_less_owner_and_flat_incomes,\n );\n } else {\n return twoDecimalPlaces((Number(agent.agent_gci) / 100) * Number(listingData.transaction_income.gci));\n }\n }\n }\n};\n\nexport const calculate_team_member_net_income = (agent, listingData) => {\n let agentPosition = listingData.team_member_incomes.incomes.findIndex((obj) => obj.id === agent.id);\n let gross_inc = gross_income(agent, listingData);\n let custom_expenses = agent.custom_team_member_expenses_attributes;\n agent.gross_income = gross_inc;\n let brokerage_deduction = calculate_amount(\n gross_inc,\n agent.brokerage_split,\n agent.brokerage_split_percentage,\n );\n agent.brokerage_split_amount = brokerage_deduction;\n agent.brokerage_split_line_total = twoDecimalPlaces(gross_inc - brokerage_deduction);\n\n let royalty_deduction = calculate_amount(gross_inc, agent.royalty, agent.royalty_percentage);\n agent.royalty_amount = royalty_deduction;\n agent.royalty_line_total = twoDecimalPlaces(agent.brokerage_split_line_total - royalty_deduction);\n let nonDeletedCustomExpenses = custom_expenses.filter((expense) => expense._destroy !== \"1\");\n nonDeletedCustomExpenses.forEach((element, index) => {\n if (element.position === 1) {\n let custom_deduction = calculate_amount(agent.royalty_line_total, element.value, element.percentage);\n element.expense_amount = custom_deduction;\n element.line_total = twoDecimalPlaces(agent.royalty_line_total - custom_deduction);\n } else {\n let previous_line_total = nonDeletedCustomExpenses[index - 1].line_total;\n let custom_deduction = calculate_amount(\n element.percentage ? agent.royalty_line_total : previous_line_total,\n element.value,\n element.percentage,\n );\n element.expense_amount = custom_deduction;\n element.line_total = twoDecimalPlaces(previous_line_total - custom_deduction);\n }\n });\n\n if (nonDeletedCustomExpenses.length > 0) {\n agent.net_income = twoDecimalPlaces(\n nonDeletedCustomExpenses[nonDeletedCustomExpenses.length - 1].line_total,\n );\n } else {\n agent.net_income = agent.royalty_line_total;\n }\n listingData.team_member_incomes.incomes[agentPosition] = agent;\n};\n\nconst twoDecimalPlaces = (value) => {\n let numAsString = value.toString();\n const indexOfDecimalPoint = numAsString.indexOf(\".\");\n\n if (indexOfDecimalPoint < 0) {\n return value;\n } else {\n numAsString = numAsString.slice(0, indexOfDecimalPoint + 3);\n return Number(numAsString);\n }\n};\n\nexport const recalculateCollaboratorExpenses = (expense, listingData) => {\n return async (dispatch) => {\n calculateCollaboratorExpenses(expense, listingData);\n dispatch(setFinancial(listingData));\n };\n};\n\nconst calculateCollaboratorExpenses = (expense, listingData) => {\n let customExpense = expense.custom_collaborator_expenses_attributes[0];\n\n customExpense.expense_amount = Number(customExpense.value);\n customExpense.line_total = Number(customExpense.value);\n expense.total_expense = twoDecimalPlaces(customExpense.value);\n};\n","import React from \"react\";\nimport { Col, Row } from 'react-bootstrap';\nimport { formatExpense } from '../shared/FinancialViewHelpers';\nimport format from \"../../../shared/formatters\";\n\nconst TeamMemberSplit = ({ income }) => (\n
\n \n \n \n {income.brokerage_split_amount &&\n {formatExpense(format.currency(income.brokerage_split_amount))}\n }\n \n \n \n \n \n \n \n \n \n {income.brokerage_split_line_total &&\n {format.currency(income.brokerage_split_line_total)}\n }\n \n \n \n \n \n {income.royalty_amount &&\n {formatExpense(format.currency(income.royalty_amount))}\n }\n \n \n \n \n \n \n \n \n \n {income.royalty_line_total &&\n {format.currency(income.royalty_line_total)}\n }\n \n \n
\n)\n\nexport default TeamMemberSplit;\n","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { formatExpense } from \"../shared/FinancialViewHelpers\";\nimport format from \"../../../shared/formatters\";\n\nconst TeamMemberExpense = ({ additionalExpense }) => {\n return (\n
\n \n \n \n {additionalExpense.expense_amount && (\n {formatExpense(format.currency(additionalExpense.expense_amount))}\n )}\n \n \n \n \n \n \n {format.currency(additionalExpense.line_total)}\n \n \n
\n );\n};\n\nexport default TeamMemberExpense;\n","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { formatValue, formatExpense } from \"../shared/FinancialViewHelpers\";\nimport format from '../../../shared/formatters';\nimport { connect } from \"react-redux\";\nimport { setFinancial } from \"../../actions/transaction\";\nimport axios from \"axios\";\nimport TeamMemberSplit from \"./TeamMemberSplit\";\nimport TeamMemberExpense from \"./TeamMemberExpense\";\n\nconst mapDispatchToProps = (dispatch) => ({\n setFinancial: (listingData) => dispatch(setFinancial(listingData)),\n});\n\nconst TransactionFinancialDetail = connect(\n null,\n mapDispatchToProps,\n)((props) => {\n const {\n listingData,\n setIsEditTrDetail,\n setIsShowTrDetail,\n removeIncome,\n removeCollaboratorExpense,\n setFinancial,\n } = props;\n\n const onRemoveIncome = (incomeId) => {\n removeIncome(incomeId);\n const path = `/listings/${listingData.listing_id}/team_member_incomes/${incomeId}`;\n axios.delete(path, { params: { authenticity_token: ReactOnRails.authenticityToken() } });\n };\n\n const onRemoveCollaboratorExpense = (expenseId) => {\n removeCollaboratorExpense(expenseId);\n const path = `/listings/${listingData.listing_id}/collaborator_expenses/${expenseId}`;\n axios.delete(path, { params: { authenticity_token: ReactOnRails.authenticityToken() } });\n };\n\n return (\n
\n
\n
\n {\n setIsEditTrDetail(true);\n setIsShowTrDetail(false);\n }}\n >\n EDIT\n \n
\n
\n
\n
\n
\n

Transactions Details

\n
\n
\n \n \n \n {format.currency(listingData.transaction_income.closed_volume)}\n \n \n \n \n \n \n {formatValue(\n listingData.transaction_income.commission,\n listingData.transaction_income.commission_percentage,\n )}\n \n \n \n \n {format.currency(listingData.transaction_income.gross_income)}\n \n \n
\n
\n {listingData.transaction_income.additionalIncome.length > 0 && (\n
\n
\n

Expenses & Income

\n
\n {listingData.transaction_income.additionalIncome.map(\n (additional) =>\n !additional._destroy && (\n
\n \n \n \n {additional.expense_amount && (\n {formatExpense(format.currency(additional.expense_amount))}\n )}\n {additional.revenue_amount && (\n {format.currency(additional.revenue_amount)}\n )}\n \n \n \n \n \n \n {format.currency(additional.line_total)}\n \n \n
\n ),\n )}\n
\n )}\n
\n
\n

Transaction GCI

\n
\n
\n

{format.currency(listingData.transaction_income.gci)}

\n
\n
\n
\n {listingData.team_member_incomes.incomes.map((income) => {\n const sortedCollection = [income]\n .concat(income.custom_team_member_expenses_attributes)\n .sort((el1, el2) => el1.position - el2.position);\n return (\n
\n

\n {income.name ? income.name : \"\"}\n {income.owner && (Account Owner)}\n {income.agent_gci === 0 && (\n {\n onRemoveIncome(income.id);\n }}\n />\n )}\n

\n
\n
\n
\n

Income

\n
\n
\n \n \n \n {formatValue(income.agent_gci, income.agent_gci_percentage)}\n \n \n \n \n \n {income.agent_gci_units ? income.agent_gci_units : \"\"}\n \n \n \n {format.currency(income.gross_income)}\n \n \n
\n
\n
\n
\n

Expenses

\n
\n {sortedCollection.map((element, index) =>\n element.user_id ? (\n \n ) : (\n \n ),\n )}\n
\n
\n
\n
\n

Net Income

\n
\n
\n

{format.currency(income.net_income)}

\n
\n
\n
\n );\n })}\n {listingData.collaborator_expenses?.expenses?.map((collaborator) => (\n
\n

\n {collaborator.name}\n {collaborator.total_expense === 0 && (\n {\n onRemoveCollaboratorExpense(collaborator.id);\n }}\n />\n )}\n

\n
\n
\n
\n

Expenses

\n
\n {collaborator.custom_collaborator_expenses_attributes.map((expense) => (\n
\n \n \n \n {expense.expense_amount && (\n {formatExpense(formatValue(expense.expense_amount, false))}\n )}\n \n \n \n \n \n \n {formatValue(expense.line_total, false)}\n \n \n
\n ))}\n
\n
\n
\n
\n

Total

\n
\n
\n

{formatValue(collaborator.total_expense, false)}

\n
\n
\n
\n ))}\n
\n
\n {\n setIsEditTrDetail(true);\n setIsShowTrDetail(false);\n }}\n >\n EDIT\n \n
\n
\n
\n );\n});\n\nexport default TransactionFinancialDetail;\n","import React from 'react';\nimport { Button, FormGroup, Col, Form, Modal, Row } from 'react-bootstrap';\nimport { Dropdown } from '../../../shared/v1';\nimport Error from '../../../shared/Error';\n\nconst defaultAgent = {\n label: '',\n value: '',\n id: '',\n name: '',\n isNotValid: false,\n errMsg: ''\n};\n\nclass AddAgentModal extends React.Component {\n constructor(props, context) {\n super(props, context)\n\n this.state = {\n selectedAgents: [defaultAgent]\n }\n }\n\n onHideAgent = () => {\n this.props.setIsOpenAddAgentModal(false);\n };\n\n addAnother = () => {\n this.state.selectedAgents.push(defaultAgent);\n this.setState({ selectedAgents: this.state.selectedAgents });\n };\n\n saveAgentData = () => {\n let selectedAgents = this.state.selectedAgents.filter(agent => agent.id !== '');\n if (this.state.selectedAgents.length !== selectedAgents.length) {\n this.setState({\n isNotValid: true,\n errMsg: 'Please select an agent'\n });\n } else {\n const { agent_expense_types } = this.props.listingData;\n\n selectedAgents.forEach(agentObj => {\n const customTeamMemberExpenses = agentObj.custom_team_member_expenses_attributes.map(expense =>{\n const expenseTypeName = Object.keys(agent_expense_types).find(key => agent_expense_types[key] === expense.agent_expense_type_id);\n return ({...expense, name: expense.name !== null ? expense.name : expenseTypeName })\n });\n\n this.props.listingData.team_member_incomes.incomes.push({\n user_id: agentObj.id,\n name: agentObj.name,\n custom_team_member_expenses_attributes: customTeamMemberExpenses,\n agent_gci: 0,\n agent_gci_units: 0,\n agent_gci_percentage: false,\n gross_income: 0,\n brokerage_split_amount: 0,\n brokerage_split_line_total: 0,\n brokerage_split: agentObj.brokerage_split,\n brokerage_split_percentage: agentObj.brokerage_split_percentage,\n royalty_amount: 0,\n royalty_line_total: 0,\n royalty: agentObj.royalty,\n royalty_percentage: agentObj.royalty_percentage,\n net_income: 0,\n });\n });\n this.props.setFinancialData(this.props.listingData);\n this.props.setIsOpenAddAgentModal(false);\n }\n };\n\n addAgentClassName = () => {\n const foundObj = this.state.selectedAgents.find(obj => obj.name === '');\n if (foundObj) {\n return 'add_agent_link disabled';\n } else {\n return 'add_agent_link';\n }\n }\n\n removeAgent = (index) => {\n this.state.selectedAgents.splice(index, 1);\n this.setState({ selectedAgents: this.state.selectedAgents });\n }\n\n render() {\n const {\n isOpenAddAgentModal,\n agentList\n } = this.props;\n\n return (\n \n \n \n Add Agent To Transaction Financials\n \n \n\n \n
\n {this.state.isNotValid && }\n \n \n

This is unique to this transaction and will not be repeated

\n \n
\n\n
\n \n {this.state.selectedAgents.map((agent, i) => {\n return \n 0) ? 11 : 12}>\n
\n {\n if ((this.state.selectedAgents.findIndex(obj => obj.id === e.id)) > -1) {\n this.setState({\n errMsg: 'Cannot add team member more than once.',\n isNotValid: true\n });\n } else {\n this.state.selectedAgents[i] = e;\n this.setState({ selectedAgents: this.state.selectedAgents });\n }\n }}\n value={agent.value || null}\n options={agentList}\n />\n
\n \n\n {i > 0 &&\n \n \n }\n
\n })}\n\n \n \n \n Add Another Agent\n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n
\n \n );\n }\n}\n\nexport default AddAgentModal;\n","import React from 'react';\nimport { Col, Modal, Row } from 'react-bootstrap';\nimport { IncomeExpenseForm } from '../shared/IncomeExpenseForm';\nimport { fullRecalculation } from '../shared/FinancialViewHelpers';\nimport Error from '../../../shared/Error';\n\nclass AddIncomeExpenseModal extends React.Component {\n constructor(props, context) {\n super(props, context)\n\n this.state = {\n name: '',\n transaction_expense_type_id: '',\n value: '',\n percentage: true,\n type: 'expense',\n position: '',\n isNotValid: false,\n errMsg: '',\n subKey: `x${new Date().getTime()}`,\n }\n }\n\n saveData = () => {\n let nonDeletedAdditionals = this.props.listingData.transaction_income.additionalIncome.filter(additional => additional._destroy !== '1')\n this.state.position = nonDeletedAdditionals.length + 1;\n if (this.state.type === 'expense') {\n if (!this.state.percentage) {\n this.state.expense_amount = this.state.value;\n }\n this.props.listingData.transaction_income.custom_transaction_expenses_attributes.push(this.state);\n }\n if (this.state.type === 'revenue') {\n if (!this.state.percentage) {\n this.state.revenue_amount = this.state.value;\n }\n this.props.listingData.transaction_income.custom_transaction_revenues_attributes.push(this.state);\n }\n this.props.listingData.transaction_income.additionalIncome.push(this.state);\n fullRecalculation(this.props.listingData, this.props.setFinancial);\n this.props.setIsOpenNewIncomeModal(false);\n }\n\n saveExpenseData = () => {\n if (this.state.name && this.state.value) {\n if (this.state.percentage) {\n if (this.state.value >= 0 && this.state.value <= 100) {\n this.saveData()\n } else {\n this.setState({\n errMsg: 'Value must be between 0 and 100.',\n isNotValid: true\n });\n }\n } else {\n this.saveData()\n }\n } else {\n this.setState({\n errMsg: 'Enter a name and value',\n isNotValid: true\n });\n }\n }\n\n render() {\n const {\n setIsOpenNewIncomeModal,\n isOpenNewIncomeModal,\n listingData,\n } = this.props;\n\n const { \n transaction_expense_types: transactionExpenseList\n } = listingData\n\n return (\n setIsOpenNewIncomeModal(false)}>\n \n \n New Income Or Expense\n \n \n\n \n
\n {this.state.isNotValid && }\n \n \n

This is unique to this transaction and will not be repeated

\n \n
\n \n \n
\n
\n \n );\n }\n}\n\nexport default AddIncomeExpenseModal;\n","import React from 'react';\nimport { Col, Row, Modal } from 'react-bootstrap';\nimport { IncomeExpenseForm } from '../shared/IncomeExpenseForm';\nimport { reCalculateAgentExpenses } from '../shared/FinancialViewHelpers';\nimport Error from '../../../shared/Error';\n\nclass ExpenseModal extends React.Component {\n constructor(props, context) {\n super(props, context)\n\n this.state = {\n name: '',\n value: '',\n percentage: true,\n expense_amount: '',\n type: 'expense',\n agent_expense_type_id: '',\n position: '',\n isNotValid: false,\n errMsg: ''\n }\n }\n saveData() {\n const { state } = this;\n const { \n listingData, \n modalIndex,\n setFinancial,\n setIsExpenseModal } = this.props;\n \n if (!state.percentage) {\n if (state.value === '') {\n state.value = 0;\n }\n }\n const income = listingData.team_member_incomes.incomes[modalIndex]\n let nonDeletedCustomExpenses = income.custom_team_member_expenses_attributes.filter(expense => expense._destroy !== '1');\n\n state.position = nonDeletedCustomExpenses.length ? nonDeletedCustomExpenses[nonDeletedCustomExpenses.length - 1].position + 1 : 1; \n state.value *= 1\n income.custom_team_member_expenses_attributes.push(state);\n reCalculateAgentExpenses(income, listingData, modalIndex, setFinancial);\n setIsExpenseModal(false)\n }\n\n saveExpenseData = () => {\n if (this.state.name && this.state.value) {\n if (this.state.percentage) {\n if (this.state.value >= 0 && this.state.value <= 100) {\n this.saveData()\n } else {\n this.setState({\n errMsg: 'Value must be between 0 and 100.',\n isNotValid: true\n });\n }\n } else {\n this.saveData()\n }\n } else {\n this.setState({\n errMsg: 'Enter a name and value.',\n isNotValid: true\n });\n }\n }\n\n render() {\n const {\n isExpenseModal,\n setIsExpenseModal, \n listingData,\n } = this.props;\n\n const { agent_expense_types } = listingData;\n \n return (\n setIsExpenseModal(false)}>\n \n \n New Expense\n \n \n\n \n
\n {this.state.isNotValid && }\n \n \n

This is unique to this transaction and will not be repeated

\n \n
\n \n
\n
\n \n );\n }\n}\n\nexport default ExpenseModal;\n","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { sortableContainer, sortableElement } from \"react-sortable-hoc\";\nimport DragHandle from \"../shared/DragHandle\";\nimport ExpenseInput from \"../shared/ExpenseInput\";\nimport { formatExpense, fullRecalculation } from \"../shared/FinancialViewHelpers\";\nimport { setFinancial } from \"../../actions/transaction\";\nimport { connect } from \"react-redux\";\nimport format from \"../../../shared/formatters\";\n\nconst mapDispatchToProps = (dispatch) => ({\n setFinancial: (listingData) => dispatch(setFinancial(listingData)),\n});\n\nconst SortableItem = connect(\n null,\n mapDispatchToProps,\n)(\n sortableElement(\n ({\n key,\n value,\n sortIndex,\n listingData,\n setFinancialData,\n setFinancial,\n }) => {\n const { name } = value;\n\n return (\n
\n \n \n \n {(value.expense_amount || value.type === \"expense\") && (\n {\n if (!!value.percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n listingData.transaction_income.additionalIncome[sortIndex].value = e.target.value;\n fullRecalculation(listingData, setFinancial);\n }\n } else {\n listingData.transaction_income.additionalIncome[sortIndex].value = e.target.value;\n fullRecalculation(listingData, setFinancial);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && value.value > 100) {\n value.value = \"\";\n }\n value.percentage = e.target.value === \"true\";\n fullRecalculation(listingData, setFinancial);\n }}\n />\n )}\n {(value.revenue_amount || value.type === \"revenue\") && (\n {\n if (!!value.percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n listingData.transaction_income.additionalIncome[sortIndex].value = e.target.value;\n fullRecalculation(listingData, setFinancial);\n }\n } else {\n listingData.transaction_income.additionalIncome[sortIndex].value = e.target.value;\n fullRecalculation(listingData, setFinancial);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && value.value > 100) {\n value.value = \"\";\n }\n value.percentage = e.target.value === \"true\";\n fullRecalculation(listingData, setFinancial);\n }}\n />\n )}\n \n\n \n
\n \n {\n value.notes = e.target.value;\n setFinancialData(listingData);\n }}\n />\n
\n \n\n \n\n \n {value.expense_amount && {formatExpense(format.currency(value.expense_amount))}}\n {value.revenue_amount && {format.currency(value.revenue_amount)}}\n \n\n \n {format.currency(value.line_total)}\n \n\n
\n {\n listingData.transaction_income.additionalIncome[sortIndex]._destroy = \"1\";\n\n let position = 0;\n listingData.transaction_income.additionalIncome.map((obj) => {\n if (obj._destroy) {\n if (obj.position) {\n delete obj[\"position\"];\n }\n } else {\n obj.position = position + 1;\n position = position + 1;\n }\n });\n\n listingData.transaction_income.custom_transaction_expenses_attributes = [];\n listingData.transaction_income.custom_transaction_revenues_attributes = [];\n listingData.transaction_income.additionalIncome.forEach((income) => {\n if (income.type === \"expense\") {\n listingData.transaction_income.custom_transaction_expenses_attributes.push(income);\n }\n if (income.type === \"revenue\") {\n listingData.transaction_income.custom_transaction_revenues_attributes.push(income);\n }\n });\n fullRecalculation(listingData, setFinancial);\n }}\n >\n \n \n
\n
\n
\n );\n },\n ),\n);\n\nconst SortableContainer = sortableContainer(\n ({ items, listingData, setFinancialData, recalculate_transaction_gci_and_team_member_net_incomes }) => {\n return (\n
\n {[...items].map(\n (value, index) =>\n !value._destroy && (\n \n )\n ).filter(item => !!item)}\n
\n );\n },\n);\n\nexport default SortableContainer;\n","import { useMemo } from \"react\";\n\nexport const useMemos = (propsListData) => {\n const listingData = useMemo(() => ({...propsListData}), [propsListData]) \n \n const agents = useMemo(() => listingData.team_member_incomes.incomes, [listingData.team_member_incomes.incomes]);\n\n return { listingData, agents }\n}\n","import React from \"react\";\nimport { sortableContainer, sortableElement } from \"react-sortable-hoc\";\nimport { SortableTeamMemberSplitInput } from \"./SortableTeamMemberSplitInput\";\nimport { SortableTeamMemberExpenseInput } from \"./SortableTeamMemberExpenseInput\";\nimport { connect } from \"react-redux\";\nimport { setFinancial } from \"../../actions/transaction\";\n\nconst mapDispatchToProps = dispatch => ({\n setFinancial: listingData => dispatch(setFinancial(listingData)),\n})\n\nconst SortableItem = connect(null, mapDispatchToProps)(sortableElement(props => \n props.value.user_id !== undefined ? \n SortableTeamMemberSplitInput(props) : \n SortableTeamMemberExpenseInput(props)\n )\n);\n\nconst SortableContainer = sortableContainer(\n ({ income, listingData, setFinancialData, parentIndex, recalculate_team_member_net_income }) => {\n return (\n
\n {[income]\n .concat(income.custom_team_member_expenses_attributes)\n .sort((el1, el2) => el1.position - el2.position)\n .map(\n (value, index) =>\n !value._destroy && (\n \n ),\n )}\n
\n );\n },\n);\n\nexport default SortableContainer;\n","\nimport React from \"react\";\nimport { Col, Row } from 'react-bootstrap';\nimport ExpenseInput from \"../../shared/ExpenseInput\";\nimport { formatExpense, reCalculateAgentExpenses } from '../../shared/FinancialViewHelpers';\nimport DragHandle from '../../shared/DragHandle';\nimport format from \"../../../../shared/formatters\";\n\nexport const SortableTeamMemberSplitInput = ({ sortIndex, listingData, setFinancialData, recalculate_team_member_net_income, income, setFinancial, parentIndex }) => (\n
\n
\n \n \n \n {\n if (!!income.brokerage_split_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n income.brokerage_split = e.target.value;\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }\n }\n else {\n income.brokerage_split = e.target.value;\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }\n }}\n onRadioUpdate={e => {\n if (e.target.value === \"true\" && income.brokerage_split > 100) {\n income.brokerage_split = '';\n }\n income.brokerage_split_percentage = (e.target.value === \"true\");\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }}\n />\n \n\n \n
\n \n {\n income.brokerage_split_notes = e.target.value;\n setFinancialData(listingData);\n }}\n >\n {income.brokerage_split_notes}\n \n
\n \n\n \n\n \n {formatExpense(format.currency(income.brokerage_split_amount))}\n \n\n \n {format.currency(income.brokerage_split_line_total)}\n \n
\n
\n \n \n \n
\n \n \n\n \n {\n if (!!income.royalty_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n income.royalty = e.target.value;\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }\n }\n else {\n income.royalty = e.target.value;\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }\n\n }}\n onRadioUpdate={e => {\n if (e.target.value === \"true\" && income.royalty > 100) {\n income.royalty = '';\n }\n income.royalty_percentage = (e.target.value === \"true\");\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }} />\n \n\n \n
\n \n {\n income.royalty_notes = e.target.value;\n setFinancialData(listingData);\n }}\n >\n {income.royalty_notes}\n \n
\n \n\n \n\n \n {formatExpense(format.currency(income.royalty_amount))}\n \n\n \n {format.currency(income.royalty_line_total)}\n \n
\n
\n
\n)\n","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport DragHandle from \"../../shared/DragHandle\";\nimport ExpenseInput from \"../../shared/ExpenseInput\";\nimport { formatExpense } from \"../../shared/FinancialViewHelpers\";\nimport { reCalculateAgentExpenses, shiftSplitPosition } from \"../../shared/FinancialViewHelpers\";\nimport format from \"../../../../shared/formatters\";\n\nexport const SortableTeamMemberExpenseInput = (props) => {\n const {\n value,\n sortIndex,\n listingData,\n setFinancialData,\n parentIndex,\n income,\n setFinancial,\n } = props;\n\n return (\n
\n
\n \n \n\n \n {\n if (!!value.percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n value.value = e.target.value;\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }\n } else {\n value.value = e.target.value;\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && value.value > 100) {\n value.value = \"\";\n }\n value.percentage = e.target.value === \"true\";\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }}\n />\n \n\n \n
\n \n {\n value.notes = e.target.value;\n setFinancialData(listingData);\n }}\n />\n
\n \n\n \n\n \n {formatExpense(format.currency(value.expense_amount))}\n \n\n \n {format.currency(value.line_total)}\n \n\n
\n {\n const expenses =\n listingData.team_member_incomes.incomes[parentIndex].custom_team_member_expenses_attributes;\n const { position: expPosition } = value;\n const idx = expenses.findIndex((exp) => exp.position === expPosition);\n expenses[idx]._destroy = \"1\";\n delete expenses[idx][\"position\"];\n shiftSplitPosition(income, expPosition);\n reCalculateAgentExpenses(income, listingData, parentIndex, setFinancial);\n }}\n >\n \n \n
\n
\n
\n
\n );\n};\n","import React from \"react\";\nimport { Row } from \"react-bootstrap\";\nimport { Col } from \"react-bootstrap\";\nimport AgentAdditionalIncomeSortable from \"../AgentAdditionalIncomeSortable\";\nimport TransactionInput from \"../../shared/TransactionInput\";\nimport { connect } from \"react-redux\";\nimport { setFinancial } from \"../../../actions/transaction\";\nimport { fullRecalculation } from \"../../shared/FinancialViewHelpers\";\nimport { Dropdown } from \"../../../../shared/v1\";\nimport format from \"../../../../shared/formatters\";\n\nconst mapDispatchToProps = (dispatch) => ({\n setFinancial: (listingData) => dispatch(setFinancial(listingData)),\n});\n\nexport const AgentDetailForm = connect(\n null,\n mapDispatchToProps,\n)((props) => {\n const {\n listingData,\n onRemoveIncome,\n setFinancialData,\n onAddExpense,\n onSortAdditionalIncome,\n recalculate_team_member_net_income,\n unitOptions,\n income,\n setFinancial,\n idx,\n } = props;\n\n return (\n
\n

\n {income.name ? income.name : \"\"}\n {income.owner && (Account Owner)}\n {!income.owner && (\n onRemoveIncome(income.id)} />\n )}\n

\n
\n
\n
\n

Income

\n
\n
\n \n \n\n \n {\n if (!!income.agent_gci_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n income.agent_gci = e.target.value;\n fullRecalculation(listingData, setFinancial);\n }\n } else {\n income.agent_gci = e.target.value;\n fullRecalculation(listingData, setFinancial);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && income.agent_gci > 100) {\n income.agent_gci = 0;\n }\n income.agent_gci_percentage = e.target.value === \"true\";\n fullRecalculation(listingData, setFinancial);\n }}\n />\n \n\n \n
\n \n {\n income.agent_gci_notes = e.target.value;\n setFinancialData(listingData);\n }}\n >\n {income.agent_gci_notes}\n \n
\n \n\n \n
\n \n
\n {\n if (Number(e.value) >= 0 && Number(e.value) <= 1) {\n income.agent_gci_units = e.value;\n setFinancialData(listingData);\n }\n }}\n value={income.agent_gci_units}\n options={unitOptions}\n // With a Dropdown.Creatable, by default if the user types\n // in 0.25 for example, the label will be `Create \"0.25\"`.\n // We want `0.25` to show up as-is though, so we override\n // `formatCreateLabel` to return the raw label like we want.\n formatCreateLabel={(label) => label}\n />\n
\n
\n \n\n \n\n \n {format.currency(income.gross_income)}\n \n
\n
\n
\n\n
\n
\n

Expenses

\n \n onAddExpense(idx)}>\n Add\n \n \n
\n
\n\n
\n onSortAdditionalIncome(indexes, idx)}\n listingData={listingData}\n setFinancialData={setFinancialData}\n parentIndex={idx}\n recalculate_team_member_net_income={recalculate_team_member_net_income}\n useDragHandle\n />\n\n
\n
\n

Net Income

\n
\n
\n

{format.currency(income.net_income)}

\n
\n
\n
\n
\n
\n );\n});\n","import React from \"react\";\nimport { useMemos } from \"./customHooks\";\nimport { AgentDetailForm } from \"../AgentDetailForm\";\n\nexport const AgentsDetailForm = (props) => {\n const {\n onRemoveIncome,\n setFinancialData,\n onAddExpense,\n onSortAdditionalIncome,\n recalculate_team_member_net_income,\n recalculate_all_team_member_net_incomes,\n unitOptions,\n } = props;\n\n const { listingData, agents } = useMemos(props.listingData);\n\n return agents.map((income, i) => (\n \n ));\n};\n","import React from 'react';\nimport { Col, Row } from 'react-bootstrap';\nimport { formatExpense, formatValue } from \"../shared/FinancialViewHelpers\";\nimport Input from \"../../../shared/Input\";\n\n\nconst CollaboratorExpense = ({ value, listingData, setFinancialData, expense, recalculateCollaboratorExpenses }) => {\n return (\n
\n \n \n \n {\n value.value = e.target.value\n setFinancialData(listingData)\n recalculateCollaboratorExpenses(expense, listingData)\n }}\n />\n \n \n
\n \n {\n value.notes = e.target.value\n setFinancialData(listingData)\n }}\n />\n
\n \n \n \n {formatExpense(formatValue(value.expense_amount, false))}\n \n \n {formatValue(value.line_total)}\n \n
\n
\n )\n}\n\nexport default CollaboratorExpense;\n","import React from \"react\";\nimport { Button, FormGroup, Col, Form, Modal } from \"react-bootstrap\";\nimport Input from \"../../../shared/Input\";\nimport Error from \"../../../shared/Error\";\n\nclass CollaboratorExpenseModal extends React.Component {\n state = {\n name: \"\",\n value: \"\",\n percentage: false,\n expense_amount: \"\",\n position: 1,\n isNotValid: false,\n errMsg: \"\"\n }\n\n saveExpenseData = () => {\n if (this.state.name && this.state.value) {\n let collaboratorExpense = this.props.listingData.collaborator_expenses.expenses[this.props.collaboratorModalIndex]\n\n collaboratorExpense.custom_collaborator_expenses_attributes.push(this.state)\n this.props.setFinancialData(this.props.listingData)\n this.props.setIsCollaboratorExpenseModalOpen(false)\n this.props.recalculateCollaboratorExpenses(collaboratorExpense, this.props.listingData)\n } else {\n this.setState({ errMsg: \"Enter a name and value.\", isNotValid: true })\n }\n }\n\n render() {\n const {\n isCollaboratorExpenseModalOpen,\n setIsCollaboratorExpenseModalOpen\n } = this.props\n\n return (\n setIsCollaboratorExpenseModalOpen(false)}\n >\n \n \n New Collaborator Expense\n \n \n \n
\n {this.state.isNotValid && }\n
\n \n \n \n
\n {this.setState({ name: e.target.value })}} />\n
\n \n \n
\n this.setState({ value: e.target.value })}\n />\n $\n
\n \n
\n \n \n setIsCollaboratorExpenseModalOpen(false)}\n >\n Cancel\n \n this.saveExpenseData()}\n >\n Save\n \n \n \n
\n
\n
\n \n )\n }\n}\n\nexport default CollaboratorExpenseModal;\n","import React from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { arrayMove } from \"react-sortable-hoc\";\nimport format from \"../../../shared/formatters\";\nimport AddAgentModal from \"./AddAgentModal\";\nimport AddIncomeExpenseModal from \"./AddIncomeExpenseModal\";\nimport ExpenseModal from \"./ExpenseModal\";\nimport TransactionAdditionalIncomeSortable from \"./TransactionAdditionalIncomeSortable\";\nimport TransactionInput from \"../shared/TransactionInput\";\nimport {\n formatValue,\n reCalculateAgentExpenses,\n reorderExpenses,\n createSortedExpensesPointer,\n fullRecalculation,\n} from \"../shared/FinancialViewHelpers\";\nimport { AgentsDetailForm } from \"./AgentsDetailForm\";\nimport CollaboratorExpense from \"./CollaboratorExpense\";\nimport CollaboratorExpenseModal from \"./CollaboratorExpenseModal\";\n\nconst unitOptions = [\n { label: \"0\", value: \"0\" },\n { label: \".1\", value: \".1\" },\n { label: \".2\", value: \".2\" },\n { label: \".3\", value: \".3\" },\n { label: \".4\", value: \".4\" },\n { label: \".5\", value: \".5\" },\n { label: \".6\", value: \".6\" },\n { label: \".7\", value: \".7\" },\n { label: \".8\", value: \".8\" },\n { label: \".9\", value: \".9\" },\n { label: \"1\", value: \"1\" },\n];\n\nclass TransactionFinancialDetailForm extends React.Component {\n constructor(props, context) {\n super(props, context);\n }\n\n componentWillMount() {\n this.props.getAgentList(this.props.listingData.listing_id);\n }\n\n onAddAgent = () => {\n this.props.setIsOpenAddAgentModal(true);\n };\n\n onAddIncome = () => {\n this.props.setIsOpenNewIncomeModal(true);\n };\n\n onAddExpense = (i) => {\n this.props.setIsExpenseModal(true);\n this.props.setModalIndex(i);\n };\n\n onSortEnd = ({ oldIndex, newIndex }) => {\n this.props.listingData.transaction_income.additionalIncome = arrayMove(\n this.props.listingData.transaction_income.additionalIncome,\n oldIndex,\n newIndex,\n );\n let position = 0;\n this.props.listingData.transaction_income.additionalIncome.map((obj) => {\n if (obj._destroy) {\n if (obj.position) {\n delete obj[\"position\"];\n }\n } else {\n obj.position = position + 1;\n position = position + 1;\n }\n });\n this.props.listingData.transaction_income.custom_transaction_expenses_attributes = [];\n this.props.listingData.transaction_income.custom_transaction_revenues_attributes = [];\n this.props.listingData.transaction_income.additionalIncome.forEach((income) => {\n if (income.type === \"expense\") {\n this.props.listingData.transaction_income.custom_transaction_expenses_attributes.push(income);\n }\n if (income.type === \"revenue\") {\n this.props.listingData.transaction_income.custom_transaction_revenues_attributes.push(income);\n }\n });\n\n this.props.setFinancialData(this.props.listingData);\n this.props.recalculate_transaction_gci_and_team_member_net_incomes(this.props.listingData);\n };\n\n onSortAdditionalIncome = (indexes, i) => {\n const { setFinancial, listingData } = this.props;\n\n const { oldIndex, newIndex } = indexes;\n\n const pseudoIncome = listingData.team_member_incomes.incomes[i];\n const expPointer = createSortedExpensesPointer(pseudoIncome);\n reorderExpenses(expPointer, oldIndex, newIndex);\n pseudoIncome.custom_team_member_expenses_attributes.sort((exp1, exp2) => exp1.position - exp2.position);\n\n reCalculateAgentExpenses(pseudoIncome, listingData, i, setFinancial);\n };\n\n onRemoveIncome = (incomeId) => {\n this.props.removeIncome(incomeId);\n };\n\n onAddCollaboratorExpense = (collaboratorIndex) => {\n this.props.setIsCollaboratorExpenseModalOpen(true);\n this.props.setCollaboratorModalIndex(collaboratorIndex);\n };\n\n onRemoveCollaboratorExpense = (expenseId) => {\n this.props.removeCollaboratorExpense(expenseId);\n };\n\n render() {\n const {\n listingData,\n isOpenAddAgentModal,\n isOpenNewIncomeModal,\n setFinancialData,\n saveFinancialData,\n isExpenseModal,\n recalculate_transaction_gci_and_team_member_net_incomes,\n recalculate_all_team_member_net_incomes,\n recalculate_team_member_net_income,\n recalculateCollaboratorExpenses,\n isCollaboratorExpenseModalOpen,\n } = this.props;\n\n return (\n
\n
\n
\n \n {\n saveFinancialData(listingData);\n }}\n >\n SAVE\n \n
\n
\n
\n
\n
\n

Transactions Details

\n
\n
\n \n \n \n {\n listingData.transaction_income.closed_volume = e.target.value;\n fullRecalculation(listingData, setFinancialData);\n }}\n />\n \n \n \n \n {listingData.transaction_income.closed_volume\n ? format.currency(listingData.transaction_income.closed_volume)\n : \"\"}\n \n \n \n
\n
\n \n \n \n {\n if (!!listingData.transaction_income.commission_percentage) {\n if (e.target.value >= 0 && e.target.value <= 100) {\n listingData.transaction_income.commission = e.target.value;\n fullRecalculation(listingData, setFinancialData);\n }\n } else {\n listingData.transaction_income.commission = e.target.value;\n fullRecalculation(listingData, setFinancialData);\n }\n }}\n onRadioUpdate={(e) => {\n if (e.target.value === \"true\" && listingData.transaction_income.commission > 100) {\n listingData.transaction_income.commission = \"\";\n }\n listingData.transaction_income.commission_percentage = e.target.value === \"true\";\n fullRecalculation(listingData, setFinancialData);\n }}\n />\n \n\n \n
\n \n {\n listingData.transaction_income.commission_notes = e.target.value;\n setFinancialData(listingData);\n }}\n >\n {listingData.transaction_income.commission_notes}\n \n
\n \n \n\n \n \n {listingData.transaction_income.gross_income\n ? format.currency(listingData.transaction_income.gross_income)\n : \"\"}\n \n \n
\n
\n\n
\n
\n

Expenses & Income

\n \n this.onAddIncome()}>\n Add\n \n \n
\n\n \n\n
\n
\n

Transaction GCI

\n
\n
\n

\n {listingData.transaction_income.gci\n ? format.currency(listingData.transaction_income.gci)\n : \"\"}\n

\n
\n
\n
\n
\n
\n \n {listingData.collaborator_expenses.expenses.map((expense, index) => (\n
\n

\n {expense.name}\n this.onRemoveCollaboratorExpense(expense.id)}\n />\n

\n\n
\n
\n
\n

Expenses

\n {expense.custom_collaborator_expenses_attributes.length === 0 && (\n \n this.onAddCollaboratorExpense(index)}>Add\n \n )}\n
\n {expense.custom_collaborator_expenses_attributes.map((customExpense, index) => (\n \n ))}\n
\n
\n

Total

\n
\n
\n

{formatValue(expense.total_expense, false)}

\n
\n
\n
\n
\n
\n ))}\n\n
\n
\n \n {\n saveFinancialData(listingData);\n }}\n >\n SAVE\n \n
\n
\n\n {isOpenAddAgentModal && this.renderAgentModal()}\n {isOpenNewIncomeModal && this.renderAdditionalModal()}\n {isExpenseModal && this.renderExpenseModal()}\n {isCollaboratorExpenseModalOpen && this.renderCollaboratorExpenseModal()}\n
\n );\n }\n\n renderAgentModal() {\n const { isOpenAddAgentModal, setIsOpenAddAgentModal, listingData, agentList, setFinancialData } =\n this.props;\n\n return (\n \n );\n }\n\n renderAdditionalModal() {\n const {\n isOpenNewIncomeModal,\n setIsOpenNewIncomeModal,\n setFinancial,\n listingData,\n transactionExpenseList,\n recalculate_transaction_gci_and_team_member_net_incomes,\n } = this.props;\n\n return (\n \n );\n }\n\n renderExpenseModal() {\n const {\n isExpenseModal,\n setIsExpenseModal,\n modalIndex,\n setFinancial,\n setFinancialData,\n transactionExpenseList,\n listingData,\n recalculate_team_member_net_income,\n } = this.props;\n\n return (\n \n );\n }\n\n renderCollaboratorExpenseModal() {\n const {\n isCollaboratorExpenseModalOpen,\n setIsCollaboratorExpenseModalOpen,\n collaboratorModalIndex,\n setFinancialData,\n listingData,\n recalculateCollaboratorExpenses,\n } = this.props;\n\n return (\n \n );\n }\n}\n\nexport default TransactionFinancialDetailForm;\n","import React from 'react';\nimport { ClosedVolumeForm } from './ClosedVolumeForm';\nimport TransactionFinancialDetail from './TransactionFinancialDetail';\nimport TransactionFinancialDetailForm from './TransactionFinancialDetailForm';\nimport Error from '../../../shared/Error';\n\nimport '../shared/Financials.sass';\n\nclass TransactionFinancial extends React.Component {\n constructor(props, context) {\n super(props, context);\n this.state = {\n additionalIncome: []\n }\n }\n\n componentDidMount(){ \n const { \n listingData: { \n transaction_expense_types: transactionExpenseList \n },\n setTransactionExpenseList\n } = this.props;\n\n setTransactionExpenseList(transactionExpenseList);\n }\n\n componentWillReceiveProps() {\n if(this.props.listingData.transaction_income){\n let additionalIncome = this.props.listingData.transaction_income.custom_transaction_expenses_attributes.concat(this.props.listingData.transaction_income.custom_transaction_revenues_attributes);\n additionalIncome.sort(function (a, b) {\n return a.position - b.position\n });\n this.setState({ 'additionalIncome': additionalIncome });\n }\n }\n\n render() {\n const {\n listingData,\n closedVolume,\n isShowTransactionDetail,\n isEditTransactionDetail,\n setIsShowTrDetail,\n setIsEditTrDetail,\n setIsOpenAddAgentModal,\n setIsOpenNewIncomeModal,\n isOpenAddAgentModal,\n isOpenNewIncomeModal,\n saveClosedVolume,\n setFinancialData,\n setFinancial,\n setClosedVolume,\n isShowAlert,\n isShowDangerAlert,\n errors,\n setModalIndex,\n modalIndex,\n saveFinancialData,\n getAgentList,\n agentList,\n setIsExpenseModal,\n isExpenseModal,\n recalculate_transaction_gci_and_team_member_net_incomes,\n recalculate_all_team_member_net_incomes,\n recalculate_team_member_net_income,\n removeIncome,\n removeCollaboratorExpense,\n recalculateCollaboratorExpenses,\n setIsCollaboratorExpenseModalOpen,\n setCollaboratorModalIndex,\n collaboratorModalIndex,\n isCollaboratorExpenseModalOpen,\n transactionExpenseList\n } = this.props;\n\n if (!!listingData.transaction_income) {\n listingData.transaction_income.additionalIncome = this.state.additionalIncome;\n }\n\n return (\n
\n {\n isShowAlert &&\n
\n Successfully updated.\n
\n }\n\n {isShowDangerAlert && }\n\n {\n (!isShowTransactionDetail && !isEditTransactionDetail) &&\n \n }\n\n {\n isShowTransactionDetail &&\n \n }\n\n {\n isEditTransactionDetail &&\n \n }\n
\n );\n }\n}\n\nexport default TransactionFinancial;\n","import { connect } from 'react-redux';\nimport TransactionFinancial from '../components/transaction/TransactionFinancial';\nimport * as actions from '../actions/transaction';\n\n// Which part of the Redux global state does our component want to receive as props?\nconst mapStateToProps = (state) => ({ ...state.transactionFinancial });\n\n// Don't forget to actually use connect!\n// See https://github.com/reactjs/react-redux/blob/master/docs/api.md#examples\nexport default connect(mapStateToProps, actions)(TransactionFinancial);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst LocationResults = ({\n handleHover,\n handleSelect,\n locationType,\n searchResults,\n cursor,\n cursorCategory,\n}) => (\n
\n
{locationType === \"CityState\" ? \"City\" : \"Zip\"}
\n {searchResults[locationType].map((location, position) => {\n const positionClass = cursorCategory === locationType && cursor === position ? \"highlight\" : \"\";\n const prefix = locationType === \"CityState\" ? \"city\" : \"zip\";\n\n return (\n // eslint-disable-next-line jsx-a11y/no-static-element-interactions\n handleHover(position, locationType)}\n onMouseDown={() => handleSelect(position, locationType)}\n >\n {location}\n
\n );\n })}\n \n);\n\nLocationResults.propTypes = {\n handleHover: PropTypes.func.isRequired,\n handleSelect: PropTypes.func.isRequired,\n locationType: PropTypes.string.isRequired,\n searchResults: PropTypes.shape().isRequired,\n cursor: PropTypes.number.isRequired,\n cursorCategory: PropTypes.string.isRequired,\n};\n\nexport default LocationResults;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport axios from \"axios\";\nimport { debounce } from \"lodash\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport RadioButton from \"@shared/v2/RadioButton\";\nimport Tag from \"@shared/v2/Tag\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport \"./Filters.sass\";\nimport LocationResults from \"./LocationResults\";\n\nconst formatPrice = (value) => {\n const parsedValue = parseFloat(value.replace(/,/g, \"\"));\n return parsedValue.toLocaleString();\n};\n\nclass WebsiteSearchHistoryFilter extends React.Component {\n debounceFetchResults = debounce((term) => {\n this.doFetchResults(term);\n }, 250);\n\n constructor(props) {\n super(props);\n const {\n selectedSearchHistory: {\n min_price: minPrice,\n max_price: maxPrice,\n min_bedrooms: minBedrooms,\n max_bedrooms: maxBedrooms,\n min_bathrooms: minBathrooms,\n max_bathrooms: maxBathrooms,\n city,\n zip,\n views_and_favorites: viewsAndFavorites,\n views_only: viewsOnly,\n favorites_only: favoritesOnly,\n },\n } = this.props;\n\n this.state = {\n minPrice: minPrice || null,\n maxPrice: maxPrice || null,\n minBedrooms: minBedrooms || null,\n maxBedrooms: maxBedrooms || null,\n minBathrooms: minBathrooms || null,\n maxBathrooms: maxBathrooms || null,\n city: city || [],\n zip: zip || [],\n favoritesAndViews: viewsAndFavorites === undefined ? true : viewsAndFavorites === \"true\",\n viewsOnly: viewsOnly === \"true\",\n favoritesOnly: favoritesOnly === \"true\",\n cityStateActive: false,\n cursor: 0,\n cursorCategory: \"\",\n searchResults: {},\n mlsIds: [],\n locationValue: \"\",\n };\n }\n\n componentDidMount() {\n const { currentUserId } = this.props;\n axios\n .get(`/users/${currentUserId}/mls_ids`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n this.setState({ mlsIds: response.data.ids });\n })\n .catch((error) => {\n console.log(error);\n });\n }\n\n handleMinPriceChange = (e) => {\n Brivity.ClearAllFiltersButton.toggle();\n this.setState({ minPrice: formatPrice(e.target.value) });\n };\n\n handleMaxPriceChange = (e) => {\n Brivity.ClearAllFiltersButton.toggle();\n this.setState({ maxPrice: formatPrice(e.target.value) });\n };\n\n handleMinBedroomsChange = (option) => {\n this.setState({ minBedrooms: option?.value || \"\" });\n };\n\n handleMaxBedroomsChange = (option) => {\n this.setState({ maxBedrooms: option?.value || \"\" });\n };\n\n handleMinBathroomsChange = (option) => {\n this.setState({ minBathrooms: option?.value || \"\" });\n };\n\n handleMaxBathroomsChange = (option) => {\n this.setState({ maxBathrooms: option?.value || \"\" });\n };\n\n removeLocation = (type, locationToRemove) => {\n const { city, zip } = this.state;\n if (type === \"city\") {\n const newCities = city.filter((location) => location !== locationToRemove);\n this.setState({ city: newCities });\n } else {\n const newZips = zip.filter((location) => location !== locationToRemove);\n this.setState({ zip: newZips });\n }\n };\n\n toggleButtons = (button) => {\n if (button === \"views_and_favorites\") {\n this.setState({ favoritesAndViews: true, viewsOnly: false, favoritesOnly: false });\n } else if (button === \"views\") {\n this.setState({ favoritesAndViews: false, viewsOnly: true, favoritesOnly: false });\n } else {\n this.setState({ favoritesAndViews: false, viewsOnly: false, favoritesOnly: true });\n }\n };\n\n toggleActive = () => {\n this.setState((prevState) => ({ cityStateActive: !prevState.cityStateActive }));\n };\n\n fetchResults = (term) => {\n // Update state on every keypress, but debounce before searching\n this.setState({ locationValue: term }, () => this.debounceFetchResults(term));\n };\n\n doFetchResults = (term) => {\n const { locationValue, mlsIds } = this.state;\n if (!term.length) {\n return;\n }\n\n const idsArrayQuery = mlsIds.map((id) => `mlsIds[]=${id}`).join(\"&\");\n\n axios\n .get(`/lead_filters/location_autocomplete.json?${idsArrayQuery}&term=${term}`, {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n },\n })\n .then((response) => {\n if (locationValue !== term) {\n return;\n }\n\n const cityAndZips = response.data.reduce((cAndZs, obj) => {\n const { category } = obj;\n if (\n !Object.prototype.hasOwnProperty.call(cAndZs, category) &&\n (category === \"Zip Code\" || category === \"CityState\")\n ) {\n // eslint-disable-next-line no-param-reassign\n cAndZs[category] = [];\n }\n if (category === \"Zip Code\" || category === \"CityState\") {\n cAndZs[category].push(obj.value);\n }\n return cAndZs;\n }, {});\n this.setState({ searchResults: cityAndZips });\n if (Object.prototype.hasOwnProperty.call(cityAndZips, \"CityState\")) {\n this.setState({ cursorCategory: \"CityState\" });\n } else if (Object.prototype.hasOwnProperty.call(cityAndZips, \"Zip Code\")) {\n this.setState({ cursorCategory: \"Zip Code\" });\n }\n })\n .catch((err) => {\n console.log(\"Error\", err);\n });\n };\n\n handleHover = (cursor, cursorCategory) => {\n this.setState({ cursor, cursorCategory });\n };\n\n handleSelect = (cursor, cursorCategory) => {\n const { searchResults } = this.state;\n if (cursorCategory === \"CityState\") {\n this.setState((prevState) => ({\n city: [...prevState.city, searchResults.CityState[cursor]],\n locationValue: \"\",\n cursor: 0,\n cursorCategory: \"\",\n searchResults: {},\n }));\n } else if (cursorCategory === \"Zip Code\") {\n this.setState((prevState) => ({\n zip: [...prevState.zip, searchResults[\"Zip Code\"][cursor]],\n locationValue: \"\",\n cursor: 0,\n cursorCategory: \"\",\n searchResults: {},\n }));\n }\n };\n\n handleKeyDown = (e) => {\n const { cursor, cursorCategory, locationValue, searchResults } = this.state;\n if (e.keyCode === 13) {\n // Enter has been pressed\n e.preventDefault();\n if (cursorCategory === \"CityState\") {\n this.setState((prevState) => ({\n city: [...prevState.city, searchResults.CityState[cursor]],\n }));\n } else if (cursorCategory === \"Zip Code\") {\n this.setState((prevState) => ({\n zip: [...prevState.zip, searchResults[\"Zip Code\"][cursor]],\n }));\n }\n }\n\n if (e.keyCode === 38) {\n // navigate up\n if (cursorCategory === \"CityState\") {\n if (cursor > 0) {\n this.setState((prevState) => ({ cursor: prevState.cursor - 1 }));\n }\n } else if (cursorCategory === \"Zip Code\") {\n if (cursor > 0) {\n this.setState((prevState) => ({ cursor: prevState.cursor - 1 }));\n } else if (cursor === 0 && Object.prototype.hasOwnProperty.call(searchResults, \"CityState\")) {\n this.setState({\n cursor: searchResults.CityState.length - 1,\n cursorCategory: \"CityState\",\n });\n }\n }\n } else if (e.keyCode === 40) {\n // navigate down\n if (cursorCategory === \"CityState\") {\n if (cursor < searchResults.CityState.length - 1) {\n this.setState((prevState) => ({ cursor: prevState.cursor + 1 }));\n } else if (\n cursor === searchResults.CityState.length - 1 &&\n Object.prototype.hasOwnProperty.call(searchResults, \"Zip Code\")\n ) {\n this.setState({ cursor: 0, cursorCategory: \"Zip Code\" });\n }\n } else if (cursorCategory === \"Zip Code\") {\n if (cursor < searchResults[\"Zip Code\"].length - 1) {\n this.setState((prevState) => ({ cursor: prevState.cursor + 1 }));\n }\n }\n }\n if (e.keyCode === 8 && locationValue.length === 1) {\n this.setState({ locationValue: \"\", searchResults: {} });\n }\n };\n\n render() {\n const {\n minPrice,\n maxPrice,\n minBedrooms,\n maxBedrooms,\n minBathrooms,\n maxBathrooms,\n city,\n zip,\n favoritesAndViews,\n viewsOnly,\n favoritesOnly,\n cityStateActive,\n cursor,\n cursorCategory,\n locationValue,\n searchResults,\n } = this.state;\n const dropDownMinMax = [\n { label: \"1\", value: \"1\" },\n { label: \"2\", value: \"2\" },\n { label: \"3\", value: \"3\" },\n { label: \"4\", value: \"4\" },\n { label: \"5\", value: \"5\" },\n { label: \"6\", value: \"6\" },\n { label: \"7\", value: \"7\" },\n { label: \"8\", value: \"8\" },\n { label: \"9\", value: \"9\" },\n { label: \"10\", value: \"10\" },\n ];\n\n return (\n
\n
\n this.toggleButtons(\"views_and_favorites\")}\n checked={favoritesAndViews}\n value={favoritesAndViews}\n label=\"Property Views & Favorites\"\n />\n this.toggleButtons(\"views\")}\n checked={viewsOnly}\n value={viewsOnly}\n label=\"Views only\"\n />\n this.toggleButtons(\"favorites\")}\n checked={favoritesOnly}\n value={favoritesOnly}\n label=\"Favorites only\"\n />\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n o.value === minBedrooms)}\n onChange={this.handleMinBedroomsChange}\n />\n -\n o.value === maxBedrooms)}\n onChange={this.handleMaxBedroomsChange}\n isClearable\n />\n
\n
\n
\n \n
\n o.value === minBathrooms)}\n onChange={this.handleMinBathroomsChange}\n isClearable\n />\n -\n o.value === maxBathrooms)}\n onChange={this.handleMaxBathroomsChange}\n isClearable\n />\n
\n
\n
\n this.fetchResults(e.target.value)}\n onKeyDown={this.handleKeyDown}\n value={locationValue}\n />\n {cityStateActive && (\n
\n
\n {Object.prototype.hasOwnProperty.call(searchResults, \"CityState\") && (\n \n )}\n {Object.prototype.hasOwnProperty.call(searchResults, \"Zip Code\") && (\n \n )}\n
\n
\n )}\n
\n {city.map((c) => (\n \n this.removeLocation(\"city\", c)}>City: {c}\n \n \n ))}\n {zip.map((z) => (\n \n this.removeLocation(\"zip\", z)}>Zip: {z}\n \n \n ))}\n
\n
\n
\n
\n );\n }\n}\n\nWebsiteSearchHistoryFilter.propTypes = {\n currentUserId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n selectedSearchHistory: PropTypes.shape().isRequired,\n};\n\nexport default WebsiteSearchHistoryFilter;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst TabButton = React.forwardRef(({ active, children, ...props }, ref) => (\n \n {children}\n \n));\n\nTabButton.propTypes = {\n active: PropTypes.bool,\n children: PropTypes.node.isRequired,\n};\n\nTabButton.defaultProps = {\n active: false,\n};\n\nexport default TabButton;\n","/* global tinyMCE */\n/* eslint-disable no-param-reassign */\nimport { createSlice, createAsyncThunk } from \"@reduxjs/toolkit\";\nimport { getExternalApi } from \"@shared/externalApi\";\nimport { caseTransformingAxios, responseDataToCamelCase } from \"@shared/v2/caseTransformingAxios\";\nimport { lowerCase, sortBy } from \"lodash\";\n\nexport const initialState = {\n apiUrl: \"\",\n archivePost: null,\n blogSettings: null,\n blogSettingsError: \"\",\n blogSettingsLoading: false,\n categories: [],\n categoriesError: \"\",\n categoriesLoading: false,\n idxConfiguration: {},\n idxConfigurationLoading: true,\n firstPostModalOpen: false,\n post: null,\n postError: \"\",\n postLoading: false,\n postPublishStatusCounts: {\n all: 0,\n archived: 0,\n drafts: 0,\n published: 0,\n },\n postSaved: false,\n posts: [],\n postsError: \"\",\n postsLoading: false,\n sharePost: null,\n tags: [],\n tagsError: \"\",\n tagsLoading: false,\n totalPages: 1,\n};\n\nconst transformPost = (post) => {\n const camelPost = responseDataToCamelCase(post);\n return {\n ...camelPost,\n createdBy: {\n avatar: camelPost.createdBy.avatar,\n firstName: camelPost.createdBy.firstName,\n lastName: camelPost.createdBy.lastName,\n uuid: camelPost.createdBy.uuid,\n },\n dateUpdated: camelPost.dateUpdated || camelPost.dateCreated,\n meta: camelPost.meta || { title: \"\", description: \"\" },\n };\n};\n\nconst getIDXConfiguration = createAsyncThunk(\"website/getIDXConfiguration\", (_, thunkApi) => {\n const userId = thunkApi.getState().layout.currentUser.id;\n return caseTransformingAxios\n .get(`/account/${userId}/idx_configuration.json`, { maxRedirects: 0 })\n .then((response) => ({\n ...response.data.data,\n domain: response.data.data.domain ? `https://${response.data.data.domain}` : \"\",\n }));\n});\n\nconst getPostPublishStatusCounts = createAsyncThunk(\"website/getPostPublishStatusCounts\", (_, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi.get(\"/Blog/PostPublishStatusCounts\").then((response) => response.data);\n});\n\nconst getBlogSettings = createAsyncThunk(\"website/getBlogSettings\", (_, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi.get(\"/Blog\").then((response) => response.data);\n});\n\nconst updateBlogSettings = createAsyncThunk(\"website/updateBlogSettings\", (blogSettings, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi.put(\"/Blog\", blogSettings).then((response) => response.data);\n});\n\nconst getPosts = createAsyncThunk(\"website/getPosts\", ({ page, itemsPerPage, params }, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi\n .get(`/Blog/Posts/${page}/${itemsPerPage}`, { params })\n .then((response) => response.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst getCategories = createAsyncThunk(\"website/getCategories\", (_, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi\n .get(\"/Category/false\")\n .then((response) => response.data.map((category) => ({ ...category, categoryUuid: category.uuid })));\n});\n\nconst upsertCategory = createAsyncThunk(\"website/upsertCategory\", (category, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi[category.uuid ? \"put\" : \"post\"](\n `/Category/${category.uuid ? \"Update\" : \"Create\"}Organization`,\n category,\n )\n .then((response) => ({ ...response.data, categoryUuid: response.data.uuid }))\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst deleteCategory = createAsyncThunk(\"website/deleteCategory\", (category, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi\n .delete(`/Category/${category.uuid}`)\n .then((res) => res.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst getTags = createAsyncThunk(\"website/getTags\", (_, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi\n .get(\"/Tag/false\")\n .then((response) => response.data.map((tag) => ({ ...tag, tagUuid: tag.uuid })));\n});\n\nconst upsertTag = createAsyncThunk(\"website/upsertTag\", (tag, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi[tag.uuid ? \"put\" : \"post\"](`/Tag/${tag.uuid ? \"Update\" : \"Create\"}Organization`, tag)\n .then((response) => ({ ...response.data, tagUuid: response.data.uuid }))\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst deleteTag = createAsyncThunk(\"website/deleteTag\", (tag, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi\n .delete(`/Tag/${tag.uuid}`)\n .then((res) => res.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst getPost = createAsyncThunk(\"website/getPost\", (uuid, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi.get(`/Post/Details/${uuid}`).then((response) => transformPost(response.data));\n});\n\nconst createPost = createAsyncThunk(\"website/createPost\", (post, thunkApi) => {\n const { apiUrl, blogSettings } = thunkApi.getState().website;\n const websiteApi = getExternalApi(apiUrl);\n return websiteApi\n .post(\"/Post/Create\", { createPost: true, blogUuid: blogSettings.uuid, ...post })\n .then((response) => response.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst updatePost = createAsyncThunk(\"website/updatePost\", (post, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n if (!tinyMCE.get(\"blog-post\").getContent({ format: \"text\" }).trim()) {\n return thunkApi.rejectWithValue({ content: true });\n }\n\n const newPost = new FormData();\n newPost.append(\"uuid\", post.uuid);\n newPost.append(\"title\", post.title);\n newPost.append(\"slug\", post.slug);\n newPost.append(\"content\", post.content);\n newPost.append(\"authorPersonUuid\", post.author.uuid);\n newPost.append(\"categoryUuids\", post.categories.map((category) => category.categoryUuid).join(\",\"));\n newPost.append(\"tagUuids\", post.tags.map((tag) => tag.tagUuid).join(\",\"));\n newPost.append(\"isPublished\", post.isPublished);\n newPost.append(\"datePublished\", post.datePublished || \"\");\n if (!post.cancelPublish) newPost.append(\"dateToPublish\", post.dateToPublish || \"\");\n if (post.cancelPublish) newPost.append(\"cancelPublish\", post.cancelPublish);\n if (post.featuredImageUrl && typeof post.featuredImageUrl !== \"string\") {\n newPost.append(\"featuredImage\", post.featuredImageUrl);\n }\n if (!post.featuredImageUrl) newPost.append(\"featuredImage\", \"\");\n newPost.append(\"featuredImageAltText\", post.featuredImageAltText || \"\");\n if (post.meta.title) newPost.append(\"meta.title\", post.meta.title);\n if (post.meta.description) newPost.append(\"meta.description\", post.meta.description);\n\n return websiteApi\n .put(\"/Post/Update\", newPost)\n .then((response) =>\n transformPost({ ...response.data, dateToPublish: post.cancelPublish ? \"\" : post.dateToPublish }),\n )\n .catch((err) =>\n thunkApi.rejectWithValue(\n typeof err.response.data === \"string\" ? err.response.data : err.response.data.errors.updatePost?.[0],\n ),\n );\n});\n\nconst archivePost = createAsyncThunk(\"website/archivePost\", (post, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n const newPost = { ...post, isArchived: !post.isArchived };\n if (newPost.isArchived) {\n newPost.dateArchived = new Date().toISOString();\n } else {\n newPost.dateArchived = null;\n }\n return websiteApi\n .put(`/Post/${post.isArchived ? \"ActivateArchived\" : \"Archive\"}/${post.uuid}`)\n .then(() => newPost);\n});\n\nconst duplicatePost = createAsyncThunk(\"website/duplicatePost\", (post, thunkApi) => {\n const websiteApi = getExternalApi(thunkApi.getState().website.apiUrl);\n return websiteApi\n .post(\"/Post/Duplicate\", post)\n .then((response) => response.data)\n .catch((err) => thunkApi.rejectWithValue(err.response?.data));\n});\n\nconst websiteSlice = createSlice({\n initialState,\n name: \"website\",\n reducers: {\n clearErrors: (state) => {\n state.blogSettingsError = \"\";\n state.categoriesError = \"\";\n state.tagsError = \"\";\n },\n setArchivePost(state, action) {\n state.archivePost = action.payload;\n },\n setSharePost(state, action) {\n state.sharePost = action.payload;\n },\n setPostSaved: (state, action) => {\n state.postSaved = action.payload;\n },\n setFirstPostModalOpen: (state, action) => {\n state.firstPostModalOpen = action.payload;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(getPostPublishStatusCounts.fulfilled, (state, action) => {\n state.postPublishStatusCounts = action.payload;\n });\n\n builder\n .addCase(getBlogSettings.pending, (state) => {\n state.blogSettingsLoading = true;\n })\n .addCase(getBlogSettings.fulfilled, (state, action) => {\n state.blogSettings = action.payload;\n state.blogSettingsLoading = false;\n })\n .addCase(getBlogSettings.rejected, (state) => {\n state.blogSettingsError = \"Whoops something went wrong.\";\n state.blogSettingsLoading = false;\n });\n\n builder\n .addCase(updateBlogSettings.pending, (state) => {\n state.blogSettingsError = \"\";\n state.blogSettingsLoading = true;\n })\n .addCase(updateBlogSettings.fulfilled, (state, action) => {\n // TODO: utilize payload once given by BE\n state.blogSettings = action.meta.arg;\n state.blogSettingsLoading = false;\n })\n .addCase(updateBlogSettings.rejected, (state) => {\n state.blogSettingsError = \"Whoops something went wrong.\";\n state.blogSettingsLoading = false;\n });\n\n builder\n .addCase(getIDXConfiguration.pending, (state) => {\n state.idxConfigurationLoading = true;\n })\n .addCase(getIDXConfiguration.fulfilled, (state, action) => {\n state.idxConfigurationLoading = false;\n state.idxConfiguration = action.payload || {};\n })\n .addCase(getIDXConfiguration.rejected, (state) => {\n state.idxConfigurationLoading = false;\n });\n\n builder\n .addCase(getPosts.pending, (state) => {\n state.postsLoading = true;\n state.postsError = \"\";\n })\n .addCase(getPosts.fulfilled, (state, action) => {\n state.posts = action.payload.items;\n state.totalPages = action.payload.totalPages;\n state.postsLoading = false;\n })\n .addCase(getPosts.rejected, (state, action) => {\n state.postsError =\n typeof action.payload === \"string\" ? action.payload : action.payload.errors.getPosts?.[0];\n state.postsLoading = false;\n });\n\n builder\n .addCase(getCategories.pending, (state) => {\n state.categoriesLoading = true;\n })\n .addCase(getCategories.fulfilled, (state, action) => {\n state.categories = action.payload;\n state.categoriesLoading = false;\n })\n .addCase(getCategories.rejected, (state, action) => {\n state.categoriesError =\n typeof action.payload === \"string\" ? action.payload : action.payload.errors.updateCategory?.[0];\n state.categoriesLoading = false;\n });\n\n builder\n .addCase(upsertCategory.pending, (state) => {\n state.categoriesError = \"\";\n })\n .addCase(upsertCategory.fulfilled, (state, { meta: { arg }, payload }) => {\n if (arg.uuid) {\n state.categories = state.categories.map((category) =>\n category.uuid === payload.uuid ? payload : category,\n );\n } else {\n state.categories = sortBy([...state.categories, payload], [(c) => lowerCase(c.category)]);\n }\n })\n .addCase(upsertCategory.rejected, (state, action) => {\n state.categoriesError =\n typeof action.payload === \"string\" ? action.payload : action.payload.errors.updateCategory?.[0];\n });\n\n builder.addCase(deleteCategory.fulfilled, (state, { meta: { arg } }) => {\n state.categories = state.categories.filter((category) => category.uuid !== arg.uuid);\n });\n\n builder\n .addCase(getTags.pending, (state) => {\n state.tagsLoading = true;\n })\n .addCase(getTags.fulfilled, (state, action) => {\n state.tags = action.payload;\n state.tagsLoading = false;\n })\n .addCase(getTags.rejected, (state, action) => {\n state.tagsError =\n typeof action.payload === \"string\" ? action.payload : action.payload.errors.updateTag?.[0];\n state.tagsLoading = false;\n });\n\n builder\n .addCase(upsertTag.pending, (state) => {\n state.tagsError = \"\";\n })\n .addCase(upsertTag.fulfilled, (state, { meta: { arg }, payload }) => {\n if (arg.uuid) {\n state.tags = state.tags.map((tag) => (tag.uuid === payload.uuid ? payload : tag));\n } else {\n state.tags = sortBy([...state.tags, payload], [(t) => lowerCase(t.tag)]);\n }\n })\n .addCase(upsertTag.rejected, (state, action) => {\n state.tagsError =\n typeof action.payload === \"string\" ? action.payload : action.payload.errors.updateTag?.[0];\n });\n\n builder.addCase(deleteTag.fulfilled, (state, { meta: { arg } }) => {\n state.tags = state.tags.filter((tag) => tag.uuid !== arg.uuid);\n });\n\n builder\n .addCase(getPost.pending, (state) => {\n state.postLoading = true;\n state.postSaved = false;\n state.post = null;\n })\n .addCase(getPost.fulfilled, (state, action) => {\n state.post = action.payload;\n state.postLoading = false;\n })\n .addCase(getPost.rejected, (state, action) => {\n state.postError =\n typeof action.payload === \"string\" ? action.payload : action.payload.errors.getPost?.[0];\n state.postLoading = false;\n });\n\n builder\n .addCase(updatePost.pending, (state) => {\n state.postError = \"\";\n state.postLoading = true;\n })\n .addCase(updatePost.fulfilled, (state, action) => {\n state.post = action.payload;\n state.postLoading = false;\n state.postSaved = true;\n state.firstPostModalOpen = action.payload.firstPostPublished || false;\n })\n .addCase(updatePost.rejected, (state, action) => {\n state.postError = action.payload;\n state.postLoading = false;\n });\n\n builder\n .addCase(archivePost.fulfilled, (state, action) => {\n if (action.payload.isArchived) {\n state.postPublishStatusCounts.archived += 1;\n if (action.payload.isPublished) state.postPublishStatusCounts.published -= 1;\n else state.postPublishStatusCounts.drafts -= 1;\n } else {\n state.postPublishStatusCounts.archived -= 1;\n state.postPublishStatusCounts.drafts += 1;\n }\n action.payload.isPublished = false;\n\n if (state.post?.uuid === action.payload.uuid) state.post = action.payload;\n state.posts = state.posts.map((post) => (post.uuid === action.payload.uuid ? action.payload : post));\n })\n .addCase(archivePost.rejected, (state, action) => {\n state.postError = action.payload;\n });\n\n builder\n .addCase(duplicatePost.pending, () => {})\n .addCase(duplicatePost.fulfilled, (state, action) => {\n state.postPublishStatusCounts.all += 1;\n state.postPublishStatusCounts.drafts += 1;\n state.posts = [action.payload, ...state.posts];\n })\n .addCase(duplicatePost.rejected, (state, action) => {\n state.postsError = action.payload;\n });\n },\n});\n\nexport {\n archivePost,\n createPost,\n deleteCategory,\n deleteTag,\n duplicatePost,\n getBlogSettings,\n getCategories,\n getIDXConfiguration,\n getPost,\n getPostPublishStatusCounts,\n getPosts,\n getTags,\n updateBlogSettings,\n updatePost,\n upsertCategory,\n upsertTag,\n};\n\nexport const { clearErrors, setArchivePost, setPostSaved, setSharePost, setFirstPostModalOpen } =\n websiteSlice.actions;\n\nexport default websiteSlice.reducer;\n","import { useSelector } from \"react-redux\";\n\nexport const useArchivePost = () => useSelector((state) => state.website.archivePost);\nexport const useBlogSettings = () => useSelector((state) => state.website.blogSettings);\nexport const useBlogSettingsError = () => useSelector((state) => state.website.blogSettingsError);\nexport const useBlogSettingsLoading = () => useSelector((state) => state.website.blogSettingsLoading);\nexport const useCategories = () => useSelector((state) => state.website.categories);\nexport const useCategoriesError = () => useSelector((state) => state.website.categoriesError);\nexport const useCategoriesLoading = () => useSelector((state) => state.website.categoriesLoading);\nexport const usePost = () => useSelector((state) => state.website.post);\nexport const usePostError = () => useSelector((state) => state.website.postError);\nexport const usePostLoading = () => useSelector((state) => state.website.postLoading);\nexport const usePostPublishStatusCounts = () => useSelector((state) => state.website.postPublishStatusCounts);\nexport const usePosts = () => useSelector((state) => state.website.posts);\nexport const usePostsError = () => useSelector((state) => state.website.postsError);\nexport const usePostsLoading = () => useSelector((state) => state.website.postsLoading);\nexport const usePostSaved = () => useSelector((state) => state.website.postSaved);\nexport const useSharePost = () => useSelector((state) => state.website.sharePost);\nexport const useTags = () => useSelector((state) => state.website.tags);\nexport const useTagsError = () => useSelector((state) => state.website.tagsError);\nexport const useTagsLoading = () => useSelector((state) => state.website.tagsLoading);\nexport const useTotalPages = () => useSelector((state) => state.website.totalPages);\nexport const useWebsiteApiUrl = () => useSelector((state) => state.website.apiUrl);\nexport const useWebsiteIDXUrl = () =>\n useSelector((state) => state.website.idxConfiguration.fullUrl || state.website.idxConfiguration.domain);\nexport const useWebsiteIDXLoading = () => useSelector((state) => state.website.idxConfigurationLoading);\nexport const useFirstPostModalOpen = () => useSelector((state) => state.website.firstPostModalOpen);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { EnvelopeSolidV6, FacebookCircleSolidV6, LinkSolidV6 } from \"@shared/v2/Icomoon\";\nimport { useWebsiteIDXUrl } from \"../../reducers/websiteReducer/selectors\";\nimport { setSnackbar } from \"../../reducers/snackbarReducer\";\n\nconst ShareButton = ({ children, icon, href, onClick }) => {\n let TagName = \"button\";\n if (href) TagName = \"a\";\n return (\n \n {icon} {children}\n \n );\n};\n\nShareButton.propTypes = {\n children: PropTypes.node.isRequired,\n href: PropTypes.string,\n icon: PropTypes.node.isRequired,\n onClick: PropTypes.func,\n};\n\nShareButton.defaultProps = {\n href: undefined,\n onClick: undefined,\n};\n\nconst SharePostModal = ({ onClose, post }) => {\n const dispatch = useDispatch();\n const websiteIDXUrl = useWebsiteIDXUrl();\n const url = `${websiteIDXUrl}/blog/${post?.slug}`;\n\n return (\n \n \n\n \n
\n \n
\n }\n href={`https://www.facebook.com/sharer/sharer.php?u=${url}`}\n >\n Facebook\n \n }\n href={`https://twitter.com/intent/tweet?text=${url}`}\n >\n X (Twitter)\n \n }\n href={`http://pinterest.com/pin/create/link/?url=${url}`}\n >\n Pinterest\n \n
\n
\n
\n \n
\n } href={`mailto:?subject=Test&body=${url}`}>\n Email\n \n }\n onClick={() =>\n window.copyTextToClipboard(url).then(() =>\n dispatch(\n setSnackbar({\n show: true,\n position: \"top\",\n text: \"Link copied\",\n schema: \"executed\",\n timeout: 5000,\n closeOnTimeout: () => dispatch(setSnackbar({ show: false })),\n }),\n ),\n )\n }\n >\n Copy Link\n \n
\n
\n
\n \n );\n};\n\nSharePostModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n post: PropTypes.shape(),\n};\n\nSharePostModal.defaultProps = {\n post: null,\n};\n\nexport default SharePostModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport Typography from \"@shared/v2/Typography\";\nimport { archivePost } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst ArchivePostModal = ({ onClose, post }) => {\n const dispatch = useDispatch();\n return (\n \n \n \n \n The blog post will no longer appear on any Brivity websites. You will be able to edit and publish\n the post in the future if you wish.\n \n Are you sure you want to archive this post?\n \n \n \n {\n dispatch(archivePost(post)).then(({ error }) => {\n if (!error) onClose();\n });\n }}\n >\n Yes, Archive\n \n \n \n );\n};\n\nArchivePostModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n post: PropTypes.shape(),\n};\n\nArchivePostModal.defaultProps = {\n post: null,\n};\n\nexport default ArchivePostModal;\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Typography from \"@shared/v2/Typography\";\nimport { ArrowRightSolidV6 } from \"@shared/v2/Icomoon\";\nimport { useFirstPostModalOpen } from \"../../reducers/websiteReducer/selectors\";\nimport { setFirstPostModalOpen } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst FirstPostModal = () => {\n const dispatch = useDispatch();\n const firstPostModalOpen = useFirstPostModalOpen();\n\n return (\n \n \n \n \n Blogging is a powerful way to showcase your expertise, attract potential clients, and boost your\n website’s visibility in search results. Consistently sharing valuable insights can help you build\n trust and grow your real estate business.\n \n \n If blogs haven’t been set up on your site yet, please{\" \"}\n {\n e.preventDefault();\n if (typeof window.Intercom === \"function\") {\n window.Intercom(\"show\");\n }\n }}\n >\n start a chat with support\n \n . We’re happy to help!\n \n \n \n {\n dispatch(setFirstPostModalOpen(false));\n }}\n >\n Awesome! Let’s keep going \n \n \n \n );\n};\n\nexport default FirstPostModal;\n","import React, { useEffect } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { Outlet, useLocation, useNavigate } from \"react-router\";\nimport Typography from \"@shared/v2/Typography\";\nimport TabButton from \"./Blog/TabButton\";\nimport {\n getCategories,\n getIDXConfiguration,\n getTags,\n setArchivePost,\n setSharePost,\n} from \"../reducers/websiteReducer/websiteReducer\";\nimport SharePostModal from \"./Post/SharePostModal\";\nimport { useArchivePost, useSharePost } from \"../reducers/websiteReducer/selectors\";\nimport ArchivePostModal from \"./Post/ArchivePostModal\";\nimport FirstPostModal from \"./Post/FirstPostModal\";\n\nconst WebsiteIndex = () => {\n const dispatch = useDispatch();\n const { pathname } = useLocation();\n const navigate = useNavigate();\n const sharePost = useSharePost();\n const archivePost = useArchivePost();\n\n useEffect(() => {\n dispatch(getIDXConfiguration());\n dispatch(getCategories());\n dispatch(getTags());\n }, []);\n\n return (\n
\n
\n Website\n
\n navigate(\"/blog\")}>\n Blog\n \n
\n
\n
\n \n
\n\n dispatch(setSharePost(null))} post={sharePost} />\n dispatch(setArchivePost(null))} post={archivePost} />\n \n
\n );\n};\n\nexport default WebsiteIndex;\n","import { getExternalApi } from \"@shared/externalApi\";\nimport { useEffect, useState } from \"react\";\nimport { useWebsiteApiUrl } from \"../../reducers/websiteReducer/selectors\";\n\nconst usePostCountForCategoryTag = ({ type, uuid }) => {\n const websiteApiUrl = useWebsiteApiUrl();\n const axios = getExternalApi(websiteApiUrl);\n const [count, setCount] = useState(\"\");\n\n useEffect(() => {\n if (uuid) {\n axios\n .get(`/Post/CountFor${type === \"tag\" ? \"Tag\" : \"Category\"}/${uuid}`)\n .then((res) => setCount(res.data || 0))\n .catch(() => setCount(0));\n }\n }, [type, uuid]);\n\n return count;\n};\n\nexport default usePostCountForCategoryTag;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport { clearErrors, upsertCategory, upsertTag } from \"../../reducers/websiteReducer/websiteReducer\";\nimport usePostCountForCategoryTag from \"../hooks/usePostCountForCategoryTag\";\nimport { useCategoriesError, useTagsError } from \"../../reducers/websiteReducer/selectors\";\n\nconst CategoryTagModal = ({ open, onClose, value: propValue }) => {\n const dispatch = useDispatch();\n const categoriesError = useCategoriesError();\n const tagsError = useTagsError();\n const [value, setValue] = useState(propValue);\n const type = Object.prototype.hasOwnProperty.call(value, \"tag\") ? \"tag\" : \"category\";\n const typeName = type === \"tag\" ? \"Tag\" : \"Category\";\n\n const count = usePostCountForCategoryTag({ type, uuid: value?.uuid });\n\n useEffect(() => {\n setValue(propValue);\n if (!open) dispatch(clearErrors());\n }, [open, propValue]);\n\n return (\n \n \n {type === \"tag\"\n ? \"Use specific, relevant tags to highlight key details of your post and connect related content. Tags help readers discover similar topics across different categories, improving content visibility.\"\n : \"Create broad, relevant categories to organize your blog and help readers find content easily. Avoid overly specific topics, focus on what your audience searches for, and keep categories limited for a clear, structured experience.\"}\n \n }\n closeButton\n />\n\n \n {value.uuid && (\n \n \n Editing this category will apply the change to {count} posts.\n \n }\n />\n )}\n {\n const { value: val } = e.target;\n setValue((o) => ({ ...o, [type]: val }));\n }}\n error={categoriesError || tagsError}\n />\n \n\n \n \n {\n const action = type === \"tag\" ? upsertTag : upsertCategory;\n dispatch(action(value)).then(({ error, payload }) => !error && onClose(payload));\n }}\n disabled={!value[type]?.trim()}\n >\n Save\n \n \n \n );\n};\n\nCategoryTagModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n value: PropTypes.shape(),\n};\n\nCategoryTagModal.defaultProps = {\n value: {},\n};\n\nexport default CategoryTagModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6, TrashCanSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst CategoryTagItem = ({ item, onEdit, onDelete }) => (\n
\n {item.tag || item.category}\n
\n \n \n \n \n \n \n
\n
\n);\n\nCategoryTagItem.propTypes = {\n item: PropTypes.shape().isRequired,\n onEdit: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n};\n\nexport default CategoryTagItem;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport { clearErrors, deleteCategory, deleteTag } from \"../../reducers/websiteReducer/websiteReducer\";\nimport usePostCountForCategoryTag from \"../hooks/usePostCountForCategoryTag\";\n\nconst DeleteCategoryTagModal = ({ open, onClose, value: propValue }) => {\n const dispatch = useDispatch();\n const [value, setValue] = useState(propValue);\n const type = Object.prototype.hasOwnProperty.call(value, \"tag\") ? \"tag\" : \"category\";\n const typeName = type === \"tag\" ? \"Tag\" : \"Category\";\n\n const count = usePostCountForCategoryTag({ type, uuid: value?.uuid });\n\n useEffect(() => {\n setValue(propValue);\n if (!open) dispatch(clearErrors());\n }, [open, propValue]);\n\n return (\n \n \n\n \n Are you sure you want to delete this category? It will be removed from ALL {count} posts that have\n been assigned this category.\n \n\n \n \n {\n const action = type === \"tag\" ? deleteTag : deleteCategory;\n dispatch(action(value)).then(({ error }) => !error && onClose());\n }}\n disabled={!value?.[type]?.trim()}\n >\n Yes, Delete\n \n \n \n );\n};\n\nDeleteCategoryTagModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n value: PropTypes.shape(),\n};\n\nDeleteCategoryTagModal.defaultProps = {\n value: {},\n};\n\nexport default DeleteCategoryTagModal;\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Typography from \"@shared/v2/Typography\";\nimport { PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport CategoryTagModal from \"./CategoryTagModal\";\nimport CategoryTagItem from \"./CategoryTagItem\";\nimport DeleteCategoryTagModal from \"./DeleteCategoryTagModal\";\nimport { updateBlogSettings } from \"../../reducers/websiteReducer/websiteReducer\";\nimport {\n useBlogSettings,\n useBlogSettingsError,\n useCategories,\n useTags,\n} from \"../../reducers/websiteReducer/selectors\";\n\nconst BlogSettingsModal = ({ open, onClose }) => {\n const dispatch = useDispatch();\n const initBlogSettings = useBlogSettings();\n const blogSettingsError = useBlogSettingsError();\n const tags = useTags();\n const categories = useCategories();\n const [blogSettings, setBlogSettings] = useState(initBlogSettings || { name: \"\", description: \"\" });\n const [catTagModel, setCatTagModel] = useState();\n const [deleteCatTagModel, setDeleteCatTagModel] = useState();\n\n useEffect(() => {\n setBlogSettings(initBlogSettings || { name: \"\", description: \"\" });\n }, [initBlogSettings]);\n\n return (\n \n \n \n
\n General\n setBlogSettings({ ...blogSettings, name: e.target.value })}\n />\n setBlogSettings({ ...blogSettings, description: e.target.value })}\n />\n
\n\n
\n\n
\n
\n Categories\n \n
\n\n \n Categories organize your blog posts into broad topics, helping readers easily find related\n content. Use categories to group similar posts together for a clear and structured blog\n experience.\n \n\n {categories.length === 0 && (\n \n No blog categories\n \n )}\n\n {categories.length > 0 && (\n
\n {categories.map((o, i) => (\n \n setCatTagModel(o)}\n onDelete={() => setDeleteCatTagModel(o)}\n />\n {i !== categories.length - 1 &&
}\n \n ))}\n
\n )}\n
\n\n
\n\n
\n
\n Tags\n \n
\n\n \n Tags are specific keywords that describe the details of your blog post and connect related\n content. Tags make it easier for readers to discover posts on similar topics across different\n categories.\n \n\n {tags.length === 0 && (\n \n No blog tags\n \n )}\n\n {tags.length > 0 && (\n
\n {tags.map((o, i) => (\n \n setCatTagModel(o)}\n onDelete={() => setDeleteCatTagModel(o)}\n />\n {i !== tags.length - 1 &&
}\n \n ))}\n
\n )}\n
\n \n \n {blogSettingsError && }\n
\n \n {\n dispatch(updateBlogSettings(blogSettings)).then(({ error }) => !error && onClose());\n }}\n >\n Save\n \n
\n
\n\n setCatTagModel()} value={catTagModel} />\n setDeleteCatTagModel()}\n value={deleteCatTagModel}\n />\n \n );\n};\n\nBlogSettingsModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default BlogSettingsModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Popover } from \"@shared/v2/Popover\";\nimport { AngleDownSolidV6, ClockFiveRegularV6 } from \"@shared/v2/Icomoon\";\n\nconst getPostStatusName = (post) => {\n if (post?.isArchived) {\n return \"Archived\";\n }\n if (post?.isPublished) {\n return \"Published\";\n }\n if (!post?.isPublished && !post?.isArchived && post?.dateToPublish) {\n return (\n \n Scheduled\n \n );\n }\n return \"Draft\";\n};\n\nconst getPostStatusClass = (post) => {\n if (post?.isArchived) {\n return \"tw-bg-gray-99\";\n }\n if (post?.isPublished) {\n return \"tw-bg-theme-primary\";\n }\n if (!post?.isPublished && !post?.isArchived && post?.dateToPublish) {\n return \"tw-bg-semantic-yellow-50\";\n }\n return \"tw-bg-neutral-gray-50\";\n};\n\nconst PostStatusPill = ({ isButton, post }) => {\n const TagName = isButton ? \"button\" : \"div\";\n return (\n \n {getPostStatusName(post)} {isButton && }\n \n );\n};\n\nPostStatusPill.propTypes = {\n isButton: PropTypes.bool,\n post: PropTypes.shape(),\n};\n\nPostStatusPill.defaultProps = {\n isButton: false,\n post: {},\n};\n\nconst PostStatus = ({ onChange, post }) => {\n const currentStatus = ;\n\n if (!onChange) {\n return currentStatus;\n }\n\n return (\n \n \n
{currentStatus}
\n
\n \n onChange({ isPublished: true, isArchived: false })}>\n \n \n onChange({ isPublished: false, isArchived: false })}>\n \n \n onChange({ isPublished: false, isArchived: true })}>\n \n \n \n
\n );\n};\n\nPostStatus.propTypes = {\n onChange: PropTypes.func,\n post: PropTypes.shape(),\n};\n\nPostStatus.defaultProps = {\n onChange: undefined,\n post: {},\n};\n\nexport default PostStatus;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport { useNavigate } from \"react-router\";\nimport { format } from \"date-fns\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { Popover } from \"@shared/v2/Popover\";\nimport {\n BoxArchiveSolidV6,\n CopySolidV6,\n EllipsisSolidV6,\n EyeSolidV6,\n LinkSolidV6,\n PencilSolidV6,\n ShareSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { TD, TR } from \"../../Reports/components/BusinessDashboard/Table/Table\";\nimport PostStatus from \"./PostStatus\";\nimport { archivePost, setArchivePost, setSharePost } from \"../../reducers/websiteReducer/websiteReducer\";\nimport { useWebsiteIDXUrl } from \"../../reducers/websiteReducer/selectors\";\nimport { setSnackbar } from \"../../reducers/snackbarReducer\";\n\nconst ShareTooltip = ({ content, show, trigger }) => {\n if (show) {\n return ;\n }\n return trigger;\n};\n\nShareTooltip.propTypes = {\n content: PropTypes.string.isRequired,\n show: PropTypes.bool.isRequired,\n trigger: PropTypes.element.isRequired,\n};\n\nconst PostRow = ({ post, setDuplicatePost }) => {\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const websiteIDXUrl = useWebsiteIDXUrl();\n\n return (\n \n \n {!post.featuredImageUrl && (\n
\n )}\n {post.featuredImageUrl && (\n \n )}\n \n \n navigate(`/post/${post.uuid}`)}\n >\n {post.title}\n \n \n \n
\n {post.categories?.map((c) => c.category).join(\", \") || (\n Uncategorized\n )}\n
\n \n \n
\n {post.tags?.map((t) => t.tag).join(\", \") || No tags}\n
\n \n \n
\n \n
\n \n \n {!post.isPublished && post.dateToPublish && format(post.dateToPublish, \"MMM. dd, yyyy\")}\n {post.isPublished && post.datePublished && format(post.datePublished, \"MMM. dd, yyyy\")}\n \n {format(post.dateCreated, \"MMM. dd, yyyy\")}\n \n
\n \n }\n content={`${post.author.first_name} ${post.author.last_name}`}\n />\n
\n \n \n \n \n \n \n \n \n \n } onClick={() => navigate(`/post/${post.uuid}`)}>\n Edit\n \n {!post.isArchived && (\n }\n disabled={!post.isPublished || !websiteIDXUrl}\n onClick={() => dispatch(setSharePost(post))}\n >\n Share\n \n }\n />\n )}\n } onClick={() => setDuplicatePost(post)}>\n Duplicate\n \n {!post.isArchived && (\n <>\n }\n disabled={!post.isPublished || !websiteIDXUrl}\n onClick={() =>\n window.copyTextToClipboard(`${websiteIDXUrl}/blog/${post.slug}`).then(() =>\n dispatch(\n setSnackbar({\n show: true,\n position: \"top\",\n text: \"Link copied\",\n schema: \"executed\",\n timeout: 5000,\n closeOnTimeout: () => dispatch(setSnackbar({ show: false })),\n }),\n ),\n )\n }\n >\n Copy Link\n \n }\n />\n }\n disabled={!post.isPublished || !websiteIDXUrl}\n onClick={() => window.open(`${websiteIDXUrl}/blog/${post.slug}`, \"_blank\")}\n >\n View Post\n \n }\n />\n } onClick={() => dispatch(setArchivePost(post))}>\n Archive\n \n \n )}\n {post.isArchived && (\n } onClick={() => dispatch(archivePost(post))}>\n Unarchive\n \n )}\n \n \n \n \n );\n};\n\nPostRow.propTypes = {\n post: PropTypes.shape().isRequired,\n setDuplicatePost: PropTypes.func.isRequired,\n};\n\nexport default PostRow;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useNavigate } from \"react-router\";\nimport { useDispatch } from \"react-redux\";\nimport { kebabCase } from \"lodash\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport { createPost } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst CreatePostModal = ({ open, onClose }) => {\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const [loading, setLoading] = useState(false);\n const [error, setError] = useState(\"\");\n const [post, setPost] = useState({ title: \"\" });\n\n const slug = useMemo(() => `/${kebabCase(post.title.replace(/[^\\w\\s-]+/g, \"\"))}`, [post.title]);\n\n useEffect(() => {\n if (open) {\n setError(\"\");\n setPost({ title: \"\" });\n }\n }, [open]);\n\n return (\n \n \n \n {\n const { value } = e.target;\n setPost((o) => ({ ...o, title: value }));\n }}\n helperText={error ? \"\" : `${post.title.trim().length} / 256 characters`}\n error={error}\n />\n
\n \n Slug{\" \"}\n }\n content=\"Site visitors will be able to see your post at this URL after publishing. Tip: You can edit your slug in the post editor!\"\n />\n \n }\n />\n {slug || \"Enter a title to view the page slug\"}\n
\n
\n \n \n {\n setLoading(true);\n dispatch(createPost(post)).then(({ error: err, payload }) => {\n setLoading(false);\n if (err) setError(\"A post with this title already exists! Please choose a unique title.\");\n else navigate(`/post/${payload.uuid}`);\n });\n }}\n isLoading={loading}\n >\n Create Post\n \n \n \n );\n};\n\nCreatePostModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default CreatePostModal;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport { duplicatePost } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst DuplicatePostModal = ({ onClose, post }) => {\n const [error, setError] = useState(\"\");\n const [title, setTitle] = useState(\"\");\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (post) {\n setError(\"\");\n setTitle(`Copy - ${post?.title}`);\n }\n }, [post]);\n\n return (\n \n \n \n setTitle(e.target.value)}\n error={error}\n />\n \n \n \n {\n setError(\"\");\n dispatch(duplicatePost({ postUuid: post.uuid, title })).then((state) => {\n if (state.error) setError(state.payload);\n if (!state.error) onClose();\n });\n }}\n >\n Duplicate\n \n \n \n );\n};\n\nDuplicatePostModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n post: PropTypes.shape(),\n};\n\nDuplicatePostModal.defaultProps = {\n post: null,\n};\n\nexport default DuplicatePostModal;\n","import React, { useEffect, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Pagination from \"@shared/v2/Pagination\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport TextToggle from \"@shared/v2/TextToggle\";\nimport Typography from \"@shared/v2/Typography\";\nimport {\n ArrowUpRightFromSquareSolidV6,\n GearSolidV6,\n MagnifyingGlassSolidV6,\n PlusSolidV6,\n SolidWindowSlash,\n SpinnerSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport BlogSettingsModal from \"./BlogSettingsModal\";\nimport {\n getBlogSettings,\n getPostPublishStatusCounts,\n getPosts,\n} from \"../../reducers/websiteReducer/websiteReducer\";\nimport { Table, TBody, TD, TH, THead, TR } from \"../../Reports/components/BusinessDashboard/Table/Table\";\nimport PostRow from \"./PostRow\";\nimport CreatePostModal from \"./CreatePostModal\";\nimport {\n useBlogSettings,\n usePostPublishStatusCounts,\n usePosts,\n usePostsLoading,\n useTotalPages,\n useWebsiteIDXLoading,\n useWebsiteIDXUrl,\n} from \"../../reducers/websiteReducer/selectors\";\nimport DuplicatePostModal from \"../Post/DuplicatePostModal\";\nimport Loading from \"../../Goals/components/Loader\";\n\nconst STATUS_OPTIONS = [\n { label: \"All\", value: \"all\" },\n { label: \"Published\", value: \"published\" },\n { label: \"Drafts\", value: \"drafts\" },\n { label: \"Archived\", value: \"archived\" },\n];\n\nconst ITEMS_PER_PAGE = 10;\n\nconst BlogIndex = () => {\n const dispatch = useDispatch();\n const idxLoading = useWebsiteIDXLoading();\n const idxUrl = useWebsiteIDXUrl();\n const blogSettings = useBlogSettings();\n const posts = usePosts();\n const postsLoading = usePostsLoading();\n const postPublishStatusCounts = usePostPublishStatusCounts();\n const totalPages = useTotalPages();\n const [page, setPage] = useState(1);\n const [publishStatus, setPublishStatus] = useState(\"all\");\n const [orderBy, setOrderBy] = useState(\"dateCreated\");\n const [sortOrder, setSortOrder] = useState(\"desc\");\n const [settingsOpen, setSettingsOpen] = useState(false);\n const [createPostOpen, setCreatePostOpen] = useState(false);\n const [duplicatePost, setDuplicatePost] = useState(null);\n\n const statusOptions = useMemo(\n () =>\n STATUS_OPTIONS.map((option) => ({\n ...option,\n label: `${option.label} ${postPublishStatusCounts[option.value] > 0 ? `(${postPublishStatusCounts[option.value]})` : \"\"}`,\n })),\n [postPublishStatusCounts],\n );\n\n useEffect(() => {\n if (!idxUrl) return;\n dispatch(getBlogSettings()).then(() => {\n dispatch(getPostPublishStatusCounts());\n });\n }, [idxUrl]);\n\n useEffect(() => {\n if (!blogSettings) return;\n dispatch(\n getPosts({\n page,\n itemsPerPage: ITEMS_PER_PAGE,\n params: { publishStatus, orderBy, sortOrder },\n }),\n );\n }, [blogSettings, page, publishStatus, orderBy, sortOrder]);\n\n const onSort = (field) => () => {\n if (field === orderBy) {\n setSortOrder(sortOrder === \"desc\" ? \"asc\" : \"desc\");\n } else {\n setOrderBy(field);\n setSortOrder(\"desc\");\n }\n };\n\n return (\n
\n
\n {idxLoading && }\n {!idxLoading && !idxUrl && (\n
\n
\n
\n \n
\n \n You don't have any Brivity websites set up yet.\n \n
\n \n Brivity offers customizable, responsive, IDX websites designed to capture leads and enhance\n your online presence. Features include eye-catching designs, mobile-friendly interfaces,\n home valuations, and an extensive property search. All of these features seamlessly\n integrate with your CRM!\n \n \n Please reach out to our support team to gain access to the blog and many other awesome\n website features!\n \n
\n
\n {\n window.Intercom?.(\"show\");\n }}\n >\n Start A Chat\n \n window.open(\"https://www.brivity.com/idx-websites\", \"_blank\")}\n size=\"medium\"\n schema=\"secondary\"\n className=\"tw-flex tw-items-center tw-gap-[6px]\"\n >\n Learn More \n \n
\n
\n
\n )}\n {idxUrl && (\n <>\n
\n
\n Team Blog\n \n Blog posts help you showcase expertise, attract buyers and sellers, and improve your Brivity\n website’s search rankings. Share market insights, tips, and local highlights to build trust,\n nurture leads, and offer valuable advice to clients.{\" \"}\n \n Learn more.\n \n \n
\n
\n setSettingsOpen(true)}\n >\n Settings\n \n setSettingsOpen(false)} />\n\n setCreatePostOpen(true)}\n >\n New Post\n \n setCreatePostOpen(false)} />\n
\n
\n
\n
\n
\n setPublishStatus(e.target.value)}\n />\n {postsLoading && }\n
\n }\n />\n
\n
\n
\n \n \n \n \n \n \n \n Status\n \n \n Publish Date\n \n \n Created\n \n \n \n \n \n {posts.length === 0 && (\n \n \n No posts yet\n \n \n )}\n {posts.map((post) => (\n \n ))}\n \n
\n TitleCategoriesTags\n Author\n \n
\n
\n \n )}\n {totalPages > 1 && (\n
\n setPage(p)} />\n
\n )}\n
\n\n setDuplicatePost(null)} />\n
\n );\n};\n\nexport default BlogIndex;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Typography from \"@shared/v2/Typography\";\nimport { ChevronDownSolidV6 } from \"@shared/v2/Icomoon\";\nimport PanelCollapse from \"@shared/v1/Panel/PanelCollapse\";\n\nconst CollapsiblePostCard = ({ action, children, title }) => {\n const [open, setOpen] = useState(true);\n\n return (\n
\n
\n
\n setOpen((o) => !o)}>\n \n \n {title}\n
\n {action}\n
\n \n
{children}
\n \n
\n );\n};\n\nCollapsiblePostCard.propTypes = {\n action: PropTypes.node,\n children: PropTypes.node.isRequired,\n title: PropTypes.string.isRequired,\n};\n\nCollapsiblePostCard.defaultProps = {\n action: null,\n};\n\nexport default CollapsiblePostCard;\n","import React, { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Typography from \"@shared/v2/Typography\";\nimport { CloudArrowUpSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst ImageDropTarget = ({ onChange }) => {\n const buttonRef = useRef(null);\n const inputRef = useRef(null);\n\n useEffect(() => {\n if (buttonRef.current) {\n let counter = 0;\n const onDrop = (e) => {\n e.preventDefault();\n buttonRef.current.classList.remove(\"!tw-border-theme-primary\", \"!tw-border-solid\");\n const file = e.dataTransfer.files?.[0];\n if (file?.type.startsWith(\"image/\")) onChange(e.dataTransfer.files?.[0]);\n };\n\n const onDragOver = (e) => {\n e.preventDefault();\n };\n\n const onDragEnter = (e) => {\n e.preventDefault();\n counter += 1;\n buttonRef.current.classList.add(\"!tw-border-theme-primary\", \"!tw-border-solid\");\n };\n\n const onDragLeave = (e) => {\n e.preventDefault();\n counter -= 1;\n if (counter === 0) buttonRef.current.classList.remove(\"!tw-border-theme-primary\", \"!tw-border-solid\");\n };\n\n buttonRef.current.addEventListener(\"dragover\", onDragOver);\n buttonRef.current.addEventListener(\"dragenter\", onDragEnter);\n buttonRef.current.addEventListener(\"dragleave\", onDragLeave);\n buttonRef.current.addEventListener(\"drop\", onDrop);\n\n return () => {\n buttonRef.current.removeEventListener(\"dragover\", onDragOver);\n buttonRef.current.removeEventListener(\"dragenter\", onDragEnter);\n buttonRef.current.removeEventListener(\"dragleave\", onDragLeave);\n buttonRef.current.removeEventListener(\"drop\", onDrop);\n };\n }\n return () => {};\n }, [buttonRef.current]);\n\n return (\n <>\n inputRef.current?.click()}\n >\n \n \n Click here to upload or drag and drop an image here.\n \n \n onChange(e.target.files?.[0])}\n />\n \n );\n};\n\nImageDropTarget.propTypes = {\n onChange: PropTypes.func.isRequired,\n};\n\nexport default ImageDropTarget;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Typography from \"@shared/v2/Typography\";\n\nconst FeaturedImageHelpModal = ({ open, onClose }) => (\n \n \n \n
\n How the Featured Image is Used\n \n
    \n
  • Thumbnail image for your post
  • \n
  • Main image at the top of the post page
  • \n
  • \n Image used for link previews when sharing on social media platforms or messaging applications\n (Open Graph Image)\n
  • \n
\n
\n
\n
\n Upload Limits and Recommendations\n \n
    \n
  • 5 MB upload limit
  • \n
  • Recommended maximum 1 MB file size
  • \n
  • Compress your images before uploading to increase your site performance
  • \n
  • 200 pixels by 200 pixels minimum size for social media sharing
  • \n
  • We recommend using images that are high quality and at least 2000 pixels wide
  • \n
  • \n Add a description of your image to the “Alt Image Text” field to improve SEO and user\n accessibility (ADA compliance)\n
  • \n
\n
\n
\n \n Disclaimer: Only upload images that you own or have proper permissions and licenses\n to use. Using images without permission can lead to fines, legal action, or the removal of your\n website.\n \n
\n \n);\n\nFeaturedImageHelpModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default FeaturedImageHelpModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Typography from \"@shared/v2/Typography\";\nimport Button from \"@shared/v2/Button\";\nimport TextLink from \"@shared/v2/TextLink\";\n\nconst SeoHelpModal = ({ open, onClose }) => (\n \n \n \n
\n Slug\n \n The slug is the part of your blog post's URL that comes after your website's main address.\n It helps readers and search engines understand what your post is about. For example, if your post is\n about "Top Tips for First-Time Homebuyers," your slug could be something like\n top-tips-first-time-homebuyers. Keep it short and easy to read.\n
\n
\n For the best SEO results, make sure your slug matches your post title as closely as possible! You\n can change your slug at any time, but any links you have shared for the post in the past will be\n broken. You can{\" \"}\n \n set up redirects\n {\" \"}\n in the website builder to help resolve this issue. Example:\n \"SEO\n
\n
\n
\n Meta Title\n \n The meta title is the clickable headline that appears in search engine results as well as the\n browser tab text. It's like your post's first impression! Make it clear and appealing to\n grab attention. For example, "5 Essential Homebuying Tips for First-Timers."\n \n
\n
\n Meta Description\n \n The meta description is a brief summary of your post that shows up under the title in search\n results. Think of it as your pitch to potential readers. Describe what they'll learn or gain by\n reading your blog, like: "Discover expert tips to make your first homebuying experience smooth\n and stress-free."\n \n
\n
\n \n \n \n \n \n);\n\nSeoHelpModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default SeoHelpModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Typography from \"@shared/v2/Typography\";\nimport Button from \"@shared/v2/Button\";\nimport { updatePost } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst UnsavedChangesModal = ({ blocker, post }) => {\n const dispatch = useDispatch();\n return (\n \n \n \n \n Your post has unsaved changes. If you proceed without saving your post, all edits will be lost.\n
\n
\n Would you like to save or discard your changes?\n
\n
\n \n \n {\n dispatch(updatePost(post)).then(({ error }) => {\n if (!error) blocker.proceed();\n });\n }}\n >\n Save & Exit\n \n \n \n );\n};\n\nUnsavedChangesModal.propTypes = {\n blocker: PropTypes.shape().isRequired,\n post: PropTypes.shape(),\n};\n\nUnsavedChangesModal.defaultProps = {\n post: null,\n};\n\nexport default UnsavedChangesModal;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextComboInput from \"@shared/v2/TextComboInput\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport Typography from \"@shared/v2/Typography\";\nimport { usePost } from \"../../reducers/websiteReducer/selectors\";\nimport { updatePost } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst EditingSlugsModal = ({ open, onClose }) => {\n const dispatch = useDispatch();\n const [shouldSkipHelp, setShouldSkipHelp] = useState(\n JSON.parse(localStorage.getItem(\"website:skipEditingSlugsHelp\")) || false,\n );\n const [page, setPage] = useState(1);\n const [error, setError] = useState(\"\");\n const initPost = usePost();\n const [slug, setSlug] = useState(initPost?.slug || \"\");\n\n useEffect(() => {\n setSlug(initPost?.slug || \"\");\n }, [initPost?.slug]);\n\n useEffect(() => {\n if (open) {\n setPage(shouldSkipHelp ? 2 : 1);\n setSlug(initPost?.slug || \"\");\n }\n }, [open]);\n\n useEffect(() => {\n localStorage.setItem(\"website:skipEditingSlugsHelp\", JSON.stringify(shouldSkipHelp));\n }, [shouldSkipHelp]);\n\n return (\n \n \n Tip: Make sure your slug and post title match as closely\n as possible for the best SEO.\n \n }\n closeButton\n />\n\n \n {page === 1 && (\n <>\n \n Any links you have shared for this post containing the current slug will not work after edits\n have been made. You can alleviate this issue by{\" \"}\n \n adding a page redirect\n {\" \"}\n in the website builder.\n \n
\n \n Example:\n \n \"SEO\n
\n \n )}\n {page === 2 && (\n setSlug(e.target.value)}\n error={error}\n />\n )}\n
\n\n \n
\n \n\n {page === 1 && (\n setShouldSkipHelp((s) => !s)}\n />\n )}\n\n {\n if (page === 1) setPage(2);\n else {\n if (!slug) {\n setError(\"Slug cannot be empty\");\n return;\n }\n setError(\"\");\n dispatch(updatePost({ ...initPost, slug })).then((state) => {\n if (state.error) setError(state.payload);\n else onClose();\n });\n }\n }}\n >\n {page === 1 ? \"Edit Slug\" : \"Save\"}\n \n
\n
\n \n );\n};\n\nEditingSlugsModal.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default EditingSlugsModal;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport { format, formatISO, isBefore, parse } from \"date-fns\";\nimport Alert from \"@shared/v2/Alert\";\nimport Button from \"@shared/v2/Button\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport Modal from \"@shared/v2/Modal\";\nimport { ClockFiveSolidV6 } from \"@shared/v2/Icomoon\";\nimport { updatePost } from \"../../reducers/websiteReducer/websiteReducer\";\n\nconst PublishDateModal = ({ onClose, post }) => {\n const [error, setError] = useState(\"test\");\n const [date, setDate] = useState(\"\");\n const dispatch = useDispatch();\n const isBeforeNow = date ? isBefore(date, new Date()) : false;\n\n useEffect(() => {\n if (post) {\n setError(\"\");\n setDate(post.dateToPublish);\n }\n }, [post]);\n\n return (\n \n \n \n {\n if (d && d.includes(\" \")) setDate(formatISO(parse(d, \"MM/dd/yyyy hh:mm a\", new Date())));\n else if (d) setDate(formatISO(parse(d, \"MM/dd/yyyy\", new Date())));\n else setDate(null);\n }}\n enableTimePicker\n startTimeEnabled\n startTimeClassName=\"tw-hidden\"\n />\n {error && }\n \n \n \n {\n setError(\"\");\n dispatch(\n updatePost({\n ...post,\n isPublished: isBeforeNow,\n dateToPublish: isBeforeNow ? null : date,\n datePublished: isBeforeNow ? date : null,\n }),\n ).then((state) => {\n if (state.error && state.payload.content) setError(\"Post content cannot be empty\");\n if (state.error && typeof state.payload === \"string\") setError(state.payload);\n if (!state.error) onClose();\n });\n }}\n disabled={!date}\n >\n {isBeforeNow ? (\n \"Publish\"\n ) : (\n <>\n Schedule \n \n )}\n \n \n \n );\n};\n\nPublishDateModal.propTypes = {\n onClose: PropTypes.func.isRequired,\n post: PropTypes.shape(),\n};\n\nPublishDateModal.defaultProps = {\n post: null,\n};\n\nexport default PublishDateModal;\n","/* global tinyMCE */\nimport React, { useCallback, useEffect, useMemo, useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { useNavigate, useParams } from \"react-router\";\nimport { useBeforeUnload, useBlocker } from \"react-router-dom\";\nimport { format } from \"date-fns\";\nimport { debounce, isEqual, xorBy } from \"lodash\";\nimport { remark } from \"remark\";\nimport remarkRehype from \"remark-rehype\";\nimport remarkGfm from \"remark-gfm\";\nimport rehypeSanitize from \"rehype-sanitize\";\nimport rehypeStringify from \"rehype-stringify\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport Alert from \"@shared/v2/Alert\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport BrivityTextEditor from \"@shared/BrivityTextEditor\";\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { Popover } from \"@shared/v2/Popover\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Typography from \"@shared/v2/Typography\";\nimport {\n ArrowLeftSolidV6,\n BoxArchiveSolidV6,\n CheckSolidV6,\n ChevronDownSolidV6,\n CircleInfoSolidV6,\n ClockFiveSolidV6,\n EllipsisSolidV6,\n EyeSolidV6,\n LinkSolidV6,\n PencilSolidV6,\n PlusSolidV6,\n ShareSolidV6,\n SpinnerThirdSolidV6,\n TriangleExclamationSolidV6,\n XmarkSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport { getExternalApi } from \"@shared/externalApi\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\nimport {\n archivePost,\n getPost,\n setArchivePost,\n setPostSaved,\n setSharePost,\n updatePost,\n} from \"../../reducers/websiteReducer/websiteReducer\";\nimport CollapsiblePostCard from \"./CollapsiblePostCard\";\nimport ImageDropTarget from \"./ImageDropTarget\";\nimport {\n useCategories,\n usePost,\n usePostError,\n usePostLoading,\n usePostSaved,\n useTags,\n useWebsiteApiUrl,\n useWebsiteIDXUrl,\n} from \"../../reducers/websiteReducer/selectors\";\nimport PostStatus from \"../Blog/PostStatus\";\nimport CategoryTagModal from \"../Blog/CategoryTagModal\";\nimport FeaturedImageHelpModal from \"./FeaturedImageHelpModal\";\nimport SeoHelpModal from \"./SeoHelpModal\";\nimport UnsavedChangesModal from \"./UnsavedChangesModal\";\nimport EditingSlugsModal from \"./EditingSlugsModal\";\nimport Loading from \"../../Goals/components/Loader\";\nimport { setSnackbar } from \"../../reducers/snackbarReducer\";\nimport PublishDateModal from \"./PublishDateModal\";\n\nconst useTeamPeople = () => {\n const [data, setData] = useState([]);\n\n useEffect(() => {\n caseTransformingAxios.get(\"/website/team_people\").then((res) => setData(res.data));\n }, []);\n\n return data;\n};\n\nconst PostIndex = () => {\n const dispatch = useDispatch();\n const navigate = useNavigate();\n const { uuid } = useParams();\n const apiUrl = useWebsiteApiUrl();\n const categories = useCategories();\n const errors = usePostError();\n const initialPost = usePost();\n const loading = usePostLoading();\n const postSaved = usePostSaved();\n const tags = useTags();\n const websiteIDXUrl = useWebsiteIDXUrl();\n const [post, setPost] = useState(initialPost);\n const [categoryTagModel, setCategoryTagModel] = useState();\n const [featuredImageModalIsOpen, setFeaturedImageModalIsOpen] = useState(false);\n const [seoModalIsOpen, setSeoModalIsOpen] = useState(false);\n const [editSlugModalIsOpen, setEditSlugModalIsOpen] = useState(false);\n const [isPublishModalOpen, setIsPublishModalOpen] = useState(null);\n const teamPeople = useTeamPeople();\n const isScheduled = !post?.isPublished && !post?.isArchived && post?.dateToPublish;\n\n const hasChanges = !isEqual(post, initialPost);\n\n const onBeforeUnload = useCallback(\n (e) => {\n if (!hasChanges) return;\n e.returnValue =\n \"Your post has unsaved changes. If you proceed without saving your post, all edits will be lost.\\n Would you like to save or discard your changes?\";\n },\n [hasChanges],\n );\n\n const onFileUpload = useCallback((cb, value, meta) => {\n if (meta.filetype === \"image\") {\n const input = document.createElement(\"input\");\n input.type = \"file\";\n input.accept = \"image/*\";\n input.onchange = (e) => {\n const websiteApi = getExternalApi(apiUrl);\n const formData = new FormData();\n formData.append(\"postUuid\", uuid);\n formData.append(\"file\", e.target.files[0]);\n websiteApi\n .put(\"/PostAsset\", formData)\n .then((response) => cb(response.data, { width: \"100%\", height: \"\" }));\n };\n input.click();\n }\n }, []);\n\n // Handle browser navigation\n useBeforeUnload(onBeforeUnload, { capture: true });\n\n // Handle internal navigation\n const blocker = useBlocker(\n ({ currentLocation, nextLocation }) => hasChanges && currentLocation.pathname !== nextLocation.pathname,\n );\n\n useEffect(() => {\n setPost(initialPost);\n }, [initialPost]);\n\n useEffect(() => {\n if (uuid) dispatch(getPost(uuid));\n }, [uuid]);\n\n const onChange = useMemo(\n () =>\n debounce((changes) => {\n if (changes) dispatch(setPostSaved(false));\n }, 600),\n [],\n );\n\n useEffect(() => {\n onChange(hasChanges);\n }, [hasChanges]);\n\n const setCategory = (category) =>\n setPost((p) => ({ ...p, categories: xorBy(p.categories, [category], \"categoryUuid\") }));\n const setTag = (tag) => setPost((p) => ({ ...p, tags: xorBy(p.tags, [tag], \"tagUuid\") }));\n\n return (\n
\n
\n
\n
\n
\n navigate(-1)}>\n \n \n Post\n
\n
\n \n Written by\n \n
\n \n \n \n \n \n \n \n \n {teamPeople.map((p) => (\n setPost((t) => ({ ...t, author: { ...t.author, ...p.meta } }))}\n >\n
\n \n {p.label}\n
\n \n ))}\n
\n
\n
\n
\n
\n
\n
\n {\n const title = e.target.value;\n setPost((o) => ({ ...o, title }));\n }}\n />\n
\n
\n {\n const html = remark()\n .use([remarkGfm, remarkRehype, rehypeSanitize, rehypeStringify])\n .processSync(text || \"\")\n .toString();\n tinyMCE.activeEditor.execCommand(\"mceInsertContent\", false, html);\n }}\n />\n }\n >\n
\n {loading && }\n {errors?.content && (\n \n )}\n {post && (\n {\n editor.on(\n \"input NodeChange\",\n debounce(() => setPost((p) => ({ ...p, content: editor.getContent() })), 500),\n );\n },\n }}\n />\n )}\n
\n \n
\n
\n \n {!loading && !postSaved && hasChanges && (\n \n Unsaved changes \n \n )}\n {loading && (\n \n Saving...\n \n \n )}\n {!loading && postSaved && (\n \n Saved \n \n )}\n \n }\n >\n
\n
\n
\n \n Status\n \n \n
\n {!isScheduled && (\n
\n \n {post?.dateArchived || !post?.isPublished ? \"Last \" : \"\"}Published\n \n \n {post?.datePublished ? format(post.datePublished, \"MM/dd/yyyy 'at' hh:mm a\") : \"—\"}\n \n
\n )}\n {isScheduled && (\n
\n \n Scheduled For\n \n \n {format(post.dateToPublish, \"MM/dd/yyyy 'at' hh:mm a\")}\n \n
\n )}\n
\n \n Last Modified\n \n \n {post?.dateUpdated ? format(post.dateUpdated, \"MM/dd/yyyy\") : \"—\"}\n \n
\n {post?.dateArchived && (\n
\n \n Archived\n \n \n {format(post.dateArchived, \"MM/dd/yyyy\")}\n \n
\n )}\n
\n
\n \n \n \n \n \n \n \n }\n onClick={() =>\n window.copyTextToClipboard(`${websiteIDXUrl}/blog/${post?.slug}`).then(() =>\n dispatch(\n setSnackbar({\n show: true,\n position: \"top\",\n text: \"Link copied\",\n schema: \"executed\",\n timeout: 5000,\n closeOnTimeout: () => dispatch(setSnackbar({ show: false })),\n }),\n ),\n )\n }\n disabled={!post?.isPublished || !websiteIDXUrl}\n >\n Copy Link\n \n }\n onClick={() => window.open(`${websiteIDXUrl}/blog/${post?.slug}`, \"_blank\")}\n disabled={!post?.isPublished || !websiteIDXUrl}\n >\n View Post\n \n }\n onClick={() => dispatch(setSharePost(post))}\n disabled={!post?.isPublished || !websiteIDXUrl}\n >\n Share\n \n {!post?.isArchived && (\n } onClick={() => dispatch(setArchivePost(post))}>\n Archive\n \n )}\n {post?.isArchived && (\n } onClick={() => dispatch(archivePost(post))}>\n Unarchive\n \n )}\n \n \n dispatch(updatePost(post))}\n disabled={!hasChanges}\n >\n Save\n \n
\n \n dispatch(\n updatePost({\n ...post,\n cancelPublish: post.isPublished,\n isPublished: !post.isPublished,\n }),\n )\n }\n >\n {post?.isPublished ? \"Unpublish\" : \"Publish\"}\n \n \n \n \n \n \n \n \n } onClick={() => setIsPublishModalOpen(post)}>\n {!post?.isPublished && post?.dateToPublish ? \"Reschedule Publish\" : \"Set Publish Date\"}\n \n {!post?.isPublished && post?.dateToPublish && (\n }\n onClick={() => {\n dispatch(updatePost({ ...post, cancelPublish: true }));\n }}\n >\n Cancel Publish\n \n )}\n \n \n
\n
\n
\n \n setFeaturedImageModalIsOpen(true)}>\n Help\n \n }\n >\n
\n {post?.featuredImageUrl && (\n
\n \n
\n setPost((p) => ({ ...p, featuredImageUrl: null }))}\n >\n Delete\n \n {\n const input = document.createElement(\"input\");\n input.type = \"file\";\n input.accept = \"image/*\";\n input.onchange = (e) => {\n const featuredImageUrl = e.target.files[0];\n setPost((p) => ({ ...p, featuredImageUrl }));\n };\n input.click();\n }}\n >\n Replace\n \n
\n
\n )}\n {!post?.featuredImageUrl && (\n setPost((p) => ({ ...p, featuredImageUrl: file }))} />\n )}\n \n Alt Text{\" \"}\n }\n content=\"Add a description to images on your posts to improve SEO and make your website more ADA compliant.\"\n />\n \n }\n disabled={!post?.featuredImageUrl}\n onChange={(e) => {\n const featuredImageAltText = e.target.value || \"\";\n setPost((p) => ({ ...p, featuredImageAltText }));\n }}\n value={post?.featuredImageAltText || \"\"}\n />\n
\n \n setCategoryTagModel({ category: \"\" })}>\n Add\n \n }\n >\n
\n {categories.length === 0 && (\n \n You have not created any blog categories\n \n )}\n {categories.map((category) => (\n c.categoryUuid === category.uuid)}\n onChange={() => setCategory(category)}\n />\n ))}\n
\n \n setCategoryTagModel({ tag: \"\" })}>\n Add\n \n }\n >\n
\n {tags.length === 0 && (\n \n You have not created any blog tags\n \n )}\n {tags.map((tag) => (\n t.tagUuid === tag.uuid)}\n onChange={() => setTag(tag)}\n />\n ))}\n
\n \n setSeoModalIsOpen(true)}>\n Help\n \n }\n >\n
\n
\n \n
{post?.slug}
\n setEditSlugModalIsOpen(true)}>\n Edit \n \n
\n {\n const title = e.target.value;\n setPost((p) => ({ ...p, meta: { ...p.meta, title } }));\n }}\n />\n {\n const description = e.target.value;\n setPost((p) => ({ ...p, meta: { ...p.meta, description } }));\n }}\n />\n
\n \n
\n\n \n\n setFeaturedImageModalIsOpen(false)}\n />\n\n {\n if (catTag?.category) setCategory(catTag);\n if (catTag?.tag) setTag(catTag);\n setCategoryTagModel();\n }}\n />\n\n setSeoModalIsOpen(false)} />\n\n setEditSlugModalIsOpen(false)} />\n\n setIsPublishModalOpen(null)} />\n
\n );\n};\n\nexport default PostIndex;\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport { RouterProvider } from \"react-router\";\nimport { createBrowserRouter, createRoutesFromElements, Navigate, Route } from \"react-router-dom\";\nimport WebsiteIndex from \"./WebsiteIndex\";\nimport BlogIndex from \"./Blog/BlogIndex\";\nimport PostIndex from \"./Post/PostIndex\";\n\nconst WebsiteApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n const router = createBrowserRouter(\n createRoutesFromElements(\n }>\n } />\n } />\n } />\n } />\n ,\n ),\n { basename: \"/website\" },\n );\n\n return (\n \n \n \n );\n};\n\nexport default WebsiteApp;\n","import React, { useState, useEffect } from \"react\";\n\nimport EmailModal from \"./EmailModal\";\nimport { formatListing, getUserInfoForSend } from \"./service\";\nimport Button from \"@shared/v2/Button\";\nimport { ShareFromSquareSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst IndexSendListings = ({ listing }) => {\n const [modalOpen, setModalOpen] = useState(false);\n const [leads, setLeads] = useState([]);\n const [userInfo, setUserInfo] = useState({});\n const [selectAllChecked, setSelectAllChecked] = useState(false);\n\n const isDisabled = selectAllChecked || leads.length === 0;\n\n useEffect(() => {\n const DROPDOWN_CLOSE_EVENT = \"select-opt:selected\";\n const LEAD_SELECTED_EVENT = \"lead-row:selected\";\n\n const updateSelectedLeads = (e) => {\n if (document.getElementById(\"is-all-selected\").value === \"true\") {\n setSelectAllChecked(true);\n return;\n }\n\n const selected = getSelectedLeads();\n setSelectAllChecked(false);\n setLeads(selected);\n };\n\n window.addEventListener(DROPDOWN_CLOSE_EVENT, updateSelectedLeads);\n window.addEventListener(LEAD_SELECTED_EVENT, updateSelectedLeads);\n\n return () => {\n window.removeEventListener(DROPDOWN_CLOSE_EVENT, updateSelectedLeads);\n window.removeEventListener(LEAD_SELECTED_EVENT, updateSelectedLeads);\n };\n }, []);\n\n useEffect(() => {\n const get = async () => {\n const info = await getUserInfoForSend();\n setUserInfo(info);\n };\n\n get();\n }, []);\n\n return (\n <>\n \n {modalOpen && (\n setModalOpen(false)}\n />\n )}\n \n );\n};\n\nexport default IndexSendListings;\n\nconst getSelectedLeads = () => {\n const rows = document.querySelectorAll(\"table.all-people-table input:checked\") || [];\n const leads = [];\n rows.forEach((r) => {\n const row = r.closest(\"tr\");\n const lead = {\n personId: row.getAttribute(\"data-person-id\"),\n email: row.getAttribute(\"data-primary-email\"),\n fullName: row.getAttribute(\"data-full-name\"),\n };\n\n if (lead.personId && lead.email && lead.fullName) {\n leads.push(lead);\n }\n });\n\n return leads;\n};\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { reorderNotesBasedOnStarred } from \"../../../utils/helpers\";\nimport NoteCard from \"../../../../PersonDetail/components/notes/NoteCard\";\nimport { DeleteNoteModal, EditNoteModal } from \"../helpers/forms\";\nimport { SquarePenSolidV6 } from \"../../../../shared/v2/Icomoon\";\nimport * as actions from \"../actions/notesActionCreators\";\n\nconst mapStateToProps = (state) => ({\n currentUser: state.notesData.current_user,\n notes: state.notesData.notes,\n notableType: state.notesData.notableType,\n notableId: state.notesData.notableId,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n createNote: (note) => dispatch(actions.createNote(note)),\n updateNote: (note) => dispatch(actions.updateNote(note)),\n deleteNote: (note) => dispatch(actions.deleteNote(note)),\n toggleStarred: (note) => dispatch(actions.toggleStarred(note)),\n toggleVisibility: (note) => dispatch(actions.toggleExternallyVisible(note)),\n});\n\nconst NotesIndex = ({\n createNote,\n currentUser,\n deleteNote,\n notableId,\n notableType,\n notes,\n toggleStarred,\n toggleVisibility,\n updateNote,\n}) => {\n const [showCreateForm, setShowCreateForm] = useState(false);\n const [showEditForm, setShowEditForm] = useState(false);\n const [showDeleteForm, setShowDeleteForm] = useState(false);\n\n return (\n
\n {currentUser.account_id != null && (\n setShowCreateForm(true)}\n >\n \n Create New Note\n \n )}\n\n {showCreateForm && (\n setShowCreateForm(false)}\n updateNote={createNote}\n />\n )}\n\n {showEditForm && (\n setShowEditForm(false)}\n onDelete={() => setShowDeleteForm(showEditForm)}\n updateNote={updateNote}\n />\n )}\n\n {showDeleteForm && (\n setShowDeleteForm(false)}\n onDelete={() => {\n deleteNote(showDeleteForm);\n setShowDeleteForm(false);\n setShowEditForm(false);\n }}\n />\n )}\n\n {reorderNotesBasedOnStarred(notes).map((note) => (\n setShowDeleteForm(note)}\n onEdit={() => setShowEditForm(note)}\n onStar={() => toggleStarred(note)}\n onVisible={() => toggleVisibility(note)}\n />\n ))}\n
\n );\n};\n\nNotesIndex.propTypes = {\n createNote: PropTypes.func.isRequired,\n currentUser: PropTypes.shape({ account_id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]) })\n .isRequired,\n deleteNote: PropTypes.func.isRequired,\n notableId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n notableType: PropTypes.string.isRequired,\n notes: PropTypes.arrayOf(PropTypes.shape()),\n toggleStarred: PropTypes.func.isRequired,\n toggleVisibility: PropTypes.func.isRequired,\n updateNote: PropTypes.func.isRequired,\n};\n\nNotesIndex.defaultProps = {\n notes: [],\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(NotesIndex);\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../../../store/configureStore\";\nimport NotesIndex from \"../components/NotesIndex\";\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nconst NotesApp = (props) => {\n const store = useMemo(\n () =>\n configureStore({\n notesData: {\n ...props,\n showCreateForm: false,\n showEditForm: false,\n showDeleteForm: false,\n hasError: false,\n errorMessage: null,\n starred: false,\n externallyVisible: true,\n },\n }),\n [],\n );\n return (\n \n \n \n );\n};\n\nexport default NotesApp;\n","import React from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\nimport Button from \"../../shared/v2/Button\";\nimport TextInput from \"../../shared/v2/TextInput/TextInput\";\nimport Dropdown from \"../../shared/v2/Dropdown/Dropdown\";\n\nconst SectionHeader = ({ title, topMargin = true }) => (\n
\n
\n {title}\n
\n
\n);\n\nSectionHeader.propTypes = {\n title: PropTypes.string.isRequired,\n topMargin: PropTypes.bool,\n};\n\nSectionHeader.defaultProps = {\n topMargin: true,\n};\n\nclass TwilioTrustHub extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n form: {\n business_name: props.trustHub.business_name,\n address_street: props.trustHub.address_street,\n address_street_secondary: props.trustHub.address_street_secondary,\n address_city: props.trustHub.address_city,\n address_region: props.trustHub.address_region,\n address_postal_code: props.trustHub.address_postal_code,\n address_country: props.trustHub.address_country || \"US\",\n business_type: props.trustHub.business_type,\n website_url: props.trustHub.website_url || props.trustHub.default_website_url,\n auth_rep_first_name: props.trustHub.auth_rep_first_name,\n auth_rep_last_name: props.trustHub.auth_rep_last_name,\n auth_rep_title: props.trustHub.auth_rep_title,\n auth_rep_email: props.trustHub.auth_rep_email,\n auth_rep_phone: props.trustHub.auth_rep_phone,\n ein: props.trustHub.ein,\n sole_prop_phone_number: props.trustHub.sole_prop_phone_number,\n required: props.trustHub.required,\n },\n registrationComplete: props.trustHub.registration_complete,\n saving: false,\n errors: [],\n success: false,\n };\n }\n\n updateState = (k, v) => {\n const { form } = this.state;\n if (k === \"address_country\") {\n form.required = v === \"US\";\n }\n this.setState((prevState) => ({ ...prevState, form: { ...form, [k]: v } }));\n };\n\n setEin = (ein) => {\n const { form } = this.state;\n const formattedEin = ein.replace(/\\s/g, \"\");\n this.setState((prevState) => ({ ...prevState, form: { ...form, ein: formattedEin } }));\n };\n\n saveChanges = (submitOrSave = \"save\") => {\n // We avoid destructuring to produce a copy of the object, as it will be mutated\n // eslint-disable-next-line react/destructuring-assignment\n const form = { ...this.state.form };\n const { accountId } = this.props;\n const allowEin = this.allowEin();\n\n // Remove value if not allowed\n if (!allowEin) {\n form.ein = null;\n } else {\n form.sole_prop_phone_number = null;\n form.address_street_secondary = null;\n }\n\n // Adjust required\n form.required = this.forUS();\n\n const path = submitOrSave === \"save\" ? \"/twilio_trust_hub\" : \"/twilio_trust_hub/submit\";\n\n this.setState({ saving: true, submitOrSave }, () => {\n axios\n .post(path, {\n account_id: accountId,\n twilio_trust_hub: form,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((resp) => {\n this.setState({\n saving: false,\n submitOrSave: null,\n errors: [],\n registrationComplete: resp.data.registration_complete,\n success: true,\n });\n })\n .catch((err) => {\n this.setState({ saving: false, errors: err.response.data.errors });\n });\n });\n };\n\n submitForReview = () => {\n const { form } = this.state;\n const { accountId } = this.props;\n this.setState({ saving: true }, () => {\n axios\n .post(\"/twilio_trust_hub/submit\", {\n account_id: accountId,\n twilio_trust_hub: form,\n authenticity_token: ReactOnRails.authenticityToken(),\n })\n .then((resp) => {\n this.setState({\n saving: false,\n errors: [],\n registrationComplete: resp.data.registration_complete,\n success: true,\n });\n })\n .catch((err) => {\n this.setState({ saving: false, errors: err.response.data.errors });\n });\n });\n };\n\n // We add this here just to encapsulate the available data\n // eslint-disable-next-line class-methods-use-this\n countryOptions() {\n return [\n { value: null, label: \"Select a country\" },\n { value: \"US\", label: \"United States\" },\n { value: \"Other\", label: \"Other\" },\n ];\n }\n\n allowedBusinessTypes() {\n const { allowedBusinessTypes } = this.props;\n return [\n { value: \"\", label: \"Select your business type\" },\n ...allowedBusinessTypes.map((type) => ({ value: type, label: type })),\n ];\n }\n\n allowEin() {\n // This is hardcoded based on the backend value. If that name changes, this has to change too.\n const { form } = this.state;\n return (\n form.business_type !== null && form.business_type !== \"\" && form.business_type !== \"Sole Proprietorship\"\n );\n }\n\n forUS() {\n const { form } = this.state;\n return form.address_country === \"US\";\n }\n\n renderShortForm = () => {\n const { form, saving, submitOrSave, success, errors } = this.state;\n const countryOptions = this.countryOptions();\n\n return (\n <>\n {errors.map((e) => (\n
\n
\n Error: {e}\n
\n
\n ))}\n\n {success && (\n
\n
\n Changes Saved Successfully\n
\n
\n )}\n
\n
\n option.value === form.address_country)}\n onChange={(option) => this.updateState(\"address_country\", option.value)}\n options={countryOptions}\n />\n {form.address_country === \"Other\" && (\n
\n This is the only information required for non-US-based accounts. If you have any questions,\n please reach out to support if you need to change it.\n
\n )}\n
\n
\n
\n
\n this.saveChanges(\"submit\")}\n >\n {saving && submitOrSave === \"submit\" ? (\n \n Submitting \n \n \n ) : (\n SUBMIT\n )}\n \n
\n
\n \n );\n };\n\n renderForm = () => {\n const { form, saving, submitOrSave, success, errors } = this.state;\n\n const allowedBusinessTypes = this.allowedBusinessTypes();\n const countryOptions = this.countryOptions();\n const displayEin = this.allowEin();\n const displayOtpPhone = !displayEin;\n const displayAddressSecondLine = displayOtpPhone;\n\n return (\n
\n
\n
\n
\n option.value === form.address_country)}\n onChange={(option) => this.updateState(\"address_country\", option.value)}\n options={countryOptions}\n />\n {form.address_country === \"Other\" && (\n
\n This is the only information required for non-US-based accounts. If you have any questions,\n please reach out to support if you need to change it.\n
\n )}\n
\n
\n
\n\n
\n
\n
\n this.updateState(\"business_name\", e.target.value)}\n helperText=\"Enter the exact legal business name of your business as registered with the government. For Sole Proprietor businesses, your business name is usually your first and last name.\"\n />\n
\n
\n
\n\n
\n
\n
\n this.updateState(\"address_street\", e.target.value)}\n />\n
\n
\n\n {displayAddressSecondLine && (\n
\n
\n this.updateState(\"address_street_secondary\", e.target.value)}\n />\n
\n
\n )}\n
\n\n
\n
\n
\n this.updateState(\"address_city\", e.target.value)}\n />\n
\n
\n\n
\n
\n this.updateState(\"address_region\", e.target.value)}\n />\n
\n
\n
\n\n
\n
\n
\n this.updateState(\"address_postal_code\", e.target.value)}\n />\n
\n
\n
\n\n
\n
\n
\n this.updateState(\"website_url\", e.target.value)}\n />\n
\n
\n
\n\n
\n \n\n
\n
\n

Notice for US customers

\n

\n US customers who have a Tax ID need to register their\n business to send text messages.\n

\n

\n US customers who do not have a Tax ID need to register\n as a Sole Proprietor brand.\n

\n
\n
\n\n
\n

\n You cannot register multiple Brivity numbers under a sole proprietorship - only the Account\n Owner number will be registered. For teams, select another business type.\n

\n
\n\n
\n
\n option.value === form.business_type)}\n onChange={(option) => this.updateState(\"business_type\", option.value)}\n options={allowedBusinessTypes}\n />\n
\n
\n\n {displayEin && (\n
\n
\n
\n this.setEin(e.target.value)}\n helperText=\"Must be a 9-digit EIN number e.g. 123456789 or 12-3456789. Do not enter a Social Security Number.\"\n />\n
\n
\n
\n )}\n\n \n\n
\n
\n this.updateState(\"auth_rep_first_name\", e.target.value)}\n />\n
\n
\n\n
\n
\n this.updateState(\"auth_rep_last_name\", e.target.value)}\n />\n
\n
\n\n
\n
\n this.updateState(\"auth_rep_title\", e.target.value)}\n />\n
\n
\n\n
\n
\n this.updateState(\"auth_rep_email\", e.target.value)}\n />\n
\n
\n\n
\n
\n this.updateState(\"auth_rep_phone\", e.target.value)}\n />\n
\n
\n\n {displayOtpPhone && (\n <>\n \n\n
\n

\n This mobile number is critical in the registration process as it is used for sending an SMS\n verification request to you, which you much respond to. The OTP number you'll receive a\n message from is (915) 278-2000.\n

\n
    \n
  • This must be a valid US or Canadian mobile number only where you can be reached.
  • \n
  • \n This cannot be a number you've acquired from a CPaaS or VoIP provider such as Twilio,\n Google Voice, etc.\n
  • \n
  • This cannot be your Brivity Number.
  • \n
\n
\n\n
\n
\n this.updateState(\"sole_prop_phone_number\", e.target.value)}\n />\n
\n
\n \n )}\n\n {errors.map((e) => (\n
\n
\n Error: {e}\n
\n
\n ))}\n\n {success && (\n
\n
\n Changes Saved Successfully\n
\n
\n )}\n\n
\n
\n this.saveChanges(\"save\")}\n >\n {saving && submitOrSave === \"save\" ? (\n \n Saving Progress \n \n \n ) : (\n SAVE PROGRESS\n )}\n \n\n this.saveChanges(\"submit\")}\n >\n {saving && submitOrSave === \"submit\" ? (\n \n Submitting for review \n \n \n ) : (\n SUBMIT FOR REVIEW\n )}\n \n
\n
\n
\n
\n );\n };\n\n render() {\n const { registrationComplete, form } = this.state;\n const { required } = form;\n\n const formUI = required && this.forUS() ? this.renderForm : this.renderShortForm;\n\n return (\n
\n
\n
\n \n
\n

\n Mobile carriers now require customers texting through an application to register a business\n license with their account. The goal is to reduce spam texting, boost your deliverability, and\n prevent text messages from being flagged as spam. Only one person (Account Owner or\n Administrator) per account is required to fill out this form, so if you do not know the\n Business License information for your business, consult the Business Owner to fill out this\n form instead. Learn more about the new A2P 10DLC texting registration requirements{\" \"}\n \n here\n \n

\n
\n
\n {registrationComplete && (\n
\n
\n
\n \n
\n
\n Your Texting Registration Profile has been successfully saved. Should you need to update\n this information, please contact Brivity Support.\n
\n
\n
\n )}\n {!registrationComplete && formUI()}\n
\n
\n );\n }\n}\n\nTwilioTrustHub.propTypes = {\n // eslint-disable-next-line react/forbid-prop-types\n trustHub: PropTypes.any.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n accountId: PropTypes.any.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n allowedBusinessTypes: PropTypes.any.isRequired,\n};\n\nexport default TwilioTrustHub;\n","import moment from \"moment\";\n\nconst PLACE_TEAM = \"PLACE Team\";\nexport const fromRailsToReact = ({\n dbFormData,\n brands,\n brokerages,\n partners,\n people,\n placeBrandedAccounts,\n activePlaceTeams,\n}) => ({\n branding: brands?.filter((b) => b.value === dbFormData.brand_id)[0] || { label: \"None\", value: null },\n brokerage: dbFormData.brokerage_affiliation\n ? brokerages?.filter((b) => b.value === dbFormData.brokerage_affiliation)[0]\n : null,\n entityName: dbFormData.entity_name,\n entityNumber: dbFormData.entity_number,\n teamName: dbFormData.team_name,\n teamType: dbFormData.team_type || PLACE_TEAM,\n defaultCrmAccess: dbFormData.default_crm_access,\n networkAgent: dbFormData.network_agent || \"No\",\n operationalPartner: partners?.filter((b) => b.value === dbFormData.operator_person_uuid)[0],\n operationalPartners: dbFormData.operating_partner_person_uuids?.map((uuid) => ({\n value: partners?.filter((b) => b.value === uuid)[0],\n })),\n commOnlyOperationalPartners: dbFormData.comm_only_operator_person_uuids?.length\n ? dbFormData.comm_only_operator_person_uuids?.map((uuid) => ({\n value: partners?.filter((b) => b.value === uuid)[0],\n }))\n : [{ value: null }],\n transactionReportAccessUsers: dbFormData.transaction_report_access_person_uuids?.length\n ? dbFormData.transaction_report_access_person_uuids?.map((uuid) => ({\n value: people?.filter((b) => b.value === uuid)[0],\n }))\n : [{ value: null }],\n parentTeamAccount: placeBrandedAccounts?.filter(\n (act) => act.value === dbFormData.parent_team_account_uuid,\n )[0],\n goLive: dbFormData.go_live,\n currentContractEffective: dbFormData.current_contract_effective,\n partnershipEffective: dbFormData.partnership_effective,\n placePartnershipEnded: dbFormData.place_partnership_ended,\n});\n\nexport const toRailsFromReact = ({ formData }) => {\n const model = {\n brand_id: formData.branding?.value,\n brokerage_affiliation: formData.brokerage?.value,\n entity_name: formData.entityName,\n entity_number: formData.entityNumber,\n team_name: formData.teamName,\n team_type: formData.teamType,\n default_crm_access: formData.defaultCrmAccess,\n network_agent: formData.networkAgent,\n operator_person_uuid: formData.operationalPartner?.value,\n operating_partner_person_uuids: formData.operationalPartners\n ?.filter((p) => p.value != null)\n .map((p) => p.value?.value),\n comm_only_operator_person_uuids: formData.commOnlyOperationalPartners\n ?.filter((p) => p.value != null)\n .map((p) => p.value?.value),\n transaction_report_access_person_uuids: formData.transactionReportAccessUsers\n ?.filter((p) => p.value != null)\n .map((p) => p.value?.value),\n parent_team_account_uuid: formData.teamType === PLACE_TEAM ? null : formData.parentTeamAccount?.value,\n named_milestones: {\n go_live: formData.goLive > \"\" ? moment(formData.goLive).format(\"DD-MM-YYYY\") : null,\n partnership_effective:\n formData.partnershipEffective > \"\"\n ? moment(formData.partnershipEffective).format(\"DD-MM-YYYY\")\n : null,\n current_contract_effective:\n formData.currentContractEffective > \"\"\n ? moment(formData.currentContractEffective).format(\"DD-MM-YYYY\")\n : null,\n place_partnership_ended:\n formData.placePartnershipEnded > \"\"\n ? moment(formData.placePartnershipEnded).format(\"DD-MM-YYYY\")\n : null,\n },\n };\n return model;\n};\n","import axios from \"axios\";\nimport { tryCatchHandlr } from \"../../../../shared/Utilities\";\nimport { toRailsFromReact } from \"./normalizer\";\n\nconst saveBrandingFormApi = async ({ id, formData, successCb, errorCb }) => {\n const url = `/support/accounts/${id}/brand`;\n\n const [, err] = await tryCatchHandlr(\n axios.patch(\n url,\n { account: toRailsFromReact({ formData }) },\n {\n headers: {\n \"Content-Type\": \"application/json\",\n },\n },\n ),\n );\n if (err) {\n return errorCb(err);\n }\n return successCb();\n};\n\nexport default saveBrandingFormApi;\n","import * as creators from \"./creators\";\nimport saveBrandingFormApi from \"../helpers/services\";\n\nconst DEFAULT_MESSAGE = \"Something went wrong. Please try again.\";\n\nexport const saveBrandingForm = (id, formData) => async (dispatch) => {\n dispatch(creators.saveForm());\n const onFailure = (error) => {\n dispatch(creators.saveFormError({error: error.response?.data?.errors?.[0]?.context || error.response?.data?.error || DEFAULT_MESSAGE}));\n setTimeout(() => document.querySelector(\".alert\")?.scrollIntoView());\n }\n const onSuccess = (response) => {\n if (response?.data?.error) {\n return onFailure(response?.data?.error || DEFAULT_MESSAGE);\n }\n return dispatch(creators.saveFormSuccess());\n };\n return saveBrandingFormApi({ id, formData, successCb: onSuccess, errorCb: onFailure });\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport FieldLabel from \"../../../../shared/v2/FieldLabel/FieldLabel\";\nimport Tooltip from \"../../../../shared/v2/Tooltip/Tooltip\";\nimport { CircleInfoSolidV6 } from \"../../../../shared/v2/Icomoon\";\n\nconst FormElement = ({ label, children, className, required, tooltip }) => (\n \n
\n \n {tooltip && (\n }\n />\n )}\n
\n {children}\n
\n);\n\nFormElement.propTypes = {\n label: PropTypes.string,\n required: PropTypes.bool,\n children: PropTypes.node.isRequired,\n className: PropTypes.string,\n tooltip: PropTypes.string,\n};\n\nFormElement.defaultProps = {\n label: \"\",\n required: false,\n className: \"\",\n tooltip: \"\",\n};\n\nexport default FormElement;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport RadioButton from \"../../../../shared/v2/RadioButton\";\n\nconst RadioOptions = ({ options, value, onChange }) => {\n return (\n
\n {options.map((o) => (\n onChange(o)}\n />\n ))}\n
\n );\n};\n\nRadioOptions.propTypes = {\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n options: PropTypes.arrayOf(PropTypes.shape({})),\n onChange: PropTypes.func,\n};\n\nRadioOptions.defaultProps = {\n value: null,\n options: [],\n onChange: null,\n};\n\nexport default RadioOptions;\n","import React from \"react\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst AvatarControl = ({ componentProps, data, children }) => {\n const src = data?.image_url ?? null;\n // eslint-disable-next-line react/jsx-props-no-spreading\n return (\n \n \n {children}\n \n );\n};\nexport default AvatarControl;\n","import React from \"react\";\nimport Dropdown from \"../../../../shared/v2/Dropdown\";\n\nconst AvatarOption = ({ componentProps, data, children }) => {\n const src = data?.image_url ?? null;\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n \n {children}\n \n );\n};\nexport default AvatarOption;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport AvatarControl from \"./AvatarControl\";\nimport AvatarOption from \"./AvatarOption\";\nimport Trash from \"../../../../shared/v2/Icomoon/Icons/Trash\";\n\nconst DisplayPerson = ({ value, options, onDelete, onChange }) => {\n return (\n
\n
\n \n
\n \n \n \n
\n );\n};\n\nDisplayPerson.propTypes = {\n value: PropTypes.shape({}),\n options: PropTypes.arrayOf(PropTypes.shape({})),\n onDelete: PropTypes.func,\n onChange: PropTypes.func,\n};\n\nDisplayPerson.defaultProps = {\n value: null,\n options: [],\n onDelete: null,\n onChange: null,\n};\n\nexport default DisplayPerson;\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport {\n addTransactionReportAccess,\n removeTransactionReportAccess,\n updateTransactionReportAccess,\n} from \"../actions/creators\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport TextButton from \"../../../../shared/v2/TextButton/TextButton\";\nimport FormElement from \"./FormElement\";\nimport AvatarControl from \"./AvatarControl\";\nimport AvatarOption from \"./AvatarOption\";\nimport DisplayPerson from \"./DisplayPerson\";\n\nconst TransactionReportAccess = ({\n formData,\n people,\n addTransactionReportAccess,\n updateTransactionReportAccess,\n removeTransactionReportAccess,\n}) => {\n const selectedTransactionReportAccessUsers = formData?.transactionReportAccessUsers?.map((p) => p.value?.value);\n const availableTransactionReportAccessUsers = people.filter((p) => selectedTransactionReportAccessUsers.indexOf(p.value) <= -1);\n return (\n
\n {formData?.transactionReportAccessUsers?.map((person, idx) => (\n \n {\n removeTransactionReportAccess({ index: idx });\n if(idx === 0 && selectedTransactionReportAccessUsers.length === 1) addTransactionReportAccess();\n }}\n onChange={(val) => updateTransactionReportAccess({ index: idx , value: val })}\n />\n \n ))}\n \n + Add\n \n
\n );\n};\n\nexport default connect(({ superUsersBranding: { formData, people } }) => ({ formData, people }), {\n addTransactionReportAccess,\n removeTransactionReportAccess,\n updateTransactionReportAccess,\n})(TransactionReportAccess);\n","import React from \"react\";\nimport { connect } from \"react-redux\";\nimport {\n addCommOnlyOperationalPartner,\n removeCommOnlyOperationalPartner,\n updateCommOnlyOperationalPartner,\n} from \"../actions/creators\";\nimport Dropdown from \"../../../../shared/v2/Dropdown/Dropdown\";\nimport TextButton from \"../../../../shared/v2/TextButton/TextButton\";\nimport FormElement from \"./FormElement\";\nimport AvatarControl from \"./AvatarControl\";\nimport AvatarOption from \"./AvatarOption\";\nimport DisplayPerson from \"./DisplayPerson\";\n\nconst CommOnlyOperator = ({\n formData,\n partners,\n addCommOnlyOperationalPartner,\n updateCommOnlyOperationalPartner,\n removeCommOnlyOperationalPartner,\n}) => {\n const selectedCommPartners = formData?.commOnlyOperationalPartners?.map((p) => p.value?.value);\n const availableCommPartners = partners.filter((p) => selectedCommPartners.indexOf(p.value) <= -1);\n return (\n
\n \n updateCommOnlyOperationalPartner({ index: 0, value: opt })}\n isSearchable\n clearable\n components={{\n Control: AvatarControl,\n Option: AvatarOption,\n }}\n />\n \n {formData?.commOnlyOperationalPartners?.slice(1).map((partner, idx) => (\n \n removeCommOnlyOperationalPartner({ index: idx + 1 })}\n onChange={(val) => updateCommOnlyOperationalPartner({ index: idx + 1, value: val })}\n />\n \n ))}\n \n + Comm-Only Operator\n \n
\n );\n};\n\nexport default connect(({ superUsersBranding: { formData, partners } }) => ({ formData, partners }), {\n addCommOnlyOperationalPartner,\n removeCommOnlyOperationalPartner,\n updateCommOnlyOperationalPartner,\n})(CommOnlyOperator);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport * as creators from \"./actions/creators\";\nimport { saveBrandingForm } from \"./actions/thunks\";\n\nimport FormElement from \"./components/FormElement\";\nimport RadioOptions from \"./components/RadioOptions\";\nimport DisplayPerson from \"./components/DisplayPerson\";\nimport TransactionReportAccess from \"./components/TransactionReportAccess\";\nimport Dropdown from \"../../../shared/v2/Dropdown\";\nimport TextInput from \"../../../shared/v2/TextInput\";\nimport DatePicker from \"../../../shared/v2/DatePicker\";\nimport Button from \"../../../shared/v2/Button\";\nimport AvatarControl from \"./components/AvatarControl\";\nimport AvatarOption from \"./components/AvatarOption\";\nimport TextButton from \"../../../shared/v2/TextButton/TextButton\";\nimport CommOnlyOperator from \"./components/CommOnlyOperator\";\n\nconst SuperUsersBranding = ({\n isSaving,\n saveError,\n id,\n isPlaceSuperUser,\n brands,\n brokerages,\n partners,\n activePlaceTeams,\n formData,\n setFormData,\n addOperationalPartner,\n updateOperationalPartner,\n removeOperationalPartner,\n saveBrandingForm,\n}) => {\n const selectedPartners = [\n formData?.operationalPartner?.value,\n ...formData?.operationalPartners?.map((p) => p.value?.value),\n ].filter((o) => o !== undefined);\n const availablePartners = partners.filter((p) => selectedPartners.indexOf(p.value) <= -1);\n const disabled =\n (formData?.branding?.label === \"PLACE\" && formData?.brokerage === null) ||\n (formData?.branding?.label === \"PLACE\" &&\n formData?.teamType === \"Subteam\" &&\n formData?.parentTeamAccount === null) ||\n formData?.teamName <= \"\" ||\n (formData?.branding?.label === \"PLACE\" && formData?.operationalPartner === null);\n return (\n
\n {saveError &&
{saveError}
}\n\n {isPlaceSuperUser ? (\n PLACE\n ) : (\n \n {\n setFormData({ branding: opt });\n\n if (opt.label === \"PLACE\") {\n setFormData({ networkAgent: \"No\" });\n }\n }}\n options={brands}\n isSearchable\n clearable\n />\n \n )}\n\n {formData?.branding?.label === \"PLACE - Archived\" && (\n \n setFormData({ placePartnershipEnded: val })}\n />\n \n )}\n\n {formData?.branding?.label === \"PLACE\" && (\n <>\n \n setFormData({ brokerage: opt })}\n isSearchable\n clearable\n />\n \n \n setFormData({ networkAgent: opt.value })}\n options={[\n { label: \"No\", value: \"No\" },\n { label: \"Yes\", value: \"Yes\" },\n ]}\n value={formData?.networkAgent}\n />\n \n {formData?.networkAgent === \"No\" && (\n <>\n \n setFormData({ teamType: opt.value })}\n value={formData?.teamType}\n options={[\n { label: \"PLACE Team\", value: \"PLACE Team\" },\n { label: \"Subteam\", value: \"Subteam\" },\n ]}\n />\n \n {formData?.teamType === \"Subteam\" && (\n \n setFormData({ parentTeamAccount: opt })}\n isSearchable\n clearable\n />\n \n )}\n
\n \n setFormData({ teamName: e.target.value })}\n />\n \n \n setFormData({ entityNumber: e.target.value })}\n />\n \n
\n \n setFormData({ entityName: e.target.value })}\n />\n \n \n setFormData({ partnershipEffective: val })}\n />\n \n \n setFormData({ currentContractEffective: val })}\n />\n \n \n setFormData({ goLive: val })}\n />\n \n \n setFormData({ defaultCrmAccess: opt.value })}\n options={[\n { label: 'True', value: true },\n { label: 'False', value: false },\n ]}\n value={formData?.defaultCrmAccess}\n />\n \n
\n \n setFormData({ operationalPartner: opt })}\n isSearchable\n clearable\n components={{\n Control: AvatarControl,\n Option: AvatarOption,\n }}\n />\n \n {formData?.operationalPartners?.map((partner, idx) => (\n \n removeOperationalPartner({ index: idx })}\n onChange={(val) => updateOperationalPartner({ index: idx, value: val })}\n />\n \n ))}\n \n + Operator\n \n
\n\n \n \n \n )}\n \n )}\n
\n saveBrandingForm(id, formData)}\n size=\"medium\"\n disabled={disabled || isSaving}\n isLoading={isSaving}\n >\n Save\n \n
\n
\n );\n};\n\nconst mapStateToProps = (state) => ({\n isSaving: state.superUsersBranding.isSaving,\n saveError: state.superUsersBranding.saveError,\n id: state.superUsersBranding.id,\n isPlaceSuperUser: state.superUsersBranding.isPlaceSuperUser,\n iSearchingUsers: state.superUsersBranding.iSearchingUsers,\n brands: state.superUsersBranding.brands,\n brokerages: state.superUsersBranding.brokerages,\n placeBrandedAccounts: state.superUsersBranding.placeBrandedAccounts,\n activePlaceTeams: state.superUsersBranding.activePlaceTeams,\n partners: state.superUsersBranding.partners,\n people: state.superUsersBranding.people,\n formData: state.superUsersBranding.formData,\n});\n\nSuperUsersBranding.propTypes = {\n isSaving: PropTypes.bool,\n saveError: PropTypes.string,\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n isPlaceSuperUser: PropTypes.bool,\n brands: PropTypes.arrayOf(PropTypes.shape({})),\n brokerages: PropTypes.arrayOf(PropTypes.shape({})),\n partners: PropTypes.arrayOf(PropTypes.shape({})),\n placeBrandedAccounts: PropTypes.arrayOf(PropTypes.shape({})),\n activePlaceTeams: PropTypes.arrayOf(PropTypes.shape({})),\n formData: PropTypes.shape({}),\n setFormData: PropTypes.func,\n addOperationalPartner: PropTypes.func,\n updateOperationalPartner: PropTypes.func,\n removeOperationalPartner: PropTypes.func,\n addCommOnlyOperationalPartner: PropTypes.func,\n updateCommOnlyOperationalPartner: PropTypes.func,\n removeCommOnlyOperationalPartner: PropTypes.func,\n searchUsers: PropTypes.func,\n};\n\nSuperUsersBranding.defaultProps = {\n isSaving: false,\n saveError: null,\n id: null,\n isPlaceSuperUser: null,\n brands: [],\n brokerages: [],\n partners: [],\n placeBrandedAccounts: [],\n activePlaceTeams: [],\n formData: {},\n setFormData: null,\n addOperationalPartner: null,\n updateOperationalPartner: null,\n removeOperationalPartner: null,\n addCommOnlyOperationalPartner: null,\n updateCommOnlyOperationalPartner: null,\n removeCommOnlyOperationalPartner: null,\n searchUsers: null,\n};\n\nexport default connect(mapStateToProps, { ...creators, saveBrandingForm })(SuperUsersBranding);\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../../store/configureStore\";\nimport { defaultState } from \"../../../reducers/superUsersBrandingReducer\";\nimport { fromRailsToReact } from \"./helpers/normalizer\";\nimport Page from \"./page\";\n\nconst BrandingPage = ({\n id,\n is_place_super_user,\n db_brand_data,\n brands,\n brokerages,\n partners,\n people,\n place_branded_accounts,\n active_place_teams,\n}) => {\n const store = useMemo(\n () =>\n configureStore({\n superUsersBranding: {\n ...defaultState,\n id,\n isPlaceSuperUser: is_place_super_user,\n formData: fromRailsToReact({\n dbFormData: db_brand_data,\n brands,\n brokerages,\n partners,\n people,\n placeBrandedAccounts: place_branded_accounts,\n activePlaceTeams: active_place_teams,\n }),\n brands,\n brokerages,\n partners,\n people,\n activePlaceTeams: active_place_teams,\n placeBrandedAccounts: place_branded_accounts,\n },\n }),\n [],\n );\n return (\n \n \n \n );\n};\n\nBrandingPage.propTypes = {\n label: PropTypes.string,\n comp: PropTypes.shape({}),\n className: PropTypes.string,\n};\n\nBrandingPage.defaultProps = {\n label: \"\",\n comp:
,\n className: \"\",\n};\nexport default BrandingPage;\n","import React from \"react\";\nimport axios from \"axios\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport Modal from \"../../shared/v2/Modal\";\nimport Checkbox from \"../../shared/v2/Checkbox/Checkbox\";\nimport Button from \"../../shared/v2/Button\";\nimport Snackbar from \"../../shared/v2/Snackbar\";\nimport ErrorBanner from \"../../shared/v2/ErrorBanner\";\n\nexport default class DeleteAutoPlans extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n loading: false,\n loadingError: false,\n selectedAutoPlanType: {\n isDisabled: false,\n label: \"All\",\n value: \"all\",\n },\n autoPlans: [],\n selectedAutoPlan: this.defaultAutoPlanSelect(),\n autoPlanOptions: [this.defaultAutoPlanSelect()],\n showConfirmModal: false,\n toggleOffTriggers: false,\n confirmCheckbox: false,\n showConfirmError: false,\n success: false,\n };\n }\n\n componentDidMount() {\n this.fetchAutoPlanList();\n }\n\n defaultAutoPlanSelect = () => {\n return {\n isDisabled: false,\n label: \"All\",\n value: \"all\",\n };\n };\n\n fetchAutoPlanList = () => {\n this.setState({ loading: true }, () => {\n let endpoints = [\n \"/auto_plans.json?plan_type=people&page=null\",\n \"/auto_plans.json?plan_type=transactions&page=null\",\n ];\n\n Promise.all(endpoints.map((endpoint) => axios.get(endpoint)))\n .then(\n axios.spread((...allData) => {\n this.setState({ autoPlans: [...allData[0].data, ...allData[1].data], loading: false }, () => {\n this.selectAutoPlanType(this.defaultAutoPlanSelect());\n });\n }),\n )\n .catch(() => {\n this.setState({ loading: false, loadingError: true });\n });\n });\n };\n\n selectAutoPlanType = (type) => {\n const { autoPlans } = this.state;\n\n this.setState({ selectedAutoPlanType: type }, () => {\n if (type.value === \"all\") {\n this.setState({\n autoPlanOptions: this.formatAutoPlanOptions(autoPlans),\n selectedAutoPlan: this.defaultAutoPlanSelect(),\n });\n } else if (type.value === \"Person\") {\n this.setState({\n autoPlanOptions: this.formatAutoPlanOptions(autoPlans.filter((a) => a.plan_type === \"people\")),\n selectedAutoPlan: this.defaultAutoPlanSelect(),\n });\n } else if (type.value === \"Transaction\") {\n this.setState({\n autoPlanOptions: this.formatAutoPlanOptions(\n autoPlans.filter((a) => a.plan_type === \"transactions\"),\n ),\n selectedAutoPlan: this.defaultAutoPlanSelect(),\n });\n }\n });\n };\n\n formatAutoPlanOptions = (list) => {\n let arr = [\n this.defaultAutoPlanSelect(),\n ...list.map((a) => {\n return {\n isDisabled: false,\n label: `${a.name} - (${a.assigned_plans_count} Applied)`,\n value: a.id,\n };\n }),\n ];\n return arr;\n };\n\n closeConfirmModal = () => {\n this.setState({ showConfirmModal: false });\n };\n\n totalAppliedCount = () => {\n const { autoPlans, selectedAutoPlanType, selectedAutoPlan } = this.state;\n\n if (selectedAutoPlan.value !== \"all\") {\n return autoPlans.filter((a) => a.id === selectedAutoPlan.value)[0].assigned_plans_count;\n } else if (selectedAutoPlanType.value === \"all\" && selectedAutoPlan.value === \"all\") {\n return autoPlans.reduce(function (a, b) {\n return a + b[\"assigned_plans_count\"];\n }, 0);\n } else {\n return autoPlans\n .filter((a) => a.plan_type === selectedAutoPlanType.value)\n .reduce(function (a, b) {\n return a + b[\"assigned_plans_count\"];\n }, 0);\n }\n };\n\n totalAutoPlanCount = () => {\n const { autoPlans, selectedAutoPlanType, selectedAutoPlan } = this.state;\n\n if (selectedAutoPlan.value !== \"all\") {\n return 1;\n } else if (selectedAutoPlanType.value === \"all\") {\n return autoPlans.length;\n } else {\n return autoPlans.filter((a) => a.plan_type === selectedAutoPlanType.value).length;\n }\n };\n\n dismissConfirmModal = () => {\n this.setState({\n showConfirmModal: false,\n toggleOffTriggers: false,\n confirmCheckbox: false,\n });\n };\n\n handleSubmit = () => {\n const { selectedAutoPlanType, selectedAutoPlan, toggleOffTriggers, confirmCheckbox } = this.state;\n\n if (!confirmCheckbox) {\n this.setState({ showConfirmError: true });\n return false;\n } else {\n axios\n .post(`/support/accounts/${this.props.accountId}/mass_delete_auto_plans`, {\n assignable_type: selectedAutoPlanType.value,\n auto_plan_id: selectedAutoPlan.value,\n disable_triggers: toggleOffTriggers,\n })\n .then((res) => {\n this.setState({\n success: true,\n });\n this.dismissConfirmModal();\n })\n .catch((err) => {\n alert(\"There was an error deleting auto plans.\");\n });\n }\n };\n\n confirmModal = () => {\n const { showConfirmModal, toggleOffTriggers, confirmCheckbox, showConfirmError } = this.state;\n return (\n \n \n\n \n
\n {showConfirmError && }\n

\n {`This action will remove ${this.totalAutoPlanCount()} Auto Plan(s) from ${this.totalAppliedCount()} leads total. `}\n This will not delete the auto plan from Settings {\">\"} Auto Plans.\n This action is irreversible.\n

\n this.setState({ toggleOffTriggers: !toggleOffTriggers })}\n label=\"Toggle off triggers for these auto plans\"\n />\n
\n this.setState({ confirmCheckbox: !confirmCheckbox })}\n label=\"I have read the above and understand the potential repercussions of this action\"\n />\n
\n
\n \n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n );\n };\n\n promptConfirm = () => {\n this.setState({ showConfirmModal: true });\n };\n\n render() {\n const { loading, loadingError, selectedAutoPlanType, autoPlanOptions, selectedAutoPlan, success } = this.state;\n return (\n <>\n {\n this.setState({ success: false });\n }}\n timeout=\"5000\"\n text=\"Auto Plans have been queued for deletion. This may take several minutes to complete.\"\n />\n

\n Deleting applied auto plans from contacts here does remove the plans from Settings -{\">\"} Auto Plans.\n
\n Choose between deleting all applied Auto Plans or a specific applied plan for all contacts.\n

\n {loading && (\n
\n Loading Auto Plans...\n
\n )}\n {loadingError && (\n
There was an error loading the list of auto plans.
\n )}\n {(!loading && !loadingError) && (\n
\n
\n
\n {\n this.selectAutoPlanType(selected);\n }}\n isClearable={false}\n value={selectedAutoPlanType}\n options={[\n {\n isDisabled: false,\n label: \"All\",\n value: \"all\",\n },\n {\n isDisabled: false,\n label: \"People\",\n value: \"Person\",\n },\n {\n isDisabled: false,\n label: \"Transactions\",\n value: \"Transaction\",\n },\n ]}\n />\n
\n
\n {\n this.setState({ selectedAutoPlan: selected });\n }}\n isClearable={false}\n value={selectedAutoPlan}\n options={autoPlanOptions}\n />\n
\n
\n
\n \n Delete\n \n
\n
\n )}\n {this.confirmModal()}\n \n );\n }\n}\n","import axios from \"axios\";\n\nconst sendEmail = () => axios.post(\"/account/personal/reset_password\");\n\nexport default sendEmail;\n","import React, { useState } from \"react\";\nimport Button from \"../shared/v2/Button\";\nimport Modal from \"../shared/v2/Modal\";\nimport sendEmail from \"./services\";\n\nconst OktaPasswordReset = () => {\n const [sending, setSending] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [error, setError] = useState(false);\n const send = () => {\n setError(false);\n setSending(true);\n sendEmail()\n .then(() => {\n setShowModal(false);\n setSending(false);\n })\n .catch(() => {\n setError(true);\n setSending(false);\n setTimeout(() => setError(false), 2000);\n });\n };\n return (\n <>\n setShowModal(false)}\n >\n \n\n \n

\n Are you sure you want to reset the password for this account? A password reset email will be sent\n to the email address used to login to this account.\n

\n
\n
\n \n
\n \n
\n \n \n \n );\n};\n\nexport default OktaPasswordReset;\n","import React from \"react\";\nimport { createPortal } from \"react-dom\";\nimport Button from \"../shared/v2/Button/Button\";\n\nconst OktaError = ({ imageUrl }) =>\n createPortal(\n
\n
\n \"Question\n

Looks like you don’t have a CRM account!

\n

\n We couldn’t find a CRM account with the email you entered. If you believe this was a mistake, you\n can try again. Or if this issue persists, you can contact support by calling 855-427-4848.\n

\n window.location.assign(\"/login\")}\n >\n Try Again\n \n
\n
,\n document.body,\n );\n\nexport default OktaError;\n","import { createAsyncThunk, createSlice } from \"@reduxjs/toolkit\";\nimport { caseTransformingAxios } from \"../shared/v2/caseTransformingAxios\";\n\nconst getEmailPlacholders = createAsyncThunk(\n \"interactionTemplates/getEmailPlaceholders\",\n async (_, thunkApi) => {\n const response = await caseTransformingAxios.get(\"/api/v4/interaction_templates/email_placeholders\", {\n signal: thunkApi.signal,\n });\n return response.data;\n },\n);\n\nconst getInteractionTemplates = createAsyncThunk(\n \"interactionTemplates/getInteractionTemplates\",\n async ({ params }, thunkApi) => {\n const response = await caseTransformingAxios.get(\"/api/v4/interaction_templates\", {\n params,\n signal: thunkApi.signal,\n });\n return response.data;\n },\n);\n\nconst createInteractionTemplate = createAsyncThunk(\n \"interactionTemplates/createInteractionTemplate\",\n async ({ template: { name, subject, body } = {} }, thunkApi) => {\n try {\n const response = await caseTransformingAxios.post(\n \"/api/v4/interaction_templates\",\n { name, subject, body },\n {\n signal: thunkApi.signal,\n },\n );\n return response.data;\n } catch (err) {\n return thunkApi.rejectWithValue(err.response?.data);\n }\n },\n);\n\nconst updateInteractionTemplate = createAsyncThunk(\n \"interactionTemplates/updateInteractionTemplate\",\n async ({ template: { id, name, subject, body } = {} }, thunkApi) => {\n try {\n const response = await caseTransformingAxios.put(\n `/api/v4/interaction_templates/${id}`,\n { name, subject, body },\n {\n signal: thunkApi.signal,\n },\n );\n return response.data;\n } catch (err) {\n return thunkApi.rejectWithValue(err.response?.data);\n }\n },\n);\n\nconst deleteInteractionTemplate = createAsyncThunk(\n \"interactionTemplates/deleteInteractionTemplate\",\n async ({ template: { id } = {}, archive }, thunkApi) => {\n const response = await caseTransformingAxios.delete(\n `/api/v4/interaction_templates/${id}${archive ? \"/archive\" : \"\"}`,\n {\n signal: thunkApi.signal,\n },\n );\n return response.data;\n },\n);\n\nexport const initialState = {\n deleteTemplate: null,\n editTemplate: null,\n emailPlaceholders: { loading: false, error: null, data: [] },\n interactionTemplates: { loading: false, errors: null, data: [], pagination: {} },\n};\n\nexport const interactionTemplatesSlice = createSlice({\n name: \"interactionTemplates\",\n initialState,\n reducers: {\n setDeleteTemplate: (state, action) => {\n state.deleteTemplate = action.payload;\n },\n setEditTemplate: (state, action) => {\n state.editTemplate = action.payload;\n },\n },\n extraReducers: (builder) => {\n builder.addCase(getEmailPlacholders.pending, (state) => {\n state.emailPlaceholders.loading = true;\n state.emailPlaceholders.error = null;\n });\n builder.addCase(getEmailPlacholders.fulfilled, (state, action) => {\n state.emailPlaceholders.loading = false;\n state.emailPlaceholders.data = action.payload.emailPlaceholders;\n });\n builder.addCase(getEmailPlacholders.rejected, (state, action) => {\n state.emailPlaceholders.loading = false;\n state.emailPlaceholders.error = true;\n });\n\n builder.addCase(getInteractionTemplates.pending, (state) => {\n state.interactionTemplates.loading = true;\n state.interactionTemplates.errors = null;\n });\n builder.addCase(getInteractionTemplates.fulfilled, (state, action) => {\n state.interactionTemplates.loading = false;\n state.interactionTemplates.data = action.payload.interactionTemplates;\n state.interactionTemplates.pagination = action.payload.pagination;\n });\n builder.addCase(getInteractionTemplates.rejected, (state, action) => {\n state.interactionTemplates.loading = false;\n state.interactionTemplates.errors = [\"failed to load templates\"];\n });\n\n builder.addCase(createInteractionTemplate.pending, (state) => {\n state.interactionTemplates.loading = true;\n state.interactionTemplates.errors = null;\n });\n builder.addCase(createInteractionTemplate.fulfilled, (state, action) => {\n state.editTemplate = null;\n state.interactionTemplates.loading = false;\n state.interactionTemplates.data = [\n ...state.interactionTemplates.data,\n action.payload.interactionTemplate,\n ];\n });\n builder.addCase(createInteractionTemplate.rejected, (state, action) => {\n state.interactionTemplates.loading = false;\n state.interactionTemplates.errors = action.payload?.errors;\n });\n\n builder.addCase(updateInteractionTemplate.pending, (state) => {\n state.interactionTemplates.loading = true;\n state.interactionTemplates.errors = null;\n });\n builder.addCase(updateInteractionTemplate.fulfilled, (state, action) => {\n state.editTemplate = null;\n state.interactionTemplates.loading = false;\n state.interactionTemplates.data = state.interactionTemplates.data.map((template) =>\n template.id === action.payload.interactionTemplate.id ? action.payload.interactionTemplate : template,\n );\n });\n builder.addCase(updateInteractionTemplate.rejected, (state, action) => {\n state.interactionTemplates.loading = false;\n state.interactionTemplates.errors = action.payload?.errors;\n });\n\n builder.addCase(deleteInteractionTemplate.pending, (state) => {\n state.interactionTemplates.loading = true;\n state.interactionTemplates.errors = null;\n });\n builder.addCase(deleteInteractionTemplate.fulfilled, (state, action) => {\n state.deleteTemplate = null;\n state.interactionTemplates.loading = false;\n state.interactionTemplates.data = state.interactionTemplates.data.filter(\n (template) => template.id !== action.meta.arg.template.id,\n );\n });\n builder.addCase(deleteInteractionTemplate.rejected, (state, action) => {\n state.interactionTemplates.loading = false;\n state.interactionTemplates.errors = true;\n });\n },\n});\n\nexport {\n createInteractionTemplate,\n deleteInteractionTemplate,\n getEmailPlacholders,\n getInteractionTemplates,\n updateInteractionTemplate,\n};\n\nexport const { setDeleteTemplate, setEditTemplate } = interactionTemplatesSlice.actions;\n\nexport default interactionTemplatesSlice.reducer;\n","import { createSlice } from \"@reduxjs/toolkit\";\n\nexport const initialState = {\n agentList: [],\n dateRange: \"\",\n};\n\nexport const dashboardSlice = createSlice({\n name: \"dashboard\",\n initialState,\n});\n\nexport default dashboardSlice.reducer;\n","import { configureStore as reduxConfigureStore } from \"@reduxjs/toolkit\";\nimport { camelCase } from \"lodash\";\nimport { createHumps } from \"../shared/v2/caseTransformingAxios\";\n\nimport addMarketReport from \"../reducers/addMarketReportReducer\";\nimport autoPlans from \"../reducers/autoPlans\";\nimport contactsReducer from \"../reducers/contactsReducer\";\nimport interactionTemplates from \"../reducers/interactionTemplatesReducer\";\nimport businessSettings from \"../reducers/businessSettingsReducer\";\nimport layout from \"../reducers/layoutReducer\";\nimport leadIndex from \"../reducers/leadIndexReducer\";\nimport messaging, { initialState as messagingInitialState } from \"../reducers/messagingReducer\";\nimport personDetail from \"../reducers/personalDetailReducer/personDetailReducer\";\nimport phoneSettings from \"../reducers/layoutReducer/phoneSettingsReducer\";\nimport reports from \"../reducers/reportsReducer\";\nimport tdpThumbnailSelector from \"../reducers/tdpThumbnailSelectorReducer\";\nimport tdpAutoPlansReducer, { defaultState as autoPlansDefaultState } from \"../reducers/tdpAutoPlansReducer\";\nimport tdpTitleAndEscrowReducer, { defaultState as titleAndEscrowDefaultState } from \"../reducers/tdpTitleAndEscrowReducer\";\nimport tdpDatesReducer, { defaultState as dateDefaultState } from \"../reducers/tdpDatesReducer\";\nimport tdpMarketingReducer, { defaultState as marketingDefaultState } from \"../reducers/tdpMarketingReducer\";\nimport triggers from \"../reducers/triggers\";\nimport dashboard from \"../reducers/dashboardReducer/dashboardReducer\";\nimport userSettings from \"../reducers/userSettingsReducer\";\nimport { tdpDetailsReducer, defaultState as detailsDefaultState } from \"../reducers/tdpDetailsReducer\";\nimport { tdpDocumentsReducer, defaultState as documentsDefaultState } from \"../reducers/tdpDocumentsReducer\";\nimport {\n tdpFinancialsReducer,\n defaultState as financialsDefaultState,\n} from \"../reducers/tdpFinancialsReducer\";\nimport tdpTimelineReducer, { defaultState as timelineDefaultState } from \"../reducers/tdpTimelineReducer\";\nimport { tdpTasksReducer, defaultState as tasksDefaultState } from \"../reducers/tdpTasksReducer\";\nimport { tdpFeedbackReducer, defaultState as feedbackDefaultState } from \"../reducers/tdpFeedbackReducer\";\nimport { tdpPeopleReducer, defaultState as peopleDefaultState } from \"../reducers/tdpPeopleReducer\";\nimport {\n tdpInteractionsReducer,\n defaultState as interactionsDefaultState,\n} from \"../reducers/tdpInteractionsReducer\";\nimport tdpNotesReducer, { defaultState as notesDefaultState } from \"../reducers/tdpNotesReducer\";\nimport partnerSearch, { defaultState as partnerSearchState } from \"../reducers/partnerSearchReducer\";\nimport { dialer, dialerInline } from \"../reducers/dialerReducer/dialerReducer\";\nimport website, { initialState as websiteState } from \"../reducers/websiteReducer/websiteReducer\";\nimport contactMerge from \"../reducers/contactMergeReducer/contactMergeReducer\";\nimport snackbar from \"../reducers/snackbarReducer\";\nimport autoPlanEdit from \"../reducers/autoPlanEdit\";\n\n// TODO: utilize currentUser from layoutStore\nconst getTdpPreloadedState = (tdp) => {\n if (!tdp) return {};\n return {\n tdpAutoPlansReducer: {\n ...autoPlansDefaultState,\n uuid: tdp.uuid,\n },\n tdpDatesReducer: {\n ...dateDefaultState,\n uuid: tdp.uuid,\n },\n tdpMarketingReducer: {\n ...marketingDefaultState,\n uuid: tdp.uuid,\n },\n tdpDetailsReducer: {\n ...detailsDefaultState,\n uuid: tdp.uuid,\n awsDirectPost: tdp.awsDirectPost,\n currentUserId: tdp.currentUserId,\n currentUser: tdp.currentUser,\n isAdmin: tdp.isAdmin,\n slug: tdp.slug,\n person: tdp.person,\n smsEnabled: tdp.smsEnabled,\n accountUUID: tdp.accountUUID,\n messagingServiceUrl: tdp.messagingServiceUrl,\n },\n tdpDocumentsReducer: {\n ...documentsDefaultState,\n uuid: tdp.uuid,\n },\n tdpFinancialsReducer: {\n ...financialsDefaultState,\n transactionSlug: tdp.slug,\n },\n tdpTimelineReducer: {\n ...timelineDefaultState,\n uuid: tdp.uuid,\n },\n tdpTasksReducer: {\n ...tasksDefaultState,\n uuid: tdp.uuid,\n },\n tdpFeedbackReducer: {\n ...feedbackDefaultState,\n uuid: tdp.uuid,\n },\n tdpPeopleReducer: {\n ...peopleDefaultState,\n uuid: tdp.uuid,\n agents: tdp.agents,\n },\n tdpInteractionsReducer: {\n ...interactionsDefaultState,\n uuid: tdp.uuid,\n managedNumber: tdp.managedNumber,\n userNumber: tdp.userNumber,\n },\n tdpNotesReducer: {\n ...notesDefaultState,\n notableId: tdp.notableId,\n },\n tdpTitleAndEscrowReducer: {\n ...titleAndEscrowDefaultState,\n uuid: tdp.uuid,\n },\n };\n};\n\nconst layoutStore = ({ tdp, ...preloadedState }, railsContext) => reduxConfigureStore({\n middleware: (getDefaultMiddleware) =>\n getDefaultMiddleware({ immutableCheck: false, serializableCheck: false }),\n preloadedState: {\n ...createHumps(camelCase)({\n ...preloadedState,\n // combined server + client initial state\n messaging: { ...messagingInitialState, ...preloadedState.messaging },\n partnerSearch: { ...partnerSearchState, ...preloadedState.partner_search },\n website: { ...websiteState, ...preloadedState.website },\n }),\n ...getTdpPreloadedState(tdp),\n },\n reducer: {\n addMarketReport,\n autoPlans,\n autoPlanEdit,\n businessSettings,\n contactMerge,\n contactsReducer,\n dashboard,\n dialer,\n dialerInline,\n interactionTemplates,\n layout,\n leadIndex,\n messaging,\n partnerSearch,\n personDetail,\n phoneSettings,\n reports,\n snackbar,\n triggers,\n tdpAutoPlansReducer,\n tdpDatesReducer,\n tdpDetailsReducer,\n tdpDocumentsReducer,\n tdpFeedbackReducer,\n tdpFinancialsReducer,\n tdpInteractionsReducer,\n tdpMarketingReducer,\n triggers,\n tdpNotesReducer,\n tdpPeopleReducer,\n tdpTasksReducer,\n tdpThumbnailSelector,\n tdpTimelineReducer,\n tdpTitleAndEscrowReducer,\n userSettings,\n website,\n },\n});\n\nexport default layoutStore;\n","import React, { useState } from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport { FloatingForm } from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport Tag from \"@shared/v2/Tag\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport { caseTransformingAxios } from \"../../shared/v2/caseTransformingAxios\";\nimport { addPeopleSmartFilterOption } from \"../../reducers/layoutReducer\";\n\nconst AppliedFilters = ({ clearLink, filters }) => {\n const dispatch = useDispatch();\n const [loading, setLoading] = useState(false);\n const [name, setName] = useState(\"\");\n const [isOpen, setIsOpen] = useState(false);\n\n const saveFilter = (data) => {\n setLoading(true);\n return caseTransformingAxios.post(\"/user_filters.json\", data).then((res) => {\n dispatch(addPeopleSmartFilterOption({ option: res.data }));\n setLoading(false);\n setName(\"\");\n setIsOpen(false);\n });\n };\n\n const removeFilter = (filter) => {\n const removeQueryParams = new URLSearchParams(filter.param);\n const queryParams = new URLSearchParams(filters.map((f) => f.param).join(\"&\"));\n\n Array.from(removeQueryParams.entries()).forEach(([key, value]) => {\n queryParams.delete(key, value || undefined);\n });\n\n window.location.replace(queryParams.size > 0 ? `?${queryParams}` : clearLink);\n };\n\n return (\n
\n {filters?.map((filter) => (\n removeFilter(filter)}\n >\n {filter.name || filter}\n \n ))}\n\n setIsOpen(true)}>\n Save Filter\n \n\n saveFilter({ name })}\n onCancel={() => setIsOpen(false)}\n isSecondaryLoading={loading}\n isPrimaryLoading={loading}\n >\n
\n

\n Your current filters will be saved as a Smart Filter in the left navigation.\n

\n setName(e.target.value)} />\n
\n \n\n window.location.assign(clearLink)}\n >\n Clear All\n \n
\n );\n};\n\nAppliedFilters.propTypes = {\n clearLink: PropTypes.string.isRequired,\n filters: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default AppliedFilters;\n","import React, { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Provider } from \"react-redux\";\nimport AppliedFilters from \"./AppliedFilters\";\n\nconst AppliedFiltersApp = ({ clear_link: clearLink, filters }) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n\nAppliedFiltersApp.propTypes = {\n clear_link: PropTypes.string.isRequired,\n filters: PropTypes.arrayOf(PropTypes.string).isRequired,\n};\n\nexport default AppliedFiltersApp;\n","import { useEffect, useMemo, useState } from \"react\";\n\nconst byteNumberFormatter = Intl.NumberFormat(\"en\", {\n notation: \"compact\",\n style: \"unit\",\n unit: \"byte\",\n unitDisplay: \"narrow\",\n});\n\nconst useAttachments = ({ accept, maxFiles = 5, maxSizeBytes = 18 * 1024 * 1024, multiple }) => {\n const fileInput = useMemo(() => {\n const input = document.createElement(\"input\");\n input.type = \"file\";\n input.className = \"tw-invisible tw-h-0\";\n return input;\n }, []);\n const [error, setError] = useState(null);\n const [files, setFiles] = useState([]);\n\n useEffect(() => {\n const totalSize = files.reduce((total, file) => total + file.size, 0);\n if (files.length > maxFiles) {\n setError(`only ${maxFiles} attachments are allowed`);\n } else if (totalSize > maxSizeBytes) {\n setError(`you can only send up to ${byteNumberFormatter.format(maxSizeBytes)} of attachments`);\n } else {\n setError(null);\n }\n }, [files]);\n\n useEffect(() => {\n const onChange = (e) => {\n const selectedFiles = Array.from(e.target.files);\n setFiles((prevFiles) => [...prevFiles, ...selectedFiles]);\n };\n\n fileInput.accept = accept;\n fileInput.multiple = multiple;\n fileInput.addEventListener(\"change\", onChange);\n document.body.appendChild(fileInput);\n\n return () => {\n fileInput.removeEventListener(\"change\", onChange);\n document.body.removeChild(fileInput);\n };\n }, [accept, multiple]);\n\n return {\n actions: {\n addFiles: () => fileInput.click(),\n clear: () => {\n setError(null);\n setFiles([]);\n },\n removeFile: (file) => setFiles((prevFiles) => prevFiles.filter((f) => f !== file)),\n },\n error,\n files,\n };\n};\n\nexport default useAttachments;\n","/* global tinyMCE */\nimport { useEffect, useState } from \"react\";\nimport { caseTransformingAxios } from \"@shared/v2/caseTransformingAxios\";\n\nconst validateForm = (formData) => {\n let errors = null;\n if (!formData.get(\"[message][subject]\")?.trim()) {\n errors = { ...errors, subject: \"is required\" };\n }\n if (!tinyMCE.activeEditor.getContent()?.trim()) {\n errors = { ...errors, body: \"is required\" };\n }\n return errors;\n};\n\nconst useMassEmail = (open) => {\n const [state, _setState] = useState({ data: null, errors: null, loading: false });\n const setState = (newState) => _setState((prevState) => ({ ...prevState, ...newState }));\n\n useEffect(() => {\n if (!open || state.data) return () => {};\n const abortController = new AbortController();\n setState({ loading: true });\n caseTransformingAxios\n .get(\"/api/v4/interactions/email_all_form\", { signal: abortController.signal })\n .then((res) => setState({ data: res.data, errors: null, loading: false }))\n .catch((err) => setState({ errors: err?.response?.data, loading: false }));\n return () => abortController.abort();\n }, [open, state.data]);\n\n return {\n actions: {\n sendEmail: (form) => {\n setState({ loading: true });\n const errors = validateForm(form);\n if (!errors) {\n setState({ loading: true });\n return caseTransformingAxios\n .post(\"/api/v4/interactions/email_all\", form)\n .then((res) => {\n setState({ loading: false });\n return res.data;\n })\n .catch((err) => {\n setState({ errors: { global: err?.response?.data?.content }, loading: false });\n throw err;\n });\n }\n setState({ errors });\n return Promise.reject();\n },\n parseTemplate: (id) =>\n caseTransformingAxios\n .get(\"/api/v4/interactions/parsed_email_template\", {\n params: { id },\n })\n .then((res) => res.data)\n .catch((err) => console.log(err)),\n },\n ...state,\n };\n};\n\nexport default useMassEmail;\n","/* global tinyMCE */\nimport React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport BrivityTextEditor from \"@shared/BrivityTextEditor\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport Alert from \"@shared/v2/Alert\";\nimport { PaperclipSolidV6, XmarkLargeSolidV6 } from \"@shared/v2/Icomoon\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport FieldError from \"@shared/v2/FieldError\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport useAttachments from \"./hooks/useAttachments\";\nimport useMassEmail from \"./hooks/useMassEmail\";\nimport Loading from \"../../../Goals/components/Loader\";\n\nconst getRecipientIds = () =>\n Array.from(document.querySelectorAll(\"input.multi-select:checked\")).map(\n (input) => input.closest(\"tr\").dataset.objectId,\n );\n\nconst getRecipientCount = () => {\n let count = 0;\n const isAllSelected = document.querySelector(\"#header-selected-count\")?.innerText === \"All\";\n if (isAllSelected) {\n count = parseInt(document.querySelector(\"#header-count\")?.innerText.replace(/[(),]/g, \"\") || \"0\", 10);\n } else {\n count = document.querySelectorAll(\"input.multi-select:checked\").length;\n }\n return { isAllSelected, count };\n};\n\nconst EmailAllModal = ({ hot_lead_avatar: hotLeadAvatar }) => {\n const formRef = useRef(null);\n const { count: recipientCount, isAllSelected } = getRecipientCount();\n const [acceptSpamRating, setAcceptSpamRating] = useState(false);\n const [disableSendButton, setDisableSendButton] = useState(true);\n const [isOpen, setIsOpen] = useState(false);\n const [selectedTemplate, setSelectedTemplate] = useState(null);\n const showSpamWarning = recipientCount > 1000 && !acceptSpamRating;\n\n const {\n actions: attachmentsActions,\n error: attachmentsError,\n files,\n } = useAttachments({\n accept: \".jpg,.png,.pdf,.doc,.docx,.txt,.xls,.xlsx,.csv,.ai,.ind,.psd\",\n multiple: true,\n });\n\n const { actions, data, errors, loading } = useMassEmail(isOpen);\n\n useEffect(() => {\n if (selectedTemplate) {\n actions.parseTemplate(selectedTemplate.value).then((parsedTemplate) => {\n formRef.current[\"[message][subject]\"].value = parsedTemplate.subject;\n tinyMCE.activeEditor.setContent(`${parsedTemplate.body}${parsedTemplate.signature}`);\n });\n }\n }, [selectedTemplate]);\n\n useEffect(() => {\n if (!isOpen) {\n attachmentsActions.clear();\n setSelectedTemplate(null);\n setAcceptSpamRating(false);\n setDisableSendButton(true);\n }\n }, [isOpen]);\n\n return (\n <>\n setIsOpen(true)}\n >\n Email\n \n setIsOpen(false)}\n closeOnEscape={false}\n >\n {\n e.preventDefault();\n const formData = new FormData(e.target);\n formData.delete(\"image\");\n formData.append(\"[message][body]\", tinyMCE.activeEditor.getContent());\n if (isAllSelected) {\n formData.append(\"select_all\", true);\n } else {\n formData.append(\"[message][recipient_ids]\", getRecipientIds());\n }\n files.forEach((file) => formData.append(\"[message][attachments][]\", file, file.name));\n if (!attachmentsError) {\n actions\n .sendEmail(formData)\n .then(() => setIsOpen(false))\n .catch(() => {});\n }\n }}\n >\n \n\n {showSpamWarning && (\n \n
\n

Warning

\n

Before sending a mass email to a large list, please consider:

\n
\n

\n Sending through a 3rd party service such as MailChimp or Constant Contact, or limiting your\n recipients to 1000 at a time or less, as sending to a large list can potentially affect your\n SPAM rating.\n

\n

\n Customizing your content to speak to a targeted audience with useful, specific calls to\n action.\n

\n

\n For more tips on targeted emails,{\" \"}\n \n click here\n \n .\n

\n setDisableSendButton((o) => !o)}\n />\n
\n )}\n\n {!showSpamWarning && (\n \n \n \n
\n \"hot\n
\n

Send to: {recipientCount.toLocaleString()} recipients

\n
\n (with valid email addresses, subscribed email addresses, not archived, and not trashed)\n
\n
\n
\n\n {errors?.global && }\n\n
\n \n setSelectedTemplate(template)}\n label=\"Email Template\"\n placeholder=\"Choose Email Template\"\n menuShouldComeToFront\n isClearable\n isSearchable\n />\n
\n\n
\n \n \n {loading && }\n {!loading && (\n \n )}\n
\n {errors?.body && }\n\n
\n \n {!loading && (\n {\n tinyMCE.activeEditor.execCommand(\n \"mceInsertContent\",\n false,\n (text || \"\").replace(/\\r\\n|\\r|\\n/g, \"
\"),\n );\n }}\n />\n )}\n
\n {attachmentsError && }\n
\n {files.map((file, i) => (\n // eslint-disable-next-line react/no-array-index-key\n
\n {file.name}\n attachmentsActions.removeFile(file)}>\n \n \n
\n ))}\n
\n
\n \n )}\n\n \n \n {showSpamWarning ? (\n {\n e.preventDefault();\n setAcceptSpamRating(true);\n }}\n >\n Continue\n \n ) : (\n \n )}\n \n \n \n \n );\n};\n\nEmailAllModal.propTypes = {\n hot_lead_avatar: PropTypes.string.isRequired,\n};\n\nexport default EmailAllModal;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst AvatarLink = ({ simplePerson }) => {\n if (simplePerson) {\n return (\n \n \n \n }\n content={simplePerson.fullName}\n />\n );\n }\n return \"N/A\";\n};\n\nAvatarLink.propTypes = {\n simplePerson: PropTypes.shape({\n href: PropTypes.string,\n avatar: PropTypes.string,\n fullName: PropTypes.string,\n }),\n};\n\nAvatarLink.defaultProps = {\n simplePerson: null,\n};\n\nexport default AvatarLink;\n","/* global tinyMCE */\nimport React, { useEffect, useState } from \"react\";\nimport moment from \"moment\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport FieldError from \"@shared/v2/FieldError\";\nimport BrivityTextEditor from \"@shared/BrivityTextEditor\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport AiAssistant from \"@shared/AiAssistant\";\nimport { SUBJECT_LINE_LIMIT_ERROR, isWithinSubjectLineLimit } from \"@shared/hooks/useSubjectLineLimitError\";\nimport {\n createInteractionTemplate,\n getEmailPlacholders,\n setEditTemplate,\n updateInteractionTemplate,\n} from \"../reducers/interactionTemplatesReducer\";\n\nconst validateTemplate = ({ name = \"\", subject = \"\", body = \"\" }) => {\n let errors = null;\n if (!name.trim()) errors = { ...errors, name: \"is required\" };\n if (!subject.trim()) errors = { ...errors, subject: \"is required\" };\n if (!isWithinSubjectLineLimit(subject.trim())) errors = { ...errors, subject: SUBJECT_LINE_LIMIT_ERROR };\n if (!body.trim()) errors = { ...errors, body: \"is required\" };\n return errors;\n};\n\nconst InteractionTemplateModal = () => {\n const dispatch = useDispatch();\n const [errors, setErrors] = useState({});\n const editTemplate = useSelector((state) => state.interactionTemplates.editTemplate);\n const emailPlaceholders = useSelector((state) => state.interactionTemplates.emailPlaceholders.data);\n const { errors: apiErrors, loading } = useSelector(\n (state) => state.interactionTemplates.interactionTemplates,\n );\n\n useEffect(() => {\n if (!editTemplate) setErrors({});\n }, [editTemplate]);\n\n useEffect(() => {\n dispatch(getEmailPlacholders());\n }, []);\n\n return (\n dispatch(setEditTemplate(null))}\n closeOnEscape={false}\n >\n {\n e.preventDefault();\n const template = Object.fromEntries(new FormData(e.target).entries());\n template.body = tinyMCE.activeEditor.getContent();\n delete template.image;\n\n const errs = validateTemplate(template);\n if (errs) {\n setErrors(errs);\n return;\n }\n\n setErrors({});\n\n if (editTemplate.id) {\n dispatch(updateInteractionTemplate({ template }));\n } else {\n dispatch(createInteractionTemplate({ template }));\n }\n }}\n >\n \n \n {editTemplate && }\n \n \n
\n \n \n {(errors.body || apiErrors?.body) && }\n \n tinyMCE.activeEditor.execCommand(\n \"mceInsertContent\",\n false,\n (text || \"\").replace(/\\r\\n|\\r|\\n/g, \"
\"),\n )\n }\n />\n
\n {editTemplate?.id && (\n <>\n \n Created {moment(editTemplate.createdAt).fromNow()} by {editTemplate.createdBy.fullName}\n \n {editTemplate.updatedBy && (\n \n Updated {moment(editTemplate.updatedAt).fromNow()} by {editTemplate.updatedBy.fullName}\n \n )}\n \n )}\n
\n \n
\n dispatch(setEditTemplate(null))}\n isLoading={loading}\n >\n Cancel\n \n
\n tinyMCE.activeEditor.execCommand(\"mcePreview\")}\n isLoading={loading}\n >\n Preview\n \n \n
\n
\n
\n \n \n );\n};\n\nexport default InteractionTemplateModal;\n","import React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport TextLink from \"@shared/v2/TextLink\";\nimport { deleteInteractionTemplate, setDeleteTemplate } from \"../reducers/interactionTemplatesReducer\";\n\nconst DeleteInteractionTemplateModal = () => {\n const dispatch = useDispatch();\n const deleteTemplate = useSelector((state) => state.interactionTemplates.deleteTemplate);\n const loading = useSelector((state) => state.interactionTemplates.interactionTemplates.loading);\n\n return (\n dispatch(setDeleteTemplate(null))}\n closeOnEscape={false}\n >\n \n \n

\n Are you sure you want to delete this template?{\" \"}\n {deleteTemplate?.actionPlans?.length > 0 && (\n <>\n This email Template is being used in {deleteTemplate.actionPlans.length} People Action Plans.\n Before deleting it we recommend you update them.\n \n )}\n

\n
    \n {deleteTemplate?.actionPlans?.map(({ name, href }) => (\n
  • \n \n {name}\n \n
  • \n ))}\n
\n {deleteTemplate?.futureInteractions !== 0 && (\n

\n Would you still like to send any pre-scheduled emails that came from this template? There are{\" \"}\n {deleteTemplate?.futureInteractions} pre-scheduled emails to be sent.\n

\n )}\n
\n \n
\n dispatch(setDeleteTemplate(null))}\n >\n Cancel\n \n
\n {deleteTemplate?.futureInteractions !== 0 && (\n \n dispatch(deleteInteractionTemplate({ template: deleteTemplate, archive: true }))\n }\n size=\"medium\"\n schema=\"tertiary\"\n >\n Send & Delete\n \n )}\n dispatch(deleteInteractionTemplate({ template: deleteTemplate }))}\n >\n Yes, Delete\n \n
\n
\n
\n \n );\n};\n\nexport default DeleteInteractionTemplateModal;\n","import React, { useEffect, useState } from \"react\";\nimport moment from \"moment\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport Button from \"@shared/v2/Button\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Pagination from \"@shared/v2/Pagination\";\nimport TabBar from \"@shared/v2/TabBar/TabBar\";\nimport Tab from \"@shared/v2/Tab/Tab\";\nimport { PencilSolidV6, PlusSolidV6, XmarkSolidV6 } from \"@shared/v2/Icomoon\";\nimport { TBody, TD, TH, THead, TR, Table } from \"../Reports/components/BusinessDashboard/Table/Table\";\nimport AvatarLink from \"./AvatarLink\";\nimport InteractionTemplateModal from \"./InteractionTemplateModal\";\nimport {\n getInteractionTemplates,\n setDeleteTemplate,\n setEditTemplate,\n} from \"../reducers/interactionTemplatesReducer\";\nimport DeleteInteractionTemplateModal from \"./DeleteInteractionTemplateModal\";\nimport Loading from \"../Goals/components/Loader\";\n\nconst THEAD_CLASSES = \"tw-border-[1px] tw-border-solid tw-border-x-0 tw-border-gray-5\";\n\nconst InteractionTemplates = () => {\n const queryParams = new URLSearchParams(window.location.search);\n const dispatch = useDispatch();\n const [page, setPage] = useState(queryParams.get(\"page\") || 1);\n const {\n loading,\n data: interactionTemplates,\n pagination,\n } = useSelector((state) => state.interactionTemplates.interactionTemplates);\n\n useEffect(() => {\n const onPopState = () => {\n const params = new URLSearchParams(window.location.search);\n setPage(params.get(\"page\") || 1);\n };\n window.addEventListener(\"popstate\", onPopState);\n return () => {\n window.removeEventListener(\"popstate\", onPopState);\n };\n }, []);\n\n useEffect(() => {\n dispatch(getInteractionTemplates({ params: { page } }));\n }, [page]);\n\n return (\n
\n

Templates

\n
\n \n \n \n \n {loading && (\n \n \n \n )}\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {interactionTemplates.map((template) => (\n \n \n \n \n \n \n \n \n ))}\n \n
TitleCreatedCreated ByLast UpdatedUpdated ByEdit
{template.name}{moment(template.createdAt).format(\"MMM DD, YYYY\")}\n \n {moment(template.updatedAt).fromNow()}\n \n \n
\n dispatch(setEditTemplate(template))}\n >\n \n \n dispatch(setDeleteTemplate(template))}\n >\n \n \n
\n
\n
\n\n {interactionTemplates.length > 0 && (\n
\n {\n window.history.pushState(null, null, `?page=${pageNumber}`);\n document.scrollingElement?.scrollTo({ top: 0 });\n setPage(pageNumber);\n }}\n />\n
\n )}\n\n \n \n
\n );\n};\n\nexport default InteractionTemplates;\n\nconst navigateToAlertTemplates = () => {\n window.location.href = \"/listing_alert_templates\";\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport InteractionTemplates from \"./InteractionTemplates\";\n\nconst InteractionTemplatesApp = () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n\nexport default InteractionTemplatesApp;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Modal from \"../../../shared/v2/Modal\";\nimport Button from \"../../../SearchListings/components/Button\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\nimport { buyTrackingNumber, updateVoicemailGreeting } from \"./services\";\nimport { LeadAssignInfo } from \"./shared\";\n\nconst ConfirmTrackingNumber = ({\n agentId,\n name,\n agents,\n number,\n routingMethod,\n sourceId,\n shouldCreateLeads,\n noAnswerSetting,\n voicemailGreetingFile,\n voicemailGreetingFilename,\n onConfirmBuy,\n onClose,\n inboundRecording,\n inboundNotificationMessageCondition,\n}) => {\n const [isFetching, setIsFetching] = useState(false);\n const [error, setError] = useState(\"\");\n\n const agentInfo = agents.map((a) => a.name).join(\", \");\n\n const buyNumber = async () => {\n setIsFetching(true);\n\n const { error: buyError, trackingNumberId } = await buyTrackingNumber(\n agentId,\n name,\n number.value,\n routingMethod,\n agents,\n sourceId,\n shouldCreateLeads,\n noAnswerSetting,\n voicemailGreetingFilename,\n inboundRecording,\n inboundNotificationMessageCondition,\n );\n\n if (voicemailGreetingFile !== null) {\n await updateVoicemailGreeting(trackingNumberId, voicemailGreetingFile, voicemailGreetingFilename);\n }\n\n if (buyError) {\n setError(buyError);\n setIsFetching(false);\n } else {\n onConfirmBuy();\n }\n };\n\n return (\n \n \n setError(\"\")} />\n \n \n
\n
Here's the details about your new tracking number:
\n \n \n \n \n
\n
\n \n
\n \n \n
\n
\n \n );\n};\n\nConfirmTrackingNumber.propTypes = {\n agentId: PropTypes.string.isRequired,\n number: PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n }).isRequired,\n name: PropTypes.string.isRequired,\n routingMethod: PropTypes.string.isRequired,\n agents: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n shouldCreateLeads: PropTypes.bool.isRequired,\n sourceId: PropTypes.string.isRequired,\n onConfirmBuy: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n inboundRecording: PropTypes.string,\n inboundNotificationMessageCondition: PropTypes.string,\n};\n\nConfirmTrackingNumber.defaultProps = {\n inboundRecording: \"disabled\",\n inboundNotificationMessageCondition: \"always\",\n};\n\nexport default ConfirmTrackingNumber;\n\nconst ItemSummary = ({ title, info }) => (\n \n {title}: \n {info}\n \n);\n\nItemSummary.propTypes = {\n title: PropTypes.string.isRequired,\n info: PropTypes.string.isRequired,\n};\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\n\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport RadioButton from \"../../../shared/v2/RadioButton/RadioButton\";\nimport { getAvailableNumbers, getAvailableTollFreeNumbers } from \"./services\";\nimport { CountryCodes } from \"./shared\";\nimport Modal from \"../../../shared/v2/Modal\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\nimport Divider from \"../../../Settings/Phone/Divider\";\n\nconst NumberSelection = ({\n countryCode,\n setCountryCode,\n areaCode,\n setAreaCode,\n generateTollFree,\n setGenerateTollFree,\n numberOptions,\n setNumberOptions,\n agentId,\n chosenNumber,\n setChosenNumber,\n onConfirmNumber,\n onClose,\n}) => {\n const [isFetching, setIsFetching] = useState(false);\n const [error, setError] = useState(\"\");\n\n const onGenerateTollFree = () => {\n setGenerateTollFree(true);\n setAreaCode(\"\");\n };\n\n const getNumberOptions = async () => {\n setIsFetching(true);\n setError(\"\");\n setChosenNumber({});\n\n const { numbers, error: numbersError } = generateTollFree\n ? await getAvailableTollFreeNumbers(agentId, countryCode.value)\n : await getAvailableNumbers(agentId, countryCode.value, areaCode);\n\n if (numbersError) {\n setError(numbersError);\n setNumberOptions([]);\n } else {\n setNumberOptions(numbers || []);\n }\n\n setIsFetching(false);\n };\n\n return (\n \n \n setError(\"\")} />\n \n \n \n
\n Tracking numbers can be used for specific campaigns and sources, so you know where your calls and\n leads are coming from.\n
\n
\n Would you like a local or toll-free number?\n
\n
\n setGenerateTollFree(false)}\n />\n \n
\n
\n
\n Country Code\n \n
\n
\n Area Code\n setAreaCode(e.target?.value || \"\")}\n value={areaCode}\n disabled={generateTollFree}\n />\n
\n
\n
\n \n Search\n \n
\n {numberOptions.length > 0 && (\n
\n \n
\n Choose a new tracking number:\n
\n
\n {numberOptions.map((number, i) => (\n \n setChosenNumber(number)}\n />\n
\n ))}\n
\n
\n )}\n \n \n \n
\n \n \n Next\n \n
\n
\n \n );\n};\n\nNumberSelection.propTypes = {\n agentId: PropTypes.string.isRequired,\n chosenNumber: PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n }).isRequired,\n setChosenNumber: PropTypes.func.isRequired,\n countryCode: PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n }).isRequired,\n setCountryCode: PropTypes.func.isRequired,\n areaCode: PropTypes.string.isRequired,\n setAreaCode: PropTypes.func.isRequired,\n generateTollFree: PropTypes.bool.isRequired,\n setGenerateTollFree: PropTypes.func.isRequired,\n numberOptions: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n setNumberOptions: PropTypes.func.isRequired,\n onConfirmNumber: PropTypes.func.isRequired,\n onClose: PropTypes.func.isRequired,\n};\n\nexport default NumberSelection;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\nimport { deleteTrackingNumber } from \"./services\";\n\nconst ConfirmDeleteTrackingNumber = ({ trackingNumberId, onClose, onConfirmDelete, chooseNotToDelete }) => {\n const [isFetching, setIsFetching] = useState(false);\n const [error, setError] = useState(\"\");\n\n const deleteNumber = async () => {\n setIsFetching(true);\n\n const { error: deleteError } = await deleteTrackingNumber(trackingNumberId);\n\n if (deleteError) {\n setError(deleteError);\n setIsFetching(false);\n } else {\n onConfirmDelete();\n }\n };\n\n return (\n \n \n setError(\"\")} />\n \n \n
\n \n \n This action is permanent. None of your data will be retained, and we will not be held\n accountable for any loss of data.{\" \"}\n \n \n \n Any calls made to this number will not be forwarded to your other Brivity Numbers. Additionally,\n if this number is a vanity number, we will not retain this number and cannot guarantee its\n availability if you wish to purchase it again.\n \n \n Make sure to remove the tracking number from relevant materials (flyers, websites, other lead\n sources) before continuing.{\" \"}\n \n
\n
\n \n
\n \n \n
\n
\n \n );\n};\n\nConfirmDeleteTrackingNumber.propTypes = {\n trackingNumberId: PropTypes.string.isRequired,\n onClose: PropTypes.func.isRequired,\n onConfirmDelete: PropTypes.func.isRequired,\n chooseNotToDelete: PropTypes.func.isRequired,\n};\n\nexport default ConfirmDeleteTrackingNumber;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport Avatar from \"../../../shared/v2/Avatar\";\nimport Checkbox from \"../../../Transactions/components/shared/Checkbox\";\n\nconst Option = ({ componentProps, children }) => (\n \n \n {children}\n \n);\n\nOption.propTypes = {\n componentProps: PropTypes.shape({\n isSelected: PropTypes.bool.isRequired,\n }).isRequired,\n children: PropTypes.shape({}).isRequired,\n};\n\nconst formatOptionLabel = ({ label, avatarUrl, routingNumber }) => (\n
\n \n \n {label} — {routingNumber}\n \n
\n);\n\nconst UsersDropdown = ({ selectedUsers, users, setSelectedUsers, placeholder }) => {\n const userOptions = users.toSorted((a, b) => (a.label > b.label ? 1 : -1));\n\n const onOptionSelected = (selected) => {\n setSelectedUsers(selected);\n };\n\n return (\n \n );\n};\n\nUsersDropdown.propTypes = {\n selectedUsers: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n users: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n }),\n ).isRequired,\n setSelectedUsers: PropTypes.func.isRequired,\n placeholder: PropTypes.string.isRequired,\n};\n\nexport default UsersDropdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { PlusSolidV6 } from \"../../../shared/v2/Icomoon\";\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\n\nconst GroupHeading = ({ children, componentProps }) => {\n if (children === \"new\") {\n // eslint-disable-next-line react/jsx-props-no-spreading\n return ;\n }\n\n return (\n \n
\n
{children}
\n \n
\n
\n );\n};\n\nGroupHeading.propTypes = {\n children: PropTypes.shape({}).isRequired,\n componentProps: PropTypes.shape({}).isRequired,\n};\n\nconst SingleValue = ({ componentProps, children }) => (\n \n {children}\n \n);\n\nSingleValue.propTypes = {\n children: PropTypes.shape({}).isRequired,\n componentProps: PropTypes.shape({}).isRequired,\n};\n\nconst formatOptionLabel = ({ label, value }) =>\n value === \"new\" ? (\n
\n \n {label}\n
\n ) : (\n label\n );\n\nconst SourcesDropdown = ({ source, setSource, sources, trackingNumberName }) => {\n const value =\n source === \"new\" && trackingNumberName\n ? { label: trackingNumberName, value: \"new\" }\n : sources.find((s) => s?.value === source);\n\n const groupedSources = [\n {\n label: \"new\",\n options: [\n { label: \"Make new source with Tracking Number Name\", value: \"new\", shouldBeDisplayed: false },\n ],\n },\n {\n label: \"Existing Sources\",\n options: sources,\n },\n ];\n\n return (\n setSource(s.value)}\n components={{\n GroupHeading,\n SingleValue,\n }}\n formatOptionLabel={formatOptionLabel}\n />\n );\n};\n\nSourcesDropdown.propTypes = {\n source: PropTypes.string.isRequired,\n setSource: PropTypes.func.isRequired,\n sources: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n trackingNumberName: PropTypes.string.isRequired,\n};\n\nexport default SourcesDropdown;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport ActivitiesDropdown from \"../../../Reports/components/Leaderboards/ActivitiesDropdown\";\nimport { LeadAssignInfo } from \"./shared\";\n\nconst LeadAssignTypeOptions = Object.entries(LeadAssignInfo).map(([key, value]) => ({\n value: key,\n label: value.pretty,\n}));\n\nconst LeadAssignType = ({ assignType, setAssignType }) => {\n const assignTypeOption = LeadAssignTypeOptions.find(({ value }) => value === assignType);\n\n return (\n
\n
\n Route calls via\n \n
\n
{LeadAssignInfo[assignType].description}
\n
\n );\n};\n\nLeadAssignType.propTypes = {\n assignType: PropTypes.string.isRequired,\n setAssignType: PropTypes.func.isRequired,\n};\n\nexport default LeadAssignType;\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Avatar from \"../../../shared/v2/Avatar\";\nimport { XSolidV6 } from \"../../../shared/v2/Icomoon\";\n\nconst FirstToClaimLimit = 10;\n\nconst FirstToClaim = ({ agents, setAgents }) => {\n const removeAgent = (id) => {\n setAgents(agents.filter((agent) => agent.id !== id));\n };\n\n return agents?.length ? (\n
\n {agents.length > 0 &&\n agents.map((agent, i) => (\n FirstToClaimLimit}\n />\n ))}\n
\n ) : (\n No users selected\n );\n};\n\nFirstToClaim.propTypes = {\n agents: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.string.isRequired,\n }),\n ).isRequired,\n setAgents: PropTypes.func.isRequired,\n};\n\nexport default FirstToClaim;\n\nconst AgentRemove = ({ agent, removeAgent, isOverLimit }) => {\n const agentInfo = (\n \n \n \n {agent.name} - {agent.routingNumber}\n \n
\n );\n\n return (\n
\n {isOverLimit ? (\n \n ) : (\n agentInfo\n )}\n
removeAgent(agent.id)}>\n \n
\n
\n );\n};\n\nAgentRemove.propTypes = {\n agent: PropTypes.shape({\n name: PropTypes.string.isRequired,\n avatarUrl: PropTypes.string.isRequired,\n routingNumber: PropTypes.string.isRequired,\n id: PropTypes.string.isRequired,\n }).isRequired,\n removeAgent: PropTypes.func.isRequired,\n isOverLimit: PropTypes.bool.isRequired,\n};\n","/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\n\nimport Avatar from \"../../../shared/v2/Avatar\";\nimport { XSolidV6 } from \"../../../shared/v2/Icomoon\";\nimport DragHandle from \"../../../shared/v2/DragHandle\";\n\nconst reorder = (array, oldIndex, newIndex) => {\n const result = Array.from(array);\n const [removed] = result.splice(oldIndex, 1);\n result.splice(newIndex, 0, removed);\n\n return result;\n};\n\nconst RoundRobin = ({ agents, setAgents }) => {\n const removeAgent = (id) => {\n setAgents(agents.filter((agent) => agent.id !== id));\n };\n\n const onSortEnd = ({ destination, source }) => {\n if (!destination) {\n return;\n }\n\n if (destination.index === source.index) {\n return;\n }\n\n setAgents(reorder(agents, source.index, destination.index));\n };\n\n return agents?.length ? (\n \n \n {(providedDroppable) => (\n \n {agents.length > 0 &&\n agents.map((agent, i) => (\n \n {(providedDraggable) => (\n \n \n
\n )}\n \n ))}\n {providedDroppable.placeholder}\n
\n )}\n \n \n ) : (\n No users selected\n );\n};\n\nRoundRobin.propTypes = {\n agents: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n setAgents: PropTypes.func.isRequired,\n};\n\nexport default RoundRobin;\n\nconst RoundRobinAgent = ({ dragHandleProps, agent, removeAgent }) => (\n
\n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n \n \n \n {agent.name} - {agent.routingNumber}\n \n
removeAgent(agent.id)}>\n \n
\n
\n);\n\nRoundRobinAgent.propTypes = {\n dragHandleProps: PropTypes.shape({}).isRequired,\n agent: PropTypes.shape({\n avatarUrl: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n routingNumber: PropTypes.string.isRequired,\n id: PropTypes.string.isRequired,\n }).isRequired,\n removeAgent: PropTypes.func.isRequired,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nconst LeadCreation = ({ createLead, setCreateLead }) => (\n
\n Lead Creation\n
\n setCreateLead(!createLead)}\n label=\"Create phone number only leads for inbound calls to this number. Leads will be assigned to whoever answers the phone.\"\n />\n
\n
\n);\n\nLeadCreation.propTypes = {\n createLead: PropTypes.bool.isRequired,\n setCreateLead: PropTypes.func.isRequired,\n};\n\nexport default LeadCreation;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\n\nconst DeleteTrackingNumber = ({ beginDeletionConfirmation }) => {\n const [agreedToDelete, setAgreedToDelete] = useState(false);\n\n return (\n
\n Delete Tracking Number\n
\n \n We will not retain any of the tracking data associated with this number and cannot be held\n accountable for any loss of data.\n \n \n Make sure to remove the tracking number from relevant materials (flyers, websites, other lead\n sources) before continuing.\n \n
\n
\n setAgreedToDelete(!agreedToDelete)}\n label=\"I have read the above and understand that Brivity will not be held responsible for any loss of critical data resulting from the deletion of this number.\"\n />\n
\n
\n \n
\n
\n );\n};\n\nDeleteTrackingNumber.propTypes = {\n beginDeletionConfirmation: PropTypes.func.isRequired,\n};\n\nexport default DeleteTrackingNumber;\n","import Button from \"@shared/v2/Button\";\nimport RotateRightSolidV6 from \"../../../shared/v2/Icomoon/Icons/RotateRightSolidV6\";\nimport StopSolidV6 from \"../../../shared/v2/Icomoon/Icons/StopSolidV6\";\nimport UploadSolidV6 from \"../../../shared/v2/Icomoon/Icons/UploadSolidV6\";\n\nimport React, { useState, useRef, useEffect } from \"react\";\nimport vmsg from \"vmsg\";\nimport wasmUrl from \"vmsg/vmsg.wasm\";\n\nconst VoicemailRecorder = ({\n setVoicemailGreetingChanged,\n voicemailGreetingFile,\n setVoicemailGreetingFile,\n voicemailGreetingFilename,\n setVoicemailGreetingFilename,\n}) => {\n const [isUploading, setIsUploading] = useState(false);\n const [step, setStep] = useState(voicemailGreetingFilename === null ? 0 : 3);\n const inputFile = useRef(null);\n\n const componentByStep = (step) => {\n switch (step) {\n case 0:\n return ;\n case 1:\n return ;\n case 2:\n return (\n \n );\n case 3:\n return (\n \n );\n case 4:\n return (\n \n );\n case 5:\n return (\n \n );\n }\n };\n\n const FileUpload = () => {\n return (\n \n );\n };\n\n const handleFileUpload = (e) => {\n const file = e.target.files[0];\n setVoicemailGreetingFile(URL.createObjectURL(file));\n setVoicemailGreetingFilename(file.name);\n setVoicemailGreetingChanged(true);\n setIsUploading(false);\n setStep(3);\n };\n\n return (\n
\n \n Voicemail\n

\n Custom voicemails are optional; if one is not provided, the default automated voicemail will be used.\n {voicemailGreetingFilename === null ? (\n You are currently using the default.\n ) : (\n \"\"\n )}\n

\n {componentByStep(step)}\n
\n );\n};\n\nexport default VoicemailRecorder;\n\nconst RecordOrUpload = ({ setStep, inputFile }) => {\n return (\n
\n

Record or upload a custom voicemail

\n

Uploaded files must be in .mp3 format

\n
\n \n \n
\n
\n );\n};\n\nconst ReadyToRecord = ({ setStep, voicemailGreetingFilename }) => {\n return (\n
\n
\n

CLICK START TO RECORD

\n setStep(voicemailGreetingFilename === null ? 0 : 3)}\n >\n Cancel\n \n
\n
\n \n

0:00

\n
\n
\n );\n};\n\nconst RecordingInProgress = ({\n setStep,\n setVoicemailGreetingFile,\n setVoicemailGreetingFilename,\n setVoicemailGreetingChanged,\n}) => {\n const [isRecording, setIsRecording] = useState(false);\n const [secondsRecording, setSecondsRecording] = useState(0);\n\n const formatSeconds = () => {\n const minutes = Math.floor(secondsRecording / 60);\n const seconds = secondsRecording % 60;\n return `${minutes}:${seconds < 10 ? \"0\" : \"\"}${seconds}`;\n };\n\n const startRecording = async () => {\n try {\n await recorder.initAudio();\n await recorder.initWorker();\n recorder.startRecording();\n setIsRecording(true);\n } catch (e) {\n console.error(e);\n }\n };\n\n const stopRecording = async () => {\n if (isRecording) {\n try {\n const blob = await recorder.stopRecording();\n setVoicemailGreetingFile(URL.createObjectURL(blob));\n setVoicemailGreetingFilename(\n `Recorded on ${new Date().toLocaleDateString().replaceAll(\"/\", \"-\")}.mp3`,\n );\n setVoicemailGreetingChanged(true);\n } catch (e) {\n console.error(e);\n }\n\n setSecondsRecording(0);\n }\n\n setIsRecording(false);\n };\n\n useInterval(\n () => {\n setSecondsRecording(secondsRecording + 1);\n },\n isRecording ? 1000 : null,\n );\n\n if (!isRecording) {\n startRecording();\n }\n\n const done = () => {\n if (isRecording) {\n stopRecording();\n }\n\n setStep(3);\n };\n\n return (\n
\n

RECORDING IN PROGRESS...

\n
\n \n

{formatSeconds()}

\n
\n
\n );\n};\n\nconst DoneRecording = ({ setStep, setIsUploading, voicemailGreetingFilename, voicemailGreetingFile }) => {\n const uploadConfirm = () => {\n setIsUploading(true);\n setStep(4);\n };\n\n return (\n
\n
\n

\"{voicemailGreetingFilename}\"

\n
\n \n \n \n
\n
\n
\n );\n};\n\nconst ReplaceConfirm = ({ setStep, isUploading, setIsUploading, inputFile }) => {\n return (\n \n
\n

\n Updating this voicemail will remove the currently uploaded one.\n

\n

There is no way to get this back. Are you sure?

\n
\n
\n
\n setIsUploading(false) || setStep(3)}\n >\n Cancel\n \n \n
\n
\n {isUploading && (\n
\n
\n

\n Uploaded files must be in .mp3 format\n

\n
\n
\n )}\n
\n );\n};\n\nconst DeleteConfirm = ({\n setStep,\n setVoicemailGreetingFile,\n setVoicemailGreetingFilename,\n setVoicemailGreetingChanged,\n}) => {\n const deleteGreeting = () => {\n setVoicemailGreetingFile(null);\n setVoicemailGreetingFilename(null);\n setVoicemailGreetingChanged(true);\n setStep(0);\n };\n\n return (\n
\n
\n

There is no way to retrieve a deleted voicemail.

\n

You will have to either upload or record a new one. Are you sure?

\n
\n
\n
\n \n \n
\n
\n
\n );\n};\n\nconst useInterval = (callback, delay) => {\n const savedCallback = useRef();\n\n useEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n\n useEffect(() => {\n function tick() {\n savedCallback.current();\n }\n\n if (delay !== null) {\n let id = setInterval(tick, delay);\n return () => clearInterval(id);\n }\n }, [delay]);\n};\n\nconst recorder = new vmsg.Recorder({\n wasmURL: wasmUrl,\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Dropdown from \"@shared/v2/Dropdown/Dropdown\";\nimport { CustomOption } from \"../../../Settings/Phone/CallRecordingDropdown\";\nimport { INBOUND_RECORDING_OPTIONS } from \"../../../Settings/Phone/helpers/recordingOptions\";\nimport { inboundRecordingNotificationOptions } from \"../../../Settings/Phone/helpers/recordingNotificationOptions\";\nimport { useIsTwoPartyStateCurrentUser } from \"../../../reducers/layoutReducer/selectors\";\nimport PlayMessage from \"../../../Settings/Phone/PlayMessage\";\nimport NoticeTwoPartyConsent from \"../../../Settings/Phone/NoticeTwoPartyConsent\";\n\nconst CallRecording = ({\n inboundRecording,\n setInboundNotificationMessageCondition,\n setInboundRecording,\n inboundNotificationMessageCondition,\n showTwoPartyNotice,\n agreeTwoParty,\n setAgreeTwoParty,\n isPlace,\n}) => {\n const isTwoPartyState = useIsTwoPartyStateCurrentUser();\n const inboundNotificationOptions = inboundRecordingNotificationOptions(isPlace, isTwoPartyState);\n\n return (\n
\n
Call Recording
\n\n
\n o.value === inboundRecording)}\n name=\"inboundRecording\"\n menuShouldComeToFront\n onChange={(option) => setInboundRecording(option.value)}\n />\n {inboundRecording !== \"disabled\" ? (\n o.value === inboundNotificationMessageCondition)}\n name=\"inboundNotificationMessageCondition\"\n menuShouldComeToFront\n onChange={(option) => setInboundNotificationMessageCondition(option.value)}\n toolTipPlacement=\"top\"\n toolTipInfoContent={\n
\n Audio notification message must always play for businesses operating in states that require\n 2-party consent to record phone calls.\n
\n }\n />\n ) : (\n
\n )}\n
\n
\n
\n {inboundRecording !== \"disabled\" ? :
}\n
\n \n
\n );\n};\n\nCallRecording.propTypes = {\n setInboundNotificationMessageCondition: PropTypes.func,\n setInboundRecording: PropTypes.func,\n inboundRecording: PropTypes.string,\n inboundNotificationMessageCondition: PropTypes.string,\n setAgreeTwoParty: PropTypes.func,\n showTwoPartyNotice: PropTypes.bool,\n agreeTwoParty: PropTypes.bool,\n isPlace: PropTypes.bool,\n};\n\nCallRecording.defaultProps = {\n inboundRecording: \"disabled\",\n inboundNotificationMessageCondition: \"always\",\n setInboundNotificationMessageCondition: () => {},\n setInboundRecording: () => {},\n showTwoPartyNotice: false,\n agreeTwoParty: false,\n setAgreeTwoParty: () => {},\n isPlace: false,\n};\nexport default CallRecording;\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"../../../shared/v2/Dropdown/Dropdown\";\nimport Modal from \"../../../shared/v2/Modal\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\nimport UsersDropdown from \"./UsersDropdown\";\nimport SourcesDropdown from \"./SourcesDropdown\";\nimport LeadAssignType from \"./LeadAssignType\";\nimport FirstToClaim from \"./FirstToClaim\";\nimport RoundRobin from \"./RoundRobin\";\nimport LeadCreation from \"./LeadCreation\";\nimport DeleteTrackingNumber from \"./DeleteTrackingNumber\";\nimport { updateTrackingNumber, updateVoicemailGreeting } from \"./services\";\nimport { useAccountCallRecordingSettings } from \"../../../reducers/layoutReducer/selectors\";\nimport VoicemailRecorder from \"./VoicemailRecorder\";\nimport Divider from \"../../../Settings/Phone/Divider\";\nimport CallRecording from \"./CallRecording\";\n\nconst TrackingNumberDetailsModal = ({\n routingMethod,\n setRoutingMethod,\n selectedUsers,\n setSelectedUsers,\n noAnswerSetting,\n setNoAnswerSetting,\n voicemailGreetingChanged,\n setVoicemailGreetingChanged,\n voicemailGreetingFile,\n setVoicemailGreetingFile,\n voicemailGreetingFilename,\n setVoicemailGreetingFilename,\n name,\n setName,\n sources,\n source,\n setSource,\n chosenNumber,\n createLead,\n setCreateLead,\n agents,\n isNewNumber,\n onClose,\n showDetailsModal,\n inboundRecording,\n setInboundRecording,\n setInboundNotificationMessageCondition,\n inboundNotificationMessageCondition,\n trackingNumber,\n beginDeletionConfirmation,\n onNumbersChanged,\n purchaseNumber,\n backToNumberSelection,\n isPlace,\n}) => {\n const [isFetching, setIsFetching] = useState(false);\n const [error, setError] = useState(\"\");\n\n const FIRST_TO_CLAIM_LIMIT = 10;\n\n const accountCallRecordingSettings = useAccountCallRecordingSettings();\n const showTwoPartyNotice = inboundNotificationMessageCondition !== \"always\";\n const initialAgreeTwoParty = accountCallRecordingSettings.inboundNotificationMessageCondition !== \"always\";\n const [agreeTwoParty, setAgreeTwoParty] = useState(initialAgreeTwoParty);\n\n useEffect(() => {\n if (showTwoPartyNotice) setAgreeTwoParty(initialAgreeTwoParty);\n }, [showTwoPartyNotice]);\n\n useEffect(() => {\n if (accountCallRecordingSettings && showDetailsModal) {\n setAgreeTwoParty(initialAgreeTwoParty);\n }\n }, [accountCallRecordingSettings, showDetailsModal]);\n\n useEffect(() => {\n if (inboundRecording === \"disabled\") {\n setInboundNotificationMessageCondition(\"always\");\n }\n }, [inboundRecording]);\n\n const update = async () => {\n setIsFetching(true);\n\n const { error: updateError } = await updateTrackingNumber(\n trackingNumber.id,\n name,\n source,\n routingMethod,\n selectedUsers,\n createLead,\n noAnswerSetting,\n voicemailGreetingFilename,\n inboundRecording,\n inboundNotificationMessageCondition,\n );\n\n if (voicemailGreetingChanged) {\n await updateVoicemailGreeting(trackingNumber.id, voicemailGreetingFile, voicemailGreetingFilename);\n }\n\n if (updateError) {\n setError(updateError);\n setIsFetching(false);\n } else {\n onNumbersChanged();\n }\n };\n\n const canSubmit = isNewNumber\n ? !!name && !!chosenNumber && selectedUsers.length > 0\n : !!name && selectedUsers.length > 0;\n\n const NoAnswerOptions = [\n { value: \"voicemail\", label: \"Go to voicemail\" },\n { value: \"dial_next\", label: \"Dial next agent in round robin\" },\n ];\n\n const noAnswerOption = NoAnswerOptions.find(({ value }) => value === noAnswerSetting);\n\n const saveText = () => {\n if (!isNewNumber) {\n return \"Save\";\n }\n\n return isPlace ? \"Activate Number\" : \"Buy Number\";\n };\n\n return (\n \n \n setError(\"\")} />\n \n \n \n
\n {isNewNumber ? (\n \n You’ve selected the tracking number {chosenNumber.label}. Now we’ll just need\n some information about your new tracking number:\n \n ) : (\n \n Tracking numbers can be used for specific campaigns and sources, so you know where your calls\n and leads are coming from.\n \n )}\n
\n
\n \n Tracking Number Name\n \n setName(e.target?.value || \"\")}\n value={name}\n />\n
\n
\n
\n \n Source for Tracking Number (optional)\n \n
\n
\n setSource(value)}\n />\n
\n \n Automatically assigns this source to leads created from this number{\" \"}\n \n
\n \n
\n
\n \n Select who this number will be routed to\n \n
\n
\n = FIRST_TO_CLAIM_LIMIT && routingMethod === \"first_to_claim\"\n ? \"Maximum number of users reached\"\n : \"Search or select users\"\n }\n />\n
\n
\n \n
\n
\n {routingMethod === \"first_to_claim\" ? (\n \n ) : (\n \n )}\n
\n
\n {routingMethod === \"round_robin\" && (\n
\n
\n \n If Original Agent doesn't answer...\n \n
\n
\n setNoAnswerSetting(selection.value)}\n />\n
\n
\n )}\n \n \n \n \n \n \n
\n {!isNewNumber && (\n <>\n \n
\n \n
\n \n )}\n \n \n \n
\n \n \n {saveText()}\n \n
\n
\n \n );\n};\n\nTrackingNumberDetailsModal.propTypes = {\n routingMethod: PropTypes.string.isRequired,\n setRoutingMethod: PropTypes.func.isRequired,\n selectedUsers: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n setSelectedUsers: PropTypes.func.isRequired,\n name: PropTypes.string.isRequired,\n setName: PropTypes.func.isRequired,\n source: PropTypes.number.isRequired,\n setSource: PropTypes.func.isRequired,\n chosenNumber: PropTypes.string.isRequired,\n createLead: PropTypes.bool.isRequired,\n setCreateLead: PropTypes.func.isRequired,\n beginDeletionConfirmation: PropTypes.func.isRequired,\n purchaseNumber: PropTypes.func.isRequired,\n backToNumberSelection: PropTypes.func.isRequired,\n agents: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n onClose: PropTypes.func.isRequired,\n showDetailsModal: PropTypes.bool.isRequired,\n inboundRecording: PropTypes.string.isRequired,\n setInboundRecording: PropTypes.func.isRequired,\n setInboundNotificationMessageCondition: PropTypes.func.isRequired,\n inboundNotificationMessageCondition: PropTypes.string.isRequired,\n trackingNumber: PropTypes.shape({\n id: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n createLead: PropTypes.bool.isRequired,\n source: PropTypes.string.isRequired,\n users: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n routingMethod: PropTypes.string.isRequired,\n }).isRequired,\n onNumbersChanged: PropTypes.func.isRequired,\n sources: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n isNewNumber: PropTypes.bool.isRequired,\n};\n\nexport default TrackingNumberDetailsModal;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport ConfirmTrackingNumber from \"./ConfirmTrackingNumber\";\nimport NumberSelection from \"./NumberSelection\";\nimport ConfirmDeleteTrackingNumber from \"./ConfirmDeleteTrackingNumber\";\nimport TrackingNumberDetailsModal from \"./TrackingNumberDetailsModal\";\nimport { CountryCodes } from \"./shared\";\n\nconst TrackingNumberModal = ({\n isNewNumber,\n trackingNumber,\n agents,\n agentId,\n sources,\n onNumbersChanged,\n onClose,\n isPlace,\n}) => {\n const [countryCode, setCountryCode] = useState(CountryCodes[0]);\n const [areaCode, setAreaCode] = useState(\"\");\n const [generateTollFree, setGenerateTollFree] = useState(false);\n const [numberOptions, setNumberOptions] = useState([]);\n const [name, setName] = useState(trackingNumber.name || \"\");\n const [inboundRecording, setInboundRecording] = useState(trackingNumber.inboundRecording || \"disabled\");\n const [inboundNotificationMessageCondition, setInboundNotificationMessageCondition] = useState(\n trackingNumber.inboundNotificationMessageCondition || \"always\",\n );\n\n const [createLead, setCreateLead] = useState(\n trackingNumber.createLead !== undefined ? trackingNumber.createLead : true,\n );\n const [chosenNumber, setChosenNumber] = useState({});\n const [source, setSource] = useState(trackingNumber.source ?? \"\");\n const [selectedUsers, setSelectedUsers] = useState(trackingNumber.users ?? []);\n const [noAnswerSetting, setNoAnswerSetting] = useState(trackingNumber.noAnswerSetting || \"voicemail\");\n const [routingMethod, setRoutingMethod] = useState(trackingNumber.routingMethod || \"first_to_claim\");\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n const [showDeleteConfirmationModal, setShowDeleteConfirmationModal] = useState(false);\n const [isNumberConfirmed, setIsNumberConfirmed] = useState(false);\n\n const confirmationModalShowing = showConfirmationModal || showDeleteConfirmationModal;\n const showNumberSelection = isNewNumber && !isNumberConfirmed && !confirmationModalShowing;\n const showDetailsModal = (isNumberConfirmed || !isNewNumber) && !confirmationModalShowing;\n\n const [voicemailGreetingChanged, setVoicemailGreetingChanged] = useState(false);\n const [voicemailGreetingFile, setVoicemailGreetingFile] = useState(\n trackingNumber.voicemailGreetingUrl || null,\n );\n const [voicemailGreetingFilename, setVoicemailGreetingFilename] = useState(\n trackingNumber.voicemailGreeting || null,\n );\n\n const confirmTrackingNumber = () => {\n setIsNumberConfirmed(true);\n };\n\n const purchaseNumber = () => {\n setShowConfirmationModal(true);\n };\n\n const beginDeletionConfirmation = () => {\n setShowDeleteConfirmationModal(true);\n };\n\n const chooseNotToDelete = () => {\n setShowDeleteConfirmationModal(false);\n };\n\n const backToNumberSelection = () => {\n setIsNumberConfirmed(false);\n };\n\n return (\n <>\n {showNumberSelection && (\n // show the number selection modal\n \n )}\n {showDetailsModal && (\n \n )}\n {showConfirmationModal && (\n \n )}\n {showDeleteConfirmationModal && (\n \n )}\n \n );\n};\n\nTrackingNumberModal.propTypes = {\n agents: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n agentId: PropTypes.string.isRequired,\n onClose: PropTypes.func.isRequired,\n trackingNumber: PropTypes.shape({\n id: PropTypes.string.isRequired,\n name: PropTypes.string.isRequired,\n createLead: PropTypes.bool.isRequired,\n source: PropTypes.string.isRequired,\n users: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n routingMethod: PropTypes.string.isRequired,\n }).isRequired,\n onNumbersChanged: PropTypes.func.isRequired,\n sources: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n isNewNumber: PropTypes.bool.isRequired,\n};\n\nexport default TrackingNumberModal;\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { PencilSolidV6, PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport AvatarGroup from \"@shared/v2/AvatarGroup/AvatarGroup\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Button from \"@shared/v2/Button\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Pagination from \"@shared/v2/Pagination\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport CircleInfoSolidV6 from \"@shared/v2/Icomoon/Icons/CircleInfoSolidV6\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { LeadAssignInfo, CallRecordingInfo } from \"./shared\";\nimport TrackingNumberModal from \"./TrackingNumberModal\";\nimport { Section } from \"../../../Reports/components/BusinessDashboard\";\nimport Error from \"../../../Reports/components/DashboardShared/Error\";\n\nconst TrackingNumbers = ({\n agentId,\n isAdmin,\n isPlace,\n agentsWithRoutingNumbers,\n trackingNumbers,\n sources,\n}) => {\n const [showTrackingModal, setShowTrackingModal] = useState(false);\n const [numberToEdit, setNumberToEdit] = useState(null);\n const [error, setError] = useState(\"\");\n const [numbersToDisplay, setNumbersToDisplay] = useState([]);\n const [offset, setOffset] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n\n const addTrackingNumber = () => {\n setShowTrackingModal(true);\n };\n\n const editTrackingNumber = (trackingNumber) => {\n setNumberToEdit({ ...trackingNumber });\n setShowTrackingModal(true);\n };\n\n const closeModal = () => {\n setShowTrackingModal(false);\n setNumberToEdit(null);\n };\n\n const refreshPage = () => {\n window.location.reload();\n };\n\n useEffect(() => {\n setNumbersToDisplay(trackingNumbers.slice(offset, offset + pageSize));\n }, [trackingNumbers, offset, pageSize]);\n\n return (\n
\n
\n Tracking Number Settings\n {isAdmin ? (\n \n ) : (\n \"\"\n )}\n
\n setError(\"\")} />\n {trackingNumbers.length > 0 ? (\n <>\n
\n \n Your team currently has{\" \"}\n \n {trackingNumbers.length} tracking number{trackingNumbers.length > 1 ? \"s\" : \"\"}\n \n .\n \n
\n
\n \n
\n {trackingNumbers.length > 10 && (\n \n )}\n \n ) : (\n
\n \n Looks like you have no tracking numbers active.\n \n \n Make it easier to connect with your leads, gain insight into your marketing campaigns, and\n understand your ROI like never before with Tracking Numbers.\n \n
\n )}\n {showTrackingModal && (\n \n )}\n
\n );\n};\n\nTrackingNumbers.propTypes = {\n isAdmin: PropTypes.bool.isRequired,\n agentId: PropTypes.number.isRequired,\n};\n\nconst PageSizes = [10, 25, 50].map((i) => ({ label: i, value: i }));\n\nconst PageBar = ({ totalCount, currentOffset, pageSize, onChangePage, onChangePageSize }) => {\n const totalPages = Math.ceil(totalCount / pageSize);\n const currentPage = currentOffset ? currentOffset / pageSize + 1 : 1;\n const nextPage = currentPage === totalPages ? currentPage : currentPage + 1;\n const previousPage = currentPage === 1 ? currentPage : currentPage - 1;\n\n const onGoToPage = (pageNumber) => {\n const newOffset = (pageNumber - 1) * pageSize;\n onChangePage(newOffset);\n };\n\n const changePageSize = ({ value }) => {\n onChangePageSize(value);\n };\n\n return (\n
\n
\n Rows per page:\n p.value === pageSize)}\n options={PageSizes}\n />\n
\n \n
\n );\n};\n\nPageBar.propTypes = {\n totalCount: PropTypes.number.isRequired,\n currentOffset: PropTypes.number.isRequired,\n pageSize: PropTypes.number.isRequired,\n onChangePage: PropTypes.func.isRequired,\n onChangePageSize: PropTypes.func.isRequired,\n};\n\nconst TableHeader = ({ children }) => {children};\n\nconst TableCell = ({ children }) => (\n \n {children}\n \n);\n\nconst TrackingNumbersTable = ({ isAdmin, trackingNumbers, onClickEdit, sources }) => {\n const sourcesHash = useMemo(\n () =>\n sources?.reduce((acc, { value, label }) => {\n acc[value] = label;\n\n return acc;\n }, {}),\n [sources],\n );\n\n return (\n
\n \n \n \n Tracking Number Name\n Number\n Members\n Source\n Routing Style\n \n Call Recording\n }\n innerClassName=\"!tw-text-left tw-max-w-[213px]\"\n content=\"Admins may update call recording settings by editing the tracking number.\"\n placement=\"top\"\n />\n \n {/* \n \n \n {trackingNumbers.map((tn) => (\n \n {tn.name}\n {tn.number}\n \n \n {tn.users?.map((user) => (\n \n {user.name}\n \n ))}\n \n \n {tn.source && sourcesHash[tn.source] ? sourcesHash[tn.source] : \"--\"}\n {LeadAssignInfo[tn.routingMethod].pretty}\n \n {tn.inboundRecording === \"disabled\" ? (\n \n {CallRecordingInfo[\"inboundRecording\"][tn.inboundRecording].pretty}\n \n ) : (\n
\n
\n {CallRecordingInfo[\"inboundRecording\"][tn.inboundRecording].pretty}\n
\n
\n Notification Message:{\" \"}\n {\n CallRecordingInfo[\"inboundNotificationMessageCondition\"][\n tn.inboundNotificationMessageCondition\n ].pretty\n }\n
\n
\n )}\n
\n {isAdmin ? (\n \n onClickEdit(tn)}>\n \n \n \n ) : (\n \"\"\n )}\n \n ))}\n
\n
Voicemmail */}\n {isAdmin ? Edit : \"\"}\n
\n
\n );\n};\n\nTrackingNumbersTable.propTypes = {\n isAdmin: PropTypes.bool.isRequired,\n trackingNumbers: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n onClickEdit: PropTypes.func.isRequired,\n sources: PropTypes.arrayOf(PropTypes.shape({})).isRequired,\n};\n\nexport default TrackingNumbers;\n","import axios from \"axios\";\n\nconst BasePath = \"/phone_system/tracking_numbers/\";\n\nconst createError = (e) => {\n const error = e.response ? e.response.data.error : \"Something went wrong!\";\n\n return { error };\n};\n\nconst appendOptionalFilters = (\n path,\n trackingNumbers,\n minDate,\n maxDate,\n duration,\n outcome,\n agents,\n callers,\n) => {\n let filters = [];\n\n if (trackingNumbers.length > 0) {\n filters.push(`tracking_number_ids=${trackingNumbers.join(\",\")}`);\n }\n\n if (minDate) {\n filters.push(`min_date=${minDate}`);\n }\n\n if (maxDate) {\n filters.push(`max_date=${maxDate}`);\n }\n\n if (duration) {\n filters.push(`duration=${duration.value}`);\n }\n\n if (outcome) {\n filters.push(`outcome=${outcome.value}`);\n }\n\n if (agents?.length) {\n filters.push(`agents=${agents.map((a) => a.value).join(\",\")}`);\n }\n\n if (path.includes(\"?\")) {\n return `${path}&${filters.join(\"&\")}`;\n }\n\n return `${path}?${filters.join(\"&\")}`;\n};\n\nexport const getCallLogs = async (\n trackingNumbers,\n minDate,\n maxDate,\n sortBy,\n sortDirection,\n offset,\n limit,\n filters,\n) => {\n try {\n let path = `${BasePath}call_logs?sort_by=${sortBy}&sort_direction=${sortDirection}&offset=${offset}&limit=${limit}`;\n path = appendOptionalFilters(\n path,\n trackingNumbers,\n minDate,\n maxDate,\n filters.duration,\n filters.outcome,\n filters.agents,\n );\n\n const response = await axios.get(path);\n return response.data?.tracking_number_calls || [];\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getStats = async (trackingNumbers, minDate, maxDate) => {\n try {\n let path = `${BasePath}stats`;\n path = appendOptionalFilters(path, trackingNumbers, minDate, maxDate);\n\n const response = await axios.get(path);\n return response.data;\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getTrackingNumbers = async () => {\n try {\n const response = await axios.get(BasePath);\n return response.data;\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getLogCount = async (trackingNumbers, minDate, maxDate, filters) => {\n try {\n let path = `${BasePath}call_log_count`;\n path = appendOptionalFilters(\n path,\n trackingNumbers,\n minDate,\n maxDate,\n filters.duration,\n filters.outcome,\n filters.agents,\n );\n\n const response = await axios.get(path);\n return response.data?.log_count || 0;\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getActivity = async (trackingNumbers, minDate, maxDate) => {\n try {\n let path = `${BasePath}activity`;\n path = appendOptionalFilters(path, trackingNumbers, minDate, maxDate);\n\n const { data } = await axios.get(path);\n\n return data?.activity;\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getAgents = async () => {\n try {\n const path = `${BasePath}agents`;\n\n const { data } = await axios.get(path);\n\n return data;\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const getRecordingMetadata = async (recordingLink) => {\n const metadataUrl = `${recordingLink.substring(0, recordingLink.length - 4)}.json`;\n const { data } = await axios.get(metadataUrl);\n\n return data || {};\n};\n","import React from \"react\";\n\nconst TableHeader = ({ onClick, sortable, children, className = \"\", centerChildren = false }) => (\n \n \n {children}\n
\n \n);\n\nexport default TableHeader;\n","import React from \"react\";\n\nconst TableCell = ({ children, className = \"\" }) => (\n \n {children}\n \n);\n\nexport default TableCell;\n","import React from \"react\";\n\nconst Arrows = ({ sortBy }) => {\n const upperArrowColor = sortBy === \"asc\" ? \"#5e5e5e\" : \"#999\";\n const lowerArrowColor = sortBy === \"desc\" ? \"#5e5e5e\" : \"#999\";\n\n return (\n \n \n \n \n );\n};\n\nexport default Arrows;\n","import { intervalToDuration } from \"date-fns\";\n\nexport const getTrackingNumberIds = (selectedTrackingNumbers, trackingNumbers) => {\n return selectedTrackingNumbers.length === trackingNumbers.length\n ? []\n : selectedTrackingNumbers.filter((tn) => tn !== null).map((tn) => tn.value);\n};\n\nexport const durationDisplay = (durationSeconds) =>\n new Date(durationSeconds * 1000).toISOString().substring(11, 19);\n\nexport const formatCallDuration = (durationInSeconds) => {\n if (!durationInSeconds) {\n return;\n }\n\n if (durationInSeconds === Infinity) {\n return \"--:--:--\";\n }\n\n let { days, hours, minutes, seconds } = intervalToDuration({ start: 0, end: durationInSeconds * 1000 });\n if (days) {\n hours += days * 24;\n }\n\n return [hours || 0, minutes || 0, seconds || 0].map(padWithZeroes).join(\":\");\n};\n\nconst padWithZeroes = (num) => String(num).padStart(2, \"0\");\n","import React, { useState, useMemo, useEffect } from \"react\";\n\nimport Modal from \"@shared/v2/Modal\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport Checkbox from \"../../Transactions/components/shared/Checkbox\";\nimport Avatar from \"@shared/v2/Avatar\";\n\nconst durationOptions = [\n {\n label: \"Less than 30 seconds\",\n value: \"up_to_30_s\",\n },\n {\n label: \"More than 30 seconds\",\n value: \"more_than_30_s\",\n },\n {\n label: \"More than 5 minutes\",\n value: \"more_than_5_m\",\n },\n];\n\nconst outcomeOptions = [\n {\n label: \"Talked\",\n value: \"completed\",\n },\n {\n label: \"Missed\",\n value: \"no_answer\",\n },\n // {\n // label: \"Voicemail\",\n // value: \"machine_start\"\n // }\n];\n\nconst Option = ({ componentProps, children }) => (\n \n \n {children}\n \n);\n\nconst formatOptionLabel = ({ name, number, avatar }) => (\n
\n 3 ? avatar : null} alt={name} />\n \n {name} {number ? `\\u2014 ${number}` : \"\"}\n \n
\n);\n\nconst RemovableBubble = ({ value, onRemove }) => {\n return (\n
\n {value}\n \n
\n );\n};\n\nconst createAgentOption = (agent) => ({\n name: agent.full_name,\n label: agent.full_name,\n value: agent.id,\n avatar: agent.avatar_url,\n number: agent.number,\n});\n\nconst LogFilters = ({ filters, agents, onApply, onClose }) => {\n const [duration, setDuration] = useState(filters.duration || \"\");\n const [outcome, setOutcome] = useState(filters.outcome || \"\");\n const [selectedAgents, setSelectedAgents] = useState(filters.agents || []);\n\n const agentOptions = useMemo(() => agents.map(createAgentOption), [agents]);\n\n const filterListOfOptions = (option, arr, func) => {\n func(arr?.filter((a) => a.value !== option.value) || []);\n };\n\n const applyFilters = () => {\n const cleaned = {\n duration,\n outcome,\n agents: selectedAgents,\n };\n\n onApply(cleaned);\n };\n\n const clearFilters = () => {\n setDuration(\"\");\n setOutcome(\"\");\n setSelectedAgents([]);\n };\n\n return (\n \n \n
\n \n
\n
\n \n
\n Call Duration\n \n
\n
\n Call Outcome\n \n
\n
0 ? \"\" : \"tw-mb-8px\"}`}>\n Agent Answered\n \n
\n {selectedAgents.length > 0 && (\n
\n {selectedAgents.map((agent) => (\n filterListOfOptions(agent, selectedAgents, setSelectedAgents)}\n />\n ))}\n
\n )}\n
\n \n
\n \n
\n
\n \n \n Clear Filters\n \n \n
\n
\n \n );\n};\n\nexport default LogFilters;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Checkbox from \"../../Transactions/components/shared/Checkbox\";\nimport Dropdown from \"../../shared/v2/Dropdown\";\nimport Button from \"../../shared/v2/Button\";\nimport DatePicker from \"../../shared/v2/DatePicker\";\nimport LogFilters from \"./LogFilters\";\n\nconst ReportsFilters = ({\n selectedTrackingNumbers,\n trackingNumbers,\n handleTrackingNumberFilterOnChange,\n minDate,\n maxDate,\n setMinDate,\n setMaxDate,\n chosenView,\n logFilters,\n setLogFilters,\n agents,\n}) => {\n const [filtersVisible, setFiltersVisible] = useState(false);\n\n const applyFilters = (filters) => {\n setLogFilters(filters);\n setFiltersVisible(false);\n };\n\n return (\n
\n \n Tracking Number {chosenView === \"logs\" ? \"Logs\" : \"Reporting\"}\n \n
\n
\n \n
\n setMinDate(moment(value, \"MM/DD/YYYY\").toISOString().substring(0, 10))}\n inputProps={{ size: 10, placeholder: \"Min Date\" }}\n position=\"bottom\"\n />\n setMaxDate(moment(value, \"MM/DD/YYYY\").toISOString().substring(0, 10))}\n inputProps={{ size: 10, placeholder: \"Max Date\" }}\n position=\"bottom\"\n />\n {chosenView === \"logs\" && (\n \n )}\n
\n {filtersVisible && (\n setFiltersVisible(false)}\n agents={agents}\n />\n )}\n
\n );\n};\n\nexport default ReportsFilters;\n\nconst formatOptionLabel = ({ label }) => (\n
\n {label}\n
\n);\n\nconst Option = ({ componentProps, children }) => (\n \n \n {children}\n \n);\n\nOption.propTypes = {\n componentProps: PropTypes.shape({\n isSelected: PropTypes.bool.isRequired,\n }).isRequired,\n children: PropTypes.shape({}).isRequired,\n};\n","import React from \"react\";\n\nimport RingChart from \"../../shared/v2/RingChart/RingChart\";\nimport Tooltip from \"../../shared/v2/Tooltip\";\nimport CircleInfoSolidV6 from \"../../shared/v2/Icomoon/Icons/CircleInfoSolidV6\";\nimport Button from \"../../shared/v2/Button\";\nimport { durationDisplay } from \"./helpers\";\nimport AvatarGroup from \"@shared/v2/AvatarGroup\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport { format } from \"date-fns\";\n\nconst top6ChartColors = [\"#59c4c4\", \"#ffa826\", \"#46c771\", \"#3270fa\", \"#8e57fa\", \"#fa64af\"];\n\nconst top6ChartColorClasses = [\n \"tw-bg-teal\",\n \"tw-bg-yellow-100\",\n \"tw-bg-green-100\",\n \"tw-bg-semantic-blue-100\",\n \"tw-bg-semantic-purple-50\",\n \"tw-bg-semantic-pink-50\",\n \"tw-bg-gray-15\",\n];\n\nconst otherChartColor = \"#e0e0e0\";\n\nconst ringChartData = (trackingNumbers, totalCalls) => {\n // take top 6 data points\n // for 7+, roll up into single data point\n // \"chartValueSoFar\" is to skip over the graph space we've occupied so far...RingChart does not do this for us\n let data = [];\n let chartValueSoFar = 0;\n const top6 = trackingNumbers.slice(0, 6);\n for (let i = 0; i < top6.length; i++) {\n data.push({\n color: top6ChartColors[i],\n value: (chartValueSoFar + top6[i].totalCalls) / totalCalls,\n tooltip: [\"\", `${top6[i].totalCalls} calls`],\n });\n chartValueSoFar += top6[i].totalCalls;\n }\n\n const others = trackingNumbers.slice(6);\n if (others.length > 0) {\n let othersCallTotal = 0;\n for (const tn of others) {\n othersCallTotal += tn.totalCalls;\n }\n\n const othersData = {\n color: otherChartColor,\n value: (chartValueSoFar + othersCallTotal) / totalCalls,\n tooltip: [\"\", `${othersCallTotal} calls`],\n };\n data.push(othersData);\n }\n\n data.sort((a, b) => a.value - b.value);\n return data;\n};\n\nconst Dot = ({ className }) => (\n \n);\n\nconst TrackingNumbersListEmptyState = ({ isAdmin, showSettingsPage }) => {\n return (\n
\n {isAdmin ? (\n <>\n
No Tracking Numbers Set Up
\n \n \n ) : (\n
No Tracking Numbers Assigned
\n )}\n
\n );\n};\n\nconst List2 = ({ stats }) => {\n return (\n
\n {stats.trackingNumbers.slice(4, 7).map((tn, index) => (\n
\n \n {tn.name}\n
\n ))}\n
\n );\n};\n\nconst TrackingNumbersList = ({ stats }) => {\n return (\n
\n
\n {stats.trackingNumbers?.slice(0, 4).map((tn, index) => (\n
\n \n {tn.name}\n
\n ))}\n
\n {stats.trackingNumbers?.length > 4 ? : \"\"}\n
\n );\n};\n\nconst SingleNumberInfo = ({ agents, trackingNumber }) => {\n const mappedAgents = agents.filter((a) => a.routes?.includes(trackingNumber.id));\n\n return (\n
\n
\n Total Leads Created: \n {trackingNumber.totalLeads || \"--\"}\n
\n
\n Created: \n {format(new Date(trackingNumber.createdAt), \"LLLL do, y\")}\n
\n Agents Routed:\n \n {mappedAgents.map((agent, i) => (\n 3 ? agent.avatar_url : \"\"}\n alt={agent.full_name}\n />\n ))}\n \n
\n );\n};\n\nconst TrackingNumbersStats = ({ stats, agents, isAdmin, showSettingsPage }) => {\n const statsSection = () => {\n if (stats.trackingNumbers?.length === 1) {\n return ;\n } else if (stats.trackingNumbers?.length > 1) {\n return ;\n } else {\n return ;\n }\n };\n\n return (\n
\n
\n 0\n ? ringChartData(stats.trackingNumbers, stats.totalCalls)\n : [{ color: \"#e0e0e0\", value: 1 }]\n }\n size={118}\n variant=\"segmented\"\n title=\"Total\"\n label={stats.totalCalls > 0 ? stats.totalCalls : \"--\"}\n />\n {statsSection()}\n
\n

Calls

\n

\n {stats.totalCalls > 0 ? stats.totalCalls : \"--\"}\n

\n

\n Contacts:{\" \"}\n \n {stats.talkedCalls > 0 && stats.totalCalls > 0\n ? `${stats.talkedCalls} (${Math.round((stats.talkedCalls / stats.totalCalls) * 100)}%)`\n : \"--\"}\n }\n />\n \n

\n
\n
\n

Average Call Duration

\n

\n {stats.totalCallDuration > 0\n ? durationDisplay(Math.round(stats.totalCallDuration / stats.totalCallsWithDuration))\n : \"--\"}\n

\n

\n Total Call Time:{\" \"}\n \n {stats.totalCallDuration > 0 ? durationDisplay(stats.totalCallDuration) : \"--\"}\n \n

\n
\n
\n

New Leads Added

\n

{stats.totalNewLeads > 0 ? stats.totalNewLeads : \"--\"}

\n
\n
\n
\n );\n};\n\nexport default TrackingNumbersStats;\n","import React, { useState, useEffect, useMemo } from \"react\";\n\nimport TableHeader from \"./TableHeader\";\nimport TableCell from \"./TableCell\";\nimport Arrows from \"./Arrows\";\nimport { ArrowTurnDownRightSolidV6, ChevronDown, ChevronRight, CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Avatar from \"@shared/v2/Avatar\";\nimport Tooltip from \"../../shared/v2/Tooltip\";\nimport { formatCallDuration } from \"./helpers\";\nimport ReportsFilters from \"./ReportsFilters\";\nimport TrackingNumbersStats from \"./TrackingNumbersStats\";\n\nconst TrackingNumbersActivity = ({\n activity,\n agents,\n isAdmin,\n stats,\n selectedTrackingNumbers,\n trackingNumbers,\n handleTrackingNumberFilterOnChange,\n minDate,\n maxDate,\n setMinDate,\n setMaxDate,\n chosenView,\n logFilters,\n setLogFilters,\n showSettingsPage,\n}) => {\n const mappedActivity = useMemo(() => {\n if (!activity || !agents?.length) {\n return [];\n }\n\n return Object.entries(activity).map(([tnId, info]) => mapActivity(tnId, info, agents));\n }, [agents, activity]);\n\n return (\n
\n \n \n
\n {mappedActivity?.length > 0 ? (\n \n ) : (\n
No Activity Recorded
\n )}\n
\n
\n );\n};\n\nconst bottomBorder =\n \"tw-border-solid tw-border-gray-10 tw-border-b tw-border-r-0 tw-border-l-0 tw-border-t-0\";\n\nconst TrackingNumbersActivityTable = ({ trackingNumberActivity }) => {\n const [sortedNumbers, setSortedNumbers] = useState([]);\n const [sortField, setSortField] = useState(\"name\");\n const [sortDirection, setSortDirection] = useState(\"asc\");\n\n useEffect(() => {\n setSortedNumbers(\n trackingNumberActivity.toSorted((a, b) => {\n if (a[sortField] > b[sortField]) {\n return sortDirection === \"asc\" ? 1 : -1;\n } else if (a[sortField] < b[sortField]) {\n return sortDirection === \"asc\" ? -1 : 1;\n }\n\n return 0;\n }),\n );\n }, [trackingNumberActivity, sortField, sortDirection]);\n\n const handleSort = (field) => {\n if (field === sortField) {\n setSortDirection(sortDirection === \"asc\" ? \"desc\" : \"asc\");\n }\n\n setSortField(field);\n };\n\n return (\n
\n \n \n \n handleSort(\"name\")}\n sortable\n >\n Tracking Number Name \n \n handleSort(\"totalCalls\")}\n sortable\n >\n Total Calls \n \n handleSort(\"totalContacts\")}\n sortable\n >\n Contacts\n }\n />\n \n \n handleSort(\"totalMissed\")}\n sortable\n >\n Missed \n \n handleSort(\"totalCallTime\")}\n sortable\n >\n Call Time \n \n handleSort(\"uniqueCallers\")}\n sortable\n >\n Unique Callers \n \n handleSort(\"voicemails\")}\n sortable\n >\n Voicemails \n \n \n \n \n {sortedNumbers.map((trackingNumber) => (\n \n ))}\n \n
\n
\n );\n};\n\nexport default TrackingNumbersActivity;\n\nconst TableRow = ({ trackingNumber }) => {\n const [isVisible, setIsVisible] = useState(false);\n\n const {\n name,\n routingMethod,\n statsByAgent,\n totalCalls,\n totalContacts,\n totalMissed,\n totalCallTime,\n uniqueCallers,\n voicemails,\n isDeleted,\n } = trackingNumber;\n\n return [\n \n \n setIsVisible(!isVisible)}\n >\n {isVisible ? : }\n
\n \n {name}\n {isDeleted ? \" (Deleted)\" : \"\"}\n \n \n {RoutingMethodDisplay[routingMethod]} |{\" \"}\n {statsByAgent.filter((a) => a.isOnTrackingNumber).length} Assigned\n \n
\n
\n \n \n
{totalCalls || \"--\"}
\n
\n \n
{totalContacts || \"--\"}
\n
\n \n
{totalMissed || \"--\"}
\n
\n \n
{formatCallDuration(totalCallTime) || \"--\"}
\n
\n \n
{uniqueCallers || \"--\"}
\n
\n \n
{voicemails || \"--\"}
\n
\n ,\n statsByAgent\n .filter((a) => a.isOnTrackingNumber)\n .map((statByAgent, i) => (\n \n )),\n statsByAgent.some((a) => !a.isOnTrackingNumber) ? : \"\",\n statsByAgent\n .filter((a) => !a.isOnTrackingNumber)\n .map((statByAgent, i) => (\n \n )),\n ];\n};\n\nconst PreviouslyAssignedRow = ({ isVisible }) => {\n return (\n \n \n
Previously Assigned
\n
\n \n <>\n \n \n <>\n \n \n <>\n \n \n <>\n \n \n <>\n \n \n <>\n \n \n <>\n \n \n );\n};\n\nconst SecondaryRow = ({\n isVisible,\n isLastRow,\n name,\n avatar,\n contacts,\n callTime,\n uniqueCallers,\n isOnTrackingNumber,\n}) => {\n return (\n \n \n
\n \n \n {name}\n
\n
\n --\n {contacts || \"--\"}\n --\n {formatCallDuration(callTime) || \"--\"}\n {uniqueCallers || \"--\"}\n --\n \n );\n};\n\nconst SecondaryCell = ({ children, isLastRow = false, isFirstCell = false, centerChildren = true }) => {\n let border = \"\";\n if (isLastRow || isFirstCell) {\n border = \"tw-border-solid tw-border-gray-10 tw-border-l-0 tw-border-t-0\";\n if (isLastRow && isFirstCell) {\n border += \" tw-border-r tw-border-b\";\n } else if (isLastRow) {\n border += \" tw-border-b tw-border-r-0\";\n } else {\n border += \" tw-border-b-0 tw-border-r\";\n }\n }\n\n return (\n \n
{children ?? \"--\"}
\n \n );\n};\n\nconst RoutingMethodDisplay = {\n round_robin: \"Round Robin\",\n first_to_claim: \"First to Claim\",\n};\n\nconst mapActivity = (tnId, info, agents) => ({\n id: tnId,\n name: info.name,\n routingMethod: info.routing_rule,\n totalCalls: +info.total,\n totalContacts: +info.completed,\n totalMissed: +info.missed,\n totalCallTime: +info.duration,\n uniqueCallers: +info.unique_callers,\n voicemails: +info.voicemail,\n isDeleted: info.is_deleted,\n statsByAgent: info.agents\n ?.map((a) => {\n const agent = agents.find((ai) => ai.id == a.user_id);\n\n if (!agent) {\n return null;\n }\n\n return {\n name: agent.full_name,\n avatar: agent.avatar_url,\n calls: +a.total,\n contacts: +a.completed,\n missed: +a.missed,\n callTime: +a.duration,\n uniqueCallers: +a.unique_callers,\n isOnTrackingNumber: a.agent_in_routings,\n };\n })\n .filter((a) => a !== null)\n .sort((a, b) => (a.isOnTrackingNumber === b.isOnTrackingNumber ? 0 : a.isOnTrackingNumber ? -1 : 1)),\n});\n","import React, { useState, useEffect, useRef, useCallback, useLayoutEffect } from \"react\";\n\nimport Avatar from \"../../shared/v2/Avatar\";\nimport Pagination from \"../../shared/v2/Pagination\";\nimport PhoneMissedSolidV6 from \"../../shared/v2/Icomoon/Icons/PhoneMissedSolidV6\";\nimport PhoneArrowDownLeftSolidV6 from \"../../shared/v2/Icomoon/Icons/PhoneArrowDownLeftSolidV6\";\nimport TableHeader from \"./TableHeader\";\nimport TableCell from \"./TableCell\";\nimport Arrows from \"./Arrows\";\nimport { getRecordingMetadata } from \"./services\";\nimport { durationDisplay, formatCallDuration } from \"./helpers\";\nimport { Section } from \"../../Reports/components/BusinessDashboard\";\nimport { ChevronDown, ChevronRight, PauseSolidV6, PlaySolidV6, VolumeSolidV6 } from \"@shared/v2/Icomoon\";\nimport ReportsFilters from \"./ReportsFilters\";\nimport AiCallSummary from \"@shared/AiAssistant/AiCallSummary\";\n\nconst TrackingNumbersLogs = ({\n agents,\n isAdmin,\n sort,\n setSort,\n offset,\n setOffset,\n logsCount,\n callLogs,\n selectedTrackingNumbers,\n trackingNumbers,\n handleTrackingNumberFilterOnChange,\n minDate,\n maxDate,\n setMinDate,\n setMaxDate,\n chosenView,\n logFilters,\n setLogFilters,\n}) => {\n const handleSort = (field) => {\n let sortDirection = sort[1];\n\n if (field === sort[0]) {\n sortDirection = sortDirection === \"asc\" ? \"desc\" : \"asc\";\n }\n\n setSort([field, sortDirection]);\n };\n\n return (\n
\n \n
\n \n {callLogs.length === 0 ? (\n
No Calls Recorded
\n ) : (\n \"\"\n )}\n
\n
\n );\n};\n\nconst LogRow = ({ log }) => {\n const [isVisible, setIsVisible] = useState(false);\n\n return [\n (log.voicemailUrl || log.callSid) && setIsVisible(!isVisible)}\n >\n \n {log.voicemailUrl || log.callSid ? (\n {isVisible ? : }\n ) : (\n \"\"\n )}\n \n \n \n {log.callerFullName ? log.callerFullName : log.callerPhone}\n \n \n \n \n {log.trackingNumberName}\n {log.isNumberDeleted ? \" (Deleted)\" : \"\"}\n \n \n \n {log.answererFullName ? (\n
\n \n {log.answererFullName}\n
\n ) : (\n \"--\"\n )}\n
\n \n {log.outcome === \"Talked\" && }\n {log.outcome === \"Missed\" && }\n {log.outcome === \"Voicemail\" && }\n \n {log.duration === 0 ? \"--\" : durationDisplay(log.duration)}\n {log.createdAt}\n ,\n isVisible ? (\n \n \n {log.outcome === \"Voicemail\" ? (\n \n ) : (\n
\n
\n \n
\n
\n )}\n \n \n ) : null,\n ];\n};\n\nconst TrackingNumbersLogTable = ({\n callLogs,\n handleSort,\n sortField,\n sortDirection,\n totalCount,\n currentOffset,\n pageSize,\n onChangePage,\n}) => {\n const totalPages = Math.ceil(totalCount / pageSize);\n const currentPage = currentOffset ? currentOffset / pageSize + 1 : 1;\n const nextPage = currentPage === totalPages ? currentPage : currentPage + 1;\n const previousPage = currentPage === 1 ? currentPage : currentPage - 1;\n\n const onGoToPage = (pageNumber) => {\n const newOffset = (pageNumber - 1) * pageSize;\n onChangePage(newOffset);\n };\n\n return (\n
\n
\n \n \n \n \n Caller\n Tracking Number\n handleSort(\"user_id\")}>\n Answered by \n \n Outcome\n handleSort(\"duration\")}>\n Duration \n \n handleSort(\"id\")}>\n Date \n \n \n \n \n {callLogs.map((log) => (\n \n ))}\n \n
\n
\n {callLogs.length > 0 ? (\n
\n \n
\n ) : (\n \"\"\n )}\n
\n );\n};\n\nconst RecordingPlayback = ({ recordingLink }) => {\n const audioRef = useRef();\n const animationRef = useRef();\n const progressRef = useRef();\n const [isPlaying, setIsPlaying] = useState(false);\n const [current, setCurrent] = useState(0);\n const [duration, setDuration] = useState(0);\n const [volume, setVolume] = useState(1);\n const [isVolumeOpen, setIsVolumeOpen] = useState(false);\n\n const forUpdating = useCallback(() => {\n const totalPlayed = audioRef.current?.currentTime;\n const percentPlayed = duration === 0 ? 0 : totalPlayed / duration;\n\n setCurrent(totalPlayed);\n if (progressRef.current) {\n progressRef.current.style.width = `${percentPlayed * 100}%`;\n }\n\n animationRef.current = requestAnimationFrame(forUpdating);\n }, [audioRef, duration]);\n\n useEffect(() => {\n audioRef.current.volume = volume;\n }, [volume]);\n\n useLayoutEffect(() => {\n if (isPlaying) {\n audioRef.current?.play();\n } else {\n audioRef.current?.pause();\n }\n\n animationRef.current = requestAnimationFrame(forUpdating);\n\n return () => {\n cancelAnimationFrame(animationRef.current);\n };\n }, [audioRef, isPlaying, forUpdating]);\n\n useEffect(() => {\n if (!recordingLink || !recordingLink.endsWith(\".mp3\")) {\n return;\n }\n\n const get = async () => {\n const data = await getRecordingMetadata(recordingLink);\n\n setDuration(data?.duration);\n };\n\n get();\n }, [recordingLink]);\n\n const onEnded = () => {\n setIsPlaying(false);\n };\n\n return (\n
\n
setIsPlaying(!isPlaying)}>\n
\n {isPlaying ? : }\n
\n
\n
\n \n {formatCallDuration(current) || \"00:00\"} / {formatCallDuration(duration)}\n \n
\n
\n
\n \n
\n
\n
\n
setIsVolumeOpen(!isVolumeOpen)}>\n \n
\n {isVolumeOpen && }\n
\n
\n );\n};\n\nconst ExpandedInfo = ({ recordingLink }) => {\n return (\n
\n
\n \n
\n
\n );\n};\n\nconst Volume = ({ volume, onChangeVolume }) => {\n const onChange = ({ target }) => {\n onChangeVolume(target.value / 100);\n };\n\n const volumeTo11 = volume * 100;\n\n return (\n
\n \n
\n );\n};\n\nconst TalkedOutcome = ({ outcome }) => {\n return (\n
\n \n {outcome}\n
\n );\n};\n\nconst MissedOutcome = ({ outcome }) => {\n return (\n
\n \n {outcome}\n
\n );\n};\n\nconst VoicemailOutcome = ({ outcome }) => {\n return (\n
\n \n {outcome}\n
\n );\n};\n\nexport default TrackingNumbersLogs;\n","import { useEffect, useState } from \"react\";\n\nimport { getAgentsAndTrackingNumbers, getSources } from \"./services\";\n\nexport default () => {\n const [agentsWithRoutingNumbers, setAgentsWithRoutingNumbers] = useState([]);\n const [trackingNumbers, setTrackingNumbers] = useState([]);\n const [sources, setSources] = useState([]);\n\n useEffect(() => {\n let cancelled = false;\n\n const getAvailableSources = async () => {\n const sourceStuff = getSources();\n const agentStuff = getAgentsAndTrackingNumbers();\n\n const [{ sources: available }, agentsssss] = await Promise.all([sourceStuff, agentStuff]);\n\n if (!cancelled) {\n const agentsMapped = mapAgentsWithRoutingNumber(agentsssss.agents);\n\n setAgentsWithRoutingNumbers(agentsMapped);\n setTrackingNumbers(mapTrackingNumbers(agentsssss.trackingNumbers, agentsMapped));\n\n setSources(available);\n }\n };\n\n getAvailableSources();\n\n return () => {\n cancelled = true;\n };\n }, []);\n\n return { agentsWithRoutingNumbers, trackingNumbers, sources };\n};\n\nconst mapTrackingNumbers = (trackingNumbers, agents) => {\n const agentsById = agents.reduce((acc, agent) => {\n acc[agent.id] = agent;\n\n return acc;\n }, {});\n\n return trackingNumbers.map((trackingNumber) => ({\n id: trackingNumber.id,\n name: trackingNumber.name,\n number: trackingNumber.number,\n routingMethod: trackingNumber.routing_rule,\n inboundRecording: trackingNumber?.inbound_recording || \"disabled\",\n inboundNotificationMessageCondition: trackingNumber?.inbound_notification_message_condition || \"always\",\n createLead: trackingNumber.create_leads,\n source: trackingNumber.source_id,\n noAnswerSetting: trackingNumber.no_answer_setting,\n voicemailGreeting: trackingNumber.voicemail_greeting,\n voicemailGreetingUrl: trackingNumber.voicemail_greeting_url,\n inboundRecording: trackingNumber.inbound_recording,\n inboundNotificationMessageCondition: trackingNumber.inbound_notification_message_condition,\n users: trackingNumber.tracking_number_routings\n .map((route) => ({\n id: route.user_id,\n label: agentsById[route.user_id].name,\n value: route.user_id,\n routingNumber: agentsById[route.user_id].routingNumber,\n name: agentsById[route.user_id].name,\n avatarUrl: agentsById[route.user_id].avatarUrl,\n position: route.position,\n }))\n .toSorted((a, b) => a.position > b.position),\n }));\n};\n\nconst mapAgentsWithRoutingNumber = (agents) => {\n const usable = [];\n agents.forEach((agent) => {\n usable.push({\n id: agent.id,\n name: agent.full_name,\n avatarUrl: agent.avatar_url.length > 3 ? agent.avatar_url : null,\n routingNumber:\n agent.routing_numbers?.find((rn) => agent.routing_number_id === rn.detail_id)?.routing_number || null,\n label: agent.full_name,\n value: agent.id,\n });\n });\n\n return usable;\n};\n","import { useEffect, useState } from \"react\";\n\nimport { getStats, getActivity } from \"./services\";\nimport { getTrackingNumberIds } from \"./helpers\";\n\nexport default ({ trackingNumbers, selectedTrackingNumbers, minDate, maxDate }) => {\n const [stats, setStats] = useState({});\n const [activity, setActiviy] = useState([]);\n\n useEffect(() => {\n const load = async () => {\n const results = await getStats(\n getTrackingNumberIds(selectedTrackingNumbers, trackingNumbers),\n minDate,\n maxDate,\n );\n setStats(mapStats(results));\n };\n\n load();\n }, [selectedTrackingNumbers, minDate, maxDate]);\n\n useEffect(() => {\n const load = async () => {\n const results = await getActivity(\n getTrackingNumberIds(selectedTrackingNumbers, trackingNumbers),\n minDate,\n maxDate,\n );\n setActiviy(results);\n };\n\n load();\n }, [selectedTrackingNumbers, minDate, maxDate]);\n\n return { activity, stats };\n};\n\nconst mapStats = (stats) => {\n return {\n trackingNumbers: stats.tracking_numbers.map((tn) => ({\n id: tn.id,\n name: tn.name,\n totalCalls: tn.total_calls,\n createdAt: tn.created_at,\n totalLeads: tn.total_leads,\n })),\n totalCalls: stats.total_calls,\n missedCalls: stats.missed_calls,\n talkedCalls: stats.talked_calls,\n totalCallDuration: stats.total_call_duration,\n totalCallsWithDuration: stats.total_calls_with_duration,\n totalNewLeads: stats.total_new_leads,\n };\n};\n","import { useEffect, useState } from \"react\";\nimport { format } from \"date-fns\";\nimport { tz } from \"@date-fns/tz\";\n\nimport { getCallLogs, getLogCount } from \"./services\";\nimport { getTrackingNumberIds } from \"./helpers\";\nimport formatPhoneNumber from \"../../shared/FormatPhoneNumber\";\nimport { useCurrentUser } from \"../../reducers/layoutReducer/selectors\";\n\nconst mapCallLogs = (callLogs, timeZone) =>\n callLogs?.map((log) => {\n let outcome = \"Missed\";\n\n if (log.voicemail_url !== null) {\n outcome = \"Voicemail\";\n } else if (log.outcome === \"completed\") {\n outcome = \"Talked\";\n }\n\n return {\n callLogId: log.id,\n answererFullName: log.answerer_full_name,\n answererAvatarUrl: log.answerer_avatar_url?.length > 3 ? log.answerer_avatar_url : null,\n callerPhone: formatPhoneNumber(log.caller_phone),\n callerFullName: log.caller_full_name,\n callerUrl: log.caller_url,\n outcome,\n duration: log.duration,\n createdAt: format(log.created_at, \"MM/dd/yyyy 'at' h:mm a\", { in: tz(timeZone) }),\n trackingNumberName: log.tracking_number.name,\n isNumberDeleted: !!log.tracking_number.deleted_at,\n voicemailUrl: log.voicemail_url,\n callSid: log.call_sid,\n };\n });\n\nexport default ({ trackingNumbers, selectedTrackingNumbers, minDate, maxDate, offset, logFilters, sort }) => {\n const currentUser = useCurrentUser();\n const [callLogs, setCallLogs] = useState([]);\n const [logsCount, setLogsCount] = useState(0);\n\n const limit = 25;\n\n useEffect(() => {\n const load = async () => {\n const results = await getCallLogs(\n getTrackingNumberIds(selectedTrackingNumbers, trackingNumbers),\n minDate,\n maxDate,\n sort[0],\n sort[1],\n offset,\n limit,\n logFilters,\n );\n\n setCallLogs(mapCallLogs(results, currentUser.account.timeZone));\n };\n\n load();\n }, [sort, selectedTrackingNumbers, minDate, maxDate, offset, logFilters]);\n\n useEffect(() => {\n const load = async () => {\n const logCount = await getLogCount(\n getTrackingNumberIds(selectedTrackingNumbers, trackingNumbers),\n minDate,\n maxDate,\n logFilters,\n );\n setLogsCount(logCount);\n };\n\n load();\n }, [selectedTrackingNumbers, minDate, maxDate, logFilters]);\n\n return { callLogs, logsCount };\n};\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport TrackingNumbers from \"./TrackingNumbers/Settings/TrackingNumbers\";\nimport { getTrackingNumbers, getAgents } from \"./TrackingNumbers/services\";\nimport TrackingNumbersActivity from \"./TrackingNumbers/TrackingNumbersActivity\";\nimport TrackingNumbersLogs from \"./TrackingNumbers/TrackingNumbersLogs\";\n\nimport useTrackingNumberSettings from \"./TrackingNumbers/Settings/useTrackingNumberSettings\";\nimport useTrackingNumberActivity from \"./TrackingNumbers/useTrackingNumberActivity\";\nimport useTrackingNumberLogs from \"./TrackingNumbers/useTrackingNumberLogs\";\nimport { useCurrentUser } from \"../reducers/layoutReducer/selectors\";\n\nconst PAGES = [\"reporting\", \"logs\", \"settings\"];\n\nconst mapTrackingNumberOptions = (trackingNumbers) =>\n trackingNumbers.map((tn) => ({\n label: tn.name,\n value: tn.id,\n }));\n\nconst PhoneSystem = () => {\n const currentUser = useCurrentUser();\n const [selectedPage, setSelectedPage] = useState(\"reporting\");\n const [minDate, setMinDate] = useState(null);\n const [maxDate, setMaxDate] = useState(null);\n const [logFilters, setLogFilters] = useState({});\n const [trackingNumbers, setTrackingNumbers] = useState([]);\n const [selectedTrackingNumbers, setSelectedTrackingNumbers] = useState([]);\n const [agents, setAgents] = useState([]);\n const [offset, setOffset] = useState(0);\n const [sort, setSort] = useState([\"id\", \"desc\"]);\n\n const {\n agentsWithRoutingNumbers,\n trackingNumbers: settingsTrackingNumbers,\n sources,\n } = useTrackingNumberSettings();\n const { activity, stats } = useTrackingNumberActivity({\n selectedTrackingNumbers,\n trackingNumbers,\n minDate,\n maxDate,\n });\n const { callLogs, logsCount } = useTrackingNumberLogs({\n selectedTrackingNumbers,\n trackingNumbers,\n minDate,\n maxDate,\n offset,\n logFilters,\n sort,\n });\n\n useEffect(() => {\n const searchParams = new URLSearchParams(window.location.search);\n const view = searchParams.get(\"view\");\n if (view && PAGES.includes(view)) {\n setSelectedPage(view);\n }\n }, []);\n\n useEffect(() => {\n const load = async () => {\n const [trackingNumbersResult, agentsResult] = await Promise.all([getTrackingNumbers(), getAgents()]);\n const mappedTrackingNumberOptions = mapTrackingNumberOptions(trackingNumbersResult);\n\n setTrackingNumbers(mappedTrackingNumberOptions);\n setSelectedTrackingNumbers(mappedTrackingNumberOptions);\n setAgents(agentsResult.agents);\n };\n\n load();\n }, []);\n\n const getSection = () => {\n switch (selectedPage) {\n case \"settings\":\n return (\n \n );\n case \"reporting\":\n return (\n setSelectedTrackingNumbers(o)}\n minDate={minDate}\n maxDate={maxDate}\n setMinDate={setMinDate}\n setMaxDate={setMaxDate}\n chosenView={selectedPage}\n logFilters={logFilters}\n setLogFilters={setLogFilters}\n showSettingsPage={() => setSelectedPage(\"settings\")}\n />\n );\n case \"logs\":\n default:\n return (\n setSelectedTrackingNumbers(o)}\n minDate={minDate}\n maxDate={maxDate}\n setMinDate={setMinDate}\n setMaxDate={setMaxDate}\n chosenView={selectedPage}\n logFilters={logFilters}\n setLogFilters={setLogFilters}\n />\n );\n }\n };\n\n return (\n
\n
\n Phone System\n
\n \n \n \n
\n
\n
{getSection()}
\n
\n );\n};\n\nexport default PhoneSystem;\n\nconst MenuOption = ({ name, value, onClick, isSelected }) => (\n onClick(value)}\n >\n {name}\n \n);\n\nMenuOption.propTypes = {\n name: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n isSelected: PropTypes.bool.isRequired,\n};\n","import axios from \"axios\";\n\nimport { getPostJsonHeaders } from \"../shared/axiosHelpers\";\n\nexport const getTemplates = async () => {\n try {\n const response = await axios.get(`/listing_alert_templates.json`);\n\n return response.data;\n } catch (e) {\n return createError(e);\n }\n};\n\nexport const createTemplate = async (name, alert) => {\n const data = {\n name: name,\n query: alert,\n };\n\n return await axios.post(`/listing_alert_templates`, data, getPostJsonHeaders());\n};\n\nexport const updateTemplate = async (templateId, name, alert) => {\n const data = {\n name: name,\n query: alert,\n };\n\n return await axios.put(`/listing_alert_templates/${templateId}`, data, getPostJsonHeaders());\n};\n\nexport const deleteTemplate = async (templateId) => {\n try {\n await axios.delete(`/listing_alert_templates/${templateId}`, getPostJsonHeaders());\n\n return {};\n } catch (e) {\n return createError(e);\n }\n};\n\nconst createError = (e) => {\n const error = e.response ? e.response.data.error : \"Something went wrong!\";\n\n return { error };\n};\n","import React, { useState } from \"react\";\n\nimport { format } from \"date-fns\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TabBar from \"@shared/v2/TabBar/TabBar\";\nimport Tab from \"@shared/v2/Tab/Tab\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport { PencilSolidV6, TrashCanSolidV6, PlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport Avatar from \"@shared/v2/Avatar\";\n\nimport Error from \"../Reports/components/DashboardShared/Error\";\nimport ListingAlert from \"../PersonDetail/components/listing_alerts/ListingAlert\";\n\nimport { getTemplates, createTemplate, updateTemplate, deleteTemplate } from \"./service\";\n\nconst THEAD_CLASSES = \"tw-font-normal tw-py-8px\";\n\nconst ListingAlertTemplates = ({ initialTemplates, personId, geoCodeAccountAddress, mlsIds }) => {\n const [templates, setTemplates] = useState(initialTemplates);\n const [showModal, setShowModal] = useState(false);\n const [selectedTemplate, setSelectedTemplate] = useState(null);\n const [showDeleteConfirmationModal, setShowDeleteConfirmationModal] = useState(false);\n\n const saveTemplate = async (templateId, templateName, alert, callback) => {\n if (templateId) {\n const response = await updateTemplate(templateId, templateName, alert);\n callback({ response: response });\n } else {\n const response = await createTemplate(templateName, alert);\n callback({ response: response });\n }\n\n await reload();\n };\n\n const closeModals = () => {\n setSelectedTemplate(null);\n setShowModal(false);\n setShowDeleteConfirmationModal(false);\n };\n\n const editTemplate = (templateId) => {\n setSelectedTemplate(templateId);\n setShowModal(true);\n };\n\n const confirmDelete = (templateId) => {\n setSelectedTemplate(templateId);\n setShowDeleteConfirmationModal(true);\n };\n\n const cancelDelete = () => {\n setSelectedTemplate(null);\n setShowDeleteConfirmationModal(false);\n };\n\n const reload = async () => {\n closeModals();\n const updatedTemplates = await getTemplates();\n setTemplates(updatedTemplates);\n };\n\n const templateProps = () => {\n if (!selectedTemplate) {\n return null;\n }\n\n const template = templates.find((template) => template.id === selectedTemplate);\n if (!template) {\n return null;\n }\n\n return {\n templateId: selectedTemplate,\n templateName: template.name,\n ...template.query,\n };\n };\n\n return (\n
\n {showModal && (\n \n saveTemplate(params.templateId, params.templateName, params.listing_alert, callback)\n }\n alertInstructions=\"Enter the listing alert criteria you want to save. Anyone on your team will have access to this template.\"\n submitButton=\"SAVE TEMPLATE\"\n title={selectedTemplate ? \"Edit Listing Alert Template\" : \"New Listing Alert Template\"}\n isCreatingTemplate={true}\n {...templateProps()}\n />\n )}\n {showDeleteConfirmationModal && (\n reload()}\n />\n )}\n

Templates

\n
\n \n \n \n \n
\n \n
\n {templates.length > 0 ? (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n {templates.map((template) => (\n \n \n \n \n \n \n \n \n ))}\n \n
TitleCreatedCreated ByLast UpdatedLast Updated By
{template.name}{format(new Date(template.created_at), \"MMM d, yyyy\")}\n \n {template.created_by_name}\n \n {format(new Date(template.updated_at), \"MMM d, yyyy\")}\n {template.updated_by_id ? (\n \n {template.updated_by_name}\n \n ) : (\n \n )}\n \n
\n {template.can_write ? (\n <>\n editTemplate(template.id)}\n aria-label=\"Edit\"\n schema=\"tertiary\"\n >\n \n \n confirmDelete(template.id)}\n aria-label=\"Delete\"\n schema=\"tertiary\"\n >\n \n \n \n ) : (\n <>\n \n \n \n \n \n \n \n )}\n
\n
\n
\n ) : (\n
\n Create your first Listing Alert Template\n \n Quickly fill in your frequently-used search areas and property details\n \n
\n \n
\n )}\n
\n );\n};\n\nexport default ListingAlertTemplates;\n\nconst ConfirmDeleteTemplate = ({ templateId, onClose, onConfirmDelete, chooseNotToDelete }) => {\n const [isFetching, setIsFetching] = useState(false);\n const [error, setError] = useState(\"\");\n\n const deleteTemplateWrapper = async () => {\n setIsFetching(true);\n\n const { error: deleteError } = await deleteTemplate(templateId);\n\n if (deleteError) {\n setError(deleteError);\n setIsFetching(false);\n } else {\n onConfirmDelete();\n }\n };\n\n return (\n \n \n setError(\"\")} />\n \n \n
\n Are you sure you want to delete this Listing Alert Template? It will no longer be available for\n anyone on your team.\n
\n
\n \n
\n \n \n Yes, Delete\n \n
\n
\n \n );\n};\n\nconst navigateToEmailTemplates = () => {\n window.location.href = \"/interaction_templates\";\n};\n","import React from \"react\";\n\nconst Dnc = ({ show }) => {\n if (!show) {\n return null;\n }\n\n return (\n
\n DNC\n
\n );\n};\n\nexport default Dnc;\n","export const valueOrDash = (value) => value || \"\\u2014\";\n\nexport const prospectNameColor = (prospect) => {\n if (!prospect.phone) {\n return \"tw-text-gray-30\";\n }\n\n if (prospect.isMyLead) {\n return \"tw-text-theme-primary\";\n }\n\n return \"tw-text-gray-75\";\n};\n\nconst sharedPropertyTypes = [\n \"Condo/Townhome\",\n \"Farm/Ranch\",\n \"Multi-Family\",\n \"Residential\",\n \"Commercial Sale\",\n \"Mixed Use\",\n];\n\nexport const SearchTypeConfig = {\n expireds: {\n type: \"expireds\",\n domOrList: \"DOM\",\n domOrListField: \"daysOnMarket\",\n showAllPersonsColumn: true,\n showDaysOnMarketColumn: true,\n statuses: [\"Expired\", \"Withdrawn\", \"Canceled\"],\n hasPrice: true,\n dateName: \"Status Date\",\n typeName: \"Expired\",\n dateDescription: \"expired\",\n sourceName: \"Opportunities - Expired\",\n propertyTypes: sharedPropertyTypes,\n },\n fsbos: {\n type: \"fsbos\",\n domOrList: \"Publish Date\",\n domOrListField: \"statusDateDisplay\",\n showAllPersonsColumn: false,\n showDaysOnMarketColumn: false,\n statuses: [],\n hasPrice: true,\n dateName: \"Publish Date\",\n typeName: \"FSBO\",\n dateDescription: \"was listed\",\n sourceName: \"Opportunities - FSBO\",\n propertyTypes: [...sharedPropertyTypes, \"Vacant Land\"],\n },\n preforeclosures: {\n type: \"preforeclosures\",\n domOrList: \"Publish Date\",\n domOrListField: \"statusDateDisplay\",\n showAllPersonsColumn: true,\n showDaysOnMarketColumn: false,\n statuses: [\"Notice of Default\", \"Notice of Sale\", \"Lis Pendens\", \"Trustee Sale\", \"Bank Owned\"],\n hasPrice: false,\n dateName: \"Publish Date\",\n typeName: \"Preforeclosure\",\n dateDescription: \"was published\",\n sourceName: \"Opportunities - Preforeclosure\",\n propertyTypes: [...sharedPropertyTypes, \"Vacant Land\"],\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { MobileScreenSolidV6, PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport Tooltip from \"@shared/v2/Tooltip\";\n\nconst PhoneType = ({ phoneType }) => (\n <>\n {phoneType === \"M\" && (\n } content=\"Mobile Phone\" />\n )}\n {(phoneType === \"H\" || phoneType === \"W\") && (\n } content=\"Landline\" />\n )}\n \n);\n\nPhoneType.propTypes = {\n phoneType: PropTypes.string.isRequired,\n};\n\nexport default PhoneType;\n","import React, { useState, useEffect, useRef, forwardRef } from \"react\";\n\nimport HeaderCell from \"../../Transactions/components/shared/HeaderCell\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport { PhoneArrowUpRightSolidV6, PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport Dnc from \"./Dnc\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { prospectNameColor } from \"./helpers\";\nimport PhoneType from \"./PhoneType\";\n\nconst Table = ({\n config,\n properties,\n selected,\n onSelect,\n onSelectAll,\n availableHeight,\n highlightedProperty,\n openPropertyDetails,\n callPropertyProspects,\n currentSort,\n setCurrentSort,\n}) => {\n const rowRefs = useRef({});\n const [sortedProperties, setSortedProperties] = useState([]);\n\n const padding = \"tw-px-20px tw-pb-8px tw-pt-0\";\n\n const sortOptions = [\"asc\", \"desc\"];\n const getSortOrder = (field) => (currentSort?.field === field ? currentSort.order : null);\n\n const onSort = (field, order) => {\n setCurrentSort({ field, order });\n };\n\n useEffect(() => {\n const sorted =\n properties?.toSorted((a, b) => {\n if (a[currentSort.field] > b[currentSort.field]) {\n return currentSort.order === \"asc\" ? 1 : -1;\n } else if (a[currentSort.field] < b[currentSort.field]) {\n return currentSort.order === \"asc\" ? -1 : 1;\n }\n\n return 0;\n }) || [];\n setSortedProperties(sorted);\n }, [properties, currentSort.field, currentSort.order]);\n\n useEffect(() => {\n if (rowRefs.current[highlightedProperty]) {\n rowRefs.current[highlightedProperty].scrollIntoView({\n behavior: \"smooth\",\n block: \"center\",\n });\n }\n }, [highlightedProperty]);\n\n return (\n \n \n \n \n \n onSort(\"streetAddress\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n onSort(\"statusDate\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n \n \n {config.showAllPersonsColumn ? (\n \n ) : null}\n \n {config.hasPrice ? (\n \n ) : null}\n {config.showDaysOnMarketColumn ? (\n onSort(\"daysOnMarket\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n ) : null}\n onSort(\"beds\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n onSort(\"baths\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n onSort(\"sqft\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n onSort(\"lotSize\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n onSort(\"yearBuilt\", order)}\n fontSettings=\"tw-text-12px tw-font-semibold\"\n />\n \n \n \n \n {sortedProperties.map((p) => (\n (rowRefs.current[p.id] = e)}\n key={p.id}\n config={config}\n property={p}\n isSelected={selected.includes(p.id)}\n onSelect={onSelect}\n highlighted={p.id === highlightedProperty}\n openPropertyDetails={openPropertyDetails}\n callPropertyProspects={() => callPropertyProspects(p)}\n />\n ))}\n \n
\n
\n \n
\n
\n
\n );\n};\n\nexport default Table;\n\nconst PropertyRow = (\n { property, isSelected, onSelect, highlighted, openPropertyDetails, callPropertyProspects, config },\n ref,\n) => {\n const bottomBorder =\n \"tw-border-solid tw-border-gray-10 tw-border-b tw-border-r-0 tw-border-l-0 tw-border-t-0\";\n const rightBorder = \"tw-border-solid tw-border-gray-10 tw-border-b tw-border-r tw-border-l-0 tw-border-t-0\";\n\n return (\n \n \n
\n onSelect(property)} />\n
\n \n openPropertyDetails(property.id)}\n className={`tw-sticky tw-left-[34px] tw-cursor-pointer tw-z-10 ${\n isSelected || highlighted ? \"tw-bg-tinted-gray-50\" : \"tw-bg-white\"\n } tw-px-20px tw-whitespace-nowrap ${rightBorder}`}\n >\n
\n

{property.streetAddress}

\n

{`${property.city}, ${property.state} ${property.postalCode}`}

\n
\n \n \n
\n {property.status}\n {property.statusDateDisplay}\n
\n
\n \n {!property.recommendedProspect.name && !property.recommendedProspect.phone ? (\n \n No potential owner{config.showAllPersonsColumn ? \"\" : \"s\"} found\n
\n for this property\n
\n ) : (\n
\n \n {property.recommendedProspect.name}\n \n
\n \n {property.recommendedProspect.phoneFormatted || \"--\"}\n \n
\n
\n )}\n
\n \n \n \n \n \n {config.showAllPersonsColumn ? (\n \n {property.prospects.length ? (\n }\n content={property.prospects.map((pp) => pp.name).join(\", \")}\n />\n ) : (\n \n )}\n \n ) : null}\n \n
\n \n {/* */}\n
\n
\n {config.hasPrice ? (\n {property.listPriceFormatted}\n ) : null}\n {config.showDaysOnMarketColumn ? (\n {property.daysOnMarket}\n ) : null}\n {property.beds}\n {property.baths}\n {property.sqftFormatted}\n {property.lotSize}\n {property.yearBuilt}\n {property.propertyType}\n \n );\n};\n\nconst RefRow = forwardRef(PropertyRow);\n\nconst PropertyCell = ({ children, justify }) => {\n return (\n \n
{children}
\n \n );\n};\n\nconst AllProspects = ({ property, openPropertyDetails }) => {\n const hoverStyle =\n \"hover:tw-rounded hover:tw-border hover:tw-border-solid hover:tw-border-theme-primary-disabled hover:tw-no-underline\";\n const activeStyle =\n \"active:tw-rounded active:tw-border active:tw-border-solid active:tw-border-theme-primary active:tw-no-underline\";\n\n return (\n openPropertyDetails(property.id)}\n >\n \n {property.prospects.length}\n \n Potential Owners\n \n );\n};\n","import axios from \"axios\";\nimport { format } from \"date-fns\";\nimport { useEffect, useState } from \"react\";\n\nimport { getPostJsonHeaders } from \"@shared/axiosHelpers\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport { toTitleCase } from \"@shared/Utilities\";\nimport { formatNumber, formatPrice } from \"../../SearchListings/components/helpers\";\nimport { formatCallDuration } from \"../../PhoneSystem/TrackingNumbers/helpers\";\nimport { makeDateRangeFromPhrase } from \"../../Reports/components/Leaderboards/helpers\";\n\nexport const usePropertySearch = (\n locationQuery,\n filters,\n searchType,\n setIsFirstLoad,\n includeDummyData = false,\n) => {\n const [properties, setProperties] = useState([]);\n const [radius, setRadius] = useState(0);\n const [areaGeometry, setAreaGeometry] = useState(null);\n const [totalInArea, setTotalInArea] = useState(null);\n const [isSearching, setIsSearching] = useState(false);\n const [error, setError] = useState(null);\n\n const updateProspectLeadStatus = (phoneNumber) => {\n const updated = properties.map((p) => {\n p.prospects = p.prospects.map((prospect) => {\n if (prospect.phone === phoneNumber) {\n return {\n ...prospect,\n isLead: true,\n isMyLead: true,\n };\n }\n\n return prospect;\n });\n\n return p;\n });\n\n setProperties(updated);\n };\n\n useEffect(() => {\n setError(null);\n setProperties([]);\n setAreaGeometry(null);\n\n if (!locationQuery) {\n return;\n }\n\n let isCancelled = false;\n setIsFirstLoad(false);\n setIsSearching(true);\n\n const abortController = new AbortController();\n\n getProperties(locationQuery, filters, searchType, includeDummyData, abortController)\n .then((result) => {\n if (!isCancelled) {\n setProperties(result.properties);\n setIsSearching(false);\n setRadius(result.radius);\n setAreaGeometry(result.areaGeometry);\n setTotalInArea(result.totalInArea);\n }\n })\n .catch((e) => {\n setError(e);\n if (!isCancelled) {\n setIsSearching(false);\n }\n });\n\n return () => {\n isCancelled = true;\n setIsSearching(false);\n abortController?.abort();\n };\n }, [locationQuery, filters, searchType]);\n\n return { properties, radius, areaGeometry, totalInArea, isSearching, error, updateProspectLeadStatus };\n};\n\nexport const addLead = async (prospect, property, agentId) => {\n const lead = {\n first_name: prospect.firstName,\n last_name: prospect.lastName,\n primary_agent_id: agentId,\n intent: \"seller\",\n status: \"new\",\n source: \"Expired\",\n stage: \"New lead\",\n type_name: \"lead\",\n street_address: property.streetAddress,\n city: property.city,\n locality: property.state,\n postal_code: property.postalCode,\n phone: prospect.phone,\n is_lead: true,\n };\n\n // TODO: Consider adding `slug` to the POST /api/v3/leads response. Any reason it wouldn't be there already / external concerns?\n const createResponse = await axios.post(\"/api/v3/leads\", lead, getPostJsonHeaders());\n const { data } = await axios.get(\n `/api/v4/person_detail/show/${createResponse.data.lead.person_id}`,\n getPostJsonHeaders(),\n );\n\n return data.data.attributes.slug;\n};\n\nexport const getSavedSearches = async (userId, searchType) => {\n const response = await axios.get(\n `/users/${userId}/opportunities_saved_searches?search_type=${searchType.toLowerCase()}`,\n );\n\n return response.data?.saved_searches;\n};\n\nexport const saveSearch = async (userId, name, search, searchType) => {\n const data = { saved_search: { name, search_type: searchType.toLowerCase(), search } };\n\n await axios.post(`/users/${userId}/opportunities_saved_searches`, data, getPostJsonHeaders());\n};\n\nexport const deleteSearch = async (userId, searchId) => {\n await axios.delete(`/users/${userId}/opportunities_saved_searches/${searchId}`, getPostJsonHeaders());\n};\n\nexport const saveMostRecentSearch = (searchType, locationQuery, filters) => {\n const search = JSON.stringify({\n searchType,\n locationQuery,\n filters,\n });\n\n window.localStorage.setItem(RecentSearchLocalKey, search);\n};\n\nexport const loadMostRecentSearch = () => {\n return JSON.parse(window.localStorage.getItem(RecentSearchLocalKey));\n};\n\nconst RecentSearchLocalKey = \"opportunities-recent-search\";\n\nconst getProperties = async (location, filters, searchType, includeDummyData, abortController) => {\n if (!location) {\n return [];\n }\n\n const query = Object.entries(filters).reduce((acc, [key, val]) => {\n if (val) {\n acc[key] = val;\n }\n\n return acc;\n }, {});\n\n if (location.isRadius) {\n query.lat = location.location.lat;\n query.lng = location.location.lng;\n } else if (location.isAreaSearch) {\n query.areaId = location.areaId;\n } else if (location.isAddressSearch) {\n query.addressId = location.addressId;\n } else {\n query.polygon = location.polygon.map(({ lat, lng }) => ({ latitude: lat, longitude: lng }));\n }\n\n if (filters.communicationRange) {\n const { from, to } = makeDateRangeFromPhrase(new Date().getFullYear(), filters.communicationRange);\n query.commsFrom = from;\n query.commsTo = to;\n }\n\n query.statusDateMin = filters.statusDateMin ? new Date(filters.statusDateMin) : null;\n query.statusDateMax = filters.statusDateMax ? new Date(filters.statusDateMax) : null;\n\n const options = {\n ...getPostJsonHeaders(),\n signal: abortController?.signal,\n };\n\n const results = await axios.post(`/opportunities/${searchType}`, query, options);\n\n return {\n properties:\n results.data?.properties?.map((p) => formatProperty(p, includeDummyData)).filter((p) => p) || [],\n radius: results.data?.radius || 0,\n areaGeometry: results.data?.geometry,\n totalInArea: results.data?.total_in_area,\n };\n};\n\nconst formatProperty = (property, includeDummyData) => {\n if (!property.city || !property.streetAddress || !property.state) {\n return null;\n }\n\n const fullAddress = `${property.streetAddress}, ${property.city}, ${property.state} ${property.postalCode}`;\n const streetViewLink = property.streetAddress ? `https://www.google.com/maps/place/${fullAddress}` : \"\";\n const zillowLink = property.streetAddress\n ? `https://www.zillow.com/homes/${fullAddress.replace(\" \", \"-\")}`\n : \"\";\n\n const prospects =\n property.prospects?.map((p, i) => ({\n ...p,\n name: toTitleCase(p.name), // These come in as all caps\n firstName: toTitleCase(p.firstName),\n lastName: toTitleCase(p.lastName),\n phoneFormatted: formatPhoneNumber(p.phone),\n isRecommended: i === 0,\n })) || [];\n\n const hasAnyPhoneNumbers = prospects.some((p) => p.phoneFormatted);\n\n if (includeDummyData && prospects.length) {\n prospects[0] = FakeProspect;\n }\n\n const callHistory =\n property.callHistory?.map((call) => ({\n ...call,\n phoneDisplay: formatPhoneNumber(call.phone),\n timestampDisplay: format(new Date(call.timestamp), \"P\"),\n durationDisplay: formatCallDuration(call.duration),\n name: toTitleCase(call.name),\n })) || [];\n\n return {\n ...property,\n statusDateDisplay: property.statusDate ? format(new Date(property.statusDate), \"P\") : \"\",\n recommendedProspect: prospects?.[0] || {},\n listPriceFormatted: formatPrice(property.listPrice),\n sqftFormatted: formatNumber(property.sqft),\n loanAmount: formatPrice(property.loanAmount),\n delinquentAmount: formatPrice(property.delinquentAmount),\n attorneyPhone: formatPhoneNumber(property.attorneyPhone),\n fullAddress,\n streetViewLink,\n zillowLink,\n prospects,\n callHistory,\n hasReceivedCalls: callHistory.length > 0,\n hasAnyPhoneNumbers,\n };\n};\n\nconst FakeProspect = {\n name: \"Matt Garay\",\n firstName: \"Matt\",\n lastName: \"Garay\",\n phone: \"+18056260399\",\n isDnc: false,\n isLead: false,\n isMyPondLead: false,\n isMyLead: false,\n phoneFormatted: \"+1 (805) 626-0399\",\n isRecommended: true,\n};\n","import React, { useState, useRef, useEffect } from \"react\";\n\nconst GoogleMap = ({\n style,\n className,\n children,\n isDrawing,\n locationQuery,\n radius,\n setLocationQuery,\n onClick,\n areaGeometry,\n}) => {\n const mapRef = useRef(null);\n const [map, setMap] = useState(null);\n const [listeners, setListeners] = useState([]);\n const [drawingManager, setDrawingManager] = useState(null);\n const [shape, setShape] = useState(null);\n\n const mapOptions = {\n zoom: 11,\n center: { lat: 33.773, lng: -112.3321 },\n mapTypeId: \"roadmap\",\n disableDefaultUI: true,\n clickableIcons: false,\n };\n\n const addListener = (listener) => {\n setListeners([...listeners, listener]);\n };\n\n const createMap = () => {\n const m = new window.google.maps.Map(mapRef.current, mapOptions);\n const newListeners = [\n window.google.maps.event.addListener(m, \"click\", onClick), // Saving, was used for deselecting a marker\n ];\n\n setListeners(newListeners);\n setDrawingManager(createDrawingManager(window.google, m, setLocationQuery, addListener));\n\n m.controls[window.google.maps.ControlPosition.RIGHT_TOP].push(zoomies(m));\n\n setMap(m);\n };\n\n const setUpArea = () => {\n map.data.addGeoJson({\n type: \"Feature\",\n geometry: areaGeometry,\n });\n\n map.data.setStyle({\n ...baseShapeStyle,\n editable: false,\n draggable: false,\n clickable: false,\n });\n\n const bounds = new window.google.maps.LatLngBounds();\n map.data.forEach((f) => {\n f.getGeometry().forEachLatLng((p) => {\n bounds.extend(p);\n });\n });\n\n map.fitBounds(bounds);\n };\n\n const setUpDrawing = () => {\n const polygon = new window.google.maps.Polygon({\n ...baseShapeStyle,\n map,\n paths: locationQuery.polygon,\n editable: true,\n draggable: false,\n clickable: false,\n });\n\n const listener = google.maps.event.addListener(polygon.getPath(), \"set_at\", (e) => {\n setLocationQuery({ isRadius: false, polygon: convertMvcArray(polygon.getPath()) });\n });\n\n addListener(listener);\n\n const bounds = new window.google.maps.LatLngBounds();\n locationQuery.polygon.forEach((p) => {\n bounds.extend(p);\n });\n\n map.fitBounds(bounds);\n\n setShape(polygon);\n };\n\n const setUpRadius = () => {\n const circle = new window.google.maps.Circle({\n ...baseShapeStyle,\n map,\n center: locationQuery.location,\n radius: radius,\n clickable: false,\n });\n\n map.fitBounds(circle.getBounds());\n\n setShape(circle);\n };\n\n const setUpAddress = () => {\n map.setCenter(locationQuery.location);\n map.setZoom(16);\n };\n\n useEffect(() => {\n return () => {\n for (const listener of listeners || []) {\n listener.remove();\n }\n };\n }, []);\n\n useEffect(() => {\n if (isDrawing) {\n drawingManager?.setDrawingMode(window.google.maps.drawing.OverlayType.POLYGON);\n } else {\n drawingManager?.setDrawingMode(null);\n shape?.setMap(null);\n }\n }, [isDrawing]);\n\n useEffect(() => {\n if (!map) {\n return;\n }\n\n if (shape) {\n shape.setMap(null);\n }\n\n map.data?.forEach((feature) => {\n map.data.remove(feature);\n });\n\n if (!locationQuery) {\n return;\n }\n\n if (locationQuery.isRadius) {\n // Deprecated, is radius search on any google autocomplete value\n setUpRadius();\n } else if (locationQuery.isAddressSearch) {\n setUpAddress();\n } else if (locationQuery.isAreaSearch && areaGeometry) {\n setUpArea();\n } else if (locationQuery.polygon?.length) {\n setUpDrawing();\n }\n }, [locationQuery, areaGeometry, map, radius]);\n\n useEffect(() => {\n if (!mapRef.current || map) {\n return;\n }\n\n const load = async () => {\n if (window.google) {\n createMap();\n return;\n }\n\n await sleep(10);\n\n return load();\n };\n\n load();\n }, [mapRef, map]);\n\n return (\n
\n {React.Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, { map });\n }\n })}\n
\n );\n};\n\nexport default GoogleMap;\n\nconst createDrawingManager = (google, map, onPolygonComplete, addListener) => {\n const drawingManager = new google.maps.drawing.DrawingManager({\n drawingMode: null,\n drawingControl: false,\n polygonOptions: {\n strokeColor: \"#666666\",\n strokeWeight: 2,\n fillColor: \"#000000\",\n fillOpacity: 0.1,\n zIndex: 1,\n editable: true,\n clickable: false,\n },\n });\n\n drawingManager.setMap(map);\n\n const listener = google.maps.event.addListener(drawingManager, \"polygoncomplete\", (poly) => {\n poly.setMap(null);\n drawingManager.setDrawingMode(null);\n\n onPolygonComplete({ isRadius: false, polygon: convertMvcArray(poly.getPath()) });\n });\n\n addListener(listener);\n\n return drawingManager;\n};\n\nconst convertMvcArray = (array) => {\n const converted = [];\n array.forEach((ele, _) => {\n converted.push({ lat: ele.lat(), lng: ele.lng() });\n });\n\n return converted;\n};\n\nconst zoomies = (map) => {\n const zoomDiv = document.createElement(\"div\");\n\n zoomDiv.style.display = \"flex\";\n zoomDiv.style.flexDirection = \"column\";\n zoomDiv.style.border = \"1px solid #c2c2c2\";\n zoomDiv.style.borderRadius = \"4px\";\n zoomDiv.style.backgroundColor = \"#fff\";\n zoomDiv.style.color = \"#666666\";\n zoomDiv.style.cursor = \"pointer\";\n zoomDiv.style.marginRight = \"12px\";\n zoomDiv.style.marginTop = \"18px\";\n\n const plus = makeSvg(PlusPath, \"Zoom In\", true);\n const minus = makeSvg(MinusPath, \"Zoom Out\");\n\n zoomDiv.appendChild(plus);\n zoomDiv.appendChild(minus);\n\n plus.addEventListener(\"click\", () => {\n map.setZoom(map.zoom + 1);\n });\n\n minus.addEventListener(\"click\", () => {\n map.setZoom(map.zoom - 1);\n });\n\n return zoomDiv;\n};\n\nconst makeSvg = (path, title, hasBorder = false) => {\n const div = document.createElement(\"div\");\n div.title = title;\n div.classList.add(\"zoom-button\");\n div.style.padding = \"10px\";\n div.style.height = \"36px\"; // Getting a random 2~px addition to height from i don't know where otherwise\n if (hasBorder) {\n div.style.borderBottom = \"1px solid #c2c2c2\";\n }\n\n const svg = document.createElementNS(\"http://www.w3.org/2000/svg\", \"svg\");\n const svgPath = document.createElementNS(\"http://www.w3.org/2000/svg\", \"path\");\n\n svgPath.setAttributeNS(null, \"d\", path);\n svg.style.overflow = \"visible !important\";\n svg.style.width = \"16px\";\n svg.style.height = \"16px\";\n svg.setAttributeNS(null, \"viewBox\", \"0 0 16 16\");\n svg.setAttributeNS(null, \"fill\", \"currentColor\");\n svg.appendChild(svgPath);\n div.appendChild(svg);\n\n return div;\n};\n\nconst PlusPath =\n \"M16 8a1.23 1.23 0 0 1-1.231 1.231H9.231v5.538a1.23 1.23 0 1 1-2.462 0V9.231H1.231a1.23 1.23 0 1 1 0-2.461h5.538V1.232a1.23 1.23 0 1 1 2.462 0V6.77h5.538C15.45 6.77 16 7.32 16 8z\";\nconst MinusPath = \"M13.5 9h-11a1 1 0 1 1 0-2h11a1 1 0 1 1 0 2z\";\n\nconst sleep = async (ms) => new Promise((resolve) => setTimeout(resolve, ms));\n\nconst baseShapeStyle = {\n strokeColor: \"#666666\",\n strokeOpacity: 1,\n strokeWeight: 2,\n fillColor: \"#666666\",\n fillOpacity: 0.1,\n};\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport { CheckSolidV6, CopyRegularV6, PhoneSolidV6, UserPlusSolidV6 } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Dnc from \"../Dnc\";\nimport { prospectNameColor } from \"../helpers\";\nimport PhoneType from \"../PhoneType\";\n\nconst Prospect = ({ prospect, addProspectAsContact, callProspect }) => (\n
\n
\n \n {prospect.name || \"No Name\"}\n \n
\n \n {prospect.phoneFormatted || \"--\"}\n \n
\n
\n
\n \n \n \n }\n placement=\"right\"\n content={Call prospect}\n />\n \n \n \n }\n placement=\"right\"\n content={Add as lead}\n />\n
\n
\n);\n\nProspect.propTypes = {\n prospect: PropTypes.shape().isRequired,\n addProspectAsContact: PropTypes.func.isRequired,\n callProspect: PropTypes.func.isRequired,\n};\n\nconst PropertyCard = ({\n property,\n isSelected,\n select,\n addProspectAsContact,\n callProspect,\n config,\n setPropertyForDetails,\n}) => {\n const [copied, setCopied] = useState(false);\n\n useEffect(() => {\n let mounted = true;\n if (copied) {\n setTimeout(() => {\n if (mounted) setCopied(false);\n }, 2000);\n }\n\n return () => {\n mounted = false;\n };\n }, [copied]);\n\n return (\n
\n
\n \n \n {property.status}: {property.statusDateDisplay}\n \n
\n
\n setPropertyForDetails(property.id)}\n >\n {property.streetAddress}\n \n {copied ? (\n \n ) : (\n {\n window\n .copyTextToClipboard?.(\n `${property.streetAddress}, ${property.city} ${property.state} ${property.postalCode}`,\n )\n .then(() => setCopied(true));\n }}\n >\n \n \n )}\n
\n
\n {config.hasPrice ? (\n
\n Price\n {property.listPriceFormatted || \"--\"}\n
\n ) : null}\n
\n {config.domOrList}\n {property[config.domOrListField] || \"--\"}\n
\n
\n
\n {property.prospects.length > 0 ? (\n
\n
Top Potential Owner
\n addProspectAsContact(property, property.prospects[0])}\n callProspect={() => callProspect({ property, prospect: property.prospects[0] })}\n />\n
\n setPropertyForDetails(property.id)}>\n {property.prospects.length > 1\n ? `See all potential owners (${property.prospects.length})`\n : \"See More Details\"}\n \n
\n
\n ) : (\n
\n \n No potential owners found for this property\n \n
\n )}\n
\n );\n};\n\nPropertyCard.propTypes = {\n property: PropTypes.shape().isRequired,\n isSelected: PropTypes.bool.isRequired,\n select: PropTypes.func.isRequired,\n addProspectAsContact: PropTypes.func.isRequired,\n callProspect: PropTypes.func.isRequired,\n config: PropTypes.shape().isRequired,\n setPropertyForDetails: PropTypes.func.isRequired,\n};\n\nexport default PropertyCard;\n","import React from \"react\";\n\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst ResultsCount = ({ resultCount, totalAvailable, className, maxRequested = 100 }) => {\n // This is looking at the total instead of returned because we frequently will have some amount less than the requested due to downstream filtering\n const areMoreAvailable = totalAvailable !== null && totalAvailable >= maxRequested;\n let text;\n if (resultCount > 0) {\n text = areMoreAvailable\n ? `Showing ${resultCount} of ${totalAvailable} properties`\n : `Showing ${resultCount} properties`;\n } else {\n text = \"No results\";\n }\n\n return (\n
\n {text}\n {areMoreAvailable && (\n }\n content={`Showing ${resultCount} of ${totalAvailable} most recent properties. Narrow your search or adjust your filters to see older properties.`}\n innerClassName=\"tw-max-w-[248px]\"\n placement=\"top\"\n />\n )}\n
\n );\n};\n\nexport default ResultsCount;\n","import React, { useState, useRef, useEffect } from \"react\";\n\nimport GoogleMap from \"./GoogleMap\";\nimport \"./map.scss\";\nimport CustomOverlay from \"../../../SearchListings/components/CustomOverlay\";\nimport PropertyCard from \"./PropertyCard\";\nimport { formatSimplePrice } from \"../../../SearchListings/components/helpers\";\nimport { format } from \"date-fns\";\nimport ResultsCount from \"../ResultsCount\";\n\nconst Map = ({\n searchConfig,\n locationQuery,\n setLocationQuery,\n properties,\n radius,\n onSelect,\n selected,\n onClickProperty,\n addProspectAsContact,\n callProspect,\n setPropertyForDetails,\n areaGeometry,\n resultsCount,\n totalAvailable,\n}) => {\n const container = useRef(null);\n const [heightOffset, setHeightOffset] = useState(0);\n const [isDrawing, setIsDrawing] = useState(false);\n const [selectedProperty, setSelectedProperty] = useState(null);\n\n const onDrawButtonClick = () => {\n setIsDrawing(!isDrawing);\n setLocationQuery(null);\n };\n\n const onPolygonDrawn = (polygon) => {\n setIsDrawing(false);\n setLocationQuery(polygon);\n };\n\n const onClickMarker = (index) => {\n if (index === selectedProperty) {\n deselectProperty();\n return;\n }\n\n setSelectedProperty(index);\n onClickProperty(properties[index].id);\n };\n\n const deselectProperty = () => {\n setSelectedProperty(null);\n onClickProperty(null);\n };\n\n useEffect(() => {\n const offset = container.current.getBoundingClientRect().top || 0;\n // 8 being the bottom padding\n setHeightOffset(offset + 8);\n }, []);\n\n useEffect(() => {\n deselectProperty();\n }, [locationQuery]);\n\n return (\n
\n \n {properties?.length > 0 &&\n properties.map((property, i) => (\n \n onClickMarker(i)}\n isSelected={selectedProperty === i}\n />\n \n ))}\n {properties?.length > 0 && selectedProperty !== null && properties[selectedProperty] && (\n \n onSelect(properties[selectedProperty])}\n addProspectAsContact={addProspectAsContact}\n callProspect={callProspect}\n setPropertyForDetails={setPropertyForDetails}\n />\n \n )}\n \n
\n \n {isDrawing ? \"Clear\" : \"Draw Area\"}\n \n
\n {resultsCount > 0 && (\n
\n \n
\n )}\n
\n );\n};\n\nexport default Map;\n\nconst PropertyMarker = ({ value, onClick, isSelected }) => {\n const clicks = (e) => {\n e.preventDefault();\n\n onClick();\n };\n\n const selectedStyling = isSelected\n ? \"tw-border-theme-primary tw-text-theme-primary before:tw-border-t-theme-primary\"\n : \"tw-border-gray-30 tw-text-gray-75 before:tw-border-t-gray-30\";\n\n const stateStyles = `\n before:tw-content-[''] before:tw-block before:tw-absolute before:tw-h-0 before:tw-w-0 before:tw-border-solid before:tw-border-transparent\n after:tw-content-[''] after:tw-block after:tw-absolute after:tw-h-0 after:tw-w-0 after:tw-border-solid after:tw-border-transparent\n before:tw-top-full before:tw-border-[7px]\n after:tw-top-[95%] after:tw-border-[7px] after:tw-border-t-white\n hover:tw-border-theme-primary hover:tw-text-theme-primary hover:tw-bg-theme-primary-disabled\n hover:before:tw-border-t-theme-primary hover:after:tw-border-t-theme-primary-disabled\n active:tw-border-theme-primary active:tw-text-white active:tw-bg-theme-primary\n active:before:tw-border-t-theme-primary active:after:tw-border-t-theme-primary\n `;\n\n return (\n \n {value}\n \n );\n};\n","import { SearchTypeConfig } from \"./helpers\";\n\nexport const communicationOptions = [\n { label: \"Any\", value: \"\" },\n { label: \"Has received call\", value: \"call\" },\n { label: \"Has not received call\", value: \"no_call\" },\n];\n\nexport const communicationDateOptions = [\n { label: \"Today\", value: \"not_called\" },\n { label: \"Last 14 days\", value: \"last-14-days\" },\n { label: \"Last 30 days\", value: \"last-30-days\" },\n { label: \"Last 90 days\", value: \"last-90-days\" },\n];\n\nexport const communicationOutcomes = [\n { label: \"Talked\", value: \"talked_to_lead\" },\n { label: \"Left Message\", value: \"left_message\" },\n { label: \"Busy\", value: \"busy\" },\n { label: \"Failed\", value: \"failed\" },\n { label: \"No Answer\", value: \"no_answer\" },\n { label: \"Wrong Number\", value: \"wrong_number\" },\n];\n\nexport const getDefaultFilters = (defaultSearchType) => ({\n excluded: [\"no_phone\", \"dnc\"],\n communication: null,\n communicationRange: null,\n communicationOutcomes: [],\n statuses: [...SearchTypeConfig[defaultSearchType].statuses],\n propertyTypes: [],\n statusDateMin: \"\",\n statusDateMax: \"\",\n priceMin: \"\",\n priceMax: \"\",\n bedsMin: \"\",\n bedsMax: \"\",\n bathsMin: \"\",\n bathsMax: \"\",\n sqftMin: \"\",\n sqftMax: \"\",\n lotSizeMin: \"\",\n lotSizeMax: \"\",\n});\n\nexport const getFiltersPersistedAcrossTypes = (filters, searchType) => {\n return {\n ...getDefaultFilters(searchType),\n excluded: filters.excluded,\n communication: filters.communication,\n communicationRange: filters.communicationRange,\n communicationOutcomes: filters.communicationOutcomes,\n bedsMin: filters.bedsMin,\n bedsMax: filters.bedsMax,\n bathsMin: filters.bathsMin,\n bathsMax: filters.bathsMax,\n sqftMin: filters.sqftMin,\n sqftMax: filters.sqftMax,\n lotSizeMin: filters.lotSizeMin,\n lotSizeMax: filters.lotSizeMax,\n };\n};\n\nexport const toggleArrayValue = (filters, field, value) => {\n const newValues = filters[field].includes(value)\n ? filters[field].filter((f) => f !== value)\n : [...filters[field], value];\n\n return { ...filters, [field]: newValues };\n};\n\nexport const setField = (filters, field, value) => {\n return { ...filters, [field]: value };\n};\n\nexport const countFiltersApplied = (filters) => {\n let count = 0;\n\n FilterPairs.forEach(([min, max]) => {\n if (filters[min] || filters[max]) {\n count++;\n }\n });\n\n if (filters.communication) {\n count++;\n }\n\n if (filters.communicationRange) {\n count++;\n }\n\n if (filters.propertyTypes?.length) {\n count += filters.propertyTypes.length;\n }\n\n return count;\n};\n\nconst FilterPairs = [\n [\"priceMin\", \"priceMax\"],\n [\"sqftMin\", \"sqftMax\"],\n [\"bedsMin\", \"bedsMax\"],\n [\"bathsMin\", \"bathsMax\"],\n [\"lotSizeMin\", \"lotSizeMax\"],\n [\"statusDateMin\", \"statusDateMax\"],\n];\n","import React, { useState } from \"react\";\n\nimport Button from \"@shared/v2/Button\";\nimport Checkbox from \"@shared/v2/Checkbox\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { CircleInfoSolidV6 } from \"@shared/v2/Icomoon\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport DatePicker from \"@shared/v2/DatePicker\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport { formatPrice } from \"../../SearchListings/components/helpers\";\nimport {\n communicationOptions,\n communicationDateOptions,\n getDefaultFilters,\n toggleArrayValue,\n setField,\n communicationOutcomes,\n} from \"./filters\";\n\nconst FiltersModal = ({ chosenFilters, onApply, closeModal, config }) => {\n const [filters, setFilters] = useState(mergeWithDefaults(chosenFilters, config.type));\n\n const onArrayValueChosen = (field, value) => {\n setFilters(toggleArrayValue(filters, field, value));\n };\n\n const changeField = (field, value) => {\n setFilters(setField(filters, field, value));\n };\n\n const applyFilters = () => {\n onApply({\n ...filters,\n communicationOutcomes: filters.communication === \"call\" ? filters.communicationOutcomes : [],\n communicationRange: filters.communication ? filters.communicationRange : null,\n lotSizeMin: parseFloat(filters.lotSizeMin) || \"\",\n lotSizeMax: parseFloat(filters.lotSizeMax) || \"\",\n });\n };\n\n const clearFilters = () => setFilters(mergeWithDefaults({}, config.type));\n\n return (\n \n \n \n
\n
\n onArrayValueChosen(\"excluded\", \"no_phone\")}\n />\n onArrayValueChosen(\"excluded\", \"dnc\")}\n />\n
\n
\n \n
\n changeField(\"communication\", e.value)}\n placeholder=\"Any\"\n value={communicationOptions.find((c) => c.value === filters.communication)}\n />\n changeField(\"communicationRange\", e.value)}\n placeholder=\"All Time\"\n value={communicationDateOptions.find((cd) => cd.value === filters.communicationRange)}\n isDisabled={!filters.communication}\n />\n
\n {filters.communication === \"call\" && (\n
\n {communicationOutcomes.map((co) => (\n onArrayValueChosen(\"communicationOutcomes\", co.value)}\n >\n {co.label}\n \n ))}\n
\n )}\n \n {config.statuses.length ? (\n
\n
\n {config.statuses.map((s) => (\n onArrayValueChosen(\"statuses\", s)}\n >\n {s}\n \n ))}\n
\n
\n ) : null}\n
\n
\n {config.propertyTypes.map((pt) => (\n onArrayValueChosen(\"propertyTypes\", pt)}\n >\n {pt}\n \n ))}\n
\n
\n
\n
\n
\n
\n From:\n changeField(\"statusDateMin\", value)}\n maxDate={filters.statusDateMax}\n />\n
\n
\n To:\n changeField(\"statusDateMax\", value)}\n minDate={filters.statusDateMin}\n />\n
\n
\n
\n {config.typeName === \"Preforeclosure\" ? null : (\n \n )}\n \n \n \n \n
\n
\n
\n
\n
\n \n
\n \n \n CLEAR ALL\n \n \n
\n
\n \n );\n};\n\nexport default FiltersModal;\n\nconst Section = ({ label, tooltipText = \"\", children }) => {\n return (\n
\n
\n );\n};\n\nconst Label = ({ label, tooltipText }) => (\n
\n {label}\n {tooltipText && (\n \n \n
\n }\n content={{tooltipText}}\n innerClassName=\"tw-max-w-[220px]\"\n placement=\"right\"\n />\n )}\n \n);\n\nconst RangePair = ({ label, name, minValue, maxValue, onChange, allowDecimal = false }) => {\n const cleanValue = (name, value) => {\n const cleaned = value?.replace(allowDecimal ? /[^0-9.]/g : /\\D/g, \"\");\n\n onChange(name, cleaned);\n };\n\n return (\n
\n
{label}
\n
\n cleanValue(`${name}Min`, e.target?.value || null)}\n value={minValue}\n />\n cleanValue(`${name}Max`, e.target?.value || null)}\n value={maxValue}\n />\n
\n
\n );\n};\n\nconst PriceRange = ({ minValue, maxValue, onChange }) => {\n const formattedValue = (value) => formatPrice(value) || \"\";\n\n return (\n \n );\n};\n\nconst mergeWithDefaults = (existing, searchType) => {\n return {\n ...getDefaultFilters(searchType),\n ...existing,\n };\n};\n","import axios from \"axios\";\nimport { useState, useEffect } from \"react\";\n\nimport { useDebounce } from \"@shared/hookHelpers\";\n\nexport const useAutocomplete = (term, searchType) => {\n const [results, setResults] = useState([]);\n const [hasSearchResults, setHasSearchResults] = useState(false);\n const debouncedTerm = useDebounce(term, 150);\n\n useEffect(() => {\n setHasSearchResults(false);\n }, [term]);\n\n useEffect(() => {\n if (debouncedTerm.length < 2 || debouncedTerm.length > 100) {\n // cats always type 101 chars\n setResults([]);\n return;\n }\n\n const endpoint = `/opportunities/autocomplete?search_term=${debouncedTerm}&search_type=${searchType}`;\n const abort = new AbortController();\n axios\n .get(endpoint, { signal: abort.signal })\n .then((response) => {\n setResults(mapResults(response.data.results));\n setHasSearchResults(true);\n })\n .catch((e) => {});\n\n return () => abort.abort();\n }, [debouncedTerm, searchType]);\n\n return { autocompleteResults: results, hasSearchResults };\n};\n\nconst mapResults = (results = {}) => {\n return AutocompleteToReadable.reduce((acc, [areaType, readable]) => {\n if (!results[areaType]?.length) {\n return acc;\n }\n\n results[areaType].map((r) => mapResult(r, readable, acc));\n\n return acc;\n }, []);\n};\n\nconst mapResult = (r, readable, acc) => {\n const indexOfUS = r.name.lastIndexOf(\", US\");\n const name = indexOfUS !== -1 ? r.name.substring(0, indexOfUS) : r.name;\n\n acc.push({\n value: name,\n name,\n id: r.id,\n areaId: r.id || null,\n addressId: r.addressUuid,\n category: readable,\n latitude: r.latitude,\n longitude: r.longitude,\n });\n};\n\nconst AutocompleteToReadable = [\n [\"address\", \"Street Address\"],\n [\"city\", \"City\"],\n [\"neighborhood\", \"Neighborhood\"],\n [\"county\", \"County\"],\n [\"postalCode\", \"ZIP Code\"],\n];\n","import React, { useState, useEffect, useMemo } from \"react\";\n\nimport TextInput from \"@shared/v2/TextInput\";\nimport { Search as SearchIcon } from \"@shared/v2/Icomoon\";\nimport ListingsAutocompleteResults from \"@shared/ListingsAutocomplete/ListingsAutocompleteResults\";\nimport { useAutocomplete } from \"./useAutocomplete\";\n\nconst Search = ({\n selectSavedSearch,\n setLocation,\n searchBarRef,\n savedSearches,\n deleteSearch,\n searchType,\n}) => {\n const mappedSearches = useMemo(\n () => savedSearches.map((s) => ({ ...s, value: s.name, category: \"Saved Searches\" })),\n [savedSearches],\n );\n\n const [term, setTerm] = useState(\"\");\n const [results, setResults] = useState(mappedSearches);\n const [isSearchSelected, setIsSearchSelected] = useState(false);\n const [childPosition, setChildPosition] = useState(0);\n const { autocompleteResults, hasSearchResults } = useAutocomplete(term, searchType);\n\n const onSelectAutocompleteResult = (location) => {\n // Clean up results and tracking for them. Only show saved searches in the future\n setChildPosition(0);\n setTerm(\"\");\n setResults(mappedSearches);\n\n if (location.category === \"Saved Searches\") {\n selectSavedSearch(location);\n return;\n }\n\n setLocation({\n isAreaSearch: location.category !== \"Street Address\",\n isAddressSearch: location.category === \"Street Address\",\n areaId: location.areaId,\n addressId: location.addressId,\n name: location.name,\n location: {\n lat: location.latitude,\n lng: location.longitude,\n },\n });\n };\n\n const handleKeypress = (event) => {\n if (event.defaultPrevented) return;\n\n switch (event.key) {\n case \"ArrowUp\":\n setChildPosition(childPosition > 0 ? childPosition - 1 : 0);\n break;\n case \"ArrowDown\":\n setChildPosition(results.length - 1 > childPosition ? childPosition + 1 : childPosition);\n break;\n case \"Enter\":\n onSelectAutocompleteResult(results[childPosition]);\n break;\n default:\n return;\n }\n\n event.preventDefault();\n };\n\n useEffect(() => {\n setResults([\n ...mappedSearches.filter((ms) => matchByTermIgnoreCase(ms.value, term)),\n ...autocompleteResults,\n ]);\n }, [mappedSearches, autocompleteResults, term]);\n\n return (\n
\n
\n setTerm(e.target?.value || \"\")}\n value={term}\n onBlur={() => setIsSearchSelected(false)}\n onFocus={() => setIsSearchSelected(true)}\n onKeyDown={handleKeypress}\n />\n \n
\n {isSearchSelected && (\n \n )}\n
\n );\n};\n\nexport default Search;\n\nconst AutocompleteResults = ({\n results,\n onSelectAutocompleteResult,\n childPosition,\n setChildPosition,\n deleteSearch,\n hasSearchResults,\n searchType,\n}) => {\n const isEmptyState = hasSearchResults && results?.length === 0;\n\n return isEmptyState ? (\n
\n
{makeEmptyText(searchType)}
\n
\n ) : (\n \n );\n};\n\nconst makeEmptyText = (type) =>\n `No results found for this search. If you’re searching for an address, it may not be ${ByTypeEmptyState[type]}. `;\n\nconst matchByTermIgnoreCase = (searchIn, target) =>\n searchIn.match(new RegExp(target || \"\", \"gi\"))?.length > 0;\n\nconst ByTypeEmptyState = {\n expireds: \"an Expired property\",\n fsbos: \"a FSBO\",\n preforeclosures: \"in Pre-Foreclosure\",\n};\n","import React, { useState, useMemo } from \"react\";\n\nimport Toggle from \"@shared/v2/Toggle\";\nimport RemovableBubble from \"@shared/RemovableBubble\";\nimport { formatPrice } from \"../../SearchListings/components/helpers\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport {\n communicationDateOptions,\n communicationOptions,\n getDefaultFilters,\n toggleArrayValue,\n setField,\n} from \"./filters\";\nimport Button from \"@shared/v2/Button\";\nimport Dropdown from \"@shared/v2/Dropdown\";\nimport { ChevronDownSolidV6, ChevronUpSolidV6 } from \"@shared/v2/Icomoon\";\n\nconst Options = ({\n location,\n setLocation,\n filters,\n setFilters,\n isMapVisible,\n setIsMapVisible,\n saveSearch,\n currentSort,\n setCurrentSort,\n config,\n}) => {\n const [showSortMenu, setShowSortMenu] = useState(false);\n\n const fieldOptions = useMemo(() => {\n return createOptions(SortFields).reduce((acc, cur) => {\n if (cur.value === \"daysOnMarket\" && !config.showDaysOnMarketColumn) {\n return acc;\n }\n\n if (cur.value === \"statusDate\") {\n acc.push({ label: config.dateName, value: cur.value });\n return acc;\n }\n\n acc.push(cur);\n\n return acc;\n }, []);\n }, [config]);\n\n const sortByLabel = currentSort.field === \"statusDate\" ? config.dateName : SortFields[currentSort.field];\n\n return (\n
\n \n
\n <>\n \n {showSortMenu && (\n setShowSortMenu(false)}\n />\n )}\n \n setIsMapVisible(!isMapVisible)}\n labelClassName=\"tw-text-12px tw-text-gray-50 !tw-m-0\"\n />\n
\n
\n );\n};\n\nexport default Options;\n\nconst Bubbles = ({ location, setLocation, filters, setFilters, saveSearch, config }) => {\n const removePairedFilters = (min, max) => {\n setFilters(setField(setField(filters, max, \"\"), min, \"\"));\n };\n\n const removePropertyType = (propertyType) => {\n setFilters(toggleArrayValue(filters, \"propertyTypes\", propertyType));\n };\n\n const removeCommunicationsFilters = () => {\n setFilters(setField(setField(filters, \"communication\", null), \"communicationRange\", null));\n };\n\n const removeDateFilters = () => {\n setFilters(setField(setField(filters, \"statusDateMin\", \"\"), \"statusDateMax\", \"\"));\n };\n\n const clearAll = () => {\n setFilters(getDefaultFilters(config.type));\n setLocation(null);\n };\n\n const createBubbles = () => {\n const bubbles = [];\n if (location) {\n bubbles.push(\n setLocation(null)}\n includeMargins={false}\n />,\n );\n }\n\n FilterDataForBubbles.forEach(({ desc, min, max, asPrice }) => {\n const text = createFilterText(desc, filters[min], filters[max], asPrice);\n if (text) {\n bubbles.push(\n removePairedFilters(min, max)}\n includeMargins={false}\n />,\n );\n }\n });\n\n if (filters.propertyTypes?.length) {\n filters.propertyTypes.forEach((pt) => {\n bubbles.push(\n removePropertyType(pt)}\n includeMargins={false}\n />,\n );\n });\n }\n\n if (filters.communication) {\n const firstBit = `Communication: ${communicationOptions.find((c) => c.value === filters.communication).label}`;\n const secondBit = ` ${filters.communicationRange ? communicationDateOptions.find((c) => c.value === filters.communicationRange).label.toLowerCase() : \"\"}`;\n\n bubbles.push(\n removeCommunicationsFilters()}\n includeMargins={false}\n />,\n );\n }\n\n if (filters.statusDateMin || filters.statusDateMax) {\n let dateFilterText = `${config.dateName}:`;\n if (filters.statusDateMin && filters.statusDateMax) {\n dateFilterText += `${filters.statusDateMin} - ${filters.statusDateMax}`;\n } else if (filters.statusDateMin) {\n dateFilterText += `After ${filters.statusDateMin}`;\n } else {\n dateFilterText += `Before ${filters.statusDateMax}`;\n }\n\n bubbles.push(\n removeDateFilters()}\n includeMargins={false}\n />,\n );\n }\n\n if (bubbles.length) {\n bubbles.push(\n ,\n clearAll()}\n />,\n );\n }\n\n return bubbles;\n };\n\n return
{createBubbles()}
;\n};\n\nconst FilterDataForBubbles = [\n {\n desc: \"Price\",\n min: \"priceMin\",\n max: \"priceMax\",\n asPrice: true,\n },\n {\n desc: \"Square Feet\",\n min: \"sqftMin\",\n max: \"sqftMax\",\n },\n {\n desc: \"Beds\",\n min: \"bedsMin\",\n max: \"bedsMax\",\n },\n {\n desc: \"Baths\",\n min: \"bathsMin\",\n max: \"bathsMax\",\n },\n {\n desc: \"Lot Size\",\n min: \"lotSizeMin\",\n max: \"lotSizeMax\",\n },\n];\n\nconst createFilterText = (desc, min, max, asPrice = false) => {\n if (!min && !max) {\n return;\n }\n\n const minFormatted = asPrice ? formatPrice(min) : min;\n const maxFormatted = asPrice ? formatPrice(max) : max;\n\n return minFormatted === maxFormatted\n ? `${desc}: ${minFormatted}`\n : `${desc}: ${minFormatted || \"No Min\"} - ${maxFormatted || \"No Max\"}`;\n};\n\nconst SortMenu = ({ fieldOptions, sortOptions, setSortOptions, close }) => {\n const [order, setOrder] = useState(sortOptions?.order);\n const [field, setField] = useState(sortOptions?.field);\n\n const saveSort = () => {\n setSortOptions({ order, field });\n close();\n };\n\n return (\n <>\n
\n
\n setField(value)}\n value={fieldOptions.find((f) => f.value === field)}\n />\n
\n
\n setOrder(value)}\n value={orderOptions.find((o) => o.value === order)}\n />\n
\n \n
\n
\n \n );\n};\n\nconst SortOrder = {\n asc: \"Ascending\",\n desc: \"Descending\",\n};\n\nconst SortFields = {\n streetAddress: \"Address\",\n statusDate: \"Status Date\",\n daysOnMarket: \"Days on Market\",\n beds: \"Beds\",\n baths: \"Baths\",\n sqft: \"SQFT\",\n lotSize: \"Lot Size\",\n yearBuilt: \"Year Built\",\n};\n\nconst createOptions = (opts) => {\n return Object.entries(opts).map(([value, label]) => {\n return { value, label };\n });\n};\n\nconst orderOptions = createOptions(SortOrder);\n","import Button from \"@shared/v2/Button\";\nimport React from \"react\";\n\nconst EmptyState = ({ isInitialState, onClickSearchButton, error }) => {\n const header = getHeader(isInitialState, error);\n const message = getMessage(isInitialState, error);\n\n return (\n
\n
\n \n

{header}

\n

{message}

\n {isInitialState && (\n \n )}\n
\n
\n );\n};\n\nexport default EmptyState;\n\nconst getHeader = (isInitialState, error) => {\n if (error) {\n return \"Looks like the search failed.\";\n }\n\n return isInitialState ? \"Search Properties\" : \"No matching results\";\n};\n\nconst getMessage = (isInitialState, error) => {\n if (error) {\n return (\n <>\n Please refresh and try again.\n
\n If the problem persists, contact support.\n \n );\n }\n\n return isInitialState\n ? \"Enter an address, neighborhood, city, ZIP code, or county to search\"\n : \"Please try searching in a different area\";\n};\n","import React from \"react\";\n\nconst ZillowLogo = () => {\n return (\n \n \n \n \n );\n};\n\nexport default ZillowLogo;\n","import { ChevronRightSolidV6, ChevronUpSolidV6 } from \"@shared/v2/Icomoon\";\nimport React, { useState } from \"react\";\nimport { valueOrDash } from \"./helpers\";\n\nconst CallInfo = ({ call, includeBorder = true }) => {\n const [areNotesVisible, setAreNotesVisible] = useState(false);\n\n const outcome = call.outcome === \"talked_to_lead\" ? \"Talked\" : \"Missed Call\";\n const preposition = call.outcome === \"talked_to_lead\" ? \"with\" : \"from\";\n\n return (\n
\n
\n
setAreNotesVisible(!areNotesVisible)}>\n {areNotesVisible ? : }\n
\n
\n \n {call.name || \"No Name\"}\n \n {call.phoneDisplay}\n
\n
\n
\n {outcome}{\" \"}\n {preposition}{\" \"}\n {call.agent}\n
\n \n {call.durationDisplay} on {call.timestampDisplay}\n \n
\n
\n {areNotesVisible && (\n
\n Notes:\n

{valueOrDash(call.notes)}

\n
\n )}\n {includeBorder &&
}\n
\n );\n};\n\nexport default CallInfo;\n","import React, { useEffect } from \"react\";\n\nimport {\n Close,\n HouseCircleXmarkSolidV6,\n LinkedinRegularV6,\n MapSolidV6,\n ThumbsUpSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport formatPhoneNumber from \"@shared/FormatPhoneNumber\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Modal from \"@shared/v2/Modal\";\nimport Dnc from \"./Dnc\";\nimport Button from \"@shared/v2/Button\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport ZillowLogo from \"./ZillowLogo\";\nimport CallInfo from \"./CallInfo\";\nimport { prospectNameColor, valueOrDash } from \"./helpers\";\nimport { toTitleCase } from \"@shared/Utilities\";\nimport PhoneType from \"./PhoneType\";\n\nconst PropertyDetails = ({ property, closeModal, addProspectAsContact, callProspect, config }) => {\n return (\n \n \n
\n
\n MLS ID: {property.mlsId}\n
\n \n {property.streetAddress}, {property.city} {property.state} {property.postalCode}{\" \"}\n \n {property.streetViewLink ? (\n window.open(property.streetViewLink, \"_blank\")}\n schema=\"primary\"\n size=\"small\"\n >\n \n \n ) : null}\n {property.zillowLink ? (\n window.open(property.zillowLink, \"_blank\")}\n schema=\"custom\"\n size=\"small\"\n >\n \n \n ) : null}\n
\n
\n \n \n \n
\n
\n \n
\n
\n {property.listPriceFormatted}\n
\n \n \n {toTitleCase(property.status)}: {property.statusDateDisplay}\n \n {config.showDaysOnMarketColumn ? (\n <>\n
\n Days on Market\n {property.daysOnMarket}\n \n ) : null}\n
\n
\n
\n \n \n \n
\n
\n
\n \n
\n
\n \n {property.prospects?.length > 0 ? (\n
\n {property.prospects.map((prospect, i) => (\n addProspectAsContact(property, prospect)}\n callProspect={() => callProspect({ property, prospect })}\n />\n ))}\n
\n ) : (\n No prospects found for this property\n )}\n
\n
\n \n {property.callHistory?.length > 0 ? (\n
\n {property.callHistory.map((call, i) => (\n \n ))}\n
\n ) : (\n No calls logged for this property\n )}\n
\n
\n {config.typeName === \"Preforeclosure\" ? (\n \n ) : (\n \n )}\n
\n \n );\n};\n\nexport default PropertyDetails;\n\nconst BaseDetails = ({ property, config }) => {\n return (\n <>\n \n
\n
\n \n
\n
\n \n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n
\n
\n
\n \n

{valueOrDash(property.agentRemarks)}

\n
\n
\n
\n \n

{valueOrDash(property.showingInstructions)}

\n
\n \n );\n};\n\nconst PreforeclosureDetails = ({ property }) => {\n return (\n <>\n \n
\n
\n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n
\n
\n \n \n \n \n
\n
\n
\n
\n
\n \n
\n
\n \n \n \n
\n
\n \n \n
\n
\n
\n \n );\n};\n\nconst Address = ({ person }) => {\n const cityAnd = `${person?.city || \"\"} ${person?.state || \"\"} ${person?.postalCode || \"\"}`.trim();\n\n return (\n
\n Address\n {person && person.streetAddress ? (\n
\n {person.streetAddress}\n {cityAnd}\n
\n ) : (\n {valueOrDash(null)}\n )}\n
\n );\n};\n\nconst OwnerDetails = ({ property }) => {\n return (\n
\n \n
\n
\n \n
\n
\n
\n
\n \n {property.owner.email}\n \n ) : null\n }\n />\n {/* {property.owner.email && (\n \n )} */}\n
\n {property.owner.linkedinProfileUrl || property.owner.xProfileUrl ? (\n \n {property.owner.linkedinProfileUrl && (\n window.open(property.owner.linkedinProfileUrl, \"_blank\")}\n >\n \n \n )}\n {property.owner.xProfileUrl && (\n window.open(property.owner.xProfileUrl, \"_blank\")}\n >\n \n \n )}\n
\n }\n />\n ) : (\n \n )}\n
\n
\n \n );\n};\n\nconst SectionTitle = ({ text }) => {\n return {text};\n};\n\nconst DetailItem = ({ field, value }) => {\n return (\n
\n {field}\n {valueOrDash(value)}\n
\n );\n};\n\nconst PropertySpecifics = ({ name, value }) => {\n return (\n
\n {valueOrDash(value)}\n {name}\n
\n );\n};\n\nconst Location = ({ lat, lng, address }) => {\n useEffect(() => {\n const latLng = { lat, lng };\n const mapSettings = {\n zoom: 16,\n center: latLng,\n mapTypeId: \"roadmap\",\n panControl: false,\n disableDefaultUI: true,\n };\n\n const init = async () => {\n const { Map } = await google.maps.importLibrary(\"maps\");\n const { Marker } = await google.maps.importLibrary(\"marker\");\n\n const map = new Map(document.getElementById(\"listing-map\"), mapSettings);\n new Marker({\n position: latLng,\n map,\n title: address,\n });\n };\n\n init();\n }, []);\n\n return
;\n};\n\nconst Prospect = ({ prospect, addProspectAsContact, callProspect }) => {\n return (\n
\n
\n
\n \n {prospect.name || \"No Name\"}\n \n {prospect.isRecommended && (\n }\n content={Top Potential Owner}\n placement=\"right\"\n />\n )}\n
\n
\n \n {prospect.phoneFormatted || \"--\"}\n \n
\n
\n
\n \n \n
\n
\n );\n};\n","import React from \"react\";\n\nimport {\n BathRegularV6,\n BedEmptyRegularV6,\n BuildingsRegularV6,\n CalendarClockSolidV6,\n Grid2SolidV6,\n MapSolidV6,\n TreeDeciduousSolidV6,\n} from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport ZillowLogo from \"../ZillowLogo\";\nimport { valueOrDash } from \"../helpers\";\n\nconst PropertyInfoBlock = ({ property }) => {\n return (\n
\n \n {property.status}: {property.statusDateDisplay}\n \n
\n \n {property.streetAddress}, {property.city} {property.state} {property.postalCode}{\" \"}\n \n {property.streetViewLink ? (\n window.open(property.streetViewLink, \"_blank\")}\n schema=\"tertiary\"\n size=\"small\"\n >\n \n \n ) : null}\n {property.zillowLink ? (\n window.open(property.zillowLink, \"_blank\")}\n schema=\"tertiary\"\n size=\"small\"\n >\n \n \n ) : null}\n
\n
\n
\n \n \n {null && }\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n );\n};\n\nexport default PropertyInfoBlock;\n\nconst PropertySpecifics = ({ name, value }) => {\n return (\n
\n {name}\n {valueOrDash(value)}\n
\n );\n};\n\nconst TinyLittleInfoThing = ({ value, fullTextBlock }) => {\n return {value ? fullTextBlock : \"--\"};\n};\n\nconst VerticalLine = () => (\n
\n);\n","import { ArrowLeftSolidV6, Close, PhoneSolidV6 } from \"@shared/v2/Icomoon\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport Modal from \"@shared/v2/Modal\";\nimport React, { useRef, useState } from \"react\";\nimport Button from \"@shared/v2/Button\";\nimport Tooltip from \"@shared/v2/Tooltip\";\nimport Dnc from \"../Dnc\";\nimport CallInfo from \"../CallInfo\";\nimport PropertyInfoBlock from \"./PropertyInfoBlock\";\nimport { prospectNameColor } from \"../helpers\";\nimport PhoneType from \"../PhoneType\";\n\nconst PropertyDialerModal = ({ property, callProspect, closeModal }) => {\n const overviewContainer = useRef(null);\n const [overviewContainerHeight, setOverviewContainerHeight] = useState(0);\n const [view, setView] = useState(\"overview\");\n\n const showCallHistory = () => {\n // This is just to preserve the size of the modal between the dialer overview and call history\n const HeaderHeightDifference = 16;\n setOverviewContainerHeight(overviewContainer?.current?.clientHeight + HeaderHeightDifference);\n\n setView(\"history\");\n };\n\n return (\n \n \n {view === \"overview\" ? (\n
\n Property Dialer\n \n \n \n
\n ) : (\n
setView(\"overview\")} className=\"tw-cursor-pointer !tw-m-0\">\n \n
\n )}\n
\n \n {view === \"overview\" ? (\n
\n \n
\n ) : (\n
\n Calls to this property\n {property.callHistory?.length > 0 ? (\n
\n {property.callHistory.map((call, i) => (\n \n ))}\n
\n ) : (\n None!\n )}\n
\n )}\n
\n \n );\n};\n\nexport default PropertyDialerModal;\n\nconst DialerOverview = ({ property, callProspect, showCallHistory }) => {\n return (\n
\n \n
\n
\n Potential Owners\n \n Call History ({property.callHistory.length})\n \n
\n {property.prospects.length > 0 && (\n
\n {property.prospects.map((prospect) => (\n callProspect({ prospect, property })}\n />\n ))}\n
\n )}\n
\n
\n );\n};\n\nconst ProspectRow = ({ prospect, callProspect }) => {\n const mostText = prospect.phone ? \"tw-text-gray-75\" : \"tw-text-gray-30\";\n const nameText = prospectNameColor(prospect);\n\n return (\n
\n
\n
\n \n {prospect.name || \"No Name\"}\n \n
\n
\n \n {prospect.phoneFormatted || \"--\"}\n \n
\n {prospect.isLead && !prospect.isMyLead && (\n
\n This number is in your CRM and may be another team member's lead\n
\n )}\n
\n
\n {prospect.phone ? (\n \n \n \n ) : (\n {}} disabled>\n \n \n }\n placement=\"right\"\n multiline\n contentClassName=\"tw-w-[140px]\"\n content={Cannot call a prospect with no phone number}\n />\n )}\n
\n
\n );\n};\n","import { useState, useEffect, useRef } from \"react\";\nimport axios from \"axios\";\n\nimport { getPostJsonHeaders } from \"@shared/axiosHelpers\";\nimport { responseDataToCamelCase } from \"@shared/v2/caseTransformingAxios\";\nimport CALL_STATES from \"../../Dialer/utils/states\";\nimport { tryCatchHandlr } from \"@shared/Utilities\";\n\nexport default ({ dialerServiceUrl, prospects }) => {\n const abortController = useRef(null);\n const consumer = useRef(null);\n const [session, setSession] = useState(null);\n const [conference, setConference] = useState(null);\n const [callState, setCallState] = useState(null);\n const [disconnect, setDisconnect] = useState(false);\n const [error, setError] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n\n useEffect(() => {\n return async () => {\n await tryCatchHandlr(implode());\n };\n }, []);\n\n useEffect(() => {\n const doSomething = async () => {\n if (callState === CALL_STATES.Ended) {\n await endCall();\n } else if (callState === CALL_STATES.Init) {\n await startCall();\n }\n };\n\n doSomething();\n }, [callState]);\n\n useEffect(() => {\n if (!session) {\n return () => {};\n }\n\n const cleanUp = () => {\n consumer.current?.disconnect();\n setSession(null);\n setDisconnect(false);\n };\n\n if (disconnect) {\n cleanUp();\n return;\n }\n\n consumer.current = ActionCable.createConsumer(`${dialerServiceUrl}/cable?token=${session.token}`);\n consumer.current.subscriptions.create(\n { channel: \"ConferenceChannel\", conference_uuid: session.conferenceUuid },\n {\n received(data) {\n handleCallStatusUpdate(responseDataToCamelCase(data.conference));\n },\n connected() {\n this.perform(\"follow\");\n },\n },\n );\n\n return () => {\n cleanUp();\n };\n }, [session, disconnect]);\n\n const startCall = async () => {\n try {\n if (session) {\n await tryCatchHandlr(endSession(dialerServiceUrl, session));\n }\n\n abortController.current = new AbortController();\n\n const newSession = await createSession(prospects, abortController.current);\n newSession.conferenceUuid = newSession.conference_uuid;\n setIsLoading(true);\n await startSession(dialerServiceUrl, newSession, abortController.current);\n setSession(newSession);\n } catch (e) {\n console.log(\"Error while starting session/call\", e);\n setCallState(CALL_STATES.Ended);\n } finally {\n setIsLoading(false);\n abortController.current = null;\n }\n };\n\n const redial = async () => {\n // Redialing really means setting up a whole new call session because only 1 prospect was added even if it's the same prospect. Where session is the duration of the agent being on the call.\n await endSession(dialerServiceUrl, session);\n setDisconnect(true);\n setCallState(CALL_STATES.Init);\n };\n\n const endCall = async () => {\n if (isLoading) {\n return;\n }\n\n if (abortController.current) {\n abortController.current.abort();\n abortController.current = null;\n }\n\n if (!session) {\n return;\n }\n\n try {\n setIsLoading(true);\n await tryCatchHandlr(endCurrentCall(dialerServiceUrl, session));\n await endSession(dialerServiceUrl, session);\n } catch (e) {\n console.log(\"error while ending call\", e);\n } finally {\n setIsLoading(false);\n }\n };\n\n const logCall = async (outcome, notes) => {\n try {\n await saveOutcome(dialerServiceUrl, session, outcome, notes, conference);\n\n setDisconnect(true);\n } catch (e) {\n console.log(\"Error while logging call\", e);\n }\n };\n\n const implode = async () => {\n try {\n if (!session && abortController.current) {\n abortController.current.abort();\n setCallState(CALL_STATES.Ended);\n return;\n }\n\n await endCurrentCall(dialerServiceUrl, session);\n await endSession(dialerServiceUrl, session);\n } catch (e) {\n console.log(\"Error while imploding\", e);\n } finally {\n setSession(null);\n setConference(null);\n }\n };\n\n const handleCallStatusUpdate = (conference) => {\n setConference(conference);\n\n if (conference.currentParticipant?.humanizedCallStatus === \"Ringing\") {\n setCallState(CALL_STATES.Ringing);\n }\n\n if (conference.currentParticipant?.humanizedCallStatus === \"In-progress\") {\n setCallState(CALL_STATES.Connected);\n }\n\n if (\n conference.totalParticipants === 1 &&\n (conference.currentParticipant?.humanizedCallStatus === \"Completed\" ||\n conference.agentParticipant?.humanizedCallStatus === \"Completed\")\n ) {\n setCallState(CALL_STATES.Ended);\n }\n\n if (\n conference.agentParticipant?.humanizedCallStatus === \"Canceled\" ||\n conference.currentParticipant?.humanizedCallStatus === \"Canceled\"\n ) {\n setCallState(CALL_STATES.Ended);\n }\n\n if (conference.currentParticipant?.humanizedCallStatus === \"Failed\") {\n setError(\"Call to potential owner failed.\");\n setCallState(CALL_STATES.Ended);\n }\n };\n\n return {\n startCall: () => setCallState(CALL_STATES.Init),\n redial,\n endCall: () => setCallState(CALL_STATES.Ended),\n logCall,\n implode,\n callState,\n error,\n isLoading,\n };\n};\n\nconst createSession = async (prospects, abortController) => {\n const formatted = prospects?.map((p) => ({\n phone_number: p.phone,\n full_name: p.name,\n }));\n\n const options = {\n ...getPostJsonHeaders(),\n signal: abortController?.signal,\n };\n\n const { data } = await axios.post(\"/dialer/create_dialer_session\", { prospects: formatted }, options);\n\n return data;\n};\n\nconst startSession = async (dialerServiceUrl, session, abortController) => {\n if (!session || !session.token) {\n return;\n }\n\n await axios.post(\n `${dialerServiceUrl}/dialer/start_dialer_session`,\n { token: session.token },\n { signal: abortController?.signal },\n );\n};\n\nconst saveOutcome = async (dialerServiceUrl, session, outcome, notes, conference) => {\n if (!session || !session.token) {\n return;\n }\n\n const data = {\n outcome,\n comment: notes,\n is_prospect_call: true,\n participant_id: conference?.currentParticipant.id,\n token: session.token,\n };\n\n await axios.post(`${dialerServiceUrl}/dialer/save_outcome`, data);\n};\n\nconst endCurrentCall = async (dialerServiceUrl, session) => {\n if (!session || !session.token) {\n return;\n }\n\n // This seems to be able to fail at a time between the session starting and the actual call_sid being recorded in the dialer service\n await axios.post(`${dialerServiceUrl}/dialer/end_current_call`, { token: session.token });\n};\n\nconst endSession = async (dialerServiceUrl, session) => {\n if (!session || !session.token) {\n return;\n }\n\n await axios.post(`${dialerServiceUrl}/dialer/end_dialer_session`, { token: session.token });\n};\n","import React, { useEffect, useState } from \"react\";\n\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport Dnc from \"../Dnc\";\nimport PropertyInfoBlock from \"./PropertyInfoBlock\";\nimport { ArrowsRotateSolidV6, Close, PhoneHangupSolidV6, XmarkLargeSolidV6 } from \"@shared/v2/Icomoon\";\nimport FieldLabel from \"@shared/v2/FieldLabel\";\nimport { communicationOutcomes } from \"../filters\";\nimport FilterPill from \"@shared/v2/FilterPill\";\nimport CALL_STATES from \"../../../Dialer/utils/states\";\nimport useDialerWrapper from \"../useDialerWrapper\";\nimport { useDialerServiceUrl } from \"../../../reducers/layoutReducer/selectors\";\nimport { formatCallDuration } from \"../../../PhoneSystem/TrackingNumbers/helpers\";\nimport { addLead } from \"../services\";\nimport IconButton from \"@shared/v2/IconButton\";\nimport PhoneType from \"../PhoneType\";\n\nconst ProspectDialer = ({ prospect, property, agentId, onProspectAddedAsLead, onClose, onCloseAll }) => {\n const [outcome, setOutcome] = useState(\"\");\n const [notes, setNotes] = useState(\"\");\n const [isAddingLead, setIsAddingLead] = useState(false);\n const [isLoggingCall, setIsLoggingCall] = useState(false);\n const [leadAddedSlug, setLeadAddedSlug] = useState(\"\");\n const dialer = useDialerWrapper({ dialerServiceUrl: useDialerServiceUrl(), prospects: [prospect] });\n\n const isDangerProspect = prospect.isLead && !prospect.isMyLead && !prospect.isMyPondLead;\n const isPotentialLead = !prospect.isLead && !Boolean(leadAddedSlug); // TODO: if/when we are refreshing data, this should work with the prospect.isLead flag\n\n const logCall = async () => {\n setIsLoggingCall(true);\n await dialer.logCall(outcome, notes);\n setIsLoggingCall(false);\n\n onClose();\n };\n\n const onClickAddLead = async () => {\n setIsAddingLead(true);\n const slug = await addLead(prospect, property, agentId);\n\n if (slug) {\n setLeadAddedSlug(slug);\n onProspectAddedAsLead(prospect.phone);\n }\n\n setIsAddingLead(false);\n };\n\n const onClickCancel = async () => {\n await dialer.implode();\n onClose();\n };\n\n const onClickClose = async () => {\n await dialer.implode();\n onCloseAll();\n };\n\n const onEndCall = () => {\n dialer.endCall();\n };\n\n useEffect(() => {\n dialer.startCall();\n }, []);\n\n return (\n \n
\n
\n
\n {prospect.name}\n
\n \n {prospect.phoneFormatted}\n \n
\n
\n \n \n \n
\n
\n \n
\n \n
\n {dialer.callState === CALL_STATES.Ended ? (\n \n Redial\n \n ) : (\n \n End Call\n \n )}\n
\n
\n \n \n window.open(`/people/${leadAddedSlug}`, \"_blank\")}\n btnText=\"View\"\n />\n \n \n \n
\n \n
\n \n \n Log Call\n \n
\n
\n \n );\n};\n\nexport default ProspectDialer;\n\nconst CallBar = ({ callState }) => {\n const [duration, setDuration] = useState(0);\n\n useEffect(() => {\n if (callState === CALL_STATES.Connected) {\n const interval = setInterval(() => {\n setDuration((d) => d + 1);\n }, 1_000);\n\n return () => {\n clearInterval(interval);\n };\n }\n\n if (callState === CALL_STATES.Init) {\n setDuration(0);\n }\n }, [callState]);\n\n const text =\n callState === CALL_STATES.Ended\n ? \"Call Ended\"\n : callState === CALL_STATES.Connected\n ? \"Connected\"\n : \"Calling\";\n const circleColor =\n callState === CALL_STATES.Ended\n ? \"tw-bg-semantic-red-50\"\n : callState === CALL_STATES.Connected\n ? \"tw-bg-semantic-green-100\"\n : \"tw-bg-semantic-blue-100\";\n\n return (\n
\n
\n {text}\n {formatCallDuration(duration)}\n
\n );\n};\n\nconst Banner = ({\n show,\n title,\n text,\n style = \"info\",\n size = \"small\",\n btnText,\n btnDisabled,\n onClick,\n allowClose,\n}) => {\n const [isShown, setIsShown] = useState(false);\n\n useEffect(() => {\n setIsShown(show);\n }, [show]);\n\n const Styles = {\n warning: \"tw-bg-semantic-yellow-5 tw-text-semantic-yellow-120 tw-border-semantic-yellow-10\",\n success: \"tw-bg-semantic-green-5 tw-text-semantic-green-120 tw-border-semantic-green-10\",\n info: \"tw-bg-semantic-blue-5 tw-text-semantic-blue-120 tw-border-semantic-blue-10\",\n };\n\n const Sizes = {\n small: \"tw-font-semibold tw-text-12px\",\n medium: \"tw-font-bold tw-text-14px\",\n };\n\n return isShown ? (\n \n
\n {title}\n {text}\n
\n {onClick && (\n \n {btnText}\n \n )}\n {allowClose && (\n setIsShown(false)} size=\"m\" className={`tw-cursor-pointer`} />\n )}\n
\n ) : null;\n};\n\nconst Outcome = ({ outcome, setOutcome }) => {\n return (\n
\n \n
\n {communicationOutcomes.map((option) => (\n setOutcome(option.value === outcome ? null : option.value)}\n size=\"medium\"\n variant=\"primary\"\n >\n {option.label}\n \n ))}\n
\n
\n );\n};\n\nconst Notes = ({ notes, setNotes }) => {\n return (\n
\n \n setNotes(e.target?.value || \"\")}\n />\n
\n );\n};\n","import Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\nimport TextInput from \"@shared/v2/TextInput\";\nimport React, { useState } from \"react\";\nimport { saveSearch } from \"./services\";\nimport { toTitleCase } from \"@shared/Utilities\";\n\nconst SaveSearch = ({ search, searchType, userId, onClose }) => {\n const [name, setName] = useState(\"\");\n const [isSaving, setIsSaving] = useState(false);\n\n const saveAndClose = async () => {\n setIsSaving(true);\n await saveSearch(userId, name, search, searchType);\n\n setIsSaving(false);\n onClose(true);\n };\n\n return (\n \n \n \n
{`The current location and filters will be saved for you. Please note that this saved search will not apply to other categories and will only be available for ${searchType.toLowerCase()}.`}
\n setName(e.target?.value || \"\")}\n value={name}\n />\n
\n
\n \n
\n \n \n
\n
\n \n );\n};\n\nexport default SaveSearch;\n","import React, { useState } from \"react\";\nimport { deleteSearch } from \"./services\";\nimport Button from \"@shared/v2/Button\";\nimport Modal from \"@shared/v2/Modal\";\n\nconst DeleteSearch = ({ userId, searchId, category, onClose }) => {\n const [isDeleting, setIsDeleting] = useState(false);\n\n const deleteAndClose = async () => {\n setIsDeleting(true);\n await deleteSearch(userId, searchId);\n\n setIsDeleting(false);\n onClose(true);\n };\n\n return (\n \n \n \n
\n Are you sure you want to delete this search? This action cannot be undone.\n
\n
\n
\n \n
\n \n \n
\n
\n \n );\n};\n\nexport default DeleteSearch;\n","import React from \"react\";\n\nimport {\n ApartmentSolidV6,\n HouseCircleXmarkSolidV6,\n HouseFlagSolidV6,\n MagnifyingGlassSolidV6,\n} from \"@shared/v2/Icomoon\";\n\nconst LinkBar = ({ onClickView, currentView }) => {\n const handleLinkClick = (target) => {\n if (target === currentView) {\n return;\n }\n\n if (target === \"/search_listings\") {\n document.location.href = target;\n return;\n }\n\n onClickView(target);\n };\n\n return (\n
\n {AvailableLinks.map((link) => (\n \n ))}\n
\n );\n};\n\nexport default LinkBar;\n\nconst LinkButton = ({ target, icon: Icon, text, handleLinkClick, active }) => {\n const styles = active\n ? \"tw-border-theme-brand-light tw-text-theme-brand\"\n : \"tw-border-gray-10 tw-text-gray-50\";\n\n const hover = \"hover:tw-border-theme-brand hover:tw-text-theme-brand-dark\";\n\n return (\n handleLinkClick(target)}\n >\n \n {text}\n
\n );\n};\n\nconst AvailableLinks = [\n {\n text: \"MLS Listings\",\n icon: MagnifyingGlassSolidV6,\n target: \"/search_listings\",\n },\n {\n text: \"Expireds\",\n icon: HouseCircleXmarkSolidV6,\n target: \"expireds\",\n },\n {\n text: \"FSBO's\",\n icon: ApartmentSolidV6,\n target: \"fsbos\",\n },\n {\n text: \"Preforeclosures\",\n icon: HouseFlagSolidV6,\n target: \"preforeclosures\",\n },\n];\n","import React, { useEffect, useState, useRef, useMemo } from \"react\";\n\nimport Table from \"./Table\";\nimport { getSavedSearches, loadMostRecentSearch, saveMostRecentSearch, usePropertySearch } from \"./services\";\nimport { useViewSize } from \"../../SearchListings/components/customHooks\";\nimport Map from \"./Map/Map\";\nimport Button from \"@shared/v2/Button\";\nimport FiltersModal from \"./FiltersModal\";\nimport Search from \"./Search\";\nimport Options from \"./Options\";\nimport EmptyState from \"./EmptyState\";\nimport { getDefaultFilters, countFiltersApplied, getFiltersPersistedAcrossTypes } from \"./filters\";\nimport { ArrowUpRightFromSquareSolidV6, Check, CircleExclamationSolidV6 } from \"@shared/v2/Icomoon\";\nimport PropertyDetails from \"./PropertyDetails\";\nimport PersonDetailsModal from \"../../Contacts/PersonDetailsModal\";\nimport { useCurrentUser, useFeatureFlags } from \"../../reducers/layoutReducer/selectors\";\nimport { getSources } from \"../../PhoneSystem/TrackingNumbers/Settings/services\";\nimport { Popover, PopoverContent, PopoverItem, PopoverTrigger } from \"@shared/v2/Popover\";\nimport { format } from \"date-fns\";\nimport PropertyDialerModal from \"./Dialer/PropertyDialerModal\";\nimport ProspectDialer from \"./Dialer/ProspectDialer\";\nimport SaveSearch from \"./SaveSearch\";\nimport DeleteSearch from \"./DeleteSearch\";\nimport Alert from \"@shared/v2/Alert\";\nimport TextButton from \"@shared/v2/TextButton\";\nimport LinkBar from \"./LinkBar\";\nimport { SearchTypeConfig } from \"./helpers\";\nimport ResultsCount from \"./ResultsCount\";\n\nconst getPhoneType = (phoneType) => {\n if (!phoneType || /^M|U$/.test(phoneType)) return \"mobile\";\n if (phoneType === \"H\") return \"home\";\n if (phoneType === \"W\") return \"work\";\n};\n\nconst Opportunities = () => {\n const DefaultSearchType = \"expireds\";\n const searchBarRef = useRef(null);\n const propertiesContainer = useRef(null);\n const currentUser = useCurrentUser();\n const featureFlags = useFeatureFlags();\n const [searchType, setSearchType] = useState(DefaultSearchType);\n const [locationQuery, setLocationQuery] = useState(null);\n const [filters, setFilters] = useState(getDefaultFilters(DefaultSearchType));\n const [isFirstLoad, setIsFirstLoad] = useState(true);\n const { properties, radius, areaGeometry, totalInArea, isSearching, error, updateProspectLeadStatus } =\n usePropertySearch(\n locationQuery,\n filters,\n searchType,\n setIsFirstLoad,\n featureFlags.opportunitiesTestingData,\n );\n const [selected, setSelected] = useState([]);\n const [highlightedProperty, setHighlightedProperty] = useState(null);\n const [propertyForDetails, setPropertyForDetails] = useState(null);\n const [, viewHeight] = useViewSize();\n const [propertyContainerHeight, setPropertyContainerHeight] = useState(0);\n const [isMapVisible, setIsMapVisible] = useState(true);\n const [showFilterModal, setShowFilterModal] = useState(false);\n const [prospectToAdd, setProspectToAdd] = useState(null);\n const [propertyToCall, setPropertyToCall] = useState(null);\n const [newLeadSourceId, setNewLeadSourceId] = useState(null);\n const [prospectWithPropertyToCall, setProspectWithPropertyToCall] = useState(null);\n const [savedSearches, setSavedSearches] = useState([]);\n const [saveSearch, setSaveSearch] = useState(false);\n const [searchToDelete, setSearchToDelete] = useState(null);\n const [toastText, setToastText] = useState(\"\");\n const [currentSort, setCurrentSort] = useState({ field: \"statusDate\", order: \"desc\" });\n\n const filterCount = useMemo(() => countFiltersApplied(filters), [filters]);\n const isInitialState = locationQuery === null;\n const isEmptyState = properties?.length === 0;\n const searchConfig = SearchTypeConfig[searchType];\n\n const trainingLink = \"https://www.brivityknowledge.com/docs/opportunities\";\n\n const onSelectProperty = ({ id }) => {\n const updatedSelect = selected.includes(id)\n ? selected.filter((selectedId) => id !== selectedId)\n : [...selected, id];\n\n setSelected(updatedSelect);\n };\n\n const onSelectAllProperties = () => {\n const updatedSelect = properties.length === selected.length ? [] : properties.map(({ id }) => id);\n\n setSelected(updatedSelect);\n };\n\n const onApplyFilters = (selectedFilters) => {\n setShowFilterModal(false);\n setFilters(selectedFilters);\n };\n\n const addProspectAsContact = (property, prospect) => {\n const newLead = {\n primaryAgentId: currentUser.id,\n isLead: true,\n firstName: prospect.firstName,\n lastName: prospect.lastName,\n leadType: \"seller\",\n status: \"new\",\n sourceId: newLeadSourceId,\n stage: \"New lead\",\n typeName: \"lead\",\n addressesAttributes: [\n {\n addressType: \"home\",\n city: property.city,\n postalCode: property.postalCode,\n streetAddress: property.streetAddress,\n locality: property.state,\n },\n ],\n };\n\n if (prospect.phone) {\n newLead.phoneDetailsAttributes = [\n {\n category: getPhoneType(prospect.phoneType),\n name: \"phone\",\n position: 1,\n value: prospect.phone,\n },\n ];\n }\n\n setProspectToAdd(newLead);\n };\n\n const clearProspectCall = () => {\n setProspectWithPropertyToCall(null);\n };\n\n const closeAllProspectModals = () => {\n setProspectWithPropertyToCall(null);\n setPropertyToCall(null);\n };\n\n const selectSavedSearch = ({ search }) => {\n setLocationQuery(search.locationQuery);\n setFilters(search.filters);\n };\n\n const onSaveSearchClosed = (wasSearchSaved) => {\n setSaveSearch(false);\n\n if (wasSearchSaved) {\n showADisappearingToast(\"Your search has been saved successfully.\");\n fetchSavedSearches();\n }\n };\n\n const onDeleteSearchClosed = (wasSearchDeleted) => {\n setSearchToDelete(null);\n\n if (wasSearchDeleted) {\n showADisappearingToast(\"Your saved search has successfully been deleted.\");\n fetchSavedSearches();\n }\n };\n\n const fetchSavedSearches = () =>\n getSavedSearches(currentUser.id, searchType).then((s) => setSavedSearches(s));\n\n const showADisappearingToast = (text) => {\n setToastText(text);\n\n setTimeout(() => {\n setToastText(\"\");\n }, 7_000);\n };\n\n const onProspectAddedAsLead = (number) => {\n updateProspectLeadStatus(number);\n };\n\n const changeSearchType = (view) => {\n setSearchType(view);\n setFilters(getFiltersPersistedAcrossTypes(filters, view));\n\n setIsFirstLoad(true);\n };\n\n useEffect(() => {\n const search = loadMostRecentSearch();\n\n if (search) {\n setSearchType(search.searchType);\n setLocationQuery(search.locationQuery);\n setFilters(search.filters);\n }\n }, []);\n\n useEffect(() => {\n saveMostRecentSearch(searchType, locationQuery, filters);\n }, [searchType, locationQuery, filters]);\n\n useEffect(() => {\n const get = async () => {\n fetchSavedSearches();\n const { sources } = await getSources();\n\n setNewLeadSourceId(sources.find((s) => s.label === searchConfig.sourceName)?.value);\n };\n\n get();\n }, [searchType]);\n\n useEffect(() => {\n const unavailableSpace = propertiesContainer?.current?.getBoundingClientRect()?.top;\n\n setPropertyContainerHeight(viewHeight - unavailableSpace);\n }, [viewHeight, isSearching]);\n\n return (\n
\n
\n
\n
\n

Property Search

\n
\n \n
\n
\n
\n \n
\n
\n
\n \n setShowFilterModal(true)}\n size=\"medium\"\n disabled={isInitialState}\n >\n {`Filters${filterCount > 0 ? \" (\" + filterCount + \")\" : \"\"}`}\n \n
\n window.open(trainingLink, \"_blank\")}\n >\n
\n Learn more about Opportunities\n \n
\n
\n
\n
\n
\n setLocationQuery(location)}\n searchBarRef={searchBarRef}\n savedSearches={savedSearches}\n deleteSearch={(s) => setSearchToDelete(s)}\n selectSavedSearch={selectSavedSearch}\n searchType={searchConfig.type}\n />\n {!isFirstLoad && (\n setSaveSearch(true)}\n currentSort={currentSort}\n setCurrentSort={setCurrentSort}\n config={searchConfig}\n />\n )}\n {isFirstLoad ? (\n searchBarRef.current?.focus()}\n />\n ) : (\n
\n {isSearching ? (\n 0}\n isMapVisible={isMapVisible}\n />\n ) : null}\n {isMapVisible && (\n
\n setHighlightedProperty(propertyId)}\n addProspectAsContact={addProspectAsContact}\n callProspect={setProspectWithPropertyToCall}\n setPropertyForDetails={setPropertyForDetails}\n areaGeometry={areaGeometry}\n resultsCount={properties.length}\n totalAvailable={totalInArea}\n />\n
\n )}\n
\n
\n {isEmptyState || error ? (\n \n ) : (\n <>\n setPropertyToCall(p)}\n currentSort={currentSort}\n setCurrentSort={setCurrentSort}\n config={searchConfig}\n />\n
\n \n \n Not seeing as many properties as expected? Opportunities\n automatically filters out active listings to protect you.\n \n
\n \n )}\n
\n
\n
\n )}\n
\n {showFilterModal && (\n setShowFilterModal(false)}\n chosenFilters={filters}\n onApply={onApplyFilters}\n config={searchConfig}\n />\n )}\n {propertyForDetails && !prospectToAdd && (\n p.id === propertyForDetails)}\n closeModal={() => setPropertyForDetails(null)}\n addProspectAsContact={addProspectAsContact}\n callProspect={setProspectWithPropertyToCall}\n config={searchConfig}\n />\n )}\n {prospectToAdd && (\n {\n setProspectToAdd(null);\n onProspectAddedAsLead(prospectToAdd.phone);\n }}\n person={prospectToAdd}\n containerClassName=\"!tw-z-[3001]\"\n show\n />\n )}\n {propertyToCall && !prospectWithPropertyToCall && (\n setPropertyToCall(null)}\n />\n )}\n {prospectWithPropertyToCall && (\n \n )}\n {saveSearch && (\n \n )}\n {searchToDelete && (\n \n )}\n {toastText && setToastText(\"\")} />}\n \n );\n};\n\nexport default Opportunities;\n\nconst FakeToast = ({ text, clearToast }) => {\n return (\n \n \n {text}\n \n \n }\n />\n );\n};\n\nconst Actions = ({ selected, properties }) => {\n const downloadCsv = () => {\n const csv = createCsvString(properties.filter((p) => selected.includes(p.id)));\n\n const anchor = document.createElement(\"a\");\n anchor.href = \"data:text/csv;charset=utf-8,\" + encodeURI(csv);\n anchor.target = \"_blank\";\n anchor.download = `${format(new Date(), \"y-LL-dd\")}-expireds.csv`;\n\n anchor.click();\n };\n\n return (\n \n \n 0 ? \"primary\" : \"secondary\"}\n onClick={() => {}}\n size=\"medium\"\n disabled={selected.length === 0}\n >\n Actions\n \n \n \n Download Records\n \n \n );\n};\n\nconst Loading = ({ height, arePropertiesLoaded, isMapVisible }) => {\n const paddingRight = !isMapVisible ? 104 : arePropertiesLoaded ? 138 : 124;\n const style = { height: `${height}px`, paddingRight: `${paddingRight}px` };\n\n return (\n \n \n \n );\n};\n\nconst createCsvString = (properties) => {\n const LineBreak = \"\\n\";\n const header =\n \"MLS Number,Status,Status Date,Street Address,City,State,Postal Code,Potential Owner 1 Name,Potential Owner 1 Phone,Potential Owner 1 DNC,Potential Owner 2 Name,Potential Owner 2 Phone,Potential Owner 2 DNC,Potential Owner 3 Name,Potential Owner 3 Phone,Potential Owner 3 DNC,List Price,DOM,Bed,Bath,SQFT,Lot Size (Acres),Year Built,Property Type\";\n\n let csv = header + LineBreak;\n properties.forEach((p) => {\n const values = [\n p.mlsId,\n p.status,\n p.statusDateDisplay,\n p.streetAddress,\n p.city,\n p.state,\n p.postalCode,\n p.prospects?.[0]?.name,\n p.prospects?.[0]?.phoneFormatted,\n p.prospects?.[0]?.isDnc ? \"Do Not Call\" : \"\",\n p.prospects?.[1]?.name,\n p.prospects?.[1]?.phoneFormatted,\n p.prospects?.[1]?.isDnc ? \"Do Not Call\" : \"\",\n p.prospects?.[2]?.name,\n p.prospects?.[2]?.phoneFormatted,\n p.prospects?.[2]?.isDnc ? \"Do Not Call\" : \"\",\n p.listPrice,\n p.daysOnMarket,\n p.beds,\n p.baths,\n p.sqft,\n p.lotSize,\n p.yearBuilt,\n p.propertyType,\n ];\n\n values.forEach((v) => {\n csv += v ? `\"${v}\",` : \",\";\n });\n\n csv += LineBreak;\n });\n\n return csv;\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\n\nimport Opportunities from \"../components/Opportunities\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n \n \n \n );\n};\n","/* eslint-disable react/jsx-props-no-spreading */\nimport React from \"react\";\nimport ReactOnRails from \"react-on-rails\";\nimport \"@webcomponents/webcomponentsjs/webcomponents-bundle\";\n\nimport \"../bundles/shared/v1/WebComponents/index\";\n\nimport { serverPropsAdapter } from \"../bundles/Transactions/apiAdapters\";\nimport AutoDialerButton from \"../bundles/Dialer/AutoDialerButton\";\nimport AccountFinancialApp from \"../bundles/Financials/startup/AccountFinancialApp\";\nimport AccountUsersApp from \"../bundles/Settings/Users\";\nimport PhoneSettingsApp from \"../bundles/Settings/Phone/PhoneSettingsApp\";\nimport ReportingGoals from \"../bundles/Goals/components/ReportingGoalsApp\";\nimport AgreementFilters from \"../bundles/Filters/components/AgreementFilters/AgreementFilters\";\nimport AllListingAlertPreview from \"../bundles/PersonDetail/components/listing_alerts/AllListingAlertPreview\";\nimport AssignedPlansApp from \"../bundles/AssignedPlans/startup/AssignedPlansApp\";\nimport AssignedPlansPreviewApp from \"../bundles/AssignedPlans/startup/AssignedPlansPreviewApp\";\nimport AutoPlanEditApp from \"../bundles/AutoPlans/startup/AutoPlanEditApp\";\nimport AutoPlanFilters from \"../bundles/Filters/components/AutoPlans/AutoPlanFilters\";\nimport AutoPlansApp from \"../bundles/AutoPlans/startup/AutoPlansApp\";\nimport BusinessSettings from \"../bundles/BusinessSettings/startup/BusinessSettings\";\nimport BulkApplyMarketReportsApp from \"../bundles/MarketReports/BulkApplyMarketReports/BulkApplyMarketReportsApp\";\nimport CCEmails from \"../bundles/ListingAlerts/components/cc_emails\";\nimport ConferenceCall from \"../bundles/Interactions/ConferenceCall/startup/ConferenceCallApp\";\nimport DashboardApp from \"../bundles/Dashboard/components/DashboardApp\";\nimport DisabledHistoryFields from \"../bundles/Filters/components/DisabledHistoryFields\";\nimport EnableTextForwarding from \"../bundles/EnableTextForwarding\";\nimport ExcludeTagFilter from \"../bundles/Filters/components/ExcludeTagFilter\";\nimport StageFilter from \"../bundles/Filters/components/StageFilter\";\nimport SourceFilter from \"../bundles/Filters/components/SourceFilter\";\nimport HeaderApp from \"../bundles/Layout/Header/HeaderApp\";\nimport ImageSizeErrorModal from \"../bundles/Account/ImageSizeErrorModal\";\nimport InboxApp from \"../bundles/Inbox/startup/InboxApp\";\nimport PondOrAgentFilter from \"../bundles/Filters/components/PondOrAgentFilter\";\nimport IncludeTagFilter from \"../bundles/Filters/components/IncludeTagFilter\";\nimport LeadDNA from \"../bundles/LeadDNA/components/LeadDNA\";\nimport LeadPondsApp from \"../bundles/LeadPonds/index\";\nimport LeadIndexApp from \"../bundles/LeadIndex/index\";\nimport LeadIndexButtonApp from \"../bundles/ContactMergeModal/LeadIndexButtonApp\";\nimport LeadRoutingTargetSelector from \"../bundles/LeadRoutingTargetSelector\";\nimport AgentOrPondSelect from \"../bundles/shared/AgentOrPondSelect\";\nimport FormAgentOrPondSelect from \"../bundles/shared/FormAgentOrPondSelect\";\nimport LeadQuickStats from \"../bundles/Dashboard/components/LeadQuickStats\";\nimport MarketReportFilters from \"../bundles/Filters/components/MarketReports/MarketReportFilters\";\nimport MarketReportPreview from \"../bundles/MarketReports/MarketReportPreview\";\nimport MassSendListingAlerts from \"../bundles/ListingAlerts/components/MassSendListingAlerts\";\nimport MassUpdateStageModal from \"../bundles/LeadIndex/components/MassUpdateStageModal\";\nimport MilestonesApp from \"../bundles/Milestones/startup/MilestonesApp\";\nimport ManageAccess from \"../bundles/ManageAccess/components/ManageAccess\";\nimport NewTask from \"../bundles/Tasks/components/NewTask\";\nimport NewProjectModal from \"../bundles/Projects/NewProjectModal\";\nimport OtherInteract from \"../bundles/People/components/OtherInteract\";\nimport PartnerSearch from \"../bundles/PartnerSearch\";\nimport PersonDetailApp from \"../bundles/PersonDetail/startup/PersonDetailApp\";\nimport PolymorphicTasks from \"../bundles/Tasks/components/PolymorphicTasks\";\nimport ReportsApp from \"../bundles/Reports/startup/ReportsApp\";\nimport SingleDialerApp from \"../bundles/Dialer/SingleDialerApp\";\nimport TwilioManageNumbers from \"../bundles/TwilioSupport/TwilioManageNumbers\";\nimport TwilioTollFree from \"../bundles/TwilioTollFree/components/TwilioTollFree\";\nimport TwilioSubaccountSid from \"../bundles/TwilioSupport/TwilioSubaccountSid\";\nimport SearchListingsApp from \"../bundles/SearchListings/startup/SearchListingsApp\";\nimport SidebarApp from \"../bundles/Layout/Sidebar/SidebarApp\";\nimport SharedAutoPlansApp from \"../bundles/SharedAutoPlans/components/SharedAutoPlansApp\";\nimport SmsModalButton from \"../bundles/SmsModal/components/SmsModalButton\";\nimport Sources from \"../bundles/Sources/components/Sources\";\nimport SuperUsersIndex from \"../bundles/Support/SuperUsers/index\";\nimport SupportAccountFeatures from \"../bundles/Support/Account/Features\";\nimport SupportTransactionFinancials from \"../bundles/Support/Account/Financials/TransactionFinancials\";\nimport SupportUsersIndex from \"../bundles/Support/Users/index\";\nimport TaskApp from \"../bundles/Tasks/components/TaskApp\";\nimport TaskCounts from \"../bundles/Tasks/components/TaskCounts\";\nimport TaskForm from \"../bundles/Tasks/components/TaskForm\";\nimport TaskFormLogAppointment from \"../bundles/Tasks/components/TaskFormLogAppointment\";\nimport TimelinesApp from \"../bundles/Timelines/components/TimelinesApp\";\nimport TransactionFilterModal from \"../bundles/Filters/components/Transactions/TransactionFilterModal\";\nimport TransactionDetailsPage from \"../bundles/TransactionDetailsPage\";\nimport TransactionFinancialApp from \"../bundles/Financials/startup/TransactionFinancialApp\";\nimport TransactionsIndex from \"../bundles/Transactions/components/Wrapper\";\nimport WebsiteSearchHistoryFilter from \"../bundles/Filters/components/WebsiteSearchHistoryFilter\";\nimport WebsiteApp from \"../bundles/Website/WebsiteApp\";\nimport IndexSendListings from \"../bundles/SearchListings/components/IndexSendListings\";\nimport NotesApp from \"../bundles/Transactions/components/Notes/startup/NotesApp\";\nimport TwilioTrustHub from \"../bundles/TwilioTrustHub/components/TwilioTrustHub\";\nimport SuperUsersBranding from \"../bundles/Support/SuperUsers/Branding\";\nimport DeleteAutoPlans from \"../bundles/Support/DeleteAutoPlans/DeleteAutoPlans\";\nimport OktaPasswordReset from \"../bundles/OktaPasswordReset\";\nimport OktaError from \"../bundles/OktaError\";\nimport layoutStore from \"../bundles/store/layoutStore\";\nimport AppliedFiltersApp from \"../bundles/LeadIndex/components/AppliedFiltersApp\";\nimport EmailAllModal from \"../bundles/LeadIndex/components/EmailAllModal\";\nimport InteractionTemplatesApp from \"../bundles/InteractionTemplates/InteractionTemplatesApp\";\nimport PhoneSystemApp from \"../bundles/PhoneSystem/PhoneSystemApp\";\nimport ListingAlertTemplates from \"../bundles/ListingAlertTemplates/ListingAlertTemplates\";\nimport OpportunitiesApp from \"../bundles/Opportunities/startup/OpportunitiesApp\";\n\nReactOnRails.registerStore({\n layoutStore,\n});\n\nReactOnRails.register({\n AccountFinancialApp,\n AccountUsersApp,\n AgreementFilters,\n AllListingAlertPreview,\n AppliedFiltersApp,\n AssignedPlansApp,\n AssignedPlansPreviewApp,\n AutoDialerButton,\n AutoPlanEditApp,\n AutoPlanFilters,\n AutoPlansApp,\n BulkApplyMarketReportsApp: (props) => ,\n BusinessSettings,\n CCEmails: (props) => ,\n ConferenceCall: (props) => ,\n DashboardApp,\n DisabledHistoryFields,\n EmailAllModal,\n EnableTextForwarding,\n ExcludeTagFilter: (props) => ,\n StageFilter: (props) => ,\n SourceFilter: (props) => ,\n HeaderApp,\n InboxApp,\n PondOrAgentFilter,\n ImageSizeErrorModal,\n IncludeTagFilter: (props) => ,\n IndexSendListings,\n LeadDNA: (props) => ,\n LeadPondsApp,\n LeadIndexApp,\n LeadIndexButtonApp,\n LeadRoutingTargetSelector,\n AgentOrPondSelect,\n FormAgentOrPondSelect,\n LeadQuickStats: (props) => ,\n MarketReportFilters,\n MarketReportPreview: (props) => ,\n MassSendListingAlerts: (props) => ,\n MassUpdateStageModal: (props) => ,\n MilestonesApp,\n ManageAccess,\n NewTask: (props) => ,\n NewProjectModal,\n OktaError,\n OktaPasswordReset,\n OtherInteract: (props) => ,\n PartnerSearch,\n PersonDetailApp,\n PolymorphicTasks: (props) => ,\n ReportingGoals,\n ReportsApp,\n TwilioManageNumbers,\n TwilioTollFree,\n TwilioSubaccountSid,\n SearchListings: (props) => ,\n SidebarApp,\n SharedAutoPlansApp: (props) => ,\n SmsModalButton,\n Sources: (props) => ,\n SuperUsersIndex: (props) => ,\n SupportAccountFeatures: (props) => ,\n SupportTransactionFinancials,\n SupportUsersIndex: (props) => ,\n TaskApp,\n TaskCounts: (props) => ,\n TaskForm: (props) => ,\n TaskFormLogAppointment: (props) => ,\n TimelinesApp: (props) => ,\n TransactionDetailsPage,\n TransactionFilterModal: (props) => ,\n TransactionFinancialApp,\n TransactionsIndex: (props) => ,\n WebsiteSearchHistoryFilter: (props) => ,\n NotesApp: (props) => ,\n TwilioTrustHub,\n SuperUsersBranding,\n DeleteAutoPlans,\n InteractionTemplatesApp,\n PhoneSettingsApp,\n PhoneSystemApp,\n SingleDialerApp,\n ListingAlertTemplates,\n Opportunities: (props) => ,\n WebsiteApp,\n});\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../store/configureStore\";\nimport AccountFinancialContainer from \"../containers/AccountFinancialContainer\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nexport default (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport Users from \"./Users\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\n\nimport AutoPlanContainer from \"../containers/AutoPlanContainer\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport AutoPlansContainer from \"../containers/AutoPlansContainer\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport Dashboard from \"./Dashboard\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport Inbox from \"../components/Inbox\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../store/configureStore\";\nimport LeadPonds from \"./pages/LeadPonds\";\n\nexport default (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport LeadIndex from \"./pages/LeadIndex\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../store/configureStore\";\nimport TargetSelector from \"./components/TargetSelector\";\n\nexport default (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../store/configureStore\";\nimport MilestonesContainer from \"../containers/MilestonesContainer\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nexport default (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport PersonDetail from \"../components/PersonDetail\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nexport default ({\n allAgents,\n newMilestoneId,\n gmailUnsynced,\n email_templates,\n appointment_outcomes,\n accountMilestoneNames,\n idxDataUri,\n idxDataToken,\n}) => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport { CookiesProvider } from 'react-cookie';\nimport Tasks from './Tasks';\n\nexport default (props) => (\n \n \n \n)\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport configureStore from \"../../store/configureStore\";\nimport TransactionFinancialContainer from \"../containers/TransactionFinancialContainer\";\n\n// See documentation for https://github.com/reactjs/react-redux.\n// This is how you get props from the Rails view into the redux store.\n// This code here binds your smart component to the redux store.\n// railsContext provides contextual information especially useful for server rendering, such as\n// knowing the locale. See the React on Rails documentation for more info on the railsContext\nexport default (props) => {\n const store = useMemo(() => configureStore(props), []);\n return (\n \n \n \n );\n};\n","import React, { useMemo } from \"react\";\nimport { Provider } from \"react-redux\";\nimport PhoneSystem from \"./PhoneSystem\";\n\nexport default () => {\n const store = useMemo(() => ReactOnRails.getStore(\"layoutStore\"), []);\n return (\n \n \n \n );\n};\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","useSelector","require","useContactMergePotentialDuplicates","state","contactMerge","potentialDuplicates","useContactMergeLoading","loading","useContactMergeModalIsOpen","modalIsOpen","useContactMergePrimaryContact","primaryContact","useContactMergeOtherContact","otherContact","useContactMergeKeepContact","keepContact","useContactMergeError","error","useContactMergeHasDuplicates","hasDuplicates","useContactMergePrimaryContactSlug","primaryContactSlug","useContactMergeOtherContactSlug","otherContactSlug","useContactMergePage","page","getOrCreateTooltipPortal","tooltipPortal","document","querySelector","createElement","setAttribute","body","appendChild","addClassesFromString","element","classesString","split","filter","value","trim","forEach","classList","add","tooltipTemplate","innerHTML","defaultMultiline","defaultMaxWidthClass","defaultTooltipClass","classes","defaultArrowClass","defaultInnerClass","defaultPlacement","availablePlacements","showEvents","hideEvents","CRMTooltip","_HTMLElement","_this","call","_onSlotChange","bind","_onShowTooltip","_onHideTooltip","_onContentChanged","attachShadow","mode","shadowRoot","content","cloneNode","_triggerSlot","_contentSlot","_arrow","_inner","_tooltip","_popper","style","display","addEventListener","_contentObserver","MutationObserver","_proto","prototype","connectedCallback","this","_updateInnerClasses","placement","_updateTooltip","disconnectedCallback","_releaseResources","attributeChangedCallback","name","_updateTooltipClasses","_updatePlacement","event","target","_triggerSlotChanged","_contentSlotChanged","_trigger","_clearEventListeners","_destroyPopperInstance","assignedElements","length","_this$_triggerSlot$as2","_slicedToArray","_registerEventListeners","undefined","disconnect","_this$_contentSlot$as2","_content","observe","attributes","childList","subtree","characterData","_clearTimeout","_popperInstance","_createPopperInstance","setOptions","options","_objectSpread","modifiers","concat","enabled","update","_this2","_onHideTimeout","setTimeout","clearTimeout","removeProperty","reference","popper","createPopper","offset","padding","phase","requires","fn","_ref","_modifiersData$hide","modifiersData","hide","isReferenceHidden","_ref2","reset","destroy","_updatePopperInstance","_this3","contains","_createOrUpdatePopperInstance","className","tooltipClass","arrowClass","innerClass","deprecatedOverrideMaxWidthClass","multiline","removeChild","_this4","_this5","removeEventListener","_createClass","key","get","getAttribute","set","includes","_wrapNativeSuper","HTMLElement","customElements","define","Address","properties","locality","postalCode","streetAddress","city","x","join","firstLine","secondLine","Agent","first_name","last_name","avatar","photo_url","show_url","firstName","lastName","photoURL","showURL","f","s","toUpperCase","slice","_pipe","a","b","arg","pipe","_len","arguments","ops","Array","_key","reduce","getRandomNumber","min","max","cryptoObj","window","crypto","msCrypto","randomBytes","Uint32Array","getRandomValues","randomNumber","sortBy","array","inverse","sort","titleize","string","replace","str","range","smaller","greater","fill","n","i","paginationLeftBlock","currentPage","maxEdgeSize","maxDistance","item","paginationCentralBlock","totalPages","inRange","paginationRightBlock","paginationOptions","_ref$maxDistance","_ref$maxEdgeSize","paginationBlocks","flat","from","Set","reorderNotesBasedOnStarred","notes","starredNotes","note","starred","unstarredNotes","sortedStarredNotes","Date","created_at","sortedUnstarredNotes","baseFieldsToLock","fieldsToLock","default","buyer","referral","financialsFields","pipelineFields","isEditableAt","transaction","property","canEditFinancials","type","has","status","isFinancial","uuid","title","address","closeDate","closePrice","canceledDate","dateListed","dateExpired","mutualAcceptanceDate","dom","grossCommission","lastUpdated","listingPrice","mlsNumber","newMilestones","statusChangedAt","sourceId","agent","useCustomTitle","showUrl","editUrl","editURL","failedAt","isDeletable","_regeneratorRuntime","t","r","hasOwnProperty","defineProperty","Symbol","iterator","c","asyncIterator","u","toStringTag","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","h","l","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","__await","then","callInvokeWithMethodAndArg","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","isNaN","displayName","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","Promise","reverse","pop","prev","charAt","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","isString","String","sortByKey","data","sortKey","list","aVal","bVal","toLowerCase","stripHtml","text","tmpDoc","implementation","createHTMLDocument","innerText","textContent","toTitleCase","substr","tryCatchHandlr","_callee","promise","_context","t0","apply","_next","_throw","_x","getLetters","nameParts","step","numericalCompare","camelizeKeys","obj","transform","acc","isArray","camelCase","isObject","snakefyKeys","snakeCase","deprecationWarning","warning","process","toNumber","Number","replaceAll","homeAppTxt","_ref2$recipientFirstN","recipientFirstName","_ref2$recipientEmailA","recipientEmailAddress","_ref2$teamName","teamName","_ref2$primaryAgentNam","primaryAgentName","_ref2$brivityAppLink","brivityAppLink","currencyToNumber","_value$toString","toString","listingFromAPI","listingData","_listingData$status","close_date","close_price","canceled_date","date_listed","expiration_date","mutual_acceptance_date","gross_commission","last_update","price","mls_number","photo_without_placeholder","source_id","status_changed_at","use_custom_title","edit_url","new_milestones","listingToAPI","listing","_listing$status","aggregationsByStatus","newData","coming_soon","comingsoon","numberifyAggregations","schemaGenerator","dictionary","schema","collapseSchemaProps","measureText","_document$createEleme","context","getContext","fontWeight","getComputedStyle","getPropertyValue","fontSize","fontFamily","font","resizeInputBasedOnValue","input","width","boxSizing","metrics","getInitials","words","word","_word$","borderDictionary","secondary","medium","small","other","border","size","paddingDictionary","fontSizeDictionary","heightDictionary","height","schemaClasses","primary","hover","active","disabled","tertiary","availableSchema","schemaDictionary","Button","forwardRef","ref","schemaName","children","onClick","isLoading","otherProps","_objectWithoutProperties","_excluded","React","assign","child","_child$props","props","Boolean","role","FontAwesomeIcon","icon","faSpinner","buttonPropTypes","PropTypes","buttonDefaultProps","defaultProps","createHumps","keyConverter","humps","node","isPlainObject","converter","self","result","startsWith","isObjectLike","snakifyParams","params","_objectSpread2","m","r1","r2","r3","snakifyParamKey","caseTransformingAxios","axios","requestDataToSnakeCase","responseDataToCamelCase","interceptors","request","use","headers","ReactOnRails","authenticityToken","reject","response","_excluded2","client","axiosRetry","retryDelay","retryCount","retries","api","index","phoneNumbers","signal","commaSeparatedNumbers","phone_numbers","isDnc","phoneNumber","dncStatuses","sizeDictionary","xl","xxl","xxxl","xxxxl","custom","legacyInherit","sizeClasses","Icon","xmlns","viewBox","CALL_STATUS_ICONS","valid","PhoneSolidV6","unsubscribed","STATUS_ICON_MODIFIERS","CALL_STATUS_TOOLTIPS","callStatusIconForPhone","phone","callStatus","UsedIcon","iconModifiers","_ref$size","tooltip","MOBILE_CALL_STATUS_ICONS","MobileRegularV6","mobileCallStatusIcon","SHARED_ICON_PROPERTIES","nonTextableIcon","CommentSlashRegularV6","nonCallableIcon","_ref2$size","PhoneVolumeSolidV6","base","textable","callable","SMS_STATUS_ICONS","invalid","SMS_STATUS_ICON_MODIFIERS","SMS_STATUS_TOOLTIPS","errorCode","PreTooltipContent","twilioErrorCodes","phoneNumberString","cleaned","viewPhone","originalData","raw","source","rawValue","formattedNumber","formatPhoneNumber","category","smsTextable","canonicalValue","callCallable","callUnsubscribed","callSoftUnsubscribed","callAccountUnsubscribed","smsUnsubscribed","smsSoftUnsubscribed","smsAccountUnsubscribed","isPrimary","position","isMobile","warningIconForPhone","smsStatus","smsIcon","smsStatusIconForStatus","smsEditable","aiStatus","callIcon","mobileCallIcon","callEditable","propTypes","isRequired","account_id","call_account_unsubscribed","call_callable","call_soft_unsubscribed","canonical_value","detailable_id","detailable_type","error_code","sms_account_unsubscribed","sms_soft_unsubscribed","sms_textable","updated_at","dnc","defaultValues","viewPhoneFromFastJsonApi","phoneData","viewPhoneFromFlat","flatPhoneData","Tooltip","trigger","tooltipClassName","arrowClassName","innerClassName","getElementById","_useState2","useState","show","setShow","arrowRef","useRef","_useFloating","useFloating","open","onOpenChange","middleware","flip","crossAxis","fallbackAxisSideDirection","arrow","whileElementsMounted","autoUpdate","floatingStyles","refs","dismiss","useDismiss","focus","useFocus","useHover","move","useRole","useInteractions","tooltipRef","useMergeRefs","setReference","triggerClone","createPortal","Transition","nodeRef","floating","in","unmountOnExit","timeout","transitionState","setFloating","FloatingArrow","Contact","_phone$smsIcon","_phone$smsIcon2","personName","flagged","flaggedClasses","warningIcon","warningTooltip","DncFlag","href","rel","smsHistory","lastInteraction","formattedTime","moment","interacted_at","dateCreated","fromNow","Init","Started","Ringing","Connected","Ended","updateStageAttribute","editablePerson","_editablePerson$data$","type_name","stage","stage_type","formatFileSize","bytes","Math","floor","log","parseFloat","pow","toFixed","adjustReducerName","namespaceType","reducerName","actionType","prefix","action","namespaceAction","IMMEDIATE_UNKNOWN","TIMEFRAME_PREFIX_DICTIONARY","Immediate","Unknown","Custom","timeframeReadHelper","timeframe","exactDate","dateString","format","createDocument","rawDoc","fileExtension","file_name","url","uploadedById","uploaded_by_id","uploadedByImageUrl","uploaded_by_image_url","uploadedByImage","uploaded_by_image","uploadedByName","uploaded_by_name","uploadedByUrl","uploaded_by_url","fileName","fileType","file_type","humanReadableSize","human_readable_size","nakedName","naked_name","imageIcon","image_icon","uploadedAt","uploaded_at","addedAgo","added_ago","dateAdded","date_added","expiringUrl","expiring_url","documentSubType","document_sub_type","canRename","createAgreements","rawAgreements","rawAgreement","_rawAgreement$listing","_rawAgreement$listing2","agreementType","agreement_type","signedDate","signed_at","expirationDate","expired_at","cancellationDate","cancelled_at","isCompleted","completed","isCanceled","cancelled","label","addendums","createAddendums","createAgreement","rawAddendums","rawAddendum","_asyncToGenerator","ownKeys","getOwnPropertySymbols","getOwnPropertyDescriptor","_defineProperty","getOwnPropertyDescriptors","defineProperties","toPrimitive","_toPrimitive","_toPropertyKey","agreementUploaded","agreementUpdated","loanUpdated","agreementReplaced","agreementId","removeDeletedAgreement","toggleSuccessToastMsg","storeFetchedAgreements","storeFetchedLoans","storeFetchedLoansFinancingStages","storeFetchedAvailableTransactions","storeFetchedAvailableTransactionsForLoan","storeFetchedAddendums","updatePersonSuccess","person","togglePersonError","updatePersonValues","openEditPersonModal","closeEditPersonModal","updateTimeline","updateTimelineEvent","submitNoteSuccess","updateNoteSuccess","deleteNoteSuccess","reloadPerson","personId","dispatch","authenticity_token","res","updatePerson","updatedPerson","produce","draft","patch","console","updatePersonData","updatedPersonData","uploadPersonAvatar","fileUploaded","files","slug","form_data","FormData","append","post","err","addTagToPerson","tag","tag_name","deleteTagFromPerson","tag_id","submitNote","notable_id","person_details_page","closeAddNoteModal","timeline","updateNote","getNotes","getNotesSuccess","deleteNote","submitUpdateNote","object_attributes","submitUpdateInteraction","interaction","submitEmail","sentEmailData","appInviteNeedsUpdating","homeAppRecipientId","submitSendEmail","touchHomeAppInviteSent","bool","handleSubmitEmailError","_err$response","_data$content","errors","firstKey","submitEmailError","isSupportError","submitAppointment","submitAddAppointment","openAddAppointmentModal","closeAddAppointmentModal","addSmsToTimeline","smsEvent","submitOtherInteraction","brivityOtherInteractionWrapper","openManageAccessModal","closeManageAccessModal","fetchTimeline","validateStatus","fetchInitialTimeline","fetchTimelineError","openAddRelationShipModal","closeAddRelationShipModal","openAddNoteModal","uploadingDocument","documentUploaded","removeDeletedDocument","removeDocAgreement","renameDocument","newName","createTransactions","transactionData","_res$data","selectedAgreementName","propertyType","transactionTitle","client_id","clientIntent","referringAgent","referralFee","primaryAgent","commission","commission_percentage","referralFeeIsPercentage","personRoleId","AGREEMENT_NAME_HASH","formData","seller","roleId","visible","loadRoles","_callee2","currentUserID","path","defaultRoles","roles","buyersAgentRole","listingAgentRole","_context2","Accept","default_roles","find","defaultRole","agentsOnTransaction","matchedAgent","agents","_x2","_x3","loadAllAvailableRoles","_ref3","_callee3","_response$data","_context3","loadSources","_ref4","_callee4","_context4","sources","loadPropertyTypes","_ref5","_callee5","_context5","property_types","fetchDocuments","storeFetchedDocments","fetchAddendums","fetchAgreements","fetchLoans","fetchLoansFinancingStages","_res$data2","financing_stages","fetchAvailableTransactions","fetchAvailableTransactionsForLoan","handleAgreementCreate","agreementData","agreement","_res$data3","_res$data4","toastData","msg","isCreateTransaction","listing_id","transactionMsg","handleAgreementUpdate","agreement_id","_ref6","_callee6","_context6","put","_x4","handleLoanUpdate","loanData","loan_id","_ref7","_callee7","_context7","_x5","handleDocumentUpload","fileObj","isAgreement","payloadData","isCreatingAgreementDoc","_ref8","_callee8","_err$response2","_context8","document_id","CreatedDocID","_x6","handleAddendumUpload","_ref9","_callee9","_context9","_x7","handleDocumentRename","_ref10","_callee10","_context10","_x8","handleAddendumRename","_ref11","_callee11","_context11","_x9","handleDocumentDelete","_ref12","_callee12","_context12","_x10","handleAddendumDelete","_ref13","_callee13","_context13","_x11","handleAgreementDelete","fetchRelationships","storeFetchedRelationships","addRelationship","relationship","relationshipAdded","saveRelationship","relationshipId","primaryPersonLabel","relatedPersonLabel","editRelationshipUrl","relationshipEdited","getPerson","_ref14","getNavLinks","_ref15","fetchTransactions","person_id","openTaskModal","openAppointmentModal","closeAppointmentModal","closeTaskModal","openAddListingAlertModal","closeAddListingAlertModal","deleteRelationship","relationShipDestroyed","openEditSocialMediaModal","closeEditSocialMediaModal","openWebActivityModal","closeWebActivityModal","openAddAutoPlanModal","closeAddAutoPlanModal","closeDeleteAssignedPlanModal","getAssignedPlans","assignable_id","responseType","contentType","assignable_type","results","assignedPlans","fetchAssignedPlansSuccess","fetchAutoPlans","autoPlansPath","autoPlansSuccess","isFetchingAutoPlans","submitApplyPlan","plan","assignableId","form","auto_plan_id","assigned_plan","updateAssignedPlan","assignedPlanPath","formWithToken","openDeleteAssignedPlanModal","planToDelete","openEditAppointmentModal","closeEditAppointmentModal","updateAppointment","updateAppointmentState","deleteAppointment","_ref16","removeAppointment","getTasks","getTasksSuccess","getAppointments","getAppointmentsSuccess","updateTasks","updateCardTasks","task","openEditAddressModal","closeEditAddressModal","showAutoPlanPreview","autoPlan","auto_plan","previewAction","actionId","closeAutoPlanPreview","showPlanDetails","planId","assignedPlan","closePlanDetails","assignedActionPreview","assignedAction","showAssignedActionDeleteModal","actionToDelete","closeAssignedActionDeleteModal","deleteAction","assignedActionPath","callback","assignedActionId","message","updateAction","updateActionPending","updateActionSuccess","updateActionFailure","openDeleteCloseActionsModal","setInteractionTab","tabIndex","setGmailReplyThread","gmailReplyThreadId","gmailReplyThreadSubject","additionalRecipientsVal","CCval","BCCval","setInteractionTabWithHomeAppContent","defaultHomeAppTabContent","clearInteractionTabContent","updateHomeAppInviteSent","personData","inviteSent","home_app_invite_sent","toggleTransactionModal","toggleLenderModal","toggleSuccessReferLoanToast","setLastRefferedDateTime","dateTime","toggleStarred","_ref17","_callee14","_context14","_x12","toggleExternallyVisible","_ref18","_callee15","_context15","externallyVisible","conssole","_x13","fetchProjects","_ref19","DIALER_NAME","DIALER_INLINE_NAME","initialState","callState","CALL_STATES","isRecording","isRecordingConsentRequired","comment","conference","duration","leadUuids","outcome","session","validLeads","PhoneNumberOption","phoneColor","upperFirst","checkValidLeads","createAsyncThunk","getPersonAndNumbers","thunkApi","dialablePhoneNumbers","dncApi","dncMap","meta","fullName","primaryPhoneNumber","createDialerSession","_","_thunkApi$getState","getState","_thunkApi$getState$na","listingUuid","callSource","dialerServiceUrl","layout","apiUrls","token","rejectWithValue","endCall","_thunkApi$getState2","_thunkApi$getState2$n","logCall","_temp","_conference$currentPa","listingId","_thunkApi$getState3","_thunkApi$getState3$n","_thunkApi$getState3$l","currentUser","currentParticipant","participantId","unixTime","unix","agent_person","interaction_type","interacted_at_epoch","interacted_at_absolute","markdown_comment","createTemporaryTimelineEvent","userId","interactionType","personDetailsPage","startRecording","recordingConsent","_thunkApi$getState4","recording_consent","stopRecording","_thunkApi$getState5","sharedSlice","reducers","clearSession","setCallState","payload","setPhoneNumber","actionCableUpdateReceived","_conference$currentPa2","_conference$currentPa3","_conference$currentPa4","_conference$agentPart","_conference$agentPart2","humanizedCallStatus","totalParticipants","agentParticipant","setCallOutcome","setComment","setDuration","setCallParams","extraReducers","builder","addCase","pending","fulfilled","rejected","_action$payload","_action$payload2","dialerSlice","createSlice","dialerInlineSlice","_dialerSlice$actions","actions","setInline","_dialerInlineSlice$ac","actionCableUpdateReceivedInline","setCallOutcomeInline","setCallStateInline","setDurationInline","setCommentInline","setPhoneNumberInline","clearSessionInline","setCallParamsInline","dialer","reducer","dialerInline","AutoDialerButton","useDispatch","querySelectorAll","closest","dataset","personUuid","store","useMemo","getStore","Provider","sortDesc","multiplier","sourceDefaults","total_leads","new","unqualified","watch","nurture","hot","past","inactive","archived","trash","defaultBrivitySources","callData","textData","appointmentData","dateRange","localStorage","getItem","customRange","isAllLeadsInRange","isAllTasksInRange","isAllAppointmentsInRange","customDates","leadTotal","activeFilters","emailTotal","callTotal","textTotal","contactedTotal","adminTasks","agentTasks","adminTotalTasks","adminTotalCompletedTasks","adminTotalOnTimeTasks","agentTotalTasks","agentTotalCompletedTasks","agentTotalOnTimeTasks","agentTotalLateTasks","brivitySources","isActivityReportLoaded","isFetching","defaultState","total_calls","total_texts","selectedFilter","isChecked","currentFilters","sorted","otherSources","total_emails","total_contacted","brivityTotalLeadSourceCount","brivityStatusCounts","otherTotalLeadSourceCount","otherStatusCounts","adminTotalLateTasks","customRangeVisible","modalsClosed","isApplyModalOpen","isPlanModalOpen","isPlansModalOpen","isPlanPreviewModalOpen","isModalSubmitting","isDeleteAssignedActionModalOpen","isDeletePlanModalOpen","isFetchingAssignedPlans","showCompletedPlans","showDeletedPlans","assignedPlanForm","hasError","errorMessage","isAssignedActionUpdating","currentState","isFetchingAssignedPlan","activeAssignedActionId","activeAutoPlanActionId","autoPlanPreview","assigned_actions","isModalOpen","isAutoPlanDeleteModalOpen","isAutoPlanPreviewModalOpen","isAutoPlanShareModalOpen","isCloningAutoPlan","displayAlert","autoPlans","activeAutoPlanId","emailErrors","autoPlanForm","modalErrorMessage","modalHasError","isDeletingAutoPlan","sharedPlanName","numberShared","openAutoPlanDeleteModal","openAutoPlanShareModal","closeAutoPlanDeleteModal","closeAutoPlanShareModal","handleDismissAutoPlanSharedAlert","closeModal","showNewAutoPlanModal","showAutoPlanPreviewModal","autoPlanId","previewAutoPlanAction","closeNewAutoPlanModal","cloneAutoPlanPending","cloneAutoPlanSuccess","cloneAutoPlanFailure","getAutoPlans","handleClone","location","deleteAutoPlan","shareAutoPlan","autoPlanName","ownerEmails","emails","autoPlanFormUpdate","submitNewAutoPlan","autoPlanCreatePath","toggleTaskActionModal","toggleEmailActionModal","toggleTextActionModal","setPeopleGroups","generalRoles","teamRoles","plan_type","autoPlanPreferencesForm","auto_pause_on_reply","auto_pause_on_expired","auto_pause_for_status","status_on_complete","autoPlanPath","isEditingPreferences","isEditingName","isSubmitting","isTaskActionModalOpen","isEmailActionModalOpen","isTextActionModalOpen","isDeleteActionModalOpen","showInstructions","isDeletingAction","actionForm","delay","delay_unit","delay_factor","specificActionForm","specificActionSubmit","generalRolesById","teamRolesById","userById","_objectSpread3","_objectSpread4","activeActionId","instructions","showNote","formUpdates","activeAction","IsEmailActionModalOpen","_payload$generalRoles","_payload$teamRoles","_payload$userId","hashMapIt","mapValues","keyBy","useSpecificActionSubmit","autoPlanEdit","useAutoPlanType","getBusinessSettings","getBusinessSettingsSuccess","getBusinessSettingsError","saveBusinessSettings","saveBusinessSettingsSuccess","saveBusinessSettingsError","removeBusinessImage","removeBusinessImageSuccess","removeBusinessImageError","addOffice","addOfficeSuccess","addOfficeError","setValue","addImage","setOfficeValue","resetOffice","DEFAULT_OFFICE","fax","address_attributes","street_address","postal_code","country","model","newOfficeModel","timezones","states","awsDirectPost","actionCreators","_payload$data","_payload$data2","isTriggerModalOpen","isTriggerDeleteModalOpen","triggerForm","isTriggerSubmitting","isFetchingTriggers","triggers","isTriggerDeleting","triggerToDelete","triggerId","initialModalsState","isNewMilestoneModalOpen","isEditMilestoneModalOpen","isDeleteMilestoneModalOpen","milestoneForm","isFetchingMilestones","milestones","milestonable_type","milestone","milestoneToDelete","isDeletingMilestone","activeMilestoneId","saveMarketReport","saveMarketReportSuccess","tab","saveMarketReportError","sendMarketReport","sendMarketReportSuccess","sendMarketReportError","getMarketReport","getMarketReportSuccess","getMarketReportError","updateMarketReport","updateMarketReportSuccess","updateMarketReportError","setTab","setDrawing","setFormData","setContactData","setForm2Data","setFormError","setLatLon","setBrowserLatLon","clearMessage","setMessage","resetForms","setLocationData","setPerson","setSearching","setMLSPropertyTypes","defaultModel","county","district","state_abbreviation","geo_json","boundry_coordinates","lat_lng","min_price","max_price","min_area","max_area","min_baths","max_baths","min_beds","max_beds","min_lot","max_lot","min_year_built","max_year_built","radius","search_type","property_type","Residential","mls_country","created_by_brivity_agent_uuid","searchLocation","contact","email","zip_code","isHomeAdjPositive","home_value_adjustment","home_value_adjustment_as_percentage","defaultModel2","email_message","drip_enabled","recurring_frequency","isSearching","isSaving","isSending","form1","isDrawing","browserLatLon","formErrors","contact_email","form2","savedMarketReport","showSuccess","showError","mlsToPropertyTypes","_payload$data$min_pri","_payload$data$max_pri","locationData","hasSavingError","pTypes","geoJ","created_by","JSON","parse","allPropertyTypes","_e$propertyTypes","propertyTypes","_arrayWithHoles","_iterableToArrayLimit","_arrayLikeToArray","test","_unsupportedIterableToArray","_nonIterableRest","destroyAgentExpense","agentPosition","expPosition","setAgentExpenseData","attr","setAgentBrokerageData","openNewExpenseModal","openNewExpenseModal0","setAgentExpenseList","agentExpenseList","setCompanyExpenseList","companyExpenseList","setCompanyRevenueList","companyRevenueList","setTransactionExpenseList","transactionExpenseList","closeNewExpenseModal","hideAlert","hideDangerAlert","setAgentExpense","setCompanyExpense","setAgentExpense0","unsetAgentExpense","setActiveAgentExpense","setActiveAgentExpense0","setAccountData","setAccountData0","showEdit","hideEdit","submitTransactionData","_yield$tryCatchHandlr","_yield$tryCatchHandlr2","account_financial_template","formatNumber","number","decimals","defaultOptions","minimumFractionDigits","maximumFractionDigits","Intl","NumberFormat","currency","formatCurrency","apiNumber","digits","comma","formatValue","isPercent","toLocaleString","formatExpense","expenseAmount","createSortedExpensesPointer","pseudoIncome","custom_team_member_expenses_attributes","custom_team_member_revenues_attributes","createFinancialsSortedExpensesPointer","expensesKey","expPointer","exp1","exp2","reAssignExpensePositions","income","splitPosition","tracker","exp","_destroy","reCalculateAgentExpenses","parentIndex","setFinancial","isCompany","agent_gci_percentage","agent_gci","pseudoListing","gci","transaction_income","incomes","team_member_incomes","company_income","subtotalTracker","gross_income","brokerage_split_percentage","brokerage_split_amount","brokerage_split","brokerage_split_line_total","net_income","royalty_percentage","royalty_amount","royalty","royalty_line_total","financialType","percentage","line_total","reconcileGCI","fullRecalculation","_extends","_objectDestructuringEmpty","closed_volume","calculateGrossIncome","additionalIncome","expense_amount","revenue_amount","calculateGCI","shiftSplitPosition","deletedPosition","reorderExpenses","oldIndex","newIndex","expenses","expense","splice","moveExpense","expenseType","isShowAlert","isShowDangerAlert","accountData","activeAgentExpense","isShowEdit","agentsWithExpToDestroy","agent_expense_templates","agent_expenses","agentWithExpToDestroy","custom_agent_expenses_attributes","idxToDestroy","findIndex","agents_expenses","isShowTransactionDetail","isEditTransactionDetail","isOpenAddAgentModal","isOpenNewIncomeModal","isExpenseModal","modalIndex","agentList","closedVolume","collaboratorModalIndex","isCollaboratorExpenseModalOpen","removed_income_ids","removed_collaborator_ids","collaborator_expenses","fetchAssignedPlansFailure","setShowPreviewModalForAutoPlan","assignedPlanId","setShowDetailsModalForAssignedPlan","fetchAssignedPlanDetailsStarted","fetchAssignedPlanDetailsSuccess","fetchAssignedPlanDetailsFailure","confirmAssignedActionDeletion","assignedActionDeletion","assignedActionRestartOrMarkAsComplete","confirmAssignedPlanDeletion","updateAssignedPlanStateStarted","updateAssignedPlanStateSuccess","updatedPlan","updateAssignedPlanStateFailure","fetchAvailableAutoPlansSuccess","fetchAvailableAutoPlansFailure","applyAutoPlanFailure","setApplyAutoPlanModalVisible","setApplyAutoPlanSelectedPlan","plans","idsBeingUpdated","planDetails","showDetailsModalForId","planPreview","showModalForId","assignedActionDelete","showModalFor","assignedPlanDelete","availableAutoPlans","autoPlanApply","showModal","selectedPlanOption","tdpAutoPlansReducer","_payload$data3","merge","isVisible","curriedNamespaceAction","saveAllDates","dates","fetchAllDatesFailure","updateDateFailure","updateError","showCustomDates","isOpen","updateDates","isUpdate","tasksPayload","available_dates","tdpDatesReducer","saveAllDetails","details","saveDetail","group","saveDetails","saveLinks","showDetailsFailure","clearDetailsFailure","checkAllImgs","toggleChecked","deleteImg","addImg","image","addError","clearError","updateImg","setAccountSources","setAccountPropertyTypes","setRefPartnerDetailsTeam","team","setRefPartnerDetailsBrokerage","brokerage","setRefTitle","setRefStatus","setTransactionAmount","amount","setReferralFee","setClientDetailsFinancing","financing","updatePropertyDetail","saveNavigationListings","navigationListings","saveDetailsFromHeader","setImportModalOpen","isImportModalOpen","preStatus","referralDesiredAddressEditOn","referralEditTitleModalOn","referralEditTitleModalOff","referralDesiredAddressEditOff","referralTimeFrameEditOn","referralCalendarEditOn","option","referralCalendarEditCancel","editReferralDesiredAddress","editIsReferralFeePercentage","editTimeframeExact","editReferralTransactionAmt","transactionAmt","editReferralFee","editReferralTitle","isUpdateAddressModal","boolean","tempUpdatedStatus","tempPreStatus","editAddressFromPipeline","notableId","currentUserId","isAdmin","smsEnabled","accountUUID","transactionDetails","published","est_close_price","estimated_commission","listingDetails","valid_mls_number","description","buyers_agent_commission","cooperative_compensation","exclude_from_commissions","deposit","hold_earnest_money","additional_amount","deposit_due","date","include_time","display_time","additional_earnest_money_due","propertyDetails","zip","beds","baths","sqft","neighborhood","year_built","parking","foundation","referralPartner","pdpLink","noteDetails","referralDetails","addressField","timeframeExact","timeframeRead","isReferralFeePercentage","isModalRenameTitleOpen","isReferralDesiredAddressEdit","isTimeFrameEdit","isReferralCalendarOpen","clientDetails","clientName","accountPropertyTypes","accountSources","primaryAgentDetails","agent_id","agent_avatar","primaryAgentRole","headerDetails","additionalDetails","propertyPagePath","links","useMLSphotos","blossorId","listingImgs","listingImgErrors","peopleListed","checkAll","navigationListing","previousSlug","nextSlug","previousSlugUuid","nextSlugUuid","isUpdateAddressModalOpen","tdpDetailsReducer","referralPartnerDetails","_payload$details$prim","_payload$details$prim2","_payload$details$prim3","_payload$details$prim4","publishedState","agentAvatar","agentId","days_on_market","photo","address_id","statusCode","saveTitleCrossDetail","tiztle","saveDetailsFromHeaderUpdate","detail","checked","img","idx","imgs","tmpId","_payload$option","isFeePercentage","changeAmtToValidNumber","_Object$entries$find","entries","keyToUpdate","labelName","restOfAdditionalDetails","newAdditionalDetails","_payload$details$find2","_payload$details$find","getDocuments","documents","getCDAdocument","CDAdocuments","getDocumentsStart","getDocumentsError","getSidebarDocuments","getSidebarDocumentsStart","getSidebarDocumentsError","getDocumentsFromSearch","search","searchDocumentsError","getDocumentsFromSort","orderBy","orderDir","sortDocumentsError","getAllDocumentViewers","documentId","viewers","renameDocumentSuccess","renameDocumentError","toggleUploadModal","uploadDocumentStart","uploadDocumentSuccess","uploadKey","uploadCDADocSuccess","uploadDocumentError","isFinancialsCDA","toggleDeleteModal","documentIdsToDelete","deleteDocumentsSuccess","documentIds","deleteDocumentsError","setDocumentIndex","toggleDocumentsSelected","isSelected","toggleCDAUploadModal","sortByCDAType","sortType","sidebarDocuments","sidebarDocumentsCount","isUploadModalOpen","isCDAUploadModalOpen","uploadedDocuments","isDeleteModalOpen","isCDA","deleteErrors","sidebarErrors","pagination","current","previous","totalCount","countPerPage","viewerCounts","permissions","updatedAtMs","sidebarMeta","preview","currentDocumentContext","currentDocumentIndex","renameErrors","isFetchingDocuments","isFetchingSidebarDocuments","sortByCDA","sortCDADirection","canUseForSidebar","areSidebarDocumentsLoaded","tdpDocumentsReducer","_payload$viewers$find","_payload$viewers$find2","draftDoc","doc","uploadedByRole","viewer","_payload$viewers$find3","_payload$viewers$find4","draftSidebarDoc","draftUploadedDoc","draftCDADoc","unshift","uploadedDocIndex","CDAuploadErrors","uploadErrors","numDocuments","sortedCDADocs","localeCompare","financialsFetchSuccess","financialsFetchFailure","financialsCreateSuccess","financialsCreateFailure","financialsUpdateSuccess","financialsUpdateProgress","financialsUpdateFailure","isInModal","financialsFetchSelectableTeamMembersSuccess","financialsRemoveTeamMemberSuccess","financialsSetClosedPrice","closedPrice","transactionSlug","financials","rawData","adaptedData","teamMembers","company","collaborators","CDAdocument","lineItemTypeOptions","transactionExpense","transactionIncome","selectableTeamMembers","modalErrors","isUpdating","tdpFinancialsReducer","isReferral","for_referral","_payload$data4","_payload$data5","_payload$data6","saveTimeline","tags","setActiveFilter","tagName","setEventsLoadingOn","setEventsLoadingOff","byId","activeEvents","byName","Tasks","count","eventsById","Emails","Texts","Appointments","Notes","Documents","areEventsLoading","tdpTimelineReducer","_state$tags$byName$ta","eventIdByTagName","saveAllTasksAndFilters","filterTasksByTeamMembers","member","filterTasksByAutoPlans","createTasksByTeamMemberFilter","createTasksByAutoPlansFilter","createTasksByUnassignedFilter","clearTeamMemberFilter","clearAutoPlanFilter","setBackFilterByTeamMembers","setBackFilterByAutoPlans","clearSecondaryFilter","togglePrimaryFilter","primaryFilter","saveTeam","addCreatedTasks","deleteTask","ids","editTasks","tasks","toggleModalAddTaskOpen","bl","toggleTasksSelectionMode","taskSelect","taskId","selectAllTasks","clearSelectedTasks","setTaskModalBulkDelete","setModalBulkRescheduleTaskOpen","setModalBulkReassignTaskOpen","clearTasksAndFilters","RECURRING_WEEKDAYS","CONTINGENT_RECURRING","EVENTS","DEFAULT_FILTERS","primaryFilters","overdue","due_today","upcoming","contingent","completed_at","secondaryFilters","byTeamMember","byAutoPlans","byUnAssigned","byContingentId","createPerson","avatar_url","createDate","momentDate","createTask","assigned_person","completed_by","priority","due_on","recurringFrequency","recurring","recurringDayOfWeek","recurring_day_of_week","recurringEverySoManyDays","recurring_every_so_many_days","externally_visible","dueness","contingencyRule","contingency_rule","contingentEventId","contingency_event_id","adaptPostDueOn","adaptRecurringDays","_payload$recurring","_payload$recurring2","frequency","adaptRecurringDayOfWeek","_payload$recurring3","_payload$recurring4","adaptContingentRule","_payload$contingent","_payload$contingent2","_payload$contingent3","days","numOfDays","createFilters","fl","filters","stringify","isAfter","isSame","isBefore","unassigned","sortTasks","tasksData","completedTasks","allOtherTasks","each","dateProperty","dispatchEditedTasks","adaptedEditedTasks","filtered","FILTER_CALLBACKS","filterObj","activeTasks","primaryActiveList","assignableAgents","activeTeamMembers","activeUnassigned","savedStateTeamMembers","activeAutoPlans","savedStateAutoPlans","isModalAddTaskOpen","isModalBulkDeleteOpen","isTasksSelectionMode","selectedTasks","isSelectedAllTaskChecked","isModalRescheduleTaskOpen","isModalReassignTaskOpen","tdpTasksReducer","_state$byContingentId","_payload$tasksPayload","contingentId","eventDate","updatableTaskId","updatedDueOn","originalDate","subtract","updateDueOn","activeTaskIdx","tsk","adaptedTasks","adaptedFilters","pFilters","EXCLUSIVE_PRIMARY_FILTERS","el","taskIdx","teamMemberFilters","indexOf","autoPlanFilters","teamMembersKeys","teamMember","unAssignedTasks","resetFilters","sortedTasks","updatedFilters","delTasks","delSortedTasks","delUpdatedFilters","sortedEditedTasks","updatedEditedFilters","remove","saveAllAdvertisingPlan","advertisingplans","saveAllAvailablePlan","availablePlan","saveAllAdsitesPlan","adsites","saveAllListingViews","listingViews","saveAllAssetsCardViews","assetsCardViews","getListingFromSearch","homelisting","saveImportedListing","importedListing","updateMLS","mlsID","fetchAutoCompleteFailure","autoCompleteError","importSearchListingFailure","importSearchError","fetchAssetsCardFailure","getAssetCardError","fetchEditListingURLFailure","getEditListingURLError","fetchAdvertisingPlanFailure","getAdvertisingPlanError","fetchAvailablePlanFailure","getAvailablePlanError","fetchAdSiteFailure","submitAdSiteError","fetchManagePlanFailure","getManagePlanError","destroyPlanFailure","getDeletePlanError","loadData","loadMarketingData","isMarketingLoading","loadMlsId","loaded","_ref$mlsID","_ref$mlsNumber","setSearchKeyword","setIsSearched","isSearched","getMetricsError","viewReportURL","views","total","breakdown","brivity","zillow","ads","social_media","mailers","print_media","videos","empty_states","image_url","external_interactions","sites","blossor_id","tdpMarketingReducer","advertisingplan","view_report_link","fetchedMlsId","fetchAllFeedbacksSuccess","feedbacks","fetchAllFeedbacksFailure","loadMoreFeedbacksSuccess","loadMoreFeedbacksFailure","updateAllFeedbacksStats","setFeedbackFormData","createFeedbackSuccess","feedback","createFeedbackFailure","updateFeedbackSuccess","updateFeedbackFailure","changeFeedbackVisibilityStarted","feedbackId","changeFeedbackVisibilitySuccess","changeFeedbackVisibilityFailure","clearChangeFeedbackVisibilityFailure","setDeleteFeedbackPromptData","promptData","destroyFeedbackSuccess","destroyFeedbackFailure","averageRating","tdpFeedbackReducer","existingIds","fetchedFeedbacks","changeVisibility","saveAllPeople","postPerson","patchPerson","getAvailablePeople","availablePeople","errorHandler","people","searchResults","tdpPeopleReducer","_payload$person","editedPerson","members","listingPerson","addedPerson","viewer_portal_access","email_updates","listing_person_id","deletedPerson","sendEmailError","emailTemplates","templates","clearEmailError","sendingMessage","fetchingMessages","conversationLoaded","moreSmsToLoad","isEmailSent","parsedTemplate","interactableEmails","tdpInteractionsReducer","template","term","conversation","saveAllNotes","addNote","saveError","saveErrors","setEditNoteModal","noteId","isEditNoteModalOpen","editNote","tdpNotesReducer","updatedNotes","newNote","newNoteId","sentBlueprintRequest","fetchSendBlueprintRequestFailure","showSuccessToast","toastState","tdpTitleAndEscrowReducer","setSaving","setSaved","setSaveError","setAvailablePhotos","availablePhotos","selectPhoto","setThumnail","isSaved","hasSaveError","selectedPhoto","useClickOutside","includeFocus","useEffect","handleClickOutside","useDebounce","debouncedValue","setDebouncedValue","handler","useGivenOrGeneratedId","givenId","uniqueId","useDependencyWithCleanUp","dependency","initState","_useState6","something","setSomething","createCustomSelector","reducerCallback","stateCallback","selectCustom","createSelector","useLocalStorage","initialValue","_useState10","storedValue","setStoredValue","valueOrFunction","valueToStore","Function","setItem","public_activity_events","timeline_events","task_events","gmail_events","timeline_loading","timeline_loading_success","editPersonModalOpen","addAppointmentModalOpen","manageAccessModalOpen","addRelationshipModalOpen","addNoteModalOpen","relationships","agreements","loansData","loansFinancingStages","available_transactions","available_transactions_for_loan","displayToast","transactions","taskModalOpen","appointmentModalOpen","addListingAlertModalOpen","editSocialMediaModalOpen","webActivityModalOpen","addAutoPlanModalOpen","deleteActionSuccess","editAppointmentModalOpen","lenderModalOpen","transactionCount","appointments","allTaskCount","editAddressModalOpen","autoPlanPreviewModalOpen","autoPlanDetailsOpen","deleteAssignedActionModalOpen","hasActionError","actionErrorMessage","currentAction","isActionUpdating","selectedInteractionTab","transactionModalOpen","successMessageOpen","lastReferredDateTime","mergeWith","objValue","srcValue","updateErrors","elementsIndex","newArray","newArray2","loan","_agreement$document","filteredAddendums","addendum","relationshipIndex","adjustedRelationshipArray","lead_type","is_lead","listings","deleteAssignedPlanModalOpen","appointmentIndex","newAppointmentArray","taskIndex","newTaskArray","appointmentArrayMinusAppointment","all_task_count","allAppointmentCount","updatedAppointments","updatedTasks","useCreateSelector","personDetail","useLenderModalOpen","useLastReferredDateTime","actionTypes","alerts","leadPondsCollection","usersCollection","pageSize","isLoadingMore","hasLoadingMoreError","isCheckingDuplicate","pondData","leadPondsNotificationsOn","maximumPondsReached","pond","hasDuplicate","alert","leadPond","lp","total_pages","isLoadingUsers","hasLoadingUsersError","users","duplicateError","fnd","_errors","clearEmailState","setModalData","selectTab","selectAgents","selectPond","availableAgents","availablePonds","unavailableAgents","unavailablePonds","selectedAgents","selectedPond","leadRuleId","toggleShowCreateForm","toggleHasError","setErrorMessage","toggleExternallyVisibleAction","toggleStarredAction","noteUrlHelper","notable_type","showCreateForm","showEditForm","current_user","notableType","toggleShowDeleteForm","showDeleteForm","GET_USER_TABLE_DATA","GET_CURRENT_USER_AND_FORM_OPTIONS","GET_SOURCE_OPTIONS","EDIT_USER_MODAL_TOGGLE","EDIT_USER","LOAD_EDITING_USER","UPDATE_EDITING_PERSON","UPDATE_USER_SUCCESS","SET_USERS_TABLE_ERRORS","SET_USER_MODAL_ERRORS","CLEAR_USER_MODAL_ERRORS","SET_IS_TABLE_DATA_LOADING","UPDATE_SORT_ON_TABLE_COLUMN","SET_IS_DELETING","SET_ICON_PICKER_MODAL","UPDATE_EDITING_PERSON_LOGIN","SUSPEND_USER","failErrorMessage","userSettingsErrorMessages","FAIL_ON_LOAD_USER_DATA","FAIL_ON_LOAD_TABLE_USERS_DATA","FAIL_ON_LOAD_SOURCES","FAIL_ON_LOAD_FORM_OPTIONS","FAIL_ON_UPLOAD_AVATAR","patchSuspendUserApiFn","sendInviteEmail","getUserTableData","updatedUsersData","activeUsers","archiveUsers","_ref2$login_user","login_user","suspended","lastActiveDate","last_seen","isOktaUser","okta","agentType","signInCount","sign_in_count","oktaInvitedAt","okta_invited_at","oktaLastSignInAt","okta_last_sign_in_at","showAgentProfilePage","show_agent_profile_page","showOnWebsiteRoster","show_on_website_roster","usersMls","users_mlses","crmAccess","crm_access","startDate","organization_start_date","mlsAgentId","mls_agent_id","user","toggleUserModal","editPersonId","setUsersTableErrors","setUserModalErrors","clearUserModalErrors","setIsTableDataLoading","isTableDataLoading","updateSortOnTableColumn","updateEditedUserAllProps","editedUser","setCrmAccessModal","setLoadingOktaBtn","setSuccessOktaBtn","setErrorOktaBtn","clearOktaBtn","setSuspendUser","setSuspendError","isSeatsAvailable","isUserModalOpen","showSuspendUserError","tableSortColumn","isAsc","usersTableErrors","isCrmAccessModalOpen","crmAccessUserId","loadingCrmUserIdAccess","successCrmUserIdAccess","errorCrmUserIdAccess","_state$tableSortColum","ascOrder","sortByTitleAndOrder","editingUser","userSettings","cache","getAiToken","_cache$data","atob","now","apiUrl","authInterceptor","config","_yield$getAiToken","paramsSerializer","indexes","Authorization","getExternalApi","baseURL","IS_REQUIRED","validateBirthdate","birthdate","_birthdate$split2","year","month","day","transformLoginUser","loginUser","customLinksAttributes","customLinks","usersMlsesAttributes","usersMlses","transformPerson","rawPerson","_responseDataToCamelC","addresses","emailDetails","phoneDetails","addressesAttributes","emailDetailsAttributes","loginUserAttributes","phoneDetailsAttributes","linkFractal","messageFractal","earlyBreak","INIT_USER","agentStatus","isLead","licenseId","bio","subdomain","exportToRoster","validOrderFinder","order","customLink","getFormData","modalType","messagingServiceUrl","messaging","messagingApi","augmentedPhoneDetailsPersonPromise","_person$phoneDetailsA","modifiedDetailsAttributes","all","archiveConversationsCount","formOptions","brokerageOptions","_formOptions$brokerag","militaryStatusOptions","_formOptions$military","positionOptions","_formOptions$position","mlsOptions","_formOptions$mlsOptio","maritalStatusOptions","_formOptions$military2","tagsOptions","timezoneOptions","stateOptions","startCase","primaryAgentOptions","_formOptions$primaryA","statusOptions","_formOptions$statusOp","customDateOptions","milestonesOptions","leadStageOptions","header","_formOptions$stageOpt","stageOptions","candidateStageOptions","_formOptions$candidat","leadTypeOptions","_formOptions$leadType","typeNameOptions","_formOptions$typeName","transformSources","sourceOptions","upsertPerson","_person$phoneDetailsA2","_thunkApi$getState$co","contactsReducer","originalPerson","Source","isEmpty","validateLeadForm","_person$emailDetailsA","_person$loginUserAttr","_person$loginUserAttr2","_person$loginUserAttr3","isOperator","displayedPosition","Email","Position","inviteToOkta","isRealEstateLlc","individualRealEstateLlcName","mls","mlsId","validateUserForm","savePerson","fromPairs","differenceWith","toPairs","isEqual","changedPhoneDetailsAttributes","phoneRemovalAck","changedNumbers","_originalPerson$phone","currentNumber","previousNumber","originalPhone","conversationCount","some","uploadAvatar","file","_err$response3","formOptionsLoading","showPhoneContext","setErrors","_ref7$payload","setPersonValue","setShowPhoneContext","addCustomLink","setCustomLink","customLinkIndex","deleteCustomLink","_payload$errors","_payload$errors2","_payload$errors3","errBody","phoneValidations","phone_validations","emailValidations","email_validations","messageError","linksError","validation","acctDupes","_key$split","_ref20","avatarUrl","_ref21","_payload$errors4","_ref22","_key$split2","_ref23","_contactsReducer$acti","keyValue","addOperationalPartner","updateOperationalPartner","removeOperationalPartner","addCommOnlyOperationalPartner","updateCommOnlyOperationalPartner","removeCommOnlyOperationalPartner","addTransactionReportAccess","updateTransactionReportAccess","removeTransactionReportAccess","saveForm","saveFormError","saveFormSuccess","iSearchingUsers","brands","brokerages","partners","placeBrandedAccounts","activePlaceTeams","dbBrandData","changeSearchTab","changeSearchTerm","changePlaceOnlySearch","changeIsSearching","searching","setDetailsId","getDetails","getDetailsError","getDetailsSuccess","searchPartners","searchPartnersError","searchPartnersSuccess","newSourceId","searchTab","searchTerm","searchPlaceOnly","hasSearchingError","hasOtherPartnersInSearch","detailsId","loadingDetails","partnerDetails","hasLoadingError","_payload$results","enableMapSet","accountFinancial","addMarketReport","businessSettings","LeadIndex","leadPonds","leadRouting","notesData","partnerSearch","reports","superUsersBranding","_state$formData","newPartners","operationalPartners","updatedPartners","reducedPartners","_state$formData2","commOnlyOperationalPartners","_state$formData3","newPeople","transactionReportAccessUsers","updatedPeople","reducedPeople","tdpThumbnailSelector","transactionFinancial","preloadedState","reduxConfigureStore","getDefaultMiddleware","immutableCheck","serializableCheck","rootReducer","CloseButton","ALERT_VARIANTS_STYLE_CLASSES","success","info","danger","Alert","variant","deprecatedOverrideMarginClasses","variantClasses","marginClasses","BACKGROUND_COLOR_CLASSES","CLASSES","INTERACTION_BACKGROUND_COLOR_CLASSES","BORDER_COLOR_CLASSES","INVERTED_BORDER_COLOR_CLASSES","DISABLED_BORDER_COLOR_CLASSES","TEXT_CLASSES_CLASSES","TEXT_COLOR_CLASSES","ADDITIONAL_CLASSES","SIZE_CLASSES","DISPLAY_CLASSES","BASE_CLASSES","backgroundColorClasses","invert","bgColorVariant","interactionBgColorVariant","borderColorClasses","textColorClasses","invertedDefault","inverted","common","textStyleClasses","additionalClasses","displayClasses","large","extraSmall","CancelButton","INLINE_CLASSES","NORMAL_CLASSES","INLINE_MARGIN_CLASSES","NORMAL_MARGIN_CLASSES","BASE_LABEL_CLASSES","INLINE_LABEL_CLASSES","NORMAL_LABEL_CLASSES","INLINE_LABEL_PADDING_CLASSES","NORMAL_LABEL_PADDING_CLASSES","BASE_LABEL_TEXT_CLASSES","INLINE_LABEL_TEXT_CLASSES","NORMAL_LABEL_TEXT_CLASSES","CHECKED_COLOR_CLASSES","UNCHECKED_COLOR_CLASSES","BASE_CHECKBOX_CLASSES","INLINE_CHECKBOX_CLASSES","NORMAL_CHECKBOX_CLASSES","INLINE_CHECKBOX_MARGIN_CLASSES","NORMAL_CHECKBOX_MARGIN_CLASSES","Checkbox","idFromProps","labelClassName","checkboxClassName","labelTextClassName","inline","deprecatedOverrideLabelPaddingClasses","deprecatedOverrideCheckboxMarginClasses","checkedColor","uncheckedColor","labelClasses","labelTextBeforeContent","_templateObject","_taggedTemplateLiteralLoose","labelTextClasses","checkboxClasses","htmlFor","Clearfix","BASE_DICTIONARY","xs","sm","md","lg","SIZE_DICTIONARY","OFFSET_DICTIONARY","Col","deprecatedOverridePaddingClasses","sizeObj","offsetObj","breakpoint","baseClasses","offsetClasses","paddingClasses","DeleteButton","assignValueToIfUndefined","val","makeRenamedPropsCompatible","originalProps","clearable","closeOnSelect","onClose","scrollMenuIntoView","searchable","buildValueCompatibleWithLegacyOnUpdateCallback","evt","nameFromProps","recursivelyFindOptionByValue","opt","_step","_iterator","_createForOfIteratorHelperLoose","makePropsCompatible","makeValuePropCompatibleInPlace","onChange","onUpdate","makeCallbacksCompatibleInPlace","noOptionsMessage","menuShouldScrollIntoView","classNamePrefix","getBoxShadowForWhen","menuIsOpen","getFillForWhen","isDisabled","dropdownIndicatorSharedStyles","sharedStyles","container","provided","indicatorSeparator","menu","marginTop","zIndex","boxShadow","borderRadius","borderStyle","borderWidth","borderColor","menuList","paddingTop","paddingBottom","maxHeight","isFocused","textColor","cursor","backgroundColor","color","clearIndicator","variantStyles","outlined","_ref2$selectProps$var","selectProps","variantOverrides","containerWidth","_ref3$selectProps$var","menuWidth","menuPortal","control","_ref4$selectProps$var","controlWidth","minHeight","disableBorderRadius","indicatorsContainer","_ref5$selectProps$var","showIndicator","singleValue","_ref6$selectProps$var","singleValueColor","_ref7$selectProps$var","paddingLeft","inputPaddingLeft","valueContainer","_ref8$selectProps$var","paddingRight","valueContainerPaddingLeft","transparent","placeholder","textAlign","whiteSpace","dropdownIndicator","args","_args$selectProps$var","menuListMaxHeight","_args$selectProps$var2","placeholderPaddingBottom","flatGray","flatBlueishGray","_args$variantOverride","dropdownIndicatorPadding","timepicker","background","focusBorderStyles","outline","DownChevron","focusable","points","DefaultDropdownIndicator","_props$className","_excluded3","SelectComponents","DropdownIndicator","AbstractSelect","ConcreteSelectImplementation","componentsFromProps","components","stylesFromProps","styles","_excluded4","classNameWithPrefix","getComponentsFor","getStylesFor","adaptedProps","Dropdown","Select","Creatable","FormGroup","horizontal","FORM_CONTROL_BASE_CLASSES","FORM_CONTROL_VARIANT_CLASSES","FORM_CONTROL_SIZE_CLASSES","FORM_CONTROL_PADDING_CLASSES","FormControl","Component","componentClass","Input","LoadMoreButton","TextArea","BASE_LABEL_PADDING_CLASSES","BASE_RADIO_CLASSES","BASE_RADIO_MARGIN_CLASSES","Radio","radioClassName","deprecatedOverrideRadioMarginClasses","radioClasses","Portal","portalId","hasMounted","setHasMounted","portalRoot","portal","ReactDOM","ModalContext","ModalContextProvider","onHide","_React$useState2","isShown","setIsShown","onModalHide","onEscapeKeyPress","removeListener","MODAL_BACKDROP_CLASSES","Backdrop","shouldCloseOnClick","MODAL_BODY_CLASSES","ModalBody","variantFromProps","variantFromContext","stopPropagation","MODAL_HEADER_CLASSES","MODAL_HEADER_BUTTON_CLASSES","SR_ONLY_CLASSES","ModalHeader","closeButton","_React$useContext2","MODAL_FOOTER_CLASSES","ModalFooter","MODAL_TITLE_CLASSES","ModalTitle","MODAL_ANIMATION_DURATION_MS","modalAnimationStyles","transition","containerTransitionStyles","entering","opacity","entered","exiting","exited","modalTransitionStyles","MODAL_CONTAINER_CLASSES","MODAL_DIALOG_CLASSES","MODAL_CONTENT_CLASSES","MODAL_SIZES","dictKeyFromSizeString","Modal","_ref$show","dialogClassName","contentClassName","backdrop","deprecatedOverrideDialogWidthClasses","renderModalContainer","dialogSizeClasses","MARGIN_CLASSES","getModalMarginClasses","overrideWidthClasses","WIDTH_CLASSES","getModalWidthClasses","appear","mountOnEnter","modalContainerState","modalState","Consumer","Body","Footer","Header","Title","PanelContext","createContext","PanelContextProvider","collapsed","isCollapsed","setIsCollapsed","toggleCollapsed","preventDefault","prevIsCollapsed","PANEL_HEADING_CLASSES","PANEL_HEADING_BORDER_CLASSES","PanelHeading","deprecatedOverrideBorderClasses","PANEL_TITLE_CLASSES","PANEL_TITLE_TEXT_CLASSES","PanelTitle","deprecatedOverrideTextClasses","PANEL_TRIGGER_CLASSES","PanelTrigger","_useContext","useContext","nodeHeight","overflow","PanelCollapse","collapsedFromProps","transitionDuration","setNodeHeight","collapsedFromContext","panelContainerState","scrollHeight","PANEL_BODY_CLASSES","PANEL_BODY_PADDING_CLASSES","PanelBody","PANEL_CONTAINER_CLASSES","PANEL_CONTAINER_MARGIN_CLASSES","PANEL_BORDER_CLASSES","Panel","fallback","Heading","Trigger","Collapse","Row","Label","bold","LABEL_B_CLASSES","LABEL_CLASSES","defaultStyle","transitionStyles","Overlay","targetRef","rootClose","showOverlay","setShowOverlay","containerRef","handleClick","clickOnTarget","clickOnContainer","Expense","showBorder","formatCompanyExpense","_accountData$account_","_accountData$account_2","_accountData$account_3","_accountData$account_4","_accountData$account_5","transaction_expense_types","listing_commission","listing_commission_percentage","selling_commission","selling_commission_percentage","custom_account_expenses_attributes","expList","keyString","removeKeys","keysToRemove","newObj","expenseEntries","expTypeId","iscompanyLineItemTypeIncome","IncomeExpenseRadio","modalThis","setExpenseValue","setState","incomeBtnHandlr","expenseBtnHandlr","ExpenseInput","_React$Component","setInputType","isPercentage","inputSymbol","inputClass","componentWillReceiveProps","newProps","newContext","disableFlip","_inheritsLoose","render","_this$props","onValueUpdate","onRadioUpdate","IncomeExpenseForm","setIsOpenNewIncomeModal","addIncome","_useExpenseList","expenseList","setExpenseList","useExpenseList","invertedExpList","expenseValue","_modalThis$setState2","_modalThis$setState","expenseInputHandlr","isSearchable","isClearable","_modalThis$setState3","incomeExpenseInputTxtHandlr","textInput","saveExpenseData","schemaClassesFromRegularButton","validSchemas","dimensionsFor","xsmall","fontSizeFor","sizeBasedClasses","IconButton","borderFor","VARIANT_STYLES","gray","containerClass","XmarkSolidV6","dangerouslySetInnerHTML","__html","AddExpenseModal","saveData","isNotValid","errMsg","customState","company_expense_template","agent_expense_type_id","transaction_expense_type_id","company_expense_type_id","company_revenue_type_id","companyList","sortableHandle","src","alt","TransactionInput","addClassradio1","addClassradio2","keyMapping","keyMapp","companyOptions","SortableItem","sortableElement","sortIndex","DragHandle","SortableContainer","sortableContainer","items","TransactionGCIForm","onAddExpense","onSortEnd","arrayMove","useDragHandle","renderModal","_this$props2","agent_expense_types","company_expense_types","company_revenue_types","Split","agentData","kebabCase","brokerage_cap","brokerage_cap_reset_month","brokerage_cap_reset_day","royalty_cap","royalty_cap_reset_month","royalty_cap_reset_day","Expenses","j","dimensionsDictionary","fontDictionary","dimensionsValue","fontValue","neutral","tinted","borderValue","iconSizeDictionary","iconSizeValue","Avatar","imgSrc","setImgSrc","onload","UserIcon","Agents","connect","_state$accountFinanci","rest","iconType","QUERY_DATE_FORMAT","DatePicker","handleDateOnChange","isValid","handleDateOnBlur","handleDateOnFocus","showCalendar","openCalendar","clear","datetime","dateFormat","inputProps","Datetime","renderInput","onBlur","onFocus","SplitForm","timeFormat","_moment$format$split2","_moment$format$split4","ExpenseForm","AgentForm","expensesPositionPointer","expensePointers","newExpPointer","AgentsForm","user_id","company_expense","Info","company_name","Plus","AccountFinancial","hideAlertMsg","componentDidUpdate","_this$props$accountDa","_accountData$company_","_accountData$agent_ex","TransactionGCI","Company","CompanyForm","FieldError","FieldHelper","helperText","FieldLabel","toolTipInfoContent","toolTipPlacement","regular","readonly","TextInput","containerClassName","readOnly","schemaKey","styleSchema","_ref$className","_ref$placeholder","_ref$value","_ref$flexStyle","flexStyle","_ref$disabled","isOnFocus","setIsOnFocus","Search","peerChecked","peerFocusVisible","containerHeight","TextToggleOption","TextToggle","createOptionsCustomPropType","propName","componentName","setIsFilterActiveUsers","isFilterActiveUsers","useCurrentUser","useCurrentSuperUser","_state$layout","currentSuperUser","useFeatureFlags","featureFlags","useTheme","theme","useDialerServiceUrl","useAccountCallRecordingSettings","_state$layout$current2","account","callRecordingSettings","useIsAdmin","_state$layout$current4","useOutboundCallRecordingSetting","_accountCallRecording","_state$layout$current","accountCallRecordingSettings","outboundRecording","outboundNotificationMessage","setFilterSearchText","filterSearchText","ActiveUsersSwitchFilter","FieldSearchText","closeOnEscape","MODAL_DESCRIPTION_CLASSES","MODAL_CONTENT_WIDTH_CLASSES","none","MinimalIconButton","iconComponent","HiddenRangeInput","onNewValue","getRenderedError","currentError","ErrorBanner","isReviewingErrors","setIsReviewingErrors","_useState4","totalErrors","setTotalErrors","currentErrorIndex","setCurrentErrorIndex","_useState8","setCurrentError","renderedError","setRenderedError","newError","onNavigateTo","newErrorIndex","onShow","errorCounterOrReviewErrorsButton","errorNavigationButtons","ChevronLeft","ChevronRight","renderError","errorForBanner","CloseIcon","titleClassName","wrapperClassName","contentSize","closeOnClickOutside","sentence","fontWeightDictionary","fontSizeClass","fontWeightClass","TextButton","textButtonPropTypes","textButtonDefaultProps","hardcodedButtonProps","hardcodedCancelButtonProps","primaryDefaultProps","omit","secondaryDefaultProps","cancelDefaultProps","makeOptionPropsCompatible","optionProps","primaryProps","secondaryProps","primarySchema","secondarySchema","SCROLL_PROP_TO_CLASS_MAP","true","false","DefaultFooter","primaryOption","onPrimary","isPrimaryLoading","secondaryOption","onSecondary","isSecondaryLoading","cancelProps","onCancel","isSomethingLoading","dataCy","FloatingForm","scroll","footer","footerError","headerSize","modalBodyClassName","_makeOptionPropsCompa","Prompt","sortListByKey","setList","useGetServiceAreaOptions","serviceAreaInput","setServiceAreaOptions","useFilterListOptions","typeOptions","triggerList","matchKeyName","newOption","isTaken","useSetCrmModal","ErrorAlert","errorMessages","bsStyle","onDismiss","existing_person_slug","CrmAccessModal","onSave","saveSuspendingPerson","onSuccess","onError","onLoading","useSendInviteEmail","_yield$tryCatchHandlr3","_yield$tryCatchHandlr4","tabName","isActive","onKeyDown","focusWithin","spacingDictionary","spacingValue","spacing","inputSizeDictionary","full","inputSizeValue","inputSize","TextComboInput","leading","trailing","inputRef","onFieldClick","onFocusIn","onFocusOut","fieldsetRef","inputElementRef","fieldLabelRef","enableHoverOnInput","setEnableHoverOnInput","fieldLabelEl","onMouseDown","currentTarget","requestAnimationFrame","activeElement","inputStyleSchema","STYLES","headline2","headline3","subtleM","bodyS","primaryDisabled","primaryLight","service_cache","cacheHandler","statusText","cacheChecker","ret","updatePrimaryAgentOrPond","errorCb","successCb","resData","getPrimaryAgentOrPond","allpeopleIdsStr","deleteMarketReportApi","_yield$tryCatchHandlr5","_yield$tryCatchHandlr6","useGetAssignableAgents","shouldRun","errorCallback","cachedData","skipCache","getAssignableAgents","allAssignableAgents","filteredAssignableAgents","useGetAssignablePonds","_ref3$pageSize","setPage","runOnce","setRunOnce","getAssignablePonds","_response$data$page","allAssignablePonds","filteredAssignablePonds","useGetAgentState","enableLeadPonds","loadFirst","searchString","regex","RegExp","_ref$handleSelect","handleSelect","_ref$isSelected","_ref$option","_ref$showCheckIcon","showCheckIcon","imageSrc","_ref$enableLeadPonds","_ref$onChange","_useGetAgentState2","handleChange","primaryAgentModel","setPrimaryAgent","leadPondModel","setLeadPond","setShowDropdown","autoFocus","DropDownSelectOption","lead_pond","handlePondSelect","image_src","imgSizeClass","primary_agent","handleAgentSelect","FieldLabelV1","required","ToolTip","dotBase","dotDictionary","trackBase","peerDisabled","trackDictionary","schemas","dotSchema","trackSchema","Dot","Track","Toggle","dotClassName","trackClassName","textClassName","labelPlacement","UserImageButton","imgUrl","isOnHover","setIsOnHover","onMouseOver","onMouseOut","Upload","User","userName","onRemove","uploadInput","click","_e$target$files","FieldSelect","_options$find","defaultValue","isInputSearchable","isDropdownSearchable","dropdownWidth","isAddNotFound","fieldSelect","isDropdownOpen","setIsDropdownOpen","searchText","setSearchText","filteredSearchOption","setFilteredSearchOption","checkIfClickedOutside","targetValue","CaretUp","CaretDown","containerView","borderHr","inputDescription","defaultLink","useContactFormOptions","useContactPerson","INTENT_OPTIONS","typeName","leadType","FormAgentOrPondSelect","leadPondId","primaryAgentId","UploadPersonAvatarField","userUpdate","extractData","componentProps","selectedValues","getValue","isMulti","optionShape","groupedOptionShape","customDefaultProps","SelectContainer","_componentProps$selec","Control","_componentProps$selec2","_children","ValueContainer","IndicatorsContainer","inputTrailing","SingleValue","MultiValue","MultiValueContainer","MultiValueLabel","MultiValueRemove","IndicatorSeparator","Menu","MenuList","GroupHeading","Option","ClearIndicator","NoOptionsMessage","preserveStyle","getStyles","isHidden","CustomControl","_componentProps$data$","CustomMultiValueRemove","SearchableInput","CustomInput","onMouseUp","wasSearchTextSelected","CustomDropdownIndicator","CaretDownIcon","VirtualMenuList","_virtualItems$0$start","_virtualItems$","rowVirtualizer","useVirtualizer","getScrollElement","estimateSize","overscan","virtualItems","getVirtualItems","getTotalSize","start","measureElement","DropdownMultiValue","_selectRef$current","_selectRef$current$co","_selectRef$current7","_selectRef$current$pr","_selectRef$current8","_selectRef$current9","selectRef","optionKey","optionIndex","removablePrefix","getComponents","removeValue","_selectRef$current$st","_selectRef$current2","_selectRef$current3","_selectRef$current4","_selectRef$current5","newSelectValue","selectValue","currentOption","removedValue","blurInputOnSelect","focusInput","commonProps","Container","Remove","removeProps","onTouchEnd","_selectRef$current6","backspaceRemovesValue","formatOptionLabel","DropdownClearIndicator","_selectRef$current$is","_selectRef$current10","_selectRef$current$ha","_selectRef$current11","_selectRef$current$pr2","_selectRef$current12","_selectRef$current$st2","_selectRef$current13","_selectRef$current14","_selectRef$current15","hasValue","innerProps","onClearIndicatorMouseDown","onClearIndicatorTouchEnd","DropdownMultiValues","_selectRef$current$st3","_selectRef$current16","dropdownMultiValueClassName","_selectRef$current$ge","_selectRef$current17","_selectRef$current$ge2","_selectRef$current18","getOptionLabel","getOptionValue","getControlBoxShadowColor","getControlBorderColor","isHover","isPipeline","getControlBackgroundColor","getPlaceholderColor","getSingleValueColor","getMultiValueRemoveColor","getInputColor","getInputSelectionColor","getIndicatorColor","getOptionBackgroundColor","getOptionColor","gap","lineHeight","multiValue","margin","multiValueLabel","multiValueRemove","marginBottom","groupHeading","alignItems","textTransform","CLASS_NAME_PREFIX","SearchableDropdown","BasicDropdown","DropdownBase","initialLoadingMessage","loadingMessage","initialNoOptionsMessage","multiShouldRenderBelowSelect","menuShouldComeToFront","maxVisibleOptions","defaultComponents","initialComponents","internalRef","setSelectRef","useCallback","closeMenuOnScroll","_e$target","fromEntries","customComponentsWrappers","ReactSelect","controlShouldRenderValue","maxMenuHeight","hideSelectedOptions","menuPortalTarget","DefaultControl","DefaultMultiValueRemove","LoadingIndicator","isVirtualized","DefaultVirtualMenuList","hasInputValueChanged","wasOptionSelected","inputValue","setInputValue","customFilter","createFilter","filterOption","currentInputValue","shouldFilterOptions","unselectSearchText","abs","selectionStart","selectionEnd","setSelectionRange","_props$value3","preventOptionUpdate","selectInputOnMenuOpen","onInputChange","newValue","emptyInputRemovesValue","removedValues","_props$value","_props$value2","onMenuOpen","select","onMenuClose","DefaultSearchableInput","commonPropTypes","openMenuOnFocus","closeMenuOnSelect","customComponents","commonDefaultProps","Basic","Searchable","isInControl","_data$meta$src","_data$meta","_data$meta$alt","_data$meta2","FieldTextV1","_ref$checked","FieldRadioV1","UIMODE","MONTHS","WEEKDAYS","VALID_DATE_FORMATS","DATE_FORMAT","TEST_DATE_STATUS","TIMES","getDateFormat","getMutatedDateFormat","getValidDateFormats","getNextPossibleDateSelectorTime","lastPossibleTime","getClosestTime","timeNow","minutes","meridianCount","enableTimePicker","times","time","match","getStartTime","getEndTime","enableEndTimePicker","formatDate","rawFormattedDate","_rawFormattedDate$spl2","_toArray","onlyDate","onlyTime","formattedDate","isDateValid","isYearlessFormat","currentYear","temporaryDate","navigationDate","getIndirectYear","temporaryYearDate","calendarDayCommon","monthSelectorCommon","dayDisabled","daySelected","dayTempToday","dayToday","dayOutside","dayDefault","monthSelected","monthDefault","navigation","navigationMode","closeTimePicker","arialLabelMonthYearNext","uiMode","clone","arialLabelMonthYearPrevious","arialLabelMonthYearUI","testCurrentPeriod","PeriodNavigation","handleNavigationClick","handleChangeUI","minDate","maxDate","noYear","checkDateBoundary","isNext","dateBoundary","unit","isPrevDisabled","isNextDisabled","handleNavigationChange","renderHeader","shouldBlockTime","blockingTime","_time","TimePicker","handleTimeChange","setTime","timeOptions","createTimeOptions","dayStatus","dayModifierClassNames","sameDateStyle","isTempDate","dayHTML","isToday","todayDOM","CalendarDay","handleDayClick","onKeyPress","renderWeekHeader","weekHeaders","weekday","isBeforeMinDate","isAfterMaxDate","CalendarMonth","weeks","setWeeks","firstDay","startOf","totalDays","endOf","diff","currentDay","weeksInMonth","getWeeksInMonth","week","monthModifierClassNames","arialLabelMonth","MonthSelector","handleMonthClick","isSameOrBefore","isSameOrAfter","onMonthClick","init","initialData","closestTimeStart","closestTimeEnd","dateOnly","impureDate","temporaryStartTime","temporaryEndTime","showTimePicker","showEndTimePicker","dateFormatError","definedInitialState","DateSelector","enableDateInput","startTimeClassName","startTimeEnabled","initialReducerData","_useReducer2","useReducer","oldValue","isMount","dateProp","newValidDate","handleUpdatedInitialDate","formatedDate","formatDatetime","startTime","endTime","handleStartTimeChange","handleEndTimeChange","calendarContainerCommon","rawUserInput","isUserAddingChar","allowedCharsUserInput","formattedUserInput","separatorCounter","cleanUserInput","maskUserInput","handleUserInput","period","renderPickerUI","customError","setIsOpen","initialDate","final","impureTemporary","validTemporary","setDate","setError","datepickerRef","oldValueRef","handleDone","oldDate","validDate","Calendar","calendarPositionClassNames","dateSelectorState","FieldDateV1","_ref$dateFormat","dateValue","tagStyles","TagV1","Close","FieldSearchLabelsV1","eValue","highlight","section","FieldSelectLabelsWithCheckboxOptions","checkboxOptions","setCheckboxOptions","temp","newResults","FieldEmailV1","FieldTextAreaV1","resize","RemoveFieldButton","TrashIcon","DEFAULT_REQ_TEXT","isStrInputLen","num","curMls","setIsAddActive","targetMLS","filtereduserMLSList","_useContactPerson$log","userMLSList","isAddActive","onAddMLS","mlsInit","tempId","MLSFieldView","onUpdateMls","AddSponsorModal","confirmedName","inputData","setInputData","isAllRequiredFieldsFilled","setIsAllRequiredFieldsFill","sponsorName","sponsorEmail","RevenuePartnerSearchableDropdown","revenuePartnerSourceOptions","selectedRevenuePartnerSourceOption","setSelectedRevenuePartnerSourceOption","selectedRevenuePartner","setSelectedRevenuePartner","revenuePartnerSearchText","setRevenuePartnerSearchText","revenuePartnerSearchOptions","setRevenuePartnerSearchOptions","fetchOptionsData","full_name","team_name","revenuePartnerPersonId","revenuePartnerPersonName","revenuePartnerPersonTeamName","certificates","setInput","tempCertificates","itemName","jobTitle","REV_TYPE_MAP_SRC","reshapeDropdownValue","isAddingSponsor","setIsAddingSponsor","isAddingRevenuePartner","setIsAddingRevenuePartner","serviceAreaOptions","setServiceAreaInput","fluentLanguageInput","setFluentLanguageInput","agentHoursOptions","fluenciesOptions","basePositionOptions","specializationOptions","isPlaceBrand","licensedSince","licensed_since","organizationStartDate","lastSeen","roleOptions","setPosition","reasonForLeaving","agentHours","contractAgreementLink","previousBrokerageName","AddMLSSection","LicenseNumber","serviceAreas","tempServiceAreas","specializations","CertificationsAndDesignationsSection","fluencies","tempFluencies","revenuePartnerType","AddRevenuePartnerModal","EmailView","currentEmail","removable","onPrimaryChange","emailPosition","tempEmailDetails","set_main_email","updateEmail","targetEmail","filteredEmailDetails","EmailTypeOptions","AddEmailSection","isDisplayByDefault","emailOptions","setEmailOptions","onAddEmail","_emailOptions$find","initEmail","setMainEmail","PhoneNumberModal","_changedNumbers$","showContext","changedNumber","PhoneView","currentPhone","phoneList","setShowContext","currentPhoneNumber","phonePosition","tempPhoneList","targetPhone","filteredPhoneList","updatePhone","FieldPhoneV1","PhoneTypeOptions","AddPhoneSection","_ref$required","_ref$isDisplayByDefau","phoneOptions","setPhoneOptions","onAddPhone","_phoneOptions$find","defaultPhone","FieldSelectWithCategoryOptionsWithSearchableDropdown","_optionsForValueMatch","optionsForValueMatch","searchInputText","setSearchInputText","filteredSearchOptions","setFilteredSearchOptions","categoryOptions","subOption","AddressView","currentAddress","addressList","addressType","updateAddress","targetAddress","filteredAddressList","ADDRESS_TYPES","AddAddressSection","addressOptions","setAddressOptions","onAddAddress","_addressOptions$find","defaultAddress","letterSalutation","envelopeSalutation","MONTH_OPTIONS","YEAR_OPTIONS","getFullYear","years","DropdownDatePicker","prevValue","setMonth","setDay","setYear","DAY_OPTIONS","daysInMonth","getDaysInMonth","padStart","useDayOptions","lastDay","_split2","TrashCanSolidV6","TagsSection","tagOptions","isAddingTags","setIsAddingTags","currentTagOptions","FieldTextWithIconV1","iconClassName","TikTokIcon","PersonalDetailsView","birthdateError","anniversary","tagNames","timezone","maritalStatus","kids","pets","militaryStatus","facebook","twitter","linkedin","instagram","youtube","pinterest","tiktok","_useContactPerson$mil","hasTime","TZDate","tz","includeTime","formattedValue","parsedDate","formatISO","representation","_useContactPerson","zillowReviews","googleReviews","facebookReviews","realtorComReviews","yelpReviews","truliaReviews","fa6Solid","fa6Brand","transformCounts","counts","formatters","lastUpdate","updateAccountRecordingSettings","callRecordingAccountSettings","layoutSlice","Leads","People","Transactions","currentMetaUser","env","isMobileMenuOpen","sidebar","submenu","support","accountCallRecordingLoading","addPeopleSmartFilterOption","_menu$options","_menu$options2","smartFilterIndex","smartFilterOptions","deletePath","removeSmartFilterOption","_menu$options3","setIsSidebarOpen","setIsSubmenuOpen","toggleMobileMenu","updateLeadCounts","updatePeopleCounts","updateTaskCounts","updateTransactionCounts","withAllData","all_count","_layoutSlice$actions","usePlaceSelector","AvailableIcon","onSelect","classNameFont","fontPrefix","isPlaceTheme","MagnifyingGlassIcon","MagnifyingGlassSolidV6","useFilteredIcons","icons","query","IconPickerModal","setQuery","debouncedQuery","solidIcons","brandIcons","onSelectHandlr","button","CustomLink","onDelete","onTitleChange","setIconPickerCustomLink","onURLChange","iconPickerCustomLink","PlusSolidV6","Subdomain","DefaultLinks","CustomLinks","AboutMe","before","focusVisible","checkedBefore","checkedHover","checkedHoverBefore","indeterminate","indeterminateBefore","indeterminateHover","indeterminateHoverBefore","checkedDisabled","checkedDisabledBefore","indeterminateDisabled","indeterminateDisabledBefore","alignment","valign","checkboxInput","checkedDisabledHover","isMultiline","additionalInfo","RadioButton","BASE","headline1","inherit","htmlTagsByVariant","Typography","component","FormElement","DeactivateUserModal","isDeleting","setIsDeleting","organizationEndDate","setOrganizationEndDate","ownerId","reassignLeadsTo","setReassignLeadsTo","setReasonForLeaving","_useState12","departureType","setDepartureType","newErrors","reassignLeadsToId","reassignLeadsToType","origin","onReload","setLoading","OptionsSection","copy","isPlace","supportPhoneNumber","seats","primaryEmail","isDeactivatingUser","setIsDeactivatingUser","isActivatingUser","setIsActivatingUser","isCannotReActivateUser","setIsCannotReActivateUser","CheckSolidV6","defaultCrmAccess","CannotReActivateUserModal","ActivateUserModal","formLoading","clearErrors","opts","PdpLink","noreferrer","percentVisible","parent","childTop","offsetTop","childBottom","clientHeight","parentTop","scrollTop","parentBottom","parentCompensation","portionVisible","TAB_NAMES","general","userDetails","personalDetails","contactInfo","accountSettings","websiteInfo","PersonDetailsModal","_errors$find","_ref$modalType","showAddDetailsButton","_ref$containerClassNa","activeTabName","setActiveTabName","GeneralViewRef","UserDetailsViewRef","ContactInfoViewRef","PersonalDetailsViewRef","CustomDatesViewRef","WebsiteInfoViewRef","AccountSettingsViewRef","isEditing","_usePersonDetailsModa","usePersonDetailsModal","Spinner","FolderTab","scrollIntoView","behavior","onScroll","tmpVisible","pVisible","activeTab","GeneralView","UserDetailsView","ContactInfoView","CustomDatesView","WebsiteInfoView","AccountSettingsView","requestStatus","HEADER_ROWS","sortable","colWidth","UsersTableHeader","CircleInfoSolidV6","TableMessage","colSpan","OktaInviteButton","setCrmAccessModalHandlr","isSendingUserId","isSuccessUserId","isErrorUserId","SpinnerSolidV3","Check","TriangleExclamationRegularV6","EditUserBtn","setIsloading","PencilSolidV6","DropdownPopUp","DROPDOWN_OPTION_STYLE","activeHandlr","suspendHandlr","showDropdown","_useIsLoadingIcon","OtherIcon","loadingIconSize","loadingIconClassName","setIsLoading","useIsLoadingIcon","EllipsisSolidV6","LockIcon","LockOpenSolidV6","LockSolidV6","ActiveIcon","AddUser","onActiveHandlr","onLoadWrapper","cb","onEditHandlr","onSuspendHandlr","onKeyUp","userType","AdminUserBtn","SUSPEND_TXT_STYLE","SuspendText","UnsuspendText","SuspendUserModal","onSubmitHandlr","onHideHandlr","isSuspended","UsersSuspendUserModal","suspendedPayload","UsersTableBody","usersData","setSuspendedPayload","UserActions","trashUserHandlr","unArchiveUserHandlr","suspendedUserError","TriangleExclamationSolidV6","CrmAccessModalForUsers","Users","setUsersData","onLoadFunctions","lowerCaseSearchText","curUsersData","SuspendError","UsersFilter","visited","TextLink","DEFAULT_YEAR_OPTIONS","DEFAULT_YEAR_OPTIONS_DROPDOWN","PERIOD_OPTIONS","HeadingSelect","Section","SectionLabel","BRIVITY_COLORS","color1","color2","color3","PLACE_COLORS","DashTooltipRow","DashTooltip","colors","YtdDifference","_value","postfix","isPositive","ArrowUp","ArrowDown","formatter","CardLabel","_ref2$className","ytdDifference","_ref2$tooltip","_ref2$valueColor","valueColor","StatCard","_stats$mainStat","asCard","_ref2$stats","stats","link","mainStat","mainValue","getBusinessDashboard","axiosOptions","transformYtdTotals","Units","Volume","GCI","units","volume","setData","_React$useState4","abortController","AbortController","selectedYear","isCancel","abort","SNAP_STAT_CLASS","Spacer","transactionType","setTransactionType","_useTransactionSnapsh","useTransactionSnapshot","isThisYear","isLastYear","transactionTypeData","queryParams","URLSearchParams","ytdClosed","mtdClosed","comingSoon","pipeline","Loader","Tab","selected","isPadded","enabledAndSelected","TabBar","Children","isValidElement","cloneElement","BasicStat","SIZES","setChecks","checkNum","currentChecks","newChecks","TOOLTIP_ID","renderCell","renderTooltip","_context$tooltip","caretX","caretY","xAlign","yAlign","tooltipEl","halfHeight","rightPx","clientWidth","chart","canvas","getBoundingClientRect","left","pageXOffset","top","pageYOffset","pointerEvents","renderOverviewTooltip","_rawData$chartData","_rawData$chartData2","_rawData$chartData3","_rawData$chartData4","_rawData$chartData5","datasets","agentUuid","_context$tooltip2","dataPoints","datasetIndex","dataIndex","dotColor","labelKey","getLabelKey","textYear","estText","gciText","chartData","companyIncome","avgSalePrice","renderPapTooltip","_ref5$dataset","rookieAgents","experiencedAgents","today","LABELS","Closings","Pendings","Listings","getLabels","rangeType","getFailedPendingsPercent","failedPendings","unitsPended","getVariableColor","createClosingsRow","unitsClosed","volumeClosed","gciClosed","avgSalePriceClosed","unitsToBeClosed","volumeToBeClosed","gciToBeClosed","createPendingsRow","volumePended","gciPended","createListingsRow","listingsTaken","listingsVolume","listingsGci","comingSoonUnits","comingSoonVolume","comingSoonGci","chartType","checks","inspectedValue","setRawData","getSectionFromTab","checkLabels","variableColor","getCheckLabels","_ref$rawData","_ref$rawData$summary","summary","labels","inspectedKey","hidden","closed","pendedUnits","datalabels","align","hoverBackgroundColor","lineTension","barPercentage","toBeClosed","borderDash","closedPrevYear","pendedPrevYear","listingsTakenPrevYear","xAxisID","transformMonthlyOverviewData","tableData","totals","_ref3$rawData","rows","totalsRow","_chartData$units","_chartData$volume","_chartData$gci","_chartData$units2","failed","_chartData$units3","_chartData$volume2","_chartData$gci2","_chartData$units4","_chartData$volume3","_chartData$gci3","calendarMonths","divisor","_chartData$units5","_chartData$volume4","_chartData$gci4","_chartData$avgSalePri","_chartData$units6","_chartData$volume5","_chartData$gci5","transformTableData","chartOptions","plugins","legend","external","scales","stacked","grid","x2","ticks","beginAtZero","autoSkip","ceil","getChartOptions","selected_year","range_type","person_uuid","serverData","getFullscreenElement","mozFullscreenElement","webkitFullscreenElement","fullscreenElement","isFullscreen","setIsFullscreen","onFullscreenChange","toggleFullscreen","mozExitFullscreen","webkitExitFullscreen","exitFullscreen","mozRequestFullscreen","webkitRequestFullscreen","requestFullscreen","BORDER_STYLE","Table","THead","TBody","TH","onSort","SortUpSolidV6","SortDownSolidV6","TR","wrapText","_excluded5","TD","_excluded6","TableHead","colspan","TableModal","getMonth","CustomSingleValue","basic","isAllSelected","CustomBasicSingleValue","dropdownItems","ytdEndDate","ytdStartDate","calendarEndDate","calendarStartDate","ChevronDownSolidV6","setChart","MonthlyOverview","MONTHLY_OVERVIEW_OPTIONS","getDateDropdownOptions","radiogroupRef","setRangeType","setInspectedValue","setChartType","isTableModalOpen","setIsTableModalOpen","_useFullscreen","useFullscreen","_useMonthlyOverview","useMonthlyOverview","CustomValueContainer","closedUnits","closedGci","toBeClosedUnits","estTotalGci","pendedVolume","pendedGci","Report","ChartLine","Bar","Line","ChartDataLabels","setCheck","validateNumber","strOrNum","precision","unformattedValue","_ref2$","_ref2$2","decimalPortion","substring","finalValue","NumberField","setSelectionStart","setIsFocused","isCurrency","valueString","_validateNumber2","onPaste","clipboardData","getData","metaKey","ctrlKey","GOALS_API_URL","GOAL_TYPES_API_URL","weeklyMultiplier","monthlyMultiplier","goalValueToYearly","goalTypeName","transformGoal","goalType","goal","goalValue","_ref2$load","load","_ref2$period","defaults","goals","goalTypes","goalSection","userUuid","createGoalType","prevRawData","updateGoalType","gt","deleteGoalType","createGoal","newGoal","goalsKey","goalTypeId","updateGoal","updatedGoal","_objectSpread5","GoalModal","onGoalCreated","useGoals","formRef","onFormSubmit","goal_value","goalId","onSubmit","PORTAL_ID","_ref$current","_ref$current2","offsetWidth","offsetHeight","visibility","tooltipContainer","MAX_ANGLE","polarToCartesianCoords","deg","rad","PI","cos","sin","Arc","center","startAngle","endAngle","onMouseEnter","onMouseLeave","strokeWidth","pathRef","isHovering","setIsHovering","_polarToCartesianCoor2","startX","startY","_polarToCartesianCoor4","endX","endY","largeArcFlag","svg","parentElement","_svg$getBoundingClien","svgR","_polarToCartesianCoor6","tooltipX","tooltipY","scrollX","scrollY","strokeDasharray","strokeDashoffset","strokeLinecap","TooltipContainer","RingChart","baseTooltip","fullWidth","preserveAspectRatio","stroke","textAnchor","alignmentBaseline","onSetGoal","_ref$data","hasGoal","chartLabel","prevYearYtdDifference","transformGlanceToChartData","_ref2$goal","initialGoal","_ref2$ytdGoalTarget","ytdGoalTarget","_ref2$total","prevYearYtdTarget","currentPercentage","targetPercentage","transformGoalProgress","_ref3$goals","reload","GoalsSection","setGoalType","_useGoals","RingChartCard","getListingUrl","dataKey","end","indexAxis","responsive","aspectRatio","maintainAspectRatio","_ref5$","_ref5$2","parsing","onHover","activeElements","stepSize","customDatasetIndex","_ref$chart","ctx","chartArea","hasCustomDatasetIndex","workingDataset","valueWidth","textWidth","selectedSources","setChartData","ytdClosedUnits","netFromSources","setSummary","sourceLabels","leadSources","_selectedSources$","allSelected","aTotal","sold","getChartTextAlignment","anchor","xAxisKey","yAxisKey","transformBusinessByLeadSourceData","transformSummaryData","createLeadSourceChartOptions","BusinessByLeadSource","_chartData$datasets","chartRef","setSelectedSources","_useBusinessByLeadSou","useBusinessByLeadSource","_useBusinessByLeadSou2","_chartRef$current","CustomOption","currentSources","transformClosingsBreakdown","tenant","landlord","_ref3$units","_ref3$volume","_ref3$gci","Percentage","BreakdownRow","unitsPercent","avgClosePrice","avgCommission","avgCommissionPercent","ClosingsBreakdown","_useClosingsBreakdown","useClosingsBreakdown","_useClosingsBreakdown2","EMPTY_CLOSINGS_BY_AGENT","getColor","formatData","otherItem","getChartData","showClosed","showPending","sortedAgents","sortAgentsByOption","closedKey","pendingKey","right","_Object$values","_ref8$","_ref8$2","callbacks","_data$datasets","setType","setOption","setShowClosed","setShowPending","rerender","setRerender","_useAgentProduction","useAgentProduction","isBrivity","_ref$rangeType","_setState","newState","oldState","getRecruitingPipeline","TooltipRow","TooltipContent","held","appointmentCancelled","noShow","appointmentComplete","notAFit","signedRecruit","PipelineStat","labelTooltip","valueContent","completedContent","ArrowRightLongSolidV6","RecruitingPipelineSection","monthlyOverviewOptions","_useRecruitingPipelin","useRecruitingPipeline","recruitingSubscription","setRecruitingSubscription","useRecruitingSubscription","recruiterLink","BriefcaseSolidV6","calls","contacted","meetAndGreet","screening","recruitingFollowUp","recruitingAppointment","signingAppointment","signed","Loading","SingleStatCard","transformSummaryTotals","_ref$avgMtdSalesPrice","avgMtdSalesPrice","_ref$avgYtdCommission","avgYtdCommission","_ref$avgYtdSalesPrice","avgYtdSalesPrice","_ref$estTotalGci","_ref$ytdCompanyDollar","ytdCompanyDollar","_ref$ytdPendingToClos","ytdPendingToClosedRatio","_data$summary","_data$summary2","_data$summary3","_data$summary4","_data$summary5","_data$summary6","_useTransactionSummar","useTransactionSummary","getDateRange","endDate","callsContactedRatio","contactedApptSetRatio","apptSetApptHeldRatio","apptHeldApptSignedRatio","apptSignedPendedRatio","pendedClosedRatio","filterKeys","transformedData","_rawData$filterKeys$","_rawData$filterKeys$2","actual","sum","filterKey","_rawData$filterKey$ke","round","onTarget","apptSet","apptHeld","apptSigned","pended","_err$response$data","CountsCallsTooltip","talked","SetHeldTooltip","getClassFromValue","InnerRing","valueClass","goalClass","buyerSeller","goToLeadView","Percent","FunnelRing","ringChartData","SalesFunnel","agentPersonId","na","setFilters","updateFilter","_useDateOptions","setDateRange","useDateOptions","_useSalesFunnel","useSalesFunnel","AngleRightSolidV6","Chart","defaultFontFamily","TransactionSummary","TransactionSnapshot","AgentProduction","getPostJsonHeaders","getAgentsAndTrackingNumbers","_yield$axios$get","trackingNumbers","tracking_numbers","mapTrackingNumberRoutes","createError","getAvailableNumbers","countryCode","areaCode","numbers","country_code","area_code","getAvailableTollFreeNumbers","getSources","createNewSource","buyTrackingNumber","routingMethod","shouldCreateLeads","noAnswerSetting","voicemailGreetingFilename","inboundRecording","inboundNotificationMessageCondition","tracking_number","inbound_recording","inbound_notification_message_condition","routing_rule","create_phone_number_leads","new_lead_source_id","voicemail_greeting","tracking_number_routings","no_answer_setting","trackingNumberId","tracking_number_id","_x14","_x15","_x16","_x17","updateTrackingNumber","_x18","_x19","_x20","_x21","_x22","_x23","_x24","_x25","_x26","_x27","deleteTrackingNumber","_x28","updateVoicemailGreeting","filename","blob","fetch","encodeURIComponent","_x29","_x30","_x31","checkForRoutingNumber","saveManagedNumber","CountryCodes","LeadAssignInfo","first_to_claim","pretty","round_robin","CallRecordingInfo","automatic","always","check","verticalMargin","AddBrivityPhone","onNumberSaved","setCountryCode","setAreaCode","numberOptions","setNumberOptions","chosenNumber","setChosenNumber","setIsFetching","getNumberOptions","_yield$getAvailableNu","fetchError","saveNumber","_yield$saveManagedNum","_Error","Divider","showPath","isCurrentNumber","selectedNumberId","changeRoutingNumber","detailId","routingNumber","updateRoutingPath","INBOUND_RECORDING_OPTIONS","OUTBOUND_RECORDING_OPTIONS","ADMIN_INBOUND_RECORDING_OPTIONS","ADMIN_OUTBOUND_RECORDING_OPTIONS","CallRecordingDropdown","updateUserRecordingSettings","callRecordingUserSettings","settings","agentsWithPhoneUsage","_agent$callRecordingS","_agent$callRecordingS2","_agent$callRecordingS3","_agent$callRecordingS4","_agent$managedNumber","addBrivityNumber","inboundByNumberDisabled","outboundByNumberDisabled","inboundDisabled","outboundDisabled","managedNumber","NameWithAvatar","RoutingNumbersDropdown","routingNumbers","routingNumberId","callRecording","_agent$callRecordingS5","_agent$callRecordingS6","outboundNotificationMessageCondition","inboundRecordingNotificationOptions","isTwoPartyConsentAccount","isPlaying","setIsPlaying","audioRef","Audio","audio","handleAudioEnd","pause","play","PauseSolidV6","PlaySolidV6","ShadowScroll","_ref$fromColor","fromColor","contentRef","contentDiv","wrapperDiv","shadowTopDiv","shadowBottomDiv","contentScrollHeight","currentScroll","NoticeTwoPartyConsent","showTwoPartyNotice","agreeTwoParty","setAgreeTwoParty","twoPartyRef","_state$phoneSettings","phoneSettings","placeBrand","isTwoPartyState","_state$phoneSettings2","twoPartyState","initialAgreeTwoParty","setFormValue","optOrEvent","outboundNotificationOptions","outboundRecordingNotificationOptions","inboundNotificationOptions","PlayMessage","agentToAddNumber","setAgentToAddNumber","isCallRecordingModalOpen","setIsCallRecordingModalOpen","ErrorRef","_yield$checkForRoutin","errorOnAdd","block","GearSolidV6","AgentRow","TeamCallRecordingSettingsModal","PhoneSettings","ButtonToggleOption","schemaStyle","ButtonToggle","hasAgreedToTerms","setHasAgreedToTerms","Goal","editedGoal","isDefault","showDeleteModal","setShowDeleteModal","isCustomGoal","accountId","Trash","DeleteGoalTypeModal","SectionHeader","onTabClick","selectedTab","setIsEditing","setPeriod","tabs","businessFormRef","businessAgentFormRef","businessGoals","businessAgentGoals","submitGoals","_businessAgentGoals$g","oldGoal","faPlus","setIsCurrency","handleSubmit","formErrorsOrValid","elements","display_name","checkFormValidity","GOAL_TABS","DefaultableGoals","customGoals","refresh","isCreateModalOpen","setIsCreateModalOpen","isTeamDefaultTab","defaultSelection","currentDefault","_data$key","_goals$key","defaultGoalValue","modifiedValue","oldGoalType","_data$key2","_data$key2$displayNam","_data$key2$format","_data$key2$goalValue","currentData","PlusIcon","CustomActivityGoalModal","onPointerDown","onPointerUp","teamActivityFormRef","teamActivityGoals","_teamActivityGoals$go","EMPTY_GOALS","sellerCommissionSplit","buyerCommissionSplit","pendingToCloseRatio","sellerToTotalClosingsRatio","cleanValues","transformGoals","_useState","setGoals","getGoals","global","saveGoals","cleanValue","validateGoals","_len2","_key2","goalWizardTeamDefaults","upsertGoals","_useProductionGoals","useProductionGoals","endsWithDecimal","endsWith","divider","cancel","confirm","onCancelEditing","onConfirmEditing","timeOnNewLine","iSpace","Display","_icon$props","iconAlwaysVisible","onInteract","showLineBreak","showRightAlign","displaySpanClassName","callOnInteractWhenNotDisabled","handleKeyDown","iconClasses","Edit","DisplayEditorToggleBase","editor","onClickedOutside","InlineEditingInput","valueFromProps","suffix","externalEditing","additionalTrailing","withCancelConfirm","displayClassName","editorClassName","displayComponent","validateInput","formatInput","ignoreExternalEdition","editing","setEditing","editingValue","setEditingValue","textComboInputRef","clickedOutside","setClickedOutside","handleInteract","cancelEditing","confirmEditing","displayWhenNoValueIsProvided","cancelConfirm","CancelConfirm","_validateInput","numericDefaultSize","onFlatSelected","onPercentSelected","removeCommas","commas","extractNumeric","removeLeadingZeroes","isValidValue","isValidPercentage","areValuesDifferent","valueA","valueB","FlatPercent","flatOrPercent","showToggle","inlineEditingInputRef","initialFlatOrPercent","setInitialFlatOrPercent","isFlat","LabeledFlat","_ref$type","wizardData","initialGoals","showIncomeGoal","setShowIncomGoal","showMore","setShowMore","baseGoals","setBaseGoals","resetDisabled","brokerageCap","brokerageSplitPercentage","currentNetIncomeGoal","royaltyCap","royaltyPercentage","maxBrokerageCap","maxRoyaltyCap","averageSalePrice","pendingToCloseRatioPercent","sellerToTotalClosingRatioPercent","averageCommission","sellerCommission","buyerCommission","listedUnits","BullseyeArrowRegularV6","more","BASE_GOALS","sellerToTotalClosingRatio","getWizard","setLocalGoals","recommendedGoals","saveGoal","useWizard","setCurrentNetIncomeGoal","RecommendedGoals","setMenuIsOpen","teamProductionIsOpen","setTeamProductionIsOpen","wizardIsOpen","setWizardIsOpen","dropdownOptions","setAgent","searchParams","history","pushState","pathname","TeamDefaultsProductionModal","TeamProductionWizardModal","TeamBusinessGoals","WandMagicSparklesSolidV6","TeamActivityGoals","ReportingGoals","useEventListenerAction","actionable","CLEAR_MODAL_FILTER_ID","AgreementDateSelect","previousSelectedExpirationDate","previousSelectedSignedDate","expirationDateOptions","signedDateOptions","selectedSignedDate","setSelectedSignedDate","selectedExpiredDate","setSelectedExpiredDate","menuPlacement","focused","variantDictionary","FilterPill","AgreementStatusSelect","previousSelectedStatus","selectedStatus","setSelectedStatus","handleOnChange","prevSelectedStatus","AgreementTypeSelect","previousSelectedAgreementType","selectedTypes","setSelectedTypes","prevSelectedType","AgreementFilters","isNewHeader","modal_css","_ref$alert","activeForEmails","activeForAppNotifications","createStatusText","formatedPrice","formattedPriceRange","formattedRange","lotSizeToString","yearOptions","firstOption","allYears","mapStateToAlert","alertId","search_id","searchName","search_name","priceMin","price_min","priceMax","price_max","bedsMin","numbeds_min","bedsMax","numbeds_max","bathsMin","numbaths_min","bathsMax","numbaths_max","sqFtMin","sqfeet_min","sqFtMax","sqfeet_max","lotSizeMin","lotval_min","lotSizeMax","lotval_max","yearMin","year_min","yearMax","year_max","garageMin","garage_min","garageMax","garage_max","requirePhotos","photos_available","storiesMin","stories","mlsIds","polygon","convertPolygonForAlert","propertySubTypes","poolFeatures","parkingFeatures","propertyFeatures","interiorFeatures","exteriorFeatures","communityFeatures","greenFeatures","view","heating","cooling","lotFeatures","homeStyle","financialInformation","legacyFields","ccEmails","cc_emails","templateId","templateName","listing_alert","formatLocationsForAlert","searchingByTerm","mapAlertToState","existingAlert","doesLeadHaveApp","_formatLocationsForMu","formatLocationsForMultiSearch","locationCategories","locationValues","multi_search_array","multi_cat_array","convertPolygonForMap","saved_date","createdAt","search_url","searchUrl","radioButtonClass","dropDownOptions","bathroomOptions","searchFrequencyOptions","showInstant","lotSizeOptions","storiesOptions","sqFTOptions","neighborhoodCityStates","cityStates","countyStates","postalCodes","elementarySchools","middleSchools","highSchools","schoolDistricts","mlsAreas","buildingNames","mlsNums","lat","lng","formatLocationsForDisplay","locations","categoriesMapped","_multi_search_array$i2","_multi_search_array$i4","_multi_search_array$i6","formatPoint","_p$replace$split2","ViewAllListingAlertsModal","_Component","handleDelete","listingAlerts","openAddModal","openEditModal","websiteUrl","HeaderTitle","modal","alertIndex","marginRight","css","brivityPersonDetailsLabel","inlineLabelValue","AlertStatus","capitalize","AdvancedOptions","CollapsedMax","collapsedView","toggleShowMoreOptions","prevState","showMoreOptionsClass","transitions","isOptionSelected","selectedAdvancedOptions","search_value","search_category","toggleOptionSelection","handleChecked","sortedOptions","AdvancedOption","ChevronUpSolidV6","AddCCEmails","ccEmail","validEmail","displayEmail","addEmail","removeEmail","Map","gblDrawListener","polygonObject","drawPoly","multipolygonWKT","polylines","point","splitPoint","drawOrCancelButton","controlDiv","dmap","mobile","controlUI","controlText","polygonCoordinates","_self","$","html","enableMap","setMap","google","maps","clearListeners","getDiv","disableMap","animate","addDomListener","drawFreeHandOnMap","poly","Polyline","clickable","strokeColor","strokeOpacity","strokeWeight","fillColor","fillOpacity","addListener","getPath","latLng","addListenerOnce","mapRangeInDegreesLatLng","calculateMapRangeInDegrees","simplifiedLinePath","simplifyLine","Polygon","editable","editPolyVerticies","removeMarkersMobile","vertex","getPaths","getAt","getLength","removeAt","vertices","getArray","contentString","hasListeners","editPolyVertexListener","clickToDeleteVertexListener","stopPoint","handlePolygonUpdate","componentDidMount","geoCodeAccountAddress","Brivity","SetUpGetBounds","centerOnUS","zoom","mapTypeId","panControl","geocoder","Geocoder","geocode","setCenter","geometry","polyArray","polygonFromCoordinates","fitBounds","getBounds","drawControlDiv","controls","ControlPosition","TOP_RIGHT","componentWillUnmount","_ref$templates","onTemplateChosen","categoryPosition","currentCategoryPosition","currentChildPosition","handleHover","positionClass","multiCat","multiSearch","removeSearchTerm","mapSearchFromMultiCat","multiCatArray","multiSearchArray","searchValue","multiCatAtIndex","searchResult","SearchAutocomplete","multi_search","searchTermActive","selectedSearchTerms","fetchResults","idsArrayQuery","doFetchResults","groupedResults","groupBy","mappedResults","object","selected_fields","orderedResults","v1","v2","handleMouseSelect","handleAddSearchTerm","handleRemoveSearchTerm","_this$state","keyCode","selectedTerm","termValue","mapPropsToSearch","prevProps","propsUpdated","_this$state2","autoComplete","SearchTermResults","SearchTermBubble","getAvailablePropertyTypes","createHeaders","getAvailableFeatureFilters","_yield$axios$get2","filter_options","getWebsiteDomain","_yield$axios$get3","website_domain","getListingCounts","_yield$axios$post","getInstantAlertsEnabled","_yield$axios$get4","instant_alerts_enabled","getQueryStringForIdx","_yield$axios$post2","search_query","getAlerts","personSlug","createAlert","updateAlert","getTemplates","_yield$axios$get5","asPrice","formatPrice","addParametersToImageUrl","quality","decimalPlaces","formatSimplePrice","_i","_slicer","abbr","ExistingFeatureFields","calculateAgentStats","soldProduction","soldUnits","boughtUnits","boughtProduction","closePriceTotal","listPriceTotal","standardStatus","soldPrice","getOriginalPrice","isSellerAgent","totalClosed","ratio","avgListPrice","grossProduction","totalListings","_listing$history","_step2","_iterator2","hist","_step3","_iterator3","ListAgentTypes","_setPrototypeOf","ListingAlert","home_app_last_login","_this$setState","_this$setState2","getCountsAndUrl","templateData","toggleButtons","togglePropertyTypes","togglePhotosAvailable","isPropertyTypeSelected","toggleAdvanced","isFeatureValueSelected","removeAdvancedFeatureValue","addAdvancedFeatureValue","fields","matchAny","excludeTerm","newFieldList","newFieldsList","_this$state$multi_sea","_this$state$polygon","countsPromise","urlPromise","_yield$Promise$all","_yield$Promise$all2","listingCount","queryString","listingAlertCounts","websiteDomain","submitDisabled","handleFormSubmit","closeListingAlertModal","indexOfTerm","coords","handleAddEmail","handleRemoveEmail","emailToRemove","formatFeatureFields","chosenFields","cf","hasRequiredFields","_this$state$multi_sea2","_this$state$polygon2","hasLocation","instantAlertsEnabled","advancedOptions","_componentDidMount","promises","_yield$Promise$all3","_yield$Promise$all4","isCreatingTemplate","noTemplateChosen","newTemplateChosen","previousAlert","currentAlert","validIds","selectedIds","submitButton","featureFields","propertyAdvancedOptions","financialAdvancedOptions","_Object$keys","alertInstructions","form_css","TemplateSelect","CCEMail","PriceInput","AlertDropdown","currentValue","isMinField","optionsFunc","MatchingResults","secondaryAlert","boundary","AddListingAlertModal","EditListingAlertModal","AllListingAlertPreview","hasActiveIdxAlerts","hasIdxAlerts","editListingAlertModalOpen","setEditListingAlertModalOpen","setAddListingAlertModalOpen","listingAlertsModalOpen","setListingAlertsModalOpen","indexOfAlertToEdit","setIndexOfAlertToEdit","setListingAlerts","setMlsIds","_useState14","setWebsiteUrl","openListingAlertModal","website_url","mls_ids","OverlayTrigger","overlay","active_idx_alerts","idx_alerts","getColorStyle","AssignedPlanRow","updatePlanState","onShowPlanModal","onShowDeleteModal","total_completed_actions","assigned_actions_count","next_action_description","getActionById","getAutoPlanActionById","filterAssignedPlans","runAtLabel","runAtValue","runAt","completedAt","LocalTimeZone","visibilityLabel","onActionDelete","assignedPlanName","assigned_plan_id","descendants","descendant","isDeletingPlan","onPlanDelete","circleStyle","DEFAULT_CLASS","timeWithZoneFormat","formattedTimeFromUtcDateTimeString","dateTimeString","actionLookup","delayUnits","seconds","hours","generateTimeString","run_at","run_time","timeString","actionSubtitle","schedule_type","failed_message","atOrBy","when","delayUnitLabel","dayLabel","timeToRun","actionSubtitleForEvent","iconOptions","dateLabel","eventDetailString","milestone_name","parentAction","assigned_to_label","assigned_for_label","template_body","failed_description","failed_description_type","dayLabels","RecurringDetailInnerFields","onDaysOfFrequency","recurringDaysOfFrequency","recurringLimit","recurringOnlabel","planType","RecurringDetail","recurring_limit","recurring_days_of_frequency","Linkify","defaultProtocol","AssignedPlanDetail","circlePropsFromState","assignedPlanState","additionalClass","restartButtonText","markAsComplete","onActionUpdate","restartAssignedAction","canRestartAction","_action","renderActionGroup","groupType","subGroupType","actionInDisplayId","groupLabel","sortByField","renderAction","previewAssignedAction","Circle","actionInDisplay","sortedActions","sortedAction","determineActionInDisplay","parent_action_id","grouped_actions","subGroupKey","InteractionDetail","TaskDetail","PlayOrPauseButton","isPaused","PlayOrPauseIcon","Play","Pause","deleteAssignedAction","getAssignedPlan","showDeleteAssignedActionModal","showDeleteAssignedPlanModal","updateAssignedAction","updateCallback","AssignedPlanDetailPreview","showApplyModal","showPlansModal","showPlanModal","showPreviewPlanModal","assignableType","toggleCompletedPlans","toggleDeletedPlans","submitApplyModal","isCreatingAssignedPlan","assignedPlansPath","updateValues","AddAutoPlanModal","onApply","isApplying","onPreview","disableInteractionButtons","availablePlansLoading","availablePlansAsOptions","selectedAutoPlan","onSelectAutoPlan","AssignedPlanForm","assignedPlansCreators","onCloseAction","onSubmitAction","canOpenPreview","planOptions","autoPlanOptions","_ref2$assignedPlans","bindActionCreators","renderDeleteActionModal","showPlanCallback","afterDeleteCallback","DeleteActionModal","renderDeletePlanModal","DeletePlanModal","renderPlanModal","closeModalCallback","PlanModal","renderPlanPreviewModal","PlanModalPreview","renderApplyModal","emptyPlanTypeMessage","AssignedPlansTable","renderEmptyState","renderLoadingState","platformAccount","AccountsAppstore","_this$props3","renderTableMessage","hasFilteredPlans","_this$props4","hasPlans","_this$props5","filteredAssignedPlans","configureStore","AssignedPlansContainer","AssignedPlansCard","safeCount","whenStateChangedLabel","timeLabel","canDeletePlan","emptyPlansLabel","filteredLength","totalLength","onShowApplyModal","onShowDeletePlanModal","filtertedAssignedPlans","AssignedPlansPreview","stateDescription","handleOpenPlans","soe","toggleLightBox","stateTooltip","stateOfAssignedPlans","assignedPlansState","renderPlansModal","assignableName","_getAssignedPlans","AssignedPlansPreviewContainer","AutoPlanNameForm","handleSaveName","handleNameChange","toggleEdit","updateName","SUBJECT_LINE_LIMIT_ERROR","isWithinSubjectLineLimit","errorMsg","setErrorMsg","errorTrigger","setErrorTrigger","fetchAutoPlanSuccess","toggleTaskInstructions","toggleTaskNote","handleAutoPlanChange","openDeleteActionModal","closeDeleteActionModal","openNewActionModal","closeNewActionModal","openEditActionModal","closeEditActionModal","updateActionValues","updateActionManyValues","submitActionPending","submitActionFailure","createActionSuccess","beginDeleteAction","saveAutoPlanPreferences","autoPlanUpdatePath","saveAutoPlanName","updateAutoPlanNameSuccess","getAutoPlan","saveAction","actionPath","auto_plan_action","createAction","getAction","updateAutoPlanPreferencesForm","resetAutoPlanPreferencesForm","priorityOptions","recurringFrequencyOptions","weeklyOptions","monthlyOptions","timeUnitOptions","timeUnitOptionsForEvents","delayFactorOptions","peopleAutoPauseStatusOptions","transactionAutoPauseStatusOptions","peopleCompletionStatusOptions","transactionCompletionStatusOptions","canBeContingent","scheduleType","triggerOptions","increment","utc","valueForSort","findDefaultRunAfterTimeOption","shortDelayUnits","autoPlanNameLabel","CCSearchResults","shortQuery","searchQuery","searchQueryLength","search_query_length","noResults","highlightedIndex","unhighlight","selectObject","cc_type","CCFor","getRoleResults","roleResults","showRoleResults","handleSearchChange","getResults","displayZeroResults","showResults","hideSearchResults","highlightedResult","setTarget","onOptionSelect","assigned_to_type","selectByIndex","newResult","indexDown","indexUp","keyPressHandler","keyPressOptions","highlightedValue","_this$state3","getToken","_data$token","timeoutId","valueOf","contactUuid","_ref$messageType","messageType","onInsertClick","side","textareaId","isTinyMce","tinyMceDocument","setTinyMceDocument","_useAiToken","useAiToken","setInterval","tinyMCE","activeEditor","contentDocument","clearInterval","AiComponentsProvider","AiAssist","Detail","_onChange","InstructionsLink","NoteLink","Instructions","AiAssistant","_onChange3","Note","_onChange5","PriorityOptions","op","_onChange7","parseInt","visibilityOptions","VisibilitySection","anyoneOption","for_type","AssignTo","prependAnyoneOption","propsOptions","propsPlaceholder","RunTime","ComputedTime","parentActionId","Event","delayFactor","milestoneId","milestoneOptions","currentDelay","milestone_id","Schedule","ScheduleSelector","Delay","_ref14$delayFactor","delayOnChange","delayValue","delayUnitValue","delayUnitOnChange","_delayOnChange","DelayAndScheduleLabel","delayLabel","scheduleLabel","daysOfFrequencyValueHelper","RecurringOptions","frequencyValue","daysOfFrequencyValue","limitValue","newFrequency","EmailCCSelector","onOptionRemove","onRadioChange","onToggleBCC","showAddBCC","EmailCCSelectorV2","defaultTask","TaskForm","toggleInstructions","autoPlanActions","toggleNote","actionsPath","assignedToOptions","handleDelayUnitChange","handleScheduleTypeChange","onActionSubmit","onAssignedToChange","assignedToValue","assigned_to_id","assigned_to_role","autoPlanActionCreators","placeholders","dataPlaceholders","createEditor","selector","execCommand","editors","defaultEmail","ccPlaceholders","EmailForm","emailTemplateOptions","subject","updateTinyMceEditor","tinymce","setContent","handleTemplateChange","activeTemplate","templateBody","json","template_id","emailContentFromUncontrollerComponent","getContent","displayBCC","showBCC","getCCLabels","loadLabelsForCC","cc_role_uuids","cc_people_uuids","bcc_role_uuids","bcc_people_uuids","bcc_emails","_isMounted","ccType","bccType","componentWillMount","bccPeopleUUIDs","bccEmails","nextProps","stateBccEmails","bccPeople","bccRoles","stateCcEmails","ccPeople","ccRoles","assignedForOptions","hideAssignedFor","onAssignedForChange","onCCChange","assignedForValue","assigned_for_id","assigned_for_role","ccPeopleUUIDs","ccRoleUUIDs","bccRoleUUIDs","_tinymce","BrivityTextEditor","defaultText","TextForm","insertPlaceholder","textMessageInput","placeholderOptions","Action","Text","Task","parent_action","afterActionLabel","ACTION_BTN_LABEL","onSaveDateAdapter","day_month_year","dateTimeInLocal","isDST","formattedDateTime","convertDateFormat","inputDate","dateObj","pad2","getDate","getHours","getMinutes","formatDateAndTimeToDatePicker","_date$split$map2","_time$split$map2","hour","minute","hour12","hasProperties","checkIfDateStringIsWithinRange","dateStringYear","extractYearFromDateString","modalComponents","Actions","scheduleTypeLabels","handleActionUpdate","validateForm","handleActionCreate","newValues","delayUnit","isEveryNDaysValid","setTriggersForModal","_this$props$actionFor","idForThisAction","_Object$entries","optionsForScheduleType","_i2","_Object$entries2","_Array$prototype","optionsForEvent","timelineGroup","timelineAction","relativeTimeLabel","timeOfDayLabel","unitLabel","milestoneTimeLabel","timeOption","deleteButton","handleDeleteAction","showNewActionModal","formOverrides","runAfterTime","nDaysValue","groupHeader","renderDeleteModal","subjectErrorMsg","handleAssignedToChange","_newValues","resetFields","assignedToType","resetValues","resetField","handleAssignedForChange","_newValues2","assigned_for_type","assignedForType","handleCCChange","roleUuids","peopleUuids","_autoPlanActions$upda","filteredSet","timeOptionLabel","_this$props6","propsEmailTemplates","createOrUpdate","ModalForm","enforceFocus","treat_assignable_as_assigned_for","renderActions","renderNewActionButtons","groups","_this$props7","restOfTimeline","_ref5$autoPlanEdit","taskBtnOnClick","emailBtnOnClick","textBtnOnClick","TimeStamp","_inputDate$split2","localRunTime","toLocaleDateString","TYPE_ICON_MAP","ListUlSolidV6","EnvelopeRegularV6","CommentDotsRegularV6","TypeIcon","ArrowTurnUpSolidV6","PriorityIndicator","ActionHeader","ACTION_TYPE_TOGGLE_MODAL","showBtns","toggleBtns","toggleModal","local_run_at","ActionDescriptor","SpecificDatesActions","listOfAllActions","ActionV2","SpecificDatesAddNewActions","AddNewActions","expand","setExpand","Chevron","hasActions","CalendarDaysSolidV6","checkedValue","handleUpdate","AssignToDropdown","TYPE_TO_USE_ID","lookupValue","TaskDetailField","ComputedTimeOptions","EventOptions","DateTime","setChecked","BtnToggle","TaskInputToggle","TaskToggles","setInstructions","setNotes","isInstructionsOpen","setIsInstructionsOpen","isNotesOpens","setIsNotesOpen","useFormState","setStateHandlr","ErrorInModal","additionalErrors","DEFAULT_STATE","TaskActionModal","formSubmitAction","_useFormState","dateStr","_convertDateFormat","PriorityRadio","EmailSubjectField","EmailTemplateDropdown","stateValue","CC_PLACEHOLDERS","CCRadioButtons","ccPeopleUuids","ccRoleUuids","setCCType","BCCField","bccPeopleUuids","bccRoleUuids","isBccOn","setBcc","CC_TYPE_TO_STATE_MAP","Role","Person","BCC_TYPE_TO_STATE_MAP","people_uuids","role_uuids","EmailActionModal","_useSubjectLineLimitE","useSubjectLineLimitError","ccRes","bccRes","ccKey","idxToRemove","bccKey","InlineEditingSelect","displayLabel","displayIconAlwaysVisible","displayData","dropdownRef","setClosed","longestOption","_a$label","_b$label","defaultContent","repeat","resizeControlBasedOnText","resizeDropdownInputBasedOnOptions","controlRef","TextField","placeHoldr","setPlaceHoldr","textMessageInputRef","TextActionModal","TEXT_EXPIRED","STATUS_CHANGE","AUTO_PAUSE_ON_COMPLETE","autoPauseReplyOrExpireNames","filterGroupOptionsByPlanTypes","planTypes","forType","peoplePlaceholders","transactionPlaceholders","completionStatusOptions","autoPauseStatusOptions","validPlanTypes","filteredAssignedToOptions","filteredAssignedForOptions","filteredMilestoneOptions","forPlanType","autoPauseReplyOrExpireName","actionFormSubmitHandlr","isPosting","appendedRequestPath","useActionFormSubmitHandler","_assignedToOptions$op","yearErrorMsg","adaptedForm","ChevronLeftSolidV6","AutoPauseOnCondition","SpecificDates","autoPlanStartingTime","starting_time","AutoPlanEdit","previousSelectedStates","togglePlanDropdown","inputId","CheckboxGroupHeading","selectedOptions","updateSelectedOptions","groupOptions","groupOption","selectedGroupOptions","selectedOption","selectAll","selectNone","DropdownWithMultiCtrlledRemovable","ctrlName","placeHolderTxt","dropdownClassName","placeholderNoSelected","eventListenerId","OptionComponent","withMultiValue","setWithMultiValue","placeHolderText","AutoPlanNameSelect","previousSelectedPlanIds","setAutoPlans","selectedNames","setSelectedNames","temphashOptions","aps","isPlanDropdownDisabled","setisPlanDropdownDisabled","AutoPlanStateSelect","AutoPlan","autoPlansRootPath","onCloneAction","peopleEnrolledCount","numEnrolled","planName","baseLeadFilterPath","leadFilterParams","encodeURI","textDecoration","onShareAutoPlan","onDeleteAutoPlan","actions_count","assigned_plans_count","contentEditable","ShareAutoPlanModal","nextEmailValue","sharedEmails","which","last","nextEmail","copiedPlan","handleCloseModal","allEmails","elem","copySharingLink","sharingAutoPlanLink","sharingLink","SharedEmail","handleDismissAlert","intentOptions","intents","recruit","candidate","_React$PureComponent","showTriggerModal","triggersPath","getTriggers","triggerPath","intent","source_slug","source_name","defaultTrigger","TriggerForm","onSubmitPath","onTriggerChange","closeAction","Triggers","renderTriggerDeleteModal","deleteTrigger","closeTriggerDeleteModal","isDeletingTrigger","deleteCallback","renderTriggerFormModal","updateTriggerValues","closeTriggerModal","createTrigger","updateTrigger","accountUuid","updateOrCreateTrigger","afterSubmitCallback","triggerSavePath","activeTrigger","openTriggerDeleteModal","hasTriggers","propsAutoPlanForm","autoPlansCreatePath","onFormChange","treatAssignableAsAssignedFor","formToSubmit","AutoPlansForm","deleteNow","setDeleteNow","alignSelf","flex","dir","TableLabel","_state$sortedAutoPlan","appRootUrl","sortedAutoPlans","hasAutoPlans","pluralizedAccount","showLoadMore","matcher","DismissibleAlert","SortCarets","NewAutoPlanModal","PreviewAutoPlanModal","DeleteAutoPlanModal","saveTriggerFailure","deleteTriggerPending","deleteTriggerSuccess","deleteTriggerFailure","fetchTriggersSuccess","triggerActions","AutoPlans","getBusinessSettingsApi","saveBusinessSettingsApi","removeBusinessImageApi","isTeam","loadBusinessSettings","onFailure","creators","_response$data2","saveValue","_response$data3","_response$data4","removeImage","_response$data5","_response$data6","saveOffice","_response$data7","_response$data8","Card","uploadFiles","onAdd","fileError","_ref$config","_ref$onProgress","onProgress","bucket","dataFields","fileProgress","groupProgress","progressEvent","totalCompleted","k","cur","totalSize","random","field","saveFile","uploadError","_data$querySelectorAl","_data$querySelectorAl2","_ref3$onProgress","onUploadProgress","DOMParser","parseFromString","downloadFile","filePath","URL","createObjectURL","revokeObjectURL","onReplace","UploadSolidV6","UploadImage","uploading","setUploading","inputUpload","inputUploadFn","multiple","onInput","accept","ActionImage","team_logo_image_url","broker_image_url","territories","getProvinceObject","DisplayRow","tooltipIconClassName","alwaysEdit","Comp","displayValue","isDD","firstUpdate","renderValue","renderNewBtn","renderEmptyValue","renderEditComp","InfoCircleSolidV3","CaretDownSolidV6","blur","EdiableTitle","setFocused","OfficeCard","SECTIONS","EditableTitle","TrashAltSolidV3","sec","comp","account_offices","_model$account_office","TextInputWrap","isAddress","_getProvinceObject","GET_SECTIONS","showOfficeModal","setShowOfficeModal","officeRemovalId","setShowOfficeRemovalModal","mapModelToOffice","_m$address","_m$address2","_m$address3","_m$address4","_m$address5","_SECTIONS$find","_SECTIONS$find2","office","officeIdx","_SECTIONS$find3","offices","_SECTIONS$find4","OfficeRemovalModal","NewOfficeModal","account_offices_attributes","LinkField","hideActions","actionLabel","onActionButtonClick","secondaryActionLabel","onSecondaryActionButtonClick","Link","hasSecondaryAction","LinkInput","isTeamNameEditable","isSuperUser","_useTheme","_useCurrentUser","placeOnly","defaultMenuIsOpen","TeamCard","BrandingCard","OfficeCards","SocialCard","ReviewCard","Main","ResultsBanner","isToggleON","homeValueReportCount","totalLeads","isCreate","ArrowTrendUpSolidV6","CreateReports","selectedLeads","marketReportCount","handlePropertyTypeChange","selectedPropertyType","handleDripFrequencyChange","handleSearchRadiusChange","searchRadius","selectedSearchRadius","ContactAddresses","selectedContactAddress","handleContactAddressChange","dripFrequency","selectedDripFrequency","handleHVToggleChange","NoMLSModal","closeOptionsModal","SpinnerModal","UpdateFrequency","validReportCount","UpdateOrCreateConfirmModal","saveDialog","SEARCH_RADIUS","DRIP_FREQUENCY","CONTACT_ADDRESS_TYPES","TOGGLE_OPTIONS","BulkReportsOptionsModal","showStatusModal","isOpenUpdateModal","setIsOpenUpdateModal","isOpenCreateConfirmModal","setIsOpenCreateConfirmModal","setSelectedDripFrequency","setSelectedContactAddress","selectedRadio","setSelectedRadio","_useState16","selectedMls","_useState18","setSelectedPropertyType","_useState20","setPropertyTypes","_useState22","setSelectedSearchRadius","_useState24","hasApprovedMls","setHasApprovedMls","_useState26","setIsToggleON","getAllMlsPropertyTypesForUser","getReportSender","PeoplePage","multiSelect","getSelectedObjectIds","people_ids","pt","reportSender","mls_data_source_id","contact_address_type","include_home_value","closeNoPlatformModal","cmaAppStoreScreenshot","HubspotRequestDemoModal","hbspt","head","getElementsByTagName","js","forms","formId","BulkApplyMarketReports","optionsModalOpen","changeReports","createReports","contacts","validIdsWithAddressMarketReport","validIdsWithReports","getValidLeads","peopleWithAddresses","withReport","noPlatformModalOpen","showGetDemo","platform","renderOptionsModal","renderNoPlatformModal","BulkReportsNoPlatformModal","closeRequestDemo","CCEmails","handleEmailSelected","CircleExclamationRegularV6","selectedLeadUuids","closeConfirmationModal","valid_leads","validLeadCounts","setValidLeadCounts","loadingValidLeads","setLoadingValidLeads","lead_uuids","resp","ToggleOffSolidV6","VolumeHighSolidV6","DncBanner","highlighter","outlineOffset","outlineColor","suggestions","MentionablePersonTextArea","getMentionableUsers","mentionable_id","mentionable_type","isUuid","mentionableUsers","filterMentionableUsers","personAvatar","textareaFocus","MentionsInput","MentionInputStyles","isExternal","Mention","displayTransform","markup","mentionStyles","renderSuggestion","suggestion","highlightedDisplay","outcomeOptions","callOutcome","onFieldChange","currentParticipantId","PillButton","IntentDropdown","currentref","handleToggle","setshow","IntentDetails","ArrowRightSolidV6","UserLargeSolidV6","getStatusClass","stat","StatusDropdown","btnClassName","expanded","setExpanded","statusIntentCss","updateValue","shape","StageOption","stageOption","selectStage","optionClassName","div","PopoverContext","usePopoverContext","PopoverTrigger","propRef","_usePopoverContext","getReferenceProps","PopoverContent","transitionRef","_usePopoverContext2","descriptionId","elementsRef","getFloatingProps","labelId","popoverRef","FloatingFocusManager","FloatingList","PopoverItem","checkboxProps","_usePopoverContext3","activeIndex","selectedIndex","_useListItem","useListItem","Popover","popover","_ref$initialOpen","initialOpen","_ref$placement","controlledOpen","setControlledOpen","_ref$offset","offsetProp","uncontrolledOpen","setUncontrolledOpen","setLabelId","setDescriptionId","setActiveIndex","setSelectedIndex","setOpen","availableHeight","shift","listNav","useListNavigation","listRef","onNavigate","useClick","interactions","usePopover","Content","Item","LEAD_STAGE_MAPPING","CANDIDATE_STAGE_MAPPING","StagesDropDown","_find","leadStageMapping","candidateStageMapping","selectedStage","onUpdateStage","setStage","showStagePicker","setShowStagePicker","selectedTitle","_leadStageMapping$","Flat","RescheduleModal","showRescheduleModal","closeRescheduleModalHandler","Pluralize","singular","rescheduleDate","rescheduleDateHandler","rescheduleTasksHandler","DeleteModal","closeDeleteModal","deleteTasksHandler","default_agents","ReassignModal","showReassignModal","closeReassignModalHandler","dropdownUpdater","assignedToUserId","agentsOptions","reassignTasksHandler","NewModalHeader","isCreatingAppointment","marginLeft","isSchedulingAppointment","ProfileIcon","getUser","task_this","cancelToken","CancelToken","cancel_get_user","initials","showName","cancel_taskable","dynamic","accountMilestoneNames","personNames","personObject","editTask","completeTaskFromDetails","editAndComplete","closeTaskDetails","taskable_name","Moment","calculated_due_on","plural","parent_task_name","contingency_event_and_type","scheduled_time","assigned_to_user_id","showSelectAllPopover","selectAllTarget","showSelectAll","closeSelectAllPopover","showModalComplete","showDetailModal","closeDetailModal","swapModals","swapForDelete","handleTaskChange","handleMultiSelect","handleRecurrence","handleAssignedToUser","completeTask","uncompleteTask","multiSelectWatcher","completeAndEditAppointment","renderDetailModal","Details","renderNewPolymorphicTaskModal","taskable","task_name","setAgentsForModal","taskChange","showErrors","error_messages","editToDelete","newTaskFor","editTaskFor","multi_select_tasks","multi_select","header_buttons","taskMultiSelect","renderReassignModal","handleState","closeReassignModal","reassignTasks","closeRescheduleModal","deleteTasks","renderRescheduleModal","reschedule_date","handleRescheduleDate","rescheduleTasks","toggleTaskLoader","bulkOperation","task_id_to_delete","taskChangeEvent","dispatchEvent","completeTasks","uncompleteTasks","_this6","_this7","reassignTask","handleGoogleCalendar","contactEmail","addTo","taskDetails","scheduledTime","clientUuid","agentEmail","appointmentType","appointment_type","taskableEmail","taskable_email","taskableName","scheduled_date_time_start","scheduled_date_time_end","scheduled_date_time_english_format_start","current_tz","DateTimeFormat","resolvedOptions","timeZone","clientFinder","returnAppointmentType","emailConstructor","_createTask","listingUUID","handleAgreementCallback","isNewApi","taskUpdateEvent","taskListener","task_path","baseData","v4TaskApi","disabledButton","saveButtonText","parseErrors","updateTask","_this8","_this9","rescheduleTask","polymorphicChange","replaceURLWithHTMLLinks","replacePattern1","replacePattern2","genericError","parsedError","toggleNotes","maxLength","showNotes","PrioritySelection","priorityNumbers","taskPriorityWatcher","priorityNumber","handleAppointmentType","appointmentTypeOptions","AssignTaskToSelection","TaskFor","taskFor","_search","setSearch","searchAccounts","SearchIcon","verticalAlign","taskForWatcher","task_for","OPTIONS","ContingencyRuleSelection","handleContingencyRuleChange","LocationInput","handleLocationOnChange","APPT_TYPES","Buyer","BuyerListing","MeetAndGreet","Recruiting","RecruitingFollowUp","Screening","Listing","Signing","OUTCOMES","CompleteNotSigned","Complete","Canceled","NoShow","SignedBuyer","SignedListing","SignedBoth","SignedRecruit","NotAFit","handleOutcomeOnChange","outcomes","handleAddTo","_taskableOptions","taskableOptions","taskable_type","_task$type","_task$appointment_typ","_task$due_on","_task$outcome","handleCompleteTask","personTaskForm","disableCompletedCheckbox","hideCancel","RECURRING_OPTIONS","RECURRING_DOW_OPTIONS","taskable_id","handleAddToState","handleDueOnChange","momentValue","AGREEMENT_OUTCOMES","agreementCallBack","toggleCompleteTask","toggleContingent","showContingency","showDue","toggleRecurring","showRecurring","task_options_for_taskable","taskableOptionsHash","milestonableMilestoneOptions","Project","project","object_type","taskForLog","taskForAppointment","taskForLogAppointment","handleAccountId","handleUserId","logFormInformation","assignTaskToLogForm","createAppointmentInformation","task_prop","default_priority","focusTextInput","TaskHelpers","_handleSubmit","_yield$createTask","_yield$createTask2","getCardTasks","isAppointment","taskTypeOptions","taskType","agentsNeedLoading","newTask","new_appointment","isfromIndex","DATE_TIME_FORMAT","modalBodyVariant","Errors","TaskDetailsInformation","handlePersonTaskChange","TaskInstructions","TaskNotes","AppointmentTypeSelection","showTaskFor","TaskableAssignment","CalendarOptions","OutcomeSelection","EventDropdown","MagnetSolidV6","ArrowsRotateSolidV6","TaskFormFooter","contextType","_ref2$WrappedComponen","WrappedComponent","_ref2$states","_ref2$aliases","aliases","arrayOfStates","arrayOfAliases","reduxState","serpator","seperateStr","strSplitter","propsKey","allProps","tdpTasks","withRedux","tdpDetails","tdpDates","tdpTimeline","tdpNotes","tdpFinancials","USERTYPE","TRANSACTION_TYPE","TRANSACTION_TITLE","STREET_ADDRESS","CITY","LOCALITY","POSTAL_CODE","STATUS","LISTING_UUID","CLIENTINTENT","TRANSACTIONAMT","ISREFERRALFEEPERCENTAGE","ADDRESS_FIELD","TIMEFRAME","TYPE","REFERRALPARTNER_TEAM","REFERRALPARTNER_NAME","NOTABLEID","_ref$WrappedComponent","_ref$actions","_ref$aliases","actionz","getAllListingInfoFromApi","putDetailToApi","_listing","putDetailsToApi","putRefDetailsToApi","csAxios","detailFinder","getAvatar","adaptDetailsPayloadToApi","adaptGetAllListingInfo","_data$address","_data$address2","_data$address3","_data$address4","_detailFinder","_detailFinder2","_detailFinder3","_data$agent","_data$agent2","_data$agent3","_data$address5","_data$referral_partne","_data$referral_partne2","_data$referral_partne3","primary_mls_photo","cloud_location","referral_partner","client_intent","desired_locations","transaction_amount","referral_fee","timeframe_start","timeframe_interpolated","adaptTimeFrame","adaptTransactionAmt","transactionAmount","adaptStatus","exactDateHelper","dispatchErrorHeader","errMessages","errWrap","errLoad","errAdapter","creator","adaptedErrLoad","errorWrapper","putDetailAsThunk","detailsToSave","putRefTimeFrameAsThunk","restOfPayload","adaptedTimeFrame","_yield$tryCatchHandlr11","_yield$tryCatchHandlr12","putRefFeeAsThunk","_yield$tryCatchHandlr15","_yield$tryCatchHandlr16","is_fee_percentage","putStatusAsThunk","_yield$tryCatchHandlr17","_yield$tryCatchHandlr18","putStatusWithPipelineAsThunk","_yield$tryCatchHandlr19","_yield$tryCatchHandlr20","UNKNOWN_OPTION","TimeFrameDateSelector","refOuter","dateSelectorOnChangeHandlr","dateSelectorValue","clearHandlr","submitHandlr","subContainerClassName","clearBtnClassName","TimeFrameDateSelectorWrapper","onReferralCalendarEditCancel","onPutRefTimeFrameAsThunk","_useDateHandlr","isDate","onDateChangeHandlr","useDateHandlr","cancelViewingCalendar","useClickOutsideCalendar","withDispatch","DATE_HASH","Today","Tomorrow","ADJUSTED_DATE_SET","CustomPillButton","AddTaskPane","initialUserUuid","initialAgentValue","setTask","dateType","setDateType","showDateSelector","setShowDateSelector","DEFAULT_ST","txt","PenSolidV6","adjustedDate","adjustToWeekday","CallStatusBar","currentCallTime","recorded","recordToggleDisabled","onToggleChange","agentPhoneNumber","statusClassName","RecordConfirmationIcon","MinusSolidV6","featureFlag","standardCallStatus","null","circleColor","Initiated","getCallStatusMessage","nameFormat","callCompleteStatus","_conferenceCall$curre2","_conferenceCall$curre10","_conferenceCall$next_3","_conferenceCall$next_4","_conferenceCall$next_5","timer","dialerServiceToken","closeCallModal","startCall","conferenceCall","setConferenceCall","websocketsConnected","setWebsocketsConnected","possibleStaleState","setPossibleStaleState","setCurrentCallTime","endSessionLoading","setEndSessionLoading","endCallLoading","setEndCallLoading","endCallErrors","setEndCallErrors","savingCallOutcome","setSavingCallOutcome","savingOutcomeErrors","setSavingOutcomeErrors","savingOutcomeSuccess","setSavingOutcomeSuccess","savingLeadError","setSavingLeadError","updatedStatus","setUpdatedStatus","_useState28","setDncStatuses","_useState30","dncNextStatuses","setDncNextStatuses","_useState32","_useState34","isPersonLoading","setPersonLoading","_useState36","isPersonStatusLoading","setPersonStatusLoading","_useState38","taskToggle","setTaskToggle","_useState40","setAgents","_useState42","_useState44","setCurrentParticipantId","_useState46","setRecorded","_useState48","setRecordToggleDisabled","manageSubscriptionAndTimer","App","phone_call","unsubscribe","stopTimer","startConference","setupSubscription","startTimer","scrollRef","scrollTo","_conferenceCall$curre","newId","current_participant","getPhoneStatuses","getPhoneNextStatuses","_conferenceCall$curre3","phone_number","mergedState","_conferenceCall$next_","next_participant","conferenceCallRef","updateCallTime","maybeLeadingZero","_conferenceCallRef$cu","_conferenceCallRef$cu2","humanized_call_status","call_answered_timestamp","_conferenceCallRef$cu3","asSeconds","secs","callTimeString","dialer_cable","ActionCable","createConsumer","subscriptions","connected","followCurrentCall","websocketConnected","received","disconnected","websocketDisconnected","perform","fetchCurrentConferenceState","leadId","lead_id","leadUpdateChannel","_conferenceCall$curre9","_conferenceCall$next_2","_person$data","_person$data2","_conferenceCall$curre11","_conferenceCall$curre12","_conferenceCall$curre13","_conferenceCall$curre14","_conferenceCall$agent","_person$data3","_person$meta","_person$data4","_conferenceCall$curre15","_conferenceCall$curre8","conferenceStatus","setStatus","newStatus","person_attributes","_resp$data$current_pa","hangUpCall","handleOutcomeInputChange","endDialerSession","callOutcomePromise","submitOutcome","_conferenceCall$curre7","_conferenceCall$curre4","_conferenceCall$curre5","_conferenceCall$curre6","person_full_name","participant_id","current_participant_position","total_participants","conference_status","_resp$data$current_pa2","conferenceCallIsComplete","person_url","ArrowUpRightFromSquareSolidV6","urlApi","agent_participant","PhoneHangupSolidV6","status_options","CallOutcomeAndNotes","UpNext","conferenceUuid","ConferenceCallForm","ConferenceCall","callConfirmationOpen","callModalOpen","call_source","conference_uuid","launchConfirmModal","peopleRows","leadRows","ConfirmationModal","ConferenceModal","getStatColor","userUuids","leadStats","setLeadStats","dashboard_opportunities_date_range","selected_users","getLeadStats","DATE_RANGES","initialDateRange","_useQuickStats","useQuickStats","QuickStat","refreshData","thisMonthSelected","createAgentActivity","activityData","compactFormatter","notation","roundingPriority","maximumSignificantDigits","LeadGenActivityCard","isButton","onViewHistory","_isHovering","isEdge","setIsEdge","showTooltip","bgColor","handleResize","debounce","meetsEdge","offsetLeft","FormRow","NewLeadGenActivityModal","openForType","activityDate","setActivityDate","goalTypeOptions","_formRef$current","_formRef$current2","noteContent","_dropdownRef$current","clearValue","toISOString","ROW_BORDER","FROM_FORMAT","TO_FORMAT","_activity$notes","activity","isEditable","showDeleteCover","setShowDeleteCover","tempActivity","setTempActivity","activity_date","note_content","_activity$notes2","Cancel","_state","updateActivity","deleteActivity","ViewActivityHistoryModal","_useActivityHistory","useActivityHistory","ActivityHistoryRow","LeadGenActivities","setStartDate","setEndDate","viewHistoryModalGoalType","setViewHistoryModalGoalType","newLeadGenActivityOpen","setNewLeadGenActivityOpen","newLeadGenActivityOpenForType","setNewLeadGenActivityOpenForType","_useLeadGenActivities","useLeadGenActivities","momentStartDate","momentEndDate","_data$goals$goalType$","brivityActivities","_data$goals$goalType$2","loggedActivities","labelText","fontAwesomeCheckboxIcon","textRendering","WebkitFontSmoothing","MozOsxFontSmoothing","setPortal","handleScroll","_document$scrollingEl","scrollingElement","INTERACTION_TYPE_OPTIONS","otherInteract","_ref$otherInteract","setInteraction","oldInteraction","main_email","parseISO","ADS_TYPES","QUESTION_TYPES","SHOWING_TYPES","HOME_ESTIMATE_TYPES","LABEL_CATEGORIES","home_value","contact_form_get_accurate_estimate","get_accurate_estimate","ad_scheduled_showing","scheduled_showing","showing_scheduled","contact_form_ask_question","contact_form_ask_a_question","contact_form_questions_about","start_offer","kind","email_present","managed_number","person_phone_number","timeline_fields","FORMATTED_KEYS","Amount","_event$timeline_field","descriptionItems","keyAndValueStrings","comments","detailString","_detailString$split2","formattedKey","EventTitle","search_link","bed","bath","square_feet","schedule_tour_type","scheduled_date","availability","_event$timeline_field2","OfferDetails","utm_campaign","referrer","_timelineFields$prope3","_ref$event","emailPresent","eventType","event_type","person_avatar","personEmail","person_email","personPhoneNumber","timeAgo","time_ago","timelineFields","openSmsModalWithPerson","otherEventInteraction","propertyObject","iconClass","getIconClass","bedBathString","bedrooms","bathrooms","EmailInteraction","EnvelopeSolidV6","CommentSolidV6","Interaction","CalendarCheckSolidV6","OtherInteract","personFirstName","personLastName","EventDetails","_timelineFields$prope","_timelineFields$prope2","main_photo","backgroundImage","dismissEvent","isDismissing","isDismissed","link_to_resolve","error_cause","plan_name","error_message","prevEventType","startPage","user_uuids","auto_plan_uuid","dismissed","loadMore","EmptySmsHistory","allowAddAI","leadPersonUuid","phoneStatus","aiSummaryV2","AiComponentsProviderV2","AiSummaryV2","AiSummaryV1","_message$mmsMedia","_message$mms_media","_message$attachments","mediaIndex","media","mmsMedia","mms_media","attachments","createdByAlias","fileUrl","fileAccessKey","TextRender","ThumbNailRender","isVid","CirclePlaySolidV6","AnchorRender","LinkRender","_useState2$","setPreview","_doc$querySelector","_doc$querySelector2","_doc$querySelector3","_doc$querySelector4","_doc$querySelector5","_doc$querySelector6","parser","LinkText","ERROR_TITLE","allFailed","someFailed","SmsMessage","isInbound","failureType","isGabbiMessage","failedRecipients","createdByAvatar","createdByName","dateComponent","avatarComponent","SparklesSolidV6","recipient","alias","CircleInfoRegularV6","Media","LINK_TEXT_CLASSES","ERROR_CLASSES","ERROR_STATUSES","_message$attachments2","onClickImage","showTimeAgo","conversationOwnerPersonUuids","createdByUserPersonUuid","isOutbound","deliveryStatuses","messageStatus","conversationUsers","conversationUserUuid","Fragment","LinkTextRender","isGabbi","getConversationTypes","currentTab","transformConversation","dateUpdated","sortedConversationUsers","isConversationOwner","friendlyName","accountSenderPlaceholders","allFilterAgents","conversations","conversationsPage","conversationsPerPage","draftTextMessages","focusedConversation","hasMore","hasMoreMessages","loadingConversations","loadingMessages","messagesErrors","messagesPage","messagesPerPage","newSmsMediaError","newSmsMediaFile","newSmsMediaPreview","recipients","selectedAgentFilters","selectedMessages","sendingTextMessage","aiUnreadCount","allUnreadCount","groupUnreadCount","conflictConversation","isOptedOut","hideAi","twilioErrorMessage","aiFilters","getUnreadCounts","conversationTypes","isAiControlled","getConversations","_thunkApi$getState$me","unreadOnly","agentUuids","baseEndpoint","isAll","getBaseEndpoint","unReadOnly","aiConversationStatus","_focusedConversation$","responses","canonicalNumber","getMessages","_thunkApi$getState2$m","markAsRead","_thunkApi$getState$me2","conversationUuid","sendMessage","_thunkApi$getState$me3","conversationType","isChannel","_err$response4","isConflict","newConversation","draftMessage","selectNewConversation","mostRecentMessage","_err$response5","messagingSlice","addRecipient","_ref5$payload","_ref5$payload2","removeRecipient","_ref6$payload","focusConversation","nextConversationPage","nextMessagesPage","uniqBy","receiveSignalRNewConversation","receiveSignalRNewMessage","userUnreadMessageCount","receiveSignalRMessageResetCount","_ref11$payload","priorCount","receiveSignalRMessageStatusFailure","messageUuid","setMedia","updateAgentFilters","_ref15$payload","xor","updateDraft","setConflictConversation","removeConflictConversation","setHideAi","setUnreadOnly","toggleAiFilter","_payload$conversation","totalUserUnreadMessageCount","_ref24","_ref25","_ref26","_payload$items","_ref27","_ref28","_ref29","_messagingSlice$actio","updateIntent","newIntent","setIntent","DEFAULT_ERROR","SmsConversation","primaryPhone","scrollToBottom","smsConversationWrapper","clearForm","newSmsMessage","getSmsMessages","smsMessages","perPage","conversationPromise","newSmsMessages","addMessage","newMsg","_conversation$convers","_conversation$convers2","_agentPerson$alias","_recipient$alias","agentPerson","createdByUserUuid","agentFirstName","agentLastName","recipientLastName","smsOrGroupSmsOrBrivityTextMessageDirection","content_type","transformToTimelineSmsEvent","connection","HubConnectionBuilder","withUrl","skipNegotiation","transport","HttpTransportType","WebSockets","withCredentials","withAutomaticReconnect","configureLogging","LogLevel","build","on","send","deliveryStatus","messages","sendSmsMessage","openMmsMediaModal","messageForMmsMediaModal","mediaIndexForMmsMediaModal","closeMmsMediaModal","handleDragOver","handleDragDrop","dataTransfer","onMediaFileChange","closeOrClearBtn","messageable","currentScrollHeight","fileInputRef","_this$connection","_this$state4","gabbiAi","conflictUser","placeholderContent","LastSeen","SpinnerSolidV6","_smsMessages","ConversationMessage","AiSummary","onDrop","onDragOver","ImageSolidV6","HelperText","MmsMediaModal","apiActions","modalOpen","primary_phone_number","TIMELINES_DEFAULT_FILTERS","AUTO_PLAN_DEFAULT_FILTERS","AUTO_PLAN_DISMISSED_AND_DEFAULT_FILTERS","EVENT_COMPONENTS","timelines","EventItem","auto_plans","AutoPlanEvent","EMPTY_EVENT_COMPONENTS","NoEventsIcon","NoAutoPlanEventsIcon","setActiveTab","showSmsModal","setShowSmsModal","isFilterOpen","setIsFilterOpen","setActiveFilters","_useRecentActivity","useRecentActivity","events","time_ago_epoch","allFilters","EventComponent","EmptyEventIcon","handleFilterChange","_event$person_dialabl","_event$person_dialabl2","person_dialable_phone_numbers","is_primary","SmsModal","ScrollButton","CustomCheckboxOption","showDivider","_ref$componentProps","dashboard","selectedUsers","setSelectedUsers","currentAgents","LeadQuickStats","RecentActivity","PlatformCTA","textForwardingEnabled","setShowModal","handleCancel","openLink","autocomplete","LightbulbOnSolidV6","excludedTags","excludedId","_tags$find","RemovableBubble","selectionId","selectionName","inputIdPrefix","labelPrefix","inputFieldName","RemovableBubbles","selections","onRemoveBubbleClickHandlr","DropdownWithRemovable","preSelectedRemovables","selectedOptionsById","setSelectedOptionsById","onUpdateHandlr","headerPrefix","stages","addHeaderToObjects","_array$","headerValue","toLower","SourceFilter","hashOptions","isUp","setIsUp","matchMedia","matches","isAskPlaceOpen","setIsAskPlaceOpen","isMetaUser","_layout$sidebar","leftOffset","setLeftOffset","useMediaQuery","isShortScreen","topOffset","defaultY","AskPlaceToggleButton","AskPlace","maximized","minimized","onMinimize","SNACKBAR_CLASSES","executing","executed","snackbarTransitionStyles","bottom","buttonSchemaMap","defaultIcons","AcornSolidV6","Snackbar","closeOnTimeout","timeoutRef","timeoutHandler","SNACKBAR_BASE_CLASSES","_defaultIcons$schema","getDefaultIconFor","formAction","methodInput","authInput","submit","PopoverLink","QuestionCircleRegularV3","GraduationCapSolidV6","VideoSolidV6","BookBlankSolidV6","MessageSmileSolidV6","togglePartial","newPage","newPdp","newTransactions","newTdp","getUseNewPage","textStyle","activeTextStyle","baseUrl","urlParams","use_classic","getUrl","isProduction","acceptCharset","LogOut","isSelf","primaryPerson","accountOptions","setAccount","_useAccountAgents","accountAgents","currentAgentId","becomeUser","useAccountAgents","_useAccountAgents$dat","newAgent","AVATAR_CLASSES","BUTTON_CLASSES","TEXT_CLASSES","_currentUser$firstNam","_currentUser$lastName","setIsActive","UserSolidV6","KeySolidV6","HouseSolidV6","RightFromBracketSolidV6","getFontColor","logo","getLogoText","isSubmenuOpen","_useMobileMenu","useMobileMenu","BarsSolidV6","APP_ICONS_BY_LABEL","marketer","BullhornRegularV6","linkUrl","cma","HouseFlagSolidV6","recruiter","textToLead","MobileSignalOutSolidV6","placeAcademy","reportCards","UserGraduateSolidV6","areaPro","AreaProCustomv6","OPTIONS_BY_LABEL","_OPTIONS_BY_LABEL","OWNER_PLACE_RESOURCES","AGENT_RESOURCES","AGENT_PLACE_RESOURCES","OWNER_BRIVITY_RESOURCES","ResourceBtn","Grid2RegularV6","ResourceLauncher","resources","DEFAULT_PLACE_RESOURCES","PlaceCustomv6","resourcesByLabel","setResourcesByLabel","placeLaunchers","iterativeResources","every","ResourceLaunchers","_ref6$","isOwner","appOptions","rsrc","setResources","optionsByHeadline","headline","launchUrl","ResourcesDropdown","ariaLabelledBy","PlaceResources","AppsResources","ARIA_LABELLED_ID","saveRecentSearch","itemClass","CONTACT_TYPES","TRASHED_STATUSES","hasResults","searchValid","searchTermLength","showTrashed","setShowTrashed","recentSearches","trashLeads","otherResults","hasContactResults","hasTransactionResults","_useMemo","contactParams","transactionParams","contactUrl","transactionUrl","Result","objectId","ChevronRightSolidV6","searchIndex","quickSearchTransforms","debouncedSearch","quickSearch","limitedRecentSearches","blockNextHover","setBlockNextHover","setCursor","_useQuickSearch","useQuickSearch","searchInputContainer","previousElementSibling","nextElementSibling","Results","IntersectionObserverNode","onIntersect","observer","IntersectionObserver","isIntersecting","root","threshold","ErrorBoundary","getDerivedStateFromError","activityCommonDefaultProps","onReadChange","childContainerClass","SideContent","ActivityContainer","mouseDownTag","setMouseDownTag","showReadbtn","setShowReadbtn","_activity$data","_activity$data2","read","parts","at","formatName","CategoryContainer","GroupTextActivity","senderFirstName","senderLastName","TextActivity","subjectFirstName","subjectLastName","messageText","PipedElements","_element$props","_element$props2","DataField","ActivityBtns","callHandlr","listingHandlr","reportHandlr","ShowingRequestActivity","_activity$data3","_activity$data4","_activity$data5","_activity$data6","CalendarRegularV6","propertyStreetAddress","showingDateIso","showingDate","showingTime","HomeValueActivity","_activity$data7","_activity$data8","HouseRegularV6","propertyState","propertyZipCode","sqFeet","ViewedPropertyActivity","EyeRegularV6","leadFirstName","leadLastName","propertyCity","propertyZip","propertyPrice","QuestionsActivity","FavPropertyActivity","HeartRegularV6","SavedSearchActivity","_activity$data9","_activity$data10","_activity$data11","_activity$data12","_activity$data13","_activity$data14","_activity$data15","_activity$data16","BookmarkRegularV6","searchBedMin","searchBedMax","searchBathsMin","searchBathsMax","searchPriceMin","searchPriceMax","additionalFilters","ReturnSiteActivity","DesktopRegularV6","NewLeadActivity","UserPlusRegularV6","leadSource","LeadTransferActivity","ArrowsRepeatRegularV6","onReadChhnge","secondarySubjectFirstName","secondarySubjectLastName","personAPI","param","transactionAPI","NoteMentionActivity","notableName","setNotableName","_resNotableName$data$","notableAPI","resNotableName","errNotableName","AtRegularV6","NewTaskActivity","setPersonUuid","taskableId","ListCheckRegularV6","assigneeName","taskTitle","taskDueDate","assignerName","getFormName","notificationType","SubmittedFormActivity","question","FileArrowUpRegularV6","SellingPageVisitedActivity","ListingInquiryActivity","CircleQuestionRegularV6","searchActivities","groupAndSortByDate","groupedData","dateKey","local","sortedArray","activities","transformNotificationData","notification","LIMIT","activitiesRef","_useLocalStorage2","_useLocalStorage4","setCategory","_useLocalStorage6","recipientUuids","setRecipientUuids","_useLocalStorage8","countData","setCountData","_useLocalStorage10","_useLocalStorage12","maxPage","setMaxPage","_useLocalStorage14","scrolledTop","setScrolledTop","unreadCount","setUnreadCount","sortedActivities","setSortedActivities","readFilter","setReadFilter","currentUserUuid","adaptedRecipientUuids","resetData","abortSignal","paramsOptions","limit","recipient_uuids","agentsSet","refedData","createRef","dateRef","markAllAsRead","toggleReadFilter","valueOrUpdater","ct","arrayOfUuids","activityGroups","selectedAgentsIds","EmptyState","InboxRegularV6","ALL_OPTION","DropdownSelectMultiAgents","setSelectedAgents","setSelectedOptions","setSelectedAgentsHandlr","selectedAll","filteredValues","CustomOptionMultiAgent","_agents$find","ACTIVITIES_CATEGORIES","READ_OPTIONS","EMPTY_ACTIVITY_TEXT","requests","web","crm","ACTIVITY_MAPPING","assigned_task","NewTaskActivityV2","cash_offer_submitted","SubmittedFormActivityV2","cma_requested","contact_form_existing_lead","contact_us","contact_form_start_offer","group_message","GroupTextActivityV2","home_value_submitted","HomeValueActivityV2","lead_pond_contact_form_questions_about","QuestionsActivityV2","lead_pond_home_value_submitted","lead_pond_home_value","lead_pond_mention","NoteMentionActivityV2","lead_pond_property_viewed_x_times","ViewedPropertyActivityV2","lead_pond_registration","LeadTransferActivityV2","lead_pond_return_after_30_days","ReturnSiteActivityV2","lead_pond_schedule_showing","ShowingRequestActivityV2","lead_registration","NewLeadActivityV2","lead_return_after_30_days","lead_transfer","mention","property_viewed_x_times","question_submitted","saved_property","FavPropertyActivityV2","saved_search","SavedSearchActivityV2","schedule_showing","sell_my_home_submitted","text_message","TextActivityV2","unlock_equity_requested","updated_home_value","valuation_requested","selling_page_visited","SellingPageVisitedActivityV2","ListingInquiryActivityV2","tack","setTack","showTack","setShowTack","innerWidth","windowWidth","setWindowWidth","showActivityFeed","setShowActivityFeed","_useActivities","useActivities","ThumbtackComponent","ThumbtackSolidV6","ThumbtackRegularV6","toggleActivityFeed","newTack","TransitionGroup","filteredActivities","CSSTransition","classNames","activityCb","Activity","snackbarSlice","setSnackbar","ReferFriendBtn","openModal","ReferFriendModal","styleElement","createForm","region","onFormReady","populateFormFields","onFormSubmitted","change","script","defer","setModalOpen","isReferred","setReferred","alertMessage","_ref$selectors","selectors","setDisconnect","consumer","channel","cleanUp","disconnectDialer","dialerDefaults","getTimeString","CallBar","interval","SinglePerson","CallRecordingMessaging","additionalText","willRecord","willNotify","RecordingIcon","ToggleOnSolidV6","NotificationIcon","VolumeSolidV6","VolumeSlashSolidV6","CallRecordingTooltip","CallButton","_useOutboundCallRecor","callStateDefault","phoneNumberDefault","setCallStateDefault","CALL_OUTCOME_OPTIONS","CallOutcome","CallNotes","mentionableIdOrUuid","mentionableType","DncHelperText","useCallOutcome","useCallState","useIsRecording","useConference","useError","useLoading","useComment","usePerson","usePhoneNumber","usePhoneNumbers","useSession","useValidLeads","CLOSABLE_STATES","strtRec","stpRec","_useDialer","useDialer","PlatformMessage","asSuper","snackbar","SuperUser","MetaUser","SingleDialerModal","GlobalStatus","MobileHamburger","Logo","askPlace","AiAskPlace","quicksearch","QuickSearch","FeatureToggle","referralRock","ReferAFriend","ReferFriend","Resources","Help","ActivitiesFeed","UserDropdown","nonRemovable","Tag","disableMediaQuery","XmarkLargeSolidV6","IconDropdown","popoverCaret","statusNameColor","voiceOnly","statusTooltips","StatusOption","statusColors","statusTexts","callablePhone","callUnsubscribedPhone","smsTextablePhone","smsNotTextablePhone","smsUnsubscribedPhone","smsStatusLabels","phoneStatusEnabled","storeState","_storeState$contactsR","phone_status","contactStatus","layoutStatus","PhoneValue","hideCallStatus","showPrimaryStatus","usedIcon","editablePhoneStatus","callIconKey","callOptions","smsOptions","currentCallIcon","currentSmsIcon","PlaceholderControl","RecipientSearchOption","_componentProps$data","emailAddress","RecipientNumberControl","selectedNumber","RecipientNumberOption","useDraftTextMessages","useFocusedConversation","useMessagingServiceUrl","useMessagesPage","useRecipientsHash","useSelectedAgentFilters","useSelectedMessages","_recipientsHash$recip","recipientsHash","setNumbers","setNumber","empty","cononicalValue","cononicalNumber","_data$number","_useRecipientNumbers","useRecipientNumbers","isOptionDisabled","_option$meta","minWidth","setSearchTerm","getEmptyConversation","markedAsRead","receivedAtEpoch","messagesAbortController","recipientsWithNumbers","_r$number","_r$number2","newFocusedConversation","conflictUuid","_messagesAbortControl","getTooltipMessage","isArchived","_focusedConversation$2","_focusedConversation$3","_focusedConversation$4","_conflictConversation","_focusedConversation$5","_focusedConversation$6","_focusedConversation$7","draftMessages","maxRecipientsReached","groupSms","conversationOwner","conversationParticipant","messagesRef","messagesEndRef","mediaModal","setMediaModal","_useLeadSearch","useLeadSearch","leadSearchActions","leadSearchData","leadSearchLoading","_messagesEndRef$curre","messagesEnd","resizeObserver","ResizeObserver","useDraftConversationMessage","onSendMessage","messagingActions","disableInputs","unsubscribedRecipient","emptyNumberRecipient","originalPeople","conflictPeople","RecipientNumberDropdown","_selectedMessages","_textMessageInputRef$","updatedValue","_e$dataTransfer$files","onDragLeave","shiftKey","ListItem","filterAgentsListRef","closeFilterAgentList","_filterAgentsListRef$","shouldNotFetch","agentIds","nextPage","AvatarPlaceholder","hiddenCount","AVATAR_CLUSTER_STYLES","avatars","toArray","displayCount","ConversationDescription","createdByUser","_ref2$conversation","getIsFocused","isUnread","clickConversation","CircleSolidV6","AvatarCluster","_useUnreadCounts","useUnreadCounts","_useMessaging","useMessaging","emptyConversations","FilterAgentsList","PenToSquareSolidV6","Conversation","ConversationMessages","RemoveablePill","onSelectFn","sel","col","PondOrAgentFilter","_ref$selectedAgentsFi","selectedAgentsFilters","_ref$selectedPondsFil","selectedPondsFilters","_useOnAgentSelect","useOnAgentSelect","_useOnAgentSelect2","onAgentSelect","_useOnPondSelect","names","useOnPondSelect","_useOnPondSelect2","selectedPonds","onPondSelect","TAG_PREFIX_OPTIONS","IncludeTagFilter","anyOrAll","propOptions","setPrefix","LeadDNA","barColors","colorClasses","closeSecondary","showSecondary","titleText","filterPrimary","secondaryFilter","secondaryData","fetchData","buildDatasets","usePrimaryTitle","sortValues","quartileRanges","getTopFive","labelDescriptor","quantities","countBy","arrayed","buildTopFive","colorClass","dataTotal","otherTotal","filteredMeta","stack","metaCollection","secondaryTitle","q1","q3","iqr","maxAllowable","minAllowable","normalAndOutliers","rangeMultiplier","buildQuartileData","dat","primaryKey","filterSecondary","secondaryKey","buildSecondaryData","determineInitialSecondary","startSecondaryData","fontStyle","titleFont","family","titleColor","titleMarginBottom","cornerRadius","tooltipItem","barThickness","filterValues","getDatasetAtEvent","_datasetIndex","ChartLegend","_React$Component2","ds","openPondModal","closePondModal","createPondStart","createPondSuccess","createPondError","updatePondStart","updatePondSuccess","updatePondError","removePondSuccess","removePondError","duplicateCheckSuccess","duplicateCheckError","loadMorePondsSuccess","loadMorePondsError","getAssignableUsersSuccess","getAssignableUsersError","updatePondInSidebar","getElementsByClassName","_ref$title","_ref$children","_ref$icon","_ref$onClick","_ref$iconClass","btnBase","btnSpacing","btnTypes","PageHeader","_ref$copy","_ref$buttonTitle","buttonTitle","_ref$isDisabled","_ref$buttonTooltipCon","buttonTooltipContent","buttonElement","_ref$name","_ref$imageUrl","imageUrl","avatarMarginDictionary","avatarMarginValue","paddingValue","AvatarGroup","childrenArray","hiddenAvatarsCount","visibleAvatars","_avatar$props","_ref$users","_ref$max","showFullList","toggleUserList","toggleUserListFn","editPond","cellStyles","setStyles","display_agent","UserListing","UserCollectionListing","accessible_by_users","last_modified_by","createPondApiFn","updatePondApiFn","deletePondApiFn","duplicateCheckApiFn","loadMoreApiFn","createPond","updatePond","removePond","duplicateCheck","loadMorePonds","getAssignableUsers","columns","collection","PondTableRow","useDebounceFn","FormLabel","_ref$htmlFor","_React$createElement","_ref$block","UserOption","_props$data","_props$selectProps","isMultiSelect","_ref$options","_ref$isLoading","_ref$isMultiSelect","close","bsPrefix","backdropClassName","checkFn","loadFn","setFn","_ref$usersCollection","setModel","showConfirm","setConfirm","userOptions","setUserOptions","debouncedDuplicateTerm","saveClicked","setSaveClicked","useSetModel","removeKey","useSetValue","toggleUser","existing","removed","useToggleUsers","closeConfirm","isNew","canSave","orig","isDirty","useCanSaveModel","RemoveableUser","UserSelect","notify_agents_of_new_leads","user_type","cleared","DeleteConfirm","notificationsOn","PondTable","PondModal","SelectButton","hideElement","showElement","selectOption","selectRows","showSelectedCount","AddorRemoveClass","setSelectedOption","selectOpt","selectMenuEvent","LeadHeaders","autoPlansFeature","hotLeadsFeature","setorderBy","orderDirection","setorderDirection","getcall","setgetcall","addParameter","Turbolinks","cacheCurrentPage","visit","getPeople","urlSearchParams","order_by","getorder","direction","orderbyname","orderByname","valueToOrderBy","selectedArrow","SelectAll","leadIndex","SmsModalButton","homeAppClickListener","smsModalOpen","smsButton","TaskFormLogAppointment","renderTaskForm","googleCalendarClientId","googleCalendarApiKey","displayOutcome","LastInteractions","interactionTypeString","mostRecentInteractionTime","NewTask","account_uuid","buttonStyle","button_style","nextTask","next_task","setshowModal","setErrorMessages","nextDueTasksState","dueDate","state_color","_ref$small","_ref$showSubTitle","showSubTitle","_ref$nameClasses","nameClasses","_ref$caretClasses","caretClasses","_ref$stacked","oldParams","imgSize","displayModel","MilestoneDate","milestoneDate","short","HomeAppLink","handleSelectedType","appUrl","currentUserFullName","CustomEvent","emailBody","sharedUrlContent","navigator","clipboard","writeText","fetchBrivityHomeURL","formattedLabel","lastLogin","intlFormatDistance","emailActive","smsActive","MobileScreenSolidV6","CommentDotsSolidV6","LinkSolidV6","Banner","hasClose","closeIconClassName","BARCOLORS","COLORLABELCLASSES","favorite","history_ext","street","viewed_at","is_mobile","ReactTooltip","place","arrowColor","ButtonDropDown","collapse","dropdown","isFavorited","allViewCount","favoriteCount","handleSelectSortBy","filteredProperties","handleSelectPropertyCriteria","sortStats","sortedStats","most_recent_view","statsOrSpinner","Properties","contactSupport","isFavorite","errorFetchingData","colorLabelClasses","PropertyFilters","visits","lastVisit","valueOrZero","FavoritesOrViews","modalVisible","noCount","countDisplay","idxDataUri","idxDataToken","ViewWebActivityModal","idx_last_visit","idx_visits","idx_property_views","MarketReportMenu","editReportFn","deleteReportFn","previewUrl","VerticalDots","VisibilityVisible","INLINE_DETAIL","LABEL_CLASS","VALUE_CLASS","MarketReport","report_name","preview_url","view_count","view_history","last_viewed","last_opened","editMarketReportPanel2","showAdjustment","has_address","homeValueAdj","signValue","initialModalIsOpen","person_status","person_lead_type","person_address","openMarketReport","openMarketReportModal","modalOnly","setModalIsOpen","marketReports","setMarketReports","fetchReportsAndOpenModal","closeMarketReportModal","deleteReportFunc","active_market_report_count","market_report_count","report","EXCLUDED_STATUSES","statusClass","Status","statusLists","archivedFilter","inactiveFilter","trashFilter","person_lead_id","archived_filter","inactive_filter","trash_filter","TagTooltip","tag_tooltip_list","cma_links","isMarketReport","EyeSolidV6","updatePersonPromise","phone_removal_ack","successObject","PersonResult","onClickHandle","PeopleResults","adaptTags","createTags","SearchInteraction","tagsEmail","onSelectFunction","setSearchResults","setSearchValid","setTags","getTags","itemA","itemB","emailTagsVal","encodedTerm","inputClassName","updatedTags","emailPlaceholders","setEmailPlaceholders","send_email_url","isTDP","current_user_id","_ref$clearErrors","_ref$listingId","email_templates","gmailUnsynced","_useEmailPlaceholders","useEmailPlaceholders","interaction_template","bcc","cc","interaction_template_id","recipient_id","save_note","send_me_a_copy","sender_id","thread_id","user_submitted","attachment","handleclick","brivityEmailWrapper","setBrivityEmailWrapper","hiddenAttachmentInput","showCC","setShowCC","setShowBCC","showRecipients","setShowRecipients","setEditablePerson","changedPrimaryEmail","setChangedPrimaryEmail","handleSubjectChange","setThreadId","selectRecipients","showtoggleRecipients","selectCC","showtoggleCC","selectBCC","showtoggleBCC","selectTemplate","signature","haveValue","hidetoggleCC","hidetoggleRecipients","hidetoggleBCC","recipientsVal","ccVal","bccVal","toggleSendMeACopy","handleAttachmentClick","handleAttachmentUpload","mainEmailEmailDetail","included","otherEmailDetails","visibleoption","arr","INT_MSG","sendEmailClick","emailStatus","emailDetail","unsubscribed_message_types","person_detail_css","emailStatusIcon","is_verified","emailDropdownList","_mainEmailEmailDetail","selectEmailDropdown","cursorPointer","selectEmailDropdownContent","email_detail","prevPerson","draftState","newMainEmail","V1Alert","deleteAttachment","PaperclipSolidV6","EmailError","EmailModal","sendEmailUrl","PersonInteractionEmailForm","EmailButton","emailIconDetails","primaryEmailAddress","EmailDeliveryInvalid","personDetails","unsubscribedMessageTypes","setDefaultHomeAppTabContent","formattedPerson","onHomeAppEmailClick","email_icon_details","primary_email_address","Intent","intentClass","intent_options","_person$full_name","isNoName","TagName","fetch_results_count","person_path_with_query_param","name_or_no_name","lead_last_search_at","zero","cityState","AutoHideMessage","showingSuccess","showingError","faCheckCircle","faExclamationCircle","useOnMinMaxSelectedChange","isFirstRun","useMinMaxState","selectedMin","onSelectMin","getAreaCMACountsController","saveMarketReportApi","updateMarketReportApi","viewMarketReportApi","sendMarketReportApi","_yield$tryCatchHandlr7","_yield$tryCatchHandlr8","getAreaCMACounts","_yield$tryCatchHandlr9","_yield$tryCatchHandlr10","getSearchAreaResults","getLocationGeoJSON","_yield$tryCatchHandlr13","_yield$tryCatchHandlr14","getPlaceDetails","getAgentMLSOptions","calcMinPrice","calcMaxPrice","convertToInt","getCounts","fD","_fD$lead_email","dt","lead_email","radius_type","smart_radius","preProcessData","getMarketReportFn","saveMarketReportFn","updateMarketReportFn","updateMarketReportDetailsFn","_response$data9","_response$data10","_response$data11","sendMarketReportFn","reportData","personalizationData","green","back","main","yellow","red","HousePin","maskUnits","mask","SummaryTile","ContactEmailInput","personEmails","_state$addMarketRepor","RadiusSelector","toggle","onToggle","faInfoCircle","GEO_TYPE_LABEL","township","zipcode","GEO_TYPES_TO_OMIT","groupResults","sections","omitPhrase","areaType","omitGeoType","primaryAgentUuid","currentName","place_id","primary_agent_uuid","_results$data","_results$data2","_results$data3","_results$data4","_results$data5","_results$data6","_results$data7","_results$data8","_results$data9","address_components","lon","location_id","_results$data12","_results$data10","_results$data11","getColors","_state$selectProps","SearchAreaInput","_formattedDefaultOpti","mlsCountry","isEdit","formattedDefaultOptions","defaultInput","useGetGeoLocation","loadOptions","inputText","max_result","callApi","faTimes","AsyncSelect","cacheOptions","faSearch","PropTypeButton","ShowMoreLess","_ref$showMore","hasMinMaxError","clickEventCatch","passEvent","PropertyList","propertyTypeOptions","setSelected","skipRender","clickHandler","nS","PropertyTypesSelector","primaryAgentID","useOnSelectedChange","useSelectedTypesError","useSetPropertyTypes","isNumeric","valueDisplay","minVal","maxVal","_useMinMax","tmpMin","setTmpMin","useMinMax","_useMinMax2","tmpMax","setTmpMax","minValRef","maxValRef","minInputRef","maxInputRef","numMinVal","numMaxVal","onMinRangeChange","onMinRangeChangeFn","onMaxRangeChange","onMaxRangeChangeFn","onMinInputChange","onMinInputChangeFn","onMaxInputChange","onMaxInputChangeFn","onMinInputBlur","setMinMax","onMinInputBlurFn","onMaxInputBlur","onMaxInputBlurFn","getPercent","useGetPercent","setRange","minNum","minPercent","maxPercent","useSetSliderBar","styleName","PriceSelector","_useMinMaxState2","selectedMax","onSelectMax","debouncedMin","debouncedMax","Slider","commonBeforePlacementClasses","beforeSelectedPlacementClasses","beforePlacementHoverClasses","RangeButtons","allowMultiple","_useGetSelectedInxFro","defaultArr","_value$","useGetSelectedInxFromValues","_useGetSelectedInxFro2","selectedRangeIdx","setSelectedRange","hoverIdx","setHoverIdx","oIdx","_selectedRangeIdx2","getOnSelectOptionFn","bothSelected","multiAllSelected","getIsSelected","fromHover","_selectedRangeIdx","getIsSelectedFn","debouncedRange","_options$selectedRang","_options$selectedRang2","isFirst","isLast","isStart","isEnd","isInHoverSelection","isSelectingRange","hoverBefore","hoverAfter","btnClasses","generateCommonClasses","generateMultipleClasses","generateSingleClasses","BedsSelector","BATH_OPTIONS","BathsSelector","BASE_OPTIONS","minOptions","maxOptions","SqFeet","baseOptions","LotSize","startYear","consecutiveYearOptionsUpToCurrentYear","YearBuilt","clearMap","radiusCircle","feature","processPoints","thisArg","LatLng","Data","Point","makeZoomControl","contentText","userSelect","createCMAMap","setDrawingManager","onPolygonComplete","mapOptions","minZoom","maxZoom","mapTypeControl","rotateControl","scaleControl","zoomControl","clickableIcons","fullscreenControl","streetViewControl","toGeoJson","_data$features$","features","zoomControlDiv","zoomIn","zoomOut","setZoom","addZoomControls","RIGHT_BOTTOM","drawingManager","drawing","DrawingManager","drawingMode","drawingControl","polygonOptions","xy","firstPoint","coordinates","getGeoJsonFromPolygon","setDrawingMode","geoJSON","createDrawingManager","MARKER_COLORS","bdr","bck","off_market","markersArray","setMarkers","listing_info","_locationData$listing","marker","output","markerElm","Marker","addMarker","boundry","searchType","radiusType","hasSearch","_useMap2","disableFn","mod","OverlayType","POLYGON","useOnDrawingMode","useBrowserCoords","fnCall","bdry","addGeoJson","setStyle","setPolyStyle","bounds","LatLngBounds","getGeometry","extend","radiusInMiles","useMapDarwings","clearFn","useSetMap","HomeEstimateValue","getHomeValue","calculateHomeAdjustment","homeAdjVal","homeAdj","isHomeAdjPercentage","adjustmentFactor","STYLE","REPORT_TYPE_HASH","market","HomeValueEstimate","setHomeAdjVal","setShowAdjustment","_yield$getHomeValue","report_type","DollarSignSolidV6","PercentSolidV6","clearIsDrawing","Panel1","_locationData$listing2","_locationData$listing3","_locationData$listing4","setIsDrawing","isFormInValid","loadingLocation","setLoadingLocation","isOnChangeLocation","setIsOnChangeLocation","_formData$lat_lng","createMarketReport","brivity_uuid","brivity_lead_id","lead","useRunOnce","autoDetectFn","useAutoDetect","successFn","errorFn","geolocation","getCurrentPosition","getUserLocationAndInitMap","crds","latitude","longitude","needsMoreCoords","needsMoreAreaData","useFormData","faMapMarker","listing_counts","MLSCountry","_val$label","vals","search_address","_state$addMarketRepor2","SMALL_STYLES","EmailMessageInput","DripInput","DripFrequency","Panel2Form","Panel2","placeholderImg","MarketReportModal","missingEmail","useSetPAgent","useSetPerson","useLoadReport","savedMRdata","updatedMRdata","ArrowLeft","custom_message","Stage","isShort","LeadRows","platformAccounts","enableLeadPond","setEditPersonId","hasIdxInfo","idx_favorites","widths","maxWidth","handleSelectRows","numberOfCheckedRows","leadSelectedEvent","_person","_person$person","_account$address","_person$primaryAgent2","showAddModal","editReportId","setEditId","deleteMarketReport","setMarketModal","phones","dialable_phone_numbers","personPrimaryPhone","login_user_id","primary_agent_id","edit_permission","multi_select_id","Name","is_partial","UserPlusSolidV6","person_smsbutton_serializable_hash","email_details","lead_person","managedPhoneNumber","appointment_interaction","other_interaction","display_a_street_address","display_city_state_and_zip","interaction_type_string","most_recent_interaction_time","AgentOrPondSelect","AssignedPlansPreviewApp","assigned_plans_path","auto_plans_path","assigned_plans_state","assigned_plans_activity_date","birthdate_milestone_date","anniversary_milestone_date","email_active","sms_active","hot_lead_score","idx_last_visit_time","last_idx_visit_created_at","Visits","idx_avg_price","number_to_currency_idx_avg_price","idx_average_price_favorited","number_to_currency_idx_average_price_favorited","geocodeString","last_sent_listing_alert","last_opened_listing_alert","MarketReportPreview","person_object","_person$primaryAgent","last_opened_market_report","last_viewed_market_report","submitted_date","submitted_time","transaction_role","CMALink","AddMarketReportModal","setCallParameters","removeItem","ContactCard","showViewLink","friendlyPhone","ContactContainer","getHasDuplicates","getPotentialDuplicates","_ref$slug","getContactsFromSlugs","primaryContactPromise","otherContactPromise","mergeContacts","_thunkApi$getState$co2","mergeContact","mergeContactWithOther","addressableId","deet","detailableId","milestonableMilestones","milestonableId","socialMediaDetails","contactMergeSlice","setOtherContact","setKeepContact","updateKeepContact","newMilestoneId","setMergeContact","setSlugsAndOpen","_contactMergeSlice$ac","searchContact","setSearchContact","loginUserId","showSearchedContact","hasListings","oc","ContactDetail","ContactsDetailSelector","firstValue","secondValue","selectedValue","showInherit","sanitizedFirstValue","sanitizedSecondValue","firstSelected","showArrow","showRadio","finalFirstValue","finalSecondValue","ADDRESS_PARTS","GENERAL_DETAILS","_require","uniq","_require2","groupDetailsByKey","primaryDetails","otherDetails","mergeMultiCategoryTypes","types","typeKey","keepDetails","unselectedDetails","keep","_keep$i","_other$i","mergeSingleCategoryTypes","_ref$valueKey","valueKey","_useMemo2","emailTypes","primaryEmails","otherEmails","_useMemo4","phoneTypes","primaryPhones","otherPhones","_useMemo6","addressTypes","primaryAddresses","otherAddresses","_useMemo8","personTypes","primaryPersonDetails","otherPersonDetails","_useMemo10","socialMediaTypes","primarySocialMediaDetails","otherSocialMediaDetails","_useMemo12","milestoneTypes","primaryMilestones","otherMilestones","unselectedContact","onContactDetailChange","_useMergeContact","useMergeContact","ContactSelectorButton","DetailSelector","primaryHasMore","_primaryEmails$type","_otherEmails$type","_primaryEmails$type2","_otherEmails$type2","_primaryEmails$type3","_keepContact$emailDet","_primaryPhones$type","_otherPhones$type","_primaryPhones$type2","_otherPhones$type2","_primaryPhones$type3","_keepContact$phoneDet","_primaryAddresses$typ","_otherAddresses$type","_primaryAddresses$typ2","_otherAddresses$type2","_primaryAddresses$typ3","_firstValue","_secondValue","_keepContact$addresse","_primaryPersonDetails","_otherPersonDetails$t","_primaryPersonDetails2","_otherPersonDetails$t2","_keepContact$personDe","_primaryMilestones$ty","_otherMilestones$type","_primaryMilestones$ty2","_otherMilestones$type2","_keepContact$mileston","_primarySocialMediaDe","_otherSocialMediaDeta","_primarySocialMediaDe2","_otherSocialMediaDeta2","_keepContact$socialMe","getTitle","ContactMergeModal","ChooseContact","MergeContacts","checkedPeople","setCheckedPeople","_checkedPeople$map2","_checkedPeople$map2$","LeadIndexButton","makeCall","saveLeadRoutingUsers","AgentSelector","PondSelector","_state$leadRouting$un","openLeadRulesModal","AGENT_TAB","TargetSelector","saving","saved","useConnectWindowCallback","thunks","previousSelectedReportPresence","setIsLastMarketReportDropdownDisabled","uncheckInput","lastViewedMarketReportRangeOptions","previousSelectedRange","isLastMarketReportDropdownDisabled","MarketReportPresenceSelect","LastViewedMarketReportSelect","MassSendListingAlerts","blueRoofError","with_email","mls_list","ListingAlertForm","MassUpdateStageModal","setstage","setvalidLeads","leads","massUpdateStage","lead_ids","dropdownStageOptions","dropdownCandidateStageOptions","numContacts","leadsInContacts","showInfoMessage","Milestone","showEditMilestoneModal","showDeleteMilestoneModal","usage_count","milestonableMilestonesUsageCounts","closeDeleteMilestoneModal","deleteMilestone","milestonePath","MilestonesForm","milestoneFormPath","milestonesCreatePath","milestonesUpdatePath","projectsEnabled","Milestones","isMilestoneModalOpen","closeNewMilestoneModal","milestoneFormUpdate","submitNewMilestone","renderNewMilestoneModal","milestonesPath","DeleteMilestoneModal","renderDeleteMilestoneModal","closeEditMilestoneModal","submitUpdateMilestone","renderEditMilestoneModal","showNewMilestoneModal","person_milestones","listing_milestones","project_milestones","getMilestones","milestoneCreatePath","milestoneUpdatePath","isPond","radioGroupHandler","ManageAccessModal","admins","submitResponse","admin","is_selected","current_access_level","issome","some_access_count","buttons","SuccessModal","ModalOpen","setAdmins","setPeople","setSubmitResponse","setSelectedIds","agentPermission","setAgentPermission","successmodal","setSuccessModal","getSelectedIds","totalAgent","lead_ponds","newStateforadmin","newStateforagent","newCurrentAccessLevel","agent_permissions","$modal","ModalErrors","responseJSON","Animations","selectpicker","loadDetailsApi","controller","searchPartnersApi","_resData$data","q","scope","areaSuggestions","placeId","SEARCH_OPTIONS","SEARCH_PLACEHOLDERS","google_place","owner_operator","resultsCount","LocationSearch","loadDetails","callPartnersSearch","_ref$account","brokerageAffiliation","distance","FLYOUT_ANIMATION_DURATION_MS","FlyoutContext","FlyoutContextProvider","onFlyoutHide","FLYOUT_BACKDROP_CLASSES","FlyoutHeader","FlyoutBody","FLYOUT_BODY_CLASSES","Flyout","showCloseButton","modalTopGap","FLYOUT_CONTAINER_CLASSES","renderFlyoutContainer","DataLabel","_ref$label","isLink","_ref2$account","website","phoneMobile","showNewContactModal","setShowNewContactModal","CONTACT_DETAILS_RECAP","BuildingSolidV6","BullseyeArrowSolidV6","SpecializationSection","HEADINGS","HEADINGS_2","DISTANCE","DetailsModal","ResultRow","debouncedSearchTerm","placePartnersOnly","ResultsTable","NoSearch","NoResults","View","getQueryParams","fullPath","setFullPath","setPathname","onPushPopState","pushStateEvent","PersonOtherInteractionForm","submitInteraction","interactions_url","clearInteraction","_this$refs$datepicker","marked_as_read","datepicker","handleDateChange","newDate","selectedInteractionType","personDetailLabel","bsClass","interact_css","interactTextInput","onDiscard","SingleDialer","leadUuid","TAB_PANEL_CLASS","_person$included2","_person$data5","_person$data6","_person$data7","_person$data8","_person$data9","_person$data10","_person$data11","_person$data12","allAgents","appointmentOutcomes","setOpenAddAgreementModal","appointmentErrors","setAppointmentErrors","detailsObjects","_person$included","selectInteractionTab","emailTabDisabled","callTabDisabled","smsTabDisabled","tabNumber","Tabs","interactTabsWrapper","selectedTabClassName","TabList","interactTabsList","interactTab","disabledClassName","disabledTab","emailDisabledMessage","callTitle","textTitle","TabPanel","selectedClassName","PersonInteractionsNoteForm","appointment_outcomes","getIntentClass","isMenu","ChevronDownSolidV3","closeMenu","currentLabel","IntentButton","editValue","editKey","FREQUENCY_OPTIONS","default_email_frequency","DropdownOptions","isUser","personType","prevPersonSlug","nextPersonSlug","showEditPopover","setShowEditPopover","editButtonEnabled","useIsEditable","brivityPersonInfoCard","brivityCardBoxShadow","contactMergeActions","MergeSolidV6","brivityPersonDetailsWrapper","brivityPersonDetailsName","brivityPersonDetailsSource","created_at_formatted","last_interacted_at","granted_client_portal_access","FrequencyDropdown","allAssignableRoles","availableRoles","handleAddAgent","handleAddRole","handleRemoveAgent","selectedTeamMembers","teamMemberOptions","allRoleOptions","selectedTeamMember","role_id","handleModalClose","agentToRemove","handleAddTeamMembers","filteredAgent","handleSelectPrimary","selection","primaryAgentSet","agentPermissions","handleManageAccess","team_members","removedAgents","grantAccess","handleUpdateAccess","renderAgentValue","classNameFromVariant","cx","renderAgentOption","innerRef","teamMemberRole","nonPrimaryTeamMembers","selectedRolesIds","tm","selectedAgent","Form","lowercasedInput","RolesRow","moreOrLess","setMoreOrLess","sign","setSign","findRole","_props$allAssignableR","assigned_to","CollapsibleElement","useSecondaryColor","useTertiaryColor","buttonText","buttonId","buttonClickFunction","customButton","customButtonSchema","chevronPlacementLeft","chevronClassName","buttonSchema","setTeamMembers","setAllAssignableRoles","getPersonPermissions","roundedTop","NonPrimaryTeamMembers","addingTag","setAddingTag","selectedTag","setSelectedTag","newTagText","setNewTagText","tag_options","_Object$entries$","PERSON_DETAILS_TEXT_CSS","EditableElement","editingElement","onElementEdit","onElementSave","onDismissElementEdit","handleEditableValueChange","handleCustomFieldChange","custom_fields","handleDetailableValueChange","formatSelectOptions","handleMilestoneableDateChange","editMultilineInput","elementType","editSingleLineInputInput","editCustomFieldInput","fieldName","editDetailableSingleLineInputInput","editDropdownInput","editDateInput","renderEditFieldsByType","renderEditFields","_this$state$errors","PersonDetailError","renderFieldValues","_this$props$person$da","_this$props$person$da2","_this$props$person$da3","_this$props$person$da4","_this$props$person$da5","_this$props$person$da6","_this$props$person$da7","_this$props$person$da8","_this$props$person$da9","_this$props$person$da10","envelope_salutation","letter_salutation","marital_status","job_title","EditableDate","dateName","_date$name","onEditDate","editingDate","onDismissDateEdit","handleCustomDateChange","dateId","newDateOrTime","custom_dates","indexOfDate","time_of_day_string","onDateSave","_birthdate$date$split2","renderDate","renderAlert","renderButtons","editDateFields","renderCustomDateFields","renderDateFields","propDate","customDate","timeConstraints","UNSAFE_componentWillReceiveProps","AddTag","flatMap","adjustSmsStatus","adjustCallStatus","EditableElementWithAdd","addingElement","addingValue","addingType","errorType","elementIndex","editableElement","_this$props$person$in","elementCategory","includeAll","_this$props$person$in2","email_types","_this$props$person$in3","phone_types","addElementLabel","updatePersonEmailPhone","skipCheck","hasChanged","onElementDelete","includedArray","onAddNewDetail","onDismissElementAdd","setInitialAddingValue","onAddingElementSave","handlePhoneStatusChange","newPhone","transformer","handleAddingValueChange","handleAddingTypeChange","renderSavingState","brivityPersonContactLabel","editEmailInput","editPhoneInput","TrashSolidV6","renderEmailValue","renderPhoneValue","renderOtherValue","unsubscribeEmail","emailIsUnsubscribed","_this$element$attribu","updateEmailStatus","validation_set_by_user","brivityPersonContactItem","brivityPersonContactContents","contactInfoFadeOut","addPhoneOrEmailElement","renderAddElementByType","renderAddingElement","elementDoesExist","brivityPersonDetailsText","elementDoesNotExist","brivityPersonContactSocial","SocialIcon","bsSize","EditSocialMediaForm","onRemoveAddressHandlr","onTypeHandlr","onStreetHandlr","onCityHandlr","onPostalCodeHandlr","onLocalityHandlr","address_type","allOptions","LOCALITY_LIST","EditAddressesModal","handleSaveClick","_err$response$data$er","handleIncludedValueChange","onAddAddressClick","selectedAddressTypes","handleRemoveIncludedAttribute","updateIncluded","tempIdOrId","newAttributes","editablePersonClone","itemId","itemTempId","currentObject","usableId","setHidden","areaProLink","AreaProInsightButtonGroup","containerStyle","_phone$attributes","getAddressAttributes","getListingsForPersonAddresses","getListings","blossorIds","search_request","statuses","queryOptions","mapAddressListingStatus","blossorIdsForAddress","hasBadMatches","_l$standardAddress","standardAddress","updated","lastStatusChangeDate","updateDate","conversationCounts","setConversationCounts","addressListingStatuses","setAddressListingStatuses","areaProUser","getFormattedAddressesHomeFirst","getAddresses","listingsByAddressId","mapped","addressId","addressDetails","_detailsObjects","brivityPartnersElement","DuplicateLeadCard","addressAttributes","_addressListingStatus","_addressListingStatus2","cityStateZip","mapAddress","AddressDetails","AreaPro","EditSocialMediaModal","getListingStatusColors","DocumentRow","checkBoxClass","onClickDeleteDoc","float","Download","DeleteAgreementModal","saveDocId","setSaveDocId","openDeleteModal","setOpenDeleteModal","docId","deleteCloseModal","columnTitle","arrows","UploadAgreement","uploadedFile","handleFileDrop","hiddenUploadInput","faFileAlt","_hiddenUploadInput$cu","CreateTransaction","handleToggleTransaction","faDollarSign","faPercent","FlatPercentToggle","FlatPercentInput","customFormat","hideDefaultLeading","hideDefaultTrailing","setDisplayValue","formatNum","defaultLeading","defaultTrailing","BuyerorSellerTransactionsField","setTransactionTitle","selectedSource","setSelectedSource","setClosePrice","setCommission","isCommissionPercentage","setIsCommissionPercentage","setPropertyType","primaryAgents","prevDetails","newIsPercentage","ClientIntentTextBtn","ClientIntentTextBtns","clientIntentBtnsClassName","startState","DropdownFromAPI","useFetch","adaptedResponse","DropdownTeamMembers","DEFAULT_SCOPE","getQueryKey","scopes","searchPeople","_params","getScopeKey","SearchPeople","propSearchBoxValue","searchBoxValue","excludeTrashAndArchived","setSearchBoxValue","_useSearchPeople","useSearchPeople","CLIENT_INTENT_OPTIONS","ReferralTransactionsField","referralAgent","setReferralAgent","setClient","setClientIntent","setIsReferralFeePercentage","object_id","TransactionsField","AssociatedTransaction","availableTransactions","associatedTransaction","SetAssociatedTransaction","SignedorExpirationDate","setExpirationDate","setSignedDate","findIdByTitle","clientObj","AddAgreementModal","agreementName","apptAddHandler","setUploadedFile","setIsCreateTransaction","setSources","allRoles","setAllRoles","setPrimaryAgents","setRoles","loadDependencies","_roleData$agentsOnTra","roleData","defaultPropertyType","_roles$find","handleHide","handleAddAgreement","getRoleId","uploadResponse","DocButton","onClickFunc","doctype","SelectDocTypeModal","onSelectDocType","_ref2$title","ShareNodesSolidV6","FileLinesSolidV6","Proptypes","isDocument","FadeOut","DocumentCard","_ref$document","onClickDownload","docType","openAddAgreementModal","setDoc","agreementCloseModal","openSelectDocModal","setOpenSelectDocModal","getOption","showDocumentsModal","setShowDocumentsModal","personDetailEmptyStateText","cards","ViewAllDocumentsModal","EditAddRelationship","editingRelationship","addingRelationship","newRelatedToLabel","related_person_label","onRelationshipEdit","onDismissRelationshipEdit","onAddNewRelationship","onDismissRelationshipAdd","handleChangeLabel","onSaveChanges","brivityPersonRelationshipAvatar","related_person_url","related_to_person_image","relationshipOptions","justifyContent","flexWrap","brivityPersonRelationshipName","related_person_name","brivityPersonRelationshipType","AddRelationshipModal","selectedPersonId","relatedPerson","primary_person_label","headerTitle","selectPerson","newPerson","handlePrimaryPersonLabelChange","handleRelatedPersonLabelChange","handleSaveRelationshipClick","handleCancelClick","_this$state$relatedPe","_this$state$relatedPe2","_this$state$relatedPe3","_this$state$relatedPe4","borderRight","brivityPersonAvatarWrapper","brivityPersonAvatarInitials","related_to_person_first_name","related_to_person_last_name","brivityPersonContactIcon","brivityPersonContactValue","related_to_person_email","related_to_person_phone","related_to_person_address","RELATIONSHIP_OPTIONS","setTransactions","useTransactions","primaryImage","HandshakeRegularV6","colorDictionary","themed","colorFor","contentDictionary","contentFor","TypeCell","withTooltip","typeToken","BUYER_TENANT","isBuyerTenant","isAgent","thumbnailIconsByType","HouseChimneySolidV6","HouseUserSolidV6","ApartmentSolidV6","containerSizeDictionary","ThumbnailIcon","containerSize","ASCENDING_SORT","DESCENDING_SORT","upperArrowColor","lowerArrowColor","faPen","patternContentUnits","xlinkHref","_ref$fillColor","version","fillRule","faTrash","faPencilAlt","faArchive","faAngleLeft","faAngleRight","faGripVertical","faAngleDown","faEllipsisH","rounded","setCurrentValue","EditIcon","ratioClasses","blankNonEditableDisplay","blankEditableDisplay","nonEditableDisplay","editableDisplay","maybeToggleToInput","newInput","VISIBILITY_OPTIONS","RoleForTransaction","_ref$role","selectedAgentId","handleVisibilitySelect","handleRemoveRole","showVisibility","ListingPreviewCard","clearListing","bathsTotalDecimal","listAgentName","listOfficeName","photos","sqFt","squareFeet","transactionCss","isInteger","TransactionAutocomplete","debounceSearchAddress","searchAddress","selectListing","SearchAddress","doSearchAddress","currentTerm","selectedBlossorId","TRANSACTION_STATUS","ERROR_LIST","ListingTransactionModal","loadMls","getPersonRoleId","findRoleByTitle","SellerListing","TenantListing","LandlordListing","roleObj","mlsIdsState","onListingFieldUpdate","newAgentsOnTransaction","handleSourceSelect","handlePropertyTypeSelect","handleExpirationDateChange","onRoleSelect","defaultAgent","newAgentRole","addRole","matchingRole","matchingAgent","listingPropertyType","propertyTypesState","standardPropertyType","mlsNum","remarks","handleStatusSelect","isInvalidSubmit","htmlErrors","htmlToShow","validationErrorHtml","publish","propertyTypeFormData","listingClosePrice","createResponse","t1","defaultStatus","primaryPosition","_this$state5","modalCss","DateSelectorWithOptions","CustomTimeFrameDateSelector","cancelViewingCalendarHandlr","_useDate","useDate","TRANSACTION_STATUS_OPTIONS","TIMEFRAME_OPTIONS","TooltipList","BuyerReferralModal","backHandlr","handleBack","transactionStatus","acceptanceDate","desiredLocations","isCalendarOpen","newSource","newTimeframe","PROPERTY_TYPE_OPTIONS","SellerLandlordReferralModal","stateProvince","zipPostalCode","newPropertyType","TenantReferralModal","ReferralTransactionModal","selectReferralPartnerOrClient","fromClient","fromReferralPartner","clientLabel","referralPartnerLabel","selectClient","selectReferralPartner","partner","setReferralFeeIsPercentage","handleNext","showNewReferralModal","showBuyerReferralModal","showSellerLandlordReferralModal","showTenantReferralModal","secondaryModalState","_stateData$source","_stateData$timeframe","_stateData$timeframe2","adaptDateForPayload","stateData","_stateData$propertyTy","isNextBtnDisabled","referringAgentLabel","showLandlordReferralModal","currentUserTeamId","showClient","TransactionButton","loadMlses","AddTransactionModal","isStandalone","disableReferralBtn","showModalState","showListingModal","showPendingModal","showReferralModal","defaultStatusState","setDefaultStatus","MultiUser","showTransactionModal","Home","personFullName","viewTransactionModal","setViewTransactionModal","fetchListingType","buyerTransaction","status_class","transaction_type","buyer_transaction","materialDesignBox","ImageCell","ViewAllTransactionsModal","idx_average_price","openPlatformCTA","webActivityButtonText","webActivityButtonClick","personAttributes","noActivity","mainEmail","_state$person$data","showPopover","loadingUrl","homeAppInviteSent","isEmailEnabled","isPhoneEnabled","_currentUser$account","MobilePhone","selectedPlan","setSelectedPlan","SharedAddAutoPlanModal","deletePlan","PreviewAutoPlan","class","autoPlanButtonText","autoPlanButtonClick","DeleteAssignedPlanModal","PlanDetails","DeleteAction","_basePerson$data","_basePerson$meta","deleteListingAlertModalOpen","deleteAlertPending","deleteAlertIndex","basePerson","geo_code_account_address","listingAlertButtonText","listingAlertButtonClick","listingAlertService","openEditListingAlertModal","openDeleteListingAlertModal","deleteAlert","inlineDetail","renderListingAlert","emptyStateOrAlert","DeleteListingAlertModal","EstimatedValChart","handleClickAdjust","highVal","setHighVal","lowVal","setLowVal","automatedEst","setAutomatedEst","checkValue","calculatePercentage","High","Low","valueStr","numericValue","plusTenPercent","minusTenPercent","themeColors","generateBarColors","lowValue","MAX_VALUE","borderSkipped","MarketReportCard","isExpanded","setIsExpanded","displayCondition","_history$replace$spli2","getApiHeaders","_basePerson$data2","_basePerson$data3","_basePerson$data4","_basePerson$data5","_basePerson$data6","_basePerson$included","_basePerson$data7","_basePerson$data8","editMarketReport","refreshKey","new_market_report_link","_i$attributes","_useMarketReports","isMarketReportModalOpen","setIsMarketReportModalOpen","currentReports","useMarketReports","_useMarketReports$dat","mostRecentReport","viewedReports","CmaReportMenu","host","dropdownLinks","CmaReport","cmaUrl","CmaReportPreview","personStatus","personLeadType","personAddress","cmaReports","setCmaReports","openCmaReportModal","CmaReports","reportPreviewPerson","_useCmaReports","isCmaReportModalOpen","setIsCmaReportModalOpen","deleteCmaReport","useCmaReports","_useCmaReports$data","divClass","inputChecked","inputName","labelClass","input_class","TaskSettings","recurringTooltip","visibleTooltip","noteTooltip","instructionsTooltip","iconMute","prop","eyeOrSlash","col_size","onUpdateTaskTypeChecker","editMute","listingNames","projectNames","allNamesArray","allNamesObject","check_contingency","nameColumnClass","CheckBox","objectToCheck","showTaskDetails","completed_by_user_id","edit_path","taskCssStyle","selectAllHandler","selectNoneHandler","PreviousPageLink","prevPage","leftArrow","PageLinks","pageGap","pageLink","pageNumber","leftPages","rightPages","centerPages","NextPageLink","rightArrow","onGoToPage","handleGoToPage","pageNum","Grid","onEvent","filteredTasks","incomplete","showButtons","incomplete_buttons","handleGotoPage","completeTasksPage","duenessTitle","selectAllClass","closeSelectAllHandler","multiSelectButtons","uncomplete","total_count","Pagination","current_page","next_page","prev_page","toggleLoader","polymorphicTasks","createButton","editTaskFromViewAll","taskFromViewAll","CardTask","getAgentImage","displayAgentImage","taskClass","previousProps","PersonTaskForm","makeTaskContingent","makeTaskRecurring","priorityselectionclass","showContingencyButton","showRecurringButton","notesOrInstructionsClass","handleTimeOnChange","TaskModal","newAppointment","taskCount","initialMassActionModalState","tasksUpdated","viewAlltasks","viewDetails","selectedTask","incompleteTasks","openTasksModal","secondaryModalOpen","emptyState","linkText","viewTaskLink","ViewAllTasksModal","taskToUpdate","Reassign","Reschedule","Delete","CardAppointment","brivityPersonDetailsTitle","ViewAllAppointmentsModal","getAllAppointments","getAllAppointmentsSuccess","allAppointments","editAppointment","logged_ago","viewAppointmentModal","incompleteAppointments","updateQuickViewTask","projects","handleAddTransaction","FinancingStagesDropDown","_financingStagesMappi","financingStagesMapping","financingStageOption","ArrowUpRightFromSquareRegularV6","RemoveTransactionModal","handleRemoveTransaction","AddCoBorrowerModal","handleAddCoBorrower","coborrowers","quickSearchData","coBorrower","RemoveCoBorrowerModal","handleRemoveCoBorrower","coborrowersList","selectedCoBorrower","setSelectedCoBorrower","MortgageLoanMenu","handleAddRemoveCoBorrower","handleToggleArchive","primary_borrower","showAddCoBorrowerModal","setshowAddCoBorrowerModal","showRemoveCoBorrowerModal","setshowRemoveCoBorrowerModal","BoxArchiveSolidV6","onClickRemoveTransaction","MortgageCard","_listing$address","_listing$address2","_listing$address3","_listing$address4","_listing$address5","mortgageLoan","financingStage","financing_stage","loanOfficerName","loan_officer_name","updatedAt","primaryBorrower","handleAddRemoveTransaction","handleOnClickAvatar","isDestroy","coborrowers_attributes","coborrower","lastRefferedDateTime","setIsArchived","divRef","mortgageButtonText","hasArchived","filteredLoans","loans","DeleteNoteModal","DiscardNoteModal","EditNoteModal","_ref3$isExternal","showDiscardForm","setShowDiscardForm","onStar","onEdit","onVisible","_ref$variant","EyeSlashSolidV6","StarSolidV6","StarRegularV6","user_avatar_url","user_full_name","onAddNote","NoteCard","setAddNoteModalOpen","setShowDeleteForm","showViewAllModal","setShowViewAllModal","setShowEditForm","ViewAllNotes","markdown_content","OTHER_INTERACTION_TYPES","SMS_FILTER_TYPES","CustomCheckbox","checkboxClass","appliedFilters","labelClassApplied","ToggleButton","_buttonRef$current","accountActivityFilter","handleAccountActivityGroupCheckboxChange","handleAllActivityGroupCheckboxChange","handleCheckboxChange","handleFilterStatsButtonClick","handleOtherActivityCheckboxChange","handleWebActivityGroupCheckboxChange","initialFilters","otherActivityFilter","webActivityFilter","webActivityEventTypes","_useSelector","publicActivityEvents","gmailEvents","taskEvents","timelineEvents","totalGmailEvents","total_gmail_events","timelineLoading","allToggleOpen","setAllToggleOpen","buttonRef","mostRecentGmailEventsCount","nonGmailAndMostRecentGmailEventCount","totalPersonMergeEvents","AngleDownRegularV6","PenToSquareRegularV6","PhoneRegularV6","CalendarCheckRegularV6","ListRegularV6","skeletonCss","skeleton","timelineSkeletonWrapper","timelineSkeletonWrapperInner","timelineSkeletonWrapperBody","timelineSkeletonIcon","timelineSkeletonTitle","timelineSkeletonDetail1","timelineSkeletonDetail2","ArrowLink","targetPage","LeftLink","RightLink","baseLinkClasses","activeBg","currentDictionary","linkDictionary","currentSchema","linkSchema","PageLink","CurrentPosition","NumberedLink","maxCentralNeighbors","leftCentral","rightCentral","leftEdge","rightEdge","setCompleted","withinRight","_ref$maxCentralNeighb","NumberedLinks","_ref2$maxCentralNeigh","_ref2$maxEdgeSize","paginationOptionsWithExplicitGaps","PageGap","pdfjs","workerSrc","Pdf","showPagination","pages","setPages","passwordError","setPasswordError","setSize","pageRef","Document","onPassword","Page","onLoadSuccess","_transport","_numPages","renderAnnotationLayer","TimelineEvent","hideModal","titleizedKey","to","fileUri","file_uri","newDescription","newD","desc","row","_this$props$event","titleizedType","titleized_type","interactedAtAbsolute","eventText","interactedAtEpoch","BaseEvent","extraContent","interactedAt","extraProps","SHORT_STATUS","ALLOWED_FIELDS","AddedBy","updaterName","updater_name","tracking_number_name","titleizedAttribute","prevStatus","prevShortStatus","newShortStatus","statusDetail","standardDetail","_timelineFields$first","_timelineFields$last_","contactName","leadName","setIsModalOpen","attribute","prevClasses","newClasses","intentDetail","prevStage","newStage","stageDetail","prevPersonType","newPersonType","personTypeDetail","_change$","_change$2","zeroDate","descriptions","isPondToPond","new_lead_pond","old_lead_pond","isAgentToPond","old_primary_agent","new_primary_agent","transferred_by","FishSolidV6","HomeInfoOverlay","property_price","_ref$event$timeline_f","scheduleTourType","isForcedSearch","orderedDetails","selling_or_buying","buy_time_frame","sell_time_frame","time_frame","scheduled_consult","consultation","titleizedValue","sellingOrBuying","lowerSellingOrBuying","toLocaleLowerCase","Resume","_detail$split2","callSid","Transcript","callSID","AiCallSummary","HeartSolidV6","PublicActivityMessageEvent","newDetailsPage","handleReplyClick","additionalRecipient","other_recipients","email_subject","recipientString","email_snippet","interacted_at_relative_in_words","email_body","MessageErrorTooltip","getStatusColor","getConvertedStatus","SmsStatus","CheckCircleRegularV3","nonDeliveryReasons","SmsHeadline","objectAttributes","agentName","getContactName","smsDirection","DncSmsHeadline","leadPhone","to_phone_number","auto_plan_name","SmsMedia","_event$meta","_event$meta2","_event$mms_media","_event$non_delivery_r","_event$non_delivery_r2","useDnc","Headline","SMSInteraction","delivery_status","non_delivery_reasons","reason","mentionMap","PublicActivityNoteEvent","submitEditNoteForm","calculateNoteContent","setShowDiscardModal","showDiscardModal","potentialMentionId","created_by_name","_event$object_attribu","scheduled_at","isTimelineEvent","dncHelperText","phone_call_detail_css","brivityBtnGrayOutline","calculateCallContent","PublicActivityCallEvent","editableInteraction","editableInteractionHasErrors","editableInteractionErrorMessages","rawFrom","fromString","callContext","callResult","segments","durationSeconds","hoursString","minutesString","secondsString","_this$props$event$obj","updateEditableInteraction","submitEditableInteraction","errorObject","call_sid","PhoneCallDetails","RightToBracketSolidV6","CommentsSolidV6","attachmentFileIconClass","mimeType","GmailAttachment","mime_type","attachment_id","activeMessageId","toggleMessage","setActiveMessageId","GmailMessage","messageCount","recipientsEmails","setRecipientsEmails","setCcEmails","emailRegex","most_recent_message_to","recipientEmailAddresses","most_recent_message_cc","ccEmailAddresses","showGmailModal","hideGmailModal","most_recent_message_from","has_attachment","snippet","GmailThread","owning_user_name","SquareCheckSolidV6","assignedPlanEvents","assigned_plan_applied","cssClass","assigned_plan_paused","assigned_plan_resumed","assigned_plan_completed","assigned_plan_deleted","user_name","sent_by","available_criteria","lot_sqft","search_radius","report_url","drip_schedule","MarketReportViewedEvent","viewed_by","MarketReportFrequencyUpdatedEvent","updated_by","uploader_name","document_url","document_name","ListingAlertFrequencyEvent","keyword","LocationArrowSolidV6","TimelineValidationUpdateEvent","changes","report_created_by","report_location","timestamp","lead_phone_number","named_status","finalState","Skeleton","author","SMS_DICITONARY","untextable","CALL_DICTIONARY","author_name","authorName","isSms","sms_status","changeSet","call_status","originalState","typeChange","sender","selectedMessage","TimelineLeadPondDeleteEvent","FishSolidV3","account_owner","HandHoldingDollarSolidV6","loan_officer","buy_or_refinance","property_state","budget","HomeValueReportEvent","titleized_key","report_type_name","alertType","alert_type","listPrice","list_price","standard_address","previousStatus","previous_status","statusChangeDate","status_change_date","formattedStatusChangeDate","NewListingStatusText","StatusText","addConstraintsToImageUrl","NoImageDisplay","intentMap","buyer_seller","timline","home_value_address","working_with_an_agent","TimelineAgreementDocumentEvent","documentName","transactionName","transaction_name","setAction","eventBody","TimelineAgreementAddendumEvent","mainPhoto","transformComments","offerAmount","preApprovedWithALender","seenThisHomeInPerson","_ref$event$timeline_f2","merged_details","mergedDetails","primaryPersonName","primary_person_name","primaryPersonUuid","primary_person_uuid","secondaryPersonName","secondary_person_name","secondaryPersonUuid","secondary_person_uuid","UserGroupSolidV6","_event$timeline_field3","parsedObject","areYouPurchasingOrRefinancing","whatTypeOfPropertyAreYouPurchasing","areYouAFirstTimeHomeBuyer","purchasePrice","downPayment","ExpandSolidV6","BUYSELL_REGEX","hasIntent","utm_type","isBuyer","new_lead","RotateRightSolidV6","f_name","l_name","additional_information","returnTimelineServiceEvent","TimelineLeadCreateUserNotificationEvent","TimelineLeadCreateEvent","TimelineFailedLeadCreateEvent","TimelineLeadTransferEvent","TimelineLeadUpdateEvent","BrivityAdsEvent","TimelineSubmittedFormEvent","TimelineGetPrequalifiedEvent","TimelineMakeOfferEvent","TimelineContactFormEvent","TimelineQualificationFormEvent","TimelineTaggingEvent","AssignedPlanEvent","EnvoyReferralCreated","MarketReportSentEvent","PropertyFavoriteEvent","TimelineDocumentEvent","KwklyPropertyView","DirectToTimelineEvent","CmaReportCreatedEvent","TimelineSmsHardUnsubscribeEvent","TimelineSmsHardResubscribeEvent","TimelineCallHardUnsubscribeEvent","TimelineCallHardResubscribeEvent","TimelineSmsHardUntextableEvent","TimelineSoftStatusChangeEvent","TimelinePhoneNumbersArchivedConversations","TimelineGroupSmsEvent","TimelineAgreementEvent","TimelineTrackingNumberEvent","AddressStatusChangeEvent","OpenHouseEvent","PersonMergeEvent","RecruiterUploadEvent","TaskEvent","GmailInteraction","PublicActivitySmsEvent","PublicActivityAppointmentEvent","PublicActivityLoginEvent","PublicActivityOtherEvent","PublicActivityEvent","WEB_ACTIVITY_EVENT_TYPES","INITIAL_FILTERS","timelineLoadingSuccess","sortedTimeline","setSortedTimeline","_setFilters","prevData","newTimeline","len","timelineBubbleSort","personDetailCss","cardRoundedTop","borderBottom","PersonTimelineFilter","filtersToChange","newAppliedFilters","activityFilter","interactionFilter","LoadingSkeleton","LoadingFailure","EventComponentSelector","AgreementsConfirmModal","Agreementbtn","isEmptyState","sidebarClasses","tableClasses","FileInformation","editFilename","setEditFilename","previewDocument","clearDocumentErrors","onClickOutside","setNewName","renameError","setRenameError","hasNewNameChanged","setHasNewNameChanged","_document$renameError","_document$renameError2","isUploading","submitRename","newNameTrimmed","newNameComplete","iconProps","Image","Word","faFile","getIcon","Menubtn","triggerRename","deleteDocuments","triggerReplace","hiddenUploadagreementInput","handlePreview","_hiddenUploadagreemen","EditAgreement","handleAgreementDocumentReplace","deleteAgreementDocument","renameAgreementDocument","hiddenUploaddocInput","UploadDocContainer","_hiddenUploaddocInput","Addendum","handleAddendumsReplace","deleteAddendum","renameAddendum","Addendums","hiddenUploadAddendumsInput","_hiddenUploadAddendum","EditAgreementBody","setAgreement","addendumState","handleAgreementDocumentUpload","handleAgreementFileDrop","handleAddendumsFileDrop","handleAddendumsDocumentUpload","createDoc","lastModified","isCreated","EditAgreementModal","agreementState","setAgreementState","setAddendumState","isAddendumDelete","setIsAddendumDelete","openDeleteAgreementModal","setOpenDeleteAgreementModal","_agreementState$docum6","tempfiles","isReplaced","_agreementState$docum","deletedDocId","replaced","replacedFileName","isDocCreated","isDeleted","isRenamed","deleteAgreementCloseModal","_agreementState$docum3","_agreementState$docum4","_agreementState$docum5","_agreementState$listi","_result2","_result3","createdDoc","isReplacedDoc","deleteDocId","deleteAddendums","renameDoc","renameAddendums","dispatchPromises","_result","createAddendum","replaced_file_name","newFileName","_agreementState$docum2","File","AgreementSection","_agreement$listing","isEditModalOpen","setIsEditModalOpen","AlertToast","agreementsButtonText","isAgreementModalOpen","setIsAgreementModalOpen","setAgreementName","onClickAgreement","selectDocTypeCloseModal","setOpenAgreementModal","documentType","getEnvoyReferralsFormDataApi","postEnvoyReferralApi","LABEL_VALUE_STATES","filteredStates","useSpecificStatesAsOptions","modalfilteredStates","setModalfilteredStates","useGetEnvoyReferralData","formOptionsFromApi","setFormOptionsFromApi","formDataFromApi","setFormDataFromApi","_yield$getEnvoyReferr","retrievedLoanOfficers","hub_spot_owner_options","_res$data5","_res$data6","source_options","state_options","bestTimeToCallOptions","best_time_to_call_options","timeFrameOptions","timeframe_options","referringAgentOptions","agent_options","agent_name","agent_email","agentPhone","agent_phone","focusOptions","focus_options","originalLOList","loanOfficersByState","licensedStates","_res$data$primary_age","_res$data$primary_age2","_res$data$primary_age3","_res$data$last_envoy_","_res$data7","lastReferredDate","last_envoy_referral","referred_at","hub_spot_owner_id","default_hub_spot_owner_id","office_state","stateObj","abbreviation","CallLeadOption","setFormDataValue","selectedFocusOption","DEFAULT_FORM_DATA","envoyAba","best_time_to_call","loan_type","send_aba","ReferLenderModal","initFormData","initFormOptions","setFilteredStates","isFilteredStatesModalOpen","setIsFilteredStatesModalOpen","envoy_referral","loanOfficersOptions","_initFormOptions$orig","chain","officer","selectedLoanOfficer","removeErrorHandlr","errs","FilterStatesModal","_e$value","invalidProperties","IGNORE_KEYS","isNil","validateEnvoyReferralProperties","setIsSubmitting","setHasError","toggleLenderModalHandlr","toggleSuccessReferLoanToastHandlr","updateLastRefferedDateTime","_useGetEnvoyReferralD","_yield$postEnvoyRefer","_person$data13","_person$data14","_person$data16","_useSimpleNavigation","useSimpleNavigation","platformCTAOpen","marketReportsRefreshKey","marketReportPerson","_person$included3","_i$attributes2","_i$attributes3","_i$attributes4","openPanel2","marketReportId","editMarketReportId","marketReportIdParam","toggleAddMarketModal","setDocType","openAgreementModalConfirmation","setOpenAgreementModalConfirmation","openAgreementTypeModal","setOpenAgreementTypeModal","closeSelectDocModal","loadingReports","setLoadingReports","lenderReferral","PersonInfo","ContactInfo","Relationships","CardNotes","Projects","PersonInteractions","TimelinesApp","AssignedTo","Mortgage","WebActivity","Agreements","CardAppointments","HomeApp","CardTasks","ListingAlertCard","MarketReports","_person$data15","PolymorphicTask","completeAppointment","PolymorphicGrid","PolymorphicTasks","calculatePercent","determineCorrectPercentColor","allTotalLeads","categoryTotal","individualTotalLeads","individualCategoryTotal","individualPercent","totalPercent","truncateTime","calculateCallsTotals","secondsToHMS","daysAgoRangeDisplay","daysAgoDisplay","numDaysAgo","thisYear","lastYear","thisMonth","lastMonth","dateRangeOptions","GENERAL_HEADERS","BUYER_HEADERS","SELLER_HEADERS","BUYER_SELLER_HEADERS","RECRUIT_HEADERS","OTHER_HEADERS","ToolTipContent","tooltipHeaders","tooltipGenerator","tooltipGeneratorForTransactionsData","getSortDir","ReportHeader","handleSort","tooltipDesc","LeadSourcesHeaders","sourceTypeTitle","isOtherSources","HEADER_COMPONENTS","teamDashboard","agentActivity","AgentActivityHeaders","namePrefix","agentCalls","AgentCallsHeaders","agentTexts","AgentTextsHeaders","leaderboards","activeReport","ReportName","user_path","call_report_agent_total_lead_count","call_report_lead_call_count","call_report_manual_calls","call_report_dialer_calls","call_report_total_calls","call_report_total_dialer_call_time","TableData","truncate","agentCallData","AgentCallsRow","AgentCallsTotalRow","totalCalls","totalContacted","totalEmails","totalTexts","lead_count","email_count","call_count","contacted_count","text_count","email_resp_label","call_resp_label","text_resp_label","login_count","last_login","totalLogins","total_logins","isOtherSource","other_source","other_new","other_unqualified","other_watch","other_nurture","other_hot","other_past","other_inactive","other_archived","other_trash","other_total_leads","statusCounts","totalLeadCount","LeadSourcesHolder","LeadSourceRow","LeadSourceTotalRow","completedTotal","onTimeTotal","lateTotal","UserDataRow","admin_user_id","agent_user_id","TaskTotalsRow","ALL_LABEL","RANGE_LABEL","allInRange","text_report_agent_total_lead_count","text_report_lead_text_count","text_report_non_lead_text_count","text_report_total_texts","text_report_total_texts_recd","text_report_total_text_count","agentTextData","AgentTextsRow","AgentTextsTotalRow","cells","agentCell","_header$dropDown","dropDown","faCaretUp","faCaretDown","_useAppointmentsData","_ref3$appointmentData","apptFilters","headersRow","isSeller","isBuyerSeller","isRecruit","isOther","appointmentRows","buyerSet","appointment_report_buyer_set","sellerSet","appointment_report_seller_set","buyerSellerSet","appointment_report_buyer_seller_set","recruitSet","appointment_report_recruit_set","buyerHeld","appointment_report_buyer_held","sellerHeld","appointment_report_seller_held","buyerSellerHeld","appointment_report_buyer_seller_held","recruitHeld","appointment_report_recruit_held","buyerSigned","appointment_report_buyer_signed","sellerSigned","appointment_report_seller_signed","buyerSellerSigned","appointment_report_buyer_seller_signed","recruitSigned","appointment_report_recruit_signed","buyerUnderContract","sellerUnderContract","buyerSold","sellerSold","buyerCanceled","appointment_report_cancel_buyer","sellerCanceled","appointment_report_cancel_seller","recruitCanceled","appointment_report_cancel_recruit","buyerNoShow","appointment_report_no_show_buyer","sellerNoShow","appointment_report_no_show_seller","recruitNoShow","appointment_report_no_show_recruit","otherSet","appointment_report_total_set","otherHeld","appointment_report_total_held","otherSigned","appointment_report_total_signed","otherCanceled","appointment_report_cancel","appointment_report_cancel_buyer_seller","otherNoShow","appointment_report_no_show","appointment_report_no_show_buyer_seller","totalSet","totalHeld","totalSigned","totalUnderContract","totalCanceled","totalNoShow","totalSetBundle","totalHeldBundle","totalSignedBundle","totalUnderContractBundle","totalSoldBundle","totalCanceledBundle","totalNoShowBundle","orderedCells","userPath","appointment_report_total_calls","appointment_report_contacted_count","transformAppointmentRow","appointmentTotalRow","_appointmentRows$","useAppointmentsData","AppointmentsRow","cell","progressBar","keyToFormat","ytdNetIncomeGoal","netIncomeGoal","netIncome","ProgressBar","TooltipDotRow","AgentStat","_useAgentSummary","useAgentSummary","_useAgentSummary$data","pendingIncome","netIncomeForTheNext30Days","listedToClosedPriceRatioYtd","pendingsToCloseRatioYtd","avgClosedPrice","closings","pendings","activeListings","BORDER_CLASS","_useAgentTransactions","useAgentTransactions","_useAgentTransactions2","closedNetIncome","estIncome","activeUnits","activeVolume","activeIncome","comingSoonIncome","Pipeline","pipelineUnits","pipelineVolume","pipelineIncome","_agent$meta","_agent$meta2","_agent$meta3","isCurrentUser","AgentSummary","AgentTransactions","RollupStatCard","overviewTooltip","overviewTooltipPlacement","actualFormat","_useSummary","useSummary","companyDollar","ytdDifferencePercent","ytdGoal","operatorPercentProduction","operatorUnits","metricValue","metricTitle","span","MetricsGrid","titleName","titleValue","lastItemShouldSpan","isLastItem","Metric","DATA_TRANSFORMS","_ref$totalAgents","totalAgents","_ref$totalShowingAgen","totalShowingAgents","_ref$totalOperatorAge","totalOperatorAgents","staff","_ref2$totalStaff","totalStaff","_ref2$totalOperatorAd","totalOperatorAdmin","_ref2$totalVirtualAdm","totalVirtualAdmin","_ref2$totalStaffInsid","totalStaffInsideSales","_ref2$totalOtherStaff","totalOtherStaff","_useTotalByType","useTotalByType","showTextToggle","diffFormat","signDisplay","scaleValue","origValue","_chart$chartArea","hypo","sqrt","generateDiffBox","xMin","xMax","yMax","yMin","transformRecruiting","activeAgents","annualGoal","chartDataSelectedYear","agentsHiredYearGoal","agentsHiredYtd","activeNetAgentsAddedYtd","_ref$activeAgents","_ref$summary","netAgentsAddedYtd","prevMonthDifferences","prevMonthDiff","_chartDataSelectedYea","fullTime","partTime","_temp2","totalNetAgentsAddedYtd","_ref4$summary","_data$activeAgents","_data$prevMonthDiffer","goalLine","annotation","clip","drawTime","annotations","IconToggleOption","IconToggle","beforeDatasetsDraw","_chart$scales","yPixel","getPixelForValue","save","beginPath","strokeStyle","setLineDash","moveTo","lineTo","closePath","restore","STAT_CLASSES","x1","y1","y2","setAgentType","_useRecruitingSection","useRecruitingSection","ChartBarRegularV6","ChartLineRegularV6","GoalLinePlugin","DashIcon","decimalFormat","transformPerAgentProduction","includeOperatorProduction","fullTimePapYtd","papYtd","partTimPapYtd","chartDataPreviousYear","selectedData","lastFromPreviousYear","parsingKey","_rawData$fullTime","register","AnnotationPlugin","setIncludeOperatorProduction","_usePerAgentProductio","usePerAgentProduction","shouldRerender","partTimePapYtd","transformProductionStats","setStat","_useProductionStats","useProductionStats","operatorDashboardGraphsEnabled","SummarySection","RecruitingSection","PerAgentProductionSection","TotalAgentsStaffSection","ProductionStatsSection","getRollupsByDate","_data$users","min_date","max_date","formatUser","_user$avatar_url","getRanksByDate","metric","brivityRank","placeRank","makeDateRangeFromPhrase","timeFrame","_timeFrameConverters$","timeFrameConverters","startOfToday","endOfDay","yesterday","startOfYesterday","startOfWeek","weekStartsOn","endOfWeek","startOfDay","subDays","subWeeks","addSeconds","startOfMonth","subMonths","ytd","startOfYear","January","monthRange","February","March","April","May","June","July","August","September","October","November","December","Q1","quarterRange","Q2","Q3","Q4","quarter","quarterNumber","yearStart","addQuarters","endOfQuarter","endOfMonth","CurrentYear","Activities","shortName","selectedActivity","isPlaceUser","activityName","filteredUsers","Dash","UserPortrait","rank","activityCount","rankMargin","selectedUser","setSelectedUser","wasActivityInPeriod","ranks","themeStyles","UsersDropdown","Rankings","Rank","teamRank","_ref5$isPlaceUser","lastOne","lastTwo","getOrdinalNumber","onActivityChosen","ActivitiesValue","ActivitiesContainer","ActivitiesControl","ActivitiesMenu","setSelectedActivity","maxCount","goalDivider","columnRefs","shouldAutoScroll","hoveredColumn","setHoveredColumn","SortOptions","ActivitiesDropdown","InitialHeader","TableHeader","nameForChange","isSelectedActivity","isHoveredColumn","TableRow","maxActivityCount","isSelectedUser","isLastRow","headerBorderStyle","hoverStyle","getHoverStyle","Arrows","InitialCell","TableCell","_getActivityData","getActivityData","goalPercent","countPercent","wasGoalSurpassed","countStyle","currentUserName","transformOrigin","_getActivityData2","selectedStyle","_user$activity$count","setTimeFrame","customMinDate","customMaxDate","setCustomMinDate","setCustomMaxDate","setFullscreen","CurrentYearPeriods","createOptionsPerYear","YearOptions","PreviousYearPeriods","abandonCustomQuery","loadValue","stringy","rawUsers","setRawUsers","goalDivisor","setGoalDivisor","largeQuery","setLargeQuery","setMaxCount","setRanks","setUsers","rankLoading","setRankLoading","prevGoal","_user$activity","sortedUsers","currentRank","previousCount","rankMatches","sortAndRankUsers","daysInTimeFrame","differenceInDays","rankData","_rawUsers$find","selectedUserId","setSelectedUserId","_useStateWithPersiste2","useStateWithPersistence","_useStateWithPersiste4","_useStateWithPersiste6","_useStateWithPersiste8","timeFrameDescription","setTimeFrameDescription","_useStateWithPersiste10","_useStateWithPersiste12","_useLeaderboard","useLeaderboard","_useLeaderboard$data","_makeDateRangeFromPhr","BigQueryWarning","GlobalLeaderboard","TeamLeaderboard","TeamTable","useSecondAuth","authorize","secondAuth","_useSecondAuth","iframe","embedConfig","setEmbedConfig","tokenType","models","TokenType","Embed","embedUrl","reportDetails","accessToken","filterPaneEnabled","navContentPaneEnabled","embedContainer","powerbi","embed","powerbiSecondAuth","powerBiRef","isPowerBiAuthenticated","setIsPowerBiAuthenticated","usePowerBi","SecondAuthForm","OverviewCard","centered","selectedHosts","attendees","hostPersonUuids","overviewData","avgLeads","VerticalRule","_useOpenHouseDashboar","useOpenHouseDashboardOverview","prevQuery","_ref2$data$data","delete","openHouse","openHouseUuid","STATUS_OPTIONS","unqual","nurt","inactiv","arch","LeadRow","_ref$lead","canBeAccessedByCurrentUser","hasPrimaryPhoneNumber","lastInteractionAt","lastInteractionType","hasAgent","leadPersonUuids","getSignInSheetUrls","blossorData","displayAgentUuid","qrCodeUrl","blueroofMlsId","openhouseUrl","getSignInSheet","userMeta","signInData","propertyId","checkInKey","getOpenHouseUserUuid","_selectedHosts$find","hostPersonUuid","_useSignInSheet","useSignInSheet","DownloadSolidV6","downloadPdf","transformOpenHouse","workingWithAgent","OpenHouseFlyout","_useOpenHouseDetails","useOpenHouseDetails","_useOpenHouseDetails$","hostName","showDelete","setShowDelete","_useOpenHouseLeads","useOpenHouseLeads","leadList","leadListLoading","isPrivileged","canEdit","activeAt","getStatus","openLeadIndexFromTagName","SignInSheetDropdown","OpenHouseDeleteModal","upcomingCount","setUpcomingCount","_data$list2","setOpenHouse","useOpenHouseDashboardList","useUpcomingCount","_data$list","oh","TIME_FRAME_OPTIONS","CUSTOM_OPTION","_ref$includeCustom","includeCustom","startAt","endAt","sub","months","endOfYear","_setDebouncedSearchTerm","selectedFields","setDebouncedSearchTerm","MlsListingDropdown","mlsSearch","useMlsListingSearch","HorizontalLine","oversized","getTimeOptions","addMinutes","OpenHouseModal","hosts","originalOpenHouse","openHouseApi","uuids","openHouseData","_openHouseData$openHo","setOpenHouseData","mlsListing","setMlsListing","mlsListingDetails","useMlsListingDetails","useOpenHouseFormOptions","useTimeOptions","availableTags","useTags","previousAddressTagRef","selectedTags","isAddressTag","addressTag","_prev$tags","_mlsListingDetails$da","_mlsListingDetails$da2","_mlsListingDetails$da3","_mlsListingDetails$da4","_mlsListingDetails$da5","updateOpenHouseDetail","newTags","_formOptions$","formUuid","axiosErr","_axiosErr$response","_selectedHosts$2","setSelectedHosts","_useTimeFrameOptions","useTimeFrameOptions","useOpenHouseDashboardHosts","modalHosts","selectedHostsWithoutAll","_selectedHosts$","currentHosts","setSeconds","isPending","generateNewOpenHouse","OpenHouseOverview","OpenHouseDashboardList","embedData","setEmbedData","fullEmbedUrl","ACTIVE_REPORT_TITLE","ACTIVE_REPORT_DESCRIPTION","SOURCE_TYPE_TITLE","agentPersonList","fetchNewData","handleCustomDaySelect","handleDateRangeSelect","operatorDashboardEnabled","powerbiEnabled","basePowerbiEnabled","basePowerbiSecondAuth","setLeadsConstraint","setTasksConstraint","report_tab","isAllInRange","_setApptFilters","setApptFilters","buyerSetTotal","sellerSetTotal","buyerSellerSetTotal","recruitSetTotal","buyerHeldTotal","sellerHeldTotal","buyerSellerHeldTotal","recruitHeldTotal","buyerSellerSignedTotal","buyerSignedTotal","sellerSignedTotal","recruitSignedTotal","buyerPending","sellerPending","totalApptSet","totalApptHeld","totalApptSigned","denom","statCardsTotal","isDashboardReport","Referrals","PowerBIReport","OperatorDashboard","BusinessDashboard","AgentDashboard","Leaderboards","OpenHouseDashboard","AllOrDateRangeRadios","reportType","allIsChecked","allLeadsInRange","allTasksInRange","ApptTypeFilter","DatetimeRangePicker","locale","isValidStartDate","toDate","isValidEndDate","AppointmentsStatCards","ReportHeaderSortContainer","AgentReportRow","AgentReportTotalRow","AppointmentsContainer","AgentCallsHolder","AgentTextsHolder","UserTaskHolder","isAgentTasks","ROUTE_OPTIONS","filterByForAgentActivity","filterRange","handleStatusCheckboxChange","allLeadsOrTasks","handleCustomRangeSelect","setAppointmentsConstraint","filterByReport","filterByForAgentCalls","filterByForAgentTexts","brivity_sources","other_sources","status_counts","filterByForLeadSource","admin_total_assigned_tasks","admin_total_completed_tasks","admin_total_on_time_tasks","admin_total_late_tasks","agent_total_assigned_tasks","agent_total_completed_tasks","agent_total_on_time_tasks","agent_total_late_tasks","filterByForTasks","filterByForAppointments","isCustomRange","convertedRange","route","rangeParam","Reports","ReportsContainer","DialerButton","SingleDialerApp","UnAssignModal","TwilioManageNumbers","assignedNumbers","twilioNumbers","sid","toll_free","setUnAssignModalShow","unAssignedModalCb","unassignNumber","unassignedNumbers","unassigned_at","showAssignModal","showMoveAccountModal","successAlerts","errorAlerts","loadingState","twilio_numbers","unassignedUsers","unassigned_users","assignModalVisible","numberToAssign","selectUser","userToAssign","assignNumber","selectTrackingNumber","trackingNumberToAssign","assignNumberToTrackingNumber","assignModal","assignTo","_this$state6","_this$state7","moveAccountModalVisible","numberToMove","moveAccountModal","_this$state8","moveAccountUserEmail","userToMoveTo","moveNumberErrors","user_email","account_name","subaccount_sid","moveNumber","_this$state9","noSubaccountMessage","developerOnlyMessage","subaccountSid","developerRole","_this$state10","_user$person","_user$person2","tollFreeNumbers","assignPhone","buyPhone","selectedTollFreeNumber","setSelectedTollFreeNumber","toll_free_phone_number","unassignPhone","tollFreeNumber","previous_user_local_phone_number","assigned_at","usersState","setUsersState","tollFreeNumbersState","setTollFreeNumbersState","unassignedTollFreeNumbers","usersWithoutTollFreeNumbers","TollFreeAssignForm","tollFreeNumberId","toll_free_number_id","toll_free_numbers","TollFreeTable","TwilioSubaccountSid","handleProvisionSubaccount","twilio_sid","provisionSubaccountLink","_ref$includeMargins","includeMargins","margins","getStatusValues","availableStatuses","_getStatusValues","availablePropertyTypes","toggleFeatureField","_filters$search_categ","classNameExtra","existingFilters","mergeFilters","updateFilters","toggleListingTypes","listingType","_filters$field","searchCategory","_filters$searchCatego","_filters$searchCatego2","previousFilters","Column","FilterDropdownSection","minValue","maxValue","squareFeetOptions","showTeamListings","showOnlyNew","StatusOptions","PropertyTypeOptions","includeMax","FeatureSection","createDefaultFilters","storiesMax","curr","_ref4$includeMax","_ref5$className","_ref6$className","_ref$includeIcon","includeIcon","images","imageToMoveTo","scrollToImage","imageIndex","setImageIndex","mouseInArea","setMouseInArea","cardValues","SizeValues","largeUrl","lastImage","ArrowButton","imgHeight","imgWidth","xSpacing","bubbleStyle","changeIconSize","changeBubbleSize","setLoaded","loadingStyle","onLoad","_ref$buyerMatches","buyerMatches","linkToIndex","countText","sendToLead","setCollapsed","matchesToShow","take","_buyerMatches$matches","setSharedListing","onShowAgentDetails","agentDetailsEnabled","ListingHeader","shareListing","Images","SectionTitle","HorizontalDivider","BuyerMatches","DetailItem","lotSize","area","fullBaths","halfBaths","hasFireplace","aboveGroundSqft","belowGroundSqft","hasBasement","water","garageSpaces","parkingSpaces","sewer","taxAmount","taxWithAssessments","taxId","taxYear","Location","_ref3$className","ShareFromSquareSolidV6","ListingStatus","daysOnSite","ListingImages","SecondaryImages","onSelectImage","imageRefs","mapSettings","disableDefaultUI","_ref10$asPrice","_ref10$verticalMargin","numberSelected","selectedLimit","onToggleShare","maxListingsSelected","openAgentDetailsModal","ListingDetails","selectedStatuses","onToggleStatus","StatusOrder","so","FilterButton","statusCount","FilterColor","iconColor","_ref$listingStats","listingStats","ClosingSection","SummariesSection","_ref2$data","sellerVolume","buyerVolume","AgentType","includePadding","_ref3$data","gridTemplateColumns","rowGap","columnGap","SummaryBlock","_ref4$asPrice","_ref5$includePadding","textAlignClass","bottomBorder","isFirstRow","MlsListingCell","represented","statusColor","displayStatus","displayPrice","formattedListDate","displaySoldPrice","displaySoldDate","displaySquareFeet","displayPricePerSquareFoot","displayHoaFee","sortStatus","sortedBy","isSortedBy","isSortable","_ref$sortOptions","sortOptions","justify","px","fontSettings","textAlignment","SortIcon","mlsListings","sortField","setSortField","sortOrder","setSortOrder","setListings","sortListings","getSortOrder","flexBasis","borderSpacing","HeaderCell","AgentListingRow","_ref$mapPaneName","mapPaneName","pixelOffset","allowReposition","elementSize","createOverlay","pane","_google$maps$OverlayV","isPointVisible","_this$getProjection","pointAsLatLng","getProjection","fromDivPixelToLatLng","_this$getPanes","getPanes","draw","OverlayView","preventMapHitsFrom","fromLatLngToDivPixel","topVisible","leftVisible","rightVisible","_this$container","parentNode","setBounds","DefaultOptions","CustomOverlay","ZIndexByStatus","ListingMarker","divStyle","getStyleByStatus","mapRef","getNorthEast","equals","getSouthWest","coordinateManipulator","zoomControlOptions","useStateWithProps","useViewSize","viewSize","setViewSize","useLayoutEffect","innerHeight","monthsBack","onDateChosen","DateValue","DateContainer","DateControl","DateMenu","_listingData$listings","DefaultStatuses","setSelectedStatuses","_useStateWithProps2","listingsToShow","setListingsToShow","showListingLimitDisclaimer","_listingData$listings2","openAddToCrmModal","Disclaimer","AgentStats","AgentListingFilters","ListingsMap","AgentListingsTable","monthsBackOption","DateFilterOptions","verbiage","DateDropdown","space","CreateLead","createRecruitModal","SearchModel","resetOffset","_this$statuses","DefaultLimit","namesByIds","officeIds","getFilters","FilterFields","getNumberOfFilters","_this$propertyTypes","FilterPairs","_this2$f","updateMany","addToArray","doesValueExist","addToArrayWithIdentifer","identifier","_objectSpread6","_this$field","_objectSpread7","removeFeatureValue","_this$field2","_objectSpread8","getSort","_this$queryOptions$so","getIdentifier","_this$namesByIds$fiel","setSort","_this$queryOptions","updateOffset","newOffset","clearSearchParams","_this$mlsIds","_this$cityStates","_this$neighborhoodCit","_this$countyStates","_this$postalCodes","_this$mlsNums","_this$streetAddress","_this$agentIds","_this$officeIds","_this$schoolDistricts","getUserInfoForSend","deets","searchModel","teamIds","includeCount","formatted","listingsResponse","countResponse","formatForSearch","formatListings","getAgentListings","getPropertyTypes","getFeatureFields","ignoredCategories","getBuyerMatches","matchesToKeep","maxMatchesToKeep","_response$data$buyer_","buyer_matches","link_to_index","getSearchUrl","getSearchUrlWithLogin","getDetailsUrlsWithLogin","details_urls","getDetailsUrls","formatListing","_listing$photos","emailUrl","MissingImageUrl","listDate","formattedPrice","loadListingSearches","saved_searches","saveListingSearch","formatForSave","deleteListingSearch","searchId","RemoveWhenSearching","saveObj","loadObj","listAgent","listOffice","setListingData","setMonthsBack","allListings","setAllListings","filterListingsByMonthsBack","createListingData","AgentDetails","createAgentListings","_listing$squareFeet","statusValues","getRepresented","getPricePerSqft","soldDate","pricePerSquareFoot","hoaFee","getAvailableStatuses","listAgentId","asDate","isInitialState","searchBarRef","selectResult","childPosition","setChildPosition","setTerm","transaction_css","newChildPosition","cellPadding","cellSpacing","tableLayout","bgcolor","listingUrl","borderCollapse","idxDomain","brokerImage","msoHide","fontVariantLigatures","fontVariantCaps","fontVariantNumeric","fontVariantEastAsian","fontStretch","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","borderImageSource","borderImageSlice","borderImageWidth","borderImageOutset","borderImageRepeat","letterSpacing","textIndent","wordSpacing","WebkitTextStrokeWidth","textDecorationStyle","textDecorationColor","EmailBodyProperty","EmailBodySeparator","EmailBodyBlockSeparator","innerContent","defaultSubject","setSubject","selectedRecipients","setRecipients","sendMeACopy","setIsSending","previewListings","setPreviewListings","setSearchUrl","detailsUrls","listingsWithUrls","listingsWithDetailsUrl","sendEmail","sendCopy","searchUrlWithLogin","emailBodyPropertiesHtml","ReactDOMServer","EmailBodyProperties","doSendEmail","recipient_ids","EmailAutocomplete","EmailAutocompleteResults","_detailsUrls$find","LeftCaret","RightCaret","_ref2$maxDistance","currentOffset","onChangePage","previousPage","isRenderable","filterColumns","sortCells","extractElement","dynamicRow","keyedCells","keyedCell","_template$keyedCell$","_template$keyedCell$2","prepare","MlsListingRow","onShowDetails","highlighted","rightBorder","BuyerMatchCell","_ref2$buyerMatches","_ref2$buyerMatches2","tooltipText","generateNameTooltip","matchText","highlightedListing","selectedListings","currentSort","rowRefs","headerColumns","allColumns","checkbox","totalBaths","ppsf","yearBuilt","listedBy","_ref$includeNewBanner","includeNewBanner","infoSectionPadding","infoBetweenMargin","mainFont","secondaryFont","tertiaryFontSize","shareBubbleWidth","shareBubbleHeight","shareIconSize","viewedListings","onClickListing","onUserDragMap","heightOffset","setHeightOffset","selectedListing","setSelectedListing","RIGHT_TOP","deselectListing","onDragEnd","north","south","east","west","viewed","ListingCard","listeners","setListeners","newListeners","cardRefs","applySort","openListingDetailsModal","updateSearchPage","viewOptions","listingsContainer","listingsContainerHeight","setListingsContainerHeight","viewHeight","setHighlightedListing","shouldShowPageBar","_listingsContainer$cu","pageBarHeight","unavailableSpace","SearchMap","ListingGrid","SearchListingsTable","PageBar","searchFields","_objectWithoutPropertiesLoose","propertyIsEnumerable","debouncedTerm","termCleaned","autocompleteStatuses","cleanSearchTerm","maxSearchLength","getAutocompleteStatus","statusInteger","deleteSearch","AutocompleteResult","_result$selected_fiel","prevResult","isSavedSearch","categoryHeader","categoryHandler","savedSearches","selectSearch","_useStateWithMappedPr2","useStateWithMappedProps","autocompleteTerm","setAutocompleteTerm","selectAutocompleteResult","mapSavedSearches","_mapResultToSearchMod","mapResultToSearchModel","ListingsAutocomplete","autocompleteResults","mappedSearches","filterByTermIgnoreCase","ListingsAutocompleteResults","countyState","schoolDistrict","ln","officeName","searchIn","_searchIn$match","sortMenuOpen","setSortMenuOpen","setField","_useStateWithProps4","setOrder","SortFields","fieldOptions","orderOptions","createOptions","asc","bubbles","clearArrayValue","clearFilterOption","clearFeatureOption","saveSearch","featureFieldsWithLabels","parseFeatureOptions","textFormatter","cs","sd","_searchModel$field","FilterDataForBubbles","createFilterText","_FilterDataForBubbles","getOptionValuesAndClear","_searchModel$f","ff","makeFeatureKey","minFormatted","maxFormatted","mxOverride","_searchModel$getSort","_searchModel$getSort2","setViewOptions","clearNewListingFilter","toggleListingTypeFilter","updateViewOptions","prevOptions","ToggleableButton","FilterBubbles","SortMenu","ViewToggle","generateDefaultSearchName","setName","formattedLocations","LocationFormatters","_search$field","defaultName","createMinMaxDescription","descriptor","deleting","setDeleting","team_ids","agentDetailPageEnabled","searchBar","setFeatureFields","filtersModalOpen","setFiltersModalOpen","emailModalOpen","setEmailModalOpen","setIsSearching","shouldRunCountQuery","setShouldRunCountQuery","setListingCount","setBuyerMatches","setSearchModel","setListingDetails","agentDetails","setAgentDetails","setSelectedListings","setViewedListings","sharedListing","setSelectedRecipients","setSavedSearches","saveSearchModalOpen","setSaveSearchModalOpen","deleteSearchModalOpen","setDeleteSearchModalOpen","searchIdToDelete","setSearchIdToDelete","areListingsLoaded","onSearchModalClosed","refreshList","updatedList","onDeleteModalClosed","listOfficeId","listOfficeEmail","listOfficePhone","alreadySelected","isCancelled","getMatches","mappedMatches","saveCurrentSearch","saveViewSelections","searchListings","_yield$getListings","_yield$getListings2","searches","savedSearch","OptionsBar","minField","maxField","_searchModel$updateMa","SearchEmptyState","FiltersModal","ListingDetailsModal","buyerMatch","AgentDetailsModal","SaveSearchModal","DeleteSearchModal","SearchListings","HoverButton","selectedBgColor","selectedTextColor","isSmartFilters","Dashboard","GaugeHighSolidV6","Messages","InboxSolidV6","PhonePlusSolidV6","DropletSolidV6","Opportunities","MapLocationSolidV6","ListCheckSolidV6","RocketSolidV6","Reporting","ChartColumnSolidV6","Marketer","BullhornSolidV6","SuitcaseSolidV6","CalendarDaySolidV6","Apps","GridSolidV6","Settings","Website","WindowSolidV6","NewContactModal","ACTION_MAP","MenuOption","_href$startsWith","onBack","simpleNav","countIdentifier","isPushable","ICON_MAP","overflowWrap","backTitle","SmartFilterModal","TYPES","_layout$counts","_TYPES$type","shouldUpdate","MenuBase","MenuTitle","BackButton","overrideCounts","prevTitle","useCounts","setSubmenu","optionToDelete","setOptionToDelete","regexp","smartFilterAction","IntegrationButton","integration","launch","HubSpotModal","onRefRender","zapScript","IntegrationModal","_integration$steps","hasCopied","setHasCopied","thirdPartyModal","setThirdPartyModal","onZapierLinkClick","subtitle","screenshotUrl","longDescription","urlText","apiKey","_navigator$clipboard","steps","helpUrl","hubspotFormId","ZapierWidgetModal","openIntegration","setOpenIntegration","PanelIconCaret","_selected$options","_useMobileMenu$data","menuItem","XmarkRegularV6","AppsMenu","mounted","preventMenuOpen","newSelection","_window$location","MobileSidebar","PanelIcon","Sidebar","SharedAutoPlan","displaySharedOrNot","share_pending","share_accepted","handleOpenModal","enrolled","shared_by","shared_on","acceptedPlanName","handleAcceptPlan","acceptingPlanId","sharedPlans","SharedAutoPlansApp","acceptedPlan","SharedAutoPlans","NoSharedPlan","SharedAutoPlansEmptyState","_ref$source","isBrivityDefault","appliedTo","appliedToCount","addSource","toggleSource","deleteSource","sourceToDelete","setSourceToDelete","setSortKey","sortDirection","setSortDirection","showNewSourceModal","setShowNewSourceModal","_useSources","useSources","sortedSources","SourceModal","DeleteSourceModal","superUsers","superUser","handleOnRemove","ListGroup","ListGroupItem","FormErrors","validationState","ControlLabel","setEmail","password","setPassword","setRole","validate","FormWrapper","EmailInput","PasswordInput","RoleSelectInput","changePassword","setChangePassword","ChangePasswordCheckboxInput","_update","_index","_create","jsonAcceptHeaders","SuperUserRequests","super_user","csvExport","roleFilter","onSearch","currentSearchTerm","_setCurrentSearchTerm","currentRoleFilter","setCurrentRoleFilter","setCurrentSearchTerm","InputGroup","Addon","backUrl","onAddSuperUser","SearchInput","paginationInfo","setSuperUsers","editingSuperUser","setEditingSuperUser","setFormErrors","setPaginationInfo","SuperUserPanelViews","panelView","setPanelView","showTableView","super_users","pagination_info","onSubmitCreate","onSubmitUpdate","onCancelForm","onRemoveSuperUser","superUserId","onSearchUsers","HeaderControls","SuperUsersTable","PaginationWrapper","NewSuperUserForm","EditSuperUserForm","SupportAccountFeatures","FeatureRow","feature_toggle","featureToggles","ft","feature_id","ToggleButtonGroup","featureUpdatePath","serialize","hash","featuresUpdateSuccess","handleError","feature_toggles","accountError","accountErrors","displayError","_ref$transactionResul","transactionResults","_ref$transactionResul2","for_brokerage_cap","cap_less_total","has_developer_role","is_over","resetTeamMemberIncome","over_under_color","brokerage_expense_amount","listing_url","can_reset","xsOffset","ExpenseFinder","fetchingData","forBrokerageCap","setTransactionResults","SupportTransactionFinancials","incomeId","BrokerageExpenses","Jobs","endpoint","successMessage","handleSuccess","selectedJob","setSelectedJob","onJobSuccess","onJobError","job","oktaProfileUrl","setOktaProfileUrl","oktaStatus","setOktaStatus","statusLoading","setStatusLoading","okta_status","okta_profile_url","flexy","flexShring","currentSuperUserRole","onEditUser","oktaStatuses","setOktaStatuses","tempOktaStatuses","os","renderBecomeButton","renderEditButton","managed_phone_number","admin_center_link","renderOktaStatus","SupportUsersIndex","userError","editUserModal","editUser","updateTableRow","userUpdateSuccess","handleJobSuccess","personFields","flexxy","flexShrink","person_statuses","person_types","editUserForm","userErrors","OktaStatus","JobRunner","user_lead_parsing_email","pattern","current_super_user_role","UserTable","TaskTaskable","row_style","taskable_link","TaskGrid","showFilter","filterTarget","closeFilter","cookies","selected_filter","selected_agents","setFullYear","expires","hideFilter","headerString","headerStringOptions","order_direction","tasksCount","showFilterOverlay","showMyTasks","showUnassignedTasks","showAllTasks","removeAgentFromSelectedAgents","addAgentToSelectedAgents","filterRef","tasksCountLabel","my_tasks","unassigned_tasks","all_tasks","removeTask","withCookies","defaultPagination","filterWatcher","idsForUrl","idsByFilterOptions","tasks_by_id","user_ids","anyone","value_to_order_by","defaultOrder","updateParentTasks","filter_cookie","TASK_LISTENER","TaskCount","count_for","TaskCounts","getTaskCounts","formatOptions","dateOptions","handleDateSelect","selectedDate","getCookie","decodeURIComponent","cookie","trimmedCookie","setCookie","getTime","toGMTString","cookieString","setDateRangeCookie","setSourceCookie","setAgentCookie","TransactionFilterModal","active_assignable_agents","getDateRangeFromCookie","getSourceFromCookie","getAgentsCookie","selectedListingsCount","handleFilter","handleFilterModal","agentsIdsQueryString","cacheRequest","currentSelectedAgents","newSelectedAgents","handleClear","defaultRange","sourceCookie","removeSource","newSources","findSource","renderSelectedSource","defaultChecked","dateRanges","date_ranges","dateOptionsCopy","allTime","AgentDropdown","DateRangeDropdown","Side","Nav","Widget","rawMeta","rename","canDelete","createMeta","viewer_counts","adapterGetDocuments","apiDocuments","adapterGetAllDocumentViewers","rawViewer","isViewer","is_viewer","createDocumentViewer","adapterDocumentFromRename","lastIndexOf","createDocumentFromRename","UPDATE_TRANSACTION_CLOSE_PRICE","UPDATE_TRANSACTION_COMMISSION","UPDATE_TRANSACTION_COMMISSION_VALUE","ADD_TRANSACTION_LINE_ITEM","UPDATE_TRANSACTION_LINE_ITEM","UPDATE_TRANSACTION_LINE_ITEM_TYPE","UPDATE_TRANSACTION_LINE_ITEM_VALUE","UPDATE_TRANSACTION_LINE_ITEM_POSITION","REMOVE_TRANSACTION_LINE_ITEM","UPDATE_TEAM_MEMBER_GCI","UPDATE_TEAM_MEMBER_GCI_VALUE","UPDATE_TEAM_MEMBER_UNITS","ADD_TEAM_MEMBER_LINE_ITEM","UPDATE_TEAM_MEMBER_LINE_ITEM","UPDATE_TEAM_MEMBER_LINE_ITEM_TYPE","UPDATE_TEAM_MEMBER_LINE_ITEM_VALUE","UPDATE_TEAM_MEMBER_LINE_ITEM_POSITION","REMOVE_TEAM_MEMBER_LINE_ITEM","UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT","UPDATE_TEAM_MEMBER_BROKERAGE_SPLIT_VALUE","UPDATE_TEAM_MEMBER_ROYALTY","UPDATE_TEAM_MEMBER_ROYALTY_VALUE","ADD_TEAM_MEMBERS","UPDATE_TEAM_MEMBER_LINE_ITEM_ACC","UPDATE_COMPANY_LINE_ITEM_POSITION","UPDATE_COMPANY_LINE_ITEM_TYPE","UPDATE_COMPANY_LINE_ITEM_VALUE","ADD_COMPANY_LINE_ITEM","UPDATE_COMPANY_LINE_ITEM","REMOVE_COMPANY_LINE_ITEM","UPDATE_COMPANY_GCI","UPDATE_COMPANY_GCI_VALUE","positionDelta","rangeStart","rangeEnd","moved","nextIndexForProperty","collectionFor","custom_transaction_expenses_attributes","custom_transaction_revenues_attributes","combinedCollections","lineItem","nextPosition","reorderCollections","buildCustomTeamMemberExpenses","selectedMember","customTeamMemberExpensesAttributes","expenseTypeName","buildCustomTeamMemberExpense","buildNewTeamMember","customTeamMemberExpenses","agent_gci_units","agent_gci_notes","brokerageSplit","brokerageSplitType","brokerake_split_line_total","royaltyType","memberId","extrasFor","extrasForType","reorderCombinedCollections","reconcilePositionAfterDestroy","findExtraFor","extra","findExtraForType","nextExtraPositionFor","reorderExtrasFor","_teamMemberQueries$co","updateType","updateData","changeChecks","transactionQueries","transactionExtrasOperations","teamMemberQueries","teamMemberOperations","companyQueries","companyOperations","assignIfDifferentAndSaveResult","didChange","assignIfDifferent","FINANCIALS_UPDATE_TYPE","commissionType","selectedType","isCustomOption","valueType","_companyQueries$colle","didTypeChange","deltas","gciType","_teamMemberQueries$ex","agentMappedType","elementToMove","_teamMemberQueries$ex2","AGENT_TYPE_MAP","editingLineItem","expenseOrIncome","selectedMembers","changeResult","originalFormatValue","convertObjectIntoDropdownOptions","_ref$addCustomIncome","addCustomIncome","convertObjectIntoDropdownOptionsCompany","isExpense","filterDeletedItems","sortByPositionAndFilterDeletedItems","constructLineItemTypeOptionsFrom","transaction_revenue_types","adaptTransaction","originalRawFinancialData","_financialData","_financialData2","_financialData3","_financialData4","_financialData5","_financialData6","_financialData7","_financialData8","_financialData9","financialData","rawFinancialData","cloneDeep","additionalLineItems","updatedFinancialData","transformedFinancialData","estimated","estimated_commission_percentage","subtotal","netCommission","commissionPercentage","grossIncome","hasFinancialData","isActualGCI","commissionNotes","showClosePrice","lineItems","expenseOrIncomeTypeId","transactionExpenseTypeId","expenseOrIncomeTypeOptions","calculatedValue","revenueAmount","lineTotal","adaptTransactionLineItem","adaptCompanyLineItems","companyObject","LineItems","customTeamMemberRevenuesAttributes","companyExpenseTypeId","companyRevenueTypeId","isRemovable","adaptTeamMemberLineItems","teamMemberIncomeObject","brokerageSplitAndRoyaltyDefaults","brokerageSplitItem","brokerageSplitNotes","brokerageSplitAmount","brokerageSplitLineTotal","royaltyItem","royaltyNotes","royaltyAmount","royaltyLineTotal","otherLineItems","agentExpenseTypeId","removeUnusedPropsFromRawDataInPlace","_rawData$transaction_","adaptFromApi","_financialData$compan","companyLineItems","profilePic","agentGciPercentage","agentGci","teamMemberIncomes","incomeObject","agentGciUnits","agentGciNotes","showUnits","adaptTeamMembers","collaboratorExpenses","expenseObject","totalExpense","collaboratorObject","customCollaboratorExpensesAttributes","adaptCollaborators","adaptCDAdocs","financial_documents","adaptFromUi","_uiChangeMerger2","uiChangeMerger","didDataChange","newBase","recalculatedRawData","newRecalculatedRawData","recalculateRawData","adaptSelectableTeamMembers","adaptClosePriceToApi","getFinancialData","createFinancialData","createData","getDefaultCompany","updateFinancialData","updatedData","getFinancialSelectableTeamMembers","deleteTeamMember","fetchFinancials","updateFinancials","_newRawData","_newRawData2","_currentState$tdpFina","newRawData","newAdaptedData","_err$response6","fetchFinancialsSelectableTeamMembers","addCompany","_err$response7","_err$response8","removeTeamMember","_currentState$tdpFina2","_err$response9","_err$response10","PhotoComp","ImagePlaceHolderComp","showModalFn","Photo","TYPE_STYLE","TYPE_TEXT","DIGIT_TEST","AddressInfo","daysOnMarket","validMlsNumber","onPutDetailAsThunk","setRename","CircleCheckSolidV6","_state$tdpDetailsRedu","_state$tdpDetailsRedu2","_state$tdpDetailsRedu3","ClosePriceLabel","PipelineClosePriceLabel","ClosePriceVal","closePriceVal","headerClosePriceVal","cpVal","PricesInfo","numericOrStringValue","textualPrice","ClosePrice","PrimaryPerson","avatarImg","PrimaryAgentInfo","statusMapping","expired","withdrawn","canceled","statusesToHide","OptionsStatusCell","_statusMapping$status5","_statusMapping$status6","_ref$isEditable","onStatusChange","setShowStatusPicker","showStatusPicker","_ref$status","statusNode","statusKey","isStatusVisible","statusOption","_statusMapping$status","_statusMapping$status3","_statusMapping$status4","_statusMapping$status2","WithShowPicker","_status","WithStatus","onUpdateStatus","TDPOptionsStatusCell","onSetStatus","onUpdateAddressModal","isSaveButtonDisabled","EditTitleModal","onPutDetailsAsThunk","togglecustomTitle","setToggleCustomTitle","customTitle","setCustomTitle","customTitleTrimmed","setCustomTitleTrimmed","setAddress","payloadDetails","ConfirmDeleteModal","deleteListing","setDelete","onDeleteListing","showRename","setShowRename","showDeleteListing","setShowDeleteListing","ImagePlaceHolder","TransactionTypeBox","PropertyType","TransactionTitle","AddValueTxtBtn","ReferralDesiredAddressAdd","isPencilVisible","setPencilVisible","TextBtnWithPencil","txtField","withPencilVisibleStates","ReferralDesiredAddressVal","ReferralDesiredAddressRead","ReferralDesiredAddressEdit","ReferralDesiredAddressEditWrapper","onPutRefDesiredAddressAsThunk","onReferralDesiredAddressEditOff","func","ReferralDesiredAddress","FullPropertyAddress","propertyAddress","zipCode","ReferralAddress","ReferralPropertyAddress","exactDateYearHelper","FIXED_DROPDOWN","TIMEFRAME_STARTDATES","TimeFrameEdit","onChangeHandlr","withReduxState","onReferralCalendarEditOn","TimeFrameValRead","TimeFrameAdd","TimeFrameVal","TimeFrameEditVal","ReferralTypeBox","ReferralPropertyType","ReferralTitle","TimeFrame","AddFinBtn","HeaderFinancial","InlineEditComponent","TRANSACTION_AMT_ALIASES","TransactionAmt","onPutRefTransactionAmtAsThunk","ReferralFee","onPutRefFeeAsThunk","onEditIsReferralFeePercentage","refFee","ReferralPartner","ReferralStatus","onPutReferralStatusAsThunk","useOnClickOutsideRef","elementRef","_elementRef$current","EllipsisDropdown","EllipsesComponents","onReferralEditTitleModalOn","toggleDropdown","setToggleDropdown","setDeleteListing","ellipsisModal","EllipsisIcon","EllipsesDropdown","FinancialDetails","SpecificDetails","ModalRename","onCloseHandlr","ModalRenameWrapper","onPutReferralTitleAsThunk","onReferralEditTitleModalOff","stateTitle","setStateTitle","_yield$tryCatchHandlr21","_yield$tryCatchHandlr22","TransactionDetails","HeaderChildComponentWrapper","ReferralHeader","Summary","onGetAllListingInfoAsThunk","onGetFinancials","HeaderContainer","getAllListingInfoAsThunk","initPathName","setInitPathName","loc","useLocation","urlSegments","LINKS_TEXT","REF_LINKS_TEXT","NaviLinksTab","navText","tabPath","useInitPathName","useResolvedPath","useMatch","caseSensitive","isTabSelected","handleOnClick","useLinkClickHandler","NaviLinks","linksText","NaviLinksWrapper","setLinkTextByTransactionType","onSetActiveFilter","activeButton","setActiveButton","buttonClickHandlr","TooltipBtn","hoverText","Filters","_tags$Tasks","_tags$Emails","_tags$PhoneCalls","_tags$Texts","_tags$Appointments","_tags$Notes","_tags$Documents","_tags$TransactionAct","_useFilterClickHandlr","useFilterClickHandlr","ChevronDown","Envelope","Phone","Message","Create","Templates","createIcon","sub_type","owner","getSocialKey","cda_form","_meta$content3","cdaForm","_meta$content","_meta$content2","after","liked","createOwner","createRecipient","_moment$unix$tz$forma","createGroup","adaptGetTimeline","adaptGetTags","getTimelineFromApi","EventIcon","FileSolidV3","Bullhorn","HeartOutline","Bolt","Chat","ArrowDownToBracketSolidV6","EventOwnerorReceiver","EventAction","receiver","Rating","rating","baseRef","ratingRef","marginClass","fullRating","firstChild","HeartFilled","markdownContent","soldToClosed","DescriptionForAdPhoto","_ref$content","linkGroup","DescriptionForUpload","DescriptionForCall","callInteractionGroup","DescriptionForMessage","DescriptionForAppointment","appointmentGroup","DescriptionForOtherInteraction","otherInteractionGroup","DescriptionWithLabel","_ref7$content","DescriptionForStatus","statusGroup","DescriptionForShowing","showingGroup","DescriptionForDate","_ref10$content","dateGroup","DescriptionForUpdate","LinkifyNotes","DescriptionForDocument","DescriptionForImport","EventDescription","EventVisibility","VisibilityHidden","checkUploadcondition","Events","_ref$activeEvents","LoadingEvents","MainWrapper","onGetTimelineAsThunk","onSetEventsLoadingOn","EventsHeader","getTimelineAsThunk","HeaderWrapper","FiltersWrapper","getAllTasksFromApi","createTaskFromApi","deleteTasksFromApi","editTaskFromApi","bulkEditTasksFromApi","listingPath","basePath","listDetails","listAccountSources","listAccountPropertyTypes","deleteListingImage","imageDeletionUrl","detailPayload","inOption","payloadMapper","_address_attributes","listing_links_attributes","choosePayload","_ref$inOption","_ref$addressId","buildPayload","importDetailToApi","putRefDetailtoApi","replacePhotoToApi","deleteListingImageApi","getAllDetailsFromApi","getSourcesFromApi","getPropertyTypesFromApi","updatePropertyDetailApi","adaptEditedCreatedTask","adaptPostPutTask","assignedPerson","run","adaptGetAllTasks","adaptTeam","adaptFilterPayload","adaptPutBulkEditTask","getAllTaskAfterRecurringPostAsThunk","editTaskAsThunk","adaptedPayload","adaptedEditedTask","bulkEditTasksAsThunk","mapStateToProps","displayHidden","toggleDrawer","onCreateTasksByUnassignedFilter","modalTeamMemberActive","setModalTeamMemberActive","modalAutoPlansActive","setModalAutoPlansActive","secondaryFilterHandlr","filterTxt","SecondaryFilter","clicked","Clearer","onClearSecondaryFilter","TeamMember","onFilterByTeamMembers","TeamMembersInModal","ent","_ref3$","onSetOrCreate","onClearTeamMemberFilter","ModalSecondaryFilterMember","onCreateTasksByTeamMemberFilter","onSetBackFilterByTeamMembers","modalToggleHandlr","onFilterByAutoPlans","AutoPlansInModal","ModalSecondaryFilterAutoPlans","onCreateTasksByAutoPlansFilter","onClearAutoPlanFilter","onSetBackFilterByAutoPlans","Drawer","_useModalHandlr","useModalHandlr","SECONDARY_FILTERS","RECURR_DICTIONARY","numberOther","weekly","RECURR_WEEKDAYS","taskHasRecurring","frequencyKey","MILESTONE_DICTIONARY","taskHasContingent","mileStone","taskHasAssignedPerson","taskState","DEFAULT_INPUT_STATE","hasPrimaryFilters","hasActiveTeamMembers","hasActiveUnassigned","taskFilters","taskHasFilters","ModalAddEditTaskButtons","enabledAddEditInputs","setEnabledAddEditInputs","BUTTONS","btnTxt","shapeValue","shapeContingent","shapeRecurring","PAYLOAD_DEFAULT","Priority","Visibility","oneOfType","ModalAddEditInput","toggleShow","payloadHandlrs","_useTextInputHandlr","btnTxtKey","textInputHandlr","persist","trashHandlr","useTextInputHandlr","ModalAddEditInputs","ModalAddEditPriorityRadios","_useSelectedRadio","useSelectedRadio","_useSelectedRadio2","selectedRadioHandlr","ModalAddEditViewToggle","_useCheckHandlr","payloadPrev","useCheckHandlr","_useCheckHandlr2","checkHandlr","HoverInfoTxt","containerStyling","textStyling","arrowStyling","ModalAddEditTaskToggles","_useToggleHandlrs","recurringHandlr","contingentHandlr","useToggleHandlrs","isHoverInfoOn","setIsHoverInfoOn","hashValue","isHash","_e$target$value","ModalAddEditTaskDate","dateHandlr","useHandlrs","CONTINGENT_EVENTS","POSITION","ModalAddEditContingentElements","handlr","RECURRING_FREQUENCY","RECURRING_DAY_OF_WEEK","ModalAddEditRecurringElements","_payload$recurring5","useRecurringFrequency","ModalAddEditTaskFooter","setPayload","ModalAddEditDropdowns","dropdownHandlr","useInit","ModalAddEditTask","onPostTaskAsThunk","toggleModalShowTask","onEditTaskAsThunk","_usePayload","enabledAddInputs","setEnabledAddInputs","resetStates","editHandlr","closeHandlr","postTask","usePayload","adaptedCreatedTask","withFilters","HeaderOptions","onToggleModalAddTaskOpen","onToggleTasksSelectionMode","isDrawerOpen","BORDER_DICT","orange","blue","BG_DICT","TEXT_DICT","CIRCLE_DICT","FILTER_DICTIONARY","Filter","activeTarget","onTogglePrimaryFilter","filterDefault","TaskSelection","withSelectedTasks","TaskSelections","onBulkEditTasksAsThunk","onSetTaskModalBulkDelete","onSetModalRescheduleTaskOpen","onSetModalReassignTaskOpen","TaskSelectAll","onSelectAllTasks","isCompletedTab","withTaskSelectionMode","TaskAvatar","_assignedPerson$fullN","_assignedPerson$fullN2","_assignedPerson$fullN3","contingentText","dueOn","TaskItemAssignedPlanIcon","IconComponent","iconSize","BoltLightningSolidV6","ModalShowSection","headerTxt","childrenClass","ModalShowAvatar","_assignee$fullName","_assignee$fullName2","assignee","ModalShowPriority","ModalShowName","hasAssignedPlans","ModalShowTask","isTaskModalOpen","setModalAddTaskOpen","setTaskModalOpen","setTaskModalDelete","rf","rd","rn","isEveryDay","recurringText","mapDispatchToProps","ModalDeleteTask","isTaskModalDeleteOpen","onDeleteTasksAsThunk","TaskItemName","TaskItemNameFrame","hasAssignedPlan","nameOnClick","VisibilityView","onTaskSelect","useCompletedUser","displayUser","displayDate","TASK_STYLES","ModalBulkRescheduleTask","setRescheduleDate","ModalBulkReassignTask","assignedTeamMate","setAssignedTeamMate","TaskList","arrayOf","PRIMARY_ACTIVE","NO_TASK_STYLING","NoTasks","NoTasksInFilters","taskFilterHelper","EmptyStates","hasTasks","_state$tdpTasksReduce","onGetAllTasksAsThunk","hasActiveTasks","onClearActiveTasks","getAllTasksAsThunk","TaskHeaderAvatars","_byTeamMember$id","_byTeamMember$id2","_byTeamMember$id3","TaskHeaderAutoPlansText","TasksHeader","TasksWrapper","onGetTeamAsThunk","onGetTitleAsThunk","getTitleAsThunk","setStarred","setExternallyVisible","StarFilled","StarOutline","getAllNotesFromApi","postNoteToApi","patchNoteFromApi","deleteNoteFromApi","patchNoteAsThunk","FooterOptions","setNote","onPostNoteAsThunk","clearNote","postNote","NOTES","DeleteNoteConfirmationModal","onDeleteNoteAsThunk","onPatchNoteAsThunk","onSetEditNoteModal","SingleNote","openDropdown","setOpenDropdown","openEditor","setOpenEditor","avatar_file_name","EllipsisDropDown","setShowAllNotes","showAllNotes","setShowExternallyVisibleNotes","showExternallyVisibleNotes","setNotExternallyVisibleNotes","notExternallyVisibleNotes","setShowFilter","outsideClick","switchFilter","setNoteContent","AllNotes","onGetAllNotesAsThunk","notesToDisplay","FilterNotes","NotesWrapper","setDefaultValues","allKeys","sortPropDetails","exceptionDetails","lowerCasedName","inDefaultPropDetails","defaultPropertyDetails","inExceptionDetails","detailType","detailName","formatExistingNumber","HEADING_TEXT_CLASSES","DETAIL_TEXT_CLASSES","SERVER_DATE_FORMAT","adaptDatesPayloadFromApi","dateAsString","adaptGetAllDetails","_data$buyers_agent_co","_data$buyers_agent_co2","_data$buyers_agent_co3","_data$buyers_agent_co4","_data$buyers_agent_co5","_data$buyers_agent_co6","_data$buyers_agent_co7","_data$deposit","_data$deposit2","_data$deposit3","_data$deposit4","_data$deposit5","_data$deposit6","_data$deposit7","_data$deposit8","_data$deposit9","_data$deposit10","_data$deposit11","_data$deposit12","_data$deposit13","_data$deposit14","_data$address6","_data$address7","_data$referral_client","_data$referral_client2","_data$referral_client3","referral_client","property_page_path","use_mls_photos","original","deleteUrl","isMLS","visible_team_members","adaptError","_error$response","adaptedError","getAllDetailsAsThunk","getPropertyTypesAsThunk","stateKey","usedKey","putLinkAsThunk","putRefDetail","putRefTitle","putRefTransactionAmt","putRefFinancial","putRefTeam","putRefBrokerage","putRefDesiredLocations","DETAILS_WRAPPER","DETAILS_COLUMN","DETAIL_FIELD_CONTAINER","DETAIL_FIELD_VALUE_LINK","DetailsHeader","InlineEditingDatePicker","customErrorCallBack","DETAILFIELD_CLASSES","_bool","DetailFieldLabelIcon","DetailFieldLabel","layoutInlineAlignmentClasses","maybeOverflow","maybeRightMargin","fieldTypeToEditorComponent","percent","editorTypeProps","DetailInput","hoistGroupClass","onLabelClick","tooltipComp","groupClass","baseEditorProps","DetailDropdown","DetailStatus","OptionStatusCell","publishedOptions","publishedValue","saveValueFor","DetailSectionHeader","optionValue","newPublished","BACModalBody","BACval","handleUpdateBAC","AddEditBACModal","BACState","setBACState","newBACState","BACDetailInput","addingBAC","setAddingBAC","editingBAC","setEditingBAC","isHovered","setIsHovered","BACCloseModal","DesktopSolidV6","sourceToOption","DetailSourceDropdown","copied","setCopied","copyTextToClipboard","CopySolidV6","ListingUuid","ModalPropertyDetail","onShowDetailsFailure","detailValue","setDetailValue","checkNormalizedMatch","ModalField","ModalEditLabel","onRemoveHandlr","onSaveHandlr","labelValue","setLabelValue","WrapperModalEditLabel","_useDependencyWithCle2","_labelValue","PropertyDetails","onUpdatePropertyDetailAsThunk","isModalEditRemoveLabel","setModalEditRemoveLabel","customDetailEdit","setCustomDetailEdit","sortedAdditionalDetails","saveToAddress","saveAdditionalDetail","updatePropertyDetailAsThunk","ReferralBrokerageField","onPutRefBrokerage","newBrokerage","DetailLinkField","fieldValue","txtBtnClassName","txtLink","DetailTxtNonEditField","txtContainerClassName","ReferralPartnerFieldWrapper","ReferralTeamFieldWrapper","onPutRefTeam","newTeamName","ReferralPartnerField","ReferralTeamField","onPutRefTitle","ReferralTransactionAmount","onSetTransactionAmount","ReferralTransactionAmountWrapper","onPutRefTransactionAmt","DetailSouceDropdown","ClientNameField","ClientIntentField","isClientIntentBuyer","FINANCING_OPTIONS","FinancingField","FinancingFieldWrapper","onPutRefFinancial","fin","DesiredLocationsField","onEditReferralDesiredAddress","DesiredLocationsFieldWrapper","onPutRefDesiredLocations","SELLER_LANDLORD","RefPropertyDetails","isSellerLandlord","ToOption","EarnestMoneyDropdown","DetailDateDropdown","idFromLists","portalDOMElement","customText","secondsSinceMidnight","new_milestone","seconds_since_midnight","apiDatesUrl","getAllDatesFromApi","updateDatesFromApi","optionId","getAllDates","EarnestMoneyDateDropdown","setFromLists","EarnestMoney","_newVal","newVal","NonReferralDetails","ReferralDetails","ReferralPartnerDetails","RefDetails","ClientIntentDetails","DetailsSpecifics","mls_streetAddress","current_streetAddress","isSelectable","mlsChecked","currentChecked","mls_postalCode","current_postalCode","mls_price","current_price","mls_mlsNumber","current_mlsNumber","mls_beds","current_beds","mls_baths","current_baths","mls_sqFt","current_sqFt","mls_city","current_city","mls_state","current_state","mls_county","current_county","mls_property_type","current_property_type","mls_neighborhood","current_neighborhood","mls_year_built","current_year_built","mls_parking","current_parking","mls_foundation","current_foundation","photosAvailable","mls_photosAvailable","current_photosAvailable","mls_description","current_description","ListingDetailsField","mlsValue","targetname","keyChecked","selectedKey","keyUnChecked","ReviewImportListingDetails","addToPayload","payloadProperty","isAddressAttr","isDetailAttr","propertyValue","setProperty","listingProperty","mlsProperty","currentProperty","_data$listingProperty","ImportListingDetailsModal","_mlsListingDetails$da6","_mlsListingDetails$da7","_mlsListingDetails$da8","_mlsListingDetails$da9","_mlsListingDetails$da10","_mlsListingDetails$da11","_mlsListingDetails$da12","_mlsListingDetails$da13","_mlsListingDetails$da14","_mlsListingDetails$da15","_mlsListingDetails$da16","_mlsListingDetails$da17","_mlsListingDetails$da18","isFromDetail","setshowAlert","isFromIndex","onGetAllDetailsAsThunk","onGetPropertyTypesAsThunk","importDetailAsThunk","listingDetailsData","checkAddressAndcloseModal","setSelectedBlossorId","openReview","setOpenReview","updatedMlsListingDetails","handleClose","payloadListing","property_type_id","labelToFind","getPropertyId","_propertyDetails$prop","currentListingData","comparableListingData","obj1","obj2","nestedObj","mergeCompareObjects","import","thunkActions","ImportListingDetailsBtn","showAlert","DetailsSpecific","convertTextToParagraph","textAreaStyleSchema","textAreaResizeDictionary","both","vertical","textAreaResizeSchema","fieldsetBase","fieldsetStyleSchema","textAreaRef","textAreaClassName","textAreaElementRef","InlineEditingTextArea","textArea","focusTextArea","CancelConfirmMultiline","ListingDescription","EditBtnCirc","LinkPeople","LinkMain","ModalEditLink","linkValue","setTitleValue","setLinkValue","WrapperModalEditLink","_titleValue","_useDependencyWithCle4","_linkValue","LinkGroup","enablePeople","onSaveLinkAsThunk","openEditLinkModal","setOpenEditLinkModal","newTitle","newLink","ModalAddLink","LinksWrapper","urlOrigin","linksData","showOptions","setToggle","ImageOption","setIconColor","centerView","zoomVal","setZoomVal","validator","ZoomCtrls","_useZoom2","useZoom","zoomRange","zoomInOut","Minus","BUTTON_STYLE","ListingImgPreviewCtrls","setMirrored","onDownload","Reset","mirrored","ModalPreviewImg","_useImgStyle2","useImgStyle","imgStyle","TransformWrapper","maxScale","pinch","wheel","TransformComponent","ModalDeleteImage","ImageOptions","onToggleChecked","onDeleteImg","deleteListingImageAsThunk","ListingImage","highResUrl","_useToggleAndOptionsH2","useToggleAndOptionsHandlr","getListingImageById","listing_image","saveFileToListing","_resData$data$","imageId","progress","setProgress","listingImage","enable","setEnable","foundChecked","ModalDeleteImages","onDeleteImages","listingImages","ImageActionButtons","useEnabledButtons","ImagesOptions","onCheckAllImgs","ReplaceMLSPhotoModal","handleReplace","ListingImagesWrapper","allImagesLength","imageErrors","replacePhotoAsThunk","openWarningModal","setOpenWarningModal","openImportModal","setOpenImportModal","_error$title","onGetSourcesAsThunk","onClearDetailsFailureAsThunk","errorPrompt","DescriptionLinksImages","DescriptionWrapper","DetailsWrapper","getSourcesAsThunk","LoadingOverlay","Links","hovered","onSiteInputOpen","setEdit","setlink","isedit","LinkIcon","widthBar","sumOfKey","objkey","iff","condition","otherwise","sortByPosition","ListingLink","googleSearchUrl","siteinput","uuidDresser","searchListingFromApi","getImportedListingFromApi","autocompleteId","editListingFromApi","getMlsIdFromApi","getAssetsCardFromApi","getMetricsFromApi","getAdvertisingPlanFromApi","getManagePlanFromApi","deleteAdPlanFromApi","getAvailablePlanFromApi","submitAvailablePlanFromApi","submitAdSiteFromApi","listing_advertiser","updateAdSiteFromApi","siteId","shareAdSiteFromApi","removeAdSiteFromApi","submitEditListingURLFromApi","AdSiteError","_error$response2","getAdvertisingPlanAsThunk","getManagePlanAsThunk","getListingViewsAsThunk","getAssetsCardViewsAsThunk","isDelete","Share","shared","shareAdSiteAsThunk","imglink","SiteInput","updateAdSiteAsThunk","removeAdSiteAsThunk","adlink","ROW_FONT","FONT_STYLE","LAYOUT_STYLES","Rows","_adsite$completed_by","_adsite$completed_by2","_adsite$completed_by3","_adsite$completed_by4","adsite","toggleHovered","setSiteinput","siteEdit","google_search_url","openremovebtn","HEADER_FONT","DeleteAdPlan","deleteAdvertisingPlan","Sitebody","submitAdSiteAsThunk","isFromManageModal","nameVal","setsitename","urlVal","seturl","AdSite","completedFirst","alphabetical","AdPlan","_adsites$plan","_adsites$plan3","_adsites$plan4","deleteModalOpen","setdeleteModalOpen","adsiteModalOpen","setadsiteModalOpen","Headers","adSort","_adsites$plan2","isAppliedDelete","PlansOrSites","sharedCount","AdApplyPlan","availablePlans","getAvailablePlanAsThunk","submitAvailablePlanAsThunk","adplanModalOpen","setadplanModalOpen","faCog","AdvertisingPlan","AdHeaderOptions","_advertisingplan$site","_advertisingplan$site2","sites_count","CREATE_MEDIA_OPTIONS","cardName","getCardLink","getImglink","avatarCollection","CardsCount","counter","CollapsibleCards","impressions","setisOpen","CardSnippet","EyeSolidV3","TintSolidV3","ChevronUp","MailerCards","createdBy","coverImage","budgetCents","normalizedBudget","normalizedRecipients","avatar_collection","DollarSignRegularV6","Cards","numberOfPages","ListingCards","carddata","activeSlide","setActiveSlide","moveLeft","moveRight","carddetails","number_of_pages","cover_image","NoCards","imageURL","SocialAds","ctr","clicks","cpc","StatCardIcon","numberOrDash","AssetsCards","_assetsCardViews$empt","_assetsCardViews$empt2","_assetsCardViews$prin","_assetsCardViews$prin2","_assetsCardViews$empt3","_assetsCardViews$soci","_assetsCardViews$soci2","_assetsCardViews$empt4","_assetsCardViews$vide","_assetsCardViews$vide2","_assetsCardViews$empt5","normalizedData","normalizeData","mailer","budget_cents","ad","start_date","end_date","clipPath","_results$selected_fie","ImportSearch","editListing","deleteImport","listingBody","blueroof_mls_id","_callee16","_yield$tryCatchHandlr29","_yield$tryCatchHandlr30","_context16","HomeSearch","getsearchListingAsThunk","importSearchListingAsThunk","setSearched","hasTyped","setHasTyped","selectedAutocompleteId","setSelectedAutocompleteId","searchvalue","submitSearch","searchTermTrimmed","_yield$tryCatchHandlr25","_yield$tryCatchHandlr26","_yield$tryCatchHandlr27","_yield$tryCatchHandlr28","NoListing","HomeSearchingIcon","MarketingHeaderOptions","Bars","_listingViews$views","_listingViews$views2","TrackLabel","_listingViews$views3","EditListingBody","_assetsCardViews$exte","submitEditListingURLAsThunk","setZillow","_assetsCardViews$exte2","zillow_url","_yield$tryCatchHandlr23","_yield$tryCatchHandlr24","EditListing","ListingViews","shareLink","TrackProgressBar","getListingMlsIDAsThunk","MarketingMaterials","share_link","fetchingMls","marketing","errorShape","shownBy","showingType","shownAt","changeVisibilityShape","feedbackShape","paginationShape","DeleteFeedbackPrompt","onDeleteFeedback","showingTypesOptions","showingTypeOptionByValue","FeedbackVisibility","FeedbackMenuDropdown","isVisibilityToggleEnabled","onChangeVisibility","FeedbackCard","_feedback$meta","_feedback$meta2","_feedback$meta3","_feedback$meta$change","_feedback$meta4","showEditFeedbackForm","changeFeedbackVisibility","clearChangeFeedbackVisibilityError","showDeleteFeedbackPrompt","dropdownContainerRef","isDropdownMenuVisible","setIsDropdownMenuVisible","_showingTypeOptionByV","showingTypeLabel","didChangeVisibilityFail","changeVisibilityErrorMessage","clearChangeVisibilityError","shownAtDateFormat","FeedbackBody","interestLevelsOptions","level","RatingDropdownOption","_data$value","RatingDropdownSingleValue","ShowingTypeDropdownMenu","FeedbackForm","_state$feedback$shown","_state$feedback$shown2","onNewFeedback","onUpdateFeedback","interestLevel","memoizedErrors","updateFeedbackField","FeedbackHeader","reviewCount","showNewFeedbackForm","loadMoreFeedbacks","Feedback","_meta$pagination$tota","_meta$pagination","_meta$averageRating","getAllFeedbacks","newFeedback","editFeedback","deleteFeedback","showFeedbackForm","hideFeedbackForm","hideDeleteFeedbackPrompt","defaultDataForFormAndPrompt","showDeletePrompt","FeedbackInfiniteScroll","getAllFeedbacksFromApi","newFeedbackFromApi","showing","editFeedbackFromApi","deleteFeedbackFromApi","feedbackFromApi","pick","shown_at","adaptGetAllFeedbacks","_showings","showings","_meta$average_rating","average_rating","metaFromApi","adaptFeedback","feedbackToApi","hideFeedbackFormData","hideDeleteFeedbackPromptData","_adaptGetAllFeedbacks","updateShowingFeedbackStats","_adaptGetAllFeedbacks3","updateCurrentPageAndShowingFeedbackStats","_adaptGetAllFeedbacks4","FeedbackWrapper","_adaptGetAllFeedbacks2","apiDocumentsUrl","getDocumentsFromApi","order_dir","getAllDocumentViewersFromApi","searchDocumentsFromApi","sortDocumentsFromApi","renameDocumentFromApi","uploadDocumentFromApi","deleteDocumentsFromApi","document_ids","getDocumentsAsThunk","quiet","_getState$tdpDocument","getSidebarDocumentsAsThunk","renameDocumentAsThunk","_getState$tdpDocument3","_error$response4","uploadDocumentAsThunk","_getState$tdpDocument4","statefulMeta","_error$response5","dispatchDocType","createDocumentFromUpload","sortDocumentsAsThunk","_getState$tdpDocument6","_error$response7","statefulSearch","_getState$tdpDocument2","_error$response3","UploadIcon","DocumentCheckbox","checkboxId","checkStatus","UploadedBy","TimeUploaded","actionClassNames","actionIconClassName","handleRename","download","downloadDocument","InlineContext","handleDeleteDocument","rowContainerClassNames","DocumentListItem","_document$uploadError","getSelection","viewersCount","headerClassNames","column","UpDown","setOrderBy","setOrderDir","allChecked","shouldOpenBulkActions","checkedStatus","handleSortDocumentsByFilename","newOrderDir","handleRenameDocument","handleDeleteDocuments","PaginationSection","numErrors","expireAtMs","timeoutMs","SearchUpload","valueAndTypeShape","nullable","gciDataShape","lineItemOptionShape","basicLineItemShape","brokerageSplitAndRoyaltyLineItemShape","headerClasses","collapseIconClasses","Value","formatFlatValue","prefixStatusLabel","onGciLabelClick","onGciValueClick","onTrashClick","onUnitClick","onAddExpenses","gciValueType","setGciValueType","agentGciLabel","teamGciLabel","netIncomeLabel","orientation","faGripHorizontal","formatNumberIfFlat","ExpenseIncomeLineItem","optionsFromProps","onOptionChange","valueTypeFromProps","onValueChange","onEditLineItem","onRemoveLineItem","isDraggingOver","dragHandleProps","customOption","setCustomOption","setValueType","handleCustomNameChange","prevOption","isLabelEmpty","renderLabel","DraggableExpenseIncomeLineItem","Draggable","draggableId","snapshot","draggableProps","isDragging","DraggableBrokerageSplitAndRoyaltyLineItems","brokerageSplitLineItem","royaltyLineItem","onBrokerageSplitValueChange","onEditBrokerageSplitLineItem","onRoyaltyValueChange","onEditRoyaltyLineItem","_len3","_key3","_len4","_key4","lineItemIdForDnD","DraggableExpenseIncomeLineItems","_len5","_key5","_len6","_key6","_len7","_key7","_len8","_key8","TeamMembersWithLineItems","onGciValueChange","onUnitsChange","onRemoveTeamMember","onAddLineItem","onLineItemDragEnd","onLineItemOptionChange","onLineItemValueChange","DragDropContext","Droppable","droppableId","droppableProps","_len9","_key9","MemberMultiValue","MemberMultiValueLabel","getAvatarFromDropdownData","MemberMultiValueRemove","MemberOption","AddTeamMemberModal","isAdding","setPlaceholder","setSelectedMembers","newSelectedMembers","CustomNameSingleValue","AddEditExpenseIncomeModal","nameList","expenseOrincome","currentNameList","setCurrentNameList","setCurrentName","isCurrentlyPercentage","setIsCurrentlyPercentage","currentNotes","setCurrentNotes","showCustomNameField","setShowCustomNameField","shouldDisableSaveButton","newCurrentName","prevNameList","prevName","DeleteExpenseIncomeModal","onConfirm","EditAmountModal","allowPercentage","_tdpPeopleReducer$peo","listingTeamMembers","editingGci","setEditingGci","addingLineItem","setAddingLineItem","setEditingLineItem","removingLineItem","setRemovingLineItem","editingBrokerageSplitLineItem","setEditingBrokerageSplitLineItem","editingRoyaltyLineItem","setEditingRoyaltyLineItem","_financials$meta","metaModalErrors","_listingTeamMember$ro","teamMemberWithId","listingTeamMember","_member$person","handleSaveRemovedLineItem","newValueType","newUnits","destination","ExpensesIncomeLineItems","isExpensesLine","commissionNames","TransactionGci","onEstCommissionLabelClick","onCommissionLabelClick","onCommissionValueChange","onClosedPriceChange","onAddIncome","onEditExpenseLineItem","onEditIncomeLineItem","commissionValueType","setCommissionValueType","editableCommission","internalIsActualGCI","CommissionInput","subtotalValue","subtotalString","subtotalTextColor","netCommissionValue","netCommissionString","netCommissionTextColor","grossCommissionValue","grossCommissionString","grossCommissionTextColor","additionalCommissionInputProps","isReferralHelper","commissionName","TransactionGciWithLineItems","emptyTransactionData","editingCommission","setEditingCommission","addingExpensesLineItem","setAddingExpensesLineItem","addingIncomeLineItem","setAddingIncomeLineItem","editingExpenseLineItem","setEditingExpenseLineItem","editingIncomeLineItem","setEditingIncomeLineItem","lineItemExpensesOptions","lineItemIncomeOptions","FeatureBanner","BANNER_TYPE","WithStatusFeatureBanner","toggleCDAUploadModl","ACTION_STYLE","ACTION_ICON_STYLE","downloadLink","UploadDoc","onToggleDocumentsSelected","onSetDocumentIndex","onRenameDocumentAsThunk","isOverlayDropdownOpen","setIsOverlayDropdownOpen","handleOverlayCb","OverlayDropdown","LABEL_STYLE","UploadedDocsSorts","docs","onToggleDeleteModal","onSortByType","UploadedDocs","CDAdoc","UploadedDocHeader","CompanyWithLineItems","onRemoveCompany","AddTeamMemberorCompanyButton","isTeamMember","FinancialsWrapper","addingTeamMember","setAddingTeamMember","metaErrors","TransactionSection","CompanySection","TeamMemberSection","addTeamMembers","MainContainer","Routes","Route","Timeline","Marketing","Docs","Navigate","Financials","getAllPeopleFromApi","postPersonToApi","patchPersonToApi","deletePersonFromApi","getAvailablePeopleFromApi","adaptPeople","getAllPeopleAsThunk","AccessViewerCheckbox","toggleViewerAccess","onChangeSetToggle","AccessViewer","isCollaborator","isClient","SubscribeClientCheckbox","toggleEmailUpdate","SubscribeClient","PrimaryAgentCheckbox","onClickCheckBox","ADD_DEFAULT_FIELDS","AddModal","toggleAddModal","setToggleAddModal","onClearError","onPostPersonAsThunk","onSearchPeopleAsThunk","onGetAvailablePeopleAsThunk","onGetAllPeopleAsThunk","onUpdateMultipleFormFields","rolesDropdown","newContact","checkError","setCheckError","selectedRole","setSelectedRole","selectedPerson","setSelectedPerson","setToggleViewerAccess","setToggleEmailUpdate","toggleAddContactModal","setToggleAddContactModal","collaborator","portal_access","gets_updates","_useDropdownSearch","availablePeopleDropdown","setAvailablePeopleDropdown","useDropdownSearch","personError","faKey","_state$tdpPeopleReduc","postPersonAsThunk","getAvailablePeopleAsThunk","tooltipEnabled","pointerClassName","EditModal","_personData$role","_personData$role2","onPatchPersonAsThunk","deselectedEmailUpdates","setDeselectedEmailUpdates","role_label","deselected_email_updates","email_address","team_member","generateRolesDropdown","_state$tdpPeopleReduc2","_state$tdpPeopleReduc3","patchPersonAsThunk","listingPersonId","onDeletePersonAsThunk","deletePersonAsThunk","postOtherInteraction","OTHER_OPTIONS","Other","onPostOtherInteraction","otherInteraction","handleSave","postOtherInteractionAsThunk","senderId","onSendEmailError","onSubmitSendEmail","onClearEmailState","onClearEmailError","validation_primary_status","validation_secondary_status","validation_results","last_validated_at","friendly_phone","CopyButton","copyText","CloneRegularV6","_person$role","setAppointmentModalUser","setToolTipEnabled","displayExpand","setDisplayExpand","viewPortal","setViewPortal","toggleEditModal","setToggleEditModal","setToggleDeleteModal","toggleSmsInteractModal","setToggleSmsInteractModal","toggleOtherInteractModal","setToggleOtherInteractModal","toggleEmailInteractModal","setToggleEmailInteractModal","hasEditPeoplePrivilages","call_interaction","showDisabledTrashToolTip","setShowDisabledTrashToolTip","_person$person_dialab","smsPerson","rootEl","currEl","isActionElement","recipientId","PeopleSubCategories","setDropdown","EllipsisButton","setToggleAddClientModal","setToggleAddCollaboratorModal","currentUserUUID","clients","onGetEmailTemplatesAsThunk","clientsDropdown","setClientsDropdown","collaboratorsDropdown","setCollaboratorsDropdown","teamDropdown","setTeamDropdown","addDropdownOpen","setAddDropdownOpen","toggleAddClientModal","toggleAddCollaboratorModal","appointmentModalUser","hasAddPeoplePrivilages","_state$tdpPeopleReduc4","_state$tdpPeopleReduc5","_state$tdpPeopleReduc6","listing_clients","ModalDeleteDocuments","numDocumentIdsToDelete","setNumDocumentIdsToDelete","getDocumentName","_getState$tdpDocument5","_error$response6","SidebarTable","navigate","useNavigate","_usePagePathName","pagePathName","setPagePathName","usePagePathName","SideContainer","WidgetContainer","planFromApi","originalAutoPlan","minimalPlanFromApi","originalAssignedPlan","fetchAssignedPlans","fetchAssignedPlanDetails","showDetailsModalForAssignedPlan","fetchAutoPlanPreview","transactionUuid","showPreviewModalForAssignedPlan","updateAssignedPlanState","desiredState","triggerPlanDetailsRefresh","applyAutoPlan","errorsArray","onApplyAutoPlanClicked","stateToTextColorMap","running","paused","deleted","shouldShowPlayOrPauseAndDeleteButtons","planState","shouldShowContingencyInfoFor","shouldShowEventFieldFor","milestoneName","eventDetailStringFor","eventDetailStringForSnakeCasedAction","canDeleteAction","actionState","canMarkActionAsComplete","ActionDetailField","hideUnless","ActionRunAtFields","actionCompletedAt","actionRunAt","hideDate","rawRunAtDateTime","runAtDateTimeAsMoment","runAtDate","runAtTime","_action$parentAction","shouldShowRecurrenceInfo","shouldShowInstructions","shouldShowNotes","assignedToLabel","EmailBody","contents","TextBody","assignedForLabel","failedDescription","failedDescriptionType","failedDescription_type","ActionDeletionConfirmationModal","_action$descendants","willDeleteOtherActions","descendantAction","ACTION_STATE_TO_CLASSES_MAP","ACTION_STATE_TO_ICON_MAP","ACTION_TYPE_TO_ICON_MAP","faComment","faList","faEnvelope","ActionIcon","isOverdueTask","renderedIcon","ActionRow","actionName","isActionVisible","rootClasses","currentlySelectedActionId","setCurrentlySelectedActionId","failedMessage","LeftPanel","RightPanel","ActionButtons","onDeleteClicked","onMarkAsCompleteClicked","onSendNowClicked","showMarkAsComplete","showSendNow","actionDeletionStatus","actionDeletionError","actionRestartOrMarkAsCompleteStatus","showActionDeletionConfirmationModalFor","planActions","assignedActions","firstAvailableAction","currentlySelectedAction","ActionDetails","TaskActionDetails","EmailOrTextActionDetails","shouldShowFooterButtons","calltoActionFooter","groupedActions","groupKeys","dayOrEventName","actionsMetadata","sortingField","currentActionId","ActionList","AssignedPlanDetailsModal","_ref$meta","isStateUpdateLoading","onPlayOrPauseButtonClicked","onTrashButtonClicked","modalTitle","AssignedPlanStateLabel","totalActionCount","onPlanClicked","ChevronButton","ChevronIcon","chevronColorClass","isExpandedByUser","borderClasses","indexAssignedPlansByState","stateName","statePlans","statePlanCount","CollapsibleCategory","totalCompletedActions","assignedActionsCount","AutoPlanApplyModal","availablePlansError","autoPlanPreviewStatus","isApplyAutoPlanModalVisible","idsOfAutoPlansCurrentlyAssigned","planOption","AssignedPlanPreviewModal","planApplyStatus","confirmingDeletionForPlanId","showingDetailsForPlanId","showingPreviewForPlanId","shouldShowCallToAction","AssignedPlanDeletionConfirmationModal","AutoPlanPreviewModal","ApplyAutoPlanCallToAction","AssignedPlansByState","portalElm","PICKER_COMP","PICKER_DOM","ModifyDate","InlineEditingDatePickerPortal","DateHeaderOptions","showCustomDateLists","getSearchableDate","CustomDates","Expiration","expiration","getExpiredCounter","DateListed","date_listed_milestone","ReferralExpiration","CloseDate","close_date_milestone","MutualAcceptanceDate","mutual_acceptance_date_milestone","_dates$dates","isSellerLandlordType","feedbackTabPath","mostRecentFeedback","additionalDivs","additionalDivsZIndex","useHref","feedbackTabResolvedPath","isFeedbackTabSelected","MarketingHeader","MarketingSubheader","MarketingLoadError","MarketingBody","MarketingWrapper","sendBlueprintRequest","FEATURE_LIST","BlueprintAccessModal","onGetAccess","TitleAndEscrowCard","TitleAndEscrow","ReferralSideRight","Dates","NonReferralSideRight","blueprintTitle","SideRight","getPrevNextListingsAsApi","cellSizeDictionary","imageSizeDictionary","InitialsCircle","hasProfileLink","isActionable","editableDisplayClassName","editableContainerClassName","InlineEditIcon","updateIfChanged","Switcher","ignoreNaN","adjustSeparator","numberify","onActivate","toUSString","originalOtherProps","momentObj","closeAndUpdateIfChanged","ISOValue","updateAddressModal","toggleUpdateAddressModal","tempStatus","fetchStart","fetchSuccess","fetchFailure","cardFetchStart","cardFetchSuccess","updateStart","originalListing","updateSuccess","updateListing","updateStatusRequest","stateChanges","updateFailure","deleteStart","deleteSuccess","deleteFailure","archiveStart","archiveSuccess","archiveFailure","updateAggregations","importModal","toggleImportModal","saveFiltersModal","saveStart","saveSuccess","saveFailure","rendering","setColumns","reorderColumn","sourceIndex","destinationIndex","setDisplay","setAddTransactionModal","preferences","_create3","_create2","_list2","_delete2","_show","_list","listingsPath","financialsPath","aggregationsPath","arrayFormat","listingsQueryPath","csrfToken","apiWrapper","detailData","dashboard_preference","configuration","customMessage","reassignPositions","hashifyColumns","normalizeStatus","normalizeFilters","includePageOrder","statusChangedRange","keysToIgnore","filtersWithAll","statusChangedDates","close_date_range","closeDateRange","status_changed_range","status_changed_dates","published_state","newAddress","targetUrl","currentUrl","singleStatus","queryFilters","pathStatus","newUrlBuilder","addFilter","newFilters","removeFilter","UpdateWithSideEffect","Update","byStatusPagination","NoUpdate","_pagination$status","byStatusTotals","initialListingState","SideEffect","changedStatus","_initialListingState$","NotifyError","listingIdx","STATUS_ACTUAL_VALUES","isActualValues","isActionActualValues","actualClosedVolume","estimatedClosedVolume","actualGci","estimatedGci","_action$stateChanges","_action$stateChanges2","_action$stateChanges4","_action$originalListi","_action$stateChanges3","_action$stateChanges5","entry","_error$Object$keys$","archive","newAggregation","__","filterModalIsOpen","renderableColumns","columnArray","startIndex","endIndex","reorder","addTransactionModalIsOpen","openSaveFiltersModal","closeSaveFiltersModal","saveListingFilters","saveFiltersData","_ref$rawFilters","rawFilters","_ref$filters","clearFilters","filterName","setFilterName","handleSaveFilter","normalizedFilters","stringfiedQuery","AppliedFilter","ColumnOption","fixed","labelColor","gripColor","GripIcon","MaybeOrderableOption","ColumnsDropdown","onDrag","opened","setOpened","useOutsideClick","AngleDownIcon","justifyDictionary","between","around","evenly","justifyValue","alignDictionary","baseline","stretch","alignValue","spaceDictionary","spaceValue","Cluster","paramOptions","date_canceled","last_updated","listing_price","paramOptionsArray","directionOptionsArray","Ordering","orderFromString","_paramOptions$origina","originalOrder","presentedOrder","setPresentedOrderOrder","onOrderChange","prepareOptions","Headings","openFilterModal","setRenderableColumns","updateDisplay","DisplaySwitch","SortingMenu","AppliedFiltersWithSave","activeListing","allTypes","totalsKey","TotalsBreakdown","ChartPieSolidV6","CurrencyTotalCell","CurrencyCell","EstimatedBreakdown","_ref3$totals","archiveListing","newMilestonesColumns","newMilestonesKeys","footerColumns","estimatedGrossCommission","actualGrossCommission","Transaction","getAgentsList","initialAgents","onAgentsChange","getSelectedAgents","agentsList","getSelectedAgentsIds","closeDateRangeToOption","initiallySelectedDateRange","onDateRangeChange","selectedDateRange","ranges","rangeValue","selectedRange","getSelectedDateRange","dateRangeList","newSelectedDateRange","getSourceList","initialSources","onSourceChange","_ref$sourceIds","sourceIds","getSelectedSources","sourceList","newSelectedSources","getSelectedSourcesIds","statusDateRangeToOption","scrollHandler","initiallySelectedOption","onChangeRange","onChangeDates","customOptionRef","getSelectedDateRangeOption","dateRangeOptionsList","setSelectedDateRange","newSelectedOption","initialOptions","onOptionsChange","updatedOptions","initialTypes","initialPublishedStates","initialStatuses","onTypesChange","onPublishedStatesChange","onStatusesChange","InlineFilter","isModalShown","onModalClose","statusDateOptions","onClearAll","onFilter","_filters","usedStatuses","usedPublishedStates","usedTypes","initialCloseDateRange","initialStatusChangedRange","initialStatusChangedDates","AgentsFilter","FilterInlineOptions","publishedStates","CloseDateRangeFilter","rangeId","StatusChangeRangeFilter","SearchFilter","useAdditionalDayOfYearTokens","useAdditionalWeekYearTokens","closeDateOptionsBuilder","closeDateOptions","literalYears","closeDateOptionsGenerator","reorderList","transferBetweenColumns","removeIndex","newColumn","targetId","targetIndex","sourceColumn","destinationColumn","addToColumn","_ref$optionsList","optionsList","_ref$selectedId","selectedId","onUpdateOption","_ref$fullWidth","_ref$hint","hint","_ref$wrapperClassName","_ref$selectionWrapper","selectionWrapperClassName","showSelectionPicker","setShowSelectionPicker","optionsNode","tempResults","TriangleUpIcon","TriangleDownIcon","_option","TextCell","fieldDictionary","DateCell","financialCurrency","OptionsInlineCell","Field","_ref6$options","propertyKey","collapsableProperties","uncollapsableProperties","buildGenericField","listUpdater","collapsableFields","uncollapsableFields","collapsableHeight","AgentCell","TDIOptionsStatusCell","onDeletion","ArchiveButton","onArchive","ArchiveIcon","ListingOptions","canArchive","archiveButton","ListingCardHeader","isCustomTitle","onStatusChanged","ListingCardBody","ListingCardFooter","draggableStyle","virtualStyle","editFinancials","ItemList","onLoadMore","droppableProvided","scrollStyle","draggableProvided","EXCLUDE_AGGREGATED_COUNT","aggregations","openAddTransactionModal","columnTotals","totalGrossCommission","totalVolume","ItemsList","STATUSES","groupByStatus","statusPagination","columnOrder","_ref$listings","_ref$statusPagination","pipelineStatusApproved","setPipelineStatusApproved","setTempStatus","UpdateFromPipelineContext","transferDraggedListing","oldStatus","draggableStr","droppableStr","columnId","WrapperAddTransactionModal","columnStatus","updateListingReq","UpdatePipelineStatusModal","setSubmitted","revertStatuscloseModal","existingAddressAttributes","setExistingAddressAttributes","setAddressId","setStreetAddress","setCity","setLocality","setPostalCode","saveButtonDisabled","setSaveButtonDisabled","setDetails","getAllListingInfo","_res$data$address","_res$data$address2","_res$data$address3","_res$data$address4","setDefault","closeAddressModal","putAllListingInfo","_err$response$data2","filteredDetails","updatedDetails","_state$updateAddressM3","_state$updateAddressM4","setToggleModal","_state$updateAddressM","_state$updateAddressM2","copyListing","ImportDetailModal","closeModalAsThunk","closeCurrentModal","_state$importModal6","_state$importModal7","_state$importModal8","_state$importModal9","_state$importModal","_state$importModal2","_state$importModal3","_state$importModal4","_state$importModal5","dateCanceled","getName","filtersMapping","usedFilter","transformFilterType","toFilterLabel","filtersAdapter","filtersObject","_state$filters$status","_useReducerWithSideEf2","useReducerWithSideEffects","_state$listings$total","buyers","sellers","landlords","tenants","referrals","closeAddTransactionModal","promptForDeletion","closeFilterModal","prevError","toast","onOpen","_renderableColumns","isNewMilestone","filterUnknownMilestones","listView","TransactionsTable","cardView","Board","baseBackground","ToastContainer","effect","toggleColumnId","TDIUpdatePipelineStatusModal","ImportListingModal","fadeStyle","canDeleteListing","canArchiveListing","editableCheck","currentFiltersAsString","baseColumns","fullAddress","line","_listing$newMilestone","big","ENCODING_PROPS","windowLocation","queryToString","queryToObject","statusFromPath","NavigationDirection","NavigationListings","prevSlug","nextTitle","nextUrl","prevUrl","onGetPrevNextListingsAsThunk","backToListingsURL","previousTitle","previousUrl","NavContainer","saveListingMLSThumbnail","saveListingThumbnail","ThumbnailSelector","availableImages","savedThumbnail","TDPPipelineStatusModal","onChangeFromPipelineStatus","onRevertStatus","UploadTable","shouldShowAllCheckbox","areAllDocumentsSelected","shouldShowBulkActions","handleSelectAllDocuments","handleBulkDelete","ModalUpload","dispatchedThunkCb","uploadIndex","_useDropzone","useDropzone","noClick","getRootProps","getInputProps","isDragActive","acceptedFiles","CDAUploadModal","onUploadDocumentAsThunk","onPreviewDocument","containerZ","PreviewPlaceholder","numPages","setNumPages","pageElement","newNumPages","onerror","onabort","PreviewNavigator","PreviewPdf","PreviewImage","PreviewDetailsHeader","PreviewDetailsDivider","PreviewDetailsGroup","gapSizeDictionary","PreviewDetail","gapSize","PreviewDetailTitle","PreviewDetailText","shouldTruncate","PreviewDetails","editingName","setEditingName","PreviewUploadedBy","Preview","relevantDocuments","ImportModal","openAddressModalAsThunk","DocModalUpload","TransactionsNavigation","SideLeft","ThumbnailSelectorModal","BrowserRouter","ClosedVolumeForm","setClosedVolume","saveClosedVolume","setIsShowTrDetail","_useStartHandlr","startButtonDisabled","setStartButtonDisabled","startButtonHandlr","useStartHandlr","listingsTransactionRemoveSubKey","subKey","setIsShowTr","setIsEditTr","setIsEditTrDetail","setIsOpenAddAgentModal","setIsExpenseModal","setAlert","setDangerAlert","setFinancialData","setModalIndex","setErrData","setAgentList","setIsCollaboratorExpenseModalOpen","setCollaboratorModalIndex","saveFinancialData","getAgentList","removeIncome","removeCollaboratorExpense","expenseId","calculate_amount","previous_line_total","clcAmt","twoDecimalPlaces","recalculate_transaction_gci_and_team_member_net_incomes","non_owners_with_flat_gci","non_owners_percent_gci","calculate_transaction_gci","calculate_team_member_net_income","recalculate_all_team_member_net_incomes","flatAgents","recalculate_team_member_net_income","additionals","nonDeletedAdditionals","additional","ownerGrossIncome","sumOfAgentsGrossIncomeWithFlatGci","owner_and_flat_incomes","transaction_gci_less_owner_and_flat_incomes","gross_inc","custom_expenses","brokerage_deduction","royalty_deduction","nonDeletedCustomExpenses","custom_deduction","numAsString","indexOfDecimalPoint","recalculateCollaboratorExpenses","calculateCollaboratorExpenses","customExpense","custom_collaborator_expenses_attributes","total_expense","additionalExpense","TransactionFinancialDetail","_listingData$collabor","sortedCollection","el1","el2","onRemoveIncome","TeamMemberSplit","TeamMemberExpense","onRemoveCollaboratorExpense","AddAgentModal","onHideAgent","addAnother","saveAgentData","agentObj","addAgentClassName","removeAgent","AddIncomeExpenseModal","ExpenseModal","useMemos","propsListData","brokerage_split_notes","borderTop","royalty_notes","SortableTeamMemberSplitInput","SortableTeamMemberExpenseInput","AgentDetailForm","onSortAdditionalIncome","unitOptions","formatCreateLabel","AgentAdditionalIncomeSortable","AgentsDetailForm","_useMemos","CollaboratorExpenseModal","collaboratorExpense","TransactionFinancialDetailForm","onAddAgent","onAddCollaboratorExpense","collaboratorIndex","commission_notes","TransactionAdditionalIncomeSortable","CollaboratorExpense","renderAgentModal","renderAdditionalModal","renderExpenseModal","renderCollaboratorExpenseModal","TransactionFinancial","locationType","cursorCategory","WebsiteSearchHistoryFilter","debounceFetchResults","handleMinPriceChange","ClearAllFiltersButton","minPrice","handleMaxPriceChange","maxPrice","handleMinBedroomsChange","minBedrooms","handleMaxBedroomsChange","maxBedrooms","handleMinBathroomsChange","minBathrooms","handleMaxBathroomsChange","maxBathrooms","removeLocation","locationToRemove","newCities","newZips","favoritesAndViews","viewsOnly","favoritesOnly","toggleActive","cityStateActive","locationValue","cityAndZips","cAndZs","CityState","_this$props$selectedS","selectedSearchHistory","min_bedrooms","max_bedrooms","min_bathrooms","max_bathrooms","viewsAndFavorites","views_and_favorites","views_only","favorites_only","dropDownMinMax","LocationResults","z","TabButton","archivePost","blogSettings","blogSettingsError","blogSettingsLoading","categories","categoriesError","categoriesLoading","idxConfiguration","idxConfigurationLoading","firstPostModalOpen","postError","postLoading","postPublishStatusCounts","drafts","postSaved","posts","postsError","postsLoading","sharePost","tagsError","tagsLoading","transformPost","camelPost","getIDXConfiguration","maxRedirects","domain","getPostPublishStatusCounts","getBlogSettings","updateBlogSettings","getPosts","itemsPerPage","getCategories","categoryUuid","upsertCategory","deleteCategory","tagUuid","upsertTag","deleteTag","getPost","createPost","_thunkApi$getState$we","blogUuid","updatePost","websiteApi","newPost","isPublished","datePublished","cancelPublish","dateToPublish","featuredImageUrl","featuredImageAltText","dateArchived","duplicatePost","websiteSlice","setArchivePost","setSharePost","setPostSaved","setFirstPostModalOpen","_action$payload$error","_action$payload$error2","updateCategory","lowerCase","_action$payload$error3","_action$payload$error4","updateTag","_action$payload$error5","_action$payload$error6","firstPostPublished","_state$post","_websiteSlice$actions","useBlogSettings","useCategories","usePost","useWebsiteApiUrl","useWebsiteIDXUrl","fullUrl","ShareButton","SharePostModal","FacebookCircleSolidV6","ArchivePostModal","Intercom","Outlet","FirstPostModal","websiteApiUrl","setCount","CategoryTagModal","_value$type","propValue","usePostCountForCategoryTag","DeleteCategoryTagModal","initBlogSettings","setBlogSettings","catTagModel","setCatTagModel","deleteCatTagModel","setDeleteCatTagModel","CategoryTagItem","getPostStatusClass","PostStatusPill","ClockFiveRegularV6","getPostStatusName","AngleDownSolidV6","PostStatus","currentStatus","ShareTooltip","_post$categories","_post$tags","setDuplicatePost","websiteIDXUrl","ShareSolidV6","setPost","DuplicatePostModal","setTitle","postUuid","idxLoading","idxUrl","publishStatus","setPublishStatus","settingsOpen","setSettingsOpen","createPostOpen","setCreatePostOpen","SolidWindowSlash","BlogSettingsModal","CreatePostModal","PostRow","CollapsiblePostCard","_e$dataTransfer$files2","onDragEnter","_inputRef$current","CloudArrowUpSolidV6","UnsavedChangesModal","blocker","proceed","shouldSkipHelp","setShouldSkipHelp","initPost","setSlug","PublishDateModal","isBeforeNow","ClockFiveSolidV6","useParams","initialPost","categoryTagModel","setCategoryTagModel","featuredImageModalIsOpen","setFeaturedImageModalIsOpen","seoModalIsOpen","setSeoModalIsOpen","editSlugModalIsOpen","setEditSlugModalIsOpen","isPublishModalOpen","setIsPublishModalOpen","teamPeople","useTeamPeople","isScheduled","hasChanges","onBeforeUnload","returnValue","onFileUpload","filetype","onchange","useBeforeUnload","capture","useBlocker","currentLocation","nextLocation","xorBy","setTag","ArrowLeftSolidV6","remark","remarkGfm","remarkRehype","rehypeSanitize","rehypeStringify","processSync","min_height","file_picker_callback","paste_data_images","toolbar2","setup","SpinnerThirdSolidV6","ImageDropTarget","FeaturedImageHelpModal","catTag","SeoHelpModal","EditingSlugsModal","router","createBrowserRouter","createRoutesFromElements","WebsiteIndex","BlogIndex","PostIndex","basename","RouterProvider","setLeads","userInfo","setUserInfo","selectAllChecked","setSelectAllChecked","DROPDOWN_CLOSE_EVENT","LEAD_SELECTED_EVENT","updateSelectedLeads","getSelectedLeads","NotesIndex","createNote","toggleVisibility","setShowCreateForm","SquarePenSolidV6","_ref$topMargin","topMargin","TwilioTrustHub","updateState","setEin","ein","formattedEin","saveChanges","submitOrSave","allowEin","sole_prop_phone_number","address_street_secondary","forUS","twilio_trust_hub","registrationComplete","registration_complete","submitForReview","renderShortForm","countryOptions","address_country","renderForm","allowedBusinessTypes","displayEin","displayOtpPhone","displayAddressSecondLine","business_name","address_street","address_city","address_region","address_postal_code","business_type","auth_rep_first_name","auth_rep_last_name","auth_rep_title","auth_rep_email","auth_rep_phone","trustHub","default_website_url","formUI","PLACE_TEAM","fromRailsToReact","_dbFormData$operating","_dbFormData$comm_only","_dbFormData$comm_only2","_dbFormData$transacti","_dbFormData$transacti2","dbFormData","branding","brand_id","brokerage_affiliation","entityName","entity_name","entityNumber","entity_number","teamType","team_type","default_crm_access","networkAgent","network_agent","operationalPartner","operator_person_uuid","operating_partner_person_uuids","comm_only_operator_person_uuids","transaction_report_access_person_uuids","parentTeamAccount","act","parent_team_account_uuid","goLive","go_live","currentContractEffective","current_contract_effective","partnershipEffective","partnership_effective","placePartnershipEnded","place_partnership_ended","toRailsFromReact","_formData$branding","_formData$brokerage","_formData$operational","_formData$operational2","_formData$commOnlyOpe","_formData$transaction","_formData$parentTeamA","_p$value","_p$value2","_p$value3","named_milestones","saveBrandingFormApi","DEFAULT_MESSAGE","_label$toLowerCase","RadioOptions","_data$image_url","DisplayPerson","AvatarControl","AvatarOption","_ref2$superUsersBrand","_formData$transaction2","selectedTransactionReportAccessUsers","availableTransactionReportAccessUsers","_formData$commOnlyOpe2","_formData$commOnlyOpe3","selectedCommPartners","availableCommPartners","SuperUsersBranding","_formData$branding2","_formData$branding3","_formData$branding4","_formData$branding5","_formData$operational3","isPlaceSuperUser","saveBrandingForm","selectedPartners","availablePartners","CommOnlyOperator","TransactionReportAccess","searchUsers","_document$querySelect","BrandingPage","is_place_super_user","db_brand_data","place_branded_accounts","active_place_teams","DeleteAutoPlans","defaultAutoPlanSelect","fetchAutoPlanList","spread","allData","selectAutoPlanType","loadingError","selectedAutoPlanType","formatAutoPlanOptions","closeConfirmModal","showConfirmModal","totalAppliedCount","totalAutoPlanCount","dismissConfirmModal","toggleOffTriggers","confirmCheckbox","showConfirmError","disable_triggers","confirmModal","promptConfirm","sending","setSending","getEmailPlacholders","getInteractionTemplates","createInteractionTemplate","_ref4$template","_ref4$template2","updateInteractionTemplate","_ref6$template","_ref6$template2","deleteInteractionTemplate","_ref8$template","interactionTemplatesSlice","deleteTemplate","editTemplate","interactionTemplates","setDeleteTemplate","setEditTemplate","interactionTemplate","_interactionTemplates","getTdpPreloadedState","tdp","autoPlansDefaultState","dateDefaultState","marketingDefaultState","detailsDefaultState","documentsDefaultState","financialsDefaultState","timelineDefaultState","tasksDefaultState","feedbackDefaultState","peopleDefaultState","interactionsDefaultState","userNumber","notesDefaultState","titleAndEscrowDefaultState","railsContext","_reducer","messagingInitialState","partnerSearchState","partner_search","websiteState","clearLink","removeQueryParams","saveFilter","clear_link","AppliedFilters","byteNumberFormatter","unitDisplay","_ref$maxFiles","maxFiles","_ref$maxSizeBytes","maxSizeBytes","fileInput","setFiles","selectedFiles","prevFiles","addFiles","removeFile","_formData$get","_tinyMCE$activeEditor","parseTemplate","_data$baseTemplate","hotLeadAvatar","hot_lead_avatar","_getRecipientCount","_document$querySelect2","getRecipientCount","recipientCount","acceptSpamRating","setAcceptSpamRating","disableSendButton","setDisableSendButton","selectedTemplate","setSelectedTemplate","showSpamWarning","_useAttachments","useAttachments","attachmentsActions","attachmentsError","_useMassEmail","useMassEmail","baseTemplate","AvatarLink","simplePerson","_apiErrors$name","_apiErrors$subject","_apiErrors$body","apiErrors","_ref$subject","_ref$body","validateTemplate","updatedBy","_deleteTemplate$actio","_deleteTemplate$actio2","actionPlans","futureInteractions","THEAD_CLASSES","onPopState","navigateToAlertTemplates","DeleteInteractionTemplateModal","InteractionTemplateModal","InteractionTemplates","ConfirmTrackingNumber","voicemailGreetingFile","onConfirmBuy","agentInfo","buyNumber","_yield$buyTrackingNum","buyError","ItemSummary","generateTollFree","setGenerateTollFree","onConfirmNumber","numbersError","onConfirmDelete","chooseNotToDelete","deleteNumber","_yield$deleteTracking","deleteError","toSorted","setSource","trackingNumberName","groupedSources","shouldBeDisplayed","LeadAssignTypeOptions","assignType","setAssignType","assignTypeOption","AgentRemove","isOverLimit","XSolidV6","providedDroppable","providedDraggable","RoundRobinAgent","createLead","setCreateLead","beginDeletionConfirmation","agreedToDelete","setAgreedToDelete","setVoicemailGreetingChanged","setVoicemailGreetingFile","setVoicemailGreetingFilename","setIsUploading","setStep","inputFile","FileUpload","handleFileUpload","RecordOrUpload","ReadyToRecord","RecordingInProgress","DoneRecording","ReplaceConfirm","componentByStep","StopSolidV6","setIsRecording","secondsRecording","setSecondsRecording","recorder","initAudio","initWorker","useInterval","savedCallback","vmsg","wasmURL","wasmUrl","CallRecording","setInboundNotificationMessageCondition","setInboundRecording","_state$layout$current3","setRoutingMethod","setNoAnswerSetting","voicemailGreetingChanged","isNewNumber","showDetailsModal","trackingNumber","onNumbersChanged","purchaseNumber","backToNumberSelection","_yield$updateTracking","canSubmit","NoAnswerOptions","noAnswerOption","SourcesDropdown","LeadAssignType","FirstToClaim","RoundRobin","LeadCreation","VoicemailRecorder","DeleteTrackingNumber","_trackingNumber$sourc","_trackingNumber$users","showConfirmationModal","setShowConfirmationModal","showDeleteConfirmationModal","setShowDeleteConfirmationModal","isNumberConfirmed","setIsNumberConfirmed","confirmationModalShowing","showNumberSelection","voicemailGreetingUrl","voicemailGreeting","NumberSelection","TrackingNumberDetailsModal","ConfirmDeleteTrackingNumber","PageSizes","onChangePageSize","TrackingNumbersTable","onClickEdit","sourcesHash","tn","_tn$users","agentsWithRoutingNumbers","showTrackingModal","setShowTrackingModal","numberToEdit","setNumberToEdit","numbersToDisplay","setNumbersToDisplay","setOffset","setPageSize","TrackingNumberModal","BasePath","appendOptionalFilters","callers","getCallLogs","tracking_number_calls","getStats","getTrackingNumbers","getLogCount","log_count","getActivity","getAgents","getRecordingMetadata","recordingLink","metadataUrl","_ref$centerChildren","centerChildren","getTrackingNumberIds","selectedTrackingNumbers","durationDisplay","formatCallDuration","durationInSeconds","Infinity","_intervalToDuration","intervalToDuration","padWithZeroes","durationOptions","createAgentOption","setOutcome","agentOptions","handleTrackingNumberFilterOnChange","setMinDate","setMaxDate","chosenView","logFilters","setLogFilters","filtersVisible","setFiltersVisible","LogFilters","top6ChartColors","top6ChartColorClasses","chartValueSoFar","top6","others","othersCallTotal","othersData","TrackingNumbersListEmptyState","showSettingsPage","List2","TrackingNumbersList","_stats$trackingNumber","_stats$trackingNumber2","SingleNumberInfo","mappedAgents","_a$routes","routes","_agent$avatar_url","_stats$trackingNumber5","_stats$trackingNumber3","_stats$trackingNumber4","talkedCalls","totalCallDuration","totalCallsWithDuration","totalNewLeads","TrackingNumbersActivityTable","trackingNumberActivity","sortedNumbers","setSortedNumbers","mappedActivity","tnId","mapActivity","ReportsFilters","TrackingNumbersStats","setIsVisible","statsByAgent","totalContacts","totalMissed","totalCallTime","uniqueCallers","voicemails","RoutingMethodDisplay","isOnTrackingNumber","statByAgent","SecondaryRow","PreviouslyAssignedRow","SecondaryCell","isFirstCell","callTime","ArrowTurnDownRightSolidV6","_ref8$isLastRow","_ref8$isFirstCell","_ref8$centerChildren","_info$agents","missed","unique_callers","voicemail","is_deleted","ai","agent_in_routings","LogRow","voicemailUrl","callerUrl","callerFullName","callerPhone","isNumberDeleted","answererFullName","answererAvatarUrl","TalkedOutcome","MissedOutcome","VoicemailOutcome","ExpandedInfo","TrackingNumbersLogTable","callLogs","callLogId","RecordingPlayback","animationRef","progressRef","setCurrent","setVolume","isVolumeOpen","setIsVolumeOpen","forUpdating","_audioRef$current","totalPlayed","currentTime","percentPlayed","_audioRef$current2","_audioRef$current3","cancelAnimationFrame","onChangeVolume","preload","onEnded","volumeTo11","orient","WebkitAppearance","PhoneArrowDownLeftSolidV6","PhoneMissedSolidV6","logsCount","setAgentsWithRoutingNumbers","setTrackingNumbers","getAvailableSources","sourceStuff","agentStuff","available","agentsssss","agentsMapped","mapAgentsWithRoutingNumber","mapTrackingNumbers","agentsById","create_leads","voicemail_greeting_url","usable","_agent$routing_number","routing_numbers","routing_number_id","detail_id","routing_number","mapStats","missedCalls","missed_calls","talked_calls","total_call_duration","total_calls_with_duration","total_new_leads","mapCallLogs","_log$answerer_avatar_","voicemail_url","answerer_full_name","answerer_avatar_url","caller_phone","caller_full_name","caller_url","deleted_at","PAGES","mapTrackingNumberOptions","selectedPage","setSelectedPage","setSelectedTrackingNumbers","_useTrackingNumberSet","useTrackingNumberSettings","settingsTrackingNumbers","_useTrackingNumberAct","setStats","setActiviy","useTrackingNumberActivity","_useTrackingNumberLog","setCallLogs","setLogsCount","logCount","useTrackingNumberLogs","trackingNumbersResult","agentsResult","mappedTrackingNumberOptions","TrackingNumbers","TrackingNumbersActivity","TrackingNumbersLogs","getSection","createTemplate","updateTemplate","initialTemplates","setTemplates","saveTemplate","_response","closeModals","cancelDelete","updatedTemplates","templateProps","ConfirmDeleteTemplate","navigateToEmailTemplates","created_by_id","created_by_avatar_url","updated_by_id","updated_by_avatar_url","updated_by_name","can_write","deleteTemplateWrapper","_yield$deleteTemplate","valueOrDash","prospectNameColor","prospect","isMyLead","sharedPropertyTypes","SearchTypeConfig","expireds","domOrList","domOrListField","showAllPersonsColumn","showDaysOnMarketColumn","hasPrice","dateDescription","sourceName","fsbos","preforeclosures","phoneType","onSelectAll","highlightedProperty","openPropertyDetails","callPropertyProspects","setCurrentSort","sortedProperties","setSortedProperties","RefRow","PropertyRow","PropertyCell","statusDateDisplay","recommendedProspect","PhoneType","phoneFormatted","Dnc","hasAnyPhoneNumbers","prospects","AllProspects","pp","PhoneArrowUpRightSolidV6","hasReceivedCalls","listPriceFormatted","sqftFormatted","addLead","getSavedSearches","RecentSearchLocalKey","getProperties","includeDummyData","isRadius","isAreaSearch","areaId","isAddressSearch","communicationRange","commsFrom","commsTo","statusDateMin","statusDateMax","formatProperty","areaGeometry","totalInArea","total_in_area","_property$prospects","_property$callHistory","streetViewLink","zillowLink","isRecommended","FakeProspect","callHistory","phoneDisplay","timestampDisplay","statusDate","loanAmount","delinquentAmount","attorneyPhone","isMyPondLead","locationQuery","setLocationQuery","setShape","listener","_map$data","_locationQuery$polygo","circle","baseShapeStyle","draggable","forEachLatLng","setUpArea","paths","convertMvcArray","setUpDrawing","zoomies","sleep","converted","ele","zoomDiv","flexDirection","plus","makeSvg","PlusPath","minus","MinusPath","hasBorder","createElementNS","svgPath","setAttributeNS","ms","Prospect","addProspectAsContact","callProspect","setPropertyForDetails","CopyRegularV6","resultCount","totalAvailable","_ref$maxRequested","maxRequested","areMoreAvailable","searchConfig","onClickProperty","selectedProperty","setSelectedProperty","deselectProperty","GoogleMap","PropertyMarker","PropertyCard","ResultsCount","selectedStyling","communicationOptions","communicationDateOptions","communicationOutcomes","getDefaultFilters","defaultSearchType","excluded","communication","sqftMin","sqftMax","toggleArrayValue","chosenFilters","mergeWithDefaults","onArrayValueChosen","changeField","cd","co","PriceRange","RangePair","allowDecimal","_ref2$tooltipText","_ref4$allowDecimal","_e$target2","mapResults","AutocompleteToReadable","_results$areaType","readable","mapResult","indexOfUS","addressUuid","selectSavedSearch","setLocation","setResults","isSearchSelected","setIsSearchSelected","_useAutocomplete","hasSearchResults","setHasSearchResults","useAutocomplete","onSelectAutocompleteResult","matchByTermIgnoreCase","defaultPrevented","AutocompleteResults","makeEmptyText","ByTypeEmptyState","isMapVisible","setIsMapVisible","showSortMenu","setShowSortMenu","sortByLabel","Bubbles","setSortOptions","_filters$propertyType","removePairedFilters","firstBit","secondBit","dateFilterText","createBubbles","onClickSearchButton","getHeader","getMessage","_ref$includeBorder","includeBorder","areNotesVisible","setAreNotesVisible","preposition","MapSolidV6","ZillowLogo","HouseCircleXmarkSolidV6","PropertySpecifics","CallInfo","PreforeclosureDetails","BaseDetails","_property$agent","_property$agent2","_property$agent3","_property$tax","_property$tax2","_property$tax3","_property$tax4","_property$tax5","OwnerDetails","tax","ownerOccupied","agentRemarks","showingInstructions","mortgageHolder","countyRecorded","attorneyName","mortgageDate","dateRecorded","trusteeSaleNumber","auctionLocation","minBid","auctionDate","cityAnd","_property$owner","linkedinProfileUrl","xProfileUrl","LinkedinRegularV6","_yield$google$maps$im","_yield$google$maps$im2","importLibrary","ThumbsUpSolidV6","BedEmptyRegularV6","TinyLittleInfoThing","fullTextBlock","VerticalLine","BathRegularV6","Grid2SolidV6","TreeDeciduousSolidV6","CalendarClockSolidV6","BuildingsRegularV6","overviewContainer","overviewContainerHeight","setOverviewContainerHeight","setView","DialerOverview","showCallHistory","_overviewContainer$cu","PropertyInfoBlock","ProspectRow","mostText","nameText","createSession","startSession","saveOutcome","is_prospect_call","endCurrentCall","endSession","onProspectAddedAsLead","onCloseAll","isAddingLead","setIsAddingLead","isLoggingCall","setIsLoggingCall","leadAddedSlug","setLeadAddedSlug","setSession","setConference","implode","doSomething","_consumer$current","handleCallStatusUpdate","newSession","redial","_conference$currentPa5","useDialerWrapper","isDangerProspect","isPotentialLead","onClickAddLead","onClickCancel","onClickClose","btnText","btnDisabled","allowClose","Outcome","_ref7$style","_ref7$size","setIsSaving","saveAndClose","deleteAndClose","onClickView","currentView","handleLinkClick","AvailableLinks","LinkButton","DefaultSearchType","propertiesContainer","setSearchType","isFirstLoad","setIsFirstLoad","_usePropertySearch","setProperties","setRadius","setAreaGeometry","setTotalInArea","updateProspectLeadStatus","usePropertySearch","opportunitiesTestingData","setHighlightedProperty","propertyForDetails","propertyContainerHeight","setPropertyContainerHeight","showFilterModal","setShowFilterModal","prospectToAdd","setProspectToAdd","propertyToCall","setPropertyToCall","newLeadSourceId","setNewLeadSourceId","prospectWithPropertyToCall","setProspectWithPropertyToCall","setSaveSearch","searchToDelete","setSearchToDelete","toastText","setToastText","filterCount","countFiltersApplied","onSelectProperty","updatedSelect","newLead","fetchSavedSearches","showADisappearingToast","saveMostRecentSearch","_sources$find","_yield$getSources","_propertiesContainer$","LinkBar","getFiltersPersistedAcrossTypes","Options","_searchBarRef$current","arePropertiesLoaded","CircleExclamationSolidV6","selectedFilters","PropertyDialerModal","ProspectDialer","SaveSearch","wasSearchSaved","DeleteSearch","wasSearchDeleted","FakeToast","clearToast","csv","createCsvString","_p$prospects","_p$prospects2","_p$prospects3","_p$prospects4","_p$prospects5","_p$prospects6","_p$prospects7","_p$prospects8","_p$prospects9","layoutStore","AccountFinancialApp","AccountFinancialContainer","AccountUsersApp","AppliedFiltersApp","AssignedPlansApp","AutoPlanEditApp","AutoPlanContainer","AutoPlanFilters","AutoPlansApp","AutoPlansContainer","BulkApplyMarketReportsApp","_BulkApplyMarketReportsApp","BusinessSettings","_CCEmails","_ConferenceCall","DashboardApp","DisabledHistoryFields","EmailAllModal","EnableTextForwarding","ExcludeTagFilter","_ExcludeTagFilter","StageFilter","_StageFilter","_SourceFilter","HeaderApp","InboxApp","Inbox","ImageSizeErrorModal","_IncludeTagFilter","IndexSendListings","_LeadDNA","LeadPondsApp","LeadPonds","LeadIndexApp","LeadIndexButtonApp","LeadRoutingTargetSelector","_LeadQuickStats","MarketReportFilters","_MarketReportPreview","_MassSendListingAlerts","_MassUpdateStageModal","MilestonesApp","MilestonesContainer","ManageAccess","_NewTask","NewProjectModal","OktaError","OktaPasswordReset","_OtherInteract","PartnerSearch","PersonDetailApp","PersonDetail","_PolymorphicTasks","ReportsApp","TwilioTollFree","SearchListingsApp","SidebarApp","_SharedAutoPlansApp","Sources","_Sources","SuperUsersIndex","_SuperUsersIndex","_SupportAccountFeatures","_SupportUsersIndex","TaskApp","CookiesProvider","_TaskCounts","_TaskForm","_TaskFormLogAppointment","_TimelinesApp","TransactionDetailsPage","_TransactionFilterModal","TransactionFinancialApp","TransactionFinancialContainer","TransactionsIndex","_TransactionsIndex","adaptedListingData","_listings","estimated_closed_volume","actual_closed_volume","estimated_gross_commission","actual_gross_commission","adaptedStatusFilters","userTeamId","userFullName","serverPropsAdapter","_WebsiteSearchHistoryFilter","NotesApp","_NotesApp","InteractionTemplatesApp","PhoneSettingsApp","PhoneSystemApp","PhoneSystem","ListingAlertTemplates","OpportunitiesApp","WebsiteApp"],"sourceRoot":""}