@8wave/ai-elements 0.123.0-beta.12 → 0.123.0-beta.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-vue/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
2
2
  import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-C4JnalBU.js";
3
3
  import { E as i, S as a, T as o, _ as s, f as c, m as l, o as u, r as d, s as f, u as p, v as m, w as h, x as g, y as _ } from "./_chunks/schemas-BO5QlXAp.js";
4
- import { t as v } from "./_chunks/PkChatbotMessages-DFimKbCj.js";
4
+ import { t as v } from "./_chunks/PkChatbotMessages-3hraizdN.js";
5
5
  import { a as y, i as b, l as x, n as S, r as C } from "./_chunks/Media-DylqhvaF.js";
6
6
  import { C as w, E as ee, F as te, G as ne, H as re, I as ie, J as ae, K as oe, L as se, M as ce, N as le, P as ue, R as de, T as fe, X as pe, Y as me, a as he, at as ge, b as _e, ct as ve, d as ye, f as be, ft as xe, i as Se, it as Ce, lt as we, nt as Te, ot as Ee, p as De, q as Oe, r as T, rt as ke, s as Ae, st as je, t as Me, v as Ne, w as Pe, x as Fe, z as Ie } from "./_chunks/Agent-D3US-D1x.js";
7
7
  import { c as Le, d as Re, l as ze, r as Be, s as Ve, t as He, u as Ue } from "./_chunks/Document-D5FVOcP9.js";
@@ -16,7 +16,7 @@ import { A as it, D as at, F as ot, I as st, N as ct, P as lt, f as ut, g as dt,
16
16
  import { t as mt } from "./_chunks/useSafeLocalStorage-DImmddot.js";
17
17
  import { t as ht } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
18
18
  import { i as gt, n as _t, r as vt, t as yt } from "./_chunks/PkChatbotViewConversations-Bng-dyqd.js";
19
- import { a as bt, i as xt, n as St, r as Ct, t as wt } from "./_chunks/PkChatbotViewChat-CQy-k_dp.js";
19
+ import { a as bt, i as xt, n as St, r as Ct, t as wt } from "./_chunks/PkChatbotViewChat-BSRRz4ma.js";
20
20
  import { t as Tt } from "./_chunks/PkChatbotError-BS84xuiu.js";
21
21
  import { t as Et } from "./_chunks/useImageFallback-HUe4GHah.js";
22
22
  import { t as Dt } from "./_chunks/useLocalizedString-Dmn92nix.js";
@@ -37,7 +37,7 @@ import { t as $n } from "./_chunks/PkChatbotStepToolDetail-Bne48uS8.js";
37
37
  import { n as er, t as tr } from "./_chunks/PkChatbotInput-SWQVz3m7.js";
38
38
  import { t as nr } from "./_chunks/PkChatbotEmptyState-3VeE3lFA.js";
39
39
  import { t as rr } from "./_chunks/PkChatbotViewProfile-ChEItAHZ.js";
40
- import { t as ir } from "./_chunks/PkChatbot-DxPT26Vn.js";
40
+ import { t as ir } from "./_chunks/PkChatbot-Bwzq2vRC.js";
41
41
  import { i as ar, r as or, t as sr } from "./_chunks/PkToolShowSources-BVfcp1iE.js";
42
42
  import { t as cr } from "./_chunks/mcpOAuthReport-BdegDfcz.js";
43
43
  import { t as lr } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
@@ -51,7 +51,7 @@ import { t as gr } from "./_chunks/PkToolShowLocation-C7hBRwq8.js";
51
51
  import { t as _r } from "./_chunks/PkToolShowQrCode-skWaARYV.js";
52
52
  import { t as vr } from "./_chunks/PkToolShowImageGallery-ORfqyhhh.js";
53
53
  import { t as yr } from "./_chunks/PkToolShowSuggestedReply-Bb7Inxa4.js";
54
- import { t as br } from "./_chunks/PkToolShareDocument-IreRCu-j.js";
54
+ import { t as br } from "./_chunks/PkToolShareDocument-DeUo345m.js";
55
55
  import { t as xr } from "./_chunks/PkToolChatFile-Ca45de6q.js";
56
56
  import { t as Sr } from "./_chunks/PkFilePreviewDialog-4YbxP5m2.js";
57
57
  import { t as Cr } from "./_chunks/PkToolRequestGeolocation-gEDbmudT.js";
@@ -3,9 +3,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
3
3
  * A knowledge base document the agent handed over with `shareDocument`.
4
4
  * Download goes through `onDownload` when the host gives it: the sources
5
5
  * route, authenticated, which keeps working for as long as the document
6
- * stays with the agent, also after the signed link has expired. The signed
7
- * link is what "Copy link" copies, until it expires. A web page opens at
8
- * its own address.
6
+ * stays with the agent, also after the signed link has expired. A
7
+ * sub-agent's document downloads through the signed link instead, since
8
+ * that route checks the agent of the chat. The signed link is what "Copy
9
+ * link" copies, until it expires. A web page opens at its own address.
9
10
  */
10
11
  type __VLS_Props = {
11
12
  part: unknown;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.123.0-beta.12",
4
+ "version": "0.123.0-beta.13",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",
@@ -1 +0,0 @@
1
- {"version":3,"file":"PkToolShareDocument-CFGH4rKt.js","names":["__unplugin_components_0","_openBlock","_createElementBlock","_createBlock","_Fragment","_createVNode","PkChatbotFilePreview","_createElementVNode","_toDisplayString","_unref","_createCommentVNode","_sfc_main","unref","toDisplayString","openBlock","createVNode","createBlock","init_reactivity_esm_bundler","Fragment","createBaseVNode","computed","init_runtime_core_esm_bundler","createCommentVNode","defineComponent","init_shared_esm_bundler","createElementBlock","useI18n","useClipboard","useIntervalFn","VvButtonLocalized","PkChatbotFilePreview_default","_hoisted_1","_hoisted_2","_hoisted_3","PkToolShareDocument_default","props","__props","$t","$d","shared","part","expiresAt","now","useNow","tick","isLinkValid","download","documentId","onDownload","_component_VvButton","copied","_cache","copy"],"sources":["../../../../packages/components/src/chat/PkToolShareDocument.vue","../../../../packages/components/src/chat/PkToolShareDocument.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import { computed } from 'vue'\n import { useI18n } from 'vue-i18n'\n import { useClipboard, useIntervalFn, useNow } from '@vueuse/core'\n import PkChatbotFilePreview from './PkChatbotFilePreview.vue'\n\n /** What `shareDocument` returns that the card shows. */\n type SharedDocument = {\n documentId: string\n name: string\n /** `file`: a stored file behind a signed link; `url`: a web page. */\n source: 'file' | 'url'\n mimeType?: string\n url: string\n /** ISO date the signed link stops working; `null` for a web page. */\n expiresAt: string | null\n }\n\n /**\n * A knowledge base document the agent handed over with `shareDocument`.\n * Download goes through `onDownload` when the host gives it: the sources\n * route, authenticated, which keeps working for as long as the document\n * stays with the agent, also after the signed link has expired. The signed\n * link is what \"Copy link\" copies, until it expires. A web page opens at\n * its own address.\n */\n const props = defineProps<{\n part: unknown\n onDownload?: (documentId: string) => void | Promise<void>\n }>()\n\n const { t: $t, d: $d } = useI18n({ useScope: 'global' })\n const { copy, copied } = useClipboard()\n\n const shared = computed(() => {\n const part = props.part as {\n state?: string\n output?: Partial<SharedDocument>\n }\n return part.state === 'output-available' && part.output?.url\n ? (part.output as SharedDocument)\n : undefined\n })\n\n const expiresAt = computed(() =>\n shared.value?.expiresAt ? new Date(shared.value.expiresAt) : undefined,\n )\n // A card left open stops offering the link within a minute of its expiry;\n // the download keeps working.\n const now = useNow({ scheduler: (tick) => useIntervalFn(tick, 60_000) })\n const isLinkValid = computed(\n () =>\n expiresAt.value !== undefined &&\n expiresAt.value.getTime() > now.value.getTime(),\n )\n\n const download = computed(() => {\n const { onDownload } = props\n const documentId = shared.value?.documentId\n return onDownload && documentId\n ? () => onDownload(documentId)\n : undefined\n })\n</script>\n\n<template>\n <div v-if=\"shared\" class=\"pk-tool-share-document\">\n <VvButton\n v-if=\"shared.source === 'url'\"\n :href=\"shared.url\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n icon=\"external-link\"\n icon-position=\"right\"\n :label=\"shared.name\"\n modifiers=\"link\" />\n <template v-else>\n <PkChatbotFilePreview\n :media-type=\"shared.mimeType ?? 'application/octet-stream'\"\n :url=\"shared.url\"\n :filename=\"shared.name\"\n :on-download=\"download\"\n as-file\n show-download />\n <div\n v-if=\"isLinkValid && expiresAt\"\n class=\"flex items-center justify-between gap-sm mt-xs\">\n <span class=\"text-12 text-word-3\">\n {{\n $t('messagePart.shareDocumentValidUntil', {\n date: $d(expiresAt, 'date-time'),\n })\n }}\n </span>\n <VvButton\n :icon=\"copied ? 'ri:check-line' : 'ri:link'\"\n :label=\"\n copied ? $t('action.copied') : $t('action.copyLink')\n \"\n modifiers=\"action-quiet-small\"\n class=\"shrink-0\"\n @click=\"copy(shared.url)\" />\n </div>\n </template>\n </div>\n</template>\n","<script setup lang=\"ts\">\n import { computed } from 'vue'\n import { useI18n } from 'vue-i18n'\n import { useClipboard, useIntervalFn, useNow } from '@vueuse/core'\n import PkChatbotFilePreview from './PkChatbotFilePreview.vue'\n\n /** What `shareDocument` returns that the card shows. */\n type SharedDocument = {\n documentId: string\n name: string\n /** `file`: a stored file behind a signed link; `url`: a web page. */\n source: 'file' | 'url'\n mimeType?: string\n url: string\n /** ISO date the signed link stops working; `null` for a web page. */\n expiresAt: string | null\n }\n\n /**\n * A knowledge base document the agent handed over with `shareDocument`.\n * Download goes through `onDownload` when the host gives it: the sources\n * route, authenticated, which keeps working for as long as the document\n * stays with the agent, also after the signed link has expired. The signed\n * link is what \"Copy link\" copies, until it expires. A web page opens at\n * its own address.\n */\n const props = defineProps<{\n part: unknown\n onDownload?: (documentId: string) => void | Promise<void>\n }>()\n\n const { t: $t, d: $d } = useI18n({ useScope: 'global' })\n const { copy, copied } = useClipboard()\n\n const shared = computed(() => {\n const part = props.part as {\n state?: string\n output?: Partial<SharedDocument>\n }\n return part.state === 'output-available' && part.output?.url\n ? (part.output as SharedDocument)\n : undefined\n })\n\n const expiresAt = computed(() =>\n shared.value?.expiresAt ? new Date(shared.value.expiresAt) : undefined,\n )\n // A card left open stops offering the link within a minute of its expiry;\n // the download keeps working.\n const now = useNow({ scheduler: (tick) => useIntervalFn(tick, 60_000) })\n const isLinkValid = computed(\n () =>\n expiresAt.value !== undefined &&\n expiresAt.value.getTime() > now.value.getTime(),\n )\n\n const download = computed(() => {\n const { onDownload } = props\n const documentId = shared.value?.documentId\n return onDownload && documentId\n ? () => onDownload(documentId)\n : undefined\n })\n</script>\n\n<template>\n <div v-if=\"shared\" class=\"pk-tool-share-document\">\n <VvButton\n v-if=\"shared.source === 'url'\"\n :href=\"shared.url\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n icon=\"external-link\"\n icon-position=\"right\"\n :label=\"shared.name\"\n modifiers=\"link\" />\n <template v-else>\n <PkChatbotFilePreview\n :media-type=\"shared.mimeType ?? 'application/octet-stream'\"\n :url=\"shared.url\"\n :filename=\"shared.name\"\n :on-download=\"download\"\n as-file\n show-download />\n <div\n v-if=\"isLinkValid && expiresAt\"\n class=\"flex items-center justify-between gap-sm mt-xs\">\n <span class=\"text-12 text-word-3\">\n {{\n $t('messagePart.shareDocumentValidUntil', {\n date: $d(expiresAt, 'date-time'),\n })\n }}\n </span>\n <VvButton\n :icon=\"copied ? 'ri:check-line' : 'ri:link'\"\n :label=\"\n copied ? $t('action.copied') : $t('action.copyLink')\n \"\n modifiers=\"action-quiet-small\"\n class=\"shrink-0\"\n @click=\"copy(shared.url)\" />\n </div>\n </template>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EA0BI,IAAMmC,IAAQC,GAKR,EAAE,GAAGC,GAAI,GAAGC,MAAOZ,EAAQ,EAAE,UAAU,SAAS,CAAC,GACjD,EAAE,SAAM,cAAWC,EAAa,GAEhCY,IAASnB,QAAe;GAC1B,IAAMoB,IAAOL,EAAM;GAInB,OAAOK,EAAK,UAAU,sBAAsBA,EAAK,QAAQ,MAClDA,EAAK,SACN,KAAA;EACV,CAAC,GAEKC,IAAYrB,QACdmB,EAAO,OAAO,YAAY,IAAI,KAAKA,EAAO,MAAM,SAAS,IAAI,KAAA,CACjE,GAGMG,IAAMC,EAAO,EAAE,YAAY,MAASf,EAAcgB,GAAM,GAAM,EAAE,CAAC,GACjEC,IAAczB,QAEZqB,EAAU,UAAU,KAAA,KACpBA,EAAU,MAAM,QAAQ,IAAIC,EAAI,MAAM,QAAQ,CACtD,GAEMI,IAAW1B,QAAe;GAC5B,IAAM,EAAE,kBAAee,GACjBY,IAAaR,EAAO,OAAO;GACjC,OAAOS,KAAcD,UACTC,EAAWD,CAAU,IAC3B,KAAA;EACV,CAAC;;;GAIU,OAAAR,EAAA,SAAXtC,EAAA,GAAAC,EAsCM,OAtCN6B,GAsCM,CApCQQ,EAAA,MAAO,WAAM,SADvBtC,EAAA,GAAAE,EAQuB8C,GAAA;;IANlB,MAAMV,EAAA,MAAO;IACd,QAAO;IACP,KAAI;IACJ,MAAK;IACL,iBAAc;IACb,OAAOA,EAAA,MAAO;IACf,WAAU;G,mCACdtC,EAAA,GAAAC,EA2BWE,GAAA,EAAA,KAAA,EAAA,GAAA,CA1BPC,EAMoBC,GAAA;IALf,cAAYiC,EAAA,MAAO,YAAQ;IAC3B,KAAKA,EAAA,MAAO;IACZ,UAAUA,EAAA,MAAO;IACjB,eAAaO,EAAA;IACd,WAAA;IACA,iBAAA;;;;;;G,IAEMD,EAAA,SAAeJ,EAAA,SADzBxC,EAAA,GAAAC,EAkBM,OAlBN8B,GAkBM,CAfFzB,EAMO,QANP0B,GAMOzB,EAJCC,EAAA4B,CAAA,CAAE,CAAA,uCAAA,EAA4E,MAAA5B,EAAA6B,CAAA,CAAE,CAACG,EAAA,OAAS,WAAA,E,SAKlGpC,EAOgC4C,GAAA;IAN3B,MAAMxC,EAAAyC,CAAA,IAAM,kBAAA;IACZ,OAAgCzC,EAAAyC,CAAA,IAASzC,EAAA4B,CAAA,CAAE,CAAA,eAAA,IAAoB5B,EAAA4B,CAAA,CAAE,CAAA,iBAAA;IAGlE,WAAU;IACV,OAAM;IACL,SAAK,AAAAc,EAAA,QAAA,MAAE1C,EAAA2C,CAAA,CAAI,CAACb,EAAA,MAAO,GAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PkToolShareDocument-IreRCu-j.js","names":["__unplugin_components_0","_openBlock","_createElementBlock","_createBlock","_Fragment","_createVNode","PkChatbotFilePreview","_createElementVNode","_toDisplayString","_unref","_createCommentVNode","_sfc_main","__exportAll","PkChatbotFilePreview_default","_hoisted_1","_hoisted_2","_hoisted_3","PkToolShareDocument_vue_vue_type_script_setup_true_lang_default","props","__props","$t","$d","useI18n","useClipboard","shared","computed","part","expiresAt","now","useNow","useIntervalFn","tick","isLinkValid","download","documentId","onDownload","_component_VvButton","VvButtonLocalized","openBlock","createElementBlock","createBlock","Fragment","createVNode","createElementVNode","toDisplayString","unref","copied","_cache","copy","createCommentVNode","PkToolShareDocument_exports","PkToolShareDocument_default"],"sources":["../../../../packages/components/src/chat/PkToolShareDocument.vue","../../../../packages/components/src/chat/PkToolShareDocument.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import { computed } from 'vue'\n import { useI18n } from 'vue-i18n'\n import { useClipboard, useIntervalFn, useNow } from '@vueuse/core'\n import PkChatbotFilePreview from './PkChatbotFilePreview.vue'\n\n /** What `shareDocument` returns that the card shows. */\n type SharedDocument = {\n documentId: string\n name: string\n /** `file`: a stored file behind a signed link; `url`: a web page. */\n source: 'file' | 'url'\n mimeType?: string\n url: string\n /** ISO date the signed link stops working; `null` for a web page. */\n expiresAt: string | null\n }\n\n /**\n * A knowledge base document the agent handed over with `shareDocument`.\n * Download goes through `onDownload` when the host gives it: the sources\n * route, authenticated, which keeps working for as long as the document\n * stays with the agent, also after the signed link has expired. The signed\n * link is what \"Copy link\" copies, until it expires. A web page opens at\n * its own address.\n */\n const props = defineProps<{\n part: unknown\n onDownload?: (documentId: string) => void | Promise<void>\n }>()\n\n const { t: $t, d: $d } = useI18n({ useScope: 'global' })\n const { copy, copied } = useClipboard()\n\n const shared = computed(() => {\n const part = props.part as {\n state?: string\n output?: Partial<SharedDocument>\n }\n return part.state === 'output-available' && part.output?.url\n ? (part.output as SharedDocument)\n : undefined\n })\n\n const expiresAt = computed(() =>\n shared.value?.expiresAt ? new Date(shared.value.expiresAt) : undefined,\n )\n // A card left open stops offering the link within a minute of its expiry;\n // the download keeps working.\n const now = useNow({ scheduler: (tick) => useIntervalFn(tick, 60_000) })\n const isLinkValid = computed(\n () =>\n expiresAt.value !== undefined &&\n expiresAt.value.getTime() > now.value.getTime(),\n )\n\n const download = computed(() => {\n const { onDownload } = props\n const documentId = shared.value?.documentId\n return onDownload && documentId\n ? () => onDownload(documentId)\n : undefined\n })\n</script>\n\n<template>\n <div v-if=\"shared\" class=\"pk-tool-share-document\">\n <VvButton\n v-if=\"shared.source === 'url'\"\n :href=\"shared.url\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n icon=\"external-link\"\n icon-position=\"right\"\n :label=\"shared.name\"\n modifiers=\"link\" />\n <template v-else>\n <PkChatbotFilePreview\n :media-type=\"shared.mimeType ?? 'application/octet-stream'\"\n :url=\"shared.url\"\n :filename=\"shared.name\"\n :on-download=\"download\"\n as-file\n show-download />\n <div\n v-if=\"isLinkValid && expiresAt\"\n class=\"flex items-center justify-between gap-sm mt-xs\">\n <span class=\"text-12 text-word-3\">\n {{\n $t('messagePart.shareDocumentValidUntil', {\n date: $d(expiresAt, 'date-time'),\n })\n }}\n </span>\n <VvButton\n :icon=\"copied ? 'ri:check-line' : 'ri:link'\"\n :label=\"\n copied ? $t('action.copied') : $t('action.copyLink')\n \"\n modifiers=\"action-quiet-small\"\n class=\"shrink-0\"\n @click=\"copy(shared.url)\" />\n </div>\n </template>\n </div>\n</template>\n","<script setup lang=\"ts\">\n import { computed } from 'vue'\n import { useI18n } from 'vue-i18n'\n import { useClipboard, useIntervalFn, useNow } from '@vueuse/core'\n import PkChatbotFilePreview from './PkChatbotFilePreview.vue'\n\n /** What `shareDocument` returns that the card shows. */\n type SharedDocument = {\n documentId: string\n name: string\n /** `file`: a stored file behind a signed link; `url`: a web page. */\n source: 'file' | 'url'\n mimeType?: string\n url: string\n /** ISO date the signed link stops working; `null` for a web page. */\n expiresAt: string | null\n }\n\n /**\n * A knowledge base document the agent handed over with `shareDocument`.\n * Download goes through `onDownload` when the host gives it: the sources\n * route, authenticated, which keeps working for as long as the document\n * stays with the agent, also after the signed link has expired. The signed\n * link is what \"Copy link\" copies, until it expires. A web page opens at\n * its own address.\n */\n const props = defineProps<{\n part: unknown\n onDownload?: (documentId: string) => void | Promise<void>\n }>()\n\n const { t: $t, d: $d } = useI18n({ useScope: 'global' })\n const { copy, copied } = useClipboard()\n\n const shared = computed(() => {\n const part = props.part as {\n state?: string\n output?: Partial<SharedDocument>\n }\n return part.state === 'output-available' && part.output?.url\n ? (part.output as SharedDocument)\n : undefined\n })\n\n const expiresAt = computed(() =>\n shared.value?.expiresAt ? new Date(shared.value.expiresAt) : undefined,\n )\n // A card left open stops offering the link within a minute of its expiry;\n // the download keeps working.\n const now = useNow({ scheduler: (tick) => useIntervalFn(tick, 60_000) })\n const isLinkValid = computed(\n () =>\n expiresAt.value !== undefined &&\n expiresAt.value.getTime() > now.value.getTime(),\n )\n\n const download = computed(() => {\n const { onDownload } = props\n const documentId = shared.value?.documentId\n return onDownload && documentId\n ? () => onDownload(documentId)\n : undefined\n })\n</script>\n\n<template>\n <div v-if=\"shared\" class=\"pk-tool-share-document\">\n <VvButton\n v-if=\"shared.source === 'url'\"\n :href=\"shared.url\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n icon=\"external-link\"\n icon-position=\"right\"\n :label=\"shared.name\"\n modifiers=\"link\" />\n <template v-else>\n <PkChatbotFilePreview\n :media-type=\"shared.mimeType ?? 'application/octet-stream'\"\n :url=\"shared.url\"\n :filename=\"shared.name\"\n :on-download=\"download\"\n as-file\n show-download />\n <div\n v-if=\"isLinkValid && expiresAt\"\n class=\"flex items-center justify-between gap-sm mt-xs\">\n <span class=\"text-12 text-word-3\">\n {{\n $t('messagePart.shareDocumentValidUntil', {\n date: $d(expiresAt, 'date-time'),\n })\n }}\n </span>\n <VvButton\n :icon=\"copied ? 'ri:check-line' : 'ri:link'\"\n :label=\"\n copied ? $t('action.copied') : $t('action.copyLink')\n \"\n modifiers=\"action-quiet-small\"\n class=\"shrink-0\"\n @click=\"copy(shared.url)\" />\n </div>\n </template>\n </div>\n</template>\n"],"mappings":";;;;;;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