@limetech/lime-elements 40.21.0 → 40.21.1

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.
@@ -5848,6 +5848,164 @@ function base64ArrayBuffer(arrayBuffer) {
5848
5848
  return base64;
5849
5849
  }
5850
5850
 
5851
+ // Parser for the OTP-Token header of draft-goto-otp-token-01, an Internet-Draft that expires
5852
+ // on 25 March 2027. By then check for a newer revision of the draft or a published RFC, the
5853
+ // header name and its parameters are still open questions in the draft.
5854
+ //
5855
+ // The header value is a structured field item (RFC 9651): a String holding the passcode,
5856
+ // with an `origin` parameter naming the origin the passcode is bound to. Unknown parameters
5857
+ // are ignored, but they still have to be valid, otherwise the whole field fails to parse.
5858
+ // RFC 9651 lets a parser limit the size of a field. A passcode and an origin take well under
5859
+ // a kilobyte, the limit keeps the regular expressions below away from megabyte inputs
5860
+ const MAX_FIELD_LENGTH = 8192;
5861
+ // The bare item syntax of RFC 9651 4.2.3.1, keyed by the first character of the item. An
5862
+ // Integer has at most 15 digits, a Decimal at most 12 before and 1 to 3 after the dot, and a
5863
+ // Date is an Integer. Whatever follows a match is left for the caller, which only accepts a
5864
+ // parameter separator or the end of the field, so a 16th digit or a 4th decimal fails there
5865
+ const NUMBER = /-?(?:\d{1,12}\.\d{1,3}|\d{1,15})/y;
5866
+ const STRING = /"((?:[\x20\x21\x23-\x5b\x5d-\x7e]|\\["\\])*)"/y;
5867
+ const TOKEN = /[A-Za-z*][!#$%&'*+\-.^_`|~0-9A-Za-z:/]*/y;
5868
+ const BYTE_SEQUENCE = /:[A-Za-z0-9+/=]*:/y;
5869
+ const BOOLEAN = /\?[01]/y;
5870
+ const DATE = /@-?\d{1,15}/y;
5871
+ const DISPLAY_STRING = /%"((?:[\x20\x21\x23\x24\x26-\x7e]|%[0-9a-f]{2})*)"/y;
5872
+ const KEY = /[a-z*][a-z0-9_\-.*]*/y;
5873
+ const SPACES = / */y;
5874
+ // Matches the sticky expression at the cursor and moves past it, returns null if it does not match
5875
+ function match(cursor, re) {
5876
+ re.lastIndex = cursor.pos;
5877
+ const result = re.exec(cursor.input);
5878
+ if (result) {
5879
+ cursor.pos = re.lastIndex;
5880
+ }
5881
+ return result;
5882
+ }
5883
+ // RFC 9651 4.2.5, returns the unescaped String or null if there is no valid String at the cursor
5884
+ function parseString(cursor) {
5885
+ const result = match(cursor, STRING);
5886
+ return result && result[1].replace(/\\(["\\])/g, '$1');
5887
+ }
5888
+ // RFC 9651 4.2.10. The percent encoded bytes must be valid UTF-8, which decodeURIComponent
5889
+ // checks as it decodes them
5890
+ function isDisplayString(cursor) {
5891
+ const result = match(cursor, DISPLAY_STRING);
5892
+ if (!result) {
5893
+ return false;
5894
+ }
5895
+ try {
5896
+ return true;
5897
+ }
5898
+ catch {
5899
+ return false;
5900
+ }
5901
+ }
5902
+ // RFC 9651 4.2.3.1. Returns the value of a String, true for any other valid bare item and
5903
+ // false for an invalid one
5904
+ function parseBareItem(cursor) {
5905
+ const c = cursor.input.charAt(cursor.pos);
5906
+ switch (c) {
5907
+ case '"':
5908
+ return parseString(cursor) ?? false;
5909
+ case ':':
5910
+ return !!match(cursor, BYTE_SEQUENCE);
5911
+ case '?':
5912
+ return !!match(cursor, BOOLEAN);
5913
+ case '@':
5914
+ return !!match(cursor, DATE);
5915
+ case '%':
5916
+ return isDisplayString(cursor);
5917
+ }
5918
+ return !!match(cursor, c === '-' || (c >= '0' && c <= '9') ? NUMBER : TOKEN);
5919
+ }
5920
+ /**
5921
+ * Parses a structured field item (RFC 9651 4.2 with field_type "item") whose bare item is a
5922
+ * String. Returns the String and the String parameters, or null if the value does not parse
5923
+ * or the bare item is of another type. A parameter of any other type is stored as true
5924
+ * @internal
5925
+ */
5926
+ function parseStringItem(value) {
5927
+ const cursor = { input: value, pos: 0 };
5928
+ match(cursor, SPACES);
5929
+ const item = parseString(cursor);
5930
+ if (item === null) {
5931
+ return null;
5932
+ }
5933
+ // a later parameter with the same key replaces the earlier one
5934
+ const params = new Map();
5935
+ while (cursor.input[cursor.pos] === ';') {
5936
+ cursor.pos++;
5937
+ match(cursor, SPACES);
5938
+ const key = match(cursor, KEY);
5939
+ if (!key) {
5940
+ return null;
5941
+ }
5942
+ let paramValue = true;
5943
+ if (cursor.input[cursor.pos] === '=') {
5944
+ cursor.pos++;
5945
+ paramValue = parseBareItem(cursor);
5946
+ if (paramValue === false) {
5947
+ return null;
5948
+ }
5949
+ }
5950
+ params.set(key[0], paramValue);
5951
+ }
5952
+ match(cursor, SPACES);
5953
+ return cursor.pos === cursor.input.length ? { value: item, params } : null;
5954
+ }
5955
+ /**
5956
+ * Checks that the origin is the canonical ASCII serialization of a potentially trustworthy
5957
+ * origin, as the draft requires: https, or http on a loopback host
5958
+ * @internal
5959
+ */
5960
+ function isOtpOrigin(origin) {
5961
+ let url;
5962
+ try {
5963
+ url = new URL(origin);
5964
+ }
5965
+ catch {
5966
+ return false;
5967
+ }
5968
+ // the URL parser lowercases the host, converts it to punycode and drops the default port, so
5969
+ // a value that is not canonical, or has a path, userinfo or an opaque origin, does not match
5970
+ // its own origin. The WHATWG parser lets characters such as a quote or a brace into a host,
5971
+ // which the origin grammar (RFC 6454) does not allow, so only a DNS name, an IPv4 address or a
5972
+ // bracketed IPv6 address is accepted
5973
+ if (url.origin !== origin || !/^([a-z0-9_-]+\.)*[a-z0-9_-]+$|^\[[0-9a-f:.]+\]$/.test(url.hostname)) {
5974
+ return false;
5975
+ }
5976
+ const isLoopback = /^(localhost|.+\.localhost|127(\.\d+){3}|\[::1\])$/.test(url.hostname);
5977
+ return url.protocol === 'https:' || (url.protocol === 'http:' && isLoopback);
5978
+ }
5979
+ /**
5980
+ * Returns the one-time passcode from the OTP-Token header of a message, following the
5981
+ * receiver steps of the draft (section 3.2), or undefined if the message has no valid one.
5982
+ * Only the header of the message itself counts, the draft has an OTP-Token in a MIME part
5983
+ * ignored, and more than one OTP-Token header makes the message have none
5984
+ * @internal
5985
+ */
5986
+ function getOtp(headers) {
5987
+ let otpHeader;
5988
+ for (const header of headers) {
5989
+ if (header.key === 'otp-token') {
5990
+ if (otpHeader) {
5991
+ return undefined;
5992
+ }
5993
+ otpHeader = header;
5994
+ }
5995
+ }
5996
+ if (!otpHeader || otpHeader.value.length > MAX_FIELD_LENGTH) {
5997
+ return undefined;
5998
+ }
5999
+ // the header value is already unfolded, which the draft requires before the structured field parse
6000
+ const parsed = parseStringItem(otpHeader.value);
6001
+ const origin = parsed?.params.get('origin');
6002
+ // an empty passcode is valid syntax, but there is nothing in it to fill in
6003
+ if (!parsed?.value || typeof origin !== 'string' || !isOtpOrigin(origin)) {
6004
+ return undefined;
6005
+ }
6006
+ return { code: parsed.value, origin };
6007
+ }
6008
+
5851
6009
  function isReadableStream(value) {
5852
6010
  return !!value && typeof value.getReader === 'function';
5853
6011
  }
@@ -6423,6 +6581,10 @@ class PostalMime {
6423
6581
  // enforce ISO format if seems to be a valid date
6424
6582
  message.date = date.toString() === 'Invalid Date' ? dateHeader.value : date.toISOString();
6425
6583
  }
6584
+ const otp = getOtp(headers);
6585
+ if (otp) {
6586
+ message.otp = otp;
6587
+ }
6426
6588
  if (this.textContent.html) {
6427
6589
  message.html = this.textContent.html;
6428
6590
  }
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BU9IJqli.js';
2
2
  import { t as translations } from './translations-kct5Kybu.js';
3
3
  import { c as createLiveMessage, i as isDescendant } from './live-message-BQAYeNiX.js';
4
- import { E as ESCAPE, T as TAB, a as ENTER, A as ARROW_UP, b as ARROW_DOWN } from './keycodes-DQ5DmW_Y.js';
4
+ import { E as ESCAPE, A as ARROW_UP, T as TAB, a as ENTER, b as ARROW_DOWN } from './keycodes-DQ5DmW_Y.js';
5
5
  import { c as createRandomString } from './random-string-BrjD-ITe.js';
6
6
  import { i as isTextEditingKey } from './typeahead-B4PwrlM3.js';
7
7
  import { a as getIconFillColor, g as getIconName } from './get-icon-props-CgNJbSP4.js';
@@ -17,6 +17,8 @@ const pickerCss = () => `@charset "UTF-8";:host{position:relative;display:block}
17
17
  const SEARCH_DEBOUNCE = 300;
18
18
  const CHIP_SET_TAG_NAME = 'limel-chip-set';
19
19
  const DEFAULT_SEARCHER_MAX_RESULTS = 20;
20
+ const MAX_FRAMES_TO_WAIT_FOR_LIST = 20;
21
+ const ENABLED_LIST_ITEM = '.mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled)';
20
22
  const Picker = class {
21
23
  constructor(hostRef) {
22
24
  registerInstance(this, hostRef);
@@ -93,7 +95,8 @@ const Picker = class {
93
95
  this.chips = [];
94
96
  // Should NOT be decorated with State(), since this
95
97
  // should not trigger a re-render by itself.
96
- this.chipSetEditMode = false;
98
+ this.isEditing = false;
99
+ this.suggestionHasFocus = false;
97
100
  this.suggestionsMessage = createLiveMessage(() => this.getSuggestionsMessage());
98
101
  this.getValueId = (item) => {
99
102
  const value = item.value;
@@ -177,6 +180,7 @@ const Picker = class {
177
180
  this.suggestionsMessage.update();
178
181
  }
179
182
  disconnectedCallback() {
183
+ this.forgetSuggestionFocus();
180
184
  this.debouncedSearch.cancel();
181
185
  this.suggestionsMessage.update.cancel();
182
186
  }
@@ -191,9 +195,10 @@ const Picker = class {
191
195
  this.host.setAttribute('tabindex', '0');
192
196
  }
193
197
  async componentWillUpdate() {
194
- this.chipSetEditMode = false;
198
+ this.isEditing = false;
195
199
  if (this.chipSet) {
196
- this.chipSetEditMode = await this.chipSet.getEditMode();
200
+ this.isEditing =
201
+ this.suggestionHasFocus || (await this.chipSet.getEditMode());
197
202
  }
198
203
  }
199
204
  render() {
@@ -202,7 +207,7 @@ const Picker = class {
202
207
  if (!this.multiple) {
203
208
  props.maxItems = 1;
204
209
  }
205
- return (h(Host, { key: 'b8a2414331b89aa646ecdab2a0e5fb9bfce06de4' }, h("limel-chip-set", Object.assign({ key: 'bf4fe7ed7973f40c903116cd538f485e3f44881d', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.chipSetEditMode, suggestionListId: this.canOpenList() ? this.portalId : undefined, suggestionListOpen: this.suggestionsEngaged && dropdownContent.length > 0 }, props)), this.renderPortal(dropdownContent), h("span", { key: '3967fc14d3207567c5976c48c1154b96ea3fe285', class: "suggestions-message", "aria-live": "polite", ref: this.suggestionsMessage.setElement })));
210
+ return (h(Host, { key: '1670bff5822f930a3eca69ad2a016cea978b3822' }, h("limel-chip-set", Object.assign({ key: '173a7facd5271992e792ce6a56a34a8890c9135f', type: "input", inputType: "search", label: this.label, helperText: this.helperText, leadingIcon: this.leadingIcon, value: this.chips, disabled: this.disabled, invalid: this.invalid, delimiter: this.renderDelimiter(), readonly: this.readonly, required: this.required, searchLabel: this.searchLabel, language: this.language, onInput: this.handleTextInput, onKeyDown: this.handleInputKeyDown, onChange: this.handleChange, onInteract: this.handleInteract, onStartEdit: this.handleInputFieldFocus, onStopEdit: this.handleStopEditAndBlur, emptyInputOnBlur: false, emptyInputOnChange: false, clearAllButton: this.multiple && !this.isEditing, suggestionListId: this.canOpenList() ? this.portalId : undefined, suggestionListOpen: this.suggestionsEngaged && dropdownContent.length > 0 }, props)), this.renderPortal(dropdownContent), h("span", { key: 'c151104c5059aadc3cfa526267184b663e87bebd', class: "suggestions-message", "aria-live": "polite", ref: this.suggestionsMessage.setElement })));
206
211
  }
207
212
  onChangeValue() {
208
213
  this.chips = this.createChips(this.value);
@@ -275,7 +280,7 @@ const Picker = class {
275
280
  return !this.readonly && !this.isFull();
276
281
  }
277
282
  shouldShowDropDownContent() {
278
- return this.canOpenList() && !!this.chipSetEditMode;
283
+ return this.canOpenList() && !!this.isEditing;
279
284
  }
280
285
  getDropdownContent() {
281
286
  var _a;
@@ -344,10 +349,20 @@ const Picker = class {
344
349
  this.chipSet.setFocus();
345
350
  return;
346
351
  }
352
+ if (event.key === ARROW_UP && this.isKeyPressedOnFirstItem(event)) {
353
+ event.preventDefault();
354
+ this.chipSet.setFocus();
355
+ return;
356
+ }
347
357
  if ([TAB, ENTER].includes(event.key) || isTextEditingKey(event)) {
348
358
  this.chipSet.setFocus();
349
359
  }
350
360
  }
361
+ isKeyPressedOnFirstItem(event) {
362
+ const list = event.currentTarget;
363
+ const firstItem = list.shadowRoot.querySelector(ENABLED_LIST_ITEM);
364
+ return !!firstItem && event.composedPath().includes(firstItem);
365
+ }
351
366
  renderPortal(content = []) {
352
367
  const dropdownZIndex = getComputedStyle(this.host).getPropertyValue('--dropdown-z-index');
353
368
  return (h("limel-portal", { visible: content.length > 0, containerId: this.portalId, inheritParentWidth: true, containerStyle: { 'z-index': dropdownZIndex } }, h("limel-menu-surface", { open: content.length > 0, allowClicksElement: this.host, style: {
@@ -381,6 +396,7 @@ const Picker = class {
381
396
  const query = event.detail;
382
397
  this.textValue = query;
383
398
  this.suggestionsEngaged = true;
399
+ this.forgetSuggestionFocus();
384
400
  this.debouncedSearch(query);
385
401
  // If the search-query is an empty string, bypass debouncing.
386
402
  if (query === '') {
@@ -430,6 +446,7 @@ const Picker = class {
430
446
  if (!event.detail) {
431
447
  return;
432
448
  }
449
+ this.suggestionHasFocus = false;
433
450
  this.action.emit(event.detail.value);
434
451
  this.items = [];
435
452
  }
@@ -438,6 +455,7 @@ const Picker = class {
438
455
  * Prevent focus if the picker has a value and does not support multiple values
439
456
  */
440
457
  handleInputFieldFocus() {
458
+ this.forgetSuggestionFocus();
441
459
  const query = this.textValue;
442
460
  this.debouncedSearch(query);
443
461
  }
@@ -475,7 +493,6 @@ const Picker = class {
475
493
  * @param event - event
476
494
  */
477
495
  handleInputKeyDown(event) {
478
- var _a;
479
496
  this.suggestionsEngaged = true;
480
497
  const isUp = event.key === ARROW_UP;
481
498
  const isDown = event.key === ARROW_DOWN;
@@ -489,28 +506,47 @@ const Picker = class {
489
506
  if (!isUp && !isDown) {
490
507
  return;
491
508
  }
492
- const list = (_a = document.querySelector(` #${this.portalId} limel-list[data-suggestions]`)) !== null && _a !== void 0 ? _a : document.querySelector(` #${this.portalId} limel-list`);
493
- if (!list) {
509
+ const position = isDown ? 'first' : 'last';
510
+ if (this.focusSuggestion(position)) {
511
+ event.preventDefault();
494
512
  return;
495
513
  }
496
- if (isDown) {
497
- // Match by class only (not `:first-child`) so a leading
498
- // `ListSeparator` doesn't shadow the first focusable item.
499
- const listElement = list.shadowRoot.querySelector('.mdc-deprecated-list-item');
500
- if (!listElement) {
514
+ this.suggestionToFocusWhenShown = position;
515
+ }
516
+ focusSuggestion(position) {
517
+ var _a;
518
+ const list = (_a = document.querySelector(` #${this.portalId} limel-list[data-suggestions]`)) !== null && _a !== void 0 ? _a : document.querySelector(` #${this.portalId} limel-list`);
519
+ if (!list) {
520
+ return false;
521
+ }
522
+ // Match by class only (not `:first-child`) so a leading
523
+ // `ListSeparator` doesn't shadow the first focusable item.
524
+ const items = list.shadowRoot.querySelectorAll(ENABLED_LIST_ITEM);
525
+ const item = position === 'first' ? items[0] : [...items].at(-1);
526
+ item === null || item === void 0 ? void 0 : item.focus();
527
+ this.suggestionHasFocus =
528
+ !!item && list.shadowRoot.activeElement === item;
529
+ return this.suggestionHasFocus;
530
+ }
531
+ focusSuggestionWhenShown(position) {
532
+ cancelAnimationFrame(this.suggestionFocusFrame);
533
+ let frames = 0;
534
+ const focusSuggestion = () => {
535
+ if (this.focusSuggestion(position)) {
501
536
  return;
502
537
  }
503
- event.preventDefault();
504
- listElement.focus();
505
- return;
506
- }
507
- const listItems = list.shadowRoot.querySelectorAll('.mdc-deprecated-list-item');
508
- const listElement = [...listItems].at(-1);
509
- if (!listElement) {
510
- return;
511
- }
512
- event.preventDefault();
513
- listElement.focus();
538
+ frames += 1;
539
+ if (frames < MAX_FRAMES_TO_WAIT_FOR_LIST) {
540
+ this.suggestionFocusFrame =
541
+ requestAnimationFrame(focusSuggestion);
542
+ }
543
+ };
544
+ this.suggestionFocusFrame = requestAnimationFrame(focusSuggestion);
545
+ }
546
+ forgetSuggestionFocus() {
547
+ this.suggestionHasFocus = false;
548
+ this.suggestionToFocusWhenShown = undefined;
549
+ cancelAnimationFrame(this.suggestionFocusFrame);
514
550
  }
515
551
  handleSearchResult(query, result) {
516
552
  var _a;
@@ -529,6 +565,11 @@ const Picker = class {
529
565
  }
530
566
  this.items = this.prependSearchHeader(query, nextItems);
531
567
  this.loading = false;
568
+ const position = this.suggestionToFocusWhenShown;
569
+ this.suggestionToFocusWhenShown = undefined;
570
+ if (position && this.hasPickableItems(nextItems)) {
571
+ this.focusSuggestionWhenShown(position);
572
+ }
532
573
  }
533
574
  hasPickableItems(items) {
534
575
  return items.some((item) => !('separator' in item));
@@ -551,7 +592,8 @@ const Picker = class {
551
592
  /**
552
593
  * Shared prelude for any flow that ends the current search session:
553
594
  * wipe the chip-set's visible text, reset the picker's `textValue`,
554
- * and cancel any in-flight debounced search.
595
+ * cancel any in-flight debounced search, and forget that a suggestion
596
+ * has the focus, or that an arrow key is waiting for the suggestions.
555
597
  *
556
598
  * Used by `clearInputField` (which then drops the dropdown
557
599
  * entirely) and `resetSearchToDefault` (which re-runs the searcher
@@ -561,6 +603,7 @@ const Picker = class {
561
603
  this.chipSet.emptyInput();
562
604
  this.textValue = '';
563
605
  this.debouncedSearch.cancel();
606
+ this.forgetSuggestionFocus();
564
607
  }
565
608
  clearInputField() {
566
609
  this.clearTextValue();
@@ -1 +1 @@
1
- import{p as e,g as l,b as a}from"./p-BU9IJqli.js";export{s as setNonce}from"./p-BU9IJqli.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await l(),a(JSON.parse('[["p-1e0ced6a",[[1,"limel-tooltip",{"elementId":[513,"element-id"],"label":[513],"helperLabel":[513,"helper-label"],"hotkey":[513],"maxlength":[514],"openDirection":[513,"open-direction"],"open":[32]},null,{"label":[{"watchDescription":0}],"helperLabel":[{"watchDescription":0}],"hotkey":[{"watchDescription":0}]}],[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514],"hotkey":[513]}],[1,"limel-hotkey",{"value":[513],"disabled":[516]}],[257,"limel-portal",{"openDirection":[513,"open-direction"],"position":[513],"containerId":[513,"container-id"],"containerStyle":[16],"inheritParentWidth":[516,"inherit-parent-width"],"visible":[516],"anchor":[16]},null,{"visible":[{"onVisible":0}]}]]],["p-54537c85",[[17,"limel-text-editor",{"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"value":[513],"customElements":[16],"inlineImages":[16],"triggers":[16],"required":[516],"allowResize":[516,"allow-resize"],"ui":[513],"flushPendingChanges":[64],"clear":[64]}]]],["p-7ab726c2",[[1,"limel-file-viewer",{"url":[513],"filename":[513],"alt":[513],"allowFullscreen":[516,"allow-fullscreen"],"allowOpenInNewTab":[516,"allow-open-in-new-tab"],"allowDownload":[516,"allow-download"],"language":[1],"officeViewer":[513,"office-viewer"],"actions":[16],"isFullscreen":[32],"fileType":[32],"loading":[32],"fileUrl":[32],"email":[32]},null,{"url":[{"watchUrl":0}]}]]],["p-48a412ed",[[257,"limel-card",{"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"actions":[16],"clickable":[516],"orientation":[513],"selected":[516],"show3dEffect":[516,"show-3d-effect"],"canScrollUp":[32],"canScrollDown":[32]}]]],["p-6d2d25b9",[[1,"limel-file",{"value":[16],"label":[513],"helperText":[513,"helper-text"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"loading":[516],"accept":[513],"resizeImage":[16],"language":[1],"resizingFile":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-55fa19ae",[[1,"limel-code-diff",{"oldValue":[1,"old-value"],"newValue":[1,"new-value"],"oldHeading":[513,"old-heading"],"newHeading":[513,"new-heading"],"layout":[513],"contextLines":[514,"context-lines"],"lineWrapping":[516,"line-wrapping"],"language":[513],"reformatJson":[516,"reformat-json"],"translationLanguage":[513,"translation-language"],"diffResult":[32],"liveAnnouncement":[32],"copyState":[32],"searchVisible":[32],"searchTerm":[32],"currentMatchIndex":[32]},null,{"oldValue":[{"watchInputs":0}],"newValue":[{"watchInputs":0}],"contextLines":[{"watchInputs":0}],"reformatJson":[{"watchInputs":0}],"layout":[{"watchInputs":0}]}]]],["p-d35d2859",[[0,"limel-list-item",{"language":[513],"value":[8],"text":[513],"secondaryText":[513,"secondary-text"],"disabled":[516],"icon":[1],"iconSize":[513,"icon-size"],"badgeIcon":[516,"badge-icon"],"selected":[516],"actions":[16],"primaryComponent":[16],"image":[16],"type":[513]}]]],["p-cd479c23",[[17,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"helperText":[513,"helper-text"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"language":[1],"required":[4],"invalid":[516],"value":[16],"searcher":[16],"allItems":[16],"multiple":[4],"delimiter":[513],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"badgeIcons":[516,"badge-icons"],"items":[32],"textValue":[32],"suggestionsEngaged":[32],"loading":[32],"chips":[32]},null,{"disabled":[{"onDisabledChange":0}],"value":[{"onChangeValue":0}]}]]],["p-c6b3448c",[[17,"limel-split-button",{"label":[513],"primary":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"items":[16]}]]],["p-1a7d1d2b",[[1,"limel-pagination",{"page":[2],"pageSize":[514,"page-size"],"totalItems":[514,"total-items"],"loading":[516],"language":[513],"liveMessage":[32],"openGap":[32]},null,{"language":[{"handleLanguageChange":0}]}]]],["p-db9cb7ef",[[1,"limel-color-picker",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"tooltipLabel":[513,"tooltip-label"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"placeholder":[513],"manualInput":[516,"manual-input"],"palette":[16],"paletteColumnCount":[514,"palette-column-count"],"isOpen":[32]}]]],["p-9b2623fe",[[1,"limel-form",{"schema":[16],"value":[16],"disabled":[4],"propsFactory":[16],"transformErrors":[16],"errors":[16],"headingLevel":[2,"heading-level"],"revealErrors":[4,"reveal-errors"],"highlightedField":[16]},null,{"headingLevel":[{"handleHeadingLevelChange":0}],"highlightedField":[{"handleHighlightedFieldChange":0}]}]]],["p-4c080cd9",[[1,"limel-profile-picture",{"language":[513],"label":[513],"icon":[1],"helperText":[1,"helper-text"],"disabled":[516],"readonly":[516],"required":[516],"invalid":[516],"loading":[516],"value":[1],"imageFit":[513,"image-fit"],"accept":[513],"resize":[16],"objectUrl":[32],"imageError":[32],"isErrorMessagePopoverOpen":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-496b2437",[[1,"limel-dock",{"dockItems":[16],"dockFooterItems":[16],"accessibleLabel":[513,"accessible-label"],"expanded":[516],"allowResize":[516,"allow-resize"],"mobileBreakPoint":[514,"mobile-break-point"],"language":[513],"useMobileLayout":[32]},null,{"mobileBreakPoint":[{"watchMobileBreakPoint":0}]}]]],["p-6d9b89db",[[1,"limel-snackbar",{"open":[516],"message":[1],"timeout":[514],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"offset":[32],"isOpen":[32],"closing":[32],"show":[64]},[[0,"changeOffset","onChangeIndex"]],{"open":[{"watchOpen":0}]}]]],["p-c0ebf7cc",[[257,"limel-tab-panel",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}]}]]],["p-958396b5",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formatter":[16],"internalFormat":[32],"showPortal":[32]}]]],["p-22e9e327",[[257,"limel-side-panel",{"label":[1],"language":[513],"closeLabel":[1,"close-label"],"stack":[16],"actions":[16],"closeOnEscape":[4,"close-on-escape"],"fullScreen":[516,"full-screen"],"widthRange":[32]},[[0,"close","stopContentEventAtHost"],[0,"changeWidth","stopContentEventAtHost"]],{"stack":[{"handleBacksChange":0}],"fullScreen":[{"handleBacksChange":0}]}]]],["p-28957b5c",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]},null,{"value":[{"valueChanged":0}]}]]],["p-f3b93ce8",[[1,"limel-select",{"disabled":[516],"readonly":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]},null,{"value":[{"resetHasChanged":0}],"options":[{"resetHasChanged":0},{"updateHasRichOptions":0},{"resetTypeaheadOnItemsChange":0}],"required":[{"resetTypeaheadOnItemsChange":0}],"menuOpen":[{"watchOpen":0}]}]]],["p-a6c6a31b",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"required":[516],"invalid":[516],"displaysPercentageColors":[516,"displays-percentage-colors"],"unit":[513],"language":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32],"displayValue":[32],"isUnset":[32]},null,{"value":[{"watchValue":0}]}]]],["p-0319f07f",[[257,"limel-info-tile",{"value":[520],"icon":[1],"label":[513],"prefix":[513],"suffix":[513],"disabled":[516],"reducedPresence":[516,"reduced-presence"],"badge":[520],"loading":[516],"link":[16],"progress":[16],"hasPrimarySlot":[32]}]]],["p-47fe76a8",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[513],"layout":[513],"pageSize":[514,"page-size"],"totalRows":[514,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[516,"movable-columns"],"movableRows":[516,"movable-rows"],"sortableColumns":[516,"sortable-columns"],"loading":[516],"page":[514],"emptyMessage":[1,"empty-message"],"aggregates":[16],"selectable":[516],"selection":[16],"language":[513],"paginationLocation":[513,"pagination-location"]},null,{"totalRows":[{"totalRowsChanged":0}],"pageSize":[{"pageSizeChanged":0}],"page":[{"pageChanged":0}],"activeRow":[{"activeRowChanged":0}],"data":[{"updateData":0}],"columns":[{"updateColumns":0}],"aggregates":[{"updateAggregates":0}],"selection":[{"updateSelection":0}],"selectable":[{"updateSelectable":0}],"movableRows":[{"updateMovableRows":0}],"sortableColumns":[{"updateSortableColumns":0}],"sorting":[{"updateSorting":0}]}]]],["p-7d0ffc60",[[1,"limel-shortcut",{"icon":[513],"label":[513],"disabled":[516],"badge":[520],"link":[16]}]]],["p-40940a6c",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"invalid":[516],"value":[516],"helperText":[513,"helper-text"],"readonlyLabels":[16],"fieldId":[32]}]]],["p-6e9eeb0a",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[516],"disabled":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"lineNumbers":[516,"line-numbers"],"lineWrapping":[516,"line-wrapping"],"fold":[516],"lint":[516],"colorScheme":[513,"color-scheme"],"translationLanguage":[513,"translation-language"],"showCopyButton":[516,"show-copy-button"],"random":[32],"wasCopied":[32]},null,{"value":[{"watchValue":0}],"disabled":[{"watchDisabled":0}],"readonly":[{"watchReadonly":0}],"invalid":[{"watchInvalid":0}],"required":[{"watchRequired":0}],"helperText":[{"watchHelperText":0}]}]]],["p-6053608a",[[257,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]},null,{"open":[{"watchHandler":0}],"closingActions":[{"closingActionsChanged":0}]}]]],["p-5dce791c",[[1,"limel-menu-item-meta",{"commandText":[513,"command-text"],"hotkey":[513],"disabled":[516],"badge":[8],"showChevron":[4,"show-chevron"]}]]],["p-271662d4",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["p-f59447bf",[[257,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["p-7d6a12fe",[[1,"limel-chart",{"language":[513],"accessibleLabel":[513,"accessible-label"],"accessibleItemsLabel":[513,"accessible-items-label"],"accessibleValuesLabel":[513,"accessible-values-label"],"displayAxisLabels":[516,"display-axis-labels"],"displayItemText":[516,"display-item-text"],"displayItemValue":[516,"display-item-value"],"displayItemPercentage":[516,"display-item-percentage"],"items":[16],"type":[513],"orientation":[513],"maxValue":[514,"max-value"],"axisIncrement":[514,"axis-increment"],"loading":[516],"focusedIndex":[32]},null,{"axisIncrement":[{"warnAboutAxisIncrement":0}],"items":[{"warnAboutAxisIncrement":0}],"maxValue":[{"warnAboutAxisIncrement":0}],"type":[{"warnAboutAxisIncrement":0},{"warnAboutOldTypeName":0}]}]]],["p-8d602078",[[0,"limel-radio-button-group",{"items":[16],"selectedItem":[16],"disabled":[516],"badgeIcons":[516,"badge-icons"],"maxLinesSecondaryText":[514,"max-lines-secondary-text"]}]]],["p-7b87e547",[[1,"limel-ai-avatar",{"isThinking":[516,"is-thinking"],"mode":[513],"variant":[513],"language":[513]},null,{"isThinking":[{"onIsThinkingChange":0}]}]]],["p-4b75e653",[[1,"limel-config",{"config":[16]}]]],["p-e5abe390",[[257,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["p-c61e9b83",[[257,"limel-grid"]]],["p-6ae093c8",[[257,"limel-masonry-layout",{"ordered":[516],"containerHeight":[32]},null,{"ordered":[{"onOrderedChange":0}]}]]],["p-933ffaa8",[[257,"limel-email-viewer",{"email":[16],"fallbackUrl":[513,"fallback-url"],"language":[513],"allowRemoteImages":[4,"allow-remote-images"],"allowRemoteImagesState":[32]},null,{"email":[{"resetAllowRemoteImages":0}]}]]],["p-9edd79a8",[[17,"limel-prosemirror-adapter",{"contentType":[1,"content-type"],"value":[1],"language":[513],"disabled":[516],"customElements":[16],"inlineImages":[16],"triggerCharacters":[16],"ui":[1],"accessibleLabel":[1,"accessible-label"],"accessibleDescription":[1,"accessible-description"],"accessiblePlaceholder":[1,"accessible-placeholder"],"required":[4],"invalid":[4],"view":[32],"actionBarItems":[32],"link":[32],"isLinkMenuOpen":[32],"flushPendingChanges":[64],"clear":[64]},null,{"accessibleLabel":[{"watchEditableAttributes":0}],"accessibleDescription":[{"watchEditableAttributes":0}],"accessiblePlaceholder":[{"watchEditableAttributes":0}],"required":[{"watchEditableAttributes":0}],"invalid":[{"watchEditableAttributes":0}],"disabled":[{"watchDisabled":0}],"value":[{"watchValue":0}]}]]],["p-07f3565b",[[1,"limel-pagination-jump",{"open":[516],"page":[2],"pageCount":[2,"page-count"],"loading":[4],"language":[1],"value":[32]},null,{"language":[{"handleLanguageChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-783fd221",[[0,"limel-dock-button",{"item":[16],"expanded":[516],"useMobileLayout":[516,"use-mobile-layout"],"isOpen":[32]},null,{"isOpen":[{"openWatcher":0}]}]]],["p-cf2d43c7",[[1,"limel-tab-bar",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}],"orientation":[{"orientationChanged":0}]}]]],["p-39d1e157",[[17,"limel-color-picker-palette",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"placeholder":[513],"required":[516],"invalid":[516],"manualInput":[516,"manual-input"],"columnCount":[514,"column-count"],"palette":[16]}]]],["p-764d2f86",[[0,"limel-form-header",{"heading":[1],"headingLevel":[2,"heading-level"],"description":[1],"help":[1]}]]],["p-56e2fa48",[[17,"limel-resize-handle",{"location":[513],"resizableRegionLabel":[513,"resizable-region-label"],"language":[513],"value":[2],"min":[2],"max":[2],"isPointerOver":[32],"hasKeyboardFocus":[32]}]]],["p-c2056ebc",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516],"svgClass":[513,"svg-class"]},null,{"name":[{"loadIcon":0}],"svgClass":[{"applySvgClass":0}]}]]],["p-438fe49b",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"checked":[516],"indeterminate":[516],"required":[516],"readonlyLabels":[16],"modified":[32]},null,{"checked":[{"handleCheckedChange":0}],"indeterminate":[{"handleIndeterminateChange":0}],"readonly":[{"handleReadonlyChange":0}]}]]],["p-d8559847",[[257,"limel-callout",{"heading":[513],"icon":[513],"type":[513],"language":[1]}]]],["p-f97ec7a5",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4],"currentStep":[4,"current-step"]}]]],["p-d3f13124",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"prefix":[513],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["p-3ac39bd5",[[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1],"formatter":[16]}]]],["p-3f7fa772",[[0,"limel-radio-button",{"checked":[516],"disabled":[516],"id":[1],"label":[1],"onChange":[16]}]]],["p-8fe28845",[[17,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"accessibleLabel":[1,"accessible-label"],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]},null,{"type":[{"handleType":0}],"items":[{"itemsChanged":0}]}],[260,"limel-notched-outline",{"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"label":[513],"labelId":[513,"label-id"],"labelElementId":[513,"label-element-id"],"hasValue":[516,"has-value"],"hasLeadingIcon":[516,"has-leading-icon"],"hasFloatingLabel":[516,"has-floating-label"]}],[0,"limel-helper-line",{"helperText":[513,"helper-text"],"length":[514],"maxLength":[514,"max-length"],"invalid":[516],"helperTextId":[513,"helper-text-id"]}]]],["p-a807a45f",[[257,"limel-menu",{"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"surfaceWidth":[513,"surface-width"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"loading":[516],"currentSubMenu":[1040],"rootItem":[16],"searcher":[16],"searchPlaceholder":[1,"search-placeholder"],"emptyResultMessage":[1,"empty-result-message"],"keepOpenOnSelect":[516,"keep-open-on-select"],"loadingSubItems":[32],"searchValue":[32],"searchResults":[32]},null,{"items":[{"itemsWatcher":0}],"open":[{"openWatcher":0}]}],[1,"limel-breadcrumbs",{"items":[16],"divider":[1]}],[17,"limel-menu-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"]},null,{"items":[{"itemsChanged":0}]}],[17,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"prefix":[513],"suffix":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"leadingIcon":[513,"leading-icon"],"pattern":[513],"type":[513],"formatNumber":[516,"format-number"],"step":[520],"max":[514],"min":[514],"maxlength":[514],"minlength":[514],"completions":[16],"language":[1],"showLink":[516,"show-link"],"locale":[513],"isFocused":[32],"wasInvalid":[32],"showCompletions":[32],"suggestionsEngaged":[32],"getSelectionStart":[64],"getSelectionEnd":[64],"getSelectionDirection":[64]},null,{"value":[{"valueWatcher":0}],"completions":[{"completionsWatcher":0}]}],[1,"limel-badge",{"label":[520]}],[257,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]],["p-7fcd48c6",[[17,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"helperText":[513,"helper-text"],"disabled":[516],"readonly":[516],"invalid":[516],"inputType":[513,"input-type"],"maxItems":[514,"max-items"],"required":[516],"suggestionListId":[1,"suggestion-list-id"],"suggestionListOpen":[4,"suggestion-list-open"],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"emptyInputOnChange":[516,"empty-input-on-change"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"autocomplete":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"selectedChipIds":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]},null,{"readonly":[{"handleReadonlyChange":0}],"value":[{"handleChangeChips":0}]}]]],["p-23067836",[[1,"limel-text-editor-link-menu",{"link":[16],"language":[513],"isOpen":[516,"is-open"]}]]],["p-ce71c5b9",[[257,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"],"subheadingDivider":[1,"subheading-divider"]}]]],["p-a7be03e1",[[257,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[513],"headingLevel":[2,"heading-level"],"icon":[1],"invalid":[516],"actions":[16],"language":[513]},null,{"headingLevel":[{"handleHeadingLevelChange":0}]}]]],["p-95a486c8",[[1,"limel-3d-hover-effect-glow"]]],["p-814b4934",[[0,"limel-drag-handle",{"dragDirection":[513,"drag-direction"],"tooltipOpenDirection":[513,"tooltip-open-direction"],"language":[513]}],[257,"limel-scroller",{"orientation":[513],"canScrollToStart":[32],"canScrollToEnd":[32],"reveal":[64]}]]],["p-f5bb17eb",[[257,"limel-file-dropzone",{"accept":[513],"disabled":[4],"text":[1],"helperText":[1,"helper-text"],"hasFileToDrop":[32]}],[257,"limel-file-input",{"accept":[513],"disabled":[516],"multiple":[516]}]]],["p-85318636",[[1,"limel-dynamic-label",{"value":[8],"defaultLabel":[16],"labels":[16]}]]],["p-909466b8",[[1,"limel-help",{"value":[1],"trigger":[1],"readMoreLink":[16],"openDirection":[513,"open-direction"],"isOpen":[32]}],[1,"limel-help-content",{"value":[1],"readMoreLink":[16]}]]],["p-f036ad27",[[17,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"justLoaded":[32]},null,{"loading":[{"loadingWatcher":0}]}]]],["p-a6387dc7",[[17,"limel-icon-button",{"icon":[1],"elevated":[516],"label":[513],"helperLabel":[513,"helper-label"],"disabled":[516]}]]],["p-a891f3e8",[[1,"limel-markdown",{"value":[1],"whitelist":[16],"lazyLoadImages":[516,"lazy-load-images"],"removeEmptyParagraphs":[516,"remove-empty-paragraphs"],"adaptColorContrast":[516,"adapt-color-contrast"],"toMarkdown":[64]},null,{"value":[{"textChanged":0}],"whitelist":[{"handleWhitelistChange":0}],"removeEmptyParagraphs":[{"handleRemoveEmptyParagraphsChange":0}],"adaptColorContrast":[{"handleAdaptColorContrastChange":0}]}]]],["p-5e408c27",[[17,"limel-chip",{"language":[513],"text":[513],"icon":[1],"image":[16],"link":[16],"badge":[520],"disabled":[516],"readonly":[516],"selected":[516],"invalid":[516],"removable":[516],"type":[513],"loading":[516],"progress":[514],"identifier":[520],"size":[513],"menuItems":[16]}],[1,"limel-linear-progress",{"language":[513],"value":[514],"indeterminate":[516],"accessibleLabel":[513,"accessible-label"]},null,{"value":[{"watchValue":0}]}]]],["p-bffb5ed2",[[1,"limel-action-bar",{"actions":[16],"accessibleLabel":[513,"accessible-label"],"language":[1],"layout":[513],"collapsible":[516],"openDirection":[513,"open-direction"],"overflowCutoff":[32]}],[0,"limel-action-bar-overflow-menu",{"items":[16],"openDirection":[513,"open-direction"]}],[0,"limel-action-bar-item",{"item":[16],"isVisible":[516,"is-visible"],"selected":[516]}]]],["p-c8a34cef",[[257,"limel-popover",{"open":[4],"openDirection":[513,"open-direction"],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]},null,{"open":[{"watchOpen":0}]}],[1,"limel-popover-surface",{"contentCollection":[16],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]}]]]]'),e))));
1
+ import{p as e,g as l,b as a}from"./p-BU9IJqli.js";export{s as setNonce}from"./p-BU9IJqli.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await l(),a(JSON.parse('[["p-1e0ced6a",[[1,"limel-tooltip",{"elementId":[513,"element-id"],"label":[513],"helperLabel":[513,"helper-label"],"hotkey":[513],"maxlength":[514],"openDirection":[513,"open-direction"],"open":[32]},null,{"label":[{"watchDescription":0}],"helperLabel":[{"watchDescription":0}],"hotkey":[{"watchDescription":0}]}],[1,"limel-tooltip-content",{"label":[513],"helperLabel":[513,"helper-label"],"maxlength":[514],"hotkey":[513]}],[1,"limel-hotkey",{"value":[513],"disabled":[516]}],[257,"limel-portal",{"openDirection":[513,"open-direction"],"position":[513],"containerId":[513,"container-id"],"containerStyle":[16],"inheritParentWidth":[516,"inherit-parent-width"],"visible":[516],"anchor":[16]},null,{"visible":[{"onVisible":0}]}]]],["p-54537c85",[[17,"limel-text-editor",{"contentType":[1,"content-type"],"language":[513],"disabled":[516],"readonly":[516],"helperText":[513,"helper-text"],"placeholder":[513],"label":[513],"invalid":[516],"value":[513],"customElements":[16],"inlineImages":[16],"triggers":[16],"required":[516],"allowResize":[516,"allow-resize"],"ui":[513],"flushPendingChanges":[64],"clear":[64]}]]],["p-7af83877",[[1,"limel-file-viewer",{"url":[513],"filename":[513],"alt":[513],"allowFullscreen":[516,"allow-fullscreen"],"allowOpenInNewTab":[516,"allow-open-in-new-tab"],"allowDownload":[516,"allow-download"],"language":[1],"officeViewer":[513,"office-viewer"],"actions":[16],"isFullscreen":[32],"fileType":[32],"loading":[32],"fileUrl":[32],"email":[32]},null,{"url":[{"watchUrl":0}]}]]],["p-48a412ed",[[257,"limel-card",{"heading":[513],"subheading":[513],"image":[16],"icon":[513],"value":[1],"actions":[16],"clickable":[516],"orientation":[513],"selected":[516],"show3dEffect":[516,"show-3d-effect"],"canScrollUp":[32],"canScrollDown":[32]}]]],["p-6d2d25b9",[[1,"limel-file",{"value":[16],"label":[513],"helperText":[513,"helper-text"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"loading":[516],"accept":[513],"resizeImage":[16],"language":[1],"resizingFile":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-55fa19ae",[[1,"limel-code-diff",{"oldValue":[1,"old-value"],"newValue":[1,"new-value"],"oldHeading":[513,"old-heading"],"newHeading":[513,"new-heading"],"layout":[513],"contextLines":[514,"context-lines"],"lineWrapping":[516,"line-wrapping"],"language":[513],"reformatJson":[516,"reformat-json"],"translationLanguage":[513,"translation-language"],"diffResult":[32],"liveAnnouncement":[32],"copyState":[32],"searchVisible":[32],"searchTerm":[32],"currentMatchIndex":[32]},null,{"oldValue":[{"watchInputs":0}],"newValue":[{"watchInputs":0}],"contextLines":[{"watchInputs":0}],"reformatJson":[{"watchInputs":0}],"layout":[{"watchInputs":0}]}]]],["p-d35d2859",[[0,"limel-list-item",{"language":[513],"value":[8],"text":[513],"secondaryText":[513,"secondary-text"],"disabled":[516],"icon":[1],"iconSize":[513,"icon-size"],"badgeIcon":[516,"badge-icon"],"selected":[516],"actions":[16],"primaryComponent":[16],"image":[16],"type":[513]}]]],["p-68bbb8dd",[[17,"limel-picker",{"disabled":[4],"readonly":[516],"label":[1],"searchLabel":[1,"search-label"],"helperText":[513,"helper-text"],"leadingIcon":[1,"leading-icon"],"emptyResultMessage":[1,"empty-result-message"],"language":[1],"required":[4],"invalid":[516],"value":[16],"searcher":[16],"allItems":[16],"multiple":[4],"delimiter":[513],"actions":[16],"actionPosition":[1,"action-position"],"actionScrollBehavior":[1,"action-scroll-behavior"],"badgeIcons":[516,"badge-icons"],"items":[32],"textValue":[32],"suggestionsEngaged":[32],"loading":[32],"chips":[32]},null,{"disabled":[{"onDisabledChange":0}],"value":[{"onChangeValue":0}]}]]],["p-c6b3448c",[[17,"limel-split-button",{"label":[513],"primary":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"items":[16]}]]],["p-1a7d1d2b",[[1,"limel-pagination",{"page":[2],"pageSize":[514,"page-size"],"totalItems":[514,"total-items"],"loading":[516],"language":[513],"liveMessage":[32],"openGap":[32]},null,{"language":[{"handleLanguageChange":0}]}]]],["p-db9cb7ef",[[1,"limel-color-picker",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"tooltipLabel":[513,"tooltip-label"],"required":[516],"disabled":[516],"readonly":[516],"invalid":[516],"placeholder":[513],"manualInput":[516,"manual-input"],"palette":[16],"paletteColumnCount":[514,"palette-column-count"],"isOpen":[32]}]]],["p-9b2623fe",[[1,"limel-form",{"schema":[16],"value":[16],"disabled":[4],"propsFactory":[16],"transformErrors":[16],"errors":[16],"headingLevel":[2,"heading-level"],"revealErrors":[4,"reveal-errors"],"highlightedField":[16]},null,{"headingLevel":[{"handleHeadingLevelChange":0}],"highlightedField":[{"handleHighlightedFieldChange":0}]}]]],["p-4c080cd9",[[1,"limel-profile-picture",{"language":[513],"label":[513],"icon":[1],"helperText":[1,"helper-text"],"disabled":[516],"readonly":[516],"required":[516],"invalid":[516],"loading":[516],"value":[1],"imageFit":[513,"image-fit"],"accept":[513],"resize":[16],"objectUrl":[32],"imageError":[32],"isErrorMessagePopoverOpen":[32]},null,{"value":[{"handleValueChange":0}]}]]],["p-496b2437",[[1,"limel-dock",{"dockItems":[16],"dockFooterItems":[16],"accessibleLabel":[513,"accessible-label"],"expanded":[516],"allowResize":[516,"allow-resize"],"mobileBreakPoint":[514,"mobile-break-point"],"language":[513],"useMobileLayout":[32]},null,{"mobileBreakPoint":[{"watchMobileBreakPoint":0}]}]]],["p-6d9b89db",[[1,"limel-snackbar",{"open":[516],"message":[1],"timeout":[514],"actionText":[1,"action-text"],"dismissible":[4],"multiline":[4],"language":[1],"offset":[32],"isOpen":[32],"closing":[32],"show":[64]},[[0,"changeOffset","onChangeIndex"]],{"open":[{"watchOpen":0}]}]]],["p-c0ebf7cc",[[257,"limel-tab-panel",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}]}]]],["p-958396b5",[[1,"limel-date-picker",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"required":[516],"value":[16],"type":[513],"format":[513],"language":[513],"formatter":[16],"internalFormat":[32],"showPortal":[32]}]]],["p-22e9e327",[[257,"limel-side-panel",{"label":[1],"language":[513],"closeLabel":[1,"close-label"],"stack":[16],"actions":[16],"closeOnEscape":[4,"close-on-escape"],"fullScreen":[516,"full-screen"],"widthRange":[32]},[[0,"close","stopContentEventAtHost"],[0,"changeWidth","stopContentEventAtHost"]],{"stack":[{"handleBacksChange":0}],"fullScreen":[{"handleBacksChange":0}]}]]],["p-28957b5c",[[1,"limel-button-group",{"value":[16],"disabled":[516],"selectedButtonId":[32]},null,{"value":[{"valueChanged":0}]}]]],["p-f3b93ce8",[[1,"limel-select",{"disabled":[516],"readonly":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"value":[16],"options":[16],"multiple":[4],"menuOpen":[32]},null,{"value":[{"resetHasChanged":0}],"options":[{"resetHasChanged":0},{"updateHasRichOptions":0},{"resetTypeaheadOnItemsChange":0}],"required":[{"resetTypeaheadOnItemsChange":0}],"menuOpen":[{"watchOpen":0}]}]]],["p-a6c6a31b",[[1,"limel-slider",{"disabled":[516],"readonly":[516],"factor":[514],"label":[513],"helperText":[513,"helper-text"],"required":[516],"invalid":[516],"displaysPercentageColors":[516,"displays-percentage-colors"],"unit":[513],"language":[513],"value":[514],"valuemax":[514],"valuemin":[514],"step":[514],"percentageClass":[32],"displayValue":[32],"isUnset":[32]},null,{"value":[{"watchValue":0}]}]]],["p-0319f07f",[[257,"limel-info-tile",{"value":[520],"icon":[1],"label":[513],"prefix":[513],"suffix":[513],"disabled":[516],"reducedPresence":[516,"reduced-presence"],"badge":[520],"loading":[516],"link":[16],"progress":[16],"hasPrimarySlot":[32]}]]],["p-47fe76a8",[[1,"limel-table",{"data":[16],"columns":[16],"mode":[513],"layout":[513],"pageSize":[514,"page-size"],"totalRows":[514,"total-rows"],"sorting":[16],"activeRow":[1040],"movableColumns":[516,"movable-columns"],"movableRows":[516,"movable-rows"],"sortableColumns":[516,"sortable-columns"],"loading":[516],"page":[514],"emptyMessage":[1,"empty-message"],"aggregates":[16],"selectable":[516],"selection":[16],"language":[513],"paginationLocation":[513,"pagination-location"]},null,{"totalRows":[{"totalRowsChanged":0}],"pageSize":[{"pageSizeChanged":0}],"page":[{"pageChanged":0}],"activeRow":[{"activeRowChanged":0}],"data":[{"updateData":0}],"columns":[{"updateColumns":0}],"aggregates":[{"updateAggregates":0}],"selection":[{"updateSelection":0}],"selectable":[{"updateSelectable":0}],"movableRows":[{"updateMovableRows":0}],"sortableColumns":[{"updateSortableColumns":0}],"sorting":[{"updateSorting":0}]}]]],["p-7d0ffc60",[[1,"limel-shortcut",{"icon":[513],"label":[513],"disabled":[516],"badge":[520],"link":[16]}]]],["p-40940a6c",[[1,"limel-switch",{"label":[513],"disabled":[516],"readonly":[516],"invalid":[516],"value":[516],"helperText":[513,"helper-text"],"readonlyLabels":[16],"fieldId":[32]}]]],["p-6e9eeb0a",[[1,"limel-code-editor",{"value":[1],"language":[1],"readonly":[516],"disabled":[516],"invalid":[516],"required":[516],"label":[513],"helperText":[513,"helper-text"],"lineNumbers":[516,"line-numbers"],"lineWrapping":[516,"line-wrapping"],"fold":[516],"lint":[516],"colorScheme":[513,"color-scheme"],"translationLanguage":[513,"translation-language"],"showCopyButton":[516,"show-copy-button"],"random":[32],"wasCopied":[32]},null,{"value":[{"watchValue":0}],"disabled":[{"watchDisabled":0}],"readonly":[{"watchReadonly":0}],"invalid":[{"watchInvalid":0}],"required":[{"watchRequired":0}],"helperText":[{"watchHelperText":0}]}]]],["p-6053608a",[[257,"limel-dialog",{"heading":[1],"fullscreen":[516],"open":[1540],"closingActions":[16]},null,{"open":[{"watchHandler":0}],"closingActions":[{"closingActionsChanged":0}]}]]],["p-5dce791c",[[1,"limel-menu-item-meta",{"commandText":[513,"command-text"],"hotkey":[513],"disabled":[516],"badge":[8],"showChevron":[4,"show-chevron"]}]]],["p-271662d4",[[1,"limel-progress-flow",{"flowItems":[16],"disabled":[4],"readonly":[4]}]]],["p-f59447bf",[[257,"limel-banner",{"message":[513],"icon":[513],"isOpen":[32],"open":[64],"close":[64]}]]],["p-7d6a12fe",[[1,"limel-chart",{"language":[513],"accessibleLabel":[513,"accessible-label"],"accessibleItemsLabel":[513,"accessible-items-label"],"accessibleValuesLabel":[513,"accessible-values-label"],"displayAxisLabels":[516,"display-axis-labels"],"displayItemText":[516,"display-item-text"],"displayItemValue":[516,"display-item-value"],"displayItemPercentage":[516,"display-item-percentage"],"items":[16],"type":[513],"orientation":[513],"maxValue":[514,"max-value"],"axisIncrement":[514,"axis-increment"],"loading":[516],"focusedIndex":[32]},null,{"axisIncrement":[{"warnAboutAxisIncrement":0}],"items":[{"warnAboutAxisIncrement":0}],"maxValue":[{"warnAboutAxisIncrement":0}],"type":[{"warnAboutAxisIncrement":0},{"warnAboutOldTypeName":0}]}]]],["p-8d602078",[[0,"limel-radio-button-group",{"items":[16],"selectedItem":[16],"disabled":[516],"badgeIcons":[516,"badge-icons"],"maxLinesSecondaryText":[514,"max-lines-secondary-text"]}]]],["p-7b87e547",[[1,"limel-ai-avatar",{"isThinking":[516,"is-thinking"],"mode":[513],"variant":[513],"language":[513]},null,{"isThinking":[{"onIsThinkingChange":0}]}]]],["p-4b75e653",[[1,"limel-config",{"config":[16]}]]],["p-e5abe390",[[257,"limel-flex-container",{"direction":[513],"justify":[513],"align":[513],"reverse":[516]}]]],["p-c61e9b83",[[257,"limel-grid"]]],["p-6ae093c8",[[257,"limel-masonry-layout",{"ordered":[516],"containerHeight":[32]},null,{"ordered":[{"onOrderedChange":0}]}]]],["p-933ffaa8",[[257,"limel-email-viewer",{"email":[16],"fallbackUrl":[513,"fallback-url"],"language":[513],"allowRemoteImages":[4,"allow-remote-images"],"allowRemoteImagesState":[32]},null,{"email":[{"resetAllowRemoteImages":0}]}]]],["p-9edd79a8",[[17,"limel-prosemirror-adapter",{"contentType":[1,"content-type"],"value":[1],"language":[513],"disabled":[516],"customElements":[16],"inlineImages":[16],"triggerCharacters":[16],"ui":[1],"accessibleLabel":[1,"accessible-label"],"accessibleDescription":[1,"accessible-description"],"accessiblePlaceholder":[1,"accessible-placeholder"],"required":[4],"invalid":[4],"view":[32],"actionBarItems":[32],"link":[32],"isLinkMenuOpen":[32],"flushPendingChanges":[64],"clear":[64]},null,{"accessibleLabel":[{"watchEditableAttributes":0}],"accessibleDescription":[{"watchEditableAttributes":0}],"accessiblePlaceholder":[{"watchEditableAttributes":0}],"required":[{"watchEditableAttributes":0}],"invalid":[{"watchEditableAttributes":0}],"disabled":[{"watchDisabled":0}],"value":[{"watchValue":0}]}]]],["p-07f3565b",[[1,"limel-pagination-jump",{"open":[516],"page":[2],"pageCount":[2,"page-count"],"loading":[4],"language":[1],"value":[32]},null,{"language":[{"handleLanguageChange":0}],"open":[{"handleOpenChange":0}]}]]],["p-783fd221",[[0,"limel-dock-button",{"item":[16],"expanded":[516],"useMobileLayout":[516,"use-mobile-layout"],"isOpen":[32]},null,{"isOpen":[{"openWatcher":0}]}]]],["p-cf2d43c7",[[1,"limel-tab-bar",{"tabs":[1040],"orientation":[513],"allowTabReorder":[516,"allow-tab-reorder"]},null,{"tabs":[{"tabsChanged":0}],"orientation":[{"orientationChanged":0}]}]]],["p-39d1e157",[[17,"limel-color-picker-palette",{"value":[513],"label":[513],"helperText":[513,"helper-text"],"placeholder":[513],"required":[516],"invalid":[516],"manualInput":[516,"manual-input"],"columnCount":[514,"column-count"],"palette":[16]}]]],["p-764d2f86",[[0,"limel-form-header",{"heading":[1],"headingLevel":[2,"heading-level"],"description":[1],"help":[1]}]]],["p-56e2fa48",[[17,"limel-resize-handle",{"location":[513],"resizableRegionLabel":[513,"resizable-region-label"],"language":[513],"value":[2],"min":[2],"max":[2],"isPointerOver":[32],"hasKeyboardFocus":[32]}]]],["p-c2056ebc",[[1,"limel-icon",{"size":[513],"name":[513],"badge":[516],"svgClass":[513,"svg-class"]},null,{"name":[{"loadIcon":0}],"svgClass":[{"applySvgClass":0}]}]]],["p-438fe49b",[[1,"limel-checkbox",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"helperText":[513,"helper-text"],"checked":[516],"indeterminate":[516],"required":[516],"readonlyLabels":[16],"modified":[32]},null,{"checked":[{"handleCheckedChange":0}],"indeterminate":[{"handleIndeterminateChange":0}],"readonly":[{"handleReadonlyChange":0}]}]]],["p-d8559847",[[257,"limel-callout",{"heading":[513],"icon":[513],"type":[513],"language":[1]}]]],["p-f97ec7a5",[[0,"limel-progress-flow-item",{"item":[16],"disabled":[4],"readonly":[4],"currentStep":[4,"current-step"]}]]],["p-d3f13124",[[1,"limel-circular-progress",{"value":[2],"maxValue":[2,"max-value"],"prefix":[513],"suffix":[1],"displayPercentageColors":[4,"display-percentage-colors"],"size":[513]}]]],["p-3ac39bd5",[[1,"limel-flatpickr-adapter",{"value":[16],"type":[1],"format":[1],"isOpen":[4,"is-open"],"inputElement":[16],"language":[1],"formatter":[16]}]]],["p-3f7fa772",[[0,"limel-radio-button",{"checked":[516],"disabled":[516],"id":[1],"label":[1],"onChange":[16]}]]],["p-8fe28845",[[17,"limel-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"],"type":[1],"accessibleLabel":[1,"accessible-label"],"maxLinesSecondaryText":[2,"max-lines-secondary-text"]},null,{"type":[{"handleType":0}],"items":[{"itemsChanged":0}]}],[260,"limel-notched-outline",{"required":[516],"readonly":[516],"invalid":[516],"disabled":[516],"label":[513],"labelId":[513,"label-id"],"labelElementId":[513,"label-element-id"],"hasValue":[516,"has-value"],"hasLeadingIcon":[516,"has-leading-icon"],"hasFloatingLabel":[516,"has-floating-label"]}],[0,"limel-helper-line",{"helperText":[513,"helper-text"],"length":[514],"maxLength":[514,"max-length"],"invalid":[516],"helperTextId":[513,"helper-text-id"]}]]],["p-9f0575fd",[[257,"limel-menu",{"items":[16],"disabled":[516],"openDirection":[513,"open-direction"],"surfaceWidth":[513,"surface-width"],"open":[1540],"badgeIcons":[516,"badge-icons"],"gridLayout":[516,"grid-layout"],"loading":[516],"currentSubMenu":[1040],"rootItem":[16],"searcher":[16],"searchPlaceholder":[1,"search-placeholder"],"emptyResultMessage":[1,"empty-result-message"],"keepOpenOnSelect":[516,"keep-open-on-select"],"loadingSubItems":[32],"searchValue":[32],"searchResults":[32]},null,{"items":[{"itemsWatcher":0}],"open":[{"openWatcher":0}]}],[1,"limel-breadcrumbs",{"items":[16],"divider":[1]}],[17,"limel-menu-list",{"items":[16],"badgeIcons":[4,"badge-icons"],"iconSize":[1,"icon-size"]},null,{"items":[{"itemsChanged":0}]}],[17,"limel-input-field",{"disabled":[516],"readonly":[516],"invalid":[516],"label":[513],"placeholder":[513],"helperText":[513,"helper-text"],"prefix":[513],"suffix":[513],"required":[516],"value":[513],"trailingIcon":[513,"trailing-icon"],"leadingIcon":[513,"leading-icon"],"pattern":[513],"type":[513],"formatNumber":[516,"format-number"],"step":[520],"max":[514],"min":[514],"maxlength":[514],"minlength":[514],"completions":[16],"language":[1],"showLink":[516,"show-link"],"locale":[513],"isFocused":[32],"wasInvalid":[32],"showCompletions":[32],"suggestionsEngaged":[32],"getSelectionStart":[64],"getSelectionEnd":[64],"getSelectionDirection":[64]},null,{"value":[{"valueWatcher":0}],"completions":[{"completionsWatcher":0}]}],[1,"limel-badge",{"label":[520]}],[257,"limel-menu-surface",{"open":[4],"allowClicksElement":[16]}],[1,"limel-spinner",{"size":[513],"limeBranded":[4,"lime-branded"]}]]],["p-7fcd48c6",[[17,"limel-chip-set",{"value":[16],"type":[513],"label":[513],"helperText":[513,"helper-text"],"disabled":[516],"readonly":[516],"invalid":[516],"inputType":[513,"input-type"],"maxItems":[514,"max-items"],"required":[516],"suggestionListId":[1,"suggestion-list-id"],"suggestionListOpen":[4,"suggestion-list-open"],"searchLabel":[513,"search-label"],"emptyInputOnBlur":[516,"empty-input-on-blur"],"emptyInputOnChange":[516,"empty-input-on-change"],"clearAllButton":[4,"clear-all-button"],"leadingIcon":[513,"leading-icon"],"delimiter":[513],"autocomplete":[513],"language":[1],"editMode":[32],"textValue":[32],"blurred":[32],"inputChipIndexSelected":[32],"selectedChipIds":[32],"getEditMode":[64],"setFocus":[64],"emptyInput":[64]},null,{"readonly":[{"handleReadonlyChange":0}],"value":[{"handleChangeChips":0}]}]]],["p-23067836",[[1,"limel-text-editor-link-menu",{"link":[16],"language":[513],"isOpen":[516,"is-open"]}]]],["p-ce71c5b9",[[257,"limel-header",{"icon":[1],"heading":[1],"subheading":[1],"supportingText":[1,"supporting-text"],"subheadingDivider":[1,"subheading-divider"]}]]],["p-a7be03e1",[[257,"limel-collapsible-section",{"isOpen":[1540,"is-open"],"header":[513],"headingLevel":[2,"heading-level"],"icon":[1],"invalid":[516],"actions":[16],"language":[513]},null,{"headingLevel":[{"handleHeadingLevelChange":0}]}]]],["p-95a486c8",[[1,"limel-3d-hover-effect-glow"]]],["p-814b4934",[[0,"limel-drag-handle",{"dragDirection":[513,"drag-direction"],"tooltipOpenDirection":[513,"tooltip-open-direction"],"language":[513]}],[257,"limel-scroller",{"orientation":[513],"canScrollToStart":[32],"canScrollToEnd":[32],"reveal":[64]}]]],["p-f5bb17eb",[[257,"limel-file-dropzone",{"accept":[513],"disabled":[4],"text":[1],"helperText":[1,"helper-text"],"hasFileToDrop":[32]}],[257,"limel-file-input",{"accept":[513],"disabled":[516],"multiple":[516]}]]],["p-85318636",[[1,"limel-dynamic-label",{"value":[8],"defaultLabel":[16],"labels":[16]}]]],["p-909466b8",[[1,"limel-help",{"value":[1],"trigger":[1],"readMoreLink":[16],"openDirection":[513,"open-direction"],"isOpen":[32]}],[1,"limel-help-content",{"value":[1],"readMoreLink":[16]}]]],["p-f036ad27",[[17,"limel-button",{"label":[513],"primary":[516],"outlined":[516],"icon":[513],"disabled":[516],"loading":[516],"loadingFailed":[516,"loading-failed"],"justLoaded":[32]},null,{"loading":[{"loadingWatcher":0}]}]]],["p-a6387dc7",[[17,"limel-icon-button",{"icon":[1],"elevated":[516],"label":[513],"helperLabel":[513,"helper-label"],"disabled":[516]}]]],["p-a891f3e8",[[1,"limel-markdown",{"value":[1],"whitelist":[16],"lazyLoadImages":[516,"lazy-load-images"],"removeEmptyParagraphs":[516,"remove-empty-paragraphs"],"adaptColorContrast":[516,"adapt-color-contrast"],"toMarkdown":[64]},null,{"value":[{"textChanged":0}],"whitelist":[{"handleWhitelistChange":0}],"removeEmptyParagraphs":[{"handleRemoveEmptyParagraphsChange":0}],"adaptColorContrast":[{"handleAdaptColorContrastChange":0}]}]]],["p-5e408c27",[[17,"limel-chip",{"language":[513],"text":[513],"icon":[1],"image":[16],"link":[16],"badge":[520],"disabled":[516],"readonly":[516],"selected":[516],"invalid":[516],"removable":[516],"type":[513],"loading":[516],"progress":[514],"identifier":[520],"size":[513],"menuItems":[16]}],[1,"limel-linear-progress",{"language":[513],"value":[514],"indeterminate":[516],"accessibleLabel":[513,"accessible-label"]},null,{"value":[{"watchValue":0}]}]]],["p-bffb5ed2",[[1,"limel-action-bar",{"actions":[16],"accessibleLabel":[513,"accessible-label"],"language":[1],"layout":[513],"collapsible":[516],"openDirection":[513,"open-direction"],"overflowCutoff":[32]}],[0,"limel-action-bar-overflow-menu",{"items":[16],"openDirection":[513,"open-direction"]}],[0,"limel-action-bar-item",{"item":[16],"isVisible":[516,"is-visible"],"selected":[516]}]]],["p-c8a34cef",[[257,"limel-popover",{"open":[4],"openDirection":[513,"open-direction"],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]},null,{"open":[{"watchOpen":0}]}],[1,"limel-popover-surface",{"contentCollection":[16],"popupRole":[1,"popup-role"],"accessibleLabel":[1,"accessible-label"]}]]]]'),e))));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,a as h}from"./p-BU9IJqli.js";import{t as n}from"./p-Dzp8dXTo.js";import{c as a,i as o}from"./p-Cw7VQSGU.js";import{E as r,A as l,T as c,a as d,b as u}from"./p-DQ5DmW_Y.js";import{c as p}from"./p-BrjD-ITe.js";import{i as m}from"./p-DNYOwOWu.js";import{a as g,g as v}from"./p-CgNJbSP4.js";import{d as f}from"./p-BviYUVSD.js";import"./p-ChagAaNf.js";import"./p-BJQylLSL.js";import"./p-D6dCQvwl.js";import"./p-BOEi1C7r.js";import"./p-oiMYqRQ0.js";const b=".mdc-deprecated-list-item:not(.mdc-deprecated-list-item--disabled)",y=class{constructor(s){t(this,s),this.change=i(this,"change",7),this.interact=i(this,"interact",7),this.action=i(this,"action",7),this.disabled=!1,this.readonly=!1,this.language="en",this.required=!1,this.invalid=!1,this.allItems=[],this.multiple=!1,this.delimiter=null,this.actions=[],this.actionPosition="bottom",this.actionScrollBehavior="sticky",this.badgeIcons=!1,this.textValue="",this.suggestionsEngaged=!1,this.loading=!1,this.chips=[],this.isEditing=!1,this.suggestionHasFocus=!1,this.suggestionsMessage=a((()=>this.getSuggestionsMessage())),this.getValueId=t=>{const i=t.value;return i&&"object"==typeof i?i.id:i},this.createChips=t=>t?this.multiple?t.map(this.createChip):[this.createChip(t)]:[],this.createChip=t=>{const i=v(t.icon),s=g(t.icon,t.iconColor);return{id:`${this.getValueId(t)}`,text:t.text,removable:!1!==t.removable,icon:i?{name:i,color:s}:void 0,image:t.image,value:t,menuItems:t.actions,badge:t.badge}},this.search=async t=>{const i=setTimeout((()=>{this.loading=!0}),0),s=this.searcher||this.defaultSearcher,e=await s(this.textValue);clearTimeout(i),this.handleSearchResult(t,e)},this.defaultSearcher=async t=>""===t?this.allItems.slice(0,20):this.allItems.filter((i=>{let s=i.text.toLowerCase();return i.secondaryText&&(s=s+" "+i.secondaryText.toLowerCase()),s.includes(t.toLowerCase())})).slice(0,20),this.handleTextInput=this.handleTextInput.bind(this),this.handleInputKeyDown=this.handleInputKeyDown.bind(this),this.handleInputFieldFocus=this.handleInputFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.handleInteract=this.handleInteract.bind(this),this.handleListChange=this.handleListChange.bind(this),this.handleActionListChange=this.handleActionListChange.bind(this),this.handleStopEditAndBlur=this.handleStopEditAndBlur.bind(this),this.handleCloseMenu=this.handleCloseMenu.bind(this),this.onListKeyDown=this.onListKeyDown.bind(this),this.portalId=p(),this.debouncedSearch=f(this.search,300)}componentWillLoad(){this.chips=this.createChips(this.value)}componentDidLoad(){this.chipSet=this.host.shadowRoot.querySelector("limel-chip-set"),this.updateTabIndex()}componentDidRender(){this.suggestionsMessage.update()}disconnectedCallback(){this.forgetSuggestionFocus(),this.debouncedSearch.cancel(),this.suggestionsMessage.update.cancel()}onDisabledChange(){this.updateTabIndex()}updateTabIndex(){this.host.setAttribute("tabindex",this.disabled?"-1":"0")}async componentWillUpdate(){this.isEditing=!1,this.chipSet&&(this.isEditing=this.suggestionHasFocus||await this.chipSet.getEditMode())}render(){const t={},i=this.getDropdownContentList();return this.multiple||(t.maxItems=1),s(e,{key:"1670bff5822f930a3eca69ad2a016cea978b3822"},s("limel-chip-set",Object.assign({key:"173a7facd5271992e792ce6a56a34a8890c9135f",type:"input",inputType:"search",label:this.label,helperText:this.helperText,leadingIcon:this.leadingIcon,value:this.chips,disabled:this.disabled,invalid:this.invalid,delimiter:this.renderDelimiter(),readonly:this.readonly,required:this.required,searchLabel:this.searchLabel,language:this.language,onInput:this.handleTextInput,onKeyDown:this.handleInputKeyDown,onChange:this.handleChange,onInteract:this.handleInteract,onStartEdit:this.handleInputFieldFocus,onStopEdit:this.handleStopEditAndBlur,emptyInputOnBlur:!1,emptyInputOnChange:!1,clearAllButton:this.multiple&&!this.isEditing,suggestionListId:this.canOpenList()?this.portalId:void 0,suggestionListOpen:this.suggestionsEngaged&&i.length>0},t)),this.renderPortal(i),s("span",{key:"c151104c5059aadc3cfa526267184b663e87bebd",class:"suggestions-message","aria-live":"polite",ref:this.suggestionsMessage.setElement}))}onChangeValue(){this.chips=this.createChips(this.value)}renderDelimiter(){return this.multiple?this.delimiter:null}getDropdownContentList(){const t=this.getDropdownContent(),i=[];if(this.shouldShowDropDownContent()){const s=this.getActionContent();s&&"top"===this.actionPosition&&i.push(s),t&&i.push(t),s&&"bottom"===this.actionPosition&&i.push(s)}return i}getSuggestionsMessage(){var t;if(!this.shouldShowDropDownContent())return"";if(this.loading)return n.get("loading",this.language);if(!(null===(t=this.items)||void 0===t?void 0:t.length))return""===this.textValue?"":this.getEmptyResultMessage();const i=this.items.filter((t=>!("separator"in t))).length;return i?n.get("suggestions.available",this.language,{count:i}):""}getActionContent(){var t,i;return 0===(null!==(i=null===(t=this.actions)||void 0===t?void 0:t.length)&&void 0!==i?i:0)?null:[s("limel-list",{class:{"static-actions-list":!0,"is-on-top":"top"===this.actionPosition,"is-at-bottom":"bottom"===this.actionPosition,"has-position-sticky":"sticky"===this.actionScrollBehavior},badgeIcons:!0,type:"selectable",onChange:this.handleActionListChange,onKeyDown:this.onListKeyDown,items:this.actions.map(this.removeUnusedPropertiesOnAction)})]}removeUnusedPropertiesOnAction(t){return Object.assign(Object.assign({},t),{actions:[]})}canOpenList(){return!this.readonly&&!this.isFull()}shouldShowDropDownContent(){return this.canOpenList()&&!!this.isEditing}getDropdownContent(){var t;if(this.shouldShowDropDownContent())return this.loading?this.renderSpinner():(null===(t=this.items)||void 0===t?void 0:t.length)?this.renderListResult():""!==this.textValue?this.renderEmptyMessage():void 0}isFull(){return!this.multiple&&!!this.value}renderSpinner(){return s("div",{style:{width:"100%",display:"flex","align-items":"center","justify-content":"center",padding:"1rem 0"}},s("limel-spinner",{limeBranded:!1}))}getEmptyResultMessage(){return this.emptyResultMessage||n.get("picker.no-matching-results",this.language,{query:this.textValue})}renderEmptyMessage(){const t=this.getEmptyResultMessage();return s("p",{style:{color:"rgb(var(--contrast-1100))",textAlign:"center",fontSize:"var(--limel-theme-default-font-size)",margin:"0.5rem 1rem"}},t)}renderListResult(){return s("limel-list",{"data-suggestions":"",accessibleLabel:this.label||this.searchLabel,badgeIcons:this.badgeIcons,onChange:this.handleListChange,onKeyDown:this.onListKeyDown,type:"selectable",items:this.items})}onListKeyDown(t){return t.key===r?(t.preventDefault(),t.stopPropagation(),this.handleEscape(),void this.chipSet.setFocus()):t.key===l&&this.isKeyPressedOnFirstItem(t)?(t.preventDefault(),void this.chipSet.setFocus()):void(([c,d].includes(t.key)||m(t))&&this.chipSet.setFocus())}isKeyPressedOnFirstItem(t){const i=t.currentTarget.shadowRoot.querySelector(b);return!!i&&t.composedPath().includes(i)}renderPortal(t=[]){const i=getComputedStyle(this.host).getPropertyValue("--dropdown-z-index");return s("limel-portal",{visible:t.length>0,containerId:this.portalId,inheritParentWidth:!0,containerStyle:{"z-index":i}},s("limel-menu-surface",{open:t.length>0,allowClicksElement:this.host,style:{"--menu-surface-width":"100%","max-height":"inherit",display:"flex"},onDismiss:this.handleCloseMenu},t))}handleStopEditAndBlur(){const t=this.host.shadowRoot.activeElement||document.activeElement,i=document.querySelector(`#${this.portalId}`);o(t,this.host)||o(t,i)||(this.suggestionsEngaged=!1,this.clearInputField())}async handleTextInput(t){t.stopPropagation();const i=t.detail;this.textValue=i,this.suggestionsEngaged=!0,this.forgetSuggestionFocus(),this.debouncedSearch(i),""===i&&this.debouncedSearch.flush()}handleListChange(t){var i,s;if(t.stopPropagation(),!this.value||this.value!==t.detail){let s=t.detail;this.multiple&&(s=[...null!==(i=this.value)&&void 0!==i?i:[],t.detail]),this.change.emit(s),this.updateSearchAfterPick()}this.multiple&&(null===(s=this.chipSet)||void 0===s||s.setFocus())}updateSearchAfterPick(){this.multiple?this.resetSearchAfterValueChange():this.clearInputField()}handleActionListChange(t){t.stopPropagation(),t.detail&&(this.suggestionHasFocus=!1,this.action.emit(t.detail.value),this.items=[])}handleInputFieldFocus(){this.forgetSuggestionFocus(),this.debouncedSearch(this.textValue)}async handleChange(t){var i,s;t.stopPropagation();let e=null;this.multiple&&(e=t.detail.map((t=>this.value.find((i=>`${this.getValueId(i)}`===t.id))))),this.change.emit(e);const h=await(null===(i=this.chipSet)||void 0===i?void 0:i.getEditMode()),n=(null===(s=this.items)||void 0===s?void 0:s.length)>0||""!==this.textValue;this.multiple&&h&&n?this.resetSearchAfterValueChange():this.clearInputField()}handleInteract(t){t.stopPropagation(),this.interact.emit(t.detail?t.detail.value:t.detail)}handleInputKeyDown(t){this.suggestionsEngaged=!0;const i=t.key===l,s=t.key===u;if(t.key===r)return t.preventDefault(),t.stopPropagation(),void this.handleEscape();if(!i&&!s)return;const e=s?"first":"last";this.focusSuggestion(e)?t.preventDefault():this.suggestionToFocusWhenShown=e}focusSuggestion(t){var i;const s=null!==(i=document.querySelector(` #${this.portalId} limel-list[data-suggestions]`))&&void 0!==i?i:document.querySelector(` #${this.portalId} limel-list`);if(!s)return!1;const e=s.shadowRoot.querySelectorAll(b),h="first"===t?e[0]:[...e].at(-1);return null==h||h.focus(),this.suggestionHasFocus=!!h&&s.shadowRoot.activeElement===h,this.suggestionHasFocus}focusSuggestionWhenShown(t){cancelAnimationFrame(this.suggestionFocusFrame);let i=0;const s=()=>{this.focusSuggestion(t)||(i+=1,i<20&&(this.suggestionFocusFrame=requestAnimationFrame(s)))};this.suggestionFocusFrame=requestAnimationFrame(s)}forgetSuggestionFocus(){this.suggestionHasFocus=!1,this.suggestionToFocusWhenShown=void 0,cancelAnimationFrame(this.suggestionFocusFrame)}handleSearchResult(t,i){var s;if(t!==this.textValue)return;let e=i;if(this.multiple){const t=null!==(s=this.value)&&void 0!==s?s:[];e=i.filter((i=>"separator"in i||!t.includes(i)))}this.items=this.prependSearchHeader(t,e),this.loading=!1;const h=this.suggestionToFocusWhenShown;this.suggestionToFocusWhenShown=void 0,h&&this.hasPickableItems(e)&&this.focusSuggestionWhenShown(h)}hasPickableItems(t){return t.some((t=>!("separator"in t)))}prependSearchHeader(t,i){return""===t?i:this.hasPickableItems(i)?[{separator:!0,text:n.get("picker.results-matching",this.language,{query:t})},...i]:i}handleCloseMenu(){this.clearInputField()}clearTextValue(){this.chipSet.emptyInput(),this.textValue="",this.debouncedSearch.cancel(),this.forgetSuggestionFocus()}clearInputField(){this.clearTextValue(),this.handleSearchResult("",[])}resetSearchToDefault(){this.clearTextValue(),this.search("")}resetSearchAfterValueChange(){this.clearTextValue(),this.debouncedSearch("")}handleEscape(){""===this.textValue?this.clearInputField():this.resetSearchToDefault()}static get delegatesFocus(){return!0}get host(){return h(this)}static get watchers(){return{disabled:[{onDisabledChange:0}],value:[{onChangeValue:0}]}}};y.style='@charset "UTF-8";:host{position:relative;display:block}:host([hidden]){display:none}.suggestions-message{position:absolute;width:0;height:0;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap}';export{y as limel_picker}