@coveo/atomic-react 3.11.18 → 3.11.19
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/cjs/atomic-react.cjs +589 -318
- package/dist/cjs/atomic-react.cjs.map +1 -1
- package/dist/cjs/commerce/atomic-react.cjs +211 -70
- package/dist/cjs/commerce/atomic-react.cjs.map +1 -1
- package/dist/cjs/recommendation/atomic-react.cjs +589 -318
- package/dist/cjs/recommendation/atomic-react.cjs.map +1 -1
- package/package.json +3 -3
|
@@ -606,7 +606,7 @@ const renderBreadcrumbContainer = ({ props })=>(children)=>{
|
|
|
606
606
|
</div>`;
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
-
/*! @license DOMPurify 3.4.
|
|
609
|
+
/*! @license DOMPurify 3.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.1/LICENSE */
|
|
610
610
|
|
|
611
611
|
const {
|
|
612
612
|
entries,
|
|
@@ -655,13 +655,19 @@ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
|
|
|
655
655
|
const arrayPop = unapply(Array.prototype.pop);
|
|
656
656
|
const arrayPush = unapply(Array.prototype.push);
|
|
657
657
|
const arraySplice = unapply(Array.prototype.splice);
|
|
658
|
+
const arrayIsArray = Array.isArray;
|
|
658
659
|
const stringToLowerCase = unapply(String.prototype.toLowerCase);
|
|
659
660
|
const stringToString = unapply(String.prototype.toString);
|
|
660
661
|
const stringMatch = unapply(String.prototype.match);
|
|
661
662
|
const stringReplace = unapply(String.prototype.replace);
|
|
662
663
|
const stringIndexOf = unapply(String.prototype.indexOf);
|
|
663
664
|
const stringTrim = unapply(String.prototype.trim);
|
|
665
|
+
const numberToString = unapply(Number.prototype.toString);
|
|
666
|
+
const booleanToString = unapply(Boolean.prototype.toString);
|
|
667
|
+
const bigintToString = typeof BigInt === 'undefined' ? null : unapply(BigInt.prototype.toString);
|
|
668
|
+
const symbolToString = typeof Symbol === 'undefined' ? null : unapply(Symbol.prototype.toString);
|
|
664
669
|
const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
|
|
670
|
+
const objectToString$1 = unapply(Object.prototype.toString);
|
|
665
671
|
const regExpTest = unapply(RegExp.prototype.test);
|
|
666
672
|
const typeErrorCreate = unconstruct(TypeError);
|
|
667
673
|
/**
|
|
@@ -711,6 +717,9 @@ function addToSet(set, array) {
|
|
|
711
717
|
// Prevent prototype setters from intercepting set as a this value.
|
|
712
718
|
setPrototypeOf(set, null);
|
|
713
719
|
}
|
|
720
|
+
if (!arrayIsArray(array)) {
|
|
721
|
+
return set;
|
|
722
|
+
}
|
|
714
723
|
let l = array.length;
|
|
715
724
|
while (l--) {
|
|
716
725
|
let element = array[l];
|
|
@@ -754,7 +763,7 @@ function clone$1(object) {
|
|
|
754
763
|
for (const [property, value] of entries(object)) {
|
|
755
764
|
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
756
765
|
if (isPropertyExist) {
|
|
757
|
-
if (
|
|
766
|
+
if (arrayIsArray(value)) {
|
|
758
767
|
newObject[property] = cleanArray(value);
|
|
759
768
|
} else if (value && typeof value === 'object' && value.constructor === Object) {
|
|
760
769
|
newObject[property] = clone$1(value);
|
|
@@ -765,6 +774,58 @@ function clone$1(object) {
|
|
|
765
774
|
}
|
|
766
775
|
return newObject;
|
|
767
776
|
}
|
|
777
|
+
/**
|
|
778
|
+
* Convert non-node values into strings without depending on direct property access.
|
|
779
|
+
*
|
|
780
|
+
* @param value - The value to stringify.
|
|
781
|
+
* @returns A string representation of the provided value.
|
|
782
|
+
*/
|
|
783
|
+
function stringifyValue(value) {
|
|
784
|
+
switch (typeof value) {
|
|
785
|
+
case 'string':
|
|
786
|
+
{
|
|
787
|
+
return value;
|
|
788
|
+
}
|
|
789
|
+
case 'number':
|
|
790
|
+
{
|
|
791
|
+
return numberToString(value);
|
|
792
|
+
}
|
|
793
|
+
case 'boolean':
|
|
794
|
+
{
|
|
795
|
+
return booleanToString(value);
|
|
796
|
+
}
|
|
797
|
+
case 'bigint':
|
|
798
|
+
{
|
|
799
|
+
return bigintToString ? bigintToString(value) : '0';
|
|
800
|
+
}
|
|
801
|
+
case 'symbol':
|
|
802
|
+
{
|
|
803
|
+
return symbolToString ? symbolToString(value) : 'Symbol()';
|
|
804
|
+
}
|
|
805
|
+
case 'undefined':
|
|
806
|
+
{
|
|
807
|
+
return objectToString$1(value);
|
|
808
|
+
}
|
|
809
|
+
case 'function':
|
|
810
|
+
case 'object':
|
|
811
|
+
{
|
|
812
|
+
if (value === null) {
|
|
813
|
+
return objectToString$1(value);
|
|
814
|
+
}
|
|
815
|
+
const valueAsRecord = value;
|
|
816
|
+
const valueToString = lookupGetter(valueAsRecord, 'toString');
|
|
817
|
+
if (typeof valueToString === 'function') {
|
|
818
|
+
const stringified = valueToString(valueAsRecord);
|
|
819
|
+
return typeof stringified === 'string' ? stringified : objectToString$1(stringified);
|
|
820
|
+
}
|
|
821
|
+
return objectToString$1(value);
|
|
822
|
+
}
|
|
823
|
+
default:
|
|
824
|
+
{
|
|
825
|
+
return objectToString$1(value);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
768
829
|
/**
|
|
769
830
|
* This method automatically checks if the prop is function or getter and behaves accordingly.
|
|
770
831
|
*
|
|
@@ -790,6 +851,14 @@ function lookupGetter(object, prop) {
|
|
|
790
851
|
}
|
|
791
852
|
return fallbackValue;
|
|
792
853
|
}
|
|
854
|
+
function isRegex(value) {
|
|
855
|
+
try {
|
|
856
|
+
regExpTest(value, '');
|
|
857
|
+
return true;
|
|
858
|
+
} catch (_unused) {
|
|
859
|
+
return false;
|
|
860
|
+
}
|
|
861
|
+
}
|
|
793
862
|
|
|
794
863
|
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
795
864
|
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
@@ -805,7 +874,7 @@ const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mgly
|
|
|
805
874
|
const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
|
806
875
|
const text = freeze(['#text']);
|
|
807
876
|
|
|
808
|
-
const html$2 = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns'
|
|
877
|
+
const html$2 = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns']);
|
|
809
878
|
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
810
879
|
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
811
880
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
@@ -825,17 +894,17 @@ const DOCTYPE_NAME = seal(/^html$/i);
|
|
|
825
894
|
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
826
895
|
|
|
827
896
|
var EXPRESSIONS = /*#__PURE__*/Object.freeze({
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
897
|
+
__proto__: null,
|
|
898
|
+
ARIA_ATTR: ARIA_ATTR,
|
|
899
|
+
ATTR_WHITESPACE: ATTR_WHITESPACE,
|
|
900
|
+
CUSTOM_ELEMENT: CUSTOM_ELEMENT,
|
|
901
|
+
DATA_ATTR: DATA_ATTR,
|
|
902
|
+
DOCTYPE_NAME: DOCTYPE_NAME,
|
|
903
|
+
ERB_EXPR: ERB_EXPR,
|
|
904
|
+
IS_ALLOWED_URI: IS_ALLOWED_URI,
|
|
905
|
+
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
|
|
906
|
+
MUSTACHE_EXPR: MUSTACHE_EXPR,
|
|
907
|
+
TMPLIT_EXPR: TMPLIT_EXPR
|
|
839
908
|
});
|
|
840
909
|
|
|
841
910
|
/* eslint-disable @typescript-eslint/indent */
|
|
@@ -904,7 +973,7 @@ const _createHooksMap = function _createHooksMap() {
|
|
|
904
973
|
function createDOMPurify() {
|
|
905
974
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
906
975
|
const DOMPurify = root => createDOMPurify(root);
|
|
907
|
-
DOMPurify.version = '3.4.
|
|
976
|
+
DOMPurify.version = '3.4.1';
|
|
908
977
|
DOMPurify.removed = [];
|
|
909
978
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
910
979
|
// Not running in a browser, provide a factory function
|
|
@@ -1152,15 +1221,15 @@ function createDOMPurify() {
|
|
|
1152
1221
|
// HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
|
1153
1222
|
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
|
1154
1223
|
/* Set configuration parameters */
|
|
1155
|
-
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
1156
|
-
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
1157
|
-
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
1158
|
-
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone$1(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
1159
|
-
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone$1(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
1160
|
-
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
1161
|
-
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone$1({});
|
|
1162
|
-
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone$1({});
|
|
1163
|
-
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
|
|
1224
|
+
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') && arrayIsArray(cfg.ALLOWED_TAGS) ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
1225
|
+
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') && arrayIsArray(cfg.ALLOWED_ATTR) ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
1226
|
+
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') && arrayIsArray(cfg.ALLOWED_NAMESPACES) ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
1227
|
+
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR) ? addToSet(clone$1(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
1228
|
+
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') && arrayIsArray(cfg.ADD_DATA_URI_TAGS) ? addToSet(clone$1(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
1229
|
+
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS) ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
1230
|
+
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') && arrayIsArray(cfg.FORBID_TAGS) ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone$1({});
|
|
1231
|
+
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') && arrayIsArray(cfg.FORBID_ATTR) ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone$1({});
|
|
1232
|
+
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === 'object' ? clone$1(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;
|
|
1164
1233
|
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
|
1165
1234
|
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
|
1166
1235
|
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
|
@@ -1176,19 +1245,20 @@ function createDOMPurify() {
|
|
|
1176
1245
|
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
|
1177
1246
|
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
|
1178
1247
|
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
|
1179
|
-
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP
|
|
1180
|
-
NAMESPACE = cfg.NAMESPACE
|
|
1181
|
-
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS
|
|
1182
|
-
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1248
|
+
IS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI; // Default regexp
|
|
1249
|
+
NAMESPACE = typeof cfg.NAMESPACE === 'string' ? cfg.NAMESPACE : HTML_NAMESPACE; // Default HTML namespace
|
|
1250
|
+
MATHML_TEXT_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'MATHML_TEXT_INTEGRATION_POINTS') && cfg.MATHML_TEXT_INTEGRATION_POINTS && typeof cfg.MATHML_TEXT_INTEGRATION_POINTS === 'object' ? clone$1(cfg.MATHML_TEXT_INTEGRATION_POINTS) : addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']); // Default built-in map
|
|
1251
|
+
HTML_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'HTML_INTEGRATION_POINTS') && cfg.HTML_INTEGRATION_POINTS && typeof cfg.HTML_INTEGRATION_POINTS === 'object' ? clone$1(cfg.HTML_INTEGRATION_POINTS) : addToSet({}, ['annotation-xml']); // Default built-in map
|
|
1252
|
+
const customElementHandling = objectHasOwnProperty(cfg, 'CUSTOM_ELEMENT_HANDLING') && cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING === 'object' ? clone$1(cfg.CUSTOM_ELEMENT_HANDLING) : create(null);
|
|
1253
|
+
CUSTOM_ELEMENT_HANDLING = create(null);
|
|
1254
|
+
if (objectHasOwnProperty(customElementHandling, 'tagNameCheck') && isRegexOrFunction(customElementHandling.tagNameCheck)) {
|
|
1255
|
+
CUSTOM_ELEMENT_HANDLING.tagNameCheck = customElementHandling.tagNameCheck; // Default undefined
|
|
1186
1256
|
}
|
|
1187
|
-
if (
|
|
1188
|
-
CUSTOM_ELEMENT_HANDLING.attributeNameCheck =
|
|
1257
|
+
if (objectHasOwnProperty(customElementHandling, 'attributeNameCheck') && isRegexOrFunction(customElementHandling.attributeNameCheck)) {
|
|
1258
|
+
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = customElementHandling.attributeNameCheck; // Default undefined
|
|
1189
1259
|
}
|
|
1190
|
-
if (
|
|
1191
|
-
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements =
|
|
1260
|
+
if (objectHasOwnProperty(customElementHandling, 'allowCustomizedBuiltInElements') && typeof customElementHandling.allowCustomizedBuiltInElements === 'boolean') {
|
|
1261
|
+
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements; // Default undefined
|
|
1192
1262
|
}
|
|
1193
1263
|
if (SAFE_FOR_TEMPLATES) {
|
|
1194
1264
|
ALLOW_DATA_ATTR = false;
|
|
@@ -1225,36 +1295,36 @@ function createDOMPurify() {
|
|
|
1225
1295
|
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
1226
1296
|
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
1227
1297
|
/* Merge configuration parameters */
|
|
1228
|
-
if (cfg
|
|
1298
|
+
if (objectHasOwnProperty(cfg, 'ADD_TAGS')) {
|
|
1229
1299
|
if (typeof cfg.ADD_TAGS === 'function') {
|
|
1230
1300
|
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
1231
|
-
} else {
|
|
1301
|
+
} else if (arrayIsArray(cfg.ADD_TAGS)) {
|
|
1232
1302
|
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
1233
1303
|
ALLOWED_TAGS = clone$1(ALLOWED_TAGS);
|
|
1234
1304
|
}
|
|
1235
1305
|
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
1236
1306
|
}
|
|
1237
1307
|
}
|
|
1238
|
-
if (cfg
|
|
1308
|
+
if (objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
1239
1309
|
if (typeof cfg.ADD_ATTR === 'function') {
|
|
1240
1310
|
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
1241
|
-
} else {
|
|
1311
|
+
} else if (arrayIsArray(cfg.ADD_ATTR)) {
|
|
1242
1312
|
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
1243
1313
|
ALLOWED_ATTR = clone$1(ALLOWED_ATTR);
|
|
1244
1314
|
}
|
|
1245
1315
|
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
1246
1316
|
}
|
|
1247
1317
|
}
|
|
1248
|
-
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
1318
|
+
if (objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR)) {
|
|
1249
1319
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
1250
1320
|
}
|
|
1251
|
-
if (cfg.FORBID_CONTENTS) {
|
|
1321
|
+
if (objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS)) {
|
|
1252
1322
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1253
1323
|
FORBID_CONTENTS = clone$1(FORBID_CONTENTS);
|
|
1254
1324
|
}
|
|
1255
1325
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
1256
1326
|
}
|
|
1257
|
-
if (cfg.ADD_FORBID_CONTENTS) {
|
|
1327
|
+
if (objectHasOwnProperty(cfg, 'ADD_FORBID_CONTENTS') && arrayIsArray(cfg.ADD_FORBID_CONTENTS)) {
|
|
1258
1328
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
1259
1329
|
FORBID_CONTENTS = clone$1(FORBID_CONTENTS);
|
|
1260
1330
|
}
|
|
@@ -1580,7 +1650,6 @@ function createDOMPurify() {
|
|
|
1580
1650
|
const childCount = childNodes.length;
|
|
1581
1651
|
for (let i = childCount - 1; i >= 0; --i) {
|
|
1582
1652
|
const childClone = cloneNode(childNodes[i], true);
|
|
1583
|
-
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
|
1584
1653
|
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
|
1585
1654
|
}
|
|
1586
1655
|
}
|
|
@@ -1655,6 +1724,10 @@ function createDOMPurify() {
|
|
|
1655
1724
|
} else ;
|
|
1656
1725
|
return true;
|
|
1657
1726
|
};
|
|
1727
|
+
/* Names the HTML spec reserves from valid-custom-element-name; these must
|
|
1728
|
+
* never be treated as basic custom elements even when a permissive
|
|
1729
|
+
* CUSTOM_ELEMENT_HANDLING.tagNameCheck is configured. */
|
|
1730
|
+
const RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, ['annotation-xml', 'color-profile', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'missing-glyph']);
|
|
1658
1731
|
/**
|
|
1659
1732
|
* _isBasicCustomElement
|
|
1660
1733
|
* checks if at least one dash is included in tagName, and it's not the first char
|
|
@@ -1664,7 +1737,7 @@ function createDOMPurify() {
|
|
|
1664
1737
|
* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
|
|
1665
1738
|
*/
|
|
1666
1739
|
const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
|
|
1667
|
-
return tagName
|
|
1740
|
+
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT, tagName);
|
|
1668
1741
|
};
|
|
1669
1742
|
/**
|
|
1670
1743
|
* _sanitizeAttributes
|
|
@@ -1715,12 +1788,14 @@ function createDOMPurify() {
|
|
|
1715
1788
|
/* Full DOM Clobbering protection via namespace isolation,
|
|
1716
1789
|
* Prefix id and name attributes with `user-content-`
|
|
1717
1790
|
*/
|
|
1718
|
-
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
|
1791
|
+
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name') && stringIndexOf(value, SANITIZE_NAMED_PROPS_PREFIX) !== 0) {
|
|
1719
1792
|
// Remove the attribute with this value
|
|
1720
1793
|
_removeAttribute(name, currentNode);
|
|
1721
1794
|
// Prefix the value and later re-create the attribute with the sanitized value
|
|
1722
1795
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1723
1796
|
}
|
|
1797
|
+
// Else: already prefixed, leave the attribute alone — the prefix is
|
|
1798
|
+
// itself the clobbering protection, and re-applying it is incorrect.
|
|
1724
1799
|
/* Work around a security issue with comments inside attributes */
|
|
1725
1800
|
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
|
|
1726
1801
|
_removeAttribute(name, currentNode);
|
|
@@ -1837,13 +1912,9 @@ function createDOMPurify() {
|
|
|
1837
1912
|
}
|
|
1838
1913
|
/* Stringify, in case dirty is an object */
|
|
1839
1914
|
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
throw typeErrorCreate('dirty is not a string, aborting');
|
|
1844
|
-
}
|
|
1845
|
-
} else {
|
|
1846
|
-
throw typeErrorCreate('toString is not a function');
|
|
1915
|
+
dirty = stringifyValue(dirty);
|
|
1916
|
+
if (typeof dirty !== 'string') {
|
|
1917
|
+
throw typeErrorCreate('dirty is not a string, aborting');
|
|
1847
1918
|
}
|
|
1848
1919
|
}
|
|
1849
1920
|
/* Return dirty HTML if DOMPurify cannot run */
|
|
@@ -1862,8 +1933,9 @@ function createDOMPurify() {
|
|
|
1862
1933
|
}
|
|
1863
1934
|
if (IN_PLACE) {
|
|
1864
1935
|
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
|
1865
|
-
|
|
1866
|
-
|
|
1936
|
+
const nn = dirty.nodeName;
|
|
1937
|
+
if (typeof nn === 'string') {
|
|
1938
|
+
const tagName = transformCaseFunc(nn);
|
|
1867
1939
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1868
1940
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
|
1869
1941
|
}
|
|
@@ -2056,13 +2128,13 @@ const withTailwindStyles = (Base)=>class extends Base {
|
|
|
2056
2128
|
}
|
|
2057
2129
|
};
|
|
2058
2130
|
|
|
2059
|
-
function _ts_decorate$
|
|
2131
|
+
function _ts_decorate$1I(decorators, target, key, desc) {
|
|
2060
2132
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
2061
2133
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
2062
2134
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2063
2135
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2064
2136
|
}
|
|
2065
|
-
function _ts_metadata$
|
|
2137
|
+
function _ts_metadata$1y(k, v) {
|
|
2066
2138
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
2067
2139
|
}
|
|
2068
2140
|
let AtomicComponentError$1 = class AtomicComponentError extends lit.LitElement {
|
|
@@ -2080,19 +2152,19 @@ let AtomicComponentError$1 = class AtomicComponentError extends lit.LitElement {
|
|
|
2080
2152
|
`;
|
|
2081
2153
|
}
|
|
2082
2154
|
};
|
|
2083
|
-
_ts_decorate$
|
|
2155
|
+
_ts_decorate$1I([
|
|
2084
2156
|
decorators_js.property({
|
|
2085
2157
|
type: Object
|
|
2086
2158
|
}),
|
|
2087
|
-
_ts_metadata$
|
|
2159
|
+
_ts_metadata$1y("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
2088
2160
|
], AtomicComponentError$1.prototype, "element", void 0);
|
|
2089
|
-
_ts_decorate$
|
|
2161
|
+
_ts_decorate$1I([
|
|
2090
2162
|
decorators_js.property({
|
|
2091
2163
|
type: Object
|
|
2092
2164
|
}),
|
|
2093
|
-
_ts_metadata$
|
|
2165
|
+
_ts_metadata$1y("design:type", "u" < typeof Error ? Object : Error)
|
|
2094
2166
|
], AtomicComponentError$1.prototype, "error", void 0);
|
|
2095
|
-
AtomicComponentError$1 = _ts_decorate$
|
|
2167
|
+
AtomicComponentError$1 = _ts_decorate$1I([
|
|
2096
2168
|
decorators_js.customElement('atomic-component-error'),
|
|
2097
2169
|
withTailwindStyles
|
|
2098
2170
|
], AtomicComponentError$1);
|
|
@@ -2185,6 +2257,7 @@ const ATOMIC_CUSTOM_ELEMENT_TAGS = new Set([
|
|
|
2185
2257
|
'atomic-generated-answer',
|
|
2186
2258
|
'atomic-generated-answer-content',
|
|
2187
2259
|
'atomic-generated-answer-feedback-modal',
|
|
2260
|
+
'atomic-generated-answer-inline-link',
|
|
2188
2261
|
'atomic-generated-answer-thread',
|
|
2189
2262
|
'atomic-generated-answer-thread-item',
|
|
2190
2263
|
'atomic-html',
|
|
@@ -2590,13 +2663,13 @@ const memoizedFetchIcon = memoize(fetchIconUnmemoized, (url)=>url, {
|
|
|
2590
2663
|
});
|
|
2591
2664
|
const fetchIcon = memoizedFetchIcon.fn;
|
|
2592
2665
|
|
|
2593
|
-
function _ts_decorate$
|
|
2666
|
+
function _ts_decorate$1H(decorators, target, key, desc) {
|
|
2594
2667
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2595
2668
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
2596
2669
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2597
2670
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2598
2671
|
}
|
|
2599
|
-
function _ts_metadata$
|
|
2672
|
+
function _ts_metadata$1x(k, v) {
|
|
2600
2673
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
2601
2674
|
}
|
|
2602
2675
|
let AtomicIcon$1 = class AtomicIcon extends LightDomMixin(InitializeBindingsMixin(lit.LitElement)) {
|
|
@@ -2643,39 +2716,39 @@ let AtomicIcon$1 = class AtomicIcon extends LightDomMixin(InitializeBindingsMixi
|
|
|
2643
2716
|
}
|
|
2644
2717
|
};
|
|
2645
2718
|
AtomicIcon$1.styles = lit.css`@layer components{atomic-icon{aspect-ratio:1/1;display:inline-block;fill:currentColor;height:auto;@supports not (aspect-ratio:1/1){height:auto}>svg{aspect-ratio:1/1;height:auto;max-height:100%;width:100%}}}`;
|
|
2646
|
-
_ts_decorate$
|
|
2719
|
+
_ts_decorate$1H([
|
|
2647
2720
|
decorators_js.property({
|
|
2648
2721
|
type: String,
|
|
2649
2722
|
reflect: true
|
|
2650
2723
|
}),
|
|
2651
|
-
_ts_metadata$
|
|
2724
|
+
_ts_metadata$1x("design:type", String)
|
|
2652
2725
|
], AtomicIcon$1.prototype, "icon", void 0);
|
|
2653
|
-
_ts_decorate$
|
|
2726
|
+
_ts_decorate$1H([
|
|
2654
2727
|
decorators_js.state(),
|
|
2655
|
-
_ts_metadata$
|
|
2728
|
+
_ts_metadata$1x("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
2656
2729
|
], AtomicIcon$1.prototype, "bindings", void 0);
|
|
2657
|
-
_ts_decorate$
|
|
2730
|
+
_ts_decorate$1H([
|
|
2658
2731
|
decorators_js.state(),
|
|
2659
|
-
_ts_metadata$
|
|
2732
|
+
_ts_metadata$1x("design:type", "u" < typeof Error ? Object : Error)
|
|
2660
2733
|
], AtomicIcon$1.prototype, "error", void 0);
|
|
2661
|
-
_ts_decorate$
|
|
2734
|
+
_ts_decorate$1H([
|
|
2662
2735
|
decorators_js.state(),
|
|
2663
|
-
_ts_metadata$
|
|
2736
|
+
_ts_metadata$1x("design:type", Object)
|
|
2664
2737
|
], AtomicIcon$1.prototype, "svg", void 0);
|
|
2665
|
-
_ts_decorate$
|
|
2738
|
+
_ts_decorate$1H([
|
|
2666
2739
|
watch('icon'),
|
|
2667
|
-
_ts_metadata$
|
|
2668
|
-
_ts_metadata$
|
|
2669
|
-
_ts_metadata$
|
|
2740
|
+
_ts_metadata$1x("design:type", Function),
|
|
2741
|
+
_ts_metadata$1x("design:paramtypes", []),
|
|
2742
|
+
_ts_metadata$1x("design:returntype", Promise)
|
|
2670
2743
|
], AtomicIcon$1.prototype, "updateIcon", null);
|
|
2671
|
-
_ts_decorate$
|
|
2744
|
+
_ts_decorate$1H([
|
|
2672
2745
|
bindingGuard(),
|
|
2673
2746
|
errorGuard(),
|
|
2674
|
-
_ts_metadata$
|
|
2675
|
-
_ts_metadata$
|
|
2676
|
-
_ts_metadata$
|
|
2747
|
+
_ts_metadata$1x("design:type", Function),
|
|
2748
|
+
_ts_metadata$1x("design:paramtypes", []),
|
|
2749
|
+
_ts_metadata$1x("design:returntype", void 0)
|
|
2677
2750
|
], AtomicIcon$1.prototype, "render", null);
|
|
2678
|
-
AtomicIcon$1 = _ts_decorate$
|
|
2751
|
+
AtomicIcon$1 = _ts_decorate$1H([
|
|
2679
2752
|
decorators_js.customElement('atomic-icon')
|
|
2680
2753
|
], AtomicIcon$1);
|
|
2681
2754
|
|
|
@@ -3864,11 +3937,11 @@ const renderCategoryFacetSearchValue = ({ props })=>{
|
|
|
3864
3937
|
|
|
3865
3938
|
const renderCategoryFacetTreeValueContainer = ()=>(children)=>lit.html`<li class="contents">${children}</li>`;
|
|
3866
3939
|
|
|
3867
|
-
const styles$
|
|
3868
|
-
const facet_common_tw_css = styles$
|
|
3940
|
+
const styles$q = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.value-count{color:var(--atomic-neutral-dark);margin-left:calc(var(--spacing,.25rem)*1.5)}[part=value-exclude-button]+.value-count{margin-right:calc(var(--spacing,.25rem)*2)}:host(.popover-nested){min-width:var(--container-2xs,18rem)}:host(.popover-nested)::part(label-button){display:none}:host(.popover-nested)::part(facet){--tw-shadow:0px 2px 8px var(--tw-shadow-color,#e5e8e8bf);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}:host(.popover-nested)::part(values){margin-top:calc(var(--spacing,.25rem)*0);max-height:calc(var(--spacing,.25rem)*96);overflow-y:auto}:host(.popover-nested)::part(search-wrapper){margin-bottom:calc(var(--spacing,.25rem)*2)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`;
|
|
3941
|
+
const facet_common_tw_css = styles$q;
|
|
3869
3942
|
|
|
3870
|
-
const styles$
|
|
3871
|
-
const facet_search_tw_css = styles$
|
|
3943
|
+
const styles$p = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */input[type=text]:focus-visible~.search-icon{color:var(--atomic-primary)}input[type=text]:hover~.search-icon{color:var(--atomic-primary-light)}.search-icon atomic-icon{height:var(--atomic-facet-search-icon-size,.75rem);width:var(--atomic-facet-search-icon-size,.75rem)}.search-clear-button atomic-icon{height:var(--atomic-facet-search-clear-icon-size,.625rem);width:var(--atomic-facet-search-clear-icon-size,.625rem)}`;
|
|
3944
|
+
const facet_search_tw_css = styles$p;
|
|
3872
3945
|
|
|
3873
3946
|
class LocalizedStringDirective extends directive_js.Directive {
|
|
3874
3947
|
render(props) {
|
|
@@ -4250,16 +4323,16 @@ const renderFacetValue = ({ props: { facetSearchQuery, displayValuesAs, enableEx
|
|
|
4250
4323
|
}
|
|
4251
4324
|
};
|
|
4252
4325
|
|
|
4253
|
-
const styles$
|
|
4254
|
-
const facet_value_box_tw_css = styles$
|
|
4326
|
+
const styles$o = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */.box-container{display:grid;gap:var(--atomic-facet-boxes-gap,.5rem);grid-template-columns:repeat(var(--atomic-facet-boxes-per-row,4),minmax(0,1fr));padding-inline:calc(var(--spacing,.25rem)*2)}.value-box{overflow:hidden;position:relative}.value-box .value-label,.value-box-count{display:block;width:100%}.value-box.selected{box-shadow:0 0 0 1px var(--atomic-primary)}`;
|
|
4327
|
+
const facet_value_box_tw_css = styles$o;
|
|
4255
4328
|
|
|
4256
|
-
const styles$
|
|
4257
|
-
const facet_value_checkbox_tw_css = styles$
|
|
4329
|
+
const styles$n = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */.value-checkbox{height:var(--atomic-facet-checkbox-size,1rem);left:calc(var(--spacing,.25rem)*2);position:absolute;width:var(--atomic-facet-checkbox-size,1rem);z-index:1}.value-checkbox+label{color:var(--atomic-on-background);cursor:pointer;display:flex;flex-direction:row;overflow:hidden;padding-block:calc(var(--spacing,.25rem)*2.5);padding-left:calc(var(--spacing,.25rem)*8);padding-right:calc(var(--spacing,.25rem)*2);text-overflow:ellipsis;white-space:nowrap;width:100%}@media (hover:hover){.value-checkbox+label:hover{background-color:var(--atomic-neutral-light)}}.value-checkbox.selected:focus-visible+label .value-label,.value-checkbox.selected:hover+label .value-label{color:var(--atomic-primary)}.value-checkbox.excluded:focus-visible+label .value-label,.value-checkbox.excluded:hover+label .value-label{color:var(--atomic-error)}`;
|
|
4330
|
+
const facet_value_checkbox_tw_css = styles$n;
|
|
4258
4331
|
|
|
4259
|
-
const styles$
|
|
4260
|
-
const facet_value_exclude_tw_css = styles$
|
|
4332
|
+
const styles$m = lit.css`.value-exclude-button:focus-visible atomic-icon{visibility:visible}`;
|
|
4333
|
+
const facet_value_exclude_tw_css = styles$m;
|
|
4261
4334
|
|
|
4262
|
-
function _ts_decorate$
|
|
4335
|
+
function _ts_decorate$1G(decorators, target, key, desc) {
|
|
4263
4336
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
4264
4337
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
4265
4338
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -4296,13 +4369,13 @@ class AtomicFacetPlaceholder extends lit.LitElement {
|
|
|
4296
4369
|
super(...args), this.valueCount = 8;
|
|
4297
4370
|
}
|
|
4298
4371
|
}
|
|
4299
|
-
_ts_decorate$
|
|
4372
|
+
_ts_decorate$1G([
|
|
4300
4373
|
decorators_js.property({
|
|
4301
4374
|
type: Number,
|
|
4302
4375
|
attribute: 'value-count'
|
|
4303
4376
|
})
|
|
4304
4377
|
], AtomicFacetPlaceholder.prototype, "valueCount", void 0);
|
|
4305
|
-
AtomicFacetPlaceholder = _ts_decorate$
|
|
4378
|
+
AtomicFacetPlaceholder = _ts_decorate$1G([
|
|
4306
4379
|
decorators_js.customElement('atomic-facet-placeholder'),
|
|
4307
4380
|
withTailwindStyles
|
|
4308
4381
|
], AtomicFacetPlaceholder);
|
|
@@ -4490,20 +4563,20 @@ const renderNumericFacetValue = ({ props })=>{
|
|
|
4490
4563
|
}
|
|
4491
4564
|
};
|
|
4492
4565
|
|
|
4493
|
-
const styles$
|
|
4566
|
+
const styles$l = [
|
|
4494
4567
|
facet_value_checkbox_tw_css,
|
|
4495
4568
|
facet_value_exclude_tw_css,
|
|
4496
4569
|
facet_common_tw_css
|
|
4497
4570
|
];
|
|
4498
|
-
const numeric_facet_common_tw_css = styles$
|
|
4571
|
+
const numeric_facet_common_tw_css = styles$l;
|
|
4499
4572
|
|
|
4500
|
-
function _ts_decorate$
|
|
4573
|
+
function _ts_decorate$1F(decorators, target, key, desc) {
|
|
4501
4574
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4502
4575
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
4503
4576
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4504
4577
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4505
4578
|
}
|
|
4506
|
-
function _ts_metadata$
|
|
4579
|
+
function _ts_metadata$1w(k, v) {
|
|
4507
4580
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
4508
4581
|
}
|
|
4509
4582
|
class AtomicFacetDateInput extends LightDomMixin(lit.LitElement) {
|
|
@@ -4660,52 +4733,52 @@ class AtomicFacetDateInput extends LightDomMixin(lit.LitElement) {
|
|
|
4660
4733
|
super(...args), this.startRef = ref_js.createRef(), this.endRef = ref_js.createRef(), this.max = '9999-12-31';
|
|
4661
4734
|
}
|
|
4662
4735
|
}
|
|
4663
|
-
_ts_decorate$
|
|
4736
|
+
_ts_decorate$1F([
|
|
4664
4737
|
decorators_js.state(),
|
|
4665
|
-
_ts_metadata$
|
|
4738
|
+
_ts_metadata$1w("design:type", "u" < typeof Date ? Object : Date)
|
|
4666
4739
|
], AtomicFacetDateInput.prototype, "start", void 0);
|
|
4667
|
-
_ts_decorate$
|
|
4740
|
+
_ts_decorate$1F([
|
|
4668
4741
|
decorators_js.state(),
|
|
4669
|
-
_ts_metadata$
|
|
4742
|
+
_ts_metadata$1w("design:type", "u" < typeof Date ? Object : Date)
|
|
4670
4743
|
], AtomicFacetDateInput.prototype, "end", void 0);
|
|
4671
|
-
_ts_decorate$
|
|
4744
|
+
_ts_decorate$1F([
|
|
4672
4745
|
decorators_js.property({
|
|
4673
4746
|
type: Object
|
|
4674
4747
|
}),
|
|
4675
|
-
_ts_metadata$
|
|
4748
|
+
_ts_metadata$1w("design:type", Object)
|
|
4676
4749
|
], AtomicFacetDateInput.prototype, "inputRange", void 0);
|
|
4677
|
-
_ts_decorate$
|
|
4750
|
+
_ts_decorate$1F([
|
|
4678
4751
|
decorators_js.property(),
|
|
4679
|
-
_ts_metadata$
|
|
4752
|
+
_ts_metadata$1w("design:type", String)
|
|
4680
4753
|
], AtomicFacetDateInput.prototype, "facetId", void 0);
|
|
4681
|
-
_ts_decorate$
|
|
4754
|
+
_ts_decorate$1F([
|
|
4682
4755
|
decorators_js.property(),
|
|
4683
|
-
_ts_metadata$
|
|
4756
|
+
_ts_metadata$1w("design:type", String)
|
|
4684
4757
|
], AtomicFacetDateInput.prototype, "label", void 0);
|
|
4685
|
-
_ts_decorate$
|
|
4758
|
+
_ts_decorate$1F([
|
|
4686
4759
|
decorators_js.property(),
|
|
4687
|
-
_ts_metadata$
|
|
4760
|
+
_ts_metadata$1w("design:type", String)
|
|
4688
4761
|
], AtomicFacetDateInput.prototype, "min", void 0);
|
|
4689
|
-
_ts_decorate$
|
|
4762
|
+
_ts_decorate$1F([
|
|
4690
4763
|
decorators_js.property(),
|
|
4691
|
-
_ts_metadata$
|
|
4764
|
+
_ts_metadata$1w("design:type", String)
|
|
4692
4765
|
], AtomicFacetDateInput.prototype, "max", void 0);
|
|
4693
|
-
_ts_decorate$
|
|
4766
|
+
_ts_decorate$1F([
|
|
4694
4767
|
decorators_js.state(),
|
|
4695
|
-
_ts_metadata$
|
|
4768
|
+
_ts_metadata$1w("design:type", "u" < typeof Error ? Object : Error)
|
|
4696
4769
|
], AtomicFacetDateInput.prototype, "error", void 0);
|
|
4697
|
-
_ts_decorate$
|
|
4770
|
+
_ts_decorate$1F([
|
|
4698
4771
|
decorators_js.state(),
|
|
4699
|
-
_ts_metadata$
|
|
4772
|
+
_ts_metadata$1w("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
4700
4773
|
], AtomicFacetDateInput.prototype, "bindings", void 0);
|
|
4701
|
-
_ts_decorate$
|
|
4774
|
+
_ts_decorate$1F([
|
|
4702
4775
|
bindingGuard(),
|
|
4703
4776
|
errorGuard(),
|
|
4704
|
-
_ts_metadata$
|
|
4705
|
-
_ts_metadata$
|
|
4706
|
-
_ts_metadata$
|
|
4777
|
+
_ts_metadata$1w("design:type", Function),
|
|
4778
|
+
_ts_metadata$1w("design:paramtypes", []),
|
|
4779
|
+
_ts_metadata$1w("design:returntype", void 0)
|
|
4707
4780
|
], AtomicFacetDateInput.prototype, "render", null);
|
|
4708
|
-
AtomicFacetDateInput = _ts_decorate$
|
|
4781
|
+
AtomicFacetDateInput = _ts_decorate$1F([
|
|
4709
4782
|
decorators_js.customElement('atomic-facet-date-input'),
|
|
4710
4783
|
bindings()
|
|
4711
4784
|
], AtomicFacetDateInput);
|
|
@@ -7060,7 +7133,7 @@ function getWindow$1() {
|
|
|
7060
7133
|
}
|
|
7061
7134
|
function getAtomicEnvironment(headlessVersion) {
|
|
7062
7135
|
return {
|
|
7063
|
-
version: "3.57.
|
|
7136
|
+
version: "3.57.2",
|
|
7064
7137
|
headlessVersion
|
|
7065
7138
|
};
|
|
7066
7139
|
}
|
|
@@ -7110,7 +7183,39 @@ function getNextAnalyticsConfig(searchEngineConfig, enabled) {
|
|
|
7110
7183
|
return configuration;
|
|
7111
7184
|
}
|
|
7112
7185
|
|
|
7186
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: true } : { done: false, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = true, u = false; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = true, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
|
|
7187
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
7188
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
7113
7189
|
function _typeof$2(o) { "@babel/helpers - typeof"; return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$2(o); }
|
|
7190
|
+
var UNSAFE_KEYS$1 = ['__proto__', 'constructor', 'prototype'];
|
|
7191
|
+
function isSafeUrlSegment(v) {
|
|
7192
|
+
if (typeof v !== 'string') return false;
|
|
7193
|
+
if (v.length === 0 || v.length > 128) return false;
|
|
7194
|
+
if (UNSAFE_KEYS$1.indexOf(v) > -1) return false;
|
|
7195
|
+
if (v.indexOf('..') > -1) return false;
|
|
7196
|
+
if (v.indexOf('/') > -1 || v.indexOf('\\') > -1) return false;
|
|
7197
|
+
if (/[?#%\s@]/.test(v)) return false;
|
|
7198
|
+
if (/[\x00-\x1F\x7F]/.test(v)) return false;
|
|
7199
|
+
return true;
|
|
7200
|
+
}
|
|
7201
|
+
function sanitizeLogValue(v) {
|
|
7202
|
+
if (typeof v !== 'string') return v;
|
|
7203
|
+
return v.replace(/[\r\n\x00-\x1F\x7F]/g, ' ');
|
|
7204
|
+
}
|
|
7205
|
+
function redactUrlCredentials(u) {
|
|
7206
|
+
if (typeof u !== 'string' || u.length === 0) return u;
|
|
7207
|
+
try {
|
|
7208
|
+
var parsed = new URL(u);
|
|
7209
|
+
if (parsed.username || parsed.password) {
|
|
7210
|
+
parsed.username = '';
|
|
7211
|
+
parsed.password = '';
|
|
7212
|
+
return parsed.toString();
|
|
7213
|
+
}
|
|
7214
|
+
return u;
|
|
7215
|
+
} catch (e) {
|
|
7216
|
+
return u.replace(/(\/\/)[^/@\s]+@/g, '$1');
|
|
7217
|
+
}
|
|
7218
|
+
}
|
|
7114
7219
|
function hasXMLHttpRequest() {
|
|
7115
7220
|
return typeof XMLHttpRequest === 'function' || (typeof XMLHttpRequest === "undefined" ? "undefined" : _typeof$2(XMLHttpRequest)) === 'object';
|
|
7116
7221
|
}
|
|
@@ -7124,11 +7229,32 @@ function makePromise(maybePromise) {
|
|
|
7124
7229
|
return Promise.resolve(maybePromise);
|
|
7125
7230
|
}
|
|
7126
7231
|
var interpolationRegexp = /\{\{(.+?)\}\}/g;
|
|
7127
|
-
function
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7232
|
+
function interpolateUrl(str, data) {
|
|
7233
|
+
var unsafe = false;
|
|
7234
|
+
var result = str.replace(interpolationRegexp, function (match, key) {
|
|
7235
|
+
var k = key.trim();
|
|
7236
|
+
if (UNSAFE_KEYS$1.indexOf(k) > -1) return match;
|
|
7237
|
+
var value = data[k];
|
|
7238
|
+
if (value == null) return match;
|
|
7239
|
+
var segments = String(value).split('+');
|
|
7240
|
+
var _iterator = _createForOfIteratorHelper(segments),
|
|
7241
|
+
_step;
|
|
7242
|
+
try {
|
|
7243
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
7244
|
+
var seg = _step.value;
|
|
7245
|
+
if (!isSafeUrlSegment(seg)) {
|
|
7246
|
+
unsafe = true;
|
|
7247
|
+
return match;
|
|
7248
|
+
}
|
|
7249
|
+
}
|
|
7250
|
+
} catch (err) {
|
|
7251
|
+
_iterator.e(err);
|
|
7252
|
+
} finally {
|
|
7253
|
+
_iterator.f();
|
|
7254
|
+
}
|
|
7255
|
+
return segments.join('+');
|
|
7131
7256
|
});
|
|
7257
|
+
return unsafe ? null : result;
|
|
7132
7258
|
}
|
|
7133
7259
|
|
|
7134
7260
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -7167,10 +7293,13 @@ if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) {
|
|
|
7167
7293
|
}).catch(function () {});
|
|
7168
7294
|
} catch (e) {}
|
|
7169
7295
|
}
|
|
7296
|
+
var UNSAFE_KEYS = ['__proto__', 'constructor', 'prototype'];
|
|
7170
7297
|
var addQueryString = function addQueryString(url, params) {
|
|
7171
7298
|
if (params && _typeof$1(params) === 'object') {
|
|
7172
7299
|
var queryString = '';
|
|
7173
|
-
for (var
|
|
7300
|
+
for (var _i = 0, _Object$keys = Object.keys(params); _i < _Object$keys.length; _i++) {
|
|
7301
|
+
var paramName = _Object$keys[_i];
|
|
7302
|
+
if (UNSAFE_KEYS.indexOf(paramName) > -1) continue;
|
|
7174
7303
|
queryString += '&' + encodeURIComponent(paramName) + '=' + encodeURIComponent(params[paramName]);
|
|
7175
7304
|
}
|
|
7176
7305
|
if (!queryString) return url;
|
|
@@ -7203,7 +7332,6 @@ var fetchIt = function fetchIt(url, fetchOptions, callback, altFetch) {
|
|
|
7203
7332
|
fetchApi(url, fetchOptions).then(resolver).catch(callback);
|
|
7204
7333
|
}
|
|
7205
7334
|
};
|
|
7206
|
-
var omitFetchOptions = false;
|
|
7207
7335
|
var requestWithFetch = function requestWithFetch(options, url, payload, callback) {
|
|
7208
7336
|
if (options.queryStringParams) {
|
|
7209
7337
|
url = addQueryString(url, options.queryStringParams);
|
|
@@ -7218,7 +7346,7 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
7218
7346
|
method: payload ? 'POST' : 'GET',
|
|
7219
7347
|
body: payload ? options.stringify(payload) : undefined,
|
|
7220
7348
|
headers: headers
|
|
7221
|
-
},
|
|
7349
|
+
}, options._omitFetchOptions ? {} : reqOptions);
|
|
7222
7350
|
var altFetch = typeof options.alternateFetch === 'function' && options.alternateFetch.length >= 1 ? options.alternateFetch : undefined;
|
|
7223
7351
|
try {
|
|
7224
7352
|
fetchIt(url, fetchOptions, callback, altFetch);
|
|
@@ -7231,7 +7359,7 @@ var requestWithFetch = function requestWithFetch(options, url, payload, callback
|
|
|
7231
7359
|
delete fetchOptions[opt];
|
|
7232
7360
|
});
|
|
7233
7361
|
fetchIt(url, fetchOptions, callback, altFetch);
|
|
7234
|
-
|
|
7362
|
+
options._omitFetchOptions = true;
|
|
7235
7363
|
} catch (err) {
|
|
7236
7364
|
callback(err);
|
|
7237
7365
|
}
|
|
@@ -7260,7 +7388,9 @@ var requestWithXmlHttpRequest = function requestWithXmlHttpRequest(options, url,
|
|
|
7260
7388
|
var h = options.customHeaders;
|
|
7261
7389
|
h = typeof h === 'function' ? h() : h;
|
|
7262
7390
|
if (h) {
|
|
7263
|
-
for (var
|
|
7391
|
+
for (var _i2 = 0, _Object$keys2 = Object.keys(h); _i2 < _Object$keys2.length; _i2++) {
|
|
7392
|
+
var i = _Object$keys2[_i2];
|
|
7393
|
+
if (UNSAFE_KEYS.indexOf(i) > -1) continue;
|
|
7264
7394
|
x.setRequestHeader(i, h[i]);
|
|
7265
7395
|
}
|
|
7266
7396
|
}
|
|
@@ -7375,10 +7505,15 @@ var Backend = function () {
|
|
|
7375
7505
|
loadPath = makePromise(loadPath);
|
|
7376
7506
|
loadPath.then(function (resolvedLoadPath) {
|
|
7377
7507
|
if (!resolvedLoadPath) return callback(null, {});
|
|
7378
|
-
var url =
|
|
7508
|
+
var url = interpolateUrl(resolvedLoadPath, {
|
|
7379
7509
|
lng: languages.join('+'),
|
|
7380
7510
|
ns: namespaces.join('+')
|
|
7381
7511
|
});
|
|
7512
|
+
if (url == null) {
|
|
7513
|
+
var safeLngs = languages.map(sanitizeLogValue).join(', ');
|
|
7514
|
+
var safeNss = namespaces.map(sanitizeLogValue).join(', ');
|
|
7515
|
+
return callback(new Error('i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=[' + safeLngs + '] namespaces=[' + safeNss + ']'), false);
|
|
7516
|
+
}
|
|
7382
7517
|
_this2.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces);
|
|
7383
7518
|
});
|
|
7384
7519
|
}
|
|
@@ -7389,16 +7524,17 @@ var Backend = function () {
|
|
|
7389
7524
|
var lng = typeof languages === 'string' ? [languages] : languages;
|
|
7390
7525
|
var ns = typeof namespaces === 'string' ? [namespaces] : namespaces;
|
|
7391
7526
|
var payload = this.options.parseLoadPayload(lng, ns);
|
|
7527
|
+
var safeUrl = sanitizeLogValue(redactUrlCredentials(url));
|
|
7392
7528
|
this.options.request(this.options, url, payload, function (err, res) {
|
|
7393
|
-
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' +
|
|
7394
|
-
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' +
|
|
7529
|
+
if (res && (res.status >= 500 && res.status < 600 || !res.status)) return callback('failed loading ' + safeUrl + '; status code: ' + res.status, true);
|
|
7530
|
+
if (res && res.status >= 400 && res.status < 500) return callback('failed loading ' + safeUrl + '; status code: ' + res.status, false);
|
|
7395
7531
|
if (!res && err && err.message) {
|
|
7396
7532
|
var errorMessage = err.message.toLowerCase();
|
|
7397
7533
|
var isNetworkError = ['failed', 'fetch', 'network', 'load'].find(function (term) {
|
|
7398
7534
|
return errorMessage.indexOf(term) > -1;
|
|
7399
7535
|
});
|
|
7400
7536
|
if (isNetworkError) {
|
|
7401
|
-
return callback('failed loading ' +
|
|
7537
|
+
return callback('failed loading ' + safeUrl + ': ' + sanitizeLogValue(err.message), true);
|
|
7402
7538
|
}
|
|
7403
7539
|
}
|
|
7404
7540
|
if (err) return callback(err, false);
|
|
@@ -7410,7 +7546,7 @@ var Backend = function () {
|
|
|
7410
7546
|
ret = res.data;
|
|
7411
7547
|
}
|
|
7412
7548
|
} catch (e) {
|
|
7413
|
-
parseErr = 'failed parsing ' +
|
|
7549
|
+
parseErr = 'failed parsing ' + safeUrl + ' to json';
|
|
7414
7550
|
}
|
|
7415
7551
|
if (parseErr) return callback(parseErr, false);
|
|
7416
7552
|
callback(null, ret);
|
|
@@ -7431,10 +7567,15 @@ var Backend = function () {
|
|
|
7431
7567
|
if (typeof _this4.options.addPath === 'function') {
|
|
7432
7568
|
addPath = _this4.options.addPath(lng, namespace);
|
|
7433
7569
|
}
|
|
7434
|
-
var url =
|
|
7570
|
+
var url = interpolateUrl(addPath, {
|
|
7435
7571
|
lng: lng,
|
|
7436
7572
|
ns: namespace
|
|
7437
7573
|
});
|
|
7574
|
+
if (url == null) {
|
|
7575
|
+
finished += 1;
|
|
7576
|
+
if (callback && finished === languages.length) callback(dataArray, resArray);
|
|
7577
|
+
return;
|
|
7578
|
+
}
|
|
7438
7579
|
_this4.options.request(_this4.options, url, payload, function (data, res) {
|
|
7439
7580
|
finished += 1;
|
|
7440
7581
|
dataArray.push(data);
|
|
@@ -7733,13 +7874,13 @@ function debounce$1(execute, wait) {
|
|
|
7733
7874
|
};
|
|
7734
7875
|
}
|
|
7735
7876
|
|
|
7736
|
-
function _ts_decorate$
|
|
7877
|
+
function _ts_decorate$1E(decorators, target, key, desc) {
|
|
7737
7878
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
7738
7879
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
7739
7880
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7740
7881
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7741
7882
|
}
|
|
7742
|
-
function _ts_metadata$
|
|
7883
|
+
function _ts_metadata$1v(k, v) {
|
|
7743
7884
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
7744
7885
|
}
|
|
7745
7886
|
let AtomicAriaLive$1 = class AtomicAriaLive extends LightDomMixin(lit.LitElement) {
|
|
@@ -7810,11 +7951,11 @@ let AtomicAriaLive$1 = class AtomicAriaLive extends LightDomMixin(lit.LitElement
|
|
|
7810
7951
|
};
|
|
7811
7952
|
}
|
|
7812
7953
|
};
|
|
7813
|
-
_ts_decorate$
|
|
7954
|
+
_ts_decorate$1E([
|
|
7814
7955
|
decorators_js.state(),
|
|
7815
|
-
_ts_metadata$
|
|
7956
|
+
_ts_metadata$1v("design:type", "u" < typeof Readonly ? Object : Readonly)
|
|
7816
7957
|
], AtomicAriaLive$1.prototype, "regions", void 0);
|
|
7817
|
-
AtomicAriaLive$1 = _ts_decorate$
|
|
7958
|
+
AtomicAriaLive$1 = _ts_decorate$1E([
|
|
7818
7959
|
decorators_js.customElement('atomic-aria-live')
|
|
7819
7960
|
], AtomicAriaLive$1);
|
|
7820
7961
|
|
|
@@ -9110,7 +9251,7 @@ function ItemSectionMixin(superClass, styles) {
|
|
|
9110
9251
|
return ItemSectionMixinClass;
|
|
9111
9252
|
}
|
|
9112
9253
|
|
|
9113
|
-
function _ts_decorate$
|
|
9254
|
+
function _ts_decorate$1D(decorators, target, key, desc) {
|
|
9114
9255
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9115
9256
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9116
9257
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9118,11 +9259,11 @@ function _ts_decorate$1C(decorators, target, key, desc) {
|
|
|
9118
9259
|
}
|
|
9119
9260
|
let AtomicResultSectionActions$1 = class AtomicResultSectionActions extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-actions.with-sections{overflow:hidden;text-overflow:ellipsis}atomic-result-section-actions{text-align:left}atomic-result-section-actions.with-sections{grid-area:actions}atomic-result-section-actions.with-sections atomic-result-quickview{display:inline-block}atomic-result-section-actions.with-sections{max-height:calc(var(--row-height,2rem)*2 + .5rem);--row-height:2rem;display:flex;flex-wrap:wrap;gap:.5rem}@media (min-width:1024px){atomic-result-section-actions.with-sections.display-list.density-comfortable{margin-bottom:1.5rem}atomic-result-section-actions.with-sections.display-list.density-compact,atomic-result-section-actions.with-sections.display-list.density-normal{margin-bottom:1rem}atomic-result-section-actions.with-sections.display-grid.density-comfortable{--row-height:2.5rem;margin-top:2.25rem}atomic-result-section-actions.with-sections.display-grid.density-normal{margin-top:1.75rem}atomic-result-section-actions.with-sections.display-grid.density-compact,atomic-result-section-actions.with-sections.display-grid.density-normal{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-actions.with-sections.display-grid.density-compact{margin-top:1.25rem}}@media not all and (min-width:1024px){atomic-result-section-actions.with-sections.display-list.density-comfortable{margin-top:1rem}atomic-result-section-actions.with-sections.display-list.density-normal{margin-top:.75rem}atomic-result-section-actions.with-sections.display-list.density-compact{margin-top:.5em}atomic-result-section-actions.with-sections.display-list{--row-height:2.5rem}atomic-result-section-actions.with-sections.display-grid.image-large.density-comfortable{margin-top:1rem}atomic-result-section-actions.with-sections.display-grid.image-large.density-normal{margin-top:.75rem}atomic-result-section-actions.with-sections.display-grid.image-large.density-compact{margin-top:.5em}atomic-result-section-actions.with-sections.display-grid.image-large{--row-height:2.5rem}:is(atomic-result-section-actions.with-sections.display-grid.image-small,atomic-result-section-actions.with-sections.display-grid.image-icon,atomic-result-section-actions.with-sections.display-grid.image-none).density-comfortable{margin-top:1.25rem}:is(atomic-result-section-actions.with-sections.display-grid.image-small,atomic-result-section-actions.with-sections.display-grid.image-icon,atomic-result-section-actions.with-sections.display-grid.image-none).density-normal{margin-top:1rem}:is(atomic-result-section-actions.with-sections.display-grid.image-small,atomic-result-section-actions.with-sections.display-grid.image-icon,atomic-result-section-actions.with-sections.display-grid.image-none).density-compact{margin-top:.75rem}}atomic-result-section-actions.with-sections.display-table.density-comfortable{margin-bottom:1.5rem}atomic-result-section-actions.with-sections.display-table.density-compact,atomic-result-section-actions.with-sections.display-table.density-normal{margin-bottom:1rem}`) {
|
|
9120
9261
|
};
|
|
9121
|
-
AtomicResultSectionActions$1 = _ts_decorate$
|
|
9262
|
+
AtomicResultSectionActions$1 = _ts_decorate$1D([
|
|
9122
9263
|
decorators_js.customElement('atomic-result-section-actions')
|
|
9123
9264
|
], AtomicResultSectionActions$1);
|
|
9124
9265
|
|
|
9125
|
-
function _ts_decorate$
|
|
9266
|
+
function _ts_decorate$1C(decorators, target, key, desc) {
|
|
9126
9267
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9127
9268
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9128
9269
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9130,11 +9271,11 @@ function _ts_decorate$1B(decorators, target, key, desc) {
|
|
|
9130
9271
|
}
|
|
9131
9272
|
let AtomicResultSectionBadges$1 = class AtomicResultSectionBadges extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-badges{text-align:left}atomic-result-section-badges.with-sections{max-height:calc(var(--row-height,2rem)*2 + .5rem);text-overflow:ellipsis;--row-height:2rem;display:flex;flex-wrap:wrap;gap:.5rem;grid-area:badges;margin-bottom:1rem;overflow:hidden}@media (min-width:1024px){atomic-result-section-badges.with-sections.display-list.density-comfortable{margin-bottom:1.5rem}atomic-result-section-badges.with-sections.display-grid.image-icon.density-comfortable{margin-bottom:2rem}atomic-result-section-badges.with-sections.display-grid.image-icon.density-normal{margin-bottom:1.5rem}atomic-result-section-badges.with-sections.display-grid{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}}@media not all and (min-width:1024px){atomic-result-section-badges.with-sections.display-grid.image-icon,atomic-result-section-badges.with-sections.display-grid.image-none,atomic-result-section-badges.with-sections.display-grid.image-small,atomic-result-section-badges.with-sections.display-list{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}}atomic-result-section-badges.with-sections.display-table.density-comfortable{margin-bottom:1.5rem}`) {
|
|
9132
9273
|
};
|
|
9133
|
-
AtomicResultSectionBadges$1 = _ts_decorate$
|
|
9274
|
+
AtomicResultSectionBadges$1 = _ts_decorate$1C([
|
|
9134
9275
|
decorators_js.customElement('atomic-result-section-badges')
|
|
9135
9276
|
], AtomicResultSectionBadges$1);
|
|
9136
9277
|
|
|
9137
|
-
function _ts_decorate$
|
|
9278
|
+
function _ts_decorate$1B(decorators, target, key, desc) {
|
|
9138
9279
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9139
9280
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9140
9281
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9142,11 +9283,11 @@ function _ts_decorate$1A(decorators, target, key, desc) {
|
|
|
9142
9283
|
}
|
|
9143
9284
|
let AtomicResultSectionBottomMetadata$1 = class AtomicResultSectionBottomMetadata extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-bottom-metadata.with-sections{color:var(--atomic-neutral-dark);text-overflow:ellipsis;--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));grid-area:bottom-metadata;line-height:var(--line-height);overflow:hidden}@media (min-width:1024px){atomic-result-section-bottom-metadata.with-sections.display-list.density-comfortable{margin-top:1.25rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-normal{margin-top:.875rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-compact{margin-top:.6875rem;max-height:3.25rem}atomic-result-section-bottom-metadata.with-sections.display-grid.density-comfortable{margin-top:1.75rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-grid.density-normal{margin-top:1.375rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-grid.density-compact{margin-top:.9375rem;max-height:3.25rem}}@media not all and (min-width:1024px){atomic-result-section-bottom-metadata.with-sections.display-list.density-comfortable{margin-top:.75rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-normal{margin-top:.625rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-list.density-compact{margin-top:.4375rem;max-height:3.25rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-large.density-comfortable{margin-top:.75rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-large.density-normal{margin-top:.625rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-large.density-compact{margin-top:.4375rem;max-height:3.25rem}atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none,atomic-result-section-bottom-metadata.with-sections.display-grid.image-small{max-height:3rem}:is(atomic-result-section-bottom-metadata.with-sections.display-grid.image-small,atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none).density-comfortable{margin-top:1rem}:is(atomic-result-section-bottom-metadata.with-sections.display-grid.image-small,atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none).density-normal{margin-top:.75rem}:is(atomic-result-section-bottom-metadata.with-sections.display-grid.image-small,atomic-result-section-bottom-metadata.with-sections.display-grid.image-icon,atomic-result-section-bottom-metadata.with-sections.display-grid.image-none).density-compact{margin-top:.5rem}}atomic-result-section-bottom-metadata.with-sections.display-table.density-comfortable{margin-top:1.25rem;max-height:4rem}atomic-result-section-bottom-metadata.with-sections.display-table.density-normal{margin-top:.875rem;max-height:3.5rem}atomic-result-section-bottom-metadata.with-sections.display-table.density-compact{margin-top:.6875rem;max-height:3.25rem}`) {
|
|
9144
9285
|
};
|
|
9145
|
-
AtomicResultSectionBottomMetadata$1 = _ts_decorate$
|
|
9286
|
+
AtomicResultSectionBottomMetadata$1 = _ts_decorate$1B([
|
|
9146
9287
|
decorators_js.customElement('atomic-result-section-bottom-metadata')
|
|
9147
9288
|
], AtomicResultSectionBottomMetadata$1);
|
|
9148
9289
|
|
|
9149
|
-
function _ts_decorate$
|
|
9290
|
+
function _ts_decorate$1A(decorators, target, key, desc) {
|
|
9150
9291
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9151
9292
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9152
9293
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9154,11 +9295,11 @@ function _ts_decorate$1z(decorators, target, key, desc) {
|
|
|
9154
9295
|
}
|
|
9155
9296
|
let AtomicResultSectionExcerpt$1 = class AtomicResultSectionExcerpt extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-excerpt.with-sections{color:var(--atomic-neutral-dark);-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;grid-area:excerpt;overflow:hidden}@media (min-width:1024px){atomic-result-section-excerpt.with-sections.density-comfortable{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}atomic-result-section-excerpt.with-sections.density-compact{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}atomic-result-section-excerpt.with-sections.display-list.density-comfortable{margin-top:1.75rem;max-height:4.5rem}atomic-result-section-excerpt.with-sections.display-list.density-normal{margin-top:1.25rem;max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-list.density-compact{margin-top:1rem;max-height:1.25rem}atomic-result-section-excerpt.with-sections.display-grid.density-comfortable{margin-top:2.25rem}atomic-result-section-excerpt.with-sections.display-grid.density-normal{margin-top:1.75rem}atomic-result-section-excerpt.with-sections.display-grid.density-compact{margin-top:1.25rem}}@media not all and (min-width:1024px){atomic-result-section-excerpt.with-sections.display-list.density-comfortable,atomic-result-section-excerpt.with-sections.display-list.density-normal{max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-list.density-comfortable{margin-top:1.25rem}atomic-result-section-excerpt.with-sections.display-list.density-normal{margin-top:1rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-comfortable,atomic-result-section-excerpt.with-sections.display-grid.image-large.density-normal{max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-comfortable{margin-top:1.25rem}atomic-result-section-excerpt.with-sections.display-grid.image-large.density-normal{margin-top:1rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-comfortable{margin-top:1.25rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-normal{margin-top:1rem}:is(atomic-result-section-excerpt.with-sections.display-grid.image-small,atomic-result-section-excerpt.with-sections.display-grid.image-icon,atomic-result-section-excerpt.with-sections.display-grid.image-none).density-compact{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;overflow:hidden}}atomic-result-section-excerpt.with-sections.display-table.density-comfortable{margin-top:1.75rem;max-height:4.5rem}atomic-result-section-excerpt.with-sections.display-table.density-normal{margin-top:1.25rem;max-height:2.5rem}atomic-result-section-excerpt.with-sections.display-table.density-compact{margin-top:1rem;max-height:1.25rem}`) {
|
|
9156
9297
|
};
|
|
9157
|
-
AtomicResultSectionExcerpt$1 = _ts_decorate$
|
|
9298
|
+
AtomicResultSectionExcerpt$1 = _ts_decorate$1A([
|
|
9158
9299
|
decorators_js.customElement('atomic-result-section-excerpt')
|
|
9159
9300
|
], AtomicResultSectionExcerpt$1);
|
|
9160
9301
|
|
|
9161
|
-
function _ts_decorate$
|
|
9302
|
+
function _ts_decorate$1z(decorators, target, key, desc) {
|
|
9162
9303
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9163
9304
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9164
9305
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -9166,40 +9307,40 @@ function _ts_decorate$1y(decorators, target, key, desc) {
|
|
|
9166
9307
|
}
|
|
9167
9308
|
let AtomicResultSectionTitle$1 = class AtomicResultSectionTitle extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-title.with-sections{color:var(--atomic-on-background);text-overflow:ellipsis;--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));grid-area:title;line-height:var(--line-height);overflow:hidden}atomic-result-section-title.with-sections.density-comfortable{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}@media (min-width:1024px){atomic-result-section-title.with-sections.display-grid{-webkit-line-clamp:2;word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@media not all and (min-width:1024px){atomic-result-section-title.with-sections.display-grid.image-large,atomic-result-section-title.with-sections.display-list{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}atomic-result-section-title.with-sections.display-grid.image-icon,atomic-result-section-title.with-sections.display-grid.image-none,atomic-result-section-title.with-sections.display-grid.image-small{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}}`) {
|
|
9168
9309
|
};
|
|
9169
|
-
AtomicResultSectionTitle$1 = _ts_decorate$
|
|
9310
|
+
AtomicResultSectionTitle$1 = _ts_decorate$1z([
|
|
9170
9311
|
decorators_js.customElement('atomic-result-section-title')
|
|
9171
9312
|
], AtomicResultSectionTitle$1);
|
|
9172
9313
|
|
|
9173
|
-
function _ts_decorate$
|
|
9314
|
+
function _ts_decorate$1y(decorators, target, key, desc) {
|
|
9174
9315
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
9175
9316
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9176
9317
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9177
9318
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9178
9319
|
}
|
|
9179
|
-
function _ts_metadata$
|
|
9320
|
+
function _ts_metadata$1u(k, v) {
|
|
9180
9321
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9181
9322
|
}
|
|
9182
9323
|
let AtomicResultSectionVisual$1 = class AtomicResultSectionVisual extends ItemSectionMixin(lit.LitElement, lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */atomic-result-section-visual.with-sections{grid-area:visual;overflow:hidden;text-overflow:ellipsis}atomic-result-section-visual.with-sections.image-icon{border-radius:var(--atomic-border-radius);height:2rem;width:2rem}atomic-result-section-visual.with-sections.image-none{display:none}@media (min-width:1024px){atomic-result-section-visual.with-sections.display-list{margin-right:1rem}atomic-result-section-visual.with-sections.display-list.density-comfortable{margin-right:1.5rem}atomic-result-section-visual.with-sections.display-list.image-large.density-compact{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-list.image-large.density-comfortable,atomic-result-section-visual.with-sections.display-list.image-large.density-normal{height:20.375rem;width:20.375rem}atomic-result-section-visual.with-sections.display-list.image-small{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-grid{margin-bottom:.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-comfortable{margin:0 auto 2rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-normal{margin:0 auto 1.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small).density-compact{margin:0 auto 1rem}atomic-result-section-visual.with-sections.display-grid.image-large,atomic-result-section-visual.with-sections.display-grid.image-small{width:100%}atomic-result-section-visual.with-sections.display-grid.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-large{height:19.75rem}}atomic-result-section-visual.with-sections.display-grid.image-small{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-small{height:14rem}}}@media not all and (min-width:1024px){atomic-result-section-visual.with-sections.display-list{margin-right:1rem}atomic-result-section-visual.with-sections.display-list.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-list.image-large{height:7.25rem}}atomic-result-section-visual.with-sections.display-list.image-large{margin-bottom:1rem;margin-right:0;width:100%}atomic-result-section-visual.with-sections.display-list.image-small{height:24vw;margin-bottom:1rem;width:24vw}atomic-result-section-visual.with-sections.display-list.image-icon{margin-bottom:0}atomic-result-section-visual.with-sections.display-grid.image-large{margin-right:1rem}atomic-result-section-visual.with-sections.display-grid.image-large.image-large{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){atomic-result-section-visual.with-sections.display-grid.image-large.image-large{height:7.25rem}}atomic-result-section-visual.with-sections.display-grid.image-large.image-large{margin-bottom:1rem;margin-right:0;width:100%}atomic-result-section-visual.with-sections.display-grid.image-large.image-small{height:24vw;margin-bottom:1rem;width:24vw}atomic-result-section-visual.with-sections.display-grid.image-large.image-icon{margin-bottom:0}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-comfortable{margin-bottom:1rem}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-normal{margin-bottom:.75rem}:is(:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small).density-compact{margin-bottom:.5rem}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-large,:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{width:100%}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{height:9rem}}:is(atomic-result-section-visual.with-sections.display-grid.image-small,atomic-result-section-visual.with-sections.display-grid.image-icon,atomic-result-section-visual.with-sections.display-grid.image-none).image-small{height:10.25rem;width:10.25rem}}atomic-result-section-visual.with-sections.display-table{margin-right:1rem}atomic-result-section-visual.with-sections.display-table.density-comfortable{margin-right:1.5rem}atomic-result-section-visual.with-sections.display-table.image-large.density-compact{height:10rem;width:10rem}atomic-result-section-visual.with-sections.display-table.image-large.density-comfortable,atomic-result-section-visual.with-sections.display-table.image-large.density-normal{height:20.375rem;width:20.375rem}atomic-result-section-visual.with-sections.display-table.image-small{height:10rem;width:10rem}`) {
|
|
9183
9324
|
};
|
|
9184
|
-
_ts_decorate$
|
|
9325
|
+
_ts_decorate$1y([
|
|
9185
9326
|
decorators_js.property({
|
|
9186
9327
|
reflect: true,
|
|
9187
9328
|
attribute: 'image-size',
|
|
9188
9329
|
type: Object
|
|
9189
9330
|
}),
|
|
9190
|
-
_ts_metadata$
|
|
9331
|
+
_ts_metadata$1u("design:type", "u" < typeof Omit ? Object : Omit)
|
|
9191
9332
|
], AtomicResultSectionVisual$1.prototype, "imageSize", void 0);
|
|
9192
|
-
AtomicResultSectionVisual$1 = _ts_decorate$
|
|
9333
|
+
AtomicResultSectionVisual$1 = _ts_decorate$1y([
|
|
9193
9334
|
decorators_js.customElement('atomic-result-section-visual')
|
|
9194
9335
|
], AtomicResultSectionVisual$1);
|
|
9195
9336
|
|
|
9196
|
-
function _ts_decorate$
|
|
9337
|
+
function _ts_decorate$1x(decorators, target, key, desc) {
|
|
9197
9338
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
9198
9339
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9199
9340
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9200
9341
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9201
9342
|
}
|
|
9202
|
-
function _ts_metadata$
|
|
9343
|
+
function _ts_metadata$1t(k, v) {
|
|
9203
9344
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9204
9345
|
}
|
|
9205
9346
|
const placeholderClasses = 'block bg-neutral w-full h-full rounded';
|
|
@@ -9256,37 +9397,37 @@ class AtomicResultPlaceholder extends lit.LitElement {
|
|
|
9256
9397
|
}
|
|
9257
9398
|
}
|
|
9258
9399
|
AtomicResultPlaceholder.styles = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial;--tw-border-style:solid}}}@layer components{:host :host{font-family:var(--atomic-font-family);--tw-font-weight:var(--atomic-font-normal);font-weight:var(--atomic-font-normal)}:host atomic-result-section-actions,:host atomic-result-section-badges{text-align:left}:host atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem}:host .result-root.with-sections{display:grid;justify-items:stretch}:host .result-root.with-sections atomic-result-section-visual{grid-area:visual}:host .result-root.with-sections atomic-result-section-badges{grid-area:badges}:host .result-root.with-sections atomic-result-section-actions{grid-area:actions}:host .result-root.with-sections atomic-result-section-actions atomic-result-quickview{display:inline-block}:host .result-root.with-sections atomic-result-section-title{color:var(--atomic-on-background);grid-area:title}:host .result-root.with-sections atomic-result-section-title-metadata{grid-area:title-metadata}:host .result-root.with-sections atomic-result-section-emphasized{grid-area:emphasized}:host .result-root.with-sections atomic-result-section-excerpt{color:var(--atomic-neutral-dark);grid-area:excerpt}:host .result-root.with-sections atomic-result-section-bottom-metadata{color:var(--atomic-neutral-dark);grid-area:bottom-metadata}:host .result-root.with-sections atomic-result-section-children{grid-area:children}:host .result-root.with-sections atomic-result-section-actions,:host .result-root.with-sections atomic-result-section-badges{display:flex;flex-wrap:wrap;gap:.5rem;max-height:calc(var(--row-height,2rem)*2 + .5rem)}:host .result-root.with-sections atomic-result-section-actions,:host .result-root.with-sections atomic-result-section-badges,:host .result-root.with-sections atomic-result-section-bottom-metadata,:host .result-root.with-sections atomic-result-section-emphasized,:host .result-root.with-sections atomic-result-section-excerpt,:host .result-root.with-sections atomic-result-section-title,:host .result-root.with-sections atomic-result-section-title-metadata,:host .result-root.with-sections atomic-result-section-visual{overflow:hidden;text-overflow:ellipsis}:host .result-root.with-sections.image-icon atomic-result-section-visual{border-radius:var(--atomic-border-radius)}@media (min-width:1024px){:host .result-root.with-sections.display-list.image-large.density-compact atomic-result-section-visual{height:10.25rem;width:10.25rem}:host .result-root.with-sections.display-list atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-list atomic-result-section-children atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-visual{margin-right:1.5rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-actions,:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;max-height:4.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;max-height:4rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-list.density-comfortable .placeholder,:host .result-root.with-sections.display-list.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-actions,:host .result-root.with-sections.display-list.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.875rem;max-height:3.5rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-list.density-normal .placeholder,:host .result-root.with-sections.display-list.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-actions,:host .result-root.with-sections.display-list.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-list.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.6875rem;max-height:3.25rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-list.density-compact .placeholder,:host .result-root.with-sections.display-list.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-list.image-large,:host .result-root.with-sections.display-list.image-small{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}:is(:host .result-root.with-sections.display-list.image-large.density-comfortable,:host .result-root.with-sections.display-list.image-large.density-normal) atomic-result-section-visual{height:20.375rem;width:20.375rem}:is(:host .result-root.with-sections.display-list.image-small,:host .result-root.with-sections.display-list.image-large.density-compact) atomic-result-section-visual{height:10rem;width:10rem}:host .result-root.with-sections.display-list.image-icon{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content))}:host .result-root.with-sections.display-list.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-list.image-none{grid-template-areas:"badges.actions""title title title""title-metadata title-metadata title-metadata""emphasized emphasized emphasized""excerpt excerpt excerpt""bottom-metadata bottom-metadata bottom-metadata""children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto)}:host .result-root.with-sections.display-list.image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-list atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-list atomic-result-section-children atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-actions{--row-height:2.5rem;margin-top:1rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:4rem}:host .result-root.with-sections.display-list.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-comfortable atomic-result-children,:host .result-root.with-sections.display-list.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-list.density-comfortable .placeholder,:host .result-root.with-sections.display-list.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-actions{--row-height:2.5rem;margin-top:.75rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-list.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.625rem;max-height:3.5rem}:host .result-root.with-sections.display-list.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-normal atomic-result-children,:host .result-root.with-sections.display-list.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-list.density-normal .placeholder,:host .result-root.with-sections.display-list.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-actions{--row-height:2.5rem;margin-top:.5em}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-list.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-list.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.4375rem;max-height:3.25rem}:host .result-root.with-sections.display-list.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-list.density-compact atomic-result-children,:host .result-root.with-sections.display-list.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-list.density-compact .placeholder,:host .result-root.with-sections.display-list.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-list.image-large{grid-template-areas:"visual""badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(8,auto)}:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{height:7.25rem}}:host .result-root.with-sections.display-list.image-large atomic-result-section-visual{margin-bottom:1rem;margin-right:0;width:100%}:host .result-root.with-sections.display-list.image-small{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual.""excerpt excerpt""bottom-metadata bottom-metadata""actions actions""children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto)}:host .result-root.with-sections.display-list.image-small atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}:host .result-root.with-sections.display-list.image-icon{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual excerpt""visual bottom-metadata""visual actions""visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr}:host .result-root.with-sections.display-list.image-icon atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}:host .result-root.with-sections.display-list.image-none{grid-template-areas:"badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(7,auto)}:host .result-root.with-sections.display-list.image-none atomic-result-section-visual{display:none}}:host .result-root.with-sections.display-grid a,:host .result-root.with-sections.display-grid button{position:relative}@media (min-width:1024px){:host .result-root.with-sections.display-grid.image-large{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-large,:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-small) atomic-result-section-visual{margin:0 auto 2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-icon atomic-result-section-badges{margin-bottom:2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2.5rem;margin-top:2.25rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:2.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal.image-large,:host .result-root.with-sections.display-grid.image-large.density-normal.image-small) atomic-result-section-visual{margin:0 auto 1.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal.image-icon atomic-result-section-badges{margin-bottom:1.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact.image-large,:host .result-root.with-sections.display-grid.image-large.density-compact.image-small) atomic-result-section-visual{margin:0 auto 1rem}:host .result-root.with-sections.display-grid.image-large.density-compact.image-icon atomic-result-section-badges{margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-visual{margin-bottom:.5rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{height:19.75rem}}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{width:100%}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-badges{margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{height:14rem}}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{width:100%}:host .result-root.with-sections.display-grid.image-large.image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-grid.image-large atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-grid.image-large atomic-result-section-children atomic-result-children::part(children-root){border-top:1px var(--tw-border-style) var(--atomic-neutral)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-actions{--row-height:2.5rem;margin-top:1rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:4rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.75rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-grid.image-large.density-comfortable .placeholder,:host .result-root.with-sections.display-grid.image-large.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-actions{--row-height:2.5rem;margin-top:.75rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.625rem;max-height:3.5rem}:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-normal atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1.5rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-normal atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-grid.image-large.density-normal .placeholder,:host .result-root.with-sections.display-grid.image-large.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-actions{--row-height:2.5rem;margin-top:.5em}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.4375rem;max-height:3.25rem}:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-compact atomic-insight-result-children)::part(children-root){margin-inline:-1rem;margin-top:1rem;padding-top:1rem;padding-inline:1rem}:is(:host .result-root.with-sections.display-grid.image-large.density-compact atomic-result-children,:host .result-root.with-sections.display-grid.image-large.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-grid.image-large.density-compact .placeholder,:host .result-root.with-sections.display-grid.image-large.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-grid.image-large.image-large{grid-template-areas:"visual""badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(8,auto)}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{height:7.25rem}}:host .result-root.with-sections.display-grid.image-large.image-large atomic-result-section-visual{margin-bottom:1rem;margin-right:0;width:100%}:host .result-root.with-sections.display-grid.image-large.image-small{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual.""excerpt excerpt""bottom-metadata bottom-metadata""actions actions""children children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(4,auto) minmax(0,1fr) repeat(3,auto)}:host .result-root.with-sections.display-grid.image-large.image-small atomic-result-section-visual{height:24vw;margin-bottom:1rem;width:24vw}:host .result-root.with-sections.display-grid.image-large.image-icon{grid-template-areas:"badges badges""visual title""visual title-metadata""visual emphasized""visual excerpt""visual bottom-metadata""visual actions""visual children";grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(7,auto) 1fr}:host .result-root.with-sections.display-grid.image-large.image-icon atomic-result-section-visual{height:2rem;margin-bottom:0;width:2rem}:host .result-root.with-sections.display-grid.image-large.image-none{grid-template-areas:"badges""title""title-metadata""emphasized""excerpt""bottom-metadata""actions""children";grid-template-columns:100%;grid-template-rows:repeat(7,auto)}:host .result-root.with-sections.display-grid.image-large.image-none atomic-result-section-visual{display:none}}@media (min-width:1024px){:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none,:host .result-root.with-sections.display-grid.image-small{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-small) atomic-result-section-visual{margin:0 auto 2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-icon atomic-result-section-badges{margin-bottom:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2.5rem;margin-top:2.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:2.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.75rem;max-height:4rem}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-small) atomic-result-section-visual{margin:0 auto 1.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-icon atomic-result-section-badges{margin-bottom:1.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.375rem;max-height:3.5rem}:is(:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-large,:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-small) atomic-result-section-visual{margin:0 auto 1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-icon atomic-result-section-badges{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-actions{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);word-break:break-word;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.9375rem;max-height:3.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{height:19.75rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-large atomic-result-section-badges{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{height:14rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-none atomic-result-section-visual{display:none}}@media not all and (min-width:1024px){:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none,:host .result-root.with-sections.display-grid.image-small{grid-template-areas:"badges""visual""title""title-metadata""emphasized""excerpt""children""bottom-metadata""actions";grid-template-columns:100%;grid-template-rows:repeat(9,auto)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-visual{margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-comfortable atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-visual{margin-bottom:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-normal atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-visual{margin-bottom:.5rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-large atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact.image-small atomic-result-section-visual{height:10.25rem;width:10.25rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-badges{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-bottom:1rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-actions{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);--row-height:2rem;margin-top:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;max-height:3rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-title-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.475rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-emphasized{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);font-weight:500;--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:.75rem;overflow:hidden}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.5rem;max-height:3rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).density-compact atomic-result-section-children{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.75rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{aspect-ratio:1;height:auto}@supports not (aspect-ratio:1/1){:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{height:9rem}}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-small atomic-result-section-visual{width:100%}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-icon atomic-result-section-visual{height:2rem;width:2rem}:is(:host .result-root.with-sections.display-grid.image-small,:host .result-root.with-sections.display-grid.image-icon,:host .result-root.with-sections.display-grid.image-none).image-none atomic-result-section-visual{display:none}}:host .result-root.with-sections.display-table.image-large.density-compact atomic-result-section-visual{height:10.25rem;width:10.25rem}:host .result-root.with-sections.display-table atomic-result-section-children atomic-insight-result-children::part(children-root),:host .result-root.with-sections.display-table atomic-result-section-children atomic-result-children::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-visual{margin-right:1.5rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-actions,:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-badges{--row-height:2rem;margin-bottom:1.5rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-title{--font-size:var(--atomic-text-2xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-excerpt{--font-size:var(--atomic-text-lg);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:3;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.75rem;max-height:4.5rem;overflow:hidden}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:1.25rem;max-height:4rem}:host .result-root.with-sections.display-table.density-comfortable atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-comfortable atomic-result-children,:host .result-root.with-sections.display-table.density-comfortable atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:1.25rem;padding:1.75rem}:is(:host .result-root.with-sections.display-table.density-comfortable atomic-result-children,:host .result-root.with-sections.display-table.density-comfortable atomic-insight-result-children)::part(show-hide-button){margin-bottom:1.25rem;margin-top:1.25rem}:host .result-root.with-sections.display-table.density-comfortable .placeholder,:host .result-root.with-sections.display-table.density-comfortable.child-result:not(.last-child){margin-bottom:1.75rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-actions,:host .result-root.with-sections.display-table.density-normal atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-normal atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:2;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1.25rem;max-height:2.5rem;overflow:hidden}:host .result-root.with-sections.display-table.density-normal atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.875rem;max-height:3.5rem}:host .result-root.with-sections.display-table.density-normal atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-normal atomic-result-children,:host .result-root.with-sections.display-table.density-normal atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.875rem;padding:1.5rem}:is(:host .result-root.with-sections.display-table.density-normal atomic-result-children,:host .result-root.with-sections.display-table.density-normal atomic-insight-result-children)::part(show-hide-button){margin-bottom:.875rem;margin-top:.875rem}:host .result-root.with-sections.display-table.density-normal .placeholder,:host .result-root.with-sections.display-table.density-normal.child-result:not(.last-child){margin-bottom:1.5rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-visual{margin-right:1rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-actions,:host .result-root.with-sections.display-table.density-compact atomic-result-section-badges{--row-height:2rem;margin-bottom:1rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-title{--font-size:var(--atomic-text-xl);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}:host .result-root.with-sections.display-table.density-compact atomic-result-section-excerpt{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));-webkit-line-clamp:1;line-height:var(--line-height);-webkit-box-orient:vertical;display:-webkit-box;margin-top:1rem;max-height:1.25rem;overflow:hidden}:host .result-root.with-sections.display-table.density-compact atomic-result-section-bottom-metadata{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height);margin-top:.6875rem;max-height:3.25rem}:host .result-root.with-sections.display-table.density-compact atomic-result-section-title-metadata{margin-top:.475rem}:is(:host .result-root.with-sections.display-table.density-compact atomic-result-children,:host .result-root.with-sections.display-table.density-compact atomic-insight-result-children)::part(children-root){border-color:var(--atomic-neutral);border-radius:16px;border-style:var(--tw-border-style);border-width:1px;margin-top:.475rem;padding:1rem}:is(:host .result-root.with-sections.display-table.density-compact atomic-result-children,:host .result-root.with-sections.display-table.density-compact atomic-insight-result-children)::part(show-hide-button){margin-bottom:.475rem;margin-top:.475rem}:host .result-root.with-sections.display-table.density-compact .placeholder,:host .result-root.with-sections.display-table.density-compact.child-result:not(.last-child){margin-bottom:1rem}:host .result-root.with-sections.display-table.image-large,:host .result-root.with-sections.display-table.image-small{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(6,auto) minmax(0,1fr)}:is(:host .result-root.with-sections.display-table.image-large.density-comfortable,:host .result-root.with-sections.display-table.image-large.density-normal) atomic-result-section-visual{height:20.375rem;width:20.375rem}:is(:host .result-root.with-sections.display-table.image-small,:host .result-root.with-sections.display-table.image-large.density-compact) atomic-result-section-visual{height:10rem;width:10rem}:host .result-root.with-sections.display-table.image-icon{grid-template-areas:"badges badges.actions""visual title title title""visual title-metadata title-metadata title-metadata""visual emphasized emphasized emphasized""visual excerpt excerpt excerpt""visual bottom-metadata bottom-metadata bottom-metadata""visual children children children";grid-template-columns:minmax(0,min-content) auto 1fr auto;grid-template-rows:repeat(7,minmax(0,min-content))}:host .result-root.with-sections.display-table.image-icon atomic-result-section-visual{height:2rem;width:2rem}:host .result-root.with-sections.display-table.image-none{grid-template-areas:"badges.actions""title title title""title-metadata title-metadata title-metadata""emphasized emphasized emphasized""excerpt excerpt excerpt""bottom-metadata bottom-metadata bottom-metadata""children children children";grid-template-columns:auto 1fr auto;grid-template-rows:repeat(6,auto)}:host .link-container,:host .result-root atomic-table-element,:host .result-root.with-sections.display-table.image-none atomic-result-section-visual{display:none}}:host .result-root.display-grid atomic-result-section-actions{display:none}:host .result-root .badge{width:14rem}:host .result-root .action{width:10rem}:host .result-root .title{grid-gap:.5rem;display:grid;grid-auto-flow:column;height:var(--line-height);max-width:100%;width:30rem}:host .result-root .fields-placeholder{grid-column-gap:.5rem;display:grid;grid-template-columns:repeat(auto-fill,min(11rem,40%))}:host .result-root .fields-placeholder .field-value-placeholder{height:var(--font-size);margin:calc((var(--line-height) - var(--font-size))/2) 0}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9259
|
-
_ts_decorate$
|
|
9400
|
+
_ts_decorate$1x([
|
|
9260
9401
|
decorators_js.property({
|
|
9261
9402
|
type: String
|
|
9262
9403
|
}),
|
|
9263
|
-
_ts_metadata$
|
|
9404
|
+
_ts_metadata$1t("design:type", "u" < typeof ItemDisplayLayout ? Object : ItemDisplayLayout)
|
|
9264
9405
|
], AtomicResultPlaceholder.prototype, "display", void 0);
|
|
9265
|
-
_ts_decorate$
|
|
9406
|
+
_ts_decorate$1x([
|
|
9266
9407
|
decorators_js.property({
|
|
9267
9408
|
type: String
|
|
9268
9409
|
}),
|
|
9269
|
-
_ts_metadata$
|
|
9410
|
+
_ts_metadata$1t("design:type", "u" < typeof ItemDisplayDensity ? Object : ItemDisplayDensity)
|
|
9270
9411
|
], AtomicResultPlaceholder.prototype, "density", void 0);
|
|
9271
|
-
_ts_decorate$
|
|
9412
|
+
_ts_decorate$1x([
|
|
9272
9413
|
decorators_js.property({
|
|
9273
9414
|
type: String,
|
|
9274
9415
|
attribute: 'image-size'
|
|
9275
9416
|
}),
|
|
9276
|
-
_ts_metadata$
|
|
9417
|
+
_ts_metadata$1t("design:type", "u" < typeof ItemDisplayImageSize ? Object : ItemDisplayImageSize)
|
|
9277
9418
|
], AtomicResultPlaceholder.prototype, "imageSize", void 0);
|
|
9278
|
-
AtomicResultPlaceholder = _ts_decorate$
|
|
9419
|
+
AtomicResultPlaceholder = _ts_decorate$1x([
|
|
9279
9420
|
decorators_js.customElement('atomic-result-placeholder'),
|
|
9280
9421
|
withTailwindStyles
|
|
9281
9422
|
], AtomicResultPlaceholder);
|
|
9282
9423
|
|
|
9283
|
-
function _ts_decorate$
|
|
9424
|
+
function _ts_decorate$1w(decorators, target, key, desc) {
|
|
9284
9425
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
9285
9426
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9286
9427
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9287
9428
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9288
9429
|
}
|
|
9289
|
-
function _ts_metadata$
|
|
9430
|
+
function _ts_metadata$1s(k, v) {
|
|
9290
9431
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9291
9432
|
}
|
|
9292
9433
|
class AtomicResultTablePlaceholder extends lit.LitElement {
|
|
@@ -9357,26 +9498,26 @@ class AtomicResultTablePlaceholder extends lit.LitElement {
|
|
|
9357
9498
|
}
|
|
9358
9499
|
}
|
|
9359
9500
|
AtomicResultTablePlaceholder.styles = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}:host{display:grid}.list-root.display-table{border-collapse:separate;border-spacing:0;min-width:100%}.list-root.display-table td,.list-root.display-table th{border-color:var(--atomic-neutral);border-style:var(--tw-border-style);border-width:1px;font-family:var(--atomic-font-family);font-size:var(--atomic-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,1.42857));line-height:1rem;white-space:nowrap}:is(.list-root.display-table th,.list-root.display-table td):not(:first-child){border-left:none}:is(.list-root.display-table th,.list-root.display-table td):first-child{min-width:19rem}.list-root.display-table th{background-color:var(--atomic-neutral-light);border-bottom:none;color:#000;font-weight:700;padding:1rem var(--padding);text-align:left}.list-root.display-table th:first-child{border-top-left-radius:var(--atomic-border-radius-xl)}.list-root.display-table th:last-child{border-top-right-radius:var(--atomic-border-radius-xl)}.list-root.display-table td{border-top:none;color:var(--atomic-neutral-dark);padding:var(--padding);vertical-align:top}.list-root.display-table.density-comfortable{--padding:2rem}.list-root.display-table.density-normal{--padding:1.5rem}.list-root.display-table.density-compact{--padding:1rem}.list-root.display-table{border-color:var(--atomic-neutral);border-radius:var(--atomic-border-radius-xl);border-style:var(--tw-border-style);border-width:1px}.list-root.display-table tbody tr:not(:last-child),.list-root.display-table thead tr{position:relative}:is(.list-root.display-table thead tr,.list-root.display-table tbody tr:not(:last-child)):after{background-color:var(--atomic-neutral);bottom:0;content:" ";display:block;height:1px;left:var(--padding);position:absolute;right:var(--padding)}.list-root.display-table td,.list-root.display-table th{border-color:#0000;border-radius:initial}.list-root.display-table th{background-color:#0000}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9360
|
-
_ts_decorate$
|
|
9501
|
+
_ts_decorate$1w([
|
|
9361
9502
|
decorators_js.property({
|
|
9362
9503
|
type: String
|
|
9363
9504
|
}),
|
|
9364
|
-
_ts_metadata$
|
|
9505
|
+
_ts_metadata$1s("design:type", "u" < typeof ItemDisplayDensity ? Object : ItemDisplayDensity)
|
|
9365
9506
|
], AtomicResultTablePlaceholder.prototype, "density", void 0);
|
|
9366
|
-
_ts_decorate$
|
|
9507
|
+
_ts_decorate$1w([
|
|
9367
9508
|
decorators_js.property({
|
|
9368
9509
|
type: String,
|
|
9369
9510
|
attribute: 'image-size'
|
|
9370
9511
|
}),
|
|
9371
|
-
_ts_metadata$
|
|
9512
|
+
_ts_metadata$1s("design:type", "u" < typeof ItemDisplayImageSize ? Object : ItemDisplayImageSize)
|
|
9372
9513
|
], AtomicResultTablePlaceholder.prototype, "imageSize", void 0);
|
|
9373
|
-
_ts_decorate$
|
|
9514
|
+
_ts_decorate$1w([
|
|
9374
9515
|
decorators_js.property({
|
|
9375
9516
|
type: Number
|
|
9376
9517
|
}),
|
|
9377
|
-
_ts_metadata$
|
|
9518
|
+
_ts_metadata$1s("design:type", Number)
|
|
9378
9519
|
], AtomicResultTablePlaceholder.prototype, "rows", void 0);
|
|
9379
|
-
AtomicResultTablePlaceholder = _ts_decorate$
|
|
9520
|
+
AtomicResultTablePlaceholder = _ts_decorate$1w([
|
|
9380
9521
|
decorators_js.customElement('atomic-result-table-placeholder'),
|
|
9381
9522
|
withTailwindStyles
|
|
9382
9523
|
], AtomicResultTablePlaceholder);
|
|
@@ -9457,25 +9598,25 @@ const renderItemList = ({ props })=>(children)=>{
|
|
|
9457
9598
|
return children;
|
|
9458
9599
|
};
|
|
9459
9600
|
|
|
9460
|
-
const styles$
|
|
9461
|
-
const grid_display_tw_css = styles$
|
|
9601
|
+
const styles$k = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}:host [part~=outline][part~=result-list-grid-clickable-container]{border:1px solid #0000;border-radius:1rem;padding:1rem;position:relative;transition:all .12s ease-out}:host [part~=outline][part~=result-list-grid-clickable-container]:hover{border-color:var(--atomic-neutral);border-style:var(--tw-border-style);border-width:1px;box-shadow:0 10px 25px var(--atomic-neutral);cursor:pointer}:host [part=result-list-grid-clickable]:focus-visible{border-color:var(--atomic-primary);border-radius:2px;border-style:var(--tw-border-style);border-width:2px;color:var(--atomic-primary);cursor:pointer;display:inline-block;position:absolute;text-align:center;text-decoration:underline}:host [part=result-list-grid-clickable]:not(:focus){clip:rect(1px,1px,1px,1px);overflow:hidden;padding:0;position:absolute}:host .list-wrapper{word-break:break-word}:host .list-root.display-grid{display:grid;justify-content:space-evenly}:host .list-root.display-grid .result-component{box-sizing:border-box;height:100%}@media (min-width:1024px){:host .list-root.display-grid{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr))}:host .list-root.display-grid.density-comfortable{grid-row-gap:4rem;grid-column-gap:1.5rem}:host .list-root.display-grid.density-compact,:host .list-root.display-grid.density-normal{grid-row-gap:3rem;grid-column-gap:1.5rem}:host .list-root.display-grid.image-large{grid-template-columns:repeat(auto-fill,minmax(19rem,1fr))}@media not all and (min-width:1024px){:host .list-root.display-grid.image-small{grid-template-columns:repeat(3,1fr)}}@media (min-width:1024px){:host .list-root.display-grid.image-small{grid-template-columns:repeat(3,1fr)}}@media (min-width:1280px){:host .list-root.display-grid.image-small{grid-template-columns:repeat(4,1fr)}}}@media not all and (min-width:1024px){@media not all and (min-width:768px){:host .list-root.display-grid.image-large.density-comfortable [part~=outline]:before{margin:2rem 0}:host .list-root.display-grid.image-large.density-normal [part~=outline]:before{margin:1.5rem 0}@media not all and (min-width:1024px){:host .list-root.display-grid.image-large.density-normal [part~=outline]:before{margin:1.75rem 0}}:host .list-root.display-grid.image-large.density-compact [part~=outline]:before{margin:1rem 0}@media not all and (min-width:1024px){:host .list-root.display-grid.image-large.density-compact [part~=outline]:before{margin:1.5rem 0}}:host .list-root.display-grid.image-large [part~=outline]:before{background-color:var(--atomic-neutral);content:" ";display:block;height:1px}:host .list-root.display-grid.image-large [part~=outline]:first-of-type:before{display:none}:host .list-root.display-grid.image-large atomic-result-placeholder:before{background-color:#0000}:host .list-root.display-grid.image-large{grid-template-columns:minmax(auto,35rem)}}@media (min-width:768px){:host .list-root.display-grid.image-large [part~=outline]{border-color:var(--atomic-neutral);border-radius:1rem;border-style:var(--tw-border-style);border-width:1px;padding:1rem}:host .list-root.display-grid.image-large atomic-result-placeholder{border-color:#0000}:host .list-root.display-grid.image-large{grid-column-gap:.5rem;grid-row-gap:.5rem;grid-template-columns:1fr 1fr}}:is(:host .list-root.display-grid.image-small,:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none) [part~=outline]{border-color:var(--atomic-neutral);border-radius:1rem;border-style:var(--tw-border-style);border-width:1px;padding:1rem}:is(:host .list-root.display-grid.image-small,:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none) atomic-result-placeholder{border-color:#0000}:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-column-gap:.5rem;grid-row-gap:.5rem}@media not all and (min-width:640px){:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-template-columns:minmax(0,1fr)}}@media (min-width:768px){:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}@media (min-width:1024px){:host .list-root.display-grid.image-icon,:host .list-root.display-grid.image-none,:host .list-root.display-grid.image-small{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9602
|
+
const grid_display_tw_css = styles$k;
|
|
9462
9603
|
|
|
9463
|
-
const styles$
|
|
9464
|
-
const list_display_tw_css = styles$
|
|
9604
|
+
const styles$j = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}[part~=divider]:not(:last-child){border-bottom-color:var(--atomic-neutral);padding-bottom:1rem}[part~=divider]{margin-bottom:1rem}.list-root.display-list{display:flex;flex-direction:column}.list-root.display-list .result-component,.list-root.display-list atomic-result-placeholder{width:auto}@media (min-width:1024px){.list-root.display-list.density-comfortable [part~=outline]:before{margin:2rem 0}.list-root.display-list.density-normal [part~=outline]:before{margin:1.5rem 0}@media not all and (min-width:1024px){.list-root.display-list.density-normal [part~=outline]:before{margin:1.75rem 0}}.list-root.display-list.density-compact [part~=outline]:before{margin:1rem 0}@media not all and (min-width:1024px){.list-root.display-list.density-compact [part~=outline]:before{margin:1.5rem 0}}.list-root.display-list [part~=outline]:before{background-color:var(--atomic-neutral);content:" ";display:block;height:1px}.list-root.display-list [part~=outline]:first-of-type:before{display:none}.list-root.display-list atomic-result-placeholder:before{background-color:#0000}}@media not all and (min-width:1024px){.list-root.display-list.image-large.density-comfortable [part~=outline]:before{margin:2rem 0}.list-root.display-list.image-large.density-normal [part~=outline]:before{margin:1.5rem 0}@media not all and (min-width:1024px){.list-root.display-list.image-large.density-normal [part~=outline]:before{margin:1.75rem 0}}.list-root.display-list.image-large.density-compact [part~=outline]:before{margin:1rem 0}@media not all and (min-width:1024px){.list-root.display-list.image-large.density-compact [part~=outline]:before{margin:1.5rem 0}}.list-root.display-list.image-large [part~=outline]:before{background-color:var(--atomic-neutral);content:" ";display:block;height:1px}.list-root.display-list.image-large [part~=outline]:first-of-type:before{display:none}.list-root.display-list.image-large atomic-result-placeholder:before{background-color:#0000}.list-root.display-list.image-large{display:grid;grid-template-columns:minmax(auto,35rem);justify-content:space-evenly}.list-root.display-list.image-icon,.list-root.display-list.image-none,.list-root.display-list.image-small{grid-row-gap:1rem}:is(.list-root.display-list.image-small,.list-root.display-list.image-icon,.list-root.display-list.image-none) [part~=outline]{border-color:var(--atomic-neutral);border-radius:1rem;border-style:var(--tw-border-style);border-width:1px;padding:1rem}:is(.list-root.display-list.image-small,.list-root.display-list.image-icon,.list-root.display-list.image-none) atomic-result-placeholder{border-color:#0000}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9605
|
+
const list_display_tw_css = styles$j;
|
|
9465
9606
|
|
|
9466
|
-
const styles$
|
|
9467
|
-
const placeholders_tw_css = styles$
|
|
9607
|
+
const styles$i = lit.css`.list-wrapper.placeholder{.result-component,table.list-root{display:none}}.list-wrapper:not(.placeholder){atomic-result-placeholder,atomic-result-table-placeholder{display:none}}.list-root.loading{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:.6}50%{opacity:.2}}`;
|
|
9608
|
+
const placeholders_tw_css = styles$i;
|
|
9468
9609
|
|
|
9469
|
-
const styles$
|
|
9470
|
-
const table_display_tw_css = styles$
|
|
9610
|
+
const styles$h = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}.list-wrapper.display-table{display:grid;overflow-x:auto}.list-root.display-table{border-collapse:separate;border-spacing:0;min-width:100%}.list-root.display-table td,.list-root.display-table th{border-color:var(--atomic-neutral);border-style:var(--tw-border-style);border-width:1px;font-family:var(--atomic-font-family);font-size:var(--atomic-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,1.42857));line-height:1rem;white-space:nowrap}:is(.list-root.display-table th,.list-root.display-table td):not(:first-child){border-left:none}:is(.list-root.display-table th,.list-root.display-table td):first-child{min-width:19rem}.list-root.display-table th{background-color:var(--atomic-neutral-light);border-bottom:none;color:#000;font-weight:700;padding:1rem var(--padding);text-align:left}.list-root.display-table th:first-child{border-top-left-radius:var(--atomic-border-radius-xl)}.list-root.display-table th:last-child{border-top-right-radius:var(--atomic-border-radius-xl)}.list-root.display-table td{border-top:none;color:var(--atomic-neutral-dark);padding:var(--padding);vertical-align:top}.list-root.display-table.density-comfortable{--padding:2rem}.list-root.display-table.density-normal{--padding:1.5rem}.list-root.display-table.density-compact{--padding:1rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
9611
|
+
const table_display_tw_css = styles$h;
|
|
9471
9612
|
|
|
9472
|
-
function _ts_decorate$
|
|
9613
|
+
function _ts_decorate$1v(decorators, target, key, desc) {
|
|
9473
9614
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9474
9615
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
9475
9616
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9476
9617
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9477
9618
|
}
|
|
9478
|
-
function _ts_metadata$
|
|
9619
|
+
function _ts_metadata$1r(k, v) {
|
|
9479
9620
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
9480
9621
|
}
|
|
9481
9622
|
let AtomicText$1 = class AtomicText extends lit.LitElement {
|
|
@@ -9507,40 +9648,40 @@ AtomicText$1.propsSchema = new Schema({
|
|
|
9507
9648
|
required: false
|
|
9508
9649
|
})
|
|
9509
9650
|
});
|
|
9510
|
-
_ts_decorate$
|
|
9651
|
+
_ts_decorate$1v([
|
|
9511
9652
|
decorators_js.state(),
|
|
9512
|
-
_ts_metadata$
|
|
9653
|
+
_ts_metadata$1r("design:type", "u" < typeof Bindings ? Object : Bindings)
|
|
9513
9654
|
], AtomicText$1.prototype, "bindings", void 0);
|
|
9514
|
-
_ts_decorate$
|
|
9655
|
+
_ts_decorate$1v([
|
|
9515
9656
|
decorators_js.state(),
|
|
9516
|
-
_ts_metadata$
|
|
9657
|
+
_ts_metadata$1r("design:type", "u" < typeof Error ? Object : Error)
|
|
9517
9658
|
], AtomicText$1.prototype, "error", void 0);
|
|
9518
|
-
_ts_decorate$
|
|
9659
|
+
_ts_decorate$1v([
|
|
9519
9660
|
decorators_js.property({
|
|
9520
9661
|
type: String,
|
|
9521
9662
|
reflect: true
|
|
9522
9663
|
}),
|
|
9523
|
-
_ts_metadata$
|
|
9664
|
+
_ts_metadata$1r("design:type", String)
|
|
9524
9665
|
], AtomicText$1.prototype, "value", void 0);
|
|
9525
|
-
_ts_decorate$
|
|
9666
|
+
_ts_decorate$1v([
|
|
9526
9667
|
decorators_js.property({
|
|
9527
9668
|
type: Number,
|
|
9528
9669
|
reflect: true
|
|
9529
9670
|
}),
|
|
9530
|
-
_ts_metadata$
|
|
9671
|
+
_ts_metadata$1r("design:type", Number)
|
|
9531
9672
|
], AtomicText$1.prototype, "count", void 0);
|
|
9532
|
-
_ts_decorate$
|
|
9673
|
+
_ts_decorate$1v([
|
|
9533
9674
|
bindingGuard(),
|
|
9534
9675
|
errorGuard(),
|
|
9535
|
-
_ts_metadata$
|
|
9536
|
-
_ts_metadata$
|
|
9537
|
-
_ts_metadata$
|
|
9676
|
+
_ts_metadata$1r("design:type", Function),
|
|
9677
|
+
_ts_metadata$1r("design:paramtypes", []),
|
|
9678
|
+
_ts_metadata$1r("design:returntype", void 0)
|
|
9538
9679
|
], AtomicText$1.prototype, "render", null);
|
|
9539
|
-
AtomicText$1 = _ts_decorate$
|
|
9680
|
+
AtomicText$1 = _ts_decorate$1v([
|
|
9540
9681
|
decorators_js.customElement('atomic-text'),
|
|
9541
9682
|
bindings(),
|
|
9542
|
-
_ts_metadata$
|
|
9543
|
-
_ts_metadata$
|
|
9683
|
+
_ts_metadata$1r("design:type", Function),
|
|
9684
|
+
_ts_metadata$1r("design:paramtypes", [])
|
|
9544
9685
|
], AtomicText$1);
|
|
9545
9686
|
|
|
9546
9687
|
const renderTableLayout = ({ props })=>{
|
|
@@ -10009,13 +10150,13 @@ const renderRefineModalFiltersClearButton = ({ props })=>lit.html`${renderButton
|
|
|
10009
10150
|
|
|
10010
10151
|
const ATOMIC_MODAL_EXPORT_PARTS = 'backdrop,container,header-wrapper,header,header-ruler,body-wrapper,body,footer-wrapper,footer';
|
|
10011
10152
|
|
|
10012
|
-
function _ts_decorate$
|
|
10153
|
+
function _ts_decorate$1u(decorators, target, key, desc) {
|
|
10013
10154
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10014
10155
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
10015
10156
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10016
10157
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10017
10158
|
}
|
|
10018
|
-
function _ts_metadata$
|
|
10159
|
+
function _ts_metadata$1q(k, v) {
|
|
10019
10160
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
10020
10161
|
}
|
|
10021
10162
|
class AtomicModal extends InitializeBindingsMixin(lit.LitElement) {
|
|
@@ -10202,43 +10343,43 @@ class AtomicModal extends InitializeBindingsMixin(lit.LitElement) {
|
|
|
10202
10343
|
}
|
|
10203
10344
|
}
|
|
10204
10345
|
AtomicModal.styles = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@keyframes scaleUp{0%{opacity:0;transform:scale(.7)translateY(150vh)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes slideDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(150vh)}}article.animate-open{animation:var(--animate-scale-up-modal,scaleUp .5s cubic-bezier(.165,.84,.44,1) forwards)}article.animate-close{animation:var(--animate-slide-down-modal,slideDown .5s linear forwards)}.grid-template-modal{grid-template:". . ."1fr".modal."". . ."3fr/1fr min(30rem,100%) 1fr}`;
|
|
10205
|
-
_ts_decorate$
|
|
10346
|
+
_ts_decorate$1u([
|
|
10206
10347
|
decorators_js.state(),
|
|
10207
|
-
_ts_metadata$
|
|
10348
|
+
_ts_metadata$1q("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
10208
10349
|
], AtomicModal.prototype, "bindings", void 0);
|
|
10209
|
-
_ts_decorate$
|
|
10350
|
+
_ts_decorate$1u([
|
|
10210
10351
|
decorators_js.state(),
|
|
10211
|
-
_ts_metadata$
|
|
10352
|
+
_ts_metadata$1q("design:type", "u" < typeof Error ? Object : Error)
|
|
10212
10353
|
], AtomicModal.prototype, "error", void 0);
|
|
10213
|
-
_ts_decorate$
|
|
10354
|
+
_ts_decorate$1u([
|
|
10214
10355
|
decorators_js.property({
|
|
10215
10356
|
type: String,
|
|
10216
10357
|
reflect: true
|
|
10217
10358
|
}),
|
|
10218
|
-
_ts_metadata$
|
|
10359
|
+
_ts_metadata$1q("design:type", String)
|
|
10219
10360
|
], AtomicModal.prototype, "boundary", void 0);
|
|
10220
|
-
_ts_decorate$
|
|
10361
|
+
_ts_decorate$1u([
|
|
10221
10362
|
decorators_js.property({
|
|
10222
10363
|
type: Object,
|
|
10223
10364
|
attribute: false
|
|
10224
10365
|
}),
|
|
10225
|
-
_ts_metadata$
|
|
10366
|
+
_ts_metadata$1q("design:type", Function)
|
|
10226
10367
|
], AtomicModal.prototype, "close", void 0);
|
|
10227
|
-
_ts_decorate$
|
|
10368
|
+
_ts_decorate$1u([
|
|
10228
10369
|
decorators_js.property({
|
|
10229
10370
|
type: Object,
|
|
10230
10371
|
attribute: false
|
|
10231
10372
|
}),
|
|
10232
|
-
_ts_metadata$
|
|
10373
|
+
_ts_metadata$1q("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
10233
10374
|
], AtomicModal.prototype, "container", void 0);
|
|
10234
|
-
_ts_decorate$
|
|
10375
|
+
_ts_decorate$1u([
|
|
10235
10376
|
decorators_js.property({
|
|
10236
10377
|
type: Boolean,
|
|
10237
10378
|
reflect: true,
|
|
10238
10379
|
converter: booleanConverter
|
|
10239
10380
|
})
|
|
10240
10381
|
], AtomicModal.prototype, "fullscreen", void 0);
|
|
10241
|
-
_ts_decorate$
|
|
10382
|
+
_ts_decorate$1u([
|
|
10242
10383
|
decorators_js.property({
|
|
10243
10384
|
type: Boolean,
|
|
10244
10385
|
reflect: true,
|
|
@@ -10246,45 +10387,45 @@ _ts_decorate$1t([
|
|
|
10246
10387
|
converter: booleanConverter
|
|
10247
10388
|
})
|
|
10248
10389
|
], AtomicModal.prototype, "isOpen", void 0);
|
|
10249
|
-
_ts_decorate$
|
|
10390
|
+
_ts_decorate$1u([
|
|
10250
10391
|
decorators_js.property({
|
|
10251
10392
|
type: Object,
|
|
10252
10393
|
attribute: false
|
|
10253
10394
|
}),
|
|
10254
|
-
_ts_metadata$
|
|
10395
|
+
_ts_metadata$1q("design:type", Function)
|
|
10255
10396
|
], AtomicModal.prototype, "onAnimationEnded", void 0);
|
|
10256
|
-
_ts_decorate$
|
|
10397
|
+
_ts_decorate$1u([
|
|
10257
10398
|
decorators_js.property({
|
|
10258
10399
|
type: Object,
|
|
10259
10400
|
attribute: false
|
|
10260
10401
|
}),
|
|
10261
|
-
_ts_metadata$
|
|
10402
|
+
_ts_metadata$1q("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
10262
10403
|
], AtomicModal.prototype, "scope", void 0);
|
|
10263
|
-
_ts_decorate$
|
|
10404
|
+
_ts_decorate$1u([
|
|
10264
10405
|
decorators_js.property({
|
|
10265
10406
|
type: Object,
|
|
10266
10407
|
attribute: false
|
|
10267
10408
|
}),
|
|
10268
|
-
_ts_metadata$
|
|
10409
|
+
_ts_metadata$1q("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
10269
10410
|
], AtomicModal.prototype, "source", void 0);
|
|
10270
|
-
_ts_decorate$
|
|
10411
|
+
_ts_decorate$1u([
|
|
10271
10412
|
errorGuard(),
|
|
10272
|
-
_ts_metadata$
|
|
10273
|
-
_ts_metadata$
|
|
10274
|
-
_ts_metadata$
|
|
10413
|
+
_ts_metadata$1q("design:type", Function),
|
|
10414
|
+
_ts_metadata$1q("design:paramtypes", []),
|
|
10415
|
+
_ts_metadata$1q("design:returntype", void 0)
|
|
10275
10416
|
], AtomicModal.prototype, "render", null);
|
|
10276
|
-
_ts_decorate$
|
|
10417
|
+
_ts_decorate$1u([
|
|
10277
10418
|
watch('isOpen', {
|
|
10278
10419
|
waitUntilFirstUpdate: false
|
|
10279
10420
|
}),
|
|
10280
|
-
_ts_metadata$
|
|
10281
|
-
_ts_metadata$
|
|
10421
|
+
_ts_metadata$1q("design:type", Function),
|
|
10422
|
+
_ts_metadata$1q("design:paramtypes", [
|
|
10282
10423
|
Boolean,
|
|
10283
10424
|
Boolean
|
|
10284
10425
|
]),
|
|
10285
|
-
_ts_metadata$
|
|
10426
|
+
_ts_metadata$1q("design:returntype", Promise)
|
|
10286
10427
|
], AtomicModal.prototype, "watchToggleOpen", null);
|
|
10287
|
-
AtomicModal = _ts_decorate$
|
|
10428
|
+
AtomicModal = _ts_decorate$1u([
|
|
10288
10429
|
decorators_js.customElement('atomic-modal'),
|
|
10289
10430
|
bindings(),
|
|
10290
10431
|
withTailwindStyles
|
|
@@ -11081,7 +11222,7 @@ var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
|
11081
11222
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
11082
11223
|
|
|
11083
11224
|
// src/client/client-style.ts
|
|
11084
|
-
var styles$
|
|
11225
|
+
var styles$g = /* @__PURE__ */ new Map();
|
|
11085
11226
|
var modeResolutionChain = [];
|
|
11086
11227
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
11087
11228
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
@@ -11363,7 +11504,7 @@ var parsePropertyValue = (propValue, propType) => {
|
|
|
11363
11504
|
};
|
|
11364
11505
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
11365
11506
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
11366
|
-
let style = styles$
|
|
11507
|
+
let style = styles$g.get(scopeId2);
|
|
11367
11508
|
if (supportsConstructableStylesheets && allowCS) {
|
|
11368
11509
|
style = style || new CSSStyleSheet();
|
|
11369
11510
|
if (typeof style === "string") {
|
|
@@ -11374,12 +11515,12 @@ var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
|
11374
11515
|
} else {
|
|
11375
11516
|
style = cssText;
|
|
11376
11517
|
}
|
|
11377
|
-
styles$
|
|
11518
|
+
styles$g.set(scopeId2, style);
|
|
11378
11519
|
};
|
|
11379
11520
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
11380
11521
|
var _a;
|
|
11381
11522
|
const scopeId2 = getScopeId(cmpMeta, mode);
|
|
11382
|
-
const style = styles$
|
|
11523
|
+
const style = styles$g.get(scopeId2);
|
|
11383
11524
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
11384
11525
|
if (style) {
|
|
11385
11526
|
if (typeof style === "string") {
|
|
@@ -12360,7 +12501,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
12360
12501
|
}
|
|
12361
12502
|
}
|
|
12362
12503
|
const scopeId2 = getScopeId(cmpMeta, hostRef.$modeName$);
|
|
12363
|
-
if (!styles$
|
|
12504
|
+
if (!styles$g.has(scopeId2)) {
|
|
12364
12505
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
12365
12506
|
registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
12366
12507
|
endRegisterStyles();
|
|
@@ -12682,8 +12823,8 @@ const sortGuard = ({ firstSearchExecuted, hasError, hasResults, isLoading }, sor
|
|
|
12682
12823
|
return sortTemplate();
|
|
12683
12824
|
};
|
|
12684
12825
|
|
|
12685
|
-
const styles$
|
|
12686
|
-
const atomic_rating_tw_css = styles$
|
|
12826
|
+
const styles$f = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer components{:is(:is(atomic-product-rating,atomic-result-rating) .text-rating-icon-active,:is(atomic-product-rating,atomic-result-rating) .text-rating-icon-inactive) svg path{stroke:var(--atomic-rating-icon-outline-color,none)}}`;
|
|
12827
|
+
const atomic_rating_tw_css = styles$f;
|
|
12687
12828
|
|
|
12688
12829
|
const computeNumberOfStars = (value, field)=>{
|
|
12689
12830
|
if (null === value) return null;
|
|
@@ -12745,16 +12886,16 @@ const renderRating = ({ props })=>{
|
|
|
12745
12886
|
</div>`;
|
|
12746
12887
|
};
|
|
12747
12888
|
|
|
12748
|
-
const styles$
|
|
12749
|
-
const atomic_ask_follow_up_input_tw_css = styles$
|
|
12889
|
+
const styles$e = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}[part=input-container]{min-height:calc(2.5rem + 2px)}[part=textarea-expander]:after{content:attr(data-replicated-value) " ";visibility:hidden}[part=textarea-expander]{margin-right:calc(var(--spacing,.25rem)*10)}[part=textarea-expander]:after,[part=textarea-expander]>[part=input-field]{-ms-overflow-style:none;scrollbar-width:none}:is([part=textarea-expander]>[part=input-field])::-webkit-scrollbar{display:none}[part=textarea-expander]:after,[part=textarea-expander]>[part=input-field]{background-color:#0000;overflow:hidden;padding-block:calc(var(--spacing,.25rem)*2);padding-inline:calc(var(--spacing,.25rem)*4);resize:none;white-space:nowrap}:is([part=textarea-expander]>[part=input-field])::placeholder{color:var(--atomic-neutral-dark)}[part=textarea-expander]:after,[part=textarea-expander]>[part=input-field]{--tw-outline-style:none;grid-area:1/1/2/2;min-height:2.5rem;outline-style:none;padding-right:3rem}[part=textarea-expander].expanded{background-color:var(--atomic-background);border-color:var(--atomic-primary);border-radius:var(--atomic-border-radius-md);border-style:var(--tw-border-style);border-width:1px;margin-right:calc(var(--spacing,.25rem)*0);--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-ring-color:var(--atomic-primary);bottom:-1px;left:-1px;overflow:visible;position:absolute;right:-1px;z-index:10}[part=textarea-expander].expanded:after,[part=textarea-expander].expanded>[part=input-field]{max-height:8rem;overflow-y:auto;white-space:pre-wrap}[part=submit-button]{z-index:11}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`;
|
|
12890
|
+
const atomic_ask_follow_up_input_tw_css = styles$e;
|
|
12750
12891
|
|
|
12751
|
-
function _ts_decorate$
|
|
12892
|
+
function _ts_decorate$1t(decorators, target, key, desc) {
|
|
12752
12893
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
12753
12894
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
12754
12895
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12755
12896
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12756
12897
|
}
|
|
12757
|
-
function _ts_metadata$
|
|
12898
|
+
function _ts_metadata$1p(k, v) {
|
|
12758
12899
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
12759
12900
|
}
|
|
12760
12901
|
class AtomicAskFollowUpInput extends lit.LitElement {
|
|
@@ -12853,29 +12994,29 @@ class AtomicAskFollowUpInput extends lit.LitElement {
|
|
|
12853
12994
|
}
|
|
12854
12995
|
}
|
|
12855
12996
|
AtomicAskFollowUpInput.styles = atomic_ask_follow_up_input_tw_css;
|
|
12856
|
-
_ts_decorate$
|
|
12997
|
+
_ts_decorate$1t([
|
|
12857
12998
|
decorators_js.property({
|
|
12858
12999
|
attribute: false
|
|
12859
13000
|
}),
|
|
12860
|
-
_ts_metadata$
|
|
13001
|
+
_ts_metadata$1p("design:type", Boolean)
|
|
12861
13002
|
], AtomicAskFollowUpInput.prototype, "submitButtonDisabled", void 0);
|
|
12862
|
-
_ts_decorate$
|
|
13003
|
+
_ts_decorate$1t([
|
|
12863
13004
|
decorators_js.property({
|
|
12864
13005
|
attribute: false
|
|
12865
13006
|
}),
|
|
12866
|
-
_ts_metadata$
|
|
13007
|
+
_ts_metadata$1p("design:type", "u" < typeof i18n ? Object : i18n)
|
|
12867
13008
|
], AtomicAskFollowUpInput.prototype, "i18n", void 0);
|
|
12868
|
-
_ts_decorate$
|
|
13009
|
+
_ts_decorate$1t([
|
|
12869
13010
|
decorators_js.property({
|
|
12870
13011
|
attribute: false
|
|
12871
13012
|
}),
|
|
12872
|
-
_ts_metadata$
|
|
13013
|
+
_ts_metadata$1p("design:type", Function)
|
|
12873
13014
|
], AtomicAskFollowUpInput.prototype, "askFollowUp", void 0);
|
|
12874
|
-
_ts_decorate$
|
|
13015
|
+
_ts_decorate$1t([
|
|
12875
13016
|
decorators_js.state(),
|
|
12876
|
-
_ts_metadata$
|
|
13017
|
+
_ts_metadata$1p("design:type", Boolean)
|
|
12877
13018
|
], AtomicAskFollowUpInput.prototype, "isSubmitting", void 0);
|
|
12878
|
-
AtomicAskFollowUpInput = _ts_decorate$
|
|
13019
|
+
AtomicAskFollowUpInput = _ts_decorate$1t([
|
|
12879
13020
|
decorators_js.customElement('atomic-ask-follow-up-input'),
|
|
12880
13021
|
withTailwindStyles
|
|
12881
13022
|
], AtomicAskFollowUpInput);
|
|
@@ -14674,8 +14815,8 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
14674
14815
|
defaultModifiers: defaultModifiers
|
|
14675
14816
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
14676
14817
|
|
|
14677
|
-
const styles$
|
|
14678
|
-
const atomic_citation_tw_css = styles$
|
|
14818
|
+
const styles$d = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */:host{display:contents;position:relative}[part=citation]{--height:2.2em;--index-height:1.1em;--max-citation-width:400px;height:var(--height);max-width:var(--max-citation-width)}[part=citation-popover]{--popover-width:350px;width:var(--popover-width)}[part=citation-popover] p{--font-size:var(--atomic-text-sm);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}`;
|
|
14819
|
+
const atomic_citation_tw_css = styles$d;
|
|
14679
14820
|
|
|
14680
14821
|
function extractTextToHighlight(text) {
|
|
14681
14822
|
text = text.trim();
|
|
@@ -14696,13 +14837,13 @@ function generatePdfPageUrl(uri, pageNumber) {
|
|
|
14696
14837
|
return `${uri}#page=${pageNumber}`;
|
|
14697
14838
|
}
|
|
14698
14839
|
|
|
14699
|
-
function _ts_decorate$
|
|
14840
|
+
function _ts_decorate$1s(decorators, target, key, desc) {
|
|
14700
14841
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14701
14842
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
14702
14843
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14703
14844
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14704
14845
|
}
|
|
14705
|
-
function _ts_metadata$
|
|
14846
|
+
function _ts_metadata$1o(k, v) {
|
|
14706
14847
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
14707
14848
|
}
|
|
14708
14849
|
class AtomicCitation extends lit.LitElement {
|
|
@@ -14851,57 +14992,57 @@ class AtomicCitation extends lit.LitElement {
|
|
|
14851
14992
|
}
|
|
14852
14993
|
}
|
|
14853
14994
|
AtomicCitation.styles = atomic_citation_tw_css;
|
|
14854
|
-
_ts_decorate$
|
|
14995
|
+
_ts_decorate$1s([
|
|
14855
14996
|
decorators_js.property({
|
|
14856
14997
|
type: Object
|
|
14857
14998
|
}),
|
|
14858
|
-
_ts_metadata$
|
|
14999
|
+
_ts_metadata$1o("design:type", "u" < typeof GeneratedAnswerCitation ? Object : GeneratedAnswerCitation)
|
|
14859
15000
|
], AtomicCitation.prototype, "citation", void 0);
|
|
14860
|
-
_ts_decorate$
|
|
15001
|
+
_ts_decorate$1s([
|
|
14861
15002
|
decorators_js.property({
|
|
14862
15003
|
type: Number
|
|
14863
15004
|
}),
|
|
14864
|
-
_ts_metadata$
|
|
15005
|
+
_ts_metadata$1o("design:type", Number)
|
|
14865
15006
|
], AtomicCitation.prototype, "index", void 0);
|
|
14866
|
-
_ts_decorate$
|
|
15007
|
+
_ts_decorate$1s([
|
|
14867
15008
|
decorators_js.property({
|
|
14868
15009
|
type: Object
|
|
14869
15010
|
}),
|
|
14870
|
-
_ts_metadata$
|
|
15011
|
+
_ts_metadata$1o("design:type", Function)
|
|
14871
15012
|
], AtomicCitation.prototype, "sendHoverEndEvent", void 0);
|
|
14872
|
-
_ts_decorate$
|
|
15013
|
+
_ts_decorate$1s([
|
|
14873
15014
|
decorators_js.property({
|
|
14874
15015
|
type: Object
|
|
14875
15016
|
}),
|
|
14876
|
-
_ts_metadata$
|
|
15017
|
+
_ts_metadata$1o("design:type", "u" < typeof InteractiveCitation ? Object : InteractiveCitation)
|
|
14877
15018
|
], AtomicCitation.prototype, "interactiveCitation", void 0);
|
|
14878
|
-
_ts_decorate$
|
|
15019
|
+
_ts_decorate$1s([
|
|
14879
15020
|
decorators_js.property({
|
|
14880
15021
|
type: Boolean,
|
|
14881
15022
|
attribute: 'disable-citation-anchoring'
|
|
14882
15023
|
})
|
|
14883
15024
|
], AtomicCitation.prototype, "disableCitationAnchoring", void 0);
|
|
14884
|
-
_ts_decorate$
|
|
15025
|
+
_ts_decorate$1s([
|
|
14885
15026
|
decorators_js.state()
|
|
14886
15027
|
], AtomicCitation.prototype, "isOpen", void 0);
|
|
14887
|
-
_ts_decorate$
|
|
15028
|
+
_ts_decorate$1s([
|
|
14888
15029
|
watch('isOpen'),
|
|
14889
|
-
_ts_metadata$
|
|
14890
|
-
_ts_metadata$
|
|
14891
|
-
_ts_metadata$
|
|
15030
|
+
_ts_metadata$1o("design:type", Function),
|
|
15031
|
+
_ts_metadata$1o("design:paramtypes", []),
|
|
15032
|
+
_ts_metadata$1o("design:returntype", void 0)
|
|
14892
15033
|
], AtomicCitation.prototype, "sendHoverAnalytics", null);
|
|
14893
|
-
AtomicCitation = _ts_decorate$
|
|
15034
|
+
AtomicCitation = _ts_decorate$1s([
|
|
14894
15035
|
decorators_js.customElement('atomic-citation'),
|
|
14895
15036
|
withTailwindStyles
|
|
14896
15037
|
], AtomicCitation);
|
|
14897
15038
|
|
|
14898
|
-
function _ts_decorate$
|
|
15039
|
+
function _ts_decorate$1r(decorators, target, key, desc) {
|
|
14899
15040
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14900
15041
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
14901
15042
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14902
15043
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14903
15044
|
}
|
|
14904
|
-
function _ts_metadata$
|
|
15045
|
+
function _ts_metadata$1n(k, v) {
|
|
14905
15046
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
14906
15047
|
}
|
|
14907
15048
|
class AtomicFacetNumberInput extends LightDomMixin(lit.LitElement) {
|
|
@@ -15014,66 +15155,66 @@ class AtomicFacetNumberInput extends LightDomMixin(lit.LitElement) {
|
|
|
15014
15155
|
}
|
|
15015
15156
|
}
|
|
15016
15157
|
AtomicFacetNumberInput.styles = lit.css`[part=input-form]{display:grid;grid-template-areas:"label-start label-end ." "input-start input-end apply-button";grid-template-columns:1fr 1fr auto}[part=label-start]{grid-area:label-start}[part=label-end]{grid-area:label-end}[part=input-start]{grid-area:input-start}[part=input-end]{grid-area:input-end}[part=input-apply-button]{grid-area:apply-button}`;
|
|
15017
|
-
_ts_decorate$
|
|
15158
|
+
_ts_decorate$1r([
|
|
15018
15159
|
decorators_js.property({
|
|
15019
15160
|
type: String
|
|
15020
15161
|
}),
|
|
15021
|
-
_ts_metadata$
|
|
15162
|
+
_ts_metadata$1n("design:type", "u" < typeof NumberInputType ? Object : NumberInputType)
|
|
15022
15163
|
], AtomicFacetNumberInput.prototype, "type", void 0);
|
|
15023
|
-
_ts_decorate$
|
|
15164
|
+
_ts_decorate$1r([
|
|
15024
15165
|
decorators_js.property({
|
|
15025
15166
|
type: String
|
|
15026
15167
|
}),
|
|
15027
|
-
_ts_metadata$
|
|
15168
|
+
_ts_metadata$1n("design:type", String)
|
|
15028
15169
|
], AtomicFacetNumberInput.prototype, "label", void 0);
|
|
15029
|
-
_ts_decorate$
|
|
15170
|
+
_ts_decorate$1r([
|
|
15030
15171
|
decorators_js.property({
|
|
15031
15172
|
type: Object
|
|
15032
15173
|
}),
|
|
15033
|
-
_ts_metadata$
|
|
15174
|
+
_ts_metadata$1n("design:type", "u" < typeof NumericFilter ? Object : NumericFilter)
|
|
15034
15175
|
], AtomicFacetNumberInput.prototype, "filter", void 0);
|
|
15035
|
-
_ts_decorate$
|
|
15176
|
+
_ts_decorate$1r([
|
|
15036
15177
|
decorators_js.property({
|
|
15037
15178
|
type: Object,
|
|
15038
15179
|
attribute: 'filter-state'
|
|
15039
15180
|
}),
|
|
15040
|
-
_ts_metadata$
|
|
15181
|
+
_ts_metadata$1n("design:type", "u" < typeof NumericFilterState ? Object : NumericFilterState)
|
|
15041
15182
|
], AtomicFacetNumberInput.prototype, "filterState", void 0);
|
|
15042
|
-
_ts_decorate$
|
|
15183
|
+
_ts_decorate$1r([
|
|
15043
15184
|
decorators_js.state(),
|
|
15044
|
-
_ts_metadata$
|
|
15185
|
+
_ts_metadata$1n("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
15045
15186
|
], AtomicFacetNumberInput.prototype, "bindings", void 0);
|
|
15046
|
-
_ts_decorate$
|
|
15187
|
+
_ts_decorate$1r([
|
|
15047
15188
|
decorators_js.state(),
|
|
15048
|
-
_ts_metadata$
|
|
15189
|
+
_ts_metadata$1n("design:type", "u" < typeof Error ? Object : Error)
|
|
15049
15190
|
], AtomicFacetNumberInput.prototype, "error", void 0);
|
|
15050
|
-
_ts_decorate$
|
|
15191
|
+
_ts_decorate$1r([
|
|
15051
15192
|
decorators_js.state(),
|
|
15052
|
-
_ts_metadata$
|
|
15193
|
+
_ts_metadata$1n("design:type", Number)
|
|
15053
15194
|
], AtomicFacetNumberInput.prototype, "start", void 0);
|
|
15054
|
-
_ts_decorate$
|
|
15195
|
+
_ts_decorate$1r([
|
|
15055
15196
|
decorators_js.state(),
|
|
15056
|
-
_ts_metadata$
|
|
15197
|
+
_ts_metadata$1n("design:type", Number)
|
|
15057
15198
|
], AtomicFacetNumberInput.prototype, "end", void 0);
|
|
15058
|
-
_ts_decorate$
|
|
15199
|
+
_ts_decorate$1r([
|
|
15059
15200
|
bindingGuard(),
|
|
15060
15201
|
errorGuard(),
|
|
15061
|
-
_ts_metadata$
|
|
15062
|
-
_ts_metadata$
|
|
15063
|
-
_ts_metadata$
|
|
15202
|
+
_ts_metadata$1n("design:type", Function),
|
|
15203
|
+
_ts_metadata$1n("design:paramtypes", []),
|
|
15204
|
+
_ts_metadata$1n("design:returntype", void 0)
|
|
15064
15205
|
], AtomicFacetNumberInput.prototype, "render", null);
|
|
15065
|
-
AtomicFacetNumberInput = _ts_decorate$
|
|
15206
|
+
AtomicFacetNumberInput = _ts_decorate$1r([
|
|
15066
15207
|
decorators_js.customElement('atomic-facet-number-input'),
|
|
15067
15208
|
bindings()
|
|
15068
15209
|
], AtomicFacetNumberInput);
|
|
15069
15210
|
|
|
15070
|
-
function _ts_decorate$
|
|
15211
|
+
function _ts_decorate$1q(decorators, target, key, desc) {
|
|
15071
15212
|
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15072
15213
|
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
15073
15214
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15074
15215
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15075
15216
|
}
|
|
15076
|
-
function _ts_metadata$
|
|
15217
|
+
function _ts_metadata$1m(k, v) {
|
|
15077
15218
|
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
15078
15219
|
}
|
|
15079
15220
|
let AtomicFocusTrap$1 = class AtomicFocusTrap extends LightDomMixin(lit.LitElement) {
|
|
@@ -15153,63 +15294,63 @@ let AtomicFocusTrap$1 = class AtomicFocusTrap extends LightDomMixin(lit.LitEleme
|
|
|
15153
15294
|
};
|
|
15154
15295
|
}
|
|
15155
15296
|
};
|
|
15156
|
-
_ts_decorate$
|
|
15297
|
+
_ts_decorate$1q([
|
|
15157
15298
|
decorators_js.property({
|
|
15158
15299
|
type: Boolean,
|
|
15159
15300
|
converter: booleanConverter
|
|
15160
15301
|
})
|
|
15161
15302
|
], AtomicFocusTrap$1.prototype, "active", void 0);
|
|
15162
|
-
_ts_decorate$
|
|
15303
|
+
_ts_decorate$1q([
|
|
15163
15304
|
decorators_js.property({
|
|
15164
15305
|
type: Object
|
|
15165
15306
|
}),
|
|
15166
|
-
_ts_metadata$
|
|
15307
|
+
_ts_metadata$1m("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
15167
15308
|
], AtomicFocusTrap$1.prototype, "source", void 0);
|
|
15168
|
-
_ts_decorate$
|
|
15309
|
+
_ts_decorate$1q([
|
|
15169
15310
|
decorators_js.property({
|
|
15170
15311
|
type: Object
|
|
15171
15312
|
}),
|
|
15172
|
-
_ts_metadata$
|
|
15313
|
+
_ts_metadata$1m("design:type", "u" < typeof HTMLElement ? Object : HTMLElement)
|
|
15173
15314
|
], AtomicFocusTrap$1.prototype, "container", void 0);
|
|
15174
|
-
_ts_decorate$
|
|
15315
|
+
_ts_decorate$1q([
|
|
15175
15316
|
decorators_js.property({
|
|
15176
15317
|
type: Boolean,
|
|
15177
15318
|
attribute: 'should-hide-self',
|
|
15178
15319
|
converter: booleanConverter
|
|
15179
15320
|
})
|
|
15180
15321
|
], AtomicFocusTrap$1.prototype, "shouldHideSelf", void 0);
|
|
15181
|
-
_ts_decorate$
|
|
15322
|
+
_ts_decorate$1q([
|
|
15182
15323
|
decorators_js.property({
|
|
15183
15324
|
type: Object
|
|
15184
15325
|
}),
|
|
15185
|
-
_ts_metadata$
|
|
15326
|
+
_ts_metadata$1m("design:type", "u" < typeof Element ? Object : Element)
|
|
15186
15327
|
], AtomicFocusTrap$1.prototype, "scope", void 0);
|
|
15187
|
-
_ts_decorate$
|
|
15328
|
+
_ts_decorate$1q([
|
|
15188
15329
|
watch('active', {
|
|
15189
15330
|
waitUntilFirstUpdate: true
|
|
15190
15331
|
}),
|
|
15191
|
-
_ts_metadata$
|
|
15192
|
-
_ts_metadata$
|
|
15332
|
+
_ts_metadata$1m("design:type", Function),
|
|
15333
|
+
_ts_metadata$1m("design:paramtypes", [
|
|
15193
15334
|
Boolean,
|
|
15194
15335
|
Boolean
|
|
15195
15336
|
]),
|
|
15196
|
-
_ts_metadata$
|
|
15337
|
+
_ts_metadata$1m("design:returntype", Promise)
|
|
15197
15338
|
], AtomicFocusTrap$1.prototype, "handleActiveChange", null);
|
|
15198
|
-
AtomicFocusTrap$1 = _ts_decorate$
|
|
15339
|
+
AtomicFocusTrap$1 = _ts_decorate$1q([
|
|
15199
15340
|
decorators_js.customElement('atomic-focus-trap')
|
|
15200
15341
|
], AtomicFocusTrap$1);
|
|
15201
15342
|
|
|
15202
|
-
const styles$
|
|
15203
|
-
const generated_markdown_content_tw_css = styles$
|
|
15343
|
+
const styles$c = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial;--tw-leading:initial;--tw-border-style:solid}}}[part=generated-text] [part=answer-heading-1]{font-size:var(--atomic-text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height,1.33333))}[part=generated-text] [part=answer-heading-2]{font-size:var(--atomic-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,1.4))}[part=generated-text] [part=answer-heading-3],[part=generated-text] [part=answer-heading-4],[part=generated-text] [part=answer-heading-5],[part=generated-text] [part=answer-heading-6]{font-size:var(--atomic-text-lg);line-height:var(--tw-leading,var(--text-lg--line-height,1.55556))}[part=generated-text] [part=answer-heading-1],[part=generated-text] [part=answer-heading-2],[part=generated-text] [part=answer-heading-3],[part=generated-text] [part=answer-heading-4],[part=generated-text] [part=answer-heading-5],[part=generated-text] [part=answer-heading-6]{margin-bottom:calc(var(--spacing,.25rem)*2);margin-top:calc(var(--spacing,.25rem)*3);--tw-font-weight:var(--atomic-font-bold);font-weight:var(--atomic-font-bold)}[part=generated-text] [part=answer-paragraph]{margin-bottom:calc(var(--spacing,.25rem)*3)}[part=generated-text] [part^=answer-heading-] atomic-generated-answer-inline-link::part(answer-link){color:inherit}[part=generated-text] [part^=answer-heading-] atomic-generated-answer-inline-link::part(answer-link-text){text-decoration-line:none}[part=generated-text] [part=answer-list-item],[part=generated-text] [part=answer-paragraph],[part=generated-text] [part=answer-quote-block],[part=generated-text] [part=answer-table-content],[part=generated-text] [part=answer-table-header]{--tw-leading:calc(var(--spacing,.25rem)*5);line-height:calc(var(--spacing,.25rem)*5)}[part=generated-text] [part=answer-strong]{--tw-font-weight:var(--atomic-font-bold);font-weight:var(--atomic-font-bold)}[part=generated-text] [part=answer-ordered-list]{list-style-type:decimal;margin-bottom:calc(var(--spacing,.25rem)*2);padding-inline-start:calc(var(--spacing,.25rem)*8)}[part=generated-text] [part=answer-unordered-list]{list-style-type:disc;margin-bottom:calc(var(--spacing,.25rem)*2);padding-inline-start:calc(var(--spacing,.25rem)*8)}[part=generated-text] [part=answer-inline-code]{border-color:var(--atomic-neutral);border-radius:var(--atomic-border-radius);border-style:solid;border-width:1px;color:var(--atomic-inline-code);padding-block:calc(var(--spacing,.25rem)*.5);padding-inline:calc(var(--spacing,.25rem)*1)}[part=generated-text] [part=answer-code-block],[part=generated-text] [part=answer-inline-code]{--tw-border-style:solid;background-color:var(--atomic-neutral-light);font-size:var(--atomic-text-sm);line-height:var(--tw-leading,var(--text-sm--line-height,1.42857))}[part=generated-text] [part=answer-code-block]{border-color:var(--atomic-neutral);border-radius:var(--atomic-border-radius-md);border-style:solid;border-width:1px;color:var(--atomic-on-background);margin-block:calc(var(--spacing,.25rem)*4);max-height:calc(var(--spacing,.25rem)*96);overflow:auto;padding:calc(var(--spacing,.25rem)*2);scrollbar-color:var(--atomic-neutral)}[part=generated-text] [part=answer-quote-block]{font-style:italic;margin-inline:calc(var(--spacing,.25rem)*16)}[part=generated-text] [part=answer-table-container]{border-radius:var(--atomic-border-radius-md);margin-bottom:calc(var(--spacing,.25rem)*6);max-height:calc(var(--spacing,.25rem)*96);--tw-border-style:solid;border-color:var(--atomic-neutral-dim);border-style:solid;border-width:1px;display:inline-block;max-width:100%;overflow:auto}[part=generated-text] [part=answer-table-container] [part=answer-table-header]{position:sticky;top:calc(var(--spacing,.25rem)*0)}[part=generated-text] [part=answer-table]{font-size:var(--atomic-text-base);line-height:var(--tw-leading,var(--text-base--line-height,1.5))}[part=generated-text] [part=answer-table] thead [part=answer-table-header]{background-color:var(--atomic-neutral);border-bottom-color:var(--atomic-neutral-dim);border-left-color:var(--atomic-neutral-dim);padding:calc(var(--spacing,.25rem)*4);text-align:left;--tw-font-weight:var(--atomic-font-bold);font-weight:var(--atomic-font-bold)}[part=generated-text] [part=answer-table] thead [part=answer-table-header]:first-of-type{border-left:none}[part=generated-text] [part=answer-table] tbody tr:nth-child(2n){background-color:var(--atomic-neutral-light)}[part=generated-text] [part=answer-table] tbody tr [part=answer-table-content]{border-bottom-color:var(--atomic-neutral-dim);border-left-color:var(--atomic-neutral-dim);border-style:var(--tw-border-style);border-width:1px;padding:calc(var(--spacing,.25rem)*4)}[part=generated-text] [part=answer-table] tbody tr [part=answer-table-content]:first-of-type{border-left:none}[part=generated-text] [part=answer-table] tbody tr:last-of-type [part=answer-table-content]{border-bottom:unset}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-leading{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`;
|
|
15344
|
+
const generated_markdown_content_tw_css = styles$c;
|
|
15204
15345
|
|
|
15205
|
-
const styles$
|
|
15206
|
-
const copy_button_tw_css = styles$
|
|
15346
|
+
const styles$b = lit.css`[part=copy-button] .icon-container atomic-icon:hover{color:var(--atomic-primary)}[part=copy-button].copied .icon-container atomic-icon{color:var(--atomic-success)}[part=copy-button].error .icon-container atomic-icon{color:var(--atomic-error)}[part=copy-button] .icon-container{line-height:0}`;
|
|
15347
|
+
const copy_button_tw_css = styles$b;
|
|
15207
15348
|
|
|
15208
|
-
const styles$
|
|
15209
|
-
const feedback_buttons_tw_css = styles$
|
|
15349
|
+
const styles$a = lit.css`.feedback-buttons [part=feedback-button]{height:2.2rem;width:2.2rem}`;
|
|
15350
|
+
const feedback_buttons_tw_css = styles$a;
|
|
15210
15351
|
|
|
15211
|
-
const styles$
|
|
15212
|
-
const generated_text_tw_css = styles$
|
|
15352
|
+
const styles$9 = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */[part=generated-text]{--font-size:var(--atomic-text-base);font-size:var(--font-size);--line-height:calc(var(--font-size)*var(--atomic-line-height-ratio));line-height:var(--line-height)}[part=generated-text].cursor:after{animation:cursor-blink 1.5s steps(2) infinite;background-color:var(--atomic-neutral-dark);content:"";display:inline-block;height:1em;margin-left:.1em;vertical-align:text-bottom;width:8px}`;
|
|
15353
|
+
const generated_text_tw_css = styles$9;
|
|
15213
15354
|
|
|
15214
15355
|
const baseStyle = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@keyframes cursor-blink{0%{opacity:0}}@keyframes generation-steps-rolodex{0%{opacity:.75;transform:translateY(105%)rotateX(-82deg)}to{opacity:1;transform:translateY(0)rotateX(0)}}[part=container]{contain:layout;container-type:inline-size}.footer{display:flex}.footer .source-citations{margin-right:calc(var(--spacing,.25rem)*2)}@container (max-width:37.5rem){.footer{flex-direction:column;gap:calc(var(--spacing,.25rem)*4)}.footer .source-citations{margin-right:calc(var(--spacing,.25rem)*0)}[part=generated-answer-footer]{flex-direction:column;gap:calc(var(--spacing,.25rem)*1)}}@media not all and (min-width:768px){.footer{flex-direction:column;gap:calc(var(--spacing,.25rem)*4)}.footer .source-citations{margin-right:calc(var(--spacing,.25rem)*0)}[part=generated-answer-footer]{flex-direction:column;gap:calc(var(--spacing,.25rem)*1)}}@container (max-width:25rem){.footer{margin-top:calc(var(--spacing,.25rem)*4)}.footer .feedback-buttons{position:relative;right:calc(var(--spacing,.25rem)*0);top:calc(var(--spacing,.25rem)*0)}}.is-collapsible{justify-content:space-between}.is-collapsible [part=answer-show-button]{display:flex}[part=header-icon]{color:var(--atomic-primary)}[part=feedback-and-copy-buttons]{min-width:var(--atomic-generated-answer-actions-reserved-width,8rem)}[part=header-icon] svg,[part=header-icon] svg *{fill:currentColor;stroke:currentColor}.generating-label-visible [part=is-generating]{display:flex}[part=agent-generation-status] .generation-steps-container{display:inline-flex;overflow:hidden;perspective:700px}[part=agent-generation-status] .generation-steps-value{animation:generation-steps-rolodex 1s cubic-bezier(.22,.9,.26,1) both;backface-visibility:hidden;display:inline-block;transform-origin:50% 100%;white-space:nowrap;will-change:transform}[part=generated-container].answer-collapsed{max-height:var(--atomic-crga-collapsed-height,16rem);overflow:hidden;position:relative}[part=generated-container].answer-collapsed:before{background:linear-gradient(transparent calc(var(--atomic-crga-collapsed-height,16rem)*.7),var(--atomic-background));content:"";height:100%;left:calc(var(--spacing,.25rem)*0);position:absolute;top:calc(var(--spacing,.25rem)*0);width:100%}[part=generated-container].answer-collapsed .feedback-buttons{display:none}[part=generated-content-container] .agent-scrollable{height:var(--atomic-generated-answer-content-fixed-height,50vh);overflow-y:auto}.query-text{-webkit-line-clamp:3;text-overflow:ellipsis;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}`;
|
|
15215
15356
|
const generated_answer_tw_css = [
|
|
@@ -15222,6 +15363,117 @@ const generated_answer_tw_css = [
|
|
|
15222
15363
|
|
|
15223
15364
|
const atomic_generated_answer_tw_css = generated_answer_tw_css;
|
|
15224
15365
|
|
|
15366
|
+
const styles$8 = lit.css`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */:host{display:inline}a{color:var(--atomic-primary);text-decoration-line:none}a [part=answer-link-text]{text-decoration-line:underline}.icon-wrapper{display:inline-block;height:1em;vertical-align:text-bottom;width:1em}`;
|
|
15367
|
+
const atomic_generated_answer_inline_link_tw_css = styles$8;
|
|
15368
|
+
|
|
15369
|
+
const answerContext = context.createContext(Symbol('answer-id'));
|
|
15370
|
+
|
|
15371
|
+
function _ts_decorate$1p(decorators, target, key, desc) {
|
|
15372
|
+
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15373
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
|
|
15374
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15375
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15376
|
+
}
|
|
15377
|
+
function _ts_metadata$1l(k, v) {
|
|
15378
|
+
if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
|
|
15379
|
+
}
|
|
15380
|
+
class AtomicGeneratedAnswerInlineLink extends lit.LitElement {
|
|
15381
|
+
initialize() {
|
|
15382
|
+
if (this.answerId && this.href) this.interactiveLink = headless.buildInteractiveGeneratedAnswerInlineLink(this.bindings.engine, {
|
|
15383
|
+
options: {
|
|
15384
|
+
answerId: this.answerId,
|
|
15385
|
+
link: {
|
|
15386
|
+
linkText: this.textContent?.trim() || '',
|
|
15387
|
+
linkURL: this.href
|
|
15388
|
+
}
|
|
15389
|
+
}
|
|
15390
|
+
});
|
|
15391
|
+
}
|
|
15392
|
+
render() {
|
|
15393
|
+
return lit.html`
|
|
15394
|
+
<a
|
|
15395
|
+
part="answer-link"
|
|
15396
|
+
href=${this.href}
|
|
15397
|
+
title=${ifDefined_js.ifDefined(this.title || void 0)}
|
|
15398
|
+
target="_blank"
|
|
15399
|
+
rel="noopener noreferrer"
|
|
15400
|
+
@click=${this.handleSelect}
|
|
15401
|
+
@contextmenu=${this.handleSelect}
|
|
15402
|
+
@mousedown=${this.handleSelect}
|
|
15403
|
+
@mouseup=${this.handleSelect}
|
|
15404
|
+
@touchstart=${this.handleBeginDelayedSelect}
|
|
15405
|
+
@touchend=${this.handleCancelPendingSelect}
|
|
15406
|
+
>
|
|
15407
|
+
<span part="answer-link-text"><slot></slot></span>
|
|
15408
|
+
<span class="icon-wrapper">
|
|
15409
|
+
<svg
|
|
15410
|
+
part="answer-link-icon"
|
|
15411
|
+
width="100%"
|
|
15412
|
+
height="100%"
|
|
15413
|
+
viewBox="0 0 640 640"
|
|
15414
|
+
aria-hidden="true"
|
|
15415
|
+
focusable="false"
|
|
15416
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15417
|
+
>
|
|
15418
|
+
<path
|
|
15419
|
+
fill="currentColor"
|
|
15420
|
+
d="M354.4 83.8C359.4 71.8 371.1 64 384 64L544 64C561.7 64 576 78.3 576 96L576 256C576 268.9 568.2 280.6 556.2 285.6C544.2 290.6 530.5 287.8 521.3 278.7L464 221.3L310.6 374.6C298.1 387.1 277.8 387.1 265.3 374.6C252.8 362.1 252.8 341.8 265.3 329.3L418.7 176L361.4 118.6C352.2 109.4 349.5 95.7 354.5 83.7zM64 240C64 195.8 99.8 160 144 160L224 160C241.7 160 256 174.3 256 192C256 209.7 241.7 224 224 224L144 224C135.2 224 128 231.2 128 240L128 496C128 504.8 135.2 512 144 512L400 512C408.8 512 416 504.8 416 496L416 416C416 398.3 430.3 384 448 384C465.7 384 480 398.3 480 416L480 496C480 540.2 444.2 576 400 576L144 576C99.8 576 64 540.2 64 496L64 240z"
|
|
15421
|
+
/>
|
|
15422
|
+
</svg>
|
|
15423
|
+
</span>
|
|
15424
|
+
</a>
|
|
15425
|
+
`;
|
|
15426
|
+
}
|
|
15427
|
+
handleSelect() {
|
|
15428
|
+
this.interactiveLink?.select();
|
|
15429
|
+
}
|
|
15430
|
+
handleBeginDelayedSelect() {
|
|
15431
|
+
this.interactiveLink?.beginDelayedSelect();
|
|
15432
|
+
}
|
|
15433
|
+
handleCancelPendingSelect() {
|
|
15434
|
+
this.interactiveLink?.cancelPendingSelect();
|
|
15435
|
+
}
|
|
15436
|
+
constructor(...args){
|
|
15437
|
+
super(...args), this.initialized = false, this.href = '', this.title = '';
|
|
15438
|
+
}
|
|
15439
|
+
}
|
|
15440
|
+
AtomicGeneratedAnswerInlineLink.styles = atomic_generated_answer_inline_link_tw_css;
|
|
15441
|
+
_ts_decorate$1p([
|
|
15442
|
+
context.consume({
|
|
15443
|
+
context: answerContext
|
|
15444
|
+
}),
|
|
15445
|
+
_ts_metadata$1l("design:type", Object)
|
|
15446
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "answerId", void 0);
|
|
15447
|
+
_ts_decorate$1p([
|
|
15448
|
+
decorators_js.state(),
|
|
15449
|
+
_ts_metadata$1l("design:type", "u" < typeof AnyBindings ? Object : AnyBindings)
|
|
15450
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "bindings", void 0);
|
|
15451
|
+
_ts_decorate$1p([
|
|
15452
|
+
decorators_js.state(),
|
|
15453
|
+
_ts_metadata$1l("design:type", "u" < typeof Error ? Object : Error)
|
|
15454
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "error", void 0);
|
|
15455
|
+
_ts_decorate$1p([
|
|
15456
|
+
decorators_js.property({
|
|
15457
|
+
reflect: true
|
|
15458
|
+
})
|
|
15459
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "href", void 0);
|
|
15460
|
+
_ts_decorate$1p([
|
|
15461
|
+
decorators_js.property({
|
|
15462
|
+
reflect: true
|
|
15463
|
+
})
|
|
15464
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "title", void 0);
|
|
15465
|
+
_ts_decorate$1p([
|
|
15466
|
+
bindingGuard(),
|
|
15467
|
+
errorGuard(),
|
|
15468
|
+
_ts_metadata$1l("design:type", Function),
|
|
15469
|
+
_ts_metadata$1l("design:paramtypes", []),
|
|
15470
|
+
_ts_metadata$1l("design:returntype", void 0)
|
|
15471
|
+
], AtomicGeneratedAnswerInlineLink.prototype, "render", null);
|
|
15472
|
+
AtomicGeneratedAnswerInlineLink = _ts_decorate$1p([
|
|
15473
|
+
decorators_js.customElement('atomic-generated-answer-inline-link'),
|
|
15474
|
+
bindings()
|
|
15475
|
+
], AtomicGeneratedAnswerInlineLink);
|
|
15476
|
+
|
|
15225
15477
|
/**
|
|
15226
15478
|
* marked v12.0.2 - a markdown parser
|
|
15227
15479
|
* Copyright (c) 2011-2024, Christopher Jeffrey. (MIT Licensed)
|
|
@@ -17695,6 +17947,12 @@ const customRenderer = {
|
|
|
17695
17947
|
const tag = ordered && 1 !== start ? `<${type} part="${part}" start="${start}">` : `<${type} part="${part}">`;
|
|
17696
17948
|
return `${tag}${body}</${type}>`;
|
|
17697
17949
|
},
|
|
17950
|
+
link (href, title, text) {
|
|
17951
|
+
const titleAttribute = title ? ` title="${escapeHtml(title)}"` : '';
|
|
17952
|
+
const safeHref = href ? escapeHtml(href) : '';
|
|
17953
|
+
if (!safeHref) return `<span>${text}</span>`;
|
|
17954
|
+
return `<atomic-generated-answer-inline-link href="${safeHref}"${titleAttribute}>${text}</atomic-generated-answer-inline-link>`;
|
|
17955
|
+
},
|
|
17698
17956
|
listitem (text) {
|
|
17699
17957
|
const unwrappedText = text.replace(/^<p[^>]*>/, '').replace(/<\/p>\n?$/, '');
|
|
17700
17958
|
const withClosedElement = completeUnclosedElement(unwrappedText);
|
|
@@ -17727,7 +17985,11 @@ const renderGeneratedMarkdownContent = ({ props })=>{
|
|
|
17727
17985
|
const answerAsHtml = purify.sanitize(transformMarkdownToHtml(props.answer ?? ''), {
|
|
17728
17986
|
ADD_ATTR: [
|
|
17729
17987
|
'part'
|
|
17730
|
-
]
|
|
17988
|
+
],
|
|
17989
|
+
CUSTOM_ELEMENT_HANDLING: {
|
|
17990
|
+
tagNameCheck: /^atomic-generated-answer-inline-link$/,
|
|
17991
|
+
attributeNameCheck: /^(href|title)$/
|
|
17992
|
+
}
|
|
17731
17993
|
});
|
|
17732
17994
|
return lit.html`
|
|
17733
17995
|
<div
|
|
@@ -17932,6 +18194,7 @@ class AtomicGeneratedAnswerContent extends lit.LitElement {
|
|
|
17932
18194
|
}
|
|
17933
18195
|
render() {
|
|
17934
18196
|
const { answer, answerContentFormat, isStreaming, generationSteps, citations = [], answerId, error, cannotAnswer } = this.generatedAnswer || {};
|
|
18197
|
+
this.answerId = answerId || '';
|
|
17935
18198
|
if (error) return this.renderError();
|
|
17936
18199
|
if (cannotAnswer) return this.renderCannotAnswer();
|
|
17937
18200
|
if (!answerId) return lit.html``;
|
|
@@ -18034,12 +18297,17 @@ class AtomicGeneratedAnswerContent extends lit.LitElement {
|
|
|
18034
18297
|
`;
|
|
18035
18298
|
}
|
|
18036
18299
|
constructor(...args){
|
|
18037
|
-
super(...args), this.renderCitations = ()=>lit.html``, this.onClickLike = ()=>{}, this.onClickDislike = ()=>{}, this.onCopyToClipboard = ()=>{}, this.copyState = 'idle';
|
|
18300
|
+
super(...args), this.answerId = '', this.renderCitations = ()=>lit.html``, this.onClickLike = ()=>{}, this.onClickDislike = ()=>{}, this.onCopyToClipboard = ()=>{}, this.copyState = 'idle';
|
|
18038
18301
|
}
|
|
18039
18302
|
}
|
|
18040
18303
|
AtomicGeneratedAnswerContent.styles = [
|
|
18041
18304
|
atomic_generated_answer_tw_css
|
|
18042
18305
|
];
|
|
18306
|
+
_ts_decorate$1o([
|
|
18307
|
+
context.provide({
|
|
18308
|
+
context: answerContext
|
|
18309
|
+
})
|
|
18310
|
+
], AtomicGeneratedAnswerContent.prototype, "answerId", void 0);
|
|
18043
18311
|
_ts_decorate$1o([
|
|
18044
18312
|
decorators_js.property({
|
|
18045
18313
|
attribute: false
|
|
@@ -20290,12 +20558,12 @@ class GeneratedAnswerController {
|
|
|
20290
20558
|
if (!state) return '';
|
|
20291
20559
|
const isHidden = !state.isVisible;
|
|
20292
20560
|
const isGenerating = !!state.isStreaming;
|
|
20293
|
-
const
|
|
20561
|
+
const hasNonEmptyAnswer = !!state.answer?.trim();
|
|
20294
20562
|
const hasError = !!state.error;
|
|
20295
20563
|
if (isHidden) return bindings.i18n.t('generated-answer-hidden');
|
|
20296
20564
|
if (isGenerating) return bindings.i18n.t('generating-answer');
|
|
20297
20565
|
if (hasError) return bindings.i18n.t('answer-could-not-be-generated');
|
|
20298
|
-
if (
|
|
20566
|
+
if (hasNonEmptyAnswer) return bindings.i18n.t('answer-generated', {
|
|
20299
20567
|
answer: state.answer
|
|
20300
20568
|
});
|
|
20301
20569
|
return '';
|
|
@@ -20307,7 +20575,10 @@ class GeneratedAnswerController {
|
|
|
20307
20575
|
}
|
|
20308
20576
|
get hasNoAnswerGenerated() {
|
|
20309
20577
|
const { answer, citations } = this.options.getGeneratedAnswerState() ?? {};
|
|
20310
|
-
|
|
20578
|
+
const isAnswerEmpty = !answer?.trim();
|
|
20579
|
+
const hasNoCitations = !citations?.length;
|
|
20580
|
+
const hasNoRetryableError = !this.hasRetryableError;
|
|
20581
|
+
return isAnswerEmpty && hasNoCitations && hasNoRetryableError;
|
|
20311
20582
|
}
|
|
20312
20583
|
get isAnswerVisible() {
|
|
20313
20584
|
return !!this.options.getGeneratedAnswerState()?.isVisible;
|