{
  "version": 3,
  "sources": ["/cdn/shop/t/9/assets/product-info.js?nocache=1795142310808"],
  "sourcesContent": ["if (!customElements.get(\"product-info\")) {\n  customElements.define(\n    \"product-info\",\n    class ProductInfo extends HTMLElement {\n      quantityInput = undefined;\n      quantityForm = undefined;\n      onVariantChangeUnsubscriber = undefined;\n      cartUpdateUnsubscriber = undefined;\n      abortController = undefined;\n      pendingRequestUrl = null;\n      preProcessHtmlCallbacks = [];\n      postProcessHtmlCallbacks = [];\n      _variantChangeDispatched = false;\n\n      constructor() {\n        super();\n\n        this.quantityInput = this.querySelector(\".quantity__input\");\n      }\n\n      connectedCallback() {\n        this.initializeProductSwapUtility();\n\n        this.onVariantChangeUnsubscriber = subscribe(\n          PUB_SUB_EVENTS.optionValueSelectionChange,\n          this.handleOptionValueChange.bind(this)\n        );\n\n        this.initQuantityHandlers();\n        this.dispatchEvent(\n          new CustomEvent(\"product-info:loaded\", { bubbles: true })\n        );\n      }\n\n      addPreProcessCallback(callback) {\n        this.preProcessHtmlCallbacks.push(callback);\n      }\n\n      initQuantityHandlers() {\n        if (!this.quantityInput) return;\n\n        this.quantityForm = this.querySelector(\".product-form__quantity\");\n        if (!this.quantityForm) return;\n\n        this.setQuantityBoundries();\n        if (!this.dataset.originalSection) {\n          this.cartUpdateUnsubscriber = subscribe(\n            PUB_SUB_EVENTS.cartUpdate,\n            this.fetchQuantityRules.bind(this)\n          );\n        }\n      }\n\n      disconnectedCallback() {\n        this.onVariantChangeUnsubscriber();\n        this.cartUpdateUnsubscriber?.();\n      }\n\n      initializeProductSwapUtility() {\n        this.preProcessHtmlCallbacks.push((html) =>\n          html\n            .querySelectorAll(\".scroll-trigger\")\n            .forEach((element) =>\n              element.classList.add(\"scroll-trigger--cancel\")\n            )\n        );\n        this.postProcessHtmlCallbacks.push((newNode) => {\n          window?.Shopify?.PaymentButton?.init();\n          window?.ProductModel?.loadShopifyXR();\n        });\n      }\n\n      handleOptionValueChange({\n        data: { event, target, selectedOptionValues },\n      }) {\n        if (!this.contains(event.target)) return;\n\n        this.resetProductFormState();\n\n        const productUrl =\n          target.dataset.productUrl ||\n          this.pendingRequestUrl ||\n          this.dataset.url;\n        this.pendingRequestUrl = productUrl;\n        const shouldSwapProduct = this.dataset.url !== productUrl;\n        const shouldFetchFullPage =\n          this.dataset.updateUrl === \"true\" && shouldSwapProduct;\n\n        this.renderProductInfo({\n          requestUrl: this.buildRequestUrlWithParams(\n            productUrl,\n            selectedOptionValues,\n            shouldFetchFullPage\n          ),\n          targetId: target.id,\n          callback: shouldSwapProduct\n            ? this.handleSwapProduct(productUrl, shouldFetchFullPage)\n            : this.handleUpdateProductInfo(productUrl),\n        });\n\n        // Update the tiered-quantity-selector here\n        this.updateTieredQuantitySelector(selectedOptionValues);\n      }\n\n      async updateQuantityBreakBlocks(html) {\n        try {\n          await new Promise((resolve) => setTimeout(resolve, 500));\n\n          const response = await fetch(window.location.href);\n          if (!response.ok) throw new Error('Network response was not ok');\n          const text = await response.text();\n          const newDocument = new DOMParser().parseFromString(\n            text,\n            \"text/html\"\n          );\n\n          const product = this.closest(\".product\");\n          if (!product) return;\n\n          const quantityBreaks = product.querySelectorAll(\".lumin-product-block-qty-break\");\n          if (!quantityBreaks.length) return;\n\n          quantityBreaks.forEach((elem) => {\n            const newElement = html.querySelector(\n              `#lumin-product-block-qty-break-${elem.dataset.blockId}`\n            );\n            if (newElement) {\n              elem.replaceWith(newElement);\n              // Reinitialize the new element\n              if (window.LuminProductQtyBreak) {\n                newElement.handleInputChange();\n                newElement.handleOptionChange();\n                newElement.handleAtc();\n              }\n            }\n          });\n        } catch (error) {\n          console.error('Error updating quantity break blocks:', error);\n        }\n      }\n\n      getSelectedVariantId(optionValues) {\n        // Logic to derive the variant ID from selected option values\n        // This could involve searching a variant map or similar\n        return this.getSelectedVariant(this).id;\n      }\n\n      resetProductFormState() {\n        const productForm = this.productForm;\n        productForm?.toggleSubmitButton(true);\n        productForm?.handleErrorMessage();\n      }\n\n      handleSwapProduct(productUrl, updateFullPage) {\n        return (html) => {\n          this.productModal?.remove();\n\n          const selector = updateFullPage\n            ? \"product-info[id^='MainProduct']\"\n            : \"product-info\";\n          const variant = this.getSelectedVariant(html.querySelector(selector));\n          this.updateURL(productUrl, variant?.id);\n\n          if (updateFullPage) {\n            document.querySelector(\"head title\").innerHTML =\n              html.querySelector(\"head title\").innerHTML;\n\n            HTMLUpdateUtility.viewTransition(\n              document.querySelector(\"main\"),\n              html.querySelector(\"main\"),\n              this.preProcessHtmlCallbacks,\n              this.postProcessHtmlCallbacks\n            );\n          } else {\n            HTMLUpdateUtility.viewTransition(\n              this,\n              html.querySelector(\"product-info\"),\n              this.preProcessHtmlCallbacks,\n              this.postProcessHtmlCallbacks\n            );\n          }\n        };\n      }\n\n      renderProductInfo({ requestUrl, targetId, callback }) {\n        this.abortController?.abort();\n        this.abortController = new AbortController();\n\n        fetch(requestUrl, { signal: this.abortController.signal })\n          .then((response) => response.text())\n          .then((responseText) => {\n            this.pendingRequestUrl = null;\n            const html = new DOMParser().parseFromString(\n              responseText,\n              \"text/html\"\n            );\n            callback(html);\n          })\n          .then(() => {\n            // set focus to last clicked option value\n            document.querySelector(`#${targetId}`)?.focus({ preventScroll: true });\n          })\n          .catch((error) => {\n            if (error.name === \"AbortError\") {\n              console.log(\"Fetch aborted by user\");\n            } else {\n              console.error(error);\n            }\n          });\n      }\n\n      getSelectedVariant(productInfoNode) {\n        const selectedVariant = productInfoNode.querySelector(\n          \"variant-selects [data-selected-variant]\"\n        )?.innerHTML;\n        return !!selectedVariant ? JSON.parse(selectedVariant) : null;\n      }\n\n      buildRequestUrlWithParams(\n        url,\n        optionValues,\n        shouldFetchFullPage = false\n      ) {\n        const params = [];\n\n        !shouldFetchFullPage && params.push(`section_id=${this.sectionId}`);\n\n        if (optionValues.length) {\n          params.push(`option_values=${optionValues.join(\",\")}`);\n        }\n\n        return `${url}?${params.join(\"&\")}`;\n      }\n\n      updateOptionValues(html) {\n        const variantSelects = html.querySelector(\"variant-selects\");\n        if (variantSelects) {\n          HTMLUpdateUtility.viewTransition(\n            this.variantSelectors,\n            variantSelects,\n            this.preProcessHtmlCallbacks\n          );\n        }\n      }\n\n      handleUpdateProductInfo(productUrl) {\n        return (html) => {\n          const variant = this.getSelectedVariant(html);\n\n          this.pickupAvailability?.update(variant);\n          this.updateOptionValues(html);\n          this.updateURL(productUrl, variant?.id);\n          this.updateVariantInputs(variant?.id);\n\n          if (!variant) {\n            this.setUnavailable();\n            return;\n          }\n\n          this.updateMedia(html, variant?.featured_media?.id);\n\n          const updateSourceFromDestination = (\n            id,\n            shouldHide = (source) => false\n          ) => {\n            const source = html.getElementById(`${id}-${this.sectionId}`);\n            const destination = this.querySelector(\n              `#${id}-${this.dataset.section}`\n            );\n            if (source && destination) {\n              destination.innerHTML = source.innerHTML;\n              destination.classList.toggle(\"hidden\", shouldHide(source));\n            }\n          };\n\n          updateSourceFromDestination(\"price\");\n          updateSourceFromDestination(\"Sku\", ({ classList }) =>\n            classList.contains(\"hidden\")\n          );\n          updateSourceFromDestination(\n            \"Inventory\",\n            ({ innerText }) => innerText === \"\"\n          );\n          updateSourceFromDestination(\"Volume\");\n          updateSourceFromDestination(\"Price-Per-Item\", ({ classList }) =>\n            classList.contains(\"hidden\")\n          );\n\n          this.updateTieredQuantitySelector(html);\n          this.updateStickyATC(html);\n          this.updatePromotionalBlockPrices(html);\n          this.updateProductSavings(html);\n          this.updateQuantityRules(this.sectionId, html);\n          \n          // Update quantity break blocks\n          this.updateQuantityBreakBlocks(html);\n          \n          this.querySelector(\n            `#Quantity-Rules-${this.dataset.section}`\n          )?.classList.remove(\"hidden\");\n          this.querySelector(\n            `#Volume-Note-${this.dataset.section}`\n          )?.classList.remove(\"hidden\");\n\n          this.productForm?.toggleSubmitButton(\n            html\n              .getElementById(`ProductSubmitButton-${this.sectionId}`)\n              ?.hasAttribute(\"disabled\") ?? true,\n            window.variantStrings.soldOut\n          );\n\n          // Dispatch variant change event only once\n          if (!this._variantChangeDispatched) {\n            document.dispatchEvent(new CustomEvent(\"variant:change\", {\n              detail: {\n                variant,\n                sectionId: this.sectionId\n              }\n            }));\n            this._variantChangeDispatched = true;\n            // Reset the flag after a short delay\n            setTimeout(() => {\n              this._variantChangeDispatched = false;\n            }, 100);\n          }\n\n          // Update promotional block prices - already called above with html parameter\n\n          publish(PUB_SUB_EVENTS.variantChange, {\n            data: {\n              sectionId: this.sectionId,\n              html,\n              variant,\n            },\n          });\n        };\n      }\n\n      updateVariantInputs(variantId) {\n        this.querySelectorAll(\n          `#product-form-${this.dataset.section}, #product-form-installment-${this.dataset.section}`\n        ).forEach((productForm) => {\n          const input = productForm.querySelector('input[name=\"id\"]');\n          input.value = variantId ?? \"\";\n          input.dispatchEvent(new Event(\"change\", { bubbles: true }));\n        });\n      }\n\n      updateURL(url, variantId) {\n        this.querySelector(\"share-button\")?.updateUrl(\n          `${window.shopUrl}${url}${variantId ? `?variant=${variantId}` : \"\"}`\n        );\n\n        if (this.dataset.updateUrl === \"false\") return;\n        window.history.replaceState(\n          {},\n          \"\",\n          `${url}${variantId ? `?variant=${variantId}` : \"\"}`\n        );\n      }\n\n      setUnavailable() {\n        this.productForm?.toggleSubmitButton(\n          true,\n          window.variantStrings.unavailable\n        );\n\n        const selectors = [\n          \"price\",\n          \"Inventory\",\n          \"Sku\",\n          \"Price-Per-Item\",\n          \"Volume-Note\",\n          \"Volume\",\n          \"Quantity-Rules\",\n        ]\n          .map((id) => `#${id}-${this.dataset.section}`)\n          .join(\", \");\n        document\n          .querySelectorAll(selectors)\n          .forEach(({ classList }) => classList.add(\"hidden\"));\n      }\n\n      updateMedia(html, variantFeaturedMediaId) {\n        if (!variantFeaturedMediaId) return;\n\n        const mediaGallerySource = this.querySelector(\"media-gallery ul\");\n        const mediaGalleryDestination = html.querySelector(`media-gallery ul`);\n\n        const refreshSourceData = () => {\n          if (this.hasAttribute(\"data-zoom-on-hover\")) enableZoomOnHover(2);\n          const mediaGallerySourceItems = Array.from(\n            mediaGallerySource.querySelectorAll(\"li[data-media-id]\")\n          );\n          const sourceSet = new Set(\n            mediaGallerySourceItems.map((item) => item.dataset.mediaId)\n          );\n          const sourceMap = new Map(\n            mediaGallerySourceItems.map((item, index) => [\n              item.dataset.mediaId,\n              { item, index },\n            ])\n          );\n          return [mediaGallerySourceItems, sourceSet, sourceMap];\n        };\n\n        if (mediaGallerySource && mediaGalleryDestination) {\n          let [mediaGallerySourceItems, sourceSet, sourceMap] =\n            refreshSourceData();\n          const mediaGalleryDestinationItems = Array.from(\n            mediaGalleryDestination.querySelectorAll(\"li[data-media-id]\")\n          );\n          const destinationSet = new Set(\n            mediaGalleryDestinationItems.map(({ dataset }) => dataset.mediaId)\n          );\n          let shouldRefresh = false;\n\n          // add items from new data not present in DOM\n          for (let i = mediaGalleryDestinationItems.length - 1; i >= 0; i--) {\n            if (\n              !sourceSet.has(mediaGalleryDestinationItems[i].dataset.mediaId)\n            ) {\n              mediaGallerySource.prepend(mediaGalleryDestinationItems[i]);\n              shouldRefresh = true;\n            }\n          }\n\n          // remove items from DOM not present in new data\n          for (let i = 0; i < mediaGallerySourceItems.length; i++) {\n            if (\n              !destinationSet.has(mediaGallerySourceItems[i].dataset.mediaId)\n            ) {\n              mediaGallerySourceItems[i].remove();\n              shouldRefresh = true;\n            }\n          }\n\n          // refresh\n          if (shouldRefresh)\n            [mediaGallerySourceItems, sourceSet, sourceMap] =\n              refreshSourceData();\n\n          // if media galleries don't match, sort to match new data order\n          mediaGalleryDestinationItems.forEach(\n            (destinationItem, destinationIndex) => {\n              const sourceData = sourceMap.get(destinationItem.dataset.mediaId);\n\n              if (sourceData && sourceData.index !== destinationIndex) {\n                mediaGallerySource.insertBefore(\n                  sourceData.item,\n                  mediaGallerySource.querySelector(\n                    `li:nth-of-type(${destinationIndex + 1})`\n                  )\n                );\n\n                // refresh source now that it has been modified\n                [mediaGallerySourceItems, sourceSet, sourceMap] =\n                  refreshSourceData();\n              }\n            }\n          );\n        }\n\n        // set featured media as active in the media gallery\n        this.querySelector(`media-gallery`)?.setActiveMedia?.(\n          `${this.dataset.section}-${variantFeaturedMediaId}`,\n          true\n        );\n\n        // update media modal\n        const modalContent = this.productModal?.querySelector(\n          `.product-media-modal__content`\n        );\n        const newModalContent = html.querySelector(\n          `product-modal .product-media-modal__content`\n        );\n        if (modalContent && newModalContent)\n          modalContent.innerHTML = newModalContent.innerHTML;\n      }\n\n      setQuantityBoundries() {\n        const data = {\n          cartQuantity: this.quantityInput.dataset.cartQuantity\n            ? parseInt(this.quantityInput.dataset.cartQuantity)\n            : 0,\n          min: this.quantityInput.dataset.min\n            ? parseInt(this.quantityInput.dataset.min)\n            : 1,\n          max: this.quantityInput.dataset.max\n            ? parseInt(this.quantityInput.dataset.max)\n            : null,\n          step: this.quantityInput.step ? parseInt(this.quantityInput.step) : 1,\n        };\n\n        let min = data.min;\n        const max = data.max === null ? data.max : data.max - data.cartQuantity;\n        if (max !== null) min = Math.min(min, max);\n        if (data.cartQuantity >= data.min) min = Math.min(min, data.step);\n\n        this.quantityInput.min = min;\n\n        if (max) {\n          this.quantityInput.max = max;\n        } else {\n          this.quantityInput.removeAttribute(\"max\");\n        }\n        this.quantityInput.value = min;\n\n        publish(PUB_SUB_EVENTS.quantityUpdate, undefined);\n      }\n\n      fetchQuantityRules() {\n        const currentVariantId = this.productForm?.variantIdInput?.value;\n        if (!currentVariantId) return;\n\n        this.querySelector(\n          \".quantity__rules-cart .loading__spinner\"\n        ).classList.remove(\"hidden\");\n        fetch(\n          `${this.dataset.url}?variant=${currentVariantId}&section_id=${this.dataset.section}`\n        )\n          .then((response) => response.text())\n          .then((responseText) => {\n            const html = new DOMParser().parseFromString(\n              responseText,\n              \"text/html\"\n            );\n            this.updateQuantityRules(this.dataset.section, html);\n          })\n          .catch((e) => console.error(e))\n          .finally(() =>\n            this.querySelector(\n              \".quantity__rules-cart .loading__spinner\"\n            ).classList.add(\"hidden\")\n          );\n      }\n\n      updateQuantityRules(sectionId, html) {\n        if (!this.quantityInput) return;\n        this.setQuantityBoundries();\n\n        const quantityFormUpdated = html.getElementById(\n          `Quantity-Form-${sectionId}`\n        );\n        const selectors = [\n          \".quantity__input\",\n          \".quantity__rules\",\n          \".quantity__label\",\n        ];\n        for (let selector of selectors) {\n          const current = this.quantityForm.querySelector(selector);\n          const updated = quantityFormUpdated.querySelector(selector);\n          if (!current || !updated) continue;\n          if (selector === \".quantity__input\") {\n            const attributes = [\n              \"data-cart-quantity\",\n              \"data-min\",\n              \"data-max\",\n              \"step\",\n            ];\n            for (let attribute of attributes) {\n              const valueUpdated = updated.getAttribute(attribute);\n              if (valueUpdated !== null) {\n                current.setAttribute(attribute, valueUpdated);\n              } else {\n                current.removeAttribute(attribute);\n              }\n            }\n          } else {\n            current.innerHTML = updated.innerHTML;\n          }\n        }\n      }\n\n      updateTieredQuantitySelector(html) {\n        // Get all tiered-option__prices elements in the current context\n        const tieredSelectors = this.querySelectorAll(\".tiered-option__prices\");\n        if (!tieredSelectors || tieredSelectors.length === 0) return;\n\n        // Get all updated tiered-option__prices elements from the new HTML\n        const updatedTieredSelectors = html?.querySelectorAll(\n          \".tiered-option__prices\"\n        );\n        if (!updatedTieredSelectors || updatedTieredSelectors.length === 0)\n          return;\n\n        // Ensure we are only updating the matching number of elements\n        tieredSelectors.forEach((tieredSelector, index) => {\n          if (updatedTieredSelectors[index]) {\n            // Update the inner HTML of the current element\n            tieredSelector.innerHTML = updatedTieredSelectors[index].innerHTML;\n          }\n        });\n      }\n      updateStickyATC(html) {\n        const newStickyATCContainer = html.querySelector(\".sticky-atc\");\n        const currentStickyATCContainer = document.querySelector(\".sticky-atc\");\n\n        if (newStickyATCContainer && currentStickyATCContainer) {\n          const newContent = newStickyATCContainer.innerHTML.trim();\n\n          if (newContent === \"\") {\n            currentStickyATCContainer.classList.add(\"hidden\");\n            currentStickyATCContainer.innerHTML = \"\";\n          } else {\n            currentStickyATCContainer.classList.remove(\"hidden\");\n            currentStickyATCContainer.innerHTML = newContent;\n          }\n        }\n      }\n      updatePromotionalBlockPrices(html) {\n        const newPromotionalBlockPrices = html.querySelector(\".promotional-block\");\n        const currentPromotionalBlockPrices = document.querySelector(\".promotional-block\");\n        if (newPromotionalBlockPrices && currentPromotionalBlockPrices) {\n          // Store the current countdown element\n          const currentCountdown = currentPromotionalBlockPrices.querySelector(\".promotional-block__countdown\");\n          \n          const newContent = newPromotionalBlockPrices.innerHTML.trim();\n\n          if (newContent === \"\") {\n            currentPromotionalBlockPrices.classList.add(\"hidden\");\n            currentPromotionalBlockPrices.innerHTML = \"\";\n          } else {\n            currentPromotionalBlockPrices.classList.remove(\"hidden\");\n            currentPromotionalBlockPrices.innerHTML = newContent;\n            \n            // Restore the countdown element if it existed\n            if (currentCountdown) {\n              const newCountdownSlot = currentPromotionalBlockPrices.querySelector(\".promotional-block__countdown\");\n              if (newCountdownSlot) {\n                newCountdownSlot.replaceWith(currentCountdown);\n              }\n            }\n          }\n        }\n      }\n\n      updateProductSavings(html) {\n        const newSavingsContainer = html.querySelector(\".product-savings\");\n        const currentSavingsContainer =\n          document.querySelector(\".product-savings\");\n\n        if (newSavingsContainer && currentSavingsContainer) {\n          const newContent = newSavingsContainer.innerHTML.trim();\n\n          if (newContent === \"\") {\n            currentSavingsContainer.classList.add(\"hidden\");\n            currentSavingsContainer.innerHTML = \"\";\n          } else {\n            currentSavingsContainer.classList.remove(\"hidden\");\n            currentSavingsContainer.innerHTML = newContent;\n          }\n        }\n      }\n\n      get productForm() {\n        return this.querySelector(`product-form`);\n      }\n\n      get productModal() {\n        return document.querySelector(`#ProductModal-${this.dataset.section}`);\n      }\n\n      get pickupAvailability() {\n        return this.querySelector(`pickup-availability`);\n      }\n\n      get variantSelectors() {\n        return this.querySelector(\"variant-selects\");\n      }\n\n      get relatedProducts() {\n        const relatedProductsSectionId = SectionId.getIdForSection(\n          SectionId.parseId(this.sectionId),\n          \"related-products\"\n        );\n        return document.querySelector(\n          `product-recommendations[data-section-id^=\"${relatedProductsSectionId}\"]`\n        );\n      }\n\n      get quickOrderList() {\n        const quickOrderListSectionId = SectionId.getIdForSection(\n          SectionId.parseId(this.sectionId),\n          \"quick_order_list\"\n        );\n        return document.querySelector(\n          `quick-order-list[data-id^=\"${quickOrderListSectionId}\"]`\n        );\n      }\n\n      get sectionId() {\n        return this.dataset.originalSection || this.dataset.section;\n      }\n\n  \n    }\n  );\n}\n"],
  "mappings": "AAAK,eAAe,IAAI,cAAc,GACpC,eAAe,OACb,eACA,cAA0B,WAAY,CACpC,cAAgB,OAChB,aAAe,OACf,4BAA8B,OAC9B,uBAAyB,OACzB,gBAAkB,OAClB,kBAAoB,KACpB,wBAA0B,CAAC,EAC3B,yBAA2B,CAAC,EAC5B,yBAA2B,GAE3B,aAAc,CACZ,MAAM,EAEN,KAAK,cAAgB,KAAK,cAAc,kBAAkB,CAC5D,CAEA,mBAAoB,CAClB,KAAK,6BAA6B,EAElC,KAAK,4BAA8B,UACjC,eAAe,2BACf,KAAK,wBAAwB,KAAK,IAAI,CACxC,EAEA,KAAK,qBAAqB,EAC1B,KAAK,cACH,IAAI,YAAY,sBAAuB,CAAE,QAAS,EAAK,CAAC,CAC1D,CACF,CAEA,sBAAsB,SAAU,CAC9B,KAAK,wBAAwB,KAAK,QAAQ,CAC5C,CAEA,sBAAuB,CAChB,KAAK,gBAEV,KAAK,aAAe,KAAK,cAAc,yBAAyB,EAC3D,KAAK,eAEV,KAAK,qBAAqB,EACrB,KAAK,QAAQ,kBAChB,KAAK,uBAAyB,UAC5B,eAAe,WACf,KAAK,mBAAmB,KAAK,IAAI,CACnC,IAEJ,CAEA,sBAAuB,CACrB,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,CAChC,CAEA,8BAA+B,CAC7B,KAAK,wBAAwB,KAAM,MACjC,KACG,iBAAiB,iBAAiB,EAClC,QAAS,SACR,QAAQ,UAAU,IAAI,wBAAwB,CAChD,CACJ,EACA,KAAK,yBAAyB,KAAM,SAAY,CAC9C,QAAQ,SAAS,eAAe,KAAK,EACrC,QAAQ,c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