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C,GAA2Bf,EAAAA,EAAAA,MAE3BgB,EAAmB,WAAH,OAAS,IAAIf,KAAS,IAAIA,KAAK,aAAa,EAuC5DgB,EAAuB,WAAH,OAC/BJ,IACI,CACEK,cAAe,eACfC,QACE,0IACFC,YAAa,UACbC,mBAAoB,KACpBC,eAAgB,WAChBC,YAAa,UACbC,cAAe,kBAAM,MAAM,EAC3BC,MAAO,WAET,CACEP,cAAe,eACfC,QACE,qGACFC,YAAa,UACbC,mBAAoB,KACpBC,eAAgB,SAChBC,YAAa,SACbC,cAAe,kBAAM,KAAK,EAC1BC,MAAO,UACR,EAGMC,EAAsB,CAAC,C","sources":["webpack:///./app/javascript/areas/info/jewlr/warranty/warranty-old.jsx","webpack:///./app/javascript/helpers/holiday.js"],"sourcesContent":["import { Box } from \"@jewlr/storybook/core\"\nimport React from \"react\"\nimport { Link } from \"react-router-dom\"\n\nimport { Section, SectionList, Text } from \"@jewlr/storybook/info\"\nimport { jewlr_t } from \"helpers/application\"\nimport { showHolidayRma, holidayRmaDates } from \"helpers/holiday\"\n\nconst WarrantyOld = () => (\n \n
\n \n \n We offer a one year warranty on all our {jewlr_t(\"terms.jewelry\")}{\" \"}\n against manufacturing defects and workmanship. The warranty becomes\n void if the product has been subjected to misuse or has been altered\n by anyone other than an authorized Jewlr representative.\n \n \n Our dedicated Quality Assurance Team inspects every item before\n shipment to ensure that you receive a high quality piece. In the rare\n event that your item has a defect, please use our{\" \"}\n \n Request Repair Form\n {\" \"}\n to request a repair, or contact a customer service representative at{\" \"}\n \n {sl.config.customer_service_toll_free}\n {\" \"}\n and we'd be happy to assist you in getting your item repaired.\n Please include your order number and contact information in your\n communications with us.\n \n \n
\n
\n \n Please Note:\n \n
  • \n The customer will be responsible for any {jewlr_t(\"terms.shipping\")}{\" \"}\n charges related to a warranty repair.\n
  • \n
  • \n We reserve the right to void the warranty on any item that shows\n signs of modification, abuse or damage beyond normal wear, as deemed\n by our {jewlr_t(\"terms.jewelry\")} professionals.\n
  • \n
  • We will not be responsible for lost or stolen items.
  • \n
    \n
    \n
    \n {showHolidayRma() && (\n
    \n \n \n In order to focus on customer orders and ensure all gifts arrive for\n the holidays, we will not be processing repairs or returns between{\" \"}\n {holidayRmaDates.start} and {holidayRmaDates.end}. Don't worry\n – you're still covered! We will adjust or extend your\n repair or return deadline accordingly. Thank you for your\n understanding and cooperation during this busy time.\n \n \n
    \n )}\n
    \n \n \n For any questions, please email us at{\" \"}\n \n {sl.config.customer_service_email}\n \n \n \n
    \n
    \n)\n\nexport default WarrantyOld\n","import { IS_CA, IS_NA, IS_JEWLR, jewlr_t } from \"helpers/application\"\n\nexport const showServiceDisruptionNotice = () => IS_CA()\n\nexport const freeGiftPromoEnabled = () =>\n sl.config.free_gift_promo && sl.config.free_gift_promo.enable\n\n// Shows extended free resizing in PDP and /info/ring_sizing\n// (usually only used at Christmas and Mother's Day times)\nexport const showHolidayResize = () => sl.config.show_holiday_resize\nexport const holidayResizeDates = () => ({\n end: sl.config.holiday_resize_dates?.end,\n start: sl.config.holiday_resize_dates?.start,\n})\n\n// Order resize, return, repair\nexport const showHolidayRma = () =>\n IS_JEWLR() && new Date() < new Date(\"2025-01-15\")\nexport const holidayRmaDates = {\n end: \"January 15, 2025\",\n start: \"November 20, 2024\",\n}\n\n// Shipping info page\nexport const showHolidayShippingInfo = () =>\n IS_JEWLR() &&\n new Date() >= new Date(\"2024-11-01\") &&\n new Date() < new Date(sl.config.guaranteed_receive_date)\n// Show \"Shop Early\" copy on Shipping Info page\nexport const showEarlyShippingInfo = () =>\n IS_JEWLR() && new Date() < new Date(\"2024-12-24\")\n// Show Now CTA on Shipping Info page\nexport const holidayCTALink = () => \"/\"\n\n// Show cutoff instant gift messaging in shipping info page, cart and order change form\nexport const showHolidayCutoff = false\n// new Date() >= new Date(\"2023-05-11\") && new Date() < new Date(\"2023-05-14\")\n\nexport const isInCutoffPeriod = () => {\n const cutoffDates = sl.config.cutoff_dates\n const startDate = cutoffDates?.length && new Date(cutoffDates[0])\n const endDate =\n cutoffDates?.length && new Date(cutoffDates[cutoffDates.length - 1])\n const now = new Date()\n\n return startDate && endDate && now > startDate && now < endDate\n}\n\n// PDP shipping info box\nexport const showHolidayShippingInfoPDP = () =>\n sl.config.show_holiday_shipping_info_pdp\nexport const showHolidayShipMethodPDP = IS_JEWLR() // is_na || is_au\n\nexport const showGiftCardSale = () => new Date() < new Date(\"2021-01-01\")\n// Shows instant gift promo message in cart, PDP instant gift block image\nexport const showInstantGiftHoliday = () =>\n sl.config.sale_key.includes(\"mothers_day\")\n// Show instant gift homepage block\nexport const showInstantGiftHomepage = () =>\n sl.config.sale_key.includes(\"no_delivery\")\n// Show mother's day instant gift video /info/instant_gift main banner and steps image\nexport const showMothersInstantGiftAssets = false // sl.config.sale_key.includes(\"mothers_day\")\n\n/**\n * Dictates instant gift video data\n *\n * Video: christmas, valentines, mothersday, generic, 2024-mothers-day\n *\n * Storyboard ID:\n * holiday: 144721\n * vday: 115155\n * generic: 44633\n * mothersday: 124326\n * fathersday: 128198\n * 2024-mothers-day: 44633\n *\n * Message:\n * christmas: \"I promise to love you for all that you are, all that you have been, and all you are yet to be.\\nMerry Christmas my love!\\nYours always,\"\n * mothersday: \"For everything we are today, your love showed us the way! Happy Mother’s Day!\\nWe love you,\"\n * generic: \"You are my heart's adventure – hold my hand and I’ll go anywhere with you!\\nLove always,\"\n * valentines: \"You’re my heart’s adventure!\\nBe mine this Valentine’s Day.\\nYours always,\"\n * 2024-mothers-day: \"Happy Mother’s Day\\n\"\n *\n * Recipient:\n * mothersday: \"Mom\"\n * 2024-mothers-day: \"Mom\"\n * Sender:\n * mothersday: \"Ashley and Daniel\"\n * 2024-mothers-day: \"We love you\"\n *\n * Main Banner: generic, holiday, valentines, mothersday\n */\nexport const instantGiftVideoData = () =>\n showHolidayShippingInfoPDP()\n ? {\n delivery_date: \"Dec 27, 2024\",\n giftMsg:\n \"I promise to love you for all that you are, all that you have been, and all you are yet to be.\\nMerry Christmas my love!\\nYours always,\",\n main_banner: \"holiday\",\n main_banner_folder: null,\n recipient_name: \"Jennifer\",\n sender_name: \"Michael\",\n storyboard_id: () => 144721,\n video: \"holiday\",\n }\n : {\n delivery_date: \"Jan 26, 2025\",\n giftMsg:\n \"You are my heart's adventure – hold my hand and I’ll go anywhere with you!\\nLove always,\",\n main_banner: \"generic\",\n main_banner_folder: null,\n recipient_name: \"Ashely\",\n sender_name: \"Daniel\",\n storyboard_id: () => 44633,\n video: \"generic\",\n }\n\n// Override default instant gift demo details\nexport const instantGiftDemoData = {}\n"],"names":["React","Box","mb","Section","contain","Text","jewlr_t","Link","to","href","concat","sl","config","customer_service_toll_free","hasBg","subtitle","SectionList","showHolidayRma","holidayRmaDates","start","end","customer_service_email","showServiceDisruptionNotice","IS_CA","freeGiftPromoEnabled","free_gift_promo","enable","showHolidayResize","show_holiday_resize","holidayResizeDates","_sl$config$holiday_re","_sl$config$holiday_re2","holiday_resize_dates","IS_JEWLR","Date","showHolidayShippingInfo","guaranteed_receive_date","showEarlyShippingInfo","holidayCTALink","isInCutoffPeriod","cutoffDates","cutoff_dates","startDate","length","endDate","now","showHolidayShippingInfoPDP","show_holiday_shipping_info_pdp","showHolidayShipMethodPDP","showGiftCardSale","instantGiftVideoData","delivery_date","giftMsg","main_banner","main_banner_folder","recipient_name","sender_name","storyboard_id","video","instantGiftDemoData"],"sourceRoot":""}