{"version":3,"file":"question_controller-BteYzJFw.js","sources":["../../../app/javascript/controllers/automation/question_controller.js"],"sourcesContent":["import LineController from \"../journeys/line_controller\"\n\nimport { commaSeperatedListWithOrConjunction } from \"@/controllers/models/sentence\";\n\nexport default class extends LineController {\n static values = {\n retriesCount: {type: Number, default: 2},\n gracePeriod: {type: Number, default: 6},\n gracePeriodInterval: {type: String, default: 'hours'},\n answers: Array,\n }\n\n static targets = [\n \"trigger\",\n \"dropzone\",\n \"branchInput\",\n \"removedInput\",\n \"answersInput\",\n \"body\",\n \"answersContainer\",\n \"answerElement\",\n \"answerElementTemplate\",\n \"rootConnector\",\n \"endConnector\",\n \"answerPreviewTemplate\",\n \"removedInput\",\n \"child\",\n \"gracePeriodElement\",\n 'stepName'\n ]\n\n initialize() {\n super.initialize()\n\n this.state = {\n retriesCount: this.retriesCountValue,\n retriesEnabled: this.retriesCountValue > 0,\n gracePeriod: this.gracePeriodValue,\n gracePeriodInterval: this.gracePeriodIntervalValue,\n }\n\n this.retriesEnabled = this.state.retriesEnabled\n }\n\n connect() {\n this._drawLine(false)\n\n if (!this.persistedValue) {\n setTimeout(() => this.togglePane({}), 0)\n }\n\n super.connect();\n\n this.retriesDetailTarget.addEventListener('toggle', ({target}) => {\n if (target.open && !this.retriesInputTarget.disabled) {\n this.focus(this.retriesInputTarget, {moveCursorToEnd: true})\n }\n })\n\n this.gracePeriodDetailsTarget.addEventListener('toggle', ({target}) => {\n if (target.open) {\n this.focus(this.gracePeriodInputTarget, {moveCursorToEnd: true})\n }\n })\n\n this.answersDetailsTarget.addEventListener('toggle', ({target}) => {\n if(target.open) return\n\n const answers = this.state.answers.map(answer => answer.body).filter(answer => answer)\n\n if(answers.length === 0) {\n this.answersDetailsSummaryTarget.textContent = t.automation.answer.summary.zero\n } else if(answers.length === 1) {\n this.answersDetailsSummaryTarget.textContent = t.automation.answer.summary.one.replace(\"%{value}\", answers[0])\n } else {\n this.answersDetailsSummaryTarget.textContent = t.automation.answer.summary.other.replace(\n \"%{value}\",\n commaSeperatedListWithOrConjunction(answers)\n )\n }\n })\n\n this.paneSnapshot = this.paneTarget.cloneNode(true)\n }\n\n disconnect() {\n this.instance.deleteConnection(this.rootToGracePeriodConnection)\n this.instance.deleteConnection(this.gracePeriodToEndConnection)\n\n this.instance.deleteConnection(this.rootConnector)\n\n super.disconnect()\n }\n\n showPaneAndFocusWait() {\n this.togglePane({ focus: 'wait' })\n }\n\n openPaneAndFocusAnswer({ currentTarget }) {\n this.togglePane({ focus: 'answer', index: currentTarget.dataset.index })\n }\n\n onComposeInitialization({detail: composeSnapshot}) {\n this.state = {\n ...this.state,\n composeSnapshot,\n }\n\n this.submitTarget.disabled = !this.state.composeSnapshot?.string\n\n this.composeSnapshot = composeSnapshot\n\n this.updatePreview()\n }\n\n onComposeChange({detail: composeSnapshot}) {\n this.state = {\n ...this.state,\n composeSnapshot,\n }\n\n this.submitTarget.disabled = !this.state.composeSnapshot?.string\n this.updatePreview()\n }\n\n onAnswersValidation({detail: state}) {\n this.state = {\n ...this.state,\n ...state,\n }\n\n this.submitTarget.disabled = !this.state.composeSnapshot?.string\n\n this.updatePreview()\n }\n\n togglePane({ focus = 'compose', index } = {}) {\n if (window.paneId) {\n return window.dispatchEvent(\n new CustomEvent(\"pane:alert\", {detail: this.element.id})\n )\n }\n\n this.paneTarget.classList.toggle(\"-right-full\")\n this.paneTarget.classList.toggle(\"right-0\")\n\n this.triggerTarget.classList.toggle(\"halo--active\")\n\n if(this.paneIsVisible) {\n this.nextTick(() => {\n if(focus === 'wait') {\n this.gracePeriodDetailsTarget.open = true\n this.focus(this.gracePeriodInputTarget, { moveCursorToEnd: true })\n\n this.gracePeriodDetailsTarget.scrollIntoView({ behaviour: 'instant' })\n } else if(focus === 'answer') {\n this.dispatch('focus:answer', {\n target: this.paneTarget,\n detail: index\n })\n } else {\n this.composeTarget.scrollIntoView({ behaviour: 'instant' })\n\n this.dispatch('focus', {\n target: this.composeTarget,\n })\n }\n }, 300)\n }\n }\n\n repositionLine() {\n this.instance.repaintEverything()\n\n this.answerElementTargets.forEach((answerElement) => {\n this.dispatch('repaint', {\n target: answerElement,\n })\n })\n }\n\n onWindowSizeChange() {\n this.instance.repaintEverything()\n }\n\n abortChanges() {\n if(!this.persistedValue) {\n return this.remove()\n }\n\n this.paneTarget.classList.replace(\"right-0\", \"-right-full\")\n this.triggerTarget.classList.remove(\"halo--active\")\n\n this.delayed(() => {\n this.paneTarget.replaceWith(this.paneSnapshot.cloneNode(true))\n }, 300)\n\n this.retriesCountValue = this.state.retriesCount\n this.retriesEnabled = this.state.retriesEnabled\n this.retriesInputTarget.value = this.retriesCountValue\n\n this.gracePeriodValue = this.state.gracePeriod\n this.gracePeriodIntervalValue = this.state.gracePeriodInterval\n\n this.answersInputTarget.value = this.state.answers.map(answer => answer.body).filter(answer => answer).join(',')\n this.composeSnapshot = this.state.composeSnapshot\n }\n\n save() {\n this.paneTarget.classList.replace(\"right-0\", \"-right-full\")\n this.triggerTarget.classList.remove(\"halo--active\")\n\n this.paneSnapshot = this.paneTarget.cloneNode(true)\n\n if(!this.persistedValue) {\n this.answersContainerTarget.innerHTML = ''\n }\n\n this.answerElementTargets\n .filter(element => element.dataset.id && !this.state.answers.find(answer => answer.id === element.dataset.id))\n .forEach((element) => {\n this.dispatch('remove', {\n target: element\n })\n })\n\n this.state.answers.forEach((answer, index) => {\n let element = this.answerElementTargets.find(element => element.dataset.id === answer.id)\n\n if(element) {\n return this.dispatch('update', {\n target: element,\n detail: answer,\n })\n }\n\n const id = `${crypto.randomUUID()}-${index}`\n const domId = `step_${id}`\n\n element = this.answerElementTemplateTarget.cloneNode(true)\n\n element.classList.remove('hidden')\n element.id = domId\n\n element.setAttribute('data-parent', this.element.id)\n\n if(!answer.body || answer.body.toLowerCase() === t.automation.answers.answer.any.toLowerCase()) {\n element.querySelector('[data-description]').textContent = t.automation.answers.answer.any\n } else {\n element.querySelector('[data-description]').textContent = `${answer.text} ${answer.body}`\n }\n\n element.setAttribute('data-automation--question-target', 'answerElement')\n element.setAttribute('data-id', id)\n\n const dropzone = element.querySelector('[data-controller=\"journeys--dropzone\"]')\n\n dropzone.id = `${domId}-dropzone`\n dropzone.setAttribute('data-journeys--dropzone-line-value', domId)\n\n if(!answer.body || answer.body.toLowerCase() === t.automation.answers.answer.any.toLowerCase()) {\n element.querySelector('[data-description]').textContent = t.automation.answers.answer.any\n element.querySelector('[data-body-input]').value = t.automation.answers.answer.any\n } else {\n element.querySelector('[data-body-input]').value = answer.body\n }\n\n element.querySelector('[data-query-input]').value = answer.query\n\n element.querySelectorAll('input').forEach((input) => {\n input.name = input.name.replace(':id', id)\n this.enable(input)\n })\n\n element.querySelector('header').setAttribute('data-index', index)\n\n this.answersContainerTarget.appendChild(element)\n\n this.notifyOtherStepsToRepositionLines()\n\n this.state.answers[index] = {\n ...this.state.answers[index],\n ...answer,\n id,\n }\n })\n\n this.dispatch('update', {\n target: this.paneTarget,\n detail: this.state.answers,\n })\n\n this.drawFromRootToAnswers()\n this.drawToGracePeriodElement()\n\n this.nextTick(() => this.instance.repaintEverything())\n\n this.bodyTarget.innerText = this.state.composeSnapshot.string\n\n this.gracePeriodElementTarget.querySelector('[data-interval-input]').value = this.gracePeriodIntervalValue\n this.gracePeriodElementTarget.querySelector('[data-value-input]').value = this.gracePeriodValue\n\n this.persistedValue = true\n\n this.answersInputTarget.value = this.state.answers.map(answer => answer.body ? answer.body : t.automation.answers.answer.any).filter(answer => answer).join(',')\n this.state.retriesCount = this.retriesCountValue\n\n this.composeSnapshot = this.state.composeSnapshot\n\n this.closeDetailElements()\n }\n\n closeDetailElements() {\n [this.retriesDetailTarget, this.answersDetailsTarget, this.gracePeriodDetailsTarget]\n .filter(detail => detail.open)\n .forEach(detail => detail.open = false)\n }\n\n remove() {\n this.instance.deleteConnection(this.rootToGracePeriodConnection)\n this.instance.deleteConnection(this.gracePeriodToEndConnection)\n\n this.instance.deleteConnection(this.rootConnector)\n this.instance.deleteConnection(this.endToNextConnection)\n\n if (this.hasRemovedInputTarget) {\n this.removedInputTarget.disabled = false\n\n document\n .getElementById(\"drawing_container\")\n .appendChild(this.removedInputTarget)\n }\n\n this.paneTarget.remove()\n this.dropzone.remove()\n this.element.remove()\n }\n\n\n _drawLine(redraw = false) {\n this.rootConnector = this.draw(this.bodyTarget, this.rootConnectorTarget, {\n fromOptions: this.blankEndpoint(\"Bottom\"),\n toOptions: this.blankEndpoint(\"Top\"),\n lineOptions: {\n ...this.flowchartConnectorLineOptions,\n options: {\n cornerRadius: 0,\n stub: [1, 0],\n midpoint: 1,\n alwaysRespectStubs: true,\n },\n }\n })\n\n this.drawFromRootToAnswers()\n this.drawToGracePeriodElement()\n this.drawFromEndConnectorToNextElement()\n }\n\n drawFromRootToAnswers() {\n this.delayed(() => {\n this.answerElementTargets.map((answerElement, index) => {\n this.dispatch('draw', {\n target: answerElement,\n detail: {\n root: this.rootConnectorTarget,\n end: this.endConnectorTarget,\n index,\n }\n })\n })\n }, 0)\n }\n\n drawToGracePeriodElement() {\n if(this.rootToGracePeriodConnection) {\n this.instance.deleteConnection(this.rootToGracePeriodConnection)\n this.instance.deleteConnection(this.gracePeriodToEndConnection)\n }\n\n const paragraph = this.gracePeriodElementTarget.querySelector('[data-description]')\n const header = this.gracePeriodElementTarget.querySelector('[data-header]')\n\n if (this.gracePeriodValue === 1) {\n paragraph.textContent = t.automation.question.grace_period.element[this.gracePeriodIntervalValue].one\n } else {\n paragraph.textContent = t.automation.question.grace_period.element[this.gracePeriodIntervalValue].other.replace('%{count}', this.gracePeriodValue)\n }\n\n this.nextTick(() => {\n this.dispatch('draw', {\n target: this.gracePeriodElementTarget,\n detail: {\n root: this.rootConnectorTarget,\n end: this.endConnectorTarget,\n index: 0,\n }\n })\n })\n }\n\n updateEndConnectionReferenceOnConnect(event) {\n this.repositionLine()\n\n const { detail } = event\n\n if(detail.target !== this.element.id) return;\n\n if(this.endToNextConnection) {\n this.instance.deleteConnection(this.endToNextConnection)\n }\n\n const element = document.getElementById(detail.replaceWith)\n\n this.endToNextConnection = this.draw(\n this.endConnectorTarget,\n element.querySelector('[data-connector]') || element,\n {\n fromOptions: this.blankEndpoint(\"Bottom\"),\n toOptions: this.blankEndpoint(\"Top\"),\n })\n }\n\n updateEndConnectionReferenceOndisconnect(event) {\n this.repositionLine()\n\n const { detail } = event\n\n if(detail.target !== this.element.id) return;\n\n if(detail.child) {\n if(this.endToNextConnection) {\n this.instance.deleteConnection(this.endToNextConnection)\n }\n\n const element = document.getElementById(detail.child)\n\n this.endToNextConnection = this.draw(\n this.endConnectorTarget,\n element.querySelector('[data-connector]') || element,\n {\n fromOptions: this.blankEndpoint(\"Bottom\"),\n toOptions: this.blankEndpoint(\"Top\"),\n })\n } else {\n this.instance.deleteConnection(this.endToNextConnection)\n this.nextTick(() => this.drawFromEndConnectorToNextElement())\n }\n\n this.nextTick(() => this.instance.repaintEverything())\n\n }\n\n drawFromEndConnectorToNextElement() {\n if(this.endToNextConnection) {\n this.instance.deleteConnection(this.endToNextConnection)\n }\n\n const ancestor = this.getFirstAncestorOfType([\n '[data-kind=\"question\"]',\n '[data-kind=\"condition\"]'\n ])\n\n if(ancestor) {\n if(ancestor.dataset.kind === 'question') {\n this.drawEndConnectionWithinAnswer(ancestor)\n } else {\n this.drawEndConnectionWithinCondition(ancestor)\n }\n\n return\n }\n\n let element = this.element.nextElementSibling?.querySelector('[data-connector]') || document.getElementById(\"end-connector\")\n\n this.endToNextConnection = this.draw(\n this.endConnectorTarget,\n element,\n {\n fromOptions: this.blankEndpoint(\"Bottom\"),\n toOptions: this.blankEndpoint(),\n })\n }\n\n drawEndConnectionWithinCondition(ancestor) {\n const element = this.application.getControllerForElementAndIdentifier(ancestor, 'step--condition').endTarget\n\n this.endToNextConnection = this.draw(\n this.endConnectorTarget,\n element,\n {\n fromOptions: this.blankEndpoint(\"Bottom\"),\n toOptions: this.blankEndpoint(),\n })\n }\n\n drawEndConnectionWithinAnswer(ancestor) {\n const question = ancestor\n const questionController = this.application.getControllerForElementAndIdentifier(ancestor, 'automation--question')\n const endConnector = questionController.endConnectorTarget\n\n this.endToNextConnection = this.draw(this.endConnectorTarget, endConnector, {\n fromOptions: this.blankEndpoint(\"Bottom\"),\n toOptions: this.blankEndpoint(),\n lineOptions: {\n ...this.flowchartConnectorLineOptions,\n options: {\n cornerRadius: (this.element.closest('[data-kind=\"answer\"]') && !this.element.closest('[data-kind=\"answer\"]').previousElementSibling) || this.element.closest('[data-kind=\"grace\"]') ? 10 : 0,\n stub: [1, 0],\n midpoint: 1,\n alwaysRespectStubs: true,\n }\n }\n })\n }\n\n redraw({ detail }) {\n if (detail.target !== this.element.id) return\n this.instance.repaintEverything()\n }\n\n enableRetries() {\n this.retriesEnabled = true\n\n this.retriesContainerTarget.classList.remove('text-night-40')\n\n this.enable(this.retriesInputTarget)\n this.focus(this.retriesInputTarget, {moveCursorToEnd: true})\n\n this.retriesCountValueChanged()\n }\n\n disableRetries() {\n this.retriesEnabled = false\n\n this.retriesContainerTarget.classList.add('text-night-40')\n this.disable(this.retriesInputTarget)\n\n this.retriesSummaryTarget.textContent = t.automation.question.retries.summary.disabled\n }\n\n onRetriesChange() {\n if (!this.retriesInputTarget.value) return\n this.retriesCountValue = parseInt(this.retriesInputTarget.value)\n }\n\n onGracePeriodChange() {\n if (!this.gracePeriodInputTarget.value) return\n this.gracePeriodValue = parseInt(this.gracePeriodInputTarget.value)\n }\n\n onGracePeriodIntervalChange({detail: interval}) {\n this.gracePeriodIntervalValue = interval\n }\n\n retriesCountValueChanged() {\n if(this.retriesCountValue === 0) {\n this.retriesSummaryTarget.textContent = t.automation.question.retries.summary.disabled\n } else if (this.retriesCountValue === 1) {\n this.retriesSummaryTarget.textContent = t.automation.question.retries.summary.one\n this.retriesSuffixTarget.textContent = t.automation.question.retries.radio.times.one\n } else {\n this.retriesSummaryTarget.textContent = t.automation.question.retries.summary.other.replace('%{count}', this.retriesCountValue)\n this.retriesSuffixTarget.textContent = t.automation.question.retries.radio.times.other.replace('%{count}', this.retriesCountValue)\n }\n }\n\n gracePeriodValueChanged() {\n if (this.gracePeriodValue === 1) {\n this.gracePeriodSummaryTarget.textContent = t.automation.question.grace_period.summary[this.gracePeriodIntervalValue].one\n } else {\n this.gracePeriodSummaryTarget.textContent = t.automation.question.grace_period.summary[this.gracePeriodIntervalValue].other.replace('%{count}', this.gracePeriodValue)\n }\n }\n\n updatePreview() {\n const answers = this.state.answers.map(answer => answer.body).filter(answer => answer && answer.toLowerCase() !== t.automation.answers.answer.any.toLowerCase())\n\n if(!this.hasWhatsappPreviewTarget) {\n if(!this.state.composeSnapshot?.string) {\n this.smsPreviewTarget.querySelector('p').innerText = t.automation.question.preview.empty\n } else {\n this.smsPreviewTarget.querySelector('p').textContent = t.automation.question.preview.sms\n .replace('%{question}', this.state.composeSnapshot.string)\n .replace('%{options}', commaSeperatedListWithOrConjunction(this.state.answers.map(answer => answer.body)))\n }\n\n return\n }\n\n if(!this.state.composeSnapshot?.string) {\n this.whatsappPreviewTarget.querySelector('p').innerText = t.automation.question.preview.empty\n\n if(!answers || answers.length === 0 || answers.every(answer => !answer)) {\n return this.whatsappPreviewTarget.querySelector('ul').classList.add('hidden')\n }\n\n this.smsPreviewTarget.querySelector('p').innerText = t.automation.question.preview.empty\n return\n }\n\n this.whatsappPreviewTarget.querySelector('p').innerText = this.state.composeSnapshot.string\n this.smsPreviewTarget.querySelector('p').innerText = this.state.composeSnapshot.string\n\n this.whatsappPreviewTarget.querySelector('ul').innerHTML = ''\n\n if(!answers || answers.length === 0 || answers.every(answer => !answer)) {\n return this.whatsappPreviewTarget.querySelector('ul').classList.add('hidden')\n }\n\n answers.forEach((answer) => {\n const element = this.answerPreviewTemplateTarget.cloneNode(true)\n\n element.classList.remove('hidden')\n element.removeAttribute('data-automation--question-target')\n\n element.querySelector('p').innerText = answer\n\n this.whatsappPreviewTarget.querySelector('ul').appendChild(element)\n })\n\n\n this.smsPreviewTarget.querySelector('p').textContent = t.automation.question.preview.sms\n .replace('%{question}', this.state.composeSnapshot.string)\n .replace('%{options}', commaSeperatedListWithOrConjunction(answers))\n\n this.whatsappPreviewTarget.querySelector('ul').classList.remove('hidden')\n }\n\n gracePeriodIntervalValueChanged() {\n this.gracePeriodValueChanged()\n }\n\n get paneIsInvisible() {\n return this.paneTarget.classList.contains(\"-right-full\")\n }\n\n get paneIsVisible() {\n return this.paneTarget.classList.contains(\"right-0\")\n }\n\n get withinQuestion() {\n return this.element.parentElement.closest('[data-kind=\"question\"]')\n }\n\n get withinCondition() {\n return this.element.closest('[data-step=\"condition\"]')\n }\n\n get hasUnsavedChanges() {\n return this.answersChanged || this.retriesChanged || this.gracePeriodChanged || this.questionChanged\n }\n\n get answersChanged() {\n return this.state.answers.map(answer => answer.body).join(',') !== this.answersInputTarget.value\n }\n\n get retriesChanged() {\n return this.state.retriesCount !== this.retriesCountValue || this.state.retriesEnabled !== this.retriesEnabled\n }\n\n get gracePeriodChanged() {\n return this.state.gracePeriod !== parseInt(this.gracePeriodValue) || this.state.gracePeriodInterval !== this.gracePeriodIntervalValue\n }\n\n get questionChanged() {\n return this.composeSnapshot.string !== this.state.composeSnapshot?.string\n }\n\n get dropzone() {\n return document.getElementById(`${this.element.id}_dropzone`)\n }\n\n get paneTarget() {\n return document.getElementById(`${this.element.id}_pane`)\n }\n\n get retriesDetailTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"retriesDetail\"]')\n }\n\n get retriesInputTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"retriesInput\"]')\n }\n\n get retriesSummaryTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"retriesSummary\"]')\n }\n\n get retriesSuffixTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"retriesSuffix\"]')\n }\n\n get gracePeriodDetailsTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"gracePeriodDetails\"]')\n }\n\n get gracePeriodInputTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"gracePeriodInput\"]')\n }\n\n get gracePeriodSummaryTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"gracePeriodSummary\"]')\n }\n\n get answersDetailsTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"answersDetails\"]')\n }\n\n get answersDetailsSummaryTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"answersDetailsSummary\"]')\n }\n\n get answerPreviewTemplateTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"answerPreviewTemplate\"]')\n }\n\n get submitTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"submit\"]')\n }\n\n get smsPreviewTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"smsPreview\"]')\n }\n\n get whatsappPreviewTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"whatsappPreview\"]')\n }\n\n get hasWhatsappPreviewTarget() {\n return !!this.whatsappPreviewTarget\n }\n\n get composeTarget() {\n return this.paneTarget.querySelector('[data-automation--question-target=\"compose\"]')\n }\n}\n"],"names":["question_controller","LineController","target","answers","answer","commaSeperatedListWithOrConjunction","currentTarget","composeSnapshot","_a","state","focus","index","answerElement","element","id","domId","dropzone","input","detail","redraw","paragraph","event","ancestor","endConnector","interval","_b","__publicField"],"mappings":"iQAIe,MAAKA,UAASC,CAAe,CA2B1C,YAAa,CACX,MAAM,WAAU,EAEhB,KAAK,MAAQ,CACX,aAAc,KAAK,kBACnB,eAAgB,KAAK,kBAAoB,EACzC,YAAa,KAAK,iBAClB,oBAAqB,KAAK,wBAChC,EAEI,KAAK,eAAiB,KAAK,MAAM,cACrC,CAEE,SAAU,CACR,KAAK,UAAU,EAAK,EAEf,KAAK,gBACR,WAAW,IAAM,KAAK,WAAW,CAAA,CAAE,EAAG,CAAC,EAGzC,MAAM,QAAS,EAEf,KAAK,oBAAoB,iBAAiB,SAAU,CAAC,CAAC,OAAAC,CAAM,IAAM,CAC5DA,EAAO,MAAQ,CAAC,KAAK,mBAAmB,UAC1C,KAAK,MAAM,KAAK,mBAAoB,CAAC,gBAAiB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