@coveo/atomic 3.33.0 → 3.33.1-pre.079ffaa71a
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/atomic/_atomic.esm.js +1 -1
- package/dist/atomic/components/analytics-config.js +1 -1
- package/dist/atomic/components/analytics-config.js.map +1 -1
- package/dist/atomic/components/atomic-citation.js.map +1 -1
- package/dist/atomic/components/atomic-ipx-result-link.js.map +1 -1
- package/dist/atomic/components/atomic-quickview-modal2.js.map +1 -1
- package/dist/atomic/components/atomic-result-link.js.map +1 -1
- package/dist/atomic/components/atomic-segmented-facet-scrollable.js.map +1 -1
- package/dist/atomic/components/atomic-smart-snippet-collapse-wrapper2.js.map +1 -1
- package/dist/atomic/components/atomic-smart-snippet-expandable-answer2.js.map +1 -1
- package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +1 -1
- package/dist/atomic/components/components/commerce/atomic-product-text/atomic-product-text.js +4 -7
- package/dist/atomic/components/decorators/with-tailwind-styles.js +0 -2
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/atomic/p-1442d3c3.entry.js.map +1 -1
- package/dist/atomic/{p-75b863ea.entry.js → p-17d54df8.entry.js} +2 -2
- package/dist/atomic/{p-ca0a32dc.entry.js → p-453572e0.entry.js} +2 -2
- package/dist/atomic/p-6083c9be.entry.js.map +1 -1
- package/dist/atomic/{p-9da1c516.entry.js → p-735918bb.entry.js} +2 -2
- package/dist/atomic/p-8c80991f.entry.js.map +1 -1
- package/dist/atomic/{p-ba67a16b.js → p-94c8d5f0.js} +2 -2
- package/dist/atomic/{p-ba67a16b.js.map → p-94c8d5f0.js.map} +1 -1
- package/dist/atomic/p-d3e1a9aa.entry.js.map +1 -1
- package/dist/atomic/p-dc89e560.entry.js.map +1 -1
- package/dist/atomic/p-e27e1e46.entry.js.map +1 -1
- package/dist/cjs/{analytics-config-f34a68ee.js → analytics-config-b3156ea7.js} +2 -2
- package/dist/cjs/analytics-config-b3156ea7.js.map +1 -0
- package/dist/cjs/atomic-citation.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-insight-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-ipx-result-link.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-quickview-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-result-link.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-search-interface.cjs.entry.js +1 -1
- package/dist/cjs/atomic-segmented-facet-scrollable.cjs.entry.js.map +1 -1
- package/dist/cjs/atomic-smart-snippet-collapse-wrapper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/version.cjs.js +1 -1
- package/dist/esm/{analytics-config-672b6eba.js → analytics-config-2ebcf771.js} +2 -2
- package/dist/esm/analytics-config-2ebcf771.js.map +1 -0
- package/dist/esm/atomic-citation.entry.js.map +1 -1
- package/dist/esm/atomic-insight-interface.entry.js +1 -1
- package/dist/esm/atomic-ipx-result-link.entry.js.map +1 -1
- package/dist/esm/atomic-quickview-modal.entry.js.map +1 -1
- package/dist/esm/atomic-recs-interface.entry.js +1 -1
- package/dist/esm/atomic-result-link.entry.js.map +1 -1
- package/dist/esm/atomic-search-interface.entry.js +1 -1
- package/dist/esm/atomic-segmented-facet-scrollable.entry.js.map +1 -1
- package/dist/esm/atomic-smart-snippet-collapse-wrapper_2.entry.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +1 -1
- package/dist/types/components/commerce/atomic-product-text/atomic-product-text.d.ts +1 -1
- package/docs/atomic-docs.json +1 -1
- package/package.json +1 -1
- package/dist/atomic/components/global/tailwind.default.css.js +0 -2
- package/dist/atomic/components/global/tailwind.properties.css.js +0 -2
- package/dist/atomic/components/themes/accessible.css.js +0 -2
- package/dist/atomic/components/themes/coveo.css.js +0 -2
- package/dist/atomic/components/utils/tailwind-utilities/aspect-square.tw.css.js +0 -2
- package/dist/atomic/components/utils/tailwind-utilities/components.tw.css.js +0 -3
- package/dist/atomic/components/utils/tailwind-utilities/hide-scrollbar.tw.css.js +0 -2
- package/dist/atomic/components/utils/tailwind-utilities/link-style.tw.css.js +0 -3
- package/dist/atomic/components/utils/tailwind-utilities/min-lines.tw.css.js +0 -2
- package/dist/atomic/components/utils/tailwind-utilities/set-font-size.tw.css.js +0 -2
- package/dist/atomic/components/utils/tailwind-utilities/utilities.tw.css.js +0 -3
- package/dist/cjs/analytics-config-f34a68ee.js.map +0 -1
- package/dist/esm/analytics-config-672b6eba.js.map +0 -1
- /package/dist/atomic/{p-75b863ea.entry.js.map → p-17d54df8.entry.js.map} +0 -0
- /package/dist/atomic/{p-ca0a32dc.entry.js.map → p-453572e0.entry.js.map} +0 -0
- /package/dist/atomic/{p-9da1c516.entry.js.map → p-735918bb.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["atomicIpxResultLinkCss","AtomicIpxResultLinkStyle0","AtomicIPXResultLink","initialize","this","host","dispatchEvent","buildCustomEvent","stopPropagation","actionsHistoryActions","loadIPXActionsHistoryActions","bindings","engine","connectedCallback","slotName","hasDefaultSlot","getDefaultSlotFromHost","linkAttributes","getAttributesFromLinkSlot","onSelect","resultPermanentId","result","raw","permanentid","action","addPageViewEntryInActionsHistory","dispatch","interactiveResult","select","render","href","isUndefined","hrefTemplate","clickUri","buildStringTemplateFromResult","h","LinkWithItemAnalytics","key","onBeginDelayedSelect","beginDelayedSelect","onCancelPendingSelect","cancelPendingSelect","attributes","field","default","__decorate","InitializeBindings","ResultContext","InteractiveResultContext"],"sources":["src/components/ipx/atomic-ipx-result-link/atomic-ipx-result-link.pcss?tag=atomic-ipx-result-link","src/components/ipx/atomic-ipx-result-link/atomic-ipx-result-link.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n@
|
|
1
|
+
{"version":3,"names":["atomicIpxResultLinkCss","AtomicIpxResultLinkStyle0","AtomicIPXResultLink","initialize","this","host","dispatchEvent","buildCustomEvent","stopPropagation","actionsHistoryActions","loadIPXActionsHistoryActions","bindings","engine","connectedCallback","slotName","hasDefaultSlot","getDefaultSlotFromHost","linkAttributes","getAttributesFromLinkSlot","onSelect","resultPermanentId","result","raw","permanentid","action","addPageViewEntryInActionsHistory","dispatch","interactiveResult","select","render","href","isUndefined","hrefTemplate","clickUri","buildStringTemplateFromResult","h","LinkWithItemAnalytics","key","onBeginDelayedSelect","beginDelayedSelect","onCancelPendingSelect","cancelPendingSelect","attributes","field","default","__decorate","InitializeBindings","ResultContext","InteractiveResultContext"],"sources":["src/components/ipx/atomic-ipx-result-link/atomic-ipx-result-link.pcss?tag=atomic-ipx-result-link","src/components/ipx/atomic-ipx-result-link/atomic-ipx-result-link.tsx"],"sourcesContent":["@import '../../../global/global.pcss';\n@reference '../../../utils/tailwind-utilities/link-style.css';\n\natomic-ipx-result-link {\n a {\n @apply link-style;\n }\n}\n","import {isUndefined} from '@coveo/bueno';\nimport {\n IPXActionsHistoryActionCreators,\n InteractiveResult,\n loadIPXActionsHistoryActions,\n} from '@coveo/headless';\nimport {Component, h, Prop, Element} from '@stencil/core';\nimport {buildCustomEvent} from '../../../utils/event-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {buildStringTemplateFromResult} from '../../../utils/result-utils';\nimport {getDefaultSlotFromHost} from '../../../utils/slot-utils';\nimport {AnyUnfoldedItem} from '../../common/item-list/unfolded-item';\nimport {getAttributesFromLinkSlot} from '../../common/item-link/attributes-slot';\nimport {LinkWithItemAnalytics} from '../../common/item-link/stencil-item-link';\nimport {RecsBindings} from '../../recommendations/atomic-recs-interface/atomic-recs-interface';\nimport {\n ResultContext,\n InteractiveResultContext,\n} from '../../search/result-template-components/result-template-decorators';\n\n/**\n * The `atomic-ipx-result-link` component automatically transforms a search result title into a clickable link that points to the original item. It is an experimental internal component not intended for general use.\n * @slot default - Lets you display alternative content inside the link\n * @slot attributes - Lets you pass [attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) down to the link element, overriding other attributes, to be used exclusively with an \"a\" tag such as `<a slot=\"attributes\" target=\"_blank\" download></a>`.\n * @internal\n */\n@Component({\n tag: 'atomic-ipx-result-link',\n styleUrl: 'atomic-ipx-result-link.pcss',\n shadow: false,\n})\nexport class AtomicIPXResultLink\n implements InitializableComponent<RecsBindings>\n{\n @InitializeBindings() public bindings!: RecsBindings;\n public error!: Error;\n\n @ResultContext() private result!: AnyUnfoldedItem;\n @InteractiveResultContext() private interactiveResult!: InteractiveResult;\n\n @Element() private host!: HTMLElement;\n\n /**\n * Specifies a template literal from which to generate the `href` attribute value (see\n * [Template literals](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Template_literals)).\n *\n * The template literal can reference any number of result properties from the parent result. It can also reference the window object.\n *\n * For example, the following markup generates an `href` value such as `http://uri.com?id=itemTitle`, using the result's `clickUri` and `itemtitle` fields.\n * ```html\n * <atomic-ipx-result-link href-template='${clickUri}?id=${raw.itemtitle}'></atomic-ipx-result-link>\n * ```\n */\n @Prop({reflect: true}) hrefTemplate?: string;\n\n private hasDefaultSlot!: boolean;\n private linkAttributes?: Attr[];\n private stopPropagation?: boolean;\n private actionsHistoryActions?: IPXActionsHistoryActionCreators;\n\n public initialize() {\n this.host.dispatchEvent(\n buildCustomEvent(\n 'atomic/resolveStopPropagation',\n (stopPropagation: boolean) => {\n this.stopPropagation = stopPropagation;\n }\n )\n );\n this.actionsHistoryActions = loadIPXActionsHistoryActions(\n this.bindings.engine\n );\n }\n\n public connectedCallback() {\n const slotName = 'attributes';\n this.hasDefaultSlot = !!getDefaultSlotFromHost(this.host);\n this.linkAttributes = getAttributesFromLinkSlot(this.host, slotName);\n }\n\n public async onSelect() {\n const resultPermanentId = this.result.raw.permanentid;\n if (resultPermanentId && this.actionsHistoryActions) {\n const action =\n this.actionsHistoryActions.addPageViewEntryInActionsHistory(\n resultPermanentId\n );\n this.bindings.engine.dispatch(action);\n }\n this.interactiveResult.select();\n }\n\n public render() {\n const href = isUndefined(this.hrefTemplate)\n ? this.result.clickUri\n : buildStringTemplateFromResult(\n this.hrefTemplate,\n this.result,\n this.bindings\n );\n\n return (\n <LinkWithItemAnalytics\n href={href}\n onSelect={() => this.onSelect()}\n onBeginDelayedSelect={() => this.interactiveResult.beginDelayedSelect()}\n onCancelPendingSelect={() =>\n this.interactiveResult.cancelPendingSelect()\n }\n attributes={this.linkAttributes}\n stopPropagation={this.stopPropagation}\n >\n {this.hasDefaultSlot ? (\n <slot />\n ) : (\n <atomic-result-text\n field=\"title\"\n default=\"no-title\"\n ></atomic-result-text>\n )}\n </LinkWithItemAnalytics>\n );\n }\n}\n"],"mappings":"uhBAAA,MAAMA,EAAyB,+piEAC/B,MAAAC,EAAeD,E,iXCiCFE,EAAmB,M,qDA6BvB,UAAAC,GACLC,KAAKC,KAAKC,cACRC,EACE,iCACCC,IACCJ,KAAKI,gBAAkBA,CAAe,KAI5CJ,KAAKK,sBAAwBC,EAC3BN,KAAKO,SAASC,O,CAIX,iBAAAC,GACL,MAAMC,EAAW,aACjBV,KAAKW,iBAAmBC,EAAuBZ,KAAKC,MACpDD,KAAKa,eAAiBC,EAA0Bd,KAAKC,KAAMS,E,CAGtD,cAAMK,GACX,MAAMC,EAAoBhB,KAAKiB,OAAOC,IAAIC,YAC1C,GAAIH,GAAqBhB,KAAKK,sBAAuB,CACnD,MAAMe,EACJpB,KAAKK,sBAAsBgB,iCACzBL,GAEJhB,KAAKO,SAASC,OAAOc,SAASF,E,CAEhCpB,KAAKuB,kBAAkBC,Q,CAGlB,MAAAC,GACL,MAAMC,EAAOC,EAAY3B,KAAK4B,cAC1B5B,KAAKiB,OAAOY,SACZC,EACE9B,KAAK4B,aACL5B,KAAKiB,OACLjB,KAAKO,UAGX,OACEwB,EAACC,EAAqB,CAAAC,IAAA,2CACpBP,KAAMA,EACNX,SAAU,IAAMf,KAAKe,WACrBmB,qBAAsB,IAAMlC,KAAKuB,kBAAkBY,qBACnDC,sBAAuB,IACrBpC,KAAKuB,kBAAkBc,sBAEzBC,WAAYtC,KAAKa,eACjBT,gBAAiBJ,KAAKI,iBAErBJ,KAAKW,eACJoB,EAAA,aAEAA,EAAA,sBACEQ,MAAM,QACNC,QAAQ,a,6BAnFWC,EAAA,CAA5BC,K,+BAGwBD,EAAA,CAAxBE,K,6BACmCF,EAAA,CAAnCG,K","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["atomicResultLinkCss","AtomicResultLinkStyle0","AtomicResultLink","initialize","this","host","dispatchEvent","buildCustomEvent","stopPropagation","connectedCallback","slotName","hasDefaultSlot","getDefaultSlotFromHost","linkAttributes","getAttributesFromLinkSlot","render","href","isUndefined","hrefTemplate","result","clickUri","buildStringTemplateFromResult","bindings","h","LinkWithItemAnalytics","key","onSelect","interactiveResult","select","onBeginDelayedSelect","beginDelayedSelect","onCancelPendingSelect","cancelPendingSelect","attributes","field","default","__decorate","InitializeBindings","ResultContext","InteractiveResultContext"],"sources":["src/components/search/result-template-components/atomic-result-link/atomic-result-link.pcss?tag=atomic-result-link","src/components/search/result-template-components/atomic-result-link/atomic-result-link.tsx"],"sourcesContent":["@import '../../../../global/global.pcss';\n@
|
|
1
|
+
{"version":3,"names":["atomicResultLinkCss","AtomicResultLinkStyle0","AtomicResultLink","initialize","this","host","dispatchEvent","buildCustomEvent","stopPropagation","connectedCallback","slotName","hasDefaultSlot","getDefaultSlotFromHost","linkAttributes","getAttributesFromLinkSlot","render","href","isUndefined","hrefTemplate","result","clickUri","buildStringTemplateFromResult","bindings","h","LinkWithItemAnalytics","key","onSelect","interactiveResult","select","onBeginDelayedSelect","beginDelayedSelect","onCancelPendingSelect","cancelPendingSelect","attributes","field","default","__decorate","InitializeBindings","ResultContext","InteractiveResultContext"],"sources":["src/components/search/result-template-components/atomic-result-link/atomic-result-link.pcss?tag=atomic-result-link","src/components/search/result-template-components/atomic-result-link/atomic-result-link.tsx"],"sourcesContent":["@import '../../../../global/global.pcss';\n@reference '../../../../utils/tailwind-utilities/link-style.css';\natomic-result-link {\n a {\n @apply link-style;\n }\n}\n","import {isUndefined} from '@coveo/bueno';\nimport {InteractiveResult} from '@coveo/headless';\nimport {Component, h, Prop, Element} from '@stencil/core';\nimport {buildCustomEvent} from '../../../../utils/event-utils';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../../utils/initialization-utils';\nimport {buildStringTemplateFromResult} from '../../../../utils/result-utils';\nimport {getDefaultSlotFromHost} from '../../../../utils/slot-utils';\nimport {AnyUnfoldedItem} from '../../../common/item-list/unfolded-item';\nimport {getAttributesFromLinkSlot} from '../../../common/item-link/attributes-slot';\nimport {LinkWithItemAnalytics} from '../../../common/item-link/stencil-item-link';\nimport {Bindings} from '../../atomic-search-interface/atomic-search-interface';\nimport {\n InteractiveResultContext,\n ResultContext,\n} from '../result-template-decorators';\n\n/**\n * The `atomic-result-link` component automatically transforms a search result title into a clickable link that points to the original item.\n * @slot default - Lets you display alternative content inside the link\n * @slot attributes - Lets you pass [attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attributes) down to the link element, overriding other attributes, to be used exclusively with an \"a\" tag such as `<a slot=\"attributes\" target=\"_blank\" download></a>`.\n */\n@Component({\n tag: 'atomic-result-link',\n styleUrl: 'atomic-result-link.pcss',\n shadow: false,\n})\nexport class AtomicResultLink implements InitializableComponent {\n @InitializeBindings() public bindings!: Bindings;\n public error!: Error;\n\n @ResultContext() private result!: AnyUnfoldedItem;\n @InteractiveResultContext() private interactiveResult!: InteractiveResult;\n\n @Element() private host!: HTMLElement;\n\n /**\n * Specifies a template literal from which to generate the `href` attribute value (see\n * [Template literals](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Template_literals)).\n *\n * The template literal can reference any number of result properties from the parent result. It can also reference the window object.\n *\n * For example, the following markup generates an `href` value such as `http://uri.com?id=itemTitle`, using the result's `clickUri` and `itemtitle` fields.\n * ```html\n * <atomic-result-link href-template='${clickUri}?id=${raw.itemtitle}'></atomic-result-link>\n * ```\n */\n @Prop({reflect: true}) hrefTemplate?: string;\n\n private hasDefaultSlot!: boolean;\n private linkAttributes?: Attr[];\n private stopPropagation?: boolean;\n\n public initialize() {\n this.host.dispatchEvent(\n buildCustomEvent(\n 'atomic/resolveStopPropagation',\n (stopPropagation: boolean) => {\n this.stopPropagation = stopPropagation;\n }\n )\n );\n }\n\n public connectedCallback() {\n const slotName = 'attributes';\n this.hasDefaultSlot = !!getDefaultSlotFromHost(this.host);\n this.linkAttributes = getAttributesFromLinkSlot(this.host, slotName);\n }\n\n public render() {\n const href = isUndefined(this.hrefTemplate)\n ? this.result.clickUri\n : buildStringTemplateFromResult(\n this.hrefTemplate,\n this.result,\n this.bindings\n );\n\n return (\n <LinkWithItemAnalytics\n href={href}\n onSelect={() => this.interactiveResult.select()}\n onBeginDelayedSelect={() => this.interactiveResult.beginDelayedSelect()}\n onCancelPendingSelect={() =>\n this.interactiveResult.cancelPendingSelect()\n }\n attributes={this.linkAttributes}\n stopPropagation={this.stopPropagation}\n >\n {this.hasDefaultSlot ? (\n <slot />\n ) : (\n <atomic-result-text\n field=\"title\"\n default=\"no-title\"\n ></atomic-result-text>\n )}\n </LinkWithItemAnalytics>\n );\n }\n}\n"],"mappings":"gfAAA,MAAMA,EAAsB,mmiEAC5B,MAAAC,EAAeD,E,iXC4BFE,EAAgB,M,qDA0BpB,UAAAC,GACLC,KAAKC,KAAKC,cACRC,EACE,iCACCC,IACCJ,KAAKI,gBAAkBA,CAAe,I,CAMvC,iBAAAC,GACL,MAAMC,EAAW,aACjBN,KAAKO,iBAAmBC,EAAuBR,KAAKC,MACpDD,KAAKS,eAAiBC,EAA0BV,KAAKC,KAAMK,E,CAGtD,MAAAK,GACL,MAAMC,EAAOC,EAAYb,KAAKc,cAC1Bd,KAAKe,OAAOC,SACZC,EACEjB,KAAKc,aACLd,KAAKe,OACLf,KAAKkB,UAGX,OACEC,EAACC,EAAqB,CAAAC,IAAA,2CACpBT,KAAMA,EACNU,SAAU,IAAMtB,KAAKuB,kBAAkBC,SACvCC,qBAAsB,IAAMzB,KAAKuB,kBAAkBG,qBACnDC,sBAAuB,IACrB3B,KAAKuB,kBAAkBK,sBAEzBC,WAAY7B,KAAKS,eACjBL,gBAAiBJ,KAAKI,iBAErBJ,KAAKO,eACJY,EAAA,aAEAA,EAAA,sBACEW,MAAM,QACNC,QAAQ,a,6BAnEWC,EAAA,CAA5BC,K,+BAGwBD,EAAA,CAAxBE,K,6BACmCF,EAAA,CAAnCG,K","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["toPaddingObject","padding","state","Object","assign","rects","placement","mergePaddingObject","expandToHashMap","basePlacements","arrow","_ref","_state$modifiersData$","name","options","arrowElement","elements","popperOffsets","modifiersData","basePlacement","getBasePlacement","axis","getMainAxisFromPlacement","isVertical","left","right","indexOf","len","paddingObject","arrowRect","getLayoutRect","minProp","top","maxProp","bottom","endDiff","reference","popper","startDiff","arrowOffsetParent","getOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","min","max","center","offset","within","axisProp","centerOffset","effect","_ref2","_options$element","element","querySelector","contains","arrow$1","enabled","phase","fn","requires","requiresIfExists","hash","getOppositePlacement","replace","matched","start","end","getOppositeVariationPlacement","computeAutoPlacement","_options","boundary","rootBoundary","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","variation","getVariation","placements","variationPlacements","filter","allowedPlacements","length","overflows","reduce","acc","detectOverflow","keys","sort","a","b","getExpandedFallbackPlacements","auto","oppositePlacement","flip","_skip","_options$mainAxis","mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","altBoundary","_options$flipVariatio","preferredPlacement","isBasePlacement","concat","referenceRect","popperRect","checksMap","Map","makeFallbackChecks","firstFittingPlacement","i","_basePlacement","isStartVariation","overflow","mainVariationSide","altVariationSide","checks","push","every","check","set","numberOfChecks","_loop","_i","fittingPlacement","find","get","slice","_ret","reset","flip$1","data","getSideOffsets","rect","preventedOffsets","x","y","height","width","isAnySideFullyClipped","some","side","hide","preventOverflow","referenceOverflow","elementContext","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","attributes","hide$1","distanceAndSkiddingToXY","invertDistance","skidding","distance","_options$offset","_data$state$placement","offset$1","defaultModifiers","eventListeners","computeStyles","applyStyles","createPopper","popperGenerator","extractTextToHighlight","text","trim","sentenceRegex","fallbackWordCount","sentences","match","split","join","generateTextFragmentUrl","uri","filetype","highlight","encodedTextFragment","encodeURIComponent","generatePdfPageUrl","pageNumber","atomicCitationCss","AtomicCitationStyle0","AtomicCitation","this","disableCitationAnchoring","isOpen","hoverAnalyticsTimeout","hoverDebounceTimeoutMs","openPopover","closePopover","clearTimeout","hoverTimeout","delayedPopoverOpen","setTimeout","sendHoverAnalytics","hoverStart","Date","getTime","difference","sendHoverEndEvent","undefined","componentDidRender","popperInstance","citationRef","popupRef","modifiers","componentDidUpdate","forceUpdate","getTruncatedText","citation","anchorUrl","renderPopover","h","part","class","ref","el","role","Heading","level","title","render","key","LinkWithItemAnalytics","href","clickUri","fields","target","rel","className","onSelect","interactiveCitation","select","onBeginDelayedSelect","beginDelayedSelect","onCancelPendingSelect","cancelPendingSelect","stopPropagation","onMouseLeave","onMouseOver","onFocus","onBlur"],"sources":["../../node_modules/@popperjs/core/lib/modifiers/arrow.js","../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../node_modules/@popperjs/core/lib/modifiers/flip.js","../../node_modules/@popperjs/core/lib/modifiers/hide.js","../../node_modules/@popperjs/core/lib/modifiers/offset.js","../../node_modules/@popperjs/core/lib/popper.js","src/components/common/generated-answer/atomic-citation/citation-anchoring-utils.ts","src/components/common/generated-answer/atomic-citation/atomic-citation.pcss?tag=atomic-citation","src/components/common/generated-answer/atomic-citation/atomic-citation.tsx"],"sourcesContent":["import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","export function extractTextToHighlight(text: string) {\n text = text.trim();\n const sentenceRegex =\n /(?<=^|\\p{P}\\s)\\p{P}?\\p{Lu}.*?[.!?]+(?=\\s+(?:\\p{Lu}|\\d)|$)/gu;\n const fallbackWordCount = 5;\n const sentences = text.match(sentenceRegex);\n if (sentences?.length) {\n return sentences[0].trim();\n }\n return text.split(/\\s+/).slice(0, fallbackWordCount).join(' ');\n}\n\nexport function generateTextFragmentUrl(\n uri: string,\n text?: string,\n filetype?: string\n) {\n if (filetype !== 'html' || !text) {\n return uri;\n }\n const highlight = extractTextToHighlight(text);\n const encodedTextFragment = encodeURIComponent(highlight).replace(\n /-/g,\n '%2D'\n );\n return `${uri}#:~:text=${encodedTextFragment}`;\n}\n\nexport function generatePdfPageUrl(uri: string, pageNumber?: number) {\n if (!pageNumber || pageNumber <= 0) {\n return uri;\n }\n return `${uri}#page=${pageNumber}`;\n}\n","@import '../../../../global/global.pcss';\n\n@import '../../../../utils/tailwind-utilities/set-font-size.tw.css';\n\n[part='citation'] {\n --height: 2.2em;\n --index-height: 1.1em;\n --max-citation-width: 400px;\n\n max-width: var(--max-citation-width);\n height: var(--height);\n}\n\n[part='citation-popover'] {\n --popover-width: 350px;\n\n width: var(--popover-width);\n\n p {\n @apply set-font-size-sm;\n }\n}\n","import {GeneratedAnswerCitation, InteractiveCitation} from '@coveo/headless';\nimport {\n createPopper,\n preventOverflow,\n Instance as PopperInstance,\n} from '@popperjs/core';\nimport {Component, h, State, Prop, Element, Watch} from '@stencil/core';\nimport {LinkWithItemAnalytics} from '../../item-link/stencil-item-link';\nimport {Heading} from '../../stencil-heading';\nimport {generateTextFragmentUrl, generatePdfPageUrl} from './citation-anchoring-utils';\n\n/**\n * @internal\n */\n@Component({\n tag: 'atomic-citation',\n styleUrl: 'atomic-citation.pcss',\n})\nexport class AtomicCitation {\n @Element() public host!: HTMLElement;\n\n /**\n * The citation item information.\n */\n @Prop() citation!: GeneratedAnswerCitation;\n /**\n * The citation index.\n */\n @Prop() index!: number;\n /**\n * Callback function invoked when the user stops hovering over a citation. `citationHoverTimeMs` is the amount of time over which the citation has been hovered.\n */\n @Prop() sendHoverEndEvent!: (citationHoverTimeMs: number) => void;\n /**\n * An `InteractiveCitation` controller instance. It is used when the user interacts with the citation by selecting or hovering over it.\n */\n @Prop() interactiveCitation!: InteractiveCitation;\n /**\n * Option to disable citation anchoring.\n * @default false\n */\n @Prop() disableCitationAnchoring: boolean = false;\n\n @State() public isOpen = false;\n\n private citationRef!: HTMLElement;\n private popupRef!: HTMLElement;\n private popperInstance?: PopperInstance;\n private stopPropagation?: boolean;\n\n private hoverStart?: number;\n private hoverAnalyticsTimeout = 1000;\n\n private hoverTimeout?: ReturnType<typeof setTimeout>;\n private hoverDebounceTimeoutMs = 200;\n\n @Watch('isOpen')\n sendHoverAnalytics() {\n if (this.isOpen) {\n this.hoverStart = new Date().getTime();\n return;\n }\n if (!this.hoverStart) {\n return;\n }\n const difference = new Date().getTime() - this.hoverStart;\n if (difference > this.hoverAnalyticsTimeout) {\n this.sendHoverEndEvent(difference);\n }\n this.hoverStart = undefined;\n }\n\n public componentDidRender() {\n if (this.popperInstance || !this.citationRef || !this.popupRef) {\n return;\n }\n\n this.popperInstance = createPopper(this.citationRef, this.popupRef, {\n placement: 'top-start',\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 6],\n },\n },\n preventOverflow,\n ],\n });\n }\n\n public componentDidUpdate() {\n this.popperInstance?.forceUpdate();\n }\n\n private getTruncatedText() {\n return (\n this.citation.text &&\n `${this.citation.text?.trim().slice(0, 200)}${\n this.citation.text.length > 200 ? '...' : ''\n }`\n );\n }\n\n private anchorUrl(\n uri: string,\n text?: string,\n filetype?: string, \n pageNumber?: number\n ) {\n if (this.disableCitationAnchoring) {\n return uri;\n }\n\n switch (filetype) {\n case 'html':\n return generateTextFragmentUrl(uri, text, filetype);\n case 'pdf':\n return generatePdfPageUrl(uri, pageNumber);\n default:\n return uri;\n }\n }\n\n private openPopover = () => {\n this.isOpen = true;\n };\n\n private closePopover = () => {\n clearTimeout(this.hoverTimeout);\n this.isOpen = false;\n };\n\n private delayedPopoverOpen = () => {\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = setTimeout(\n this.openPopover,\n this.hoverDebounceTimeoutMs\n );\n };\n\n private renderPopover() {\n return (\n <div\n part=\"citation-popover\"\n class={`border-neutral bg-background z-10 rounded-md border p-4 shadow ${\n this.isOpen ? 'desktop-only:flex' : 'hidden'\n } mobile-only:hidden flex-col gap-3`}\n ref={(el) => (this.popupRef = el!)}\n role=\"dialog\"\n >\n <div class=\"text-neutral-dark truncate text-sm\">\n {this.citation.uri}\n </div>\n <Heading level={0} class=\"text-md font-bold\">\n {this.citation.title}\n </Heading>\n <p class=\"text-on-background text-sm\">{this.getTruncatedText()}</p>\n </div>\n );\n }\n\n public render() {\n return (\n <div class=\"relative\">\n <LinkWithItemAnalytics\n href={this.anchorUrl(\n this.citation.clickUri ?? this.citation.uri,\n this.citation.text,\n this.citation.fields?.filetype,\n )}\n ref={(el) => (this.citationRef = el!)}\n part=\"citation\"\n target=\"_blank\"\n rel=\"noopener\"\n aria-haspopup=\"dialog\"\n className=\"bg-background btn-outline-primary border-neutral text-on-background flex items-center rounded-full border p-1\"\n onSelect={() => this.interactiveCitation.select()}\n onBeginDelayedSelect={() =>\n this.interactiveCitation.beginDelayedSelect()\n }\n onCancelPendingSelect={() =>\n this.interactiveCitation.cancelPendingSelect()\n }\n stopPropagation={this.stopPropagation}\n onMouseLeave={this.closePopover}\n onMouseOver={this.delayedPopoverOpen}\n onFocus={this.openPopover}\n onBlur={this.closePopover}\n >\n <span class=\"citation-title mx-1 truncate\">\n {this.citation.title}\n </span>\n </LinkWithItemAnalytics>\n {this.renderPopover()}\n </div>\n );\n }\n}\n"],"mappings":"+UAUA,IAAIA,EAAkB,SAASA,EAAgBC,EAASC,GACtDD,SAAiBA,IAAY,WAAaA,EAAQE,OAAOC,OAAO,GAAIF,EAAMG,MAAO,CAC/EC,UAAWJ,EAAMI,aACbL,EACN,OAAOM,SAA0BN,IAAY,SAAWA,EAAUO,EAAgBP,EAASQ,GAC7F,EAEA,SAASC,EAAMC,GACb,IAAIC,EAEJ,IAAIV,EAAQS,EAAKT,MACbW,EAAOF,EAAKE,KACZC,EAAUH,EAAKG,QACnB,IAAIC,EAAeb,EAAMc,SAASN,MAClC,IAAIO,EAAgBf,EAAMgB,cAAcD,cACxC,IAAIE,EAAgBC,EAAiBlB,EAAMI,WAC3C,IAAIe,EAAOC,EAAyBH,GACpC,IAAII,EAAa,CAACC,EAAMC,GAAOC,QAAQP,IAAkB,EACzD,IAAIQ,EAAMJ,EAAa,SAAW,QAElC,IAAKR,IAAiBE,EAAe,CACnC,MACJ,CAEE,IAAIW,EAAgB5B,EAAgBc,EAAQb,QAASC,GACrD,IAAI2B,EAAYC,EAAcf,GAC9B,IAAIgB,EAAUV,IAAS,IAAMW,EAAMR,EACnC,IAAIS,EAAUZ,IAAS,IAAMa,EAAST,EACtC,IAAIU,EAAUjC,EAAMG,MAAM+B,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MAAAa,GACL,OACET,EAAA,OAAAU,IAAA,2CAAKR,MAAM,YACTF,EAACW,EAAqB,CAAAD,IAAA,2CACpBE,KAAMzC,KAAK2B,UACT3B,KAAK0B,SAASgB,UAAY1C,KAAK0B,SAASpC,IACxCU,KAAK0B,SAAS7C,KACdmB,KAAK0B,SAASiB,QAAQpD,UAExByC,IAAMC,GAAQjC,KAAKoB,YAAca,EACjCH,KAAK,WACLc,OAAO,SACPC,IAAI,WAAU,gBACA,SACdC,UAAU,gHACVC,SAAU,IAAM/C,KAAKgD,oBAAoBC,SACzCC,qBAAsB,IACpBlD,KAAKgD,oBAAoBG,qBAE3BC,sBAAuB,IACrBpD,KAAKgD,oBAAoBK,sBAE3BC,gBAAiBtD,KAAKsD,gBACtBC,aAAcvD,KAAKM,aACnBkD,YAAaxD,KAAKS,mBAClBgD,QAASzD,KAAKK,YACdqD,OAAQ1D,KAAKM,cAEbuB,EAAA,QAAAU,IAAA,2CAAMR,MAAM,gCACT/B,KAAK0B,SAASW,QAGlBrC,KAAK4B,gB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["toPaddingObject","padding","state","Object","assign","rects","placement","mergePaddingObject","expandToHashMap","basePlacements","arrow","_ref","_state$modifiersData$","name","options","arrowElement","elements","popperOffsets","modifiersData","basePlacement","getBasePlacement","axis","getMainAxisFromPlacement","isVertical","left","right","indexOf","len","paddingObject","arrowRect","getLayoutRect","minProp","top","maxProp","bottom","endDiff","reference","popper","startDiff","arrowOffsetParent","getOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","min","max","center","offset","within","axisProp","centerOffset","effect","_ref2","_options$element","element","querySelector","contains","arrow$1","enabled","phase","fn","requires","requiresIfExists","hash","getOppositePlacement","replace","matched","start","end","getOppositeVariationPlacement","computeAutoPlacement","_options","boundary","rootBoundary","flipVariations","_options$allowedAutoP","allowedAutoPlacements","allPlacements","variation","getVariation","placements","variationPlacements","filter","allowedPlacements","length","overflows","reduce","acc","detectOverflow","keys","sort","a","b","getExpandedFallbackPlacements","auto","oppositePlacement","flip","_skip","_options$mainAxis","mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","altBoundary","_options$flipVariatio","preferredPlacement","isBasePlacement","concat","referenceRect","popperRect","checksMap","Map","makeFallbackChecks","firstFittingPlacement","i","_basePlacement","isStartVariation","overflow","mainVariationSide","altVariationSide","checks","push","every","check","set","numberOfChecks","_loop","_i","fittingPlacement","find","get","slice","_ret","reset","flip$1","data","getSideOffsets","rect","preventedOffsets","x","y","height","width","isAnySideFullyClipped","some","side","hide","preventOverflow","referenceOverflow","elementContext","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","attributes","hide$1","distanceAndSkiddingToXY","invertDistance","skidding","distance","_options$offset","_data$state$placement","offset$1","defaultModifiers","eventListeners","computeStyles","applyStyles","createPopper","popperGenerator","extractTextToHighlight","text","trim","sentenceRegex","fallbackWordCount","sentences","match","split","join","generateTextFragmentUrl","uri","filetype","highlight","encodedTextFragment","encodeURIComponent","generatePdfPageUrl","pageNumber","atomicCitationCss","AtomicCitationStyle0","AtomicCitation","this","disableCitationAnchoring","isOpen","hoverAnalyticsTimeout","hoverDebounceTimeoutMs","openPopover","closePopover","clearTimeout","hoverTimeout","delayedPopoverOpen","setTimeout","sendHoverAnalytics","hoverStart","Date","getTime","difference","sendHoverEndEvent","undefined","componentDidRender","popperInstance","citationRef","popupRef","modifiers","componentDidUpdate","forceUpdate","getTruncatedText","citation","anchorUrl","renderPopover","h","part","class","ref","el","role","Heading","level","title","render","key","LinkWithItemAnalytics","href","clickUri","fields","target","rel","className","onSelect","interactiveCitation","select","onBeginDelayedSelect","beginDelayedSelect","onCancelPendingSelect","cancelPendingSelect","stopPropagation","onMouseLeave","onMouseOver","onFocus","onBlur"],"sources":["../../node_modules/@popperjs/core/lib/modifiers/arrow.js","../../node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","../../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","../../node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","../../node_modules/@popperjs/core/lib/modifiers/flip.js","../../node_modules/@popperjs/core/lib/modifiers/hide.js","../../node_modules/@popperjs/core/lib/modifiers/offset.js","../../node_modules/@popperjs/core/lib/popper.js","src/components/common/generated-answer/atomic-citation/citation-anchoring-utils.ts","src/components/common/generated-answer/atomic-citation/atomic-citation.pcss?tag=atomic-citation","src/components/common/generated-answer/atomic-citation/atomic-citation.tsx"],"sourcesContent":["import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}","var hash = {\n start: 'end',\n end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n return placement.replace(/start|end/g, function (matched) {\n return hash[matched];\n });\n}","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n placement = _options.placement,\n boundary = _options.boundary,\n rootBoundary = _options.rootBoundary,\n padding = _options.padding,\n flipVariations = _options.flipVariations,\n _options$allowedAutoP = _options.allowedAutoPlacements,\n allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n var variation = getVariation(placement);\n var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n return getVariation(placement) === variation;\n }) : basePlacements;\n var allowedPlacements = placements.filter(function (placement) {\n return allowedAutoPlacements.indexOf(placement) >= 0;\n });\n\n if (allowedPlacements.length === 0) {\n allowedPlacements = placements;\n } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n var overflows = allowedPlacements.reduce(function (acc, placement) {\n acc[placement] = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding\n })[getBasePlacement(placement)];\n return acc;\n }, {});\n return Object.keys(overflows).sort(function (a, b) {\n return overflows[a] - overflows[b];\n });\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","export function extractTextToHighlight(text: string) {\n text = text.trim();\n const sentenceRegex =\n /(?<=^|\\p{P}\\s)\\p{P}?\\p{Lu}.*?[.!?]+(?=\\s+(?:\\p{Lu}|\\d)|$)/gu;\n const fallbackWordCount = 5;\n const sentences = text.match(sentenceRegex);\n if (sentences?.length) {\n return sentences[0].trim();\n }\n return text.split(/\\s+/).slice(0, fallbackWordCount).join(' ');\n}\n\nexport function generateTextFragmentUrl(\n uri: string,\n text?: string,\n filetype?: string\n) {\n if (filetype !== 'html' || !text) {\n return uri;\n }\n const highlight = extractTextToHighlight(text);\n const encodedTextFragment = encodeURIComponent(highlight).replace(\n /-/g,\n '%2D'\n );\n return `${uri}#:~:text=${encodedTextFragment}`;\n}\n\nexport function generatePdfPageUrl(uri: string, pageNumber?: number) {\n if (!pageNumber || pageNumber <= 0) {\n return uri;\n }\n return `${uri}#page=${pageNumber}`;\n}\n","@import '../../../../global/global.pcss';\n@reference '../../../../utils/tailwind-utilities/set-font-size.css';\n\n[part='citation'] {\n --height: 2.2em;\n --index-height: 1.1em;\n --max-citation-width: 400px;\n\n max-width: var(--max-citation-width);\n height: var(--height);\n}\n\n[part='citation-popover'] {\n --popover-width: 350px;\n\n width: var(--popover-width);\n\n p {\n @apply set-font-size-sm;\n }\n}\n","import {GeneratedAnswerCitation, InteractiveCitation} from '@coveo/headless';\nimport {\n createPopper,\n preventOverflow,\n Instance as PopperInstance,\n} from '@popperjs/core';\nimport {Component, h, State, Prop, Element, Watch} from '@stencil/core';\nimport {LinkWithItemAnalytics} from '../../item-link/stencil-item-link';\nimport {Heading} from '../../stencil-heading';\nimport {generateTextFragmentUrl, generatePdfPageUrl} from './citation-anchoring-utils';\n\n/**\n * @internal\n */\n@Component({\n tag: 'atomic-citation',\n styleUrl: 'atomic-citation.pcss',\n})\nexport class AtomicCitation {\n @Element() public host!: HTMLElement;\n\n /**\n * The citation item information.\n */\n @Prop() citation!: GeneratedAnswerCitation;\n /**\n * The citation index.\n */\n @Prop() index!: number;\n /**\n * Callback function invoked when the user stops hovering over a citation. `citationHoverTimeMs` is the amount of time over which the citation has been hovered.\n */\n @Prop() sendHoverEndEvent!: (citationHoverTimeMs: number) => void;\n /**\n * An `InteractiveCitation` controller instance. It is used when the user interacts with the citation by selecting or hovering over it.\n */\n @Prop() interactiveCitation!: InteractiveCitation;\n /**\n * Option to disable citation anchoring.\n * @default false\n */\n @Prop() disableCitationAnchoring: boolean = false;\n\n @State() public isOpen = false;\n\n private citationRef!: HTMLElement;\n private popupRef!: HTMLElement;\n private popperInstance?: PopperInstance;\n private stopPropagation?: boolean;\n\n private hoverStart?: number;\n private hoverAnalyticsTimeout = 1000;\n\n private hoverTimeout?: ReturnType<typeof setTimeout>;\n private hoverDebounceTimeoutMs = 200;\n\n @Watch('isOpen')\n sendHoverAnalytics() {\n if (this.isOpen) {\n this.hoverStart = new Date().getTime();\n return;\n }\n if (!this.hoverStart) {\n return;\n }\n const difference = new Date().getTime() - this.hoverStart;\n if (difference > this.hoverAnalyticsTimeout) {\n this.sendHoverEndEvent(difference);\n }\n this.hoverStart = undefined;\n }\n\n public componentDidRender() {\n if (this.popperInstance || !this.citationRef || !this.popupRef) {\n return;\n }\n\n this.popperInstance = createPopper(this.citationRef, this.popupRef, {\n placement: 'top-start',\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 6],\n },\n },\n preventOverflow,\n ],\n });\n }\n\n public componentDidUpdate() {\n this.popperInstance?.forceUpdate();\n }\n\n private getTruncatedText() {\n return (\n this.citation.text &&\n `${this.citation.text?.trim().slice(0, 200)}${\n this.citation.text.length > 200 ? '...' : ''\n }`\n );\n }\n\n private anchorUrl(\n uri: string,\n text?: string,\n filetype?: string, \n pageNumber?: number\n ) {\n if (this.disableCitationAnchoring) {\n return uri;\n }\n\n switch (filetype) {\n case 'html':\n return generateTextFragmentUrl(uri, text, filetype);\n case 'pdf':\n return generatePdfPageUrl(uri, pageNumber);\n default:\n return uri;\n }\n }\n\n private openPopover = () => {\n this.isOpen = true;\n };\n\n private closePopover = () => {\n clearTimeout(this.hoverTimeout);\n this.isOpen = false;\n };\n\n private delayedPopoverOpen = () => {\n clearTimeout(this.hoverTimeout);\n this.hoverTimeout = setTimeout(\n this.openPopover,\n this.hoverDebounceTimeoutMs\n );\n };\n\n private renderPopover() {\n return (\n <div\n part=\"citation-popover\"\n class={`border-neutral bg-background z-10 rounded-md border p-4 shadow ${\n this.isOpen ? 'desktop-only:flex' : 'hidden'\n } mobile-only:hidden flex-col gap-3`}\n ref={(el) => (this.popupRef = el!)}\n role=\"dialog\"\n >\n <div class=\"text-neutral-dark truncate text-sm\">\n {this.citation.uri}\n </div>\n <Heading level={0} class=\"text-md font-bold\">\n {this.citation.title}\n </Heading>\n <p class=\"text-on-background text-sm\">{this.getTruncatedText()}</p>\n </div>\n );\n }\n\n public render() {\n return (\n <div class=\"relative\">\n <LinkWithItemAnalytics\n href={this.anchorUrl(\n this.citation.clickUri ?? this.citation.uri,\n this.citation.text,\n this.citation.fields?.filetype,\n )}\n ref={(el) => (this.citationRef = el!)}\n part=\"citation\"\n target=\"_blank\"\n rel=\"noopener\"\n aria-haspopup=\"dialog\"\n className=\"bg-background btn-outline-primary border-neutral text-on-background flex items-center rounded-full border p-1\"\n onSelect={() => this.interactiveCitation.select()}\n onBeginDelayedSelect={() =>\n this.interactiveCitation.beginDelayedSelect()\n }\n onCancelPendingSelect={() =>\n this.interactiveCitation.cancelPendingSelect()\n }\n stopPropagation={this.stopPropagation}\n onMouseLeave={this.closePopover}\n onMouseOver={this.delayedPopoverOpen}\n onFocus={this.openPopover}\n onBlur={this.closePopover}\n >\n <span class=\"citation-title mx-1 truncate\">\n {this.citation.title}\n </span>\n </LinkWithItemAnalytics>\n {this.renderPopover()}\n </div>\n );\n }\n}\n"],"mappings":"+UAUA,IAAIA,EAAkB,SAASA,EAAgBC,EAASC,GACtDD,SAAiBA,IAAY,WAAaA,EAAQE,OAAOC,OAAO,GAAIF,EAAMG,MAAO,CAC/EC,UAAWJ,EAAMI,aACbL,EACN,OAAOM,SAA0BN,IAAY,SAAWA,EAAUO,EAAgBP,EAASQ,GAC7F,EAEA,SAASC,EAAMC,GACb,IAAIC,EAEJ,IAAIV,EAAQS,EAAKT,MACbW,EAAOF,EAAKE,KACZC,EAAUH,EAAKG,QACnB,IAAIC,EAAeb,EAAMc,SAASN,MAClC,IAAIO,EAAgBf,EAAMgB,cAAcD,cACxC,IAAIE,EAAgBC,EAAiBlB,EAAMI,WAC3C,IAAIe,EAAOC,EAAyBH,GACpC,IAAII,EAAa,CAACC,EAAMC,GAAOC,QAAQP,IAA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C,MAAO,kEACL/B,KAAKE,OAAS,oBAAsB,6CAEtC8B,IAAMC,GAAQjC,KAAKqB,SAAWY,EAC9BC,KAAK,UAELL,EAAA,OAAKE,MAAM,sCACR/B,KAAK0B,SAASpC,KAEjBuC,EAACM,EAAO,CAACC,MAAO,EAAGL,MAAM,qBACtB/B,KAAK0B,SAASW,OAEjBR,EAAA,KAAGE,MAAM,8BAA8B/B,KAAKyB,oB,CAK3C,MAAAa,GACL,OACET,EAAA,OAAAU,IAAA,2CAAKR,MAAM,YACTF,EAACW,EAAqB,CAAAD,IAAA,2CACpBE,KAAMzC,KAAK2B,UACT3B,KAAK0B,SAASgB,UAAY1C,KAAK0B,SAASpC,IACxCU,KAAK0B,SAAS7C,KACdmB,KAAK0B,SAASiB,QAAQpD,UAExByC,IAAMC,GAAQjC,KAAKoB,YAAca,EACjCH,KAAK,WACLc,OAAO,SACPC,IAAI,WAAU,gBACA,SACdC,UAAU,gHACVC,SAAU,IAAM/C,KAAKgD,oBAAoBC,SACzCC,qBAAsB,IACpBlD,KAAKgD,oBAAoBG,qBAE3BC,sBAAuB,IACrBpD,KAAKgD,oBAAoBK,sBAE3BC,gBAAiBtD,KAAKsD,gBACtBC,aAAcvD,KAAKM,aACnBkD,YAAaxD,KAAKS,mBAClBgD,QAASzD,KAAKK,YACdqD,OAAQ1D,KAAKM,cAEbuB,EAAA,QAAAU,IAAA,2CAAMR,MAAM,gCACT/B,KAAK0B,SAASW,QAGlBrC,KAAK4B,gB","ignoreList":[]}
|
|
@@ -2158,7 +2158,7 @@ function getWindow() {
|
|
|
2158
2158
|
}
|
|
2159
2159
|
function getAtomicEnvironment(headlessVersion) {
|
|
2160
2160
|
return {
|
|
2161
|
-
version: "3.33.
|
|
2161
|
+
version: "3.33.1-pre.079ffaa71a",
|
|
2162
2162
|
headlessVersion,
|
|
2163
2163
|
};
|
|
2164
2164
|
}
|
|
@@ -2924,4 +2924,4 @@ exports.getNextAnalyticsConfig = getNextAnalyticsConfig;
|
|
|
2924
2924
|
exports.instance = instance;
|
|
2925
2925
|
exports.mismatchedInterfaceAndEnginePropError = mismatchedInterfaceAndEnginePropError;
|
|
2926
2926
|
|
|
2927
|
-
//# sourceMappingURL=analytics-config-
|
|
2927
|
+
//# sourceMappingURL=analytics-config-b3156ea7.js.map
|