@aceshooting/lyra-ui 30.1.0 → 30.3.0

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/dist/ai/adapters/a2ui.d.ts +10 -4
  3. package/dist/ai/adapters/a2ui.js +1 -1
  4. package/dist/ai/adapters/ag-ui.d.ts +17 -4
  5. package/dist/ai/adapters/ag-ui.js +1 -1
  6. package/dist/ai/adapters/ai-sdk.js +1 -1
  7. package/dist/ai/runtime.js +1 -1
  8. package/dist/components/agent-tools/mcp-app/mcp-app-protocol.d.ts +15 -0
  9. package/dist/components/agent-tools/mcp-app/mcp-app-protocol.js +36 -0
  10. package/dist/components/agent-tools/mcp-app/mcp-app.class.d.ts +31 -4
  11. package/dist/components/agent-tools/mcp-app/mcp-app.class.js +4 -4
  12. package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +1 -1
  13. package/dist/components/agent-tools/task-list/task-list.class.js +2 -2
  14. package/dist/components/agent-tools/trace-tree/trace-tree.class.js +2 -2
  15. package/dist/components/charts/chart/chart-prepared-data.d.ts +3 -1
  16. package/dist/components/charts/chart/chart-prepared-data.js +1 -1
  17. package/dist/components/charts/chart/chart.class.js +2 -2
  18. package/dist/components/charts/chart/lite-chart.class.js +1 -1
  19. package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +2 -2
  20. package/dist/components/conversation/chat-viewport/chat-viewport.class.js +1 -1
  21. package/dist/components/conversation/message-parts/message-parts.class.d.ts +13 -4
  22. package/dist/components/conversation/message-parts/message-parts.class.js +12 -10
  23. package/dist/components/conversation/message-parts/message-parts.d.ts +1 -1
  24. package/dist/components/conversation/message-parts/message-parts.js +1 -1
  25. package/dist/components/forms/checkbox/checkbox.class.d.ts +1 -1
  26. package/dist/components/forms/checkbox/checkbox.class.js +2 -2
  27. package/dist/components/forms/combobox/option.class.d.ts +1 -1
  28. package/dist/components/forms/combobox/option.class.js +2 -2
  29. package/dist/components/forms/radio/radio.class.d.ts +1 -1
  30. package/dist/components/forms/radio/radio.class.js +1 -1
  31. package/dist/components/forms/select/select.class.js +1 -1
  32. package/dist/components/forms/switch/switch.class.d.ts +1 -1
  33. package/dist/components/forms/switch/switch.class.js +1 -1
  34. package/dist/components/media/file-input/file-input.styles.js +1 -1
  35. package/dist/components/media/map/map-anchor-controller.js +1 -1
  36. package/dist/components/media/map/map-control-chrome.js +1 -0
  37. package/dist/components/media/map/map-control-options.d.ts +6 -2
  38. package/dist/components/media/map/map-control-options.js +1 -1
  39. package/dist/components/media/map/map-controls-lifecycle.js +1 -1
  40. package/dist/components/media/map/map-controls-readiness.js +1 -0
  41. package/dist/components/media/map/map.class.d.ts +39 -2
  42. package/dist/components/media/map/map.class.js +13 -7
  43. package/dist/components/media/map/map.styles.js +1 -1
  44. package/dist/components/viewers/model-viewer/model-viewer-loader.js +1 -1
  45. package/dist/components/viewers/model-viewer/model-viewer.class.js +1 -1
  46. package/dist/components/viewers/pptx-viewer/pptx-viewer.class.d.ts +11 -11
  47. package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +1 -1
  48. package/dist/events.d.ts +10 -1
  49. package/dist/framework-types.d.ts +1 -1
  50. package/dist/internal/accessible-text-controller.js +1 -1
  51. package/dist/internal/anchored-overlay-runtime.js +1 -1
  52. package/dist/internal/default-label-forwarding.js +1 -0
  53. package/dist/internal/hierarchy-summary-source.js +1 -0
  54. package/dist/internal/localization-types.d.ts +1 -1
  55. package/dist/internal/localization.js +1 -1
  56. package/dist/internal/package-metadata.js +1 -1
  57. package/dist/internal/positioner.d.ts +8 -0
  58. package/dist/internal/positioner.js +1 -1
  59. package/dist/internal/scoped-definitions.generated.js +1 -1
  60. package/dist/lyra.d.ts +1 -1
  61. package/llms/components/lr-file-input.md +5 -0
  62. package/llms/components/lr-map.md +87 -14
  63. package/llms/components/lr-mcp-app.md +94 -4
  64. package/llms/components/lr-message-parts.md +18 -0
  65. package/llms/components/lr-pptx-viewer.md +9 -5
  66. package/llms/components/lr-select.md +3 -2
  67. package/llms/index.md +1 -1
  68. package/llms/peers.md +1 -1
  69. package/llms/shared/ai-and-peers.md +77 -3
  70. package/llms/shared/events-and-types.md +25 -1
  71. package/llms/shared/localization-and-rtl.md +29 -0
  72. package/llms/shared.md +131 -4
  73. package/locales.json +1 -1
  74. package/package.json +12 -8
  75. package/registrations.json +1 -1
  76. package/skills/compose-lyra-interfaces/SKILL.md +5 -3
  77. package/skills/compose-lyra-interfaces/references/composition-patterns.md +8 -1
  78. package/skills/lyra-ui/SKILL.md +16 -8
  79. package/skills/lyra-ui/lyra-gen.md +86 -0
@@ -1 +1 @@
1
- import{releaseAccessibleTextAncestors,accessibleTextRecordsMatter,bindAccessibleTextObserver,composedAccessibilityText,releaseAccessibleTextReferences}from"./accessibility-visibility.js";import{assignedSlotOf}from"./composed-tree.js";import{CustomElementUpgradeObserver}from"./custom-element-upgrade-observer.js";import{OwnedFrame,OwnedTimeout}from"./owned-timer.js";class AccessibleTextController{constructor(host,slots,onChange,extraAttributes=[],enabled=!0,trackReferences=!1,observeAncestors=!0){this.host=host,this.slots=slots,this.onChange=onChange,this.extraAttributes=extraAttributes,this.enabled=enabled,this.upgrades=new CustomElementUpgradeObserver(()=>this.changed()),this.active=!1,this.preserveNextBinding=!1,this.drainedRecords=!1,this.onSlotChange=event=>{const slot=event.composedPath().find(target=>target.localName==="slot"&&target.getRootNode()===this.slotRoot);!slot||!this.slots.includes(slot.name)||this.changed()},this.ancestors={releases:[],get enabled(){return typeof observeAncestors=="function"?observeAncestors():observeAncestors},changed:records=>{this.drainingAncestors?this.drainingAncestors.push(...records):this.changed(records)}},trackReferences&&(this.references={releases:[],changed:()=>this.changed()}),this.visibilityFrame=new OwnedFrame(host),this.visibilityTimer=new OwnedTimeout(host),host.addController(this)}hostConnected(){this.active=!0,this.enabled&&(this.bindSlotRoot(),this.rebuild())}hostUpdated(){const preserveBinding=this.preserveNextBinding;if(this.preserveNextBinding=!1,this.active&&this.enabled){const observer=this.observer,pending=observer?.takeRecords()??[],relevant=observer&&pending.length>0&&this.recordsMatter(pending)&&accessibleTextRecordsMatter(observer,pending),previousRoot=this.slotRoot;this.bindSlotRoot(),(!preserveBinding||pending.length>0||this.drainedRecords||previousRoot!==this.slotRoot)&&this.bind(),relevant&&queueMicrotask(()=>{this.active&&this.enabled&&this.observer===observer&&this.host.isConnected&&this.notify(pending)})}}hostDisconnected(){this.active=!1,this.preserveNextBinding=!1,this.cancelVisibilityRefresh(),this.slotRoot?.removeEventListener("slotchange",this.onSlotChange),this.slotRoot=void 0,this.observer?.disconnect(),this.observer=void 0,this.upgrades.disconnect(),releaseAccessibleTextAncestors(this.ancestors),this.references&&releaseAccessibleTextReferences(this.references)}adopted(){this.active&&this.enabled&&this.rebuild()}setEnabled(enabled){this.enabled!==enabled&&(this.enabled=enabled,this.active&&(enabled?(this.bindSlotRoot(),this.rebuild()):(this.cancelVisibilityRefresh(),this.slotRoot?.removeEventListener("slotchange",this.onSlotChange),this.slotRoot=void 0,this.observer?.disconnect(),this.observer=void 0,this.upgrades.disconnect(),releaseAccessibleTextAncestors(this.ancestors),this.references&&releaseAccessibleTextReferences(this.references))))}bind(){const pending=this.takeAncestorRecords();bindAccessibleTextObserver(this.observer,this.host,this.extraAttributes,this.upgrades,this.references,this.ancestors),this.drainedRecords=!1,pending.length&&this.active&&this.enabled&&this.notify(pending)}preserveBindingForNextUpdate(){this.preserveNextBinding=!0}takeAncestorRecords(){if(this.drainingAncestors||!this.active||!this.enabled)return[];const records=[];this.drainingAncestors=records;try{for(const release of[...this.ancestors.releases])release.flush()}finally{this.drainingAncestors=void 0}return records}takeRecords(){const ancestorRecords=this.takeAncestorRecords(),records=[...this.observer?.takeRecords()??[],...ancestorRecords];return ancestorRecords.length&&this.notify(ancestorRecords),records.length>0&&(this.drainedRecords=!0),records}hasDrainedRecords(){return this.drainedRecords}text(){const root=this.host.shadowRoot,slots=root?[...root.querySelectorAll("slot")].filter(slot=>this.slots.includes(slot.name)):[],nodes=slots.length?slots.flatMap(slot=>[...slot.assignedNodes({flatten:!0})]):[...this.host.childNodes].filter(node=>node.nodeType!==1||this.slots.includes(node.getAttribute("slot")??""));return composedAccessibilityText(nodes)}hasContent(){return this.text().trim().length>0}rebuild(){this.cancelVisibilityRefresh(),this.observer?.disconnect(),this.upgrades.disconnect(),releaseAccessibleTextAncestors(this.ancestors),this.references&&releaseAccessibleTextReferences(this.references);const Observer=this.host.ownerDocument.defaultView?.MutationObserver;this.observer=Observer?new Observer((records,observer)=>{this.observer===observer&&this.recordsMatter(records)&&accessibleTextRecordsMatter(observer,records)&&this.changed(records)}):void 0,this.bind()}bindSlotRoot(){const root=this.host.shadowRoot??void 0;this.slotRoot!==root&&(this.slotRoot?.removeEventListener("slotchange",this.onSlotChange),this.slotRoot=root,root?.addEventListener("slotchange",this.onSlotChange))}recordsMatter(records){if(this.slots.length===0)return!0;const feedsSlot=start=>{const visited=new Set;let node=start;for(;node&&node!==this.host&&!visited.has(node);){if(visited.add(node),node.parentNode===this.host){const name=node.nodeType===1?node.getAttribute("slot")??"":"";return this.slots.includes(name)}node=assignedSlotOf(node)??node.parentNode??node.host??null}return!0};return records.some(record=>record.type==="attributes"&&record.attributeName==="slot"?!0:record.target===this.host&&record.type==="childList"?[...record.addedNodes,...record.removedNodes].some(node=>node.nodeType!==1?this.slots.includes(""):this.slots.includes(node.getAttribute("slot")??"")):feedsSlot(record.target))}changed(records=[]){!this.active||!this.enabled||!this.host.isConnected||(this.bind(),this.notify(records))}notify(records){this.onChange(records),records.some(record=>record.type==="attributes"&&["class","style","hidden"].includes(record.attributeName??""))&&(this.visibilityFrame.pending||this.visibilityTimer.pending||this.visibilityFrame.schedule(()=>{this.visibilityTimer.schedule(0,()=>{this.active&&this.enabled&&this.onChange([])})}))}cancelVisibilityRefresh(){this.visibilityFrame.cancel(),this.visibilityTimer.cancel()}}export{AccessibleTextController};
1
+ import{releaseAccessibleTextAncestors,accessibleTextRecordsMatter,bindAccessibleTextObserver,composedAccessibilityText,releaseAccessibleTextReferences}from"./accessibility-visibility.js";import{assignedSlotOf}from"./composed-tree.js";import{CustomElementUpgradeObserver}from"./custom-element-upgrade-observer.js";import{OwnedFrame,OwnedTimeout}from"./owned-timer.js";class AccessibleTextController{constructor(host,slots,onChange,extraAttributes=[],enabled=!0,trackReferences=!1,observeAncestors=!0){this.host=host,this.slots=slots,this.onChange=onChange,this.extraAttributes=extraAttributes,this.enabled=enabled,this.upgrades=new CustomElementUpgradeObserver(()=>this.changed()),this.active=!1,this.preserveNextBinding=!1,this.drainedRecords=!1,this.onSlotChange=event=>{const slot=event.composedPath().find(target=>target.localName==="slot"&&target.getRootNode()===this.slotRoot);!slot||!this.slots.includes(slot.name)||this.changed()},this.ancestors={releases:[],get enabled(){return typeof observeAncestors=="function"?observeAncestors():observeAncestors},changed:records=>{this.drainingAncestors?this.drainingAncestors.push(...records):this.changed(records)}},trackReferences&&(this.references={releases:[],changed:()=>this.changed()}),this.visibilityFrame=new OwnedFrame(host),this.visibilityTimer=new OwnedTimeout(host),host.addController(this)}hostConnected(){this.active=!0,this.enabled&&(this.bindSlotRoot(),this.rebuild())}hostUpdated(){const preserveBinding=this.preserveNextBinding;if(this.preserveNextBinding=!1,this.active&&this.enabled){const observer=this.observer,pending=observer?.takeRecords()??[],relevant=observer&&pending.length>0&&this.recordsMatter(pending)&&accessibleTextRecordsMatter(observer,pending),previousRoot=this.slotRoot;this.bindSlotRoot();let records=relevant?pending:[];(!preserveBinding||pending.length>0||this.drainedRecords||previousRoot!==this.slotRoot)&&(records=records.concat(this.bindObserver())),records.length&&queueMicrotask(()=>{this.active&&this.enabled&&this.observer===observer&&this.host.isConnected&&this.notify(records)})}}hostDisconnected(){this.active=!1,this.preserveNextBinding=!1,this.cancelVisibilityRefresh(),this.slotRoot?.removeEventListener("slotchange",this.onSlotChange),this.slotRoot=void 0,this.observer?.disconnect(),this.observer=void 0,this.upgrades.disconnect(),releaseAccessibleTextAncestors(this.ancestors),this.references&&releaseAccessibleTextReferences(this.references)}adopted(){this.active&&this.enabled&&this.rebuild()}setEnabled(enabled){this.enabled!==enabled&&(this.enabled=enabled,this.active&&(enabled?(this.bindSlotRoot(),this.rebuild()):(this.cancelVisibilityRefresh(),this.slotRoot?.removeEventListener("slotchange",this.onSlotChange),this.slotRoot=void 0,this.observer?.disconnect(),this.observer=void 0,this.upgrades.disconnect(),releaseAccessibleTextAncestors(this.ancestors),this.references&&releaseAccessibleTextReferences(this.references))))}bind(){const pending=this.bindObserver();pending.length&&this.active&&this.enabled&&this.notify(pending)}bindObserver(){const pending=this.takeAncestorRecords();return bindAccessibleTextObserver(this.observer,this.host,this.extraAttributes,this.upgrades,this.references,this.ancestors),this.drainedRecords=!1,pending}preserveBindingForNextUpdate(){this.preserveNextBinding=!0}takeAncestorRecords(){if(this.drainingAncestors||!this.active||!this.enabled)return[];const records=[];this.drainingAncestors=records;try{for(const release of[...this.ancestors.releases])release.flush()}finally{this.drainingAncestors=void 0}return records}takeRecords(){const ancestorRecords=this.takeAncestorRecords(),records=[...this.observer?.takeRecords()??[],...ancestorRecords];return ancestorRecords.length&&this.notify(ancestorRecords),records.length>0&&(this.drainedRecords=!0),records}hasDrainedRecords(){return this.drainedRecords}text(){const root=this.host.shadowRoot,slots=root?[...root.querySelectorAll("slot")].filter(slot=>this.slots.includes(slot.name)):[],nodes=slots.length?slots.flatMap(slot=>[...slot.assignedNodes({flatten:!0})]):[...this.host.childNodes].filter(node=>node.nodeType!==1||this.slots.includes(node.getAttribute("slot")??""));return composedAccessibilityText(nodes)}hasContent(){return this.text().trim().length>0}rebuild(){this.cancelVisibilityRefresh(),this.observer?.disconnect(),this.upgrades.disconnect(),releaseAccessibleTextAncestors(this.ancestors),this.references&&releaseAccessibleTextReferences(this.references);const Observer=this.host.ownerDocument.defaultView?.MutationObserver;this.observer=Observer?new Observer((records,observer)=>{this.observer===observer&&this.recordsMatter(records)&&accessibleTextRecordsMatter(observer,records)&&this.changed(records)}):void 0,this.bind()}bindSlotRoot(){const root=this.host.shadowRoot??void 0;this.slotRoot!==root&&(this.slotRoot?.removeEventListener("slotchange",this.onSlotChange),this.slotRoot=root,root?.addEventListener("slotchange",this.onSlotChange))}recordsMatter(records){if(this.slots.length===0)return!0;const feedsSlot=start=>{const visited=new Set;let node=start;for(;node&&node!==this.host&&!visited.has(node);){if(visited.add(node),node.parentNode===this.host){const name=node.nodeType===1?node.getAttribute("slot")??"":"";return this.slots.includes(name)}node=assignedSlotOf(node)??node.parentNode??node.host??null}return!0};return records.some(record=>record.type==="attributes"&&record.attributeName==="slot"?!0:record.target===this.host&&record.type==="childList"?[...record.addedNodes,...record.removedNodes].some(node=>node.nodeType!==1?this.slots.includes(""):this.slots.includes(node.getAttribute("slot")??"")):feedsSlot(record.target))}changed(records=[]){!this.active||!this.enabled||!this.host.isConnected||(this.bind(),this.notify(records))}notify(records){this.onChange(records),records.some(record=>record.type==="attributes"&&["class","style","hidden"].includes(record.attributeName??""))&&(this.visibilityFrame.pending||this.visibilityTimer.pending||this.visibilityFrame.schedule(()=>{this.visibilityTimer.schedule(0,()=>{this.active&&this.enabled&&this.onChange([])})}))}cancelVisibilityRefresh(){this.visibilityFrame.cancel(),this.visibilityTimer.cancel()}}export{AccessibleTextController};
@@ -1 +1 @@
1
- const defaultRuntimeLoader=()=>import("./positioner.js").then(runtime=>({place:runtime.placeAnchoredSurface,trackRect:runtime.trackRect,releaseTopLayer:runtime.releaseTopLayer}));let runtimeLoader=defaultRuntimeLoader,runtimePromise;function loadAnchoredOverlayRuntime(){if(runtimePromise)return runtimePromise;const pending=runtimeLoader().catch(error=>{throw runtimePromise===pending&&(runtimePromise=void 0),error});return runtimePromise=pending}const activePlacementByPopup=new WeakMap;function concealPendingPopup(popup,strategy){activePlacementByPopup.get(popup)?.(),popup.style.position=strategy??"fixed";const pending=[popup.style.visibility,popup.style.getPropertyPriority("visibility")];return popup.style.setProperty("visibility","hidden","important"),pending}function releasePendingPopup(popup,pending){const[value,priority]=pending;popup.style.visibility!=="hidden"||popup.style.getPropertyPriority("visibility")!=="important"||popup.style.setProperty("visibility",value,priority)}function deferredPlace(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,positioned=!1;const dispose=()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility))};return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{cleanup=runtime.place(anchor,popup,{...options,onPlaced:result=>{active&&(positioned||(positioned=!0,releasePendingPopup(popup,pendingVisibility)),options.onPlaced?.(result))}})}catch{}},()=>{}),dispose}function deferredPlaceReady(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,settle;const ready=new Promise(resolve=>{settle=resolve}),dispose=(()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility),settle?.(!1))});return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{cleanup=runtime.place(anchor,popup,{...options,onPlaced:result=>{active&&(settle&&(releasePendingPopup(popup,pendingVisibility),settle(!0),settle=void 0),options.onPlaced?.(result))}})}catch{settle?.(!1)}},()=>settle?.(!1)),dispose.ready=ready,dispose}async function waitForDeferredPlacement(current){let operation;for(;operation=current();){const positioned=await operation.ready;if(operation===current())return!!positioned}return!0}async function awaitPopupAnimations(host,popup,isCurrent){const ownerDocument=host.ownerDocument;if(!isCurrent())return!1;if(!host.isConnected)return!0;const view=ownerDocument.defaultView;if(view&&await new Promise(resolve=>view.requestAnimationFrame(()=>resolve())),host.ownerDocument!==ownerDocument||!isCurrent())return!1;const animations=popup()?.getAnimations({subtree:!0})??[];return await Promise.all(animations.map(animation=>animation.finished.catch(()=>{}))),host.ownerDocument===ownerDocument&&isCurrent()}async function settlePopupTransition(options){const{host,isCurrent}=options,ownerDocument=host.ownerDocument,current=()=>host.ownerDocument===ownerDocument&&isCurrent();await host.updateComplete,current()&&(options.waitForPosition&&(!await options.waitForPosition()||!current()||(await host.updateComplete,!current()))||await awaitPopupAnimations(host,options.popup,current)&&(options.conceal&&(options.conceal(),await host.updateComplete,!current())||options.onSettled()))}class PopupTransitionWaiters{#waiters=new Map;wait(event){return new Promise(resolve=>{const waiters=this.#waiters.get(event)??new Set;waiters.add(resolve),this.#waiters.set(event,waiters)})}resolve(event){const waiters=this.#waiters.get(event);if(waiters){this.#waiters.delete(event);for(const resolve of waiters)resolve()}}}function deferredTrackRect(...args){let active=!0,cleanup;return loadAnchoredOverlayRuntime().then(runtime=>{active&&(cleanup=runtime.trackRect(...args))}).catch(()=>{}),()=>{active=!1,cleanup?.(),cleanup=void 0}}function __setAnchoredOverlayRuntimeLoaderForTesting(loader){runtimeLoader=loader??defaultRuntimeLoader,runtimePromise=void 0}function topLayerPlacement(topLayer,strategy){return{strategy:topLayer?"fixed":strategy,topLayer}}function syncTopLayerRelease(popup,wasPromoted,topLayer,runtime){if(wasPromoted&&!topLayer){if(runtime)return runtime.releaseTopLayer?.(popup),topLayer;loadAnchoredOverlayRuntime().then(runtime2=>runtime2.releaseTopLayer?.(popup),()=>{})}return topLayer}export{PopupTransitionWaiters,__setAnchoredOverlayRuntimeLoaderForTesting,awaitPopupAnimations,deferredPlace,deferredPlaceReady,deferredTrackRect,loadAnchoredOverlayRuntime,settlePopupTransition,syncTopLayerRelease,topLayerPlacement,waitForDeferredPlacement};
1
+ const defaultRuntimeLoader=()=>import("./positioner.js").then(runtime=>({place:runtime.placeAnchoredSurface,placeSession:runtime.placeAnchoredSurfaceSession,trackRect:runtime.trackRect,releaseTopLayer:runtime.releaseTopLayer}));let runtimeLoader=defaultRuntimeLoader,runtimePromise;function loadAnchoredOverlayRuntime(){if(runtimePromise)return runtimePromise;const pending=runtimeLoader().catch(error=>{throw runtimePromise===pending&&(runtimePromise=void 0),error});return runtimePromise=pending}const activePlacementByPopup=new WeakMap;function concealPendingPopup(popup,strategy){activePlacementByPopup.get(popup)?.(),popup.style.position=strategy??"fixed";const pending=[popup.style.visibility,popup.style.getPropertyPriority("visibility")];return popup.style.setProperty("visibility","hidden","important"),pending}function releasePendingPopup(popup,pending){const[value,priority]=pending;popup.style.visibility!=="hidden"||popup.style.getPropertyPriority("visibility")!=="important"||popup.style.setProperty("visibility",value,priority)}function deferredPlace(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,positioned=!1;const dispose=()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility))};return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{cleanup=runtime.place(anchor,popup,{...options,onPlaced:result=>{active&&(positioned||(positioned=!0,releasePendingPopup(popup,pendingVisibility)),options.onPlaced?.(result))}})}catch{}},()=>{}),dispose}function deferredPlaceReady(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,cleanup,settle;const ready=new Promise(resolve=>{settle=resolve}),dispose=(()=>{active&&(active=!1,activePlacementByPopup.delete(popup),cleanup?.(),releasePendingPopup(popup,pendingVisibility),settle?.(!1))});return activePlacementByPopup.set(popup,dispose),loadAnchoredOverlayRuntime().then(runtime=>{if(active)try{cleanup=runtime.place(anchor,popup,{...options,onPlaced:result=>{active&&(settle&&(releasePendingPopup(popup,pendingVisibility),settle(!0),settle=void 0),options.onPlaced?.(result))}})}catch{settle?.(!1)}},()=>settle?.(!1)),dispose.ready=ready,dispose}function deferredPlaceSession(...args){const[anchor,popup,options={}]=args,pendingVisibility=concealPendingPopup(popup,options.strategy);let active=!0,suspended=!1,starting=!1,failed=!1,generation=0,runtime,cleanup,retained,settle;const ready=new Promise(resolve=>{settle=resolve}),finish=value=>{settle?.(value),settle=void 0},dispose=()=>{if(!active)return;active=!1,activePlacementByPopup.get(popup)===dispose&&activePlacementByPopup.delete(popup);const stop=cleanup;cleanup=void 0,retained=void 0,stop?.(),releasePendingPopup(popup,pendingVisibility),finish(!1)};activePlacementByPopup.set(popup,dispose);const start=(propagateFailure=!1)=>{if(!active||suspended||starting||failed||cleanup||!runtime)return;const installed=generation,capability=runtime.placeSession;starting=!0;try{const placementOptions={...options,onPlaced:result=>{!active||suspended||!capability&&installed!==generation||(settle&&(releasePendingPopup(popup,pendingVisibility),finish(!0)),options.onPlaced?.(result))}},next=capability?capability.call(runtime,anchor,popup,placementOptions):runtime.place(anchor,popup,placementOptions);if(!active){next();return}cleanup=next,retained=capability?next:void 0,(suspended||installed!==generation)&&(retained?retained.invalidate():(cleanup=void 0,next()))}catch(error){if(failed=!0,finish(!1),propagateFailure)throw error}finally{starting=!1}active&&!suspended&&installed!==generation&&(retained?retained.update():start(propagateFailure))},operation=Object.assign(dispose,{ready,isActive(){return active&&!failed&&(retained?.isActive()??!0)},invalidate(){if(active)if(suspended=!0,generation++,retained)retained.invalidate();else{const stop=cleanup;cleanup=void 0,stop?.()}},update(){active&&(suspended=!1,retained?retained.update():start(!0))}});return loadAnchoredOverlayRuntime().then(value=>{runtime=value,start()},()=>{failed=!0,finish(!1)}),operation}async function waitForDeferredPlacement(current){let operation;for(;operation=current();){const positioned=await operation.ready;if(operation===current())return!!positioned}return!0}async function awaitPopupAnimations(host,popup,isCurrent){const ownerDocument=host.ownerDocument;if(!isCurrent())return!1;if(!host.isConnected)return!0;const view=ownerDocument.defaultView;if(view&&await new Promise(resolve=>view.requestAnimationFrame(()=>resolve())),host.ownerDocument!==ownerDocument||!isCurrent())return!1;const animations=popup()?.getAnimations({subtree:!0})??[];return await Promise.all(animations.map(animation=>animation.finished.catch(()=>{}))),host.ownerDocument===ownerDocument&&isCurrent()}async function settlePopupTransition(options){const{host,isCurrent}=options,ownerDocument=host.ownerDocument,current=()=>host.ownerDocument===ownerDocument&&isCurrent();await host.updateComplete,current()&&(options.waitForPosition&&(!await options.waitForPosition()||!current()||(await host.updateComplete,!current()))||await awaitPopupAnimations(host,options.popup,current)&&(options.conceal&&(options.conceal(),await host.updateComplete,!current())||options.onSettled()))}class PopupTransitionWaiters{#waiters=new Map;wait(event){return new Promise(resolve=>{const waiters=this.#waiters.get(event)??new Set;waiters.add(resolve),this.#waiters.set(event,waiters)})}resolve(event){const waiters=this.#waiters.get(event);if(waiters){this.#waiters.delete(event);for(const resolve of waiters)resolve()}}}function deferredTrackRect(...args){let active=!0,cleanup;return loadAnchoredOverlayRuntime().then(runtime=>{active&&(cleanup=runtime.trackRect(...args))}).catch(()=>{}),()=>{active=!1,cleanup?.(),cleanup=void 0}}function __setAnchoredOverlayRuntimeLoaderForTesting(loader){runtimeLoader=loader??defaultRuntimeLoader,runtimePromise=void 0}function topLayerPlacement(topLayer,strategy){return{strategy:topLayer?"fixed":strategy,topLayer}}function syncTopLayerRelease(popup,wasPromoted,topLayer,runtime){if(wasPromoted&&!topLayer){if(runtime)return runtime.releaseTopLayer?.(popup),topLayer;loadAnchoredOverlayRuntime().then(runtime2=>runtime2.releaseTopLayer?.(popup),()=>{})}return topLayer}export{PopupTransitionWaiters,__setAnchoredOverlayRuntimeLoaderForTesting,awaitPopupAnimations,deferredPlace,deferredPlaceReady,deferredPlaceSession,deferredTrackRect,loadAnchoredOverlayRuntime,settlePopupTransition,syncTopLayerRelease,topLayerPlacement,waitForDeferredPlacement};
@@ -0,0 +1 @@
1
+ function isDefaultLabelNode(node){if(node.nodeType!==1)return!0;const slotName=node.getAttribute("slot");return slotName===null||slotName===""}function defaultLabelForwardingSlots(host){return Array.from(host.querySelectorAll("slot")).filter(slot=>{let top=slot;for(;top.parentNode&&top.parentNode!==host;)top=top.parentNode;return top.parentNode===host&&isDefaultLabelNode(top)})}export{defaultLabelForwardingSlots,isDefaultLabelNode};
@@ -0,0 +1 @@
1
+ import{hierarchyField}from"./hierarchy-source-controller.js";function createHierarchySummarySource(host,source,options){return{get revision(){return source.revision},async project(request){const binding=options.captureBinding(),owner=host.ownerDocument,owned=()=>binding()&&host.ownerDocument===owner&&host.isConnected&&!request.signal.aborted,current=()=>{if(!owned())return!1;const revision=source.revision;return owned()&&revision===request.revision},check=()=>{if(!current())throw new Error(options.changedMessage)};check();const project=source.project;check();const result=await project.call(source,request);check();const rawSummary=result.summary;check();const summary=options.summary(rawSummary,check),validateRow=value=>options.row?options.row(value,check):value,view=result.rows;check();const count=view.count;check();const hasItemAt="itemAt"in view;check();const itemAt=hasItemAt?view.itemAt:void 0;check();let wrapped;if(typeof itemAt=="function"){const indexed=view;wrapped={count,itemAt(index){check();const method=indexed.itemAt;check();const value=method.call(indexed,index);return check(),validateRow(value)},keyAt(index){check();const method=indexed.keyAt;check();const value=method.call(indexed,index);return check(),value},indexOfKey(key){check();const method=indexed.indexOfKey;check();const value=method.call(indexed,key);return check(),value}}}else{const ranged=view;wrapped={count,async read(range){const active=()=>{if(check(),range.signal.aborted)throw new Error(options.rangeChangedMessage)};active();const method=ranged.read;active();const value=await method.call(ranged,range);return active(),options.range?options.range(value,range,active,validateRow):value},async indexOfKey(key,context){const active=()=>{if(check(),context.signal.aborted)throw new Error(options.navigationChangedMessage)};active();const method=ranged.indexOfKey;active();const value=await method.call(ranged,key,context);return active(),value}}}const state=result.state;check();const total=result.total;check(),options.total?.(summary,total);const focusIndex=result.focusIndex;return check(),options.accepted(wrapped,summary,current),{state,total,rows:wrapped,...focusIndex===void 0?{}:{focusIndex}}}}}function traceSourceSummary(value,check){const startMs=hierarchyField(value,"startMs");check();const endMs=hierarchyField(value,"endMs");if(check(),typeof startMs!="number"||typeof endMs!="number"||!Number.isFinite(startMs)||!Number.isFinite(endMs)||startMs<0||endMs<startMs||!Number.isFinite(endMs-startMs))throw new TypeError("Invalid trace extent");return{startMs,endMs}}function captureHierarchySourceEffects(host,control,binding){const epoch=control.epoch,owner=host.ownerDocument,projection=control.projection,{error,loading,rowError,rowsObserved}=control,bound=()=>host.isConnected&&host.ownerDocument===owner&&binding()&&control.epoch===epoch;return{epoch,error,loading,rowError,rowsObserved,bound,current:()=>bound()&&control.projection===projection&&control.error===error&&control.loading===loading&&control.rowError===rowError&&control.rowsObserved===rowsObserved}}export{captureHierarchySourceEffects,createHierarchySummarySource,traceSourceSummary};
@@ -26,7 +26,7 @@ export type LyraMessage=string|LyraPluralMessage;
26
26
  * additional keys as well; components may use a component-specific key when
27
27
  * a message is not part of this common set.
28
28
  */
29
- export type LyraMessageKey='connectorManagerLabel'|'connectorManagerEmpty'|'connectorManagerLimit'|'connectorManagerKindMcp'|'connectorManagerKindConnector'|'connectorManagerStatusDisconnected'|'connectorManagerStatusConnecting'|'connectorManagerStatusConnected'|'connectorManagerConnect'|'connectorManagerDisconnect'|'connectorManagerConnectFor'|'connectorManagerDisconnectFor'|'connectorManagerRetryFor'|'backgroundRunsLabel'|'backgroundRunsEmpty'|'backgroundRunsLimit'|'backgroundRunsStatusCompleted'|'backgroundRunsStatusFailed'|'backgroundRunsOpenFor'|'backgroundRunsCancelFor'|'researchProgressLabel'|'researchProgressEmpty'|'researchProgressLimit'|'researchProgressStatusPending'|'researchProgressStatusRunning'|'researchProgressStatusCompleted'|'researchProgressStatusFailed'|'researchProgressSources'|'budgetMeterLabel'|'budgetMeterUnavailable'|'budgetMeterExceeded'|'budgetMeterValue'|'budgetMeterPercent'|'toolParamMinLength'|'toolParamMaxLength'|'toolParamMinimum'|'toolParamMaximum'|'toolParamFormat'|'toolParamMinItems'|'toolParamMaxItems'|'toolParamInvalidConstraint'|'toolParamInvalidSelection'|'permissionRulesLabel'|'permissionRulesEmpty'|'permissionRulesLimit'|'permissionRulesDecisionFor'|'permissionRulesScope'|'permissionRulesAllow'|'permissionRulesAsk'|'permissionGrantLabel'|'permissionGrantScopeLabel'|'permissionGrantAllowOnce'|'permissionGrantAllowSession'|'agentQuestionUnsupported'|'changeReviewLabel'|'changeReviewEmpty'|'changeReviewKeep'|'changeReviewDiscard'|'changeReviewPending'|'changeReviewKept'|'changeReviewDiscarded'|'changeReviewHunk'|'changeReviewLimit'|'agentQuestionLabel'|'agentQuestionAccept'|'agentQuestionDecline'|'agentQuestionSubmitted'|'streamInterrupted'|'streamResume'|'noData'|'graphDataListLimit'|'graphLegendLabel'|'legendTypeShown'|'legendTypeHidden'|'entityChipWithType'|'jumpToLatest'|'terminalLabel'|'terminalDownload'|'terminalHighlightLine'|'schemaViewerIssueLimit'|'toolParamMissingProperty'|'toolParamBooleanUnset'|'toolParamBooleanTrue'|'toolParamBooleanFalse'|'toolParamSchemaLimit'|'testResultsLimit'|'toolTimelineLimit'|'toolSelectLimit'|'sequenceStripEmpty'|'sequenceStripSourceError'|'sequenceStripSourceItemUnavailable'|'sequenceStripSourceItemLabel'|'sequenceStripSourceRangeDetails'|'sequenceStripSourceKeyboardHelp'|'sequenceStripCategoryCount'|'sequenceStripUnnamedCategory'|'sequenceStripBucketLabel'|'sequenceStripBucketSummary'|'noColumns'|'dataGridColumnMenu'|'dataGridPinStart'|'dataGridPinEnd'|'dataGridUnpin'|'dataGridRowsPerPage'|'dataGridTreeLimitReached'|'loadMore'|'viewerSearchMatchCount'|'viewerSearchNoMatches'|'viewerSearchActiveMatch'|'viewerHighlightLabel'|'tableRowTotal'|'tableFilterLabel'|'tableFilterPlaceholder'|'tableLoading'|'tableLoadingMore'|'tableLoadFailed'|'tableEditCell'|'carousel'|'carouselLabel'|'carouselSlide'|'carouselSlidePosition'|'carouselSlideAnnouncement'|'carouselSlideAnnouncementSeparator'|'carouselIndicators'|'carouselGoTo'|'imageComparerLabel'|'zoomableFrameLabel'|'zoomControls'|'zoomOut'|'zoomIn'|'lightboxLabel'|'lightboxImagePosition'|'scrollerLabel'|'chatViewportLabel'|'newMessagesCount'|'newMessages'|'scrollPrevious'|'scrollNext'|'showAllColumns'|'showFewerColumns'|'clear'|'openCalendar'|'open'|'close'|'closeNavigation'|'openNavigation'|'resizeNavigation'|'appRailCollapse'|'appRailExpand'|'appRailPin'|'appRailUnpin'|'appRailItemCollapse'|'appRailItemExpand'|'resizeColumn'|'resizeValuePixels'|'resizeValuePercent'|'copy'|'copyJson'|'copied'|'expand'|'collapse'|'expandMessage'|'collapseMessage'|'messageActionsLabel'|'regenerateResponse'|'editMessage'|'showMore'|'showMoreCount'|'showLess'|'retry'|'remove'|'removeWithContext'|'playWithContext'|'pauseWithContext'|'loading'|'loadingDocument'|'calendarPreviousMonth'|'calendarNextMonth'|'noMatches'|'previous'|'next'|'paginationLabel'|'paginationPage'|'paginationJumpToPage'|'branchPickerLabel'|'branchPrevious'|'branchNext'|'branchPosition'|'paginationSummary'|'paginationEmptySummary'|'paginationApplied'|'paginationAppliedUnknownTotal'|'cancel'|'confirm'|'search'|'circularReference'|'items'|'item'|'trendOf'|'wordCloud'|'wordCloudLegend'|'wordCloudWordAnnouncement'|'wordCloudPreparedSummary'|'wordCloudPreparedUnavailable'|'avPlayerWaveformUnavailable'|'avPlayerTranscriptUnavailable'|'histogramDistributionSummary'|'histogramDistributionRange'|'graphSourceRecords'|'graphSourceNodes'|'graphSourceEdges'|'graphSourceAllRecords'|'graphSourceIncidentEdges'|'graphSourceDirection'|'graphSourceBothDirections'|'graphSourceTotals'|'graphSourceCoverageComplete'|'graphSourceCoverageNeighborhood'|'graphSourceCoverageAggregate'|'graphSourceRecordsError'|'graphSourceSceneError'|'graphSourceRecordMissing'|'heatmapSourceError'|'heatmapSourceSummary'|'heatmapSourceRangeLabel'|'heatmapSourceExactWindow'|'heatmapSourceKeyboardHelp'|'heatmapSourceMean'|'heatmapSourceMin'|'heatmapSourceMax'|'testResultsInputTooLarge'|'embeddingExplorerSpatialBounds'|'embeddingExplorerSpatialSummary'|'embeddingExplorerSpatialBin'|'embeddingExplorerSpatialError'|'embeddingExplorerSpatialLoading'|'comboboxLoadError'|'comboboxSelectedOverflow'|'promptQueueItemLabel'|'promptQueueActionLabel'|'notInCatalog'|'sendMessage'|'stopGenerating'|'dropzoneReleaseToAdd'|'dropzoneRejectedType'|'fileSizeUnitB'|'fileSizeUnitKb'|'fileSizeUnitMb'|'fileSizeUnitGb'|'fileSizeUnitTb'|'chartCategory'|'chartTotal'|'chartAxisTotal'|'chartPrimaryAxis'|'chartSecondaryAxis'|'chartPointLabel'|'chartPointCoordinates'|'chartBubblePointCoordinates'|'chartLabeledPoint'|'resetZoom'|'chatSending'|'chatResponding'|'chatFailedToSend'|'chatFailedAnnounce'|'chatCompleteAnnounce'|'showMoreCollapsed'|'expandCode'|'collapseCode'|'copyCode'|'copiedToClipboard'|'codeRegion'|'codeRegionWithLanguage'|'markdownTableRegion'|'codeBlockLineLabel'|'copyDiff'|'diffViewOldLabel'|'diffViewNewLabel'|'diffViewHiddenLines'|'diffViewTooLarge'|'jsonArray'|'jsonObject'|'jsonValue'|'jsonCopyLabel'|'jsonExpandLabel'|'jsonCollapseLabel'|'jsonItemCount'|'jsonKeyCount'|'jsonViewerLimit'|'untitledSource'|'sourcePageSuffix'|'toolCall'|'statusPending'|'statusRunning'|'statusSuccess'|'statusError'|'statusDenied'|'statusIncomplete'|'maximize'|'restore'|'wordCloudWord'|'wordCloudWords'|'promptStudioVariableName'|'promptStudioVariableValue'|'schemaViewerLimit'|'subagentPanelLimit'|'pollPause'|'pollResume'|'pollRefresh'|'pollInactive'|'pollRefreshing'|'pollPaused'|'pollPausedAnnounce'|'pollResumedAnnounce'|'pollRefreshingAnnounce'|'randomContentPause'|'randomContentResume'|'randomContentNext'|'attachmentAdd'|'attachmentTriggerFiles'|'attachmentTriggerImage'|'attachmentTriggerCamera'|'attachmentMenuFiles'|'attachmentMenuImage'|'attachmentMenuCamera'|'checkboxRequired'|'checkboxGroupRequired'|'tokenInputRequired'|'tokenInputEditWithContext'|'commandPaletteLabel'|'commandPalettePlaceholder'|'commandPaletteEmpty'|'commandPaletteResults'|'iconButtonLabel'|'codeEditorLabel'|'calendarLabel'|'calendarEmpty'|'calendarEventsOverflow'|'switchRequired'|'citationHighConfidence'|'citationMediumConfidence'|'citationLowConfidence'|'citationVerified'|'citationUnverified'|'contextMeterUsed'|'contextMeterUsedOfTotal'|'contextMeterSegmentLabel'|'gaugeLabel'|'gaugeValueLabel'|'untitledConversation'|'dockPanelCollapse'|'dockPanelExpand'|'dockPanelResize'|'documentPreviewAlt'|'documentPreviewUrlNotAllowed'|'documentPreviewFailedToLoad'|'documentPreviewResourceTooLarge'|'documentPreviewGenericError'|'ebookViewerLoadError'|'ebookViewerMissingLibrary'|'ebookViewerRegionLabel'|'ebookViewerPreviousChapter'|'ebookViewerNextChapter'|'fileTypeFile'|'fileTypePdf'|'fileTypeWord'|'fileTypeSpreadsheet'|'fileTypePresentation'|'fileTypeText'|'fileTypeCode'|'fileTypeArchive'|'fileTypeImage'|'fileTypeAudio'|'fileTypeVideo'|'fileTypeWithSize'|'pptxViewerLabel'|'pptxViewerFidelityNotice'|'pptxViewerRenderError'|'pptxViewerMissingLibrary'|'pptxViewerPreviousSlide'|'pptxViewerNextSlide'|'pptxViewerSlideOf'|'documentViewerLabel'|'attachmentPreviewName'|'attachmentPreviewFile'|'documentViewerMissingSanitizer'|'docxViewerLabel'|'docxViewerMissingConverter'|'svgViewerLabel'|'htmlViewerLabel'|'datasetViewerMissingParser'|'datasetViewerEmpty'|'datasetViewerCaption'|'datasetViewerCaptionNamed'|'contactViewerLabel'|'contactViewerNoContacts'|'contactViewerUnnamedContact'|'contactViewerPhoneLabel'|'contactViewerEmailLabel'|'contactViewerAddressLabel'|'contactViewerOrganization'|'contactViewerTypedValue'|'contactViewerAddressFormat'|'contactViewerTypeHome'|'contactViewerTypeWork'|'contactViewerTypeCell'|'contactViewerTypeVoice'|'contactViewerTypeFax'|'contactViewerTypeInternet'|'contactViewerTypePreferred'|'exportButtonLabel'|'generationStatusElapsedSeconds'|'generationStatusThroughput'|'graphDataList'|'graphSpatialControls'|'graphView3d'|'graphViewList'|'graphFit'|'graphOrbitLeft'|'graphOrbitRight'|'graphOrbitUp'|'graphOrbitDown'|'graphSpatialInstructions'|'graphSpatialUnavailable'|'graphSpatialPage'|'graphItemAnnouncement'|'navigation'|'attachmentRetryWithContext'|'attachmentUploadingWithContext'|'attachmentUploadingProgress'|'attachmentUploadingIndeterminate'|'attachmentUploadFailed'|'attachmentUntitledFile'|'chartTrendIncreasing'|'chartTrendDecreasing'|'chartTrendFlat'|'chartSummary'|'chartSeriesNoData'|'chartSummaryWithData'|'chartSummaryEmpty'|'chartSummarySeparator'|'chartData'|'chartRenderUnavailable'|'chartPreparedSummary'|'chartPreparedUnavailable'|'chartPreparedSummaryZoom'|'chartSpatialSummary'|'chartSpatialRadiusDomain'|'chartSpatialDensityLegend'|'chartSpatialPoint'|'chartSpatialBin'|'chartSpatialHidden'|'chartDataSampled'|'chartPlotSampled'|'chartZoomUnavailable'|'chartDataLabelsUnavailable'|'chartStackTotalsUnavailable'|'chartAnnotationsUnavailable'|'chart'|'chartTypeLine'|'chartTypeBar'|'chartTypeScatter'|'chartTypePie'|'chartTypeDoughnut'|'chartTypeRadar'|'chartTypePolarArea'|'chartTypeBubble'|'boxPlotSeriesSummary'|'boxPlotSummaryWithData'|'boxPlotSummaryEmpty'|'boxPlotData'|'chartSeriesLabel'|'boxPlotMin'|'boxPlotQ1'|'boxPlotMedian'|'boxPlotQ3'|'boxPlotMax'|'boxPlot'|'histogramFrequency'|'liteChartMarkSummary'|'liteChartBarLabel'|'chartValueLabel'|'chartValuePercentageLabel'|'liteChartCustomMarkSummary'|'composerLabel'|'composerPlaceholder'|'textareaLabel'|'citation'|'citationWithStatus'|'citationWithCustomLabel'|'comboboxOverflow'|'comboboxRequired'|'comboboxCreate'|'comboboxLabel'|'rename'|'previousMonth'|'nextMonth'|'chooseDate'|'date'|'dateInputMinMessage'|'dateInputMaxMessage'|'dateInputPastDisabled'|'dateInputFutureDisabled'|'dateInputInvalid'|'timeInputLabel'|'timeInputHour'|'timeInputMinute'|'timeInputSecond'|'timeInputDayPeriod'|'timeInputEmptySegment'|'timeInputOpen'|'timeInputPopup'|'timeInputNow'|'timeInputInvalid'|'timeInputMinMessage'|'timeInputMaxMessage'|'timeInputRangeMessage'|'timeInputStepMessage'|'documentPreviewEmpty'|'convertingDocument'|'documentPreviewNotAvailable'|'documentPreviewGenericFile'|'documentPreviewTypeDocument'|'documentPreviewTypeImage'|'documentPreviewTypeEmail'|'documentPreviewTypeCalendar'|'archiveViewerEmpty'|'archiveViewerFolder'|'archiveViewerFile'|'documentPreviewTypeDataset'|'documentPreviewTypeContact'|'download'|'exportFormatMenuLabel'|'fileInputDefaultLabel'|'fileInputAcceptedOne'|'fileInputAcceptedMany'|'fileInputRejectedOne'|'fileInputRejectedMany'|'fileInputFolderRejected'|'fileInputRejectedType'|'fileInputRejectedSize'|'fileInputRejectedCount'|'fileInputRejectedRead'|'fileInputRejectedLimit'|'fileInputRejectedMaxFiles'|'fileInputRejectedMaxTotalSize'|'elapsedMinutesSecondsTemplate'|'graphNode'|'graphLink'|'graphDiagram'|'graphTypedNode'|'graphExpandableItem'|'graphNodeFocused'|'graphSelectionCount'|'graphNodesHidden'|'graphCommunity'|'heatmapValueLabel'|'heatmapMatrixCellLabel'|'heatmapCalendarLabel'|'heatmapMatrixLabel'|'heatmapCalendarCellLabel'|'heatmapNoDataValue'|'heatmapDefaultRowLabel'|'heatmapDefaultColLabel'|'heatmapSelectedCellLabel'|'heatmapSelectedCount'|'mapResetNorth'|'heatmapProjectionLimit'|'heatmapDecorationLimit'|'funnelStagesLimit'|'inputLabel'|'showPassword'|'hidePassword'|'radioRequired'|'progress'|'responsivePanel'|'popover'|'details'|'breadcrumb'|'timeline'|'timelineClusterCount'|'rating'|'sliderLabel'|'feedbackPositive'|'feedbackNegative'|'feedbackReasonsLabel'|'feedbackCommentLabel'|'feedbackCommentPlaceholder'|'feedbackSubmit'|'feedbackSubmitted'|'colorPicker'|'mediaCardUntitledFile'|'mediaCardOpenName'|'mediaCardOpenImageAttachment'|'mediaCardOpenVideoAttachment'|'mediaCardOpenFileAttachment'|'mediaCardImageAttachment'|'mediaCardVideoAttachment'|'animatedImageDefaultAlt'|'mentionSuggestions'|'mentionResultCount'|'mentionResultPosition'|'suggestionsLabel'|'map'|'model'|'selectModel'|'modelSelectNoModels'|'modelSelectRequired'|'temperature'|'play'|'playbackPosition'|'playbackStepPosition'|'videoPlayerLabel'|'videoMute'|'videoUnmute'|'videoVolume'|'videoCaptions'|'videoCaptionsOff'|'videoPictureInPicture'|'videoExitPictureInPicture'|'videoEnterFullscreen'|'videoExitFullscreen'|'videoPlaylistLabel'|'videoPlaylistUntitled'|'selectValueMissing'|'select'|'sourceListDefaultLabel'|'threadListLabel'|'threadGroupPinned'|'threadGroupToday'|'threadGroupYesterday'|'threadGroupPrevious7Days'|'threadGroupPrevious30Days'|'threadGroupArchived'|'threadGroupExpand'|'threadGroupCollapse'|'pinConversation'|'unpinConversation'|'archiveConversation'|'unarchiveConversation'|'deleteConversation'|'searchThreads'|'threadListMatchAnnounce'|'threadListEmpty'|'agentWorkspaceLabel'|'agentWorkspaceInputLimit'|'agentWorkspaceConversation'|'agentWorkspaceDetails'|'agentWorkspaceRun'|'agentWorkspaceTools'|'agentWorkspaceRetrieval'|'agentWorkspaceGrounding'|'agentWorkspaceContext'|'agentWorkspaceEmpty'|'ragAnswerLabel'|'ragAnswerCitations'|'ragAnswerSources'|'ragAnswerRetry'|'evaluationDashboardLabel'|'evaluationDashboardRunsLabel'|'evaluationDashboardNoRuns'|'approvalQueueLabel'|'approvalQueueLimit'|'approvalQueueEmpty'|'approvalQueueOpen'|'approvalQueuePendingCount'|'approvalQueuePending'|'embeddingExplorerLabel'|'embeddingExplorerEmpty'|'embeddingExplorerPoint'|'embeddingExplorerPointLimit'|'knowledgeBaseAdminLabel'|'knowledgeBaseAdminInputLimit'|'knowledgeBaseAdminSourcesTab'|'knowledgeBaseAdminIngestionTab'|'resizeDivider'|'trendUnchanged'|'statTrendIncreased'|'statTrendDecreased'|'statTrendGood'|'statTrendBad'|'statTrendAnnouncement'|'streamStalled'|'streamStallAnnounce'|'streamRecoverAnnounce'|'streamStallClearedAnnounce'|'thinkingPanelLabel'|'messagePartsLabel'|'messagePartError'|'messagePartRetry'|'promptQueueLabel'|'promptQueueEmpty'|'promptQueueInputLimit'|'promptQueueAttachmentLimit'|'promptQueueSendNow'|'selectionToolbarLabel'|'selectionAsk'|'selectionQuote'|'selectionCite'|'promptInputLabel'|'promptInputControls'|'promptInputSources'|'promptInputAttachments'|'mcpAppLabel'|'mcpAppUnavailable'|'mcpAppLoading'|'taskListLabel'|'taskListCompletedOfTotal'|'taskListStepStartedAnnounce'|'taskListStepCompletedAnnounce'|'taskListStepFailedAnnounce'|'taskListStepIncompleteAnnounce'|'activityFeedLabel'|'activityFeedCompletedSteps'|'handoffLabel'|'handoffToAgent'|'handoffFromToAgent'|'usageBadgeLabel'|'usageBadgeTokensIn'|'usageBadgeTokensOut'|'usageBadgeTokensInLabel'|'usageBadgeTokensOutLabel'|'usageBadgeTotalTokensLabel'|'usageBadgeCostLabel'|'usageBadgeLatencyLabel'|'checkpointLabel'|'checkpointRestore'|'checkpointRestoreWithContext'|'checkpointRestoring'|'checkpointConfirmPrompt'|'thoughtFor'|'thinking'|'rangeStart'|'rangeEnd'|'calloutAnnouncementWithContext'|'closeWithContext'|'closeWithTruncatedContext'|'toastContentIncomplete'|'toastOverflow'|'toolApprovalHeading'|'toolApprovalGenericTool'|'toolApprovalArgsLabel'|'confirmApproved'|'confirmDenied'|'confirmApprovedAnnounce'|'confirmDeniedAnnounce'|'deny'|'edit'|'approve'|'invalidJson'|'fieldRequired'|'fieldMustBeString'|'fieldMustBeNumber'|'fieldMustBeInteger'|'fieldMustBeBoolean'|'unsupportedFieldType'|'fieldMustBeOneOf'|'fieldMustEqual'|'schemaMustBeObject'|'schemaPropertiesMustBeFlat'|'valueMustBeSerializable'|'valueInvalid'|'matchMismatch'|'phoneInputLabel'|'phoneInputIncomplete'|'otpInputIncomplete'|'otpInputLabel'|'numberInputIncrease'|'numberInputDecrease'|'textareaCharacterCount'|'textareaCharactersRemaining'|'copyFailed'|'colorPickerSaturationBrightness'|'colorPickerSaturationBrightnessValue'|'colorPickerHue'|'colorPickerHueValue'|'colorPickerOpacity'|'colorPickerOpacityValue'|'colorPickerValueField'|'colorPickerToggleFormat'|'colorPickerEyeDropper'|'colorPickerSwatches'|'colorPickerSwatch'|'colorPickerCurrentValue'|'selectSelectedOverflow'|'iconLoadError'|'iconTooLarge'|'iconSanitizerMissing'|'paginationFirstPage'|'paginationLastPage'|'accessibleLabelSeparator'|'durationMilliseconds'|'durationSeconds'|'selectTools'|'searchToolsPlaceholder'|'useDefaultTools'|'toolSelectCustomizeHint'|'noMatchesQuery'|'toolSelectNoneAvailable'|'toolSelectSummary'|'toolCount'|'otherCategory'|'widgetFullscreenPanel'|'widgetViewGroup'|'widgetExitFullscreen'|'widgetExpandToFullscreen'|'widgetCollapse'|'widgetExpand'|'menuLabel'|'pause'|'kbdEscapeVisual'|'kbdEscapeWord'|'kbdTabWord'|'kbdSpaceWord'|'kbdDeleteVisual'|'kbdDeleteWord'|'kbdHomeWord'|'kbdEndWord'|'kbdPageUpVisual'|'kbdPageUpWord'|'kbdPageDownVisual'|'kbdPageDownWord'|'kbdEnterWord'|'kbdBackspaceWord'|'kbdArrowUpWord'|'kbdArrowDownWord'|'kbdArrowLeftWord'|'kbdArrowRightWord'|'kbdPlusWord'|'kbdMinusWord'|'kbdCommandWord'|'kbdControlVisual'|'kbdControlWord'|'kbdOptionWord'|'kbdAltWord'|'kbdShiftWord'|'emailViewerLabel'|'emailViewerMissingParser'|'emailViewerFrom'|'emailViewerTo'|'emailViewerSubject'|'emailViewerDate'|'emailViewerAttachments'|'emailViewerUnnamedAttachment'|'emailViewerNoSubject'|'emailViewerOpenAttachment'|'emailViewerShowQuoted'|'emailViewerHideQuoted'|'emailViewerGroupAddress'|'calendarViewerLabel'|'calendarViewerMissingParser'|'calendarViewerEmpty'|'calendarViewerNoSummary'|'pdfViewerLabel'|'pdfViewerMissingLibrary'|'qrCodeMissingLibrary'|'qrCodeGenerationFailed'|'mapMissingLibrary'|'mapStyleRequired'|'mapWebglUnavailable'|'mapInitializationFailed'|'mapLegend'|'chartMissingLibrary'|'boxPlotMissingLibrary'|'graphMissingLibrary'|'pdfViewerPageOf'|'pdfViewerZoomIn'|'pdfViewerZoomOut'|'pdfViewerCurrentZoom'|'pdfViewerPreviousPage'|'pdfViewerNextPage'|'anchorJumped'|'anchorJumpedToPage'|'anchorNotFound'|'highlightLayerLabel'|'highlightWithLabel'|'cellHighlightWithLabel'|'highlightOfTotal'|'pageRailLabel'|'pageRailPage'|'pageRailPageHighlighted'|'spreadsheetViewerUnavailable'|'csvViewerUnavailable'|'csvViewerLabel'|'spreadsheetViewerLabel'|'knownDateDay'|'knownDateMonth'|'knownDateYear'|'skipToContent'|'tourSkip'|'tourDone'|'tourStepOf'|'emojiPickerSearchLabel'|'emojiPickerSearchPlaceholder'|'emojiPickerGridLabel'|'emojiPickerEmpty'|'emojiPickerLoadError'|'emojiPickerPeerMissing'|'emojiPickerGroupSmileysEmotion'|'emojiPickerGroupPeopleBody'|'emojiPickerGroupComponent'|'emojiPickerGroupAnimalsNature'|'emojiPickerGroupFoodDrink'|'emojiPickerGroupTravelPlaces'|'emojiPickerGroupActivities'|'emojiPickerGroupObjects'|'emojiPickerGroupSymbols'|'emojiPickerGroupFlags'|'emojiPickerGroupUnknown'|'pushToTalkRequesting'|'pushToTalkDenied'|'pushToTalkError'|'pushToTalkUnsupported'|'pushToTalkStarted'|'pushToTalkStopped'|'pushToTalkCancelled'|'pushToTalkHold'|'pushToTalkStart'|'pushToTalkStop'|'traceTree'|'traceTreeSpanStatus'|'traceTreeMetricLabel'|'spanProjectionLimit'|'agentTraceFilterLabel'|'spanKindAgent'|'spanKindLlm'|'spanKindTool'|'spanKindRetriever'|'spanKindEmbedding'|'spanKindOther'|'tokensIn'|'tokensOut'|'cost'|'duration'|'spanWaterfall'|'spanStartedAtOffset'|'rubricSubmit'|'rubricSubmitAndNext'|'rubricSkip'|'compareResponseA'|'compareResponseB'|'compareVoteLabel'|'compareVoteBetter'|'compareVoteTie'|'compareVoteBothBad'|'compareVoteRecorded'|'comparePanel'|'audioVisualizerLabel'|'audioVisualizerIdle'|'audioVisualizerListening'|'audioVisualizerThinking'|'audioVisualizerSpeaking'|'treeNodeMoved'|'fileTreeLabel'|'fileTreeDiffSummary'|'gitStatusAdded'|'gitStatusModified'|'gitStatusDeleted'|'gitStatusRenamed'|'gitStatusUntracked'|'gitStatusConflicted'|'gitStatusIgnored'|'imageViewerLabel'|'imageViewerFailedToLoad'|'imageViewerRotate'|'imageViewerFitLabel'|'imageViewerFitContain'|'imageViewerFitWidth'|'imageViewerFitActual'|'imageViewerAnnotate'|'imageViewerHighlightsLabel'|'imageViewerUnlabeledHighlight'|'imageViewerAnnotationHint'|'imageViewerAnnotationBoxPosition'|'imageViewerAnnotationAdded'|'imageViewerAnnotationCancelled'|'transcriptFeedLabel'|'transcriptFeedEmpty'|'transcriptFeedInterim'|'commitCardLabel'|'commitCardCopyHash'|'commitCardDiffSummary'|'commitCardShowFiles'|'commitCardHideFiles'|'stackTraceLabel'|'stackTraceLimit'|'stackTraceShowFrames'|'stackTraceHideFrames'|'statusSkipped'|'testResultsLabel'|'testResultsPassed'|'testResultsFailed'|'testResultsSkipped'|'testResultsRunning'|'testResultsFilterLabel'|'testResultsCompleteAnnounce'|'testResultsExpandTest'|'testResultsCollapseTest'|'envListLabel'|'envListReveal'|'envListHide'|'envListValueHidden'|'envListCopy'|'voice'|'voicePickerNoVoices'|'voicePickerRequired'|'voicePickerPreview'|'voicePickerStopPreview'|'avPlayerLabel'|'avPlayerFailedToLoad'|'avPlayerTranscript'|'avPlayerTimeline'|'avPlayerPlaybackRate'|'avPlayerRateOption'|'avPlayerPosition'|'attachmentTriggerAudio'|'attachmentMenuAudio'|'browserFrameLabel'|'browserFrameUrlLabel'|'browserFrameViewOf'|'browserFrameTakeOver'|'browserFrameHandBack'|'browserFrameStop'|'browserFrameStatusIdle'|'browserFrameStatusConnecting'|'browserFrameStatusLive'|'browserFrameStatusStalled'|'browserFrameControllerAgent'|'browserFrameControllerUser'|'notebookViewerLabel'|'notebookViewerInvalid'|'notebookViewerUnsupportedVersion'|'notebookViewerTooManyCells'|'notebookViewerInPrompt'|'notebookViewerInPromptEmpty'|'notebookViewerCodeCell'|'notebookViewerMarkdownCell'|'notebookViewerRawCell'|'notebookViewerErrorOutput'|'notebookViewerShowAllOutput'|'notebookViewerCollapseOutput'|'notebookViewerUnrenderedOutput'|'xmlViewerLabel'|'xmlViewerParseError'|'xmlViewerTooManyNodes'|'xmlViewerLimit'|'xmlViewerChildCount'|'xmlViewerCopyDocument'|'xmlViewerCopyNode'|'xmlViewerExpandNode'|'xmlViewerCollapseNode'|'artifactPanelLabel'|'artifactPanelPreview'|'artifactPanelCode'|'artifactPanelPreviousVersion'|'artifactPanelNextVersion'|'artifactPanelVersionPosition'|'artifactPanelRestore'|'artifactPanelGenerating'|'resultFieldLabel'|'geojsonViewLabel'|'geojsonViewInvalid'|'geojsonViewFeatureCount'|'geojsonViewMissingMapLibrary'|'mindMapLabel'|'mindMapTopicStatus'|'mindMapLeafStatus'|'mindMapExpanded'|'mindMapCollapsed'|'mindMapNodeLimit'|'mindMapInputLimit'|'entityDegree'|'entityCommunity'|'focusInGraph'|'untitledEntity'|'untitledCommunity'|'communityMemberCount'|'communityDrillIn'|'selectAllSources'|'sourcePickerSelection'|'provenancePanelLabel'|'provenanceEntities'|'provenanceRelationships'|'provenanceCommunities'|'provenanceChunks'|'provenanceEmpty'|'chunkInspectorLabel'|'chunkScore'|'scoreTierHigh'|'scoreTierMedium'|'scoreTierLow'|'chunkInspectorEmpty'|'flowCanvasLabel'|'flowCanvasLayoutLimit'|'flowCanvasInputLimit'|'flowCanvasSummary'|'flowNode'|'flowEdge'|'flowEdgeWithLabel'|'flowItemAnnouncement'|'dashboardGridLabel'|'dashboardCellCollisionRejected'|'dashboardCellMoved'|'dashboardCellResized'|'flowEdgeList'|'flowNodeSelected'|'flowNodeDeselected'|'flowSelectionCleared'|'flowNodeMoved'|'flowConnectStarted'|'flowConnectTarget'|'flowConnectCommitted'|'flowConnectCancelled'|'zoomToFit'|'flowLockCanvas'|'flowControlsLabel'|'flowMinimapLabel'|'flowMinimapSourceUnavailable'|'flowMinimapViewport'|'flowMinimapInstructions'|'flowMinimapViewportChanged'|'nodePaletteLabel'|'nodePalettePlaceholder'|'nodePaletteEmpty'|'nodePaletteDragHint'|'nodePaletteResultCount'|'pathStripLabel'|'pathNodeStatus'|'pathRelationStatus'|'flowInputHandle'|'flowOutputHandle'|'flowStatusWithDuration'|'flowStatusWithDetail'|'neighborListLabel'|'neighborRowLabel'|'neighborDirectionIn'|'neighborDirectionOut'|'neighborDirectionBoth'|'neighborExpand'|'neighborListEmpty'|'neighborSourceChoose'|'neighborSourceError'|'neighborSourceSummary'|'neighborGroupHeader'|'flowRunStatusLabel'|'flowRunSummary'|'flowRunStepStatus'|'flowRunStatusCount'|'policySummaryLabel'|'policySummaryLimit'|'policySummaryAllowCount'|'policySummaryDenyCount'|'policySummaryNeedsReviewCount'|'policySummaryStateAllow'|'policySummaryStateDeny'|'policySummaryStateNeedsReview'|'policySummaryCategoryGuardrail'|'policySummaryCategoryPermission'|'policySummaryCategoryPrivacy'|'policySummaryCategoryTool'|'policySummaryDetailLabel'|'evalDatasetLabel'|'evalDatasetAddExample'|'evalDatasetRemoveExample'|'evalDatasetImportLabel'|'evalDatasetSearchLabel'|'evalDatasetTagFilterLabel'|'evalDatasetEmpty'|'evalDatasetNoMatches'|'evalDatasetColumnInput'|'evalDatasetColumnExpectedOutput'|'evalDatasetColumnTags'|'queryBuilderLabel'|'queryBuilderEmpty'|'queryBuilderNoFields'|'queryBuilderAddCondition'|'queryBuilderRemoveCondition'|'queryBuilderFieldLabel'|'queryBuilderFieldPlaceholder'|'queryBuilderOperatorLabel'|'queryBuilderOperatorPlaceholder'|'queryBuilderValueLabel'|'queryBuilderValuePlaceholder'|'queryBuilderCombinatorLabel'|'queryBuilderCombinatorAnd'|'queryBuilderCombinatorOr'|'queryBuilderBooleanTrue'|'queryBuilderBooleanFalse'|'queryBuilderOperatorEquals'|'queryBuilderOperatorNotEquals'|'queryBuilderOperatorGreaterThan'|'queryBuilderOperatorGreaterThanOrEqual'|'queryBuilderOperatorLessThan'|'queryBuilderOperatorLessThanOrEqual'|'queryBuilderOperatorAfter'|'queryBuilderOperatorOnOrAfter'|'queryBuilderOperatorBefore'|'queryBuilderOperatorOnOrBefore'|'queryBuilderOperatorContains'|'queryBuilderOperatorStartsWith'|'queryBuilderOperatorEndsWith'|'queryBuilderOperatorIn'|'queryBuilderOperatorNotIn'|'queryBuilderOperatorIsEmpty'|'queryBuilderOperatorIsNotEmpty'|'memoryPanelLabel'|'memoryPanelShortTermHeading'|'memoryPanelLongTermHeading'|'memoryPanelAdd'|'memoryPanelAddWithContext'|'memoryPanelForgetAll'|'memoryPanelConfirmAddHeading'|'memoryPanelConfirmRemoveHeading'|'memoryPanelConfirmForgetHeading'|'memoryPanelConfirmForgetBody'|'memoryPanelItemsLimit'|'graphExplorerLabel'|'graphExplorerAllTypesHidden'|'graphExplorerClearTypes'|'graphExplorerSearchPlaceholder'|'graphExplorerSearchResultsLabel'|'graphExplorerPin'|'graphExplorerUnpin'|'graphExplorerPinned'|'graphExplorerUnpinned'|'graphExplorerPinnedHeading'|'graphExplorerFindPath'|'retrievalModeVector'|'retrievalModeKeyword'|'retrievalModeHybrid'|'retrievalSearchLabel'|'retrievalModeLabel'|'retrievalFiltersLabel'|'groundingSummaryLabel'|'groundingSummaryEmpty'|'groundingSummarySupportedLabel'|'groundingSummaryUnsupportedLabel'|'groundingSummaryCoverageLabel'|'groundingSummaryConfidenceLabel'|'groundingSummaryWarningsHeading'|'groundingSummaryEvidenceHeading'|'groundingSummaryCitationsLimit'|'claimEvidenceLabel'|'claimEvidenceEmpty'|'claimEvidenceSupported'|'claimEvidencePartiallySupported'|'claimEvidenceUnsupported'|'claimEvidenceContradicted'|'claimEvidenceConfidence'|'claimEvidenceClaimsLimit'|'retrievalCompareLabel'|'retrievalCompareEmpty'|'retrievalCompareInputLimit'|'retrievalCompareResultLimit'|'retrievalCompareOverlap'|'retrievalCompareRank'|'retrievalCompareDenseScore'|'retrievalCompareSparseScore'|'retrievalCompareRerankScore'|'retrievalCompareFinalScore'|'ragEvalDashboardLabel'|'ragEvalDashboardEmpty'|'ragEvalDashboardInputLimit'|'ragEvalDashboardSlicesLimit'|'ragEvalDashboardRuns'|'ragEvalDashboardSlices'|'ragEvalDashboardAllSlices'|'ragEvalDashboardSliceUnavailable'|'ragEvalDashboardRunsLimit'|'promptStudioLabel'|'promptStudioMessages'|'promptStudioVariables'|'promptStudioVersions'|'promptStudioPreview'|'promptStudioPreviewLimit'|'promptStudioRun'|'promptStudioSave'|'promptStudioAddMessage'|'promptStudioRemoveMessage'|'promptStudioMessageRole'|'promptStudioMessageContent'|'promptStudioRoleSystem'|'promptStudioRoleUser'|'promptStudioRoleAssistant'|'promptStudioRoleTool'|'schemaViewerLabel'|'schemaViewerEmpty'|'schemaViewerRequired'|'schemaViewerCircular'|'schemaViewerType'|'subagentPanelLabel'|'subagentPanelEmpty'|'subagentPanelRetry'|'subagentPanelCancelRun'|'subagentPanelRetryRun'|'toolTimelineDetailsFor'|'toolCallBlockHeaderPending'|'toolCallBlockHeaderRunning'|'toolCallBlockHeaderSuccess'|'toolCallBlockHeaderError'|'toolCallBlockHeaderDenied'|'toolCallBlockHeaderIncomplete'|'toolCallBlockArgumentsLabel'|'toolCallBlockResultLabel'|'toolCallBlockErrorLabel'|'realtimeSessionLabel'|'realtimeSessionDisconnected'|'realtimeSessionConnecting'|'realtimeSessionConnected'|'realtimeSessionReconnecting'|'realtimeSessionError'|'realtimeSessionConnect'|'realtimeSessionDisconnect'|'realtimeSessionMute'|'realtimeSessionUnmute'|'realtimeSessionInterrupt'|'realtimeSessionConnectionFailed'|'contextInspectorRedacted'|'contextInspectorTruncated'|'contextInspectorLabel'|'contextInspectorEmpty'|'contextInspectorCopyLabel'|'knowledgeBaseSyncIdle'|'knowledgeBaseSyncSyncing'|'knowledgeBaseSyncPaused'|'knowledgeBaseSyncSynced'|'knowledgeBaseSyncError'|'knowledgeBaseHealthHealthy'|'knowledgeBaseHealthDegraded'|'knowledgeBaseHealthFailed'|'knowledgeBaseHealthUnknown'|'knowledgeBasePermissionOwner'|'knowledgeBasePermissionEditor'|'knowledgeBasePermissionViewer'|'knowledgeBasePermissionRestricted'|'knowledgeBaseNeverSynced'|'knowledgeBaseSyncAction'|'knowledgeBasePauseAction'|'knowledgeBaseDeleteAction'|'knowledgeBaseNameColumn'|'knowledgeBaseSyncColumn'|'knowledgeBaseHealthColumn'|'knowledgeBasePermissionColumn'|'knowledgeBaseActionsColumn'|'knowledgeBaseTotalSources'|'knowledgeBaseSyncedSources'|'knowledgeBaseSyncingSources'|'knowledgeBaseNeedsAttention'|'knowledgeBaseHeading'|'knowledgeBaseCreateSource'|'knowledgeBaseEmptyHeading'|'ingestionStageQueued'|'ingestionStageUploading'|'ingestionStageExtracting'|'ingestionStageChunking'|'ingestionStageEmbedding'|'ingestionStageIndexing'|'ingestionStageDone'|'ingestionStageFailed'|'ingestionStageCancelled'|'ingestionStageUnknown'|'ingestionQueueLabel'|'ingestionQueueEmpty'|'documentLibraryFreshnessFresh'|'documentLibraryFreshnessAging'|'documentLibraryFreshnessStale'|'documentLibrarySelectAll'|'documentLibrarySelectColumn'|'documentLibraryTypeColumn'|'documentLibraryNameColumn'|'documentLibraryVersionColumn'|'documentLibraryOwnerColumn'|'documentLibraryTagsColumn'|'documentLibraryFreshnessColumn'|'documentLibraryUpdatedColumn'|'documentLibraryLabel'|'documentLibraryEmptyHeading'|'documentLibraryNoMatchesHeading'|'documentLibrarySearchPlaceholder'|'documentLibraryFilterByTag'|'documentLibraryClearSelection'|'documentLibrarySelectedCount'|'documentCompareNoVersion'|'documentCompareLabel'|'agentRunCurrentStepLabel'|'graphQueryHopRangeInvalid'|'graphQueryRelationshipTypeLabel'|'graphQueryNodeTypeLabel'|'graphQueryBuilderLabel'|'graphQueryStartLabel'|'graphQueryEndLabel'|'graphQueryMinHopsLabel'|'graphQueryMaxHopsLabel'|'graphQueryDirectionLabel'|'graphQueryRun'|'graphQuerySavedQueriesLabel'|'graphQuerySaveNameLabel'|'graphQuerySaveButton'|'graphQueryLoadWithContext'|'filterBarReset'|'filterBarActiveFilters'|'drilldownDocuments'|'drilldownRuns'|'drilldownEmpty'|'drilldownUntitledNode'|'evaluationRunGroundingHeading'|'evaluationRunToolTraceHeading'|'evaluationRunInputHeading'|'evaluationRunOutputHeading'|'evaluationRunLabel'|'evaluationRunProgressLabel'|'retrievalFilterChipLabel'|'retrievalSearchEmptyDescription'|'groundingSummaryEvidenceSpan'|'contextInspectorTruncatedCount'|'contextInspectorSegmentTokens'|'contextInspectorLimit'|'knowledgeBaseDocumentCount'|'knowledgeBaseRowActionsLabel'|'knowledgeBaseEmptyDescription'|'ingestionChunkCount'|'ingestionItemProgressLabel'|'ingestionEmbeddedOfTotal'|'ingestionAttemptCount'|'ingestionRetryWithContext'|'ingestionCancelWithContext'|'documentLibrarySelectDocument'|'agentRunStatusAnnounce'|'graphQueryDeleteWithContext'|'evaluationRunExampleLabel'|'evaluationRunExampleLimit'|'evaluationRunExampleStartedAnnounce'|'evaluationRunExampleCompletedAnnounce'|'evaluationRunExampleFailedAnnounce'|'evaluationRunExampleCancelledAnnounce'|'evaluationRunExampleWaitingInputAnnounce'|'evaluationRunExampleWaitingApprovalAnnounce'|'evaluationRunProgressSummary'|'evaluationRunRunningCount'|'evaluationRunFailedCount'|'retrievalStageQueryRewrite'|'retrievalStageEmbed'|'retrievalStageRetrieve'|'retrievalStageRerank'|'retrievalStageFilter'|'statusUnknown'|'retrievalStageKindUnknown'|'valueTruncated'|'retrievalTraceEvidenceToggle'|'documentCompareOldVersion'|'documentCompareNewVersion'|'agentRunStatusIdle'|'agentRunStatusQueued'|'agentRunStatusCollecting'|'agentRunStatusWaitingInput'|'agentRunStatusWaitingApproval'|'agentRunStatusDone'|'agentRunStatusCancelled'|'localePickerLabel'|'localePickerRequired'|'localePickerSearchLabel'|'localePickerEmpty'|'currencyPickerLabel'|'countryPickerLabel'|'timeZonePickerLabel'|'unitPickerLabel'|'flagLoadError'|'moveUp'|'moveDown'|'reorderMovePending'|'reorderMoveCancelled'|'reorderItemMoved'|'signaturePad'|'signaturePadLabel'|'signaturePadInstructions'|'signaturePadEmpty'|'signaturePadSigned'|'signaturePadPenDown'|'signaturePadPenUp'|'mentionMoreResults'|'commandPaletteResultCount'|'dataGridRowLimit'|'tableRowLimit'|'treeLimit'|'treeSourceError'|'treeSourceSummary'|'graphNodeLimit'|'graphEdgeLimit'|'graphExplorerSearchLimit'|'streamStatusIdle'|'streamStatusConnecting'|'streamStatusStalled'|'generationStatusTokens'|'funnelComparisonShare'|'funnelDropoffIncreased'|'funnelDropoffDecreased'|'retrievalResultsSelectRowOrdinal'|'chunkInspectorOpenOrdinal'|'ragAnswerEmpty'|'retrievalTraceEmpty'|'sourcePickerMatches'|'provenancePanelLimit'|'commitCardFilesLimit'|'taskListLimit'|'evalDatasetLimit'|'mapMarker'|'mapToggleAttribution'|'mapFeedback'|'threadListInputLimit'|'commandPaletteInputLimit'|'promptInputInputLimit'|'sourceSearchUnavailable'|'sourceSelectionLoading'|'sourceSelectionFailed'|'documentLibrarySelectPage'|'chartInputLimit'|'histogramInputLimit'|'calendarInputLimit'|'heatmapInputLimit'|'activityFeedInputLimit'|'catalogPickerInputLimit'|'localePickerInputLimit'|'emojiPickerInputLimit'|'mentionInputLimit'|'transcriptFeedInputLimit'|'spanWaterfallLimit'|'toolTimelineInputLimit'|'retrievalResultsInputLimit'|'ingestionQueueInputLimit'|'tagFacetLimit'|'codeBlockHighlightLimit'|'diffViewHighlightLimit'|'engine3dLoading'|'engine3dUnavailable'|'engine3dUnsupported'|'engine3dContextLost'|'engine3dError'|'engine3dSoftwareRendering'|'engine3dShowingBuiltin'|'engine3dShowingList'|'modelViewerLabel'|'modelViewerAlternative'|'modelViewerInstructions'|'modelViewerReady'|'modelViewerEmpty'|'modelViewerProgress'|'modelViewerInvalid'|'modelViewerUnsupportedFormat'|'modelViewerFit'|'modelViewerRotateLeft'|'modelViewerRotateRight'|'modelViewerRotateUp'|'modelViewerRotateDown'|'largeDataInvalid'|'largeDataLimit'|'mapGeolocateFindLocation'|'mapGeolocateUnavailable'|'mapGeolocatePermissionDenied'|'mapGeolocatePositionUnavailable'|'mapGeolocateTimeout'|'mapGeolocateError'|'mapGeolocateOutOfBounds'|'mapHashConflict'|'mapHashInvalid'|'mapControlUnavailable'|'mapScaleFeet'|'mapScaleMeters'|'mapScaleKilometers'|'mapScaleMiles'|'mapScaleNauticalMiles'|'mapFeatureStateUnavailable'|'mapPickAtCenter'|'mapCancelPick'|'mapDrawingControls'|'mapDrawAtCenter'|'mapUndoDrawing'|'mapCompleteDrawing'|'mapCancelDrawing'|'mapDrawingVertices'|'mapDrawingUnavailable'|'mapDrawingInvalidCoordinate'|'mapDrawingDuplicateVertex'|'mapDrawingVertexLimit'|'mapDrawingTooFewVertices'|'mapDrawingInvalidGeometry'|'mapExportUnavailable'|'mapDrawingVertex'|'mapDrawingEditInstructions'|'panoramaInstructions'|'panoramaHotspotsLabel'|'mapActivate'|'mapDrawingLength'|'mapDrawingArea'|'mapSquareMeters'|'mapSquareKilometers'|'chart3dLabel'|'chart3dEmpty'|'chart3dRow'|'chart3dInstructions'|'chart3dFit'|'chart3dName'|'chart3dSize'|'chart3dCategory'|'chart3dXAxis'|'chart3dYAxis'|'chart3dZAxis';
29
+ export type LyraMessageKey='connectorManagerLabel'|'connectorManagerEmpty'|'connectorManagerLimit'|'connectorManagerKindMcp'|'connectorManagerKindConnector'|'connectorManagerStatusDisconnected'|'connectorManagerStatusConnecting'|'connectorManagerStatusConnected'|'connectorManagerConnect'|'connectorManagerDisconnect'|'connectorManagerConnectFor'|'connectorManagerDisconnectFor'|'connectorManagerRetryFor'|'backgroundRunsLabel'|'backgroundRunsEmpty'|'backgroundRunsLimit'|'backgroundRunsStatusCompleted'|'backgroundRunsStatusFailed'|'backgroundRunsOpenFor'|'backgroundRunsCancelFor'|'researchProgressLabel'|'researchProgressEmpty'|'researchProgressLimit'|'researchProgressStatusPending'|'researchProgressStatusRunning'|'researchProgressStatusCompleted'|'researchProgressStatusFailed'|'researchProgressSources'|'budgetMeterLabel'|'budgetMeterUnavailable'|'budgetMeterExceeded'|'budgetMeterValue'|'budgetMeterPercent'|'toolParamMinLength'|'toolParamMaxLength'|'toolParamMinimum'|'toolParamMaximum'|'toolParamFormat'|'toolParamMinItems'|'toolParamMaxItems'|'toolParamInvalidConstraint'|'toolParamInvalidSelection'|'permissionRulesLabel'|'permissionRulesEmpty'|'permissionRulesLimit'|'permissionRulesDecisionFor'|'permissionRulesScope'|'permissionRulesAllow'|'permissionRulesAsk'|'permissionGrantLabel'|'permissionGrantScopeLabel'|'permissionGrantAllowOnce'|'permissionGrantAllowSession'|'agentQuestionUnsupported'|'changeReviewLabel'|'changeReviewEmpty'|'changeReviewKeep'|'changeReviewDiscard'|'changeReviewPending'|'changeReviewKept'|'changeReviewDiscarded'|'changeReviewHunk'|'changeReviewLimit'|'agentQuestionLabel'|'agentQuestionAccept'|'agentQuestionDecline'|'agentQuestionSubmitted'|'streamInterrupted'|'streamResume'|'genViewEmpty'|'genViewInvalid'|'genViewLoading'|'genViewLoadFailed'|'genViewInvalidState'|'genViewActionDenied'|'genViewConfirmationRequired'|'noData'|'graphDataListLimit'|'graphLegendLabel'|'legendTypeShown'|'legendTypeHidden'|'entityChipWithType'|'jumpToLatest'|'terminalLabel'|'terminalDownload'|'terminalHighlightLine'|'schemaViewerIssueLimit'|'toolParamMissingProperty'|'toolParamBooleanUnset'|'toolParamBooleanTrue'|'toolParamBooleanFalse'|'toolParamSchemaLimit'|'testResultsLimit'|'toolTimelineLimit'|'toolSelectLimit'|'sequenceStripEmpty'|'sequenceStripSourceError'|'sequenceStripSourceItemUnavailable'|'sequenceStripSourceItemLabel'|'sequenceStripSourceRangeDetails'|'sequenceStripSourceKeyboardHelp'|'sequenceStripCategoryCount'|'sequenceStripUnnamedCategory'|'sequenceStripBucketLabel'|'sequenceStripBucketSummary'|'noColumns'|'dataGridColumnMenu'|'dataGridPinStart'|'dataGridPinEnd'|'dataGridUnpin'|'dataGridRowsPerPage'|'dataGridTreeLimitReached'|'loadMore'|'viewerSearchMatchCount'|'viewerSearchNoMatches'|'viewerSearchActiveMatch'|'viewerHighlightLabel'|'tableRowTotal'|'tableFilterLabel'|'tableFilterPlaceholder'|'tableLoading'|'tableLoadingMore'|'tableLoadFailed'|'tableEditCell'|'carousel'|'carouselLabel'|'carouselSlide'|'carouselSlidePosition'|'carouselSlideAnnouncement'|'carouselSlideAnnouncementSeparator'|'carouselIndicators'|'carouselGoTo'|'imageComparerLabel'|'zoomableFrameLabel'|'zoomControls'|'zoomOut'|'zoomIn'|'lightboxLabel'|'lightboxImagePosition'|'scrollerLabel'|'chatViewportLabel'|'newMessagesCount'|'newMessages'|'scrollPrevious'|'scrollNext'|'showAllColumns'|'showFewerColumns'|'clear'|'openCalendar'|'open'|'close'|'closeNavigation'|'openNavigation'|'resizeNavigation'|'appRailCollapse'|'appRailExpand'|'appRailPin'|'appRailUnpin'|'appRailItemCollapse'|'appRailItemExpand'|'resizeColumn'|'resizeValuePixels'|'resizeValuePercent'|'copy'|'copyJson'|'copied'|'expand'|'collapse'|'expandMessage'|'collapseMessage'|'messageActionsLabel'|'regenerateResponse'|'editMessage'|'showMore'|'showMoreCount'|'showLess'|'retry'|'remove'|'removeWithContext'|'playWithContext'|'pauseWithContext'|'loading'|'loadingDocument'|'calendarPreviousMonth'|'calendarNextMonth'|'noMatches'|'previous'|'next'|'paginationLabel'|'paginationPage'|'paginationJumpToPage'|'branchPickerLabel'|'branchPrevious'|'branchNext'|'branchPosition'|'paginationSummary'|'paginationEmptySummary'|'paginationApplied'|'paginationAppliedUnknownTotal'|'cancel'|'confirm'|'search'|'circularReference'|'items'|'item'|'trendOf'|'wordCloud'|'wordCloudLegend'|'wordCloudWordAnnouncement'|'wordCloudPreparedSummary'|'wordCloudPreparedUnavailable'|'avPlayerWaveformUnavailable'|'avPlayerTranscriptUnavailable'|'histogramDistributionSummary'|'histogramDistributionRange'|'graphSourceRecords'|'graphSourceNodes'|'graphSourceEdges'|'graphSourceAllRecords'|'graphSourceIncidentEdges'|'graphSourceDirection'|'graphSourceBothDirections'|'graphSourceTotals'|'graphSourceCoverageComplete'|'graphSourceCoverageNeighborhood'|'graphSourceCoverageAggregate'|'graphSourceRecordsError'|'graphSourceSceneError'|'graphSourceRecordMissing'|'heatmapSourceError'|'heatmapSourceSummary'|'heatmapSourceRangeLabel'|'heatmapSourceExactWindow'|'heatmapSourceKeyboardHelp'|'heatmapSourceMean'|'heatmapSourceMin'|'heatmapSourceMax'|'testResultsInputTooLarge'|'embeddingExplorerSpatialBounds'|'embeddingExplorerSpatialSummary'|'embeddingExplorerSpatialBin'|'embeddingExplorerSpatialError'|'embeddingExplorerSpatialLoading'|'comboboxLoadError'|'comboboxSelectedOverflow'|'promptQueueItemLabel'|'promptQueueActionLabel'|'notInCatalog'|'sendMessage'|'stopGenerating'|'dropzoneReleaseToAdd'|'dropzoneRejectedType'|'fileSizeUnitB'|'fileSizeUnitKb'|'fileSizeUnitMb'|'fileSizeUnitGb'|'fileSizeUnitTb'|'chartCategory'|'chartTotal'|'chartAxisTotal'|'chartPrimaryAxis'|'chartSecondaryAxis'|'chartPointLabel'|'chartPointCoordinates'|'chartBubblePointCoordinates'|'chartLabeledPoint'|'resetZoom'|'chatSending'|'chatResponding'|'chatFailedToSend'|'chatFailedAnnounce'|'chatCompleteAnnounce'|'showMoreCollapsed'|'expandCode'|'collapseCode'|'copyCode'|'copiedToClipboard'|'codeRegion'|'codeRegionWithLanguage'|'markdownTableRegion'|'codeBlockLineLabel'|'copyDiff'|'diffViewOldLabel'|'diffViewNewLabel'|'diffViewHiddenLines'|'diffViewTooLarge'|'jsonArray'|'jsonObject'|'jsonValue'|'jsonCopyLabel'|'jsonExpandLabel'|'jsonCollapseLabel'|'jsonItemCount'|'jsonKeyCount'|'jsonViewerLimit'|'untitledSource'|'sourcePageSuffix'|'toolCall'|'statusPending'|'statusRunning'|'statusSuccess'|'statusError'|'statusDenied'|'statusIncomplete'|'maximize'|'restore'|'wordCloudWord'|'wordCloudWords'|'promptStudioVariableName'|'promptStudioVariableValue'|'schemaViewerLimit'|'subagentPanelLimit'|'pollPause'|'pollResume'|'pollRefresh'|'pollInactive'|'pollRefreshing'|'pollPaused'|'pollPausedAnnounce'|'pollResumedAnnounce'|'pollRefreshingAnnounce'|'randomContentPause'|'randomContentResume'|'randomContentNext'|'attachmentAdd'|'attachmentTriggerFiles'|'attachmentTriggerImage'|'attachmentTriggerCamera'|'attachmentMenuFiles'|'attachmentMenuImage'|'attachmentMenuCamera'|'checkboxRequired'|'checkboxGroupRequired'|'tokenInputRequired'|'tokenInputEditWithContext'|'commandPaletteLabel'|'commandPalettePlaceholder'|'commandPaletteEmpty'|'commandPaletteResults'|'iconButtonLabel'|'codeEditorLabel'|'calendarLabel'|'calendarEmpty'|'calendarEventsOverflow'|'switchRequired'|'citationHighConfidence'|'citationMediumConfidence'|'citationLowConfidence'|'citationVerified'|'citationUnverified'|'contextMeterUsed'|'contextMeterUsedOfTotal'|'contextMeterSegmentLabel'|'gaugeLabel'|'gaugeValueLabel'|'untitledConversation'|'dockPanelCollapse'|'dockPanelExpand'|'dockPanelResize'|'documentPreviewAlt'|'documentPreviewUrlNotAllowed'|'documentPreviewFailedToLoad'|'documentPreviewResourceTooLarge'|'documentPreviewGenericError'|'ebookViewerLoadError'|'ebookViewerMissingLibrary'|'ebookViewerRegionLabel'|'ebookViewerPreviousChapter'|'ebookViewerNextChapter'|'fileTypeFile'|'fileTypePdf'|'fileTypeWord'|'fileTypeSpreadsheet'|'fileTypePresentation'|'fileTypeText'|'fileTypeCode'|'fileTypeArchive'|'fileTypeImage'|'fileTypeAudio'|'fileTypeVideo'|'fileTypeWithSize'|'pptxViewerLabel'|'pptxViewerFidelityNotice'|'pptxViewerRenderError'|'pptxViewerMissingLibrary'|'pptxViewerPreviousSlide'|'pptxViewerNextSlide'|'pptxViewerSlideOf'|'documentViewerLabel'|'attachmentPreviewName'|'attachmentPreviewFile'|'documentViewerMissingSanitizer'|'docxViewerLabel'|'docxViewerMissingConverter'|'svgViewerLabel'|'htmlViewerLabel'|'datasetViewerMissingParser'|'datasetViewerEmpty'|'datasetViewerCaption'|'datasetViewerCaptionNamed'|'contactViewerLabel'|'contactViewerNoContacts'|'contactViewerUnnamedContact'|'contactViewerPhoneLabel'|'contactViewerEmailLabel'|'contactViewerAddressLabel'|'contactViewerOrganization'|'contactViewerTypedValue'|'contactViewerAddressFormat'|'contactViewerTypeHome'|'contactViewerTypeWork'|'contactViewerTypeCell'|'contactViewerTypeVoice'|'contactViewerTypeFax'|'contactViewerTypeInternet'|'contactViewerTypePreferred'|'exportButtonLabel'|'generationStatusElapsedSeconds'|'generationStatusThroughput'|'graphDataList'|'graphSpatialControls'|'graphView3d'|'graphViewList'|'graphFit'|'graphOrbitLeft'|'graphOrbitRight'|'graphOrbitUp'|'graphOrbitDown'|'graphSpatialInstructions'|'graphSpatialUnavailable'|'graphSpatialPage'|'graphItemAnnouncement'|'navigation'|'attachmentRetryWithContext'|'attachmentUploadingWithContext'|'attachmentUploadingProgress'|'attachmentUploadingIndeterminate'|'attachmentUploadFailed'|'attachmentUntitledFile'|'chartTrendIncreasing'|'chartTrendDecreasing'|'chartTrendFlat'|'chartSummary'|'chartSeriesNoData'|'chartSummaryWithData'|'chartSummaryEmpty'|'chartSummarySeparator'|'chartData'|'chartRenderUnavailable'|'chartPreparedSummary'|'chartPreparedUnavailable'|'chartPreparedSummaryZoom'|'chartSpatialSummary'|'chartSpatialRadiusDomain'|'chartSpatialDensityLegend'|'chartSpatialPoint'|'chartSpatialBin'|'chartSpatialHidden'|'chartDataSampled'|'chartPlotSampled'|'chartZoomUnavailable'|'chartDataLabelsUnavailable'|'chartStackTotalsUnavailable'|'chartAnnotationsUnavailable'|'chart'|'chartTypeLine'|'chartTypeBar'|'chartTypeScatter'|'chartTypePie'|'chartTypeDoughnut'|'chartTypeRadar'|'chartTypePolarArea'|'chartTypeBubble'|'boxPlotSeriesSummary'|'boxPlotSummaryWithData'|'boxPlotSummaryEmpty'|'boxPlotData'|'chartSeriesLabel'|'boxPlotMin'|'boxPlotQ1'|'boxPlotMedian'|'boxPlotQ3'|'boxPlotMax'|'boxPlot'|'histogramFrequency'|'liteChartMarkSummary'|'liteChartBarLabel'|'chartValueLabel'|'chartValuePercentageLabel'|'liteChartCustomMarkSummary'|'composerLabel'|'composerPlaceholder'|'textareaLabel'|'citation'|'citationWithStatus'|'citationWithCustomLabel'|'comboboxOverflow'|'comboboxRequired'|'comboboxCreate'|'comboboxLabel'|'rename'|'previousMonth'|'nextMonth'|'chooseDate'|'date'|'dateInputMinMessage'|'dateInputMaxMessage'|'dateInputPastDisabled'|'dateInputFutureDisabled'|'dateInputInvalid'|'timeInputLabel'|'timeInputHour'|'timeInputMinute'|'timeInputSecond'|'timeInputDayPeriod'|'timeInputEmptySegment'|'timeInputOpen'|'timeInputPopup'|'timeInputNow'|'timeInputInvalid'|'timeInputMinMessage'|'timeInputMaxMessage'|'timeInputRangeMessage'|'timeInputStepMessage'|'documentPreviewEmpty'|'convertingDocument'|'documentPreviewNotAvailable'|'documentPreviewGenericFile'|'documentPreviewTypeDocument'|'documentPreviewTypeImage'|'documentPreviewTypeEmail'|'documentPreviewTypeCalendar'|'archiveViewerEmpty'|'archiveViewerFolder'|'archiveViewerFile'|'documentPreviewTypeDataset'|'documentPreviewTypeContact'|'download'|'exportFormatMenuLabel'|'fileInputDefaultLabel'|'fileInputAcceptedOne'|'fileInputAcceptedMany'|'fileInputRejectedOne'|'fileInputRejectedMany'|'fileInputFolderRejected'|'fileInputRejectedType'|'fileInputRejectedSize'|'fileInputRejectedCount'|'fileInputRejectedRead'|'fileInputRejectedLimit'|'fileInputRejectedMaxFiles'|'fileInputRejectedMaxTotalSize'|'elapsedMinutesSecondsTemplate'|'graphNode'|'graphLink'|'graphDiagram'|'graphTypedNode'|'graphExpandableItem'|'graphNodeFocused'|'graphSelectionCount'|'graphNodesHidden'|'graphCommunity'|'heatmapValueLabel'|'heatmapMatrixCellLabel'|'heatmapCalendarLabel'|'heatmapMatrixLabel'|'heatmapCalendarCellLabel'|'heatmapNoDataValue'|'heatmapDefaultRowLabel'|'heatmapDefaultColLabel'|'heatmapSelectedCellLabel'|'heatmapSelectedCount'|'mapResetNorth'|'heatmapProjectionLimit'|'heatmapDecorationLimit'|'funnelStagesLimit'|'inputLabel'|'showPassword'|'hidePassword'|'radioRequired'|'progress'|'responsivePanel'|'popover'|'details'|'breadcrumb'|'timeline'|'timelineClusterCount'|'rating'|'sliderLabel'|'feedbackPositive'|'feedbackNegative'|'feedbackReasonsLabel'|'feedbackCommentLabel'|'feedbackCommentPlaceholder'|'feedbackSubmit'|'feedbackSubmitted'|'colorPicker'|'mediaCardUntitledFile'|'mediaCardOpenName'|'mediaCardOpenImageAttachment'|'mediaCardOpenVideoAttachment'|'mediaCardOpenFileAttachment'|'mediaCardImageAttachment'|'mediaCardVideoAttachment'|'animatedImageDefaultAlt'|'mentionSuggestions'|'mentionResultCount'|'mentionResultPosition'|'suggestionsLabel'|'map'|'model'|'selectModel'|'modelSelectNoModels'|'modelSelectRequired'|'temperature'|'play'|'playbackPosition'|'playbackStepPosition'|'videoPlayerLabel'|'videoMute'|'videoUnmute'|'videoVolume'|'videoCaptions'|'videoCaptionsOff'|'videoPictureInPicture'|'videoExitPictureInPicture'|'videoEnterFullscreen'|'videoExitFullscreen'|'videoPlaylistLabel'|'videoPlaylistUntitled'|'selectValueMissing'|'select'|'sourceListDefaultLabel'|'threadListLabel'|'threadGroupPinned'|'threadGroupToday'|'threadGroupYesterday'|'threadGroupPrevious7Days'|'threadGroupPrevious30Days'|'threadGroupArchived'|'threadGroupExpand'|'threadGroupCollapse'|'pinConversation'|'unpinConversation'|'archiveConversation'|'unarchiveConversation'|'deleteConversation'|'searchThreads'|'threadListMatchAnnounce'|'threadListEmpty'|'agentWorkspaceLabel'|'agentWorkspaceInputLimit'|'agentWorkspaceConversation'|'agentWorkspaceDetails'|'agentWorkspaceRun'|'agentWorkspaceTools'|'agentWorkspaceRetrieval'|'agentWorkspaceGrounding'|'agentWorkspaceContext'|'agentWorkspaceEmpty'|'ragAnswerLabel'|'ragAnswerCitations'|'ragAnswerSources'|'ragAnswerRetry'|'evaluationDashboardLabel'|'evaluationDashboardRunsLabel'|'evaluationDashboardNoRuns'|'approvalQueueLabel'|'approvalQueueLimit'|'approvalQueueEmpty'|'approvalQueueOpen'|'approvalQueuePendingCount'|'approvalQueuePending'|'embeddingExplorerLabel'|'embeddingExplorerEmpty'|'embeddingExplorerPoint'|'embeddingExplorerPointLimit'|'knowledgeBaseAdminLabel'|'knowledgeBaseAdminInputLimit'|'knowledgeBaseAdminSourcesTab'|'knowledgeBaseAdminIngestionTab'|'resizeDivider'|'trendUnchanged'|'statTrendIncreased'|'statTrendDecreased'|'statTrendGood'|'statTrendBad'|'statTrendAnnouncement'|'streamStalled'|'streamStallAnnounce'|'streamRecoverAnnounce'|'streamStallClearedAnnounce'|'thinkingPanelLabel'|'messagePartsLabel'|'messagePartError'|'messagePartRetry'|'promptQueueLabel'|'promptQueueEmpty'|'promptQueueInputLimit'|'promptQueueAttachmentLimit'|'promptQueueSendNow'|'selectionToolbarLabel'|'selectionAsk'|'selectionQuote'|'selectionCite'|'promptInputLabel'|'promptInputControls'|'promptInputSources'|'promptInputAttachments'|'mcpAppLabel'|'mcpAppUnavailable'|'mcpAppLoading'|'taskListLabel'|'taskListCompletedOfTotal'|'taskListStepStartedAnnounce'|'taskListStepCompletedAnnounce'|'taskListStepFailedAnnounce'|'taskListStepIncompleteAnnounce'|'activityFeedLabel'|'activityFeedCompletedSteps'|'handoffLabel'|'handoffToAgent'|'handoffFromToAgent'|'usageBadgeLabel'|'usageBadgeTokensIn'|'usageBadgeTokensOut'|'usageBadgeTokensInLabel'|'usageBadgeTokensOutLabel'|'usageBadgeTotalTokensLabel'|'usageBadgeCostLabel'|'usageBadgeLatencyLabel'|'checkpointLabel'|'checkpointRestore'|'checkpointRestoreWithContext'|'checkpointRestoring'|'checkpointConfirmPrompt'|'thoughtFor'|'thinking'|'rangeStart'|'rangeEnd'|'calloutAnnouncementWithContext'|'closeWithContext'|'closeWithTruncatedContext'|'toastContentIncomplete'|'toastOverflow'|'toolApprovalHeading'|'toolApprovalGenericTool'|'toolApprovalArgsLabel'|'confirmApproved'|'confirmDenied'|'confirmApprovedAnnounce'|'confirmDeniedAnnounce'|'deny'|'edit'|'approve'|'invalidJson'|'fieldRequired'|'fieldMustBeString'|'fieldMustBeNumber'|'fieldMustBeInteger'|'fieldMustBeBoolean'|'unsupportedFieldType'|'fieldMustBeOneOf'|'fieldMustEqual'|'schemaMustBeObject'|'schemaPropertiesMustBeFlat'|'valueMustBeSerializable'|'valueInvalid'|'matchMismatch'|'phoneInputLabel'|'phoneInputIncomplete'|'otpInputIncomplete'|'otpInputLabel'|'numberInputIncrease'|'numberInputDecrease'|'textareaCharacterCount'|'textareaCharactersRemaining'|'copyFailed'|'colorPickerSaturationBrightness'|'colorPickerSaturationBrightnessValue'|'colorPickerHue'|'colorPickerHueValue'|'colorPickerOpacity'|'colorPickerOpacityValue'|'colorPickerValueField'|'colorPickerToggleFormat'|'colorPickerEyeDropper'|'colorPickerSwatches'|'colorPickerSwatch'|'colorPickerCurrentValue'|'selectSelectedOverflow'|'iconLoadError'|'iconTooLarge'|'iconSanitizerMissing'|'paginationFirstPage'|'paginationLastPage'|'accessibleLabelSeparator'|'durationMilliseconds'|'durationSeconds'|'selectTools'|'searchToolsPlaceholder'|'useDefaultTools'|'toolSelectCustomizeHint'|'noMatchesQuery'|'toolSelectNoneAvailable'|'toolSelectSummary'|'toolCount'|'otherCategory'|'widgetFullscreenPanel'|'widgetViewGroup'|'widgetExitFullscreen'|'widgetExpandToFullscreen'|'widgetCollapse'|'widgetExpand'|'menuLabel'|'pause'|'kbdEscapeVisual'|'kbdEscapeWord'|'kbdTabWord'|'kbdSpaceWord'|'kbdDeleteVisual'|'kbdDeleteWord'|'kbdHomeWord'|'kbdEndWord'|'kbdPageUpVisual'|'kbdPageUpWord'|'kbdPageDownVisual'|'kbdPageDownWord'|'kbdEnterWord'|'kbdBackspaceWord'|'kbdArrowUpWord'|'kbdArrowDownWord'|'kbdArrowLeftWord'|'kbdArrowRightWord'|'kbdPlusWord'|'kbdMinusWord'|'kbdCommandWord'|'kbdControlVisual'|'kbdControlWord'|'kbdOptionWord'|'kbdAltWord'|'kbdShiftWord'|'emailViewerLabel'|'emailViewerMissingParser'|'emailViewerFrom'|'emailViewerTo'|'emailViewerSubject'|'emailViewerDate'|'emailViewerAttachments'|'emailViewerUnnamedAttachment'|'emailViewerNoSubject'|'emailViewerOpenAttachment'|'emailViewerShowQuoted'|'emailViewerHideQuoted'|'emailViewerGroupAddress'|'calendarViewerLabel'|'calendarViewerMissingParser'|'calendarViewerEmpty'|'calendarViewerNoSummary'|'pdfViewerLabel'|'pdfViewerMissingLibrary'|'qrCodeMissingLibrary'|'qrCodeGenerationFailed'|'mapMissingLibrary'|'mapStyleRequired'|'mapWebglUnavailable'|'mapInitializationFailed'|'mapLegend'|'chartMissingLibrary'|'boxPlotMissingLibrary'|'graphMissingLibrary'|'pdfViewerPageOf'|'pdfViewerZoomIn'|'pdfViewerZoomOut'|'pdfViewerCurrentZoom'|'pdfViewerPreviousPage'|'pdfViewerNextPage'|'anchorJumped'|'anchorJumpedToPage'|'anchorNotFound'|'highlightLayerLabel'|'highlightWithLabel'|'cellHighlightWithLabel'|'highlightOfTotal'|'pageRailLabel'|'pageRailPage'|'pageRailPageHighlighted'|'spreadsheetViewerUnavailable'|'csvViewerUnavailable'|'csvViewerLabel'|'spreadsheetViewerLabel'|'knownDateDay'|'knownDateMonth'|'knownDateYear'|'skipToContent'|'tourSkip'|'tourDone'|'tourStepOf'|'emojiPickerSearchLabel'|'emojiPickerSearchPlaceholder'|'emojiPickerGridLabel'|'emojiPickerEmpty'|'emojiPickerLoadError'|'emojiPickerPeerMissing'|'emojiPickerGroupSmileysEmotion'|'emojiPickerGroupPeopleBody'|'emojiPickerGroupComponent'|'emojiPickerGroupAnimalsNature'|'emojiPickerGroupFoodDrink'|'emojiPickerGroupTravelPlaces'|'emojiPickerGroupActivities'|'emojiPickerGroupObjects'|'emojiPickerGroupSymbols'|'emojiPickerGroupFlags'|'emojiPickerGroupUnknown'|'pushToTalkRequesting'|'pushToTalkDenied'|'pushToTalkError'|'pushToTalkUnsupported'|'pushToTalkStarted'|'pushToTalkStopped'|'pushToTalkCancelled'|'pushToTalkHold'|'pushToTalkStart'|'pushToTalkStop'|'traceTree'|'traceTreeSpanStatus'|'traceTreeMetricLabel'|'spanProjectionLimit'|'agentTraceFilterLabel'|'spanKindAgent'|'spanKindLlm'|'spanKindTool'|'spanKindRetriever'|'spanKindEmbedding'|'spanKindOther'|'tokensIn'|'tokensOut'|'cost'|'duration'|'spanWaterfall'|'spanStartedAtOffset'|'rubricSubmit'|'rubricSubmitAndNext'|'rubricSkip'|'compareResponseA'|'compareResponseB'|'compareVoteLabel'|'compareVoteBetter'|'compareVoteTie'|'compareVoteBothBad'|'compareVoteRecorded'|'comparePanel'|'audioVisualizerLabel'|'audioVisualizerIdle'|'audioVisualizerListening'|'audioVisualizerThinking'|'audioVisualizerSpeaking'|'treeNodeMoved'|'fileTreeLabel'|'fileTreeDiffSummary'|'gitStatusAdded'|'gitStatusModified'|'gitStatusDeleted'|'gitStatusRenamed'|'gitStatusUntracked'|'gitStatusConflicted'|'gitStatusIgnored'|'imageViewerLabel'|'imageViewerFailedToLoad'|'imageViewerRotate'|'imageViewerFitLabel'|'imageViewerFitContain'|'imageViewerFitWidth'|'imageViewerFitActual'|'imageViewerAnnotate'|'imageViewerHighlightsLabel'|'imageViewerUnlabeledHighlight'|'imageViewerAnnotationHint'|'imageViewerAnnotationBoxPosition'|'imageViewerAnnotationAdded'|'imageViewerAnnotationCancelled'|'transcriptFeedLabel'|'transcriptFeedEmpty'|'transcriptFeedInterim'|'commitCardLabel'|'commitCardCopyHash'|'commitCardDiffSummary'|'commitCardShowFiles'|'commitCardHideFiles'|'stackTraceLabel'|'stackTraceLimit'|'stackTraceShowFrames'|'stackTraceHideFrames'|'statusSkipped'|'testResultsLabel'|'testResultsPassed'|'testResultsFailed'|'testResultsSkipped'|'testResultsRunning'|'testResultsFilterLabel'|'testResultsCompleteAnnounce'|'testResultsExpandTest'|'testResultsCollapseTest'|'envListLabel'|'envListReveal'|'envListHide'|'envListValueHidden'|'envListCopy'|'voice'|'voicePickerNoVoices'|'voicePickerRequired'|'voicePickerPreview'|'voicePickerStopPreview'|'avPlayerLabel'|'avPlayerFailedToLoad'|'avPlayerTranscript'|'avPlayerTimeline'|'avPlayerPlaybackRate'|'avPlayerRateOption'|'avPlayerPosition'|'attachmentTriggerAudio'|'attachmentMenuAudio'|'browserFrameLabel'|'browserFrameUrlLabel'|'browserFrameViewOf'|'browserFrameTakeOver'|'browserFrameHandBack'|'browserFrameStop'|'browserFrameStatusIdle'|'browserFrameStatusConnecting'|'browserFrameStatusLive'|'browserFrameStatusStalled'|'browserFrameControllerAgent'|'browserFrameControllerUser'|'notebookViewerLabel'|'notebookViewerInvalid'|'notebookViewerUnsupportedVersion'|'notebookViewerTooManyCells'|'notebookViewerInPrompt'|'notebookViewerInPromptEmpty'|'notebookViewerCodeCell'|'notebookViewerMarkdownCell'|'notebookViewerRawCell'|'notebookViewerErrorOutput'|'notebookViewerShowAllOutput'|'notebookViewerCollapseOutput'|'notebookViewerUnrenderedOutput'|'xmlViewerLabel'|'xmlViewerParseError'|'xmlViewerTooManyNodes'|'xmlViewerLimit'|'xmlViewerChildCount'|'xmlViewerCopyDocument'|'xmlViewerCopyNode'|'xmlViewerExpandNode'|'xmlViewerCollapseNode'|'artifactPanelLabel'|'artifactPanelPreview'|'artifactPanelCode'|'artifactPanelPreviousVersion'|'artifactPanelNextVersion'|'artifactPanelVersionPosition'|'artifactPanelRestore'|'artifactPanelGenerating'|'resultFieldLabel'|'geojsonViewLabel'|'geojsonViewInvalid'|'geojsonViewFeatureCount'|'geojsonViewMissingMapLibrary'|'mindMapLabel'|'mindMapTopicStatus'|'mindMapLeafStatus'|'mindMapExpanded'|'mindMapCollapsed'|'mindMapNodeLimit'|'mindMapInputLimit'|'entityDegree'|'entityCommunity'|'focusInGraph'|'untitledEntity'|'untitledCommunity'|'communityMemberCount'|'communityDrillIn'|'selectAllSources'|'sourcePickerSelection'|'provenancePanelLabel'|'provenanceEntities'|'provenanceRelationships'|'provenanceCommunities'|'provenanceChunks'|'provenanceEmpty'|'chunkInspectorLabel'|'chunkScore'|'scoreTierHigh'|'scoreTierMedium'|'scoreTierLow'|'chunkInspectorEmpty'|'flowCanvasLabel'|'flowCanvasLayoutLimit'|'flowCanvasInputLimit'|'flowCanvasSummary'|'flowNode'|'flowEdge'|'flowEdgeWithLabel'|'flowItemAnnouncement'|'dashboardGridLabel'|'dashboardCellCollisionRejected'|'dashboardCellMoved'|'dashboardCellResized'|'flowEdgeList'|'flowNodeSelected'|'flowNodeDeselected'|'flowSelectionCleared'|'flowNodeMoved'|'flowConnectStarted'|'flowConnectTarget'|'flowConnectCommitted'|'flowConnectCancelled'|'zoomToFit'|'flowLockCanvas'|'flowControlsLabel'|'flowMinimapLabel'|'flowMinimapSourceUnavailable'|'flowMinimapViewport'|'flowMinimapInstructions'|'flowMinimapViewportChanged'|'nodePaletteLabel'|'nodePalettePlaceholder'|'nodePaletteEmpty'|'nodePaletteDragHint'|'nodePaletteResultCount'|'pathStripLabel'|'pathNodeStatus'|'pathRelationStatus'|'flowInputHandle'|'flowOutputHandle'|'flowStatusWithDuration'|'flowStatusWithDetail'|'neighborListLabel'|'neighborRowLabel'|'neighborDirectionIn'|'neighborDirectionOut'|'neighborDirectionBoth'|'neighborExpand'|'neighborListEmpty'|'neighborSourceChoose'|'neighborSourceError'|'neighborSourceSummary'|'neighborGroupHeader'|'flowRunStatusLabel'|'flowRunSummary'|'flowRunStepStatus'|'flowRunStatusCount'|'policySummaryLabel'|'policySummaryLimit'|'policySummaryAllowCount'|'policySummaryDenyCount'|'policySummaryNeedsReviewCount'|'policySummaryStateAllow'|'policySummaryStateDeny'|'policySummaryStateNeedsReview'|'policySummaryCategoryGuardrail'|'policySummaryCategoryPermission'|'policySummaryCategoryPrivacy'|'policySummaryCategoryTool'|'policySummaryDetailLabel'|'evalDatasetLabel'|'evalDatasetAddExample'|'evalDatasetRemoveExample'|'evalDatasetImportLabel'|'evalDatasetSearchLabel'|'evalDatasetTagFilterLabel'|'evalDatasetEmpty'|'evalDatasetNoMatches'|'evalDatasetColumnInput'|'evalDatasetColumnExpectedOutput'|'evalDatasetColumnTags'|'queryBuilderLabel'|'queryBuilderEmpty'|'queryBuilderNoFields'|'queryBuilderAddCondition'|'queryBuilderRemoveCondition'|'queryBuilderFieldLabel'|'queryBuilderFieldPlaceholder'|'queryBuilderOperatorLabel'|'queryBuilderOperatorPlaceholder'|'queryBuilderValueLabel'|'queryBuilderValuePlaceholder'|'queryBuilderCombinatorLabel'|'queryBuilderCombinatorAnd'|'queryBuilderCombinatorOr'|'queryBuilderBooleanTrue'|'queryBuilderBooleanFalse'|'queryBuilderOperatorEquals'|'queryBuilderOperatorNotEquals'|'queryBuilderOperatorGreaterThan'|'queryBuilderOperatorGreaterThanOrEqual'|'queryBuilderOperatorLessThan'|'queryBuilderOperatorLessThanOrEqual'|'queryBuilderOperatorAfter'|'queryBuilderOperatorOnOrAfter'|'queryBuilderOperatorBefore'|'queryBuilderOperatorOnOrBefore'|'queryBuilderOperatorContains'|'queryBuilderOperatorStartsWith'|'queryBuilderOperatorEndsWith'|'queryBuilderOperatorIn'|'queryBuilderOperatorNotIn'|'queryBuilderOperatorIsEmpty'|'queryBuilderOperatorIsNotEmpty'|'memoryPanelLabel'|'memoryPanelShortTermHeading'|'memoryPanelLongTermHeading'|'memoryPanelAdd'|'memoryPanelAddWithContext'|'memoryPanelForgetAll'|'memoryPanelConfirmAddHeading'|'memoryPanelConfirmRemoveHeading'|'memoryPanelConfirmForgetHeading'|'memoryPanelConfirmForgetBody'|'memoryPanelItemsLimit'|'graphExplorerLabel'|'graphExplorerAllTypesHidden'|'graphExplorerClearTypes'|'graphExplorerSearchPlaceholder'|'graphExplorerSearchResultsLabel'|'graphExplorerPin'|'graphExplorerUnpin'|'graphExplorerPinned'|'graphExplorerUnpinned'|'graphExplorerPinnedHeading'|'graphExplorerFindPath'|'retrievalModeVector'|'retrievalModeKeyword'|'retrievalModeHybrid'|'retrievalSearchLabel'|'retrievalModeLabel'|'retrievalFiltersLabel'|'groundingSummaryLabel'|'groundingSummaryEmpty'|'groundingSummarySupportedLabel'|'groundingSummaryUnsupportedLabel'|'groundingSummaryCoverageLabel'|'groundingSummaryConfidenceLabel'|'groundingSummaryWarningsHeading'|'groundingSummaryEvidenceHeading'|'groundingSummaryCitationsLimit'|'claimEvidenceLabel'|'claimEvidenceEmpty'|'claimEvidenceSupported'|'claimEvidencePartiallySupported'|'claimEvidenceUnsupported'|'claimEvidenceContradicted'|'claimEvidenceConfidence'|'claimEvidenceClaimsLimit'|'retrievalCompareLabel'|'retrievalCompareEmpty'|'retrievalCompareInputLimit'|'retrievalCompareResultLimit'|'retrievalCompareOverlap'|'retrievalCompareRank'|'retrievalCompareDenseScore'|'retrievalCompareSparseScore'|'retrievalCompareRerankScore'|'retrievalCompareFinalScore'|'ragEvalDashboardLabel'|'ragEvalDashboardEmpty'|'ragEvalDashboardInputLimit'|'ragEvalDashboardSlicesLimit'|'ragEvalDashboardRuns'|'ragEvalDashboardSlices'|'ragEvalDashboardAllSlices'|'ragEvalDashboardSliceUnavailable'|'ragEvalDashboardRunsLimit'|'promptStudioLabel'|'promptStudioMessages'|'promptStudioVariables'|'promptStudioVersions'|'promptStudioPreview'|'promptStudioPreviewLimit'|'promptStudioRun'|'promptStudioSave'|'promptStudioAddMessage'|'promptStudioRemoveMessage'|'promptStudioMessageRole'|'promptStudioMessageContent'|'promptStudioRoleSystem'|'promptStudioRoleUser'|'promptStudioRoleAssistant'|'promptStudioRoleTool'|'schemaViewerLabel'|'schemaViewerEmpty'|'schemaViewerRequired'|'schemaViewerCircular'|'schemaViewerType'|'subagentPanelLabel'|'subagentPanelEmpty'|'subagentPanelRetry'|'subagentPanelCancelRun'|'subagentPanelRetryRun'|'toolTimelineDetailsFor'|'toolCallBlockHeaderPending'|'toolCallBlockHeaderRunning'|'toolCallBlockHeaderSuccess'|'toolCallBlockHeaderError'|'toolCallBlockHeaderDenied'|'toolCallBlockHeaderIncomplete'|'toolCallBlockArgumentsLabel'|'toolCallBlockResultLabel'|'toolCallBlockErrorLabel'|'realtimeSessionLabel'|'realtimeSessionDisconnected'|'realtimeSessionConnecting'|'realtimeSessionConnected'|'realtimeSessionReconnecting'|'realtimeSessionError'|'realtimeSessionConnect'|'realtimeSessionDisconnect'|'realtimeSessionMute'|'realtimeSessionUnmute'|'realtimeSessionInterrupt'|'realtimeSessionConnectionFailed'|'contextInspectorRedacted'|'contextInspectorTruncated'|'contextInspectorLabel'|'contextInspectorEmpty'|'contextInspectorCopyLabel'|'knowledgeBaseSyncIdle'|'knowledgeBaseSyncSyncing'|'knowledgeBaseSyncPaused'|'knowledgeBaseSyncSynced'|'knowledgeBaseSyncError'|'knowledgeBaseHealthHealthy'|'knowledgeBaseHealthDegraded'|'knowledgeBaseHealthFailed'|'knowledgeBaseHealthUnknown'|'knowledgeBasePermissionOwner'|'knowledgeBasePermissionEditor'|'knowledgeBasePermissionViewer'|'knowledgeBasePermissionRestricted'|'knowledgeBaseNeverSynced'|'knowledgeBaseSyncAction'|'knowledgeBasePauseAction'|'knowledgeBaseDeleteAction'|'knowledgeBaseNameColumn'|'knowledgeBaseSyncColumn'|'knowledgeBaseHealthColumn'|'knowledgeBasePermissionColumn'|'knowledgeBaseActionsColumn'|'knowledgeBaseTotalSources'|'knowledgeBaseSyncedSources'|'knowledgeBaseSyncingSources'|'knowledgeBaseNeedsAttention'|'knowledgeBaseHeading'|'knowledgeBaseCreateSource'|'knowledgeBaseEmptyHeading'|'ingestionStageQueued'|'ingestionStageUploading'|'ingestionStageExtracting'|'ingestionStageChunking'|'ingestionStageEmbedding'|'ingestionStageIndexing'|'ingestionStageDone'|'ingestionStageFailed'|'ingestionStageCancelled'|'ingestionStageUnknown'|'ingestionQueueLabel'|'ingestionQueueEmpty'|'documentLibraryFreshnessFresh'|'documentLibraryFreshnessAging'|'documentLibraryFreshnessStale'|'documentLibrarySelectAll'|'documentLibrarySelectColumn'|'documentLibraryTypeColumn'|'documentLibraryNameColumn'|'documentLibraryVersionColumn'|'documentLibraryOwnerColumn'|'documentLibraryTagsColumn'|'documentLibraryFreshnessColumn'|'documentLibraryUpdatedColumn'|'documentLibraryLabel'|'documentLibraryEmptyHeading'|'documentLibraryNoMatchesHeading'|'documentLibrarySearchPlaceholder'|'documentLibraryFilterByTag'|'documentLibraryClearSelection'|'documentLibrarySelectedCount'|'documentCompareNoVersion'|'documentCompareLabel'|'agentRunCurrentStepLabel'|'graphQueryHopRangeInvalid'|'graphQueryRelationshipTypeLabel'|'graphQueryNodeTypeLabel'|'graphQueryBuilderLabel'|'graphQueryStartLabel'|'graphQueryEndLabel'|'graphQueryMinHopsLabel'|'graphQueryMaxHopsLabel'|'graphQueryDirectionLabel'|'graphQueryRun'|'graphQuerySavedQueriesLabel'|'graphQuerySaveNameLabel'|'graphQuerySaveButton'|'graphQueryLoadWithContext'|'filterBarReset'|'filterBarActiveFilters'|'drilldownDocuments'|'drilldownRuns'|'drilldownEmpty'|'drilldownUntitledNode'|'evaluationRunGroundingHeading'|'evaluationRunToolTraceHeading'|'evaluationRunInputHeading'|'evaluationRunOutputHeading'|'evaluationRunLabel'|'evaluationRunProgressLabel'|'retrievalFilterChipLabel'|'retrievalSearchEmptyDescription'|'groundingSummaryEvidenceSpan'|'contextInspectorTruncatedCount'|'contextInspectorSegmentTokens'|'contextInspectorLimit'|'knowledgeBaseDocumentCount'|'knowledgeBaseRowActionsLabel'|'knowledgeBaseEmptyDescription'|'ingestionChunkCount'|'ingestionItemProgressLabel'|'ingestionEmbeddedOfTotal'|'ingestionAttemptCount'|'ingestionRetryWithContext'|'ingestionCancelWithContext'|'documentLibrarySelectDocument'|'agentRunStatusAnnounce'|'graphQueryDeleteWithContext'|'evaluationRunExampleLabel'|'evaluationRunExampleLimit'|'evaluationRunExampleStartedAnnounce'|'evaluationRunExampleCompletedAnnounce'|'evaluationRunExampleFailedAnnounce'|'evaluationRunExampleCancelledAnnounce'|'evaluationRunExampleWaitingInputAnnounce'|'evaluationRunExampleWaitingApprovalAnnounce'|'evaluationRunProgressSummary'|'evaluationRunRunningCount'|'evaluationRunFailedCount'|'retrievalStageQueryRewrite'|'retrievalStageEmbed'|'retrievalStageRetrieve'|'retrievalStageRerank'|'retrievalStageFilter'|'statusUnknown'|'retrievalStageKindUnknown'|'valueTruncated'|'retrievalTraceEvidenceToggle'|'documentCompareOldVersion'|'documentCompareNewVersion'|'agentRunStatusIdle'|'agentRunStatusQueued'|'agentRunStatusCollecting'|'agentRunStatusWaitingInput'|'agentRunStatusWaitingApproval'|'agentRunStatusDone'|'agentRunStatusCancelled'|'localePickerLabel'|'localePickerRequired'|'localePickerSearchLabel'|'localePickerEmpty'|'currencyPickerLabel'|'countryPickerLabel'|'timeZonePickerLabel'|'unitPickerLabel'|'flagLoadError'|'moveUp'|'moveDown'|'reorderMovePending'|'reorderMoveCancelled'|'reorderItemMoved'|'signaturePad'|'signaturePadLabel'|'signaturePadInstructions'|'signaturePadEmpty'|'signaturePadSigned'|'signaturePadPenDown'|'signaturePadPenUp'|'mentionMoreResults'|'commandPaletteResultCount'|'dataGridRowLimit'|'tableRowLimit'|'treeLimit'|'treeSourceError'|'treeSourceSummary'|'graphNodeLimit'|'graphEdgeLimit'|'graphExplorerSearchLimit'|'streamStatusIdle'|'streamStatusConnecting'|'streamStatusStalled'|'generationStatusTokens'|'funnelComparisonShare'|'funnelDropoffIncreased'|'funnelDropoffDecreased'|'retrievalResultsSelectRowOrdinal'|'chunkInspectorOpenOrdinal'|'ragAnswerEmpty'|'retrievalTraceEmpty'|'sourcePickerMatches'|'provenancePanelLimit'|'commitCardFilesLimit'|'taskListLimit'|'evalDatasetLimit'|'mapMarker'|'mapToggleAttribution'|'mapFeedback'|'threadListInputLimit'|'commandPaletteInputLimit'|'promptInputInputLimit'|'sourceSearchUnavailable'|'sourceSelectionLoading'|'sourceSelectionFailed'|'documentLibrarySelectPage'|'chartInputLimit'|'histogramInputLimit'|'calendarInputLimit'|'heatmapInputLimit'|'activityFeedInputLimit'|'catalogPickerInputLimit'|'localePickerInputLimit'|'emojiPickerInputLimit'|'mentionInputLimit'|'transcriptFeedInputLimit'|'spanWaterfallLimit'|'toolTimelineInputLimit'|'retrievalResultsInputLimit'|'ingestionQueueInputLimit'|'tagFacetLimit'|'codeBlockHighlightLimit'|'diffViewHighlightLimit'|'engine3dLoading'|'engine3dUnavailable'|'engine3dUnsupported'|'engine3dContextLost'|'engine3dError'|'engine3dSoftwareRendering'|'engine3dShowingBuiltin'|'engine3dShowingList'|'modelViewerLabel'|'modelViewerAlternative'|'modelViewerInstructions'|'modelViewerReady'|'modelViewerEmpty'|'modelViewerProgress'|'modelViewerInvalid'|'modelViewerUnsupportedFormat'|'modelViewerFit'|'modelViewerRotateLeft'|'modelViewerRotateRight'|'modelViewerRotateUp'|'modelViewerRotateDown'|'largeDataInvalid'|'largeDataLimit'|'mapGeolocateFindLocation'|'mapGeolocateUnavailable'|'mapGeolocatePermissionDenied'|'mapGeolocatePositionUnavailable'|'mapGeolocateTimeout'|'mapGeolocateError'|'mapGeolocateOutOfBounds'|'mapHashConflict'|'mapHashInvalid'|'mapControlUnavailable'|'mapScaleFeet'|'mapScaleMeters'|'mapScaleKilometers'|'mapScaleMiles'|'mapScaleNauticalMiles'|'mapFeatureStateUnavailable'|'mapPickAtCenter'|'mapCancelPick'|'mapDrawingControls'|'mapDrawAtCenter'|'mapUndoDrawing'|'mapCompleteDrawing'|'mapCancelDrawing'|'mapDrawingVertices'|'mapDrawingUnavailable'|'mapDrawingInvalidCoordinate'|'mapDrawingDuplicateVertex'|'mapDrawingVertexLimit'|'mapDrawingTooFewVertices'|'mapDrawingInvalidGeometry'|'mapExportUnavailable'|'mapDrawingVertex'|'mapDrawingEditInstructions'|'panoramaInstructions'|'panoramaHotspotsLabel'|'mapActivate'|'mapDrawingLength'|'mapDrawingArea'|'mapSquareMeters'|'mapSquareKilometers'|'chart3dLabel'|'chart3dEmpty'|'chart3dRow'|'chart3dInstructions'|'chart3dFit'|'chart3dName'|'chart3dSize'|'chart3dCategory'|'chart3dXAxis'|'chart3dYAxis'|'chart3dZAxis';
30
30
  /**
31
31
  * Message-catalog input. Registration and per-instance `.strings` assignment snapshot eligible
32
32
  * own data properties; retained catalogs are immutable, so reassign or re-register to publish a
@@ -1,4 +1,4 @@
1
- import{resolveLyraString as resolveRuntimeLyraString}from"./localization-runtime.js";const DEFAULT_STRINGS={connectorManagerLabel:"Connectors",connectorManagerEmpty:"No connectors are available.",connectorManagerLimit:"Showing the first {count} connectors.",connectorManagerKindMcp:"MCP server",connectorManagerKindConnector:"Connector",connectorManagerStatusDisconnected:"Disconnected",connectorManagerStatusConnecting:"Connecting",connectorManagerStatusConnected:"Connected",connectorManagerConnect:"Connect",connectorManagerDisconnect:"Disconnect",connectorManagerConnectFor:"Connect {name}",connectorManagerDisconnectFor:"Disconnect {name}",connectorManagerRetryFor:"Retry connection for {name}",backgroundRunsLabel:"Background runs",backgroundRunsEmpty:"No background runs are available.",backgroundRunsLimit:"Showing the first {count} background runs.",backgroundRunsStatusCompleted:"Completed",backgroundRunsStatusFailed:"Failed",backgroundRunsOpenFor:"Open {label}",backgroundRunsCancelFor:"Cancel {label}",researchProgressLabel:"Research progress",researchProgressEmpty:"No research steps are available.",researchProgressLimit:"Showing the first {count} research steps.",researchProgressStatusPending:"Pending",researchProgressStatusRunning:"In progress",researchProgressStatusCompleted:"Completed",researchProgressStatusFailed:"Failed",researchProgressSources:{one:"{count} source",other:"{count} sources"},budgetMeterLabel:"Budget",budgetMeterUnavailable:"Budget unavailable",budgetMeterExceeded:"Budget exceeded",budgetMeterValue:"{used} of {limit} {unit}",budgetMeterPercent:"{percent} used",toolParamMinLength:"Use at least {count} characters.",toolParamMaxLength:"Use at most {count} characters.",toolParamMinimum:"Enter a value of at least {value}.",toolParamMaximum:"Enter a value of at most {value}.",toolParamFormat:"Enter a valid {format} value.",toolParamMinItems:"Select at least {count} options.",toolParamMaxItems:"Select at most {count} options.",toolParamInvalidConstraint:"This field has an invalid constraint.",toolParamInvalidSelection:"Select only available options, without duplicates.",permissionRulesLabel:"Permission rules",permissionRulesEmpty:"No permission rules are available.",permissionRulesLimit:"Showing the first {count} permission rules.",permissionRulesDecisionFor:"Decision for {label}",permissionRulesScope:"Scope: {scope}",permissionRulesAllow:"Allow",permissionRulesAsk:"Ask every time",permissionGrantLabel:"Permission request",permissionGrantScopeLabel:"Requested scope",permissionGrantAllowOnce:"Allow once",permissionGrantAllowSession:"Allow for this session",agentQuestionUnsupported:"This question uses an unsupported form schema.",changeReviewLabel:"Review changes",changeReviewEmpty:"No changes to review",changeReviewKeep:"Keep",changeReviewDiscard:"Discard",changeReviewPending:"Pending",changeReviewKept:"Kept",changeReviewDiscarded:"Discarded",changeReviewHunk:"Change {index}",changeReviewLimit:"Only the first {count} changes are shown.",agentQuestionLabel:"Agent question",agentQuestionAccept:"Submit response",agentQuestionDecline:"Decline",agentQuestionSubmitted:"Response submitted",streamInterrupted:"Stream interrupted",streamResume:"Resume",noData:"No data",graphDataListLimit:"Showing {shown} of {total} graph items.",graphLegendLabel:"Graph legend",legendTypeShown:"{label} shown",legendTypeHidden:"{label} hidden",entityChipWithType:"{label}, {type}",jumpToLatest:"Jump to latest",terminalLabel:"Terminal output",terminalDownload:"Download log",terminalHighlightLine:"Line {line}",schemaViewerIssueLimit:"Only the first {count} validation issues are shown.",toolParamMissingProperty:"Required key “{key}” has no matching schema property.",toolParamBooleanUnset:"Not set",toolParamBooleanTrue:"True",toolParamBooleanFalse:"False",toolParamSchemaLimit:"Tool parameter schemas support at most {fields} fields and {options} choices per field.",testResultsLimit:"Only the first {count} test results are shown.",toolTimelineLimit:"At most {count} tool calls are shown.",toolSelectLimit:"Only the first {count} tools are shown.",sequenceStripEmpty:"No items",sequenceStripSourceError:"Unable to load sequence data.",sequenceStripSourceItemUnavailable:"Sequence item unavailable.",sequenceStripSourceItemLabel:"{label}, item {index} of {total}",sequenceStripSourceRangeDetails:"{label}, items {start} to {end}; {enabled} of {total} enabled; {markers} marked.",sequenceStripSourceKeyboardHelp:"Use Left and Right Arrow to inspect adjacent items, Home and End for the first and last item, and Enter to activate the inspected item.",sequenceStripCategoryCount:"{label}: {count}",sequenceStripUnnamedCategory:"Unnamed category",sequenceStripBucketLabel:"{label}, items {start} to {end}",sequenceStripBucketSummary:"{items} items in {ranges} ranges",noColumns:"No columns configured",dataGridColumnMenu:"Options for {label}",dataGridPinStart:"Pin {label} to start",dataGridPinEnd:"Pin {label} to end",dataGridUnpin:"Unpin {label}",dataGridRowsPerPage:"Rows per page",dataGridTreeLimitReached:"Additional nested rows were omitted because the data-grid tree limit was reached.",loadMore:"Load more",viewerSearchMatchCount:{one:"{count} match",other:"{count} matches"},viewerSearchNoMatches:"No matches",viewerSearchActiveMatch:"Match {current} of {total}",viewerHighlightLabel:"Highlight",tableRowTotal:"Total",tableFilterLabel:"Filter rows",tableFilterPlaceholder:"Filter rows",tableLoading:"Loading rows",tableLoadingMore:"Loading more rows",tableLoadFailed:"Could not load data",tableEditCell:"Edit {column}",carousel:"carousel",carouselLabel:"Carousel",carouselSlide:"slide",carouselSlidePosition:"Slide {index} of {total}",carouselSlideAnnouncement:"{position}: {content}",carouselSlideAnnouncementSeparator:". ",carouselIndicators:"Carousel slides",carouselGoTo:"Go to slide {index}",imageComparerLabel:"Image comparison",zoomableFrameLabel:"Zoomable content",zoomControls:"Zoom controls",zoomOut:"Zoom out",zoomIn:"Zoom in",lightboxLabel:"Image viewer",lightboxImagePosition:"Image {index} of {total}",scrollerLabel:"Scrollable content",chatViewportLabel:"Conversation",newMessagesCount:{one:"{count} new message",other:"{count} new messages"},newMessages:"New messages",scrollPrevious:"Scroll backward",scrollNext:"Scroll forward",showAllColumns:"Show all columns",showFewerColumns:"Show fewer columns",clear:"Clear",openCalendar:"Open calendar",open:"Open",close:"Close",closeNavigation:"Close navigation",openNavigation:"Open navigation",resizeNavigation:"Resize navigation",appRailCollapse:"Collapse navigation",appRailExpand:"Expand navigation",appRailPin:"Pin navigation",appRailUnpin:"Unpin navigation",appRailItemCollapse:"Collapse {label}",appRailItemExpand:"Expand {label}",resizeColumn:"Resize {label} column",resizeValuePixels:"{value} pixels",resizeValuePercent:"{value} percent",copy:"Copy",copyJson:"Copy JSON to clipboard",copied:"Copied!",expand:"Expand",collapse:"Collapse",expandMessage:"Expand message",collapseMessage:"Collapse message",messageActionsLabel:"Message actions",regenerateResponse:"Regenerate response",editMessage:"Edit message",showMore:"Show more",showMoreCount:"Show {count} more",showLess:"Show less",retry:"Retry",remove:"Remove",removeWithContext:"Remove {label}",playWithContext:"Play {name}",pauseWithContext:"Pause {name}",loading:"Loading…",loadingDocument:"Loading document…",calendarPreviousMonth:"Previous month",calendarNextMonth:"Next month",noMatches:"No matches",previous:"Previous",next:"Next",paginationLabel:"Pagination",paginationPage:"Page",paginationJumpToPage:"Jump to page {page}",branchPickerLabel:"Response versions",branchPrevious:"Previous version",branchNext:"Next version",branchPosition:"Version {index} of {total}",paginationSummary:"{start}–{end} of {total} {itemLabel}",paginationEmptySummary:"{total} {itemLabel}",paginationApplied:"Page {page} of {totalPages}",paginationAppliedUnknownTotal:"Page {page}",cancel:"Cancel",confirm:"Confirm",search:"Search",circularReference:"Circular reference",items:{one:"item",other:"items"},item:"item",trendOf:"Trend of {count} values, last {value}",wordCloud:"Word cloud of {count} {word}",wordCloudLegend:"Word cloud color key",wordCloudWordAnnouncement:"{text}, {weight}",wordCloudPreparedSummary:"Word summary: {retainedCount} of {validCount} valid words retained ({invalidCount} invalid); retained weight {retainedWeight} of {totalWeight}.",wordCloudPreparedUnavailable:"The prepared word summary is unavailable.",avPlayerWaveformUnavailable:"Waveform data is unavailable or does not match this media.",avPlayerTranscriptUnavailable:"Transcript data is unavailable.",histogramDistributionSummary:"{validCount} valid samples in the full distribution; {belowCount} below and {aboveCount} above the displayed bins; {invalidCount} invalid samples.",histogramDistributionRange:"Observed sample range: {min} to {max}.",graphSourceRecords:"Graph records",graphSourceNodes:"Nodes",graphSourceEdges:"Edges",graphSourceAllRecords:"All records",graphSourceIncidentEdges:"Incident edges for {label}",graphSourceDirection:"Direction",graphSourceBothDirections:"Both directions",graphSourceTotals:"Graph contains {nodes} nodes and {edges} edges.",graphSourceCoverageComplete:"Complete graph: {nodes} nodes and {edges} edges.",graphSourceCoverageNeighborhood:"Neighborhood: showing {shownNodes} of {nodes} nodes and {shownEdges} of {edges} edges.",graphSourceCoverageAggregate:"Summary: showing {shownNodes} of {nodes} nodes and {shownEdges} of {edges} edges.",graphSourceRecordsError:"Graph records could not be loaded.",graphSourceSceneError:"The graph view could not be loaded.",graphSourceRecordMissing:"This graph record is unavailable.",heatmapSourceError:"Unable to load matrix data.",heatmapSourceSummary:"{rows} × {cols} source cells; rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd} shown as {tiles} aggregate tiles.",heatmapSourceRangeLabel:"Rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}: {valid} of {count} cells with data; minimum {min}, maximum {max}, {reducer} {value}.",heatmapSourceExactWindow:"Exact cells: rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}.",heatmapSourceKeyboardHelp:"Use arrow keys to move between cells, Control+Home or Control+End for the first or last cell, Enter to activate a cell, and Shift+Enter to select its aggregate range.",heatmapSourceMean:"mean",heatmapSourceMin:"minimum",heatmapSourceMax:"maximum",testResultsInputTooLarge:"Test result details exceed the display limit.",embeddingExplorerSpatialBounds:"{minX} to {maxX} horizontally; {minY} to {maxY} vertically",embeddingExplorerSpatialSummary:"{total} points in the full source ({global}). {matched} points in the viewport ({viewport}). Density regions count all matches; point overlays do not add to these counts.",embeddingExplorerSpatialBin:"{count} points in density region: {bounds}",embeddingExplorerSpatialError:"The spatial source or viewport is invalid or unavailable.",embeddingExplorerSpatialLoading:"Loading spatial data…",comboboxLoadError:"Could not load options.",comboboxSelectedOverflow:"+{n} more",promptQueueItemLabel:"Queued prompt {index}",promptQueueActionLabel:"{action}, queued prompt {index}",notInCatalog:"not in catalog",sendMessage:"Send message",stopGenerating:"Stop generating",dropzoneReleaseToAdd:"Release to add the file.",dropzoneRejectedType:"This file type is not accepted.",fileSizeUnitB:"B",fileSizeUnitKb:"KB",fileSizeUnitMb:"MB",fileSizeUnitGb:"GB",fileSizeUnitTb:"TB",chartCategory:"Category",chartTotal:"Total",chartAxisTotal:"{axis} total",chartPrimaryAxis:"Primary axis",chartSecondaryAxis:"Secondary axis",chartPointLabel:"Point {n}",chartPointCoordinates:"x {x}, y {y}",chartBubblePointCoordinates:"x {x}, y {y}, radius {radius}",chartLabeledPoint:"{label}: {coordinates}",resetZoom:"Reset zoom",chatSending:"Sending…",chatResponding:"Responding…",chatFailedToSend:"Failed to send",chatFailedAnnounce:"Message failed to send.",chatCompleteAnnounce:"Message complete.",showMoreCollapsed:"+{count}",expandCode:"Expand code",collapseCode:"Collapse code",copyCode:"Copy code",copiedToClipboard:"Copied to clipboard",codeRegion:"Code",codeRegionWithLanguage:"{language} code",markdownTableRegion:"Table",codeBlockLineLabel:"Line {line}",copyDiff:"Copy diff",diffViewOldLabel:"Original",diffViewNewLabel:"Modified",diffViewHiddenLines:{one:"{count} unchanged line",other:"{count} unchanged lines"},diffViewTooLarge:"Diff is too large to display.",jsonArray:"array",jsonObject:"object",jsonValue:"value",jsonCopyLabel:"Copy {label}",jsonExpandLabel:"Expand {label}",jsonCollapseLabel:"Collapse {label}",jsonItemCount:{one:"{count} item",other:"{count} items"},jsonKeyCount:{one:"{count} key",other:"{count} keys"},jsonViewerLimit:"Only the first {count} JSON nodes and {depth} nesting levels are shown and searched.",untitledSource:"Untitled source",sourcePageSuffix:"{base} — p. {page}",toolCall:"Tool call",statusPending:"Pending",statusRunning:"Running",statusSuccess:"Success",statusError:"Error",statusDenied:"Denied",statusIncomplete:"Incomplete",maximize:"Maximize",restore:"Restore",wordCloudWord:"word",wordCloudWords:"words",promptStudioVariableName:"Variable {index} name",promptStudioVariableValue:"Variable {index} value",schemaViewerLimit:"Only the first {count} schema nodes are shown.",subagentPanelLimit:"Only the first {count} subagent runs are shown.",pollPause:"Pause",pollResume:"Resume",pollRefresh:"Refresh now",pollInactive:"Inactive",pollRefreshing:"Refreshing…",pollPaused:"Paused",pollPausedAnnounce:"Paused.",pollResumedAnnounce:"Resumed.",pollRefreshingAnnounce:"Refreshing now.",randomContentPause:"Pause rotation",randomContentResume:"Resume rotation",randomContentNext:"Show another",attachmentAdd:"Add attachment",attachmentTriggerFiles:"Attach files",attachmentTriggerImage:"Attach an image",attachmentTriggerCamera:"Use camera",attachmentMenuFiles:"Upload files",attachmentMenuImage:"Upload a photo",attachmentMenuCamera:"Take a photo",checkboxRequired:"Please check this box if you want to continue.",checkboxGroupRequired:"Select at least one option.",tokenInputRequired:"Enter at least one value.",tokenInputEditWithContext:"Edit {label}",commandPaletteLabel:"Command palette",commandPalettePlaceholder:"Search commands…",commandPaletteEmpty:"No matching commands.",commandPaletteResults:"Commands",iconButtonLabel:"Button",codeEditorLabel:"Code editor",calendarLabel:"Calendar",calendarEmpty:"No events this month.",calendarEventsOverflow:"+{n} more",switchRequired:"Please turn this on.",citationHighConfidence:"High confidence",citationMediumConfidence:"Medium confidence",citationLowConfidence:"Low confidence",citationVerified:"Verified",citationUnverified:"Unverified",contextMeterUsed:"{used} used",contextMeterUsedOfTotal:"{used} of {total} used",contextMeterSegmentLabel:"{label}: {count}",gaugeLabel:"Gauge",gaugeValueLabel:"{label}: {value}",untitledConversation:"Untitled conversation",dockPanelCollapse:"Collapse panel",dockPanelExpand:"Expand panel",dockPanelResize:"Resize panel",documentPreviewAlt:"Document preview",documentPreviewUrlNotAllowed:"Document URL is not allowed.",documentPreviewFailedToLoad:"Failed to load document.",documentPreviewResourceTooLarge:"This document is too large to preview.",documentPreviewGenericError:"Something went wrong.",ebookViewerLoadError:"Failed to load the ebook.",ebookViewerMissingLibrary:"EPUB preview is unavailable because epubjs is not installed.",ebookViewerRegionLabel:"Ebook content",ebookViewerPreviousChapter:"Previous chapter",ebookViewerNextChapter:"Next chapter",fileTypeFile:"File",fileTypePdf:"PDF",fileTypeWord:"Word document",fileTypeSpreadsheet:"Spreadsheet",fileTypePresentation:"Presentation",fileTypeText:"Text file",fileTypeCode:"Code file",fileTypeArchive:"Archive",fileTypeImage:"Image",fileTypeAudio:"Audio",fileTypeVideo:"Video",fileTypeWithSize:"{label} ({size})",pptxViewerLabel:"Presentation viewer",pptxViewerFidelityNotice:"Some slide content may not display.",pptxViewerRenderError:"Failed to render this presentation.",pptxViewerMissingLibrary:"Presentation preview is unavailable because @aiden0z/pptx-renderer is not installed.",pptxViewerPreviousSlide:"Previous slide",pptxViewerNextSlide:"Next slide",pptxViewerSlideOf:"Slide {current} of {total}",documentViewerLabel:"Document viewer",attachmentPreviewName:"Preview {name}",attachmentPreviewFile:"Preview file",documentViewerMissingSanitizer:'This viewer needs the optional "dompurify" package installed to render safely.',docxViewerLabel:"Word document",docxViewerMissingConverter:'This viewer needs the optional "mammoth" package installed to convert this document.',svgViewerLabel:"SVG image",htmlViewerLabel:"HTML document",datasetViewerMissingParser:'This viewer needs the optional "papaparse" package installed to parse this file.',datasetViewerEmpty:"This dataset has no rows.",datasetViewerCaption:"{count} rows",datasetViewerCaptionNamed:"{name}: {count} rows",contactViewerLabel:"Contact viewer",contactViewerNoContacts:"No contacts found in this file.",contactViewerUnnamedContact:"Unnamed contact",contactViewerPhoneLabel:"Phone",contactViewerEmailLabel:"Email",contactViewerAddressLabel:"Address",contactViewerOrganization:"Organization: {value}",contactViewerTypedValue:"{value} ({types})",contactViewerAddressFormat:`{poBox}
1
+ import{resolveLyraString as resolveRuntimeLyraString}from"./localization-runtime.js";const DEFAULT_STRINGS={connectorManagerLabel:"Connectors",connectorManagerEmpty:"No connectors are available.",connectorManagerLimit:"Showing the first {count} connectors.",connectorManagerKindMcp:"MCP server",connectorManagerKindConnector:"Connector",connectorManagerStatusDisconnected:"Disconnected",connectorManagerStatusConnecting:"Connecting",connectorManagerStatusConnected:"Connected",connectorManagerConnect:"Connect",connectorManagerDisconnect:"Disconnect",connectorManagerConnectFor:"Connect {name}",connectorManagerDisconnectFor:"Disconnect {name}",connectorManagerRetryFor:"Retry connection for {name}",backgroundRunsLabel:"Background runs",backgroundRunsEmpty:"No background runs are available.",backgroundRunsLimit:"Showing the first {count} background runs.",backgroundRunsStatusCompleted:"Completed",backgroundRunsStatusFailed:"Failed",backgroundRunsOpenFor:"Open {label}",backgroundRunsCancelFor:"Cancel {label}",researchProgressLabel:"Research progress",researchProgressEmpty:"No research steps are available.",researchProgressLimit:"Showing the first {count} research steps.",researchProgressStatusPending:"Pending",researchProgressStatusRunning:"In progress",researchProgressStatusCompleted:"Completed",researchProgressStatusFailed:"Failed",researchProgressSources:{one:"{count} source",other:"{count} sources"},budgetMeterLabel:"Budget",budgetMeterUnavailable:"Budget unavailable",budgetMeterExceeded:"Budget exceeded",budgetMeterValue:"{used} of {limit} {unit}",budgetMeterPercent:"{percent} used",toolParamMinLength:"Use at least {count} characters.",toolParamMaxLength:"Use at most {count} characters.",toolParamMinimum:"Enter a value of at least {value}.",toolParamMaximum:"Enter a value of at most {value}.",toolParamFormat:"Enter a valid {format} value.",toolParamMinItems:"Select at least {count} options.",toolParamMaxItems:"Select at most {count} options.",toolParamInvalidConstraint:"This field has an invalid constraint.",toolParamInvalidSelection:"Select only available options, without duplicates.",permissionRulesLabel:"Permission rules",permissionRulesEmpty:"No permission rules are available.",permissionRulesLimit:"Showing the first {count} permission rules.",permissionRulesDecisionFor:"Decision for {label}",permissionRulesScope:"Scope: {scope}",permissionRulesAllow:"Allow",permissionRulesAsk:"Ask every time",permissionGrantLabel:"Permission request",permissionGrantScopeLabel:"Requested scope",permissionGrantAllowOnce:"Allow once",permissionGrantAllowSession:"Allow for this session",agentQuestionUnsupported:"This question uses an unsupported form schema.",changeReviewLabel:"Review changes",changeReviewEmpty:"No changes to review",changeReviewKeep:"Keep",changeReviewDiscard:"Discard",changeReviewPending:"Pending",changeReviewKept:"Kept",changeReviewDiscarded:"Discarded",changeReviewHunk:"Change {index}",changeReviewLimit:"Only the first {count} changes are shown.",agentQuestionLabel:"Agent question",agentQuestionAccept:"Submit response",agentQuestionDecline:"Decline",agentQuestionSubmitted:"Response submitted",streamInterrupted:"Stream interrupted",streamResume:"Resume",genViewEmpty:"No generated view to display.",genViewInvalid:"This generated view cannot be displayed.",genViewLoading:"Loading component…",genViewLoadFailed:"This component could not be loaded.",genViewInvalidState:"This field value cannot be used.",genViewActionDenied:"This action is not available.",genViewConfirmationRequired:"This action needs confirmation from the application.",noData:"No data",graphDataListLimit:"Showing {shown} of {total} graph items.",graphLegendLabel:"Graph legend",legendTypeShown:"{label} shown",legendTypeHidden:"{label} hidden",entityChipWithType:"{label}, {type}",jumpToLatest:"Jump to latest",terminalLabel:"Terminal output",terminalDownload:"Download log",terminalHighlightLine:"Line {line}",schemaViewerIssueLimit:"Only the first {count} validation issues are shown.",toolParamMissingProperty:"Required key “{key}” has no matching schema property.",toolParamBooleanUnset:"Not set",toolParamBooleanTrue:"True",toolParamBooleanFalse:"False",toolParamSchemaLimit:"Tool parameter schemas support at most {fields} fields and {options} choices per field.",testResultsLimit:"Only the first {count} test results are shown.",toolTimelineLimit:"At most {count} tool calls are shown.",toolSelectLimit:"Only the first {count} tools are shown.",sequenceStripEmpty:"No items",sequenceStripSourceError:"Unable to load sequence data.",sequenceStripSourceItemUnavailable:"Sequence item unavailable.",sequenceStripSourceItemLabel:"{label}, item {index} of {total}",sequenceStripSourceRangeDetails:"{label}, items {start} to {end}; {enabled} of {total} enabled; {markers} marked.",sequenceStripSourceKeyboardHelp:"Use Left and Right Arrow to inspect adjacent items, Home and End for the first and last item, and Enter to activate the inspected item.",sequenceStripCategoryCount:"{label}: {count}",sequenceStripUnnamedCategory:"Unnamed category",sequenceStripBucketLabel:"{label}, items {start} to {end}",sequenceStripBucketSummary:"{items} items in {ranges} ranges",noColumns:"No columns configured",dataGridColumnMenu:"Options for {label}",dataGridPinStart:"Pin {label} to start",dataGridPinEnd:"Pin {label} to end",dataGridUnpin:"Unpin {label}",dataGridRowsPerPage:"Rows per page",dataGridTreeLimitReached:"Additional nested rows were omitted because the data-grid tree limit was reached.",loadMore:"Load more",viewerSearchMatchCount:{one:"{count} match",other:"{count} matches"},viewerSearchNoMatches:"No matches",viewerSearchActiveMatch:"Match {current} of {total}",viewerHighlightLabel:"Highlight",tableRowTotal:"Total",tableFilterLabel:"Filter rows",tableFilterPlaceholder:"Filter rows",tableLoading:"Loading rows",tableLoadingMore:"Loading more rows",tableLoadFailed:"Could not load data",tableEditCell:"Edit {column}",carousel:"carousel",carouselLabel:"Carousel",carouselSlide:"slide",carouselSlidePosition:"Slide {index} of {total}",carouselSlideAnnouncement:"{position}: {content}",carouselSlideAnnouncementSeparator:". ",carouselIndicators:"Carousel slides",carouselGoTo:"Go to slide {index}",imageComparerLabel:"Image comparison",zoomableFrameLabel:"Zoomable content",zoomControls:"Zoom controls",zoomOut:"Zoom out",zoomIn:"Zoom in",lightboxLabel:"Image viewer",lightboxImagePosition:"Image {index} of {total}",scrollerLabel:"Scrollable content",chatViewportLabel:"Conversation",newMessagesCount:{one:"{count} new message",other:"{count} new messages"},newMessages:"New messages",scrollPrevious:"Scroll backward",scrollNext:"Scroll forward",showAllColumns:"Show all columns",showFewerColumns:"Show fewer columns",clear:"Clear",openCalendar:"Open calendar",open:"Open",close:"Close",closeNavigation:"Close navigation",openNavigation:"Open navigation",resizeNavigation:"Resize navigation",appRailCollapse:"Collapse navigation",appRailExpand:"Expand navigation",appRailPin:"Pin navigation",appRailUnpin:"Unpin navigation",appRailItemCollapse:"Collapse {label}",appRailItemExpand:"Expand {label}",resizeColumn:"Resize {label} column",resizeValuePixels:"{value} pixels",resizeValuePercent:"{value} percent",copy:"Copy",copyJson:"Copy JSON to clipboard",copied:"Copied!",expand:"Expand",collapse:"Collapse",expandMessage:"Expand message",collapseMessage:"Collapse message",messageActionsLabel:"Message actions",regenerateResponse:"Regenerate response",editMessage:"Edit message",showMore:"Show more",showMoreCount:"Show {count} more",showLess:"Show less",retry:"Retry",remove:"Remove",removeWithContext:"Remove {label}",playWithContext:"Play {name}",pauseWithContext:"Pause {name}",loading:"Loading…",loadingDocument:"Loading document…",calendarPreviousMonth:"Previous month",calendarNextMonth:"Next month",noMatches:"No matches",previous:"Previous",next:"Next",paginationLabel:"Pagination",paginationPage:"Page",paginationJumpToPage:"Jump to page {page}",branchPickerLabel:"Response versions",branchPrevious:"Previous version",branchNext:"Next version",branchPosition:"Version {index} of {total}",paginationSummary:"{start}–{end} of {total} {itemLabel}",paginationEmptySummary:"{total} {itemLabel}",paginationApplied:"Page {page} of {totalPages}",paginationAppliedUnknownTotal:"Page {page}",cancel:"Cancel",confirm:"Confirm",search:"Search",circularReference:"Circular reference",items:{one:"item",other:"items"},item:"item",trendOf:"Trend of {count} values, last {value}",wordCloud:"Word cloud of {count} {word}",wordCloudLegend:"Word cloud color key",wordCloudWordAnnouncement:"{text}, {weight}",wordCloudPreparedSummary:"Word summary: {retainedCount} of {validCount} valid words retained ({invalidCount} invalid); retained weight {retainedWeight} of {totalWeight}.",wordCloudPreparedUnavailable:"The prepared word summary is unavailable.",avPlayerWaveformUnavailable:"Waveform data is unavailable or does not match this media.",avPlayerTranscriptUnavailable:"Transcript data is unavailable.",histogramDistributionSummary:"{validCount} valid samples in the full distribution; {belowCount} below and {aboveCount} above the displayed bins; {invalidCount} invalid samples.",histogramDistributionRange:"Observed sample range: {min} to {max}.",graphSourceRecords:"Graph records",graphSourceNodes:"Nodes",graphSourceEdges:"Edges",graphSourceAllRecords:"All records",graphSourceIncidentEdges:"Incident edges for {label}",graphSourceDirection:"Direction",graphSourceBothDirections:"Both directions",graphSourceTotals:"Graph contains {nodes} nodes and {edges} edges.",graphSourceCoverageComplete:"Complete graph: {nodes} nodes and {edges} edges.",graphSourceCoverageNeighborhood:"Neighborhood: showing {shownNodes} of {nodes} nodes and {shownEdges} of {edges} edges.",graphSourceCoverageAggregate:"Summary: showing {shownNodes} of {nodes} nodes and {shownEdges} of {edges} edges.",graphSourceRecordsError:"Graph records could not be loaded.",graphSourceSceneError:"The graph view could not be loaded.",graphSourceRecordMissing:"This graph record is unavailable.",heatmapSourceError:"Unable to load matrix data.",heatmapSourceSummary:"{rows} × {cols} source cells; rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd} shown as {tiles} aggregate tiles.",heatmapSourceRangeLabel:"Rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}: {valid} of {count} cells with data; minimum {min}, maximum {max}, {reducer} {value}.",heatmapSourceExactWindow:"Exact cells: rows {rowStart}–{rowEnd}, columns {columnStart}–{columnEnd}.",heatmapSourceKeyboardHelp:"Use arrow keys to move between cells, Control+Home or Control+End for the first or last cell, Enter to activate a cell, and Shift+Enter to select its aggregate range.",heatmapSourceMean:"mean",heatmapSourceMin:"minimum",heatmapSourceMax:"maximum",testResultsInputTooLarge:"Test result details exceed the display limit.",embeddingExplorerSpatialBounds:"{minX} to {maxX} horizontally; {minY} to {maxY} vertically",embeddingExplorerSpatialSummary:"{total} points in the full source ({global}). {matched} points in the viewport ({viewport}). Density regions count all matches; point overlays do not add to these counts.",embeddingExplorerSpatialBin:"{count} points in density region: {bounds}",embeddingExplorerSpatialError:"The spatial source or viewport is invalid or unavailable.",embeddingExplorerSpatialLoading:"Loading spatial data…",comboboxLoadError:"Could not load options.",comboboxSelectedOverflow:"+{n} more",promptQueueItemLabel:"Queued prompt {index}",promptQueueActionLabel:"{action}, queued prompt {index}",notInCatalog:"not in catalog",sendMessage:"Send message",stopGenerating:"Stop generating",dropzoneReleaseToAdd:"Release to add the file.",dropzoneRejectedType:"This file type is not accepted.",fileSizeUnitB:"B",fileSizeUnitKb:"KB",fileSizeUnitMb:"MB",fileSizeUnitGb:"GB",fileSizeUnitTb:"TB",chartCategory:"Category",chartTotal:"Total",chartAxisTotal:"{axis} total",chartPrimaryAxis:"Primary axis",chartSecondaryAxis:"Secondary axis",chartPointLabel:"Point {n}",chartPointCoordinates:"x {x}, y {y}",chartBubblePointCoordinates:"x {x}, y {y}, radius {radius}",chartLabeledPoint:"{label}: {coordinates}",resetZoom:"Reset zoom",chatSending:"Sending…",chatResponding:"Responding…",chatFailedToSend:"Failed to send",chatFailedAnnounce:"Message failed to send.",chatCompleteAnnounce:"Message complete.",showMoreCollapsed:"+{count}",expandCode:"Expand code",collapseCode:"Collapse code",copyCode:"Copy code",copiedToClipboard:"Copied to clipboard",codeRegion:"Code",codeRegionWithLanguage:"{language} code",markdownTableRegion:"Table",codeBlockLineLabel:"Line {line}",copyDiff:"Copy diff",diffViewOldLabel:"Original",diffViewNewLabel:"Modified",diffViewHiddenLines:{one:"{count} unchanged line",other:"{count} unchanged lines"},diffViewTooLarge:"Diff is too large to display.",jsonArray:"array",jsonObject:"object",jsonValue:"value",jsonCopyLabel:"Copy {label}",jsonExpandLabel:"Expand {label}",jsonCollapseLabel:"Collapse {label}",jsonItemCount:{one:"{count} item",other:"{count} items"},jsonKeyCount:{one:"{count} key",other:"{count} keys"},jsonViewerLimit:"Only the first {count} JSON nodes and {depth} nesting levels are shown and searched.",untitledSource:"Untitled source",sourcePageSuffix:"{base} — p. {page}",toolCall:"Tool call",statusPending:"Pending",statusRunning:"Running",statusSuccess:"Success",statusError:"Error",statusDenied:"Denied",statusIncomplete:"Incomplete",maximize:"Maximize",restore:"Restore",wordCloudWord:"word",wordCloudWords:"words",promptStudioVariableName:"Variable {index} name",promptStudioVariableValue:"Variable {index} value",schemaViewerLimit:"Only the first {count} schema nodes are shown.",subagentPanelLimit:"Only the first {count} subagent runs are shown.",pollPause:"Pause",pollResume:"Resume",pollRefresh:"Refresh now",pollInactive:"Inactive",pollRefreshing:"Refreshing…",pollPaused:"Paused",pollPausedAnnounce:"Paused.",pollResumedAnnounce:"Resumed.",pollRefreshingAnnounce:"Refreshing now.",randomContentPause:"Pause rotation",randomContentResume:"Resume rotation",randomContentNext:"Show another",attachmentAdd:"Add attachment",attachmentTriggerFiles:"Attach files",attachmentTriggerImage:"Attach an image",attachmentTriggerCamera:"Use camera",attachmentMenuFiles:"Upload files",attachmentMenuImage:"Upload a photo",attachmentMenuCamera:"Take a photo",checkboxRequired:"Please check this box if you want to continue.",checkboxGroupRequired:"Select at least one option.",tokenInputRequired:"Enter at least one value.",tokenInputEditWithContext:"Edit {label}",commandPaletteLabel:"Command palette",commandPalettePlaceholder:"Search commands…",commandPaletteEmpty:"No matching commands.",commandPaletteResults:"Commands",iconButtonLabel:"Button",codeEditorLabel:"Code editor",calendarLabel:"Calendar",calendarEmpty:"No events this month.",calendarEventsOverflow:"+{n} more",switchRequired:"Please turn this on.",citationHighConfidence:"High confidence",citationMediumConfidence:"Medium confidence",citationLowConfidence:"Low confidence",citationVerified:"Verified",citationUnverified:"Unverified",contextMeterUsed:"{used} used",contextMeterUsedOfTotal:"{used} of {total} used",contextMeterSegmentLabel:"{label}: {count}",gaugeLabel:"Gauge",gaugeValueLabel:"{label}: {value}",untitledConversation:"Untitled conversation",dockPanelCollapse:"Collapse panel",dockPanelExpand:"Expand panel",dockPanelResize:"Resize panel",documentPreviewAlt:"Document preview",documentPreviewUrlNotAllowed:"Document URL is not allowed.",documentPreviewFailedToLoad:"Failed to load document.",documentPreviewResourceTooLarge:"This document is too large to preview.",documentPreviewGenericError:"Something went wrong.",ebookViewerLoadError:"Failed to load the ebook.",ebookViewerMissingLibrary:"EPUB preview is unavailable because epubjs is not installed.",ebookViewerRegionLabel:"Ebook content",ebookViewerPreviousChapter:"Previous chapter",ebookViewerNextChapter:"Next chapter",fileTypeFile:"File",fileTypePdf:"PDF",fileTypeWord:"Word document",fileTypeSpreadsheet:"Spreadsheet",fileTypePresentation:"Presentation",fileTypeText:"Text file",fileTypeCode:"Code file",fileTypeArchive:"Archive",fileTypeImage:"Image",fileTypeAudio:"Audio",fileTypeVideo:"Video",fileTypeWithSize:"{label} ({size})",pptxViewerLabel:"Presentation viewer",pptxViewerFidelityNotice:"Some slide content may not display.",pptxViewerRenderError:"Failed to render this presentation.",pptxViewerMissingLibrary:"Presentation preview is unavailable because @aiden0z/pptx-renderer is not installed.",pptxViewerPreviousSlide:"Previous slide",pptxViewerNextSlide:"Next slide",pptxViewerSlideOf:"Slide {current} of {total}",documentViewerLabel:"Document viewer",attachmentPreviewName:"Preview {name}",attachmentPreviewFile:"Preview file",documentViewerMissingSanitizer:'This viewer needs the optional "dompurify" package installed to render safely.',docxViewerLabel:"Word document",docxViewerMissingConverter:'This viewer needs the optional "mammoth" package installed to convert this document.',svgViewerLabel:"SVG image",htmlViewerLabel:"HTML document",datasetViewerMissingParser:'This viewer needs the optional "papaparse" package installed to parse this file.',datasetViewerEmpty:"This dataset has no rows.",datasetViewerCaption:"{count} rows",datasetViewerCaptionNamed:"{name}: {count} rows",contactViewerLabel:"Contact viewer",contactViewerNoContacts:"No contacts found in this file.",contactViewerUnnamedContact:"Unnamed contact",contactViewerPhoneLabel:"Phone",contactViewerEmailLabel:"Email",contactViewerAddressLabel:"Address",contactViewerOrganization:"Organization: {value}",contactViewerTypedValue:"{value} ({types})",contactViewerAddressFormat:`{poBox}
2
2
  {extendedAddress}
3
3
  {streetAddress}
4
4
  {locality} {region} {postalCode}
@@ -1 +1 @@
1
- const LYRA_PACKAGE_NAME="@aceshooting/lyra-ui",LYRA_PACKAGE_VERSION="30.1.0";export{LYRA_PACKAGE_NAME,LYRA_PACKAGE_VERSION};
1
+ const LYRA_PACKAGE_NAME="@aceshooting/lyra-ui",LYRA_PACKAGE_VERSION="30.3.0";export{LYRA_PACKAGE_NAME,LYRA_PACKAGE_VERSION};
@@ -95,6 +95,14 @@ onPlaced?:(result:PlacementResult)=>void;}
95
95
  * dimension/padding is negative; signed finite `offset` and `skidding` remain supported.
96
96
  */
97
97
  export declare function place(anchor:Element|VirtualAnchor,popup:HTMLElement,opts?:PlaceOptions):()=>void;
98
+ /** A library-owned placement whose geometry can change without replacing its subscriptions.*/
99
+ export type AnchoredSurfaceSession=(()=>void)&{
100
+ /** False after disposal, including a current computation that failed closed.*/
101
+ isActive():boolean;
102
+ /** Immediately rejects pending geometry and pauses observer updates until `update()`.*/
103
+ invalidate():void;
104
+ /** Resumes placement from the current anchor rect with the existing options and observers.*/
105
+ update():void;};
98
106
  /** {@link placeAnchoredSurface} options: the public `PlaceOptions` plus the library-internal
99
107
  * top-layer switch, which public `place()` does not accept. */
100
108
  export interface AnchoredSurfaceOptions extends PlaceOptions{
@@ -1 +1 @@
1
- import{computePosition,autoUpdate,getOverflowAncestors,arrow,flip,shift,offset,platform,size,hide}from"@floating-ui/dom";import{establishesFixedContainingBlock,findFixedContainingBlockAncestor,isNativeTopLayerElement}from"./fixed-containing-block.js";import{applyReferenceHidden,ancestorZoom,compensateAncestorZoom,hasTopLayerAncestor,isLibraryPromotedAndShowing,needsTopLayerEscape,promoteToTopLayer,stripStaleTopLayer}from"./top-layer-escape.js";import{finiteGeometry,PositionerGeometryError,validatedClientRect}from"./positioner-geometry.js";import{virtualAnchorFromRect}from"./positioner-geometry.js";import{releaseTopLayer}from"./top-layer-escape.js";const HOVER_BRIDGE_CORNERS=["top-left","top-right","bottom-right","bottom-left"],placementStyleOwners=new WeakMap;function hoverBridgeQuad(anchorRect,popupRect,placement){const side=placement.split("-")[0],onBlockAxis=side==="top"||side==="bottom",[first,second]=(onBlockAxis?anchorRect.top<popupRect.top:anchorRect.left<popupRect.left)?[anchorRect,popupRect]:[popupRect,anchorRect];return onBlockAxis?[[first.left,first.bottom],[first.right,first.bottom],[second.right,second.top],[second.left,second.top]]:[[first.right,first.top],[second.left,second.top],[second.left,second.bottom],[first.right,first.bottom]]}function styleMapFor(store,element){let values=store.get(element);return values||(values=new Map,store.set(element,values)),values}function readInlineStyle(element,property){return{value:element.style.getPropertyValue(property),priority:element.style.getPropertyPriority(property)}}function sameInlineStyle(left,right){return left.value===right.value&&left.priority===right.priority}function writeInlineStyle(element,property,value){element.style.removeProperty(property),value.value&&element.style.setProperty(property,value.value,value.priority)}function createPlacementSyncOwnershipController(){const syncedDimensions=new WeakMap;let nextPlacementGeneration=0;const isOlderThan=(update,current)=>update.placementGeneration<current.placementGeneration||update.placementGeneration===current.placementGeneration&&update.updateGeneration<current.updateGeneration;return{beginPlacement(){return{generation:++nextPlacementGeneration,nextUpdateGeneration:0}},beginUpdate(run){return{placementGeneration:run.generation,updateGeneration:++run.nextUpdateGeneration}},publish(popup,update,dimensions){const current=syncedDimensions.get(popup);current&&isOlderThan(update,current)||syncedDimensions.set(popup,{...dimensions,placementGeneration:update.placementGeneration,updateGeneration:update.updateGeneration})},release(popup,run){const dimensions=syncedDimensions.get(popup);if(!(dimensions&&dimensions.placementGeneration>run.generation)){for(const dimension of["width","height"]){const owned=dimensions?.[dimension];owned&&sameInlineStyle(readInlineStyle(popup,dimension),owned)&&writeInlineStyle(popup,dimension,{value:"",priority:""})}syncedDimensions.set(popup,{placementGeneration:run.generation,updateGeneration:Number.MAX_SAFE_INTEGER})}}}}const placementSyncOwnership=createPlacementSyncOwnershipController();function createPlacementStyleTransaction(){const writes=[],transaction={state:"open"};return{set(element,property,value,priority=""){if(transaction.state!=="open")return;const owners=styleMapFor(placementStyleOwners,element),previous=readInlineStyle(element,property),currentOwner=owners.get(property),write={transaction,element,property,previous,previousOwner:currentOwner&&sameInlineStyle(previous,currentOwner.written)?currentOwner:void 0,written:previous};writes.push(write),writeInlineStyle(element,property,{value,priority}),write.written=readInlineStyle(element,property),owners.set(property,write)},ownedValue(element,property){if(transaction.state!=="open")return;const owner=placementStyleOwners.get(element)?.get(property);if(owner?.transaction!==transaction)return;const current=readInlineStyle(element,property);return sameInlineStyle(current,owner.written)?current:void 0},commit(){if(transaction.state==="open"){transaction.state="committed";for(const write of writes){const owners=placementStyleOwners.get(write.element);owners?.get(write.property)===write&&owners.delete(write.property)}writes.length=0}},rollback(){if(transaction.state==="open"){transaction.state="rolled-back";for(const write of writes.reverse()){const owners=placementStyleOwners.get(write.element);if(owners?.get(write.property)!==write)continue;if(!sameInlineStyle(readInlineStyle(write.element,write.property),write.written)){owners.delete(write.property);continue}let previous=write.previous,previousOwner=write.previousOwner;for(;previousOwner?.transaction.state==="rolled-back";)previous=previousOwner.previous,previousOwner=previousOwner.previousOwner;writeInlineStyle(write.element,write.property,previous),previousOwner?.transaction.state==="open"?owners.set(write.property,previousOwner):owners.delete(write.property)}writes.length=0}}}}function writeHoverBridge(bridge,quad,styleTransaction){HOVER_BRIDGE_CORNERS.forEach((corner,index)=>{const[x,y]=quad[index];styleTransaction.set(bridge,`--lr-positioner-hover-bridge-${corner}-x`,`${x}px`),styleTransaction.set(bridge,`--lr-positioner-hover-bridge-${corner}-y`,`${y}px`)})}async function correctedGetOffsetParent(element,polyfill){const defaultOffsetParent=await platform.getOffsetParent(element,polyfill);if(!(element instanceof HTMLElement))return defaultOffsetParent;const view=element.ownerDocument.defaultView;if(!view)return defaultOffsetParent;if(isNativeTopLayerElement(element))return view;const position=view.getComputedStyle(element).position;if(position==="absolute")return findFixedContainingBlockAncestor(element,!0)??(Math.abs(ancestorZoom(element)-1)>1e-6?view:defaultOffsetParent);if(position!=="fixed")return defaultOffsetParent;const nearestContainingBlock=findFixedContainingBlockAncestor(element);return nearestContainingBlock||(defaultOffsetParent instanceof Element&&establishesFixedContainingBlock(defaultOffsetParent)?defaultOffsetParent:view)}function fixedInlineCoordinates(containingBlock){const probe=containingBlock.ownerDocument.createElement("span");probe.setAttribute("aria-hidden","true"),probe.style.cssText="all:initial!important;position:fixed!important;left:0!important;top:0!important;width:0!important;height:0!important;visibility:hidden!important";try{if((containingBlock.shadowRoot??containingBlock).appendChild(probe),probe.getClientRects().length===0)return;const origin=validatedClientRect(probe.getBoundingClientRect(),"place() fixed origin");probe.style.setProperty("width","100px","important"),probe.style.setProperty("height","100px","important");const size2=validatedClientRect(probe.getBoundingClientRect(),"place() fixed scale"),scale={x:size2.width/100,y:size2.height/100};return scale.x>0&&scale.y>0?{origin,scale}:void 0}finally{probe.remove()}}async function popupRectAtPosition(anchor,popup,strategy,x,y,placementPlatform=platform){const currentRect=validatedClientRect(popup.getBoundingClientRect(),"place() popup rect"),offsetParent=await correctedGetOffsetParent(popup),rect=await placementPlatform.convertOffsetParentRelativeRectToViewportRelativeRect({elements:{reference:anchor,floating:popup},rect:{x,y,width:0,height:0},offsetParent,strategy}),{x:left,y:top}=rect,{width,height}=currentRect;return validatedClientRect({x:left,y:top,width,height,left,top,right:left+width,bottom:top+height},"place() converted popup rect")}function validatePlaceNumericOptions(opts){["offset","skidding","flipPadding","shiftPadding","padding","autoSizePadding","arrowPadding"].forEach((name,index)=>{const value=opts[name];value!==void 0&&finiteGeometry(value,`place() ${name}`,index>1)})}function validateAnchorBeforeSetup(anchor){try{validatedClientRect(anchor.getBoundingClientRect(),"place() anchor rect")}catch(error){if(error instanceof PositionerGeometryError)throw error}}function place(anchor,popup,opts={}){return placeImpl(anchor,popup,opts)}const MAX_ESCAPE_RERUNS=2;function placeImpl(anchor,popup,opts,hooks){validatePlaceNumericOptions(opts),validateAnchorBeforeSetup(anchor);const placementRun=placementSyncOwnership.beginPlacement(popup),strategy=opts.strategy??"fixed";popup.style.position=strategy,popup.style.margin="0";const padding=opts.padding??8,sync=opts.sync,autoSize=opts.autoSize,hoverBridge=opts.hoverBridge;let disposed=!1,escapeReruns=0,stopAutoUpdate,stopResize,stopScroll,scrollFrame,updateGeneration=0;const openStyleTransactions=new Set,view=popup.ownerDocument.defaultView??window,visualViewport=view.visualViewport,updateFromVisualViewport=()=>update(),cancelScrollFrame=()=>{scrollFrame!==void 0&&(view.cancelAnimationFrame(scrollFrame),scrollFrame=void 0)},updateFromScroll=()=>{disposed||(updateGeneration++,scrollFrame===void 0&&(scrollFrame=view.requestAnimationFrame(()=>{scrollFrame=void 0,update()})))},dispose=()=>{if(!disposed){disposed=!0,updateGeneration++,cancelScrollFrame(),stopScroll?.(),stopResize?.(),stopAutoUpdate?.(),stopAutoUpdate=void 0,visualViewport?.removeEventListener("resize",updateFromVisualViewport);for(const transaction of[...openStyleTransactions].reverse())transaction.rollback();openStyleTransactions.clear()}};sync||placementSyncOwnership.release(popup,placementRun);const middlewareFor=(styleTransaction,isCurrent)=>[offset({mainAxis:opts.offset??4,crossAxis:opts.skidding??0}),sync?size({apply({rects,elements}){if(!isCurrent())return;const referenceWidth=finiteGeometry(rects.reference.width,"place() reference width",!0),referenceHeight=finiteGeometry(rects.reference.height,"place() reference height",!0);styleTransaction.set(elements.floating,"width",sync==="width"||sync==="both"?`${referenceWidth}px`:""),styleTransaction.set(elements.floating,"height",sync==="height"||sync==="both"?`${referenceHeight}px`:"")}}):void 0,opts.flip===!1?void 0:flip({boundary:opts.flipBoundary??opts.boundary,fallbackPlacements:opts.flipFallbackPlacements,fallbackStrategy:opts.flipFallbackStrategy==="initial-placement"?"initialPlacement":opts.flipFallbackStrategy==="best-fit"?"bestFit":void 0,padding:opts.flipPadding}),opts.shift===!1?void 0:shift({boundary:opts.shiftBoundary??opts.boundary,padding:opts.shiftPadding??padding,crossAxis:opts.shiftCrossAxis===!0}),opts.arrow?arrow({element:opts.arrow,padding:opts.arrowPadding??0}):void 0,size({boundary:opts.boundary,padding,apply({availableWidth,availableHeight,elements}){isCurrent()&&(autoSize!=="horizontal"&&autoSize!=="both"&&styleTransaction.set(elements.floating,"--lr-positioner-available-inline-size",`${Math.max(0,finiteGeometry(availableWidth,"place() available width"))}px`),autoSize!=="vertical"&&autoSize!=="both"&&styleTransaction.set(elements.floating,"--lr-positioner-available-block-size",`${Math.max(0,finiteGeometry(availableHeight,"place() available height"))}px`))}}),autoSize?size({boundary:opts.autoSizeBoundary??opts.boundary,padding:opts.autoSizePadding??0,apply({availableWidth,availableHeight,elements}){isCurrent()&&((autoSize==="horizontal"||autoSize==="both")&&styleTransaction.set(elements.floating,"--lr-positioner-available-inline-size",`${Math.max(0,finiteGeometry(availableWidth,"place() auto-size available width"))}px`),(autoSize==="vertical"||autoSize==="both")&&styleTransaction.set(elements.floating,"--lr-positioner-available-block-size",`${Math.max(0,finiteGeometry(availableHeight,"place() auto-size available height"))}px`))}}):void 0,...hooks?.middleware??[]].filter(entry=>entry!==void 0);function update(){if(disposed)return;cancelScrollFrame();const generation=++updateGeneration,isCurrent=()=>!disposed&&generation===updateGeneration;try{validatedClientRect(anchor.getBoundingClientRect(),"place() anchor rect")}catch{dispose();return}try{hooks?.beforeCompute()}catch{}const updateRun=placementSyncOwnership.beginUpdate(placementRun),styleTransaction=createPlacementStyleTransaction();openStyleTransactions.add(styleTransaction);const rollback=()=>{styleTransaction.rollback(),openStyleTransactions.delete(styleTransaction)};let resolvedOffsetParent;const offsetParents=new Map,recordingGetOffsetParent=async(element,polyfill)=>{let pending=polyfill?void 0:offsetParents.get(element);pending||(pending=correctedGetOffsetParent(element,polyfill),polyfill||offsetParents.set(element,pending));const result=await pending;return element===popup&&(resolvedOffsetParent=result),result};let inlineCoordinates,inlineOffsetParent;const placementPlatform={...platform,getOffsetParent:recordingGetOffsetParent,async getElementRects(data){const rects=await platform.getElementRects.call(this,data),parent=resolvedOffsetParent;if(inlineCoordinates=strategy==="fixed"&&parent instanceof HTMLElement&&!(parent instanceof HTMLSlotElement)&&getComputedStyle(parent).display==="inline"&&["","normal","1"].includes(getComputedStyle(popup).zoom||"")?fixedInlineCoordinates(parent):void 0,inlineOffsetParent=inlineCoordinates?parent:void 0,!inlineCoordinates||!inlineOffsetParent)return rects;const viewport=await platform.convertOffsetParentRelativeRectToViewportRelativeRect({elements:{reference:data.reference,floating:data.floating},rect:rects.reference,offsetParent:inlineOffsetParent,strategy}),{origin,scale}=inlineCoordinates;return{...rects,reference:{x:finiteGeometry((viewport.x-origin.left)/scale.x,"place() inline reference x"),y:finiteGeometry((viewport.y-origin.top)/scale.y,"place() inline reference y"),width:finiteGeometry(viewport.width/scale.x,"place() inline reference width"),height:finiteGeometry(viewport.height/scale.y,"place() inline reference height")}}},getScale(element){return inlineCoordinates&&element===inlineOffsetParent?inlineCoordinates.scale:platform.getScale(element)},convertOffsetParentRelativeRectToViewportRelativeRect(data){if(inlineCoordinates&&data.offsetParent===inlineOffsetParent&&data.strategy==="fixed"){const{origin,scale}=inlineCoordinates;return{x:origin.left+data.rect.x*scale.x,y:origin.top+data.rect.y*scale.y,width:data.rect.width*scale.x,height:data.rect.height*scale.y}}return platform.convertOffsetParentRelativeRectToViewportRelativeRect(data)}};computePosition(anchor,popup,{strategy,placement:opts.placement??"bottom-start",middleware:middlewareFor(styleTransaction,isCurrent),platform:placementPlatform}).then(async({x,y,placement,middlewareData})=>{if(!isCurrent()){rollback();return}let bridgeQuad;try{if(finiteGeometry(x,"place() resolved x"),finiteGeometry(y,"place() resolved y"),middlewareData.arrow?.x!==void 0&&finiteGeometry(middlewareData.arrow.x,"place() resolved arrow x"),middlewareData.arrow?.y!==void 0&&finiteGeometry(middlewareData.arrow.y,"place() resolved arrow y"),hooks&&escapeReruns<MAX_ESCAPE_RERUNS){const view2=popup.ownerDocument.defaultView??window;let rerun=!1;try{rerun=hooks.afterResolve(resolvedOffsetParent??view2,middlewareData)}catch{rerun=!1}if(rerun){escapeReruns++,rollback(),update();return}}if(escapeReruns=0,hoverBridge){const anchorRect=validatedClientRect(anchor.getBoundingClientRect(),"place() anchor rect"),placedPopupRect=await popupRectAtPosition(anchor,popup,strategy,x,y,placementPlatform);if(!isCurrent()){rollback();return}bridgeQuad=hoverBridgeQuad(anchorRect,placedPopupRect,placement)}if(!isCurrent()){rollback();return}styleTransaction.set(popup,"left",`${finiteGeometry(x,"place() resolved x")}px`),styleTransaction.set(popup,"top",`${finiteGeometry(y,"place() resolved y")}px`),hoverBridge&&bridgeQuad&&writeHoverBridge(hoverBridge,bridgeQuad,styleTransaction);const ownedSyncDimensions=sync?{width:styleTransaction.ownedValue(popup,"width"),height:styleTransaction.ownedValue(popup,"height")}:void 0;styleTransaction.commit(),openStyleTransactions.delete(styleTransaction),sync&&placementSyncOwnership.publish(popup,updateRun,ownedSyncDimensions??{})}catch{isCurrent()?dispose():rollback();return}opts.onPlaced?.({placement,arrow:middlewareData.arrow})},()=>{isCurrent()?dispose():rollback()})}const reference=anchor.nodeType===1?anchor:anchor.contextElement,scrollTargets=new Set([...reference?getOverflowAncestors(reference):[],...getOverflowAncestors(popup),...visualViewport?[visualViewport]:[]]);for(const target of scrollTargets)target.addEventListener("scroll",updateFromScroll,{passive:!0}),target.addEventListener("resize",cancelScrollFrame);stopScroll=()=>{for(const target of scrollTargets)target.removeEventListener("scroll",updateFromScroll),target.removeEventListener("resize",cancelScrollFrame)};const stop=autoUpdate(anchor,popup,()=>{scrollFrame===void 0&&update()},{elementResize:!1,ancestorScroll:!1});return disposed?(stop(),dispose):(stopAutoUpdate=stop,stopResize=observeElementResize(anchor,popup,update),visualViewport?.addEventListener("resize",updateFromVisualViewport),dispose)}function isWindowLike(value){return!(value instanceof Element)}function placeAnchoredSurface(anchor,popup,opts={}){validatePlaceNumericOptions(opts),validateAnchorBeforeSetup(anchor);const bridge=opts.hoverBridge,fixed=(opts.strategy??"fixed")==="fixed",escape=(element,eligible)=>{isLibraryPromotedAndShowing(element)||(eligible&&(opts.topLayer||needsTopLayerEscape(element))?promoteToTopLayer(element,popup):stripStaleTopLayer(element))},referenceHidden=hide({strategy:"referenceHidden"}),referenceElement=anchor instanceof Element?anchor:anchor.contextElement??null,referenceMeasurable=()=>referenceElement!==null&&!hasTopLayerAncestor(referenceElement);return bridge&&escape(bridge,!0),escape(popup,fixed),placeImpl(anchor,popup,opts,{beforeCompute(){bridge&&escape(bridge,!0),fixed&&compensateAncestorZoom(popup,null),bridge&&compensateAncestorZoom(bridge,null,popup)},middleware:[{name:referenceHidden.name,options:referenceHidden.options,fn:async state=>{if(!fixed||!referenceMeasurable())return{};const result=await referenceHidden.fn(state),offsets=result.data?.referenceHiddenOffsets,{width,height}=state.rects.reference;return!offsets||width>0&&height>0?result:{data:{...result.data,referenceHidden:offsets.top>0||offsets.right>0||offsets.bottom>0||offsets.left>0}}}}],afterResolve(offsetParent,data){return applyReferenceHidden(popup,data.hide?.referenceHidden===!0),fixed?isWindowLike(offsetParent)||isLibraryPromotedAndShowing(popup)?!1:promoteToTopLayer(popup):compensateAncestorZoom(popup,isWindowLike(offsetParent)?null:offsetParent)}})}function trackRect(target,onUpdate){const update=()=>onUpdate(target.getBoundingClientRect()),stopAutoUpdate=autoUpdate(target,target,update),visualViewport=target.ownerDocument.defaultView?.visualViewport,onVisualViewportChange=()=>update();return visualViewport?.addEventListener("resize",onVisualViewportChange),visualViewport?.addEventListener("scroll",onVisualViewportChange),()=>{stopAutoUpdate(),visualViewport?.removeEventListener("resize",onVisualViewportChange),visualViewport?.removeEventListener("scroll",onVisualViewportChange)}}function observeElementResize(anchor,popup,update){const view=popup.ownerDocument.defaultView;let active=!0,frame;const observer=view?.ResizeObserver?new view.ResizeObserver(()=>{!active||frame!==void 0||(frame=view.requestAnimationFrame(()=>{frame=void 0,active&&update()}))}):void 0,reference=anchor.nodeType===1?anchor:anchor.contextElement;return reference&&observer?.observe(reference),observer?.observe(popup),()=>{active=!1,observer?.disconnect(),frame!==void 0&&view?.cancelAnimationFrame(frame)}}export{createPlacementStyleTransaction,createPlacementSyncOwnershipController,place,placeAnchoredSurface,releaseTopLayer,trackRect,virtualAnchorFromRect};
1
+ import{computePosition,autoUpdate,getOverflowAncestors,arrow,flip,shift,offset,platform,size,hide}from"@floating-ui/dom";import{establishesFixedContainingBlock,findFixedContainingBlockAncestor,isNativeTopLayerElement}from"./fixed-containing-block.js";import{applyReferenceHidden,ancestorZoom,compensateAncestorZoom,hasTopLayerAncestor,isLibraryPromotedAndShowing,needsTopLayerEscape,promoteToTopLayer,stripStaleTopLayer}from"./top-layer-escape.js";import{finiteGeometry,PositionerGeometryError,validatedClientRect}from"./positioner-geometry.js";import{virtualAnchorFromRect}from"./positioner-geometry.js";import{releaseTopLayer}from"./top-layer-escape.js";const HOVER_BRIDGE_CORNERS=["top-left","top-right","bottom-right","bottom-left"],placementStyleOwners=new WeakMap;function hoverBridgeQuad(anchorRect,popupRect,placement){const side=placement.split("-")[0],onBlockAxis=side==="top"||side==="bottom",[first,second]=(onBlockAxis?anchorRect.top<popupRect.top:anchorRect.left<popupRect.left)?[anchorRect,popupRect]:[popupRect,anchorRect];return onBlockAxis?[[first.left,first.bottom],[first.right,first.bottom],[second.right,second.top],[second.left,second.top]]:[[first.right,first.top],[second.left,second.top],[second.left,second.bottom],[first.right,first.bottom]]}function styleMapFor(store,element){let values=store.get(element);return values||(values=new Map,store.set(element,values)),values}function readInlineStyle(element,property){return{value:element.style.getPropertyValue(property),priority:element.style.getPropertyPriority(property)}}function sameInlineStyle(left,right){return left.value===right.value&&left.priority===right.priority}function writeInlineStyle(element,property,value){element.style.removeProperty(property),value.value&&element.style.setProperty(property,value.value,value.priority)}function createPlacementSyncOwnershipController(){const syncedDimensions=new WeakMap;let nextPlacementGeneration=0;const isOlderThan=(update,current)=>update.placementGeneration<current.placementGeneration||update.placementGeneration===current.placementGeneration&&update.updateGeneration<current.updateGeneration;return{beginPlacement(){return{generation:++nextPlacementGeneration,nextUpdateGeneration:0}},beginUpdate(run){return{placementGeneration:run.generation,updateGeneration:++run.nextUpdateGeneration}},publish(popup,update,dimensions){const current=syncedDimensions.get(popup);current&&isOlderThan(update,current)||syncedDimensions.set(popup,{...dimensions,placementGeneration:update.placementGeneration,updateGeneration:update.updateGeneration})},release(popup,run){const dimensions=syncedDimensions.get(popup);if(!(dimensions&&dimensions.placementGeneration>run.generation)){for(const dimension of["width","height"]){const owned=dimensions?.[dimension];owned&&sameInlineStyle(readInlineStyle(popup,dimension),owned)&&writeInlineStyle(popup,dimension,{value:"",priority:""})}syncedDimensions.set(popup,{placementGeneration:run.generation,updateGeneration:Number.MAX_SAFE_INTEGER})}}}}const placementSyncOwnership=createPlacementSyncOwnershipController();function createPlacementStyleTransaction(){const writes=[],transaction={state:"open"};return{set(element,property,value,priority=""){if(transaction.state!=="open")return;const owners=styleMapFor(placementStyleOwners,element),previous=readInlineStyle(element,property),currentOwner=owners.get(property),write={transaction,element,property,previous,previousOwner:currentOwner&&sameInlineStyle(previous,currentOwner.written)?currentOwner:void 0,written:previous};writes.push(write),writeInlineStyle(element,property,{value,priority}),write.written=readInlineStyle(element,property),owners.set(property,write)},ownedValue(element,property){if(transaction.state!=="open")return;const owner=placementStyleOwners.get(element)?.get(property);if(owner?.transaction!==transaction)return;const current=readInlineStyle(element,property);return sameInlineStyle(current,owner.written)?current:void 0},commit(){if(transaction.state==="open"){transaction.state="committed";for(const write of writes){const owners=placementStyleOwners.get(write.element);owners?.get(write.property)===write&&owners.delete(write.property)}writes.length=0}},rollback(){if(transaction.state==="open"){transaction.state="rolled-back";for(const write of writes.reverse()){const owners=placementStyleOwners.get(write.element);if(owners?.get(write.property)!==write)continue;if(!sameInlineStyle(readInlineStyle(write.element,write.property),write.written)){owners.delete(write.property);continue}let previous=write.previous,previousOwner=write.previousOwner;for(;previousOwner?.transaction.state==="rolled-back";)previous=previousOwner.previous,previousOwner=previousOwner.previousOwner;writeInlineStyle(write.element,write.property,previous),previousOwner?.transaction.state==="open"?owners.set(write.property,previousOwner):owners.delete(write.property)}writes.length=0}}}}function writeHoverBridge(bridge,quad,styleTransaction){HOVER_BRIDGE_CORNERS.forEach((corner,index)=>{const[x,y]=quad[index];styleTransaction.set(bridge,`--lr-positioner-hover-bridge-${corner}-x`,`${x}px`),styleTransaction.set(bridge,`--lr-positioner-hover-bridge-${corner}-y`,`${y}px`)})}async function correctedGetOffsetParent(element,polyfill){const defaultOffsetParent=await platform.getOffsetParent(element,polyfill);if(!(element instanceof HTMLElement))return defaultOffsetParent;const view=element.ownerDocument.defaultView;if(!view)return defaultOffsetParent;if(isNativeTopLayerElement(element))return view;const position=view.getComputedStyle(element).position;if(position==="absolute")return findFixedContainingBlockAncestor(element,!0)??(Math.abs(ancestorZoom(element)-1)>1e-6?view:defaultOffsetParent);if(position!=="fixed")return defaultOffsetParent;const nearestContainingBlock=findFixedContainingBlockAncestor(element);return nearestContainingBlock||(defaultOffsetParent instanceof Element&&establishesFixedContainingBlock(defaultOffsetParent)?defaultOffsetParent:view)}function fixedInlineCoordinates(containingBlock){const probe=containingBlock.ownerDocument.createElement("span");probe.setAttribute("aria-hidden","true"),probe.style.cssText="all:initial!important;position:fixed!important;left:0!important;top:0!important;width:0!important;height:0!important;visibility:hidden!important";try{if((containingBlock.shadowRoot??containingBlock).appendChild(probe),probe.getClientRects().length===0)return;const origin=validatedClientRect(probe.getBoundingClientRect(),"place() fixed origin");probe.style.setProperty("width","100px","important"),probe.style.setProperty("height","100px","important");const size2=validatedClientRect(probe.getBoundingClientRect(),"place() fixed scale"),scale={x:size2.width/100,y:size2.height/100};return scale.x>0&&scale.y>0?{origin,scale}:void 0}finally{probe.remove()}}async function popupRectAtPosition(anchor,popup,strategy,x,y,placementPlatform=platform){const currentRect=validatedClientRect(popup.getBoundingClientRect(),"place() popup rect"),offsetParent=await correctedGetOffsetParent(popup),rect=await placementPlatform.convertOffsetParentRelativeRectToViewportRelativeRect({elements:{reference:anchor,floating:popup},rect:{x,y,width:0,height:0},offsetParent,strategy}),{x:left,y:top}=rect,{width,height}=currentRect;return validatedClientRect({x:left,y:top,width,height,left,top,right:left+width,bottom:top+height},"place() converted popup rect")}function validatePlaceNumericOptions(opts){["offset","skidding","flipPadding","shiftPadding","padding","autoSizePadding","arrowPadding"].forEach((name,index)=>{const value=opts[name];value!==void 0&&finiteGeometry(value,`place() ${name}`,index>1)})}function validateAnchorBeforeSetup(anchor){try{validatedClientRect(anchor.getBoundingClientRect(),"place() anchor rect")}catch(error){if(error instanceof PositionerGeometryError)throw error}}function place(anchor,popup,opts={}){return placeImpl(anchor,popup,opts)}const MAX_ESCAPE_RERUNS=2;function placeImpl(anchor,popup,opts,hooks){validatePlaceNumericOptions(opts),validateAnchorBeforeSetup(anchor);const placementRun=placementSyncOwnership.beginPlacement(popup),strategy=opts.strategy??"fixed";popup.style.position=strategy,popup.style.margin="0";const padding=opts.padding??8,sync=opts.sync,autoSize=opts.autoSize,hoverBridge=opts.hoverBridge;let disposed=!1,suspended=!1,escapeReruns=0,stopAutoUpdate,stopResize,stopScroll,scrollFrame,updateGeneration=0;const openStyleTransactions=new Set,view=popup.ownerDocument.defaultView??window,visualViewport=view.visualViewport,updateFromVisualViewport=()=>update(),cancelScrollFrame=()=>{scrollFrame!==void 0&&(view.cancelAnimationFrame(scrollFrame),scrollFrame=void 0)},updateFromScroll=()=>{disposed||suspended||(updateGeneration++,scrollFrame===void 0&&(scrollFrame=view.requestAnimationFrame(()=>{scrollFrame=void 0,update()})))},dispose=()=>{if(!disposed){disposed=!0,updateGeneration++,cancelScrollFrame(),stopScroll?.(),stopResize?.(),stopAutoUpdate?.(),stopAutoUpdate=void 0,visualViewport?.removeEventListener("resize",updateFromVisualViewport);for(const transaction of[...openStyleTransactions].reverse())transaction.rollback();openStyleTransactions.clear()}},session=Object.assign(dispose,{isActive(){return!disposed},invalidate(){if(!(disposed||suspended)){suspended=!0,updateGeneration++,cancelScrollFrame();for(const transaction of[...openStyleTransactions].reverse())transaction.rollback();openStyleTransactions.clear()}},update(){disposed||(suspended=!1,update())}});sync||placementSyncOwnership.release(popup,placementRun);const middlewareFor=(styleTransaction,isCurrent)=>[offset({mainAxis:opts.offset??4,crossAxis:opts.skidding??0}),sync?size({apply({rects,elements}){if(!isCurrent())return;const referenceWidth=finiteGeometry(rects.reference.width,"place() reference width",!0),referenceHeight=finiteGeometry(rects.reference.height,"place() reference height",!0);styleTransaction.set(elements.floating,"width",sync==="width"||sync==="both"?`${referenceWidth}px`:""),styleTransaction.set(elements.floating,"height",sync==="height"||sync==="both"?`${referenceHeight}px`:"")}}):void 0,opts.flip===!1?void 0:flip({boundary:opts.flipBoundary??opts.boundary,fallbackPlacements:opts.flipFallbackPlacements,fallbackStrategy:opts.flipFallbackStrategy==="initial-placement"?"initialPlacement":opts.flipFallbackStrategy==="best-fit"?"bestFit":void 0,padding:opts.flipPadding}),opts.shift===!1?void 0:shift({boundary:opts.shiftBoundary??opts.boundary,padding:opts.shiftPadding??padding,crossAxis:opts.shiftCrossAxis===!0}),opts.arrow?arrow({element:opts.arrow,padding:opts.arrowPadding??0}):void 0,size({boundary:opts.boundary,padding,apply({availableWidth,availableHeight,elements}){isCurrent()&&(autoSize!=="horizontal"&&autoSize!=="both"&&styleTransaction.set(elements.floating,"--lr-positioner-available-inline-size",`${Math.max(0,finiteGeometry(availableWidth,"place() available width"))}px`),autoSize!=="vertical"&&autoSize!=="both"&&styleTransaction.set(elements.floating,"--lr-positioner-available-block-size",`${Math.max(0,finiteGeometry(availableHeight,"place() available height"))}px`))}}),autoSize?size({boundary:opts.autoSizeBoundary??opts.boundary,padding:opts.autoSizePadding??0,apply({availableWidth,availableHeight,elements}){isCurrent()&&((autoSize==="horizontal"||autoSize==="both")&&styleTransaction.set(elements.floating,"--lr-positioner-available-inline-size",`${Math.max(0,finiteGeometry(availableWidth,"place() auto-size available width"))}px`),(autoSize==="vertical"||autoSize==="both")&&styleTransaction.set(elements.floating,"--lr-positioner-available-block-size",`${Math.max(0,finiteGeometry(availableHeight,"place() auto-size available height"))}px`))}}):void 0,...hooks?.middleware??[]].filter(entry=>entry!==void 0);function update(){if(disposed||suspended)return;cancelScrollFrame();const generation=++updateGeneration,isCurrent=()=>!disposed&&!suspended&&generation===updateGeneration;try{validatedClientRect(anchor.getBoundingClientRect(),"place() anchor rect")}catch{dispose();return}if(!isCurrent())return;try{hooks?.beforeCompute()}catch{}if(!isCurrent())return;const updateRun=placementSyncOwnership.beginUpdate(placementRun),styleTransaction=createPlacementStyleTransaction();openStyleTransactions.add(styleTransaction);const rollback=()=>{styleTransaction.rollback(),openStyleTransactions.delete(styleTransaction)};let resolvedOffsetParent;const offsetParents=new Map,recordingGetOffsetParent=async(element,polyfill)=>{let pending=polyfill?void 0:offsetParents.get(element);pending||(pending=correctedGetOffsetParent(element,polyfill),polyfill||offsetParents.set(element,pending));const result=await pending;return element===popup&&(resolvedOffsetParent=result),result};let inlineCoordinates,inlineOffsetParent;const placementPlatform={...platform,getOffsetParent:recordingGetOffsetParent,async getElementRects(data){const rects=await platform.getElementRects.call(this,data),parent=resolvedOffsetParent;if(inlineCoordinates=strategy==="fixed"&&parent instanceof HTMLElement&&!(parent instanceof HTMLSlotElement)&&getComputedStyle(parent).display==="inline"&&["","normal","1"].includes(getComputedStyle(popup).zoom||"")?fixedInlineCoordinates(parent):void 0,inlineOffsetParent=inlineCoordinates?parent:void 0,!inlineCoordinates||!inlineOffsetParent)return rects;const viewport=await platform.convertOffsetParentRelativeRectToViewportRelativeRect({elements:{reference:data.reference,floating:data.floating},rect:rects.reference,offsetParent:inlineOffsetParent,strategy}),{origin,scale}=inlineCoordinates;return{...rects,reference:{x:finiteGeometry((viewport.x-origin.left)/scale.x,"place() inline reference x"),y:finiteGeometry((viewport.y-origin.top)/scale.y,"place() inline reference y"),width:finiteGeometry(viewport.width/scale.x,"place() inline reference width"),height:finiteGeometry(viewport.height/scale.y,"place() inline reference height")}}},getScale(element){return inlineCoordinates&&element===inlineOffsetParent?inlineCoordinates.scale:platform.getScale(element)},convertOffsetParentRelativeRectToViewportRelativeRect(data){if(inlineCoordinates&&data.offsetParent===inlineOffsetParent&&data.strategy==="fixed"){const{origin,scale}=inlineCoordinates;return{x:origin.left+data.rect.x*scale.x,y:origin.top+data.rect.y*scale.y,width:data.rect.width*scale.x,height:data.rect.height*scale.y}}return platform.convertOffsetParentRelativeRectToViewportRelativeRect(data)}};computePosition(anchor,popup,{strategy,placement:opts.placement??"bottom-start",middleware:middlewareFor(styleTransaction,isCurrent),platform:placementPlatform}).then(async({x,y,placement,middlewareData})=>{if(!isCurrent()){rollback();return}let bridgeQuad;try{if(finiteGeometry(x,"place() resolved x"),finiteGeometry(y,"place() resolved y"),middlewareData.arrow?.x!==void 0&&finiteGeometry(middlewareData.arrow.x,"place() resolved arrow x"),middlewareData.arrow?.y!==void 0&&finiteGeometry(middlewareData.arrow.y,"place() resolved arrow y"),hooks&&escapeReruns<MAX_ESCAPE_RERUNS){const view2=popup.ownerDocument.defaultView??window;let rerun=!1;try{rerun=hooks.afterResolve(resolvedOffsetParent??view2,middlewareData)}catch{rerun=!1}if(rerun){escapeReruns++,rollback(),update();return}}if(escapeReruns=0,hoverBridge){const anchorRect=validatedClientRect(anchor.getBoundingClientRect(),"place() anchor rect"),placedPopupRect=await popupRectAtPosition(anchor,popup,strategy,x,y,placementPlatform);if(!isCurrent()){rollback();return}bridgeQuad=hoverBridgeQuad(anchorRect,placedPopupRect,placement)}if(!isCurrent()){rollback();return}styleTransaction.set(popup,"left",`${finiteGeometry(x,"place() resolved x")}px`),styleTransaction.set(popup,"top",`${finiteGeometry(y,"place() resolved y")}px`),hoverBridge&&bridgeQuad&&writeHoverBridge(hoverBridge,bridgeQuad,styleTransaction);const ownedSyncDimensions=sync?{width:styleTransaction.ownedValue(popup,"width"),height:styleTransaction.ownedValue(popup,"height")}:void 0;styleTransaction.commit(),openStyleTransactions.delete(styleTransaction),sync&&placementSyncOwnership.publish(popup,updateRun,ownedSyncDimensions??{})}catch{isCurrent()?dispose():rollback();return}opts.onPlaced?.({placement,arrow:middlewareData.arrow})},()=>{isCurrent()?dispose():rollback()})}const reference=anchor.nodeType===1?anchor:anchor.contextElement,scrollTargets=new Set([...reference?getOverflowAncestors(reference):[],...getOverflowAncestors(popup),...visualViewport?[visualViewport]:[]]);for(const target of scrollTargets)target.addEventListener("scroll",updateFromScroll,{passive:!0}),target.addEventListener("resize",cancelScrollFrame);stopScroll=()=>{for(const target of scrollTargets)target.removeEventListener("scroll",updateFromScroll),target.removeEventListener("resize",cancelScrollFrame)};const stop=autoUpdate(anchor,popup,()=>{scrollFrame===void 0&&update()},{elementResize:!1,ancestorScroll:!1});return disposed?(stop(),session):(stopAutoUpdate=stop,stopResize=observeElementResize(anchor,popup,update),visualViewport?.addEventListener("resize",updateFromVisualViewport),session)}function isWindowLike(value){return!(value instanceof Element)}function placeAnchoredSurface(anchor,popup,opts={}){return placeAnchoredSurfaceSession(anchor,popup,opts)}function placeAnchoredSurfaceSession(anchor,popup,opts={}){validatePlaceNumericOptions(opts),validateAnchorBeforeSetup(anchor);const bridge=opts.hoverBridge,fixed=(opts.strategy??"fixed")==="fixed",escape=(element,eligible)=>{isLibraryPromotedAndShowing(element)||(eligible&&(opts.topLayer||needsTopLayerEscape(element))?promoteToTopLayer(element,popup):stripStaleTopLayer(element))},referenceHidden=hide({strategy:"referenceHidden"}),referenceElement=anchor instanceof Element?anchor:anchor.contextElement??null,referenceMeasurable=()=>referenceElement!==null&&!hasTopLayerAncestor(referenceElement);return bridge&&escape(bridge,!0),escape(popup,fixed),placeImpl(anchor,popup,opts,{beforeCompute(){bridge&&escape(bridge,!0),fixed&&compensateAncestorZoom(popup,null),bridge&&compensateAncestorZoom(bridge,null,popup)},middleware:[{name:referenceHidden.name,options:referenceHidden.options,fn:async state=>{if(!fixed||!referenceMeasurable())return{};const result=await referenceHidden.fn(state),offsets=result.data?.referenceHiddenOffsets,{width,height}=state.rects.reference;return!offsets||width>0&&height>0?result:{data:{...result.data,referenceHidden:offsets.top>0||offsets.right>0||offsets.bottom>0||offsets.left>0}}}}],afterResolve(offsetParent,data){return applyReferenceHidden(popup,data.hide?.referenceHidden===!0),fixed?isWindowLike(offsetParent)||isLibraryPromotedAndShowing(popup)?!1:promoteToTopLayer(popup):compensateAncestorZoom(popup,isWindowLike(offsetParent)?null:offsetParent)}})}function trackRect(target,onUpdate){const update=()=>onUpdate(target.getBoundingClientRect()),stopAutoUpdate=autoUpdate(target,target,update),visualViewport=target.ownerDocument.defaultView?.visualViewport,onVisualViewportChange=()=>update();return visualViewport?.addEventListener("resize",onVisualViewportChange),visualViewport?.addEventListener("scroll",onVisualViewportChange),()=>{stopAutoUpdate(),visualViewport?.removeEventListener("resize",onVisualViewportChange),visualViewport?.removeEventListener("scroll",onVisualViewportChange)}}function observeElementResize(anchor,popup,update){const view=popup.ownerDocument.defaultView;let active=!0,frame;const observer=view?.ResizeObserver?new view.ResizeObserver(()=>{!active||frame!==void 0||(frame=view.requestAnimationFrame(()=>{frame=void 0,active&&update()}))}):void 0,reference=anchor.nodeType===1?anchor:anchor.contextElement;return reference&&observer?.observe(reference),observer?.observe(popup),()=>{active=!1,observer?.disconnect(),frame!==void 0&&view?.cancelAnimationFrame(frame)}}export{createPlacementStyleTransaction,createPlacementSyncOwnershipController,place,placeAnchoredSurface,placeAnchoredSurfaceSession,releaseTopLayer,trackRect,virtualAnchorFromRect};