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AAA,cAAA,KACEkD,KAAM4I,EAAeC,SACrBrL,IAAG,mBAAAD,OAAqBqL,EAAejN,KAEvCmB,EAAAA,cAAA,OACEC,UAAU,+BACVsH,IAAG,GAAA9G,OAnBQ,0DAmBWA,OAAGqL,EAAeE,aAExC,IAId,KAACT,CAAA,CA1C0B,CAASvL,EAAAA,YAAewF,EAAAA,EAAAA,GAAhC+F,EAAQ,YACR,CAAC,gBAAmBxK,IAAAA,SAAgByE,EAAAA,EAAAA,GADpC+F,EAAQ,eAGL,CAAC,gBAAmB,KCH5C,IAEMR,EAAkB,SAAHnO,GAAA,IAAK+N,EAAe/N,EAAf+N,gBAAe,OACvC3K,EAAAA,cAAA,OAAKC,UAAU,oBACbD,EAAAA,cAAA,OAAKC,UAAU,qBAEX0K,EAAgBnK,KAAI,SAAAsL,GAAc,OAChC9L,EAAAA,cAAA,KACEC,UAAU,aACViD,KAAM4I,EAAeC,SACrBrL,IAAG,mBAAAD,OAAqBqL,EAAejN,KAEvCmB,EAAAA,cAAA,OACEC,UAAU,0CACVsH,IAAG,GAAA9G,OAdM,0DAcaA,OAAGqL,EAAeE,aAExC,KAGVhM,EAAAA,cAAA,OAAKC,UAAU,eACbD,EAAAA,cAACuL,EAAQ,CAACZ,gBAAiBA,KAEzB,EAGR,UAEAI,EAAgBjK,UAAY,CAAC,gBAAmBC,IAAAA,OAChDgK,EAAgBkB,aAAe,CAAC,gBAAmB,G","sources":["webpack://rocksbox/./app/assets/javascripts/channels/consumer.js","webpack://rocksbox/./client/app/bundles/DisplayNotification/DisplayNotification.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/FaqQuestionAnswer.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/PlusMinusButton.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/FaqQuestion.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/lib/questions.js","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/Faq.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/modules/LoggedInHomePageHelper.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/Greeting.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/modules/SharedPropTypes.js","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/ShipmentInfo.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/StatusBar.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/StyleProfile.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/TextMessages.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/WhatWereLoving.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/LoggedInHomePage.jsx","webpack://rocksbox/./client/app/bundles/LoggedInHomePage/components/Carousel.jsx","webpack://rocksbox/./client/app/shared/components/MarketingAssets.jsx"],"sourcesContent":["// Action Cable provides the framework to deal with WebSockets in Rails.\n// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.\n\nimport { createConsumer } from \"@rails/actioncable\"\n\nexport default createConsumer()\n","/* eslint-disable max-len */\n/* eslint-disable react/no-multi-comp */\n/* eslint-disable react/display-name */\n/* eslint-disable react/jsx-max-props-per-line */\n/* eslint-disable react/jsx-no-bind */\n\nimport React, {useEffect, useRef, useState} from \"react\";\nimport PropTypes from \"prop-types\";\nimport consumer from \"../../../../app/assets/javascripts/channels/consumer\";\nimport useComponentVisible from \"../Site/components/useComponentVisible\";\n\nconst DisplayNotification = ({customerId}) => {\n const containerRef = useRef(null);\n\n const [\n notifications,\n setNotifications\n ] = useState([]);\n\n const [\n notificationChannel,\n setNotificationChannel\n ] = useState(null);\n\n const {\n ref,\n \"isComponentVisible\": showNotifications,\n \"setIsComponentVisible\": setShowNotifications\n } = useComponentVisible(false);\n\n\n useEffect(() => {\n console.log(\"connecting to: DisplayNotificationChannel\");\n const displayNotificationChannel = consumer.subscriptions.create({\n \"channel\": \"DisplayNotificationChannel\",\n \"identifier\": customerId\n }, {\n connected () {\n // Called when the subscription is ready for use on the server\n console.log(\"Connected to the display notification channel!\");\n },\n\n disconnected () {\n // Called when the subscription has been terminated by the server\n console.log(\"Disconnected from the display notification channel!\");\n },\n\n markAllAsRead () {\n console.log(\"marking all as read...\");\n this.perform(\"mark_all_as_read\", {\"customer_id\": customerId});\n },\n\n markAsRead (item) {\n this.perform(\"mark_read\", {\"notification_id\": item.id});\n },\n\n received (data) {\n // Called when there's incoming data on the websocket for this channel\n console.log(\"Received data from the display notification channel data: \", data);\n setNotifications(data.notifications);\n }\n });\n\n setNotificationChannel(displayNotificationChannel);\n }, []);\n\n useEffect(() => {\n if (showNotifications) {\n document.documentElement.classList.add(\"no-scroll\");\n } else {\n document.documentElement.classList.remove(\"no-scroll\");\n }\n return () => {\n document.documentElement.classList.remove(\"no-scroll\");\n };\n }, [showNotifications]);\n\n const toggleNotifications = () => {\n setShowNotifications(prevState => !prevState);\n };\n\n const handleMarkAllAsRead = () => {\n notificationChannel.markAllAsRead();\n };\n\n const handleMarkAsRead = (item) => {\n notificationChannel.markAsRead(item);\n };\n\n const handleOnClick = (item) => {\n handleMarkAsRead(item);\n if (item.link.length) {\n window.location = item.link;\n }\n };\n\n const handleOnClickContainer = (event) => {\n if (event.target === containerRef.current) {\n setShowNotifications(false);\n }\n };\n\n const hasUnread = () => notifications.some(notifiction => notifiction.read_at === null);\n\n const renderMarkAllAsReadButton = () => {\n if (hasUnread() && notifications.length > 1) {\n return (\n \n Mark All as Read\n \n );\n }\n\n return null;\n };\n\n const renderNotifications = () => {\n if (!notifications) {\n return (\n
\n You do not have any notifications\n
\n );\n }\n\n return (\n notifications.map(item =>\n handleOnClick(item)}\n >\n
\n
\n
\n {item.title}\n
\n {Boolean(item.description) &&\n
\n {item.description}\n
}\n
\n
)\n );\n };\n\n return (\n
\n \n
\n {hasUnread() &&
}\n
\n
\n
\n {showNotifications &&\n \n
\n
\n
\n Notifications\n
\n {renderMarkAllAsReadButton()}\n
\n
\n {renderNotifications()}\n
\n
\n
}\n
\n );\n};\n\nDisplayNotification.propTypes = {\"customerId\": PropTypes.number.isRequired};\n\nexport default props => ;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nconst FaqQuestionAnswer = ({answerContent}) => (\n \n {answerContent.map(answerSegment => (\n \n ))}\n \n);\n\nFaqQuestionAnswer.propTypes = {\"answerContent\": PropTypes.arrayOf(String).isRequired};\n\nexport default FaqQuestionAnswer;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nconst PlusMinusButton = ({expanded}) => (\n \n);\n\nPlusMinusButton.propTypes = {\"expanded\": PropTypes.bool.isRequired};\n\nexport default PlusMinusButton;\n","/* eslint-disable react/jsx-no-bind */\nimport React, {useEffect, useState} from \"react\";\nimport EventsAPI from \"../../../shared/modules/EventsAPI\";\nimport FaqQuestionAnswer from \"./FaqQuestionAnswer\";\nimport PlusMinusButton from \"./PlusMinusButton\";\nimport PropTypes from \"prop-types\";\n\nconst FaqQuestion = ({\n answerContent,\n index,\n questionContent\n}) => {\n const [\n expanded,\n setExpanded\n ] = useState(false);\n\n const handleClick = () => setExpanded(expandedValue => !expandedValue);\n\n useEffect(() => {\n const eventName = \"clicked_faq\";\n if (expanded) EventsAPI.trackCustomerEvent(eventName, questionContent);\n }, [expanded]);\n\n const getQuestionClassNames = () => (\n expanded ? \"faq-question underline small faq-bar\" : \"faq-question small faq-bar\"\n );\n\n const getRowClassNames = () => (\n index % 2 === 0 ? \"color-light-grey-bg faq-bar\" : \"faq-bar\"\n );\n\n return (\n
\n \n {questionContent}\n \n
\n {expanded && }\n \n );\n};\n\nFaqQuestion.propTypes = {\n \"answerContent\": PropTypes.arrayOf(String).isRequired,\n \"index\": PropTypes.number.isRequired,\n \"questionContent\": PropTypes.string.isRequired\n};\n\nexport default FaqQuestion;\n","/* eslint-disable max-len */\n\nexport default {\n \"questions\": [\n {\n \"answer\": [\n \"Rocksbox is a subscription based try before you buy jewelry service. You'll receive three\" +\n \" pieces of jewelry that are yours to wear and try out for as long as you like.\",\n \"When you're ready to get more jewelry, go to the Buy From My Set page to buy the pieces you want to keep.\" +\n \" Put the pieces you don’t want to buy back in the reusable envelope using the prepaid shipping label. Drop\" +\n \" the package in the mail or at a USPS drop-off location.\",\n \"Your stylist will start working on your next set when your Rocksbox is returned. If you buy all three\" +\n \" pieces, your stylist will work on your next set right away (no need to send back your empty box).\",\n \"Don’t forget to check out the Shop where you get exclusive and immediate access to buy New and Clearance\" +\n \" Rocksbox jewelry.\"\n ],\n \"expanded\": false,\n \"question\": \"How does Rocksbox work?\"\n },\n {\n \"answer\": [\n \"You can track the status of your Rocksbox shipment by clicking “Track Shipping Status” in the main\" +\n \" menu. Typically, your Rocksbox will take 3-5 business days to be delivered once it has been shipped.\"\n ],\n \"expanded\": false,\n \"question\": \"Where is my shipment?\"\n },\n {\n \"answer\": [\n \"Every Rocksbox member gets a monthly credit to be used toward purchasing jewelry from your set.\" +\n \" The monthly credit is available starting the first day of each month and must be used in that same\" +\n \" month. At this time your credit cannot be used to purchase jewelry from the New Jewelry or Clearance Shop.\"\n ],\n \"expanded\": false,\n \"question\": \"What is the monthly credit?\"\n },\n {\n \"answer\": [\n \"Not to worry! To print out a replacement return label, go to the My Account page then click Reprint\" +\n \" Return Label.\",\n \"If you have lost or misplaced the reusable envelope, you can use any envelope or box that your Rocksbox\" +\n \" will fit in. Please package the items carefully for safe shipping, apply the return shipping label, and\" +\n \" drop it in the mail or at a USPS drop-off location.\"\n ],\n \"expanded\": false,\n \"question\": \"What if I misplace my return label?\"\n },\n {\n \"answer\": [\n \"Enter your new shipping address on the Shipping page. Please change your address before\" +\n \" returning or purchasing your set so we can send your next Rocksbox to the correct address. If your\" +\n \" set has already been shipped we're unable to reroute the package.\"\n ],\n \"expanded\": false,\n \"question\": \"How do I change my shipping address?\"\n }\n ]\n};\n","import FaqQuestion from \"./FaqQuestion\";\nimport QUESTIONS from \"../lib/questions\";\nimport React from \"react\";\n\nexport default class Faq extends React.PureComponent {\n static seeMore () {\n return (\n
\n \n See more\n {\" >\"}\n \n
\n );\n }\n\n constructor (props) {\n super(props);\n this.state = QUESTIONS;\n }\n\n questions () {\n const {questions} = this.state;\n return (\n questions.map((question, questionIndex) => (\n \n ))\n );\n }\n\n render () {\n return (\n
\n

\n FAQ\n

\n {this.questions()}\n {this.constructor.seeMore()}\n
\n );\n }\n}\n","/* eslint-disable max-len, max-params, sort-keys */\nimport EventsAPI from \"../../../shared/modules/EventsAPI\";\nimport React from \"react\";\n\nexport default class LoggedInHomePageHelper {\n static primaryCta (label, url, id, scenario, disabled) {\n return (\n
\n EventsAPI.trackCustomerEvent(\"clicked_cta\", `${id} from ${window.location.pathname}`)}\n >\n {label}\n \n
\n );\n }\n\n static primaryAndSecondaryCta (button1, button2, scenario) {\n const [\n [\n label1,\n url1,\n id1\n ],\n [\n label2,\n url2,\n id2\n ]\n ] = [\n button1,\n button2\n ];\n return (\n
\n EventsAPI.trackCustomerEvent(\"clicked_cta\", `${id1} from ${window.location.pathname}`)}\n >\n {label1}\n \n\n EventsAPI.trackCustomerEvent(\"clicked_cta\", `${id2} from ${window.location.pathname}`)}\n >\n {label2}\n \n
\n );\n }\n}\n","import LoggedInHomePageHelper from \"../modules/LoggedInHomePageHelper\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport default class Greeting extends React.PureComponent {\n static propTypes = {\n \"comingOffHoldIsBlocked\": PropTypes.bool.isRequired,\n \"customerName\": PropTypes.string.isRequired,\n \"scenario\": PropTypes.string.isRequired\n };\n\n static hasSet () {\n return (\n
\n {this.greetingStatement(\"We hope you're enjoying your set!\")}\n
\n );\n }\n\n static newMember () {\n return (\n
\n {this.greetingStatement(\"Wishlist styles you love to let us get to know you\")}\n {LoggedInHomePageHelper.primaryCta(\"Add to wish list\", \"/jewelry\", \"add-to-wish-list-cta\")}\n
\n );\n }\n\n static inCuration () {\n return (\n
\n {this.greetingStatement(\"We'll email you when your set is ready to preview\")}\n
\n );\n }\n\n static afterPreviewBeforeShipped () {\n return (\n
\n {this.greetingStatement(\"We are tying the bow before it ships!\")}\n
\n );\n }\n\n static generic () {\n return (\n
\n {this.greetingStatement(\"We hope you're enjoying Rocksbox\")}\n
\n );\n }\n\n static cancelled () {\n return (\n
\n {LoggedInHomePageHelper.primaryCta(\"Shop Now\", \"/jewelry\", \"shop-now-cta\")}\n
\n );\n }\n\n static onHold () {\n return (\n
\n {LoggedInHomePageHelper.primaryCta(\"Shop Now\", \"/jewelry\", \"shop-now-cta\")}\n
\n );\n }\n\n static incompleteSignup () {\n return (\n
\n {LoggedInHomePageHelper.primaryCta(\"Shop Now\", \"/jewelry\", \"shop-now-cta\")}\n
\n );\n }\n\n static subscriptionEnded () {\n return (\n
\n {this.greetingStatement(\"Thanks for being a valued Rocksbox member!\")}\n
\n );\n }\n\n static greetingStatement (content) {\n return (\n
\n

\n {content}\n

\n
\n );\n }\n\n\n static inTransit () {\n return (\n
\n {this.greetingStatement(\"Yay! New jewelry is on the way!\")}\n
\n );\n }\n\n preview () {\n return (\n
\n {this.constructor.greetingStatement(\"You have 24 hours to preview your set!\")}\n
\n );\n }\n\n greetingContent () {\n const {\n comingOffHoldIsBlocked,\n scenario\n } = this.props;\n\n switch (scenario) {\n case \"in_transit\":\n return this.constructor.inTransit();\n case \"has_set\":\n return this.constructor.hasSet();\n case \"new_member\":\n return this.constructor.newMember();\n case \"in_curation\":\n return this.constructor.inCuration();\n case \"preview\":\n return this.preview();\n case \"after_preview_before_shipped\":\n return this.constructor.afterPreviewBeforeShipped();\n case \"generic\":\n return this.constructor.generic();\n case \"subscription_ended\":\n return this.constructor.subscriptionEnded();\n case \"cancelled\":\n return (\n \n { this.constructor.cancelled() }\n \n );\n case \"on_hold\":\n return this.constructor.onHold(comingOffHoldIsBlocked);\n case \"incomplete_signup\":\n return this.constructor.incompleteSignup();\n default:\n return null;\n }\n }\n\n render () {\n const {customerName} = this.props;\n\n return (\n
\n

\n Hey\n {\" \"}\n {customerName}\n

\n
\n {this.greetingContent()}\n
\n
\n );\n }\n}\n","import PropTypes from \"prop-types\";\n\nconst SharedPropTypes = {\n \"productDescriptor\": PropTypes.shape({\n \"description\": PropTypes.string.isRequired,\n \"designerName\": PropTypes.string.isRequired,\n \"id\": PropTypes.number.isRequired,\n \"imageUrl\": PropTypes.string.isRequired,\n \"memberPrice\": PropTypes.string.isRequired,\n \"name\": PropTypes.string.isRequired,\n \"retailPrice\": PropTypes.string.isRequired,\n \"ringSize\": PropTypes.string\n })\n};\n\nSharedPropTypes.productDescriptors = PropTypes.arrayOf(SharedPropTypes.productDescriptor);\n\nexport {SharedPropTypes};\nexport default SharedPropTypes;\n","import Button from \"../../../shared/components/Button\";\nimport EventsAPI from \"../../../shared/modules/EventsAPI\";\nimport LoggedInHomePageHelper from \"../modules/LoggedInHomePageHelper\";\nimport ProductDescriptorsCarousel from \"../../../shared/components/ProductDescriptorsCarousel\";\nimport ProductPanel from \"../../../shared/components/ProductPanel\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport SharedPropTypes from \"../modules/SharedPropTypes\";\nimport VetoAPI from \"../../Swap/modules/VetoAPI\";\nimport {connect} from \"react-redux\";\nimport {fetchPDPrices} from \"../../../actions/index\";\n\nclass ShipmentInfo extends React.PureComponent {\n static propTypes = {\n \"apiKey\": PropTypes.string.isRequired,\n \"customerId\": PropTypes.string.isRequired,\n \"fetchPDPrices\": PropTypes.func.isRequired,\n \"pdPrices\": PropTypes.object.isRequired,\n \"scenario\": PropTypes.string.isRequired,\n \"shipment\": PropTypes.shape({\n \"id\": PropTypes.number.isRequired,\n \"productDescriptors\": SharedPropTypes.productDescriptors.isRequired,\n \"timeDelivered\": PropTypes.string,\n \"timeLeft\": PropTypes.number,\n \"timeSent\": PropTypes.string,\n \"trackingNumber\": PropTypes.string,\n \"trackingUrl\": PropTypes.string\n }).isRequired,\n \"warehouseReducedCapacityText\": PropTypes.string\n }\n\n static defaultProps = {\"warehouseReducedCapacityText\": \"\"}\n\n constructor (props) {\n super(props);\n this.state = {\"expanded\": false};\n\n const {shipment} = this.props;\n\n this.shipment = shipment;\n this.handlePeekClick = this.handlePeekClick.bind(this);\n this.finishVeto = this.finishVeto.bind(this);\n this.handleTrackMyBoxClick = this.handleTrackMyBoxClick.bind(this);\n }\n\n componentDidMount = () => {\n const {scenario} = this.props;\n if (scenario === \"has_set\" || scenario === \"in_transit\") {\n this.fetchCurrentSetPrices();\n }\n }\n\n fetchCurrentSetPrices = () => {\n const {\n fetchPDPrices, // eslint-disable-line no-shadow\n pdPrices,\n \"shipment\": {productDescriptors}\n } = this.props;\n const needPricePids = productDescriptors.\n map(productdesc => productdesc.id).\n filter(pid => !pdPrices || !pdPrices[pid]);\n if (needPricePids.length > 0) {\n fetchPDPrices(needPricePids, true);\n }\n }\n\n finishVeto = () => {\n const {apiKey, customerId, shipment} = this.props;\n VetoAPI.setApiToken(apiKey);\n VetoAPI.finishVeto(customerId, shipment.id, shipment.productDescriptors, shipment.productDescriptors.length).done(\n () => {\n window.location = \"/\";\n }\n );\n }\n\n\n handlePeekClick () {\n EventsAPI.trackCustomerEvent(\"clicked_cta_lihp\", \"Take a peek inside\");\n this.setState(state => ({\"expanded\": !state.expanded}));\n }\n\n handleTrackMyBoxClick () {\n const {\"shipment\": {trackingUrl}} = this.props;\n EventsAPI.trackCustomerEvent(\"clicked_cta_lihp\", \"Track My Box\");\n window.open(trackingUrl);\n }\n\n productPanels () {\n return (\n
\n \n
\n {this.shipment.productDescriptors.map(productDescriptor =>\n )}\n
\n
\n );\n }\n\n inTransit () {\n const {expanded} = this.state;\n\n return (\n
\n
\n
\n
\n

\n Shipped on:\n

\n \n {this.shipment.timeSent}\n \n
\n
\n

\n Tracking #:\n

\n \n \n {this.shipment.trackingNumber}\n \n \n
\n
\n
\n \n Track My Box\n \n
\n
\n \n

\n \n Take a peek inside\n \n

\n
\n\n
\n {expanded\n ? this.productPanels()\n : \"\"}\n
\n \n\n );\n }\n\n hasSet () {\n return (\n
\n
\n

\n Current Set\n

\n {this.productPanels()}\n {LoggedInHomePageHelper.primaryAndSecondaryCta(\n [\n \"Buy From My Set\",\n \"/account/feedback\",\n \"buy-from-my-set-cta\"\n ], [\n \"Leave Feedback\",\n \"/account/feedback\",\n \"leave-feedback-cta\"\n ],\n \"has-set\"\n )}\n
\n );\n }\n\n preview () {\n const {warehouseReducedCapacityText} = this.props;\n\n return (\n
\n
\n \n
\n \n \n \n
\n \n Preview\n \n \n
\n {\n warehouseReducedCapacityText &&\n
\n {warehouseReducedCapacityText}\n
\n }\n
\n );\n }\n\n shipmentInfoContent (scenario) {\n switch (scenario) {\n case \"in_transit\":\n return this.inTransit(false);\n case \"preview\":\n return this.preview();\n case \"has_set\":\n return this.hasSet();\n default:\n return null;\n }\n }\n\n render () {\n const {scenario} = this.props;\n return (\n
\n {this.shipmentInfoContent(scenario)}\n
\n );\n }\n}\n\nconst mapStoreToProps = store => ({\"pdPrices\": store.pdPrices || {}});\n\nexport default connect(mapStoreToProps, {fetchPDPrices})(ShipmentInfo);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport default class StatusBar extends React.PureComponent {\n\n static propTypes = {\n \"daysSinceDelivery\": PropTypes.number,\n \"scenario\": PropTypes.string.isRequired,\n \"timeDelivered\": PropTypes.string,\n \"trackingUrl\": PropTypes.string,\n \"warehouseClosed\": PropTypes.bool\n };\n\n static defaultProps = {\n \"daysSinceDelivery\": null,\n \"timeDelivered\": null,\n \"trackingUrl\": null,\n \"warehouseClosed\": false\n };\n\n static message (scenario, warehouseClosed) {\n switch (scenario) {\n case \"in_transit\":\n return \"Your box is in transit\";\n case \"has_set\":\n return \"Your box was delivered:\";\n case \"new_member\" && !warehouseClosed:\n return \"Matching you with a stylist\";\n case \"in_curation\" && !warehouseClosed:\n return \"Your set is being styled\";\n case \"preview\":\n return \"Your set is ready to preview\";\n case \"after_preview_before_shipped\":\n return \"Your box is ready to ship\";\n default:\n return null;\n }\n }\n\n static display (scenario) {\n return [\n \"generic\",\n \"cancelled\",\n \"on_hold\",\n \"incomplete_signup\"\n ].indexOf(scenario) === -1;\n }\n\n static trackingInfo (trackingUrl) {\n return (\n
\n \n Track your shipment\n \n
\n );\n }\n\n displayTrackingInfo () {\n const {trackingUrl, daysSinceDelivery} = this.props;\n let showTrackingInfo = null;\n if (trackingUrl && daysSinceDelivery <= 30) {\n showTrackingInfo = true;\n }\n return (\n
\n {showTrackingInfo\n ? this.constructor.trackingInfo(trackingUrl)\n : \"\"}\n
\n );\n }\n\n render () {\n const {scenario, timeDelivered, warehouseClosed} = this.props;\n const iconName = scenario === \"new_member\"\n ? \"in_curation\"\n : scenario;\n\n let greeting = this.constructor.message(scenario, warehouseClosed);\n if (scenario === \"has_set\" && timeDelivered) {\n greeting += ` ${timeDelivered}`;\n }\n\n return greeting && (\n
\n \n \n { iconName &&\n \n }\n {greeting}\n {this.displayTrackingInfo()}\n
\n \n { iconName &&\n \n }\n {greeting}\n \n \n \n );\n }\n}\n","import EventsAPI from \"../../../shared/modules/EventsAPI\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport default class StyleProfile extends React.PureComponent {\n static propTypes = {\"styleSurvey\": PropTypes.object.isRequired};\n\n static desktopStyleProfileWindow (styleSurvey) {\n return (\n
\n

\n My Style Profile\n

\n

\n Metal:\n

\n
\n {styleSurvey.metal}\n
\n
\n

\n {styleSurvey.dontWear.length === 0\n ? \"I wear:\"\n : \"I don't wear:\"}\n

\n
\n {styleSurvey.dontWear.length === 0\n ? \"Bracelets, Rings, Earrings, Necklaces\"\n : styleSurvey.dontWear.join(\", \")}\n
\n
\n

\n Ring Size:\n

\n
\n {styleSurvey.ringSizes.length === 0\n ? \"None\"\n : styleSurvey.ringSizes}\n
\n EventsAPI.trackCustomerEvent(\"clicked_cta\", \"Update\")} // eslint-disable-line react/jsx-no-bind\n >\n Update\n \n
\n );\n }\n\n render () {\n const {styleSurvey} = this.props;\n return (\n
\n \n
\n
\n {this.constructor.desktopStyleProfileWindow(styleSurvey)}\n
\n
\n
\n );\n }\n}\n","import EventsAPI from \"../../../shared/modules/EventsAPI\";\nimport React from \"react\";\n\nconst TextMessages = () => (\n
\n

\n Don't miss out\n

\n
\n Get text message updates about your shipment!\n
\n EventsAPI.trackCustomerEvent(\"clicked_cta_lihp\", \"Get Text Messages\")} // eslint-disable-line react/jsx-no-bind,max-len\n >\n Get Text Messages\n \n
\n);\n\nexport default TextMessages;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport default class WhatWereLoving extends React.PureComponent {\n static propTypes = {\"wishlistCount\": PropTypes.number.isRequired}\n\n render () {\n const {wishlistCount} = this.props;\n\n return (\n
\n { wishlistCount < 30 &&\n
\n \n Psst! \n \n \n You \n \n { wishlistCount ? (\n \n only have \n {wishlistCount}\n  \n \n ) : (\n \n don't have any \n \n )\n }\n\n { wishlistCount === 1 ? (\n \n item \n \n ) : (\n \n items \n \n )\n }\n \n on your Wish List. \n \n Keep Wishlisting >\n \n \n
\n }\n
\n );\n }\n}\n","import Faq from \"./Faq\";\nimport Greeting from \"./Greeting\";\nimport Helper from \"../../../shared/modules/Helper\";\nimport MarketingAssets from \"../../../shared/components/MarketingAssets\";\nimport PageBanner from \"../../../shared/components/PageBanner\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport ShipmentInfo from \"./ShipmentInfo\";\nimport StatusBar from \"./StatusBar\";\nimport StyleProfile from \"./StyleProfile\";\nimport TextMessages from \"./TextMessages\";\nimport WhatWereLoving from \"./WhatWereLoving\";\n\nclass LoggedInHomePage extends React.PureComponent {\n static propTypes = {\n \"apiToken\": PropTypes.string.isRequired,\n \"comingOffHoldIsBlocked\": PropTypes.bool.isRequired,\n \"customerId\": PropTypes.string.isRequired,\n \"customerOptedInSMS\": PropTypes.bool,\n \"marketingAssets\": PropTypes.array,\n \"name\": PropTypes.string.isRequired,\n \"scenario\": PropTypes.string.isRequired,\n \"shipmentData\": PropTypes.object,\n \"styleSurvey\": PropTypes.object.isRequired,\n \"timeDelivered\": PropTypes.string,\n \"warehouseClosed\": PropTypes.bool.isRequired,\n \"warehouseReducedCapacityText\": PropTypes.string,\n \"wishlistCount\": PropTypes.number.isRequired\n };\n\n static defaultProps = {\n \"comingOffHoldIsBlocked\": false,\n \"customerOptedInSMS\": false,\n \"marketingAssets\": [],\n \"shipmentData\": null,\n \"timeDelivered\": null,\n \"warehouseReducedCapacityText\": \"\"\n };\n\n static mapProducts (products) {\n return products.map((productDescriptor) => {\n const {\n \"details\": {\n \"name\": description,\n \"designer\": designerName,\n \"insider_price_dollars\": memberPrice,\n name,\n \"retail_price\": retailPrice,\n \"thumbnail_urls\": [imageUrl],\n \"ring_size\": ringSize\n },\n id\n } = productDescriptor;\n\n return {\n description,\n designerName,\n id,\n imageUrl,\n memberPrice,\n name,\n retailPrice,\n ringSize\n };\n });\n }\n\n constructor (props) {\n super(props);\n const {shipmentData} = this.props;// eslint-disable-line\n if (shipmentData) {\n const {\n \"id\": shipmentId,\n \"products\": [...products],\n \"time_delivered\": timeDelivered,\n \"time_sent\": timeSent,\n \"tracking_number\": trackingNumber,\n \"tracking_url\": trackingUrl,\n \"veto_period_expires_at\": timeLeft\n } = shipmentData;\n const daysSinceDelivery = Math.round((Date.parse(Date()) - Date.parse(timeDelivered)) / 86400000);\n const productDescriptors = LoggedInHomePage.mapProducts(products);\n const timeDeliverdFormatted = Helper.formatDate(timeDelivered);\n const timeSentFormatted = Helper.formatDateToString(timeSent);\n\n\n this.shipment = {\n daysSinceDelivery,\n \"id\": shipmentId,\n productDescriptors,\n \"timeDelivered\": timeDeliverdFormatted,\n timeLeft,\n \"timeSent\": timeSentFormatted,\n trackingNumber,\n trackingUrl\n };\n } else {\n this.shipment = {\n \"daysSinceDelivery\": null,\n \"id\": null,\n \"timeDelivered\": null,\n \"timeSent\": null,\n \"trackingNumber\": null,\n \"trackingUrl\": null\n };\n }\n }\n\n render () {\n const {apiToken, comingOffHoldIsBlocked, customerId, customerOptedInSMS, marketingAssets, name, styleSurvey, scenario, wishlistCount, warehouseClosed, warehouseReducedCapacityText} = this.props; // eslint-disable-line max-len\n\n return (\n
\n { wishlistCount >= 30 &&\n \n }\n {this.shipment.productDescriptors?.length === 4 &&\n \n }\n \n { this.shipment.id &&\n \n }\n
\n \n \n \n\n
\n {!customerOptedInSMS &&\n \n }\n
\n \n
\n );\n }\n}\n\nexport default LoggedInHomePage;\n","import * as React from \"react\";\nimport OwlCarousel from \"react-owl-carousel\";\nimport PropTypes from \"prop-types\";\n\nexport default class Carousel extends React.Component {\n static propTypes = {\"marketingAssets\": PropTypes.array};\n\n static defaultProps = {\"marketingAssets\": []};\n\n constructor (props) {\n super(props);\n this.state = {\"currentItem\": 0};\n this.ref = React.createRef();\n }\n\n shouldComponentUpdate (props, state) {\n const {currentItem} = this.state;\n return state.currentItem !== currentItem;\n }\n\n render () {\n const imageUrlPrefix = \"https://karat-herokuapp-com.freetls.fastly.net/s3media\";\n const {marketingAssets} = this.props;\n\n return (\n \n {\n marketingAssets.map(marketingAsset =>\n \n \n )\n }\n \n );\n }\n}\n","import Carousel from \"../../bundles/LoggedInHomePage/components/Carousel\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n\nconst imageUrlPrefix = \"https://karat-herokuapp-com.freetls.fastly.net/s3media\";\n\nconst MarketingAssets = ({marketingAssets}) => (\n
\n
\n {\n marketingAssets.map(marketingAsset =>\n \n \n )\n }\n
\n
\n \n
\n
\n);\n\nexport default MarketingAssets;\n\nMarketingAssets.propTypes = {\"marketingAssets\": PropTypes.array};\nMarketingAssets.defaultProps = {\"marketingAssets\": []};\n"],"names":["DisplayNotification","_ref","customerId","containerRef","useRef","_useState","useState","_useState2","_slicedToArray","notifications","setNotifications","_useState3","_useState4","notificationChannel","setNotificationChannel","_useComponentVisible","useComponentVisible","ref","showNotifications","setShowNotifications","useEffect","console","log","displayNotificationChannel","consumer","subscriptions","create","connected","disconnected","markAllAsRead","this","perform","markAsRead","item","id","received","data","document","documentElement","classList","add","remove","handleMarkAllAsRead","handleOnClick","handleMarkAsRead","link","length","window","location","hasUnread","some","notifiction","read_at","React","className","onClick","prevState","event","target","current","type","map","concat","key","title","Boolean","description","propTypes","PropTypes","isRequired","props","FaqQuestionAnswer","answerContent","answerSegment","dangerouslySetInnerHTML","String","PlusMinusButton","expanded","FaqQuestion","index","questionContent","setExpanded","EventsAPI","trackCustomerEvent","expandedValue","Faq","_React$PureComponent","_inherits","_super","_createSuper","_this","_classCallCheck","call","state","QUESTIONS","_createClass","value","questions","question","questionIndex","answer","constructor","seeMore","href","LoggedInHomePageHelper","label","url","scenario","disabled","pathname","button1","button2","_button","label1","url1","id1","_button2","label2","url2","id2","Greeting","apply","arguments","greetingStatement","_this$props","comingOffHoldIsBlocked","inTransit","hasSet","newMember","inCuration","preview","afterPreviewBeforeShipped","generic","subscriptionEnded","cancelled","onHold","incompleteSignup","customerName","greetingContent","primaryCta","content","_defineProperty","SharedPropTypes","productDescriptors","productDescriptor","ShipmentInfo","_assertThisInitialized","fetchCurrentSetPrices","fetchPDPrices","pdPrices","needPricePids","productdesc","filter","pid","_this$props2","apiKey","shipment","VetoAPI","setApiToken","finishVeto","done","handlePeekClick","bind","handleTrackMyBoxClick","setState","trackingUrl","open","ProductDescriptorsCarousel","ProductPanel","timeSent","trackingNumber","height","src","productPanels","primaryAndSecondaryCta","warehouseReducedCapacityText","timeLeft","Button","classes","text","shipmentInfoContent","connect","store","StatusBar","daysSinceDelivery","showTrackingInfo","trackingInfo","timeDelivered","warehouseClosed","iconName","greeting","message","display","role","displayTrackingInfo","indexOf","StyleProfile","styleSurvey","desktopStyleProfileWindow","metal","dontWear","join","ringSizes","WhatWereLoving","wishlistCount","LoggedInHomePage","shipmentData","shipmentId","products","_toArray","slice","Math","round","Date","parse","mapProducts","timeDeliverdFormatted","Helper","formatDate","timeSentFormatted","formatDateToString","_this$shipment$produc","apiToken","customerOptedInSMS","marketingAssets","name","PageBanner","desc","MarketingAssets","TextMessages","_productDescriptor$de","designerName","memberPrice","retailPrice","imageUrl","ringSize","Carousel","_React$Component","currentItem","OwlCarousel","dots","items","loadedClass","marketingAsset","link_url","image_url","defaultProps"],"sourceRoot":""}