{"version":3,"file":"HttpService.js","sources":["../../node_modules/usehooks-ts/dist/esm/useCopyToClipboard/useCopyToClipboard.js","../../node_modules/usehooks-ts/dist/esm/useEventCallback/useEventCallback.js","../../node_modules/usehooks-ts/dist/esm/useEventListener/useEventListener.js","../../node_modules/usehooks-ts/dist/esm/useFetch/useFetch.js","../../node_modules/usehooks-ts/dist/esm/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js","../../node_modules/usehooks-ts/dist/esm/useLocalStorage/useLocalStorage.js","../../src/providers/LanguageProvider.tsx","../../src/components/DocumentModal.tsx","../../src/features/LegalDocuments/US/TermsAndConditionsEN.tsx","../../src/features/LegalDocuments/US/PrivacyPolicyEN.tsx","../../src/features/LegalDocuments/US/LegalNoticeEN.tsx","../../src/features/LegalDocuments/US/index.ts","../../src/components/DocumentLinks.tsx","../../src/services/HttpService.ts"],"sourcesContent":["var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { useState } from 'react';\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = (text) => __awaiter(this, void 0, void 0, function* () {\n if (!(navigator === null || navigator === void 0 ? void 0 : navigator.clipboard)) {\n console.warn('Clipboard not supported');\n return false;\n }\n try {\n yield navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n }\n catch (error) {\n console.warn('Copy failed', error);\n setCopiedText(null);\n return false;\n }\n });\n return [copiedText, copy];\n}\nexport default useCopyToClipboard;\n","import { useCallback, useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from '..';\nexport default function useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error('Cannot call an event handler while rendering.');\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => ref.current(...args), [ref]);\n}\n","import { useEffect, useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from '..';\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n var _a;\n const targetElement = (_a = element === null || element === void 0 ? void 0 : element.current) !== null && _a !== void 0 ? _a : window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = event => savedHandler.current(event);\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\nexport default useEventListener;\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { useEffect, useReducer, useRef } from 'react';\nfunction useFetch(url, options) {\n const cache = useRef({});\n const cancelRequest = useRef(false);\n const initialState = {\n error: undefined,\n data: undefined,\n };\n const fetchReducer = (state, action) => {\n switch (action.type) {\n case 'loading':\n return Object.assign({}, initialState);\n case 'fetched':\n return Object.assign(Object.assign({}, initialState), { data: action.payload });\n case 'error':\n return Object.assign(Object.assign({}, initialState), { error: action.payload });\n default:\n return state;\n }\n };\n const [state, dispatch] = useReducer(fetchReducer, initialState);\n useEffect(() => {\n if (!url)\n return;\n cancelRequest.current = false;\n const fetchData = () => __awaiter(this, void 0, void 0, function* () {\n dispatch({ type: 'loading' });\n if (cache.current[url]) {\n dispatch({ type: 'fetched', payload: cache.current[url] });\n return;\n }\n try {\n const response = yield fetch(url, options);\n if (!response.ok) {\n throw new Error(response.statusText);\n }\n const data = (yield response.json());\n cache.current[url] = data;\n if (cancelRequest.current)\n return;\n dispatch({ type: 'fetched', payload: data });\n }\n catch (error) {\n if (cancelRequest.current)\n return;\n dispatch({ type: 'error', payload: error });\n }\n });\n void fetchData();\n return () => {\n cancelRequest.current = true;\n };\n }, [url]);\n return state;\n}\nexport default useFetch;\n","import { useEffect, useLayoutEffect } from 'react';\nconst useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;\n","import { useCallback, useEffect, useState, } from 'react';\nimport { useEventCallback, useEventListener } from '..';\nfunction useLocalStorage(key, initialValue) {\n const readValue = useCallback(() => {\n if (typeof window === 'undefined') {\n return initialValue;\n }\n try {\n const item = window.localStorage.getItem(key);\n return item ? parseJSON(item) : initialValue;\n }\n catch (error) {\n console.warn(`Error reading localStorage key “${key}”:`, error);\n return initialValue;\n }\n }, [initialValue, key]);\n const [storedValue, setStoredValue] = useState(readValue);\n const setValue = useEventCallback(value => {\n if (typeof window === 'undefined') {\n console.warn(`Tried setting localStorage key “${key}” even though environment is not a client`);\n }\n try {\n const newValue = value instanceof Function ? value(storedValue) : value;\n window.localStorage.setItem(key, JSON.stringify(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new Event('local-storage'));\n }\n catch (error) {\n console.warn(`Error setting localStorage key “${key}”:`, error);\n }\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, []);\n const handleStorageChange = useCallback((event) => {\n if ((event === null || event === void 0 ? void 0 : event.key) && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n }, [key, readValue]);\n useEventListener('storage', handleStorageChange);\n useEventListener('local-storage', handleStorageChange);\n return [storedValue, setValue];\n}\nexport default useLocalStorage;\nfunction parseJSON(value) {\n try {\n return value === 'undefined' ? undefined : JSON.parse(value !== null && value !== void 0 ? value : '');\n }\n catch (_a) {\n console.log('parsing error on', { value });\n return undefined;\n }\n}\n","import {\r\n Dispatch,\r\n ReactNode,\r\n SetStateAction,\r\n createContext,\r\n useState,\r\n useEffect\r\n} from \"react\";\r\nimport i18next, { changeLanguage } from \"i18next\";\r\n\r\nexport type SupportedLanguages = \"en\" | \"fr\";\r\n\r\ninterface ILanguage {\r\n language: SupportedLanguages;\r\n setLanguage: Dispatch>;\r\n}\r\n\r\nexport const LanguageContext = createContext({\r\n language: \"en\",\r\n setLanguage: () => null,\r\n});\r\n\r\nconst LanguageProvider = ({ children }: { children: ReactNode }) => {\r\n const { language: iLang } = i18next;\r\n const browserLang = iLang.split(\"-\")[0];\r\n\r\n const region = import.meta.env.VITE_REGION || \"us\";\r\n const defaultLang:SupportedLanguages = region === \"us\" || browserLang === \"en\" ? \"en\" : \"fr\";\r\n \r\n const [language, setLanguage] = useState(defaultLang);\r\n\r\n useEffect(() => {\r\n setLanguage(defaultLang);\r\n changeLanguage(defaultLang);\r\n }, []);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport default LanguageProvider;\r\n","import { ReactNode, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { DialogTrigger, ModalOverlay, Modal, Dialog } from \"react-aria-components\";\r\nimport Button from \"~/ui/Button/Button\";\r\n\r\ninterface DocumentProps {\r\n title?: string | null;\r\n content?: ReactNode | string;\r\n closeFn: () => void;\r\n}\r\n\r\nconst DocumentModal = (props: DocumentProps) => {\r\n const { title, content, closeFn } = props;\r\n const { t } = useTranslation();\r\n const [isOpen, setIsOpen] = useState(true);\r\n\r\n const closeModal = () => {\r\n setIsOpen(false);\r\n closeFn();\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n {() => (\r\n
\r\n closeModal()}\r\n />\r\n {title &&

{t(title)}

}\r\n
{content}
\r\n
\r\n )}\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default DocumentModal;\r\n","const TermsAndConditions = (\r\n
\r\n

Labrador Regulated Information Transparency, Inc.

\r\n\r\n

\r\n These Terms and Conditions are applicable to all clients of Labrador Regulated Information Transparency\r\n Inc., a Delaware corporation. By signing a proposal from Labrador, you are accepting the Terms and\r\n Conditions set forth in this document.\r\n

\r\n\r\n

Quotes, Orders, Service, Payment and Delivery Terms

\r\n\r\n

\r\n 1. Quoted prices for services and goods are based upon specifications supplied by the Client. If the scope\r\n of services and goods required by the Client is modified from that presented in the quotation, Labrador’s\r\n price may be amended. All prices contained in this quotation are subject to review and potential adjustment\r\n after 60 days.\r\n

\r\n\r\n

\r\n 2. Paper prices may be subject to adjustment based on changes in availability and the price at the time a\r\n project commences if other than the date of on which the quotation is based.\r\n

\r\n\r\n

Unless otherwise stated, all prices are quoted F.O.B. manufacturing plant.

\r\n\r\n

\r\n Custom or significantly large paper orders will be quoted with a date on which the paper order must be\r\n placed on their behalf. Any changes in scope after that date may result in additional charges to the Client.\r\n

\r\n\r\n

\r\n 3. In the absence of shipping and packing instructions, Labrador shall use its own discretion in choice of\r\n carrier and method of packing. Labrador shall not be responsible for insuring shipments unless specifically\r\n requested by the Client and any insurance so requested shall be at the Client’s sole expense.\r\n

\r\n\r\n

\r\n 4. Upon receipt of shipment, the Client shall immediately inspect the goods provided. Unless the Client\r\n provides Labrador with written notice of any claim or shortages of or defects in the goods, including any\r\n claim relating to quantity, weight, condition, loss or damage thereto, within 48 hours after receipt of\r\n shipment, such goods shall be deemed finally inspected, checked and accepted by the Client.\r\n

\r\n\r\n

\r\n 5. Labrador will present the Client with an invoice for services completed on an individual project basis or\r\n on such other bases as Labrador and Client may mutually agree. Invoices are to be paid in full by the Client\r\n within 30 days of the invoice date.\r\n

\r\n\r\n

\r\n 6. Labrador’s Intellectual Property (layout, graphics) remains the property of Labrador and may not be\r\n reused or communicated to a third party.\r\n

\r\n\r\n

\r\n 7. Source files pertaining to any services or products from Labrador are not available for distribution or\r\n release to clients or third parties.\r\n

\r\n\r\n

\r\n 8. Labrador shall not be liable or deemed liable to be in default for any delay or failure to perform\r\n resulting directly or indirectly from any cause beyond Labrador’s reasonable control.\r\n

\r\n\r\n

\r\n 9. Labrador’s liability for its services and goods shall be limited to repairing or replacing goods found by\r\n Labrador to be beyond the standard deviations of the printing profession. At Labrador’s discretion, a refund\r\n of the purchase price of the services or goods, or parts thereof, may be applied.\r\n

\r\n\r\n

\r\n 10. Any sales, use or similar taxes, export charges, fees or other levies, taxes, duties, governmental\r\n charges or surcharges now or hereafter imposed under any present or future law in connection with the\r\n production, sale, delivery, use or proceeds of goods provided shall be payable by Client.\r\n

\r\n\r\n

Indemnification, Disclaimer of Warranties and Limitation Of Liability

\r\n\r\n

\r\n 11. This price quotation and the terms contained herein constitute the entire agreement between Labrador and\r\n the Client and no other terms shall be binding unless accepted in writing. No alteration or amendment to the\r\n terms and conditions listed herein shall be binding on Labrador except if made in writing duly executed by\r\n an officer of Labrador.\r\n

\r\n\r\n

\r\n 12. The client agrees to indemnify, defend and hold Labrador, its officers, directors, employees, agents,\r\n licensors and suppliers harmless from and against all claims, liabilities, losses, expenses, damages and\r\n costs, including reasonable attorneys’ fees, resulting from (i) any violation of these Terms, including but\r\n not limited to any activity related to Client’s use of the Services (including negligent or wrongful conduct\r\n or communication of personal access codes and passwords) by Client or any other person accessing or using\r\n Services (ii) a claim that an image submitted to and printed by Labrador is prohibited subject matter or\r\n infringes third party intellectual property rights.\r\n

\r\n\r\n

\r\n 13. Labrador agrees to indemnify, defend and hold Client, its officers, directors, employees, agents,\r\n licensors and suppliers harmless from and against all claims, liabilities, losses, expenses, damages and\r\n costs, including reasonable attorneys’ fees, resulting from (i) violation of these Terms by Labrador or (ii)\r\n a claim that Labrador’s goods or services violate any patent, copyright, mask right, trade secret or other\r\n proprietary right.\r\n

\r\n\r\n

\r\n 14. To the fullest extent permitted by applicable law, except as provided herein, Labrador expressly\r\n disclaims all warranties and conditions of any kind, whether express or implied including, but not limited\r\n to, implied warranties of fitness for a particular purpose and non-infringement.\r\n

\r\n\r\n

\r\n 15. To the fullest extent permitted by applicable law, under no circumstances shall Labrador be liable for\r\n any indirect, incidental, special, punitive or consequential damages.\r\n

\r\n\r\n

\r\n 16. The parties agree that these Terms and any claims hereunder shall be governed by and subject to the\r\n state and federal laws of the state of New York, without regard to its conflict of law provisions, and\r\n hereby consent to jurisdiction and venue in the courts of the Southern District of New York located in New\r\n York, New York.\r\n

\r\n
\r\n);\r\n\r\nexport default TermsAndConditions;\r\n","const PrivacyPolicy = (\r\n
\r\n

\r\n 1.1 Access. To access certain features of this Site you may be required to register.\r\n During the registration process, either you or your employer will be required to provide Labrador with\r\n certain information, including your name, employer, title, business address, business telephone number and\r\n business e-mail address (“Registration Data”). This Registration Data will be shared only with\r\n Labrador companies, by you or your employer, to authorize your use of this Site. While you are\r\n accessing this Site our Web servers may recognize your: (a) domain name; (b) ISP’s domain name; (c) IP\r\n address; (d) browser type; and (e) operating system. If you contact us with a technical question, we may\r\n collect certain information about your systems, including: (a) your browser type, version and settings (e.g.\r\n Java and cookie settings); (b) connectivity information (e.g. SSL/HTTPS compatibility, bandwidth capacity);\r\n and browser plug-in information (e.g. do you have Adobe, what is your media player, can you open Flash\r\n files, etc.). It is also possible that, upon agreement by you, Labrador ’s system may place certain\r\n programs, scripts or packets of information on your computer. These items are used solely to carry out the\r\n functions of the Site and for no other purpose.\r\n

\r\n\r\n

\r\n 1.2 Use of Information. Except for (i) Registration Data, which will be shared only\r\n with Labrador, by you or your employer, to authorize your use of this Site, all information collected from\r\n you and recorded about you in connection with your use of this Site will be shared with Labrador.\r\n Registration Data may be used by Labrador: (a) in order to allow us to provide you with the products and\r\n services included within or accessible from this Site; (b) in order for us to provide you with access to or\r\n from the linked sites; (c) for our own marketing and/or research and development purposes; and (d) in\r\n connection with our client services and client management systems.\r\n

\r\n\r\n

\r\n 1.3 Disclosure of Information. Labrador understands that privacy is important to\r\n you. Except as otherwise noted herein, Labrador will not rent or sell information we have collected\r\n from or about you without your permission. For the purposes specified in the preceding paragraph, we may\r\n transfer or disclose Registration Data, Access Data and Visitor Data to any Labrador company, wherever\r\n located in the world. We may disclose Registration Data, Access Data and Visitor Data to third parties who\r\n are contracted to perform services on behalf of Labrador, such as those who assist Labrador in bringing\r\n you this Site and providing you with certain features and functionality included within or accessible via\r\n this Site. We may also disclose Registration Data, Access Data and Visitor Data to third parties in\r\n connection with their providing you access to this Site or to allow you to access the linked sites.\r\n Disclosures to these third parties will be subject to confidentiality agreements and, where required,\r\n governed by contract in the form required by law. Labrador may also be required, and reserves the\r\n right, to disclose information to governmental, regulatory or self-regulatory entities or agencies in\r\n response to regulatory inquiries or to comply with applicable laws, rules, regulations, court orders,\r\n subpoenas or other legal processes.\r\n

\r\n\r\n

\r\n 1.4 Consent. By (a) agreeing to these Terms of Usage, which include this Privacy\r\n Statement, or (b) by using this Site, and, in either case, providing any information that may be required,\r\n invited or otherwise collected by us as set forth above, you freely consent to Labrador processing your\r\n information in the United States and any other countries and territories for the purposes set out in these\r\n Terms of Usage, and you also consent to the transfer of your information for such purposes to any\r\n Labrador company wherever such entity may from time to time be located and to any third parties as\r\n described above and in accordance with applicable law and regulations. If you do not wish Labrador to\r\n collect any of your information or do not agree with any of the terms and conditions of these terms of\r\n Usage, you should not use and should exit this Site. If after registering with Labrador, you desire to\r\n withdraw the consent granted in this Section 3.4 for all future use of your information by Labrador, you\r\n must notify Labrador in writing at the address listed below and immediately cease use of this Site.\r\n

\r\n\r\n

\r\n 1.5 Inquiries. If you have any questions regarding this Privacy Statement or your\r\n information that is held by us, please contact Labrador in writing using the contact information\r\n provided below. If we receive a request regarding your personal information held by us, we will use\r\n reasonable means to provide you with such information that we can reasonably compile. You will be given the\r\n opportunity to rectify any inaccuracies in such information.\r\n

\r\n\r\n

\r\n 1.6 Encryption. Labrador may use encryption technology to protect certain\r\n transmissions of data to/from this Site, but e-mail and other communications, unless otherwise noted on this\r\n Site, are not encrypted to/from this Site. Therefore, you should not send any personal or identifying\r\n information, such as account numbers, credit card numbers, Social Security numbers, passwords, etc., to\r\n Labrador via e-mail. By utilizing e-mail or other electronic communication means you acknowledge that\r\n you have no expectation of privacy with respect to the information delivered thereby and that\r\n Labrador will not be responsible for any loss or damage that could result from interception by third\r\n parties of any information so sent.\r\n

\r\n\r\n

\r\n 1.7 Linked Sites. Please remember that when you leave this Site and access a linked\r\n site you will be subject to the terms of use and privacy policies, if any, of the linked site that you are\r\n visiting. Labrador will have no control over or liability for claims arising out of the terms of use or\r\n privacy policies of such Linked Sites.\r\n

\r\n\r\n

\r\n 1.8 Contact Information. In the event you have any questions regarding these Terms of\r\n Use, this Privacy Statement or your information that is held by us you may contact us in writing in the\r\n United States at Labrador, Attn: President, 530 Means Street, Suite 410, Atlanta, GA 30318.\r\n

\r\n
\r\n);\r\n\r\nexport default PrivacyPolicy;\r\n","const LegalNotice =
;\r\n\r\nexport default LegalNotice;\r\n","import TermsAndConditions from \"./TermsAndConditionsEN\";\r\nimport PrivacyPolicy from \"./PrivacyPolicyEN\";\r\nimport LegalNotice from \"./LegalNoticeEN\";\r\n\r\nconst documentListUS = {\r\n en: [\r\n { title: `legalDocs.terms&Conditions`, content: TermsAndConditions },\r\n { title: `legalDocs.privacyPolicy`, content: PrivacyPolicy },\r\n { title: `legalDocs.legalNotice`, content: LegalNotice },\r\n ],\r\n fr: [],\r\n};\r\n\r\nexport default documentListUS;\r\n","import { ReactNode, useContext, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { LanguageContext } from \"~/providers/LanguageProvider\";\r\nimport DocumentModal from \"./DocumentModal\";\r\n\r\nimport documentListUS from \"~/features/LegalDocuments/US\";\r\nimport documentListFR from \"~/features/LegalDocuments/FR\";\r\n\r\ninterface Document {\r\n title: string;\r\n content: ReactNode | string;\r\n}\r\n\r\nconst DocumentLinks = () => {\r\n const { language } = useContext(LanguageContext);\r\n const { t } = useTranslation();\r\n const REGION = import.meta.env.VITE_REGION;\r\n const documentList = REGION === \"us\" ? documentListUS : documentListFR;\r\n const [document, setDocument] = useState();\r\n const [showModal, setShowModal] = useState(false);\r\n\r\n return (\r\n <>\r\n
\r\n {documentList[language].map((doc: Document, index: number) => {\r\n return (\r\n {\r\n setDocument(doc);\r\n setShowModal(true);\r\n }}\r\n >\r\n {t(doc.title)}\r\n \r\n );\r\n })}\r\n
\r\n\r\n {showModal && setShowModal(false)} />}\r\n \r\n );\r\n};\r\n\r\nexport default DocumentLinks;\r\n","import axios from \"axios\";\r\n\r\nconst apiService = axios.create({\r\n baseURL: import.meta.env.VITE_API_HOST,\r\n headers: {\r\n region: import.meta.env.VITE_REGION,\r\n },\r\n});\r\n\r\n// Function to update the authorization header\r\nexport const setAuthToken = (token: string) => {\r\n if (token) {\r\n apiService.defaults.headers.common[\"Authorization\"] = `Bearer ${token}`;\r\n } else {\r\n delete apiService.defaults.headers.common[\"Authorization\"];\r\n }\r\n};\r\n\r\n// Initialize the token from localStorage on app startup\r\nlet token = localStorage.getItem(\"_t\") as string;\r\nif (token) {\r\n token = token.replace(/[\"']/g, \"\");\r\n setAuthToken(token);\r\n}\r\n\r\nexport default apiService;\r\n"],"names":["this","useEventCallback","fn","ref","useRef","useIsomorphicLayoutEffect","useCallback","args","useEventListener","eventName","handler","element","options","savedHandler","useEffect","_a","targetElement","listener","event","useLayoutEffect","useLocalStorage","key","initialValue","readValue","item","parseJSON","error","storedValue","setStoredValue","useState","setValue","value","newValue","handleStorageChange","LanguageContext","createContext","LanguageProvider","children","iLang","i18next","defaultLang","language","setLanguage","changeLanguage","jsx","DocumentModal","props","title","content","closeFn","t","useTranslation","isOpen","setIsOpen","closeModal","DialogTrigger","ModalOverlay","Modal","Dialog","jsxs","Button","TermsAndConditions","PrivacyPolicy","LegalNotice","documentListUS","DocumentLinks","useContext","documentList","document","setDocument","showModal","setShowModal","Fragment","doc","index","apiService","axios","setAuthToken","token"],"mappings":"2bAAiBA,YAAQA,WAAK,UCEf,SAASC,EAAiBC,EAAI,CACzC,MAAMC,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